react-native-unit-components 1.10.0 → 1.12.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 (877) 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 +3 -1
  7. package/android/src/main/java/com/unitreactnativecomponents/unStoreManager/UNStoreManager.kt +36 -0
  8. package/android/src/main/java/com/unitreactnativecomponents/visapresentation/UNGooglePayView.kt +147 -152
  9. package/ios/UNStoreManager/UNStoreManager.swift +28 -0
  10. package/ios/UNStoreManager/UNStoreManagerExportModule.m +8 -0
  11. package/lib/commonjs/assets/images/index.js.map +1 -1
  12. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js +15 -5
  13. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
  14. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
  15. package/lib/commonjs/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
  16. package/lib/commonjs/components/UNACHCreditComponent/index.js +2 -2
  17. package/lib/commonjs/components/UNACHCreditComponent/index.js.map +1 -1
  18. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js +15 -5
  19. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
  20. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
  21. package/lib/commonjs/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
  22. package/lib/commonjs/components/UNACHDebitComponent/index.js +2 -2
  23. package/lib/commonjs/components/UNACHDebitComponent/index.js.map +1 -1
  24. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js +31 -15
  25. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
  26. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js +9 -8
  27. package/lib/commonjs/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
  28. package/lib/commonjs/components/UNAccountComponent/index.js +2 -2
  29. package/lib/commonjs/components/UNAccountComponent/index.js.map +1 -1
  30. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js +16 -7
  31. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
  32. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js +4 -2
  33. package/lib/commonjs/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
  34. package/lib/commonjs/components/UNActivityComponent/index.js +8 -2
  35. package/lib/commonjs/components/UNActivityComponent/index.js.map +1 -1
  36. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js +13 -4
  37. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
  38. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
  39. package/lib/commonjs/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
  40. package/lib/commonjs/components/UNBookPaymentComponent/index.js +2 -2
  41. package/lib/commonjs/components/UNBookPaymentComponent/index.js.map +1 -1
  42. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +13 -3
  43. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
  44. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js +141 -260
  45. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
  46. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
  47. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +140 -22
  48. package/lib/commonjs/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  49. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +93 -0
  50. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
  51. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +17 -0
  52. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
  53. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +185 -0
  54. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
  55. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +17 -0
  56. package/lib/commonjs/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
  57. package/lib/commonjs/components/UNBottomSheetComponent/components/index.js +15 -4
  58. package/lib/commonjs/components/UNBottomSheetComponent/components/index.js.map +1 -1
  59. package/lib/commonjs/components/UNBottomSheetComponent/index.js.map +1 -1
  60. package/lib/commonjs/components/UNCardComponent/UNCardComponent.js +4 -5
  61. package/lib/commonjs/components/UNCardComponent/UNCardComponent.js.map +1 -1
  62. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js +7 -5
  63. package/lib/commonjs/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
  64. package/lib/commonjs/components/UNCardComponent/index.js +2 -2
  65. package/lib/commonjs/components/UNCardComponent/index.js.map +1 -1
  66. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js +14 -4
  67. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
  68. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
  69. package/lib/commonjs/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
  70. package/lib/commonjs/components/UNCheckDepositComponent/index.js +2 -2
  71. package/lib/commonjs/components/UNCheckDepositComponent/index.js.map +1 -1
  72. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js +3 -4
  73. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
  74. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +1 -0
  75. package/lib/commonjs/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
  76. package/lib/commonjs/components/UNMultipleCardsComponent/index.js +2 -2
  77. package/lib/commonjs/components/UNMultipleCardsComponent/index.js.map +1 -1
  78. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +61 -0
  79. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
  80. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +15 -0
  81. package/lib/commonjs/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
  82. package/lib/commonjs/components/UNNextRepaymentComponent/index.js +21 -0
  83. package/lib/commonjs/components/UNNextRepaymentComponent/index.js.map +1 -0
  84. package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js +132 -0
  85. package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js.map +1 -0
  86. package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js +96 -0
  87. package/lib/commonjs/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js.map +1 -0
  88. package/lib/commonjs/components/UNPayeeManagementComponent/index.js +21 -0
  89. package/lib/commonjs/components/UNPayeeManagementComponent/index.js.map +1 -0
  90. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +61 -0
  91. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
  92. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +15 -0
  93. package/lib/commonjs/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
  94. package/lib/commonjs/components/UNProgramDetailsComponent/index.js +21 -0
  95. package/lib/commonjs/components/UNProgramDetailsComponent/index.js.map +1 -0
  96. package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js +104 -0
  97. package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js.map +1 -0
  98. package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js +37 -0
  99. package/lib/commonjs/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js.map +1 -0
  100. package/lib/commonjs/components/UNWhiteLabelAppComponent/index.js +21 -0
  101. package/lib/commonjs/components/UNWhiteLabelAppComponent/index.js.map +1 -0
  102. package/lib/commonjs/components/index.js +44 -0
  103. package/lib/commonjs/components/index.js.map +1 -1
  104. package/lib/commonjs/custom.d.js.map +1 -1
  105. package/lib/commonjs/flows/UNFlows.js +1 -1
  106. package/lib/commonjs/flows/UNFlows.js.map +1 -1
  107. package/lib/commonjs/flows/card/UNCardFlows.js +26 -26
  108. package/lib/commonjs/flows/card/UNCardFlows.js.map +1 -1
  109. package/lib/commonjs/helpers/BottomSheet/BottomSheet.js +26 -29
  110. package/lib/commonjs/helpers/BottomSheet/BottomSheet.js.map +1 -1
  111. package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js +0 -2
  112. package/lib/commonjs/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
  113. package/lib/commonjs/helpers/pushProvisioningService/helpers.js.map +1 -1
  114. package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js +1 -2
  115. package/lib/commonjs/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
  116. package/lib/commonjs/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
  117. package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js +3 -3
  118. package/lib/commonjs/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
  119. package/lib/commonjs/helpers/pushProvisioningService/types.js +3 -4
  120. package/lib/commonjs/helpers/pushProvisioningService/types.js.map +1 -1
  121. package/lib/commonjs/helpers/store/helpers.js.map +1 -1
  122. package/lib/commonjs/hooks/useAppStateListener.js.map +1 -1
  123. package/lib/commonjs/hooks/useListenerToEvent.js +1 -1
  124. package/lib/commonjs/hooks/useListenerToEvent.js.map +1 -1
  125. package/lib/commonjs/index.js +1 -8
  126. package/lib/commonjs/index.js.map +1 -1
  127. package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js +7 -9
  128. package/lib/commonjs/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
  129. package/lib/commonjs/messages/nativeMessages/cardMessage.js +3 -4
  130. package/lib/commonjs/messages/nativeMessages/cardMessage.js.map +1 -1
  131. package/lib/commonjs/messages/nativeMessages/index.js.map +1 -1
  132. package/lib/commonjs/messages/nativeMessages/sdkMessage.js +3 -4
  133. package/lib/commonjs/messages/nativeMessages/sdkMessage.js.map +1 -1
  134. package/lib/commonjs/messages/webMessages/accountMessage.js +3 -4
  135. package/lib/commonjs/messages/webMessages/accountMessage.js.map +1 -1
  136. package/lib/commonjs/messages/webMessages/achCreditMessage.js.map +1 -1
  137. package/lib/commonjs/messages/webMessages/activityMessage.js +3 -4
  138. package/lib/commonjs/messages/webMessages/activityMessage.js.map +1 -1
  139. package/lib/commonjs/messages/webMessages/bookPaymentMessage.js.map +1 -1
  140. package/lib/commonjs/messages/webMessages/cardMessage.js +3 -4
  141. package/lib/commonjs/messages/webMessages/cardMessage.js.map +1 -1
  142. package/lib/commonjs/messages/webMessages/checkMessage.js +3 -4
  143. package/lib/commonjs/messages/webMessages/checkMessage.js.map +1 -1
  144. package/lib/commonjs/messages/webMessages/index.js.map +1 -1
  145. package/lib/commonjs/messages/webMessages/multipleCardsMessage.js +3 -4
  146. package/lib/commonjs/messages/webMessages/multipleCardsMessage.js.map +1 -1
  147. package/lib/commonjs/messages/webMessages/onLoadMessage.js +4 -4
  148. package/lib/commonjs/messages/webMessages/onLoadMessage.js.map +1 -1
  149. package/lib/commonjs/messages/webMessages/pageMessage.js +3 -4
  150. package/lib/commonjs/messages/webMessages/pageMessage.js.map +1 -1
  151. package/lib/commonjs/messages/webMessages/payeeManagementMessage.js +15 -0
  152. package/lib/commonjs/messages/webMessages/payeeManagementMessage.js.map +1 -0
  153. package/lib/commonjs/messages/webMessages/paymentsMessage.js +5 -4
  154. package/lib/commonjs/messages/webMessages/paymentsMessage.js.map +1 -1
  155. package/lib/commonjs/messages/webMessages/plaidMessages.js +14 -0
  156. package/lib/commonjs/messages/webMessages/plaidMessages.js.map +1 -0
  157. package/lib/commonjs/messages/webMessages/unitMessages.js +12 -8
  158. package/lib/commonjs/messages/webMessages/unitMessages.js.map +1 -1
  159. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
  160. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +79 -0
  161. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
  162. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +20 -0
  163. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
  164. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +14 -0
  165. package/lib/commonjs/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
  166. package/lib/commonjs/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +1 -2
  167. package/lib/commonjs/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
  168. package/lib/commonjs/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js +23 -0
  169. package/lib/commonjs/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js.map +1 -0
  170. package/lib/commonjs/networking/common/UNNetworkConstants.js +5 -7
  171. package/lib/commonjs/networking/common/UNNetworkConstants.js.map +1 -1
  172. package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js +1 -0
  173. package/lib/commonjs/networking/requests/UNWalletPayloadRequest.js.map +1 -1
  174. package/lib/commonjs/scripts/html/bodyHtml.js +2 -3
  175. package/lib/commonjs/scripts/html/bodyHtml.js.map +1 -1
  176. package/lib/commonjs/scripts/html/bodyScript.js +155 -35
  177. package/lib/commonjs/scripts/html/bodyScript.js.map +1 -1
  178. package/lib/commonjs/scripts/html/fontFaces.js +2 -3
  179. package/lib/commonjs/scripts/html/fontFaces.js.map +1 -1
  180. package/lib/commonjs/slices/BottomSheetSlice.js +74 -0
  181. package/lib/commonjs/slices/BottomSheetSlice.js.map +1 -0
  182. package/lib/commonjs/slices/ConfigurationSlice.js +1 -2
  183. package/lib/commonjs/slices/ConfigurationSlice.js.map +1 -1
  184. package/lib/commonjs/slices/SharedEventsSlice.js +3 -2
  185. package/lib/commonjs/slices/SharedEventsSlice.js.map +1 -1
  186. package/lib/commonjs/slices/pushProvisioningSlice.js +1 -2
  187. package/lib/commonjs/slices/pushProvisioningSlice.js.map +1 -1
  188. package/lib/commonjs/store/index.js.map +1 -1
  189. package/lib/commonjs/store/store.js +4 -3
  190. package/lib/commonjs/store/store.js.map +1 -1
  191. package/lib/commonjs/styles/fonts.js.map +1 -1
  192. package/lib/commonjs/styles/variables.js +5 -3
  193. package/lib/commonjs/styles/variables.js.map +1 -1
  194. package/lib/commonjs/types/internal/bottomSheet.types.js +27 -7
  195. package/lib/commonjs/types/internal/bottomSheet.types.js.map +1 -1
  196. package/lib/commonjs/types/internal/errorHelpers.js.map +1 -1
  197. package/lib/commonjs/types/internal/unitStore.types.js +13 -0
  198. package/lib/commonjs/types/internal/unitStore.types.js.map +1 -0
  199. package/lib/commonjs/types/internal/webComponent.types.js +10 -8
  200. package/lib/commonjs/types/internal/webComponent.types.js.map +1 -1
  201. package/lib/commonjs/types/shared/account.types.js +19 -16
  202. package/lib/commonjs/types/shared/account.types.js.map +1 -1
  203. package/lib/commonjs/types/shared/achCredit.types.js.map +1 -1
  204. package/lib/commonjs/types/shared/activity.types.js +3 -4
  205. package/lib/commonjs/types/shared/activity.types.js.map +1 -1
  206. package/lib/commonjs/types/shared/authorization.types.js.map +1 -1
  207. package/lib/commonjs/types/shared/bookPayment.types.js.map +1 -1
  208. package/lib/commonjs/types/shared/card.types.js +13 -5
  209. package/lib/commonjs/types/shared/card.types.js.map +1 -1
  210. package/lib/commonjs/types/shared/checkDeposit.types.js +3 -4
  211. package/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
  212. package/lib/commonjs/types/shared/env.types.js +12 -0
  213. package/lib/commonjs/types/shared/env.types.js.map +1 -0
  214. package/lib/commonjs/types/shared/error.types.js +3 -4
  215. package/lib/commonjs/types/shared/error.types.js.map +1 -1
  216. package/lib/commonjs/types/shared/fonts.types.js +3 -4
  217. package/lib/commonjs/types/shared/fonts.types.js.map +1 -1
  218. package/lib/commonjs/types/shared/index.js +22 -0
  219. package/lib/commonjs/types/shared/index.js.map +1 -1
  220. package/lib/commonjs/types/shared/multipleCards.types.js +3 -4
  221. package/lib/commonjs/types/shared/multipleCards.types.js.map +1 -1
  222. package/lib/commonjs/types/shared/onLoadResponse.types.js.map +1 -1
  223. package/lib/commonjs/types/shared/payeeManagement.types.js +17 -0
  224. package/lib/commonjs/types/shared/payeeManagement.types.js.map +1 -0
  225. package/lib/commonjs/types/shared/payments.types.js +26 -5
  226. package/lib/commonjs/types/shared/payments.types.js.map +1 -1
  227. package/lib/commonjs/types/shared/repayment.types.js +2 -0
  228. package/lib/commonjs/types/shared/repayment.types.js.map +1 -0
  229. package/lib/commonjs/types/shared/transactions.types.js +6 -8
  230. package/lib/commonjs/types/shared/transactions.types.js.map +1 -1
  231. package/lib/commonjs/types/shared/types.js.map +1 -1
  232. package/lib/commonjs/types/shared/versioning.types.js +4 -4
  233. package/lib/commonjs/types/shared/versioning.types.js.map +1 -1
  234. package/lib/commonjs/types/shared/wallet.types.js +9 -12
  235. package/lib/commonjs/types/shared/wallet.types.js.map +1 -1
  236. package/lib/commonjs/unitSdkManager/UnitSdk.api.js +1 -3
  237. package/lib/commonjs/unitSdkManager/UnitSdk.api.js.map +1 -1
  238. package/lib/commonjs/unitSdkManager/UnitSdk.constants.js +2 -3
  239. package/lib/commonjs/unitSdkManager/UnitSdk.constants.js.map +1 -1
  240. package/lib/commonjs/unitSdkManager/UnitSdkManager.js +61 -66
  241. package/lib/commonjs/unitSdkManager/UnitSdkManager.js.map +1 -1
  242. package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js +3 -3
  243. package/lib/commonjs/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
  244. package/lib/commonjs/unitSdkManager/unitHelpersManager/UnitHelpersManager.js +16 -0
  245. package/lib/commonjs/unitSdkManager/unitHelpersManager/UnitHelpersManager.js.map +1 -0
  246. package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
  247. package/lib/commonjs/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
  248. package/lib/commonjs/utils/AppInfo.js.map +1 -1
  249. package/lib/commonjs/utils/SDKInfo.js.map +1 -1
  250. package/lib/commonjs/utils/webVersioningStrategy.utils.js +7 -0
  251. package/lib/commonjs/utils/webVersioningStrategy.utils.js.map +1 -1
  252. package/lib/commonjs/utils/windowUnitStore.js +11 -0
  253. package/lib/commonjs/utils/windowUnitStore.js.map +1 -0
  254. package/lib/commonjs/webComponent/WebComponent.js +60 -17
  255. package/lib/commonjs/webComponent/WebComponent.js.map +1 -1
  256. package/lib/commonjs/webComponent/WebComponent.utils.js +2 -2
  257. package/lib/commonjs/webComponent/WebComponent.utils.js.map +1 -1
  258. package/lib/commonjs/webComponent/html.js +13 -4
  259. package/lib/commonjs/webComponent/html.js.map +1 -1
  260. package/lib/module/assets/images/index.js.map +1 -1
  261. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js +12 -1
  262. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.js.map +1 -1
  263. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js +13 -2
  264. package/lib/module/components/UNACHCreditComponent/UNACHCreditComponent.utils.js.map +1 -1
  265. package/lib/module/components/UNACHCreditComponent/index.js.map +1 -1
  266. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js +12 -1
  267. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.js.map +1 -1
  268. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js +12 -2
  269. package/lib/module/components/UNACHDebitComponent/UNACHDebitComponent.utils.js.map +1 -1
  270. package/lib/module/components/UNACHDebitComponent/index.js.map +1 -1
  271. package/lib/module/components/UNAccountComponent/UNAccountComponent.js +30 -12
  272. package/lib/module/components/UNAccountComponent/UNAccountComponent.js.map +1 -1
  273. package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js +10 -8
  274. package/lib/module/components/UNAccountComponent/UNAccountComponent.utils.js.map +1 -1
  275. package/lib/module/components/UNAccountComponent/index.js.map +1 -1
  276. package/lib/module/components/UNActivityComponent/UNActivityComponent.js +17 -7
  277. package/lib/module/components/UNActivityComponent/UNActivityComponent.js.map +1 -1
  278. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js +4 -2
  279. package/lib/module/components/UNActivityComponent/UNActivityComponent.utils.js.map +1 -1
  280. package/lib/module/components/UNActivityComponent/index.js +1 -1
  281. package/lib/module/components/UNActivityComponent/index.js.map +1 -1
  282. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js +10 -0
  283. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.js.map +1 -1
  284. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js +11 -4
  285. package/lib/module/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.js.map +1 -1
  286. package/lib/module/components/UNBookPaymentComponent/index.js.map +1 -1
  287. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js +12 -1
  288. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.js.map +1 -1
  289. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js +136 -254
  290. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.js.map +1 -1
  291. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.js.map +1 -1
  292. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js +137 -17
  293. package/lib/module/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.js.map +1 -1
  294. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js +84 -0
  295. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.js.map +1 -0
  296. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js +2 -0
  297. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.js.map +1 -0
  298. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js +177 -0
  299. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.js.map +1 -0
  300. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js +2 -0
  301. package/lib/module/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.js.map +1 -0
  302. package/lib/module/components/UNBottomSheetComponent/components/index.js +2 -1
  303. package/lib/module/components/UNBottomSheetComponent/components/index.js.map +1 -1
  304. package/lib/module/components/UNBottomSheetComponent/index.js.map +1 -1
  305. package/lib/module/components/UNCardComponent/UNCardComponent.js +1 -1
  306. package/lib/module/components/UNCardComponent/UNCardComponent.js.map +1 -1
  307. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js +7 -5
  308. package/lib/module/components/UNCardComponent/UNCardComponent.utils.js.map +1 -1
  309. package/lib/module/components/UNCardComponent/index.js.map +1 -1
  310. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js +11 -0
  311. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.js.map +1 -1
  312. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js +7 -1
  313. package/lib/module/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.js.map +1 -1
  314. package/lib/module/components/UNCheckDepositComponent/index.js.map +1 -1
  315. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.js.map +1 -1
  316. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js +1 -0
  317. package/lib/module/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.js.map +1 -1
  318. package/lib/module/components/UNMultipleCardsComponent/index.js.map +1 -1
  319. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js +53 -0
  320. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.js.map +1 -0
  321. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js +8 -0
  322. package/lib/module/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.js.map +1 -0
  323. package/lib/module/components/UNNextRepaymentComponent/index.js +2 -0
  324. package/lib/module/components/UNNextRepaymentComponent/index.js.map +1 -0
  325. package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js +124 -0
  326. package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.js.map +1 -0
  327. package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js +82 -0
  328. package/lib/module/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.js.map +1 -0
  329. package/lib/module/components/UNPayeeManagementComponent/index.js +2 -0
  330. package/lib/module/components/UNPayeeManagementComponent/index.js.map +1 -0
  331. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js +53 -0
  332. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.js.map +1 -0
  333. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js +8 -0
  334. package/lib/module/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.js.map +1 -0
  335. package/lib/module/components/UNProgramDetailsComponent/index.js +2 -0
  336. package/lib/module/components/UNProgramDetailsComponent/index.js.map +1 -0
  337. package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js +95 -0
  338. package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.js.map +1 -0
  339. package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js +28 -0
  340. package/lib/module/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.js.map +1 -0
  341. package/lib/module/components/UNWhiteLabelAppComponent/index.js +2 -0
  342. package/lib/module/components/UNWhiteLabelAppComponent/index.js.map +1 -0
  343. package/lib/module/components/index.js +4 -0
  344. package/lib/module/components/index.js.map +1 -1
  345. package/lib/module/custom.d.js.map +1 -1
  346. package/lib/module/flows/UNFlows.js +1 -1
  347. package/lib/module/flows/UNFlows.js.map +1 -1
  348. package/lib/module/flows/card/UNCardFlows.js +27 -27
  349. package/lib/module/flows/card/UNCardFlows.js.map +1 -1
  350. package/lib/module/helpers/BottomSheet/BottomSheet.js +25 -27
  351. package/lib/module/helpers/BottomSheet/BottomSheet.js.map +1 -1
  352. package/lib/module/helpers/BottomSheet/BottomSheet.styles.js +1 -3
  353. package/lib/module/helpers/BottomSheet/BottomSheet.styles.js.map +1 -1
  354. package/lib/module/helpers/pushProvisioningService/helpers.js.map +1 -1
  355. package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js +1 -2
  356. package/lib/module/helpers/pushProvisioningService/hooks/useCardWallet.js.map +1 -1
  357. package/lib/module/helpers/pushProvisioningService/hooks/useLaunchInitialize.js.map +1 -1
  358. package/lib/module/helpers/pushProvisioningService/startProvisioning.js +3 -3
  359. package/lib/module/helpers/pushProvisioningService/startProvisioning.js.map +1 -1
  360. package/lib/module/helpers/pushProvisioningService/types.js +3 -3
  361. package/lib/module/helpers/pushProvisioningService/types.js.map +1 -1
  362. package/lib/module/helpers/store/helpers.js.map +1 -1
  363. package/lib/module/hooks/useAppStateListener.js.map +1 -1
  364. package/lib/module/hooks/useListenerToEvent.js +1 -1
  365. package/lib/module/hooks/useListenerToEvent.js.map +1 -1
  366. package/lib/module/index.js +1 -1
  367. package/lib/module/index.js.map +1 -1
  368. package/lib/module/messages/nativeMessages/bottomSheetMessage.js +7 -7
  369. package/lib/module/messages/nativeMessages/bottomSheetMessage.js.map +1 -1
  370. package/lib/module/messages/nativeMessages/cardMessage.js +3 -3
  371. package/lib/module/messages/nativeMessages/cardMessage.js.map +1 -1
  372. package/lib/module/messages/nativeMessages/index.js.map +1 -1
  373. package/lib/module/messages/nativeMessages/sdkMessage.js +3 -3
  374. package/lib/module/messages/nativeMessages/sdkMessage.js.map +1 -1
  375. package/lib/module/messages/webMessages/accountMessage.js +3 -3
  376. package/lib/module/messages/webMessages/accountMessage.js.map +1 -1
  377. package/lib/module/messages/webMessages/achCreditMessage.js.map +1 -1
  378. package/lib/module/messages/webMessages/activityMessage.js +3 -3
  379. package/lib/module/messages/webMessages/activityMessage.js.map +1 -1
  380. package/lib/module/messages/webMessages/bookPaymentMessage.js.map +1 -1
  381. package/lib/module/messages/webMessages/cardMessage.js +3 -3
  382. package/lib/module/messages/webMessages/cardMessage.js.map +1 -1
  383. package/lib/module/messages/webMessages/checkMessage.js +3 -3
  384. package/lib/module/messages/webMessages/checkMessage.js.map +1 -1
  385. package/lib/module/messages/webMessages/index.js.map +1 -1
  386. package/lib/module/messages/webMessages/multipleCardsMessage.js +3 -3
  387. package/lib/module/messages/webMessages/multipleCardsMessage.js.map +1 -1
  388. package/lib/module/messages/webMessages/onLoadMessage.js +4 -3
  389. package/lib/module/messages/webMessages/onLoadMessage.js.map +1 -1
  390. package/lib/module/messages/webMessages/pageMessage.js +3 -3
  391. package/lib/module/messages/webMessages/pageMessage.js.map +1 -1
  392. package/lib/module/messages/webMessages/payeeManagementMessage.js +9 -0
  393. package/lib/module/messages/webMessages/payeeManagementMessage.js.map +1 -0
  394. package/lib/module/messages/webMessages/paymentsMessage.js +5 -3
  395. package/lib/module/messages/webMessages/paymentsMessage.js.map +1 -1
  396. package/lib/module/messages/webMessages/plaidMessages.js +8 -0
  397. package/lib/module/messages/webMessages/plaidMessages.js.map +1 -0
  398. package/lib/module/messages/webMessages/unitMessages.js +11 -6
  399. package/lib/module/messages/webMessages/unitMessages.js.map +1 -1
  400. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.js.map +1 -0
  401. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js +70 -0
  402. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.js.map +1 -0
  403. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js +12 -0
  404. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.js.map +1 -0
  405. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js +2 -0
  406. package/lib/module/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.js.map +1 -0
  407. package/lib/module/nativeComponents/UNAddToWallet/UnitAddToWalletButton.js.map +1 -0
  408. package/lib/module/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js +17 -0
  409. package/lib/module/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.js.map +1 -0
  410. package/lib/module/networking/common/UNNetworkConstants.js +1 -1
  411. package/lib/module/networking/common/UNNetworkConstants.js.map +1 -1
  412. package/lib/module/networking/requests/UNWalletPayloadRequest.js +1 -0
  413. package/lib/module/networking/requests/UNWalletPayloadRequest.js.map +1 -1
  414. package/lib/module/scripts/html/bodyHtml.js +1 -1
  415. package/lib/module/scripts/html/bodyHtml.js.map +1 -1
  416. package/lib/module/scripts/html/bodyScript.js +142 -10
  417. package/lib/module/scripts/html/bodyScript.js.map +1 -1
  418. package/lib/module/scripts/html/fontFaces.js +2 -3
  419. package/lib/module/scripts/html/fontFaces.js.map +1 -1
  420. package/lib/module/slices/BottomSheetSlice.js +59 -0
  421. package/lib/module/slices/BottomSheetSlice.js.map +1 -0
  422. package/lib/module/slices/ConfigurationSlice.js.map +1 -1
  423. package/lib/module/slices/SharedEventsSlice.js +3 -0
  424. package/lib/module/slices/SharedEventsSlice.js.map +1 -1
  425. package/lib/module/slices/pushProvisioningSlice.js.map +1 -1
  426. package/lib/module/store/index.js.map +1 -1
  427. package/lib/module/store/store.js +3 -1
  428. package/lib/module/store/store.js.map +1 -1
  429. package/lib/module/styles/fonts.js.map +1 -1
  430. package/lib/module/styles/variables.js +4 -1
  431. package/lib/module/styles/variables.js.map +1 -1
  432. package/lib/module/types/internal/bottomSheet.types.js +26 -5
  433. package/lib/module/types/internal/bottomSheet.types.js.map +1 -1
  434. package/lib/module/types/internal/errorHelpers.js.map +1 -1
  435. package/lib/module/types/internal/unitStore.types.js +8 -0
  436. package/lib/module/types/internal/unitStore.types.js.map +1 -0
  437. package/lib/module/types/internal/webComponent.types.js +10 -6
  438. package/lib/module/types/internal/webComponent.types.js.map +1 -1
  439. package/lib/module/types/shared/account.types.js +18 -12
  440. package/lib/module/types/shared/account.types.js.map +1 -1
  441. package/lib/module/types/shared/achCredit.types.js.map +1 -1
  442. package/lib/module/types/shared/activity.types.js +3 -3
  443. package/lib/module/types/shared/activity.types.js.map +1 -1
  444. package/lib/module/types/shared/authorization.types.js.map +1 -1
  445. package/lib/module/types/shared/bookPayment.types.js.map +1 -1
  446. package/lib/module/types/shared/card.types.js +12 -3
  447. package/lib/module/types/shared/card.types.js.map +1 -1
  448. package/lib/module/types/shared/checkDeposit.types.js +3 -3
  449. package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
  450. package/lib/module/types/shared/env.types.js +6 -0
  451. package/lib/module/types/shared/env.types.js.map +1 -0
  452. package/lib/module/types/shared/error.types.js +3 -3
  453. package/lib/module/types/shared/error.types.js.map +1 -1
  454. package/lib/module/types/shared/fonts.types.js +3 -3
  455. package/lib/module/types/shared/fonts.types.js.map +1 -1
  456. package/lib/module/types/shared/index.js +2 -0
  457. package/lib/module/types/shared/index.js.map +1 -1
  458. package/lib/module/types/shared/multipleCards.types.js +3 -3
  459. package/lib/module/types/shared/multipleCards.types.js.map +1 -1
  460. package/lib/module/types/shared/onLoadResponse.types.js.map +1 -1
  461. package/lib/module/types/shared/payeeManagement.types.js +11 -0
  462. package/lib/module/types/shared/payeeManagement.types.js.map +1 -0
  463. package/lib/module/types/shared/payments.types.js +25 -3
  464. package/lib/module/types/shared/payments.types.js.map +1 -1
  465. package/lib/module/types/shared/repayment.types.js +2 -0
  466. package/lib/module/types/shared/repayment.types.js.map +1 -0
  467. package/lib/module/types/shared/transactions.types.js +6 -6
  468. package/lib/module/types/shared/transactions.types.js.map +1 -1
  469. package/lib/module/types/shared/types.js.map +1 -1
  470. package/lib/module/types/shared/versioning.types.js +4 -3
  471. package/lib/module/types/shared/versioning.types.js.map +1 -1
  472. package/lib/module/types/shared/wallet.types.js +9 -9
  473. package/lib/module/types/shared/wallet.types.js.map +1 -1
  474. package/lib/module/unitSdkManager/UnitSdk.api.js +2 -4
  475. package/lib/module/unitSdkManager/UnitSdk.api.js.map +1 -1
  476. package/lib/module/unitSdkManager/UnitSdk.constants.js +1 -1
  477. package/lib/module/unitSdkManager/UnitSdk.constants.js.map +1 -1
  478. package/lib/module/unitSdkManager/UnitSdkManager.js +59 -64
  479. package/lib/module/unitSdkManager/UnitSdkManager.js.map +1 -1
  480. package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js +1 -1
  481. package/lib/module/unitSdkManager/UnitSdkManager.utils.internal.js.map +1 -1
  482. package/lib/module/unitSdkManager/unitHelpersManager/UnitHelpersManager.js +9 -0
  483. package/lib/module/unitSdkManager/unitHelpersManager/UnitHelpersManager.js.map +1 -0
  484. package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js +4 -7
  485. package/lib/module/unitSdkManager/unitUiManager/unitUiManager.js.map +1 -1
  486. package/lib/module/utils/AppInfo.js.map +1 -1
  487. package/lib/module/utils/SDKInfo.js.map +1 -1
  488. package/lib/module/utils/webVersioningStrategy.utils.js +7 -0
  489. package/lib/module/utils/webVersioningStrategy.utils.js.map +1 -1
  490. package/lib/module/utils/windowUnitStore.js +4 -0
  491. package/lib/module/utils/windowUnitStore.js.map +1 -0
  492. package/lib/module/webComponent/WebComponent.js +59 -16
  493. package/lib/module/webComponent/WebComponent.js.map +1 -1
  494. package/lib/module/webComponent/WebComponent.utils.js.map +1 -1
  495. package/lib/module/webComponent/html.js +12 -1
  496. package/lib/module/webComponent/html.js.map +1 -1
  497. package/lib/typescript/src/assets/images/index.d.ts +1 -0
  498. package/lib/typescript/src/assets/images/index.d.ts.map +1 -0
  499. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts +10 -1
  500. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.d.ts.map +1 -0
  501. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts +1 -0
  502. package/lib/typescript/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.d.ts.map +1 -0
  503. package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts +1 -0
  504. package/lib/typescript/src/components/UNACHCreditComponent/index.d.ts.map +1 -0
  505. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts +10 -1
  506. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.d.ts.map +1 -0
  507. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts +1 -0
  508. package/lib/typescript/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.d.ts.map +1 -0
  509. package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts +1 -0
  510. package/lib/typescript/src/components/UNACHDebitComponent/index.d.ts.map +1 -0
  511. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts +6 -0
  512. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.d.ts.map +1 -0
  513. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts +2 -1
  514. package/lib/typescript/src/components/UNAccountComponent/UNAccountComponent.utils.d.ts.map +1 -0
  515. package/lib/typescript/src/components/UNAccountComponent/index.d.ts +1 -0
  516. package/lib/typescript/src/components/UNAccountComponent/index.d.ts.map +1 -0
  517. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts +8 -1
  518. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.d.ts.map +1 -0
  519. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts +1 -0
  520. package/lib/typescript/src/components/UNActivityComponent/UNActivityComponent.utils.d.ts.map +1 -0
  521. package/lib/typescript/src/components/UNActivityComponent/index.d.ts +2 -1
  522. package/lib/typescript/src/components/UNActivityComponent/index.d.ts.map +1 -0
  523. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts +10 -4
  524. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.d.ts.map +1 -0
  525. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts +1 -0
  526. package/lib/typescript/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.d.ts.map +1 -0
  527. package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts +1 -0
  528. package/lib/typescript/src/components/UNBookPaymentComponent/index.d.ts.map +1 -0
  529. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts +8 -1
  530. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.d.ts.map +1 -0
  531. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts +2 -6
  532. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.d.ts.map +1 -0
  533. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts +1 -0
  534. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.styles.d.ts.map +1 -0
  535. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts +6 -4
  536. package/lib/typescript/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.d.ts.map +1 -0
  537. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts +8 -0
  538. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.d.ts.map +1 -0
  539. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts +2 -0
  540. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.d.ts.map +1 -0
  541. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts +11 -0
  542. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.d.ts.map +1 -0
  543. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts +2 -0
  544. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.d.ts.map +1 -0
  545. package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts +3 -1
  546. package/lib/typescript/src/components/UNBottomSheetComponent/components/index.d.ts.map +1 -0
  547. package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts +1 -0
  548. package/lib/typescript/src/components/UNBottomSheetComponent/index.d.ts.map +1 -0
  549. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts +4 -1
  550. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.d.ts.map +1 -0
  551. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts +1 -0
  552. package/lib/typescript/src/components/UNCardComponent/UNCardComponent.utils.d.ts.map +1 -0
  553. package/lib/typescript/src/components/UNCardComponent/index.d.ts +1 -0
  554. package/lib/typescript/src/components/UNCardComponent/index.d.ts.map +1 -0
  555. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts +7 -1
  556. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.d.ts.map +1 -0
  557. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts +1 -0
  558. package/lib/typescript/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.d.ts.map +1 -0
  559. package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts +1 -0
  560. package/lib/typescript/src/components/UNCheckDepositComponent/index.d.ts.map +1 -0
  561. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts +3 -0
  562. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.d.ts.map +1 -0
  563. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts +1 -0
  564. package/lib/typescript/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.d.ts.map +1 -0
  565. package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts +1 -0
  566. package/lib/typescript/src/components/UNMultipleCardsComponent/index.d.ts.map +1 -0
  567. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts +14 -0
  568. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.d.ts.map +1 -0
  569. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts +3 -0
  570. package/lib/typescript/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.d.ts.map +1 -0
  571. package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts +2 -0
  572. package/lib/typescript/src/components/UNNextRepaymentComponent/index.d.ts.map +1 -0
  573. package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.d.ts +27 -0
  574. package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.d.ts.map +1 -0
  575. package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.d.ts +15 -0
  576. package/lib/typescript/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.d.ts.map +1 -0
  577. package/lib/typescript/src/components/UNPayeeManagementComponent/index.d.ts +2 -0
  578. package/lib/typescript/src/components/UNPayeeManagementComponent/index.d.ts.map +1 -0
  579. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts +13 -0
  580. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.d.ts.map +1 -0
  581. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts +3 -0
  582. package/lib/typescript/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.d.ts.map +1 -0
  583. package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts +2 -0
  584. package/lib/typescript/src/components/UNProgramDetailsComponent/index.d.ts.map +1 -0
  585. package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.d.ts +10 -0
  586. package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.d.ts.map +1 -0
  587. package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.d.ts +7 -0
  588. package/lib/typescript/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.d.ts.map +1 -0
  589. package/lib/typescript/src/components/UNWhiteLabelAppComponent/index.d.ts +2 -0
  590. package/lib/typescript/src/components/UNWhiteLabelAppComponent/index.d.ts.map +1 -0
  591. package/lib/typescript/src/components/index.d.ts +5 -0
  592. package/lib/typescript/src/components/index.d.ts.map +1 -0
  593. package/lib/typescript/src/flows/UNFlows.d.ts +1 -0
  594. package/lib/typescript/src/flows/UNFlows.d.ts.map +1 -0
  595. package/lib/typescript/src/flows/card/UNCardFlows.d.ts +1 -0
  596. package/lib/typescript/src/flows/card/UNCardFlows.d.ts.map +1 -0
  597. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts +5 -3
  598. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.d.ts.map +1 -0
  599. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.styles.d.ts +1 -1
  600. package/lib/typescript/src/helpers/BottomSheet/BottomSheet.styles.d.ts.map +1 -0
  601. package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts +1 -0
  602. package/lib/typescript/src/helpers/pushProvisioningService/helpers.d.ts.map +1 -0
  603. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts +2 -1
  604. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useCardWallet.d.ts.map +1 -0
  605. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts +1 -0
  606. package/lib/typescript/src/helpers/pushProvisioningService/hooks/useLaunchInitialize.d.ts.map +1 -0
  607. package/lib/typescript/src/helpers/pushProvisioningService/startProvisioning.d.ts +1 -0
  608. package/lib/typescript/src/helpers/pushProvisioningService/startProvisioning.d.ts.map +1 -0
  609. package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts +1 -0
  610. package/lib/typescript/src/helpers/pushProvisioningService/types.d.ts.map +1 -0
  611. package/lib/typescript/src/helpers/store/helpers.d.ts +1 -0
  612. package/lib/typescript/src/helpers/store/helpers.d.ts.map +1 -0
  613. package/lib/typescript/src/hooks/useAppStateListener.d.ts +1 -0
  614. package/lib/typescript/src/hooks/useAppStateListener.d.ts.map +1 -0
  615. package/lib/typescript/src/hooks/useListenerToEvent.d.ts +1 -0
  616. package/lib/typescript/src/hooks/useListenerToEvent.d.ts.map +1 -0
  617. package/lib/typescript/src/index.d.ts +2 -1
  618. package/lib/typescript/src/index.d.ts.map +1 -0
  619. package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts +5 -4
  620. package/lib/typescript/src/messages/nativeMessages/bottomSheetMessage.d.ts.map +1 -0
  621. package/lib/typescript/src/messages/nativeMessages/cardMessage.d.ts +1 -0
  622. package/lib/typescript/src/messages/nativeMessages/cardMessage.d.ts.map +1 -0
  623. package/lib/typescript/src/messages/nativeMessages/index.d.ts +1 -0
  624. package/lib/typescript/src/messages/nativeMessages/index.d.ts.map +1 -0
  625. package/lib/typescript/src/messages/nativeMessages/sdkMessage.d.ts +1 -0
  626. package/lib/typescript/src/messages/nativeMessages/sdkMessage.d.ts.map +1 -0
  627. package/lib/typescript/src/messages/webMessages/accountMessage.d.ts +1 -0
  628. package/lib/typescript/src/messages/webMessages/accountMessage.d.ts.map +1 -0
  629. package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts +1 -0
  630. package/lib/typescript/src/messages/webMessages/achCreditMessage.d.ts.map +1 -0
  631. package/lib/typescript/src/messages/webMessages/activityMessage.d.ts +1 -0
  632. package/lib/typescript/src/messages/webMessages/activityMessage.d.ts.map +1 -0
  633. package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts +1 -0
  634. package/lib/typescript/src/messages/webMessages/bookPaymentMessage.d.ts.map +1 -0
  635. package/lib/typescript/src/messages/webMessages/cardMessage.d.ts +1 -0
  636. package/lib/typescript/src/messages/webMessages/cardMessage.d.ts.map +1 -0
  637. package/lib/typescript/src/messages/webMessages/checkMessage.d.ts +1 -0
  638. package/lib/typescript/src/messages/webMessages/checkMessage.d.ts.map +1 -0
  639. package/lib/typescript/src/messages/webMessages/index.d.ts +5 -2
  640. package/lib/typescript/src/messages/webMessages/index.d.ts.map +1 -0
  641. package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts +1 -0
  642. package/lib/typescript/src/messages/webMessages/multipleCardsMessage.d.ts.map +1 -0
  643. package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts +5 -3
  644. package/lib/typescript/src/messages/webMessages/onLoadMessage.d.ts.map +1 -0
  645. package/lib/typescript/src/messages/webMessages/pageMessage.d.ts +1 -0
  646. package/lib/typescript/src/messages/webMessages/pageMessage.d.ts.map +1 -0
  647. package/lib/typescript/src/messages/webMessages/payeeManagementMessage.d.ts +19 -0
  648. package/lib/typescript/src/messages/webMessages/payeeManagementMessage.d.ts.map +1 -0
  649. package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts +4 -1
  650. package/lib/typescript/src/messages/webMessages/paymentsMessage.d.ts.map +1 -0
  651. package/lib/typescript/src/messages/webMessages/plaidMessages.d.ts +24 -0
  652. package/lib/typescript/src/messages/webMessages/plaidMessages.d.ts.map +1 -0
  653. package/lib/typescript/src/messages/webMessages/unitMessages.d.ts +22 -7
  654. package/lib/typescript/src/messages/webMessages/unitMessages.d.ts.map +1 -0
  655. package/lib/typescript/src/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.d.ts +1 -0
  656. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletBottomSheetItem.styles.d.ts.map +1 -0
  657. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts +8 -0
  658. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.d.ts.map +1 -0
  659. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts +5 -0
  660. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.d.ts.map +1 -0
  661. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts +2 -0
  662. package/lib/typescript/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.d.ts.map +1 -0
  663. package/lib/typescript/src/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.d.ts +1 -0
  664. package/lib/typescript/src/nativeComponents/UNAddToWallet/UnitAddToWalletButton.d.ts.map +1 -0
  665. package/lib/typescript/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.d.ts +7 -0
  666. package/lib/typescript/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.d.ts.map +1 -0
  667. package/lib/typescript/src/networking/common/UNNetworkConstants.d.ts +1 -0
  668. package/lib/typescript/src/networking/common/UNNetworkConstants.d.ts.map +1 -0
  669. package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts +2 -1
  670. package/lib/typescript/src/networking/requests/UNWalletPayloadRequest.d.ts.map +1 -0
  671. package/lib/typescript/src/scripts/html/bodyHtml.d.ts +1 -0
  672. package/lib/typescript/src/scripts/html/bodyHtml.d.ts.map +1 -0
  673. package/lib/typescript/src/scripts/html/bodyScript.d.ts +17 -1
  674. package/lib/typescript/src/scripts/html/bodyScript.d.ts.map +1 -0
  675. package/lib/typescript/src/scripts/html/fontFaces.d.ts +1 -0
  676. package/lib/typescript/src/scripts/html/fontFaces.d.ts.map +1 -0
  677. package/lib/typescript/src/slices/BottomSheetSlice.d.ts +16 -0
  678. package/lib/typescript/src/slices/BottomSheetSlice.d.ts.map +1 -0
  679. package/lib/typescript/src/slices/ConfigurationSlice.d.ts +1 -0
  680. package/lib/typescript/src/slices/ConfigurationSlice.d.ts.map +1 -0
  681. package/lib/typescript/src/slices/SharedEventsSlice.d.ts +27 -11
  682. package/lib/typescript/src/slices/SharedEventsSlice.d.ts.map +1 -0
  683. package/lib/typescript/src/slices/pushProvisioningSlice.d.ts +1 -0
  684. package/lib/typescript/src/slices/pushProvisioningSlice.d.ts.map +1 -0
  685. package/lib/typescript/src/store/index.d.ts +1 -0
  686. package/lib/typescript/src/store/index.d.ts.map +1 -0
  687. package/lib/typescript/src/store/store.d.ts +29 -8
  688. package/lib/typescript/src/store/store.d.ts.map +1 -0
  689. package/lib/typescript/src/styles/fonts.d.ts +1 -0
  690. package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
  691. package/lib/typescript/src/styles/variables.d.ts +4 -0
  692. package/lib/typescript/src/styles/variables.d.ts.map +1 -0
  693. package/lib/typescript/src/types/internal/bottomSheet.types.d.ts +51 -16
  694. package/lib/typescript/src/types/internal/bottomSheet.types.d.ts.map +1 -0
  695. package/lib/typescript/src/types/internal/errorHelpers.d.ts +1 -0
  696. package/lib/typescript/src/types/internal/errorHelpers.d.ts.map +1 -0
  697. package/lib/typescript/src/types/internal/unitStore.types.d.ts +5 -0
  698. package/lib/typescript/src/types/internal/unitStore.types.d.ts.map +1 -0
  699. package/lib/typescript/src/types/internal/webComponent.types.d.ts +6 -1
  700. package/lib/typescript/src/types/internal/webComponent.types.d.ts.map +1 -0
  701. package/lib/typescript/src/types/shared/account.types.d.ts +6 -0
  702. package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -0
  703. package/lib/typescript/src/types/shared/achCredit.types.d.ts +1 -0
  704. package/lib/typescript/src/types/shared/achCredit.types.d.ts.map +1 -0
  705. package/lib/typescript/src/types/shared/activity.types.d.ts +4 -3
  706. package/lib/typescript/src/types/shared/activity.types.d.ts.map +1 -0
  707. package/lib/typescript/src/types/shared/authorization.types.d.ts +1 -0
  708. package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -0
  709. package/lib/typescript/src/types/shared/bookPayment.types.d.ts +1 -0
  710. package/lib/typescript/src/types/shared/bookPayment.types.d.ts.map +1 -0
  711. package/lib/typescript/src/types/shared/card.types.d.ts +9 -0
  712. package/lib/typescript/src/types/shared/card.types.d.ts.map +1 -0
  713. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts +1 -0
  714. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -0
  715. package/lib/typescript/src/types/shared/env.types.d.ts +5 -0
  716. package/lib/typescript/src/types/shared/env.types.d.ts.map +1 -0
  717. package/lib/typescript/src/types/shared/error.types.d.ts +1 -0
  718. package/lib/typescript/src/types/shared/error.types.d.ts.map +1 -0
  719. package/lib/typescript/src/types/shared/fonts.types.d.ts +1 -0
  720. package/lib/typescript/src/types/shared/fonts.types.d.ts.map +1 -0
  721. package/lib/typescript/src/types/shared/index.d.ts +3 -0
  722. package/lib/typescript/src/types/shared/index.d.ts.map +1 -0
  723. package/lib/typescript/src/types/shared/multipleCards.types.d.ts +2 -1
  724. package/lib/typescript/src/types/shared/multipleCards.types.d.ts.map +1 -0
  725. package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts +1 -0
  726. package/lib/typescript/src/types/shared/onLoadResponse.types.d.ts.map +1 -0
  727. package/lib/typescript/src/types/shared/payeeManagement.types.d.ts +48 -0
  728. package/lib/typescript/src/types/shared/payeeManagement.types.d.ts.map +1 -0
  729. package/lib/typescript/src/types/shared/payments.types.d.ts +22 -3
  730. package/lib/typescript/src/types/shared/payments.types.d.ts.map +1 -0
  731. package/lib/typescript/src/types/shared/repayment.types.d.ts +12 -0
  732. package/lib/typescript/src/types/shared/repayment.types.d.ts.map +1 -0
  733. package/lib/typescript/src/types/shared/transactions.types.d.ts +1 -0
  734. package/lib/typescript/src/types/shared/transactions.types.d.ts.map +1 -0
  735. package/lib/typescript/src/types/shared/types.d.ts +1 -0
  736. package/lib/typescript/src/types/shared/types.d.ts.map +1 -0
  737. package/lib/typescript/src/types/shared/versioning.types.d.ts +6 -1
  738. package/lib/typescript/src/types/shared/versioning.types.d.ts.map +1 -0
  739. package/lib/typescript/src/types/shared/wallet.types.d.ts +1 -0
  740. package/lib/typescript/src/types/shared/wallet.types.d.ts.map +1 -0
  741. package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts +1 -0
  742. package/lib/typescript/src/unitSdkManager/UnitSdk.api.d.ts.map +1 -0
  743. package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts +1 -0
  744. package/lib/typescript/src/unitSdkManager/UnitSdk.constants.d.ts.map +1 -0
  745. package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts +6 -5
  746. package/lib/typescript/src/unitSdkManager/UnitSdkManager.d.ts.map +1 -0
  747. package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts +2 -1
  748. package/lib/typescript/src/unitSdkManager/UnitSdkManager.utils.internal.d.ts.map +1 -0
  749. package/lib/typescript/src/unitSdkManager/unitHelpersManager/UnitHelpersManager.d.ts +6 -0
  750. package/lib/typescript/src/unitSdkManager/unitHelpersManager/UnitHelpersManager.d.ts.map +1 -0
  751. package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts +1 -0
  752. package/lib/typescript/src/unitSdkManager/unitUiManager/unitUiManager.d.ts.map +1 -0
  753. package/lib/typescript/src/utils/AppInfo.d.ts +1 -0
  754. package/lib/typescript/src/utils/AppInfo.d.ts.map +1 -0
  755. package/lib/typescript/src/utils/SDKInfo.d.ts +1 -0
  756. package/lib/typescript/src/utils/SDKInfo.d.ts.map +1 -0
  757. package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts +1 -0
  758. package/lib/typescript/src/utils/webVersioningStrategy.utils.d.ts.map +1 -0
  759. package/lib/typescript/src/utils/windowUnitStore.d.ts +3 -0
  760. package/lib/typescript/src/utils/windowUnitStore.d.ts.map +1 -0
  761. package/lib/typescript/src/webComponent/WebComponent.d.ts +1 -0
  762. package/lib/typescript/src/webComponent/WebComponent.d.ts.map +1 -0
  763. package/lib/typescript/src/webComponent/WebComponent.utils.d.ts +1 -0
  764. package/lib/typescript/src/webComponent/WebComponent.utils.d.ts.map +1 -0
  765. package/lib/typescript/src/webComponent/html.d.ts +1 -0
  766. package/lib/typescript/src/webComponent/html.d.ts.map +1 -0
  767. package/package.json +26 -38
  768. package/react-native-unit-components.podspec +9 -2
  769. package/src/components/UNACHCreditComponent/UNACHCreditComponent.tsx +28 -5
  770. package/src/components/UNACHCreditComponent/UNACHCreditComponent.utils.ts +13 -2
  771. package/src/components/UNACHDebitComponent/UNACHDebitComponent.tsx +28 -5
  772. package/src/components/UNACHDebitComponent/UNACHDebitComponent.utils.ts +12 -2
  773. package/src/components/UNAccountComponent/UNAccountComponent.tsx +40 -14
  774. package/src/components/UNAccountComponent/UNAccountComponent.utils.ts +9 -6
  775. package/src/components/UNActivityComponent/UNActivityComponent.tsx +30 -9
  776. package/src/components/UNActivityComponent/UNActivityComponent.utils.ts +2 -0
  777. package/src/components/UNActivityComponent/index.ts +1 -1
  778. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.tsx +23 -5
  779. package/src/components/UNBookPaymentComponent/UNBookPaymentComponent.utils.ts +11 -4
  780. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.constants.ts +20 -1
  781. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.tsx +161 -281
  782. package/src/components/UNBottomSheetComponent/UNBottomSheetComponent.utils.ts +155 -12
  783. package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/UNBottomSheetNativeComponent.tsx +120 -0
  784. package/src/components/UNBottomSheetComponent/components/UNBottomSheetNativeComponent/index.ts +1 -0
  785. package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/UNBottomSheetSlotComponent.tsx +199 -0
  786. package/src/components/UNBottomSheetComponent/components/UNBottomSheetSlotComponent/index.ts +1 -0
  787. package/src/components/UNBottomSheetComponent/components/index.ts +2 -1
  788. package/src/components/UNCardComponent/UNCardComponent.tsx +5 -3
  789. package/src/components/UNCardComponent/UNCardComponent.utils.ts +2 -0
  790. package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.tsx +16 -3
  791. package/src/components/UNCheckDepositComponent/UNCheckDepositComponent.utils.ts +8 -2
  792. package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.tsx +1 -0
  793. package/src/components/UNMultipleCardsComponent/UNMultipleCardsComponent.utils.ts +1 -0
  794. package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.tsx +80 -0
  795. package/src/components/UNNextRepaymentComponent/UNNextRepaymentComponent.utils.ts +10 -0
  796. package/src/components/UNNextRepaymentComponent/index.ts +3 -0
  797. package/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.tsx +153 -0
  798. package/src/components/UNPayeeManagementComponent/UNPayeeManagementComponent.utils.ts +87 -0
  799. package/src/components/UNPayeeManagementComponent/index.ts +1 -0
  800. package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.tsx +77 -0
  801. package/src/components/UNProgramDetailsComponent/UNProgramDetailsComponent.utils.ts +9 -0
  802. package/src/components/UNProgramDetailsComponent/index.ts +3 -0
  803. package/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.tsx +124 -0
  804. package/src/components/UNWhiteLabelAppComponent/UNWhiteLabelAppComponent.utils.ts +35 -0
  805. package/src/components/UNWhiteLabelAppComponent/index.ts +1 -0
  806. package/src/components/index.ts +4 -0
  807. package/src/flows/UNFlows.ts +1 -1
  808. package/src/flows/card/UNCardFlows.ts +16 -17
  809. package/src/helpers/BottomSheet/BottomSheet.styles.ts +7 -8
  810. package/src/helpers/BottomSheet/BottomSheet.tsx +44 -39
  811. package/src/helpers/pushProvisioningService/hooks/useCardWallet.ts +3 -2
  812. package/src/helpers/pushProvisioningService/startProvisioning.ts +3 -5
  813. package/src/helpers/store/helpers.tsx +1 -1
  814. package/src/index.tsx +1 -1
  815. package/src/messages/nativeMessages/bottomSheetMessage.ts +7 -7
  816. package/src/messages/webMessages/index.ts +6 -0
  817. package/src/messages/webMessages/onLoadMessage.ts +4 -3
  818. package/src/messages/webMessages/payeeManagementMessage.ts +26 -0
  819. package/src/messages/webMessages/paymentsMessage.ts +3 -1
  820. package/src/messages/webMessages/plaidMessages.ts +29 -0
  821. package/src/messages/webMessages/unitMessages.ts +32 -15
  822. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.tsx +93 -0
  823. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/UNAddToWalletComponent.utils.ts +15 -0
  824. package/src/nativeComponents/UNAddToWallet/UNAddToWalletComponent/index.ts +1 -0
  825. package/src/nativeModulesHelpers/UNStoreManagerHelper/UNStoreManagerHelper.ts +19 -0
  826. package/src/networking/common/UNNetworkConstants.ts +1 -1
  827. package/src/networking/requests/UNWalletPayloadRequest.ts +2 -1
  828. package/src/scripts/html/bodyHtml.ts +1 -1
  829. package/src/scripts/html/bodyScript.ts +148 -10
  830. package/src/slices/BottomSheetSlice.ts +72 -0
  831. package/src/slices/ConfigurationSlice.ts +1 -2
  832. package/src/slices/SharedEventsSlice.ts +35 -13
  833. package/src/store/store.ts +2 -0
  834. package/src/styles/variables.ts +5 -2
  835. package/src/types/internal/bottomSheet.types.ts +80 -17
  836. package/src/types/internal/unitStore.types.ts +6 -0
  837. package/src/types/internal/webComponent.types.ts +4 -0
  838. package/src/types/shared/account.types.ts +6 -0
  839. package/src/types/shared/activity.types.ts +3 -3
  840. package/src/types/shared/card.types.ts +10 -1
  841. package/src/types/shared/env.types.ts +4 -0
  842. package/src/types/shared/index.ts +2 -0
  843. package/src/types/shared/multipleCards.types.ts +1 -1
  844. package/src/types/shared/payeeManagement.types.ts +49 -0
  845. package/src/types/shared/payments.types.ts +29 -6
  846. package/src/types/shared/repayment.types.ts +12 -0
  847. package/src/types/shared/versioning.types.ts +7 -1
  848. package/src/unitSdkManager/UnitSdk.api.ts +2 -4
  849. package/src/unitSdkManager/UnitSdk.constants.ts +1 -1
  850. package/src/unitSdkManager/UnitSdkManager.ts +12 -6
  851. package/src/unitSdkManager/UnitSdkManager.utils.internal.ts +3 -1
  852. package/src/unitSdkManager/unitHelpersManager/UnitHelpersManager.ts +11 -0
  853. package/src/utils/webVersioningStrategy.utils.ts +7 -0
  854. package/src/utils/windowUnitStore.ts +5 -0
  855. package/src/webComponent/WebComponent.tsx +66 -17
  856. package/src/webComponent/html.ts +14 -1
  857. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -91
  858. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
  859. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
  860. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -17
  861. package/lib/commonjs/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
  862. package/lib/commonjs/nativeComponent/UnitAddToWalletButton.js.map +0 -1
  863. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js +0 -81
  864. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.js.map +0 -1
  865. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.styles.js.map +0 -1
  866. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js +0 -2
  867. package/lib/module/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.js.map +0 -1
  868. package/lib/module/nativeComponent/UnitAddToWalletButton.js.map +0 -1
  869. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.d.ts +0 -10
  870. package/lib/typescript/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.d.ts +0 -1
  871. package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/UNAddToWalletBottomSheetItem.tsx +0 -109
  872. package/src/components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem/index.ts +0 -1
  873. /package/lib/commonjs/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
  874. /package/lib/module/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.js +0 -0
  875. /package/lib/module/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.js +0 -0
  876. /package/src/{components/UNBottomSheetComponent/components/UNAddToWalletBottomSheetItem → nativeComponents/UNAddToWallet/UNAddToWalletComponent}/UNAddToWalletBottomSheetItem.styles.ts +0 -0
  877. /package/src/{nativeComponent → nativeComponents/UNAddToWallet}/UnitAddToWalletButton.tsx +0 -0
@@ -0,0 +1,8 @@
1
+ // types related to unit store - (on the web component window)
2
+
3
+ export let UserDataKeys = /*#__PURE__*/function (UserDataKeys) {
4
+ UserDataKeys["unitCustomerToken"] = "unitCustomerToken";
5
+ UserDataKeys["unitVerifiedToken"] = "unitVerifiedCustomerToken";
6
+ return UserDataKeys;
7
+ }({});
8
+ //# sourceMappingURL=unitStore.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["UserDataKeys"],"sourceRoot":"../../../../src","sources":["types/internal/unitStore.types.ts"],"mappings":"AAAA;;AAEA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA"}
@@ -1,5 +1,4 @@
1
- export let WebComponentType;
2
- (function (WebComponentType) {
1
+ export let WebComponentType = /*#__PURE__*/function (WebComponentType) {
3
2
  WebComponentType["card"] = "unit-elements-card";
4
3
  WebComponentType["multipleCards"] = "unit-elements-multiple-cards";
5
4
  WebComponentType["bookPayment"] = "unit-elements-book-payment";
@@ -10,11 +9,16 @@ export let WebComponentType;
10
9
  WebComponentType["achDebitPayment"] = "unit-elements-ach-debit-payment";
11
10
  WebComponentType["achCreditPayment"] = "unit-elements-ach-credit-payment";
12
11
  WebComponentType["cardAction"] = "unit-elements-card-action";
13
- })(WebComponentType || (WebComponentType = {}));
14
- export let PresentationMode;
15
- (function (PresentationMode) {
12
+ WebComponentType["programDetails"] = "unit-elements-program-details";
13
+ WebComponentType["nextRepayment"] = "unit-elements-next-repayment";
14
+ WebComponentType["payeeManagement"] = "unit-elements-payee-management";
15
+ WebComponentType["whiteLabelApp"] = "unit-elements-white-label-app";
16
+ return WebComponentType;
17
+ }({});
18
+ export let PresentationMode = /*#__PURE__*/function (PresentationMode) {
16
19
  PresentationMode["CoverInjectedHeight"] = "coverInjectedHeight";
17
20
  PresentationMode["Inherit"] = "inherit";
18
21
  PresentationMode["Default"] = "deafult";
19
- })(PresentationMode || (PresentationMode = {}));
22
+ return PresentationMode;
23
+ }({});
20
24
  //# sourceMappingURL=webComponent.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["WebComponentType","PresentationMode"],"sources":["webComponent.types.ts"],"sourcesContent":["export enum WebComponentType {\n card = 'unit-elements-card',\n multipleCards = 'unit-elements-multiple-cards',\n bookPayment = 'unit-elements-book-payment',\n activity = 'unit-elements-activity',\n slot = 'unit-elements-sdk-slot',\n account = 'unit-elements-account',\n checkDeposit = 'unit-elements-check-deposit',\n achDebitPayment = 'unit-elements-ach-debit-payment',\n achCreditPayment = 'unit-elements-ach-credit-payment',\n cardAction = 'unit-elements-card-action',\n}\n\nexport enum PresentationMode {\n /*\n CoverInjectedHeight - give id (<webViewId> param) to enable style injection to the root. Then cover the injected height.\n\n Inherit - inherit the parent size by style of 100 view height\n\n Default - return the unit component script\n */\n\n CoverInjectedHeight = 'coverInjectedHeight',\n Inherit = 'inherit',\n Default = 'deafult'\n}\n"],"mappings":"AAAA,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;AAa5B,WAAYC,gBAAgB;AAY3B,WAZWA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;AAAA,GAAhBA,gBAAgB,KAAhBA,gBAAgB"}
1
+ {"version":3,"names":["WebComponentType","PresentationMode"],"sourceRoot":"../../../../src","sources":["types/internal/webComponent.types.ts"],"mappings":"AAAA,WAAYA,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,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;AAiB5B,WAAYC,gBAAgB,0BAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAA,OAAhBA,gBAAgB;AAAA"}
@@ -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,6 +1,6 @@
1
- export let UNActivityComponentPaginationType;
2
- (function (UNActivityComponentPaginationType) {
1
+ export let UNActivityComponentPaginationType = /*#__PURE__*/function (UNActivityComponentPaginationType) {
3
2
  UNActivityComponentPaginationType["infiniteScroll"] = "infiniteScroll";
4
3
  UNActivityComponentPaginationType["pagination"] = "pagination";
5
- })(UNActivityComponentPaginationType || (UNActivityComponentPaginationType = {}));
4
+ return UNActivityComponentPaginationType;
5
+ }({});
6
6
  //# sourceMappingURL=activity.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNActivityComponentPaginationType"],"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 const enum UNActivityComponentPaginationType {\n infiniteScroll = 'infiniteScroll',\n pagination = 'pagination'\n}\n\nexport type UNActivityOnLoadData = {\n [RESPONSE_KEYS.authorizations]: UNAuthorizationData,\n [RESPONSE_KEYS.transactions]: UNTransactionData,\n}\n"],"mappings":"AAIA,WAAkBA,iCAAiC;AAGlD,WAHiBA,iCAAiC;EAAjCA,iCAAiC;EAAjCA,iCAAiC;AAAA,GAAjCA,iCAAiC,KAAjCA,iCAAiC"}
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,6 @@
1
+ export let UNEnvironment = /*#__PURE__*/function (UNEnvironment) {
2
+ UNEnvironment["sandbox"] = "sandbox";
3
+ UNEnvironment["production"] = "production";
4
+ return UNEnvironment;
5
+ }({});
6
+ //# sourceMappingURL=env.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["UNEnvironment"],"sourceRoot":"../../../../src","sources":["types/shared/env.types.ts"],"mappings":"AAAA,WAAYA,aAAa,0BAAbA,aAAa;EAAbA,aAAa;EAAbA,aAAa;EAAA,OAAbA,aAAa;AAAA"}
@@ -1,5 +1,4 @@
1
- export let UNErrorCodes;
2
- (function (UNErrorCodes) {
1
+ export let UNErrorCodes = /*#__PURE__*/function (UNErrorCodes) {
3
2
  UNErrorCodes["FEATURE_DISABLED"] = "feature_disabled";
4
3
  UNErrorCodes["INVALID_VALUE"] = "invalid_value";
5
4
  UNErrorCodes["LIMITS_EXCEEDED"] = "limits_exceeded";
@@ -18,5 +17,6 @@ export let UNErrorCodes;
18
17
  UNErrorCodes["ALREADY_EXISTS"] = "already_exists";
19
18
  UNErrorCodes["CUSTOMER_NAME_UNDELIVERABLE"] = "customer_name_undeliverable";
20
19
  UNErrorCodes["CUSTOMER_ADDRESS_UNDELIVERABLE"] = "customer_address_undeliverable";
21
- })(UNErrorCodes || (UNErrorCodes = {}));
20
+ return UNErrorCodes;
21
+ }({});
22
22
  //# sourceMappingURL=error.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNErrorCodes"],"sources":["error.types.ts"],"sourcesContent":["export type UNError = {\n errors: UNErrorData[]\n}\n\nexport type UNErrorData = {\n status?: string,\n title: string,\n detail?: string,\n details?: string,\n meta?: UNErrorMeta\n code?: UNErrorCodes,\n error?: Error\n}\n\ninterface UNErrorMeta {\n meta: Record<string, string>,\n}\n\nexport enum UNErrorCodes {\n FEATURE_DISABLED = 'feature_disabled',\n INVALID_VALUE = 'invalid_value',\n LIMITS_EXCEEDED = 'limits_exceeded',\n NOT_FOUND = 'not_found',\n ACCOUNT_CUSTOMER_MISMATCH = 'account_customer_mismatch',\n NOT_SUPPORTED_FOR_ACCOUNT_STATUS = 'not_supported_for_account_status',\n NOT_SUPPORTED_FOR_ACCOUNT_TYPE = 'not_supported_for_account_type',\n NOT_SUPPORTED_FOR_CARD = 'not_supported_for_card',\n NOT_SUPPORTED_FOR_CARD_STATUS = 'not_supported_for_card_status',\n NOT_SUPPORTED_FOR_CARD_TYPE = 'not_supported_for_card_type',\n INVALID_NONCE = 'invalid_nonce',\n NOT_SUPPORTED_FOR_PAYMENT_TYPE = 'not_supported_for_payment_type',\n PAYMENT_INVALID = 'payment_invalid',\n UNAUTHORIZED = 'unauthorized',\n FORBIDDEN = 'forbidden',\n ALREADY_EXISTS = 'already_exists',\n CUSTOMER_NAME_UNDELIVERABLE = 'customer_name_undeliverable',\n CUSTOMER_ADDRESS_UNDELIVERABLE = 'customer_address_undeliverable',\n}\n"],"mappings":"AAkBA,WAAYA,YAAY;AAmBvB,WAnBWA,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;AAAA,GAAZA,YAAY,KAAZA,YAAY"}
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"}
@@ -10,4 +10,6 @@ export * from './fonts.types';
10
10
  export * from './error.types';
11
11
  export * from './versioning.types';
12
12
  export * from './multipleCards.types';
13
+ export * from './payeeManagement.types';
14
+ export * from './env.types';
13
15
  //# 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 './error.types';\nexport * from './versioning.types';\nexport * from './multipleCards.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,eAAe;AAC7B,cAAc,oBAAoB;AAClC,cAAc,uBAAuB"}
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;AACrC,cAAc,yBAAyB;AACvC,cAAc,aAAa"}
@@ -1,6 +1,6 @@
1
- export let UNMultipleCardsComponentPaginationType;
2
- (function (UNMultipleCardsComponentPaginationType) {
1
+ export let UNMultipleCardsComponentPaginationType = /*#__PURE__*/function (UNMultipleCardsComponentPaginationType) {
3
2
  UNMultipleCardsComponentPaginationType["infiniteScroll"] = "infiniteScroll";
4
3
  UNMultipleCardsComponentPaginationType["pagination"] = "pagination";
5
- })(UNMultipleCardsComponentPaginationType || (UNMultipleCardsComponentPaginationType = {}));
4
+ return UNMultipleCardsComponentPaginationType;
5
+ }({});
6
6
  //# sourceMappingURL=multipleCards.types.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["UNMultipleCardsComponentPaginationType"],"sources":["multipleCards.types.ts"],"sourcesContent":["import type { UNCardData } from './card.types';\n\nexport const enum UNMultipleCardsComponentPaginationType {\n infiniteScroll = 'infiniteScroll',\n pagination = 'pagination'\n}\n\nexport type UNMultipleCardsOnLoadData = UNCardData[];\n"],"mappings":"AAEA,WAAkBA,sCAAsC;AAGvD,WAHiBA,sCAAsC;EAAtCA,sCAAsC;EAAtCA,sCAAsC;AAAA,GAAtCA,sCAAsC,KAAtCA,sCAAsC"}
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 +1 @@
1
- {"version":3,"names":[],"sources":["onLoadResponse.types.ts"],"sourcesContent":["import type { UNError } from './error.types';\n\nexport type UNOnLoadResponseData<T> = {\n data: T,\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":""}
@@ -0,0 +1,11 @@
1
+ export let UNPayeeManagementMenuItem = /*#__PURE__*/function (UNPayeeManagementMenuItem) {
2
+ UNPayeeManagementMenuItem["sendFunds"] = "sendFunds";
3
+ UNPayeeManagementMenuItem["delete"] = "delete";
4
+ return UNPayeeManagementMenuItem;
5
+ }({});
6
+ export let UNPayeeManagementComponentPaginationType = /*#__PURE__*/function (UNPayeeManagementComponentPaginationType) {
7
+ UNPayeeManagementComponentPaginationType["infiniteScroll"] = "infiniteScroll";
8
+ UNPayeeManagementComponentPaginationType["pagination"] = "pagination";
9
+ return UNPayeeManagementComponentPaginationType;
10
+ }({});
11
+ //# sourceMappingURL=payeeManagement.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["UNPayeeManagementMenuItem","UNPayeeManagementComponentPaginationType"],"sourceRoot":"../../../../src","sources":["types/shared/payeeManagement.types.ts"],"mappings":"AAwCA,WAAYA,yBAAyB,0BAAzBA,yBAAyB;EAAzBA,yBAAyB;EAAzBA,yBAAyB;EAAA,OAAzBA,yBAAyB;AAAA;AAKrC,WAAYC,wCAAwC,0BAAxCA,wCAAwC;EAAxCA,wCAAwC;EAAxCA,wCAAwC;EAAA,OAAxCA,wCAAwC;AAAA"}
@@ -1,5 +1,27 @@
1
- export let UNCounterpartyVerificationMethod;
2
- (function (UNCounterpartyVerificationMethod) {
1
+ export let UNCounterpartyType = /*#__PURE__*/function (UNCounterpartyType) {
2
+ UNCounterpartyType["Business"] = "Business";
3
+ UNCounterpartyType["Person"] = "Person";
4
+ UNCounterpartyType["Unknown"] = "Unknown";
5
+ return UNCounterpartyType;
6
+ }({});
7
+ export let UNConnectedAccountStatus = /*#__PURE__*/function (UNConnectedAccountStatus) {
8
+ UNConnectedAccountStatus["Pending"] = "Pending";
9
+ UNConnectedAccountStatus["Failed"] = "Failed";
10
+ UNConnectedAccountStatus["Verified"] = "Verified";
11
+ return UNConnectedAccountStatus;
12
+ }({});
13
+ export let UNConnectionAccountType = /*#__PURE__*/function (UNConnectionAccountType) {
14
+ UNConnectionAccountType["SameDayMicroDeposit"] = "SameDayMicroDeposit";
15
+ UNConnectionAccountType["Instant"] = "Instant";
16
+ return UNConnectionAccountType;
17
+ }({});
18
+ export let UNPlaidAccountFilter = /*#__PURE__*/function (UNPlaidAccountFilter) {
19
+ UNPlaidAccountFilter["checking"] = "checking";
20
+ UNPlaidAccountFilter["savings"] = "savings";
21
+ return UNPlaidAccountFilter;
22
+ }({});
23
+ export let UNCounterpartyVerificationMethod = /*#__PURE__*/function (UNCounterpartyVerificationMethod) {
3
24
  UNCounterpartyVerificationMethod["Plaid"] = "Plaid";
4
- })(UNCounterpartyVerificationMethod || (UNCounterpartyVerificationMethod = {}));
25
+ return UNCounterpartyVerificationMethod;
26
+ }({});
5
27
  //# 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":["UNCounterpartyType","UNConnectedAccountStatus","UNConnectionAccountType","UNPlaidAccountFilter","UNCounterpartyVerificationMethod"],"sourceRoot":"../../../../src","sources":["types/shared/payments.types.ts"],"mappings":"AAWA,WAAYA,kBAAkB,0BAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAlBA,kBAAkB;EAAA,OAAlBA,kBAAkB;AAAA;AAQ9B,WAAYC,wBAAwB,0BAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAxBA,wBAAwB;EAAA,OAAxBA,wBAAwB;AAAA;AAMpC,WAAYC,uBAAuB,0BAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAvBA,uBAAuB;EAAA,OAAvBA,uBAAuB;AAAA;AAInC,WAAYC,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,14 +1,12 @@
1
1
  import { UnitSDK } from './UnitSdkManager';
2
2
  import { getUnitScriptUrl } from './UnitSdkManager.utils.internal';
3
3
  import { store } from '../store/store';
4
- import { setUnitScript, selectConfiguration } from '../slices/ConfigurationSlice';
4
+ import { setUnitScript } from '../slices/ConfigurationSlice';
5
5
  let isLoadingScript = false;
6
6
  export const fetchUnitScript = async () => {
7
- const configurationState = selectConfiguration(store.getState());
8
- const globalUnitScript = configurationState.unitScript;
9
7
  const env = UnitSDK.getEnv();
10
8
  const webVersioningStrategy = UnitSDK.getWebVersioningStrategy();
11
- if (isLoadingScript || globalUnitScript || !env) {
9
+ if (isLoadingScript || !env) {
12
10
  // init function is called and success OR in progress
13
11
  return null;
14
12
  }
@@ -1 +1 @@
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"],"sources":["UnitSdk.api.ts"],"sourcesContent":["import { UnitSDK } from './UnitSdkManager';\n\nimport { getUnitScriptUrl } from './UnitSdkManager.utils.internal';\nimport { store } from '../store/store';\nimport { setUnitScript, selectConfiguration } from '../slices/ConfigurationSlice';\n\nlet isLoadingScript = false;\n\nexport const fetchUnitScript = async () => {\n const configurationState = selectConfiguration(store.getState());\n const globalUnitScript = configurationState.unitScript;\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 store.dispatch(setUnitScript(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,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,EAAE,CAAC;EAChE,MAAMC,gBAAgB,GAAGF,kBAAkB,CAACG,UAAU;EACtD,MAAMC,GAAG,GAAGX,OAAO,CAACY,MAAM,EAAE;EAC5B,MAAMC,qBAAqB,GAAGb,OAAO,CAACc,wBAAwB,EAAE;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,EAAE;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"}
1
+ {"version":3,"names":["UnitSDK","getUnitScriptUrl","store","setUnitScript","isLoadingScript","fetchUnitScript","env","getEnv","webVersioningStrategy","getWebVersioningStrategy","unitScriptRes","fetch","unitScript","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,QAAQ,8BAA8B;AAE5D,IAAIC,eAAe,GAAG,KAAK;AAE3B,OAAO,MAAMC,eAAe,GAAG,MAAAA,CAAA,KAAY;EACzC,MAAMC,GAAG,GAAGN,OAAO,CAACO,MAAM,CAAC,CAAC;EAC5B,MAAMC,qBAAqB,GAAGR,OAAO,CAACS,wBAAwB,CAAC,CAAC;EAChE,IAAIL,eAAe,IAAI,CAACE,GAAG,EAAE;IAC3B;IACA,OAAO,IAAI;EACb;EACAF,eAAe,GAAG,IAAI;EACtB,IAAI;IACF,MAAMM,aAAa,GAAG,MAAMC,KAAK,CAACV,gBAAgB,CAACK,GAAG,EAAEE,qBAAqB,CAAC,CAAC;IAC/E,MAAMI,UAAU,GAAG,MAAMF,aAAa,CAACG,IAAI,CAAC,CAAC;IAC7C,IAAID,UAAU,EAAE;MACdV,KAAK,CAACY,QAAQ,CAACX,aAAa,CAACS,UAAU,CAAC,CAAC;IAC3C;IACA,OAAO,IAAI;EACb,CAAC,CAAC,OAAOG,CAAC,EAAE;IACVC,OAAO,CAACC,GAAG,CAACF,CAAC,CAAC;IACd,OAAO,IAAI;EACb,CAAC,SAAS;IACRX,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: 3
5
+ minor: 8
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: 3,\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"}