@ua/capacitor-airship 4.1.0 → 4.3.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.
@@ -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", "13.2.0"
16
+ s.dependency "AirshipFrameworkProxy", "14.2.2"
17
17
  s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
18
18
  end
@@ -1,5 +1,5 @@
1
1
  ext {
2
- airshipProxyVersion = project.hasProperty('airshipProxyVersion') ? rootProject.ext.airshipProxyVersion : '13.2.0'
2
+ airshipProxyVersion = project.hasProperty('airshipProxyVersion') ? rootProject.ext.airshipProxyVersion : '14.2.2'
3
3
  }
4
4
 
5
5
 
@@ -12,6 +12,7 @@
12
12
  <activity
13
13
  android:name="com.urbanairship.android.framework.proxy.CustomMessageCenterActivity"
14
14
  android:label="@string/ua_message_center_title"
15
+ android:theme="@style/UrbanAirship.MessageCenter.Activity"
15
16
  android:launchMode="singleTask"
16
17
  android:exported="false">
17
18
  <intent-filter>
@@ -28,6 +29,7 @@
28
29
 
29
30
  <activity
30
31
  android:name="com.urbanairship.android.framework.proxy.CustomMessageActivity"
32
+ android:theme="@style/UrbanAirship.MessageCenter.Activity"
31
33
  android:exported="false">
32
34
  <intent-filter>
33
35
  <action android:name="com.urbanairship.VIEW_RICH_PUSH_MESSAGE" />
@@ -3,5 +3,5 @@
3
3
  package com.airship.capacitor
4
4
 
5
5
  object AirshipCapacitorVersion {
6
- var version = "4.1.0"
6
+ var version = "4.3.0"
7
7
  }
@@ -97,6 +97,7 @@ class AirshipPlugin : Plugin() {
97
97
 
98
98
  // Channel
99
99
  "channel#getChannelId" -> call.resolve(scope, method) { proxy.channel.getChannelId() }
100
+ "channel#waitForChannelId" -> call.resolve(scope, method) { proxy.channel.waitForChannelId() }
100
101
 
101
102
  "channel#editTags" -> call.resolve(scope, method) { proxy.channel.editTags(arg) }
102
103
  "channel#getTags" -> call.resolve(scope, method) { proxy.channel.getTags().toList() }
@@ -22,6 +22,13 @@ export declare class AirshipChannel {
22
22
  * @returns A promise with the result.
23
23
  */
24
24
  getChannelId(): Promise<string | null | undefined>;
25
+ /**
26
+ * Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After
27
+ * the channel ID is created, this method functions the same as `getChannelId()`.
28
+ *
29
+ * @returns A promise with the result.
30
+ */
31
+ waitForChannelId(): Promise<string>;
25
32
  /**
26
33
  * Gets a list of the channel's subscriptions.
27
34
  * @returns A promise with the result.
@@ -25,6 +25,15 @@ export class AirshipChannel {
25
25
  getChannelId() {
26
26
  return this.plugin.perform('channel#getChannelId');
27
27
  }
28
+ /**
29
+ * Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After
30
+ * the channel ID is created, this method functions the same as `getChannelId()`.
31
+ *
32
+ * @returns A promise with the result.
33
+ */
34
+ waitForChannelId() {
35
+ return this.plugin.perform('channel#waitForChannelId');
36
+ }
28
37
  /**
29
38
  * Gets a list of the channel's subscriptions.
30
39
  * @returns A promise with the result.
@@ -1 +1 @@
1
- {"version":3,"file":"AirshipChannel.js","sourceRoot":"","sources":["../../src/AirshipChannel.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EACL,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOlD;;GAEG;AACH,MAAM,OAAO,cAAc;IACzB,YAA6B,MAA4B;QAA5B,WAAM,GAAN,MAAM,CAAsB;IAAG,CAAC;IAE7D;;;OAGG;IACI,OAAO;QACZ,OAAO,IAAI,CAAC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,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAA;IACpE,CAAC;CACF","sourcesContent":["import type { PluginListenerHandle } from '@capacitor/core';\n\nimport type { AttributeOperation } from './AttributeEditor';\nimport { AttributeEditor } from './AttributeEditor';\nimport { EventType } from './EventType';\nimport type {\n SubscriptionListOperation} from './SubscriptionListEditor';\nimport {\n SubscriptionListEditor\n} from './SubscriptionListEditor';\nimport type { TagOperation } from './TagEditor';\nimport { TagEditor } from './TagEditor';\nimport type { TagGroupOperation } from './TagGroupEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\nimport type { AirshipPluginWrapper } from './AirshipPlugin';\nimport type { ChannelCreatedEvent } from './types';\n\n\n\n\n/**\n * Airship channel.\n */\nexport class AirshipChannel {\n constructor(private readonly plugin: AirshipPluginWrapper) {}\n\n /**\n * Gets the device tags.\n * @returns A promise with the result.\n */\n public getTags(): Promise<string[]> {\n return this.plugin.perform('channel#getTags');\n }\n\n /**\n * Gets the channel Id.\n *\n * @returns A promise with the result.\n */\n public getChannelId(): Promise<string | null | undefined> {\n return this.plugin.perform('channel#getChannelId');\n }\n\n /**\n * Gets a list of the channel's subscriptions.\n * @returns A promise with the result.\n */\n public getSubscriptionLists(): Promise<string[]> {\n return this.plugin.perform('channel#getSubscriptionLists');\n }\n\n /**\n * Edits tags.\n * @returns A tag group editor.\n */\n public editTags(): TagEditor {\n return new TagEditor((operations: TagOperation[]) => {\n return this.plugin.perform('channel#editTags', operations);\n });\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n public editTagGroups(): TagGroupEditor {\n return new TagGroupEditor((operations: TagGroupOperation[]) => {\n return this.plugin.perform('channel#editTagGroups', operations);\n });\n }\n\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n public editAttributes(): AttributeEditor {\n return new AttributeEditor((operations: AttributeOperation[]) => {\n return this.plugin.perform('channel#editAttributes', operations);\n });\n }\n\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n public editSubscriptionLists(): SubscriptionListEditor {\n return new SubscriptionListEditor(\n (operations: SubscriptionListOperation[]) => {\n return this.plugin.perform('channel#editSubscriptionLists', operations);\n },\n );\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 public enableChannelCreation(): Promise<void> {\n return this.plugin.perform('channel#enableChannelCreation');\n }\n\n /**\n * Adds a channel created listener\n */\n public onChannelCreated(listener: (event: ChannelCreatedEvent) => void): Promise<PluginListenerHandle> {\n return this.plugin.addListener(EventType.ChannelCreated, listener)\n }\n}\n"]}
1
+ {"version":3,"file":"AirshipChannel.js","sourceRoot":"","sources":["../../src/AirshipChannel.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,EACL,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOlD;;GAEG;AACH,MAAM,OAAO,cAAc;IACzB,YAA6B,MAA4B;QAA5B,WAAM,GAAN,MAAM,CAAsB;IAAG,CAAC;IAE7D;;;OAGG;IACI,OAAO;QACZ,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAChD,CAAC;IAED;;;;OAIG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;IACrD,CAAC;IAED;;;;;OAKG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,8BAA8B,CAAC,CAAC;IAC7D,CAAC;IAED;;;OAGG;IACI,QAAQ;QACb,OAAO,IAAI,SAAS,CAAC,CAAC,UAA0B,EAAE,EAAE;YAClD,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;QAC7D,CAAC,CAAC,CAAC;IACL,CAAC;IACD;;;OAGG;IACI,aAAa;QAClB,OAAO,IAAI,cAAc,CAAC,CAAC,UAA+B,EAAE,EAAE;YAC5D,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,EAAE,UAAU,CAAC,CAAC;QAClE,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACI,cAAc;QACnB,OAAO,IAAI,eAAe,CAAC,CAAC,UAAgC,EAAE,EAAE;YAC9D,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,wBAAwB,EAAE,UAAU,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;IACL,CAAC;IAED;;;OAGG;IACI,qBAAqB;QAC1B,OAAO,IAAI,sBAAsB,CAC/B,CAAC,UAAuC,EAAE,EAAE;YAC1C,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,+BAA+B,EAAE,UAAU,CAAC,CAAC;QAC1E,CAAC,CACF,CAAC;IACJ,CAAC;IAED;;;;;OAKG;IACI,qBAAqB;QAC1B,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,+BAA+B,CAAC,CAAC;IAC9D,CAAC;IAED;;OAEG;IACI,gBAAgB,CAAC,QAA8C;QACpE,OAAO,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,SAAS,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAA;IACpE,CAAC;CACF","sourcesContent":["import type { PluginListenerHandle } from '@capacitor/core';\n\nimport type { AttributeOperation } from './AttributeEditor';\nimport { AttributeEditor } from './AttributeEditor';\nimport { EventType } from './EventType';\nimport type {\n SubscriptionListOperation} from './SubscriptionListEditor';\nimport {\n SubscriptionListEditor\n} from './SubscriptionListEditor';\nimport type { TagOperation } from './TagEditor';\nimport { TagEditor } from './TagEditor';\nimport type { TagGroupOperation } from './TagGroupEditor';\nimport { TagGroupEditor } from './TagGroupEditor';\nimport type { AirshipPluginWrapper } from './AirshipPlugin';\nimport type { ChannelCreatedEvent } from './types';\n\n\n\n\n/**\n * Airship channel.\n */\nexport class AirshipChannel {\n constructor(private readonly plugin: AirshipPluginWrapper) {}\n\n /**\n * Gets the device tags.\n * @returns A promise with the result.\n */\n public getTags(): Promise<string[]> {\n return this.plugin.perform('channel#getTags');\n }\n\n /**\n * Gets the channel Id.\n *\n * @returns A promise with the result.\n */\n public getChannelId(): Promise<string | null | undefined> {\n return this.plugin.perform('channel#getChannelId');\n }\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 public waitForChannelId(): Promise<string> {\n return this.plugin.perform('channel#waitForChannelId');\n }\n\n /**\n * Gets a list of the channel's subscriptions.\n * @returns A promise with the result.\n */\n public getSubscriptionLists(): Promise<string[]> {\n return this.plugin.perform('channel#getSubscriptionLists');\n }\n\n /**\n * Edits tags.\n * @returns A tag group editor.\n */\n public editTags(): TagEditor {\n return new TagEditor((operations: TagOperation[]) => {\n return this.plugin.perform('channel#editTags', operations);\n });\n }\n /**\n * Edits tag groups.\n * @returns A tag group editor.\n */\n public editTagGroups(): TagGroupEditor {\n return new TagGroupEditor((operations: TagGroupOperation[]) => {\n return this.plugin.perform('channel#editTagGroups', operations);\n });\n }\n\n /**\n * Edits attributes.\n * @returns An attribute editor.\n */\n public editAttributes(): AttributeEditor {\n return new AttributeEditor((operations: AttributeOperation[]) => {\n return this.plugin.perform('channel#editAttributes', operations);\n });\n }\n\n /**\n * Edits subscription lists.\n * @returns A subscription list editor.\n */\n public editSubscriptionLists(): SubscriptionListEditor {\n return new SubscriptionListEditor(\n (operations: SubscriptionListOperation[]) => {\n return this.plugin.perform('channel#editSubscriptionLists', operations);\n },\n );\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 public enableChannelCreation(): Promise<void> {\n return this.plugin.perform('channel#enableChannelCreation');\n }\n\n /**\n * Adds a channel created listener\n */\n public onChannelCreated(listener: (event: ChannelCreatedEvent) => void): Promise<PluginListenerHandle> {\n return this.plugin.addListener(EventType.ChannelCreated, listener)\n }\n}\n"]}
@@ -11,14 +11,22 @@ export interface AttributeOperation {
11
11
  * The attribute key.
12
12
  */
13
13
  key: string;
14
+ /**
15
+ * The instance id.
16
+ */
17
+ instance_id?: string;
18
+ /**
19
+ * Expiration for json attributes.
20
+ */
21
+ expiration_milliseconds?: number;
14
22
  /**
15
23
  * The attribute value, if available.
16
24
  */
17
- value?: string | number | Date;
25
+ value?: any;
18
26
  /**
19
27
  * The attribute type, if available.
20
28
  */
21
- type?: 'string' | 'number' | 'date';
29
+ type?: 'string' | 'number' | 'date' | 'json';
22
30
  }
23
31
  /**
24
32
  * Editor for attributes.
@@ -41,12 +49,30 @@ export declare class AttributeEditor {
41
49
  * @return The attribute editor instance.
42
50
  */
43
51
  setAttribute(name: string, value: string | number | boolean | Date): AttributeEditor;
52
+ /**
53
+ * Adds a JSON attribute.
54
+ *
55
+ * @param name The attribute name.
56
+ * @param value The attribute value.
57
+ * @param instanceId The instance ID.
58
+ * @param json The json value. Must not contain `exp` as top level key.
59
+ * @param expiration: Optional expiration.
60
+ * @return The attribute editor instance.
61
+ */
62
+ setJsonAttribute(name: string, instanceId: string, json: Record<string, any>, expiration?: Date): AttributeEditor;
44
63
  /**
45
64
  * Removes an attribute.
46
65
  * @param name The name of the attribute to remove.
47
66
  * @return The attribute editor instance.
48
67
  */
49
68
  removeAttribute(name: string): AttributeEditor;
69
+ /**
70
+ * Removes a JSON attribute.
71
+ * @param name The name of the attribute to remove.
72
+ * @param instanceId The instance ID.
73
+ * @return The attribute editor instance.
74
+ */
75
+ removeJsonAttribute(name: string, instanceId: string): AttributeEditor;
50
76
  /**
51
77
  * Applies the attribute operations.
52
78
  */
@@ -22,8 +22,8 @@ export class AttributeEditor {
22
22
  * @return The attribute editor instance.
23
23
  */
24
24
  setAttribute(name, value) {
25
- let attributeValue;
26
- let attributeType;
25
+ var attributeValue;
26
+ var attributeType;
27
27
  if (typeof value === 'boolean') {
28
28
  // No boolean attribute type. Convert value to string.
29
29
  attributeValue = value.toString();
@@ -56,6 +56,30 @@ export class AttributeEditor {
56
56
  this.operations.push(operation);
57
57
  return this;
58
58
  }
59
+ /**
60
+ * Adds a JSON attribute.
61
+ *
62
+ * @param name The attribute name.
63
+ * @param value The attribute value.
64
+ * @param instanceId The instance ID.
65
+ * @param json The json value. Must not contain `exp` as top level key.
66
+ * @param expiration: Optional expiration.
67
+ * @return The attribute editor instance.
68
+ */
69
+ setJsonAttribute(name, instanceId, json, expiration) {
70
+ var operation = {
71
+ action: 'set',
72
+ value: json,
73
+ key: name,
74
+ instance_id: instanceId,
75
+ type: 'json'
76
+ };
77
+ if (expiration != null) {
78
+ operation.expiration_milliseconds = expiration.getTime();
79
+ }
80
+ this.operations.push(operation);
81
+ return this;
82
+ }
59
83
  /**
60
84
  * Removes an attribute.
61
85
  * @param name The name of the attribute to remove.
@@ -66,6 +90,17 @@ export class AttributeEditor {
66
90
  this.operations.push(operation);
67
91
  return this;
68
92
  }
93
+ /**
94
+ * Removes a JSON attribute.
95
+ * @param name The name of the attribute to remove.
96
+ * @param instanceId The instance ID.
97
+ * @return The attribute editor instance.
98
+ */
99
+ removeJsonAttribute(name, instanceId) {
100
+ const operation = { action: 'remove', key: name, instance_id: instanceId };
101
+ this.operations.push(operation);
102
+ return this;
103
+ }
69
104
  /**
70
105
  * Applies the attribute operations.
71
106
  */
@@ -1 +1 @@
1
- {"version":3,"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E,MAAM,EAAE,QAAQ,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC;QAClD,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAChC,OAAO,IAAI,CAAC;IACd,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IACvC,CAAC;CACF","sourcesContent":["/* Copyright Airship and Contributors */\n\n'use strict';\n\n/**\n * Attribute operation\n * @hidden\n */\nexport interface AttributeOperation {\n /**\n * The operation name.\n */\n action: string;\n /**\n * The attribute key.\n */\n key: string;\n /**\n * The attribute value, if available.\n */\n value?: string | number | Date;\n /**\n * The attribute type, if available.\n */\n type?: 'string' | 'number' | 'date';\n}\n\n/**\n * Editor for attributes.\n */\nexport class AttributeEditor {\n onApply: (operations: AttributeOperation[]) => Promise<void>;\n operations: AttributeOperation[];\n\n /**\n * AttributeEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply: (operations: AttributeOperation[]) => Promise<void>) {\n this.onApply = onApply;\n this.operations = [];\n }\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(\n name: string,\n value: string | number | boolean | Date\n ): AttributeEditor {\n let attributeValue: string | number | Date;\n let attributeType: 'string' | 'number' | 'date';\n\n if (typeof value === 'boolean') {\n // No boolean attribute type. Convert value to string.\n attributeValue = value.toString();\n attributeType = 'string';\n } else {\n attributeValue = value;\n if (typeof value === 'string') {\n attributeType = 'string';\n } else if (typeof attributeValue === 'number') {\n attributeType = 'number';\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 } else {\n throw 'Unsupported attribute type: ' + typeof attributeValue;\n }\n }\n\n const operation = {\n action: 'set',\n value: attributeValue,\n key: name,\n type: attributeType,\n };\n this.operations.push(operation);\n\n return this;\n }\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: string): AttributeEditor {\n const operation = { action: 'remove', key: name };\n this.operations.push(operation);\n return this;\n }\n\n /**\n * Applies the attribute operations.\n */\n apply(): Promise<void> {\n return this.onApply(this.operations);\n }\n}\n"]}
1
+ {"version":3,"file":"AttributeEditor.js","sourceRoot":"","sources":["../../src/AttributeEditor.ts"],"names":[],"mappings":"AAAA,wCAAwC;AAExC,YAAY,CAAC;AAiCb;;GAEG;AACH,MAAM,OAAO,eAAe;IAI1B;;;;;OAKG;IACH,YAAY,OAA4D;QACtE,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,UAAU,GAAG,EAAE,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACH,YAAY,CACV,IAAY,EACZ,KAAuC;QAEvC,IAAI,cAAsC,CAAC;QAC3C,IAAI,aAA2C,CAAC;QAEhD,IAAI,OAAO,KAAK,KAAK,SAAS,EAAE;YAC9B,sDAAsD;YACtD,cAAc,GAAG,KAAK,CAAC,QAAQ,EAAE,CAAC;YAClC,aAAa,GAAG,QAAQ,CAAC;SAC1B;aAAM;YACL,cAAc,GAAG,KAAK,CAAC;YACvB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;gBAC7B,aAAa,GAAG,QAAQ,CAAC;aAC1B;iBAAM,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE;gBAC7C,aAAa,GAAG,QAAQ,CAAC;aAC1B;iBAAM,IAAI,KAAK,YAAY,IAAI,EAAE;gBAChC,uEAAuE;gBACvE,4DAA4D;gBAC5D,aAAa,GAAG,MAAM,CAAC;gBACvB,cAAc,GAAG,KAAK,CAAC,OAAO,EAAE,CAAC;aAClC;iBAAM;gBACL,MAAM,8BAA8B,GAAG,OAAO,cAAc,CAAC;aAC9D;SACF;QAED,MAAM,SAAS,GAAG;YAChB,MAAM,EAAE,KAAK;Y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ict';\n\n/**\n * Attribute operation\n * @hidden\n */\nexport interface AttributeOperation {\n /**\n * The operation name.\n */\n action: string;\n /**\n * The attribute key.\n */\n key: string;\n /**\n * The instance id.\n */\n instance_id?: string;\n /**\n * Expiration for json attributes.\n */\n expiration_milliseconds?: number\n /**\n * The attribute value, if available.\n */\n value?: any\n /**\n * The attribute type, if available.\n */\n type?: 'string' | 'number' | 'date' | 'json';\n}\n\n/**\n * Editor for attributes.\n */\nexport class AttributeEditor {\n onApply: (operations: AttributeOperation[]) => Promise<void>;\n operations: AttributeOperation[];\n\n /**\n * AttributeEditor constructor\n *\n * @hidden\n * @param onApply The apply function\n */\n constructor(onApply: (operations: AttributeOperation[]) => Promise<void>) {\n this.onApply = onApply;\n this.operations = [];\n }\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(\n name: string,\n value: string | number | boolean | Date\n ): AttributeEditor {\n var attributeValue: string | number | Date;\n var attributeType: 'string' | 'number' | 'date';\n\n if (typeof value === 'boolean') {\n // No boolean attribute type. Convert value to string.\n attributeValue = value.toString();\n attributeType = 'string';\n } else {\n attributeValue = value;\n if (typeof value === 'string') {\n attributeType = 'string';\n } else if (typeof attributeValue === 'number') {\n attributeType = 'number';\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 } else {\n throw 'Unsupported attribute type: ' + typeof attributeValue;\n }\n }\n\n const operation = {\n action: 'set',\n value: attributeValue,\n key: name,\n type: attributeType,\n };\n this.operations.push(operation);\n\n return this;\n }\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(\n name: string,\n instanceId: string,\n json: Record<string, any>,\n expiration?: Date,\n ): AttributeEditor {\n var operation: AttributeOperation = {\n action: 'set',\n value: json,\n key: name,\n instance_id: instanceId,\n type: 'json'\n }\n\n if (expiration != null) {\n operation.expiration_milliseconds = expiration.getTime()\n }\n \n this.operations.push(operation);\n return this;\n }\n\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: string): AttributeEditor {\n const operation = { action: 'remove', key: name };\n this.operations.push(operation);\n return this;\n }\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: string, instanceId: string): AttributeEditor {\n const operation = { action: 'remove', key: name, instance_id: instanceId };\n this.operations.push(operation);\n return this;\n }\n\n /**\n * Applies the attribute operations.\n */\n apply(): Promise<void> {\n return this.onApply(this.operations);\n }\n}"]}
@@ -91,8 +91,8 @@ class AttributeEditor {
91
91
  * @return The attribute editor instance.
92
92
  */
93
93
  setAttribute(name, value) {
94
- let attributeValue;
95
- let attributeType;
94
+ var attributeValue;
95
+ var attributeType;
96
96
  if (typeof value === 'boolean') {
97
97
  // No boolean attribute type. Convert value to string.
98
98
  attributeValue = value.toString();
@@ -125,6 +125,30 @@ class AttributeEditor {
125
125
  this.operations.push(operation);
126
126
  return this;
127
127
  }
128
+ /**
129
+ * Adds a JSON attribute.
130
+ *
131
+ * @param name The attribute name.
132
+ * @param value The attribute value.
133
+ * @param instanceId The instance ID.
134
+ * @param json The json value. Must not contain `exp` as top level key.
135
+ * @param expiration: Optional expiration.
136
+ * @return The attribute editor instance.
137
+ */
138
+ setJsonAttribute(name, instanceId, json, expiration) {
139
+ var operation = {
140
+ action: 'set',
141
+ value: json,
142
+ key: name,
143
+ instance_id: instanceId,
144
+ type: 'json'
145
+ };
146
+ if (expiration != null) {
147
+ operation.expiration_milliseconds = expiration.getTime();
148
+ }
149
+ this.operations.push(operation);
150
+ return this;
151
+ }
128
152
  /**
129
153
  * Removes an attribute.
130
154
  * @param name The name of the attribute to remove.
@@ -135,6 +159,17 @@ class AttributeEditor {
135
159
  this.operations.push(operation);
136
160
  return this;
137
161
  }
162
+ /**
163
+ * Removes a JSON attribute.
164
+ * @param name The name of the attribute to remove.
165
+ * @param instanceId The instance ID.
166
+ * @return The attribute editor instance.
167
+ */
168
+ removeJsonAttribute(name, instanceId) {
169
+ const operation = { action: 'remove', key: name, instance_id: instanceId };
170
+ this.operations.push(operation);
171
+ return this;
172
+ }
138
173
  /**
139
174
  * Applies the attribute operations.
140
175
  */
@@ -339,6 +374,15 @@ class AirshipChannel {
339
374
  getChannelId() {
340
375
  return this.plugin.perform('channel#getChannelId');
341
376
  }
377
+ /**
378
+ * Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After
379
+ * the channel ID is created, this method functions the same as `getChannelId()`.
380
+ *
381
+ * @returns A promise with the result.
382
+ */
383
+ waitForChannelId() {
384
+ return this.plugin.perform('channel#waitForChannelId');
385
+ }
342
386
  /**
343
387
  * Gets a list of the channel's subscriptions.
344
388
  * @returns A promise with the result.
@@ -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 let attributeValue;\n let 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 * 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 * 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 * 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,EAAE,MAAM,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,cAAc,CAAC,KAAK,EAAE;AAC1B,QAAQ,OAAO,IAAI,C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AAE,CAAC;AAC5C,MAAM,aAAa,GAAG,IAAI,WAAW,CAAC,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;AAClE,MAAC,OAAO,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;"}
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,EAAE,MAAM,CAAC;AACnE;AACA;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The attribute editor instance.
91
91
  */
92
92
  setAttribute(name, value) {
93
- let attributeValue;
94
- let attributeType;
93
+ var attributeValue;
94
+ var attributeType;
95
95
  if (typeof value === 'boolean') {
96
96
  // No boolean attribute type. Convert value to string.
97
97
  attributeValue = value.toString();
@@ -124,6 +124,30 @@ var capacitorAirship = (function (exports, core) {
124
124
  this.operations.push(operation);
125
125
  return this;
126
126
  }
127
+ /**
128
+ * Adds a JSON attribute.
129
+ *
130
+ * @param name The attribute name.
131
+ * @param value The attribute value.
132
+ * @param instanceId The instance ID.
133
+ * @param json The json value. Must not contain `exp` as top level key.
134
+ * @param expiration: Optional expiration.
135
+ * @return The attribute editor instance.
136
+ */
137
+ setJsonAttribute(name, instanceId, json, expiration) {
138
+ var operation = {
139
+ action: 'set',
140
+ value: json,
141
+ key: name,
142
+ instance_id: instanceId,
143
+ type: 'json'
144
+ };
145
+ if (expiration != null) {
146
+ operation.expiration_milliseconds = expiration.getTime();
147
+ }
148
+ this.operations.push(operation);
149
+ return this;
150
+ }
127
151
  /**
128
152
  * Removes an attribute.
129
153
  * @param name The name of the attribute to remove.
@@ -134,6 +158,17 @@ var capacitorAirship = (function (exports, core) {
134
158
  this.operations.push(operation);
135
159
  return this;
136
160
  }
161
+ /**
162
+ * Removes a JSON attribute.
163
+ * @param name The name of the attribute to remove.
164
+ * @param instanceId The instance ID.
165
+ * @return The attribute editor instance.
166
+ */
167
+ removeJsonAttribute(name, instanceId) {
168
+ const operation = { action: 'remove', key: name, instance_id: instanceId };
169
+ this.operations.push(operation);
170
+ return this;
171
+ }
137
172
  /**
138
173
  * Applies the attribute operations.
139
174
  */
@@ -338,6 +373,15 @@ var capacitorAirship = (function (exports, core) {
338
373
  getChannelId() {
339
374
  return this.plugin.perform('channel#getChannelId');
340
375
  }
376
+ /**
377
+ * Returns the channel ID. If the channel ID is not yet created the function it will wait for it before returning. After
378
+ * the channel ID is created, this method functions the same as `getChannelId()`.
379
+ *
380
+ * @returns A promise with the result.
381
+ */
382
+ waitForChannelId() {
383
+ return this.plugin.perform('channel#waitForChannelId');
384
+ }
341
385
  /**
342
386
  * Gets a list of the channel's subscriptions.
343
387
  * @returns A promise with the result.
@@ -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 let attributeValue;\n let 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 * 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 * 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 * 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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AAG,WAAW;IACtC,IAAI,OAAO,CAAC,mBAAmB,CAAC,GAAG,qBAAqB;IACxD,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;;IC5KjD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
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;I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C,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;;IC5KjD,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -3,5 +3,5 @@
3
3
  import Foundation
4
4
 
5
5
  class AirshipCapacitorVersion {
6
- static let version = "4.1.0"
6
+ static let version = "4.3.0"
7
7
  }
@@ -126,6 +126,9 @@ public class AirshipPlugin: CAPPlugin, CAPBridgedPlugin, @unchecked Sendable {
126
126
  case "channel#getChannelId":
127
127
  return try AirshipProxy.shared.channel.channelID
128
128
 
129
+ case "channel#waitForChannelId":
130
+ return try await AirshipProxy.shared.channel.waitForChannelID()
131
+
129
132
  case "channel#editTags":
130
133
  try AirshipProxy.shared.channel.editTags(
131
134
  operations: try call.requireCodableArg()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ua/capacitor-airship",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "description": "Airship capacitor plugin",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",