@ua/react-native-airship 23.0.0 → 23.1.1

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.
Files changed (210) hide show
  1. package/android/gradle.properties +1 -1
  2. package/ios/AirshipReactNative.swift +13 -2
  3. package/ios/MessageWebViewWrapper.swift +1 -0
  4. package/lib/module/AirshipEmbeddedView.js +1 -1
  5. package/lib/module/AirshipEmbeddedView.js.map +1 -1
  6. package/lib/module/MessageView.js +1 -1
  7. package/lib/module/MessageView.js.map +1 -1
  8. package/lib/module/NativeRNAirship.ts +138 -0
  9. package/lib/module/RNAirshipEmbeddedViewNativeComponent.ts +9 -0
  10. package/lib/module/RNAirshipMessageViewNativeComponent.ts +41 -0
  11. package/lib/typescript/package.json +1 -0
  12. package/lib/typescript/src/AirshipActions.d.ts.map +1 -0
  13. package/lib/typescript/src/AirshipAnalytics.d.ts.map +1 -0
  14. package/lib/typescript/src/AirshipChannel.d.ts.map +1 -0
  15. package/lib/typescript/src/AirshipContact.d.ts.map +1 -0
  16. package/lib/typescript/src/AirshipEmbeddedView.d.ts.map +1 -0
  17. package/lib/typescript/src/AirshipFeatureFlagManager.d.ts.map +1 -0
  18. package/lib/typescript/src/AirshipInApp.d.ts.map +1 -0
  19. package/lib/typescript/src/AirshipLiveActivityManager.d.ts.map +1 -0
  20. package/lib/typescript/src/AirshipLiveUpdateManager.d.ts.map +1 -0
  21. package/lib/typescript/src/AirshipLocale.d.ts.map +1 -0
  22. package/lib/typescript/src/AirshipMessageCenter.d.ts.map +1 -0
  23. package/lib/typescript/src/AirshipPreferenceCenter.d.ts.map +1 -0
  24. package/lib/typescript/src/AirshipPrivacyManager.d.ts.map +1 -0
  25. package/lib/typescript/src/AirshipPush.d.ts.map +1 -0
  26. package/lib/typescript/src/AirshipRoot.d.ts.map +1 -0
  27. package/lib/typescript/src/AttributeEditor.d.ts.map +1 -0
  28. package/lib/typescript/src/MessageView.d.ts.map +1 -0
  29. package/lib/typescript/src/NativeRNAirship.d.ts.map +1 -0
  30. package/lib/typescript/src/RNAirshipEmbeddedViewNativeComponent.d.ts.map +1 -0
  31. package/lib/typescript/src/RNAirshipMessageViewNativeComponent.d.ts.map +1 -0
  32. package/lib/typescript/src/ScopedSubscriptionListEditor.d.ts.map +1 -0
  33. package/lib/typescript/src/SubscriptionListEditor.d.ts.map +1 -0
  34. package/lib/typescript/src/TagEditor.d.ts.map +1 -0
  35. package/lib/typescript/src/TagGroupEditor.d.ts.map +1 -0
  36. package/lib/typescript/src/UAEventEmitter.d.ts.map +1 -0
  37. package/lib/typescript/src/index.d.ts.map +1 -0
  38. package/lib/typescript/src/types.d.ts.map +1 -0
  39. package/package.json +24 -62
  40. package/react-native-airship.podspec +1 -1
  41. package/lib/commonjs/AirshipActions.js +0 -31
  42. package/lib/commonjs/AirshipActions.js.map +0 -1
  43. package/lib/commonjs/AirshipAnalytics.js +0 -54
  44. package/lib/commonjs/AirshipAnalytics.js.map +0 -1
  45. package/lib/commonjs/AirshipChannel.js +0 -115
  46. package/lib/commonjs/AirshipChannel.js.map +0 -1
  47. package/lib/commonjs/AirshipContact.js +0 -90
  48. package/lib/commonjs/AirshipContact.js.map +0 -1
  49. package/lib/commonjs/AirshipEmbeddedView.js +0 -28
  50. package/lib/commonjs/AirshipEmbeddedView.js.map +0 -1
  51. package/lib/commonjs/AirshipFeatureFlagManager.js +0 -76
  52. package/lib/commonjs/AirshipFeatureFlagManager.js.map +0 -1
  53. package/lib/commonjs/AirshipInApp.js +0 -108
  54. package/lib/commonjs/AirshipInApp.js.map +0 -1
  55. package/lib/commonjs/AirshipLiveActivityManager.js +0 -61
  56. package/lib/commonjs/AirshipLiveActivityManager.js.map +0 -1
  57. package/lib/commonjs/AirshipLiveUpdateManager.js +0 -68
  58. package/lib/commonjs/AirshipLiveUpdateManager.js.map +0 -1
  59. package/lib/commonjs/AirshipLocale.js +0 -41
  60. package/lib/commonjs/AirshipLocale.js.map +0 -1
  61. package/lib/commonjs/AirshipMessageCenter.js +0 -111
  62. package/lib/commonjs/AirshipMessageCenter.js.map +0 -1
  63. package/lib/commonjs/AirshipPreferenceCenter.js +0 -48
  64. package/lib/commonjs/AirshipPreferenceCenter.js.map +0 -1
  65. package/lib/commonjs/AirshipPrivacyManager.js +0 -60
  66. package/lib/commonjs/AirshipPrivacyManager.js.map +0 -1
  67. package/lib/commonjs/AirshipPush.js +0 -264
  68. package/lib/commonjs/AirshipPush.js.map +0 -1
  69. package/lib/commonjs/AirshipRoot.js +0 -115
  70. package/lib/commonjs/AirshipRoot.js.map +0 -1
  71. package/lib/commonjs/AttributeEditor.js +0 -89
  72. package/lib/commonjs/AttributeEditor.js.map +0 -1
  73. package/lib/commonjs/MessageView.js +0 -85
  74. package/lib/commonjs/MessageView.js.map +0 -1
  75. package/lib/commonjs/NativeRNAirship.js +0 -9
  76. package/lib/commonjs/NativeRNAirship.js.map +0 -1
  77. package/lib/commonjs/RNAirshipEmbeddedViewNativeComponent.js +0 -11
  78. package/lib/commonjs/RNAirshipEmbeddedViewNativeComponent.js.map +0 -1
  79. package/lib/commonjs/RNAirshipMessageViewNativeComponent.js +0 -11
  80. package/lib/commonjs/RNAirshipMessageViewNativeComponent.js.map +0 -1
  81. package/lib/commonjs/ScopedSubscriptionListEditor.js +0 -76
  82. package/lib/commonjs/ScopedSubscriptionListEditor.js.map +0 -1
  83. package/lib/commonjs/SubscriptionListEditor.js +0 -70
  84. package/lib/commonjs/SubscriptionListEditor.js.map +0 -1
  85. package/lib/commonjs/TagEditor.js +0 -66
  86. package/lib/commonjs/TagEditor.js.map +0 -1
  87. package/lib/commonjs/TagGroupEditor.js +0 -87
  88. package/lib/commonjs/TagGroupEditor.js.map +0 -1
  89. package/lib/commonjs/UAEventEmitter.js +0 -79
  90. package/lib/commonjs/UAEventEmitter.js.map +0 -1
  91. package/lib/commonjs/index.js +0 -217
  92. package/lib/commonjs/index.js.map +0 -1
  93. package/lib/commonjs/types.js +0 -340
  94. package/lib/commonjs/types.js.map +0 -1
  95. package/lib/module/NativeRNAirship.js +0 -5
  96. package/lib/module/NativeRNAirship.js.map +0 -1
  97. package/lib/module/RNAirshipEmbeddedViewNativeComponent.js +0 -6
  98. package/lib/module/RNAirshipEmbeddedViewNativeComponent.js.map +0 -1
  99. package/lib/module/RNAirshipMessageViewNativeComponent.js +0 -6
  100. package/lib/module/RNAirshipMessageViewNativeComponent.js.map +0 -1
  101. package/lib/typescript/commonjs/package.json +0 -1
  102. package/lib/typescript/commonjs/src/AirshipActions.d.ts.map +0 -1
  103. package/lib/typescript/commonjs/src/AirshipAnalytics.d.ts.map +0 -1
  104. package/lib/typescript/commonjs/src/AirshipChannel.d.ts.map +0 -1
  105. package/lib/typescript/commonjs/src/AirshipContact.d.ts.map +0 -1
  106. package/lib/typescript/commonjs/src/AirshipEmbeddedView.d.ts.map +0 -1
  107. package/lib/typescript/commonjs/src/AirshipFeatureFlagManager.d.ts.map +0 -1
  108. package/lib/typescript/commonjs/src/AirshipInApp.d.ts.map +0 -1
  109. package/lib/typescript/commonjs/src/AirshipLiveActivityManager.d.ts.map +0 -1
  110. package/lib/typescript/commonjs/src/AirshipLiveUpdateManager.d.ts.map +0 -1
  111. package/lib/typescript/commonjs/src/AirshipLocale.d.ts.map +0 -1
  112. package/lib/typescript/commonjs/src/AirshipMessageCenter.d.ts.map +0 -1
  113. package/lib/typescript/commonjs/src/AirshipPreferenceCenter.d.ts.map +0 -1
  114. package/lib/typescript/commonjs/src/AirshipPrivacyManager.d.ts.map +0 -1
  115. package/lib/typescript/commonjs/src/AirshipPush.d.ts.map +0 -1
  116. package/lib/typescript/commonjs/src/AirshipRoot.d.ts.map +0 -1
  117. package/lib/typescript/commonjs/src/AttributeEditor.d.ts.map +0 -1
  118. package/lib/typescript/commonjs/src/MessageView.d.ts.map +0 -1
  119. package/lib/typescript/commonjs/src/NativeRNAirship.d.ts.map +0 -1
  120. package/lib/typescript/commonjs/src/RNAirshipEmbeddedViewNativeComponent.d.ts.map +0 -1
  121. package/lib/typescript/commonjs/src/RNAirshipMessageViewNativeComponent.d.ts.map +0 -1
  122. package/lib/typescript/commonjs/src/ScopedSubscriptionListEditor.d.ts.map +0 -1
  123. package/lib/typescript/commonjs/src/SubscriptionListEditor.d.ts.map +0 -1
  124. package/lib/typescript/commonjs/src/TagEditor.d.ts.map +0 -1
  125. package/lib/typescript/commonjs/src/TagGroupEditor.d.ts.map +0 -1
  126. package/lib/typescript/commonjs/src/UAEventEmitter.d.ts.map +0 -1
  127. package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
  128. package/lib/typescript/commonjs/src/types.d.ts.map +0 -1
  129. package/lib/typescript/module/src/AirshipActions.d.ts +0 -18
  130. package/lib/typescript/module/src/AirshipActions.d.ts.map +0 -1
  131. package/lib/typescript/module/src/AirshipAnalytics.d.ts +0 -35
  132. package/lib/typescript/module/src/AirshipAnalytics.d.ts.map +0 -1
  133. package/lib/typescript/module/src/AirshipChannel.d.ts +0 -69
  134. package/lib/typescript/module/src/AirshipChannel.d.ts.map +0 -1
  135. package/lib/typescript/module/src/AirshipContact.d.ts +0 -53
  136. package/lib/typescript/module/src/AirshipContact.d.ts.map +0 -1
  137. package/lib/typescript/module/src/AirshipEmbeddedView.d.ts +0 -19
  138. package/lib/typescript/module/src/AirshipEmbeddedView.d.ts.map +0 -1
  139. package/lib/typescript/module/src/AirshipFeatureFlagManager.d.ts +0 -51
  140. package/lib/typescript/module/src/AirshipFeatureFlagManager.d.ts.map +0 -1
  141. package/lib/typescript/module/src/AirshipInApp.d.ts +0 -47
  142. package/lib/typescript/module/src/AirshipInApp.d.ts.map +0 -1
  143. package/lib/typescript/module/src/AirshipLiveActivityManager.d.ts +0 -39
  144. package/lib/typescript/module/src/AirshipLiveActivityManager.d.ts.map +0 -1
  145. package/lib/typescript/module/src/AirshipLiveUpdateManager.d.ts +0 -43
  146. package/lib/typescript/module/src/AirshipLiveUpdateManager.d.ts.map +0 -1
  147. package/lib/typescript/module/src/AirshipLocale.d.ts +0 -24
  148. package/lib/typescript/module/src/AirshipLocale.d.ts.map +0 -1
  149. package/lib/typescript/module/src/AirshipMessageCenter.d.ts +0 -74
  150. package/lib/typescript/module/src/AirshipMessageCenter.d.ts.map +0 -1
  151. package/lib/typescript/module/src/AirshipPreferenceCenter.d.ts +0 -32
  152. package/lib/typescript/module/src/AirshipPreferenceCenter.d.ts.map +0 -1
  153. package/lib/typescript/module/src/AirshipPrivacyManager.d.ts +0 -38
  154. package/lib/typescript/module/src/AirshipPrivacyManager.d.ts.map +0 -1
  155. package/lib/typescript/module/src/AirshipPush.d.ts +0 -161
  156. package/lib/typescript/module/src/AirshipPush.d.ts.map +0 -1
  157. package/lib/typescript/module/src/AirshipRoot.d.ts +0 -84
  158. package/lib/typescript/module/src/AirshipRoot.d.ts.map +0 -1
  159. package/lib/typescript/module/src/AttributeEditor.d.ts +0 -55
  160. package/lib/typescript/module/src/AttributeEditor.d.ts.map +0 -1
  161. package/lib/typescript/module/src/MessageView.d.ts +0 -108
  162. package/lib/typescript/module/src/MessageView.d.ts.map +0 -1
  163. package/lib/typescript/module/src/NativeRNAirship.d.ts +0 -99
  164. package/lib/typescript/module/src/NativeRNAirship.d.ts.map +0 -1
  165. package/lib/typescript/module/src/RNAirshipEmbeddedViewNativeComponent.d.ts +0 -7
  166. package/lib/typescript/module/src/RNAirshipEmbeddedViewNativeComponent.d.ts.map +0 -1
  167. package/lib/typescript/module/src/RNAirshipMessageViewNativeComponent.d.ts +0 -26
  168. package/lib/typescript/module/src/RNAirshipMessageViewNativeComponent.d.ts.map +0 -1
  169. package/lib/typescript/module/src/ScopedSubscriptionListEditor.d.ts +0 -60
  170. package/lib/typescript/module/src/ScopedSubscriptionListEditor.d.ts.map +0 -1
  171. package/lib/typescript/module/src/SubscriptionListEditor.d.ts +0 -51
  172. package/lib/typescript/module/src/SubscriptionListEditor.d.ts.map +0 -1
  173. package/lib/typescript/module/src/TagEditor.d.ts +0 -47
  174. package/lib/typescript/module/src/TagEditor.d.ts.map +0 -1
  175. package/lib/typescript/module/src/TagGroupEditor.d.ts +0 -61
  176. package/lib/typescript/module/src/TagGroupEditor.d.ts.map +0 -1
  177. package/lib/typescript/module/src/UAEventEmitter.d.ts +0 -27
  178. package/lib/typescript/module/src/UAEventEmitter.d.ts.map +0 -1
  179. package/lib/typescript/module/src/index.d.ts +0 -25
  180. package/lib/typescript/module/src/index.d.ts.map +0 -1
  181. package/lib/typescript/module/src/types.d.ts +0 -938
  182. package/lib/typescript/module/src/types.d.ts.map +0 -1
  183. /package/lib/{typescript/module → module}/package.json +0 -0
  184. /package/lib/typescript/{commonjs/src → src}/AirshipActions.d.ts +0 -0
  185. /package/lib/typescript/{commonjs/src → src}/AirshipAnalytics.d.ts +0 -0
  186. /package/lib/typescript/{commonjs/src → src}/AirshipChannel.d.ts +0 -0
  187. /package/lib/typescript/{commonjs/src → src}/AirshipContact.d.ts +0 -0
  188. /package/lib/typescript/{commonjs/src → src}/AirshipEmbeddedView.d.ts +0 -0
  189. /package/lib/typescript/{commonjs/src → src}/AirshipFeatureFlagManager.d.ts +0 -0
  190. /package/lib/typescript/{commonjs/src → src}/AirshipInApp.d.ts +0 -0
  191. /package/lib/typescript/{commonjs/src → src}/AirshipLiveActivityManager.d.ts +0 -0
  192. /package/lib/typescript/{commonjs/src → src}/AirshipLiveUpdateManager.d.ts +0 -0
  193. /package/lib/typescript/{commonjs/src → src}/AirshipLocale.d.ts +0 -0
  194. /package/lib/typescript/{commonjs/src → src}/AirshipMessageCenter.d.ts +0 -0
  195. /package/lib/typescript/{commonjs/src → src}/AirshipPreferenceCenter.d.ts +0 -0
  196. /package/lib/typescript/{commonjs/src → src}/AirshipPrivacyManager.d.ts +0 -0
  197. /package/lib/typescript/{commonjs/src → src}/AirshipPush.d.ts +0 -0
  198. /package/lib/typescript/{commonjs/src → src}/AirshipRoot.d.ts +0 -0
  199. /package/lib/typescript/{commonjs/src → src}/AttributeEditor.d.ts +0 -0
  200. /package/lib/typescript/{commonjs/src → src}/MessageView.d.ts +0 -0
  201. /package/lib/typescript/{commonjs/src → src}/NativeRNAirship.d.ts +0 -0
  202. /package/lib/typescript/{commonjs/src → src}/RNAirshipEmbeddedViewNativeComponent.d.ts +0 -0
  203. /package/lib/typescript/{commonjs/src → src}/RNAirshipMessageViewNativeComponent.d.ts +0 -0
  204. /package/lib/typescript/{commonjs/src → src}/ScopedSubscriptionListEditor.d.ts +0 -0
  205. /package/lib/typescript/{commonjs/src → src}/SubscriptionListEditor.d.ts +0 -0
  206. /package/lib/typescript/{commonjs/src → src}/TagEditor.d.ts +0 -0
  207. /package/lib/typescript/{commonjs/src → src}/TagGroupEditor.d.ts +0 -0
  208. /package/lib/typescript/{commonjs/src → src}/UAEventEmitter.d.ts +0 -0
  209. /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
  210. /package/lib/typescript/{commonjs/src → src}/types.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"RNAirshipMessageViewNativeComponent.d.ts","sourceRoot":"","sources":["../../../../src/RNAirshipMessageViewNativeComponent.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EACV,oBAAoB,EAErB,MAAM,2CAA2C,CAAC;AAEnD,KAAK,uBAAuB,GAAG,QAAQ,CAAC;IACtC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,KAAK,wBAAwB,GAAG,QAAQ,CAAC;IACvC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,KAAK,qBAAqB,GAAG,QAAQ,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAEH,KAAK,kBAAkB,GAAG,QAAQ,CAAC;IACjC,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,UAAU,WAAY,SAAQ,SAAS;IACrC,SAAS,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,oBAAoB,CACjC,uBAAuB,EACvB,gBAAgB,CACjB,CAAC;IACF,cAAc,EAAE,oBAAoB,CAClC,wBAAwB,EACxB,iBAAiB,CAClB,CAAC;IACF,WAAW,EAAE,oBAAoB,CAAC,qBAAqB,EAAE,cAAc,CAAC,CAAC;IACzE,OAAO,EAAE,oBAAoB,CAAC,kBAAkB,EAAE,UAAU,CAAC,CAAC;CAC/D;wBAE6E,aAAa,CAAC,WAAW,CAAC;AAAxG,wBAAyG"}
@@ -1,60 +0,0 @@
1
- import { SubscriptionScope } from './types';
2
- /**
3
- * Enum of internal scoped subscription list update type.
4
- * @hidden
5
- */
6
- declare enum ScopedSubscriptionListOperationAction {
7
- subscribe = "subscribe",
8
- unsubscribe = "unsubscribe"
9
- }
10
- /**
11
- * Scoped subscription list operation.
12
- * @hidden
13
- */
14
- export interface ScopedSubscriptionListOperation {
15
- /**
16
- * The subscription list identifier.
17
- */
18
- listId: string;
19
- /**
20
- * The subscription list update type.
21
- */
22
- action: ScopedSubscriptionListOperationAction;
23
- /**
24
- * The subscription scope to update.
25
- */
26
- scope: SubscriptionScope;
27
- }
28
- /**
29
- * Scoped subscription list editor.
30
- */
31
- export declare class ScopedSubscriptionListEditor {
32
- onApply: (operations: ScopedSubscriptionListOperation[]) => Promise<void>;
33
- operations: ScopedSubscriptionListOperation[];
34
- /**
35
- */
36
- constructor(onApply: (operations: ScopedSubscriptionListOperation[]) => Promise<void>);
37
- /**
38
- * Subscribes to a list in the given scope.
39
- *
40
- * @param subscriptionListId The subscription list identifier.
41
- * @param scope The subscription scope to subscribe.
42
- * @return The editor instance.
43
- */
44
- subscribe(subscriptionListId: string, scope: SubscriptionScope): ScopedSubscriptionListEditor;
45
- /**
46
- * Unsubscribe from a list.
47
- *
48
- * @param subscriptionListId The subscription list identifier.
49
- * @param scope The subscription scope to unsubscribe.
50
- * @return The editor instance.
51
- */
52
- unsubscribe(subscriptionListId: string, scope: SubscriptionScope): ScopedSubscriptionListEditor;
53
- /**
54
- * Applies subscription list changes.
55
- *
56
- */
57
- apply(): Promise<void>;
58
- }
59
- export {};
60
- //# sourceMappingURL=ScopedSubscriptionListEditor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ScopedSubscriptionListEditor.d.ts","sourceRoot":"","sources":["../../../../src/ScopedSubscriptionListEditor.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAE5C;;;GAGG;AACH,aAAK,qCAAqC;IACxC,SAAS,cAAc;IACvB,WAAW,gBAAgB;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,qCAAqC,CAAC;IAC9C;;OAEG;IACH,KAAK,EAAE,iBAAiB,CAAC;CAC1B;AAED;;GAEG;AACH,qBAAa,4BAA4B;IACvC,OAAO,EAAE,CACP,UAAU,EAAE,+BAA+B,EAAE,KAC1C,OAAO,CAAC,IAAI,CAAC,CAAC;IACnB,UAAU,EAAE,+BAA+B,EAAE,CAAC;IAE9C;OACG;gBAED,OAAO,EAAE,CACP,UAAU,EAAE,+BAA+B,EAAE,KAC1C,OAAO,CAAC,IAAI,CAAC;IAMpB;;;;;;OAMG;IACH,SAAS,CAAC,kBAAkB,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,GAAG,4BAA4B;IAU7F;;;;;;OAMG;IACH,WAAW,CAAC,kBAAkB,EAAE,MAAM,EAAE,KAAK,EAAE,iBAAiB,GAAG,4BAA4B;IAU/F;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGvB"}
@@ -1,51 +0,0 @@
1
- /**
2
- * Enum of internal subscription list update type.
3
- * @hidden
4
- */
5
- declare enum SubscriptionListOperationAction {
6
- subscribe = "subscribe",
7
- unsubscribe = "unsubscribe"
8
- }
9
- /**
10
- * Subscription list operation.
11
- * @hidden
12
- */
13
- export interface SubscriptionListOperation {
14
- /**
15
- * The subscription list identifier.
16
- */
17
- listId: string;
18
- /**
19
- * The subscription list update type.
20
- */
21
- action: SubscriptionListOperationAction;
22
- }
23
- /**
24
- * Subscription list editor.
25
- */
26
- export declare class SubscriptionListEditor {
27
- private readonly onApply;
28
- private operations;
29
- constructor(onApply: (subscriptionListUpdates: SubscriptionListOperation[]) => Promise<void>);
30
- /**
31
- * Subscribes to a list.
32
- *
33
- * @param subscriptionListId The subscription list identifier.
34
- * @return The editor instance.
35
- */
36
- subscribe(subscriptionListId: string): SubscriptionListEditor;
37
- /**
38
- * Unsubscribe from a list.
39
- *
40
- * @param subscriptionListId The subscription list identifier.
41
- * @return The editor instance.
42
- */
43
- unsubscribe(subscriptionListId: string): SubscriptionListEditor;
44
- /**
45
- * Applies subscription list changes.
46
- *
47
- */
48
- apply(): Promise<void>;
49
- }
50
- export {};
51
- //# sourceMappingURL=SubscriptionListEditor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubscriptionListEditor.d.ts","sourceRoot":"","sources":["../../../../src/SubscriptionListEditor.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,aAAK,+BAA+B;IAClC,SAAS,cAAc;IACvB,WAAW,gBAAgB;CAC5B;AAED;;;GAGG;AACH,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,+BAA+B,CAAC;CACzC;AAED;;GAEG;AACH,qBAAa,sBAAsB;IAI/B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAH1B,OAAO,CAAC,UAAU,CAAmC;gBAGlC,OAAO,EAAE,CACxB,uBAAuB,EAAE,yBAAyB,EAAE,KACjD,OAAO,CAAC,IAAI,CAAC;IAGpB;;;;;OAKG;IACH,SAAS,CAAC,kBAAkB,EAAE,MAAM,GAAG,sBAAsB;IAS7D;;;;;OAKG;IACH,WAAW,CAAC,kBAAkB,EAAE,MAAM,GAAG,sBAAsB;IAS/D;;;OAGG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGvB"}
@@ -1,47 +0,0 @@
1
- /**
2
- * Tag operation.
3
- * @hidden
4
- */
5
- export interface TagOperation {
6
- /**
7
- * The operation name
8
- */
9
- operationType: string;
10
- /**
11
- * An array of tags.
12
- */
13
- tags: string[];
14
- }
15
- /**
16
- * Editor for device tags.
17
- */
18
- export declare class TagEditor {
19
- onApply: (operations: TagOperation[]) => Promise<void>;
20
- operations: TagOperation[];
21
- /**
22
- * TagEditor constructor
23
- *
24
- * @hidden
25
- * @param onApply The apply function
26
- */
27
- constructor(onApply: (operations: TagOperation[]) => Promise<void>);
28
- /**
29
- * Adds tags to a channel.
30
- *
31
- * @param tags Tags to add.
32
- * @return The tag editor instance.
33
- */
34
- addTags(tags: string[]): TagEditor;
35
- /**
36
- * Removes tags from the channel.
37
- *
38
- * @param tags Tags to remove.
39
- * @return The tag editor instance.
40
- */
41
- removeTags(tags: string[]): TagEditor;
42
- /**
43
- * Applies the tag changes.
44
- */
45
- apply(): Promise<void>;
46
- }
47
- //# sourceMappingURL=TagEditor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TagEditor.d.ts","sourceRoot":"","sources":["../../../../src/TagEditor.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,SAAS;IACpB,OAAO,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACvD,UAAU,EAAE,YAAY,EAAE,CAAC;IAE3B;;;;;OAKG;gBACS,OAAO,EAAE,CAAC,UAAU,EAAE,YAAY,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC;IAKlE;;;;;OAKG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS;IAMlC;;;;;OAKG;IACH,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS;IAMrC;;OAEG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGvB"}
@@ -1,61 +0,0 @@
1
- /**
2
- * Tag group operation.
3
- * @hidden
4
- */
5
- export interface TagGroupOperation {
6
- /**
7
- * The operation name
8
- */
9
- operationType: string;
10
- /**
11
- * The tag group name
12
- */
13
- group: string;
14
- /**
15
- * An array of tags.
16
- */
17
- tags: string[];
18
- }
19
- /**
20
- * Editor for tag groups.
21
- */
22
- export declare class TagGroupEditor {
23
- onApply: (operations: TagGroupOperation[]) => Promise<void>;
24
- operations: TagGroupOperation[];
25
- /**
26
- * TagGroupEditor constructor
27
- *
28
- * @hidden
29
- * @param onApply The apply function
30
- */
31
- constructor(onApply: (operations: TagGroupOperation[]) => Promise<void>);
32
- /**
33
- * Adds tags to a tag group.
34
- *
35
- * @param tagGroup The tag group.
36
- * @param tags Tags to add.
37
- * @return The tag group editor instance.
38
- */
39
- addTags(group: string, tags: string[]): TagGroupEditor;
40
- /**
41
- * Removes tags from the tag group.
42
- *
43
- * @param tagGroup The tag group.
44
- * @param tags Tags to remove.
45
- * @return The tag group editor instance.
46
- */
47
- removeTags(group: string, tags: string[]): TagGroupEditor;
48
- /**
49
- * Overwrite the current set of tags on the Tag Group.
50
- *
51
- * @param tagGroup The tag group.
52
- * @param tags Tags to set.
53
- * @return The tag group editor instance.
54
- */
55
- setTags(group: string, tags: Array<string>): TagGroupEditor;
56
- /**
57
- * Applies the tag changes.
58
- */
59
- apply(): Promise<void>;
60
- }
61
- //# sourceMappingURL=TagGroupEditor.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TagGroupEditor.d.ts","sourceRoot":"","sources":["../../../../src/TagGroupEditor.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,MAAM,EAAE,CAAC;CAChB;AAED;;GAEG;AACH,qBAAa,cAAc;IACzB,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5D,UAAU,EAAE,iBAAiB,EAAE,CAAC;IAEhC;;;;;OAKG;gBACS,OAAO,EAAE,CAAC,UAAU,EAAE,iBAAiB,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC;IAKvE;;;;;;OAMG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,cAAc;IAMtD;;;;;;OAMG;IACH,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,cAAc;IAMzD;;;;;;OAMG;IACH,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAAG,cAAc;IAM3D;;OAEG;IACH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;CAGvB"}
@@ -1,27 +0,0 @@
1
- /**
2
- * SDK event emitter.
3
- *
4
- * @hidden
5
- */
6
- export declare class UAEventEmitter {
7
- private readonly nativeModule;
8
- private eventEmitter;
9
- private listeners;
10
- constructor(nativeModule: any);
11
- removeListener(eventType: string, listener: (...args: any[]) => any): void;
12
- addListener(eventType: string, listener: (...args: any[]) => any): void;
13
- removeAllListeners(eventType: string): void;
14
- private dispatchEvents;
15
- }
16
- /**
17
- * A listener subscription.
18
- */
19
- export declare class Subscription {
20
- private readonly onRemove;
21
- constructor(onRemove: () => void);
22
- /**
23
- * Removes the listener.
24
- */
25
- remove(): void;
26
- }
27
- //# sourceMappingURL=UAEventEmitter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UAEventEmitter.d.ts","sourceRoot":"","sources":["../../../../src/UAEventEmitter.ts"],"names":[],"mappings":"AAIA;;;;GAIG;AACH,qBAAa,cAAc;IAIb,OAAO,CAAC,QAAQ,CAAC,YAAY;IAHzC,OAAO,CAAC,YAAY,CAAqB;IACzC,OAAO,CAAC,SAAS,CAA0D;gBAE9C,YAAY,EAAE,GAAG;IAiB9C,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,IAAI;IAQ1E,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,IAAI;IASvE,kBAAkB,CAAC,SAAS,EAAE,MAAM;YAItB,cAAc;CAkB7B;AAED;;GAEG;AACH,qBAAa,YAAY;IACX,OAAO,CAAC,QAAQ,CAAC,QAAQ;gBAAR,QAAQ,EAAE,MAAM,IAAI;IACjD;;OAEG;IACI,MAAM,IAAI,IAAI;CAGtB"}
@@ -1,25 +0,0 @@
1
- import { AirshipRoot } from './AirshipRoot';
2
- export { AirshipRoot, AirshipRootIOS } from './AirshipRoot';
3
- export { AirshipActions } from './AirshipActions';
4
- export { AirshipAnalytics } from './AirshipAnalytics';
5
- export { AirshipChannel } from './AirshipChannel';
6
- export { AirshipContact } from './AirshipContact';
7
- export { AirshipInApp } from './AirshipInApp';
8
- export { AirshipLocale } from './AirshipLocale';
9
- export { AirshipMessageCenter } from './AirshipMessageCenter';
10
- export { AirshipPreferenceCenter } from './AirshipPreferenceCenter';
11
- export { AirshipPrivacyManager } from './AirshipPrivacyManager';
12
- export { AirshipFeatureFlagManager } from './AirshipFeatureFlagManager';
13
- export { AirshipLiveActivityManager } from './AirshipLiveActivityManager';
14
- export { AirshipPush, AirshipPushAndroid, AirshipPushIOS } from './AirshipPush';
15
- export { SubscriptionListEditor } from './SubscriptionListEditor';
16
- export { TagGroupEditor } from './TagGroupEditor';
17
- export { ScopedSubscriptionListEditor } from './ScopedSubscriptionListEditor';
18
- export { AttributeEditor } from './AttributeEditor';
19
- export * from './types';
20
- export * from './MessageView';
21
- export * from './AirshipEmbeddedView';
22
- export { Subscription } from './UAEventEmitter';
23
- declare const Airship: AirshipRoot;
24
- export default Airship;
25
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AACpE,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAChF,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AAEtC,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAWhD,QAAA,MAAM,OAAO,aAAgB,CAAC;AAC9B,eAAe,OAAO,CAAC"}