@ua/capacitor-airship 4.4.0 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UaCapacitorAirship.podspec +1 -1
- package/android/build.gradle +1 -1
- package/android/src/main/java/com/airship/capacitor/AirshipCapacitorVersion.kt +1 -1
- package/dist/esm/types.d.ts +1 -0
- package/dist/esm/types.js +1 -0
- package/dist/esm/types.js.map +1 -1
- package/dist/plugin.cjs.js +1 -0
- package/dist/plugin.cjs.js.map +1 -1
- package/dist/plugin.js +1 -0
- package/dist/plugin.js.map +1 -1
- package/ios/Plugin/AirshipCapacitorAutopilot.swift +3 -12
- package/ios/Plugin/AirshipCapacitorVersion.swift +1 -1
- package/ios/Plugin/AirshipPluginLoader.swift +1 -1
- package/package.json +1 -1
|
@@ -13,6 +13,6 @@ Pod::Spec.new do |s|
|
|
|
13
13
|
s.ios.deployment_target = '15.0'
|
|
14
14
|
s.dependency 'Capacitor'
|
|
15
15
|
s.swift_version = '6'
|
|
16
|
-
s.dependency "AirshipFrameworkProxy", "14.
|
|
16
|
+
s.dependency "AirshipFrameworkProxy", "14.7.0"
|
|
17
17
|
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
18
18
|
end
|
package/android/build.gradle
CHANGED
package/dist/esm/types.d.ts
CHANGED
package/dist/esm/types.js
CHANGED
|
@@ -175,6 +175,7 @@ export var Feature;
|
|
|
175
175
|
Feature["Chat"] = "chat";
|
|
176
176
|
Feature["Analytics"] = "analytics";
|
|
177
177
|
Feature["TagsAndAttributes"] = "tags_and_attributes";
|
|
178
|
+
Feature["FeatureFlags"] = "feature_flags";
|
|
178
179
|
Feature["Contacts"] = "contacts";
|
|
179
180
|
// No longer used
|
|
180
181
|
Feature["Location"] = "location";
|
package/dist/esm/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],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QAC1B;;WAEG;QACH,2EAA0C,CAAA;QAC1C;;WAEG;QACH,iEAAgC,CAAA;QAChC;;WAEG;QACH,8DAA6B,CAAA;QAC7B;;WAEG;QACH,yEAAwC,CAAA;QACxC;;WAEG;QACH,iEAAgC,CAAA;IAClC,CAAC,EAzCW,6BAA6B,GAA7B,iCAA6B,KAA7B,iCAA6B,QAyCxC;IAED;;OAEG;IACH,IAAY,4BAyBX;IAzBD,WAAY,4BAA4B;QACtC;;WAEG;QACH,gEAAgC,CAAA;QAEhC;;WAEG;QACH,iDAAiB,CAAA;QAEjB;;WAEG;QACH,yDAAyB,CAAA;QAEzB;;WAEG;QACH,2DAA2B,CAAA;QAE3B;;WAEG;QACH,uDAAuB,CAAA;IACzB,CAAC,EAzBW,4BAA4B,GAA5B,gCAA4B,KAA5B,gCAA4B,QAyBvC;AAQH,CAAC,EAxKgB,GAAG,KAAH,GAAG,QAwKnB;AA+LD;;GAEG;AACH,MAAM,CAAN,IAAY,OAWX;AAXD,WAAY,OAAO;IACjB,gDAAqC,CAAA;IACrC,2CAAgC,CAAA;IAChC,wBAAa,CAAA;IACb,iBAAiB;IACjB,wBAAa,CAAA;IACb,kCAAuB,CAAA;IACvB,oDAAyC,CAAA;IACzC,gCAAqB,CAAA;IACrB,iBAAiB;IACjB,gCAAqB,CAAA;AACvB,CAAC,EAXW,OAAO,KAAP,OAAO,QAWlB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,gCAAW,CAAA;IACX,gCAAW,CAAA;IACX,gCAAW,CAAA;IACX,oCAAe,CAAA;AACjB,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B","sourcesContent":["export type JsonValue =\n | string\n | number\n | boolean\n | null\n | JsonObject\n | JsonArray;\n\nexport type JsonObject = {\n [key: string]: JsonValue;\n};\n\nexport type JsonArray = JsonValue[];\n\nexport interface ChannelCreatedEvent {\n /**\n * The channel ID.\n */\n channelId: string;\n}\n\nexport interface PushTokenReceivedEvent {\n /**\n * The push token.\n */\n pushToken: string;\n}\n\n/**\n * Event fired when a push is received.\n */\nexport interface PushReceivedEvent {\n /**\n * The push payload.\n */\n pushPayload: PushPayload;\n\n /**\n * Indicates whether the push was received when the application was in the background or foreground.\n */\n isForeground: boolean;\n}\n\n/**\n * The push payload.\n */\nexport interface PushPayload {\n /**\n * The alert.\n */\n alert?: string;\n /**\n * The title.\n */\n title?: string;\n /**\n * The subtitle.\n */\n subtitle?: string;\n /**\n * The notification ID.\n */\n notificationId?: string;\n /**\n * The notification extras.\n */\n extras: JsonObject;\n}\n\n/**\n * Event fired when the user initiates a notification response.\n */\nexport interface NotificationResponseEvent {\n /**\n * The push notification.\n */\n pushPayload: PushPayload;\n\n /**\n * The action button ID, if available.\n */\n actionId?: string;\n\n /**\n * Indicates whether the response was a foreground action.\n * This value is always if the user taps the main notification,\n * otherwise it is defined by the notification action button.\n */\n isForeground: boolean;\n}\n\n/**\n * Push notification status.\n */\nexport interface PushNotificationStatus {\n /**\n * If user notifications are enabled on [Airship.push].\n */\n isUserNotificationsEnabled: boolean;\n\n /**\n * If notifications are allowed at the system level for the application.\n */\n areNotificationsAllowed: boolean;\n\n /**\n * If the push feature is enabled on [Airship.privacyManager].\n */\n isPushPrivacyFeatureEnabled: boolean;\n\n /*\n * If push registration was able to generate a token.\n */\n isPushTokenRegistered: boolean;\n\n /*\n * If Airship is able to send and display a push notification.\n */\n isOptedIn: boolean;\n\n /*\n * Checks for isUserNotificationsEnabled, areNotificationsAllowed, and isPushPrivacyFeatureEnabled. If this flag\n * is true but `isOptedIn` is false, that means push token was not able to be registered.\n */\n isUserOptedIn: boolean;\n\n /**\n * The notification permission status.\n */\n notificationPermissionStatus: PermissionStatus;\n}\n\n/**\n * Enum of permission status.\n */\nexport enum PermissionStatus {\n /**\n * Permission is granted.\n */\n Granted = 'granted',\n\n /**\n * Permission is denied.\n */\n Denied = 'denied',\n\n /**\n * Permission has not yet been requested.\n */\n NotDetermined = 'not_determined',\n}\n\n/**\n * Fallback when prompting for permission and the permission is\n * already denied on iOS or is denied silently on Android.\n */\nexport enum PromptPermissionFallback {\n /**\n * Take the user to the system settings to enable the permission.\n */\n SystemSettings = \"systemSettings\"\n}\n\n/**\n * Event fired when the notification status changes.\n */\nexport interface PushNotificationStatusChangedEvent {\n /**\n * The push notification status.\n */\n status: PushNotificationStatus;\n}\n\n/**\n * Event fired when the Message Center is updated.\n */\nexport interface MessageCenterUpdatedEvent {\n /**\n * The unread message count.\n */\n messageUnreadCount: number;\n /**\n * The total message count.\n */\n messageCount: number;\n}\n\n/**\n * Event fired when the Message Center is requested to be displayed.\n */\nexport interface DisplayMessageCenterEvent {\n /**\n * The message ID, if available.\n */\n messageId?: string;\n}\n\n/**\n * Event fired when a deep link is opened.\n */\nexport interface DeepLinkEvent {\n /**\n * The deep link string.\n */\n deepLink: string;\n}\n\n/**\n * Event fired when a preference center is requested to be displayed.\n */\nexport interface DisplayPreferenceCenterEvent {\n /**\n * The preference center Id.\n */\n preferenceCenterId: string;\n}\n\n/**\n * Event fired whenever any of the Live Activities update, create, or end.\n */\nexport interface LiveActivitiesUpdatedEvent {\n /**\n * The Live Activities.\n */\n activities: LiveActivity[];\n}\n\n\n/**\n * Custom event\n */\nexport interface CustomEvent {\n /**\n * Event name\n */\n eventName: string;\n /**\n * Event value\n */\n eventValue?: number;\n /**\n * Event properties\n */\n properties: JsonObject;\n /**\n * Transaction ID\n */\n transactionId?: string;\n /**\n * Interaction ID\n */\n interactionId?: string;\n /**\n * Interaction type\n */\n interactionType?: string;\n}\n\n/**\n * iOS options\n */\nexport namespace iOS {\n /**\n * Quiet time\n */\n export interface QuietTime {\n /**\n * Start hour. Must be 0-23.\n */\n startHour: number;\n\n /**\n * Start minute. Must be 0-59.\n */\n startMinute: number;\n\n /**\n * End hour. Must be 0-23.\n */\n endHour: number;\n\n /**\n * End minute. Must be 0-59.\n */\n endMinute: number;\n }\n\n /**\n * Enum of notification options. iOS only.\n */\n export enum NotificationOption {\n /**\n * Alerts.\n */\n Alert = 'alert',\n /**\n * Sounds.\n */\n Sound = 'sound',\n /**\n * Badges.\n */\n Badge = 'badge',\n /**\n * Car play.\n */\n CarPlay = 'car_play',\n /**\n * Critical Alert.\n */\n CriticalAlert = 'critical_alert',\n /**\n * Provides app notification settings.\n */\n ProvidesAppNotificationSettings = 'provides_app_notification_settings',\n /**\n * Provisional.\n */\n Provisional = 'provisional',\n }\n\n /**\n * Enum of foreground notification options.\n */\n export enum ForegroundPresentationOption {\n /**\n * Play the sound associated with the notification.\n */\n Sound = 'sound',\n /**\n * Apply the notification's badge value to the app’s icon.\n */\n Badge = 'badge',\n\n /**\n * Show the notification in Notification Center. On iOS 13 an older,\n * this will also show the notification as a banner.\n */\n List = 'list',\n\n /**\n * Present the notification as a banner. On iOS 13 an older,\n * this will also show the notification in the Notification Center.\n */\n Banner = 'banner',\n }\n\n /**\n * Enum of authorized notification options.\n */\n export enum AuthorizedNotificationSetting {\n /**\n * Alerts.\n */\n Alert = 'alert',\n /**\n * Sounds.\n */\n Sound = 'sound',\n /**\n * Badges.\n */\n Badge = 'badge',\n /**\n * CarPlay.\n */\n CarPlay = 'car_play',\n /**\n * Lock screen.\n */\n LockScreen = 'lock_screen',\n /**\n * Notification center.\n */\n NotificationCenter = 'notification_center',\n /**\n * Critical alert.\n */\n CriticalAlert = 'critical_alert',\n /**\n * Announcement.\n */\n Announcement = 'announcement',\n /**\n * Scheduled delivery.\n */\n ScheduledDelivery = 'scheduled_delivery',\n /**\n * Time sensitive.\n */\n TimeSensitive = 'time_sensitive',\n }\n\n /**\n * Enum of authorized status.\n */\n export enum AuthorizedNotificationStatus {\n /**\n * Not determined.\n */\n NotDetermined = 'not_determined',\n\n /**\n * Denied.\n */\n Denied = 'denied',\n\n /**\n * Authorized.\n */\n Authorized = 'authorized',\n\n /**\n * Provisional.\n */\n Provisional = 'provisional',\n\n /**\n * Ephemeral.\n */\n Ephemeral = 'ephemeral',\n }\n\n export interface AuthorizedNotificationSettingsChangedEvent {\n /**\n * Authorized settings.\n */\n authorizedSettings: AuthorizedNotificationSetting[];\n }\n}\n\nexport namespace Android {\n /**\n * Android notification config.\n */\n export interface NotificationConfig {\n /**\n * The icon resource name.\n */\n icon?: string;\n /**\n * The large icon resource name.\n */\n largeIcon?: string;\n /**\n * The default android notification channel ID.\n */\n defaultChannelId?: string;\n /**\n * The accent color. Must be a hex value #AARRGGBB.\n */\n accentColor?: string;\n }\n}\n\n/**\n * Airship config environment\n */\nexport interface ConfigEnvironment {\n /**\n * App key.\n */\n appKey: string;\n\n /**\n * App secret.\n */\n appSecret: string;\n\n /**\n * Optional log level.\n */\n logLevel?: LogLevel;\n\n /**\n * Optional iOS config\n */\n ios?: {\n /**\n * Log privacy level. By default it logs at `private`, not logging anything lower than info to the console\n * and redacting logs with string interpolation. `public` will log all configured log levels to the console\n * without redacting any of the log lines.\n */\n logPrivacyLevel?: 'private' | 'public';\n };\n}\n\n/**\n * Possible sites.\n */\nexport type Site = 'us' | 'eu';\n\n/**\n * Log levels.\n */\nexport type LogLevel =\n | 'verbose'\n | 'debug'\n | 'info'\n | 'warning'\n | 'error'\n | 'none';\n\n/**\n * Airship config\n */\nexport interface AirshipConfig {\n /**\n * Default environment.\n */\n default?: ConfigEnvironment;\n\n /**\n * Development environment. Overrides default environment if inProduction is false.\n */\n development?: ConfigEnvironment;\n\n /**\n * Production environment. Overrides default environment if inProduction is true.\n */\n production?: ConfigEnvironment;\n\n /**\n * Cloud site.\n */\n site?: Site;\n\n /**\n * Switches the environment from development or production. If the value is not\n * set, Airship will determine the value at runtime.\n */\n inProduction?: boolean;\n\n /**\n * URL allow list.\n */\n urlAllowList?: string[];\n\n /**\n * URL allow list for open URL scope.\n */\n urlAllowListScopeOpenUrl?: string[];\n\n /**\n * URL allow list for JS bridge injection.\n */\n urlAllowListScopeJavaScriptInterface?: string[];\n\n /**\n * Enables delayed channel creation.\n * Deprecated. Use the Private Manager to disable all features instead.\n */\n isChannelCreationDelayEnabled?: boolean;\n\n /**\n * Initial config URL for custom Airship domains. The URL\n * should also be added to the urlAllowList.\n */\n initialConfigUrl?: string;\n\n /**\n * Enabled features. Defaults to all.\n */\n enabledFeatures?: Feature[];\n\n /**\n * Enables channel capture feature.\n * This config is enabled by default.\n */\n isChannelCaptureEnabled?: boolean;\n\n /**\n * Whether to suppress console error messages about missing allow list entries during takeOff.\n * This config is disabled by default.\n */\n suppressAllowListError?: boolean;\n\n /**\n * Pauses In-App Automation on launch.\n */\n autoPauseInAppAutomationOnLaunch?: boolean;\n\n /**\n * iOS config.\n */\n ios?: {\n /**\n * itunesId for rate app and app store deep links.\n */\n itunesId?: string;\n };\n\n /**\n * Android config.\n */\n android?: {\n /**\n * App store URI\n */\n appStoreUri?: string;\n\n /**\n * Fcm app name if using multiple FCM projects.\n */\n fcmFirebaseAppName?: string;\n\n /**\n * Notification config.\n */\n notificationConfig?: Android.NotificationConfig;\n\n /**\n * Log privacy level. By default it logs at `private`, not logging anything lower than info to the console\n * and redacting logs with string interpolation. `public` will log all configured log levels to the console\n * without redacting any of the log lines.\n */\n logPrivacyLevel?: 'private' | 'public';\n };\n}\n\n/**\n * Enum of authorized Features.\n */\nexport enum Feature {\n InAppAutomation = 'in_app_automation',\n MessageCenter = 'message_center',\n Push = 'push',\n // No longer used\n Chat = 'chat',\n Analytics = 'analytics',\n TagsAndAttributes = 'tags_and_attributes',\n Contacts = 'contacts',\n // No longer used\n Location = 'location',\n}\n\n/**\n * All available features.\n */\nexport const FEATURES_ALL = Object.values(Feature);\n\n/**\n * Subscription Scope types.\n */\nexport enum SubscriptionScope {\n App = 'app',\n Web = 'web',\n Sms = 'sms',\n Email = 'email',\n}\n\nexport interface InboxMessage {\n /**\n * The message ID. Needed to display, mark as read, or delete the message.\n */\n id: string;\n /**\n * The message title.\n */\n title: string;\n /**\n * The message sent date in milliseconds.\n */\n sentDate: number;\n /**\n * Optional - The message expiration date in milliseconds.\n */\n expirationDate?: number;\n /**\n * Optional - The icon url for the message.\n */\n listIconUrl: string;\n /**\n * The unread / read status of the message.\n */\n isRead: boolean;\n /**\n * String to String map of any message extras.\n */\n extras: Record<string, string>;\n}\n\n// ---\n// See: https://github.com/urbanairship/web-push-sdk/blob/master/src/remote-data/preference-center.ts\n// ---\n\n/**\n * A preference center definition.\n *\n * @typedef {object} PreferenceCenter\n * @property {string} id the ID of the preference center\n * @property {Array<PreferenceCenter.CommonSection>} sections a list of sections\n * @property {?CommonDisplay} display display information\n */\nexport type PreferenceCenter = {\n id: string;\n sections: Section[];\n display?: CommonDisplay;\n};\n\n/**\n * Preference center display information.\n * @typedef {object} CommonDisplay\n * @property {string} name\n * @property {?string} description\n */\nexport type CommonDisplay = {\n name: string;\n description?: string;\n};\n\nexport type Icon = {\n icon: string;\n};\n\nexport type IconDisplay = CommonDisplay & Partial<Icon>;\n\nexport interface ItemBase {\n type: unknown;\n id: string;\n display: CommonDisplay;\n conditions?: Condition[];\n}\n\n/**\n * A channel subscription item.\n * @typedef {object} ChannelSubscriptionItem\n * @memberof PreferenceCenter\n * @property {\"channel_subscription\"} type\n * @property {string} id the item identifier\n * @property {?CommonDisplay} display display information\n * @property {string} subscription_id the subscription list id\n */\nexport interface ChannelSubscriptionItem extends ItemBase {\n type: 'channel_subscription';\n subscription_id: string;\n}\n\nexport interface ContactSubscriptionGroupItem extends ItemBase {\n type: 'contact_subscription_group';\n id: string;\n subscription_id: string;\n components: ContactSubscriptionGroupItemComponent[];\n}\n\nexport interface ContactSubscriptionGroupItemComponent {\n scopes: SubscriptionScope[];\n display: Omit<CommonDisplay, 'description'>;\n}\n\nexport interface ContactSubscriptionItem extends ItemBase {\n type: 'contact_subscription';\n scopes: SubscriptionScope[];\n subscription_id: string;\n}\n\nexport interface AlertItem extends ItemBase {\n type: 'alert';\n display: IconDisplay;\n button?: Button;\n}\n\nexport interface ConditionBase {\n type: unknown;\n}\n\nexport interface NotificationOptInCondition extends ConditionBase {\n type: 'notification_opt_in';\n when_status: 'opt_in' | 'opt_out';\n}\n\nexport type Condition = NotificationOptInCondition;\n\n// Changed from `unknown` in spec\nexport type Actions = {\n [key: string]: JsonValue;\n};\n\nexport interface Button {\n text: string;\n content_description?: string;\n actions: Actions;\n}\n\nexport interface SectionBase {\n type: unknown;\n id: string;\n display?: CommonDisplay;\n items: Item[];\n}\n\n/**\n * @typedef {object} CommonSection\n * @memberof PreferenceCenter\n * @property {\"section\"} type\n * @property {string} id the section identifier\n * @property {?CommonDisplay} display display information\n * @property {Array<PreferenceCenter.ChannelSubscriptionItem>} items list of\n * section items\n */\nexport interface CommonSection extends SectionBase {\n type: 'section';\n}\n\nexport interface LabeledSectionBreak extends SectionBase {\n type: 'labeled_section_break';\n items: never;\n}\n\nexport type Item =\n | ChannelSubscriptionItem\n | ContactSubscriptionGroupItem\n | ContactSubscriptionItem\n | AlertItem;\n\nexport type Section = CommonSection | LabeledSectionBreak;\n\n/**\n * An interface representing the eligibility status of a flag, and optional\n * variables associated with the flag.\n */\nexport interface FeatureFlag {\n /**\n * A boolean representing flag eligibility; will be `true` if the current\n * contact is eligible for the flag.\n */\n readonly isEligible: boolean;\n /**\n * A variables associated with the flag, if any. Will be `null` if no data\n * is associated with the flag, or if the flag does not exist.\n */\n readonly variables: unknown | null;\n /**\n * A boolean representing if the flag exists or not. For ease of use and\n * deployment, asking for a flag by any name will return a `FeatureFlag`\n * interface, even if the flag was not found to exist. However this property\n * may be checked to determine if the flag was actually resolved to a known\n * flag name.\n */\n readonly exists: boolean;\n\n /**\n * Reporting Metadata, the shape of which is private and not to be relied\n * upon. When not provided, an interaction cannot be tracked on the flag.\n * @ignore\n */\n readonly _internal: unknown;\n}\n\n\n/**\n * Live Activity info.\n */\nexport interface LiveActivity {\n /**\n * The activity ID.\n */\n id: string;\n /**\n * The attribute types.\n */\n attributeTypes: string;\n /**\n * The content.\n */\n content: LiveActivityContent;\n /**\n * The attributes.\n */\n attributes: JsonObject;\n}\n\n/**\n * Live Activity content.\n */\nexport interface LiveActivityContent {\n /**\n * The content state.\n */\n state: JsonObject;\n /**\n * Optional ISO 8601 date string that defines when the Live Activity will be stale.\n */\n staleDate?: string;\n /**\n * The relevance score.\n */\n relevanceScore: number;\n}\n\n/**\n * Base Live Activity request.\n */\nexport interface LiveActivityRequest {\n /**\n * Attributes types. This should match the Activity type of your Live Activity.\n */\n attributesType: string;\n}\n\n/**\n * Live Activity list request.\n */\nexport interface LiveActivityListRequest extends LiveActivityRequest {}\n\n/**\n * Live Activity start request.\n */\nexport interface LiveActivityStartRequest extends LiveActivityRequest {\n /**\n * Dynamic content.\n */\n content: LiveActivityContent;\n /**\n * Fixed attributes.\n */\n attributes: JsonObject;\n}\n\n/**\n * Live Activity update request.\n */\nexport interface LiveActivityUpdateRequest extends LiveActivityRequest {\n /**\n * The Live Activity ID to update.\n */\n activityId: string;\n /**\n * Dynamic content.\n */\n content: LiveActivityContent;\n}\n\n/**\n * Live Activity end request.\n */\nexport interface LiveActivityEndRequest extends LiveActivityRequest {\n /**\n * The Live Activity ID to update.\n */\n activityId: string;\n /**\n * Dynamic content.\n */\n content?: LiveActivityContent;\n\n /**\n * Dismissal policy. Defaults to `LiveActivityDismissalPolicyDefault`.\n */\n dismissalPolicy?: LiveActivityDismissalPolicy;\n}\n\nexport type LiveActivityDismissalPolicy =\n | LiveActivityDismissalPolicyImmediate\n | LiveActivityDismissalPolicyDefault\n | LiveActivityDismissalPolicyAfterDate;\n\n/**\n * Dismissal policy to immediately dismiss the Live Activity on end.\n */\nexport interface LiveActivityDismissalPolicyImmediate {\n type: 'immediate';\n}\n\n/**\n * Dismissal policy to dismiss the Live Activity after the expiration.\n */\nexport interface LiveActivityDismissalPolicyDefault {\n type: 'default';\n}\n\n/**\n * Dismissal policy to dismiss the Live Activity after a given date.\n */\nexport interface LiveActivityDismissalPolicyAfterDate {\n type: 'after';\n // ISO 8601 date string.\n date: string;\n}\n\n/**\n * Live Update info.\n */\nexport interface LiveUpdate {\n /**\n * The Live Update name.\n */\n name: string;\n\n /**\n * The Live Update type.\n */\n type: string;\n\n /**\n * Dynamic content.\n */\n content: JsonObject;\n\n /**\n * ISO 8601 date string of the last content update.\n */\n lastContentUpdateTimestamp: string;\n\n /**\n * ISO 8601 date string of the last state update.\n */\n lastStateChangeTimestamp: string;\n\n /**\n * Optional ISO 8601 date string that defines when to end this Live Update.\n */\n dismissTimestamp?: string;\n}\n\n\n/**\n * Live Update list request.\n */\nexport interface LiveUpdateListRequest {\n type: string;\n}\n\n/**\n * Live Update update request.\n */\nexport interface LiveUpdateUpdateRequest {\n /**\n * The Live Update name.\n */\n name: string;\n /**\n * Dynamic content.\n */\n content: JsonObject;\n\n /**\n * Optional ISO 8601 date string, used to filter out of order updates/\n */\n timestamp?: string;\n\n /**\n * Optional ISO 8601 date string that defines when to end this Live Update.\n */\n dismissTimestamp?: string;\n}\n\n/**\n * Live Update end request.\n */\nexport interface LiveUpdateEndRequest {\n /**\n * The Live Update name.\n */\n name: string;\n\n /**\n * Dynamic content.\n */\n content?: JsonObject;\n\n /**\n * Optional ISO 8601 date string, used to filter out of order updates/\n */\n timestamp?: string;\n\n /**\n * Optional ISO 8601 date string that defines when to end this Live Update.\n */\n dismissTimestamp?: string;\n}\n\n/**\n * Live Update start request.\n */\nexport interface LiveUpdateStartRequest {\n /**\n * The Live Update name.\n */\n name: string;\n\n /**\n * The Live Update type.\n */\n type: string;\n\n /**\n * Dynamic content.\n */\n content: JsonObject;\n\n /**\n * Optional ISO 8601 date string, used to filter out of order updates/\n */\n timestamp?: string;\n\n /**\n * Optional ISO 8601 date string that defines when to end this Live Update.\n */\n dismissTimestamp?: string;\n}"]}
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAoIA;;GAEG;AACH,MAAM,CAAN,IAAY,gBAeX;AAfD,WAAY,gBAAgB;IAC1B;;OAEG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8DAA6B,CAAA;QAC7B;;WAEG;QACH,yEAAwC,CAAA;QACxC;;WAEG;QACH,iEAAgC,CAAA;IAClC,CAAC,EAzCW,6BAA6B,GAA7B,iCAA6B,KAA7B,iCAA6B,QAyCxC;IAED;;OAEG;IACH,IAAY,4BAyBX;IAzBD,WAAY,4BAA4B;QACtC;;WAEG;QACH,gEAAgC,CAAA;QAEhC;;WAEG;QACH,iDAAiB,CAAA;QAEjB;;WAEG;QACH,yDAAyB,CAAA;QAEzB;;WAEG;QACH,2DAA2B,CAAA;QAE3B;;WAEG;QACH,uDAAuB,CAAA;IACzB,CAAC,EAzBW,4BAA4B,GAA5B,gCAA4B,KAA5B,gCAA4B,QAyBvC;AAQH,CAAC,EAxKgB,GAAG,KAAH,GAAG,QAwKnB;AA+LD;;GAEG;AACH,MAAM,CAAN,IAAY,OAYX;AAZD,WAAY,OAAO;IACjB,gDAAqC,CAAA;IACrC,2CAAgC,CAAA;IAChC,wBAAa,CAAA;IACb,iBAAiB;IACjB,wBAAa,CAAA;IACb,kCAAuB,CAAA;IACvB,oDAAyC,CAAA;IACzC,yCAA8B,CAAA;IAC9B,gCAAqB,CAAA;IACrB,iBAAiB;IACjB,gCAAqB,CAAA;AACvB,CAAC,EAZW,OAAO,KAAP,OAAO,QAYlB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAEnD;;GAEG;AACH,MAAM,CAAN,IAAY,iBAKX;AALD,WAAY,iBAAiB;IAC3B,gCAAW,CAAA;IACX,gCAAW,CAAA;IACX,gCAAW,CAAA;IACX,oCAAe,CAAA;AACjB,CAAC,EALW,iBAAiB,KAAjB,iBAAiB,QAK5B","sourcesContent":["export type JsonValue =\n | string\n | number\n | boolean\n | null\n | JsonObject\n | JsonArray;\n\nexport type JsonObject = {\n [key: string]: JsonValue;\n};\n\nexport type JsonArray = JsonValue[];\n\nexport interface ChannelCreatedEvent {\n /**\n * The channel ID.\n */\n channelId: string;\n}\n\nexport interface PushTokenReceivedEvent {\n /**\n * The push token.\n */\n pushToken: string;\n}\n\n/**\n * Event fired when a push is received.\n */\nexport interface PushReceivedEvent {\n /**\n * The push payload.\n */\n pushPayload: PushPayload;\n\n /**\n * Indicates whether the push was received when the application was in the background or foreground.\n */\n isForeground: boolean;\n}\n\n/**\n * The push payload.\n */\nexport interface PushPayload {\n /**\n * The alert.\n */\n alert?: string;\n /**\n * The title.\n */\n title?: string;\n /**\n * The subtitle.\n */\n subtitle?: string;\n /**\n * The notification ID.\n */\n notificationId?: string;\n /**\n * The notification extras.\n */\n extras: JsonObject;\n}\n\n/**\n * Event fired when the user initiates a notification response.\n */\nexport interface NotificationResponseEvent {\n /**\n * The push notification.\n */\n pushPayload: PushPayload;\n\n /**\n * The action button ID, if available.\n */\n actionId?: string;\n\n /**\n * Indicates whether the response was a foreground action.\n * This value is always if the user taps the main notification,\n * otherwise it is defined by the notification action button.\n */\n isForeground: boolean;\n}\n\n/**\n * Push notification status.\n */\nexport interface PushNotificationStatus {\n /**\n * If user notifications are enabled on [Airship.push].\n */\n isUserNotificationsEnabled: boolean;\n\n /**\n * If notifications are allowed at the system level for the application.\n */\n areNotificationsAllowed: boolean;\n\n /**\n * If the push feature is enabled on [Airship.privacyManager].\n */\n isPushPrivacyFeatureEnabled: boolean;\n\n /*\n * If push registration was able to generate a token.\n */\n isPushTokenRegistered: boolean;\n\n /*\n * If Airship is able to send and display a push notification.\n */\n isOptedIn: boolean;\n\n /*\n * Checks for isUserNotificationsEnabled, areNotificationsAllowed, and isPushPrivacyFeatureEnabled. If this flag\n * is true but `isOptedIn` is false, that means push token was not able to be registered.\n */\n isUserOptedIn: boolean;\n\n /**\n * The notification permission status.\n */\n notificationPermissionStatus: PermissionStatus;\n}\n\n/**\n * Enum of permission status.\n */\nexport enum PermissionStatus {\n /**\n * Permission is granted.\n */\n Granted = 'granted',\n\n /**\n * Permission is denied.\n */\n Denied = 'denied',\n\n /**\n * Permission has not yet been requested.\n */\n NotDetermined = 'not_determined',\n}\n\n/**\n * Fallback when prompting for permission and the permission is\n * already denied on iOS or is denied silently on Android.\n */\nexport enum PromptPermissionFallback {\n /**\n * Take the user to the system settings to enable the permission.\n */\n SystemSettings = \"systemSettings\"\n}\n\n/**\n * Event fired when the notification status changes.\n */\nexport interface PushNotificationStatusChangedEvent {\n /**\n * The push notification status.\n */\n status: PushNotificationStatus;\n}\n\n/**\n * Event fired when the Message Center is updated.\n */\nexport interface MessageCenterUpdatedEvent {\n /**\n * The unread message count.\n */\n messageUnreadCount: number;\n /**\n * The total message count.\n */\n messageCount: number;\n}\n\n/**\n * Event fired when the Message Center is requested to be displayed.\n */\nexport interface DisplayMessageCenterEvent {\n /**\n * The message ID, if available.\n */\n messageId?: string;\n}\n\n/**\n * Event fired when a deep link is opened.\n */\nexport interface DeepLinkEvent {\n /**\n * The deep link string.\n */\n deepLink: string;\n}\n\n/**\n * Event fired when a preference center is requested to be displayed.\n */\nexport interface DisplayPreferenceCenterEvent {\n /**\n * The preference center Id.\n */\n preferenceCenterId: string;\n}\n\n/**\n * Event fired whenever any of the Live Activities update, create, or end.\n */\nexport interface LiveActivitiesUpdatedEvent {\n /**\n * The Live Activities.\n */\n activities: LiveActivity[];\n}\n\n\n/**\n * Custom event\n */\nexport interface CustomEvent {\n /**\n * Event name\n */\n eventName: string;\n /**\n * Event value\n */\n eventValue?: number;\n /**\n * Event properties\n */\n properties: JsonObject;\n /**\n * Transaction ID\n */\n transactionId?: string;\n /**\n * Interaction ID\n */\n interactionId?: string;\n /**\n * Interaction type\n */\n interactionType?: string;\n}\n\n/**\n * iOS options\n */\nexport namespace iOS {\n /**\n * Quiet time\n */\n export interface QuietTime {\n /**\n * Start hour. Must be 0-23.\n */\n startHour: number;\n\n /**\n * Start minute. Must be 0-59.\n */\n startMinute: number;\n\n /**\n * End hour. Must be 0-23.\n */\n endHour: number;\n\n /**\n * End minute. Must be 0-59.\n */\n endMinute: number;\n }\n\n /**\n * Enum of notification options. iOS only.\n */\n export enum NotificationOption {\n /**\n * Alerts.\n */\n Alert = 'alert',\n /**\n * Sounds.\n */\n Sound = 'sound',\n /**\n * Badges.\n */\n Badge = 'badge',\n /**\n * Car play.\n */\n CarPlay = 'car_play',\n /**\n * Critical Alert.\n */\n CriticalAlert = 'critical_alert',\n /**\n * Provides app notification settings.\n */\n ProvidesAppNotificationSettings = 'provides_app_notification_settings',\n /**\n * Provisional.\n */\n Provisional = 'provisional',\n }\n\n /**\n * Enum of foreground notification options.\n */\n export enum ForegroundPresentationOption {\n /**\n * Play the sound associated with the notification.\n */\n Sound = 'sound',\n /**\n * Apply the notification's badge value to the app’s icon.\n */\n Badge = 'badge',\n\n /**\n * Show the notification in Notification Center. On iOS 13 an older,\n * this will also show the notification as a banner.\n */\n List = 'list',\n\n /**\n * Present the notification as a banner. On iOS 13 an older,\n * this will also show the notification in the Notification Center.\n */\n Banner = 'banner',\n }\n\n /**\n * Enum of authorized notification options.\n */\n export enum AuthorizedNotificationSetting {\n /**\n * Alerts.\n */\n Alert = 'alert',\n /**\n * Sounds.\n */\n Sound = 'sound',\n /**\n * Badges.\n */\n Badge = 'badge',\n /**\n * CarPlay.\n */\n CarPlay = 'car_play',\n /**\n * Lock screen.\n */\n LockScreen = 'lock_screen',\n /**\n * Notification center.\n */\n NotificationCenter = 'notification_center',\n /**\n * Critical alert.\n */\n CriticalAlert = 'critical_alert',\n /**\n * Announcement.\n */\n Announcement = 'announcement',\n /**\n * Scheduled delivery.\n */\n ScheduledDelivery = 'scheduled_delivery',\n /**\n * Time sensitive.\n */\n TimeSensitive = 'time_sensitive',\n }\n\n /**\n * Enum of authorized status.\n */\n export enum AuthorizedNotificationStatus {\n /**\n * Not determined.\n */\n NotDetermined = 'not_determined',\n\n /**\n * Denied.\n */\n Denied = 'denied',\n\n /**\n * Authorized.\n */\n Authorized = 'authorized',\n\n /**\n * Provisional.\n */\n Provisional = 'provisional',\n\n /**\n * Ephemeral.\n */\n Ephemeral = 'ephemeral',\n }\n\n export interface AuthorizedNotificationSettingsChangedEvent {\n /**\n * Authorized settings.\n */\n authorizedSettings: AuthorizedNotificationSetting[];\n }\n}\n\nexport namespace Android {\n /**\n * Android notification config.\n */\n export interface NotificationConfig {\n /**\n * The icon resource name.\n */\n icon?: string;\n /**\n * The large icon resource name.\n */\n largeIcon?: string;\n /**\n * The default android notification channel ID.\n */\n defaultChannelId?: string;\n /**\n * The accent color. Must be a hex value #AARRGGBB.\n */\n accentColor?: string;\n }\n}\n\n/**\n * Airship config environment\n */\nexport interface ConfigEnvironment {\n /**\n * App key.\n */\n appKey: string;\n\n /**\n * App secret.\n */\n appSecret: string;\n\n /**\n * Optional log level.\n */\n logLevel?: LogLevel;\n\n /**\n * Optional iOS config\n */\n ios?: {\n /**\n * Log privacy level. By default it logs at `private`, not logging anything lower than info to the console\n * and redacting logs with string interpolation. `public` will log all configured log levels to the console\n * without redacting any of the log lines.\n */\n logPrivacyLevel?: 'private' | 'public';\n };\n}\n\n/**\n * Possible sites.\n */\nexport type Site = 'us' | 'eu';\n\n/**\n * Log levels.\n */\nexport type LogLevel =\n | 'verbose'\n | 'debug'\n | 'info'\n | 'warning'\n | 'error'\n | 'none';\n\n/**\n * Airship config\n */\nexport interface AirshipConfig {\n /**\n * Default environment.\n */\n default?: ConfigEnvironment;\n\n /**\n * Development environment. Overrides default environment if inProduction is false.\n */\n development?: ConfigEnvironment;\n\n /**\n * Production environment. Overrides default environment if inProduction is true.\n */\n production?: ConfigEnvironment;\n\n /**\n * Cloud site.\n */\n site?: Site;\n\n /**\n * Switches the environment from development or production. If the value is not\n * set, Airship will determine the value at runtime.\n */\n inProduction?: boolean;\n\n /**\n * URL allow list.\n */\n urlAllowList?: string[];\n\n /**\n * URL allow list for open URL scope.\n */\n urlAllowListScopeOpenUrl?: string[];\n\n /**\n * URL allow list for JS bridge injection.\n */\n urlAllowListScopeJavaScriptInterface?: string[];\n\n /**\n * Enables delayed channel creation.\n * Deprecated. Use the Private Manager to disable all features instead.\n */\n isChannelCreationDelayEnabled?: boolean;\n\n /**\n * Initial config URL for custom Airship domains. The URL\n * should also be added to the urlAllowList.\n */\n initialConfigUrl?: string;\n\n /**\n * Enabled features. Defaults to all.\n */\n enabledFeatures?: Feature[];\n\n /**\n * Enables channel capture feature.\n * This config is enabled by default.\n */\n isChannelCaptureEnabled?: boolean;\n\n /**\n * Whether to suppress console error messages about missing allow list entries during takeOff.\n * This config is disabled by default.\n */\n suppressAllowListError?: boolean;\n\n /**\n * Pauses In-App Automation on launch.\n */\n autoPauseInAppAutomationOnLaunch?: boolean;\n\n /**\n * iOS config.\n */\n ios?: {\n /**\n * itunesId for rate app and app store deep links.\n */\n itunesId?: string;\n };\n\n /**\n * Android config.\n */\n android?: {\n /**\n * App store URI\n */\n appStoreUri?: string;\n\n /**\n * Fcm app name if using multiple FCM projects.\n */\n fcmFirebaseAppName?: string;\n\n /**\n * Notification config.\n */\n notificationConfig?: Android.NotificationConfig;\n\n /**\n * Log privacy level. By default it logs at `private`, not logging anything lower than info to the console\n * and redacting logs with string interpolation. `public` will log all configured log levels to the console\n * without redacting any of the log lines.\n */\n logPrivacyLevel?: 'private' | 'public';\n };\n}\n\n/**\n * Enum of authorized Features.\n */\nexport enum Feature {\n InAppAutomation = 'in_app_automation',\n MessageCenter = 'message_center',\n Push = 'push',\n // No longer used\n Chat = 'chat',\n Analytics = 'analytics',\n TagsAndAttributes = 'tags_and_attributes',\n FeatureFlags = 'feature_flags',\n Contacts = 'contacts',\n // No longer used\n Location = 'location',\n}\n\n/**\n * All available features.\n */\nexport const FEATURES_ALL = Object.values(Feature);\n\n/**\n * Subscription Scope types.\n */\nexport enum SubscriptionScope {\n App = 'app',\n Web = 'web',\n Sms = 'sms',\n Email = 'email',\n}\n\nexport interface InboxMessage {\n /**\n * The message ID. Needed to display, mark as read, or delete the message.\n */\n id: string;\n /**\n * The message title.\n */\n title: string;\n /**\n * The message sent date in milliseconds.\n */\n sentDate: number;\n /**\n * Optional - The message expiration date in milliseconds.\n */\n expirationDate?: number;\n /**\n * Optional - The icon url for the message.\n */\n listIconUrl: string;\n /**\n * The unread / read status of the message.\n */\n isRead: boolean;\n /**\n * String to String map of any message extras.\n */\n extras: Record<string, string>;\n}\n\n// ---\n// See: https://github.com/urbanairship/web-push-sdk/blob/master/src/remote-data/preference-center.ts\n// ---\n\n/**\n * A preference center definition.\n *\n * @typedef {object} PreferenceCenter\n * @property {string} id the ID of the preference center\n * @property {Array<PreferenceCenter.CommonSection>} sections a list of sections\n * @property {?CommonDisplay} display display information\n */\nexport type PreferenceCenter = {\n id: string;\n sections: Section[];\n display?: CommonDisplay;\n};\n\n/**\n * Preference center display information.\n * @typedef {object} CommonDisplay\n * @property {string} name\n * @property {?string} description\n */\nexport type CommonDisplay = {\n name: string;\n description?: string;\n};\n\nexport type Icon = {\n icon: string;\n};\n\nexport type IconDisplay = CommonDisplay & Partial<Icon>;\n\nexport interface ItemBase {\n type: unknown;\n id: string;\n display: CommonDisplay;\n conditions?: Condition[];\n}\n\n/**\n * A channel subscription item.\n * @typedef {object} ChannelSubscriptionItem\n * @memberof PreferenceCenter\n * @property {\"channel_subscription\"} type\n * @property {string} id the item identifier\n * @property {?CommonDisplay} display display information\n * @property {string} subscription_id the subscription list id\n */\nexport interface ChannelSubscriptionItem extends ItemBase {\n type: 'channel_subscription';\n subscription_id: string;\n}\n\nexport interface ContactSubscriptionGroupItem extends ItemBase {\n type: 'contact_subscription_group';\n id: string;\n subscription_id: string;\n components: ContactSubscriptionGroupItemComponent[];\n}\n\nexport interface ContactSubscriptionGroupItemComponent {\n scopes: SubscriptionScope[];\n display: Omit<CommonDisplay, 'description'>;\n}\n\nexport interface ContactSubscriptionItem extends ItemBase {\n type: 'contact_subscription';\n scopes: SubscriptionScope[];\n subscription_id: string;\n}\n\nexport interface AlertItem extends ItemBase {\n type: 'alert';\n display: IconDisplay;\n button?: Button;\n}\n\nexport interface ConditionBase {\n type: unknown;\n}\n\nexport interface NotificationOptInCondition extends ConditionBase {\n type: 'notification_opt_in';\n when_status: 'opt_in' | 'opt_out';\n}\n\nexport type Condition = NotificationOptInCondition;\n\n// Changed from `unknown` in spec\nexport type Actions = {\n [key: string]: JsonValue;\n};\n\nexport interface Button {\n text: string;\n content_description?: string;\n actions: Actions;\n}\n\nexport interface SectionBase {\n type: unknown;\n id: string;\n display?: CommonDisplay;\n items: Item[];\n}\n\n/**\n * @typedef {object} CommonSection\n * @memberof PreferenceCenter\n * @property {\"section\"} type\n * @property {string} id the section identifier\n * @property {?CommonDisplay} display display information\n * @property {Array<PreferenceCenter.ChannelSubscriptionItem>} items list of\n * section items\n */\nexport interface CommonSection extends SectionBase {\n type: 'section';\n}\n\nexport interface LabeledSectionBreak extends SectionBase {\n type: 'labeled_section_break';\n items: never;\n}\n\nexport type Item =\n | ChannelSubscriptionItem\n | ContactSubscriptionGroupItem\n | ContactSubscriptionItem\n | AlertItem;\n\nexport type Section = CommonSection | LabeledSectionBreak;\n\n/**\n * An interface representing the eligibility status of a flag, and optional\n * variables associated with the flag.\n */\nexport interface FeatureFlag {\n /**\n * A boolean representing flag eligibility; will be `true` if the current\n * contact is eligible for the flag.\n */\n readonly isEligible: boolean;\n /**\n * A variables associated with the flag, if any. Will be `null` if no data\n * is associated with the flag, or if the flag does not exist.\n */\n readonly variables: unknown | null;\n /**\n * A boolean representing if the flag exists or not. For ease of use and\n * deployment, asking for a flag by any name will return a `FeatureFlag`\n * interface, even if the flag was not found to exist. However this property\n * may be checked to determine if the flag was actually resolved to a known\n * flag name.\n */\n readonly exists: boolean;\n\n /**\n * Reporting Metadata, the shape of which is private and not to be relied\n * upon. When not provided, an interaction cannot be tracked on the flag.\n * @ignore\n */\n readonly _internal: unknown;\n}\n\n\n/**\n * Live Activity info.\n */\nexport interface LiveActivity {\n /**\n * The activity ID.\n */\n id: string;\n /**\n * The attribute types.\n */\n attributeTypes: string;\n /**\n * The content.\n */\n content: LiveActivityContent;\n /**\n * The attributes.\n */\n attributes: JsonObject;\n}\n\n/**\n * Live Activity content.\n */\nexport interface LiveActivityContent {\n /**\n * The content state.\n */\n state: JsonObject;\n /**\n * Optional ISO 8601 date string that defines when the Live Activity will be stale.\n */\n staleDate?: string;\n /**\n * The relevance score.\n */\n relevanceScore: number;\n}\n\n/**\n * Base Live Activity request.\n */\nexport interface LiveActivityRequest {\n /**\n * Attributes types. This should match the Activity type of your Live Activity.\n */\n attributesType: string;\n}\n\n/**\n * Live Activity list request.\n */\nexport interface LiveActivityListRequest extends LiveActivityRequest {}\n\n/**\n * Live Activity start request.\n */\nexport interface LiveActivityStartRequest extends LiveActivityRequest {\n /**\n * Dynamic content.\n */\n content: LiveActivityContent;\n /**\n * Fixed attributes.\n */\n attributes: JsonObject;\n}\n\n/**\n * Live Activity update request.\n */\nexport interface LiveActivityUpdateRequest extends LiveActivityRequest {\n /**\n * The Live Activity ID to update.\n */\n activityId: string;\n /**\n * Dynamic content.\n */\n content: LiveActivityContent;\n}\n\n/**\n * Live Activity end request.\n */\nexport interface LiveActivityEndRequest extends LiveActivityRequest {\n /**\n * The Live Activity ID to update.\n */\n activityId: string;\n /**\n * Dynamic content.\n */\n content?: LiveActivityContent;\n\n /**\n * Dismissal policy. Defaults to `LiveActivityDismissalPolicyDefault`.\n */\n dismissalPolicy?: LiveActivityDismissalPolicy;\n}\n\nexport type LiveActivityDismissalPolicy =\n | LiveActivityDismissalPolicyImmediate\n | LiveActivityDismissalPolicyDefault\n | LiveActivityDismissalPolicyAfterDate;\n\n/**\n * Dismissal policy to immediately dismiss the Live Activity on end.\n */\nexport interface LiveActivityDismissalPolicyImmediate {\n type: 'immediate';\n}\n\n/**\n * Dismissal policy to dismiss the Live Activity after the expiration.\n */\nexport interface LiveActivityDismissalPolicyDefault {\n type: 'default';\n}\n\n/**\n * Dismissal policy to dismiss the Live Activity after a given date.\n */\nexport interface LiveActivityDismissalPolicyAfterDate {\n type: 'after';\n // ISO 8601 date string.\n date: string;\n}\n\n/**\n * Live Update info.\n */\nexport interface LiveUpdate {\n /**\n * The Live Update name.\n */\n name: string;\n\n /**\n * The Live Update type.\n */\n type: string;\n\n /**\n * Dynamic content.\n */\n content: JsonObject;\n\n /**\n * ISO 8601 date string of the last content update.\n */\n lastContentUpdateTimestamp: string;\n\n /**\n * ISO 8601 date string of the last state update.\n */\n lastStateChangeTimestamp: string;\n\n /**\n * Optional ISO 8601 date string that defines when to end this Live Update.\n */\n dismissTimestamp?: string;\n}\n\n\n/**\n * Live Update list request.\n */\nexport interface LiveUpdateListRequest {\n type: string;\n}\n\n/**\n * Live Update update request.\n */\nexport interface LiveUpdateUpdateRequest {\n /**\n * The Live Update name.\n */\n name: string;\n /**\n * Dynamic content.\n */\n content: JsonObject;\n\n /**\n * Optional ISO 8601 date string, used to filter out of order updates/\n */\n timestamp?: string;\n\n /**\n * Optional ISO 8601 date string that defines when to end this Live Update.\n */\n dismissTimestamp?: string;\n}\n\n/**\n * Live Update end request.\n */\nexport interface LiveUpdateEndRequest {\n /**\n * The Live Update name.\n */\n name: string;\n\n /**\n * Dynamic content.\n */\n content?: JsonObject;\n\n /**\n * Optional ISO 8601 date string, used to filter out of order updates/\n */\n timestamp?: string;\n\n /**\n * Optional ISO 8601 date string that defines when to end this Live Update.\n */\n dismissTimestamp?: string;\n}\n\n/**\n * Live Update start request.\n */\nexport interface LiveUpdateStartRequest {\n /**\n * The Live Update name.\n */\n name: string;\n\n /**\n * The Live Update type.\n */\n type: string;\n\n /**\n * Dynamic content.\n */\n content: JsonObject;\n\n /**\n * Optional ISO 8601 date string, used to filter out of order updates/\n */\n timestamp?: string;\n\n /**\n * Optional ISO 8601 date string that defines when to end this Live Update.\n */\n dismissTimestamp?: string;\n}"]}
|
package/dist/plugin.cjs.js
CHANGED
|
@@ -1443,6 +1443,7 @@ exports.Feature = void 0;
|
|
|
1443
1443
|
Feature["Chat"] = "chat";
|
|
1444
1444
|
Feature["Analytics"] = "analytics";
|
|
1445
1445
|
Feature["TagsAndAttributes"] = "tags_and_attributes";
|
|
1446
|
+
Feature["FeatureFlags"] = "feature_flags";
|
|
1446
1447
|
Feature["Contacts"] = "contacts";
|
|
1447
1448
|
// No longer used
|
|
1448
1449
|
Feature["Location"] = "location";
|
package/dist/plugin.cjs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.cjs.js","sources":["esm/AirshipActions.js","esm/AirshipAnalytics.js","esm/AttributeEditor.js","esm/EventType.js","esm/SubscriptionListEditor.js","esm/TagEditor.js","esm/TagGroupEditor.js","esm/AirshipChannel.js","esm/ScopedSubscriptionListEditor.js","esm/AirshipContact.js","esm/AirshipFeatureFlagManager.js","esm/AirshipInApp.js","esm/AirshipLocale.js","esm/AirshipMessageCenter.js","esm/AirshipPreferenceCenter.js","esm/AirshipPrivacyManager.js","esm/AirshipPush.js","esm/AirshipLiveActivityManager.js","esm/AirshipLiveUpdateManager.js","esm/AirshipRoot.js","esm/AirshipPlugin.js","esm/types.js","esm/index.js"],"sourcesContent":["/**\n * Airship actions.\n */\nexport class AirshipActions {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Runs an Airship action.\n *\n * @param name The name of the action.\n * @param value The action's value.\n * @return A promise that returns the action result if the action\n * successfully runs, or the Error if the action was unable to be run.\n */\n run(actionName, actionValue) {\n return this.plugin.perform('actions#run', [actionName, actionValue]);\n }\n}\n//# sourceMappingURL=AirshipActions.js.map","/**\n * Airship analytics.\n */\nexport class AirshipAnalytics {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Associates an identifier.\n *\n * @param key The key.\n * @param identifier The identifier. `null` to remove.\n * @returns A promise.\n */\n associateIdentifier(key, identifier) {\n return this.plugin.perform('analytics#associateIdentifier', [\n key,\n identifier,\n ]);\n }\n /**\n * Tracks a screen.\n * @param screen The screen. `null` to stop tracking.\n * @returns A promise.\n */\n trackScreen(screen) {\n return this.plugin.perform('analytics#trackScreen', screen);\n }\n /**\n * Adds a custom event.\n * @param event The custom event.\n * @return A promise that returns null if resolved, or an Error if the\n * custom event is rejected.\n */\n addCustomEvent(event) {\n return this.plugin.perform('analytics#addCustomEvent', event);\n }\n /**\n * Gets the Airship session ID. The session ID is a UUID that updates on foreground and background.\n * @returns A promise.\n */\n getSessionId() {\n return this.plugin.perform('analytics#getSessionId');\n }\n}\n//# sourceMappingURL=AirshipAnalytics.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for attributes.\n */\nexport class AttributeEditor {\n /**\n * AttributeEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds an attribute.\n *\n * @param value The attribute value.\n * @param name The attribute name.\n * @return The attribute editor instance.\n */\n setAttribute(name, value) {\n var attributeValue;\n var attributeType;\n if (typeof value === 'boolean') {\n // No boolean attribute type. Convert value to string.\n attributeValue = value.toString();\n attributeType = 'string';\n }\n else {\n attributeValue = value;\n if (typeof value === 'string') {\n attributeType = 'string';\n }\n else if (typeof attributeValue === 'number') {\n attributeType = 'number';\n }\n else if (value instanceof Date) {\n // JavaScript's date type doesn't pass through the JS to native bridge.\n // Dates are instead serialized as milliseconds since epoch.\n attributeType = 'date';\n attributeValue = value.getTime();\n }\n else {\n throw 'Unsupported attribute type: ' + typeof attributeValue;\n }\n }\n const operation = {\n action: 'set',\n value: attributeValue,\n key: name,\n type: attributeType,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Adds a JSON attribute.\n *\n * @param name The attribute name.\n * @param value The attribute value.\n * @param instanceId The instance ID.\n * @param json The json value. Must not contain `exp` as top level key.\n * @param expiration: Optional expiration.\n * @return The attribute editor instance.\n */\n setJsonAttribute(name, instanceId, json, expiration) {\n var operation = {\n action: 'set',\n value: json,\n key: name,\n instance_id: instanceId,\n type: 'json'\n };\n if (expiration != null) {\n operation.expiration_milliseconds = expiration.getTime();\n }\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes an attribute.\n * @param name The name of the attribute to remove.\n * @return The attribute editor instance.\n */\n removeAttribute(name) {\n const operation = { action: 'remove', key: name };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes a JSON attribute.\n * @param name The name of the attribute to remove.\n * @param instanceId The instance ID.\n * @return The attribute editor instance.\n */\n removeJsonAttribute(name, instanceId) {\n const operation = { action: 'remove', key: name, instance_id: instanceId };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the attribute operations.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=AttributeEditor.js.map","export var EventType;\n(function (EventType) {\n EventType[\"ChannelCreated\"] = \"channel_created\";\n EventType[\"NotificationResponse\"] = \"notification_response_received\";\n EventType[\"PushReceived\"] = \"push_received\";\n EventType[\"DeepLink\"] = \"deep_link_received\";\n EventType[\"MessageCenterUpdated\"] = \"message_center_updated\";\n EventType[\"PushNotificationStatusChangedStatus\"] = \"notification_status_changed\";\n EventType[\"DisplayMessageCenter\"] = \"display_message_center\";\n EventType[\"DisplayPreferenceCenter\"] = \"display_preference_center\";\n EventType[\"PushTokenReceived\"] = \"push_token_received\";\n EventType[\"IOSAuthorizedNotificationSettingsChanged\"] = \"ios_authorized_notification_settings_changed\";\n EventType[\"IOSLiveActivitiesUpdated\"] = \"ios_live_activities_updated\";\n})(EventType || (EventType = {}));\n//# sourceMappingURL=EventType.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal subscription list update type.\n * @hidden\n */\nvar SubscriptionListOperationAction;\n(function (SubscriptionListOperationAction) {\n SubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n SubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(SubscriptionListOperationAction || (SubscriptionListOperationAction = {}));\n/**\n * Subscription list editor.\n */\nexport class SubscriptionListEditor {\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n subscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.subscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n unsubscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.unsubscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=SubscriptionListEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for device tags.\n */\nexport class TagEditor {\n /**\n * TagEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a channel.\n *\n * @param tags Tags to add.\n * @return The tag editor instance.\n */\n addTags(tags) {\n const operation = { operationType: 'add', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the channel.\n *\n * @param tags Tags to remove.\n * @return The tag editor instance.\n */\n removeTags(tags) {\n const operation = { operationType: 'remove', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for tag groups.\n */\nexport class TagGroupEditor {\n /**\n * TagGroupEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to add.\n * @return The tag group editor instance.\n */\n addTags(group, tags) {\n const operation = { operationType: 'add', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to remove.\n * @return The tag group editor instance.\n */\n removeTags(group, tags) {\n const operation = { operationType: 'remove', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Overwrite the current set of tags on the Tag Group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to set.\n * @return The tag group editor instance.\n */\n setTags(group, tags) {\n const operation = { operationType: 'set', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagGroupEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { EventType } from './EventType';\nimport { SubscriptionListEditor } from './SubscriptionListEditor';\nimport { TagEditor } from './TagEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship channel.\n */\nexport class AirshipChannel {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the device tags.\n * @returns A promise with the result.\n */\n getTags() {\n return this.plugin.perform('channel#getTags');\n }\n /**\n * Gets the channel Id.\n *\n * @returns A promise with the result.\n */\n getChannelId() {\n return this.plugin.perform('channel#getChannelId');\n }\n /**\n * Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After\n * the channel ID is created, this method functions the same as `getChannelId()`.\n *\n * @returns A promise with the result.\n */\n waitForChannelId() {\n return this.plugin.perform('channel#waitForChannelId');\n }\n /**\n * Gets a list of the channel's subscriptions.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('channel#getSubscriptionLists');\n }\n /**\n * Edits tags.\n * @returns A tag group editor.\n */\n editTags() {\n return new TagEditor((operations) => {\n return this.plugin.perform('channel#editTags', operations);\n });\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('channel#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('channel#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new SubscriptionListEditor((operations) => {\n return this.plugin.perform('channel#editSubscriptionLists', operations);\n });\n }\n /**\n * Enables channel creation if channel creation has been delayed.\n * It is only necessary to call this when isChannelCreationDelayEnabled\n * has been set to `true` in the airship config.\n * Deprecated. Use the Private Manager to disable all features instead.\n */\n enableChannelCreation() {\n return this.plugin.perform('channel#enableChannelCreation');\n }\n /**\n * Adds a channel created listener\n */\n onChannelCreated(listener) {\n return this.plugin.addListener(EventType.ChannelCreated, listener);\n }\n}\n//# sourceMappingURL=AirshipChannel.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal scoped subscription list update type.\n * @hidden\n */\nvar ScopedSubscriptionListOperationAction;\n(function (ScopedSubscriptionListOperationAction) {\n ScopedSubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n ScopedSubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(ScopedSubscriptionListOperationAction || (ScopedSubscriptionListOperationAction = {}));\n/**\n * Scoped subscription list editor.\n */\nexport class ScopedSubscriptionListEditor {\n /**\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list in the given scope.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to subscribe.\n * @returns The editor.\n */\n subscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.subscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to unsubscribe.\n * @returns The editor.\n */\n unsubscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.unsubscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=ScopedSubscriptionListEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship contact.\n */\nexport class AirshipContact {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Identifies the contact with a named user Id.\n * @param namedUser The named user Id.\n * @returns A promise.\n */\n identify(namedUser) {\n return this.plugin.perform('contact#identify', namedUser);\n }\n /**\n * Resets the contact.\n * @returns A promise.\n */\n reset() {\n return this.plugin.perform('contact#reset');\n }\n /**\n * Gets the named user Id.\n * @returns A promise with the result.\n */\n getNamedUserId() {\n return this.plugin.perform('contact#getNamedUserId');\n }\n /**\n * Gets the contacts subscription lists.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('contact#getSubscriptionLists');\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('contact#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('contact#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new ScopedSubscriptionListEditor((operations) => {\n return this.plugin.perform('contact#editSubscriptionLists', operations);\n });\n }\n}\n//# sourceMappingURL=AirshipContact.js.map","/**\n * Airship feature flag manager.\n */\nexport class AirshipFeatureFlagManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Retrieve a given flag's status and associated data by its name.\n * @param {string} flagName The flag name\n * @return {Promise<FeatureFlag>} A promise resolving to the feature flag\n * requested.\n * @throws {Error} when failed to fetch\n */\n flag(flagName) {\n return this.plugin.perform('featureFlagManager#flag', flagName);\n }\n /**\n * Tracks a feature flag interaction event.\n * @param {FeatureFlag} flag The flag\n * @return {Promise<Void>} A promise with an empty result.\n * @throws {Error} when failed to fetch\n */\n trackInteraction(flag) {\n return this.plugin.perform('featureFlagManager#trackInteraction', flag);\n }\n}\n//# sourceMappingURL=AirshipFeatureFlagManager.js.map","/**\n * Airship InApp Experiences.\n */\nexport class AirshipInApp {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Pauses messages.\n * @param paused `true` to pause, `false` to resume.\n * @returns A promise.\n */\n setPaused(paused) {\n return this.plugin.perform('inApp#setPaused', paused);\n }\n /**\n * Checks if messages are paused.\n * @returns A promise with the result.\n */\n isPaused() {\n return this.plugin.perform('inApp#isPaused');\n }\n /**\n * Sets the display interval for messages.\n * @param milliseconds Display interval\n * @returns A promise.\n */\n setDisplayInterval(milliseconds) {\n return this.plugin.perform('inApp#setDisplayInterval', milliseconds);\n }\n /**\n * Gets the display interval.\n * @returns A promise with the result.\n */\n getDisplayInterval() {\n return this.plugin.perform('inApp#getDisplayInterval');\n }\n}\n//# sourceMappingURL=AirshipInApp.js.map","/**\n * Manages locale used by Airship messaging.\n */\nexport class AirshipLocale {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the locale override.\n * @param localeIdentifier The locale identifier.\n * @returns A promise.\n */\n setLocaleOverride(localeIdentifier) {\n return this.plugin.perform('locale#setLocaleOverride', localeIdentifier);\n }\n /**\n * Clears the locale override.\n * @returns A promise.\n */\n clearLocaleOverride() {\n return this.plugin.perform('locale#clearLocaleOverride');\n }\n /**\n * Gets the current locale.\n * @returns A promise with the result.\n */\n getLocale() {\n return this.plugin.perform('locale#getLocale');\n }\n}\n//# sourceMappingURL=AirshipLocale.js.map","import { EventType } from './EventType';\n/**\n * Airship Message Center\n */\nexport class AirshipMessageCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the unread count.\n * @returns A promise with the result.\n */\n getUnreadCount() {\n return this.plugin.perform('messageCenter#getUnreadCount');\n }\n /**\n * Gets the inbox messages.\n * @returns A promise with the result.\n */\n getMessages() {\n return this.plugin.perform('messageCenter#getMessages');\n }\n /**\n * Marks a message as read.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n markMessageRead(messageId) {\n return this.plugin.perform('messageCenter#markMessageRead', messageId);\n }\n /**\n * Deletes a message.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n deleteMessage(messageId) {\n return this.plugin.perform('messageCenter#deleteMessage', messageId);\n }\n /**\n * Dismisses the OOTB message center if displayed.\n * @returns A promise.\n */\n dismiss() {\n return this.plugin.perform('messageCenter#dismiss');\n }\n /**\n * Requests to display the Message Center.\n *\n * Will either emit an event to display the\n * Message Center if auto launch message center\n * is disabled, or display the OOTB message center.\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n display(messageId) {\n return this.plugin.perform('messageCenter#display', messageId);\n }\n /**\n * Overlays the message view. Should be used to display the actual\n * message body in a custom Message Center.\n *\n * @param messageId The message Id.\n * @returns A promise.\n */\n showMessageView(messageId) {\n return this.plugin.perform('messageCenter#showMessageView', messageId);\n }\n /**\n * Overlays the message center regardless if auto launch Message Center is enabled or not.\n *\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n showMessageCenter(messageId) {\n return this.plugin.perform('messageCenter#showMessageCenter', messageId);\n }\n /**\n * Refreshes the messages.\n * @returns A promise. Will reject if the list fails to refresh or if\n * takeOff is not called yet.\n */\n refreshMessages() {\n return this.plugin.perform('messageCenter#refreshMessages');\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with a Message Center action.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n */\n setAutoLaunchDefaultMessageCenter(autoLaunch) {\n return this.plugin.perform('messageCenter#setAutoLaunchDefaultMessageCenter', autoLaunch);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayMessageCenter, listener);\n }\n /**\n * Adds a message center list updated listener.\n */\n onUpdated(listener) {\n return this.plugin.addListener(EventType.MessageCenterUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipMessageCenter.js.map","import { EventType } from './EventType';\n/**\n * Airship Preference Center.\n */\nexport class AirshipPreferenceCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Requests to display a preference center.\n *\n * Will either emit an event to display the\n * Preference Center if auto launch is disabled,\n * or display the OOTB UI.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise.\n */\n display(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#display', preferenceCenterId);\n }\n /**\n * Gets the preference center config.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise with the result.\n */\n getConfig(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#getConfig', preferenceCenterId);\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with some other action.\n * @param preferenceCenterId The preference center Id.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n * @returns A promise with the result.\n */\n setAutoLaunchDefaultPreferenceCenter(preferenceCenterId, autoLaunch) {\n return this.plugin.perform('preferenceCenter#getConfig', [\n preferenceCenterId,\n autoLaunch,\n ]);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayPreferenceCenter, listener);\n }\n}\n//# sourceMappingURL=AirshipPreferenceCenter.js.map","/**\n * Airship Privacy Manager.\n */\nexport class AirshipPrivacyManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the current set of enabled features.\n * @param features The features to set.\n * @returns A promise.\n */\n setEnabledFeatures(features) {\n return this.plugin.perform('privacyManager#setEnabledFeatures', features);\n }\n /**\n * Gets the current enabled features.\n * @returns A promise with the result.\n */\n getEnabledFeatures() {\n return this.plugin.perform('privacyManager#getEnabledFeatures');\n }\n /**\n * Enables additional features.\n * @param features The features to enable.\n * @returns A promise.\n */\n enableFeatures(features) {\n return this.plugin.perform('privacyManager#enableFeatures', features);\n }\n /**\n * Disable features.\n * @param features The features to disable.\n * @returns A promise.\n */\n disableFeatures(features) {\n return this.plugin.perform('privacyManager#disableFeatures', features);\n }\n /**\n * Checks if the features are enabled or not.\n * @param features The features to check.\n * @returns A promise with the result.\n */\n isFeaturesEnabled(features) {\n return this.plugin.perform('privacyManager#isFeaturesEnabled', features);\n }\n}\n//# sourceMappingURL=AirshipPrivacyManager.js.map","import { EventType } from './EventType';\n/**\n * Airship Push.\n */\nexport class AirshipPush {\n constructor(plugin) {\n this.plugin = plugin;\n this.iOS = new AirshipPushIOS(plugin);\n this.android = new AirshipPushAndroid(plugin);\n }\n /**\n * Enables/disables notifications on Airship.\n *\n * When enabled, it will cause the user to be prompted for\n * the permission on platforms that support it.\n * To get the result of the prompt, use `enableUserNotifications`.\n * @param enabled true to enable, false to disable\n * @returns A promise.\n */\n setUserNotificationsEnabled(enabled) {\n return this.plugin.perform('push#setUserNotificationsEnabled', enabled);\n }\n /**\n * Checks if user notifications are enabled or not on Airship.\n * @returns A promise with the result.\n */\n isUserNotificationsEnabled() {\n return this.plugin.perform('push#isUserNotificationsEnabled');\n }\n /**\n * Enables user notifications.\n * @param options Optional options.\n * @returns A promise with the permission result.\n */\n enableUserNotifications(options) {\n return this.plugin.perform('push#enableUserNotifications', options);\n }\n /**\n * Gets the notification status.\n * @returns A promise with the result.\n */\n getNotificationStatus() {\n return this.plugin.perform('push#getNotificationStatus');\n }\n /**\n * Gets the registration token if generated.\n * Use the event EventType.PushTokenReceived to be notified\n * when available.\n * @returns A promise with the result.\n */\n getPushToken() {\n return this.plugin.perform('push#getPushToken');\n }\n /**\n * Gets the list of active notifications.\n *\n * On Android, this list only includes notifications\n * sent through Airship.\n * @returns A promise with the result.\n */\n getActiveNotifications() {\n return this.plugin.perform('push#getActiveNotifications');\n }\n /**\n * Clears all notifications for the app.\n * @returns A promise with the result.\n */\n clearNotifications() {\n return this.plugin.perform('push#clearNotifications');\n }\n /**\n * Clears a specific notification.\n *\n * On Android, you can use this method to clear\n * notifications outside of Airship, The identifier is in\n * the format of <tag>:<id>.\n * @param identifier The identifier.\n * @returns A promise with the result.\n */\n clearNotification(identifier) {\n return this.plugin.perform('push#clearNotification', identifier);\n }\n /**\n * Adds a notification response event listener.\n */\n onNotificationResponse(listener) {\n return this.plugin.addListener(EventType.NotificationResponse, listener);\n }\n /**\n * Adds a push received event listener.\n */\n onPushReceived(listener) {\n return this.plugin.addListener(EventType.PushReceived, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onNotificationStatusChanged(listener) {\n return this.plugin.addListener(EventType.PushNotificationStatusChangedStatus, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onPushTokenReceived(listener) {\n return this.plugin.addListener(EventType.PushTokenReceived, listener);\n }\n}\n/**\n * iOS Push.\n */\nexport class AirshipPushIOS {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the foreground presentation options.\n * @param options The foreground options.\n * @returns A promise.\n */\n setForegroundPresentationOptions(options) {\n return this.plugin.perform('push#ios#setForegroundPresentationOptions', options);\n }\n /**\n * Sets the notification options.\n * @param options The notification options.\n * @returns A promise.\n */\n setNotificationOptions(options) {\n return this.plugin.perform('push#ios#setNotificationOptions', options);\n }\n /**\n * Checks if autobadge is enabled.\n * @returns A promise with the result.\n */\n isAutobadgeEnabled() {\n return this.plugin.perform('push#ios#isAutobadgeEnabled');\n }\n /**\n * Enables/disables autobadge.\n * @param enabled true to enable, false to disable.\n * @returns A promise.\n */\n setAutobadgeEnabled(enabled) {\n return this.plugin.perform('push#ios#setAutobadgeEnabled', enabled);\n }\n /**\n * Set the badge number.\n * @param badge The badge number.\n * @returns A promise.\n */\n setBadgeNumber(badge) {\n return this.plugin.perform('push#ios#setBadgeNumber', badge);\n }\n /**\n * Gets the badge number.\n * @returns A promise with the result.\n */\n getBadgeNumber() {\n return this.plugin.perform('push#ios#getBadgeNumber');\n }\n /**\n * Enables/disables quiet time.\n *\n * @param enabled true to enable, false to disable\n * @returns A promise with the result.\n */\n setQuietTimeEnabled(enabled) {\n return this.plugin.perform('push#ios#setQuietTimeEnabled', enabled);\n }\n /**\n * Checks if quiet time is enabled or not.\n * @returns A promise with the result.\n */\n isQuietTimeEnabled() {\n return this.plugin.perform('push#ios#isQuietTimeEnabled');\n }\n /**\n * Sets quiet time.\n *\n * @param quietTime The quiet time.\n * @returns A promise with the result.\n */\n setQuietTime(quietTime) {\n return this.plugin.perform('push#ios#setQuietTime', quietTime);\n }\n /**\n * Gets the quiet time settings.\n *\n * @returns A promise with the result.\n */\n getQuietTime() {\n return this.plugin.perform('push#ios#getQuietTime');\n }\n /**\n * Adds a authorized settings changed event listener.\n */\n onAuthorizedSettingsChanged(listener) {\n return this.plugin.addListener(EventType.IOSAuthorizedNotificationSettingsChanged, listener);\n }\n}\n/**\n * Android Push.\n */\nexport class AirshipPushAndroid {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Checks if a notification category/channel is enabled.\n * @param channel The channel name.\n * @returns A promise with the result.\n */\n isNotificationChannelEnabled(channel) {\n return this.plugin.perform('push#android#isNotificationChannelEnabled', channel);\n }\n /**\n * Sets the notification config.\n * @param config The notification config.\n * @returns A promise with the result.\n */\n setNotificationConfig(config) {\n return this.plugin.perform('push#android#setNotificationConfig', config);\n }\n /**\n * Enables/disables showing notifications in the foreground.\n * @param enabled true to enable, false to disable.\n * @returns A promise with the result.\n */\n setForegroundNotificationsEnabled(enabled) {\n return this.plugin.perform('push#android#setForegroundNotificationsEnabled', enabled);\n }\n}\n//# sourceMappingURL=AirshipPush.js.map","import { EventType } from './EventType';\n/**\n * Live Activity manager.\n */\nexport class AirshipLiveActivityManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Activities for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveActivityManager#list', request);\n }\n /**\n * Lists all Live Activities.\n * @param request The request options.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveActivityManager#listAll');\n }\n /**\n * Starts a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveActivityManager#start', request);\n }\n /**\n * Updates a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveActivityManager#update', request);\n }\n /**\n * Ends a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveActivityManager#end', request);\n }\n /**\n * Adds a Live Activity listener.\n */\n onLiveActivityUpdates(listener) {\n return this.plugin.addListener(EventType.IOSLiveActivitiesUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipLiveActivityManager.js.map","/**\n * Live Update manager.\n */\nexport class AirshipLiveUpdateManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Updates for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveUpdateManager#list', request);\n }\n /**\n * Lists all Live Updates.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveUpdateManager#listAll');\n }\n /**\n * Starts a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveUpdateManager#start', request);\n }\n /**\n * Updates a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveUpdateManager#update', request);\n }\n /**\n * Ends a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveUpdateManager#end', request);\n }\n /**\n * Clears all Live Updates.\n * @returns A promise with the result.\n */\n clearAll() {\n return this.plugin.perform('liveUpdateManager#clearAll');\n }\n}\n//# sourceMappingURL=AirshipLiveUpdateManager.js.map","import { AirshipActions } from './AirshipActions';\nimport { AirshipAnalytics } from './AirshipAnalytics';\nimport { AirshipChannel } from './AirshipChannel';\nimport { AirshipContact } from './AirshipContact';\nimport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nimport { AirshipInApp } from './AirshipInApp';\nimport { AirshipLocale } from './AirshipLocale';\nimport { AirshipMessageCenter } from './AirshipMessageCenter';\nimport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nimport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nimport { AirshipPush } from './AirshipPush';\nimport { EventType } from './EventType';\nimport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nimport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\n/**\n * Airship\n */\nexport class AirshipRoot {\n constructor(plugin) {\n this.plugin = plugin;\n this.actions = new AirshipActions(plugin);\n this.analytics = new AirshipAnalytics(plugin);\n this.channel = new AirshipChannel(plugin);\n this.contact = new AirshipContact(plugin);\n this.inApp = new AirshipInApp(plugin);\n this.locale = new AirshipLocale(plugin);\n this.messageCenter = new AirshipMessageCenter(plugin);\n this.preferenceCenter = new AirshipPreferenceCenter(plugin);\n this.privacyManager = new AirshipPrivacyManager(plugin);\n this.push = new AirshipPush(plugin);\n this.featureFlagManager = new AirshipFeatureFlagManager(plugin);\n this.iOS = new AirshipRootIOS(plugin);\n this.android = new AirshipRootAndroid(plugin);\n }\n /**\n * Calls takeOff. If Airship is already configured for\n * the app session, the new config will be applied on the next\n * app init.\n * @param config The config.\n * @returns A promise with the result. `true` if airship is ready.\n */\n takeOff(config) {\n return this.plugin.perform('takeOff', config);\n }\n /**\n * Checks if Airship is ready.\n * @returns A promise with the result.\n */\n isFlying() {\n return this.plugin.perform('isFlying');\n }\n /**\n * Adds a deep link listener.\n */\n onDeepLink(listener) {\n return this.plugin.addListener(EventType.DeepLink, listener);\n }\n}\nexport class AirshipRootIOS {\n constructor(plugin) {\n this.liveActivityManager = new AirshipLiveActivityManager(plugin);\n }\n}\nexport class AirshipRootAndroid {\n constructor(plugin) {\n this.liveUpdateManager = new AirshipLiveUpdateManager(plugin);\n }\n}\n//# sourceMappingURL=AirshipRoot.js.map","/// <reference types=\"@capacitor/cli\" />\nexport class AirshipPluginWrapper {\n constructor(plugin) {\n this.plugin = plugin;\n }\n perform(method, value) {\n return this.plugin.perform({ method: method, value: value }).then(value => {\n return value.value;\n });\n }\n addListener(eventType, listener) {\n return this.plugin.addListener(eventType, listener);\n }\n}\n//# sourceMappingURL=AirshipPlugin.js.map","/**\n * Enum of permission status.\n */\nexport var PermissionStatus;\n(function (PermissionStatus) {\n /**\n * Permission is granted.\n */\n PermissionStatus[\"Granted\"] = \"granted\";\n /**\n * Permission is denied.\n */\n PermissionStatus[\"Denied\"] = \"denied\";\n /**\n * Permission has not yet been requested.\n */\n PermissionStatus[\"NotDetermined\"] = \"not_determined\";\n})(PermissionStatus || (PermissionStatus = {}));\n/**\n * Fallback when prompting for permission and the permission is\n * already denied on iOS or is denied silently on Android.\n */\nexport var PromptPermissionFallback;\n(function (PromptPermissionFallback) {\n /**\n * Take the user to the system settings to enable the permission.\n */\n PromptPermissionFallback[\"SystemSettings\"] = \"systemSettings\";\n})(PromptPermissionFallback || (PromptPermissionFallback = {}));\n/**\n * iOS options\n */\nexport var iOS;\n(function (iOS) {\n /**\n * Enum of notification options. iOS only.\n */\n let NotificationOption;\n (function (NotificationOption) {\n /**\n * Alerts.\n */\n NotificationOption[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n NotificationOption[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n NotificationOption[\"Badge\"] = \"badge\";\n /**\n * Car play.\n */\n NotificationOption[\"CarPlay\"] = \"car_play\";\n /**\n * Critical Alert.\n */\n NotificationOption[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Provides app notification settings.\n */\n NotificationOption[\"ProvidesAppNotificationSettings\"] = \"provides_app_notification_settings\";\n /**\n * Provisional.\n */\n NotificationOption[\"Provisional\"] = \"provisional\";\n })(NotificationOption = iOS.NotificationOption || (iOS.NotificationOption = {}));\n /**\n * Enum of foreground notification options.\n */\n let ForegroundPresentationOption;\n (function (ForegroundPresentationOption) {\n /**\n * Play the sound associated with the notification.\n */\n ForegroundPresentationOption[\"Sound\"] = \"sound\";\n /**\n * Apply the notification's badge value to the app’s icon.\n */\n ForegroundPresentationOption[\"Badge\"] = \"badge\";\n /**\n * Show the notification in Notification Center. On iOS 13 an older,\n * this will also show the notification as a banner.\n */\n ForegroundPresentationOption[\"List\"] = \"list\";\n /**\n * Present the notification as a banner. On iOS 13 an older,\n * this will also show the notification in the Notification Center.\n */\n ForegroundPresentationOption[\"Banner\"] = \"banner\";\n })(ForegroundPresentationOption = iOS.ForegroundPresentationOption || (iOS.ForegroundPresentationOption = {}));\n /**\n * Enum of authorized notification options.\n */\n let AuthorizedNotificationSetting;\n (function (AuthorizedNotificationSetting) {\n /**\n * Alerts.\n */\n AuthorizedNotificationSetting[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n AuthorizedNotificationSetting[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n AuthorizedNotificationSetting[\"Badge\"] = \"badge\";\n /**\n * CarPlay.\n */\n AuthorizedNotificationSetting[\"CarPlay\"] = \"car_play\";\n /**\n * Lock screen.\n */\n AuthorizedNotificationSetting[\"LockScreen\"] = \"lock_screen\";\n /**\n * Notification center.\n */\n AuthorizedNotificationSetting[\"NotificationCenter\"] = \"notification_center\";\n /**\n * Critical alert.\n */\n AuthorizedNotificationSetting[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Announcement.\n */\n AuthorizedNotificationSetting[\"Announcement\"] = \"announcement\";\n /**\n * Scheduled delivery.\n */\n AuthorizedNotificationSetting[\"ScheduledDelivery\"] = \"scheduled_delivery\";\n /**\n * Time sensitive.\n */\n AuthorizedNotificationSetting[\"TimeSensitive\"] = \"time_sensitive\";\n })(AuthorizedNotificationSetting = iOS.AuthorizedNotificationSetting || (iOS.AuthorizedNotificationSetting = {}));\n /**\n * Enum of authorized status.\n */\n let AuthorizedNotificationStatus;\n (function (AuthorizedNotificationStatus) {\n /**\n * Not determined.\n */\n AuthorizedNotificationStatus[\"NotDetermined\"] = \"not_determined\";\n /**\n * Denied.\n */\n AuthorizedNotificationStatus[\"Denied\"] = \"denied\";\n /**\n * Authorized.\n */\n AuthorizedNotificationStatus[\"Authorized\"] = \"authorized\";\n /**\n * Provisional.\n */\n AuthorizedNotificationStatus[\"Provisional\"] = \"provisional\";\n /**\n * Ephemeral.\n */\n AuthorizedNotificationStatus[\"Ephemeral\"] = \"ephemeral\";\n })(AuthorizedNotificationStatus = iOS.AuthorizedNotificationStatus || (iOS.AuthorizedNotificationStatus = {}));\n})(iOS || (iOS = {}));\n/**\n * Enum of authorized Features.\n */\nexport var Feature;\n(function (Feature) {\n Feature[\"InAppAutomation\"] = \"in_app_automation\";\n Feature[\"MessageCenter\"] = \"message_center\";\n Feature[\"Push\"] = \"push\";\n // No longer used\n Feature[\"Chat\"] = \"chat\";\n Feature[\"Analytics\"] = \"analytics\";\n Feature[\"TagsAndAttributes\"] = \"tags_and_attributes\";\n Feature[\"Contacts\"] = \"contacts\";\n // No longer used\n Feature[\"Location\"] = \"location\";\n})(Feature || (Feature = {}));\n/**\n * All available features.\n */\nexport const FEATURES_ALL = Object.values(Feature);\n/**\n * Subscription Scope types.\n */\nexport var SubscriptionScope;\n(function (SubscriptionScope) {\n SubscriptionScope[\"App\"] = \"app\";\n SubscriptionScope[\"Web\"] = \"web\";\n SubscriptionScope[\"Sms\"] = \"sms\";\n SubscriptionScope[\"Email\"] = \"email\";\n})(SubscriptionScope || (SubscriptionScope = {}));\n//# sourceMappingURL=types.js.map","import { registerPlugin } from '@capacitor/core';\nimport { AirshipRoot } from './AirshipRoot';\nimport { AirshipPluginWrapper } from './AirshipPlugin';\nexport { AirshipRoot } from './AirshipRoot';\nexport { AirshipActions } from './AirshipActions';\nexport { AirshipAnalytics } from './AirshipAnalytics';\nexport { AirshipChannel } from './AirshipChannel';\nexport { AirshipContact } from './AirshipContact';\nexport { AirshipInApp } from './AirshipInApp';\nexport { AirshipLocale } from './AirshipLocale';\nexport { AirshipMessageCenter } from './AirshipMessageCenter';\nexport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nexport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nexport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nexport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nexport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\nexport { AirshipPush, AirshipPushAndroid, AirshipPushIOS } from './AirshipPush';\nexport { SubscriptionListEditor } from './SubscriptionListEditor';\nexport { TagGroupEditor } from './TagGroupEditor';\nexport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nexport { AttributeEditor } from './AttributeEditor';\nexport * from './types';\nconst plugin = registerPlugin('Airship', {});\nconst sharedAirship = new AirshipRoot(new AirshipPluginWrapper(plugin));\nconst Airship = sharedAirship;\nexport { Airship };\n//# sourceMappingURL=index.js.map"],"names":["PermissionStatus","PromptPermissionFallback","iOS","Feature","SubscriptionScope","registerPlugin"],"mappings":";;;;AAAA;AACA;AACA;AACO,MAAM,cAAc,CAAC;AAC5B,IAAI,WAAW,CAAC,MAAM,EAAE;AACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE;AACjC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAC5E;AACA;;AClBA;AACA;AACA;AACO,MAAM,gBAAgB,CAAC;AAC9B,IAAI,WAAW,CAAC,MAAM,EAAE;AACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE;AACzC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,+BAA+B,EAAE;AACpE,YAAY,GAAG;AACf,YAAY,UAAU;AACtB,SAAS,CAAC;AACV;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,WAAW,CAAC,MAAM,EAAE;AACxB,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,EA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AirshipActions.js","esm/AirshipAnalytics.js","esm/AttributeEditor.js","esm/EventType.js","esm/SubscriptionListEditor.js","esm/TagEditor.js","esm/TagGroupEditor.js","esm/AirshipChannel.js","esm/ScopedSubscriptionListEditor.js","esm/AirshipContact.js","esm/AirshipFeatureFlagManager.js","esm/AirshipInApp.js","esm/AirshipLocale.js","esm/AirshipMessageCenter.js","esm/AirshipPreferenceCenter.js","esm/AirshipPrivacyManager.js","esm/AirshipPush.js","esm/AirshipLiveActivityManager.js","esm/AirshipLiveUpdateManager.js","esm/AirshipRoot.js","esm/AirshipPlugin.js","esm/types.js","esm/index.js"],"sourcesContent":["/**\n * Airship actions.\n */\nexport class AirshipActions {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Runs an Airship action.\n *\n * @param name The name of the action.\n * @param value The action's value.\n * @return A promise that returns the action result if the action\n * successfully runs, or the Error if the action was unable to be run.\n */\n run(actionName, actionValue) {\n return this.plugin.perform('actions#run', [actionName, actionValue]);\n }\n}\n//# sourceMappingURL=AirshipActions.js.map","/**\n * Airship analytics.\n */\nexport class AirshipAnalytics {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Associates an identifier.\n *\n * @param key The key.\n * @param identifier The identifier. `null` to remove.\n * @returns A promise.\n */\n associateIdentifier(key, identifier) {\n return this.plugin.perform('analytics#associateIdentifier', [\n key,\n identifier,\n ]);\n }\n /**\n * Tracks a screen.\n * @param screen The screen. `null` to stop tracking.\n * @returns A promise.\n */\n trackScreen(screen) {\n return this.plugin.perform('analytics#trackScreen', screen);\n }\n /**\n * Adds a custom event.\n * @param event The custom event.\n * @return A promise that returns null if resolved, or an Error if the\n * custom event is rejected.\n */\n addCustomEvent(event) {\n return this.plugin.perform('analytics#addCustomEvent', event);\n }\n /**\n * Gets the Airship session ID. The session ID is a UUID that updates on foreground and background.\n * @returns A promise.\n */\n getSessionId() {\n return this.plugin.perform('analytics#getSessionId');\n }\n}\n//# sourceMappingURL=AirshipAnalytics.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for attributes.\n */\nexport class AttributeEditor {\n /**\n * AttributeEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds an attribute.\n *\n * @param value The attribute value.\n * @param name The attribute name.\n * @return The attribute editor instance.\n */\n setAttribute(name, value) {\n var attributeValue;\n var attributeType;\n if (typeof value === 'boolean') {\n // No boolean attribute type. Convert value to string.\n attributeValue = value.toString();\n attributeType = 'string';\n }\n else {\n attributeValue = value;\n if (typeof value === 'string') {\n attributeType = 'string';\n }\n else if (typeof attributeValue === 'number') {\n attributeType = 'number';\n }\n else if (value instanceof Date) {\n // JavaScript's date type doesn't pass through the JS to native bridge.\n // Dates are instead serialized as milliseconds since epoch.\n attributeType = 'date';\n attributeValue = value.getTime();\n }\n else {\n throw 'Unsupported attribute type: ' + typeof attributeValue;\n }\n }\n const operation = {\n action: 'set',\n value: attributeValue,\n key: name,\n type: attributeType,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Adds a JSON attribute.\n *\n * @param name The attribute name.\n * @param value The attribute value.\n * @param instanceId The instance ID.\n * @param json The json value. Must not contain `exp` as top level key.\n * @param expiration: Optional expiration.\n * @return The attribute editor instance.\n */\n setJsonAttribute(name, instanceId, json, expiration) {\n var operation = {\n action: 'set',\n value: json,\n key: name,\n instance_id: instanceId,\n type: 'json'\n };\n if (expiration != null) {\n operation.expiration_milliseconds = expiration.getTime();\n }\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes an attribute.\n * @param name The name of the attribute to remove.\n * @return The attribute editor instance.\n */\n removeAttribute(name) {\n const operation = { action: 'remove', key: name };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes a JSON attribute.\n * @param name The name of the attribute to remove.\n * @param instanceId The instance ID.\n * @return The attribute editor instance.\n */\n removeJsonAttribute(name, instanceId) {\n const operation = { action: 'remove', key: name, instance_id: instanceId };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the attribute operations.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=AttributeEditor.js.map","export var EventType;\n(function (EventType) {\n EventType[\"ChannelCreated\"] = \"channel_created\";\n EventType[\"NotificationResponse\"] = \"notification_response_received\";\n EventType[\"PushReceived\"] = \"push_received\";\n EventType[\"DeepLink\"] = \"deep_link_received\";\n EventType[\"MessageCenterUpdated\"] = \"message_center_updated\";\n EventType[\"PushNotificationStatusChangedStatus\"] = \"notification_status_changed\";\n EventType[\"DisplayMessageCenter\"] = \"display_message_center\";\n EventType[\"DisplayPreferenceCenter\"] = \"display_preference_center\";\n EventType[\"PushTokenReceived\"] = \"push_token_received\";\n EventType[\"IOSAuthorizedNotificationSettingsChanged\"] = \"ios_authorized_notification_settings_changed\";\n EventType[\"IOSLiveActivitiesUpdated\"] = \"ios_live_activities_updated\";\n})(EventType || (EventType = {}));\n//# sourceMappingURL=EventType.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal subscription list update type.\n * @hidden\n */\nvar SubscriptionListOperationAction;\n(function (SubscriptionListOperationAction) {\n SubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n SubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(SubscriptionListOperationAction || (SubscriptionListOperationAction = {}));\n/**\n * Subscription list editor.\n */\nexport class SubscriptionListEditor {\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n subscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.subscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n unsubscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.unsubscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=SubscriptionListEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for device tags.\n */\nexport class TagEditor {\n /**\n * TagEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a channel.\n *\n * @param tags Tags to add.\n * @return The tag editor instance.\n */\n addTags(tags) {\n const operation = { operationType: 'add', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the channel.\n *\n * @param tags Tags to remove.\n * @return The tag editor instance.\n */\n removeTags(tags) {\n const operation = { operationType: 'remove', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for tag groups.\n */\nexport class TagGroupEditor {\n /**\n * TagGroupEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to add.\n * @return The tag group editor instance.\n */\n addTags(group, tags) {\n const operation = { operationType: 'add', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to remove.\n * @return The tag group editor instance.\n */\n removeTags(group, tags) {\n const operation = { operationType: 'remove', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Overwrite the current set of tags on the Tag Group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to set.\n * @return The tag group editor instance.\n */\n setTags(group, tags) {\n const operation = { operationType: 'set', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagGroupEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { EventType } from './EventType';\nimport { SubscriptionListEditor } from './SubscriptionListEditor';\nimport { TagEditor } from './TagEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship channel.\n */\nexport class AirshipChannel {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the device tags.\n * @returns A promise with the result.\n */\n getTags() {\n return this.plugin.perform('channel#getTags');\n }\n /**\n * Gets the channel Id.\n *\n * @returns A promise with the result.\n */\n getChannelId() {\n return this.plugin.perform('channel#getChannelId');\n }\n /**\n * Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After\n * the channel ID is created, this method functions the same as `getChannelId()`.\n *\n * @returns A promise with the result.\n */\n waitForChannelId() {\n return this.plugin.perform('channel#waitForChannelId');\n }\n /**\n * Gets a list of the channel's subscriptions.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('channel#getSubscriptionLists');\n }\n /**\n * Edits tags.\n * @returns A tag group editor.\n */\n editTags() {\n return new TagEditor((operations) => {\n return this.plugin.perform('channel#editTags', operations);\n });\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('channel#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('channel#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new SubscriptionListEditor((operations) => {\n return this.plugin.perform('channel#editSubscriptionLists', operations);\n });\n }\n /**\n * Enables channel creation if channel creation has been delayed.\n * It is only necessary to call this when isChannelCreationDelayEnabled\n * has been set to `true` in the airship config.\n * Deprecated. Use the Private Manager to disable all features instead.\n */\n enableChannelCreation() {\n return this.plugin.perform('channel#enableChannelCreation');\n }\n /**\n * Adds a channel created listener\n */\n onChannelCreated(listener) {\n return this.plugin.addListener(EventType.ChannelCreated, listener);\n }\n}\n//# sourceMappingURL=AirshipChannel.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal scoped subscription list update type.\n * @hidden\n */\nvar ScopedSubscriptionListOperationAction;\n(function (ScopedSubscriptionListOperationAction) {\n ScopedSubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n ScopedSubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(ScopedSubscriptionListOperationAction || (ScopedSubscriptionListOperationAction = {}));\n/**\n * Scoped subscription list editor.\n */\nexport class ScopedSubscriptionListEditor {\n /**\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list in the given scope.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to subscribe.\n * @returns The editor.\n */\n subscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.subscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to unsubscribe.\n * @returns The editor.\n */\n unsubscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.unsubscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=ScopedSubscriptionListEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship contact.\n */\nexport class AirshipContact {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Identifies the contact with a named user Id.\n * @param namedUser The named user Id.\n * @returns A promise.\n */\n identify(namedUser) {\n return this.plugin.perform('contact#identify', namedUser);\n }\n /**\n * Resets the contact.\n * @returns A promise.\n */\n reset() {\n return this.plugin.perform('contact#reset');\n }\n /**\n * Gets the named user Id.\n * @returns A promise with the result.\n */\n getNamedUserId() {\n return this.plugin.perform('contact#getNamedUserId');\n }\n /**\n * Gets the contacts subscription lists.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('contact#getSubscriptionLists');\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('contact#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('contact#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new ScopedSubscriptionListEditor((operations) => {\n return this.plugin.perform('contact#editSubscriptionLists', operations);\n });\n }\n}\n//# sourceMappingURL=AirshipContact.js.map","/**\n * Airship feature flag manager.\n */\nexport class AirshipFeatureFlagManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Retrieve a given flag's status and associated data by its name.\n * @param {string} flagName The flag name\n * @return {Promise<FeatureFlag>} A promise resolving to the feature flag\n * requested.\n * @throws {Error} when failed to fetch\n */\n flag(flagName) {\n return this.plugin.perform('featureFlagManager#flag', flagName);\n }\n /**\n * Tracks a feature flag interaction event.\n * @param {FeatureFlag} flag The flag\n * @return {Promise<Void>} A promise with an empty result.\n * @throws {Error} when failed to fetch\n */\n trackInteraction(flag) {\n return this.plugin.perform('featureFlagManager#trackInteraction', flag);\n }\n}\n//# sourceMappingURL=AirshipFeatureFlagManager.js.map","/**\n * Airship InApp Experiences.\n */\nexport class AirshipInApp {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Pauses messages.\n * @param paused `true` to pause, `false` to resume.\n * @returns A promise.\n */\n setPaused(paused) {\n return this.plugin.perform('inApp#setPaused', paused);\n }\n /**\n * Checks if messages are paused.\n * @returns A promise with the result.\n */\n isPaused() {\n return this.plugin.perform('inApp#isPaused');\n }\n /**\n * Sets the display interval for messages.\n * @param milliseconds Display interval\n * @returns A promise.\n */\n setDisplayInterval(milliseconds) {\n return this.plugin.perform('inApp#setDisplayInterval', milliseconds);\n }\n /**\n * Gets the display interval.\n * @returns A promise with the result.\n */\n getDisplayInterval() {\n return this.plugin.perform('inApp#getDisplayInterval');\n }\n}\n//# sourceMappingURL=AirshipInApp.js.map","/**\n * Manages locale used by Airship messaging.\n */\nexport class AirshipLocale {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the locale override.\n * @param localeIdentifier The locale identifier.\n * @returns A promise.\n */\n setLocaleOverride(localeIdentifier) {\n return this.plugin.perform('locale#setLocaleOverride', localeIdentifier);\n }\n /**\n * Clears the locale override.\n * @returns A promise.\n */\n clearLocaleOverride() {\n return this.plugin.perform('locale#clearLocaleOverride');\n }\n /**\n * Gets the current locale.\n * @returns A promise with the result.\n */\n getLocale() {\n return this.plugin.perform('locale#getLocale');\n }\n}\n//# sourceMappingURL=AirshipLocale.js.map","import { EventType } from './EventType';\n/**\n * Airship Message Center\n */\nexport class AirshipMessageCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the unread count.\n * @returns A promise with the result.\n */\n getUnreadCount() {\n return this.plugin.perform('messageCenter#getUnreadCount');\n }\n /**\n * Gets the inbox messages.\n * @returns A promise with the result.\n */\n getMessages() {\n return this.plugin.perform('messageCenter#getMessages');\n }\n /**\n * Marks a message as read.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n markMessageRead(messageId) {\n return this.plugin.perform('messageCenter#markMessageRead', messageId);\n }\n /**\n * Deletes a message.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n deleteMessage(messageId) {\n return this.plugin.perform('messageCenter#deleteMessage', messageId);\n }\n /**\n * Dismisses the OOTB message center if displayed.\n * @returns A promise.\n */\n dismiss() {\n return this.plugin.perform('messageCenter#dismiss');\n }\n /**\n * Requests to display the Message Center.\n *\n * Will either emit an event to display the\n * Message Center if auto launch message center\n * is disabled, or display the OOTB message center.\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n display(messageId) {\n return this.plugin.perform('messageCenter#display', messageId);\n }\n /**\n * Overlays the message view. Should be used to display the actual\n * message body in a custom Message Center.\n *\n * @param messageId The message Id.\n * @returns A promise.\n */\n showMessageView(messageId) {\n return this.plugin.perform('messageCenter#showMessageView', messageId);\n }\n /**\n * Overlays the message center regardless if auto launch Message Center is enabled or not.\n *\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n showMessageCenter(messageId) {\n return this.plugin.perform('messageCenter#showMessageCenter', messageId);\n }\n /**\n * Refreshes the messages.\n * @returns A promise. Will reject if the list fails to refresh or if\n * takeOff is not called yet.\n */\n refreshMessages() {\n return this.plugin.perform('messageCenter#refreshMessages');\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with a Message Center action.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n */\n setAutoLaunchDefaultMessageCenter(autoLaunch) {\n return this.plugin.perform('messageCenter#setAutoLaunchDefaultMessageCenter', autoLaunch);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayMessageCenter, listener);\n }\n /**\n * Adds a message center list updated listener.\n */\n onUpdated(listener) {\n return this.plugin.addListener(EventType.MessageCenterUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipMessageCenter.js.map","import { EventType } from './EventType';\n/**\n * Airship Preference Center.\n */\nexport class AirshipPreferenceCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Requests to display a preference center.\n *\n * Will either emit an event to display the\n * Preference Center if auto launch is disabled,\n * or display the OOTB UI.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise.\n */\n display(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#display', preferenceCenterId);\n }\n /**\n * Gets the preference center config.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise with the result.\n */\n getConfig(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#getConfig', preferenceCenterId);\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with some other action.\n * @param preferenceCenterId The preference center Id.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n * @returns A promise with the result.\n */\n setAutoLaunchDefaultPreferenceCenter(preferenceCenterId, autoLaunch) {\n return this.plugin.perform('preferenceCenter#getConfig', [\n preferenceCenterId,\n autoLaunch,\n ]);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayPreferenceCenter, listener);\n }\n}\n//# sourceMappingURL=AirshipPreferenceCenter.js.map","/**\n * Airship Privacy Manager.\n */\nexport class AirshipPrivacyManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the current set of enabled features.\n * @param features The features to set.\n * @returns A promise.\n */\n setEnabledFeatures(features) {\n return this.plugin.perform('privacyManager#setEnabledFeatures', features);\n }\n /**\n * Gets the current enabled features.\n * @returns A promise with the result.\n */\n getEnabledFeatures() {\n return this.plugin.perform('privacyManager#getEnabledFeatures');\n }\n /**\n * Enables additional features.\n * @param features The features to enable.\n * @returns A promise.\n */\n enableFeatures(features) {\n return this.plugin.perform('privacyManager#enableFeatures', features);\n }\n /**\n * Disable features.\n * @param features The features to disable.\n * @returns A promise.\n */\n disableFeatures(features) {\n return this.plugin.perform('privacyManager#disableFeatures', features);\n }\n /**\n * Checks if the features are enabled or not.\n * @param features The features to check.\n * @returns A promise with the result.\n */\n isFeaturesEnabled(features) {\n return this.plugin.perform('privacyManager#isFeaturesEnabled', features);\n }\n}\n//# sourceMappingURL=AirshipPrivacyManager.js.map","import { EventType } from './EventType';\n/**\n * Airship Push.\n */\nexport class AirshipPush {\n constructor(plugin) {\n this.plugin = plugin;\n this.iOS = new AirshipPushIOS(plugin);\n this.android = new AirshipPushAndroid(plugin);\n }\n /**\n * Enables/disables notifications on Airship.\n *\n * When enabled, it will cause the user to be prompted for\n * the permission on platforms that support it.\n * To get the result of the prompt, use `enableUserNotifications`.\n * @param enabled true to enable, false to disable\n * @returns A promise.\n */\n setUserNotificationsEnabled(enabled) {\n return this.plugin.perform('push#setUserNotificationsEnabled', enabled);\n }\n /**\n * Checks if user notifications are enabled or not on Airship.\n * @returns A promise with the result.\n */\n isUserNotificationsEnabled() {\n return this.plugin.perform('push#isUserNotificationsEnabled');\n }\n /**\n * Enables user notifications.\n * @param options Optional options.\n * @returns A promise with the permission result.\n */\n enableUserNotifications(options) {\n return this.plugin.perform('push#enableUserNotifications', options);\n }\n /**\n * Gets the notification status.\n * @returns A promise with the result.\n */\n getNotificationStatus() {\n return this.plugin.perform('push#getNotificationStatus');\n }\n /**\n * Gets the registration token if generated.\n * Use the event EventType.PushTokenReceived to be notified\n * when available.\n * @returns A promise with the result.\n */\n getPushToken() {\n return this.plugin.perform('push#getPushToken');\n }\n /**\n * Gets the list of active notifications.\n *\n * On Android, this list only includes notifications\n * sent through Airship.\n * @returns A promise with the result.\n */\n getActiveNotifications() {\n return this.plugin.perform('push#getActiveNotifications');\n }\n /**\n * Clears all notifications for the app.\n * @returns A promise with the result.\n */\n clearNotifications() {\n return this.plugin.perform('push#clearNotifications');\n }\n /**\n * Clears a specific notification.\n *\n * On Android, you can use this method to clear\n * notifications outside of Airship, The identifier is in\n * the format of <tag>:<id>.\n * @param identifier The identifier.\n * @returns A promise with the result.\n */\n clearNotification(identifier) {\n return this.plugin.perform('push#clearNotification', identifier);\n }\n /**\n * Adds a notification response event listener.\n */\n onNotificationResponse(listener) {\n return this.plugin.addListener(EventType.NotificationResponse, listener);\n }\n /**\n * Adds a push received event listener.\n */\n onPushReceived(listener) {\n return this.plugin.addListener(EventType.PushReceived, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onNotificationStatusChanged(listener) {\n return this.plugin.addListener(EventType.PushNotificationStatusChangedStatus, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onPushTokenReceived(listener) {\n return this.plugin.addListener(EventType.PushTokenReceived, listener);\n }\n}\n/**\n * iOS Push.\n */\nexport class AirshipPushIOS {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the foreground presentation options.\n * @param options The foreground options.\n * @returns A promise.\n */\n setForegroundPresentationOptions(options) {\n return this.plugin.perform('push#ios#setForegroundPresentationOptions', options);\n }\n /**\n * Sets the notification options.\n * @param options The notification options.\n * @returns A promise.\n */\n setNotificationOptions(options) {\n return this.plugin.perform('push#ios#setNotificationOptions', options);\n }\n /**\n * Checks if autobadge is enabled.\n * @returns A promise with the result.\n */\n isAutobadgeEnabled() {\n return this.plugin.perform('push#ios#isAutobadgeEnabled');\n }\n /**\n * Enables/disables autobadge.\n * @param enabled true to enable, false to disable.\n * @returns A promise.\n */\n setAutobadgeEnabled(enabled) {\n return this.plugin.perform('push#ios#setAutobadgeEnabled', enabled);\n }\n /**\n * Set the badge number.\n * @param badge The badge number.\n * @returns A promise.\n */\n setBadgeNumber(badge) {\n return this.plugin.perform('push#ios#setBadgeNumber', badge);\n }\n /**\n * Gets the badge number.\n * @returns A promise with the result.\n */\n getBadgeNumber() {\n return this.plugin.perform('push#ios#getBadgeNumber');\n }\n /**\n * Enables/disables quiet time.\n *\n * @param enabled true to enable, false to disable\n * @returns A promise with the result.\n */\n setQuietTimeEnabled(enabled) {\n return this.plugin.perform('push#ios#setQuietTimeEnabled', enabled);\n }\n /**\n * Checks if quiet time is enabled or not.\n * @returns A promise with the result.\n */\n isQuietTimeEnabled() {\n return this.plugin.perform('push#ios#isQuietTimeEnabled');\n }\n /**\n * Sets quiet time.\n *\n * @param quietTime The quiet time.\n * @returns A promise with the result.\n */\n setQuietTime(quietTime) {\n return this.plugin.perform('push#ios#setQuietTime', quietTime);\n }\n /**\n * Gets the quiet time settings.\n *\n * @returns A promise with the result.\n */\n getQuietTime() {\n return this.plugin.perform('push#ios#getQuietTime');\n }\n /**\n * Adds a authorized settings changed event listener.\n */\n onAuthorizedSettingsChanged(listener) {\n return this.plugin.addListener(EventType.IOSAuthorizedNotificationSettingsChanged, listener);\n }\n}\n/**\n * Android Push.\n */\nexport class AirshipPushAndroid {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Checks if a notification category/channel is enabled.\n * @param channel The channel name.\n * @returns A promise with the result.\n */\n isNotificationChannelEnabled(channel) {\n return this.plugin.perform('push#android#isNotificationChannelEnabled', channel);\n }\n /**\n * Sets the notification config.\n * @param config The notification config.\n * @returns A promise with the result.\n */\n setNotificationConfig(config) {\n return this.plugin.perform('push#android#setNotificationConfig', config);\n }\n /**\n * Enables/disables showing notifications in the foreground.\n * @param enabled true to enable, false to disable.\n * @returns A promise with the result.\n */\n setForegroundNotificationsEnabled(enabled) {\n return this.plugin.perform('push#android#setForegroundNotificationsEnabled', enabled);\n }\n}\n//# sourceMappingURL=AirshipPush.js.map","import { EventType } from './EventType';\n/**\n * Live Activity manager.\n */\nexport class AirshipLiveActivityManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Activities for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveActivityManager#list', request);\n }\n /**\n * Lists all Live Activities.\n * @param request The request options.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveActivityManager#listAll');\n }\n /**\n * Starts a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveActivityManager#start', request);\n }\n /**\n * Updates a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveActivityManager#update', request);\n }\n /**\n * Ends a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveActivityManager#end', request);\n }\n /**\n * Adds a Live Activity listener.\n */\n onLiveActivityUpdates(listener) {\n return this.plugin.addListener(EventType.IOSLiveActivitiesUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipLiveActivityManager.js.map","/**\n * Live Update manager.\n */\nexport class AirshipLiveUpdateManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Updates for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveUpdateManager#list', request);\n }\n /**\n * Lists all Live Updates.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveUpdateManager#listAll');\n }\n /**\n * Starts a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveUpdateManager#start', request);\n }\n /**\n * Updates a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveUpdateManager#update', request);\n }\n /**\n * Ends a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveUpdateManager#end', request);\n }\n /**\n * Clears all Live Updates.\n * @returns A promise with the result.\n */\n clearAll() {\n return this.plugin.perform('liveUpdateManager#clearAll');\n }\n}\n//# sourceMappingURL=AirshipLiveUpdateManager.js.map","import { AirshipActions } from './AirshipActions';\nimport { AirshipAnalytics } from './AirshipAnalytics';\nimport { AirshipChannel } from './AirshipChannel';\nimport { AirshipContact } from './AirshipContact';\nimport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nimport { AirshipInApp } from './AirshipInApp';\nimport { AirshipLocale } from './AirshipLocale';\nimport { AirshipMessageCenter } from './AirshipMessageCenter';\nimport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nimport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nimport { AirshipPush } from './AirshipPush';\nimport { EventType } from './EventType';\nimport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nimport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\n/**\n * Airship\n */\nexport class AirshipRoot {\n constructor(plugin) {\n this.plugin = plugin;\n this.actions = new AirshipActions(plugin);\n this.analytics = new AirshipAnalytics(plugin);\n this.channel = new AirshipChannel(plugin);\n this.contact = new AirshipContact(plugin);\n this.inApp = new AirshipInApp(plugin);\n this.locale = new AirshipLocale(plugin);\n this.messageCenter = new AirshipMessageCenter(plugin);\n this.preferenceCenter = new AirshipPreferenceCenter(plugin);\n this.privacyManager = new AirshipPrivacyManager(plugin);\n this.push = new AirshipPush(plugin);\n this.featureFlagManager = new AirshipFeatureFlagManager(plugin);\n this.iOS = new AirshipRootIOS(plugin);\n this.android = new AirshipRootAndroid(plugin);\n }\n /**\n * Calls takeOff. If Airship is already configured for\n * the app session, the new config will be applied on the next\n * app init.\n * @param config The config.\n * @returns A promise with the result. `true` if airship is ready.\n */\n takeOff(config) {\n return this.plugin.perform('takeOff', config);\n }\n /**\n * Checks if Airship is ready.\n * @returns A promise with the result.\n */\n isFlying() {\n return this.plugin.perform('isFlying');\n }\n /**\n * Adds a deep link listener.\n */\n onDeepLink(listener) {\n return this.plugin.addListener(EventType.DeepLink, listener);\n }\n}\nexport class AirshipRootIOS {\n constructor(plugin) {\n this.liveActivityManager = new AirshipLiveActivityManager(plugin);\n }\n}\nexport class AirshipRootAndroid {\n constructor(plugin) {\n this.liveUpdateManager = new AirshipLiveUpdateManager(plugin);\n }\n}\n//# sourceMappingURL=AirshipRoot.js.map","/// <reference types=\"@capacitor/cli\" />\nexport class AirshipPluginWrapper {\n constructor(plugin) {\n this.plugin = plugin;\n }\n perform(method, value) {\n return this.plugin.perform({ method: method, value: value }).then(value => {\n return value.value;\n });\n }\n addListener(eventType, listener) {\n return this.plugin.addListener(eventType, listener);\n }\n}\n//# sourceMappingURL=AirshipPlugin.js.map","/**\n * Enum of permission status.\n */\nexport var PermissionStatus;\n(function (PermissionStatus) {\n /**\n * Permission is granted.\n */\n PermissionStatus[\"Granted\"] = \"granted\";\n /**\n * Permission is denied.\n */\n PermissionStatus[\"Denied\"] = \"denied\";\n /**\n * Permission has not yet been requested.\n */\n PermissionStatus[\"NotDetermined\"] = \"not_determined\";\n})(PermissionStatus || (PermissionStatus = {}));\n/**\n * Fallback when prompting for permission and the permission is\n * already denied on iOS or is denied silently on Android.\n */\nexport var PromptPermissionFallback;\n(function (PromptPermissionFallback) {\n /**\n * Take the user to the system settings to enable the permission.\n */\n PromptPermissionFallback[\"SystemSettings\"] = \"systemSettings\";\n})(PromptPermissionFallback || (PromptPermissionFallback = {}));\n/**\n * iOS options\n */\nexport var iOS;\n(function (iOS) {\n /**\n * Enum of notification options. iOS only.\n */\n let NotificationOption;\n (function (NotificationOption) {\n /**\n * Alerts.\n */\n NotificationOption[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n NotificationOption[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n NotificationOption[\"Badge\"] = \"badge\";\n /**\n * Car play.\n */\n NotificationOption[\"CarPlay\"] = \"car_play\";\n /**\n * Critical Alert.\n */\n NotificationOption[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Provides app notification settings.\n */\n NotificationOption[\"ProvidesAppNotificationSettings\"] = \"provides_app_notification_settings\";\n /**\n * Provisional.\n */\n NotificationOption[\"Provisional\"] = \"provisional\";\n })(NotificationOption = iOS.NotificationOption || (iOS.NotificationOption = {}));\n /**\n * Enum of foreground notification options.\n */\n let ForegroundPresentationOption;\n (function (ForegroundPresentationOption) {\n /**\n * Play the sound associated with the notification.\n */\n ForegroundPresentationOption[\"Sound\"] = \"sound\";\n /**\n * Apply the notification's badge value to the app’s icon.\n */\n ForegroundPresentationOption[\"Badge\"] = \"badge\";\n /**\n * Show the notification in Notification Center. On iOS 13 an older,\n * this will also show the notification as a banner.\n */\n ForegroundPresentationOption[\"List\"] = \"list\";\n /**\n * Present the notification as a banner. On iOS 13 an older,\n * this will also show the notification in the Notification Center.\n */\n ForegroundPresentationOption[\"Banner\"] = \"banner\";\n })(ForegroundPresentationOption = iOS.ForegroundPresentationOption || (iOS.ForegroundPresentationOption = {}));\n /**\n * Enum of authorized notification options.\n */\n let AuthorizedNotificationSetting;\n (function (AuthorizedNotificationSetting) {\n /**\n * Alerts.\n */\n AuthorizedNotificationSetting[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n AuthorizedNotificationSetting[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n AuthorizedNotificationSetting[\"Badge\"] = \"badge\";\n /**\n * CarPlay.\n */\n AuthorizedNotificationSetting[\"CarPlay\"] = \"car_play\";\n /**\n * Lock screen.\n */\n AuthorizedNotificationSetting[\"LockScreen\"] = \"lock_screen\";\n /**\n * Notification center.\n */\n AuthorizedNotificationSetting[\"NotificationCenter\"] = \"notification_center\";\n /**\n * Critical alert.\n */\n AuthorizedNotificationSetting[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Announcement.\n */\n AuthorizedNotificationSetting[\"Announcement\"] = \"announcement\";\n /**\n * Scheduled delivery.\n */\n AuthorizedNotificationSetting[\"ScheduledDelivery\"] = \"scheduled_delivery\";\n /**\n * Time sensitive.\n */\n AuthorizedNotificationSetting[\"TimeSensitive\"] = \"time_sensitive\";\n })(AuthorizedNotificationSetting = iOS.AuthorizedNotificationSetting || (iOS.AuthorizedNotificationSetting = {}));\n /**\n * Enum of authorized status.\n */\n let AuthorizedNotificationStatus;\n (function (AuthorizedNotificationStatus) {\n /**\n * Not determined.\n */\n AuthorizedNotificationStatus[\"NotDetermined\"] = \"not_determined\";\n /**\n * Denied.\n */\n AuthorizedNotificationStatus[\"Denied\"] = \"denied\";\n /**\n * Authorized.\n */\n AuthorizedNotificationStatus[\"Authorized\"] = \"authorized\";\n /**\n * Provisional.\n */\n AuthorizedNotificationStatus[\"Provisional\"] = \"provisional\";\n /**\n * Ephemeral.\n */\n AuthorizedNotificationStatus[\"Ephemeral\"] = \"ephemeral\";\n })(AuthorizedNotificationStatus = iOS.AuthorizedNotificationStatus || (iOS.AuthorizedNotificationStatus = {}));\n})(iOS || (iOS = {}));\n/**\n * Enum of authorized Features.\n */\nexport var Feature;\n(function (Feature) {\n Feature[\"InAppAutomation\"] = \"in_app_automation\";\n Feature[\"MessageCenter\"] = \"message_center\";\n Feature[\"Push\"] = \"push\";\n // No longer used\n Feature[\"Chat\"] = \"chat\";\n Feature[\"Analytics\"] = \"analytics\";\n Feature[\"TagsAndAttributes\"] = \"tags_and_attributes\";\n Feature[\"FeatureFlags\"] = \"feature_flags\";\n Feature[\"Contacts\"] = \"contacts\";\n // No longer used\n Feature[\"Location\"] = \"location\";\n})(Feature || (Feature = {}));\n/**\n * All available features.\n */\nexport const FEATURES_ALL = Object.values(Feature);\n/**\n * Subscription Scope types.\n */\nexport var SubscriptionScope;\n(function (SubscriptionScope) {\n SubscriptionScope[\"App\"] = \"app\";\n SubscriptionScope[\"Web\"] = \"web\";\n SubscriptionScope[\"Sms\"] = \"sms\";\n SubscriptionScope[\"Email\"] = \"email\";\n})(SubscriptionScope || (SubscriptionScope = {}));\n//# sourceMappingURL=types.js.map","import { registerPlugin } from '@capacitor/core';\nimport { AirshipRoot } from './AirshipRoot';\nimport { AirshipPluginWrapper } from './AirshipPlugin';\nexport { AirshipRoot } from './AirshipRoot';\nexport { AirshipActions } from './AirshipActions';\nexport { AirshipAnalytics } from './AirshipAnalytics';\nexport { AirshipChannel } from './AirshipChannel';\nexport { AirshipContact } from './AirshipContact';\nexport { AirshipInApp } from './AirshipInApp';\nexport { AirshipLocale } from './AirshipLocale';\nexport { AirshipMessageCenter } from './AirshipMessageCenter';\nexport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nexport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nexport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nexport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nexport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\nexport { AirshipPush, AirshipPushAndroid, AirshipPushIOS } from './AirshipPush';\nexport { SubscriptionListEditor } from './SubscriptionListEditor';\nexport { TagGroupEditor } from './TagGroupEditor';\nexport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nexport { AttributeEditor } from './AttributeEditor';\nexport * from './types';\nconst plugin = registerPlugin('Airship', {});\nconst sharedAirship = new AirshipRoot(new AirshipPluginWrapper(plugin));\nconst Airship = sharedAirship;\nexport { Airship };\n//# sourceMappingURL=index.js.map"],"names":["PermissionStatus","PromptPermissionFallback","iOS","Feature","SubscriptionScope","registerPlugin"],"mappings":";;;;AAAA;AACA;AACA;AACO,MAAM,cAAc,CAAC;AAC5B,IAAI,WAAW,CAAC,MAAM,EAAE;AACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE;AACjC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;AAC5E;AACA;;AClBA;AACA;AACA;AACO,MAAM,gBAAgB,CAAC;AAC9B,IAAI,WAAW,CAAC,MAAM,EAAE;AACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE;AACzC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,+BAA+B,EAAE;AACpE,YAAY,GAAG;AACf,YAAY,UAAU;AACtB,SAAS,CAAC;AACV;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,WAAW,CAAC,MAAM,EAAE;AACxB,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,EAAE,MAAM,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,cAAc,CAAC,KAAK,EAAE;AAC1B,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,0BAA0B,EAAE,KAAK,CAAC;AACrE;AACA;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I,OAAO,CAAC,eAAe,CAAC,GAAG,gBAAgB;AAC/C,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM;AAC5B;AACA,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM;AAC5B,IAAI,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW;AACtC,IAAI,OAAO,CAAC,mBAAmB,CAAC,GAAG,qBAAqB;AACxD,IAAI,OAAO,CAAC,cAAc,CAAC,GAAG,eAAe;AAC7C,IAAI,OAAO,CAAC,UAAU,CAAC,GAAG,UAAU;AACpC;AACA,IAAI,OAAO,CAAC,UAAU,CAAC,GAAG,UAAU;AACpC,CAAC,EAAEA,eAAO,KAAKA,eAAO,GAAG,EAAE,CAAC,CAAC;AAC7B;AACA;AACA;AACY,MAAC,YAAY,GAAG,MAAM,CAAC,MAAM,CAACA,eAAO;AACjD;AACA;AACA;AACWC;AACX,CAAC,UAAU,iBAAiB,EAAE;AAC9B,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK;AACpC,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK;AACpC,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK;AACpC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,OAAO;AACxC,CAAC,EAAEA,yBAAiB,KAAKA,yBAAiB,GAAG,EAAE,CAAC,CAAC;;AC7KjD,MAAM,MAAM,GAAGC,mBAAc,CAAC,SAAS,EAAE,EAAE,CAAC;AAC5C,MAAM,aAAa,GAAG,IAAI,WAAW,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;AAClE,MAAC,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/plugin.js
CHANGED
|
@@ -1442,6 +1442,7 @@ var capacitorAirship = (function (exports, core) {
|
|
|
1442
1442
|
Feature["Chat"] = "chat";
|
|
1443
1443
|
Feature["Analytics"] = "analytics";
|
|
1444
1444
|
Feature["TagsAndAttributes"] = "tags_and_attributes";
|
|
1445
|
+
Feature["FeatureFlags"] = "feature_flags";
|
|
1445
1446
|
Feature["Contacts"] = "contacts";
|
|
1446
1447
|
// No longer used
|
|
1447
1448
|
Feature["Location"] = "location";
|
package/dist/plugin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["esm/AirshipActions.js","esm/AirshipAnalytics.js","esm/AttributeEditor.js","esm/EventType.js","esm/SubscriptionListEditor.js","esm/TagEditor.js","esm/TagGroupEditor.js","esm/AirshipChannel.js","esm/ScopedSubscriptionListEditor.js","esm/AirshipContact.js","esm/AirshipFeatureFlagManager.js","esm/AirshipInApp.js","esm/AirshipLocale.js","esm/AirshipMessageCenter.js","esm/AirshipPreferenceCenter.js","esm/AirshipPrivacyManager.js","esm/AirshipPush.js","esm/AirshipLiveActivityManager.js","esm/AirshipLiveUpdateManager.js","esm/AirshipRoot.js","esm/AirshipPlugin.js","esm/types.js","esm/index.js"],"sourcesContent":["/**\n * Airship actions.\n */\nexport class AirshipActions {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Runs an Airship action.\n *\n * @param name The name of the action.\n * @param value The action's value.\n * @return A promise that returns the action result if the action\n * successfully runs, or the Error if the action was unable to be run.\n */\n run(actionName, actionValue) {\n return this.plugin.perform('actions#run', [actionName, actionValue]);\n }\n}\n//# sourceMappingURL=AirshipActions.js.map","/**\n * Airship analytics.\n */\nexport class AirshipAnalytics {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Associates an identifier.\n *\n * @param key The key.\n * @param identifier The identifier. `null` to remove.\n * @returns A promise.\n */\n associateIdentifier(key, identifier) {\n return this.plugin.perform('analytics#associateIdentifier', [\n key,\n identifier,\n ]);\n }\n /**\n * Tracks a screen.\n * @param screen The screen. `null` to stop tracking.\n * @returns A promise.\n */\n trackScreen(screen) {\n return this.plugin.perform('analytics#trackScreen', screen);\n }\n /**\n * Adds a custom event.\n * @param event The custom event.\n * @return A promise that returns null if resolved, or an Error if the\n * custom event is rejected.\n */\n addCustomEvent(event) {\n return this.plugin.perform('analytics#addCustomEvent', event);\n }\n /**\n * Gets the Airship session ID. The session ID is a UUID that updates on foreground and background.\n * @returns A promise.\n */\n getSessionId() {\n return this.plugin.perform('analytics#getSessionId');\n }\n}\n//# sourceMappingURL=AirshipAnalytics.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for attributes.\n */\nexport class AttributeEditor {\n /**\n * AttributeEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds an attribute.\n *\n * @param value The attribute value.\n * @param name The attribute name.\n * @return The attribute editor instance.\n */\n setAttribute(name, value) {\n var attributeValue;\n var attributeType;\n if (typeof value === 'boolean') {\n // No boolean attribute type. Convert value to string.\n attributeValue = value.toString();\n attributeType = 'string';\n }\n else {\n attributeValue = value;\n if (typeof value === 'string') {\n attributeType = 'string';\n }\n else if (typeof attributeValue === 'number') {\n attributeType = 'number';\n }\n else if (value instanceof Date) {\n // JavaScript's date type doesn't pass through the JS to native bridge.\n // Dates are instead serialized as milliseconds since epoch.\n attributeType = 'date';\n attributeValue = value.getTime();\n }\n else {\n throw 'Unsupported attribute type: ' + typeof attributeValue;\n }\n }\n const operation = {\n action: 'set',\n value: attributeValue,\n key: name,\n type: attributeType,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Adds a JSON attribute.\n *\n * @param name The attribute name.\n * @param value The attribute value.\n * @param instanceId The instance ID.\n * @param json The json value. Must not contain `exp` as top level key.\n * @param expiration: Optional expiration.\n * @return The attribute editor instance.\n */\n setJsonAttribute(name, instanceId, json, expiration) {\n var operation = {\n action: 'set',\n value: json,\n key: name,\n instance_id: instanceId,\n type: 'json'\n };\n if (expiration != null) {\n operation.expiration_milliseconds = expiration.getTime();\n }\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes an attribute.\n * @param name The name of the attribute to remove.\n * @return The attribute editor instance.\n */\n removeAttribute(name) {\n const operation = { action: 'remove', key: name };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes a JSON attribute.\n * @param name The name of the attribute to remove.\n * @param instanceId The instance ID.\n * @return The attribute editor instance.\n */\n removeJsonAttribute(name, instanceId) {\n const operation = { action: 'remove', key: name, instance_id: instanceId };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the attribute operations.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=AttributeEditor.js.map","export var EventType;\n(function (EventType) {\n EventType[\"ChannelCreated\"] = \"channel_created\";\n EventType[\"NotificationResponse\"] = \"notification_response_received\";\n EventType[\"PushReceived\"] = \"push_received\";\n EventType[\"DeepLink\"] = \"deep_link_received\";\n EventType[\"MessageCenterUpdated\"] = \"message_center_updated\";\n EventType[\"PushNotificationStatusChangedStatus\"] = \"notification_status_changed\";\n EventType[\"DisplayMessageCenter\"] = \"display_message_center\";\n EventType[\"DisplayPreferenceCenter\"] = \"display_preference_center\";\n EventType[\"PushTokenReceived\"] = \"push_token_received\";\n EventType[\"IOSAuthorizedNotificationSettingsChanged\"] = \"ios_authorized_notification_settings_changed\";\n EventType[\"IOSLiveActivitiesUpdated\"] = \"ios_live_activities_updated\";\n})(EventType || (EventType = {}));\n//# sourceMappingURL=EventType.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal subscription list update type.\n * @hidden\n */\nvar SubscriptionListOperationAction;\n(function (SubscriptionListOperationAction) {\n SubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n SubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(SubscriptionListOperationAction || (SubscriptionListOperationAction = {}));\n/**\n * Subscription list editor.\n */\nexport class SubscriptionListEditor {\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n subscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.subscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n unsubscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.unsubscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=SubscriptionListEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for device tags.\n */\nexport class TagEditor {\n /**\n * TagEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a channel.\n *\n * @param tags Tags to add.\n * @return The tag editor instance.\n */\n addTags(tags) {\n const operation = { operationType: 'add', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the channel.\n *\n * @param tags Tags to remove.\n * @return The tag editor instance.\n */\n removeTags(tags) {\n const operation = { operationType: 'remove', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for tag groups.\n */\nexport class TagGroupEditor {\n /**\n * TagGroupEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to add.\n * @return The tag group editor instance.\n */\n addTags(group, tags) {\n const operation = { operationType: 'add', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to remove.\n * @return The tag group editor instance.\n */\n removeTags(group, tags) {\n const operation = { operationType: 'remove', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Overwrite the current set of tags on the Tag Group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to set.\n * @return The tag group editor instance.\n */\n setTags(group, tags) {\n const operation = { operationType: 'set', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagGroupEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { EventType } from './EventType';\nimport { SubscriptionListEditor } from './SubscriptionListEditor';\nimport { TagEditor } from './TagEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship channel.\n */\nexport class AirshipChannel {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the device tags.\n * @returns A promise with the result.\n */\n getTags() {\n return this.plugin.perform('channel#getTags');\n }\n /**\n * Gets the channel Id.\n *\n * @returns A promise with the result.\n */\n getChannelId() {\n return this.plugin.perform('channel#getChannelId');\n }\n /**\n * Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After\n * the channel ID is created, this method functions the same as `getChannelId()`.\n *\n * @returns A promise with the result.\n */\n waitForChannelId() {\n return this.plugin.perform('channel#waitForChannelId');\n }\n /**\n * Gets a list of the channel's subscriptions.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('channel#getSubscriptionLists');\n }\n /**\n * Edits tags.\n * @returns A tag group editor.\n */\n editTags() {\n return new TagEditor((operations) => {\n return this.plugin.perform('channel#editTags', operations);\n });\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('channel#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('channel#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new SubscriptionListEditor((operations) => {\n return this.plugin.perform('channel#editSubscriptionLists', operations);\n });\n }\n /**\n * Enables channel creation if channel creation has been delayed.\n * It is only necessary to call this when isChannelCreationDelayEnabled\n * has been set to `true` in the airship config.\n * Deprecated. Use the Private Manager to disable all features instead.\n */\n enableChannelCreation() {\n return this.plugin.perform('channel#enableChannelCreation');\n }\n /**\n * Adds a channel created listener\n */\n onChannelCreated(listener) {\n return this.plugin.addListener(EventType.ChannelCreated, listener);\n }\n}\n//# sourceMappingURL=AirshipChannel.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal scoped subscription list update type.\n * @hidden\n */\nvar ScopedSubscriptionListOperationAction;\n(function (ScopedSubscriptionListOperationAction) {\n ScopedSubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n ScopedSubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(ScopedSubscriptionListOperationAction || (ScopedSubscriptionListOperationAction = {}));\n/**\n * Scoped subscription list editor.\n */\nexport class ScopedSubscriptionListEditor {\n /**\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list in the given scope.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to subscribe.\n * @returns The editor.\n */\n subscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.subscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to unsubscribe.\n * @returns The editor.\n */\n unsubscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.unsubscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=ScopedSubscriptionListEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship contact.\n */\nexport class AirshipContact {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Identifies the contact with a named user Id.\n * @param namedUser The named user Id.\n * @returns A promise.\n */\n identify(namedUser) {\n return this.plugin.perform('contact#identify', namedUser);\n }\n /**\n * Resets the contact.\n * @returns A promise.\n */\n reset() {\n return this.plugin.perform('contact#reset');\n }\n /**\n * Gets the named user Id.\n * @returns A promise with the result.\n */\n getNamedUserId() {\n return this.plugin.perform('contact#getNamedUserId');\n }\n /**\n * Gets the contacts subscription lists.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('contact#getSubscriptionLists');\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('contact#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('contact#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new ScopedSubscriptionListEditor((operations) => {\n return this.plugin.perform('contact#editSubscriptionLists', operations);\n });\n }\n}\n//# sourceMappingURL=AirshipContact.js.map","/**\n * Airship feature flag manager.\n */\nexport class AirshipFeatureFlagManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Retrieve a given flag's status and associated data by its name.\n * @param {string} flagName The flag name\n * @return {Promise<FeatureFlag>} A promise resolving to the feature flag\n * requested.\n * @throws {Error} when failed to fetch\n */\n flag(flagName) {\n return this.plugin.perform('featureFlagManager#flag', flagName);\n }\n /**\n * Tracks a feature flag interaction event.\n * @param {FeatureFlag} flag The flag\n * @return {Promise<Void>} A promise with an empty result.\n * @throws {Error} when failed to fetch\n */\n trackInteraction(flag) {\n return this.plugin.perform('featureFlagManager#trackInteraction', flag);\n }\n}\n//# sourceMappingURL=AirshipFeatureFlagManager.js.map","/**\n * Airship InApp Experiences.\n */\nexport class AirshipInApp {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Pauses messages.\n * @param paused `true` to pause, `false` to resume.\n * @returns A promise.\n */\n setPaused(paused) {\n return this.plugin.perform('inApp#setPaused', paused);\n }\n /**\n * Checks if messages are paused.\n * @returns A promise with the result.\n */\n isPaused() {\n return this.plugin.perform('inApp#isPaused');\n }\n /**\n * Sets the display interval for messages.\n * @param milliseconds Display interval\n * @returns A promise.\n */\n setDisplayInterval(milliseconds) {\n return this.plugin.perform('inApp#setDisplayInterval', milliseconds);\n }\n /**\n * Gets the display interval.\n * @returns A promise with the result.\n */\n getDisplayInterval() {\n return this.plugin.perform('inApp#getDisplayInterval');\n }\n}\n//# sourceMappingURL=AirshipInApp.js.map","/**\n * Manages locale used by Airship messaging.\n */\nexport class AirshipLocale {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the locale override.\n * @param localeIdentifier The locale identifier.\n * @returns A promise.\n */\n setLocaleOverride(localeIdentifier) {\n return this.plugin.perform('locale#setLocaleOverride', localeIdentifier);\n }\n /**\n * Clears the locale override.\n * @returns A promise.\n */\n clearLocaleOverride() {\n return this.plugin.perform('locale#clearLocaleOverride');\n }\n /**\n * Gets the current locale.\n * @returns A promise with the result.\n */\n getLocale() {\n return this.plugin.perform('locale#getLocale');\n }\n}\n//# sourceMappingURL=AirshipLocale.js.map","import { EventType } from './EventType';\n/**\n * Airship Message Center\n */\nexport class AirshipMessageCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the unread count.\n * @returns A promise with the result.\n */\n getUnreadCount() {\n return this.plugin.perform('messageCenter#getUnreadCount');\n }\n /**\n * Gets the inbox messages.\n * @returns A promise with the result.\n */\n getMessages() {\n return this.plugin.perform('messageCenter#getMessages');\n }\n /**\n * Marks a message as read.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n markMessageRead(messageId) {\n return this.plugin.perform('messageCenter#markMessageRead', messageId);\n }\n /**\n * Deletes a message.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n deleteMessage(messageId) {\n return this.plugin.perform('messageCenter#deleteMessage', messageId);\n }\n /**\n * Dismisses the OOTB message center if displayed.\n * @returns A promise.\n */\n dismiss() {\n return this.plugin.perform('messageCenter#dismiss');\n }\n /**\n * Requests to display the Message Center.\n *\n * Will either emit an event to display the\n * Message Center if auto launch message center\n * is disabled, or display the OOTB message center.\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n display(messageId) {\n return this.plugin.perform('messageCenter#display', messageId);\n }\n /**\n * Overlays the message view. Should be used to display the actual\n * message body in a custom Message Center.\n *\n * @param messageId The message Id.\n * @returns A promise.\n */\n showMessageView(messageId) {\n return this.plugin.perform('messageCenter#showMessageView', messageId);\n }\n /**\n * Overlays the message center regardless if auto launch Message Center is enabled or not.\n *\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n showMessageCenter(messageId) {\n return this.plugin.perform('messageCenter#showMessageCenter', messageId);\n }\n /**\n * Refreshes the messages.\n * @returns A promise. Will reject if the list fails to refresh or if\n * takeOff is not called yet.\n */\n refreshMessages() {\n return this.plugin.perform('messageCenter#refreshMessages');\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with a Message Center action.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n */\n setAutoLaunchDefaultMessageCenter(autoLaunch) {\n return this.plugin.perform('messageCenter#setAutoLaunchDefaultMessageCenter', autoLaunch);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayMessageCenter, listener);\n }\n /**\n * Adds a message center list updated listener.\n */\n onUpdated(listener) {\n return this.plugin.addListener(EventType.MessageCenterUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipMessageCenter.js.map","import { EventType } from './EventType';\n/**\n * Airship Preference Center.\n */\nexport class AirshipPreferenceCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Requests to display a preference center.\n *\n * Will either emit an event to display the\n * Preference Center if auto launch is disabled,\n * or display the OOTB UI.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise.\n */\n display(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#display', preferenceCenterId);\n }\n /**\n * Gets the preference center config.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise with the result.\n */\n getConfig(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#getConfig', preferenceCenterId);\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with some other action.\n * @param preferenceCenterId The preference center Id.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n * @returns A promise with the result.\n */\n setAutoLaunchDefaultPreferenceCenter(preferenceCenterId, autoLaunch) {\n return this.plugin.perform('preferenceCenter#getConfig', [\n preferenceCenterId,\n autoLaunch,\n ]);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayPreferenceCenter, listener);\n }\n}\n//# sourceMappingURL=AirshipPreferenceCenter.js.map","/**\n * Airship Privacy Manager.\n */\nexport class AirshipPrivacyManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the current set of enabled features.\n * @param features The features to set.\n * @returns A promise.\n */\n setEnabledFeatures(features) {\n return this.plugin.perform('privacyManager#setEnabledFeatures', features);\n }\n /**\n * Gets the current enabled features.\n * @returns A promise with the result.\n */\n getEnabledFeatures() {\n return this.plugin.perform('privacyManager#getEnabledFeatures');\n }\n /**\n * Enables additional features.\n * @param features The features to enable.\n * @returns A promise.\n */\n enableFeatures(features) {\n return this.plugin.perform('privacyManager#enableFeatures', features);\n }\n /**\n * Disable features.\n * @param features The features to disable.\n * @returns A promise.\n */\n disableFeatures(features) {\n return this.plugin.perform('privacyManager#disableFeatures', features);\n }\n /**\n * Checks if the features are enabled or not.\n * @param features The features to check.\n * @returns A promise with the result.\n */\n isFeaturesEnabled(features) {\n return this.plugin.perform('privacyManager#isFeaturesEnabled', features);\n }\n}\n//# sourceMappingURL=AirshipPrivacyManager.js.map","import { EventType } from './EventType';\n/**\n * Airship Push.\n */\nexport class AirshipPush {\n constructor(plugin) {\n this.plugin = plugin;\n this.iOS = new AirshipPushIOS(plugin);\n this.android = new AirshipPushAndroid(plugin);\n }\n /**\n * Enables/disables notifications on Airship.\n *\n * When enabled, it will cause the user to be prompted for\n * the permission on platforms that support it.\n * To get the result of the prompt, use `enableUserNotifications`.\n * @param enabled true to enable, false to disable\n * @returns A promise.\n */\n setUserNotificationsEnabled(enabled) {\n return this.plugin.perform('push#setUserNotificationsEnabled', enabled);\n }\n /**\n * Checks if user notifications are enabled or not on Airship.\n * @returns A promise with the result.\n */\n isUserNotificationsEnabled() {\n return this.plugin.perform('push#isUserNotificationsEnabled');\n }\n /**\n * Enables user notifications.\n * @param options Optional options.\n * @returns A promise with the permission result.\n */\n enableUserNotifications(options) {\n return this.plugin.perform('push#enableUserNotifications', options);\n }\n /**\n * Gets the notification status.\n * @returns A promise with the result.\n */\n getNotificationStatus() {\n return this.plugin.perform('push#getNotificationStatus');\n }\n /**\n * Gets the registration token if generated.\n * Use the event EventType.PushTokenReceived to be notified\n * when available.\n * @returns A promise with the result.\n */\n getPushToken() {\n return this.plugin.perform('push#getPushToken');\n }\n /**\n * Gets the list of active notifications.\n *\n * On Android, this list only includes notifications\n * sent through Airship.\n * @returns A promise with the result.\n */\n getActiveNotifications() {\n return this.plugin.perform('push#getActiveNotifications');\n }\n /**\n * Clears all notifications for the app.\n * @returns A promise with the result.\n */\n clearNotifications() {\n return this.plugin.perform('push#clearNotifications');\n }\n /**\n * Clears a specific notification.\n *\n * On Android, you can use this method to clear\n * notifications outside of Airship, The identifier is in\n * the format of <tag>:<id>.\n * @param identifier The identifier.\n * @returns A promise with the result.\n */\n clearNotification(identifier) {\n return this.plugin.perform('push#clearNotification', identifier);\n }\n /**\n * Adds a notification response event listener.\n */\n onNotificationResponse(listener) {\n return this.plugin.addListener(EventType.NotificationResponse, listener);\n }\n /**\n * Adds a push received event listener.\n */\n onPushReceived(listener) {\n return this.plugin.addListener(EventType.PushReceived, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onNotificationStatusChanged(listener) {\n return this.plugin.addListener(EventType.PushNotificationStatusChangedStatus, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onPushTokenReceived(listener) {\n return this.plugin.addListener(EventType.PushTokenReceived, listener);\n }\n}\n/**\n * iOS Push.\n */\nexport class AirshipPushIOS {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the foreground presentation options.\n * @param options The foreground options.\n * @returns A promise.\n */\n setForegroundPresentationOptions(options) {\n return this.plugin.perform('push#ios#setForegroundPresentationOptions', options);\n }\n /**\n * Sets the notification options.\n * @param options The notification options.\n * @returns A promise.\n */\n setNotificationOptions(options) {\n return this.plugin.perform('push#ios#setNotificationOptions', options);\n }\n /**\n * Checks if autobadge is enabled.\n * @returns A promise with the result.\n */\n isAutobadgeEnabled() {\n return this.plugin.perform('push#ios#isAutobadgeEnabled');\n }\n /**\n * Enables/disables autobadge.\n * @param enabled true to enable, false to disable.\n * @returns A promise.\n */\n setAutobadgeEnabled(enabled) {\n return this.plugin.perform('push#ios#setAutobadgeEnabled', enabled);\n }\n /**\n * Set the badge number.\n * @param badge The badge number.\n * @returns A promise.\n */\n setBadgeNumber(badge) {\n return this.plugin.perform('push#ios#setBadgeNumber', badge);\n }\n /**\n * Gets the badge number.\n * @returns A promise with the result.\n */\n getBadgeNumber() {\n return this.plugin.perform('push#ios#getBadgeNumber');\n }\n /**\n * Enables/disables quiet time.\n *\n * @param enabled true to enable, false to disable\n * @returns A promise with the result.\n */\n setQuietTimeEnabled(enabled) {\n return this.plugin.perform('push#ios#setQuietTimeEnabled', enabled);\n }\n /**\n * Checks if quiet time is enabled or not.\n * @returns A promise with the result.\n */\n isQuietTimeEnabled() {\n return this.plugin.perform('push#ios#isQuietTimeEnabled');\n }\n /**\n * Sets quiet time.\n *\n * @param quietTime The quiet time.\n * @returns A promise with the result.\n */\n setQuietTime(quietTime) {\n return this.plugin.perform('push#ios#setQuietTime', quietTime);\n }\n /**\n * Gets the quiet time settings.\n *\n * @returns A promise with the result.\n */\n getQuietTime() {\n return this.plugin.perform('push#ios#getQuietTime');\n }\n /**\n * Adds a authorized settings changed event listener.\n */\n onAuthorizedSettingsChanged(listener) {\n return this.plugin.addListener(EventType.IOSAuthorizedNotificationSettingsChanged, listener);\n }\n}\n/**\n * Android Push.\n */\nexport class AirshipPushAndroid {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Checks if a notification category/channel is enabled.\n * @param channel The channel name.\n * @returns A promise with the result.\n */\n isNotificationChannelEnabled(channel) {\n return this.plugin.perform('push#android#isNotificationChannelEnabled', channel);\n }\n /**\n * Sets the notification config.\n * @param config The notification config.\n * @returns A promise with the result.\n */\n setNotificationConfig(config) {\n return this.plugin.perform('push#android#setNotificationConfig', config);\n }\n /**\n * Enables/disables showing notifications in the foreground.\n * @param enabled true to enable, false to disable.\n * @returns A promise with the result.\n */\n setForegroundNotificationsEnabled(enabled) {\n return this.plugin.perform('push#android#setForegroundNotificationsEnabled', enabled);\n }\n}\n//# sourceMappingURL=AirshipPush.js.map","import { EventType } from './EventType';\n/**\n * Live Activity manager.\n */\nexport class AirshipLiveActivityManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Activities for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveActivityManager#list', request);\n }\n /**\n * Lists all Live Activities.\n * @param request The request options.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveActivityManager#listAll');\n }\n /**\n * Starts a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveActivityManager#start', request);\n }\n /**\n * Updates a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveActivityManager#update', request);\n }\n /**\n * Ends a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveActivityManager#end', request);\n }\n /**\n * Adds a Live Activity listener.\n */\n onLiveActivityUpdates(listener) {\n return this.plugin.addListener(EventType.IOSLiveActivitiesUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipLiveActivityManager.js.map","/**\n * Live Update manager.\n */\nexport class AirshipLiveUpdateManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Updates for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveUpdateManager#list', request);\n }\n /**\n * Lists all Live Updates.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveUpdateManager#listAll');\n }\n /**\n * Starts a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveUpdateManager#start', request);\n }\n /**\n * Updates a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveUpdateManager#update', request);\n }\n /**\n * Ends a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveUpdateManager#end', request);\n }\n /**\n * Clears all Live Updates.\n * @returns A promise with the result.\n */\n clearAll() {\n return this.plugin.perform('liveUpdateManager#clearAll');\n }\n}\n//# sourceMappingURL=AirshipLiveUpdateManager.js.map","import { AirshipActions } from './AirshipActions';\nimport { AirshipAnalytics } from './AirshipAnalytics';\nimport { AirshipChannel } from './AirshipChannel';\nimport { AirshipContact } from './AirshipContact';\nimport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nimport { AirshipInApp } from './AirshipInApp';\nimport { AirshipLocale } from './AirshipLocale';\nimport { AirshipMessageCenter } from './AirshipMessageCenter';\nimport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nimport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nimport { AirshipPush } from './AirshipPush';\nimport { EventType } from './EventType';\nimport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nimport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\n/**\n * Airship\n */\nexport class AirshipRoot {\n constructor(plugin) {\n this.plugin = plugin;\n this.actions = new AirshipActions(plugin);\n this.analytics = new AirshipAnalytics(plugin);\n this.channel = new AirshipChannel(plugin);\n this.contact = new AirshipContact(plugin);\n this.inApp = new AirshipInApp(plugin);\n this.locale = new AirshipLocale(plugin);\n this.messageCenter = new AirshipMessageCenter(plugin);\n this.preferenceCenter = new AirshipPreferenceCenter(plugin);\n this.privacyManager = new AirshipPrivacyManager(plugin);\n this.push = new AirshipPush(plugin);\n this.featureFlagManager = new AirshipFeatureFlagManager(plugin);\n this.iOS = new AirshipRootIOS(plugin);\n this.android = new AirshipRootAndroid(plugin);\n }\n /**\n * Calls takeOff. If Airship is already configured for\n * the app session, the new config will be applied on the next\n * app init.\n * @param config The config.\n * @returns A promise with the result. `true` if airship is ready.\n */\n takeOff(config) {\n return this.plugin.perform('takeOff', config);\n }\n /**\n * Checks if Airship is ready.\n * @returns A promise with the result.\n */\n isFlying() {\n return this.plugin.perform('isFlying');\n }\n /**\n * Adds a deep link listener.\n */\n onDeepLink(listener) {\n return this.plugin.addListener(EventType.DeepLink, listener);\n }\n}\nexport class AirshipRootIOS {\n constructor(plugin) {\n this.liveActivityManager = new AirshipLiveActivityManager(plugin);\n }\n}\nexport class AirshipRootAndroid {\n constructor(plugin) {\n this.liveUpdateManager = new AirshipLiveUpdateManager(plugin);\n }\n}\n//# sourceMappingURL=AirshipRoot.js.map","/// <reference types=\"@capacitor/cli\" />\nexport class AirshipPluginWrapper {\n constructor(plugin) {\n this.plugin = plugin;\n }\n perform(method, value) {\n return this.plugin.perform({ method: method, value: value }).then(value => {\n return value.value;\n });\n }\n addListener(eventType, listener) {\n return this.plugin.addListener(eventType, listener);\n }\n}\n//# sourceMappingURL=AirshipPlugin.js.map","/**\n * Enum of permission status.\n */\nexport var PermissionStatus;\n(function (PermissionStatus) {\n /**\n * Permission is granted.\n */\n PermissionStatus[\"Granted\"] = \"granted\";\n /**\n * Permission is denied.\n */\n PermissionStatus[\"Denied\"] = \"denied\";\n /**\n * Permission has not yet been requested.\n */\n PermissionStatus[\"NotDetermined\"] = \"not_determined\";\n})(PermissionStatus || (PermissionStatus = {}));\n/**\n * Fallback when prompting for permission and the permission is\n * already denied on iOS or is denied silently on Android.\n */\nexport var PromptPermissionFallback;\n(function (PromptPermissionFallback) {\n /**\n * Take the user to the system settings to enable the permission.\n */\n PromptPermissionFallback[\"SystemSettings\"] = \"systemSettings\";\n})(PromptPermissionFallback || (PromptPermissionFallback = {}));\n/**\n * iOS options\n */\nexport var iOS;\n(function (iOS) {\n /**\n * Enum of notification options. iOS only.\n */\n let NotificationOption;\n (function (NotificationOption) {\n /**\n * Alerts.\n */\n NotificationOption[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n NotificationOption[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n NotificationOption[\"Badge\"] = \"badge\";\n /**\n * Car play.\n */\n NotificationOption[\"CarPlay\"] = \"car_play\";\n /**\n * Critical Alert.\n */\n NotificationOption[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Provides app notification settings.\n */\n NotificationOption[\"ProvidesAppNotificationSettings\"] = \"provides_app_notification_settings\";\n /**\n * Provisional.\n */\n NotificationOption[\"Provisional\"] = \"provisional\";\n })(NotificationOption = iOS.NotificationOption || (iOS.NotificationOption = {}));\n /**\n * Enum of foreground notification options.\n */\n let ForegroundPresentationOption;\n (function (ForegroundPresentationOption) {\n /**\n * Play the sound associated with the notification.\n */\n ForegroundPresentationOption[\"Sound\"] = \"sound\";\n /**\n * Apply the notification's badge value to the app’s icon.\n */\n ForegroundPresentationOption[\"Badge\"] = \"badge\";\n /**\n * Show the notification in Notification Center. On iOS 13 an older,\n * this will also show the notification as a banner.\n */\n ForegroundPresentationOption[\"List\"] = \"list\";\n /**\n * Present the notification as a banner. On iOS 13 an older,\n * this will also show the notification in the Notification Center.\n */\n ForegroundPresentationOption[\"Banner\"] = \"banner\";\n })(ForegroundPresentationOption = iOS.ForegroundPresentationOption || (iOS.ForegroundPresentationOption = {}));\n /**\n * Enum of authorized notification options.\n */\n let AuthorizedNotificationSetting;\n (function (AuthorizedNotificationSetting) {\n /**\n * Alerts.\n */\n AuthorizedNotificationSetting[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n AuthorizedNotificationSetting[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n AuthorizedNotificationSetting[\"Badge\"] = \"badge\";\n /**\n * CarPlay.\n */\n AuthorizedNotificationSetting[\"CarPlay\"] = \"car_play\";\n /**\n * Lock screen.\n */\n AuthorizedNotificationSetting[\"LockScreen\"] = \"lock_screen\";\n /**\n * Notification center.\n */\n AuthorizedNotificationSetting[\"NotificationCenter\"] = \"notification_center\";\n /**\n * Critical alert.\n */\n AuthorizedNotificationSetting[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Announcement.\n */\n AuthorizedNotificationSetting[\"Announcement\"] = \"announcement\";\n /**\n * Scheduled delivery.\n */\n AuthorizedNotificationSetting[\"ScheduledDelivery\"] = \"scheduled_delivery\";\n /**\n * Time sensitive.\n */\n AuthorizedNotificationSetting[\"TimeSensitive\"] = \"time_sensitive\";\n })(AuthorizedNotificationSetting = iOS.AuthorizedNotificationSetting || (iOS.AuthorizedNotificationSetting = {}));\n /**\n * Enum of authorized status.\n */\n let AuthorizedNotificationStatus;\n (function (AuthorizedNotificationStatus) {\n /**\n * Not determined.\n */\n AuthorizedNotificationStatus[\"NotDetermined\"] = \"not_determined\";\n /**\n * Denied.\n */\n AuthorizedNotificationStatus[\"Denied\"] = \"denied\";\n /**\n * Authorized.\n */\n AuthorizedNotificationStatus[\"Authorized\"] = \"authorized\";\n /**\n * Provisional.\n */\n AuthorizedNotificationStatus[\"Provisional\"] = \"provisional\";\n /**\n * Ephemeral.\n */\n AuthorizedNotificationStatus[\"Ephemeral\"] = \"ephemeral\";\n })(AuthorizedNotificationStatus = iOS.AuthorizedNotificationStatus || (iOS.AuthorizedNotificationStatus = {}));\n})(iOS || (iOS = {}));\n/**\n * Enum of authorized Features.\n */\nexport var Feature;\n(function (Feature) {\n Feature[\"InAppAutomation\"] = \"in_app_automation\";\n Feature[\"MessageCenter\"] = \"message_center\";\n Feature[\"Push\"] = \"push\";\n // No longer used\n Feature[\"Chat\"] = \"chat\";\n Feature[\"Analytics\"] = \"analytics\";\n Feature[\"TagsAndAttributes\"] = \"tags_and_attributes\";\n Feature[\"Contacts\"] = \"contacts\";\n // No longer used\n Feature[\"Location\"] = \"location\";\n})(Feature || (Feature = {}));\n/**\n * All available features.\n */\nexport const FEATURES_ALL = Object.values(Feature);\n/**\n * Subscription Scope types.\n */\nexport var SubscriptionScope;\n(function (SubscriptionScope) {\n SubscriptionScope[\"App\"] = \"app\";\n SubscriptionScope[\"Web\"] = \"web\";\n SubscriptionScope[\"Sms\"] = \"sms\";\n SubscriptionScope[\"Email\"] = \"email\";\n})(SubscriptionScope || (SubscriptionScope = {}));\n//# sourceMappingURL=types.js.map","import { registerPlugin } from '@capacitor/core';\nimport { AirshipRoot } from './AirshipRoot';\nimport { AirshipPluginWrapper } from './AirshipPlugin';\nexport { AirshipRoot } from './AirshipRoot';\nexport { AirshipActions } from './AirshipActions';\nexport { AirshipAnalytics } from './AirshipAnalytics';\nexport { AirshipChannel } from './AirshipChannel';\nexport { AirshipContact } from './AirshipContact';\nexport { AirshipInApp } from './AirshipInApp';\nexport { AirshipLocale } from './AirshipLocale';\nexport { AirshipMessageCenter } from './AirshipMessageCenter';\nexport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nexport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nexport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nexport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nexport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\nexport { AirshipPush, AirshipPushAndroid, AirshipPushIOS } from './AirshipPush';\nexport { SubscriptionListEditor } from './SubscriptionListEditor';\nexport { TagGroupEditor } from './TagGroupEditor';\nexport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nexport { AttributeEditor } from './AttributeEditor';\nexport * from './types';\nconst plugin = registerPlugin('Airship', {});\nconst sharedAirship = new AirshipRoot(new AirshipPluginWrapper(plugin));\nconst Airship = sharedAirship;\nexport { Airship };\n//# sourceMappingURL=index.js.map"],"names":["PermissionStatus","PromptPermissionFallback","iOS","Feature","SubscriptionScope","registerPlugin"],"mappings":";;;IAAA;IACA;IACA;IACO,MAAM,cAAc,CAAC;IAC5B,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;IAC5B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE;IACjC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IAC5E;IACA;;IClBA;IACA;IACA;IACO,MAAM,gBAAgB,CAAC;IAC9B,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;IAC5B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE;IACzC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,+BAA+B,EAAE;IACpE,YAAY,GAAG;IACf,YAAY,UAAU;IACtB,SAAS,CAAC;IACV;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,uB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js","sources":["esm/AirshipActions.js","esm/AirshipAnalytics.js","esm/AttributeEditor.js","esm/EventType.js","esm/SubscriptionListEditor.js","esm/TagEditor.js","esm/TagGroupEditor.js","esm/AirshipChannel.js","esm/ScopedSubscriptionListEditor.js","esm/AirshipContact.js","esm/AirshipFeatureFlagManager.js","esm/AirshipInApp.js","esm/AirshipLocale.js","esm/AirshipMessageCenter.js","esm/AirshipPreferenceCenter.js","esm/AirshipPrivacyManager.js","esm/AirshipPush.js","esm/AirshipLiveActivityManager.js","esm/AirshipLiveUpdateManager.js","esm/AirshipRoot.js","esm/AirshipPlugin.js","esm/types.js","esm/index.js"],"sourcesContent":["/**\n * Airship actions.\n */\nexport class AirshipActions {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Runs an Airship action.\n *\n * @param name The name of the action.\n * @param value The action's value.\n * @return A promise that returns the action result if the action\n * successfully runs, or the Error if the action was unable to be run.\n */\n run(actionName, actionValue) {\n return this.plugin.perform('actions#run', [actionName, actionValue]);\n }\n}\n//# sourceMappingURL=AirshipActions.js.map","/**\n * Airship analytics.\n */\nexport class AirshipAnalytics {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Associates an identifier.\n *\n * @param key The key.\n * @param identifier The identifier. `null` to remove.\n * @returns A promise.\n */\n associateIdentifier(key, identifier) {\n return this.plugin.perform('analytics#associateIdentifier', [\n key,\n identifier,\n ]);\n }\n /**\n * Tracks a screen.\n * @param screen The screen. `null` to stop tracking.\n * @returns A promise.\n */\n trackScreen(screen) {\n return this.plugin.perform('analytics#trackScreen', screen);\n }\n /**\n * Adds a custom event.\n * @param event The custom event.\n * @return A promise that returns null if resolved, or an Error if the\n * custom event is rejected.\n */\n addCustomEvent(event) {\n return this.plugin.perform('analytics#addCustomEvent', event);\n }\n /**\n * Gets the Airship session ID. The session ID is a UUID that updates on foreground and background.\n * @returns A promise.\n */\n getSessionId() {\n return this.plugin.perform('analytics#getSessionId');\n }\n}\n//# sourceMappingURL=AirshipAnalytics.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for attributes.\n */\nexport class AttributeEditor {\n /**\n * AttributeEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds an attribute.\n *\n * @param value The attribute value.\n * @param name The attribute name.\n * @return The attribute editor instance.\n */\n setAttribute(name, value) {\n var attributeValue;\n var attributeType;\n if (typeof value === 'boolean') {\n // No boolean attribute type. Convert value to string.\n attributeValue = value.toString();\n attributeType = 'string';\n }\n else {\n attributeValue = value;\n if (typeof value === 'string') {\n attributeType = 'string';\n }\n else if (typeof attributeValue === 'number') {\n attributeType = 'number';\n }\n else if (value instanceof Date) {\n // JavaScript's date type doesn't pass through the JS to native bridge.\n // Dates are instead serialized as milliseconds since epoch.\n attributeType = 'date';\n attributeValue = value.getTime();\n }\n else {\n throw 'Unsupported attribute type: ' + typeof attributeValue;\n }\n }\n const operation = {\n action: 'set',\n value: attributeValue,\n key: name,\n type: attributeType,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Adds a JSON attribute.\n *\n * @param name The attribute name.\n * @param value The attribute value.\n * @param instanceId The instance ID.\n * @param json The json value. Must not contain `exp` as top level key.\n * @param expiration: Optional expiration.\n * @return The attribute editor instance.\n */\n setJsonAttribute(name, instanceId, json, expiration) {\n var operation = {\n action: 'set',\n value: json,\n key: name,\n instance_id: instanceId,\n type: 'json'\n };\n if (expiration != null) {\n operation.expiration_milliseconds = expiration.getTime();\n }\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes an attribute.\n * @param name The name of the attribute to remove.\n * @return The attribute editor instance.\n */\n removeAttribute(name) {\n const operation = { action: 'remove', key: name };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes a JSON attribute.\n * @param name The name of the attribute to remove.\n * @param instanceId The instance ID.\n * @return The attribute editor instance.\n */\n removeJsonAttribute(name, instanceId) {\n const operation = { action: 'remove', key: name, instance_id: instanceId };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the attribute operations.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=AttributeEditor.js.map","export var EventType;\n(function (EventType) {\n EventType[\"ChannelCreated\"] = \"channel_created\";\n EventType[\"NotificationResponse\"] = \"notification_response_received\";\n EventType[\"PushReceived\"] = \"push_received\";\n EventType[\"DeepLink\"] = \"deep_link_received\";\n EventType[\"MessageCenterUpdated\"] = \"message_center_updated\";\n EventType[\"PushNotificationStatusChangedStatus\"] = \"notification_status_changed\";\n EventType[\"DisplayMessageCenter\"] = \"display_message_center\";\n EventType[\"DisplayPreferenceCenter\"] = \"display_preference_center\";\n EventType[\"PushTokenReceived\"] = \"push_token_received\";\n EventType[\"IOSAuthorizedNotificationSettingsChanged\"] = \"ios_authorized_notification_settings_changed\";\n EventType[\"IOSLiveActivitiesUpdated\"] = \"ios_live_activities_updated\";\n})(EventType || (EventType = {}));\n//# sourceMappingURL=EventType.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal subscription list update type.\n * @hidden\n */\nvar SubscriptionListOperationAction;\n(function (SubscriptionListOperationAction) {\n SubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n SubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(SubscriptionListOperationAction || (SubscriptionListOperationAction = {}));\n/**\n * Subscription list editor.\n */\nexport class SubscriptionListEditor {\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n subscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.subscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @returns The editor\n */\n unsubscribe(subscriptionListId) {\n const operation = {\n listId: subscriptionListId,\n action: SubscriptionListOperationAction.unsubscribe,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=SubscriptionListEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for device tags.\n */\nexport class TagEditor {\n /**\n * TagEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a channel.\n *\n * @param tags Tags to add.\n * @return The tag editor instance.\n */\n addTags(tags) {\n const operation = { operationType: 'add', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the channel.\n *\n * @param tags Tags to remove.\n * @return The tag editor instance.\n */\n removeTags(tags) {\n const operation = { operationType: 'remove', tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagEditor.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Editor for tag groups.\n */\nexport class TagGroupEditor {\n /**\n * TagGroupEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Adds tags to a tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to add.\n * @return The tag group editor instance.\n */\n addTags(group, tags) {\n const operation = { operationType: 'add', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Removes tags from the tag group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to remove.\n * @return The tag group editor instance.\n */\n removeTags(group, tags) {\n const operation = { operationType: 'remove', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Overwrite the current set of tags on the Tag Group.\n *\n * @param tagGroup The tag group.\n * @param tags Tags to set.\n * @return The tag group editor instance.\n */\n setTags(group, tags) {\n const operation = { operationType: 'set', group: group, tags: tags };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies the tag changes.\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=TagGroupEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { EventType } from './EventType';\nimport { SubscriptionListEditor } from './SubscriptionListEditor';\nimport { TagEditor } from './TagEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship channel.\n */\nexport class AirshipChannel {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the device tags.\n * @returns A promise with the result.\n */\n getTags() {\n return this.plugin.perform('channel#getTags');\n }\n /**\n * Gets the channel Id.\n *\n * @returns A promise with the result.\n */\n getChannelId() {\n return this.plugin.perform('channel#getChannelId');\n }\n /**\n * Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After\n * the channel ID is created, this method functions the same as `getChannelId()`.\n *\n * @returns A promise with the result.\n */\n waitForChannelId() {\n return this.plugin.perform('channel#waitForChannelId');\n }\n /**\n * Gets a list of the channel's subscriptions.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('channel#getSubscriptionLists');\n }\n /**\n * Edits tags.\n * @returns A tag group editor.\n */\n editTags() {\n return new TagEditor((operations) => {\n return this.plugin.perform('channel#editTags', operations);\n });\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('channel#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('channel#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new SubscriptionListEditor((operations) => {\n return this.plugin.perform('channel#editSubscriptionLists', operations);\n });\n }\n /**\n * Enables channel creation if channel creation has been delayed.\n * It is only necessary to call this when isChannelCreationDelayEnabled\n * has been set to `true` in the airship config.\n * Deprecated. Use the Private Manager to disable all features instead.\n */\n enableChannelCreation() {\n return this.plugin.perform('channel#enableChannelCreation');\n }\n /**\n * Adds a channel created listener\n */\n onChannelCreated(listener) {\n return this.plugin.addListener(EventType.ChannelCreated, listener);\n }\n}\n//# sourceMappingURL=AirshipChannel.js.map","/* Copyright Airship and Contributors */\n'use strict';\n/**\n * Enum of internal scoped subscription list update type.\n * @hidden\n */\nvar ScopedSubscriptionListOperationAction;\n(function (ScopedSubscriptionListOperationAction) {\n ScopedSubscriptionListOperationAction[\"subscribe\"] = \"subscribe\";\n ScopedSubscriptionListOperationAction[\"unsubscribe\"] = \"unsubscribe\";\n})(ScopedSubscriptionListOperationAction || (ScopedSubscriptionListOperationAction = {}));\n/**\n * Scoped subscription list editor.\n */\nexport class ScopedSubscriptionListEditor {\n /**\n */\n constructor(onApply) {\n this.onApply = onApply;\n this.operations = [];\n }\n /**\n * Subscribes to a list in the given scope.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to subscribe.\n * @returns The editor.\n */\n subscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.subscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Unsubscribe from a list.\n *\n * @param subscriptionListId The subscription list identifier.\n * @param scope The subscription scope to unsubscribe.\n * @returns The editor.\n */\n unsubscribe(subscriptionListId, scope) {\n const operation = {\n listId: subscriptionListId,\n action: ScopedSubscriptionListOperationAction.unsubscribe,\n scope: scope,\n };\n this.operations.push(operation);\n return this;\n }\n /**\n * Applies subscription list changes.\n *\n */\n apply() {\n return this.onApply(this.operations);\n }\n}\n//# sourceMappingURL=ScopedSubscriptionListEditor.js.map","import { AttributeEditor } from './AttributeEditor';\nimport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\n/**\n * Airship contact.\n */\nexport class AirshipContact {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Identifies the contact with a named user Id.\n * @param namedUser The named user Id.\n * @returns A promise.\n */\n identify(namedUser) {\n return this.plugin.perform('contact#identify', namedUser);\n }\n /**\n * Resets the contact.\n * @returns A promise.\n */\n reset() {\n return this.plugin.perform('contact#reset');\n }\n /**\n * Gets the named user Id.\n * @returns A promise with the result.\n */\n getNamedUserId() {\n return this.plugin.perform('contact#getNamedUserId');\n }\n /**\n * Gets the contacts subscription lists.\n * @returns A promise with the result.\n */\n getSubscriptionLists() {\n return this.plugin.perform('contact#getSubscriptionLists');\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n editTagGroups() {\n return new TagGroupEditor((operations) => {\n return this.plugin.perform('contact#editTagGroups', operations);\n });\n }\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n editAttributes() {\n return new AttributeEditor((operations) => {\n return this.plugin.perform('contact#editAttributes', operations);\n });\n }\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n editSubscriptionLists() {\n return new ScopedSubscriptionListEditor((operations) => {\n return this.plugin.perform('contact#editSubscriptionLists', operations);\n });\n }\n}\n//# sourceMappingURL=AirshipContact.js.map","/**\n * Airship feature flag manager.\n */\nexport class AirshipFeatureFlagManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Retrieve a given flag's status and associated data by its name.\n * @param {string} flagName The flag name\n * @return {Promise<FeatureFlag>} A promise resolving to the feature flag\n * requested.\n * @throws {Error} when failed to fetch\n */\n flag(flagName) {\n return this.plugin.perform('featureFlagManager#flag', flagName);\n }\n /**\n * Tracks a feature flag interaction event.\n * @param {FeatureFlag} flag The flag\n * @return {Promise<Void>} A promise with an empty result.\n * @throws {Error} when failed to fetch\n */\n trackInteraction(flag) {\n return this.plugin.perform('featureFlagManager#trackInteraction', flag);\n }\n}\n//# sourceMappingURL=AirshipFeatureFlagManager.js.map","/**\n * Airship InApp Experiences.\n */\nexport class AirshipInApp {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Pauses messages.\n * @param paused `true` to pause, `false` to resume.\n * @returns A promise.\n */\n setPaused(paused) {\n return this.plugin.perform('inApp#setPaused', paused);\n }\n /**\n * Checks if messages are paused.\n * @returns A promise with the result.\n */\n isPaused() {\n return this.plugin.perform('inApp#isPaused');\n }\n /**\n * Sets the display interval for messages.\n * @param milliseconds Display interval\n * @returns A promise.\n */\n setDisplayInterval(milliseconds) {\n return this.plugin.perform('inApp#setDisplayInterval', milliseconds);\n }\n /**\n * Gets the display interval.\n * @returns A promise with the result.\n */\n getDisplayInterval() {\n return this.plugin.perform('inApp#getDisplayInterval');\n }\n}\n//# sourceMappingURL=AirshipInApp.js.map","/**\n * Manages locale used by Airship messaging.\n */\nexport class AirshipLocale {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the locale override.\n * @param localeIdentifier The locale identifier.\n * @returns A promise.\n */\n setLocaleOverride(localeIdentifier) {\n return this.plugin.perform('locale#setLocaleOverride', localeIdentifier);\n }\n /**\n * Clears the locale override.\n * @returns A promise.\n */\n clearLocaleOverride() {\n return this.plugin.perform('locale#clearLocaleOverride');\n }\n /**\n * Gets the current locale.\n * @returns A promise with the result.\n */\n getLocale() {\n return this.plugin.perform('locale#getLocale');\n }\n}\n//# sourceMappingURL=AirshipLocale.js.map","import { EventType } from './EventType';\n/**\n * Airship Message Center\n */\nexport class AirshipMessageCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Gets the unread count.\n * @returns A promise with the result.\n */\n getUnreadCount() {\n return this.plugin.perform('messageCenter#getUnreadCount');\n }\n /**\n * Gets the inbox messages.\n * @returns A promise with the result.\n */\n getMessages() {\n return this.plugin.perform('messageCenter#getMessages');\n }\n /**\n * Marks a message as read.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n markMessageRead(messageId) {\n return this.plugin.perform('messageCenter#markMessageRead', messageId);\n }\n /**\n * Deletes a message.\n * @param messageId The message Id.\n * @returns A promise. Will reject if the message is not\n * found or if takeOff is not called.\n */\n deleteMessage(messageId) {\n return this.plugin.perform('messageCenter#deleteMessage', messageId);\n }\n /**\n * Dismisses the OOTB message center if displayed.\n * @returns A promise.\n */\n dismiss() {\n return this.plugin.perform('messageCenter#dismiss');\n }\n /**\n * Requests to display the Message Center.\n *\n * Will either emit an event to display the\n * Message Center if auto launch message center\n * is disabled, or display the OOTB message center.\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n display(messageId) {\n return this.plugin.perform('messageCenter#display', messageId);\n }\n /**\n * Overlays the message view. Should be used to display the actual\n * message body in a custom Message Center.\n *\n * @param messageId The message Id.\n * @returns A promise.\n */\n showMessageView(messageId) {\n return this.plugin.perform('messageCenter#showMessageView', messageId);\n }\n /**\n * Overlays the message center regardless if auto launch Message Center is enabled or not.\n *\n * @param messageId Optional message Id.\n * @returns A promise.\n */\n showMessageCenter(messageId) {\n return this.plugin.perform('messageCenter#showMessageCenter', messageId);\n }\n /**\n * Refreshes the messages.\n * @returns A promise. Will reject if the list fails to refresh or if\n * takeOff is not called yet.\n */\n refreshMessages() {\n return this.plugin.perform('messageCenter#refreshMessages');\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with a Message Center action.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n */\n setAutoLaunchDefaultMessageCenter(autoLaunch) {\n return this.plugin.perform('messageCenter#setAutoLaunchDefaultMessageCenter', autoLaunch);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayMessageCenter, listener);\n }\n /**\n * Adds a message center list updated listener.\n */\n onUpdated(listener) {\n return this.plugin.addListener(EventType.MessageCenterUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipMessageCenter.js.map","import { EventType } from './EventType';\n/**\n * Airship Preference Center.\n */\nexport class AirshipPreferenceCenter {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Requests to display a preference center.\n *\n * Will either emit an event to display the\n * Preference Center if auto launch is disabled,\n * or display the OOTB UI.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise.\n */\n display(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#display', preferenceCenterId);\n }\n /**\n * Gets the preference center config.\n * @param preferenceCenterId The preference center Id.\n * @returns A promise with the result.\n */\n getConfig(preferenceCenterId) {\n return this.plugin.perform('preferenceCenter#getConfig', preferenceCenterId);\n }\n /**\n * Enables or disables showing the OOTB UI when requested to display by either\n * `display` or by a notification with some other action.\n * @param preferenceCenterId The preference center Id.\n * @param autoLaunch true to show OOTB UI, false to emit events.\n * @returns A promise with the result.\n */\n setAutoLaunchDefaultPreferenceCenter(preferenceCenterId, autoLaunch) {\n return this.plugin.perform('preferenceCenter#getConfig', [\n preferenceCenterId,\n autoLaunch,\n ]);\n }\n /**\n * Adds a display message center listener.\n */\n onDisplay(listener) {\n return this.plugin.addListener(EventType.DisplayPreferenceCenter, listener);\n }\n}\n//# sourceMappingURL=AirshipPreferenceCenter.js.map","/**\n * Airship Privacy Manager.\n */\nexport class AirshipPrivacyManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the current set of enabled features.\n * @param features The features to set.\n * @returns A promise.\n */\n setEnabledFeatures(features) {\n return this.plugin.perform('privacyManager#setEnabledFeatures', features);\n }\n /**\n * Gets the current enabled features.\n * @returns A promise with the result.\n */\n getEnabledFeatures() {\n return this.plugin.perform('privacyManager#getEnabledFeatures');\n }\n /**\n * Enables additional features.\n * @param features The features to enable.\n * @returns A promise.\n */\n enableFeatures(features) {\n return this.plugin.perform('privacyManager#enableFeatures', features);\n }\n /**\n * Disable features.\n * @param features The features to disable.\n * @returns A promise.\n */\n disableFeatures(features) {\n return this.plugin.perform('privacyManager#disableFeatures', features);\n }\n /**\n * Checks if the features are enabled or not.\n * @param features The features to check.\n * @returns A promise with the result.\n */\n isFeaturesEnabled(features) {\n return this.plugin.perform('privacyManager#isFeaturesEnabled', features);\n }\n}\n//# sourceMappingURL=AirshipPrivacyManager.js.map","import { EventType } from './EventType';\n/**\n * Airship Push.\n */\nexport class AirshipPush {\n constructor(plugin) {\n this.plugin = plugin;\n this.iOS = new AirshipPushIOS(plugin);\n this.android = new AirshipPushAndroid(plugin);\n }\n /**\n * Enables/disables notifications on Airship.\n *\n * When enabled, it will cause the user to be prompted for\n * the permission on platforms that support it.\n * To get the result of the prompt, use `enableUserNotifications`.\n * @param enabled true to enable, false to disable\n * @returns A promise.\n */\n setUserNotificationsEnabled(enabled) {\n return this.plugin.perform('push#setUserNotificationsEnabled', enabled);\n }\n /**\n * Checks if user notifications are enabled or not on Airship.\n * @returns A promise with the result.\n */\n isUserNotificationsEnabled() {\n return this.plugin.perform('push#isUserNotificationsEnabled');\n }\n /**\n * Enables user notifications.\n * @param options Optional options.\n * @returns A promise with the permission result.\n */\n enableUserNotifications(options) {\n return this.plugin.perform('push#enableUserNotifications', options);\n }\n /**\n * Gets the notification status.\n * @returns A promise with the result.\n */\n getNotificationStatus() {\n return this.plugin.perform('push#getNotificationStatus');\n }\n /**\n * Gets the registration token if generated.\n * Use the event EventType.PushTokenReceived to be notified\n * when available.\n * @returns A promise with the result.\n */\n getPushToken() {\n return this.plugin.perform('push#getPushToken');\n }\n /**\n * Gets the list of active notifications.\n *\n * On Android, this list only includes notifications\n * sent through Airship.\n * @returns A promise with the result.\n */\n getActiveNotifications() {\n return this.plugin.perform('push#getActiveNotifications');\n }\n /**\n * Clears all notifications for the app.\n * @returns A promise with the result.\n */\n clearNotifications() {\n return this.plugin.perform('push#clearNotifications');\n }\n /**\n * Clears a specific notification.\n *\n * On Android, you can use this method to clear\n * notifications outside of Airship, The identifier is in\n * the format of <tag>:<id>.\n * @param identifier The identifier.\n * @returns A promise with the result.\n */\n clearNotification(identifier) {\n return this.plugin.perform('push#clearNotification', identifier);\n }\n /**\n * Adds a notification response event listener.\n */\n onNotificationResponse(listener) {\n return this.plugin.addListener(EventType.NotificationResponse, listener);\n }\n /**\n * Adds a push received event listener.\n */\n onPushReceived(listener) {\n return this.plugin.addListener(EventType.PushReceived, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onNotificationStatusChanged(listener) {\n return this.plugin.addListener(EventType.PushNotificationStatusChangedStatus, listener);\n }\n /**\n * Adds a notification status changed event listener.\n */\n onPushTokenReceived(listener) {\n return this.plugin.addListener(EventType.PushTokenReceived, listener);\n }\n}\n/**\n * iOS Push.\n */\nexport class AirshipPushIOS {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Sets the foreground presentation options.\n * @param options The foreground options.\n * @returns A promise.\n */\n setForegroundPresentationOptions(options) {\n return this.plugin.perform('push#ios#setForegroundPresentationOptions', options);\n }\n /**\n * Sets the notification options.\n * @param options The notification options.\n * @returns A promise.\n */\n setNotificationOptions(options) {\n return this.plugin.perform('push#ios#setNotificationOptions', options);\n }\n /**\n * Checks if autobadge is enabled.\n * @returns A promise with the result.\n */\n isAutobadgeEnabled() {\n return this.plugin.perform('push#ios#isAutobadgeEnabled');\n }\n /**\n * Enables/disables autobadge.\n * @param enabled true to enable, false to disable.\n * @returns A promise.\n */\n setAutobadgeEnabled(enabled) {\n return this.plugin.perform('push#ios#setAutobadgeEnabled', enabled);\n }\n /**\n * Set the badge number.\n * @param badge The badge number.\n * @returns A promise.\n */\n setBadgeNumber(badge) {\n return this.plugin.perform('push#ios#setBadgeNumber', badge);\n }\n /**\n * Gets the badge number.\n * @returns A promise with the result.\n */\n getBadgeNumber() {\n return this.plugin.perform('push#ios#getBadgeNumber');\n }\n /**\n * Enables/disables quiet time.\n *\n * @param enabled true to enable, false to disable\n * @returns A promise with the result.\n */\n setQuietTimeEnabled(enabled) {\n return this.plugin.perform('push#ios#setQuietTimeEnabled', enabled);\n }\n /**\n * Checks if quiet time is enabled or not.\n * @returns A promise with the result.\n */\n isQuietTimeEnabled() {\n return this.plugin.perform('push#ios#isQuietTimeEnabled');\n }\n /**\n * Sets quiet time.\n *\n * @param quietTime The quiet time.\n * @returns A promise with the result.\n */\n setQuietTime(quietTime) {\n return this.plugin.perform('push#ios#setQuietTime', quietTime);\n }\n /**\n * Gets the quiet time settings.\n *\n * @returns A promise with the result.\n */\n getQuietTime() {\n return this.plugin.perform('push#ios#getQuietTime');\n }\n /**\n * Adds a authorized settings changed event listener.\n */\n onAuthorizedSettingsChanged(listener) {\n return this.plugin.addListener(EventType.IOSAuthorizedNotificationSettingsChanged, listener);\n }\n}\n/**\n * Android Push.\n */\nexport class AirshipPushAndroid {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Checks if a notification category/channel is enabled.\n * @param channel The channel name.\n * @returns A promise with the result.\n */\n isNotificationChannelEnabled(channel) {\n return this.plugin.perform('push#android#isNotificationChannelEnabled', channel);\n }\n /**\n * Sets the notification config.\n * @param config The notification config.\n * @returns A promise with the result.\n */\n setNotificationConfig(config) {\n return this.plugin.perform('push#android#setNotificationConfig', config);\n }\n /**\n * Enables/disables showing notifications in the foreground.\n * @param enabled true to enable, false to disable.\n * @returns A promise with the result.\n */\n setForegroundNotificationsEnabled(enabled) {\n return this.plugin.perform('push#android#setForegroundNotificationsEnabled', enabled);\n }\n}\n//# sourceMappingURL=AirshipPush.js.map","import { EventType } from './EventType';\n/**\n * Live Activity manager.\n */\nexport class AirshipLiveActivityManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Activities for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveActivityManager#list', request);\n }\n /**\n * Lists all Live Activities.\n * @param request The request options.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveActivityManager#listAll');\n }\n /**\n * Starts a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveActivityManager#start', request);\n }\n /**\n * Updates a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveActivityManager#update', request);\n }\n /**\n * Ends a Live Activity.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveActivityManager#end', request);\n }\n /**\n * Adds a Live Activity listener.\n */\n onLiveActivityUpdates(listener) {\n return this.plugin.addListener(EventType.IOSLiveActivitiesUpdated, listener);\n }\n}\n//# sourceMappingURL=AirshipLiveActivityManager.js.map","/**\n * Live Update manager.\n */\nexport class AirshipLiveUpdateManager {\n constructor(plugin) {\n this.plugin = plugin;\n }\n /**\n * Lists any Live Updates for the request.\n * @param request The request options.\n * @returns A promise with the result.\n */\n list(request) {\n return this.plugin.perform('liveUpdateManager#list', request);\n }\n /**\n * Lists all Live Updates.\n * @returns A promise with the result.\n */\n listAll() {\n return this.plugin.perform('liveUpdateManager#listAll');\n }\n /**\n * Starts a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n start(request) {\n return this.plugin.perform('liveUpdateManager#start', request);\n }\n /**\n * Updates a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n update(request) {\n return this.plugin.perform('liveUpdateManager#update', request);\n }\n /**\n * Ends a Live Update.\n * @param request The request options.\n * @returns A promise with the result.\n */\n end(request) {\n return this.plugin.perform('liveUpdateManager#end', request);\n }\n /**\n * Clears all Live Updates.\n * @returns A promise with the result.\n */\n clearAll() {\n return this.plugin.perform('liveUpdateManager#clearAll');\n }\n}\n//# sourceMappingURL=AirshipLiveUpdateManager.js.map","import { AirshipActions } from './AirshipActions';\nimport { AirshipAnalytics } from './AirshipAnalytics';\nimport { AirshipChannel } from './AirshipChannel';\nimport { AirshipContact } from './AirshipContact';\nimport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nimport { AirshipInApp } from './AirshipInApp';\nimport { AirshipLocale } from './AirshipLocale';\nimport { AirshipMessageCenter } from './AirshipMessageCenter';\nimport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nimport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nimport { AirshipPush } from './AirshipPush';\nimport { EventType } from './EventType';\nimport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nimport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\n/**\n * Airship\n */\nexport class AirshipRoot {\n constructor(plugin) {\n this.plugin = plugin;\n this.actions = new AirshipActions(plugin);\n this.analytics = new AirshipAnalytics(plugin);\n this.channel = new AirshipChannel(plugin);\n this.contact = new AirshipContact(plugin);\n this.inApp = new AirshipInApp(plugin);\n this.locale = new AirshipLocale(plugin);\n this.messageCenter = new AirshipMessageCenter(plugin);\n this.preferenceCenter = new AirshipPreferenceCenter(plugin);\n this.privacyManager = new AirshipPrivacyManager(plugin);\n this.push = new AirshipPush(plugin);\n this.featureFlagManager = new AirshipFeatureFlagManager(plugin);\n this.iOS = new AirshipRootIOS(plugin);\n this.android = new AirshipRootAndroid(plugin);\n }\n /**\n * Calls takeOff. If Airship is already configured for\n * the app session, the new config will be applied on the next\n * app init.\n * @param config The config.\n * @returns A promise with the result. `true` if airship is ready.\n */\n takeOff(config) {\n return this.plugin.perform('takeOff', config);\n }\n /**\n * Checks if Airship is ready.\n * @returns A promise with the result.\n */\n isFlying() {\n return this.plugin.perform('isFlying');\n }\n /**\n * Adds a deep link listener.\n */\n onDeepLink(listener) {\n return this.plugin.addListener(EventType.DeepLink, listener);\n }\n}\nexport class AirshipRootIOS {\n constructor(plugin) {\n this.liveActivityManager = new AirshipLiveActivityManager(plugin);\n }\n}\nexport class AirshipRootAndroid {\n constructor(plugin) {\n this.liveUpdateManager = new AirshipLiveUpdateManager(plugin);\n }\n}\n//# sourceMappingURL=AirshipRoot.js.map","/// <reference types=\"@capacitor/cli\" />\nexport class AirshipPluginWrapper {\n constructor(plugin) {\n this.plugin = plugin;\n }\n perform(method, value) {\n return this.plugin.perform({ method: method, value: value }).then(value => {\n return value.value;\n });\n }\n addListener(eventType, listener) {\n return this.plugin.addListener(eventType, listener);\n }\n}\n//# sourceMappingURL=AirshipPlugin.js.map","/**\n * Enum of permission status.\n */\nexport var PermissionStatus;\n(function (PermissionStatus) {\n /**\n * Permission is granted.\n */\n PermissionStatus[\"Granted\"] = \"granted\";\n /**\n * Permission is denied.\n */\n PermissionStatus[\"Denied\"] = \"denied\";\n /**\n * Permission has not yet been requested.\n */\n PermissionStatus[\"NotDetermined\"] = \"not_determined\";\n})(PermissionStatus || (PermissionStatus = {}));\n/**\n * Fallback when prompting for permission and the permission is\n * already denied on iOS or is denied silently on Android.\n */\nexport var PromptPermissionFallback;\n(function (PromptPermissionFallback) {\n /**\n * Take the user to the system settings to enable the permission.\n */\n PromptPermissionFallback[\"SystemSettings\"] = \"systemSettings\";\n})(PromptPermissionFallback || (PromptPermissionFallback = {}));\n/**\n * iOS options\n */\nexport var iOS;\n(function (iOS) {\n /**\n * Enum of notification options. iOS only.\n */\n let NotificationOption;\n (function (NotificationOption) {\n /**\n * Alerts.\n */\n NotificationOption[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n NotificationOption[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n NotificationOption[\"Badge\"] = \"badge\";\n /**\n * Car play.\n */\n NotificationOption[\"CarPlay\"] = \"car_play\";\n /**\n * Critical Alert.\n */\n NotificationOption[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Provides app notification settings.\n */\n NotificationOption[\"ProvidesAppNotificationSettings\"] = \"provides_app_notification_settings\";\n /**\n * Provisional.\n */\n NotificationOption[\"Provisional\"] = \"provisional\";\n })(NotificationOption = iOS.NotificationOption || (iOS.NotificationOption = {}));\n /**\n * Enum of foreground notification options.\n */\n let ForegroundPresentationOption;\n (function (ForegroundPresentationOption) {\n /**\n * Play the sound associated with the notification.\n */\n ForegroundPresentationOption[\"Sound\"] = \"sound\";\n /**\n * Apply the notification's badge value to the app’s icon.\n */\n ForegroundPresentationOption[\"Badge\"] = \"badge\";\n /**\n * Show the notification in Notification Center. On iOS 13 an older,\n * this will also show the notification as a banner.\n */\n ForegroundPresentationOption[\"List\"] = \"list\";\n /**\n * Present the notification as a banner. On iOS 13 an older,\n * this will also show the notification in the Notification Center.\n */\n ForegroundPresentationOption[\"Banner\"] = \"banner\";\n })(ForegroundPresentationOption = iOS.ForegroundPresentationOption || (iOS.ForegroundPresentationOption = {}));\n /**\n * Enum of authorized notification options.\n */\n let AuthorizedNotificationSetting;\n (function (AuthorizedNotificationSetting) {\n /**\n * Alerts.\n */\n AuthorizedNotificationSetting[\"Alert\"] = \"alert\";\n /**\n * Sounds.\n */\n AuthorizedNotificationSetting[\"Sound\"] = \"sound\";\n /**\n * Badges.\n */\n AuthorizedNotificationSetting[\"Badge\"] = \"badge\";\n /**\n * CarPlay.\n */\n AuthorizedNotificationSetting[\"CarPlay\"] = \"car_play\";\n /**\n * Lock screen.\n */\n AuthorizedNotificationSetting[\"LockScreen\"] = \"lock_screen\";\n /**\n * Notification center.\n */\n AuthorizedNotificationSetting[\"NotificationCenter\"] = \"notification_center\";\n /**\n * Critical alert.\n */\n AuthorizedNotificationSetting[\"CriticalAlert\"] = \"critical_alert\";\n /**\n * Announcement.\n */\n AuthorizedNotificationSetting[\"Announcement\"] = \"announcement\";\n /**\n * Scheduled delivery.\n */\n AuthorizedNotificationSetting[\"ScheduledDelivery\"] = \"scheduled_delivery\";\n /**\n * Time sensitive.\n */\n AuthorizedNotificationSetting[\"TimeSensitive\"] = \"time_sensitive\";\n })(AuthorizedNotificationSetting = iOS.AuthorizedNotificationSetting || (iOS.AuthorizedNotificationSetting = {}));\n /**\n * Enum of authorized status.\n */\n let AuthorizedNotificationStatus;\n (function (AuthorizedNotificationStatus) {\n /**\n * Not determined.\n */\n AuthorizedNotificationStatus[\"NotDetermined\"] = \"not_determined\";\n /**\n * Denied.\n */\n AuthorizedNotificationStatus[\"Denied\"] = \"denied\";\n /**\n * Authorized.\n */\n AuthorizedNotificationStatus[\"Authorized\"] = \"authorized\";\n /**\n * Provisional.\n */\n AuthorizedNotificationStatus[\"Provisional\"] = \"provisional\";\n /**\n * Ephemeral.\n */\n AuthorizedNotificationStatus[\"Ephemeral\"] = \"ephemeral\";\n })(AuthorizedNotificationStatus = iOS.AuthorizedNotificationStatus || (iOS.AuthorizedNotificationStatus = {}));\n})(iOS || (iOS = {}));\n/**\n * Enum of authorized Features.\n */\nexport var Feature;\n(function (Feature) {\n Feature[\"InAppAutomation\"] = \"in_app_automation\";\n Feature[\"MessageCenter\"] = \"message_center\";\n Feature[\"Push\"] = \"push\";\n // No longer used\n Feature[\"Chat\"] = \"chat\";\n Feature[\"Analytics\"] = \"analytics\";\n Feature[\"TagsAndAttributes\"] = \"tags_and_attributes\";\n Feature[\"FeatureFlags\"] = \"feature_flags\";\n Feature[\"Contacts\"] = \"contacts\";\n // No longer used\n Feature[\"Location\"] = \"location\";\n})(Feature || (Feature = {}));\n/**\n * All available features.\n */\nexport const FEATURES_ALL = Object.values(Feature);\n/**\n * Subscription Scope types.\n */\nexport var SubscriptionScope;\n(function (SubscriptionScope) {\n SubscriptionScope[\"App\"] = \"app\";\n SubscriptionScope[\"Web\"] = \"web\";\n SubscriptionScope[\"Sms\"] = \"sms\";\n SubscriptionScope[\"Email\"] = \"email\";\n})(SubscriptionScope || (SubscriptionScope = {}));\n//# sourceMappingURL=types.js.map","import { registerPlugin } from '@capacitor/core';\nimport { AirshipRoot } from './AirshipRoot';\nimport { AirshipPluginWrapper } from './AirshipPlugin';\nexport { AirshipRoot } from './AirshipRoot';\nexport { AirshipActions } from './AirshipActions';\nexport { AirshipAnalytics } from './AirshipAnalytics';\nexport { AirshipChannel } from './AirshipChannel';\nexport { AirshipContact } from './AirshipContact';\nexport { AirshipInApp } from './AirshipInApp';\nexport { AirshipLocale } from './AirshipLocale';\nexport { AirshipMessageCenter } from './AirshipMessageCenter';\nexport { AirshipPreferenceCenter } from './AirshipPreferenceCenter';\nexport { AirshipPrivacyManager } from './AirshipPrivacyManager';\nexport { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';\nexport { AirshipLiveActivityManager } from './AirshipLiveActivityManager';\nexport { AirshipLiveUpdateManager } from './AirshipLiveUpdateManager';\nexport { AirshipPush, AirshipPushAndroid, AirshipPushIOS } from './AirshipPush';\nexport { SubscriptionListEditor } from './SubscriptionListEditor';\nexport { TagGroupEditor } from './TagGroupEditor';\nexport { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';\nexport { AttributeEditor } from './AttributeEditor';\nexport * from './types';\nconst plugin = registerPlugin('Airship', {});\nconst sharedAirship = new AirshipRoot(new AirshipPluginWrapper(plugin));\nconst Airship = sharedAirship;\nexport { Airship };\n//# sourceMappingURL=index.js.map"],"names":["PermissionStatus","PromptPermissionFallback","iOS","Feature","SubscriptionScope","registerPlugin"],"mappings":";;;IAAA;IACA;IACA;IACO,MAAM,cAAc,CAAC;IAC5B,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;IAC5B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,GAAG,CAAC,UAAU,EAAE,WAAW,EAAE;IACjC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC,UAAU,EAAE,WAAW,CAAC,CAAC;IAC5E;IACA;;IClBA;IACA;IACA;IACO,MAAM,gBAAgB,CAAC;IAC9B,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,IAAI,CAAC,MAAM,GAAG,MAAM;IAC5B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,mBAAmB,CAAC,GAAG,EAAE,UAAU,EAAE;IACzC,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,+BAA+B,EAAE;IACpE,YAAY,GAAG;IACf,YAAY,UAAU;IACtB,SAAS,CAAC;IACV;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,WAAW,CAAC,MAAM,EAAE;IACxB,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACnE;IACA;IACA;IACA;IACA;IACA;IACA;IACA,IAAI,cAAc,CAAC,KAAK,EAAE;IAC1B,QAAQ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,0BAA0B,EAAE,KAAK,CAAC;I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IACpD,IAAI,OAAO,CAAC,eAAe,CAAC,GAAG,gBAAgB;IAC/C,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM;IAC5B;IACA,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM;IAC5B,IAAI,OAAO,CAAC,WAAW,CAAC,GAAG,WAAW;IACtC,IAAI,OAAO,CAAC,mBAAmB,CAAC,GAAG,qBAAqB;IACxD,IAAI,OAAO,CAAC,cAAc,CAAC,GAAG,eAAe;IAC7C,IAAI,OAAO,CAAC,UAAU,CAAC,GAAG,UAAU;IACpC;IACA,IAAI,OAAO,CAAC,UAAU,CAAC,GAAG,UAAU;IACpC,CAAC,EAAEA,eAAO,KAAKA,eAAO,GAAG,EAAE,CAAC,CAAC;IAC7B;IACA;IACA;AACY,UAAC,YAAY,GAAG,MAAM,CAAC,MAAM,CAACA,eAAO;IACjD;IACA;IACA;AACWC;IACX,CAAC,UAAU,iBAAiB,EAAE;IAC9B,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK;IACpC,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK;IACpC,IAAI,iBAAiB,CAAC,KAAK,CAAC,GAAG,KAAK;IACpC,IAAI,iBAAiB,CAAC,OAAO,CAAC,GAAG,OAAO;IACxC,CAAC,EAAEA,yBAAiB,KAAKA,yBAAiB,GAAG,EAAE,CAAC,CAAC;;IC7KjD,MAAM,MAAM,GAAGC,mBAAc,CAAC,SAAS,EAAE,EAAE,CAAC;IAC5C,MAAM,aAAa,GAAG,IAAI,WAAW,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;AAClE,UAAC,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -16,7 +16,6 @@ public final class AirshipCapacitorAutopilot: NSObject {
|
|
|
16
16
|
|
|
17
17
|
private var pluginInitialized: Bool = false
|
|
18
18
|
private var applicationDidFinishLaunching: Bool = false
|
|
19
|
-
private var launchOptions: [UIApplication.LaunchOptionsKey : Any]?
|
|
20
19
|
|
|
21
20
|
fileprivate var pluginConfig: PluginConfig?
|
|
22
21
|
|
|
@@ -32,16 +31,11 @@ public final class AirshipCapacitorAutopilot: NSObject {
|
|
|
32
31
|
*/
|
|
33
32
|
|
|
34
33
|
@MainActor
|
|
35
|
-
func onApplicationDidFinishLaunching(
|
|
36
|
-
launchOptions: [UIApplication.LaunchOptionsKey : Any]?
|
|
37
|
-
) {
|
|
34
|
+
func onApplicationDidFinishLaunching() {
|
|
38
35
|
AirshipProxy.shared.delegate = self
|
|
39
|
-
self.launchOptions = launchOptions
|
|
40
36
|
self.applicationDidFinishLaunching = true
|
|
41
37
|
if self.pluginInitialized, self.applicationDidFinishLaunching {
|
|
42
|
-
try? AirshipProxy.shared.attemptTakeOff(
|
|
43
|
-
launchOptions: self.launchOptions
|
|
44
|
-
)
|
|
38
|
+
try? AirshipProxy.shared.attemptTakeOff()
|
|
45
39
|
}
|
|
46
40
|
}
|
|
47
41
|
|
|
@@ -50,9 +44,7 @@ public final class AirshipCapacitorAutopilot: NSObject {
|
|
|
50
44
|
self.pluginInitialized = true
|
|
51
45
|
self.pluginConfig = pluginConfig
|
|
52
46
|
if self.pluginInitialized, self.applicationDidFinishLaunching {
|
|
53
|
-
try? AirshipProxy.shared.attemptTakeOff(
|
|
54
|
-
launchOptions: self.launchOptions
|
|
55
|
-
)
|
|
47
|
+
try? AirshipProxy.shared.attemptTakeOff()
|
|
56
48
|
}
|
|
57
49
|
}
|
|
58
50
|
|
|
@@ -60,7 +52,6 @@ public final class AirshipCapacitorAutopilot: NSObject {
|
|
|
60
52
|
func attemptTakeOff(json: Any) throws -> Bool {
|
|
61
53
|
return try AirshipProxy.shared.takeOff(
|
|
62
54
|
json: json,
|
|
63
|
-
launchOptions: self.launchOptions
|
|
64
55
|
)
|
|
65
56
|
}
|
|
66
57
|
}
|
|
@@ -9,6 +9,6 @@ public class AirshipPluginLoader: NSObject, AirshipPluginLoaderProtocol {
|
|
|
9
9
|
public static func onApplicationDidFinishLaunching(
|
|
10
10
|
launchOptions: [UIApplication.LaunchOptionsKey : Any]?
|
|
11
11
|
) {
|
|
12
|
-
AirshipCapacitorAutopilot.shared.onApplicationDidFinishLaunching(
|
|
12
|
+
AirshipCapacitorAutopilot.shared.onApplicationDidFinishLaunching()
|
|
13
13
|
}
|
|
14
14
|
}
|