affise-attribution-lib 1.6.16 → 1.6.18

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 (743) hide show
  1. package/README.md +206 -20
  2. package/affise-attribution-native.podspec +1 -1
  3. package/android/build.gradle +1 -1
  4. package/lib/commonjs/Export.js +89 -1
  5. package/lib/commonjs/Export.js.map +1 -1
  6. package/lib/commonjs/deeplink/DeeplinkValue.js +32 -0
  7. package/lib/commonjs/deeplink/DeeplinkValue.js.map +1 -0
  8. package/lib/commonjs/deeplink/OnDeeplinkCallback.js +6 -0
  9. package/lib/commonjs/events/base/AffiseCustomEventProps.js +6 -0
  10. package/lib/commonjs/events/base/AffiseCustomEventProps.js.map +1 -0
  11. package/lib/commonjs/events/base/AffiseEvent.js +1 -1
  12. package/lib/commonjs/events/base/AffiseEvent.js.map +1 -1
  13. package/lib/commonjs/events/base/AffiseEventProps.js +2 -0
  14. package/lib/commonjs/events/base/AffiseEventProps.js.map +1 -0
  15. package/lib/commonjs/events/base/NativeEvent.js +7 -2
  16. package/lib/commonjs/events/base/NativeEvent.js.map +1 -1
  17. package/lib/commonjs/events/custom/CustomId01Event.js +5 -6
  18. package/lib/commonjs/events/custom/CustomId01Event.js.map +1 -1
  19. package/lib/commonjs/events/custom/CustomId02Event.js +5 -6
  20. package/lib/commonjs/events/custom/CustomId02Event.js.map +1 -1
  21. package/lib/commonjs/events/custom/CustomId03Event.js +5 -6
  22. package/lib/commonjs/events/custom/CustomId03Event.js.map +1 -1
  23. package/lib/commonjs/events/custom/CustomId04Event.js +5 -6
  24. package/lib/commonjs/events/custom/CustomId04Event.js.map +1 -1
  25. package/lib/commonjs/events/custom/CustomId05Event.js +5 -6
  26. package/lib/commonjs/events/custom/CustomId05Event.js.map +1 -1
  27. package/lib/commonjs/events/custom/CustomId06Event.js +5 -6
  28. package/lib/commonjs/events/custom/CustomId06Event.js.map +1 -1
  29. package/lib/commonjs/events/custom/CustomId07Event.js +5 -6
  30. package/lib/commonjs/events/custom/CustomId07Event.js.map +1 -1
  31. package/lib/commonjs/events/custom/CustomId08Event.js +5 -6
  32. package/lib/commonjs/events/custom/CustomId08Event.js.map +1 -1
  33. package/lib/commonjs/events/custom/CustomId09Event.js +5 -6
  34. package/lib/commonjs/events/custom/CustomId09Event.js.map +1 -1
  35. package/lib/commonjs/events/custom/CustomId10Event.js +5 -6
  36. package/lib/commonjs/events/custom/CustomId10Event.js.map +1 -1
  37. package/lib/commonjs/events/custom/UserCustomEvent.js +2 -7
  38. package/lib/commonjs/events/custom/UserCustomEvent.js.map +1 -1
  39. package/lib/commonjs/events/custom/UserCustomSubscriptionEvent.js +10 -8
  40. package/lib/commonjs/events/custom/UserCustomSubscriptionEvent.js.map +1 -1
  41. package/lib/commonjs/events/predefined/AchieveLevelEvent.js +5 -6
  42. package/lib/commonjs/events/predefined/AchieveLevelEvent.js.map +1 -1
  43. package/lib/commonjs/events/predefined/AdRevenueEvent.js +5 -6
  44. package/lib/commonjs/events/predefined/AdRevenueEvent.js.map +1 -1
  45. package/lib/commonjs/events/predefined/AddPaymentInfoEvent.js +5 -6
  46. package/lib/commonjs/events/predefined/AddPaymentInfoEvent.js.map +1 -1
  47. package/lib/commonjs/events/predefined/AddToCartEvent.js +5 -6
  48. package/lib/commonjs/events/predefined/AddToCartEvent.js.map +1 -1
  49. package/lib/commonjs/events/predefined/AddToWishlistEvent.js +5 -6
  50. package/lib/commonjs/events/predefined/AddToWishlistEvent.js.map +1 -1
  51. package/lib/commonjs/events/predefined/ClickAdvEvent.js +5 -6
  52. package/lib/commonjs/events/predefined/ClickAdvEvent.js.map +1 -1
  53. package/lib/commonjs/events/predefined/CompleteRegistrationEvent.js +5 -6
  54. package/lib/commonjs/events/predefined/CompleteRegistrationEvent.js.map +1 -1
  55. package/lib/commonjs/events/predefined/CompleteStreamEvent.js +5 -6
  56. package/lib/commonjs/events/predefined/CompleteStreamEvent.js.map +1 -1
  57. package/lib/commonjs/events/predefined/CompleteTrialEvent.js +5 -6
  58. package/lib/commonjs/events/predefined/CompleteTrialEvent.js.map +1 -1
  59. package/lib/commonjs/events/predefined/CompleteTutorialEvent.js +5 -6
  60. package/lib/commonjs/events/predefined/CompleteTutorialEvent.js.map +1 -1
  61. package/lib/commonjs/events/predefined/ContactEvent.js +5 -6
  62. package/lib/commonjs/events/predefined/ContactEvent.js.map +1 -1
  63. package/lib/commonjs/events/predefined/ContentItemsViewEvent.js +5 -6
  64. package/lib/commonjs/events/predefined/ContentItemsViewEvent.js.map +1 -1
  65. package/lib/commonjs/events/predefined/CustomizeProductEvent.js +5 -6
  66. package/lib/commonjs/events/predefined/CustomizeProductEvent.js.map +1 -1
  67. package/lib/commonjs/events/predefined/DeepLinkedEvent.js +5 -6
  68. package/lib/commonjs/events/predefined/DeepLinkedEvent.js.map +1 -1
  69. package/lib/commonjs/events/predefined/DonateEvent.js +5 -6
  70. package/lib/commonjs/events/predefined/DonateEvent.js.map +1 -1
  71. package/lib/commonjs/events/predefined/FindLocationEvent.js +5 -6
  72. package/lib/commonjs/events/predefined/FindLocationEvent.js.map +1 -1
  73. package/lib/commonjs/events/predefined/InitiateCheckoutEvent.js +5 -6
  74. package/lib/commonjs/events/predefined/InitiateCheckoutEvent.js.map +1 -1
  75. package/lib/commonjs/events/predefined/InitiatePurchaseEvent.js +5 -6
  76. package/lib/commonjs/events/predefined/InitiatePurchaseEvent.js.map +1 -1
  77. package/lib/commonjs/events/predefined/InitiateStreamEvent.js +5 -6
  78. package/lib/commonjs/events/predefined/InitiateStreamEvent.js.map +1 -1
  79. package/lib/commonjs/events/predefined/InviteEvent.js +5 -6
  80. package/lib/commonjs/events/predefined/InviteEvent.js.map +1 -1
  81. package/lib/commonjs/events/predefined/LastAttributedTouchEvent.js +5 -6
  82. package/lib/commonjs/events/predefined/LastAttributedTouchEvent.js.map +1 -1
  83. package/lib/commonjs/events/predefined/LeadEvent.js +5 -6
  84. package/lib/commonjs/events/predefined/LeadEvent.js.map +1 -1
  85. package/lib/commonjs/events/predefined/ListViewEvent.js +5 -6
  86. package/lib/commonjs/events/predefined/ListViewEvent.js.map +1 -1
  87. package/lib/commonjs/events/predefined/LoginEvent.js +5 -6
  88. package/lib/commonjs/events/predefined/LoginEvent.js.map +1 -1
  89. package/lib/commonjs/events/predefined/OpenedFromPushNotificationEvent.js +5 -6
  90. package/lib/commonjs/events/predefined/OpenedFromPushNotificationEvent.js.map +1 -1
  91. package/lib/commonjs/events/predefined/OrderCancelEvent.js +5 -6
  92. package/lib/commonjs/events/predefined/OrderCancelEvent.js.map +1 -1
  93. package/lib/commonjs/events/predefined/OrderEvent.js +5 -6
  94. package/lib/commonjs/events/predefined/OrderEvent.js.map +1 -1
  95. package/lib/commonjs/events/predefined/OrderItemAddedEvent.js +5 -6
  96. package/lib/commonjs/events/predefined/OrderItemAddedEvent.js.map +1 -1
  97. package/lib/commonjs/events/predefined/OrderItemRemoveEvent.js +5 -6
  98. package/lib/commonjs/events/predefined/OrderItemRemoveEvent.js.map +1 -1
  99. package/lib/commonjs/events/predefined/OrderReturnRequestCancelEvent.js +5 -6
  100. package/lib/commonjs/events/predefined/OrderReturnRequestCancelEvent.js.map +1 -1
  101. package/lib/commonjs/events/predefined/OrderReturnRequestEvent.js +5 -6
  102. package/lib/commonjs/events/predefined/OrderReturnRequestEvent.js.map +1 -1
  103. package/lib/commonjs/events/predefined/PurchaseEvent.js +5 -6
  104. package/lib/commonjs/events/predefined/PurchaseEvent.js.map +1 -1
  105. package/lib/commonjs/events/predefined/RateEvent.js +5 -6
  106. package/lib/commonjs/events/predefined/RateEvent.js.map +1 -1
  107. package/lib/commonjs/events/predefined/ReEngageEvent.js +5 -6
  108. package/lib/commonjs/events/predefined/ReEngageEvent.js.map +1 -1
  109. package/lib/commonjs/events/predefined/ReserveEvent.js +5 -6
  110. package/lib/commonjs/events/predefined/ReserveEvent.js.map +1 -1
  111. package/lib/commonjs/events/predefined/SalesEvent.js +5 -6
  112. package/lib/commonjs/events/predefined/SalesEvent.js.map +1 -1
  113. package/lib/commonjs/events/predefined/ScheduleEvent.js +5 -6
  114. package/lib/commonjs/events/predefined/ScheduleEvent.js.map +1 -1
  115. package/lib/commonjs/events/predefined/SearchEvent.js +5 -6
  116. package/lib/commonjs/events/predefined/SearchEvent.js.map +1 -1
  117. package/lib/commonjs/events/predefined/ShareEvent.js +5 -6
  118. package/lib/commonjs/events/predefined/ShareEvent.js.map +1 -1
  119. package/lib/commonjs/events/predefined/SpendCreditsEvent.js +5 -6
  120. package/lib/commonjs/events/predefined/SpendCreditsEvent.js.map +1 -1
  121. package/lib/commonjs/events/predefined/StartRegistrationEvent.js +5 -6
  122. package/lib/commonjs/events/predefined/StartRegistrationEvent.js.map +1 -1
  123. package/lib/commonjs/events/predefined/StartTrialEvent.js +5 -6
  124. package/lib/commonjs/events/predefined/StartTrialEvent.js.map +1 -1
  125. package/lib/commonjs/events/predefined/StartTutorialEvent.js +5 -6
  126. package/lib/commonjs/events/predefined/StartTutorialEvent.js.map +1 -1
  127. package/lib/commonjs/events/predefined/SubmitApplicationEvent.js +5 -6
  128. package/lib/commonjs/events/predefined/SubmitApplicationEvent.js.map +1 -1
  129. package/lib/commonjs/events/predefined/SubscribeEvent.js +5 -6
  130. package/lib/commonjs/events/predefined/SubscribeEvent.js.map +1 -1
  131. package/lib/commonjs/events/predefined/TravelBookingEvent.js +5 -6
  132. package/lib/commonjs/events/predefined/TravelBookingEvent.js.map +1 -1
  133. package/lib/commonjs/events/predefined/UnlockAchievementEvent.js +5 -6
  134. package/lib/commonjs/events/predefined/UnlockAchievementEvent.js.map +1 -1
  135. package/lib/commonjs/events/predefined/UnsubscribeEvent.js +5 -6
  136. package/lib/commonjs/events/predefined/UnsubscribeEvent.js.map +1 -1
  137. package/lib/commonjs/events/predefined/UpdateEvent.js +5 -6
  138. package/lib/commonjs/events/predefined/UpdateEvent.js.map +1 -1
  139. package/lib/commonjs/events/predefined/ViewAdvEvent.js +5 -6
  140. package/lib/commonjs/events/predefined/ViewAdvEvent.js.map +1 -1
  141. package/lib/commonjs/events/predefined/ViewCartEvent.js +5 -6
  142. package/lib/commonjs/events/predefined/ViewCartEvent.js.map +1 -1
  143. package/lib/commonjs/events/predefined/ViewContentEvent.js +5 -6
  144. package/lib/commonjs/events/predefined/ViewContentEvent.js.map +1 -1
  145. package/lib/commonjs/events/predefined/ViewItemEvent.js +5 -6
  146. package/lib/commonjs/events/predefined/ViewItemEvent.js.map +1 -1
  147. package/lib/commonjs/events/predefined/ViewItemsEvent.js +5 -6
  148. package/lib/commonjs/events/predefined/ViewItemsEvent.js.map +1 -1
  149. package/lib/commonjs/events/subscription/AffiseCustomSubscriptionEventProps.js +6 -0
  150. package/lib/commonjs/events/subscription/AffiseCustomSubscriptionEventProps.js.map +1 -0
  151. package/lib/commonjs/events/subscription/AffiseSubscriptionEventProps.js +2 -0
  152. package/lib/commonjs/events/subscription/AffiseSubscriptionEventProps.js.map +1 -0
  153. package/lib/commonjs/events/subscription/BaseSubscriptionEvent.js +12 -3
  154. package/lib/commonjs/events/subscription/BaseSubscriptionEvent.js.map +1 -1
  155. package/lib/commonjs/events/subscription/ConvertedOfferEvent.js +6 -6
  156. package/lib/commonjs/events/subscription/ConvertedOfferEvent.js.map +1 -1
  157. package/lib/commonjs/events/subscription/ConvertedOfferFromRetryEvent.js +6 -6
  158. package/lib/commonjs/events/subscription/ConvertedOfferFromRetryEvent.js.map +1 -1
  159. package/lib/commonjs/events/subscription/ConvertedTrialEvent.js +6 -6
  160. package/lib/commonjs/events/subscription/ConvertedTrialEvent.js.map +1 -1
  161. package/lib/commonjs/events/subscription/ConvertedTrialFromRetryEvent.js +6 -6
  162. package/lib/commonjs/events/subscription/ConvertedTrialFromRetryEvent.js.map +1 -1
  163. package/lib/commonjs/events/subscription/FailedOfferFromRetryEvent.js +6 -6
  164. package/lib/commonjs/events/subscription/FailedOfferFromRetryEvent.js.map +1 -1
  165. package/lib/commonjs/events/subscription/FailedOfferiseEvent.js +6 -6
  166. package/lib/commonjs/events/subscription/FailedOfferiseEvent.js.map +1 -1
  167. package/lib/commonjs/events/subscription/FailedSubscriptionEvent.js +6 -6
  168. package/lib/commonjs/events/subscription/FailedSubscriptionEvent.js.map +1 -1
  169. package/lib/commonjs/events/subscription/FailedSubscriptionFromRetryEvent.js +6 -6
  170. package/lib/commonjs/events/subscription/FailedSubscriptionFromRetryEvent.js.map +1 -1
  171. package/lib/commonjs/events/subscription/FailedTrialEvent.js +6 -6
  172. package/lib/commonjs/events/subscription/FailedTrialEvent.js.map +1 -1
  173. package/lib/commonjs/events/subscription/FailedTrialFromRetryEvent.js +6 -6
  174. package/lib/commonjs/events/subscription/FailedTrialFromRetryEvent.js.map +1 -1
  175. package/lib/commonjs/events/subscription/InitialOfferEvent.js +6 -6
  176. package/lib/commonjs/events/subscription/InitialOfferEvent.js.map +1 -1
  177. package/lib/commonjs/events/subscription/InitialSubscriptionEvent.js +6 -6
  178. package/lib/commonjs/events/subscription/InitialSubscriptionEvent.js.map +1 -1
  179. package/lib/commonjs/events/subscription/InitialTrialEvent.js +6 -6
  180. package/lib/commonjs/events/subscription/InitialTrialEvent.js.map +1 -1
  181. package/lib/commonjs/events/subscription/OfferInRetryEvent.js +6 -6
  182. package/lib/commonjs/events/subscription/OfferInRetryEvent.js.map +1 -1
  183. package/lib/commonjs/events/subscription/ReactivatedSubscriptionEvent.js +6 -6
  184. package/lib/commonjs/events/subscription/ReactivatedSubscriptionEvent.js.map +1 -1
  185. package/lib/commonjs/events/subscription/RenewedSubscriptionEvent.js +6 -6
  186. package/lib/commonjs/events/subscription/RenewedSubscriptionEvent.js.map +1 -1
  187. package/lib/commonjs/events/subscription/RenewedSubscriptionFromRetryEvent.js +6 -6
  188. package/lib/commonjs/events/subscription/RenewedSubscriptionFromRetryEvent.js.map +1 -1
  189. package/lib/commonjs/events/subscription/SubscriptionInRetryEvent.js +6 -6
  190. package/lib/commonjs/events/subscription/SubscriptionInRetryEvent.js.map +1 -1
  191. package/lib/commonjs/events/subscription/TrialInRetryEvent.js +6 -6
  192. package/lib/commonjs/events/subscription/TrialInRetryEvent.js.map +1 -1
  193. package/lib/commonjs/events/subscription/UnsubscriptionEvent.js +6 -6
  194. package/lib/commonjs/events/subscription/UnsubscriptionEvent.js.map +1 -1
  195. package/lib/commonjs/index.js +40 -3
  196. package/lib/commonjs/index.js.map +1 -1
  197. package/lib/commonjs/module/AffiseKeyValue.js +0 -12
  198. package/lib/commonjs/module/AffiseKeyValue.js.map +1 -1
  199. package/lib/commonjs/module/AffiseModules.js +1 -0
  200. package/lib/commonjs/module/AffiseModules.js.map +1 -1
  201. package/lib/commonjs/module/link/AffiseLinkCallback.js +2 -0
  202. package/lib/commonjs/module/link/AffiseLinkCallback.js.map +1 -0
  203. package/lib/commonjs/native/AffiseApiMethod.js +7 -4
  204. package/lib/commonjs/native/AffiseApiMethod.js.map +1 -1
  205. package/lib/commonjs/native/AffiseNative.js +49 -41
  206. package/lib/commonjs/native/AffiseNative.js.map +1 -1
  207. package/lib/commonjs/native/NativeBasePlatform.js +3 -1
  208. package/lib/commonjs/native/NativeBasePlatform.js.map +1 -1
  209. package/lib/commonjs/native/utils/DataMapper.js +33 -0
  210. package/lib/commonjs/native/utils/DataMapper.js.map +1 -0
  211. package/lib/commonjs/native/utils/DebugUtils.js +13 -11
  212. package/lib/commonjs/native/utils/DebugUtils.js.map +1 -1
  213. package/lib/module/Export.js +9 -1
  214. package/lib/module/Export.js.map +1 -1
  215. package/lib/module/deeplink/DeeplinkValue.js +25 -0
  216. package/lib/module/deeplink/DeeplinkValue.js.map +1 -0
  217. package/lib/module/deeplink/OnDeeplinkCallback.js +2 -0
  218. package/lib/module/events/base/AffiseCustomEventProps.js +2 -0
  219. package/lib/module/events/base/AffiseCustomEventProps.js.map +1 -0
  220. package/lib/module/events/base/AffiseEvent.js +1 -1
  221. package/lib/module/events/base/AffiseEvent.js.map +1 -1
  222. package/lib/module/events/base/AffiseEventProps.js +2 -0
  223. package/lib/module/events/base/AffiseEventProps.js.map +1 -0
  224. package/lib/module/events/base/NativeEvent.js +7 -2
  225. package/lib/module/events/base/NativeEvent.js.map +1 -1
  226. package/lib/module/events/custom/CustomId01Event.js +5 -7
  227. package/lib/module/events/custom/CustomId01Event.js.map +1 -1
  228. package/lib/module/events/custom/CustomId02Event.js +5 -7
  229. package/lib/module/events/custom/CustomId02Event.js.map +1 -1
  230. package/lib/module/events/custom/CustomId03Event.js +5 -7
  231. package/lib/module/events/custom/CustomId03Event.js.map +1 -1
  232. package/lib/module/events/custom/CustomId04Event.js +5 -7
  233. package/lib/module/events/custom/CustomId04Event.js.map +1 -1
  234. package/lib/module/events/custom/CustomId05Event.js +5 -7
  235. package/lib/module/events/custom/CustomId05Event.js.map +1 -1
  236. package/lib/module/events/custom/CustomId06Event.js +5 -7
  237. package/lib/module/events/custom/CustomId06Event.js.map +1 -1
  238. package/lib/module/events/custom/CustomId07Event.js +5 -7
  239. package/lib/module/events/custom/CustomId07Event.js.map +1 -1
  240. package/lib/module/events/custom/CustomId08Event.js +5 -7
  241. package/lib/module/events/custom/CustomId08Event.js.map +1 -1
  242. package/lib/module/events/custom/CustomId09Event.js +5 -7
  243. package/lib/module/events/custom/CustomId09Event.js.map +1 -1
  244. package/lib/module/events/custom/CustomId10Event.js +5 -7
  245. package/lib/module/events/custom/CustomId10Event.js.map +1 -1
  246. package/lib/module/events/custom/UserCustomEvent.js +2 -8
  247. package/lib/module/events/custom/UserCustomEvent.js.map +1 -1
  248. package/lib/module/events/custom/UserCustomSubscriptionEvent.js +10 -8
  249. package/lib/module/events/custom/UserCustomSubscriptionEvent.js.map +1 -1
  250. package/lib/module/events/predefined/AchieveLevelEvent.js +5 -6
  251. package/lib/module/events/predefined/AchieveLevelEvent.js.map +1 -1
  252. package/lib/module/events/predefined/AdRevenueEvent.js +5 -6
  253. package/lib/module/events/predefined/AdRevenueEvent.js.map +1 -1
  254. package/lib/module/events/predefined/AddPaymentInfoEvent.js +5 -6
  255. package/lib/module/events/predefined/AddPaymentInfoEvent.js.map +1 -1
  256. package/lib/module/events/predefined/AddToCartEvent.js +5 -6
  257. package/lib/module/events/predefined/AddToCartEvent.js.map +1 -1
  258. package/lib/module/events/predefined/AddToWishlistEvent.js +5 -6
  259. package/lib/module/events/predefined/AddToWishlistEvent.js.map +1 -1
  260. package/lib/module/events/predefined/ClickAdvEvent.js +5 -6
  261. package/lib/module/events/predefined/ClickAdvEvent.js.map +1 -1
  262. package/lib/module/events/predefined/CompleteRegistrationEvent.js +5 -6
  263. package/lib/module/events/predefined/CompleteRegistrationEvent.js.map +1 -1
  264. package/lib/module/events/predefined/CompleteStreamEvent.js +5 -6
  265. package/lib/module/events/predefined/CompleteStreamEvent.js.map +1 -1
  266. package/lib/module/events/predefined/CompleteTrialEvent.js +5 -6
  267. package/lib/module/events/predefined/CompleteTrialEvent.js.map +1 -1
  268. package/lib/module/events/predefined/CompleteTutorialEvent.js +5 -6
  269. package/lib/module/events/predefined/CompleteTutorialEvent.js.map +1 -1
  270. package/lib/module/events/predefined/ContactEvent.js +5 -6
  271. package/lib/module/events/predefined/ContactEvent.js.map +1 -1
  272. package/lib/module/events/predefined/ContentItemsViewEvent.js +5 -6
  273. package/lib/module/events/predefined/ContentItemsViewEvent.js.map +1 -1
  274. package/lib/module/events/predefined/CustomizeProductEvent.js +5 -6
  275. package/lib/module/events/predefined/CustomizeProductEvent.js.map +1 -1
  276. package/lib/module/events/predefined/DeepLinkedEvent.js +5 -6
  277. package/lib/module/events/predefined/DeepLinkedEvent.js.map +1 -1
  278. package/lib/module/events/predefined/DonateEvent.js +5 -6
  279. package/lib/module/events/predefined/DonateEvent.js.map +1 -1
  280. package/lib/module/events/predefined/FindLocationEvent.js +5 -6
  281. package/lib/module/events/predefined/FindLocationEvent.js.map +1 -1
  282. package/lib/module/events/predefined/InitiateCheckoutEvent.js +5 -6
  283. package/lib/module/events/predefined/InitiateCheckoutEvent.js.map +1 -1
  284. package/lib/module/events/predefined/InitiatePurchaseEvent.js +5 -6
  285. package/lib/module/events/predefined/InitiatePurchaseEvent.js.map +1 -1
  286. package/lib/module/events/predefined/InitiateStreamEvent.js +5 -6
  287. package/lib/module/events/predefined/InitiateStreamEvent.js.map +1 -1
  288. package/lib/module/events/predefined/InviteEvent.js +5 -6
  289. package/lib/module/events/predefined/InviteEvent.js.map +1 -1
  290. package/lib/module/events/predefined/LastAttributedTouchEvent.js +5 -6
  291. package/lib/module/events/predefined/LastAttributedTouchEvent.js.map +1 -1
  292. package/lib/module/events/predefined/LeadEvent.js +5 -6
  293. package/lib/module/events/predefined/LeadEvent.js.map +1 -1
  294. package/lib/module/events/predefined/ListViewEvent.js +5 -6
  295. package/lib/module/events/predefined/ListViewEvent.js.map +1 -1
  296. package/lib/module/events/predefined/LoginEvent.js +5 -6
  297. package/lib/module/events/predefined/LoginEvent.js.map +1 -1
  298. package/lib/module/events/predefined/OpenedFromPushNotificationEvent.js +5 -6
  299. package/lib/module/events/predefined/OpenedFromPushNotificationEvent.js.map +1 -1
  300. package/lib/module/events/predefined/OrderCancelEvent.js +5 -6
  301. package/lib/module/events/predefined/OrderCancelEvent.js.map +1 -1
  302. package/lib/module/events/predefined/OrderEvent.js +5 -6
  303. package/lib/module/events/predefined/OrderEvent.js.map +1 -1
  304. package/lib/module/events/predefined/OrderItemAddedEvent.js +5 -6
  305. package/lib/module/events/predefined/OrderItemAddedEvent.js.map +1 -1
  306. package/lib/module/events/predefined/OrderItemRemoveEvent.js +5 -6
  307. package/lib/module/events/predefined/OrderItemRemoveEvent.js.map +1 -1
  308. package/lib/module/events/predefined/OrderReturnRequestCancelEvent.js +5 -6
  309. package/lib/module/events/predefined/OrderReturnRequestCancelEvent.js.map +1 -1
  310. package/lib/module/events/predefined/OrderReturnRequestEvent.js +5 -6
  311. package/lib/module/events/predefined/OrderReturnRequestEvent.js.map +1 -1
  312. package/lib/module/events/predefined/PurchaseEvent.js +5 -6
  313. package/lib/module/events/predefined/PurchaseEvent.js.map +1 -1
  314. package/lib/module/events/predefined/RateEvent.js +5 -6
  315. package/lib/module/events/predefined/RateEvent.js.map +1 -1
  316. package/lib/module/events/predefined/ReEngageEvent.js +5 -6
  317. package/lib/module/events/predefined/ReEngageEvent.js.map +1 -1
  318. package/lib/module/events/predefined/ReserveEvent.js +5 -6
  319. package/lib/module/events/predefined/ReserveEvent.js.map +1 -1
  320. package/lib/module/events/predefined/SalesEvent.js +5 -6
  321. package/lib/module/events/predefined/SalesEvent.js.map +1 -1
  322. package/lib/module/events/predefined/ScheduleEvent.js +5 -6
  323. package/lib/module/events/predefined/ScheduleEvent.js.map +1 -1
  324. package/lib/module/events/predefined/SearchEvent.js +5 -6
  325. package/lib/module/events/predefined/SearchEvent.js.map +1 -1
  326. package/lib/module/events/predefined/ShareEvent.js +5 -6
  327. package/lib/module/events/predefined/ShareEvent.js.map +1 -1
  328. package/lib/module/events/predefined/SpendCreditsEvent.js +5 -6
  329. package/lib/module/events/predefined/SpendCreditsEvent.js.map +1 -1
  330. package/lib/module/events/predefined/StartRegistrationEvent.js +5 -6
  331. package/lib/module/events/predefined/StartRegistrationEvent.js.map +1 -1
  332. package/lib/module/events/predefined/StartTrialEvent.js +5 -6
  333. package/lib/module/events/predefined/StartTrialEvent.js.map +1 -1
  334. package/lib/module/events/predefined/StartTutorialEvent.js +5 -6
  335. package/lib/module/events/predefined/StartTutorialEvent.js.map +1 -1
  336. package/lib/module/events/predefined/SubmitApplicationEvent.js +5 -6
  337. package/lib/module/events/predefined/SubmitApplicationEvent.js.map +1 -1
  338. package/lib/module/events/predefined/SubscribeEvent.js +5 -6
  339. package/lib/module/events/predefined/SubscribeEvent.js.map +1 -1
  340. package/lib/module/events/predefined/TravelBookingEvent.js +5 -6
  341. package/lib/module/events/predefined/TravelBookingEvent.js.map +1 -1
  342. package/lib/module/events/predefined/UnlockAchievementEvent.js +5 -6
  343. package/lib/module/events/predefined/UnlockAchievementEvent.js.map +1 -1
  344. package/lib/module/events/predefined/UnsubscribeEvent.js +5 -6
  345. package/lib/module/events/predefined/UnsubscribeEvent.js.map +1 -1
  346. package/lib/module/events/predefined/UpdateEvent.js +5 -6
  347. package/lib/module/events/predefined/UpdateEvent.js.map +1 -1
  348. package/lib/module/events/predefined/ViewAdvEvent.js +5 -6
  349. package/lib/module/events/predefined/ViewAdvEvent.js.map +1 -1
  350. package/lib/module/events/predefined/ViewCartEvent.js +5 -6
  351. package/lib/module/events/predefined/ViewCartEvent.js.map +1 -1
  352. package/lib/module/events/predefined/ViewContentEvent.js +5 -6
  353. package/lib/module/events/predefined/ViewContentEvent.js.map +1 -1
  354. package/lib/module/events/predefined/ViewItemEvent.js +5 -6
  355. package/lib/module/events/predefined/ViewItemEvent.js.map +1 -1
  356. package/lib/module/events/predefined/ViewItemsEvent.js +5 -6
  357. package/lib/module/events/predefined/ViewItemsEvent.js.map +1 -1
  358. package/lib/module/events/subscription/AffiseCustomSubscriptionEventProps.js +2 -0
  359. package/lib/module/events/subscription/AffiseCustomSubscriptionEventProps.js.map +1 -0
  360. package/lib/module/events/subscription/AffiseSubscriptionEventProps.js +2 -0
  361. package/lib/module/events/subscription/AffiseSubscriptionEventProps.js.map +1 -0
  362. package/lib/module/events/subscription/BaseSubscriptionEvent.js +12 -3
  363. package/lib/module/events/subscription/BaseSubscriptionEvent.js.map +1 -1
  364. package/lib/module/events/subscription/ConvertedOfferEvent.js +6 -6
  365. package/lib/module/events/subscription/ConvertedOfferEvent.js.map +1 -1
  366. package/lib/module/events/subscription/ConvertedOfferFromRetryEvent.js +6 -6
  367. package/lib/module/events/subscription/ConvertedOfferFromRetryEvent.js.map +1 -1
  368. package/lib/module/events/subscription/ConvertedTrialEvent.js +6 -6
  369. package/lib/module/events/subscription/ConvertedTrialEvent.js.map +1 -1
  370. package/lib/module/events/subscription/ConvertedTrialFromRetryEvent.js +6 -6
  371. package/lib/module/events/subscription/ConvertedTrialFromRetryEvent.js.map +1 -1
  372. package/lib/module/events/subscription/FailedOfferFromRetryEvent.js +6 -6
  373. package/lib/module/events/subscription/FailedOfferFromRetryEvent.js.map +1 -1
  374. package/lib/module/events/subscription/FailedOfferiseEvent.js +6 -6
  375. package/lib/module/events/subscription/FailedOfferiseEvent.js.map +1 -1
  376. package/lib/module/events/subscription/FailedSubscriptionEvent.js +6 -6
  377. package/lib/module/events/subscription/FailedSubscriptionEvent.js.map +1 -1
  378. package/lib/module/events/subscription/FailedSubscriptionFromRetryEvent.js +6 -6
  379. package/lib/module/events/subscription/FailedSubscriptionFromRetryEvent.js.map +1 -1
  380. package/lib/module/events/subscription/FailedTrialEvent.js +6 -6
  381. package/lib/module/events/subscription/FailedTrialEvent.js.map +1 -1
  382. package/lib/module/events/subscription/FailedTrialFromRetryEvent.js +6 -6
  383. package/lib/module/events/subscription/FailedTrialFromRetryEvent.js.map +1 -1
  384. package/lib/module/events/subscription/InitialOfferEvent.js +6 -6
  385. package/lib/module/events/subscription/InitialOfferEvent.js.map +1 -1
  386. package/lib/module/events/subscription/InitialSubscriptionEvent.js +6 -6
  387. package/lib/module/events/subscription/InitialSubscriptionEvent.js.map +1 -1
  388. package/lib/module/events/subscription/InitialTrialEvent.js +6 -6
  389. package/lib/module/events/subscription/InitialTrialEvent.js.map +1 -1
  390. package/lib/module/events/subscription/OfferInRetryEvent.js +6 -6
  391. package/lib/module/events/subscription/OfferInRetryEvent.js.map +1 -1
  392. package/lib/module/events/subscription/ReactivatedSubscriptionEvent.js +6 -6
  393. package/lib/module/events/subscription/ReactivatedSubscriptionEvent.js.map +1 -1
  394. package/lib/module/events/subscription/RenewedSubscriptionEvent.js +6 -6
  395. package/lib/module/events/subscription/RenewedSubscriptionEvent.js.map +1 -1
  396. package/lib/module/events/subscription/RenewedSubscriptionFromRetryEvent.js +6 -6
  397. package/lib/module/events/subscription/RenewedSubscriptionFromRetryEvent.js.map +1 -1
  398. package/lib/module/events/subscription/SubscriptionInRetryEvent.js +6 -6
  399. package/lib/module/events/subscription/SubscriptionInRetryEvent.js.map +1 -1
  400. package/lib/module/events/subscription/TrialInRetryEvent.js +6 -6
  401. package/lib/module/events/subscription/TrialInRetryEvent.js.map +1 -1
  402. package/lib/module/events/subscription/UnsubscriptionEvent.js +6 -6
  403. package/lib/module/events/subscription/UnsubscriptionEvent.js.map +1 -1
  404. package/lib/module/index.js +40 -3
  405. package/lib/module/index.js.map +1 -1
  406. package/lib/module/module/AffiseKeyValue.js +0 -11
  407. package/lib/module/module/AffiseKeyValue.js.map +1 -1
  408. package/lib/module/module/AffiseModules.js +1 -0
  409. package/lib/module/module/AffiseModules.js.map +1 -1
  410. package/lib/module/module/link/AffiseLinkCallback.js +2 -0
  411. package/lib/module/module/link/AffiseLinkCallback.js.map +1 -0
  412. package/lib/module/native/AffiseApiMethod.js +7 -4
  413. package/lib/module/native/AffiseApiMethod.js.map +1 -1
  414. package/lib/module/native/AffiseNative.js +49 -41
  415. package/lib/module/native/AffiseNative.js.map +1 -1
  416. package/lib/module/native/NativeBasePlatform.js +3 -1
  417. package/lib/module/native/NativeBasePlatform.js.map +1 -1
  418. package/lib/module/native/utils/DataMapper.js +26 -0
  419. package/lib/module/native/utils/DataMapper.js.map +1 -0
  420. package/lib/module/native/utils/DebugUtils.js +13 -11
  421. package/lib/module/native/utils/DebugUtils.js.map +1 -1
  422. package/lib/typescript/Export.d.ts +9 -1
  423. package/lib/typescript/Export.d.ts.map +1 -1
  424. package/lib/typescript/deeplink/DeeplinkValue.d.ts +10 -0
  425. package/lib/typescript/deeplink/DeeplinkValue.d.ts.map +1 -0
  426. package/lib/typescript/deeplink/OnDeeplinkCallback.d.ts +3 -0
  427. package/lib/typescript/deeplink/OnDeeplinkCallback.d.ts.map +1 -0
  428. package/lib/typescript/events/base/AffiseCustomEventProps.d.ts +5 -0
  429. package/lib/typescript/events/base/AffiseCustomEventProps.d.ts.map +1 -0
  430. package/lib/typescript/events/base/AffiseEvent.d.ts +1 -1
  431. package/lib/typescript/events/base/AffiseEvent.d.ts.map +1 -1
  432. package/lib/typescript/events/base/AffiseEventProps.d.ts +5 -0
  433. package/lib/typescript/events/base/AffiseEventProps.d.ts.map +1 -0
  434. package/lib/typescript/events/base/NativeEvent.d.ts +2 -1
  435. package/lib/typescript/events/base/NativeEvent.d.ts.map +1 -1
  436. package/lib/typescript/events/custom/CustomId01Event.d.ts +2 -4
  437. package/lib/typescript/events/custom/CustomId01Event.d.ts.map +1 -1
  438. package/lib/typescript/events/custom/CustomId02Event.d.ts +2 -4
  439. package/lib/typescript/events/custom/CustomId02Event.d.ts.map +1 -1
  440. package/lib/typescript/events/custom/CustomId03Event.d.ts +2 -4
  441. package/lib/typescript/events/custom/CustomId03Event.d.ts.map +1 -1
  442. package/lib/typescript/events/custom/CustomId04Event.d.ts +2 -4
  443. package/lib/typescript/events/custom/CustomId04Event.d.ts.map +1 -1
  444. package/lib/typescript/events/custom/CustomId05Event.d.ts +2 -4
  445. package/lib/typescript/events/custom/CustomId05Event.d.ts.map +1 -1
  446. package/lib/typescript/events/custom/CustomId06Event.d.ts +2 -4
  447. package/lib/typescript/events/custom/CustomId06Event.d.ts.map +1 -1
  448. package/lib/typescript/events/custom/CustomId07Event.d.ts +2 -4
  449. package/lib/typescript/events/custom/CustomId07Event.d.ts.map +1 -1
  450. package/lib/typescript/events/custom/CustomId08Event.d.ts +2 -4
  451. package/lib/typescript/events/custom/CustomId08Event.d.ts.map +1 -1
  452. package/lib/typescript/events/custom/CustomId09Event.d.ts +2 -4
  453. package/lib/typescript/events/custom/CustomId09Event.d.ts.map +1 -1
  454. package/lib/typescript/events/custom/CustomId10Event.d.ts +2 -4
  455. package/lib/typescript/events/custom/CustomId10Event.d.ts.map +1 -1
  456. package/lib/typescript/events/custom/UserCustomEvent.d.ts +2 -5
  457. package/lib/typescript/events/custom/UserCustomEvent.d.ts.map +1 -1
  458. package/lib/typescript/events/custom/UserCustomSubscriptionEvent.d.ts +10 -6
  459. package/lib/typescript/events/custom/UserCustomSubscriptionEvent.d.ts.map +1 -1
  460. package/lib/typescript/events/predefined/AchieveLevelEvent.d.ts +2 -4
  461. package/lib/typescript/events/predefined/AchieveLevelEvent.d.ts.map +1 -1
  462. package/lib/typescript/events/predefined/AdRevenueEvent.d.ts +2 -4
  463. package/lib/typescript/events/predefined/AdRevenueEvent.d.ts.map +1 -1
  464. package/lib/typescript/events/predefined/AddPaymentInfoEvent.d.ts +2 -4
  465. package/lib/typescript/events/predefined/AddPaymentInfoEvent.d.ts.map +1 -1
  466. package/lib/typescript/events/predefined/AddToCartEvent.d.ts +2 -4
  467. package/lib/typescript/events/predefined/AddToCartEvent.d.ts.map +1 -1
  468. package/lib/typescript/events/predefined/AddToWishlistEvent.d.ts +2 -4
  469. package/lib/typescript/events/predefined/AddToWishlistEvent.d.ts.map +1 -1
  470. package/lib/typescript/events/predefined/ClickAdvEvent.d.ts +2 -4
  471. package/lib/typescript/events/predefined/ClickAdvEvent.d.ts.map +1 -1
  472. package/lib/typescript/events/predefined/CompleteRegistrationEvent.d.ts +2 -4
  473. package/lib/typescript/events/predefined/CompleteRegistrationEvent.d.ts.map +1 -1
  474. package/lib/typescript/events/predefined/CompleteStreamEvent.d.ts +2 -4
  475. package/lib/typescript/events/predefined/CompleteStreamEvent.d.ts.map +1 -1
  476. package/lib/typescript/events/predefined/CompleteTrialEvent.d.ts +2 -4
  477. package/lib/typescript/events/predefined/CompleteTrialEvent.d.ts.map +1 -1
  478. package/lib/typescript/events/predefined/CompleteTutorialEvent.d.ts +2 -4
  479. package/lib/typescript/events/predefined/CompleteTutorialEvent.d.ts.map +1 -1
  480. package/lib/typescript/events/predefined/ContactEvent.d.ts +2 -4
  481. package/lib/typescript/events/predefined/ContactEvent.d.ts.map +1 -1
  482. package/lib/typescript/events/predefined/ContentItemsViewEvent.d.ts +2 -4
  483. package/lib/typescript/events/predefined/ContentItemsViewEvent.d.ts.map +1 -1
  484. package/lib/typescript/events/predefined/CustomizeProductEvent.d.ts +2 -4
  485. package/lib/typescript/events/predefined/CustomizeProductEvent.d.ts.map +1 -1
  486. package/lib/typescript/events/predefined/DeepLinkedEvent.d.ts +2 -4
  487. package/lib/typescript/events/predefined/DeepLinkedEvent.d.ts.map +1 -1
  488. package/lib/typescript/events/predefined/DonateEvent.d.ts +2 -4
  489. package/lib/typescript/events/predefined/DonateEvent.d.ts.map +1 -1
  490. package/lib/typescript/events/predefined/FindLocationEvent.d.ts +2 -4
  491. package/lib/typescript/events/predefined/FindLocationEvent.d.ts.map +1 -1
  492. package/lib/typescript/events/predefined/InitiateCheckoutEvent.d.ts +2 -4
  493. package/lib/typescript/events/predefined/InitiateCheckoutEvent.d.ts.map +1 -1
  494. package/lib/typescript/events/predefined/InitiatePurchaseEvent.d.ts +2 -4
  495. package/lib/typescript/events/predefined/InitiatePurchaseEvent.d.ts.map +1 -1
  496. package/lib/typescript/events/predefined/InitiateStreamEvent.d.ts +2 -4
  497. package/lib/typescript/events/predefined/InitiateStreamEvent.d.ts.map +1 -1
  498. package/lib/typescript/events/predefined/InviteEvent.d.ts +2 -4
  499. package/lib/typescript/events/predefined/InviteEvent.d.ts.map +1 -1
  500. package/lib/typescript/events/predefined/LastAttributedTouchEvent.d.ts +2 -4
  501. package/lib/typescript/events/predefined/LastAttributedTouchEvent.d.ts.map +1 -1
  502. package/lib/typescript/events/predefined/LeadEvent.d.ts +2 -4
  503. package/lib/typescript/events/predefined/LeadEvent.d.ts.map +1 -1
  504. package/lib/typescript/events/predefined/ListViewEvent.d.ts +2 -4
  505. package/lib/typescript/events/predefined/ListViewEvent.d.ts.map +1 -1
  506. package/lib/typescript/events/predefined/LoginEvent.d.ts +2 -4
  507. package/lib/typescript/events/predefined/LoginEvent.d.ts.map +1 -1
  508. package/lib/typescript/events/predefined/OpenedFromPushNotificationEvent.d.ts +2 -4
  509. package/lib/typescript/events/predefined/OpenedFromPushNotificationEvent.d.ts.map +1 -1
  510. package/lib/typescript/events/predefined/OrderCancelEvent.d.ts +2 -4
  511. package/lib/typescript/events/predefined/OrderCancelEvent.d.ts.map +1 -1
  512. package/lib/typescript/events/predefined/OrderEvent.d.ts +2 -4
  513. package/lib/typescript/events/predefined/OrderEvent.d.ts.map +1 -1
  514. package/lib/typescript/events/predefined/OrderItemAddedEvent.d.ts +2 -4
  515. package/lib/typescript/events/predefined/OrderItemAddedEvent.d.ts.map +1 -1
  516. package/lib/typescript/events/predefined/OrderItemRemoveEvent.d.ts +2 -4
  517. package/lib/typescript/events/predefined/OrderItemRemoveEvent.d.ts.map +1 -1
  518. package/lib/typescript/events/predefined/OrderReturnRequestCancelEvent.d.ts +2 -4
  519. package/lib/typescript/events/predefined/OrderReturnRequestCancelEvent.d.ts.map +1 -1
  520. package/lib/typescript/events/predefined/OrderReturnRequestEvent.d.ts +2 -4
  521. package/lib/typescript/events/predefined/OrderReturnRequestEvent.d.ts.map +1 -1
  522. package/lib/typescript/events/predefined/PurchaseEvent.d.ts +2 -4
  523. package/lib/typescript/events/predefined/PurchaseEvent.d.ts.map +1 -1
  524. package/lib/typescript/events/predefined/RateEvent.d.ts +2 -4
  525. package/lib/typescript/events/predefined/RateEvent.d.ts.map +1 -1
  526. package/lib/typescript/events/predefined/ReEngageEvent.d.ts +2 -4
  527. package/lib/typescript/events/predefined/ReEngageEvent.d.ts.map +1 -1
  528. package/lib/typescript/events/predefined/ReserveEvent.d.ts +2 -4
  529. package/lib/typescript/events/predefined/ReserveEvent.d.ts.map +1 -1
  530. package/lib/typescript/events/predefined/SalesEvent.d.ts +2 -4
  531. package/lib/typescript/events/predefined/SalesEvent.d.ts.map +1 -1
  532. package/lib/typescript/events/predefined/ScheduleEvent.d.ts +2 -4
  533. package/lib/typescript/events/predefined/ScheduleEvent.d.ts.map +1 -1
  534. package/lib/typescript/events/predefined/SearchEvent.d.ts +2 -4
  535. package/lib/typescript/events/predefined/SearchEvent.d.ts.map +1 -1
  536. package/lib/typescript/events/predefined/ShareEvent.d.ts +2 -4
  537. package/lib/typescript/events/predefined/ShareEvent.d.ts.map +1 -1
  538. package/lib/typescript/events/predefined/SpendCreditsEvent.d.ts +2 -4
  539. package/lib/typescript/events/predefined/SpendCreditsEvent.d.ts.map +1 -1
  540. package/lib/typescript/events/predefined/StartRegistrationEvent.d.ts +2 -4
  541. package/lib/typescript/events/predefined/StartRegistrationEvent.d.ts.map +1 -1
  542. package/lib/typescript/events/predefined/StartTrialEvent.d.ts +2 -4
  543. package/lib/typescript/events/predefined/StartTrialEvent.d.ts.map +1 -1
  544. package/lib/typescript/events/predefined/StartTutorialEvent.d.ts +2 -4
  545. package/lib/typescript/events/predefined/StartTutorialEvent.d.ts.map +1 -1
  546. package/lib/typescript/events/predefined/SubmitApplicationEvent.d.ts +2 -4
  547. package/lib/typescript/events/predefined/SubmitApplicationEvent.d.ts.map +1 -1
  548. package/lib/typescript/events/predefined/SubscribeEvent.d.ts +2 -4
  549. package/lib/typescript/events/predefined/SubscribeEvent.d.ts.map +1 -1
  550. package/lib/typescript/events/predefined/TravelBookingEvent.d.ts +2 -4
  551. package/lib/typescript/events/predefined/TravelBookingEvent.d.ts.map +1 -1
  552. package/lib/typescript/events/predefined/UnlockAchievementEvent.d.ts +2 -4
  553. package/lib/typescript/events/predefined/UnlockAchievementEvent.d.ts.map +1 -1
  554. package/lib/typescript/events/predefined/UnsubscribeEvent.d.ts +2 -4
  555. package/lib/typescript/events/predefined/UnsubscribeEvent.d.ts.map +1 -1
  556. package/lib/typescript/events/predefined/UpdateEvent.d.ts +2 -4
  557. package/lib/typescript/events/predefined/UpdateEvent.d.ts.map +1 -1
  558. package/lib/typescript/events/predefined/ViewAdvEvent.d.ts +2 -4
  559. package/lib/typescript/events/predefined/ViewAdvEvent.d.ts.map +1 -1
  560. package/lib/typescript/events/predefined/ViewCartEvent.d.ts +2 -4
  561. package/lib/typescript/events/predefined/ViewCartEvent.d.ts.map +1 -1
  562. package/lib/typescript/events/predefined/ViewContentEvent.d.ts +2 -4
  563. package/lib/typescript/events/predefined/ViewContentEvent.d.ts.map +1 -1
  564. package/lib/typescript/events/predefined/ViewItemEvent.d.ts +2 -4
  565. package/lib/typescript/events/predefined/ViewItemEvent.d.ts.map +1 -1
  566. package/lib/typescript/events/predefined/ViewItemsEvent.d.ts +2 -4
  567. package/lib/typescript/events/predefined/ViewItemsEvent.d.ts.map +1 -1
  568. package/lib/typescript/events/subscription/AffiseCustomSubscriptionEventProps.d.ts +6 -0
  569. package/lib/typescript/events/subscription/AffiseCustomSubscriptionEventProps.d.ts.map +1 -0
  570. package/lib/typescript/events/subscription/AffiseSubscriptionEventProps.d.ts +5 -0
  571. package/lib/typescript/events/subscription/AffiseSubscriptionEventProps.d.ts.map +1 -0
  572. package/lib/typescript/events/subscription/BaseSubscriptionEvent.d.ts +2 -1
  573. package/lib/typescript/events/subscription/BaseSubscriptionEvent.d.ts.map +1 -1
  574. package/lib/typescript/events/subscription/ConvertedOfferEvent.d.ts +2 -4
  575. package/lib/typescript/events/subscription/ConvertedOfferEvent.d.ts.map +1 -1
  576. package/lib/typescript/events/subscription/ConvertedOfferFromRetryEvent.d.ts +2 -4
  577. package/lib/typescript/events/subscription/ConvertedOfferFromRetryEvent.d.ts.map +1 -1
  578. package/lib/typescript/events/subscription/ConvertedTrialEvent.d.ts +2 -4
  579. package/lib/typescript/events/subscription/ConvertedTrialEvent.d.ts.map +1 -1
  580. package/lib/typescript/events/subscription/ConvertedTrialFromRetryEvent.d.ts +2 -4
  581. package/lib/typescript/events/subscription/ConvertedTrialFromRetryEvent.d.ts.map +1 -1
  582. package/lib/typescript/events/subscription/FailedOfferFromRetryEvent.d.ts +2 -4
  583. package/lib/typescript/events/subscription/FailedOfferFromRetryEvent.d.ts.map +1 -1
  584. package/lib/typescript/events/subscription/FailedOfferiseEvent.d.ts +2 -4
  585. package/lib/typescript/events/subscription/FailedOfferiseEvent.d.ts.map +1 -1
  586. package/lib/typescript/events/subscription/FailedSubscriptionEvent.d.ts +2 -4
  587. package/lib/typescript/events/subscription/FailedSubscriptionEvent.d.ts.map +1 -1
  588. package/lib/typescript/events/subscription/FailedSubscriptionFromRetryEvent.d.ts +2 -4
  589. package/lib/typescript/events/subscription/FailedSubscriptionFromRetryEvent.d.ts.map +1 -1
  590. package/lib/typescript/events/subscription/FailedTrialEvent.d.ts +2 -4
  591. package/lib/typescript/events/subscription/FailedTrialEvent.d.ts.map +1 -1
  592. package/lib/typescript/events/subscription/FailedTrialFromRetryEvent.d.ts +2 -4
  593. package/lib/typescript/events/subscription/FailedTrialFromRetryEvent.d.ts.map +1 -1
  594. package/lib/typescript/events/subscription/InitialOfferEvent.d.ts +2 -4
  595. package/lib/typescript/events/subscription/InitialOfferEvent.d.ts.map +1 -1
  596. package/lib/typescript/events/subscription/InitialSubscriptionEvent.d.ts +2 -4
  597. package/lib/typescript/events/subscription/InitialSubscriptionEvent.d.ts.map +1 -1
  598. package/lib/typescript/events/subscription/InitialTrialEvent.d.ts +2 -4
  599. package/lib/typescript/events/subscription/InitialTrialEvent.d.ts.map +1 -1
  600. package/lib/typescript/events/subscription/OfferInRetryEvent.d.ts +2 -4
  601. package/lib/typescript/events/subscription/OfferInRetryEvent.d.ts.map +1 -1
  602. package/lib/typescript/events/subscription/ReactivatedSubscriptionEvent.d.ts +2 -4
  603. package/lib/typescript/events/subscription/ReactivatedSubscriptionEvent.d.ts.map +1 -1
  604. package/lib/typescript/events/subscription/RenewedSubscriptionEvent.d.ts +2 -4
  605. package/lib/typescript/events/subscription/RenewedSubscriptionEvent.d.ts.map +1 -1
  606. package/lib/typescript/events/subscription/RenewedSubscriptionFromRetryEvent.d.ts +2 -4
  607. package/lib/typescript/events/subscription/RenewedSubscriptionFromRetryEvent.d.ts.map +1 -1
  608. package/lib/typescript/events/subscription/SubscriptionInRetryEvent.d.ts +2 -4
  609. package/lib/typescript/events/subscription/SubscriptionInRetryEvent.d.ts.map +1 -1
  610. package/lib/typescript/events/subscription/TrialInRetryEvent.d.ts +2 -4
  611. package/lib/typescript/events/subscription/TrialInRetryEvent.d.ts.map +1 -1
  612. package/lib/typescript/events/subscription/UnsubscriptionEvent.d.ts +2 -4
  613. package/lib/typescript/events/subscription/UnsubscriptionEvent.d.ts.map +1 -1
  614. package/lib/typescript/index.d.ts +28 -3
  615. package/lib/typescript/index.d.ts.map +1 -1
  616. package/lib/typescript/module/AffiseKeyValue.d.ts +0 -1
  617. package/lib/typescript/module/AffiseKeyValue.d.ts.map +1 -1
  618. package/lib/typescript/module/AffiseModules.d.ts +1 -0
  619. package/lib/typescript/module/AffiseModules.d.ts.map +1 -1
  620. package/lib/typescript/module/link/AffiseLinkCallback.d.ts +2 -0
  621. package/lib/typescript/module/link/AffiseLinkCallback.d.ts.map +1 -0
  622. package/lib/typescript/native/AffiseApiMethod.d.ts +5 -4
  623. package/lib/typescript/native/AffiseApiMethod.d.ts.map +1 -1
  624. package/lib/typescript/native/AffiseNative.d.ts +10 -4
  625. package/lib/typescript/native/AffiseNative.d.ts.map +1 -1
  626. package/lib/typescript/native/NativeBasePlatform.d.ts.map +1 -1
  627. package/lib/typescript/native/utils/DataMapper.d.ts +8 -0
  628. package/lib/typescript/native/utils/DataMapper.d.ts.map +1 -0
  629. package/lib/typescript/native/utils/DebugUtils.d.ts +4 -3
  630. package/lib/typescript/native/utils/DebugUtils.d.ts.map +1 -1
  631. package/package.json +1 -1
  632. package/src/Export.ts +11 -1
  633. package/src/deeplink/DeeplinkValue.ts +26 -0
  634. package/src/deeplink/OnDeeplinkCallback.ts +3 -0
  635. package/src/events/base/AffiseCustomEventProps.ts +5 -0
  636. package/src/events/base/AffiseEvent.ts +2 -2
  637. package/src/events/base/AffiseEventProps.ts +4 -0
  638. package/src/events/base/NativeEvent.ts +3 -2
  639. package/src/events/custom/CustomId01Event.ts +3 -2
  640. package/src/events/custom/CustomId02Event.ts +3 -2
  641. package/src/events/custom/CustomId03Event.ts +3 -2
  642. package/src/events/custom/CustomId04Event.ts +3 -2
  643. package/src/events/custom/CustomId05Event.ts +3 -2
  644. package/src/events/custom/CustomId06Event.ts +3 -2
  645. package/src/events/custom/CustomId07Event.ts +3 -2
  646. package/src/events/custom/CustomId08Event.ts +3 -2
  647. package/src/events/custom/CustomId09Event.ts +3 -2
  648. package/src/events/custom/CustomId10Event.ts +3 -2
  649. package/src/events/custom/UserCustomEvent.ts +3 -3
  650. package/src/events/custom/UserCustomSubscriptionEvent.ts +11 -7
  651. package/src/events/predefined/AchieveLevelEvent.ts +3 -2
  652. package/src/events/predefined/AdRevenueEvent.ts +3 -2
  653. package/src/events/predefined/AddPaymentInfoEvent.ts +3 -2
  654. package/src/events/predefined/AddToCartEvent.ts +3 -2
  655. package/src/events/predefined/AddToWishlistEvent.ts +3 -2
  656. package/src/events/predefined/ClickAdvEvent.ts +3 -2
  657. package/src/events/predefined/CompleteRegistrationEvent.ts +3 -2
  658. package/src/events/predefined/CompleteStreamEvent.ts +3 -2
  659. package/src/events/predefined/CompleteTrialEvent.ts +3 -2
  660. package/src/events/predefined/CompleteTutorialEvent.ts +3 -2
  661. package/src/events/predefined/ContactEvent.ts +3 -2
  662. package/src/events/predefined/ContentItemsViewEvent.ts +3 -2
  663. package/src/events/predefined/CustomizeProductEvent.ts +3 -2
  664. package/src/events/predefined/DeepLinkedEvent.ts +3 -2
  665. package/src/events/predefined/DonateEvent.ts +3 -2
  666. package/src/events/predefined/FindLocationEvent.ts +3 -2
  667. package/src/events/predefined/InitiateCheckoutEvent.ts +3 -2
  668. package/src/events/predefined/InitiatePurchaseEvent.ts +3 -2
  669. package/src/events/predefined/InitiateStreamEvent.ts +3 -2
  670. package/src/events/predefined/InviteEvent.ts +3 -2
  671. package/src/events/predefined/LastAttributedTouchEvent.ts +3 -2
  672. package/src/events/predefined/LeadEvent.ts +3 -2
  673. package/src/events/predefined/ListViewEvent.ts +3 -2
  674. package/src/events/predefined/LoginEvent.ts +3 -2
  675. package/src/events/predefined/OpenedFromPushNotificationEvent.ts +3 -2
  676. package/src/events/predefined/OrderCancelEvent.ts +3 -2
  677. package/src/events/predefined/OrderEvent.ts +3 -2
  678. package/src/events/predefined/OrderItemAddedEvent.ts +3 -2
  679. package/src/events/predefined/OrderItemRemoveEvent.ts +3 -2
  680. package/src/events/predefined/OrderReturnRequestCancelEvent.ts +3 -2
  681. package/src/events/predefined/OrderReturnRequestEvent.ts +3 -2
  682. package/src/events/predefined/PurchaseEvent.ts +3 -2
  683. package/src/events/predefined/RateEvent.ts +3 -2
  684. package/src/events/predefined/ReEngageEvent.ts +3 -2
  685. package/src/events/predefined/ReserveEvent.ts +3 -2
  686. package/src/events/predefined/SalesEvent.ts +3 -2
  687. package/src/events/predefined/ScheduleEvent.ts +3 -2
  688. package/src/events/predefined/SearchEvent.ts +3 -2
  689. package/src/events/predefined/ShareEvent.ts +3 -2
  690. package/src/events/predefined/SpendCreditsEvent.ts +3 -2
  691. package/src/events/predefined/StartRegistrationEvent.ts +3 -2
  692. package/src/events/predefined/StartTrialEvent.ts +3 -2
  693. package/src/events/predefined/StartTutorialEvent.ts +3 -2
  694. package/src/events/predefined/SubmitApplicationEvent.ts +3 -2
  695. package/src/events/predefined/SubscribeEvent.ts +3 -2
  696. package/src/events/predefined/TravelBookingEvent.ts +3 -2
  697. package/src/events/predefined/UnlockAchievementEvent.ts +3 -2
  698. package/src/events/predefined/UnsubscribeEvent.ts +3 -2
  699. package/src/events/predefined/UpdateEvent.ts +3 -2
  700. package/src/events/predefined/ViewAdvEvent.ts +3 -2
  701. package/src/events/predefined/ViewCartEvent.ts +3 -2
  702. package/src/events/predefined/ViewContentEvent.ts +3 -2
  703. package/src/events/predefined/ViewItemEvent.ts +3 -2
  704. package/src/events/predefined/ViewItemsEvent.ts +3 -2
  705. package/src/events/subscription/AffiseCustomSubscriptionEventProps.ts +6 -0
  706. package/src/events/subscription/AffiseSubscriptionEventProps.ts +4 -0
  707. package/src/events/subscription/BaseSubscriptionEvent.ts +4 -8
  708. package/src/events/subscription/ConvertedOfferEvent.ts +7 -7
  709. package/src/events/subscription/ConvertedOfferFromRetryEvent.ts +7 -7
  710. package/src/events/subscription/ConvertedTrialEvent.ts +7 -7
  711. package/src/events/subscription/ConvertedTrialFromRetryEvent.ts +7 -7
  712. package/src/events/subscription/FailedOfferFromRetryEvent.ts +7 -7
  713. package/src/events/subscription/FailedOfferiseEvent.ts +7 -7
  714. package/src/events/subscription/FailedSubscriptionEvent.ts +7 -7
  715. package/src/events/subscription/FailedSubscriptionFromRetryEvent.ts +7 -7
  716. package/src/events/subscription/FailedTrialEvent.ts +7 -7
  717. package/src/events/subscription/FailedTrialFromRetryEvent.ts +7 -7
  718. package/src/events/subscription/InitialOfferEvent.ts +7 -7
  719. package/src/events/subscription/InitialSubscriptionEvent.ts +7 -7
  720. package/src/events/subscription/InitialTrialEvent.ts +7 -7
  721. package/src/events/subscription/OfferInRetryEvent.ts +7 -7
  722. package/src/events/subscription/ReactivatedSubscriptionEvent.ts +7 -7
  723. package/src/events/subscription/RenewedSubscriptionEvent.ts +7 -7
  724. package/src/events/subscription/RenewedSubscriptionFromRetryEvent.ts +7 -7
  725. package/src/events/subscription/SubscriptionInRetryEvent.ts +7 -7
  726. package/src/events/subscription/TrialInRetryEvent.ts +7 -7
  727. package/src/events/subscription/UnsubscriptionEvent.ts +7 -7
  728. package/src/index.ts +46 -6
  729. package/src/module/AffiseKeyValue.ts +0 -15
  730. package/src/module/AffiseModules.ts +1 -0
  731. package/src/module/link/AffiseLinkCallback.ts +1 -0
  732. package/src/native/AffiseApiMethod.ts +12 -3
  733. package/src/native/AffiseNative.ts +62 -39
  734. package/src/native/NativeBasePlatform.ts +3 -1
  735. package/src/native/utils/DataMapper.ts +37 -0
  736. package/src/native/utils/DebugUtils.ts +14 -13
  737. package/lib/commonjs/callback/OnDeeplinkCallback.js +0 -2
  738. package/lib/module/callback/OnDeeplinkCallback.js +0 -2
  739. package/lib/typescript/callback/OnDeeplinkCallback.d.ts +0 -2
  740. package/lib/typescript/callback/OnDeeplinkCallback.d.ts.map +0 -1
  741. package/src/callback/OnDeeplinkCallback.ts +0 -1
  742. /package/lib/commonjs/{callback → deeplink}/OnDeeplinkCallback.js.map +0 -0
  743. /package/lib/module/{callback → deeplink}/OnDeeplinkCallback.js.map +0 -0
@@ -1,7 +1,5 @@
1
- import type { AffiseEvent, AffiseInitPropertiesType, AffiseInitProperties, AutoCatchingType, ReferrerKey, CoarseValue, AffiseModules, ReferrerCallback, OnKeyValueCallback, ErrorCallback, OnDeeplinkCallback, DebugOnValidateCallback, DebugOnNetworkCallback } from "./Export";
1
+ import type { AffiseEvent, AffiseInitPropertiesType, AffiseInitProperties, AutoCatchingType, ReferrerKey, CoarseValue, AffiseModules, ReferrerCallback, OnKeyValueCallback, ErrorCallback, OnDeeplinkCallback, DebugOnValidateCallback, DebugOnNetworkCallback, OnSendSuccessCallback, OnSendFailedCallback, AffiseLinkCallback } from "./Export";
2
2
  import { AffiseSettings } from "./Export";
3
- import type { OnSendSuccessCallback } from "./events/OnSendSuccessCallback";
4
- import type { OnSendFailedCallback } from "./events/OnSendFailedCallback";
5
3
  export * from "./Export";
6
4
  /**
7
5
  * Entry point to initialise Affise Attribution library
@@ -82,17 +80,20 @@ export declare class Affise {
82
80
  */
83
81
  static isTrackingEnabled(): Promise<boolean>;
84
82
  /**
83
+ * @deprecated use Affise.module.getStatus
85
84
  * Get module status
86
85
  * @param module module name
87
86
  * @param callback status response
88
87
  */
89
88
  static getStatus(module: AffiseModules, callback: OnKeyValueCallback): void;
90
89
  /**
90
+ * @deprecated use Affise.module.moduleStart
91
91
  * Manual module start
92
92
  * @param module module name
93
93
  */
94
94
  static moduleStart(module: AffiseModules): Promise<boolean>;
95
95
  /**
96
+ * @deprecated use Affise.module.getModulesInstalled
96
97
  * Get installed modules
97
98
  */
98
99
  static getModulesInstalled(): Promise<AffiseModules[]>;
@@ -146,6 +147,30 @@ export declare class Affise {
146
147
  */
147
148
  updatePostbackConversionValue(fineValue: bigint, coarseValue: CoarseValue, completionHandler: ErrorCallback): void;
148
149
  };
150
+ static module: {
151
+ new (): {};
152
+ /**
153
+ * Get module status
154
+ * @param module module name
155
+ * @param callback status response
156
+ */
157
+ getStatus(module: AffiseModules, callback: OnKeyValueCallback): void;
158
+ /**
159
+ * Manual module start
160
+ * @param module module name
161
+ */
162
+ moduleStart(module: AffiseModules): Promise<boolean>;
163
+ /**
164
+ * Get installed modules
165
+ */
166
+ getModulesInstalled(): Promise<AffiseModules[]>;
167
+ /**
168
+ * Module Link url Resolve
169
+ * @param url url
170
+ * @param callback redirected url
171
+ */
172
+ linkResolve(url: string, callback: AffiseLinkCallback): void;
173
+ };
149
174
  static debug: {
150
175
  new (): {};
151
176
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,wBAAwB,EACxB,oBAAoB,EACpB,gBAAgB,EAChB,WAAW,EACX,WAAW,EACX,aAAa,EACb,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,kBAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACzB,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAC,cAAc,EAAC,MAAM,UAAU,CAAC;AACxC,OAAO,KAAK,EAAC,qBAAqB,EAAC,MAAM,gCAAgC,CAAC;AAC1E,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,+BAA+B,CAAC;AAExE,cAAc,UAAU,CAAC;AAEzB;;GAEG;AACH,qBAAa,MAAM;IAEf,OAAO,CAAC,MAAM,CAAC,MAAM,CAAsB;IAE3C;;;;;;OAMG;IACH,MAAM,CAAC,QAAQ,CAAC,EAAC,WAAW,EAAE,SAAS,EAAC,EAAE;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,GAAG,cAAc;IAIrG;;;OAGG;IACH,MAAM,CAAC,KAAK,CACR,cAAc,EAAE,oBAAoB,GAAG,wBAAwB;IAKnE,MAAM,CAAC,aAAa,IAAI,OAAO,CAAC,OAAO,CAAC;IAIxC;;OAEG;IACH,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,WAAW;IAInC;;OAEG;IACH,MAAM,CAAC,YAAY,CAAC,KAAK,EAAE,WAAW,EAAE,OAAO,E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AAC,MAAM,CAAC;IAIzC;;OAEG;IACH,MAAM,CAAC,iBAAiB,IAAI,OAAO,CAAC,MAAM,CAAC;IAI3C;;OAEG;IACH,MAAM,CAAC,YAAY,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAInD;;OAEG;IACH,MAAM,CAAC,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC;IAIrC;;OAEG;IACH,MAAM,CAAC,WAAW,CAAC,QAAQ,EAAE,gBAAgB;IAI7C;;OAEG;IACH,MAAM,CAAC,gBAAgB,CAAC,GAAG,EAAE,WAAW,EAAE,QAAQ,EAAE,gBAAgB;IAIpE;;;;;OAKG;IACH,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAE,OAAO;IAIzC,MAAM,CAAC,OAAO;;QACV;;WAEG;yBACqB,MAAM;;MAOhC;IAEF,MAAM,CAAC,GAAG;;QACN;;WAEG;8DAC0D,aAAa;QAK1E;;WAEG;iDAC6C,MAAM,eAAe,WAAW,qBAAqB,aAAa;MAIpH;IAEF,MAAM,CAAE,MAAM;;QAEV;;;;WAIG;0BACsB,aAAa,YAAY,kBAAkB;QAIpE;;;WAGG;4BACwB,aAAa,GAAG,QAAQ,OAAO,CAAC;QAI3D;;WAEG;+BAC2B,QAAQ,aAAa,EAAE,CAAC;QAItD;;;;WAIG;yBACqB,MAAM,YAAY,kBAAkB;MAG9D;IAEF,MAAM,CAAC,KAAK;;QACR;;;;WAIG;2BACuB,uBAAuB;QAIjD;;;;WAIG;0BACsB,sBAAsB;MAGjD;CACL"}
@@ -3,5 +3,4 @@ export declare class AffiseKeyValue {
3
3
  value: string;
4
4
  constructor(key: string, value: string);
5
5
  }
6
- export declare function toAffiseKeyValueList(data: any[]): AffiseKeyValue[];
7
6
  //# sourceMappingURL=AffiseKeyValue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AffiseKeyValue.d.ts","sourceRoot":"","sources":["../../../src/module/AffiseKeyValue.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;gBAET,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAIzC;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,cAAc,EAAE,CAalE"}
1
+ {"version":3,"file":"AffiseKeyValue.d.ts","sourceRoot":"","sources":["../../../src/module/AffiseKeyValue.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;gBAET,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAIzC"}
@@ -1,6 +1,7 @@
1
1
  export declare enum AffiseModules {
2
2
  ADVERTISING = "Advertising",
3
3
  ANDROIDID = "AndroidId",
4
+ LINK = "Link",
4
5
  NETWORK = "Network",
5
6
  PHONE = "Phone",
6
7
  STATUS = "Status"
@@ -1 +1 @@
1
- {"version":3,"file":"AffiseModules.d.ts","sourceRoot":"","sources":["../../../src/module/AffiseModules.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CACpB"}
1
+ {"version":3,"file":"AffiseModules.d.ts","sourceRoot":"","sources":["../../../src/module/AffiseModules.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACrB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,MAAM,WAAW;CACpB"}
@@ -0,0 +1,2 @@
1
+ export type AffiseLinkCallback = (result: string) => void;
2
+ //# sourceMappingURL=AffiseLinkCallback.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AffiseLinkCallback.d.ts","sourceRoot":"","sources":["../../../../src/module/link/AffiseLinkCallback.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC"}
@@ -20,17 +20,18 @@ export declare enum AffiseApiMethod {
20
20
  GET_RANDOM_USER_ID = "get_random_user_id",
21
21
  GET_RANDOM_DEVICE_ID = "get_random_device_id",
22
22
  GET_PROVIDERS = "get_providers",
23
- MODULE_START = "module_start",
24
- GET_MODULES_INSTALLED = "get_modules_installed",
25
23
  IS_FIRST_RUN = "is_first_run",
26
24
  GET_REFERRER_CALLBACK = "get_referrer_callback",
27
25
  GET_REFERRER_VALUE_CALLBACK = "get_referrer_value_callback",
28
- GET_STATUS_CALLBACK = "get_status_callback",
29
26
  REGISTER_DEEPLINK_CALLBACK = "register_deeplink_callback",
30
27
  SKAD_REGISTER_ERROR_CALLBACK = "skad_register_error_callback",
31
28
  SKAD_POSTBACK_ERROR_CALLBACK = "skad_postback_error_callback",
32
29
  DEBUG_VALIDATE_CALLBACK = "debug_validate_callback",
33
- DEBUG_NETWORK_CALLBACK = "debug_network_callback"
30
+ DEBUG_NETWORK_CALLBACK = "debug_network_callback",
31
+ MODULE_START = "module_start",
32
+ GET_MODULES_INSTALLED = "get_modules_installed",
33
+ GET_STATUS_CALLBACK = "get_status_callback",
34
+ MODULE_LINK_LINK_RESOLVE_CALLBACK = "module_link_link_resolve_callback"
34
35
  }
35
36
  export declare function apiMethodFrom(name: string): AffiseApiMethod | null;
36
37
  //# sourceMappingURL=AffiseApiMethod.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AffiseApiMethod.d.ts","sourceRoot":"","sources":["../../../src/native/AffiseApiMethod.ts"],"names":[],"mappings":"AAEA,oBAAY,eAAe;IACvB,IAAI,SAAS;IACb,cAAc,mBAAmB;IACjC,UAAU,eAAe;IACzB,cAAc,mBAAmB;IACjC,cAAc,mBAAmB;IACjC,iBAAiB,sBAAsB;IACvC,mBAAmB,wBAAwB;IAC3C,cAAc,kBAAkB;IAChC,uBAAuB,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IAC/C,2BAA2B,gCAAgC;IAC3D,0BAA0B,+BAA+B;IACzD,4BAA4B,iCAAiC;IAC7D,4BAA4B,iCAAiC;IAG7D,uBAAuB,4BAA4B;IACnD,sBAAsB,2BAA2B;IAKjD,YAAY,iBAAiB;IAC7B,qBAAqB,0BAA0B;IAC/C,mBAAmB,wBAAwB;IAE3C,iCAAiC,sCAAsC;CAI1E;AAED,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,eAAe,GAAG,IAAI,CAElE"}
@@ -7,7 +7,7 @@ import type { AutoCatchingType } from "../events/AutoCatchingType";
7
7
  import type { ReferrerKey } from "../referrer/ReferrerKey";
8
8
  import type { AffiseModules } from "../module/AffiseModules";
9
9
  import type { ReferrerCallback } from "../referrer/ReferrerCallback";
10
- import type { OnDeeplinkCallback } from "../callback/OnDeeplinkCallback";
10
+ import type { OnDeeplinkCallback } from "../deeplink/OnDeeplinkCallback";
11
11
  import type { OnKeyValueCallback } from "../module/OnKeyValueCallback";
12
12
  import type { ErrorCallback } from "../callback/ErrorCallback";
13
13
  import type { CoarseValue } from "../skad/CoarseValue";
@@ -15,9 +15,14 @@ import type { DebugOnValidateCallback } from "../debug/validate/DebugOnValidateC
15
15
  import type { DebugOnNetworkCallback } from "../debug/network/DebugOnNetworkCallback";
16
16
  import type { OnSendSuccessCallback } from "../events/OnSendSuccessCallback";
17
17
  import type { OnSendFailedCallback } from "../events/OnSendFailedCallback";
18
+ import type { AffiseLinkCallback } from "../module/link/AffiseLinkCallback";
18
19
  export declare class AffiseNative extends NativeBase {
20
+ protected FINE_VALUE: string;
21
+ protected COARSE_VALUE: string;
19
22
  protected SUCCESS: string;
20
23
  protected FAILED: string;
24
+ protected REQUEST: string;
25
+ protected RESPONSE: string;
21
26
  init(initProperties: AffiseInitProperties | AffiseInitPropertiesType): void;
22
27
  isInitialized(): Promise<boolean>;
23
28
  sendEvent(event: AffiseEvent): void;
@@ -37,9 +42,6 @@ export declare class AffiseNative extends NativeBase {
37
42
  crashApplication(): void;
38
43
  getReferrer(callback: ReferrerCallback): void;
39
44
  getReferrerValue(key: ReferrerKey, callback: ReferrerCallback): void;
40
- getStatus(module: AffiseModules, callback: OnKeyValueCallback): void;
41
- moduleStart(module: AffiseModules): Promise<boolean>;
42
- getModulesInstalled(): Promise<AffiseModules[]>;
43
45
  isFirstRun(): Promise<boolean>;
44
46
  getRandomUserId(): Promise<string>;
45
47
  getRandomDeviceId(): Promise<string>;
@@ -48,6 +50,10 @@ export declare class AffiseNative extends NativeBase {
48
50
  updatePostbackConversionValue(fineValue: bigint, coarseValue: CoarseValue, completionHandler: ErrorCallback): void;
49
51
  validate(callback: DebugOnValidateCallback): void;
50
52
  network(callback: DebugOnNetworkCallback): void;
53
+ getStatus(module: AffiseModules, callback: OnKeyValueCallback): void;
54
+ moduleStart(module: AffiseModules): Promise<boolean>;
55
+ getModulesInstalled(): Promise<AffiseModules[]>;
56
+ linkResolve(url: string, callback: AffiseLinkCallback): void;
51
57
  protected handleCallback(api: AffiseApiMethod, callback: unknown, data: any, tag: string | null): void;
52
58
  }
53
59
  //# sourceMappingURL=AffiseNative.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AffiseNative.d.ts","sourceRoot":"","sources":["../../../src/native/AffiseNative.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AACxC,OAAO,EAAC,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAClD,OAAO,KAAK,EAAC,wBAAwB,EAAC,MAAM,yBAAyB,CAAC;AACtE,OAAO,EAAC,oBAAoB,EAA6B,MAAM,yBAAyB,CAAC;AACzF,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AACjE,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,yBAAyB,CAAC;AACzD,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,yBAA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aAAa,EAAE,QAAQ,EAAE,kBAAkB;IAI7D,WAAW,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC;IAIpD,mBAAmB,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC;IAI/C,WAAW,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,kBAAkB;IAWrD,SAAS,CAAC,cAAc,CAAC,GAAG,EAAE,eAAe,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI;CAsDlG"}
@@ -1 +1 @@
1
- {"version":3,"file":"NativeBasePlatform.d.ts","sourceRoot":"","sources":["../../../src/native/NativeBasePlatform.ts"],"names":[],"mappings":"AAmBA,8BAAsB,kBAAkB;IAEpC,OAAO,CAAC,QAAQ,CAAqB;IACrC,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,IAAI,CAAU;;IAMtB,OAAO,CAAC,oBAAoB;IAI5B,SAAS,CAAC,aAAa,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAIlF,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAO5D,SAAS,CAAC,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG;IAIrD,OAAO,CAAC,kBAAkB;IAO1B,SAAS,CAAC,mBAAmB;IAK7B,OAAO,CAAC,qBAAqB;CAKhC"}
1
+ {"version":3,"file":"NativeBasePlatform.d.ts","sourceRoot":"","sources":["../../../src/native/NativeBasePlatform.ts"],"names":[],"mappings":"AAmBA,8BAAsB,kBAAkB;IAEpC,OAAO,CAAC,QAAQ,CAAqB;IACrC,OAAO,CAAC,GAAG,CAAS;IACpB,OAAO,CAAC,IAAI,CAAU;;IAMtB,OAAO,CAAC,oBAAoB;IAI5B,SAAS,CAAC,aAAa,CAAC,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC;IAIlF,SAAS,CAAC,OAAO,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAO5D,SAAS,CAAC,WAAW,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG;IAIrD,OAAO,CAAC,kBAAkB;IAO1B,SAAS,CAAC,mBAAmB;IAO7B,OAAO,CAAC,qBAAqB;CAKhC"}
@@ -0,0 +1,8 @@
1
+ import { AffiseKeyValue } from "../../module/AffiseKeyValue";
2
+ import { DeeplinkValue } from "../../deeplink/DeeplinkValue";
3
+ export declare class DataMapper {
4
+ static toNonNullString(from: any): string;
5
+ static toAffiseKeyValueList(from: any): AffiseKeyValue[];
6
+ static toDeeplinkValue(from: any): DeeplinkValue;
7
+ }
8
+ //# sourceMappingURL=DataMapper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DataMapper.d.ts","sourceRoot":"","sources":["../../../../src/native/utils/DataMapper.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,cAAc,EAAC,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAC,aAAa,EAAC,MAAM,8BAA8B,CAAC;AAE3D,qBAAa,UAAU;IACnB,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,MAAM;IAIzC,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,cAAc,EAAE;IAgBxD,MAAM,CAAC,eAAe,CAAC,IAAI,EAAE,GAAG,GAAG,aAAa;CAWnD"}
@@ -3,8 +3,9 @@ import { HttpRequest } from "../../network/HttpRequest";
3
3
  import { HttpResponse } from "../../network/HttpResponse";
4
4
  export declare class DebugUtils {
5
5
  static getValidationStatus(data: any): ValidationStatus;
6
- static parseResponse(data: any): HttpResponse;
7
- static parseRequest(data: any): HttpRequest;
8
- static parseRequestResponse(data: any): [HttpRequest, HttpResponse];
6
+ static toResponse(from: any): HttpResponse;
7
+ static toRequest(from: any): HttpRequest;
8
+ static toResponseWithKey(from: any, key: string): HttpResponse;
9
+ static toRequestWithKey(from: any, key: string): HttpRequest;
9
10
  }
10
11
  //# sourceMappingURL=DebugUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DebugUtils.d.ts","sourceRoot":"","sources":["../../../../src/native/utils/DebugUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAuB,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAAC,WAAW,EAAC,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAIxD,qBAAa,UAAU;IACnB,MAAM,CAAC,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB;IAIvD,MAAM,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY;IAa7C,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW;IAe3C,MAAM,CAAC,oBAAoB,CAAC,IAAI,EAAE,GAAG,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC;CAWtE"}
1
+ {"version":3,"file":"DebugUtils.d.ts","sourceRoot":"","sources":["../../../../src/native/utils/DebugUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAuB,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAAC,WAAW,EAAC,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAAC,YAAY,EAAC,MAAM,4BAA4B,CAAC;AAIxD,qBAAa,UAAU;IAEnB,MAAM,CAAC,mBAAmB,CAAC,IAAI,EAAE,GAAG,GAAG,gBAAgB;IAIvD,MAAM,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,GAAG,YAAY;IAa1C,MAAM,CAAC,SAAS,CAAC,IAAI,EAAE,GAAG,GAAG,WAAW;IAexC,MAAM,CAAC,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,GAAG,YAAY;IAM9D,MAAM,CAAC,gBAAgB,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,GAAG,WAAW;CAK/D"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "affise-attribution-lib",
3
- "version": "1.6.16",
3
+ "version": "1.6.18",
4
4
  "description": "Affise Attribution Library",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
package/src/Export.ts CHANGED
@@ -3,7 +3,9 @@ export * from './events/AutoCatchingType';
3
3
  export * from './events/TouchType';
4
4
 
5
5
  export * from './callback/ErrorCallback';
6
- export * from './callback/OnDeeplinkCallback';
6
+
7
+ export * from './deeplink/OnDeeplinkCallback';
8
+ export * from './deeplink/DeeplinkValue';
7
9
 
8
10
  export * from './debug/network/DebugOnNetworkCallback';
9
11
  export * from './debug/validate/DebugOnValidateCallback';
@@ -24,12 +26,16 @@ export * from './skad/CoarseValue';
24
26
  export * from './module/AffiseModules';
25
27
  export * from './module/AffiseKeyValue';
26
28
  export * from './module/OnKeyValueCallback';
29
+ export * from './module/link/AffiseLinkCallback';
27
30
 
28
31
  export * from './ad/AffiseAdRevenue';
29
32
  export * from './ad/AffiseAdSource';
30
33
 
31
34
  export * from './parameters/ProviderType';
32
35
 
36
+ export * from './events/OnSendSuccessCallback';
37
+ export * from './events/OnSendFailedCallback';
38
+
33
39
  export * from './events/parameters/PredefinedListObject';
34
40
  export * from './events/parameters/PredefinedFloat';
35
41
  export * from "./events/parameters/PredefinedListString";
@@ -39,7 +45,11 @@ export * from './events/parameters/PredefinedString';
39
45
  export * from './events/parameters/PredefinedGroup';
40
46
 
41
47
  export * from './events/base/AffiseEvent';
48
+ export * from './events/base/AffiseEventProps';
49
+ export * from './events/base/AffiseCustomEventProps';
42
50
  export * from './events/subscription/BaseSubscriptionEvent';
51
+ export * from './events/subscription/AffiseSubscriptionEventProps';
52
+ export * from './events/subscription/AffiseCustomSubscriptionEventProps';
43
53
 
44
54
  export * from './events/custom/UserCustomEvent';
45
55
  export * from './events/custom/UserCustomSubscriptionEvent';
@@ -0,0 +1,26 @@
1
+ export class DeeplinkValue {
2
+ public readonly deeplink: string;
3
+ public readonly scheme?: string;
4
+ public readonly host?: string;
5
+ public readonly path?: string;
6
+ public readonly parameters: Record<string, string[]> = {};
7
+
8
+ constructor(
9
+ deeplink: string,
10
+ scheme?: string,
11
+ host?: string,
12
+ path?: string,
13
+ parameters?: Record<string, string[]>
14
+ ) {
15
+ this.deeplink = deeplink;
16
+ this.scheme = scheme;
17
+ this.host = host;
18
+ this.path = path;
19
+ this.parameters = parameters || {};
20
+ }
21
+
22
+ toString(): string {
23
+ const parameters = Object.entries(this.parameters).map(([key, value]) => `${key}=[${value.join(", ")}]`).join("; ");
24
+ return `DeeplinkValue(scheme=${this.scheme}, host=${this.host}, path={${this.path}}, parameters=[${parameters}])`;
25
+ }
26
+ }
@@ -0,0 +1,3 @@
1
+ import type {DeeplinkValue} from "./DeeplinkValue";
2
+
3
+ export type OnDeeplinkCallback = (value: DeeplinkValue) => void;
@@ -0,0 +1,5 @@
1
+ import type {AffiseEventProps} from "./AffiseEventProps";
2
+
3
+ export interface AffiseCustomEventProps extends AffiseEventProps{
4
+ eventName: string
5
+ }
@@ -48,10 +48,10 @@ export class AffiseEvent implements PredefinedParameter {
48
48
  */
49
49
  protected predefinedParameters: Record<string, unknown>;
50
50
 
51
- constructor(name: string, userData?: string) {
51
+ constructor(name: string, userData?: string | null) {
52
52
  this.name = name;
53
53
  this.category = "";
54
- this.userData = userData;
54
+ this.userData = userData || undefined;
55
55
  this.firstForUser = false;
56
56
  this.serialize = {};
57
57
  this.predefinedParameters = {};
@@ -0,0 +1,4 @@
1
+ export interface AffiseEventProps {
2
+ userData?: string | null,
3
+ timeStampMillis?: number | null,
4
+ }
@@ -1,11 +1,12 @@
1
1
  import {AffiseEvent} from "./AffiseEvent";
2
2
  import {AffisePropertyBuilder} from "../property/AffisePropertyBuilder";
3
3
  import {AffiseProperty} from "../property/AffiseProperty";
4
+ import type {AffiseCustomEventProps} from "./AffiseCustomEventProps";
4
5
 
5
6
  export class NativeEvent extends AffiseEvent {
6
7
 
7
- constructor(name: string, userData?: string, timeStampMillis?: number) {
8
- super(name, userData);
8
+ constructor({eventName, userData, timeStampMillis}: AffiseCustomEventProps) {
9
+ super(eventName, userData);
9
10
  this.category = 'react';
10
11
 
11
12
  this.serialize = this.serializeBuilder()
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId01
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId01Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_01, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_01});
14
15
  }
15
16
  }
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId02
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId02Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_02, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_02});
14
15
  }
15
16
  }
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId03
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId03Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_03, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_03});
14
15
  }
15
16
  }
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId03
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId04Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_04, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_04});
14
15
  }
15
16
  }
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId04
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId05Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_05, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_05});
14
15
  }
15
16
  }
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId06
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId06Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_06, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_06});
14
15
  }
15
16
  }
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId07
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId07Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_07, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_07});
14
15
  }
15
16
  }
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId08
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId08Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_08, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_08});
14
15
  }
15
16
  }
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId09
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId09Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_09, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_09});
14
15
  }
15
16
  }
@@ -1,5 +1,6 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  /**
5
6
  * Event CustomId10
@@ -9,7 +10,7 @@ import {EventName} from "../EventName";
9
10
  */
10
11
  export class CustomId10Event extends NativeEvent {
11
12
 
12
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number }) {
13
- super(EventName.CUSTOM_ID_10, userData, timeStampMillis);
13
+ constructor(props?: AffiseEventProps) {
14
+ super({...props, eventName: EventName.CUSTOM_ID_10});
14
15
  }
15
16
  }
@@ -1,4 +1,5 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
+ import type {AffiseCustomEventProps} from "../base/AffiseCustomEventProps";
2
3
 
3
4
  /**
4
5
  * UserCustomEvent
@@ -8,8 +9,7 @@ import {NativeEvent} from "../base/NativeEvent";
8
9
  * @param timeStampMillis the timestamp event in milliseconds.
9
10
  */
10
11
  export class UserCustomEvent extends NativeEvent {
11
-
12
- constructor({eventName, userData, timeStampMillis}: { eventName: string, userData?: string, timeStampMillis?: number }) {
13
- super(eventName, userData, timeStampMillis);
12
+ constructor(props: AffiseCustomEventProps) {
13
+ super(props);
14
14
  }
15
15
  }
@@ -1,12 +1,16 @@
1
1
  import {BaseSubscriptionEvent} from "../subscription/BaseSubscriptionEvent";
2
+ import type {AffiseCustomSubscriptionEventProps} from "../subscription/AffiseCustomSubscriptionEventProps";
2
3
 
4
+ /**
5
+ * UserCustomSubscriptionEvent
6
+ *
7
+ * @param type custom event type.
8
+ * @param subtype custom event sub type.
9
+ * @param data any custom object data.
10
+ * @param userData any custom string data.
11
+ */
3
12
  export class UserCustomSubscriptionEvent extends BaseSubscriptionEvent {
4
- constructor({type, subtype, data, userData}: { type: string, subtype: string, data: Record<string, unknown>, userData?: string }) {
5
- super(
6
- type,
7
- subtype,
8
- data,
9
- userData,
10
- );
13
+ constructor(props: AffiseCustomSubscriptionEventProps) {
14
+ super(props);
11
15
  }
12
16
  }
@@ -1,9 +1,10 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  export class AchieveLevelEvent extends NativeEvent {
5
6
 
6
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number } = {}) {
7
- super(EventName.ACHIEVE_LEVEL, userData, timeStampMillis);
7
+ constructor(props?: AffiseEventProps) {
8
+ super({...props, eventName: EventName.ACHIEVE_LEVEL});
8
9
  }
9
10
  }
@@ -1,9 +1,10 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  export class AdRevenueEvent extends NativeEvent {
5
6
 
6
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number } = {}) {
7
- super(EventName.AD_REVENUE, userData, timeStampMillis);
7
+ constructor(props?: AffiseEventProps) {
8
+ super({...props, eventName: EventName.AD_REVENUE});
8
9
  }
9
10
  }
@@ -1,9 +1,10 @@
1
1
  import {NativeEvent} from "../base/NativeEvent";
2
2
  import {EventName} from "../EventName";
3
+ import type {AffiseEventProps} from "../base/AffiseEventProps";
3
4
 
4
5
  export class AddPaymentInfoEvent extends NativeEvent {
5
6
 
6
- constructor({userData, timeStampMillis}: { userData?: string, timeStampMillis?: number } = {}) {
7
- super(EventName.ADD_PAYMENT_INFO, userData, timeStampMillis);
7
+ constructor(props?: AffiseEventProps) {
8
+ super({...props, eventName: EventName.ADD_PAYMENT_INFO});
8
9
  }
9
10
  }