react-native-unit-components 1.9.1 → 1.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (828) hide show
  1. package/android/build.gradle +36 -88
  2. package/android/gradle.properties +2 -2
  3. package/android/src/main/AndroidManifestNew.xml +14 -0
  4. package/android/src/main/java/com/unitreactnativecomponents/UnitAddToWalletButtonViewManager.kt +2 -2
  5. package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsEvent.kt +3 -3
  6. package/android/src/main/java/com/unitreactnativecomponents/UnitReactNativeComponentsPackage.kt +9 -12
  7. package/android/src/main/java/com/unitreactnativecomponents/appInfo/UNAppInfoModule.kt +59 -0
  8. package/android/src/main/java/com/unitreactnativecomponents/extensions/ContextExtensions.kt +35 -0
  9. package/android/src/main/java/com/unitreactnativecomponents/visapresentation/UNGooglePayView.kt +147 -152
  10. package/ios/Extensions/Bundle+Extensions.swift +23 -0
  11. package/ios/UNAppInfo/IOSAppInfo.swift +47 -0
  12. package/ios/UNAppInfo/UNAppInfoExportModule.m +5 -2
  13. package/ios/UnitReactNativeComponents.xcodeproj/project.pbxproj +34 -0
  14. package/lib/commonjs/assets/images/index.js.map +1 -1
  15. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js +15 -6
  16. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
  17. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
  18. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
  19. package/lib/commonjs/components/UNACHCreditComponent/index.js +2 -2
  20. package/lib/commonjs/components/UNACHCreditComponent/index.js.map +1 -1
  21. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js +15 -6
  22. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
  23. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
  24. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
  25. package/lib/commonjs/components/UNACHDebitComponent/index.js +2 -2
  26. package/lib/commonjs/components/UNACHDebitComponent/index.js.map +1 -1
  27. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js +41 -21
  28. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
  29. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +9 -8
  30. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
  31. package/lib/commonjs/components/UNAccountComponent/index.js +2 -2
  32. package/lib/commonjs/components/UNAccountComponent/index.js.map +1 -1
  33. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +28 -15
  34. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
  35. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +8 -2
  36. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
  37. package/lib/commonjs/components/UNActivityComponent/index.js +8 -2
  38. package/lib/commonjs/components/UNActivityComponent/index.js.map +1 -1
  39. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +13 -4
  40. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
  41. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
  42. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
  43. package/lib/commonjs/components/UNBookPaymentComponent/index.js +2 -2
  44. package/lib/commonjs/components/UNBookPaymentComponent/index.js.map +1 -1
  45. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +13 -3
  46. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
  47. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +156 -246
  48. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
  49. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
  50. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +13 -16
  51. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  52. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +50 -0
  53. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
  54. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +17 -0
  55. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
  56. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +166 -0
  57. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
  58. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +17 -0
  59. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
  60. package/lib/commonjs/components/UNBottomSheetComponent/components/index.js +15 -4
  61. package/lib/commonjs/components/UNBottomSheetComponent/components/index.js.map +1 -1
  62. package/lib/commonjs/components/UNBottomSheetComponent/index.js.map +1 -1
  63. package/lib/commonjs/components/UNCardComponent/UNCardComponent.js +14 -12
  64. package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
  65. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +7 -5
  66. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
  67. package/lib/commonjs/components/UNCardComponent/index.js +2 -2
  68. package/lib/commonjs/components/UNCardComponent/index.js.map +1 -1
  69. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js +14 -4
  70. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
  71. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
  72. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
  73. package/lib/commonjs/components/UNCheckDepositComponent/index.js +2 -2
  74. package/lib/commonjs/components/UNCheckDepositComponent/index.js.map +1 -1
  75. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +85 -0
  76. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -0
  77. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +42 -0
  78. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -0
  79. package/lib/commonjs/components/UNMultipleCardsComponent/index.js +21 -0
  80. package/lib/commonjs/components/UNMultipleCardsComponent/index.js.map +1 -0
  81. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +61 -0
  82. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
  83. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +15 -0
  84. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
  85. package/lib/commonjs/components/UNNextRepaymentComponent/index.js +21 -0
  86. package/lib/commonjs/components/UNNextRepaymentComponent/index.js.map +1 -0
  87. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +61 -0
  88. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
  89. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +15 -0
  90. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
  91. package/lib/commonjs/components/UNProgramDetailsComponent/index.js +21 -0
  92. package/lib/commonjs/components/UNProgramDetailsComponent/index.js.map +1 -0
  93. package/lib/commonjs/components/index.js +33 -0
  94. package/lib/commonjs/components/index.js.map +1 -1
  95. package/lib/commonjs/custom.d.js.map +1 -1
  96. package/lib/commonjs/flows/UNFlows.js +1 -1
  97. package/lib/commonjs/flows/UNFlows.js.map +1 -1
  98. package/lib/commonjs/flows/card/UNCardFlows.js +27 -23
  99. package/lib/commonjs/flows/card/UNCardFlows.js.map +1 -1
  100. package/lib/commonjs/helpers/BottomSheet/BottomSheet.js +26 -29
  101. package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -1
  102. package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js +0 -2
  103. package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
  104. package/lib/commonjs/helpers/pushProvisioningService/helpers.js +34 -0
  105. package/lib/commonjs/helpers/pushProvisioningService/helpers.js.map +1 -0
  106. package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js +31 -2
  107. package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
  108. package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
  109. package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js +3 -3
  110. package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
  111. package/lib/commonjs/helpers/pushProvisioningService/types.js +40 -0
  112. package/lib/commonjs/helpers/pushProvisioningService/types.js.map +1 -0
  113. package/lib/commonjs/helpers/store/helpers.js.map +1 -1
  114. package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
  115. package/lib/commonjs/hooks/useListenerToEvent.js +26 -0
  116. package/lib/commonjs/hooks/useListenerToEvent.js.map +1 -0
  117. package/lib/commonjs/index.js.map +1 -1
  118. package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js +7 -9
  119. package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
  120. package/lib/commonjs/messages/nativeMessages/cardMessage.js +3 -4
  121. package/lib/commonjs/messages/nativeMessages/cardMessage.js.map +1 -1
  122. package/lib/commonjs/messages/nativeMessages/index.js.map +1 -1
  123. package/lib/commonjs/messages/nativeMessages/sdkMessage.js +3 -4
  124. package/lib/commonjs/messages/nativeMessages/sdkMessage.js.map +1 -1
  125. package/lib/commonjs/messages/webMessages/accountMessage.js +3 -4
  126. package/lib/commonjs/messages/webMessages/accountMessage.js.map +1 -1
  127. package/lib/commonjs/messages/webMessages/achCreditMessage.js.map +1 -1
  128. package/lib/commonjs/messages/webMessages/activityMessage.js +3 -4
  129. package/lib/commonjs/messages/webMessages/activityMessage.js.map +1 -1
  130. package/lib/commonjs/messages/webMessages/bookPaymentMessage.js.map +1 -1
  131. package/lib/commonjs/messages/webMessages/cardMessage.js +3 -4
  132. package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -1
  133. package/lib/commonjs/messages/webMessages/checkMessage.js +3 -4
  134. package/lib/commonjs/messages/webMessages/checkMessage.js.map +1 -1
  135. package/lib/commonjs/messages/webMessages/index.js.map +1 -1
  136. package/lib/commonjs/messages/webMessages/multipleCardsMessage.js +11 -0
  137. package/lib/commonjs/messages/webMessages/multipleCardsMessage.js.map +1 -0
  138. package/lib/commonjs/messages/webMessages/onLoadMessage.js +6 -5
  139. package/lib/commonjs/messages/webMessages/onLoadMessage.js.map +1 -1
  140. package/lib/commonjs/messages/webMessages/pageMessage.js +3 -4
  141. package/lib/commonjs/messages/webMessages/pageMessage.js.map +1 -1
  142. package/lib/commonjs/messages/webMessages/paymentsMessage.js +5 -4
  143. package/lib/commonjs/messages/webMessages/paymentsMessage.js.map +1 -1
  144. package/lib/commonjs/messages/webMessages/unitMessages.js +9 -6
  145. package/lib/commonjs/messages/webMessages/unitMessages.js.map +1 -1
  146. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
  147. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +79 -0
  148. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
  149. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +20 -0
  150. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
  151. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +14 -0
  152. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
  153. package/lib/commonjs/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +1 -2
  154. package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
  155. package/lib/commonjs/networking/common/UNNetworkConstants.js +2 -4
  156. package/lib/commonjs/networking/common/UNNetworkConstants.js.map +1 -1
  157. package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js +27 -3
  158. package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js.map +1 -1
  159. package/lib/commonjs/scripts/html/bodyHtml.js +1 -2
  160. package/lib/commonjs/scripts/html/bodyHtml.js.map +1 -1
  161. package/lib/commonjs/scripts/html/bodyScript.js +46 -32
  162. package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
  163. package/lib/commonjs/scripts/html/fontFaces.js +2 -3
  164. package/lib/commonjs/scripts/html/fontFaces.js.map +1 -1
  165. package/lib/commonjs/slices/BottomSheetSlice.js +74 -0
  166. package/lib/commonjs/slices/BottomSheetSlice.js.map +1 -0
  167. package/lib/commonjs/slices/ConfigurationSlice.js +35 -0
  168. package/lib/commonjs/slices/ConfigurationSlice.js.map +1 -0
  169. package/lib/commonjs/slices/SharedEventsSlice.js +29 -0
  170. package/lib/commonjs/slices/SharedEventsSlice.js.map +1 -0
  171. package/lib/commonjs/slices/pushProvisioningSlice.js +1 -2
  172. package/lib/commonjs/slices/pushProvisioningSlice.js.map +1 -1
  173. package/lib/commonjs/store/index.js.map +1 -1
  174. package/lib/commonjs/store/store.js +8 -3
  175. package/lib/commonjs/store/store.js.map +1 -1
  176. package/lib/commonjs/styles/fonts.js.map +1 -1
  177. package/lib/commonjs/styles/variables.js +5 -3
  178. package/lib/commonjs/styles/variables.js.map +1 -1
  179. package/lib/commonjs/types/internal/bottomSheet.types.js +22 -7
  180. package/lib/commonjs/types/internal/bottomSheet.types.js.map +1 -1
  181. package/lib/commonjs/types/internal/errorHelpers.js +20 -0
  182. package/lib/commonjs/types/internal/errorHelpers.js.map +1 -0
  183. package/lib/commonjs/types/internal/webComponent.types.js +9 -8
  184. package/lib/commonjs/types/internal/webComponent.types.js.map +1 -1
  185. package/lib/commonjs/types/shared/account.types.js +19 -16
  186. package/lib/commonjs/types/shared/account.types.js.map +1 -1
  187. package/lib/commonjs/types/shared/achCredit.types.js.map +1 -1
  188. package/lib/commonjs/types/shared/activity.types.js +6 -0
  189. package/lib/commonjs/types/shared/activity.types.js.map +1 -1
  190. package/lib/commonjs/types/shared/authorization.types.js.map +1 -1
  191. package/lib/commonjs/types/shared/bookPayment.types.js.map +1 -1
  192. package/lib/commonjs/types/shared/card.types.js +13 -5
  193. package/lib/commonjs/types/shared/card.types.js.map +1 -1
  194. package/lib/commonjs/types/shared/checkDeposit.types.js +3 -4
  195. package/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
  196. package/lib/commonjs/types/shared/error.types.js +28 -0
  197. package/lib/commonjs/types/shared/error.types.js.map +1 -0
  198. package/lib/commonjs/types/shared/fonts.types.js +3 -4
  199. package/lib/commonjs/types/shared/fonts.types.js.map +1 -1
  200. package/lib/commonjs/types/shared/index.js +22 -0
  201. package/lib/commonjs/types/shared/index.js.map +1 -1
  202. package/lib/commonjs/types/shared/multipleCards.types.js +12 -0
  203. package/lib/commonjs/types/shared/multipleCards.types.js.map +1 -0
  204. package/lib/commonjs/types/shared/onLoadResponse.types.js +4 -0
  205. package/lib/commonjs/types/shared/onLoadResponse.types.js.map +1 -1
  206. package/lib/commonjs/types/shared/payments.types.js +9 -5
  207. package/lib/commonjs/types/shared/payments.types.js.map +1 -1
  208. package/lib/commonjs/types/shared/repayment.types.js +2 -0
  209. package/lib/commonjs/types/shared/repayment.types.js.map +1 -0
  210. package/lib/commonjs/types/shared/transactions.types.js +6 -8
  211. package/lib/commonjs/types/shared/transactions.types.js.map +1 -1
  212. package/lib/commonjs/types/shared/types.js.map +1 -1
  213. package/lib/commonjs/types/shared/versioning.types.js +4 -4
  214. package/lib/commonjs/types/shared/versioning.types.js.map +1 -1
  215. package/lib/commonjs/types/shared/wallet.types.js +9 -12
  216. package/lib/commonjs/types/shared/wallet.types.js.map +1 -1
  217. package/lib/commonjs/unitSdkManager/UnitSdk.api.js +6 -13
  218. package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +1 -1
  219. package/lib/commonjs/unitSdkManager/UnitSdk.constants.js +2 -3
  220. package/lib/commonjs/unitSdkManager/UnitSdk.constants.js.map +1 -1
  221. package/lib/commonjs/unitSdkManager/UnitSdkManager.js +56 -75
  222. package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +1 -1
  223. package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
  224. package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
  225. package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
  226. package/lib/commonjs/utils/AppInfo.js +49 -0
  227. package/lib/commonjs/utils/AppInfo.js.map +1 -0
  228. package/lib/commonjs/utils/SDKInfo.js +13 -0
  229. package/lib/commonjs/utils/SDKInfo.js.map +1 -0
  230. package/lib/commonjs/utils/webVersioningStrategy.utils.js +7 -0
  231. package/lib/commonjs/utils/webVersioningStrategy.utils.js.map +1 -1
  232. package/lib/commonjs/webComponent/WebComponent.js +40 -36
  233. package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
  234. package/lib/commonjs/webComponent/WebComponent.utils.js +19 -1
  235. package/lib/commonjs/webComponent/WebComponent.utils.js.map +1 -1
  236. package/lib/commonjs/webComponent/html.js +2 -4
  237. package/lib/commonjs/webComponent/html.js.map +1 -1
  238. package/lib/module/assets/images/index.js.map +1 -1
  239. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js +12 -2
  240. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
  241. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
  242. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
  243. package/lib/module/components/UNACHCreditComponent/index.js.map +1 -1
  244. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js +12 -2
  245. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
  246. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
  247. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
  248. package/lib/module/components/UNACHDebitComponent/index.js.map +1 -1
  249. package/lib/module/components/UNAccountComponent/UNAccountComponent.js +40 -17
  250. package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
  251. package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js +10 -8
  252. package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
  253. package/lib/module/components/UNAccountComponent/index.js.map +1 -1
  254. package/lib/module/components/UNActivityComponent/UNActivityComponent.js +29 -14
  255. package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
  256. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +8 -2
  257. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
  258. package/lib/module/components/UNActivityComponent/index.js +1 -1
  259. package/lib/module/components/UNActivityComponent/index.js.map +1 -1
  260. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +10 -0
  261. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
  262. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
  263. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
  264. package/lib/module/components/UNBookPaymentComponent/index.js.map +1 -1
  265. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +12 -1
  266. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
  267. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +151 -240
  268. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
  269. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
  270. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +11 -14
  271. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  272. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +42 -0
  273. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
  274. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +2 -0
  275. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
  276. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +158 -0
  277. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
  278. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +2 -0
  279. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
  280. package/lib/module/components/UNBottomSheetComponent/components/index.js +2 -1
  281. package/lib/module/components/UNBottomSheetComponent/components/index.js.map +1 -1
  282. package/lib/module/components/UNBottomSheetComponent/index.js.map +1 -1
  283. package/lib/module/components/UNCardComponent/UNCardComponent.js +12 -8
  284. package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
  285. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +7 -5
  286. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
  287. package/lib/module/components/UNCardComponent/index.js.map +1 -1
  288. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js +11 -0
  289. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
  290. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
  291. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
  292. package/lib/module/components/UNCheckDepositComponent/index.js.map +1 -1
  293. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +77 -0
  294. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -0
  295. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +34 -0
  296. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -0
  297. package/lib/module/components/UNMultipleCardsComponent/index.js +2 -0
  298. package/lib/module/components/UNMultipleCardsComponent/index.js.map +1 -0
  299. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +53 -0
  300. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
  301. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +8 -0
  302. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
  303. package/lib/module/components/UNNextRepaymentComponent/index.js +2 -0
  304. package/lib/module/components/UNNextRepaymentComponent/index.js.map +1 -0
  305. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +53 -0
  306. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
  307. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +8 -0
  308. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
  309. package/lib/module/components/UNProgramDetailsComponent/index.js +2 -0
  310. package/lib/module/components/UNProgramDetailsComponent/index.js.map +1 -0
  311. package/lib/module/components/index.js +3 -0
  312. package/lib/module/components/index.js.map +1 -1
  313. package/lib/module/custom.d.js.map +1 -1
  314. package/lib/module/flows/UNFlows.js +1 -1
  315. package/lib/module/flows/UNFlows.js.map +1 -1
  316. package/lib/module/flows/card/UNCardFlows.js +28 -23
  317. package/lib/module/flows/card/UNCardFlows.js.map +1 -1
  318. package/lib/module/helpers/BottomSheet/BottomSheet.js +25 -27
  319. package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -1
  320. package/lib/module/helpers/BottomSheet/BottomSheet.styles.js +1 -3
  321. package/lib/module/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
  322. package/lib/module/helpers/pushProvisioningService/helpers.js +24 -0
  323. package/lib/module/helpers/pushProvisioningService/helpers.js.map +1 -0
  324. package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js +34 -5
  325. package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
  326. package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
  327. package/lib/module/helpers/pushProvisioningService/startProvisioning.js +3 -3
  328. package/lib/module/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
  329. package/lib/module/helpers/pushProvisioningService/types.js +34 -0
  330. package/lib/module/helpers/pushProvisioningService/types.js.map +1 -0
  331. package/lib/module/helpers/store/helpers.js.map +1 -1
  332. package/lib/module/hooks/useAppStateListener.js.map +1 -1
  333. package/lib/module/hooks/useListenerToEvent.js +19 -0
  334. package/lib/module/hooks/useListenerToEvent.js.map +1 -0
  335. package/lib/module/index.js.map +1 -1
  336. package/lib/module/messages/nativeMessages/bottomSheetMessage.js +7 -7
  337. package/lib/module/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
  338. package/lib/module/messages/nativeMessages/cardMessage.js +3 -3
  339. package/lib/module/messages/nativeMessages/cardMessage.js.map +1 -1
  340. package/lib/module/messages/nativeMessages/index.js.map +1 -1
  341. package/lib/module/messages/nativeMessages/sdkMessage.js +3 -3
  342. package/lib/module/messages/nativeMessages/sdkMessage.js.map +1 -1
  343. package/lib/module/messages/webMessages/accountMessage.js +3 -3
  344. package/lib/module/messages/webMessages/accountMessage.js.map +1 -1
  345. package/lib/module/messages/webMessages/achCreditMessage.js.map +1 -1
  346. package/lib/module/messages/webMessages/activityMessage.js +3 -3
  347. package/lib/module/messages/webMessages/activityMessage.js.map +1 -1
  348. package/lib/module/messages/webMessages/bookPaymentMessage.js.map +1 -1
  349. package/lib/module/messages/webMessages/cardMessage.js +3 -3
  350. package/lib/module/messages/webMessages/cardMessage.js.map +1 -1
  351. package/lib/module/messages/webMessages/checkMessage.js +3 -3
  352. package/lib/module/messages/webMessages/checkMessage.js.map +1 -1
  353. package/lib/module/messages/webMessages/index.js.map +1 -1
  354. package/lib/module/messages/webMessages/multipleCardsMessage.js +5 -0
  355. package/lib/module/messages/webMessages/multipleCardsMessage.js.map +1 -0
  356. package/lib/module/messages/webMessages/onLoadMessage.js +6 -4
  357. package/lib/module/messages/webMessages/onLoadMessage.js.map +1 -1
  358. package/lib/module/messages/webMessages/pageMessage.js +3 -3
  359. package/lib/module/messages/webMessages/pageMessage.js.map +1 -1
  360. package/lib/module/messages/webMessages/paymentsMessage.js +5 -3
  361. package/lib/module/messages/webMessages/paymentsMessage.js.map +1 -1
  362. package/lib/module/messages/webMessages/unitMessages.js +8 -4
  363. package/lib/module/messages/webMessages/unitMessages.js.map +1 -1
  364. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
  365. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +70 -0
  366. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
  367. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +12 -0
  368. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
  369. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +2 -0
  370. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
  371. package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
  372. package/lib/module/networking/common/UNNetworkConstants.js.map +1 -1
  373. package/lib/module/networking/requests/UNWalletPayloadRequest.js +27 -3
  374. package/lib/module/networking/requests/UNWalletPayloadRequest.js.map +1 -1
  375. package/lib/module/scripts/html/bodyHtml.js.map +1 -1
  376. package/lib/module/scripts/html/bodyScript.js +34 -8
  377. package/lib/module/scripts/html/bodyScript.js.map +1 -1
  378. package/lib/module/scripts/html/fontFaces.js +2 -3
  379. package/lib/module/scripts/html/fontFaces.js.map +1 -1
  380. package/lib/module/slices/BottomSheetSlice.js +59 -0
  381. package/lib/module/slices/BottomSheetSlice.js.map +1 -0
  382. package/lib/module/slices/ConfigurationSlice.js +25 -0
  383. package/lib/module/slices/ConfigurationSlice.js.map +1 -0
  384. package/lib/module/slices/SharedEventsSlice.js +22 -0
  385. package/lib/module/slices/SharedEventsSlice.js.map +1 -0
  386. package/lib/module/slices/pushProvisioningSlice.js.map +1 -1
  387. package/lib/module/store/index.js.map +1 -1
  388. package/lib/module/store/store.js +7 -1
  389. package/lib/module/store/store.js.map +1 -1
  390. package/lib/module/styles/fonts.js.map +1 -1
  391. package/lib/module/styles/variables.js +4 -1
  392. package/lib/module/styles/variables.js.map +1 -1
  393. package/lib/module/types/internal/bottomSheet.types.js +21 -5
  394. package/lib/module/types/internal/bottomSheet.types.js.map +1 -1
  395. package/lib/module/types/internal/errorHelpers.js +12 -0
  396. package/lib/module/types/internal/errorHelpers.js.map +1 -0
  397. package/lib/module/types/internal/webComponent.types.js +9 -6
  398. package/lib/module/types/internal/webComponent.types.js.map +1 -1
  399. package/lib/module/types/shared/account.types.js +18 -12
  400. package/lib/module/types/shared/account.types.js.map +1 -1
  401. package/lib/module/types/shared/achCredit.types.js.map +1 -1
  402. package/lib/module/types/shared/activity.types.js +5 -1
  403. package/lib/module/types/shared/activity.types.js.map +1 -1
  404. package/lib/module/types/shared/authorization.types.js.map +1 -1
  405. package/lib/module/types/shared/bookPayment.types.js.map +1 -1
  406. package/lib/module/types/shared/card.types.js +12 -3
  407. package/lib/module/types/shared/card.types.js.map +1 -1
  408. package/lib/module/types/shared/checkDeposit.types.js +3 -3
  409. package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
  410. package/lib/module/types/shared/error.types.js +22 -0
  411. package/lib/module/types/shared/error.types.js.map +1 -0
  412. package/lib/module/types/shared/fonts.types.js +3 -3
  413. package/lib/module/types/shared/fonts.types.js.map +1 -1
  414. package/lib/module/types/shared/index.js +2 -0
  415. package/lib/module/types/shared/index.js.map +1 -1
  416. package/lib/module/types/shared/multipleCards.types.js +6 -0
  417. package/lib/module/types/shared/multipleCards.types.js.map +1 -0
  418. package/lib/module/types/shared/onLoadResponse.types.js +1 -1
  419. package/lib/module/types/shared/onLoadResponse.types.js.map +1 -1
  420. package/lib/module/types/shared/payments.types.js +8 -3
  421. package/lib/module/types/shared/payments.types.js.map +1 -1
  422. package/lib/module/types/shared/repayment.types.js +2 -0
  423. package/lib/module/types/shared/repayment.types.js.map +1 -0
  424. package/lib/module/types/shared/transactions.types.js +6 -6
  425. package/lib/module/types/shared/transactions.types.js.map +1 -1
  426. package/lib/module/types/shared/types.js.map +1 -1
  427. package/lib/module/types/shared/versioning.types.js +4 -3
  428. package/lib/module/types/shared/versioning.types.js.map +1 -1
  429. package/lib/module/types/shared/wallet.types.js +9 -9
  430. package/lib/module/types/shared/wallet.types.js.map +1 -1
  431. package/lib/module/unitSdkManager/UnitSdk.api.js +5 -10
  432. package/lib/module/unitSdkManager/UnitSdk.api.js.map +1 -1
  433. package/lib/module/unitSdkManager/UnitSdk.constants.js +1 -1
  434. package/lib/module/unitSdkManager/UnitSdk.constants.js.map +1 -1
  435. package/lib/module/unitSdkManager/UnitSdkManager.js +56 -73
  436. package/lib/module/unitSdkManager/UnitSdkManager.js.map +1 -1
  437. package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
  438. package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
  439. package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
  440. package/lib/module/utils/AppInfo.js +39 -0
  441. package/lib/module/utils/AppInfo.js.map +1 -0
  442. package/lib/module/utils/SDKInfo.js +5 -0
  443. package/lib/module/utils/SDKInfo.js.map +1 -0
  444. package/lib/module/utils/webVersioningStrategy.utils.js +7 -0
  445. package/lib/module/utils/webVersioningStrategy.utils.js.map +1 -1
  446. package/lib/module/webComponent/WebComponent.js +40 -34
  447. package/lib/module/webComponent/WebComponent.js.map +1 -1
  448. package/lib/module/webComponent/WebComponent.utils.js +15 -0
  449. package/lib/module/webComponent/WebComponent.utils.js.map +1 -1
  450. package/lib/module/webComponent/html.js.map +1 -1
  451. package/lib/typescript/{assets → src/assets}/images/index.d.ts +1 -0
  452. package/lib/typescript/src/assets/images/index.d.ts.map +1 -0
  453. package/lib/typescript/{components → src/components}/UNACHCreditComponent/UNACHCreditComponent.d.ts +10 -1
  454. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts.map +1 -0
  455. package/lib/typescript/{components → src/components}/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts +1 -0
  456. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts.map +1 -0
  457. package/lib/typescript/{components → src/components}/UNACHCreditComponent/index.d.ts +1 -0
  458. package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts.map +1 -0
  459. package/lib/typescript/{components → src/components}/UNACHDebitComponent/UNACHDebitComponent.d.ts +10 -1
  460. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts.map +1 -0
  461. package/lib/typescript/{components → src/components}/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts +1 -0
  462. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts.map +1 -0
  463. package/lib/typescript/{components → src/components}/UNACHDebitComponent/index.d.ts +1 -0
  464. package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts.map +1 -0
  465. package/lib/typescript/{components → src/components}/UNAccountComponent/UNAccountComponent.d.ts +6 -0
  466. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts.map +1 -0
  467. package/lib/typescript/{components → src/components}/UNAccountComponent/UNAccountComponent.utils.d.ts +2 -1
  468. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts.map +1 -0
  469. package/lib/typescript/{components → src/components}/UNAccountComponent/index.d.ts +1 -0
  470. package/lib/typescript/src/components/UNAccountComponent/index.d.ts.map +1 -0
  471. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts +23 -0
  472. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts.map +1 -0
  473. package/lib/typescript/{components → src/components}/UNActivityComponent/UNActivityComponent.utils.d.ts +1 -0
  474. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts.map +1 -0
  475. package/lib/typescript/src/components/UNActivityComponent/index.d.ts +2 -0
  476. package/lib/typescript/src/components/UNActivityComponent/index.d.ts.map +1 -0
  477. package/lib/typescript/{components → src/components}/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +10 -4
  478. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts.map +1 -0
  479. package/lib/typescript/{components → src/components}/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts +1 -0
  480. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts.map +1 -0
  481. package/lib/typescript/{components → src/components}/UNBookPaymentComponent/index.d.ts +1 -0
  482. package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts.map +1 -0
  483. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts +8 -0
  484. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts.map +1 -0
  485. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts +4 -0
  486. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts.map +1 -0
  487. package/lib/typescript/{components → src/components}/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts +1 -0
  488. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts.map +1 -0
  489. package/lib/typescript/{components → src/components}/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +2 -1
  490. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts.map +1 -0
  491. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts +8 -0
  492. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts.map +1 -0
  493. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts +2 -0
  494. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts.map +1 -0
  495. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts +11 -0
  496. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts.map +1 -0
  497. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts +2 -0
  498. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts.map +1 -0
  499. package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts +3 -0
  500. package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts.map +1 -0
  501. package/lib/typescript/{components → src/components}/UNBottomSheetComponent/index.d.ts +1 -0
  502. package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts.map +1 -0
  503. package/lib/typescript/{components → src/components}/UNCardComponent/UNCardComponent.d.ts +3 -0
  504. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts.map +1 -0
  505. package/lib/typescript/{components → src/components}/UNCardComponent/UNCardComponent.utils.d.ts +1 -0
  506. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts.map +1 -0
  507. package/lib/typescript/{components → src/components}/UNCardComponent/index.d.ts +1 -0
  508. package/lib/typescript/src/components/UNCardComponent/index.d.ts.map +1 -0
  509. package/lib/typescript/{components → src/components}/UNCheckDepositComponent/UNCheckDepositComponent.d.ts +7 -1
  510. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts.map +1 -0
  511. package/lib/typescript/{components → src/components}/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts +1 -0
  512. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts.map +1 -0
  513. package/lib/typescript/{components → src/components}/UNCheckDepositComponent/index.d.ts +1 -0
  514. package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts.map +1 -0
  515. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts +18 -0
  516. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts.map +1 -0
  517. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts +4 -0
  518. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts.map +1 -0
  519. package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts +2 -0
  520. package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts.map +1 -0
  521. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts +14 -0
  522. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts.map +1 -0
  523. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts +3 -0
  524. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts.map +1 -0
  525. package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts +2 -0
  526. package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts.map +1 -0
  527. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts +13 -0
  528. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts.map +1 -0
  529. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts +3 -0
  530. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts.map +1 -0
  531. package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts +2 -0
  532. package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts.map +1 -0
  533. package/lib/typescript/{components → src/components}/index.d.ts +4 -0
  534. package/lib/typescript/src/components/index.d.ts.map +1 -0
  535. package/lib/typescript/{flows → src/flows}/UNFlows.d.ts +1 -0
  536. package/lib/typescript/src/flows/UNFlows.d.ts.map +1 -0
  537. package/lib/typescript/{flows → src/flows}/card/UNCardFlows.d.ts +1 -0
  538. package/lib/typescript/src/flows/card/UNCardFlows.d.ts.map +1 -0
  539. package/lib/typescript/{helpers → src/helpers}/BottomSheet/BottomSheet.d.ts +5 -3
  540. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts.map +1 -0
  541. package/lib/typescript/{helpers → src/helpers}/BottomSheet/BottomSheet.styles.d.ts +1 -1
  542. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.styles.d.ts.map +1 -0
  543. package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts +5 -0
  544. package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts.map +1 -0
  545. package/lib/typescript/{helpers → src/helpers}/pushProvisioningService/hooks/useCardWallet.d.ts +2 -1
  546. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts.map +1 -0
  547. package/lib/typescript/{helpers → src/helpers}/pushProvisioningService/hooks/useLaunchInitialize.d.ts +1 -0
  548. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts.map +1 -0
  549. package/lib/typescript/{helpers → src/helpers}/pushProvisioningService/startProvisioning.d.ts +1 -0
  550. package/lib/typescript/src/helpers/pushProvisioningService/startProvisioning.d.ts.map +1 -0
  551. package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts +50 -0
  552. package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts.map +1 -0
  553. package/lib/typescript/{helpers → src/helpers}/store/helpers.d.ts +1 -0
  554. package/lib/typescript/src/helpers/store/helpers.d.ts.map +1 -0
  555. package/lib/typescript/{hooks → src/hooks}/useAppStateListener.d.ts +1 -0
  556. package/lib/typescript/src/hooks/useAppStateListener.d.ts.map +1 -0
  557. package/lib/typescript/src/hooks/useListenerToEvent.d.ts +10 -0
  558. package/lib/typescript/src/hooks/useListenerToEvent.d.ts.map +1 -0
  559. package/lib/typescript/{index.d.ts → src/index.d.ts} +1 -0
  560. package/lib/typescript/src/index.d.ts.map +1 -0
  561. package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts +10 -0
  562. package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts.map +1 -0
  563. package/lib/typescript/{messages → src/messages}/nativeMessages/cardMessage.d.ts +1 -0
  564. package/lib/typescript/src/messages/nativeMessages/cardMessage.d.ts.map +1 -0
  565. package/lib/typescript/{messages → src/messages}/nativeMessages/index.d.ts +1 -0
  566. package/lib/typescript/src/messages/nativeMessages/index.d.ts.map +1 -0
  567. package/lib/typescript/{messages → src/messages}/nativeMessages/sdkMessage.d.ts +1 -0
  568. package/lib/typescript/src/messages/nativeMessages/sdkMessage.d.ts.map +1 -0
  569. package/lib/typescript/{messages → src/messages}/webMessages/accountMessage.d.ts +1 -0
  570. package/lib/typescript/src/messages/webMessages/accountMessage.d.ts.map +1 -0
  571. package/lib/typescript/{messages → src/messages}/webMessages/achCreditMessage.d.ts +1 -0
  572. package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts.map +1 -0
  573. package/lib/typescript/{messages → src/messages}/webMessages/activityMessage.d.ts +1 -0
  574. package/lib/typescript/src/messages/webMessages/activityMessage.d.ts.map +1 -0
  575. package/lib/typescript/{messages → src/messages}/webMessages/bookPaymentMessage.d.ts +1 -0
  576. package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts.map +1 -0
  577. package/lib/typescript/{messages → src/messages}/webMessages/cardMessage.d.ts +1 -0
  578. package/lib/typescript/src/messages/webMessages/cardMessage.d.ts.map +1 -0
  579. package/lib/typescript/{messages → src/messages}/webMessages/checkMessage.d.ts +1 -0
  580. package/lib/typescript/src/messages/webMessages/checkMessage.d.ts.map +1 -0
  581. package/lib/typescript/{messages → src/messages}/webMessages/index.d.ts +4 -2
  582. package/lib/typescript/src/messages/webMessages/index.d.ts.map +1 -0
  583. package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts +7 -0
  584. package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts.map +1 -0
  585. package/lib/typescript/{messages → src/messages}/webMessages/onLoadMessage.d.ts +10 -4
  586. package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts.map +1 -0
  587. package/lib/typescript/{messages → src/messages}/webMessages/pageMessage.d.ts +1 -0
  588. package/lib/typescript/src/messages/webMessages/pageMessage.d.ts.map +1 -0
  589. package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts +6 -0
  590. package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts.map +1 -0
  591. package/lib/typescript/{messages → src/messages}/webMessages/unitMessages.d.ts +11 -5
  592. package/lib/typescript/src/messages/webMessages/unitMessages.d.ts.map +1 -0
  593. package/lib/typescript/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → src/nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.d.ts +1 -0
  594. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.d.ts.map +1 -0
  595. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts +8 -0
  596. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts.map +1 -0
  597. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts +5 -0
  598. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts.map +1 -0
  599. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts +2 -0
  600. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts.map +1 -0
  601. package/lib/typescript/{nativeComponent → src/nativeComponents/UNAddToWallet}/UnitAddToWalletButton.d.ts +1 -0
  602. package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.d.ts.map +1 -0
  603. package/lib/typescript/{networking → src/networking}/common/UNNetworkConstants.d.ts +1 -0
  604. package/lib/typescript/src/networking/common/UNNetworkConstants.d.ts.map +1 -0
  605. package/lib/typescript/{networking → src/networking}/requests/UNWalletPayloadRequest.d.ts +2 -1
  606. package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts.map +1 -0
  607. package/lib/typescript/{scripts → src/scripts}/html/bodyHtml.d.ts +1 -0
  608. package/lib/typescript/src/scripts/html/bodyHtml.d.ts.map +1 -0
  609. package/lib/typescript/{scripts → src/scripts}/html/bodyScript.d.ts +5 -1
  610. package/lib/typescript/src/scripts/html/bodyScript.d.ts.map +1 -0
  611. package/lib/typescript/{scripts → src/scripts}/html/fontFaces.d.ts +1 -0
  612. package/lib/typescript/src/scripts/html/fontFaces.d.ts.map +1 -0
  613. package/lib/typescript/src/slices/BottomSheetSlice.d.ts +16 -0
  614. package/lib/typescript/src/slices/BottomSheetSlice.d.ts.map +1 -0
  615. package/lib/typescript/src/slices/ConfigurationSlice.d.ts +11 -0
  616. package/lib/typescript/src/slices/ConfigurationSlice.d.ts.map +1 -0
  617. package/lib/typescript/src/slices/SharedEventsSlice.d.ts +53 -0
  618. package/lib/typescript/src/slices/SharedEventsSlice.d.ts.map +1 -0
  619. package/lib/typescript/{slices → src/slices}/pushProvisioningSlice.d.ts +1 -0
  620. package/lib/typescript/src/slices/pushProvisioningSlice.d.ts.map +1 -0
  621. package/lib/typescript/src/store/index.d.ts +2 -0
  622. package/lib/typescript/src/store/index.d.ts.map +1 -0
  623. package/lib/typescript/src/store/store.d.ts +73 -0
  624. package/lib/typescript/src/store/store.d.ts.map +1 -0
  625. package/lib/typescript/{styles → src/styles}/fonts.d.ts +1 -0
  626. package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
  627. package/lib/typescript/{styles → src/styles}/variables.d.ts +4 -0
  628. package/lib/typescript/src/styles/variables.d.ts.map +1 -0
  629. package/lib/typescript/src/types/internal/bottomSheet.types.d.ts +57 -0
  630. package/lib/typescript/src/types/internal/bottomSheet.types.d.ts.map +1 -0
  631. package/lib/typescript/src/types/internal/errorHelpers.d.ts +5 -0
  632. package/lib/typescript/src/types/internal/errorHelpers.d.ts.map +1 -0
  633. package/lib/typescript/{types → src/types}/internal/webComponent.types.d.ts +5 -1
  634. package/lib/typescript/src/types/internal/webComponent.types.d.ts.map +1 -0
  635. package/lib/typescript/{types → src/types}/shared/account.types.d.ts +6 -0
  636. package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -0
  637. package/lib/typescript/{types → src/types}/shared/achCredit.types.d.ts +1 -0
  638. package/lib/typescript/src/types/shared/achCredit.types.d.ts.map +1 -0
  639. package/lib/typescript/src/types/shared/activity.types.d.ts +12 -0
  640. package/lib/typescript/src/types/shared/activity.types.d.ts.map +1 -0
  641. package/lib/typescript/{types → src/types}/shared/authorization.types.d.ts +1 -0
  642. package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -0
  643. package/lib/typescript/{types → src/types}/shared/bookPayment.types.d.ts +1 -0
  644. package/lib/typescript/src/types/shared/bookPayment.types.d.ts.map +1 -0
  645. package/lib/typescript/{types → src/types}/shared/card.types.d.ts +9 -0
  646. package/lib/typescript/src/types/shared/card.types.d.ts.map +1 -0
  647. package/lib/typescript/{types → src/types}/shared/checkDeposit.types.d.ts +1 -0
  648. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -0
  649. package/lib/typescript/src/types/shared/error.types.d.ts +37 -0
  650. package/lib/typescript/src/types/shared/error.types.d.ts.map +1 -0
  651. package/lib/typescript/{types → src/types}/shared/fonts.types.d.ts +1 -0
  652. package/lib/typescript/src/types/shared/fonts.types.d.ts.map +1 -0
  653. package/lib/typescript/{types → src/types}/shared/index.d.ts +3 -0
  654. package/lib/typescript/src/types/shared/index.d.ts.map +1 -0
  655. package/lib/typescript/src/types/shared/multipleCards.types.d.ts +7 -0
  656. package/lib/typescript/src/types/shared/multipleCards.types.d.ts.map +1 -0
  657. package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts +6 -0
  658. package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts.map +1 -0
  659. package/lib/typescript/{types → src/types}/shared/payments.types.d.ts +5 -0
  660. package/lib/typescript/src/types/shared/payments.types.d.ts.map +1 -0
  661. package/lib/typescript/src/types/shared/repayment.types.d.ts +12 -0
  662. package/lib/typescript/src/types/shared/repayment.types.d.ts.map +1 -0
  663. package/lib/typescript/{types → src/types}/shared/transactions.types.d.ts +1 -0
  664. package/lib/typescript/src/types/shared/transactions.types.d.ts.map +1 -0
  665. package/lib/typescript/{types → src/types}/shared/types.d.ts +1 -0
  666. package/lib/typescript/src/types/shared/types.d.ts.map +1 -0
  667. package/lib/typescript/{types → src/types}/shared/versioning.types.d.ts +6 -1
  668. package/lib/typescript/src/types/shared/versioning.types.d.ts.map +1 -0
  669. package/lib/typescript/{types → src/types}/shared/wallet.types.d.ts +1 -0
  670. package/lib/typescript/src/types/shared/wallet.types.d.ts.map +1 -0
  671. package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts +2 -0
  672. package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts.map +1 -0
  673. package/lib/typescript/{unitSdkManager → src/unitSdkManager}/UnitSdk.constants.d.ts +1 -0
  674. package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts.map +1 -0
  675. package/lib/typescript/{unitSdkManager → src/unitSdkManager}/UnitSdkManager.d.ts +5 -8
  676. package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts.map +1 -0
  677. package/lib/typescript/{unitSdkManager → src/unitSdkManager}/UnitSdkManager.utils.internal.d.ts +1 -0
  678. package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts.map +1 -0
  679. package/lib/typescript/{unitSdkManager → src/unitSdkManager}/unitUiManager/unitUiManager.d.ts +1 -0
  680. package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts.map +1 -0
  681. package/lib/typescript/src/utils/AppInfo.d.ts +5 -0
  682. package/lib/typescript/src/utils/AppInfo.d.ts.map +1 -0
  683. package/lib/typescript/src/utils/SDKInfo.d.ts +2 -0
  684. package/lib/typescript/src/utils/SDKInfo.d.ts.map +1 -0
  685. package/lib/typescript/{utils → src/utils}/webVersioningStrategy.utils.d.ts +1 -0
  686. package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts.map +1 -0
  687. package/lib/typescript/{webComponent → src/webComponent}/WebComponent.d.ts +1 -0
  688. package/lib/typescript/src/webComponent/WebComponent.d.ts.map +1 -0
  689. package/lib/typescript/{webComponent → src/webComponent}/WebComponent.utils.d.ts +4 -0
  690. package/lib/typescript/src/webComponent/WebComponent.utils.d.ts.map +1 -0
  691. package/lib/typescript/{webComponent → src/webComponent}/html.d.ts +1 -0
  692. package/lib/typescript/src/webComponent/html.d.ts.map +1 -0
  693. package/package.json +26 -38
  694. package/react-native-unit-components.podspec +9 -2
  695. package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +28 -6
  696. package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +13 -2
  697. package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +28 -6
  698. package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +12 -2
  699. package/src/components/UNAccountComponent/UNAccountComponent.tsx +62 -23
  700. package/src/components/UNAccountComponent/UNAccountComponent.utils.ts +9 -6
  701. package/src/components/UNActivityComponent/UNActivityComponent.tsx +60 -22
  702. package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +6 -1
  703. package/src/components/UNActivityComponent/index.ts +1 -1
  704. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +23 -5
  705. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts +11 -4
  706. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.ts +20 -1
  707. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +184 -265
  708. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +5 -6
  709. package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.tsx +60 -0
  710. package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.ts +1 -0
  711. package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.tsx +181 -0
  712. package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.ts +1 -0
  713. package/src/components/UNBottomSheetComponent/components/index.ts +2 -1
  714. package/src/components/UNCardComponent/UNCardComponent.tsx +14 -11
  715. package/src/components/UNCardComponent/UNCardComponent.utils.ts +2 -0
  716. package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.tsx +16 -3
  717. package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.ts +8 -2
  718. package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.tsx +120 -0
  719. package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.ts +37 -0
  720. package/src/components/UNMultipleCardsComponent/index.ts +3 -0
  721. package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.tsx +80 -0
  722. package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.ts +10 -0
  723. package/src/components/UNNextRepaymentComponent/index.ts +3 -0
  724. package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.tsx +77 -0
  725. package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.ts +9 -0
  726. package/src/components/UNProgramDetailsComponent/index.ts +3 -0
  727. package/src/components/index.ts +3 -0
  728. package/src/flows/UNFlows.ts +1 -1
  729. package/src/flows/card/UNCardFlows.ts +19 -14
  730. package/src/helpers/BottomSheet/BottomSheet.styles.ts +7 -8
  731. package/src/helpers/BottomSheet/BottomSheet.tsx +44 -39
  732. package/src/helpers/pushProvisioningService/helpers.ts +31 -0
  733. package/src/helpers/pushProvisioningService/hooks/useCardWallet.ts +38 -8
  734. package/src/helpers/pushProvisioningService/startProvisioning.ts +3 -5
  735. package/src/helpers/pushProvisioningService/types.ts +52 -0
  736. package/src/helpers/store/helpers.tsx +1 -1
  737. package/src/hooks/useListenerToEvent.ts +32 -0
  738. package/src/messages/nativeMessages/bottomSheetMessage.ts +7 -7
  739. package/src/messages/webMessages/index.ts +3 -0
  740. package/src/messages/webMessages/multipleCardsMessage.ts +9 -0
  741. package/src/messages/webMessages/onLoadMessage.ts +16 -4
  742. package/src/messages/webMessages/paymentsMessage.ts +3 -1
  743. package/src/messages/webMessages/unitMessages.ts +19 -13
  744. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.tsx +93 -0
  745. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.ts +15 -0
  746. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.ts +1 -0
  747. package/src/networking/requests/UNWalletPayloadRequest.ts +25 -4
  748. package/src/scripts/html/bodyScript.ts +36 -8
  749. package/src/slices/BottomSheetSlice.ts +72 -0
  750. package/src/slices/ConfigurationSlice.ts +31 -0
  751. package/src/slices/SharedEventsSlice.ts +88 -0
  752. package/src/store/store.ts +8 -2
  753. package/src/styles/variables.ts +5 -2
  754. package/src/types/internal/bottomSheet.types.ts +51 -7
  755. package/src/types/internal/errorHelpers.ts +22 -0
  756. package/src/types/internal/webComponent.types.ts +3 -1
  757. package/src/types/shared/account.types.ts +6 -0
  758. package/src/types/shared/activity.types.ts +7 -2
  759. package/src/types/shared/card.types.ts +10 -1
  760. package/src/types/shared/error.types.ts +38 -0
  761. package/src/types/shared/index.ts +2 -0
  762. package/src/types/shared/multipleCards.types.ts +8 -0
  763. package/src/types/shared/onLoadResponse.types.ts +2 -12
  764. package/src/types/shared/payments.types.ts +10 -5
  765. package/src/types/shared/repayment.types.ts +12 -0
  766. package/src/types/shared/versioning.types.ts +7 -1
  767. package/src/unitSdkManager/UnitSdk.api.ts +5 -8
  768. package/src/unitSdkManager/UnitSdk.constants.ts +1 -1
  769. package/src/unitSdkManager/UnitSdkManager.ts +8 -20
  770. package/src/utils/AppInfo.ts +40 -0
  771. package/src/utils/SDKInfo.ts +5 -0
  772. package/src/utils/webVersioningStrategy.utils.ts +7 -0
  773. package/src/webComponent/WebComponent.tsx +52 -37
  774. package/src/webComponent/WebComponent.utils.ts +17 -0
  775. package/android/src/main/java/com/unitreactnativecomponents/getapplicationid/UNAppInfoModule.kt +0 -35
  776. package/ios/UNAppInfo/UNAppInfo.swift +0 -23
  777. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -86
  778. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
  779. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
  780. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -17
  781. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
  782. package/lib/commonjs/components/utils/nativeModulesInfo.js +0 -20
  783. package/lib/commonjs/components/utils/nativeModulesInfo.js.map +0 -1
  784. package/lib/commonjs/helpers/EventBus.js +0 -58
  785. package/lib/commonjs/helpers/EventBus.js.map +0 -1
  786. package/lib/commonjs/hooks/listenerToBus.js +0 -34
  787. package/lib/commonjs/hooks/listenerToBus.js.map +0 -1
  788. package/lib/commonjs/nativeComponent/UnitAddToWalletButton.js.map +0 -1
  789. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -76
  790. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
  791. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
  792. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -2
  793. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
  794. package/lib/module/components/utils/nativeModulesInfo.js +0 -13
  795. package/lib/module/components/utils/nativeModulesInfo.js.map +0 -1
  796. package/lib/module/helpers/EventBus.js +0 -51
  797. package/lib/module/helpers/EventBus.js.map +0 -1
  798. package/lib/module/hooks/listenerToBus.js +0 -25
  799. package/lib/module/hooks/listenerToBus.js.map +0 -1
  800. package/lib/module/nativeComponent/UnitAddToWalletButton.js.map +0 -1
  801. package/lib/typescript/components/UNActivityComponent/UNActivityComponent.d.ts +0 -13
  802. package/lib/typescript/components/UNActivityComponent/index.d.ts +0 -1
  803. package/lib/typescript/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts +0 -1
  804. package/lib/typescript/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts +0 -8
  805. package/lib/typescript/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.d.ts +0 -10
  806. package/lib/typescript/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.d.ts +0 -1
  807. package/lib/typescript/components/UNBottomSheetComponent/components/index.d.ts +0 -1
  808. package/lib/typescript/components/utils/nativeModulesInfo.d.ts +0 -1
  809. package/lib/typescript/helpers/EventBus.d.ts +0 -13
  810. package/lib/typescript/hooks/listenerToBus.d.ts +0 -7
  811. package/lib/typescript/messages/nativeMessages/bottomSheetMessage.d.ts +0 -9
  812. package/lib/typescript/messages/webMessages/paymentsMessage.d.ts +0 -3
  813. package/lib/typescript/store/index.d.ts +0 -1
  814. package/lib/typescript/store/store.d.ts +0 -6
  815. package/lib/typescript/types/internal/bottomSheet.types.d.ts +0 -35
  816. package/lib/typescript/types/shared/activity.types.d.ts +0 -7
  817. package/lib/typescript/types/shared/onLoadResponse.types.d.ts +0 -14
  818. package/lib/typescript/unitSdkManager/UnitSdk.api.d.ts +0 -3
  819. package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.tsx +0 -104
  820. package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.ts +0 -1
  821. package/src/components/utils/nativeModulesInfo.ts +0 -11
  822. package/src/helpers/EventBus.ts +0 -58
  823. package/src/hooks/listenerToBus.ts +0 -31
  824. /package/lib/commonjs/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
  825. /package/lib/module/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
  826. /package/lib/module/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +0 -0
  827. /package/src/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.ts +0 -0
  828. /package/src/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.tsx +0 -0
@@ -1,16 +1,15 @@
1
- var UNAccountStatus;
2
- (function (UNAccountStatus) {
1
+ var UNAccountStatus = /*#__PURE__*/function (UNAccountStatus) {
3
2
  UNAccountStatus["Open"] = "Open";
4
3
  UNAccountStatus["Closed"] = "Closed";
5
4
  UNAccountStatus["Frozen"] = "Frozen";
6
- })(UNAccountStatus || (UNAccountStatus = {}));
7
- export let UNCloseReason;
8
- (function (UNCloseReason) {
5
+ return UNAccountStatus;
6
+ }(UNAccountStatus || {});
7
+ export let UNCloseReason = /*#__PURE__*/function (UNCloseReason) {
9
8
  UNCloseReason["Fraud"] = "Fraud";
10
9
  UNCloseReason["ByCustomer"] = "ByCustomer";
11
- })(UNCloseReason || (UNCloseReason = {}));
12
- export let UNFraudReason;
13
- (function (UNFraudReason) {
10
+ return UNCloseReason;
11
+ }({});
12
+ export let UNFraudReason = /*#__PURE__*/function (UNFraudReason) {
14
13
  UNFraudReason["ACHActivity"] = "ACHActivity";
15
14
  UNFraudReason["CardActivity"] = "CardActivity";
16
15
  UNFraudReason["CheckActivity"] = "CheckActivity";
@@ -19,11 +18,18 @@ export let UNFraudReason;
19
18
  UNFraudReason["ClientIdentified"] = "ClientIdentified";
20
19
  UNFraudReason["IdentityTheft"] = "IdentityTheft";
21
20
  UNFraudReason["LinkedToFraudulentCustomer"] = "LinkedToFraudulentCustomer";
22
- })(UNFraudReason || (UNFraudReason = {}));
23
- export let UNAccountMenuAction;
24
- (function (UNAccountMenuAction) {
21
+ return UNFraudReason;
22
+ }({});
23
+ export let UNAccountMenuAction = /*#__PURE__*/function (UNAccountMenuAction) {
25
24
  UNAccountMenuAction["OpenAccountDetails"] = "OpenAccountDetails";
26
25
  UNAccountMenuAction["OpenAccountStatements"] = "OpenAccountStatements";
27
26
  UNAccountMenuAction["DownloadBankVerificationLetter"] = "DownloadBankVerificationLetter";
28
- })(UNAccountMenuAction || (UNAccountMenuAction = {}));
27
+ return UNAccountMenuAction;
28
+ }({});
29
+ export let UNAccountMenuItem = /*#__PURE__*/function (UNAccountMenuItem) {
30
+ UNAccountMenuItem["details"] = "details";
31
+ UNAccountMenuItem["statements"] = "statements";
32
+ UNAccountMenuItem["bankVerification"] = "bankVerification";
33
+ return UNAccountMenuItem;
34
+ }({});
29
35
  //# sourceMappingURL=account.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNAccountStatus","UNCloseReason","UNFraudReason","UNAccountMenuAction"],"sources":["account.types.ts"],"sourcesContent":["import type { UNRelationship, UNTags } from './types';\n\nexport type UNAccountData = UNDepositAccount | UNBatchAccount | UNCreditAccount\n\nexport type UNCounterpartyAccountData = {\n id: string\n attributes: {\n name: string\n tags?: { [key: string]: string }\n }\n}\n\nenum UNAccountStatus {\n Open = 'Open',\n Closed = 'Closed',\n Frozen = 'Frozen',\n}\n\nexport enum UNCloseReason {\n Fraud = 'Fraud',\n ByCustomer = 'ByCustomer',\n}\n\nexport enum UNFraudReason {\n ACHActivity = 'ACHActivity',\n CardActivity = 'CardActivity',\n CheckActivity = 'CheckActivity',\n ApplicationHistory = 'ApplicationHistory',\n AccountActivity = 'AccountActivity',\n ClientIdentified = 'ClientIdentified',\n IdentityTheft = 'IdentityTheft',\n LinkedToFraudulentCustomer = 'LinkedToFraudulentCustomer',\n}\n\nexport type UNDepositAccount = {\n id: string\n type: 'depositAccount'\n attributes: {\n createdAt: string\n updatedAt?: string\n name: string\n depositProduct: string\n routingNumber: string\n accountNumber: string\n maskedAccountNumber?: string\n secondaryAccountNumber?: {\n routingNumber: string\n accountNumber: string\n }\n balance: number\n hold: number\n reserve: number\n available: number\n overdraftLimit?: number\n currency: string\n tags: UNTags\n status: UNAccountStatus\n closeReason?: string\n fraudReason?: UNFraudReason\n closeReasonText?: string\n freezeReason?: string\n isOverdrawnWithinLimit?: boolean\n }\n relationships: {\n customer?: UNRelationship\n customers?: UNRelationship\n org: UNRelationship\n }\n // included?: Individual[]\n}\n\nexport type UNBatchAccount = {\n id: string\n type: 'batchAccount'\n attributes: {\n createdAt: Date\n updatedAt?: Date\n name: string\n depositProduct: string\n routingNumber: string\n accountNumber: string\n maskedAccountNumber?: string\n balance: number\n hold: number\n reserve: number\n available: number\n currency: string\n status: 'Open' | 'Closed'\n closeReason?: string\n fraudReason?: UNFraudReason\n closeReasonText?: string\n freezeReason?: string\n tags?: { [key: string]: string }\n }\n relationships: {\n org: UNRelationship\n }\n}\n\nexport type UNCreditAccount = {\n id: string\n type: 'creditAccount'\n attributes: {\n createdAt: Date\n updatedAt?: Date\n name: string\n creditTerms: string\n balance: number\n hold: number\n reserve: number\n available: number\n creditLimit: number\n currency: string\n tags: { [key: string]: string }\n status: UNAccountStatus\n closeReason?: UNCloseReason\n fraudReason?: UNFraudReason\n closeReasonText?: string\n freezeReason?: string\n }\n relationships: {\n customer: UNRelationship,\n org: UNRelationship\n }\n}\n\nexport enum UNAccountMenuAction {\n OpenAccountDetails = 'OpenAccountDetails',\n OpenAccountStatements = 'OpenAccountStatements',\n DownloadBankVerificationLetter = 'DownloadBankVerificationLetter',\n}\n"],"mappings":"IAYKA,eAAe;AAAA,WAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;AAAA,GAAfA,eAAe,KAAfA,eAAe;AAMpB,WAAYC,aAAa;AAGxB,WAHWA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,KAAbA,aAAa;AAKzB,WAAYC,aAAa;AASxB,WATWA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;AAAA,GAAbA,aAAa,KAAbA,aAAa;AAuGzB,WAAYC,mBAAmB;AAI9B,WAJWA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;AAAA,GAAnBA,mBAAmB,KAAnBA,mBAAmB"}
1
+ {"version":3,"names":["UNAccountStatus","UNCloseReason","UNFraudReason","UNAccountMenuAction","UNAccountMenuItem"],"sourceRoot":"../../../../src","sources":["types/shared/account.types.ts"],"mappings":"IAYKA,eAAe,0BAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAfA,eAAe;EAAA,OAAfA,eAAe;AAAA,EAAfA,eAAe;AAMpB,WAAYC,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAKzB,WAAYC,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA;AAuGzB,WAAYC,mBAAmB,0BAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAnBA,mBAAmB;EAAA,OAAnBA,mBAAmB;AAAA;AAM/B,WAAYC,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["achCredit.types.ts"],"sourcesContent":["import type { RESPONSE_KEYS } from '../../messages/webMessages/onLoadMessage';\nimport type { UNAccountData, UNCounterpartyAccountData } from './account.types';\nimport type { UNAchCounterparty, UNCounterpartyVerificationMethod, UNPaymentStatus } from './payments.types';\nimport type { UNTags, UNRelationship } from './types';\n\nexport type UNACHOnLoadData = {\n [RESPONSE_KEYS.account]: UNAccountData,\n [RESPONSE_KEYS.counterpartyAccount]: [UNCounterpartyAccountData]\n}\n\nexport type UNACHData = {\n type: 'achPayment',\n id: string,\n attributes: {\n createdAt: string | Date,\n status: UNPaymentStatus,\n settlementDate?: Date,\n reason: string,\n direction: 'Debit' | 'Credit',\n description: string,\n transactionSummaryOverride?: string,\n amount: string,\n tags: UNTags,\n addenda?: string\n\t\tcounterparty: UNAchCounterparty\n\t\texpectedCompletionDate?: Date\n\t\tcounterpartyVerificationMethod?:keyof typeof UNCounterpartyVerificationMethod\n\t\tsameDay?: boolean\n },\n relationships: {\n account: UNRelationship,\n customer?: UNRelationship,\n customers?: UNRelationship,\n counterpartyAccount: UNRelationship,\n counterpartyCustomer: UNRelationship,\n transaction: UNRelationship,\n recurringPayment: UNRelationship\n }\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/achCredit.types.ts"],"mappings":""}
@@ -1,2 +1,6 @@
1
- export {};
1
+ export let UNActivityComponentPaginationType = /*#__PURE__*/function (UNActivityComponentPaginationType) {
2
+ UNActivityComponentPaginationType["infiniteScroll"] = "infiniteScroll";
3
+ UNActivityComponentPaginationType["pagination"] = "pagination";
4
+ return UNActivityComponentPaginationType;
5
+ }({});
2
6
  //# sourceMappingURL=activity.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["activity.types.ts"],"sourcesContent":["import type { RESPONSE_KEYS } from '../../messages/webMessages/onLoadMessage';\nimport type { UNAuthorizationData } from './authorization.types';\nimport type { UNTransactionData } from './transactions.types';\n\nexport type UNActivityOnLoadData = {\n [RESPONSE_KEYS.authorization]: UNAuthorizationData,\n [RESPONSE_KEYS.transactions]: UNTransactionData,\n}\n"],"mappings":""}
1
+ {"version":3,"names":["UNActivityComponentPaginationType"],"sourceRoot":"../../../../src","sources":["types/shared/activity.types.ts"],"mappings":"AAIA,WAAYA,iCAAiC,0BAAjCA,iCAAiC;EAAjCA,iCAAiC;EAAjCA,iCAAiC;EAAA,OAAjCA,iCAAiC;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["authorization.types.ts"],"sourcesContent":["export type UNAuthorizationData = {\n type: string,\n id: string,\n attributes: UNAuthorizationDetails\n}\n\nexport type UNAuthorizationDetails = {\n cardNetwork: string,\n createdAt: Date,\n amount: string,\n merchant?: UNAuthorizationMerchant,\n cardLast4Digits: string,\n recurring : boolean,\n summary: string,\n}\n\nexport type UNAuthorizationMerchant = {\n name: string,\n type: string,\n category: string,\n location?: string,\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/authorization.types.ts"],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["bookPayment.types.ts"],"sourcesContent":["import type { UNPaymentStatus } from './payments.types';\nimport type { UNTags, UNRelationship } from './types';\n\nexport type UNBookPaymentData = {\n type: 'bookPayment',\n id: string,\n attributes: {\n createdAt: string | Date,\n status: UNPaymentStatus,\n reason: string,\n direction: 'Debit' | 'Credit',\n description: string,\n transactionSummaryOverride?: string,\n amount: string,\n tags: UNTags,\n },\n relationships: {\n account: UNRelationship,\n customer?: UNRelationship,\n customers?: UNRelationship,\n counterpartyAccount: UNRelationship,\n counterpartyCustomer: UNRelationship,\n transaction: UNRelationship,\n recurringPayment: UNRelationship\n }\n}\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/bookPayment.types.ts"],"mappings":""}
@@ -1,5 +1,4 @@
1
- export let UNCardMenuAction;
2
- (function (UNCardMenuAction) {
1
+ export let UNCardMenuAction = /*#__PURE__*/function (UNCardMenuAction) {
3
2
  UNCardMenuAction["Freeze"] = "Freeze";
4
3
  UNCardMenuAction["ManagePin"] = "ManagePin";
5
4
  UNCardMenuAction["Replace"] = "Replace";
@@ -10,5 +9,15 @@ export let UNCardMenuAction;
10
9
  UNCardMenuAction["ChangePin"] = "ChangePin";
11
10
  UNCardMenuAction["SetPin"] = "SetPin";
12
11
  UNCardMenuAction["AddToWallet"] = "AddToWallet";
13
- })(UNCardMenuAction || (UNCardMenuAction = {}));
12
+ return UNCardMenuAction;
13
+ }({});
14
+ export let UNCardMenuItem = /*#__PURE__*/function (UNCardMenuItem) {
15
+ UNCardMenuItem["freeze"] = "freeze";
16
+ UNCardMenuItem["addToWallet"] = "addToWallet";
17
+ UNCardMenuItem["managePin"] = "managePin";
18
+ UNCardMenuItem["replace"] = "replace";
19
+ UNCardMenuItem["report"] = "report";
20
+ UNCardMenuItem["close"] = "close";
21
+ return UNCardMenuItem;
22
+ }({});
14
23
  //# sourceMappingURL=card.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNCardMenuAction"],"sources":["card.types.ts"],"sourcesContent":["import type { UNAddress, UNFullName, UNLimits, UNRelationship, UNTags } from './types';\n\nexport type UNCardData = UNIndividualDebitCard | UNBusinessDebitCard\n\ntype UNCardStatus = 'Active' | 'Inactive' | 'Stolen' | 'Lost' | 'Frozen' | 'ClosedByCustomer' | 'SuspectedFraud'\n\nexport type UNIndividualDebitCard = {\n id: string,\n type: 'individualDebitCard' | 'individualVirtualDebitCard',\n attributes: {\n createdAt: string,\n last4Digits: string,\n expirationDate: string,\n status: UNCardStatus,\n shippingAddress?: UNAddress, /* not exists in virtual card */\n updatedAt?: string,\n design?: string,\n additionalEmbossedText?: string,\n idempotencyKey?: string,\n tags?: UNTags,\n limits?: UNLimits,\n printOnlyBusinessName?: boolean\n },\n relationships: {\n account: UNRelationship,\n customer: UNRelationship\n }\n}\n\nexport type UNBusinessDebitCard = {\n id: string,\n type: 'businessDebitCard' | 'businessVirtualDebitCard',\n attributes: {\n fullName: UNFullName,\n dateOfBirth: string,\n address: UNAddress,\n shippingAddress?: UNAddress,\n phone: string,\n email: string,\n createdAt: string,\n last4Digits: string,\n expirationDate: string,\n status: UNCardStatus,\n updatedAt?: string,\n ssn?: string,\n passport?: string,\n nationality?: string,\n design?: string,\n additionalEmbossedText?: string,\n idempotencyKey?: string,\n tags?: Record<string, string>\n limits?: UNLimits,\n printOnlyBusinessName?: boolean\n },\n relationships: {\n account: UNRelationship,\n customer: UNRelationship\n }\n}\n\nexport enum UNCardMenuAction {\n Freeze = 'Freeze',\n ManagePin = 'ManagePin',\n Replace = 'Replace',\n Report = 'Report',\n Close = 'Close',\n Activate = 'Activate',\n Unfreeze = 'Unfreeze',\n ChangePin = 'ChangePin',\n SetPin = 'SetPin',\n AddToWallet = 'AddToWallet'\n}\n"],"mappings":"AA4DA,WAAYA,gBAAgB;AAW3B,WAXWA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;AAAA,GAAhBA,gBAAgB,KAAhBA,gBAAgB"}
1
+ {"version":3,"names":["UNCardMenuAction","UNCardMenuItem"],"sourceRoot":"../../../../src","sources":["types/shared/card.types.ts"],"mappings":"AA4DA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA;AAa5B,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA"}
@@ -1,5 +1,4 @@
1
- export let UNCheckDepositStatus;
2
- (function (UNCheckDepositStatus) {
1
+ export let UNCheckDepositStatus = /*#__PURE__*/function (UNCheckDepositStatus) {
3
2
  UNCheckDepositStatus["AwaitingImages"] = "AwaitingImages";
4
3
  UNCheckDepositStatus["AwaitingFrontImage"] = "AwaitingFrontImage";
5
4
  UNCheckDepositStatus["AwaitingBackImage"] = "AwaitingBackImage";
@@ -11,5 +10,6 @@ export let UNCheckDepositStatus;
11
10
  UNCheckDepositStatus["Sent"] = "Sent";
12
11
  UNCheckDepositStatus["Canceled"] = "Canceled";
13
12
  UNCheckDepositStatus["Returned"] = "Returned";
14
- })(UNCheckDepositStatus || (UNCheckDepositStatus = {}));
13
+ return UNCheckDepositStatus;
14
+ }({});
15
15
  //# sourceMappingURL=checkDeposit.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNCheckDepositStatus"],"sources":["checkDeposit.types.ts"],"sourcesContent":["import type { UNRelationship } from './types';\n\nexport type UNCheckDepositData = {\n\tid: string\n\ttype: string\n\tattributes: UNCheckDepositAttributes\n\trelationships: UNCheckDepositRelationships\n}\n\nexport type UNCheckDepositAttributes = {\n createdAt: Date\n status: keyof typeof UNCheckDepositStatus\n reason?: string\n description: string\n amount: Cents\n checkNumber?: string\n counterparty: UNCheckCounterparty\n settlementDate?: Date\n tags?: {[key: string]: string}\n}\n\nexport type UNCheckDepositRelationships = {\n account: UNRelationship\n customer?: UNRelationship\n customers?: UNRelationship\n org?: UNRelationship\n transaction?: UNRelationship\n}\n\nexport enum UNCheckDepositStatus {\n\tAwaitingImages = 'AwaitingImages',\n\tAwaitingFrontImage = 'AwaitingFrontImage',\n\tAwaitingBackImage = 'AwaitingBackImage',\n\tPendingReview = 'PendingReview',\n\tAwaitingCustomerConfirmation = 'AwaitingCustomerConfirmation',\n\tPending = 'Pending',\n\tRejected = 'Rejected',\n\tClearing = 'Clearing',\n\tSent = 'Sent',\n\tCanceled = 'Canceled',\n\tReturned = 'Returned',\n}\n\nexport type Cents = number\n\nexport type UNCheckCounterparty = {\n\tname: string\n\taccountNumber: string\n\troutingNumber: string\n}\n"],"mappings":"AA6BA,WAAYA,oBAAoB;AAY/B,WAZWA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;AAAA,GAApBA,oBAAoB,KAApBA,oBAAoB"}
1
+ {"version":3,"names":["UNCheckDepositStatus"],"sourceRoot":"../../../../src","sources":["types/shared/checkDeposit.types.ts"],"mappings":"AA6BA,WAAYA,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA"}
@@ -0,0 +1,22 @@
1
+ export let UNErrorCodes = /*#__PURE__*/function (UNErrorCodes) {
2
+ UNErrorCodes["FEATURE_DISABLED"] = "feature_disabled";
3
+ UNErrorCodes["INVALID_VALUE"] = "invalid_value";
4
+ UNErrorCodes["LIMITS_EXCEEDED"] = "limits_exceeded";
5
+ UNErrorCodes["NOT_FOUND"] = "not_found";
6
+ UNErrorCodes["ACCOUNT_CUSTOMER_MISMATCH"] = "account_customer_mismatch";
7
+ UNErrorCodes["NOT_SUPPORTED_FOR_ACCOUNT_STATUS"] = "not_supported_for_account_status";
8
+ UNErrorCodes["NOT_SUPPORTED_FOR_ACCOUNT_TYPE"] = "not_supported_for_account_type";
9
+ UNErrorCodes["NOT_SUPPORTED_FOR_CARD"] = "not_supported_for_card";
10
+ UNErrorCodes["NOT_SUPPORTED_FOR_CARD_STATUS"] = "not_supported_for_card_status";
11
+ UNErrorCodes["NOT_SUPPORTED_FOR_CARD_TYPE"] = "not_supported_for_card_type";
12
+ UNErrorCodes["INVALID_NONCE"] = "invalid_nonce";
13
+ UNErrorCodes["NOT_SUPPORTED_FOR_PAYMENT_TYPE"] = "not_supported_for_payment_type";
14
+ UNErrorCodes["PAYMENT_INVALID"] = "payment_invalid";
15
+ UNErrorCodes["UNAUTHORIZED"] = "unauthorized";
16
+ UNErrorCodes["FORBIDDEN"] = "forbidden";
17
+ UNErrorCodes["ALREADY_EXISTS"] = "already_exists";
18
+ UNErrorCodes["CUSTOMER_NAME_UNDELIVERABLE"] = "customer_name_undeliverable";
19
+ UNErrorCodes["CUSTOMER_ADDRESS_UNDELIVERABLE"] = "customer_address_undeliverable";
20
+ return UNErrorCodes;
21
+ }({});
22
+ //# sourceMappingURL=error.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["UNErrorCodes"],"sourceRoot":"../../../../src","sources":["types/shared/error.types.ts"],"mappings":"AAkBA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA"}
@@ -1,5 +1,4 @@
1
- export let FontWeight;
2
- (function (FontWeight) {
1
+ export let FontWeight = /*#__PURE__*/function (FontWeight) {
3
2
  FontWeight[FontWeight["Thin"] = 100] = "Thin";
4
3
  FontWeight[FontWeight["ExtraLight"] = 200] = "ExtraLight";
5
4
  FontWeight[FontWeight["Light"] = 300] = "Light";
@@ -9,5 +8,6 @@ export let FontWeight;
9
8
  FontWeight[FontWeight["Bold"] = 700] = "Bold";
10
9
  FontWeight[FontWeight["ExtraBold"] = 800] = "ExtraBold";
11
10
  FontWeight[FontWeight["Black"] = 900] = "Black";
12
- })(FontWeight || (FontWeight = {}));
11
+ return FontWeight;
12
+ }({});
13
13
  //# sourceMappingURL=fonts.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["FontWeight"],"sources":["fonts.types.ts"],"sourcesContent":["export type UNFonts = {\n [fontFamily: string]: UNFontData[];\n}\n\nexport type UNFontData = {\n // Using 'field' instead of 'key' to account for potential variants unrelated to font weight.\n fontWeight: FontWeight;\n sources: UNFontSource[];\n}\n\nexport type UNFontSource = {\n // using the fileName for iOS and relative path for Android\n fileName: string;\n assetDirRelativePath: string;\n format?: string;\n}\n\nexport enum FontWeight {\n Thin = 100,\n ExtraLight = 200,\n Light = 300,\n Regular = 400,\n Medium = 500,\n SemiBold = 600,\n Bold = 700,\n ExtraBold = 800,\n Black = 900\n}\n"],"mappings":"AAiBA,WAAYA,UAAU;AAUrB,WAVWA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;AAAA,GAAVA,UAAU,KAAVA,UAAU"}
1
+ {"version":3,"names":["FontWeight"],"sourceRoot":"../../../../src","sources":["types/shared/fonts.types.ts"],"mappings":"AAiBA,WAAYA,UAAU,0BAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAVA,UAAU,CAAVA,UAAU;EAAA,OAAVA,UAAU;AAAA"}
@@ -7,5 +7,7 @@ export * from './account.types';
7
7
  export * from './checkDeposit.types';
8
8
  export * from './activity.types';
9
9
  export * from './fonts.types';
10
+ export * from './error.types';
10
11
  export * from './versioning.types';
12
+ export * from './multipleCards.types';
11
13
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from './bookPayment.types';\nexport * from './card.types';\nexport * from './onLoadResponse.types';\nexport * from './achCredit.types';\nexport * from './payments.types';\nexport * from './account.types';\nexport * from './checkDeposit.types';\nexport * from './activity.types';\nexport * from './fonts.types';\nexport * from './versioning.types';\n"],"mappings":"AAAA,cAAc,qBAAqB;AACnC,cAAc,cAAc;AAC5B,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,kBAAkB;AAChC,cAAc,iBAAiB;AAC/B,cAAc,sBAAsB;AACpC,cAAc,kBAAkB;AAChC,cAAc,eAAe;AAC7B,cAAc,oBAAoB"}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/index.ts"],"mappings":"AAAA,cAAc,qBAAqB;AACnC,cAAc,cAAc;AAC5B,cAAc,wBAAwB;AACtC,cAAc,mBAAmB;AACjC,cAAc,kBAAkB;AAChC,cAAc,iBAAiB;AAC/B,cAAc,sBAAsB;AACpC,cAAc,kBAAkB;AAChC,cAAc,eAAe;AAC7B,cAAc,eAAe;AAC7B,cAAc,oBAAoB;AAClC,cAAc,uBAAuB"}
@@ -0,0 +1,6 @@
1
+ export let UNMultipleCardsComponentPaginationType = /*#__PURE__*/function (UNMultipleCardsComponentPaginationType) {
2
+ UNMultipleCardsComponentPaginationType["infiniteScroll"] = "infiniteScroll";
3
+ UNMultipleCardsComponentPaginationType["pagination"] = "pagination";
4
+ return UNMultipleCardsComponentPaginationType;
5
+ }({});
6
+ //# sourceMappingURL=multipleCards.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["UNMultipleCardsComponentPaginationType"],"sourceRoot":"../../../../src","sources":["types/shared/multipleCards.types.ts"],"mappings":"AAEA,WAAYA,sCAAsC,0BAAtCA,sCAAsC;EAAtCA,sCAAsC;EAAtCA,sCAAsC;EAAA,OAAtCA,sCAAsC;AAAA"}
@@ -1,2 +1,2 @@
1
-
1
+ export {};
2
2
  //# sourceMappingURL=onLoadResponse.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["onLoadResponse.types.ts"],"sourcesContent":["export type UNOnLoadResponseData<T> = {\n data: T,\n}\n\nexport type UNError = {\n errors: UNErrorData[]\n}\n\nexport type UNErrorData = {\n status: string,\n title: string,\n detail?: string,\n details?: string,\n meta?: Record<string, string>\n}\n\nexport type UNOnLoadResponse<T> =\n | UNOnLoadResponseData<T>\n | UNError\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/onLoadResponse.types.ts"],"mappings":""}
@@ -1,5 +1,10 @@
1
- export let UNCounterpartyVerificationMethod;
2
- (function (UNCounterpartyVerificationMethod) {
1
+ export let UNPlaidAccountFilter = /*#__PURE__*/function (UNPlaidAccountFilter) {
2
+ UNPlaidAccountFilter["checking"] = "checking";
3
+ UNPlaidAccountFilter["savings"] = "savings";
4
+ return UNPlaidAccountFilter;
5
+ }({});
6
+ export let UNCounterpartyVerificationMethod = /*#__PURE__*/function (UNCounterpartyVerificationMethod) {
3
7
  UNCounterpartyVerificationMethod["Plaid"] = "Plaid";
4
- })(UNCounterpartyVerificationMethod || (UNCounterpartyVerificationMethod = {}));
8
+ return UNCounterpartyVerificationMethod;
9
+ }({});
5
10
  //# sourceMappingURL=payments.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNCounterpartyVerificationMethod"],"sources":["payments.types.ts"],"sourcesContent":["export type UNPaymentStatus = 'Sent' | 'Rejected'\n\nexport type UNAchCounterparty = {\n\tname: string\n\taccountNumber: string\n\troutingNumber: string\n\taccountType: UNAccountType\n}\n\ntype UNAccountType = 'Savings' | 'Checking'\n\nexport enum UNCounterpartyVerificationMethod {\n\tPlaid = 'Plaid',\n}\n"],"mappings":"AAWA,WAAYA,gCAAgC;AAE3C,WAFWA,gCAAgC;EAAhCA,gCAAgC;AAAA,GAAhCA,gCAAgC,KAAhCA,gCAAgC"}
1
+ {"version":3,"names":["UNPlaidAccountFilter","UNCounterpartyVerificationMethod"],"sourceRoot":"../../../../src","sources":["types/shared/payments.types.ts"],"mappings":"AAWA,WAAYA,oBAAoB,0BAApBA,oBAAoB;EAApBA,oBAAoB;EAApBA,oBAAoB;EAAA,OAApBA,oBAAoB;AAAA;AAKhC,WAAYC,gCAAgC,0BAAhCA,gCAAgC;EAAhCA,gCAAgC;EAAA,OAAhCA,gCAAgC;AAAA"}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=repayment.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/repayment.types.ts"],"mappings":""}
@@ -1,10 +1,9 @@
1
- export let UNDirection;
2
- (function (UNDirection) {
1
+ export let UNDirection = /*#__PURE__*/function (UNDirection) {
3
2
  UNDirection["Debit"] = "Debit";
4
3
  UNDirection["Credit"] = "Credit";
5
- })(UNDirection || (UNDirection = {}));
6
- export let UNTransactionType;
7
- (function (UNTransactionType) {
4
+ return UNDirection;
5
+ }({});
6
+ export let UNTransactionType = /*#__PURE__*/function (UNTransactionType) {
8
7
  UNTransactionType["ATM"] = "atmTransaction";
9
8
  UNTransactionType["Adjustment"] = "adjustmentTransaction";
10
9
  UNTransactionType["BillPay"] = "billPayTransaction";
@@ -40,5 +39,6 @@ export let UNTransactionType;
40
39
  UNTransactionType["BankRepayment"] = "bankRepaymentTransaction";
41
40
  UNTransactionType["CustomerRepayment"] = "CustomerRepaymentTransaction";
42
41
  UNTransactionType["CustomerRepaymentReturned"] = "CustomerRepaymentReturnedTransaction";
43
- })(UNTransactionType || (UNTransactionType = {}));
42
+ return UNTransactionType;
43
+ }({});
44
44
  //# sourceMappingURL=transactions.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNDirection","UNTransactionType"],"sources":["transactions.types.ts"],"sourcesContent":["export type UNTransactionData = {\n type: UNTransactionType,\n id: string,\n attributes: UNATransactionAttributes,\n relationships: UNTransactionRelationships\n}\n\nexport type UNATransactionAttributes = {\n createdAt: Date,\n amount: string,\n direction?: UNDirection,\n balance?: string,\n summary?: string,\n companyName?: string,\n counterpartyName?: string,\n counterpartyRoutingNumber?: string,\n reason?: string,\n}\n\nexport type UNTransactionRelationships = {\n customer?: {\n data: {\n type: string\n id: number\n }\n }\n customers?: {\n data: [\n {\n type: 'customer'\n id: string\n }\n ]\n }\n org?: {\n data: {\n type: string\n id: number\n }\n }\n}\n\nexport enum UNDirection {\n\tDebit = 'Debit',\n\tCredit = 'Credit',\n}\n\nexport enum UNTransactionType {\n\tATM = 'atmTransaction',\n\tAdjustment = 'adjustmentTransaction',\n\tBillPay = 'billPayTransaction',\n\tBook = 'bookTransaction',\n\tCard = 'cardTransaction',\n\tCardReversal = 'cardReverTransactionTypessalTransaction',\n\tChargeback = 'chargebackTransaction',\n\tCheckDeposit = 'checkDepositTransaction',\n\tDishonoredACH = 'dishonoredAchTransaction',\n\tDispute = 'disputeTransaction',\n\tDisputeSettlement = 'disputeSettlementTransaction',\n\tFee = 'feeTransaction',\n\tInterchangeShare = 'interchangeShareTransaction',\n\tInterest = 'interestTransaction',\n\tInterestShare = 'interestShareTransaction',\n\tNegativeBalanceCoverage = 'negativeBalanceCoverageTransaction',\n\tOriginatedACH = 'originatedAchTransaction',\n\tPaymentAdvance = 'paymentAdvanceTransaction',\n\tPaymentCanceled = 'paymentCanceledTransaction',\n\tPurchase = 'purchaseTransaction',\n\tReceivedACH = 'receivedAchTransaction',\n\tRelease = 'releaseTransaction',\n\tRepaidPaymentAdvance = 'repaidPaymentAdvanceTransaction',\n\tReturnedACH = 'returnedAchTransaction',\n\tReturnedCheckDeposit = 'returnedCheckDepositTransaction',\n\tReturnedReceivedACH = 'returnedReceivedAchTransaction',\n\tReward = 'rewardTransaction',\n\tSettlement = 'settlementTransaction',\n\tSponsoredInterest = 'sponsoredInterestTransaction',\n\tWire = 'wireTransaction',\n\tAccountLowBalanceClosure = 'accountLowBalanceClosureTransaction',\n\tCashDeposit = 'cashDepositTransaction',\n\tBankRepayment = 'bankRepaymentTransaction',\n\tCustomerRepayment = 'CustomerRepaymentTransaction',\n\tCustomerRepaymentReturned = 'CustomerRepaymentReturnedTransaction',\n}\n"],"mappings":"AA0CA,WAAYA,WAAW;AAGtB,WAHWA,WAAW;EAAXA,WAAW;EAAXA,WAAW;AAAA,GAAXA,WAAW,KAAXA,WAAW;AAKvB,WAAYC,iBAAiB;AAoC5B,WApCWA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;AAAA,GAAjBA,iBAAiB,KAAjBA,iBAAiB"}
1
+ {"version":3,"names":["UNDirection","UNTransactionType"],"sourceRoot":"../../../../src","sources":["types/shared/transactions.types.ts"],"mappings":"AA0CA,WAAYA,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA;AAKvB,WAAYC,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA"}
@@ -1 +1 @@
1
- {"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["export type UNAddress = {\n street: string,\n street2?: string,\n city: string,\n state: string,\n postalCode: string,\n country: string\n}\n\nexport type UNLimits = {\n dailyWithdrawal?: string | number,\n dailyPurchase?: string | number,\n monthlyWithdrawal?: string | number,\n monthlyPurchase?: string | number,\n}\n\ntype UNData = {\n type: string,\n id: string\n}\n\nexport type UNRelationship = {\n data:\n | null\n | []\n | UNData\n | UNData[]\n}\n\nexport type UNFullName = {\n first: string,\n last: string\n}\n\nexport type UNTags = Record<string, string> // TODO: specify Tag type\n"],"mappings":""}
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["types/shared/types.ts"],"mappings":""}
@@ -1,7 +1,8 @@
1
- export let UNVersioningStrategyType;
2
- (function (UNVersioningStrategyType) {
1
+ export let UNVersioningStrategyType = /*#__PURE__*/function (UNVersioningStrategyType) {
2
+ UNVersioningStrategyType["latest"] = "latest";
3
3
  UNVersioningStrategyType["exact"] = "exact";
4
4
  UNVersioningStrategyType["upToNextMinor"] = "upToNextMinor";
5
5
  UNVersioningStrategyType["upToNextMajor"] = "upToNextMajor";
6
- })(UNVersioningStrategyType || (UNVersioningStrategyType = {}));
6
+ return UNVersioningStrategyType;
7
+ }({});
7
8
  //# sourceMappingURL=versioning.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNVersioningStrategyType"],"sources":["versioning.types.ts"],"sourcesContent":["export enum UNVersioningStrategyType {\n exact = 'exact',\n upToNextMinor = 'upToNextMinor',\n upToNextMajor = 'upToNextMajor'\n}\n\ntype UNExactWebVersioningStrategy = {\n type: UNVersioningStrategyType.exact;\n major: number;\n minor: number;\n patch: number;\n}\n\ntype UNUpToNextMinorWebVersioningStrategy = {\n type: UNVersioningStrategyType.upToNextMinor;\n major: number;\n minor: number;\n}\n\ntype UNUpToNextMajorWebVersioningStrategy = {\n type: UNVersioningStrategyType.upToNextMajor;\n major: number;\n}\n\nexport type UNWebVersioningStrategy =\n UNExactWebVersioningStrategy\n | UNUpToNextMinorWebVersioningStrategy\n | UNUpToNextMajorWebVersioningStrategy;\n"],"mappings":"AAAA,WAAYA,wBAAwB;AAInC,WAJWA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;AAAA,GAAxBA,wBAAwB,KAAxBA,wBAAwB"}
1
+ {"version":3,"names":["UNVersioningStrategyType"],"sourceRoot":"../../../../src","sources":["types/shared/versioning.types.ts"],"mappings":"AAAA,WAAYA,wBAAwB,0BAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA"}
@@ -1,15 +1,14 @@
1
- export let UNWalletCode;
2
- (function (UNWalletCode) {
1
+ export let UNWalletCode = /*#__PURE__*/function (UNWalletCode) {
3
2
  UNWalletCode["Apple"] = "ApplePayPushProvision";
4
3
  UNWalletCode["Google"] = "GooglePayPushProvision";
5
- })(UNWalletCode || (UNWalletCode = {}));
6
- export let UNWalletName;
7
- (function (UNWalletName) {
4
+ return UNWalletCode;
5
+ }({});
6
+ export let UNWalletName = /*#__PURE__*/function (UNWalletName) {
8
7
  UNWalletName["Apple"] = "APPLE";
9
8
  UNWalletName["Google"] = "GOOGLE";
10
- })(UNWalletName || (UNWalletName = {}));
11
- export let UNCardAddToWalletStatus;
12
- (function (UNCardAddToWalletStatus) {
9
+ return UNWalletName;
10
+ }({});
11
+ export let UNCardAddToWalletStatus = /*#__PURE__*/function (UNCardAddToWalletStatus) {
13
12
  UNCardAddToWalletStatus[UNCardAddToWalletStatus["pending"] = 0] = "pending";
14
13
  UNCardAddToWalletStatus["readyToProvisioning"] = "ReadyToProvision";
15
14
  UNCardAddToWalletStatus["addedToWallet"] = "AlreadyProvisioned";
@@ -18,5 +17,6 @@ export let UNCardAddToWalletStatus;
18
17
  UNCardAddToWalletStatus["androidNotInstalled"] = "NotInstalled";
19
18
  UNCardAddToWalletStatus["androidWalletSetupNotCompleted"] = "WalletSetupNotCompleted";
20
19
  UNCardAddToWalletStatus["androidWalletAppUpdateAvailable"] = "WalletAppUpdateAvailable";
21
- })(UNCardAddToWalletStatus || (UNCardAddToWalletStatus = {}));
20
+ return UNCardAddToWalletStatus;
21
+ }({});
22
22
  //# sourceMappingURL=wallet.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNWalletCode","UNWalletName","UNCardAddToWalletStatus"],"sources":["wallet.types.ts"],"sourcesContent":["export enum UNWalletCode {\n Apple = 'ApplePayPushProvision',\n Google = 'GooglePayPushProvision',\n}\n\nexport enum UNWalletName {\n Apple = 'APPLE',\n Google = 'GOOGLE',\n}\n\nexport interface UNWallet {\n name: string;\n code: string;\n status: UNCardAddToWalletStatus\n}\n\nexport enum UNCardAddToWalletStatus {\n pending,\n readyToProvisioning = 'ReadyToProvision',\n addedToWallet = 'AlreadyProvisioned',\n iosProvisionedInCurrentDevice = 'ProvisionedInCurrentDevice',\n iosProvisionedInPairedDevice = 'ProvisionedInPairedDevice',\n androidNotInstalled = 'NotInstalled',\n androidWalletSetupNotCompleted = 'WalletSetupNotCompleted',\n androidWalletAppUpdateAvailable = 'WalletAppUpdateAvailable'\n\n}\n"],"mappings":"AAAA,WAAYA,YAAY;AAGvB,WAHWA,YAAY;EAAZA,YAAY;EAAZA,YAAY;AAAA,GAAZA,YAAY,KAAZA,YAAY;AAKxB,WAAYC,YAAY;AAGvB,WAHWA,YAAY;EAAZA,YAAY;EAAZA,YAAY;AAAA,GAAZA,YAAY,KAAZA,YAAY;AAWxB,WAAYC,uBAAuB;AAUlC,WAVWA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;AAAA,GAAvBA,uBAAuB,KAAvBA,uBAAuB"}
1
+ {"version":3,"names":["UNWalletCode","UNWalletName","UNCardAddToWalletStatus"],"sourceRoot":"../../../../src","sources":["types/shared/wallet.types.ts"],"mappings":"AAAA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAKxB,WAAYC,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAWxB,WAAYC,uBAAuB,0BAAvBA,uBAAuB;EAAvBA,uBAAuB,CAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAA,OAAvBA,uBAAuB;AAAA"}
@@ -1,12 +1,11 @@
1
- import EventBus from '../helpers/EventBus';
2
- import { SDKMessage } from '../messages/nativeMessages/sdkMessage';
3
1
  import { UnitSDK } from './UnitSdkManager';
4
2
  import { getUnitScriptUrl } from './UnitSdkManager.utils.internal';
3
+ import { store } from '../store/store';
4
+ import { setUnitScript, selectConfiguration } from '../slices/ConfigurationSlice';
5
5
  let isLoadingScript = false;
6
-
7
- /** globalUnitScript is exported ONLY to our project components **/
8
- export let globalUnitScript = '';
9
6
  export const fetchUnitScript = async () => {
7
+ const configurationState = selectConfiguration(store.getState());
8
+ const globalUnitScript = configurationState.unitScript;
10
9
  const env = UnitSDK.getEnv();
11
10
  const webVersioningStrategy = UnitSDK.getWebVersioningStrategy();
12
11
  if (isLoadingScript || globalUnitScript || !env) {
@@ -18,11 +17,7 @@ export const fetchUnitScript = async () => {
18
17
  const unitScriptRes = await fetch(getUnitScriptUrl(env, webVersioningStrategy));
19
18
  const unitScript = await unitScriptRes.text();
20
19
  if (unitScript) {
21
- const scriptFetchData = {
22
- unitScript
23
- };
24
- EventBus.Instance.event(SDKMessage.IS_SCRIPT_FETCHED, scriptFetchData);
25
- globalUnitScript = unitScript;
20
+ store.dispatch(setUnitScript(unitScript));
26
21
  }
27
22
  return null;
28
23
  } catch (e) {
@@ -1 +1 @@
1
- {"version":3,"names":["EventBus","SDKMessage","UnitSDK","getUnitScriptUrl","isLoadingScript","globalUnitScript","fetchUnitScript","env","getEnv","webVersioningStrategy","getWebVersioningStrategy","unitScriptRes","fetch","unitScript","text","scriptFetchData","Instance","event","IS_SCRIPT_FETCHED","e","console","log"],"sources":["UnitSdk.api.ts"],"sourcesContent":["import EventBus from '../helpers/EventBus';\nimport { SDKMessage, SdkScriptFetched } from '../messages/nativeMessages/sdkMessage';\nimport { UnitSDK } from './UnitSdkManager';\n\nimport { getUnitScriptUrl } from './UnitSdkManager.utils.internal';\n\nlet isLoadingScript = false;\n\n/** globalUnitScript is exported ONLY to our project components **/\nexport let globalUnitScript = '';\n\nexport const fetchUnitScript = async () => {\n const env = UnitSDK.getEnv();\n const webVersioningStrategy = UnitSDK.getWebVersioningStrategy();\n if (isLoadingScript || globalUnitScript || !env) {\n // init function is called and success OR in progress\n return null;\n }\n isLoadingScript = true;\n try {\n const unitScriptRes = await fetch(getUnitScriptUrl(env, webVersioningStrategy));\n const unitScript = await unitScriptRes.text();\n if (unitScript) {\n const scriptFetchData: SdkScriptFetched = { unitScript };\n EventBus.Instance.event(SDKMessage.IS_SCRIPT_FETCHED, scriptFetchData);\n globalUnitScript = unitScript;\n }\n return null;\n } catch (e) {\n console.log(e);\n return null;\n } finally {\n isLoadingScript = false;\n }\n};\n"],"mappings":"AAAA,OAAOA,QAAQ,MAAM,qBAAqB;AAC1C,SAASC,UAAU,QAA0B,uCAAuC;AACpF,SAASC,OAAO,QAAQ,kBAAkB;AAE1C,SAASC,gBAAgB,QAAQ,iCAAiC;AAElE,IAAIC,eAAe,GAAG,KAAK;;AAE3B;AACA,OAAO,IAAIC,gBAAgB,GAAG,EAAE;AAEhC,OAAO,MAAMC,eAAe,GAAG,MAAAA,CAAA,KAAY;EACzC,MAAMC,GAAG,GAAGL,OAAO,CAACM,MAAM,EAAE;EAC5B,MAAMC,qBAAqB,GAAGP,OAAO,CAACQ,wBAAwB,EAAE;EAChE,IAAIN,eAAe,IAAIC,gBAAgB,IAAI,CAACE,GAAG,EAAE;IAC/C;IACA,OAAO,IAAI;EACb;EACAH,eAAe,GAAG,IAAI;EACtB,IAAI;IACF,MAAMO,aAAa,GAAG,MAAMC,KAAK,CAACT,gBAAgB,CAACI,GAAG,EAAEE,qBAAqB,CAAC,CAAC;IAC/E,MAAMI,UAAU,GAAG,MAAMF,aAAa,CAACG,IAAI,EAAE;IAC7C,IAAID,UAAU,EAAE;MACd,MAAME,eAAiC,GAAG;QAAEF;MAAW,CAAC;MACxDb,QAAQ,CAACgB,QAAQ,CAACC,KAAK,CAAChB,UAAU,CAACiB,iBAAiB,EAAEH,eAAe,CAAC;MACtEV,gBAAgB,GAAGQ,UAAU;IAC/B;IACA,OAAO,IAAI;EACb,CAAC,CAAC,OAAOM,CAAC,EAAE;IACVC,OAAO,CAACC,GAAG,CAACF,CAAC,CAAC;IACd,OAAO,IAAI;EACb,CAAC,SAAS;IACRf,eAAe,GAAG,KAAK;EACzB;AACF,CAAC"}
1
+ {"version":3,"names":["UnitSDK","getUnitScriptUrl","store","setUnitScript","selectConfiguration","isLoadingScript","fetchUnitScript","configurationState","getState","globalUnitScript","unitScript","env","getEnv","webVersioningStrategy","getWebVersioningStrategy","unitScriptRes","fetch","text","dispatch","e","console","log"],"sourceRoot":"../../../src","sources":["unitSdkManager/UnitSdk.api.ts"],"mappings":"AAAA,SAASA,OAAO,QAAQ,kBAAkB;AAE1C,SAASC,gBAAgB,QAAQ,iCAAiC;AAClE,SAASC,KAAK,QAAQ,gBAAgB;AACtC,SAASC,aAAa,EAAEC,mBAAmB,QAAQ,8BAA8B;AAEjF,IAAIC,eAAe,GAAG,KAAK;AAE3B,OAAO,MAAMC,eAAe,GAAG,MAAAA,CAAA,KAAY;EACzC,MAAMC,kBAAkB,GAAGH,mBAAmB,CAACF,KAAK,CAACM,QAAQ,CAAC,CAAC,CAAC;EAChE,MAAMC,gBAAgB,GAAGF,kBAAkB,CAACG,UAAU;EACtD,MAAMC,GAAG,GAAGX,OAAO,CAACY,MAAM,CAAC,CAAC;EAC5B,MAAMC,qBAAqB,GAAGb,OAAO,CAACc,wBAAwB,CAAC,CAAC;EAChE,IAAIT,eAAe,IAAII,gBAAgB,IAAI,CAACE,GAAG,EAAE;IAC/C;IACA,OAAO,IAAI;EACb;EACAN,eAAe,GAAG,IAAI;EACtB,IAAI;IACF,MAAMU,aAAa,GAAG,MAAMC,KAAK,CAACf,gBAAgB,CAACU,GAAG,EAAEE,qBAAqB,CAAC,CAAC;IAC/E,MAAMH,UAAU,GAAG,MAAMK,aAAa,CAACE,IAAI,CAAC,CAAC;IAC7C,IAAIP,UAAU,EAAE;MACdR,KAAK,CAACgB,QAAQ,CAACf,aAAa,CAACO,UAAU,CAAC,CAAC;IAC3C;IACA,OAAO,IAAI;EACb,CAAC,CAAC,OAAOS,CAAC,EAAE;IACVC,OAAO,CAACC,GAAG,CAACF,CAAC,CAAC;IACd,OAAO,IAAI;EACb,CAAC,SAAS;IACRd,eAAe,GAAG,KAAK;EACzB;AACF,CAAC"}
@@ -2,7 +2,7 @@ import { UNVersioningStrategyType } from '../types/shared';
2
2
  const WEB_SDK_RECOMMENDED_STRATEGY = {
3
3
  type: UNVersioningStrategyType.upToNextMinor,
4
4
  major: 1,
5
- minor: 2
5
+ minor: 6
6
6
  };
7
7
  export const UNSDKConstants = {
8
8
  webSDKRecommendedStrategy: WEB_SDK_RECOMMENDED_STRATEGY
@@ -1 +1 @@
1
- {"version":3,"names":["UNVersioningStrategyType","WEB_SDK_RECOMMENDED_STRATEGY","type","upToNextMinor","major","minor","UNSDKConstants","webSDKRecommendedStrategy"],"sources":["UnitSdk.constants.ts"],"sourcesContent":["import { UNVersioningStrategyType, UNWebVersioningStrategy } from '../types/shared';\n\nconst WEB_SDK_RECOMMENDED_STRATEGY: UNWebVersioningStrategy = {\n type: UNVersioningStrategyType.upToNextMinor,\n major: 1,\n minor: 2,\n};\n\nexport const UNSDKConstants = {\n webSDKRecommendedStrategy: WEB_SDK_RECOMMENDED_STRATEGY,\n};\n"],"mappings":"AAAA,SAASA,wBAAwB,QAAiC,iBAAiB;AAEnF,MAAMC,4BAAqD,GAAG;EAC5DC,IAAI,EAAEF,wBAAwB,CAACG,aAAa;EAC5CC,KAAK,EAAE,CAAC;EACRC,KAAK,EAAE;AACT,CAAC;AAED,OAAO,MAAMC,cAAc,GAAG;EAC5BC,yBAAyB,EAAEN;AAC7B,CAAC"}
1
+ {"version":3,"names":["UNVersioningStrategyType","WEB_SDK_RECOMMENDED_STRATEGY","type","upToNextMinor","major","minor","UNSDKConstants","webSDKRecommendedStrategy"],"sourceRoot":"../../../src","sources":["unitSdkManager/UnitSdk.constants.ts"],"mappings":"AAAA,SAASA,wBAAwB,QAAiC,iBAAiB;AAEnF,MAAMC,4BAAqD,GAAG;EAC5DC,IAAI,EAAEF,wBAAwB,CAACG,aAAa;EAC5CC,KAAK,EAAE,CAAC;EACRC,KAAK,EAAE;AACT,CAAC;AAED,OAAO,MAAMC,cAAc,GAAG;EAC5BC,yBAAyB,EAAEN;AAC7B,CAAC"}
@@ -1,80 +1,63 @@
1
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
2
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
3
- function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
4
- import EventBus from '../helpers/EventBus';
5
- import { SDKMessage } from '../messages/nativeMessages/sdkMessage';
6
1
  import { fetchUnitScript } from './UnitSdk.api';
7
2
  import { UnitUiManager } from './unitUiManager/unitUiManager';
8
3
  import { warnClientIfNeeded } from '../utils/webVersioningStrategy.utils';
9
4
  import { UNSDKConstants } from './UnitSdk.constants';
10
- export let UNEnvironment;
11
- (function (UNEnvironment) {
5
+ import { setTheme, setLanguage } from '../slices/ConfigurationSlice';
6
+ import { store } from '../store/store';
7
+ export let UNEnvironment = /*#__PURE__*/function (UNEnvironment) {
12
8
  UNEnvironment["sandbox"] = "sandbox";
13
9
  UNEnvironment["production"] = "production";
14
- })(UNEnvironment || (UNEnvironment = {}));
15
- export class UnitSDK {}
16
- _defineProperty(UnitSDK, "ui", void 0);
17
- _defineProperty(UnitSDK, "env", void 0);
18
- _defineProperty(UnitSDK, "webVersioningStrategy", void 0);
19
- _defineProperty(UnitSDK, "customerToken", void 0);
20
- _defineProperty(UnitSDK, "theme", void 0);
21
- _defineProperty(UnitSDK, "language", void 0);
22
- _defineProperty(UnitSDK, "fonts", void 0);
23
- _defineProperty(UnitSDK, "signedNonce", void 0);
24
- _defineProperty(UnitSDK, "pushProvisionModule", void 0);
25
- _defineProperty(UnitSDK, "init", async function (env, theme, language, fonts) {
26
- let webVersioningStrategy = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : UNSDKConstants.webSDKRecommendedStrategy;
27
- try {
28
- UnitSDK.env = env;
29
- UnitSDK.webVersioningStrategy = webVersioningStrategy;
30
- UnitSDK.theme = theme;
31
- UnitSDK.language = language;
32
- UnitSDK.fonts = fonts;
33
- UnitSDK.ui = new UnitUiManager();
34
- warnClientIfNeeded(UnitSDK.webVersioningStrategy);
35
- await fetchUnitScript();
36
- EventBus.Instance.event(SDKMessage.IS_SDK_INITIALIZED, {});
37
- } catch (e) {
38
- console.log(e);
39
- }
40
- });
41
- _defineProperty(UnitSDK, "setPushProvisioningModule", pushProvisionModule => {
42
- UnitSDK.pushProvisionModule = pushProvisionModule;
43
- });
44
- _defineProperty(UnitSDK, "getPushProvisionModule", () => {
45
- return UnitSDK.pushProvisionModule;
46
- });
47
- /**
48
- * @deprecated - Unit SDK is managing the signedNonce, no need to provide it
49
- */
50
- _defineProperty(UnitSDK, "setSignedNonce", signedNonce => {
51
- UnitSDK.signedNonce = signedNonce;
52
- });
53
- _defineProperty(UnitSDK, "getEnv", () => {
54
- return UnitSDK.env;
55
- });
56
- _defineProperty(UnitSDK, "getWebVersioningStrategy", () => {
57
- return UnitSDK.webVersioningStrategy;
58
- });
59
- _defineProperty(UnitSDK, "getTheme", () => {
60
- return UnitSDK.theme;
61
- });
62
- _defineProperty(UnitSDK, "getLanguage", () => {
63
- return UnitSDK.language;
64
- });
65
- _defineProperty(UnitSDK, "getFonts", () => {
66
- return UnitSDK.fonts;
67
- });
68
- /**
69
- * @deprecated - Unit SDK is managing the signedNonce, no need to provide it
70
- */
71
- _defineProperty(UnitSDK, "getSignedNonce", () => {
72
- return UnitSDK.signedNonce;
73
- });
74
- _defineProperty(UnitSDK, "setCustomerToken", customerToken => {
75
- UnitSDK.customerToken = customerToken;
76
- });
77
- _defineProperty(UnitSDK, "getCustomerToken", () => {
78
- return UnitSDK.customerToken;
79
- });
10
+ return UNEnvironment;
11
+ }({});
12
+ export class UnitSDK {
13
+ static init = async (env, theme, language, fonts, webVersioningStrategy = UNSDKConstants.webSDKRecommendedStrategy) => {
14
+ try {
15
+ this.env = env;
16
+ this.webVersioningStrategy = webVersioningStrategy;
17
+ this.fonts = fonts;
18
+ store.dispatch(setTheme(theme));
19
+ store.dispatch(setLanguage(language));
20
+ this.ui = new UnitUiManager();
21
+ warnClientIfNeeded(this.webVersioningStrategy);
22
+ await fetchUnitScript();
23
+ } catch (e) {
24
+ console.log(e);
25
+ }
26
+ };
27
+ static setPushProvisioningModule = pushProvisionModule => {
28
+ this.pushProvisionModule = pushProvisionModule;
29
+ };
30
+ static getPushProvisionModule = () => {
31
+ return this.pushProvisionModule;
32
+ };
33
+
34
+ /**
35
+ * @deprecated - Unit SDK is managing the signedNonce, no need to provide it
36
+ */
37
+ static setSignedNonce = signedNonce => {
38
+ this.signedNonce = signedNonce;
39
+ };
40
+ static getEnv = () => {
41
+ return this.env;
42
+ };
43
+ static getWebVersioningStrategy = () => {
44
+ return this.webVersioningStrategy;
45
+ };
46
+ static getFonts = () => {
47
+ return this.fonts;
48
+ };
49
+
50
+ /**
51
+ * @deprecated - Unit SDK is managing the signedNonce, no need to provide it
52
+ */
53
+ static getSignedNonce = () => {
54
+ return this.signedNonce;
55
+ };
56
+ static setCustomerToken = customerToken => {
57
+ this.customerToken = customerToken;
58
+ };
59
+ static getCustomerToken = () => {
60
+ return this.customerToken;
61
+ };
62
+ }
80
63
  //# sourceMappingURL=UnitSdkManager.js.map