-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '2.0.0-alpha/MOB-10208-fix-npmignore' into 2.0.0-alpha/M…
…OB-10290-create-loader-for-rniterableapi
- Loading branch information
Showing
7 changed files
with
50 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import type { IterableInAppTrigger } from '../classes/IterableInAppTrigger'; | ||
|
||
/** The raw message returned from the `IterableEventName.handleInAppCalled` event */ | ||
export type IterableInAppMessageRaw = { | ||
/** The unique identifier for the message. */ | ||
messageId: string; | ||
/** The campaign identifier associated with the message. */ | ||
campaignId: number; | ||
/** The trigger that initiates the in-app message. */ | ||
trigger: IterableInAppTrigger; | ||
/** The timestamp when the message was created, in milliseconds. */ | ||
createdAt?: number; | ||
/** The timestamp when the message expires, in milliseconds. */ | ||
expiresAt?: number; | ||
/** A boolean indicating if the message should be saved to the inbox. */ | ||
saveToInbox?: boolean; | ||
/** Metadata for the inbox message, including title, subtitle, and icon. */ | ||
inboxMetadata?: { | ||
/** The title of the inbox message. */ | ||
title: string | undefined; | ||
/** The subtitle of the inbox message. */ | ||
subtitle: string | undefined; | ||
/** The icon of the inbox message. */ | ||
icon: string | undefined; | ||
}; | ||
/** Custom payload associated with the message. */ | ||
customPayload?: unknown; | ||
/** A boolean indicating if the message has been read. */ | ||
read?: boolean; | ||
/** The priority level of the message. */ | ||
priorityLevel?: number; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
export * from './IterableInAppContent'; | ||
export * from './IterableHtmlInAppContentRaw'; | ||
export * from './IterableInAppContent'; | ||
export * from './IterableInAppMessageRaw'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters