@capillarytech/react-native-hydra-lib 1.7.0-beta.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 (446) hide show
  1. package/CHANGELOG.md +252 -0
  2. package/DEPRECATION_POLICY.md +220 -0
  3. package/LICENSE +20 -0
  4. package/MIGRATION.md +361 -0
  5. package/README.md +491 -0
  6. package/RELEASE_NOTES.md +528 -0
  7. package/android/build.gradle +565 -0
  8. package/android/generated/java/com/hydralib/NativeHydraLibSpec.java +185 -0
  9. package/android/generated/jni/CMakeLists.txt +36 -0
  10. package/android/generated/jni/RNHydraLibSpec-generated.cpp +248 -0
  11. package/android/generated/jni/RNHydraLibSpec.h +31 -0
  12. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/ComponentDescriptors.cpp +24 -0
  13. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/ComponentDescriptors.h +26 -0
  14. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/EventEmitters.cpp +18 -0
  15. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/EventEmitters.h +37 -0
  16. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/Props.cpp +39 -0
  17. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/Props.h +47 -0
  18. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/RNHydraLibSpecJSI-generated.cpp +283 -0
  19. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/RNHydraLibSpecJSI.h +395 -0
  20. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/ShadowNodes.cpp +19 -0
  21. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/ShadowNodes.h +54 -0
  22. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/States.cpp +16 -0
  23. package/android/generated/jni/react/renderer/components/RNHydraLibSpec/States.h +53 -0
  24. package/android/gradle.properties +5 -0
  25. package/android/src/main/AndroidManifest.xml +11 -0
  26. package/android/src/main/AndroidManifestNew.xml +16 -0
  27. package/android/src/main/AndroidManifestNoFirebaseIcon.xml +5 -0
  28. package/android/src/main/java/com/hydralib/delegates/HydraActivityCallbacks.kt +90 -0
  29. package/android/src/main/java/com/hydralib/delegates/NonHydraNotificationActivity.kt +43 -0
  30. package/android/src/main/java/com/hydralib/eventemitter/HydraEventEmitter.kt +150 -0
  31. package/android/src/main/java/com/hydralib/eventemitter/HydraEventType.kt +44 -0
  32. package/android/src/main/java/com/hydralib/gamification/GamificationBannerViewManager.kt +121 -0
  33. package/android/src/main/java/com/hydralib/gamification/GamificationEmbedViewManager.kt +153 -0
  34. package/android/src/main/java/com/hydralib/gamification/GamificationLoyaltyViewManager.kt +95 -0
  35. package/android/src/main/java/com/hydralib/hydrasdk/HydraCore.kt +860 -0
  36. package/android/src/main/java/com/hydralib/hydrasdk/HydraExtenstions.kt +331 -0
  37. package/android/src/main/java/com/hydralib/hydrasdk/HydraInAppMessages.kt +136 -0
  38. package/android/src/main/java/com/hydralib/hydrasdk/HydraInbox.kt +70 -0
  39. package/android/src/main/java/com/hydralib/hydrasdk/HydraInboxUI.kt +54 -0
  40. package/android/src/main/java/com/hydralib/hydrasdk/HydraPushNotification.kt +299 -0
  41. package/android/src/main/java/com/hydralib/nativeapis/Hydra.kt +28 -0
  42. package/android/src/main/java/com/hydralib/nativeapis/HydraFirebaseRemoteConfigKeys.kt +76 -0
  43. package/android/src/main/java/com/hydralib/nativeapis/HydraInitializer.kt +130 -0
  44. package/android/src/main/java/com/hydralib/nativeapis/HydraNativeMessaging.kt +18 -0
  45. package/android/src/main/java/com/hydralib/nativeapis/HydraRemoteConfig.kt +59 -0
  46. package/android/src/main/java/com/hydralib/utils/RNHydraPreferencesManager.kt +154 -0
  47. package/android/src/main/java/com/hydralib/utils/ResourceUtil.kt +10 -0
  48. package/android/src/newarch/HydraLibModule.kt +218 -0
  49. package/android/src/oldarch/HydraLibModule.kt +258 -0
  50. package/android/src/rn72OrLess/HydraLibPackage.kt +43 -0
  51. package/android/src/rn73OrMore/HydraLibPackage.kt +53 -0
  52. package/ios/Delegates/HydraApplicationDelegate.swift +196 -0
  53. package/ios/Delegates/HydraFirebaseMessagingDelegate.swift +20 -0
  54. package/ios/Delegates/HydraUNUserNotificationCenterDelegate.swift +26 -0
  55. package/ios/EventEmitter/HydraEventEmitter.swift +98 -0
  56. package/ios/EventEmitter/HydraEventType.swift +28 -0
  57. package/ios/EventEmitter/HydraNativeEmitterBrigde.h +15 -0
  58. package/ios/EventEmitter/HydraNativeEmitterBrigde.mm +48 -0
  59. package/ios/GamificationViews/GamificationBannerViewComponentView.h +14 -0
  60. package/ios/GamificationViews/GamificationBannerViewComponentView.mm +125 -0
  61. package/ios/GamificationViews/GamificationEmbedViewComponentView.h +14 -0
  62. package/ios/GamificationViews/GamificationEmbedViewComponentView.mm +131 -0
  63. package/ios/GamificationViews/GamificationLoyaltyViewComponentView.h +14 -0
  64. package/ios/GamificationViews/GamificationLoyaltyViewComponentView.mm +120 -0
  65. package/ios/HydraLib.h +16 -0
  66. package/ios/HydraLib.mm +207 -0
  67. package/ios/HydraSDK/HydraInAppMessages.swift +93 -0
  68. package/ios/HydraSDK/HydraInbox.swift +97 -0
  69. package/ios/HydraSDK/HydraInboxUI.swift +105 -0
  70. package/ios/HydraSDK/HydraPushNotification.swift +476 -0
  71. package/ios/HydraSDK/HydraSDKCore.swift +707 -0
  72. package/ios/NativeAPIs/Hydra.h +34 -0
  73. package/ios/NativeAPIs/Hydra.mm +47 -0
  74. package/ios/NativeAPIs/HydraNativeFirebaseRemoteConfigKeys.h +23 -0
  75. package/ios/NativeAPIs/HydraNativeFirebaseRemoteConfigKeys.mm +80 -0
  76. package/ios/NativeAPIs/HydraNativeInitializer.h +16 -0
  77. package/ios/NativeAPIs/HydraNativeInitializer.mm +39 -0
  78. package/ios/NativeAPIs/HydraNativeMessaging.h +24 -0
  79. package/ios/NativeAPIs/HydraNativeMessaging.mm +53 -0
  80. package/ios/NativeAPIs/HydraNativeRemoteConfig.h +27 -0
  81. package/ios/NativeAPIs/HydraNativeRemoteConfig.mm +89 -0
  82. package/ios/Utils/HydraExtensions.swift +322 -0
  83. package/ios/Utils/HydraRNConstants.swift +13 -0
  84. package/ios/Utils/RNHydraLogger.swift +31 -0
  85. package/ios/generated/RNHydraLibSpec/ComponentDescriptors.cpp +24 -0
  86. package/ios/generated/RNHydraLibSpec/ComponentDescriptors.h +26 -0
  87. package/ios/generated/RNHydraLibSpec/EventEmitters.cpp +18 -0
  88. package/ios/generated/RNHydraLibSpec/EventEmitters.h +37 -0
  89. package/ios/generated/RNHydraLibSpec/Props.cpp +39 -0
  90. package/ios/generated/RNHydraLibSpec/Props.h +47 -0
  91. package/ios/generated/RNHydraLibSpec/RCTComponentViewHelpers.h +28 -0
  92. package/ios/generated/RNHydraLibSpec/RNHydraLibSpec-generated.mm +291 -0
  93. package/ios/generated/RNHydraLibSpec/RNHydraLibSpec.h +167 -0
  94. package/ios/generated/RNHydraLibSpec/ShadowNodes.cpp +19 -0
  95. package/ios/generated/RNHydraLibSpec/ShadowNodes.h +54 -0
  96. package/ios/generated/RNHydraLibSpec/States.cpp +16 -0
  97. package/ios/generated/RNHydraLibSpec/States.h +53 -0
  98. package/ios/generated/RNHydraLibSpecJSI-generated.cpp +283 -0
  99. package/ios/generated/RNHydraLibSpecJSI.h +395 -0
  100. package/lib/commonjs/GamificationBannerViewNativeComponent.js +10 -0
  101. package/lib/commonjs/GamificationBannerViewNativeComponent.js.map +1 -0
  102. package/lib/commonjs/GamificationEmbedViewNativeComponent.js +10 -0
  103. package/lib/commonjs/GamificationEmbedViewNativeComponent.js.map +1 -0
  104. package/lib/commonjs/GamificationLoyaltyViewNativeComponent.js +10 -0
  105. package/lib/commonjs/GamificationLoyaltyViewNativeComponent.js.map +1 -0
  106. package/lib/commonjs/NativeHydraLib.js +11 -0
  107. package/lib/commonjs/NativeHydraLib.js.map +1 -0
  108. package/lib/commonjs/components/GamificationBannerView.js +15 -0
  109. package/lib/commonjs/components/GamificationBannerView.js.map +1 -0
  110. package/lib/commonjs/components/GamificationEmbedView.js +15 -0
  111. package/lib/commonjs/components/GamificationEmbedView.js.map +1 -0
  112. package/lib/commonjs/components/GamificationLoyaltyView.js +15 -0
  113. package/lib/commonjs/components/GamificationLoyaltyView.js.map +1 -0
  114. package/lib/commonjs/hydra-apis/Hydra.js +43 -0
  115. package/lib/commonjs/hydra-apis/Hydra.js.map +1 -0
  116. package/lib/commonjs/hydra-apis/HydraCore.js +42 -0
  117. package/lib/commonjs/hydra-apis/HydraCore.js.map +1 -0
  118. package/lib/commonjs/hydra-apis/HydraInAppMessaging.js +24 -0
  119. package/lib/commonjs/hydra-apis/HydraInAppMessaging.js.map +1 -0
  120. package/lib/commonjs/hydra-apis/HydraInbox.js +29 -0
  121. package/lib/commonjs/hydra-apis/HydraInbox.js.map +1 -0
  122. package/lib/commonjs/hydra-apis/HydraInboxUI.js +18 -0
  123. package/lib/commonjs/hydra-apis/HydraInboxUI.js.map +1 -0
  124. package/lib/commonjs/hydra-apis/HydraNativeEventEmitter.js +133 -0
  125. package/lib/commonjs/hydra-apis/HydraNativeEventEmitter.js.map +1 -0
  126. package/lib/commonjs/hydra-apis/HydraPushNotification.js +21 -0
  127. package/lib/commonjs/hydra-apis/HydraPushNotification.js.map +1 -0
  128. package/lib/commonjs/index.js +230 -0
  129. package/lib/commonjs/index.js.map +1 -0
  130. package/lib/commonjs/models/HydraAccountConfig.js +41 -0
  131. package/lib/commonjs/models/HydraAccountConfig.js.map +1 -0
  132. package/lib/commonjs/models/HydraFirebaseRemoteConfigKeys.js +40 -0
  133. package/lib/commonjs/models/HydraFirebaseRemoteConfigKeys.js.map +1 -0
  134. package/lib/commonjs/models/HydraGeoConfig.js +24 -0
  135. package/lib/commonjs/models/HydraGeoConfig.js.map +1 -0
  136. package/lib/commonjs/models/HydraInAppMessage/HydraInAppButtonComponent.js +26 -0
  137. package/lib/commonjs/models/HydraInAppMessage/HydraInAppButtonComponent.js.map +1 -0
  138. package/lib/commonjs/models/HydraInAppMessage/HydraInAppComponentStyle.js +26 -0
  139. package/lib/commonjs/models/HydraInAppMessage/HydraInAppComponentStyle.js.map +1 -0
  140. package/lib/commonjs/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.js +39 -0
  141. package/lib/commonjs/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.js.map +1 -0
  142. package/lib/commonjs/models/HydraInAppMessage/HydraInAppMessage.js +60 -0
  143. package/lib/commonjs/models/HydraInAppMessage/HydraInAppMessage.js.map +1 -0
  144. package/lib/commonjs/models/HydraInAppMessage/HydraInAppTemplateType.js +66 -0
  145. package/lib/commonjs/models/HydraInAppMessage/HydraInAppTemplateType.js.map +1 -0
  146. package/lib/commonjs/models/HydraInAppMessage/HydraInAppTextComponent.js +21 -0
  147. package/lib/commonjs/models/HydraInAppMessage/HydraInAppTextComponent.js.map +1 -0
  148. package/lib/commonjs/models/HydraLogLevel.js +16 -0
  149. package/lib/commonjs/models/HydraLogLevel.js.map +1 -0
  150. package/lib/commonjs/models/HydraNativeEvent.js +27 -0
  151. package/lib/commonjs/models/HydraNativeEvent.js.map +1 -0
  152. package/lib/commonjs/models/HydraNotification/HydraNotification.js +70 -0
  153. package/lib/commonjs/models/HydraNotification/HydraNotification.js.map +1 -0
  154. package/lib/commonjs/models/HydraNotification/HydraNotificationBody.js +25 -0
  155. package/lib/commonjs/models/HydraNotification/HydraNotificationBody.js.map +1 -0
  156. package/lib/commonjs/models/HydraNotification/HydraNotificationCta.js +23 -0
  157. package/lib/commonjs/models/HydraNotification/HydraNotificationCta.js.map +1 -0
  158. package/lib/commonjs/models/HydraNotification/HydraNotificationCtaType.js +62 -0
  159. package/lib/commonjs/models/HydraNotification/HydraNotificationCtaType.js.map +1 -0
  160. package/lib/commonjs/models/HydraNotification/HydraNotificationExpandedDetails.js +25 -0
  161. package/lib/commonjs/models/HydraNotification/HydraNotificationExpandedDetails.js.map +1 -0
  162. package/lib/commonjs/models/HydraNotification/HydraNotificationGateway.js +13 -0
  163. package/lib/commonjs/models/HydraNotification/HydraNotificationGateway.js.map +1 -0
  164. package/lib/commonjs/models/HydraPushPreferences.js +20 -0
  165. package/lib/commonjs/models/HydraPushPreferences.js.map +1 -0
  166. package/lib/commonjs/models/HydraUserDetails.js +26 -0
  167. package/lib/commonjs/models/HydraUserDetails.js.map +1 -0
  168. package/lib/commonjs/models/HydraVisitorInfo.js +19 -0
  169. package/lib/commonjs/models/HydraVisitorInfo.js.map +1 -0
  170. package/lib/commonjs/models/NonHydraNotification.js +18 -0
  171. package/lib/commonjs/models/NonHydraNotification.js.map +1 -0
  172. package/lib/commonjs/models/UserState.js +41 -0
  173. package/lib/commonjs/models/UserState.js.map +1 -0
  174. package/lib/module/GamificationBannerViewNativeComponent.js +5 -0
  175. package/lib/module/GamificationBannerViewNativeComponent.js.map +1 -0
  176. package/lib/module/GamificationEmbedViewNativeComponent.js +5 -0
  177. package/lib/module/GamificationEmbedViewNativeComponent.js.map +1 -0
  178. package/lib/module/GamificationLoyaltyViewNativeComponent.js +5 -0
  179. package/lib/module/GamificationLoyaltyViewNativeComponent.js.map +1 -0
  180. package/lib/module/NativeHydraLib.js +7 -0
  181. package/lib/module/NativeHydraLib.js.map +1 -0
  182. package/lib/module/components/GamificationBannerView.js +10 -0
  183. package/lib/module/components/GamificationBannerView.js.map +1 -0
  184. package/lib/module/components/GamificationEmbedView.js +10 -0
  185. package/lib/module/components/GamificationEmbedView.js.map +1 -0
  186. package/lib/module/components/GamificationLoyaltyView.js +10 -0
  187. package/lib/module/components/GamificationLoyaltyView.js.map +1 -0
  188. package/lib/module/hydra-apis/Hydra.js +37 -0
  189. package/lib/module/hydra-apis/Hydra.js.map +1 -0
  190. package/lib/module/hydra-apis/HydraCore.js +36 -0
  191. package/lib/module/hydra-apis/HydraCore.js.map +1 -0
  192. package/lib/module/hydra-apis/HydraInAppMessaging.js +18 -0
  193. package/lib/module/hydra-apis/HydraInAppMessaging.js.map +1 -0
  194. package/lib/module/hydra-apis/HydraInbox.js +23 -0
  195. package/lib/module/hydra-apis/HydraInbox.js.map +1 -0
  196. package/lib/module/hydra-apis/HydraInboxUI.js +12 -0
  197. package/lib/module/hydra-apis/HydraInboxUI.js.map +1 -0
  198. package/lib/module/hydra-apis/HydraNativeEventEmitter.js +127 -0
  199. package/lib/module/hydra-apis/HydraNativeEventEmitter.js.map +1 -0
  200. package/lib/module/hydra-apis/HydraPushNotification.js +15 -0
  201. package/lib/module/hydra-apis/HydraPushNotification.js.map +1 -0
  202. package/lib/module/index.js +36 -0
  203. package/lib/module/index.js.map +1 -0
  204. package/lib/module/models/HydraAccountConfig.js +36 -0
  205. package/lib/module/models/HydraAccountConfig.js.map +1 -0
  206. package/lib/module/models/HydraFirebaseRemoteConfigKeys.js +35 -0
  207. package/lib/module/models/HydraFirebaseRemoteConfigKeys.js.map +1 -0
  208. package/lib/module/models/HydraGeoConfig.js +19 -0
  209. package/lib/module/models/HydraGeoConfig.js.map +1 -0
  210. package/lib/module/models/HydraInAppMessage/HydraInAppButtonComponent.js +21 -0
  211. package/lib/module/models/HydraInAppMessage/HydraInAppButtonComponent.js.map +1 -0
  212. package/lib/module/models/HydraInAppMessage/HydraInAppComponentStyle.js +21 -0
  213. package/lib/module/models/HydraInAppMessage/HydraInAppComponentStyle.js.map +1 -0
  214. package/lib/module/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.js +35 -0
  215. package/lib/module/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.js.map +1 -0
  216. package/lib/module/models/HydraInAppMessage/HydraInAppMessage.js +55 -0
  217. package/lib/module/models/HydraInAppMessage/HydraInAppMessage.js.map +1 -0
  218. package/lib/module/models/HydraInAppMessage/HydraInAppTemplateType.js +62 -0
  219. package/lib/module/models/HydraInAppMessage/HydraInAppTemplateType.js.map +1 -0
  220. package/lib/module/models/HydraInAppMessage/HydraInAppTextComponent.js +16 -0
  221. package/lib/module/models/HydraInAppMessage/HydraInAppTextComponent.js.map +1 -0
  222. package/lib/module/models/HydraLogLevel.js +12 -0
  223. package/lib/module/models/HydraLogLevel.js.map +1 -0
  224. package/lib/module/models/HydraNativeEvent.js +23 -0
  225. package/lib/module/models/HydraNativeEvent.js.map +1 -0
  226. package/lib/module/models/HydraNotification/HydraNotification.js +65 -0
  227. package/lib/module/models/HydraNotification/HydraNotification.js.map +1 -0
  228. package/lib/module/models/HydraNotification/HydraNotificationBody.js +20 -0
  229. package/lib/module/models/HydraNotification/HydraNotificationBody.js.map +1 -0
  230. package/lib/module/models/HydraNotification/HydraNotificationCta.js +18 -0
  231. package/lib/module/models/HydraNotification/HydraNotificationCta.js.map +1 -0
  232. package/lib/module/models/HydraNotification/HydraNotificationCtaType.js +58 -0
  233. package/lib/module/models/HydraNotification/HydraNotificationCtaType.js.map +1 -0
  234. package/lib/module/models/HydraNotification/HydraNotificationExpandedDetails.js +20 -0
  235. package/lib/module/models/HydraNotification/HydraNotificationExpandedDetails.js.map +1 -0
  236. package/lib/module/models/HydraNotification/HydraNotificationGateway.js +9 -0
  237. package/lib/module/models/HydraNotification/HydraNotificationGateway.js.map +1 -0
  238. package/lib/module/models/HydraPushPreferences.js +15 -0
  239. package/lib/module/models/HydraPushPreferences.js.map +1 -0
  240. package/lib/module/models/HydraUserDetails.js +21 -0
  241. package/lib/module/models/HydraUserDetails.js.map +1 -0
  242. package/lib/module/models/HydraVisitorInfo.js +14 -0
  243. package/lib/module/models/HydraVisitorInfo.js.map +1 -0
  244. package/lib/module/models/NonHydraNotification.js +13 -0
  245. package/lib/module/models/NonHydraNotification.js.map +1 -0
  246. package/lib/module/models/UserState.js +37 -0
  247. package/lib/module/models/UserState.js.map +1 -0
  248. package/lib/typescript/commonjs/package.json +1 -0
  249. package/lib/typescript/commonjs/src/GamificationBannerViewNativeComponent.d.ts +7 -0
  250. package/lib/typescript/commonjs/src/GamificationBannerViewNativeComponent.d.ts.map +1 -0
  251. package/lib/typescript/commonjs/src/GamificationEmbedViewNativeComponent.d.ts +7 -0
  252. package/lib/typescript/commonjs/src/GamificationEmbedViewNativeComponent.d.ts.map +1 -0
  253. package/lib/typescript/commonjs/src/GamificationLoyaltyViewNativeComponent.d.ts +7 -0
  254. package/lib/typescript/commonjs/src/GamificationLoyaltyViewNativeComponent.d.ts.map +1 -0
  255. package/lib/typescript/commonjs/src/NativeHydraLib.d.ts +46 -0
  256. package/lib/typescript/commonjs/src/NativeHydraLib.d.ts.map +1 -0
  257. package/lib/typescript/commonjs/src/components/GamificationBannerView.d.ts +6 -0
  258. package/lib/typescript/commonjs/src/components/GamificationBannerView.d.ts.map +1 -0
  259. package/lib/typescript/commonjs/src/components/GamificationEmbedView.d.ts +6 -0
  260. package/lib/typescript/commonjs/src/components/GamificationEmbedView.d.ts.map +1 -0
  261. package/lib/typescript/commonjs/src/components/GamificationLoyaltyView.d.ts +6 -0
  262. package/lib/typescript/commonjs/src/components/GamificationLoyaltyView.d.ts.map +1 -0
  263. package/lib/typescript/commonjs/src/hydra-apis/Hydra.d.ts +15 -0
  264. package/lib/typescript/commonjs/src/hydra-apis/Hydra.d.ts.map +1 -0
  265. package/lib/typescript/commonjs/src/hydra-apis/HydraCore.d.ts +18 -0
  266. package/lib/typescript/commonjs/src/hydra-apis/HydraCore.d.ts.map +1 -0
  267. package/lib/typescript/commonjs/src/hydra-apis/HydraInAppMessaging.d.ts +8 -0
  268. package/lib/typescript/commonjs/src/hydra-apis/HydraInAppMessaging.d.ts.map +1 -0
  269. package/lib/typescript/commonjs/src/hydra-apis/HydraInbox.d.ts +9 -0
  270. package/lib/typescript/commonjs/src/hydra-apis/HydraInbox.d.ts.map +1 -0
  271. package/lib/typescript/commonjs/src/hydra-apis/HydraInboxUI.d.ts +5 -0
  272. package/lib/typescript/commonjs/src/hydra-apis/HydraInboxUI.d.ts.map +1 -0
  273. package/lib/typescript/commonjs/src/hydra-apis/HydraNativeEventEmitter.d.ts +35 -0
  274. package/lib/typescript/commonjs/src/hydra-apis/HydraNativeEventEmitter.d.ts.map +1 -0
  275. package/lib/typescript/commonjs/src/hydra-apis/HydraPushNotification.d.ts +6 -0
  276. package/lib/typescript/commonjs/src/hydra-apis/HydraPushNotification.d.ts.map +1 -0
  277. package/lib/typescript/commonjs/src/index.d.ts +37 -0
  278. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  279. package/lib/typescript/commonjs/src/models/HydraAccountConfig.d.ts +14 -0
  280. package/lib/typescript/commonjs/src/models/HydraAccountConfig.d.ts.map +1 -0
  281. package/lib/typescript/commonjs/src/models/HydraFirebaseRemoteConfigKeys.d.ts +13 -0
  282. package/lib/typescript/commonjs/src/models/HydraFirebaseRemoteConfigKeys.d.ts.map +1 -0
  283. package/lib/typescript/commonjs/src/models/HydraGeoConfig.d.ts +14 -0
  284. package/lib/typescript/commonjs/src/models/HydraGeoConfig.d.ts.map +1 -0
  285. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppButtonComponent.d.ts +16 -0
  286. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppButtonComponent.d.ts.map +1 -0
  287. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppComponentStyle.d.ts +10 -0
  288. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppComponentStyle.d.ts.map +1 -0
  289. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.d.ts +9 -0
  290. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.d.ts.map +1 -0
  291. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppMessage.d.ts +29 -0
  292. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppMessage.d.ts.map +1 -0
  293. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppTemplateType.d.ts +15 -0
  294. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppTemplateType.d.ts.map +1 -0
  295. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppTextComponent.d.ts +11 -0
  296. package/lib/typescript/commonjs/src/models/HydraInAppMessage/HydraInAppTextComponent.d.ts.map +1 -0
  297. package/lib/typescript/commonjs/src/models/HydraLogLevel.d.ts +9 -0
  298. package/lib/typescript/commonjs/src/models/HydraLogLevel.d.ts.map +1 -0
  299. package/lib/typescript/commonjs/src/models/HydraNativeEvent.d.ts +20 -0
  300. package/lib/typescript/commonjs/src/models/HydraNativeEvent.d.ts.map +1 -0
  301. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotification.d.ts +32 -0
  302. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotification.d.ts.map +1 -0
  303. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationBody.d.ts +19 -0
  304. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationBody.d.ts.map +1 -0
  305. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationCta.d.ts +13 -0
  306. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationCta.d.ts.map +1 -0
  307. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationCtaType.d.ts +13 -0
  308. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationCtaType.d.ts.map +1 -0
  309. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationExpandedDetails.d.ts +19 -0
  310. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationExpandedDetails.d.ts.map +1 -0
  311. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationGateway.d.ts +6 -0
  312. package/lib/typescript/commonjs/src/models/HydraNotification/HydraNotificationGateway.d.ts.map +1 -0
  313. package/lib/typescript/commonjs/src/models/HydraPushPreferences.d.ts +10 -0
  314. package/lib/typescript/commonjs/src/models/HydraPushPreferences.d.ts.map +1 -0
  315. package/lib/typescript/commonjs/src/models/HydraUserDetails.d.ts +16 -0
  316. package/lib/typescript/commonjs/src/models/HydraUserDetails.d.ts.map +1 -0
  317. package/lib/typescript/commonjs/src/models/HydraVisitorInfo.d.ts +6 -0
  318. package/lib/typescript/commonjs/src/models/HydraVisitorInfo.d.ts.map +1 -0
  319. package/lib/typescript/commonjs/src/models/NonHydraNotification.d.ts +9 -0
  320. package/lib/typescript/commonjs/src/models/NonHydraNotification.d.ts.map +1 -0
  321. package/lib/typescript/commonjs/src/models/UserState.d.ts +11 -0
  322. package/lib/typescript/commonjs/src/models/UserState.d.ts.map +1 -0
  323. package/lib/typescript/module/package.json +1 -0
  324. package/lib/typescript/module/src/GamificationBannerViewNativeComponent.d.ts +7 -0
  325. package/lib/typescript/module/src/GamificationBannerViewNativeComponent.d.ts.map +1 -0
  326. package/lib/typescript/module/src/GamificationEmbedViewNativeComponent.d.ts +7 -0
  327. package/lib/typescript/module/src/GamificationEmbedViewNativeComponent.d.ts.map +1 -0
  328. package/lib/typescript/module/src/GamificationLoyaltyViewNativeComponent.d.ts +7 -0
  329. package/lib/typescript/module/src/GamificationLoyaltyViewNativeComponent.d.ts.map +1 -0
  330. package/lib/typescript/module/src/NativeHydraLib.d.ts +46 -0
  331. package/lib/typescript/module/src/NativeHydraLib.d.ts.map +1 -0
  332. package/lib/typescript/module/src/components/GamificationBannerView.d.ts +6 -0
  333. package/lib/typescript/module/src/components/GamificationBannerView.d.ts.map +1 -0
  334. package/lib/typescript/module/src/components/GamificationEmbedView.d.ts +6 -0
  335. package/lib/typescript/module/src/components/GamificationEmbedView.d.ts.map +1 -0
  336. package/lib/typescript/module/src/components/GamificationLoyaltyView.d.ts +6 -0
  337. package/lib/typescript/module/src/components/GamificationLoyaltyView.d.ts.map +1 -0
  338. package/lib/typescript/module/src/hydra-apis/Hydra.d.ts +15 -0
  339. package/lib/typescript/module/src/hydra-apis/Hydra.d.ts.map +1 -0
  340. package/lib/typescript/module/src/hydra-apis/HydraCore.d.ts +18 -0
  341. package/lib/typescript/module/src/hydra-apis/HydraCore.d.ts.map +1 -0
  342. package/lib/typescript/module/src/hydra-apis/HydraInAppMessaging.d.ts +8 -0
  343. package/lib/typescript/module/src/hydra-apis/HydraInAppMessaging.d.ts.map +1 -0
  344. package/lib/typescript/module/src/hydra-apis/HydraInbox.d.ts +9 -0
  345. package/lib/typescript/module/src/hydra-apis/HydraInbox.d.ts.map +1 -0
  346. package/lib/typescript/module/src/hydra-apis/HydraInboxUI.d.ts +5 -0
  347. package/lib/typescript/module/src/hydra-apis/HydraInboxUI.d.ts.map +1 -0
  348. package/lib/typescript/module/src/hydra-apis/HydraNativeEventEmitter.d.ts +35 -0
  349. package/lib/typescript/module/src/hydra-apis/HydraNativeEventEmitter.d.ts.map +1 -0
  350. package/lib/typescript/module/src/hydra-apis/HydraPushNotification.d.ts +6 -0
  351. package/lib/typescript/module/src/hydra-apis/HydraPushNotification.d.ts.map +1 -0
  352. package/lib/typescript/module/src/index.d.ts +37 -0
  353. package/lib/typescript/module/src/index.d.ts.map +1 -0
  354. package/lib/typescript/module/src/models/HydraAccountConfig.d.ts +14 -0
  355. package/lib/typescript/module/src/models/HydraAccountConfig.d.ts.map +1 -0
  356. package/lib/typescript/module/src/models/HydraFirebaseRemoteConfigKeys.d.ts +13 -0
  357. package/lib/typescript/module/src/models/HydraFirebaseRemoteConfigKeys.d.ts.map +1 -0
  358. package/lib/typescript/module/src/models/HydraGeoConfig.d.ts +14 -0
  359. package/lib/typescript/module/src/models/HydraGeoConfig.d.ts.map +1 -0
  360. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppButtonComponent.d.ts +16 -0
  361. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppButtonComponent.d.ts.map +1 -0
  362. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppComponentStyle.d.ts +10 -0
  363. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppComponentStyle.d.ts.map +1 -0
  364. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.d.ts +9 -0
  365. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.d.ts.map +1 -0
  366. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppMessage.d.ts +29 -0
  367. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppMessage.d.ts.map +1 -0
  368. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppTemplateType.d.ts +15 -0
  369. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppTemplateType.d.ts.map +1 -0
  370. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppTextComponent.d.ts +11 -0
  371. package/lib/typescript/module/src/models/HydraInAppMessage/HydraInAppTextComponent.d.ts.map +1 -0
  372. package/lib/typescript/module/src/models/HydraLogLevel.d.ts +9 -0
  373. package/lib/typescript/module/src/models/HydraLogLevel.d.ts.map +1 -0
  374. package/lib/typescript/module/src/models/HydraNativeEvent.d.ts +20 -0
  375. package/lib/typescript/module/src/models/HydraNativeEvent.d.ts.map +1 -0
  376. package/lib/typescript/module/src/models/HydraNotification/HydraNotification.d.ts +32 -0
  377. package/lib/typescript/module/src/models/HydraNotification/HydraNotification.d.ts.map +1 -0
  378. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationBody.d.ts +19 -0
  379. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationBody.d.ts.map +1 -0
  380. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationCta.d.ts +13 -0
  381. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationCta.d.ts.map +1 -0
  382. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationCtaType.d.ts +13 -0
  383. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationCtaType.d.ts.map +1 -0
  384. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationExpandedDetails.d.ts +19 -0
  385. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationExpandedDetails.d.ts.map +1 -0
  386. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationGateway.d.ts +6 -0
  387. package/lib/typescript/module/src/models/HydraNotification/HydraNotificationGateway.d.ts.map +1 -0
  388. package/lib/typescript/module/src/models/HydraPushPreferences.d.ts +10 -0
  389. package/lib/typescript/module/src/models/HydraPushPreferences.d.ts.map +1 -0
  390. package/lib/typescript/module/src/models/HydraUserDetails.d.ts +16 -0
  391. package/lib/typescript/module/src/models/HydraUserDetails.d.ts.map +1 -0
  392. package/lib/typescript/module/src/models/HydraVisitorInfo.d.ts +6 -0
  393. package/lib/typescript/module/src/models/HydraVisitorInfo.d.ts.map +1 -0
  394. package/lib/typescript/module/src/models/NonHydraNotification.d.ts +9 -0
  395. package/lib/typescript/module/src/models/NonHydraNotification.d.ts.map +1 -0
  396. package/lib/typescript/module/src/models/UserState.d.ts +11 -0
  397. package/lib/typescript/module/src/models/UserState.d.ts.map +1 -0
  398. package/package.json +225 -0
  399. package/react-native-hydra-lib.podspec +256 -0
  400. package/react-native.config.js +33 -0
  401. package/sbom.spdx.json +544 -0
  402. package/scripts/HydraPods.rb +151 -0
  403. package/scripts/generate-sbom.js +367 -0
  404. package/scripts/hydra-podspecs/HydraCore.podspec +13 -0
  405. package/scripts/hydra-podspecs/HydraInAppMessage.podspec +15 -0
  406. package/scripts/hydra-podspecs/HydraInboxCore.podspec +15 -0
  407. package/scripts/hydra-podspecs/HydraInboxUI.podspec +15 -0
  408. package/scripts/hydra-podspecs/HydraPushNotification.podspec +14 -0
  409. package/scripts/hydra-podspecs/HydraPushNotificationServiceExtension.podspec +15 -0
  410. package/src/GamificationBannerViewNativeComponent.ts +10 -0
  411. package/src/GamificationEmbedViewNativeComponent.ts +10 -0
  412. package/src/GamificationLoyaltyViewNativeComponent.ts +10 -0
  413. package/src/NativeHydraLib.ts +81 -0
  414. package/src/components/GamificationBannerView.tsx +10 -0
  415. package/src/components/GamificationEmbedView.tsx +10 -0
  416. package/src/components/GamificationLoyaltyView.tsx +10 -0
  417. package/src/hydra-apis/Hydra.ts +52 -0
  418. package/src/hydra-apis/HydraCore.ts +76 -0
  419. package/src/hydra-apis/HydraInAppMessaging.ts +25 -0
  420. package/src/hydra-apis/HydraInbox.ts +33 -0
  421. package/src/hydra-apis/HydraInboxUI.ts +10 -0
  422. package/src/hydra-apis/HydraNativeEventEmitter.ts +216 -0
  423. package/src/hydra-apis/HydraPushNotification.ts +15 -0
  424. package/src/index.tsx +71 -0
  425. package/src/models/HydraAccountConfig.ts +45 -0
  426. package/src/models/HydraFirebaseRemoteConfigKeys.ts +43 -0
  427. package/src/models/HydraGeoConfig.ts +27 -0
  428. package/src/models/HydraInAppMessage/HydraInAppButtonComponent.ts +27 -0
  429. package/src/models/HydraInAppMessage/HydraInAppComponentStyle.ts +24 -0
  430. package/src/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.ts +35 -0
  431. package/src/models/HydraInAppMessage/HydraInAppMessage.ts +89 -0
  432. package/src/models/HydraInAppMessage/HydraInAppTemplateType.ts +57 -0
  433. package/src/models/HydraInAppMessage/HydraInAppTextComponent.ts +18 -0
  434. package/src/models/HydraLogLevel.ts +8 -0
  435. package/src/models/HydraNativeEvent.ts +19 -0
  436. package/src/models/HydraNotification/HydraNotification.ts +97 -0
  437. package/src/models/HydraNotification/HydraNotificationBody.ts +23 -0
  438. package/src/models/HydraNotification/HydraNotificationCta.ts +20 -0
  439. package/src/models/HydraNotification/HydraNotificationCtaType.ts +59 -0
  440. package/src/models/HydraNotification/HydraNotificationExpandedDetails.ts +28 -0
  441. package/src/models/HydraNotification/HydraNotificationGateway.ts +5 -0
  442. package/src/models/HydraPushPreferences.ts +16 -0
  443. package/src/models/HydraUserDetails.ts +31 -0
  444. package/src/models/HydraVisitorInfo.ts +14 -0
  445. package/src/models/NonHydraNotification.ts +15 -0
  446. package/src/models/UserState.ts +33 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraGeoConfig.d.ts","sourceRoot":"","sources":["../../../../../src/models/HydraGeoConfig.ts"],"names":[],"mappings":"AAAA,qBAAa,cAAc;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;gBAGtB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,MAAM,EACnB,QAAQ,GAAE,MAAM,GAAG,IAAW;IAQhC,MAAM;;;;;;CAQP"}
@@ -0,0 +1,16 @@
1
+ import { HydraNotificationCtaType } from '../HydraNotification/HydraNotificationCtaType';
2
+ import { HydraInAppComponentStyle } from './HydraInAppComponentStyle';
3
+ export declare class HydraInAppButtonComponent {
4
+ readonly actionText: string | null;
5
+ readonly action: string | null;
6
+ readonly type: HydraNotificationCtaType | null;
7
+ readonly style: HydraInAppComponentStyle;
8
+ constructor(json: Record<string, any>);
9
+ toJson(): {
10
+ actionText: string | null;
11
+ action: string | null;
12
+ type: string | null;
13
+ style: Object;
14
+ };
15
+ }
16
+ //# sourceMappingURL=HydraInAppButtonComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraInAppButtonComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraInAppMessage/HydraInAppButtonComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,+CAA+C,CAAC;AACzF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,qBAAa,yBAAyB;IACpC,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,IAAI,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAC/C,QAAQ,CAAC,KAAK,EAAE,wBAAwB,CAAC;gBAE7B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IASrC,MAAM;;;;;;CAQP"}
@@ -0,0 +1,10 @@
1
+ export declare class HydraInAppComponentStyle {
2
+ readonly backgroundColor: string | null;
3
+ readonly textColor: string | null;
4
+ readonly fontSize: number | null;
5
+ readonly fontStyle: string | null;
6
+ readonly fontName: string | null;
7
+ constructor(json: Record<string, any>);
8
+ toJson(): Object;
9
+ }
10
+ //# sourceMappingURL=HydraInAppComponentStyle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraInAppComponentStyle.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraInAppMessage/HydraInAppComponentStyle.ts"],"names":[],"mappings":"AAAA,qBAAa,wBAAwB;IACnC,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;gBAErB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAOrC,MAAM,IAAI,MAAM;CASjB"}
@@ -0,0 +1,9 @@
1
+ export declare enum HydraInAppFeedbackSelectionType {
2
+ single = 0,
3
+ multiple = 1
4
+ }
5
+ export declare namespace HydraInAppFeedbackSelectionType {
6
+ function fromString(value: string): HydraInAppFeedbackSelectionType | null;
7
+ function toString(value: HydraInAppFeedbackSelectionType): string;
8
+ }
9
+ //# sourceMappingURL=HydraInAppFeedbackSelectionType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraInAppFeedbackSelectionType.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraInAppMessage/HydraInAppFeedbackSelectionType.ts"],"names":[],"mappings":"AAEA,oBAAY,+BAA+B;IACzC,MAAM,IAAA;IACN,QAAQ,IAAA;CACT;AAED,yBAAiB,+BAA+B,CAAC;IAC/C,SAAgB,UAAU,CACxB,KAAK,EAAE,MAAM,GACZ,+BAA+B,GAAG,IAAI,CAWxC;IACD,SAAgB,QAAQ,CAAC,KAAK,EAAE,+BAA+B,GAAG,MAAM,CAWvE;CACF"}
@@ -0,0 +1,29 @@
1
+ import { HydraInAppButtonComponent } from './HydraInAppButtonComponent';
2
+ import { HydraInAppFeedbackSelectionType } from './HydraInAppFeedbackSelectionType';
3
+ import { HydraInAppTemplateType } from './HydraInAppTemplateType';
4
+ import { HydraInAppTextComponent } from './HydraInAppTextComponent';
5
+ export declare class HydraInAppMessage {
6
+ readonly scope: string;
7
+ readonly campaignId: string | null;
8
+ readonly cuid: string | null;
9
+ readonly senderId: string | null;
10
+ readonly title: HydraInAppTextComponent | null;
11
+ readonly message: HydraInAppTextComponent | null;
12
+ readonly imageUrl: string | null;
13
+ readonly campaignType: string;
14
+ readonly eventAttributes: Record<string, string> | null;
15
+ readonly actionButton: HydraInAppButtonComponent | null;
16
+ readonly negativeButton: HydraInAppButtonComponent | null;
17
+ readonly templateType: HydraInAppTemplateType | null;
18
+ readonly phoneBackgroundColor: string | null;
19
+ readonly layoutBackgroundColor: string | null;
20
+ readonly feedbackSelectionType: HydraInAppFeedbackSelectionType | null;
21
+ readonly feedbackOptions: string[] | null;
22
+ readonly ratingSelectedColor: string | null;
23
+ readonly ratingUnselectedColor: string | null;
24
+ readonly createdAt: Date | null;
25
+ readonly nativeJsonPayload: string | null;
26
+ constructor(json: Record<string, any>);
27
+ toJson(): Object;
28
+ }
29
+ //# sourceMappingURL=HydraInAppMessage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraInAppMessage.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraInAppMessage/HydraInAppMessage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAEpE,qBAAa,iBAAiB;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAC/C,QAAQ,CAAC,OAAO,EAAE,uBAAuB,GAAG,IAAI,CAAC;IACjD,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC;IACxD,QAAQ,CAAC,YAAY,EAAE,yBAAyB,GAAG,IAAI,CAAC;IACxD,QAAQ,CAAC,cAAc,EAAE,yBAAyB,GAAG,IAAI,CAAC;IAC1D,QAAQ,CAAC,YAAY,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACrD,QAAQ,CAAC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7C,QAAQ,CAAC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,qBAAqB,EAAE,+BAA+B,GAAG,IAAI,CAAC;IACvE,QAAQ,CAAC,eAAe,EAAE,MAAM,EAAE,GAAG,IAAI,CAAC;IAC1C,QAAQ,CAAC,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,qBAAqB,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,iBAAiB,EAAE,MAAM,GAAG,IAAI,CAAC;gBAE9B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAiCrC,MAAM,IAAI,MAAM;CA4BjB"}
@@ -0,0 +1,15 @@
1
+ export declare enum HydraInAppTemplateType {
2
+ badge = 0,
3
+ popup = 1,
4
+ header = 2,
5
+ footer = 3,
6
+ fullScreen = 4,
7
+ rating = 5,
8
+ feedback = 6,
9
+ appRating = 7
10
+ }
11
+ export declare namespace HydraInAppTemplateType {
12
+ function fromString(value: string): HydraInAppTemplateType | null;
13
+ function toString(value: HydraInAppTemplateType): string;
14
+ }
15
+ //# sourceMappingURL=HydraInAppTemplateType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraInAppTemplateType.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraInAppMessage/HydraInAppTemplateType.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAChC,KAAK,IAAA;IACL,KAAK,IAAA;IACL,MAAM,IAAA;IACN,MAAM,IAAA;IACN,UAAU,IAAA;IACV,MAAM,IAAA;IACN,QAAQ,IAAA;IACR,SAAS,IAAA;CACV;AAED,yBAAiB,sBAAsB,CAAC;IACtC,SAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,sBAAsB,GAAG,IAAI,CAqBvE;IACD,SAAgB,QAAQ,CAAC,KAAK,EAAE,sBAAsB,GAAG,MAAM,CAqB9D;CACF"}
@@ -0,0 +1,11 @@
1
+ import { HydraInAppComponentStyle } from './HydraInAppComponentStyle';
2
+ export declare class HydraInAppTextComponent {
3
+ readonly text: string;
4
+ readonly style: HydraInAppComponentStyle;
5
+ constructor(json: Record<string, any>);
6
+ toJson(): {
7
+ text: string;
8
+ style: Object;
9
+ };
10
+ }
11
+ //# sourceMappingURL=HydraInAppTextComponent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraInAppTextComponent.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraInAppMessage/HydraInAppTextComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,qBAAa,uBAAuB;IAClC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,wBAAwB,CAAC;gBAE7B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAKrC,MAAM;;;;CAMP"}
@@ -0,0 +1,9 @@
1
+ export declare enum HydraLogLevel {
2
+ off = 0,
3
+ error = 1,
4
+ warn = 2,
5
+ info = 3,
6
+ debug = 4,
7
+ verbose = 5
8
+ }
9
+ //# sourceMappingURL=HydraLogLevel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraLogLevel.d.ts","sourceRoot":"","sources":["../../../../../src/models/HydraLogLevel.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,GAAG,IAAI;IACP,KAAK,IAAI;IACT,IAAI,IAAI;IACR,IAAI,IAAI;IACR,KAAK,IAAI;IACT,OAAO,IAAI;CACZ"}
@@ -0,0 +1,20 @@
1
+ export declare enum HydraNativeEvent {
2
+ onTokenAvailable = "onTokenAvailable",
3
+ onNonHydraNotificationReceived = "onNonHydraNotificationReceived",
4
+ onNonHydraNotificationClicked = "onNonHydraNotificationClicked",
5
+ onHydraNotificationReceived = "onHydraNotificationReceived",
6
+ onHydraNotificationClicked = "onHydraNotificationClicked",
7
+ onHydraNotificationShown = "onHydraNotificationShown",
8
+ onHydraNotificationDismissed = "onHydraNotificationDismissed",
9
+ handleCustomAction = "handleCustomAction",
10
+ onNotificationCenterDismissed = "onNotificationCenterDismissed",
11
+ onInboxUpdated = "onInboxUpdated",
12
+ onHydraSdkInitializationResult = "onHydraSdkInitializationResult",
13
+ onHydraInAppMessage = "onHydraInAppMessage",
14
+ onConfigFetchedCallback = "onConfigFetchedCallback",
15
+ onLegacyFlowReady = "onLegacyFlowReady",
16
+ onVisitorSessionReady = "onVisitorSessionReady",
17
+ onUserStateChanged = "onUserStateChanged",
18
+ onGamificationViewHeightChanged = "onGamificationViewHeightChanged"
19
+ }
20
+ //# sourceMappingURL=HydraNativeEvent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraNativeEvent.d.ts","sourceRoot":"","sources":["../../../../../src/models/HydraNativeEvent.ts"],"names":[],"mappings":"AAAA,oBAAY,gBAAgB;IAC1B,gBAAgB,qBAAqB;IACrC,8BAA8B,mCAAmC;IACjE,6BAA6B,kCAAkC;IAC/D,2BAA2B,gCAAgC;IAC3D,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,4BAA4B,iCAAiC;IAC7D,kBAAkB,uBAAuB;IACzC,6BAA6B,kCAAkC;IAC/D,cAAc,mBAAmB;IACjC,8BAA8B,mCAAmC;IACjE,mBAAmB,wBAAwB;IAC3C,uBAAuB,4BAA4B;IACnD,iBAAiB,sBAAsB;IACvC,qBAAqB,0BAA0B;IAC/C,kBAAkB,uBAAuB;IACzC,+BAA+B,oCAAoC;CACpE"}
@@ -0,0 +1,32 @@
1
+ import { HydraNotificationBody } from './HydraNotificationBody';
2
+ import { HydraNotificationExpandedDetails } from './HydraNotificationExpandedDetails';
3
+ import { HydraNotificationGateway } from './HydraNotificationGateway';
4
+ export declare class HydraNotification {
5
+ readonly cuid: string | null;
6
+ readonly scope: string | null;
7
+ readonly campaignId: string | null;
8
+ readonly variationId: string | null;
9
+ readonly senderId: string | null;
10
+ readonly senderSource: string | null;
11
+ readonly custom: string | null;
12
+ readonly customData: Record<string, any> | null;
13
+ readonly priority: string | null;
14
+ readonly validity: string | null;
15
+ readonly messageId: string | null;
16
+ readonly gateway: HydraNotificationGateway | null;
17
+ readonly body: HydraNotificationBody | null;
18
+ readonly expandableDetails: HydraNotificationExpandedDetails | null;
19
+ readonly isRead: boolean | null;
20
+ readonly imageIdentifier: string | null;
21
+ readonly accountId: string | null;
22
+ readonly channelId: string | null;
23
+ readonly payload: string | null;
24
+ readonly createdAt: Date | null;
25
+ readonly isExpanded: boolean | null;
26
+ readonly isMessageEllipsized: boolean | null;
27
+ readonly isTitleEllipsized: boolean | null;
28
+ readonly showArrow: boolean | null;
29
+ constructor(json: Record<string, any>);
30
+ toJson(overrideIsReadWith?: boolean): Record<string, any>;
31
+ }
32
+ //# sourceMappingURL=HydraNotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraNotification.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraNotification/HydraNotification.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AACtF,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,qBAAa,iBAAiB;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IAChD,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAClD,QAAQ,CAAC,IAAI,EAAE,qBAAqB,GAAG,IAAI,CAAC;IAC5C,QAAQ,CAAC,iBAAiB,EAAE,gCAAgC,GAAG,IAAI,CAAC;IACpE,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,UAAU,EAAE,OAAO,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,mBAAmB,EAAE,OAAO,GAAG,IAAI,CAAC;IAC7C,QAAQ,CAAC,iBAAiB,EAAE,OAAO,GAAG,IAAI,CAAC;IAC3C,QAAQ,CAAC,SAAS,EAAE,OAAO,GAAG,IAAI,CAAC;gBAEvB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAiCrC,MAAM,CAAC,kBAAkB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAgC1D"}
@@ -0,0 +1,19 @@
1
+ import { HydraNotificationCta } from './HydraNotificationCta';
2
+ export declare class HydraNotificationBody {
3
+ readonly title: string | null;
4
+ readonly message: string | null;
5
+ readonly cta: HydraNotificationCta | null;
6
+ readonly image: string | null;
7
+ constructor(json: Record<string, any>);
8
+ toJson(): {
9
+ title: string | null;
10
+ message: string | null;
11
+ cta: {
12
+ type: string | null;
13
+ action: string | null;
14
+ actionText: string | null;
15
+ } | null;
16
+ image: string | null;
17
+ };
18
+ }
19
+ //# sourceMappingURL=HydraNotificationBody.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraNotificationBody.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraNotification/HydraNotificationBody.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,qBAAa,qBAAqB;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,GAAG,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAC1C,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;gBAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAOrC,MAAM;;;;;;;;;;CAQP"}
@@ -0,0 +1,13 @@
1
+ import { HydraNotificationCtaType } from './HydraNotificationCtaType';
2
+ export declare class HydraNotificationCta {
3
+ readonly type: HydraNotificationCtaType | null;
4
+ readonly action: string | null;
5
+ readonly actionText: string | null;
6
+ constructor(json: Record<string, any>);
7
+ toJson(): {
8
+ type: string | null;
9
+ action: string | null;
10
+ actionText: string | null;
11
+ };
12
+ }
13
+ //# sourceMappingURL=HydraNotificationCta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraNotificationCta.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraNotification/HydraNotificationCta.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,qBAAa,oBAAoB;IAC/B,QAAQ,CAAC,IAAI,EAAE,wBAAwB,GAAG,IAAI,CAAC;IAC/C,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;gBACvB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAMrC,MAAM;;;;;CAOP"}
@@ -0,0 +1,13 @@
1
+ export declare enum HydraNotificationCtaType {
2
+ external = 0,
3
+ deepLink = 1,
4
+ rating = 2,
5
+ feedback = 3,
6
+ appRating = 4,
7
+ unknown = 5
8
+ }
9
+ export declare namespace HydraNotificationCtaType {
10
+ function fromString(value: string | null): HydraNotificationCtaType | null;
11
+ function toString(value: HydraNotificationCtaType | null): string | null;
12
+ }
13
+ //# sourceMappingURL=HydraNotificationCtaType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraNotificationCtaType.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraNotification/HydraNotificationCtaType.ts"],"names":[],"mappings":"AAEA,oBAAY,wBAAwB;IAClC,QAAQ,IAAA;IACR,QAAQ,IAAA;IACR,MAAM,IAAA;IACN,QAAQ,IAAA;IACR,SAAS,IAAA;IACT,OAAO,IAAA;CACR;AAED,yBAAiB,wBAAwB,CAAC;IACxC,SAAgB,UAAU,CACxB,KAAK,EAAE,MAAM,GAAG,IAAI,GACnB,wBAAwB,GAAG,IAAI,CAsBjC;IAED,SAAgB,QAAQ,CACtB,KAAK,EAAE,wBAAwB,GAAG,IAAI,GACrC,MAAM,GAAG,IAAI,CAiBf;CACF"}
@@ -0,0 +1,19 @@
1
+ import { HydraNotificationCta } from './HydraNotificationCta';
2
+ export declare class HydraNotificationExpandedDetails {
3
+ readonly ctas: HydraNotificationCta[] | null;
4
+ readonly message: string | null;
5
+ readonly image: string | null;
6
+ readonly style: string | null;
7
+ constructor(json: Record<string, any>);
8
+ toJson(): {
9
+ ctas: {
10
+ type: string | null;
11
+ action: string | null;
12
+ actionText: string | null;
13
+ }[] | null;
14
+ message: string | null;
15
+ image: string | null;
16
+ style: string | null;
17
+ };
18
+ }
19
+ //# sourceMappingURL=HydraNotificationExpandedDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraNotificationExpandedDetails.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraNotification/HydraNotificationExpandedDetails.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,qBAAa,gCAAgC;IAC3C,QAAQ,CAAC,IAAI,EAAE,oBAAoB,EAAE,GAAG,IAAI,CAAC;IAC7C,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;gBAClB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IAYrC,MAAM;;;;;;;;;;CAQP"}
@@ -0,0 +1,6 @@
1
+ export declare enum HydraNotificationGateway {
2
+ fcm = 0,
3
+ xiaomi = 1,
4
+ unknown = 2
5
+ }
6
+ //# sourceMappingURL=HydraNotificationGateway.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraNotificationGateway.d.ts","sourceRoot":"","sources":["../../../../../../src/models/HydraNotification/HydraNotificationGateway.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAClC,GAAG,IAAA;IACH,MAAM,IAAA;IACN,OAAO,IAAA;CACR"}
@@ -0,0 +1,10 @@
1
+ export declare class HydraPushPreferences {
2
+ promPushOpted: boolean;
3
+ transPushOpted: boolean;
4
+ constructor(promPushOpted: boolean, transPushOpted: boolean);
5
+ toJson(): {
6
+ promPushOpted: boolean;
7
+ transPushOpted: boolean;
8
+ };
9
+ }
10
+ //# sourceMappingURL=HydraPushPreferences.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraPushPreferences.d.ts","sourceRoot":"","sources":["../../../../../src/models/HydraPushPreferences.ts"],"names":[],"mappings":"AAAA,qBAAa,oBAAoB;IAC/B,aAAa,EAAE,OAAO,CAAC;IACvB,cAAc,EAAE,OAAO,CAAC;gBAEZ,aAAa,EAAE,OAAO,EAAE,cAAc,EAAE,OAAO;IAK3D,MAAM;;;;CAMP"}
@@ -0,0 +1,16 @@
1
+ export declare class HydraUserDetails {
2
+ customerId: string;
3
+ firstName: string | null;
4
+ lastName: string | null;
5
+ email: string | null;
6
+ phone: string | null;
7
+ constructor(customerId: string, firstName?: string | null, lastName?: string | null, email?: string | null, phone?: string | null);
8
+ toJson(): {
9
+ customerId: string;
10
+ firstName: string | null;
11
+ lastName: string | null;
12
+ email: string | null;
13
+ phone: string | null;
14
+ };
15
+ }
16
+ //# sourceMappingURL=HydraUserDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraUserDetails.d.ts","sourceRoot":"","sources":["../../../../../src/models/HydraUserDetails.ts"],"names":[],"mappings":"AAAA,qBAAa,gBAAgB;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;gBAGnB,UAAU,EAAE,MAAM,EAClB,SAAS,GAAE,MAAM,GAAG,IAAW,EAC/B,QAAQ,GAAE,MAAM,GAAG,IAAW,EAC9B,KAAK,GAAE,MAAM,GAAG,IAAW,EAC3B,KAAK,GAAE,MAAM,GAAG,IAAW;IAS7B,MAAM;;;;;;;CASP"}
@@ -0,0 +1,6 @@
1
+ export declare class HydraVisitorInfo {
2
+ visitorId: string;
3
+ constructor(visitorId: string);
4
+ static fromJson(json: Record<string, any> | null): HydraVisitorInfo | null;
5
+ }
6
+ //# sourceMappingURL=HydraVisitorInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HydraVisitorInfo.d.ts","sourceRoot":"","sources":["../../../../../src/models/HydraVisitorInfo.ts"],"names":[],"mappings":"AAAA,qBAAa,gBAAgB;IAC3B,SAAS,EAAE,MAAM,CAAC;gBAEN,SAAS,EAAE,MAAM;IAI7B,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,gBAAgB,GAAG,IAAI;CAM3E"}
@@ -0,0 +1,9 @@
1
+ export declare class NonHydraNotification {
2
+ readonly title: string | null;
3
+ readonly body: string | null;
4
+ readonly icon: string | null;
5
+ readonly imageUrl: string | null;
6
+ readonly data: Record<string, any> | null;
7
+ constructor(json: Record<string, any>);
8
+ }
9
+ //# sourceMappingURL=NonHydraNotification.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NonHydraNotification.d.ts","sourceRoot":"","sources":["../../../../../src/models/NonHydraNotification.ts"],"names":[],"mappings":"AAAA,qBAAa,oBAAoB;IAC/B,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;gBAC9B,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;CAQtC"}
@@ -0,0 +1,11 @@
1
+ export declare enum UserState {
2
+ none = "none",
3
+ legacyRegistered = "legacyRegistered",
4
+ visitor = "visitor",
5
+ merged = "merged",
6
+ signedOut = "signedOut"
7
+ }
8
+ export declare namespace UserState {
9
+ function fromString(value: string | null): UserState | null;
10
+ }
11
+ //# sourceMappingURL=UserState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UserState.d.ts","sourceRoot":"","sources":["../../../../../src/models/UserState.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,gBAAgB,qBAAqB;IACrC,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,yBAAiB,SAAS,CAAC;IACzB,SAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAsBjE;CACF"}
package/package.json ADDED
@@ -0,0 +1,225 @@
1
+ {
2
+ "name": "@capillarytech/react-native-hydra-lib",
3
+ "version": "1.7.0-beta.1",
4
+ "description": "Library to use Hydra native iOS and Native Android SDKs in React Native",
5
+ "source": "./src/index.tsx",
6
+ "main": "./lib/commonjs/index.js",
7
+ "module": "./lib/module/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
+ "types": "./lib/typescript/module/src/index.d.ts",
12
+ "default": "./lib/module/index.js"
13
+ },
14
+ "require": {
15
+ "types": "./lib/typescript/commonjs/src/index.d.ts",
16
+ "default": "./lib/commonjs/index.js"
17
+ }
18
+ },
19
+ "./scripts/HydraPods.rb": "./scripts/HydraPods.rb"
20
+ },
21
+ "files": [
22
+ "src",
23
+ "lib",
24
+ "android",
25
+ "ios",
26
+ "cpp",
27
+ "scripts",
28
+ "*.podspec",
29
+ "react-native.config.js",
30
+ "README.md",
31
+ "CHANGELOG.md",
32
+ "RELEASE_NOTES.md",
33
+ "MIGRATION.md",
34
+ "DEPRECATION_POLICY.md",
35
+ "LICENSE",
36
+ "sbom.spdx.json",
37
+ "!ios/build",
38
+ "!android/build",
39
+ "!android/gradle",
40
+ "!android/gradlew",
41
+ "!android/gradlew.bat",
42
+ "!android/local.properties",
43
+ "!**/__tests__",
44
+ "!**/__fixtures__",
45
+ "!**/__mocks__",
46
+ "!**/.*"
47
+ ],
48
+ "scripts": {
49
+ "example": "yarn workspace react-native-hydra-lib-example",
50
+ "test": "jest",
51
+ "typecheck": "tsc",
52
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
53
+ "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build lib",
54
+ "prepare": "bob build",
55
+ "release": "release-it",
56
+ "postinstall": "node scripts/generate-sbom.js",
57
+ "generate-sbom": "node scripts/generate-sbom.js"
58
+ },
59
+ "keywords": [
60
+ "react-native",
61
+ "ios",
62
+ "android"
63
+ ],
64
+ "repository": {
65
+ "type": "git",
66
+ "url": "https://github.com/Capillary/react-native-hydra-lib.git"
67
+ },
68
+ "author": "Sandesh Jain <sandesh.Jain@capillarytech.com> (https://docs.capillarytech.com/reference/setting-up-react-native-project-for-hydra-sdk)",
69
+ "license": "MIT",
70
+ "bugs": {
71
+ "url": "https://github.com/Capillary/react-native-hydra-lib/issues"
72
+ },
73
+ "homepage": "https://github.com/Capillary/react-native-hydra-lib#readme",
74
+ "publishConfig": {
75
+ "access": "public",
76
+ "registry": "https://registry.npmjs.org/"
77
+ },
78
+ "devDependencies": {
79
+ "@commitlint/config-conventional": "^17.0.2",
80
+ "@evilmartians/lefthook": "^1.5.0",
81
+ "@react-native-community/cli": "15.0.1",
82
+ "@react-native/eslint-config": "^0.73.1",
83
+ "@release-it/conventional-changelog": "^10.0.0",
84
+ "@types/jest": "^29.5.5",
85
+ "@types/react": "^18.2.44",
86
+ "commitlint": "^17.0.2",
87
+ "del-cli": "^5.1.0",
88
+ "eslint": "^8.51.0",
89
+ "eslint-config-prettier": "^9.0.0",
90
+ "eslint-plugin-prettier": "^5.0.1",
91
+ "jest": "^29.7.0",
92
+ "prettier": "^3.0.3",
93
+ "react": "18.3.1",
94
+ "react-native": "0.77.0",
95
+ "react-native-builder-bob": "^0.35.2",
96
+ "release-it": "^17.10.0",
97
+ "turbo": "^1.10.7",
98
+ "typescript": "^5.2.2"
99
+ },
100
+ "resolutions": {
101
+ "@types/react": "^18.2.44",
102
+ "conventional-changelog-conventionalcommits": "^8.0.0"
103
+ },
104
+ "peerDependencies": {
105
+ "react": "*",
106
+ "react-native": "*"
107
+ },
108
+ "workspaces": [
109
+ "example"
110
+ ],
111
+ "packageManager": "yarn@3.6.1",
112
+ "jest": {
113
+ "preset": "react-native",
114
+ "modulePathIgnorePatterns": [
115
+ "<rootDir>/example/node_modules",
116
+ "<rootDir>/lib/"
117
+ ]
118
+ },
119
+ "commitlint": {
120
+ "extends": [
121
+ "@commitlint/config-conventional"
122
+ ]
123
+ },
124
+ "release-it": {
125
+ "git": {
126
+ "commitMessage": "chore: release ${version}",
127
+ "tagName": "v${version}"
128
+ },
129
+ "npm": {
130
+ "publish": true,
131
+ "allowSameVersion": true
132
+ },
133
+ "github": {
134
+ "release": true
135
+ },
136
+ "plugins": {
137
+ "@release-it/conventional-changelog": {
138
+ "preset": {
139
+ "name": "conventionalcommits",
140
+ "types": [
141
+ {
142
+ "type": "feat",
143
+ "section": "Features"
144
+ }
145
+ ]
146
+ }
147
+ }
148
+ }
149
+ },
150
+ "eslintConfig": {
151
+ "root": true,
152
+ "extends": [
153
+ "@react-native",
154
+ "prettier"
155
+ ],
156
+ "rules": {
157
+ "react/react-in-jsx-scope": "off",
158
+ "prettier/prettier": [
159
+ "error",
160
+ {
161
+ "quoteProps": "consistent",
162
+ "singleQuote": true,
163
+ "tabWidth": 2,
164
+ "trailingComma": "es5",
165
+ "useTabs": false
166
+ }
167
+ ]
168
+ }
169
+ },
170
+ "eslintIgnore": [
171
+ "node_modules/",
172
+ "lib/"
173
+ ],
174
+ "prettier": {
175
+ "quoteProps": "consistent",
176
+ "singleQuote": true,
177
+ "tabWidth": 2,
178
+ "trailingComma": "es5",
179
+ "useTabs": false
180
+ },
181
+ "react-native-builder-bob": {
182
+ "source": "src",
183
+ "output": "lib",
184
+ "targets": [
185
+ "codegen",
186
+ [
187
+ "commonjs",
188
+ {
189
+ "esm": true
190
+ }
191
+ ],
192
+ [
193
+ "module",
194
+ {
195
+ "esm": true
196
+ }
197
+ ],
198
+ [
199
+ "typescript",
200
+ {
201
+ "project": "tsconfig.build.json",
202
+ "esm": true
203
+ }
204
+ ]
205
+ ]
206
+ },
207
+ "codegenConfig": {
208
+ "name": "RNHydraLibSpec",
209
+ "type": "all",
210
+ "jsSrcsDir": "src",
211
+ "outputDir": {
212
+ "ios": "ios/generated",
213
+ "android": "android/generated"
214
+ },
215
+ "android": {
216
+ "javaPackageName": "com.hydralib"
217
+ },
218
+ "includesGeneratedCode": true
219
+ },
220
+ "create-react-native-library": {
221
+ "type": "turbo-module",
222
+ "languages": "kotlin-objc",
223
+ "version": "0.45.5"
224
+ }
225
+ }