@tap-payments/auth-jsconnect 2.7.6-test → 2.7.6

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 (1605) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +167 -167
  3. package/build/@types/app.d.ts +788 -748
  4. package/build/@types/app.js +105 -89
  5. package/build/@types/config.d.ts +49 -35
  6. package/build/@types/config.js +1 -1
  7. package/build/@types/form.d.ts +166 -156
  8. package/build/@types/form.js +1 -1
  9. package/build/@types/index.d.ts +6 -6
  10. package/build/@types/index.js +6 -6
  11. package/build/@types/redux.d.ts +19 -18
  12. package/build/@types/redux.js +1 -1
  13. package/build/@types/theme.d.ts +18 -18
  14. package/build/@types/theme.js +20 -20
  15. package/build/@types/user.d.ts +177 -177
  16. package/build/@types/user.js +1 -1
  17. package/build/api/account.d.ts +26 -23
  18. package/build/api/account.js +42 -28
  19. package/build/api/auth.d.ts +135 -120
  20. package/build/api/auth.js +93 -93
  21. package/build/api/availabilityServices.d.ts +21 -21
  22. package/build/api/availabilityServices.js +17 -17
  23. package/build/api/axios.d.ts +7 -7
  24. package/build/api/axios.js +110 -111
  25. package/build/api/board.d.ts +43 -43
  26. package/build/api/board.js +72 -72
  27. package/build/api/brand.d.ts +16 -16
  28. package/build/api/brand.js +66 -66
  29. package/build/api/country.d.ts +11 -11
  30. package/build/api/country.js +29 -29
  31. package/build/api/data.d.ts +44 -57
  32. package/build/api/data.js +84 -124
  33. package/build/api/document.d.ts +25 -25
  34. package/build/api/document.js +38 -38
  35. package/build/api/entity.d.ts +161 -160
  36. package/build/api/entity.js +160 -152
  37. package/build/api/file.d.ts +14 -14
  38. package/build/api/file.js +37 -37
  39. package/build/api/firebase.d.ts +4 -4
  40. package/build/api/firebase.js +74 -14
  41. package/build/api/index.d.ts +170 -181
  42. package/build/api/index.js +39 -39
  43. package/build/api/individual.d.ts +163 -163
  44. package/build/api/individual.js +55 -55
  45. package/build/api/init.d.ts +17 -17
  46. package/build/api/init.js +13 -13
  47. package/build/api/lead.d.ts +133 -120
  48. package/build/api/lead.js +138 -122
  49. package/build/api/location.d.ts +5 -5
  50. package/build/api/location.js +19 -19
  51. package/build/api/operator.d.ts +22 -22
  52. package/build/api/operator.js +73 -73
  53. package/build/api/user.d.ts +21 -14
  54. package/build/api/user.js +28 -20
  55. package/build/app/rootReducer.d.ts +17 -16
  56. package/build/app/rootReducer.js +31 -29
  57. package/build/app/settings.d.ts +60 -77
  58. package/build/app/settings.js +395 -365
  59. package/build/app/store.d.ts +35 -33
  60. package/build/app/store.js +11 -11
  61. package/build/assets/locales/ar.json +642 -440
  62. package/build/assets/locales/en.json +669 -470
  63. package/build/components/AnimationFlow/AnimationFlow.d.ts +30 -26
  64. package/build/components/AnimationFlow/AnimationFlow.js +45 -45
  65. package/build/components/AnimationFlow/BottomSheet.d.ts +19 -16
  66. package/build/components/AnimationFlow/BottomSheet.js +139 -110
  67. package/build/components/AnimationFlow/Dialog.d.ts +26 -25
  68. package/build/components/AnimationFlow/Dialog.js +132 -130
  69. package/build/components/AnimationFlow/Error.d.ts +6 -5
  70. package/build/components/AnimationFlow/Error.js +32 -32
  71. package/build/components/AnimationFlow/Loader.d.ts +7 -6
  72. package/build/components/AnimationFlow/Loader.js +36 -36
  73. package/build/components/AnimationFlow/index.d.ts +2 -2
  74. package/build/components/AnimationFlow/index.js +2 -2
  75. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +16 -16
  76. package/build/components/ArabicDatePicker/ArabicDatePicker.js +116 -116
  77. package/build/components/ArabicDatePicker/arabicAr.d.ts +8 -8
  78. package/build/components/ArabicDatePicker/arabicAr.js +32 -32
  79. package/build/components/ArabicDatePicker/arabicEn.d.ts +8 -8
  80. package/build/components/ArabicDatePicker/arabicEn.js +32 -32
  81. package/build/components/ArabicDatePicker/index.d.ts +2 -2
  82. package/build/components/ArabicDatePicker/index.js +2 -2
  83. package/build/components/ArabicDatePicker/style.css +32 -3
  84. package/build/components/Button/Button.d.ts +14 -14
  85. package/build/components/Button/Button.js +97 -97
  86. package/build/components/Button/index.d.ts +4 -4
  87. package/build/components/Button/index.js +2 -2
  88. package/build/components/CheckBox/CheckBox.d.ts +5 -5
  89. package/build/components/CheckBox/CheckBox.js +39 -39
  90. package/build/components/CheckBox/index.d.ts +4 -4
  91. package/build/components/CheckBox/index.js +2 -2
  92. package/build/components/Collapse/Collapse.d.ts +5 -4
  93. package/build/components/Collapse/Collapse.js +28 -28
  94. package/build/components/Collapse/index.d.ts +3 -3
  95. package/build/components/Collapse/index.js +2 -2
  96. package/build/components/DatePicker/DatePicker.d.ts +17 -17
  97. package/build/components/DatePicker/DatePicker.js +111 -111
  98. package/build/components/DatePicker/index.d.ts +3 -3
  99. package/build/components/DatePicker/index.js +2 -2
  100. package/build/components/ExpandIcon/ExpandIcon.d.ts +9 -8
  101. package/build/components/ExpandIcon/ExpandIcon.js +24 -24
  102. package/build/components/ExpandIcon/index.d.ts +2 -2
  103. package/build/components/ExpandIcon/index.js +2 -2
  104. package/build/components/FileInput/DragAndDrop.d.ts +17 -16
  105. package/build/components/FileInput/DragAndDrop.js +136 -136
  106. package/build/components/FileInput/UploadInput.d.ts +7 -6
  107. package/build/components/FileInput/UploadInput.js +38 -38
  108. package/build/components/FileInput/index.d.ts +3 -3
  109. package/build/components/FileInput/index.js +3 -3
  110. package/build/components/Footer/Footer.d.ts +15 -15
  111. package/build/components/Footer/Footer.js +63 -62
  112. package/build/components/Footer/index.d.ts +4 -4
  113. package/build/components/Footer/index.js +2 -2
  114. package/build/components/Form/Form.d.ts +11 -11
  115. package/build/components/Form/Form.js +38 -38
  116. package/build/components/Form/index.d.ts +3 -3
  117. package/build/components/Form/index.js +2 -2
  118. package/build/components/Icon/Icon.d.ts +11 -11
  119. package/build/components/Icon/Icon.js +26 -26
  120. package/build/components/Icon/index.d.ts +3 -3
  121. package/build/components/Icon/index.js +2 -2
  122. package/build/components/Input/Input.d.ts +19 -19
  123. package/build/components/Input/Input.js +84 -84
  124. package/build/components/Input/index.d.ts +3 -3
  125. package/build/components/Input/index.js +2 -2
  126. package/build/components/InputAdornment/InputAdornment.d.ts +10 -10
  127. package/build/components/InputAdornment/InputAdornment.js +46 -46
  128. package/build/components/InputAdornment/index.d.ts +3 -3
  129. package/build/components/InputAdornment/index.js +2 -2
  130. package/build/components/List/List.d.ts +5 -5
  131. package/build/components/List/List.js +52 -52
  132. package/build/components/List/index.d.ts +3 -3
  133. package/build/components/List/index.js +2 -2
  134. package/build/components/ListItem/ListItem.d.ts +5 -5
  135. package/build/components/ListItem/ListItem.js +35 -35
  136. package/build/components/ListItem/index.d.ts +3 -3
  137. package/build/components/ListItem/index.js +2 -2
  138. package/build/components/Loader/Loader.d.ts +24 -24
  139. package/build/components/Loader/Loader.js +41 -41
  140. package/build/components/Loader/index.d.ts +4 -4
  141. package/build/components/Loader/index.js +2 -2
  142. package/build/components/LogoBadge/LogoBadge.d.ts +7 -7
  143. package/build/components/LogoBadge/LogoBadge.js +64 -64
  144. package/build/components/LogoBadge/index.d.ts +3 -3
  145. package/build/components/LogoBadge/index.js +2 -2
  146. package/build/components/Lottie/Lottie.d.ts +4203 -4203
  147. package/build/components/Lottie/Lottie.js +66 -66
  148. package/build/components/Lottie/files/account_creating.json +732 -732
  149. package/build/components/Lottie/files/error.json +692 -692
  150. package/build/components/Lottie/files/pulsating_circle_waves.json +236 -236
  151. package/build/components/Lottie/files/start_loading.json +1140 -1140
  152. package/build/components/Lottie/files/still_loading.json +1140 -1140
  153. package/build/components/Lottie/files/success.json +425 -425
  154. package/build/components/Lottie/index.d.ts +3 -3
  155. package/build/components/Lottie/index.js +3 -3
  156. package/build/components/OTPField/OTPField.d.ts +18 -18
  157. package/build/components/OTPField/OTPField.js +45 -45
  158. package/build/components/OTPField/index.d.ts +4 -4
  159. package/build/components/OTPField/index.js +2 -2
  160. package/build/components/OTPTimer/OTPTimer.d.ts +14 -14
  161. package/build/components/OTPTimer/OTPTimer.js +70 -70
  162. package/build/components/OTPTimer/index.d.ts +4 -4
  163. package/build/components/OTPTimer/index.js +2 -2
  164. package/build/components/ProgressBar/CircularProgressBar.d.ts +16 -15
  165. package/build/components/ProgressBar/CircularProgressBar.js +48 -48
  166. package/build/components/ProgressBar/ProgressBar.d.ts +6 -6
  167. package/build/components/ProgressBar/ProgressBar.js +45 -45
  168. package/build/components/ProgressBar/index.d.ts +6 -6
  169. package/build/components/ProgressBar/index.js +4 -4
  170. package/build/components/Providers/ReduxProvider.d.ts +7 -7
  171. package/build/components/Providers/ReduxProvider.js +17 -17
  172. package/build/components/Providers/ThemeProvider.d.ts +8 -8
  173. package/build/components/Providers/ThemeProvider.js +22 -22
  174. package/build/components/Providers/index.d.ts +3 -3
  175. package/build/components/Providers/index.js +3 -3
  176. package/build/components/Radio/Radio.d.ts +5 -5
  177. package/build/components/Radio/Radio.js +31 -31
  178. package/build/components/Radio/index.d.ts +3 -3
  179. package/build/components/Radio/index.js +2 -2
  180. package/build/components/RadioGroup/RadioGroup.d.ts +8 -8
  181. package/build/components/RadioGroup/RadioGroup.js +37 -37
  182. package/build/components/RadioGroup/index.d.ts +3 -3
  183. package/build/components/RadioGroup/index.js +2 -2
  184. package/build/components/RadioLabel/RadioLabel.d.ts +10 -10
  185. package/build/components/RadioLabel/RadioLabel.js +34 -34
  186. package/build/components/RadioLabel/index.d.ts +3 -3
  187. package/build/components/RadioLabel/index.js +2 -2
  188. package/build/components/SimpleList/SimpleList.d.ts +24 -24
  189. package/build/components/SimpleList/SimpleList.js +136 -136
  190. package/build/components/SimpleList/index.d.ts +3 -3
  191. package/build/components/SimpleList/index.js +2 -2
  192. package/build/components/Slide/Slide.d.ts +6 -6
  193. package/build/components/Slide/Slide.js +30 -30
  194. package/build/components/Slide/index.d.ts +3 -3
  195. package/build/components/Slide/index.js +2 -2
  196. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +11 -11
  197. package/build/components/SocialMediaGroup/SocialMediaGroup.js +34 -34
  198. package/build/components/SocialMediaGroup/index.d.ts +3 -3
  199. package/build/components/SocialMediaGroup/index.js +2 -2
  200. package/build/components/Text/Text.d.ts +5 -5
  201. package/build/components/Text/Text.js +35 -35
  202. package/build/components/Text/index.d.ts +3 -3
  203. package/build/components/Text/index.js +2 -2
  204. package/build/components/ToggleButton/ToggleButton.d.ts +5 -5
  205. package/build/components/ToggleButton/ToggleButton.js +44 -44
  206. package/build/components/ToggleButton/index.d.ts +3 -3
  207. package/build/components/ToggleButton/index.js +2 -2
  208. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +5 -5
  209. package/build/components/ToggleButtonGroup/ToggleButtonGroup.js +37 -37
  210. package/build/components/ToggleButtonGroup/index.d.ts +3 -3
  211. package/build/components/ToggleButtonGroup/index.js +2 -2
  212. package/build/components/Tooltip/Tooltip.d.ts +10 -10
  213. package/build/components/Tooltip/Tooltip.js +53 -53
  214. package/build/components/Tooltip/index.d.ts +3 -3
  215. package/build/components/Tooltip/index.js +2 -2
  216. package/build/components/Warning/Warning.d.ts +13 -13
  217. package/build/components/Warning/Warning.js +53 -53
  218. package/build/components/Warning/index.d.ts +4 -4
  219. package/build/components/Warning/index.js +2 -2
  220. package/build/constants/api.d.ts +60 -62
  221. package/build/constants/api.js +118 -122
  222. package/build/constants/app.d.ts +309 -270
  223. package/build/constants/app.js +1220 -910
  224. package/build/constants/assets.d.ts +111 -108
  225. package/build/constants/assets.js +111 -108
  226. package/build/constants/dummy.d.ts +175 -390
  227. package/build/constants/dummy.js +909 -7039
  228. package/build/constants/flows.d.ts +26 -0
  229. package/build/constants/flows.js +27 -0
  230. package/build/constants/index.d.ts +6 -5
  231. package/build/constants/index.js +6 -5
  232. package/build/constants/validation.d.ts +34 -31
  233. package/build/constants/validation.js +34 -31
  234. package/build/features/app/auth/authStore.d.ts +103 -217
  235. package/build/features/app/auth/authStore.js +1216 -870
  236. package/build/features/app/bank/bankStore.d.ts +70 -156
  237. package/build/features/app/bank/bankStore.js +563 -530
  238. package/build/features/app/board/boardStore.d.ts +37 -69
  239. package/build/features/app/board/boardStore.js +274 -243
  240. package/build/features/app/brand/brandStore.d.ts +110 -252
  241. package/build/features/app/brand/brandStore.js +885 -888
  242. package/build/features/app/business/businessStore.d.ts +159 -281
  243. package/build/features/app/business/businessStore.js +1486 -1278
  244. package/build/features/app/connect/connectStore.d.ts +146 -253
  245. package/build/features/app/connect/connectStore.js +1332 -1097
  246. package/build/features/app/connectExpress/connectExpressStore.d.ts +186 -403
  247. package/build/features/app/connectExpress/connectExpressStore.js +1933 -1640
  248. package/build/features/app/entity/entityStore.d.ts +77 -174
  249. package/build/features/app/entity/entityStore.js +749 -783
  250. package/build/features/app/individual/individualStore.d.ts +140 -318
  251. package/build/features/app/individual/individualStore.js +1382 -1405
  252. package/build/features/app/kyc/kycStore.d.ts +67 -0
  253. package/build/features/app/kyc/kycStore.js +432 -0
  254. package/build/features/app/password/passwordStore.d.ts +103 -187
  255. package/build/features/app/password/passwordStore.js +661 -620
  256. package/build/features/app/signIn/signInStore.d.ts +33 -87
  257. package/build/features/app/signIn/signInStore.js +371 -367
  258. package/build/features/app/tax/taxStore.d.ts +63 -129
  259. package/build/features/app/tax/taxStore.js +510 -476
  260. package/build/features/auth/Auth.d.ts +14 -14
  261. package/build/features/auth/Auth.js +168 -143
  262. package/build/features/auth/index.d.ts +1 -1
  263. package/build/features/auth/index.js +1 -1
  264. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -5
  265. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -36
  266. package/build/features/auth/screens/AccountCreatedLoader/index.d.ts +2 -2
  267. package/build/features/auth/screens/AccountCreatedLoader/index.js +2 -2
  268. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +5 -5
  269. package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +71 -74
  270. package/build/features/auth/screens/AccountNotFound/index.d.ts +2 -2
  271. package/build/features/auth/screens/AccountNotFound/index.js +2 -2
  272. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +5 -5
  273. package/build/features/auth/screens/AuthMerchant/AuthMerchant.js +73 -73
  274. package/build/features/auth/screens/AuthMerchant/MerchantList.d.ts +11 -11
  275. package/build/features/auth/screens/AuthMerchant/MerchantList.js +64 -64
  276. package/build/features/auth/screens/AuthMerchant/index.d.ts +2 -2
  277. package/build/features/auth/screens/AuthMerchant/index.js +2 -2
  278. package/build/features/auth/screens/AuthMerchant/validation.d.ts +8 -8
  279. package/build/features/auth/screens/AuthMerchant/validation.js +4 -4
  280. package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +5 -0
  281. package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +58 -0
  282. package/build/features/auth/screens/AuthSwitch/index.d.ts +3 -0
  283. package/build/features/auth/screens/AuthSwitch/index.js +2 -0
  284. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +5 -5
  285. package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +96 -102
  286. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +10 -10
  287. package/build/features/auth/screens/AuthenticationList/BrandList.js +81 -81
  288. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +3 -2
  289. package/build/features/auth/screens/AuthenticationList/EntityLegalName.js +48 -48
  290. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +31 -31
  291. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +90 -90
  292. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +11 -11
  293. package/build/features/auth/screens/AuthenticationList/EntityList.js +138 -138
  294. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +3 -3
  295. package/build/features/auth/screens/AuthenticationList/LicenseNumber.js +36 -36
  296. package/build/features/auth/screens/AuthenticationList/index.d.ts +3 -3
  297. package/build/features/auth/screens/AuthenticationList/index.js +2 -2
  298. package/build/features/auth/screens/AuthenticationList/validation.d.ts +20 -20
  299. package/build/features/auth/screens/AuthenticationList/validation.js +68 -68
  300. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +5 -5
  301. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +111 -105
  302. package/build/features/auth/screens/BusinessCountry/index.d.ts +3 -3
  303. package/build/features/auth/screens/BusinessCountry/index.js +2 -2
  304. package/build/features/auth/screens/CivilID/CivilID.d.ts +5 -5
  305. package/build/features/auth/screens/CivilID/CivilID.js +57 -88
  306. package/build/features/auth/screens/CivilID/IDNumber.d.ts +8 -8
  307. package/build/features/auth/screens/CivilID/IDNumber.js +54 -54
  308. package/build/features/auth/screens/CivilID/index.d.ts +3 -3
  309. package/build/features/auth/screens/CivilID/index.js +2 -2
  310. package/build/features/auth/screens/CivilID/validation.d.ts +8 -8
  311. package/build/features/auth/screens/CivilID/validation.js +4 -4
  312. package/build/features/auth/screens/DOB/DOB.d.ts +6 -0
  313. package/build/features/auth/screens/{NID → DOB}/DOB.js +47 -47
  314. package/build/features/auth/screens/DOB/DOBForm.d.ts +5 -0
  315. package/build/features/auth/screens/DOB/DOBForm.js +59 -0
  316. package/build/features/auth/screens/DOB/index.d.ts +3 -0
  317. package/build/features/auth/screens/DOB/index.js +2 -0
  318. package/build/features/{business/screens/OTP → auth/screens/DOB}/validation.d.ts +8 -8
  319. package/build/features/auth/screens/DOB/validation.js +4 -0
  320. package/build/features/auth/screens/Email/Email.d.ts +5 -0
  321. package/build/features/auth/screens/Email/Email.js +57 -0
  322. package/build/features/auth/screens/Email/EmailField.d.ts +8 -0
  323. package/build/features/auth/screens/Email/EmailField.js +52 -0
  324. package/build/features/auth/screens/Email/index.d.ts +3 -0
  325. package/build/features/auth/screens/Email/index.js +2 -0
  326. package/build/features/auth/screens/Email/validation.d.ts +8 -0
  327. package/build/features/auth/screens/Email/validation.js +4 -0
  328. package/build/features/auth/screens/EmailSent/EmailSent.d.ts +5 -0
  329. package/build/features/auth/screens/EmailSent/EmailSent.js +79 -0
  330. package/build/features/auth/screens/EmailSent/index.d.ts +2 -0
  331. package/build/features/auth/screens/EmailSent/index.js +2 -0
  332. package/build/features/auth/screens/MigratingData/MigratingData.d.ts +5 -0
  333. package/build/features/auth/screens/MigratingData/MigratingData.js +44 -0
  334. package/build/features/auth/screens/MigratingData/index.d.ts +2 -0
  335. package/build/features/auth/screens/MigratingData/index.js +2 -0
  336. package/build/features/auth/screens/Mobile/Mobile.d.ts +5 -5
  337. package/build/features/auth/screens/Mobile/Mobile.js +82 -114
  338. package/build/features/auth/screens/Mobile/MobileNumber.d.ts +13 -13
  339. package/build/features/auth/screens/Mobile/MobileNumber.js +156 -158
  340. package/build/features/auth/screens/Mobile/index.d.ts +3 -3
  341. package/build/features/auth/screens/Mobile/index.js +2 -2
  342. package/build/features/auth/screens/Mobile/validation.d.ts +8 -8
  343. package/build/features/auth/screens/Mobile/validation.js +38 -30
  344. package/build/features/auth/screens/NID/IDNumber.d.ts +7 -7
  345. package/build/features/auth/screens/NID/IDNumber.js +55 -55
  346. package/build/features/auth/screens/NID/NID.d.ts +5 -5
  347. package/build/features/auth/screens/NID/NID.js +56 -92
  348. package/build/features/auth/screens/NID/index.d.ts +3 -3
  349. package/build/features/auth/screens/NID/index.js +2 -2
  350. package/build/features/auth/screens/NID/validation.d.ts +8 -11
  351. package/build/features/auth/screens/NID/validation.js +10 -11
  352. package/build/features/auth/screens/OTP/OTP.d.ts +5 -5
  353. package/build/features/auth/screens/OTP/OTP.js +118 -87
  354. package/build/features/auth/screens/OTP/OTPInput.d.ts +5 -5
  355. package/build/features/auth/screens/OTP/OTPInput.js +74 -57
  356. package/build/features/auth/screens/OTP/index.d.ts +3 -3
  357. package/build/features/auth/screens/OTP/index.js +2 -2
  358. package/build/features/auth/screens/OTP/validation.d.ts +8 -8
  359. package/build/features/auth/screens/OTP/validation.js +4 -4
  360. package/build/features/auth/screens/OperatorError/OperatorError.d.ts +5 -0
  361. package/build/features/auth/screens/OperatorError/OperatorError.js +9 -0
  362. package/build/features/auth/screens/OperatorError/index.d.ts +3 -0
  363. package/build/features/auth/screens/OperatorError/index.js +2 -0
  364. package/build/features/auth/screens/Password/Password.d.ts +5 -0
  365. package/build/features/auth/screens/Password/Password.js +61 -0
  366. package/build/features/auth/screens/Password/PasswordField.d.ts +5 -0
  367. package/build/features/auth/screens/Password/PasswordField.js +28 -0
  368. package/build/features/auth/screens/Password/index.d.ts +3 -0
  369. package/build/features/auth/screens/Password/index.js +2 -0
  370. package/build/features/auth/screens/Password/validation.d.ts +8 -0
  371. package/build/features/auth/screens/Password/validation.js +4 -0
  372. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +5 -5
  373. package/build/features/auth/screens/PreparingData/PreparingData.js +44 -41
  374. package/build/features/auth/screens/PreparingData/index.d.ts +2 -2
  375. package/build/features/auth/screens/PreparingData/index.js +2 -2
  376. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +5 -0
  377. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.js +21 -0
  378. package/build/features/auth/screens/ResetPasswordMessage/index.d.ts +3 -0
  379. package/build/features/auth/screens/ResetPasswordMessage/index.js +2 -0
  380. package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  381. package/build/features/auth/screens/VerifyNafath/VerifyNafath.js +35 -0
  382. package/build/features/auth/screens/VerifyNafath/index.d.ts +3 -0
  383. package/build/features/auth/screens/VerifyNafath/index.js +2 -0
  384. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +5 -5
  385. package/build/features/auth/screens/VerifyPACI/VerifyPACI.js +34 -34
  386. package/build/features/auth/screens/VerifyPACI/index.d.ts +3 -3
  387. package/build/features/auth/screens/VerifyPACI/index.js +2 -2
  388. package/build/features/bank/Bank.d.ts +15 -10
  389. package/build/features/bank/Bank.js +90 -77
  390. package/build/features/bank/index.d.ts +1 -1
  391. package/build/features/bank/index.js +1 -1
  392. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +5 -4
  393. package/build/features/bank/screens/BankDetails/BankDetails.js +124 -110
  394. package/build/features/bank/screens/BankDetails/BankName.d.ts +7 -6
  395. package/build/features/bank/screens/BankDetails/BankName.js +63 -63
  396. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +10 -9
  397. package/build/features/bank/screens/BankDetails/BankStatement.js +33 -33
  398. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +7 -6
  399. package/build/features/bank/screens/BankDetails/Beneficiary.js +48 -48
  400. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +6 -5
  401. package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +66 -66
  402. package/build/features/bank/screens/BankDetails/IBAN.d.ts +9 -8
  403. package/build/features/bank/screens/BankDetails/IBAN.js +102 -102
  404. package/build/features/bank/screens/BankDetails/index.d.ts +3 -3
  405. package/build/features/bank/screens/BankDetails/index.js +2 -2
  406. package/build/features/bank/screens/BankDetails/validation.d.ts +39 -39
  407. package/build/features/bank/screens/BankDetails/validation.js +24 -24
  408. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +5 -0
  409. package/build/features/bank/screens/OperatorError/OperatorError.js +9 -0
  410. package/build/features/bank/screens/OperatorError/index.d.ts +3 -0
  411. package/build/features/bank/screens/OperatorError/index.js +2 -0
  412. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -4
  413. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.js +10 -10
  414. package/build/features/bank/screens/PrepareDataLoading/index.d.ts +2 -2
  415. package/build/features/bank/screens/PrepareDataLoading/index.js +2 -2
  416. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
  417. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -21
  418. package/build/features/bank/screens/ResetPasswordSuccess/index.d.ts +3 -3
  419. package/build/features/bank/screens/ResetPasswordSuccess/index.js +2 -2
  420. package/build/features/bank/screens/Success/Success.d.ts +5 -5
  421. package/build/features/bank/screens/Success/Success.js +20 -20
  422. package/build/features/bank/screens/Success/index.d.ts +3 -3
  423. package/build/features/bank/screens/Success/index.js +2 -2
  424. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
  425. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +30 -30
  426. package/build/features/bank/screens/SuccessWithFlowButtons/index.d.ts +2 -2
  427. package/build/features/bank/screens/SuccessWithFlowButtons/index.js +2 -2
  428. package/build/features/bank/screens/Verify/OTPInput.d.ts +7 -7
  429. package/build/features/bank/screens/Verify/OTPInput.js +51 -51
  430. package/build/features/bank/screens/Verify/Verify.d.ts +5 -5
  431. package/build/features/bank/screens/Verify/Verify.js +75 -74
  432. package/build/features/bank/screens/Verify/index.d.ts +2 -2
  433. package/build/features/bank/screens/Verify/index.js +2 -2
  434. package/build/features/bank/screens/Verify/validation.d.ts +8 -8
  435. package/build/features/bank/screens/Verify/validation.js +4 -4
  436. package/build/features/board/Board.d.ts +13 -10
  437. package/build/features/board/Board.js +87 -76
  438. package/build/features/board/index.d.ts +1 -1
  439. package/build/features/board/index.js +1 -1
  440. package/build/features/board/screens/OperatorError/OperatorError.d.ts +5 -0
  441. package/build/features/board/screens/OperatorError/OperatorError.js +9 -0
  442. package/build/features/board/screens/OperatorError/index.d.ts +3 -0
  443. package/build/features/board/screens/OperatorError/index.js +2 -0
  444. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
  445. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
  446. package/build/features/board/screens/PrepareDataLoading/index.d.ts +2 -0
  447. package/build/features/board/screens/PrepareDataLoading/index.js +2 -0
  448. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
  449. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -21
  450. package/build/features/board/screens/ResetPasswordSuccess/index.d.ts +3 -3
  451. package/build/features/board/screens/ResetPasswordSuccess/index.js +2 -2
  452. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
  453. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +44 -35
  454. package/build/features/board/screens/SuccessWithFlowButtons/index.d.ts +2 -2
  455. package/build/features/board/screens/SuccessWithFlowButtons/index.js +2 -2
  456. package/build/features/board/screens/Verify/OTPInput.d.ts +7 -7
  457. package/build/features/board/screens/Verify/OTPInput.js +51 -51
  458. package/build/features/board/screens/Verify/Verify.d.ts +5 -5
  459. package/build/features/board/screens/Verify/Verify.js +75 -74
  460. package/build/features/board/screens/Verify/index.d.ts +2 -2
  461. package/build/features/board/screens/Verify/index.js +2 -2
  462. package/build/features/board/screens/Verify/validation.d.ts +8 -8
  463. package/build/features/board/screens/Verify/validation.js +4 -4
  464. package/build/features/brand/Brand.d.ts +15 -10
  465. package/build/features/brand/Brand.js +90 -77
  466. package/build/features/brand/index.d.ts +1 -1
  467. package/build/features/brand/index.js +1 -1
  468. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +74 -58
  469. package/build/features/brand/screens/BrandActivities/ActivitiesList.js +180 -180
  470. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +5 -4
  471. package/build/features/brand/screens/BrandActivities/BrandActivities.js +152 -115
  472. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +55 -31
  473. package/build/features/brand/screens/BrandActivities/CustomerBase.js +135 -135
  474. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +10 -9
  475. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +101 -101
  476. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +10 -9
  477. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +146 -143
  478. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +43 -35
  479. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +93 -93
  480. package/build/features/brand/screens/BrandActivities/TAC.d.ts +18 -18
  481. package/build/features/brand/screens/BrandActivities/TAC.js +93 -93
  482. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +6 -5
  483. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +56 -56
  484. package/build/features/brand/screens/BrandActivities/index.d.ts +2 -2
  485. package/build/features/brand/screens/BrandActivities/index.js +2 -2
  486. package/build/features/brand/screens/BrandActivities/validation.d.ts +71 -71
  487. package/build/features/brand/screens/BrandActivities/validation.js +18 -18
  488. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +5 -4
  489. package/build/features/brand/screens/BrandInfo/BrandInfo.js +106 -86
  490. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +9 -8
  491. package/build/features/brand/screens/BrandInfo/BrandLogo.js +41 -41
  492. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +9 -9
  493. package/build/features/brand/screens/BrandInfo/BrandName.js +143 -140
  494. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +6 -5
  495. package/build/features/brand/screens/BrandInfo/SalesChannels.js +36 -36
  496. package/build/features/brand/screens/BrandInfo/index.d.ts +2 -2
  497. package/build/features/brand/screens/BrandInfo/index.js +2 -2
  498. package/build/features/brand/screens/BrandInfo/validation.d.ts +56 -56
  499. package/build/features/brand/screens/BrandInfo/validation.js +109 -109
  500. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +5 -4
  501. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +119 -103
  502. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +10 -9
  503. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.js +69 -69
  504. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +10 -9
  505. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.js +69 -69
  506. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +10 -9
  507. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.js +69 -69
  508. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +10 -9
  509. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.js +69 -69
  510. package/build/features/brand/screens/BrandSegmentInfo/index.d.ts +2 -2
  511. package/build/features/brand/screens/BrandSegmentInfo/index.js +2 -2
  512. package/build/features/brand/screens/BrandSegmentInfo/validation.d.ts +17 -17
  513. package/build/features/brand/screens/BrandSegmentInfo/validation.js +9 -9
  514. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +5 -0
  515. package/build/features/brand/screens/OperatorError/OperatorError.js +9 -0
  516. package/build/features/brand/screens/OperatorError/index.d.ts +3 -0
  517. package/build/features/brand/screens/OperatorError/index.js +2 -0
  518. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -4
  519. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.js +10 -10
  520. package/build/features/brand/screens/PrepareDataLoading/index.d.ts +2 -2
  521. package/build/features/brand/screens/PrepareDataLoading/index.js +2 -2
  522. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
  523. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -21
  524. package/build/features/brand/screens/ResetPasswordSuccess/index.d.ts +3 -3
  525. package/build/features/brand/screens/ResetPasswordSuccess/index.js +2 -2
  526. package/build/features/brand/screens/Success/Success.d.ts +5 -5
  527. package/build/features/brand/screens/Success/Success.js +20 -20
  528. package/build/features/brand/screens/Success/index.d.ts +3 -3
  529. package/build/features/brand/screens/Success/index.js +2 -2
  530. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
  531. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +30 -30
  532. package/build/features/brand/screens/SuccessWithFlowButtons/index.d.ts +2 -2
  533. package/build/features/brand/screens/SuccessWithFlowButtons/index.js +2 -2
  534. package/build/features/brand/screens/Verify/OTPInput.d.ts +7 -7
  535. package/build/features/brand/screens/Verify/OTPInput.js +51 -51
  536. package/build/features/brand/screens/Verify/Verify.d.ts +5 -5
  537. package/build/features/brand/screens/Verify/Verify.js +79 -78
  538. package/build/features/brand/screens/Verify/index.d.ts +2 -2
  539. package/build/features/brand/screens/Verify/index.js +2 -2
  540. package/build/features/brand/screens/Verify/validation.d.ts +8 -8
  541. package/build/features/brand/screens/Verify/validation.js +4 -4
  542. package/build/features/business/Business.d.ts +8 -7
  543. package/build/features/business/Business.js +75 -67
  544. package/build/features/business/index.d.ts +1 -1
  545. package/build/features/business/index.js +1 -1
  546. package/build/features/business/screens/Activities/Activities.d.ts +5 -4
  547. package/build/features/business/screens/Activities/Activities.js +87 -70
  548. package/build/features/business/screens/Activities/ActivitiesList.d.ts +37 -21
  549. package/build/features/business/screens/Activities/ActivitiesList.js +292 -292
  550. package/build/features/business/screens/Activities/LicenseName.d.ts +5 -5
  551. package/build/features/business/screens/Activities/LicenseName.js +30 -30
  552. package/build/features/business/screens/Activities/OperationStartDate.d.ts +22 -12
  553. package/build/features/business/screens/Activities/OperationStartDate.js +45 -45
  554. package/build/features/business/screens/Activities/index.d.ts +3 -3
  555. package/build/features/business/screens/Activities/index.js +2 -2
  556. package/build/features/business/screens/Activities/validation.d.ts +191 -191
  557. package/build/features/business/screens/Activities/validation.js +14 -14
  558. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +5 -5
  559. package/build/features/business/screens/BrandDetails/BrandDetails.js +39 -39
  560. package/build/features/business/screens/BrandDetails/BrandName.d.ts +5 -5
  561. package/build/features/business/screens/BrandDetails/BrandName.js +36 -36
  562. package/build/features/business/screens/BrandDetails/Header.d.ts +5 -5
  563. package/build/features/business/screens/BrandDetails/Header.js +49 -49
  564. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +5 -5
  565. package/build/features/business/screens/BrandDetails/LicenseInfo.js +38 -38
  566. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +18 -10
  567. package/build/features/business/screens/BrandDetails/SalesChannel.js +48 -48
  568. package/build/features/business/screens/BrandDetails/index.d.ts +3 -3
  569. package/build/features/business/screens/BrandDetails/index.js +2 -2
  570. package/build/features/business/screens/BusinessType/Article.d.ts +8 -7
  571. package/build/features/business/screens/BusinessType/Article.js +52 -52
  572. package/build/features/business/screens/BusinessType/BusinessType.d.ts +5 -5
  573. package/build/features/business/screens/BusinessType/BusinessType.js +114 -106
  574. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +9 -9
  575. package/build/features/business/screens/BusinessType/EntityLicenseList.js +129 -129
  576. package/build/features/business/screens/BusinessType/EntityName.d.ts +6 -5
  577. package/build/features/business/screens/BusinessType/EntityName.js +55 -55
  578. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +6 -5
  579. package/build/features/business/screens/BusinessType/LicenseCertificate.js +44 -44
  580. package/build/features/business/screens/BusinessType/LicenseList.d.ts +9 -9
  581. package/build/features/business/screens/BusinessType/LicenseList.js +133 -133
  582. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +6 -6
  583. package/build/features/business/screens/BusinessType/LicenseNumber.js +55 -55
  584. package/build/features/business/screens/BusinessType/LicenseType.d.ts +34 -34
  585. package/build/features/business/screens/BusinessType/LicenseType.js +103 -103
  586. package/build/features/business/screens/BusinessType/SelectType.d.ts +8 -8
  587. package/build/features/business/screens/BusinessType/SelectType.js +106 -106
  588. package/build/features/business/screens/BusinessType/Switch.d.ts +7 -7
  589. package/build/features/business/screens/BusinessType/Switch.js +35 -35
  590. package/build/features/business/screens/BusinessType/index.d.ts +3 -3
  591. package/build/features/business/screens/BusinessType/index.js +2 -2
  592. package/build/features/business/screens/BusinessType/validation.d.ts +43 -43
  593. package/build/features/business/screens/BusinessType/validation.js +105 -105
  594. package/build/features/business/screens/CivilID/CivilID.d.ts +5 -5
  595. package/build/features/business/screens/CivilID/CivilID.js +68 -68
  596. package/build/features/business/screens/CivilID/IDNumber.d.ts +7 -7
  597. package/build/features/business/screens/CivilID/IDNumber.js +58 -58
  598. package/build/features/business/screens/CivilID/index.d.ts +3 -3
  599. package/build/features/business/screens/CivilID/index.js +2 -2
  600. package/build/features/business/screens/CivilID/validation.d.ts +8 -8
  601. package/build/features/business/screens/CivilID/validation.js +4 -4
  602. package/build/features/business/screens/Customers/CustomerLocations.d.ts +91 -65
  603. package/build/features/business/screens/Customers/CustomerLocations.js +161 -159
  604. package/build/features/business/screens/Customers/Customers.d.ts +5 -5
  605. package/build/features/business/screens/Customers/Customers.js +142 -102
  606. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +10 -7
  607. package/build/features/business/screens/Customers/ExpectedCustomers.js +107 -105
  608. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +10 -7
  609. package/build/features/business/screens/Customers/ExpectedSalesRange.js +144 -138
  610. package/build/features/business/screens/Customers/RefundPolicy.d.ts +43 -28
  611. package/build/features/business/screens/Customers/RefundPolicy.js +93 -93
  612. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +6 -2
  613. package/build/features/business/screens/Customers/TransactionPolicy.js +55 -52
  614. package/build/features/business/screens/Customers/index.d.ts +3 -3
  615. package/build/features/business/screens/Customers/index.js +2 -2
  616. package/build/features/business/screens/Customers/validation.d.ts +20 -20
  617. package/build/features/business/screens/Customers/validation.js +8 -13
  618. package/build/features/business/screens/DOB/DOB.d.ts +6 -0
  619. package/build/features/business/screens/DOB/DOB.js +45 -0
  620. package/build/features/business/screens/DOB/DOBForm.d.ts +5 -0
  621. package/build/features/business/screens/DOB/DOBForm.js +72 -0
  622. package/build/features/business/screens/DOB/index.d.ts +3 -0
  623. package/build/features/business/screens/DOB/index.js +2 -0
  624. package/build/features/{connectExpress/screens/IdentityOTP → business/screens/DOB}/validation.d.ts +8 -8
  625. package/build/features/business/screens/DOB/validation.js +4 -0
  626. package/build/features/business/screens/IDBOD/DOB.d.ts +6 -6
  627. package/build/features/business/screens/IDBOD/DOB.js +45 -45
  628. package/build/features/business/screens/IDBOD/ID.d.ts +5 -5
  629. package/build/features/business/screens/IDBOD/ID.js +31 -31
  630. package/build/features/business/screens/IDBOD/IDBOD.d.ts +5 -5
  631. package/build/features/business/screens/IDBOD/IDBOD.js +68 -60
  632. package/build/features/business/screens/IDBOD/index.d.ts +3 -3
  633. package/build/features/business/screens/IDBOD/index.js +2 -2
  634. package/build/features/business/screens/IDBOD/validation.d.ts +18 -21
  635. package/build/features/business/screens/IDBOD/validation.js +12 -13
  636. package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
  637. package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.js +103 -0
  638. package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +3 -0
  639. package/build/features/business/screens/MobileOwnership/MobileNumber.js +72 -0
  640. package/build/features/business/screens/MobileOwnership/index.d.ts +2 -0
  641. package/build/features/business/screens/MobileOwnership/index.js +2 -0
  642. package/build/features/business/screens/MobileOwnership/validation.d.ts +8 -0
  643. package/build/features/business/screens/MobileOwnership/validation.js +38 -0
  644. package/build/features/business/screens/OperatorError/OperatorError.d.ts +5 -0
  645. package/build/features/business/screens/OperatorError/OperatorError.js +9 -0
  646. package/build/features/business/screens/OperatorError/index.d.ts +3 -0
  647. package/build/features/business/screens/OperatorError/index.js +2 -0
  648. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
  649. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -21
  650. package/build/features/business/screens/ResetPasswordSuccess/index.d.ts +3 -3
  651. package/build/features/business/screens/ResetPasswordSuccess/index.js +2 -2
  652. package/build/features/business/screens/Success/Success.d.ts +5 -5
  653. package/build/features/business/screens/Success/Success.js +23 -23
  654. package/build/features/business/screens/Success/index.d.ts +3 -3
  655. package/build/features/business/screens/Success/index.js +2 -2
  656. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
  657. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +33 -22
  658. package/build/features/business/screens/SuccessWithFlowButtons/index.d.ts +2 -2
  659. package/build/features/business/screens/SuccessWithFlowButtons/index.js +2 -2
  660. package/build/features/business/screens/Verify/OTPInput.d.ts +7 -7
  661. package/build/features/business/screens/Verify/OTPInput.js +51 -51
  662. package/build/features/business/screens/Verify/Verify.d.ts +5 -5
  663. package/build/features/business/screens/Verify/Verify.js +89 -78
  664. package/build/features/business/screens/Verify/index.d.ts +2 -2
  665. package/build/features/business/screens/Verify/index.js +2 -2
  666. package/build/features/business/screens/Verify/validation.d.ts +8 -8
  667. package/build/features/business/screens/Verify/validation.js +4 -4
  668. package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  669. package/build/features/business/screens/VerifyNafath/VerifyNafath.js +35 -0
  670. package/build/features/business/screens/VerifyNafath/index.d.ts +3 -0
  671. package/build/features/business/screens/VerifyNafath/index.js +2 -0
  672. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +5 -5
  673. package/build/features/business/screens/VerifyPACI/VerifyPACI.js +34 -34
  674. package/build/features/business/screens/VerifyPACI/index.d.ts +3 -3
  675. package/build/features/business/screens/VerifyPACI/index.js +2 -2
  676. package/build/features/connect/Connect.d.ts +14 -9
  677. package/build/features/connect/Connect.js +159 -152
  678. package/build/features/connect/index.d.ts +1 -1
  679. package/build/features/connect/index.js +1 -1
  680. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +5 -5
  681. package/build/features/connect/screens/BrandSegment/BrandSegment.js +62 -62
  682. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +8 -7
  683. package/build/features/connect/screens/BrandSegment/TeamSize.js +66 -66
  684. package/build/features/connect/screens/BrandSegment/index.d.ts +3 -3
  685. package/build/features/connect/screens/BrandSegment/index.js +2 -2
  686. package/build/features/connect/screens/BrandSegment/validation.d.ts +8 -8
  687. package/build/features/connect/screens/BrandSegment/validation.js +6 -6
  688. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +5 -5
  689. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +113 -107
  690. package/build/features/connect/screens/BusinessCountry/index.d.ts +3 -3
  691. package/build/features/connect/screens/BusinessCountry/index.js +2 -2
  692. package/build/features/connect/screens/CivilID/CivilID.d.ts +5 -5
  693. package/build/features/connect/screens/CivilID/CivilID.js +103 -98
  694. package/build/features/connect/screens/CivilID/IDNumber.d.ts +7 -7
  695. package/build/features/connect/screens/CivilID/IDNumber.js +58 -58
  696. package/build/features/connect/screens/CivilID/index.d.ts +3 -3
  697. package/build/features/connect/screens/CivilID/index.js +2 -2
  698. package/build/features/connect/screens/CivilID/validation.d.ts +8 -8
  699. package/build/features/connect/screens/CivilID/validation.js +4 -4
  700. package/build/features/connect/screens/DOB/DOB.d.ts +6 -0
  701. package/build/features/connect/screens/{NID → DOB}/DOB.js +47 -47
  702. package/build/features/connect/screens/DOB/DOBForm.d.ts +5 -0
  703. package/build/features/connect/screens/DOB/DOBForm.js +59 -0
  704. package/build/features/connect/screens/DOB/index.d.ts +3 -0
  705. package/build/features/connect/screens/DOB/index.js +2 -0
  706. package/build/features/connect/screens/DOB/validation.d.ts +8 -0
  707. package/build/features/connect/screens/DOB/validation.js +4 -0
  708. package/build/features/connect/screens/Individual/Email.d.ts +8 -8
  709. package/build/features/connect/screens/Individual/Email.js +106 -108
  710. package/build/features/connect/screens/Individual/Individual.d.ts +5 -5
  711. package/build/features/connect/screens/Individual/Individual.js +114 -108
  712. package/build/features/connect/screens/Individual/MobileNumber.d.ts +10 -10
  713. package/build/features/connect/screens/Individual/MobileNumber.js +154 -153
  714. package/build/features/connect/screens/Individual/Name.d.ts +6 -6
  715. package/build/features/connect/screens/Individual/Name.js +44 -44
  716. package/build/features/connect/screens/Individual/index.d.ts +3 -3
  717. package/build/features/connect/screens/Individual/index.js +2 -2
  718. package/build/features/connect/screens/Individual/validation.d.ts +24 -24
  719. package/build/features/connect/screens/Individual/validation.js +43 -35
  720. package/build/features/connect/screens/Merchant/BrandList.d.ts +10 -10
  721. package/build/features/connect/screens/Merchant/BrandList.js +88 -88
  722. package/build/features/connect/screens/Merchant/BrandName.d.ts +8 -8
  723. package/build/features/connect/screens/Merchant/BrandName.js +143 -140
  724. package/build/features/connect/screens/Merchant/Merchant.d.ts +5 -5
  725. package/build/features/connect/screens/Merchant/Merchant.js +100 -100
  726. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +5 -4
  727. package/build/features/connect/screens/Merchant/SalesChannels.js +38 -38
  728. package/build/features/connect/screens/Merchant/TAC.d.ts +6 -6
  729. package/build/features/connect/screens/Merchant/TAC.js +84 -84
  730. package/build/features/connect/screens/Merchant/index.d.ts +3 -3
  731. package/build/features/connect/screens/Merchant/index.js +2 -2
  732. package/build/features/connect/screens/Merchant/validation.d.ts +35 -35
  733. package/build/features/connect/screens/Merchant/validation.js +131 -131
  734. package/build/features/connect/screens/Mobile/Mobile.d.ts +5 -5
  735. package/build/features/connect/screens/Mobile/Mobile.js +137 -134
  736. package/build/features/connect/screens/Mobile/MobileNumber.d.ts +12 -12
  737. package/build/features/connect/screens/Mobile/MobileNumber.js +162 -161
  738. package/build/features/connect/screens/Mobile/Title.d.ts +8 -8
  739. package/build/features/connect/screens/Mobile/Title.js +29 -29
  740. package/build/features/connect/screens/Mobile/index.d.ts +3 -3
  741. package/build/features/connect/screens/Mobile/index.js +2 -2
  742. package/build/features/connect/screens/Mobile/validation.d.ts +8 -8
  743. package/build/features/connect/screens/Mobile/validation.js +36 -28
  744. package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
  745. package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.js +104 -0
  746. package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +3 -0
  747. package/build/features/connect/screens/MobileOwnership/MobileNumber.js +72 -0
  748. package/build/features/connect/screens/MobileOwnership/index.d.ts +2 -0
  749. package/build/features/connect/screens/MobileOwnership/index.js +2 -0
  750. package/build/features/connect/screens/MobileOwnership/validation.d.ts +8 -0
  751. package/build/features/connect/screens/MobileOwnership/validation.js +38 -0
  752. package/build/features/connect/screens/NID/IDNumber.d.ts +7 -6
  753. package/build/features/connect/screens/NID/IDNumber.js +59 -59
  754. package/build/features/connect/screens/NID/NID.d.ts +5 -5
  755. package/build/features/connect/screens/NID/NID.js +101 -107
  756. package/build/features/connect/screens/NID/index.d.ts +3 -3
  757. package/build/features/connect/screens/NID/index.js +2 -2
  758. package/build/features/connect/screens/NID/validation.d.ts +8 -11
  759. package/build/features/connect/screens/NID/validation.js +8 -9
  760. package/build/features/connect/screens/OTP/OTP.d.ts +5 -5
  761. package/build/features/connect/screens/OTP/OTP.js +92 -92
  762. package/build/features/connect/screens/OTP/OTPInput.d.ts +5 -5
  763. package/build/features/connect/screens/OTP/OTPInput.js +58 -66
  764. package/build/features/connect/screens/OTP/index.d.ts +3 -3
  765. package/build/features/connect/screens/OTP/index.js +2 -2
  766. package/build/features/connect/screens/OTP/validation.d.ts +8 -8
  767. package/build/features/connect/screens/OTP/validation.js +4 -4
  768. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -5
  769. package/build/features/connect/screens/OperatorError/OperatorError.js +9 -9
  770. package/build/features/connect/screens/OperatorError/index.d.ts +3 -3
  771. package/build/features/connect/screens/OperatorError/index.js +2 -2
  772. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +5 -5
  773. package/build/features/connect/screens/ThankYou/ThankYou.js +31 -31
  774. package/build/features/connect/screens/ThankYou/index.d.ts +3 -3
  775. package/build/features/connect/screens/ThankYou/index.js +2 -2
  776. package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  777. package/build/features/connect/screens/VerifyNafath/VerifyNafath.js +35 -0
  778. package/build/features/connect/screens/VerifyNafath/index.d.ts +3 -0
  779. package/build/features/connect/screens/VerifyNafath/index.js +2 -0
  780. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +5 -5
  781. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +95 -95
  782. package/build/features/connect/screens/VerifyPACI/index.d.ts +3 -3
  783. package/build/features/connect/screens/VerifyPACI/index.js +2 -2
  784. package/build/features/connectExpress/ConnectExpress.d.ts +14 -10
  785. package/build/features/connectExpress/ConnectExpress.js +174 -151
  786. package/build/features/connectExpress/index.d.ts +1 -1
  787. package/build/features/connectExpress/index.js +1 -1
  788. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +5 -5
  789. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +27 -27
  790. package/build/features/connectExpress/screens/AccountAlreadyCreated/index.d.ts +3 -3
  791. package/build/features/connectExpress/screens/AccountAlreadyCreated/index.js +2 -2
  792. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -5
  793. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -36
  794. package/build/features/connectExpress/screens/AccountCreatedLoader/index.d.ts +2 -2
  795. package/build/features/connectExpress/screens/AccountCreatedLoader/index.js +2 -2
  796. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +5 -5
  797. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.js +74 -74
  798. package/build/features/connectExpress/screens/AuthMerchant/MerchantList.d.ts +11 -11
  799. package/build/features/connectExpress/screens/AuthMerchant/MerchantList.js +64 -64
  800. package/build/features/connectExpress/screens/AuthMerchant/index.d.ts +2 -2
  801. package/build/features/connectExpress/screens/AuthMerchant/index.js +2 -2
  802. package/build/features/connectExpress/screens/AuthMerchant/validation.d.ts +8 -8
  803. package/build/features/connectExpress/screens/AuthMerchant/validation.js +4 -4
  804. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +5 -5
  805. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +104 -104
  806. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +10 -10
  807. package/build/features/connectExpress/screens/AuthenticationList/BrandList.js +81 -81
  808. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +3 -2
  809. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.js +48 -48
  810. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +31 -31
  811. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +90 -90
  812. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +11 -11
  813. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +138 -138
  814. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +3 -3
  815. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +36 -36
  816. package/build/features/connectExpress/screens/AuthenticationList/index.d.ts +3 -3
  817. package/build/features/connectExpress/screens/AuthenticationList/index.js +2 -2
  818. package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +20 -20
  819. package/build/features/connectExpress/screens/AuthenticationList/validation.js +68 -68
  820. package/build/features/connectExpress/screens/Brand/Brand.d.ts +5 -5
  821. package/build/features/connectExpress/screens/Brand/Brand.js +71 -71
  822. package/build/features/connectExpress/screens/Brand/index.d.ts +2 -2
  823. package/build/features/connectExpress/screens/Brand/index.js +2 -2
  824. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +5 -5
  825. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +111 -105
  826. package/build/features/connectExpress/screens/BusinessCountry/index.d.ts +3 -3
  827. package/build/features/connectExpress/screens/BusinessCountry/index.js +2 -2
  828. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +5 -5
  829. package/build/features/connectExpress/screens/CivilID/CivilID.js +96 -91
  830. package/build/features/connectExpress/screens/CivilID/IDNumber.d.ts +7 -7
  831. package/build/features/connectExpress/screens/CivilID/IDNumber.js +59 -59
  832. package/build/features/connectExpress/screens/CivilID/index.d.ts +3 -3
  833. package/build/features/connectExpress/screens/CivilID/index.js +2 -2
  834. package/build/features/connectExpress/screens/CivilID/validation.d.ts +8 -8
  835. package/build/features/connectExpress/screens/CivilID/validation.js +4 -4
  836. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +5 -5
  837. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +54 -54
  838. package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.d.ts +7 -7
  839. package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.js +54 -54
  840. package/build/features/connectExpress/screens/CivilIDMissed/index.d.ts +3 -3
  841. package/build/features/connectExpress/screens/CivilIDMissed/index.js +2 -2
  842. package/build/features/connectExpress/screens/CivilIDMissed/validation.d.ts +8 -8
  843. package/build/features/connectExpress/screens/CivilIDMissed/validation.js +4 -4
  844. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +9 -9
  845. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +141 -138
  846. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +5 -5
  847. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +98 -91
  848. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +9 -9
  849. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +140 -140
  850. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +7 -7
  851. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +53 -53
  852. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +35 -35
  853. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +96 -96
  854. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +19 -19
  855. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +82 -82
  856. package/build/features/connectExpress/screens/CollectBusinessInfo/index.d.ts +3 -3
  857. package/build/features/connectExpress/screens/CollectBusinessInfo/index.js +2 -2
  858. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +40 -40
  859. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +222 -222
  860. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +5 -5
  861. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +121 -98
  862. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +9 -9
  863. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +105 -107
  864. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +11 -11
  865. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +154 -153
  866. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +7 -7
  867. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +44 -44
  868. package/build/features/connectExpress/screens/CollectIndividualInfo/index.d.ts +3 -3
  869. package/build/features/connectExpress/screens/CollectIndividualInfo/index.js +2 -2
  870. package/build/features/connectExpress/screens/CollectIndividualInfo/validation.d.ts +14 -14
  871. package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +39 -31
  872. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +5 -5
  873. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +24 -34
  874. package/build/features/connectExpress/screens/CreateAccountLoader/index.d.ts +2 -2
  875. package/build/features/connectExpress/screens/CreateAccountLoader/index.js +2 -2
  876. package/build/features/connectExpress/screens/DOB/DOB.d.ts +6 -0
  877. package/build/features/connectExpress/screens/{NID → DOB}/DOB.js +47 -47
  878. package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +5 -0
  879. package/build/features/connectExpress/screens/DOB/DOBForm.js +63 -0
  880. package/build/features/connectExpress/screens/DOB/index.d.ts +3 -0
  881. package/build/features/connectExpress/screens/DOB/index.js +2 -0
  882. package/build/features/connectExpress/screens/DOB/validation.d.ts +8 -0
  883. package/build/features/connectExpress/screens/DOB/validation.js +4 -0
  884. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +5 -0
  885. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.js +35 -0
  886. package/build/features/connectExpress/screens/IdentityVerifyNafath/index.d.ts +3 -0
  887. package/build/features/connectExpress/screens/IdentityVerifyNafath/index.js +2 -0
  888. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +5 -5
  889. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +34 -34
  890. package/build/features/connectExpress/screens/IdentityVerifyPACI/index.d.ts +3 -3
  891. package/build/features/connectExpress/screens/IdentityVerifyPACI/index.js +2 -2
  892. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +5 -5
  893. package/build/features/connectExpress/screens/Mobile/Mobile.js +122 -115
  894. package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +13 -13
  895. package/build/features/connectExpress/screens/Mobile/MobileNumber.js +159 -158
  896. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +7 -7
  897. package/build/features/connectExpress/screens/Mobile/TAC.js +85 -85
  898. package/build/features/connectExpress/screens/Mobile/Title.d.ts +8 -8
  899. package/build/features/connectExpress/screens/Mobile/Title.js +29 -29
  900. package/build/features/connectExpress/screens/Mobile/index.d.ts +3 -3
  901. package/build/features/connectExpress/screens/Mobile/index.js +2 -2
  902. package/build/features/connectExpress/screens/Mobile/validation.d.ts +8 -8
  903. package/build/features/connectExpress/screens/Mobile/validation.js +75 -60
  904. package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +3 -0
  905. package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.js +106 -0
  906. package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +3 -0
  907. package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.js +72 -0
  908. package/build/features/connectExpress/screens/MobileOwnership/index.d.ts +2 -0
  909. package/build/features/connectExpress/screens/MobileOwnership/index.js +2 -0
  910. package/build/features/connectExpress/screens/MobileOwnership/validation.d.ts +8 -0
  911. package/build/features/connectExpress/screens/MobileOwnership/validation.js +38 -0
  912. package/build/features/connectExpress/screens/NID/IDNumber.d.ts +8 -7
  913. package/build/features/connectExpress/screens/NID/IDNumber.js +60 -60
  914. package/build/features/connectExpress/screens/NID/NID.d.ts +5 -5
  915. package/build/features/connectExpress/screens/NID/NID.js +98 -98
  916. package/build/features/connectExpress/screens/NID/TAC.d.ts +19 -19
  917. package/build/features/connectExpress/screens/NID/TAC.js +82 -82
  918. package/build/features/connectExpress/screens/NID/index.d.ts +3 -3
  919. package/build/features/connectExpress/screens/NID/index.js +2 -2
  920. package/build/features/connectExpress/screens/NID/validation.d.ts +8 -11
  921. package/build/features/connectExpress/screens/NID/validation.js +20 -22
  922. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +6 -5
  923. package/build/features/connectExpress/screens/NIDMissed/DOB.js +47 -47
  924. package/build/features/connectExpress/screens/NIDMissed/IDNumber.d.ts +6 -6
  925. package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +59 -59
  926. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +5 -5
  927. package/build/features/connectExpress/screens/NIDMissed/NID.js +62 -62
  928. package/build/features/connectExpress/screens/NIDMissed/index.d.ts +3 -3
  929. package/build/features/connectExpress/screens/NIDMissed/index.js +2 -2
  930. package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +18 -21
  931. package/build/features/connectExpress/screens/NIDMissed/validation.js +12 -13
  932. package/build/features/connectExpress/screens/OTP/OTP.d.ts +5 -5
  933. package/build/features/connectExpress/screens/OTP/OTP.js +86 -88
  934. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +5 -5
  935. package/build/features/connectExpress/screens/OTP/OTPInput.js +59 -57
  936. package/build/features/connectExpress/screens/OTP/index.d.ts +3 -3
  937. package/build/features/connectExpress/screens/OTP/index.js +2 -2
  938. package/build/features/connectExpress/screens/OTP/validation.d.ts +8 -8
  939. package/build/features/connectExpress/screens/OTP/validation.js +4 -4
  940. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +5 -0
  941. package/build/features/connectExpress/screens/OperatorError/OperatorError.js +9 -0
  942. package/build/features/connectExpress/screens/OperatorError/index.d.ts +3 -0
  943. package/build/features/connectExpress/screens/OperatorError/index.js +2 -0
  944. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +5 -0
  945. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.js +34 -0
  946. package/build/features/connectExpress/screens/PrepareDataLoading/index.d.ts +2 -0
  947. package/build/features/connectExpress/screens/PrepareDataLoading/index.js +2 -0
  948. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
  949. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +41 -41
  950. package/build/features/connectExpress/screens/SuccessWithFlowButtons/index.d.ts +2 -2
  951. package/build/features/connectExpress/screens/SuccessWithFlowButtons/index.js +2 -2
  952. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  953. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +35 -0
  954. package/build/features/connectExpress/screens/VerifyNafath/index.d.ts +3 -0
  955. package/build/features/connectExpress/screens/VerifyNafath/index.js +2 -0
  956. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +5 -5
  957. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +34 -34
  958. package/build/features/connectExpress/screens/VerifyPACI/index.d.ts +3 -3
  959. package/build/features/connectExpress/screens/VerifyPACI/index.js +2 -2
  960. package/build/features/entity/Entity.d.ts +14 -10
  961. package/build/features/entity/Entity.js +90 -77
  962. package/build/features/entity/index.d.ts +1 -1
  963. package/build/features/entity/index.js +1 -1
  964. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +38 -22
  965. package/build/features/entity/screens/EntityCapital/ActivityList.js +290 -290
  966. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +7 -7
  967. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +47 -43
  968. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +7 -7
  969. package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +40 -40
  970. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +7 -7
  971. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +47 -43
  972. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +5 -4
  973. package/build/features/entity/screens/EntityCapital/EntityCapital.js +110 -86
  974. package/build/features/entity/screens/EntityCapital/index.d.ts +2 -2
  975. package/build/features/entity/screens/EntityCapital/index.js +2 -2
  976. package/build/features/entity/screens/EntityCapital/validation.d.ts +197 -197
  977. package/build/features/entity/screens/EntityCapital/validation.js +18 -18
  978. package/build/features/entity/screens/EntityName/Article.d.ts +10 -9
  979. package/build/features/entity/screens/EntityName/Article.js +53 -53
  980. package/build/features/entity/screens/EntityName/EntityName.d.ts +5 -4
  981. package/build/features/entity/screens/EntityName/EntityName.js +162 -144
  982. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +74 -58
  983. package/build/features/entity/screens/EntityName/EntityTypeList.js +137 -138
  984. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +21 -13
  985. package/build/features/entity/screens/EntityName/ExpiryDate.js +50 -45
  986. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +21 -13
  987. package/build/features/entity/screens/EntityName/IssuingDate.js +51 -44
  988. package/build/features/entity/screens/EntityName/LegalName.d.ts +7 -7
  989. package/build/features/entity/screens/EntityName/LegalName.js +37 -49
  990. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +9 -8
  991. package/build/features/entity/screens/EntityName/LicenseCertificate.js +54 -54
  992. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +8 -8
  993. package/build/features/entity/screens/EntityName/LicenseNumber.js +52 -54
  994. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +8 -8
  995. package/build/features/entity/screens/EntityName/UnifiedNumber.js +42 -44
  996. package/build/features/entity/screens/EntityName/index.d.ts +2 -2
  997. package/build/features/entity/screens/EntityName/index.js +2 -2
  998. package/build/features/entity/screens/EntityName/validation.d.ts +88 -88
  999. package/build/features/entity/screens/EntityName/validation.js +120 -129
  1000. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +5 -0
  1001. package/build/features/entity/screens/OperatorError/OperatorError.js +9 -0
  1002. package/build/features/entity/screens/OperatorError/index.d.ts +3 -0
  1003. package/build/features/entity/screens/OperatorError/index.js +2 -0
  1004. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -4
  1005. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.js +10 -10
  1006. package/build/features/entity/screens/PrepareDataLoading/index.d.ts +2 -2
  1007. package/build/features/entity/screens/PrepareDataLoading/index.js +2 -2
  1008. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
  1009. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -21
  1010. package/build/features/entity/screens/ResetPasswordSuccess/index.d.ts +3 -3
  1011. package/build/features/entity/screens/ResetPasswordSuccess/index.js +2 -2
  1012. package/build/features/entity/screens/Success/Success.d.ts +5 -5
  1013. package/build/features/entity/screens/Success/Success.js +20 -20
  1014. package/build/features/entity/screens/Success/index.d.ts +3 -3
  1015. package/build/features/entity/screens/Success/index.js +2 -2
  1016. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
  1017. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +30 -30
  1018. package/build/features/entity/screens/SuccessWithFlowButtons/index.d.ts +2 -2
  1019. package/build/features/entity/screens/SuccessWithFlowButtons/index.js +2 -2
  1020. package/build/features/entity/screens/Verify/OTPInput.d.ts +7 -7
  1021. package/build/features/entity/screens/Verify/OTPInput.js +51 -51
  1022. package/build/features/entity/screens/Verify/Verify.d.ts +5 -5
  1023. package/build/features/entity/screens/Verify/Verify.js +79 -78
  1024. package/build/features/entity/screens/Verify/index.d.ts +2 -2
  1025. package/build/features/entity/screens/Verify/index.js +2 -2
  1026. package/build/features/entity/screens/Verify/validation.d.ts +8 -8
  1027. package/build/features/entity/screens/Verify/validation.js +4 -4
  1028. package/build/features/featuresScreens.d.ts +14 -13
  1029. package/build/features/featuresScreens.js +697 -499
  1030. package/build/features/individual/Individual.d.ts +14 -10
  1031. package/build/features/individual/Individual.js +90 -77
  1032. package/build/features/individual/index.d.ts +1 -1
  1033. package/build/features/individual/index.js +1 -1
  1034. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +21 -13
  1035. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +190 -157
  1036. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +9 -8
  1037. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +54 -54
  1038. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +8 -8
  1039. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +59 -59
  1040. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +36 -36
  1041. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.js +76 -76
  1042. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +11 -11
  1043. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +92 -89
  1044. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +10 -9
  1045. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +131 -131
  1046. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +36 -36
  1047. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +78 -78
  1048. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +7 -7
  1049. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +42 -42
  1050. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +7 -7
  1051. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +50 -45
  1052. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +9 -8
  1053. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +54 -54
  1054. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +11 -11
  1055. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +81 -81
  1056. package/build/features/individual/screens/AdditionalIndividualInfo/index.d.ts +3 -3
  1057. package/build/features/individual/screens/AdditionalIndividualInfo/index.js +2 -2
  1058. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +36 -36
  1059. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +17 -17
  1060. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +12 -12
  1061. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +32 -32
  1062. package/build/features/individual/screens/IndividualList/Email.d.ts +10 -10
  1063. package/build/features/individual/screens/IndividualList/Email.js +113 -114
  1064. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +31 -15
  1065. package/build/features/individual/screens/IndividualList/IndividualList.js +73 -58
  1066. package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +12 -12
  1067. package/build/features/individual/screens/IndividualList/MobileNumber.js +140 -142
  1068. package/build/features/individual/screens/IndividualList/UserList.d.ts +5 -4
  1069. package/build/features/individual/screens/IndividualList/UserList.js +211 -211
  1070. package/build/features/individual/screens/IndividualList/index.d.ts +3 -3
  1071. package/build/features/individual/screens/IndividualList/index.js +2 -2
  1072. package/build/features/individual/screens/IndividualList/validation.d.ts +12 -12
  1073. package/build/features/individual/screens/IndividualList/validation.js +47 -40
  1074. package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.d.ts +10 -10
  1075. package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +103 -103
  1076. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +12 -12
  1077. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +76 -76
  1078. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +9 -9
  1079. package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +46 -46
  1080. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +8 -8
  1081. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +42 -44
  1082. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +9 -9
  1083. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +47 -47
  1084. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +36 -36
  1085. package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +84 -84
  1086. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +8 -8
  1087. package/build/features/individual/screens/IndividualPersonalInfo/ID.js +44 -44
  1088. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +21 -13
  1089. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +240 -184
  1090. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +12 -12
  1091. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +76 -76
  1092. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +12 -12
  1093. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +143 -142
  1094. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +8 -8
  1095. package/build/features/individual/screens/IndividualPersonalInfo/Name.js +44 -44
  1096. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +12 -12
  1097. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +76 -76
  1098. package/build/features/individual/screens/IndividualPersonalInfo/index.d.ts +3 -3
  1099. package/build/features/individual/screens/IndividualPersonalInfo/index.js +2 -2
  1100. package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +38 -38
  1101. package/build/features/individual/screens/IndividualPersonalInfo/validation.js +80 -72
  1102. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +13 -13
  1103. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +144 -146
  1104. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +5 -5
  1105. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +64 -64
  1106. package/build/features/individual/screens/IndividualPhoneInfo/index.d.ts +3 -3
  1107. package/build/features/individual/screens/IndividualPhoneInfo/index.js +2 -2
  1108. package/build/features/individual/screens/IndividualPhoneInfo/validation.d.ts +8 -8
  1109. package/build/features/individual/screens/IndividualPhoneInfo/validation.js +39 -31
  1110. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +5 -0
  1111. package/build/features/individual/screens/OperatorError/OperatorError.js +9 -0
  1112. package/build/features/individual/screens/OperatorError/index.d.ts +3 -0
  1113. package/build/features/individual/screens/OperatorError/index.js +2 -0
  1114. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -4
  1115. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.js +10 -10
  1116. package/build/features/individual/screens/PrepareDataLoading/index.d.ts +2 -2
  1117. package/build/features/individual/screens/PrepareDataLoading/index.js +2 -2
  1118. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
  1119. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -21
  1120. package/build/features/individual/screens/ResetPasswordSuccess/index.d.ts +3 -3
  1121. package/build/features/individual/screens/ResetPasswordSuccess/index.js +2 -2
  1122. package/build/features/individual/screens/Success/Success.d.ts +5 -5
  1123. package/build/features/individual/screens/Success/Success.js +20 -20
  1124. package/build/features/individual/screens/Success/index.d.ts +3 -3
  1125. package/build/features/individual/screens/Success/index.js +2 -2
  1126. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
  1127. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +30 -30
  1128. package/build/features/individual/screens/SuccessWithFlowButtons/index.d.ts +2 -2
  1129. package/build/features/individual/screens/SuccessWithFlowButtons/index.js +2 -2
  1130. package/build/features/individual/screens/Verify/OTPInput.d.ts +7 -7
  1131. package/build/features/individual/screens/Verify/OTPInput.js +51 -51
  1132. package/build/features/individual/screens/Verify/Verify.d.ts +5 -5
  1133. package/build/features/individual/screens/Verify/Verify.js +81 -80
  1134. package/build/features/individual/screens/Verify/index.d.ts +2 -2
  1135. package/build/features/individual/screens/Verify/index.js +2 -2
  1136. package/build/features/individual/screens/Verify/validation.d.ts +8 -8
  1137. package/build/features/individual/screens/Verify/validation.js +4 -4
  1138. package/build/features/kyc/KYC.d.ts +11 -0
  1139. package/build/features/kyc/KYC.js +99 -0
  1140. package/build/features/kyc/index.d.ts +1 -0
  1141. package/build/features/kyc/index.js +1 -0
  1142. package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +5 -0
  1143. package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.js +19 -0
  1144. package/build/features/kyc/screens/AlreadySubmitted/index.d.ts +2 -0
  1145. package/build/features/kyc/screens/AlreadySubmitted/index.js +2 -0
  1146. package/build/features/kyc/screens/Loading/Loading.d.ts +4 -0
  1147. package/build/features/kyc/screens/Loading/Loading.js +10 -0
  1148. package/build/features/kyc/screens/Loading/index.d.ts +2 -0
  1149. package/build/features/kyc/screens/Loading/index.js +2 -0
  1150. package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +5 -0
  1151. package/build/features/kyc/screens/OperatorError/OperatorError.js +9 -0
  1152. package/build/features/kyc/screens/OperatorError/index.d.ts +2 -0
  1153. package/build/features/kyc/screens/OperatorError/index.js +2 -0
  1154. package/build/features/kyc/screens/Success/Success.d.ts +5 -0
  1155. package/build/features/kyc/screens/Success/Success.js +32 -0
  1156. package/build/features/kyc/screens/Success/index.d.ts +2 -0
  1157. package/build/features/kyc/screens/Success/index.js +2 -0
  1158. package/build/features/kyc/screens/Terms/Header.d.ts +6 -0
  1159. package/build/features/kyc/screens/Terms/Header.js +36 -0
  1160. package/build/features/kyc/screens/Terms/Terms.d.ts +4 -0
  1161. package/build/features/kyc/screens/Terms/Terms.js +87 -0
  1162. package/build/features/kyc/screens/Terms/index.d.ts +2 -0
  1163. package/build/features/kyc/screens/Terms/index.js +2 -0
  1164. package/build/features/kyc/screens/TokenError/TokenError.d.ts +5 -0
  1165. package/build/features/kyc/screens/TokenError/TokenError.js +9 -0
  1166. package/build/features/kyc/screens/TokenError/index.d.ts +2 -0
  1167. package/build/features/kyc/screens/TokenError/index.js +2 -0
  1168. package/build/features/kyc/screens/Users/Users.d.ts +3 -0
  1169. package/build/features/kyc/screens/Users/Users.js +76 -0
  1170. package/build/features/kyc/screens/Users/index.d.ts +2 -0
  1171. package/build/features/kyc/screens/Users/index.js +2 -0
  1172. package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  1173. package/build/features/kyc/screens/VerifyNafath/VerifyNafath.js +45 -0
  1174. package/build/features/kyc/screens/VerifyNafath/index.d.ts +3 -0
  1175. package/build/features/kyc/screens/VerifyNafath/index.js +2 -0
  1176. package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +5 -0
  1177. package/build/features/kyc/screens/VerifyPaci/VerifyPACI.js +44 -0
  1178. package/build/features/kyc/screens/VerifyPaci/index.d.ts +3 -0
  1179. package/build/features/kyc/screens/VerifyPaci/index.js +2 -0
  1180. package/build/features/password/Password.d.ts +14 -10
  1181. package/build/features/password/Password.js +143 -86
  1182. package/build/features/password/index.d.ts +1 -1
  1183. package/build/features/password/index.js +1 -1
  1184. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +7 -6
  1185. package/build/features/password/screens/CreatePassword/ConditionText.js +23 -23
  1186. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +8 -8
  1187. package/build/features/password/screens/CreatePassword/ConfirmPassword.js +22 -22
  1188. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +5 -5
  1189. package/build/features/password/screens/CreatePassword/CreatePassword.js +73 -67
  1190. package/build/features/password/screens/CreatePassword/Password.d.ts +5 -5
  1191. package/build/features/password/screens/CreatePassword/Password.js +76 -76
  1192. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +7 -6
  1193. package/build/features/password/screens/CreatePassword/PasswordBar.js +29 -29
  1194. package/build/features/password/screens/CreatePassword/index.d.ts +3 -3
  1195. package/build/features/password/screens/CreatePassword/index.js +2 -2
  1196. package/build/features/password/screens/CreatePassword/validation.d.ts +11 -11
  1197. package/build/features/password/screens/CreatePassword/validation.js +8 -8
  1198. package/build/features/password/screens/OTP/OTP.d.ts +8 -8
  1199. package/build/features/password/screens/OTP/OTP.js +91 -91
  1200. package/build/features/password/screens/OTP/OTPInput.d.ts +5 -5
  1201. package/build/features/password/screens/OTP/OTPInput.js +49 -49
  1202. package/build/features/password/screens/OTP/index.d.ts +3 -3
  1203. package/build/features/password/screens/OTP/index.js +2 -2
  1204. package/build/features/password/screens/OTP/validation.d.ts +8 -8
  1205. package/build/features/password/screens/OTP/validation.js +4 -4
  1206. package/build/features/password/screens/OperatorError/OperatorError.d.ts +5 -0
  1207. package/build/features/password/screens/OperatorError/OperatorError.js +9 -0
  1208. package/build/features/password/screens/OperatorError/index.d.ts +3 -0
  1209. package/build/features/password/screens/OperatorError/index.js +2 -0
  1210. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
  1211. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
  1212. package/build/features/password/screens/PrepareDataLoading/index.d.ts +2 -0
  1213. package/build/features/password/screens/PrepareDataLoading/index.js +2 -0
  1214. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
  1215. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -21
  1216. package/build/features/password/screens/ResetPasswordSuccess/index.d.ts +3 -3
  1217. package/build/features/password/screens/ResetPasswordSuccess/index.js +2 -2
  1218. package/build/features/password/screens/Success/Success.d.ts +5 -5
  1219. package/build/features/password/screens/Success/Success.js +26 -26
  1220. package/build/features/password/screens/Success/index.d.ts +3 -3
  1221. package/build/features/password/screens/Success/index.js +2 -2
  1222. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
  1223. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +30 -30
  1224. package/build/features/password/screens/SuccessWithFlowButtons/index.d.ts +2 -2
  1225. package/build/features/password/screens/SuccessWithFlowButtons/index.js +2 -2
  1226. package/build/features/password/screens/Verify/OTPInput.d.ts +7 -7
  1227. package/build/features/password/screens/Verify/OTPInput.js +51 -51
  1228. package/build/features/password/screens/Verify/Verify.d.ts +5 -5
  1229. package/build/features/password/screens/Verify/Verify.js +79 -78
  1230. package/build/features/password/screens/Verify/index.d.ts +2 -2
  1231. package/build/features/password/screens/Verify/index.js +2 -2
  1232. package/build/features/password/screens/Verify/validation.d.ts +8 -8
  1233. package/build/features/password/screens/Verify/validation.js +4 -4
  1234. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +7 -6
  1235. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +65 -65
  1236. package/build/features/shared/AcceptancePayouts/index.d.ts +2 -2
  1237. package/build/features/shared/AcceptancePayouts/index.js +2 -2
  1238. package/build/features/shared/Address/Address.d.ts +16 -15
  1239. package/build/features/shared/Address/Address.js +73 -73
  1240. package/build/features/shared/Address/CountryList.d.ts +72 -56
  1241. package/build/features/shared/Address/CountryList.js +89 -89
  1242. package/build/features/shared/Address/InputSelect.d.ts +71 -55
  1243. package/build/features/shared/Address/InputSelect.js +172 -172
  1244. package/build/features/shared/Address/InputText.d.ts +12 -12
  1245. package/build/features/shared/Address/InputText.js +12 -12
  1246. package/build/features/shared/Address/index.d.ts +2 -2
  1247. package/build/features/shared/Address/index.js +2 -2
  1248. package/build/features/shared/Background/Background.d.ts +14 -14
  1249. package/build/features/shared/Background/Background.js +35 -35
  1250. package/build/features/shared/Background/LogoBackground.d.ts +3 -3
  1251. package/build/features/shared/Background/LogoBackground.js +42 -42
  1252. package/build/features/shared/Background/index.d.ts +2 -2
  1253. package/build/features/shared/Background/index.js +2 -2
  1254. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +3 -2
  1255. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.js +31 -31
  1256. package/build/features/shared/BouncingDotsLoader/index.d.ts +2 -2
  1257. package/build/features/shared/BouncingDotsLoader/index.js +2 -2
  1258. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +15 -14
  1259. package/build/features/shared/BusinessCountry/BusinessCountry.js +179 -179
  1260. package/build/features/shared/BusinessCountry/index.d.ts +2 -2
  1261. package/build/features/shared/BusinessCountry/index.js +2 -2
  1262. package/build/features/shared/Button/Button.d.ts +14 -13
  1263. package/build/features/shared/Button/Button.js +117 -115
  1264. package/build/features/shared/Button/EmailProvidersButtons.d.ts +14 -13
  1265. package/build/features/shared/Button/EmailProvidersButtons.js +76 -74
  1266. package/build/features/shared/Button/FlowsButtons.d.ts +29 -28
  1267. package/build/features/shared/Button/FlowsButtons.js +246 -232
  1268. package/build/features/shared/Button/IndividualActionButtons.d.ts +21 -21
  1269. package/build/features/shared/Button/IndividualActionButtons.js +156 -156
  1270. package/build/features/shared/Button/MobileButton.d.ts +9 -8
  1271. package/build/features/shared/Button/MobileButton.js +44 -44
  1272. package/build/features/shared/Button/NafathButton.d.ts +8 -0
  1273. package/build/features/shared/Button/{AbsherButton.js → NafathButton.js} +55 -46
  1274. package/build/features/shared/Button/SuccessButton.d.ts +9 -8
  1275. package/build/features/shared/Button/SuccessButton.js +86 -86
  1276. package/build/features/shared/Button/index.d.ts +9 -9
  1277. package/build/features/shared/Button/index.js +9 -9
  1278. package/build/features/shared/Calender/Calender.d.ts +14 -12
  1279. package/build/features/shared/Calender/Calender.js +56 -56
  1280. package/build/features/shared/Calender/index.d.ts +2 -2
  1281. package/build/features/shared/Calender/index.js +2 -2
  1282. package/build/features/shared/CheckIcon/CheckIcon.d.ts +8 -7
  1283. package/build/features/shared/CheckIcon/CheckIcon.js +15 -15
  1284. package/build/features/shared/CheckIcon/index.d.ts +2 -2
  1285. package/build/features/shared/CheckIcon/index.js +2 -2
  1286. package/build/features/shared/Chip/Chip.d.ts +3 -2
  1287. package/build/features/shared/Chip/Chip.js +21 -21
  1288. package/build/features/shared/Chip/index.d.ts +2 -2
  1289. package/build/features/shared/Chip/index.js +2 -2
  1290. package/build/features/shared/ClearIcon/ClearIcon.d.ts +6 -5
  1291. package/build/features/shared/ClearIcon/ClearIcon.js +26 -26
  1292. package/build/features/shared/ClearIcon/index.d.ts +2 -2
  1293. package/build/features/shared/ClearIcon/index.js +2 -2
  1294. package/build/features/shared/Containers/FeatureContainer.d.ts +9 -8
  1295. package/build/features/shared/Containers/FeatureContainer.js +39 -37
  1296. package/build/features/shared/Containers/ScreenContainer.d.ts +4 -4
  1297. package/build/features/shared/Containers/ScreenContainer.js +29 -29
  1298. package/build/features/shared/Containers/index.d.ts +3 -3
  1299. package/build/features/shared/Containers/index.js +3 -3
  1300. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +7 -7
  1301. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +58 -58
  1302. package/build/features/shared/CreateAccountLoading/index.d.ts +2 -2
  1303. package/build/features/shared/CreateAccountLoading/index.js +2 -2
  1304. package/build/features/shared/DataLoading/DataLoading.d.ts +9 -9
  1305. package/build/features/shared/DataLoading/DataLoading.js +58 -58
  1306. package/build/features/shared/DataLoading/index.d.ts +2 -2
  1307. package/build/features/shared/DataLoading/index.js +2 -2
  1308. package/build/features/shared/Dialog/CloseDialog.d.ts +11 -10
  1309. package/build/features/shared/Dialog/CloseDialog.js +71 -71
  1310. package/build/features/shared/Dialog/DialogContainer.d.ts +8 -8
  1311. package/build/features/shared/Dialog/DialogContainer.js +57 -56
  1312. package/build/features/shared/Dialog/index.d.ts +4 -4
  1313. package/build/features/shared/Dialog/index.js +4 -4
  1314. package/build/features/shared/Dot/Dot.d.ts +8 -7
  1315. package/build/features/shared/Dot/Dot.js +29 -29
  1316. package/build/features/shared/Dot/index.d.ts +2 -2
  1317. package/build/features/shared/Dot/index.js +2 -2
  1318. package/build/features/shared/EndAdornment/EndAdornment.d.ts +10 -9
  1319. package/build/features/shared/EndAdornment/EndAdornment.js +17 -17
  1320. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +7 -6
  1321. package/build/features/shared/EndAdornment/EndAdornmentExpanded.js +13 -13
  1322. package/build/features/shared/EndAdornment/index.d.ts +3 -3
  1323. package/build/features/shared/EndAdornment/index.js +3 -3
  1324. package/build/features/shared/Footer/Footer.d.ts +2 -1
  1325. package/build/features/shared/Footer/Footer.js +29 -29
  1326. package/build/features/shared/Footer/PoweredByFooter.d.ts +9 -8
  1327. package/build/features/shared/Footer/PoweredByFooter.js +36 -36
  1328. package/build/features/shared/Footer/index.d.ts +3 -3
  1329. package/build/features/shared/Footer/index.js +3 -3
  1330. package/build/features/shared/GenericError/GenericError.d.ts +7 -7
  1331. package/build/features/shared/GenericError/GenericError.js +55 -55
  1332. package/build/features/shared/GenericError/index.d.ts +2 -2
  1333. package/build/features/shared/GenericError/index.js +2 -2
  1334. package/build/features/shared/Input/Input.d.ts +27 -19
  1335. package/build/features/shared/Input/Input.js +55 -55
  1336. package/build/features/shared/Input/index.d.ts +3 -3
  1337. package/build/features/shared/Input/index.js +2 -2
  1338. package/build/features/shared/InputSelect/InputSelect.d.ts +4 -3
  1339. package/build/features/shared/InputSelect/InputSelect.js +33 -33
  1340. package/build/features/shared/InputSelect/index.d.ts +2 -2
  1341. package/build/features/shared/InputSelect/index.js +2 -2
  1342. package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
  1343. package/build/features/shared/Mandatory/Mandatory.js +20 -20
  1344. package/build/features/shared/Mandatory/index.d.ts +2 -2
  1345. package/build/features/shared/Mandatory/index.js +2 -2
  1346. package/build/features/shared/NafathVerification/NafathVerification.d.ts +14 -0
  1347. package/build/features/shared/NafathVerification/NafathVerification.js +92 -0
  1348. package/build/features/shared/NafathVerification/VerifyNafathLoading.d.ts +8 -0
  1349. package/build/features/shared/NafathVerification/VerifyNafathLoading.js +53 -0
  1350. package/build/features/shared/NafathVerification/VerifyNafathSuccess.d.ts +5 -0
  1351. package/build/features/shared/NafathVerification/VerifyNafathSuccess.js +8 -0
  1352. package/build/features/shared/NafathVerification/index.d.ts +2 -0
  1353. package/build/features/shared/NafathVerification/index.js +2 -0
  1354. package/build/features/shared/OTP/OTP.d.ts +11 -11
  1355. package/build/features/shared/OTP/OTP.js +93 -93
  1356. package/build/features/shared/OTP/index.d.ts +2 -2
  1357. package/build/features/shared/OTP/index.js +2 -2
  1358. package/build/features/shared/PaciVerification/PaciVerification.d.ts +12 -12
  1359. package/build/features/shared/PaciVerification/PaciVerification.js +91 -91
  1360. package/build/features/shared/PaciVerification/VerifyPACILoading.d.ts +7 -7
  1361. package/build/features/shared/PaciVerification/VerifyPACILoading.js +27 -27
  1362. package/build/features/shared/PaciVerification/VerifyPACISuccess.d.ts +5 -5
  1363. package/build/features/shared/PaciVerification/VerifyPACISuccess.js +8 -8
  1364. package/build/features/shared/PaciVerification/index.d.ts +2 -2
  1365. package/build/features/shared/PaciVerification/index.js +2 -2
  1366. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +8 -7
  1367. package/build/features/shared/PasswordIcon/PasswordIcon.js +37 -37
  1368. package/build/features/shared/PasswordIcon/index.d.ts +2 -2
  1369. package/build/features/shared/PasswordIcon/index.js +2 -2
  1370. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +13 -12
  1371. package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +102 -102
  1372. package/build/features/shared/SalesChannels/SalesChannel.d.ts +14 -14
  1373. package/build/features/shared/SalesChannels/SalesChannel.js +154 -154
  1374. package/build/features/shared/SalesChannels/index.d.ts +2 -2
  1375. package/build/features/shared/SalesChannels/index.js +2 -2
  1376. package/build/features/shared/Search/Search.d.ts +8 -7
  1377. package/build/features/shared/Search/Search.js +13 -13
  1378. package/build/features/shared/Search/index.d.ts +2 -2
  1379. package/build/features/shared/Search/index.js +2 -2
  1380. package/build/features/shared/SearchIcon/SearchIcon.d.ts +6 -5
  1381. package/build/features/shared/SearchIcon/SearchIcon.js +26 -26
  1382. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +24 -19
  1383. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +133 -136
  1384. package/build/features/shared/SuccessFlowButtons/index.d.ts +2 -2
  1385. package/build/features/shared/SuccessFlowButtons/index.js +2 -2
  1386. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +14 -14
  1387. package/build/features/shared/SuccessScreen/SuccessScreen.js +63 -63
  1388. package/build/features/shared/SuccessScreen/index.d.ts +2 -2
  1389. package/build/features/shared/SuccessScreen/index.js +2 -2
  1390. package/build/features/shared/UploadFile/FileUpload.d.ts +32 -32
  1391. package/build/features/shared/UploadFile/FileUpload.js +267 -267
  1392. package/build/features/shared/UploadFile/UploadFile.d.ts +29 -29
  1393. package/build/features/shared/UploadFile/UploadFile.js +91 -91
  1394. package/build/features/shared/UploadFile/UploadWrapper.d.ts +36 -36
  1395. package/build/features/shared/UploadFile/UploadWrapper.js +115 -115
  1396. package/build/features/shared/UploadFile/index.d.ts +3 -3
  1397. package/build/features/shared/UploadFile/index.js +3 -3
  1398. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +29 -29
  1399. package/build/features/shared/UploadMultipleFile/UploadFile.js +273 -273
  1400. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +36 -36
  1401. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +178 -178
  1402. package/build/features/shared/UploadMultipleFile/index.d.ts +2 -2
  1403. package/build/features/shared/UploadMultipleFile/index.js +2 -2
  1404. package/build/features/signIn/SignIn.d.ts +8 -7
  1405. package/build/features/signIn/SignIn.js +61 -50
  1406. package/build/features/signIn/index.d.ts +1 -1
  1407. package/build/features/signIn/index.js +1 -1
  1408. package/build/features/signIn/screens/Email/Email.d.ts +5 -5
  1409. package/build/features/signIn/screens/Email/Email.js +98 -98
  1410. package/build/features/signIn/screens/Email/EmailField.d.ts +5 -5
  1411. package/build/features/signIn/screens/Email/EmailField.js +55 -55
  1412. package/build/features/signIn/screens/Email/index.d.ts +3 -3
  1413. package/build/features/signIn/screens/Email/index.js +2 -2
  1414. package/build/features/signIn/screens/Email/validation.d.ts +8 -8
  1415. package/build/features/signIn/screens/Email/validation.js +5 -5
  1416. package/build/features/signIn/screens/Mobile/Mobile.d.ts +5 -5
  1417. package/build/features/signIn/screens/Mobile/Mobile.js +111 -111
  1418. package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +11 -11
  1419. package/build/features/signIn/screens/Mobile/MobileNumber.js +152 -151
  1420. package/build/features/signIn/screens/Mobile/index.d.ts +3 -3
  1421. package/build/features/signIn/screens/Mobile/index.js +2 -2
  1422. package/build/features/signIn/screens/Mobile/validation.d.ts +8 -8
  1423. package/build/features/signIn/screens/Mobile/validation.js +36 -28
  1424. package/build/features/signIn/screens/OTP/OTP.d.ts +5 -5
  1425. package/build/features/signIn/screens/OTP/OTP.js +94 -93
  1426. package/build/features/signIn/screens/OTP/OTPInput.d.ts +5 -5
  1427. package/build/features/signIn/screens/OTP/OTPInput.js +55 -55
  1428. package/build/features/signIn/screens/OTP/index.d.ts +3 -3
  1429. package/build/features/signIn/screens/OTP/index.js +2 -2
  1430. package/build/features/signIn/screens/OTP/validation.d.ts +8 -8
  1431. package/build/features/signIn/screens/OTP/validation.js +4 -4
  1432. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +5 -0
  1433. package/build/features/signIn/screens/OperatorError/OperatorError.js +9 -0
  1434. package/build/features/signIn/screens/OperatorError/index.d.ts +3 -0
  1435. package/build/features/signIn/screens/OperatorError/index.js +2 -0
  1436. package/build/features/signIn/screens/Password/Password.d.ts +5 -5
  1437. package/build/features/signIn/screens/Password/Password.js +68 -68
  1438. package/build/features/signIn/screens/Password/PasswordInput.d.ts +5 -5
  1439. package/build/features/signIn/screens/Password/PasswordInput.js +28 -28
  1440. package/build/features/signIn/screens/Password/index.d.ts +3 -3
  1441. package/build/features/signIn/screens/Password/index.js +2 -2
  1442. package/build/features/signIn/screens/Password/validation.d.ts +8 -8
  1443. package/build/features/signIn/screens/Password/validation.js +4 -4
  1444. package/build/features/tax/Tax.d.ts +14 -10
  1445. package/build/features/tax/Tax.js +90 -77
  1446. package/build/features/tax/index.d.ts +1 -1
  1447. package/build/features/tax/index.js +1 -1
  1448. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +5 -0
  1449. package/build/features/tax/screens/OperatorError/OperatorError.js +9 -0
  1450. package/build/features/tax/screens/OperatorError/index.d.ts +3 -0
  1451. package/build/features/tax/screens/OperatorError/index.js +2 -0
  1452. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -4
  1453. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.js +10 -10
  1454. package/build/features/tax/screens/PrepareDataLoading/index.d.ts +2 -2
  1455. package/build/features/tax/screens/PrepareDataLoading/index.js +2 -2
  1456. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -5
  1457. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -21
  1458. package/build/features/tax/screens/ResetPasswordSuccess/index.d.ts +3 -3
  1459. package/build/features/tax/screens/ResetPasswordSuccess/index.js +2 -2
  1460. package/build/features/tax/screens/Success/Success.d.ts +5 -5
  1461. package/build/features/tax/screens/Success/Success.js +22 -22
  1462. package/build/features/tax/screens/Success/index.d.ts +3 -3
  1463. package/build/features/tax/screens/Success/index.js +2 -2
  1464. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -3
  1465. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +30 -30
  1466. package/build/features/tax/screens/SuccessWithFlowButtons/index.d.ts +2 -2
  1467. package/build/features/tax/screens/SuccessWithFlowButtons/index.js +2 -2
  1468. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +6 -5
  1469. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +66 -66
  1470. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +5 -4
  1471. package/build/features/tax/screens/TaxDetails/TaxDetails.js +81 -75
  1472. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +9 -8
  1473. package/build/features/tax/screens/TaxDetails/TaxDocument.js +50 -50
  1474. package/build/features/tax/screens/TaxDetails/VATId.d.ts +7 -6
  1475. package/build/features/tax/screens/TaxDetails/VATId.js +42 -42
  1476. package/build/features/tax/screens/TaxDetails/index.d.ts +3 -3
  1477. package/build/features/tax/screens/TaxDetails/index.js +2 -2
  1478. package/build/features/tax/screens/TaxDetails/validation.d.ts +14 -14
  1479. package/build/features/tax/screens/TaxDetails/validation.js +8 -8
  1480. package/build/features/tax/screens/Verify/OTPInput.d.ts +7 -7
  1481. package/build/features/tax/screens/Verify/OTPInput.js +51 -51
  1482. package/build/features/tax/screens/Verify/Verify.d.ts +5 -5
  1483. package/build/features/tax/screens/Verify/Verify.js +76 -75
  1484. package/build/features/tax/screens/Verify/index.d.ts +2 -2
  1485. package/build/features/tax/screens/Verify/index.js +2 -2
  1486. package/build/features/tax/screens/Verify/validation.d.ts +8 -8
  1487. package/build/features/tax/screens/Verify/validation.js +4 -4
  1488. package/build/hooks/index.d.ts +25 -22
  1489. package/build/hooks/index.js +25 -22
  1490. package/build/hooks/useAppConfig.d.ts +12 -12
  1491. package/build/hooks/useAppConfig.js +68 -67
  1492. package/build/hooks/useAppDispatch.d.ts +16 -15
  1493. package/build/hooks/useAppDispatch.js +2 -2
  1494. package/build/hooks/useAppSelector.d.ts +3 -3
  1495. package/build/hooks/useAppSelector.js +2 -2
  1496. package/build/hooks/useAppTheme.d.ts +4 -4
  1497. package/build/hooks/useAppTheme.js +16 -15
  1498. package/build/hooks/useContainerDimensions.d.ts +4 -4
  1499. package/build/hooks/useContainerDimensions.js +21 -21
  1500. package/build/hooks/useCountDown.d.ts +10 -0
  1501. package/build/hooks/useCountDown.js +17 -0
  1502. package/build/hooks/useCountUp.d.ts +9 -9
  1503. package/build/hooks/useCountUp.js +17 -17
  1504. package/build/hooks/useCountry.d.ts +5 -5
  1505. package/build/hooks/useCountry.js +8 -8
  1506. package/build/hooks/useDataNoneEditable.d.ts +2 -2
  1507. package/build/hooks/useDataNoneEditable.js +19 -19
  1508. package/build/hooks/useDataVerified.d.ts +6 -6
  1509. package/build/hooks/useDataVerified.js +19 -19
  1510. package/build/hooks/useErrorListener.d.ts +2 -2
  1511. package/build/hooks/useErrorListener.js +27 -27
  1512. package/build/hooks/useEventListener.d.ts +5 -5
  1513. package/build/hooks/useEventListener.js +20 -20
  1514. package/build/hooks/useExcludeReadOnlyFelids.d.ts +11 -11
  1515. package/build/hooks/useExcludeReadOnlyFelids.js +33 -33
  1516. package/build/hooks/useFormDirtyCheck.d.ts +10 -0
  1517. package/build/hooks/useFormDirtyCheck.js +66 -0
  1518. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +6 -6
  1519. package/build/hooks/useFormErrorAndUpdateReadOnly.js +48 -48
  1520. package/build/hooks/useFormReadOnly.d.ts +6 -6
  1521. package/build/hooks/useFormReadOnly.js +40 -40
  1522. package/build/hooks/useLanguage.d.ts +4 -4
  1523. package/build/hooks/useLanguage.js +8 -8
  1524. package/build/hooks/useRedirectionListener.d.ts +4 -4
  1525. package/build/hooks/useRedirectionListener.js +12 -12
  1526. package/build/hooks/useSanitizedTranslation.d.ts +2 -0
  1527. package/build/hooks/useSanitizedTranslation.js +15 -0
  1528. package/build/hooks/useScreen.d.ts +3 -3
  1529. package/build/hooks/useScreen.js +14 -14
  1530. package/build/hooks/useSetFromDefaultValues.d.ts +2 -2
  1531. package/build/hooks/useSetFromDefaultValues.js +26 -26
  1532. package/build/hooks/useStepStartedListener.d.ts +1 -1
  1533. package/build/hooks/useStepStartedListener.js +10 -10
  1534. package/build/hooks/useThemeMode.d.ts +4 -4
  1535. package/build/hooks/useThemeMode.js +7 -7
  1536. package/build/hooks/useVerifyToken.d.ts +18 -16
  1537. package/build/hooks/useVerifyToken.js +30 -25
  1538. package/build/hooks/useWindowSize.d.ts +6 -6
  1539. package/build/hooks/useWindowSize.js +19 -19
  1540. package/build/i18n.d.ts +2 -2
  1541. package/build/i18n.js +34 -34
  1542. package/build/index.css +360 -120
  1543. package/build/index.d.ts +17 -16
  1544. package/build/index.js +32 -30
  1545. package/build/theme/components.d.ts +2 -2
  1546. package/build/theme/components.js +26 -19
  1547. package/build/theme/index.d.ts +1 -1
  1548. package/build/theme/index.js +1 -1
  1549. package/build/theme/palette.d.ts +3 -3
  1550. package/build/theme/palette.js +70 -69
  1551. package/build/theme/shadows.d.ts +2 -2
  1552. package/build/theme/shadows.js +27 -27
  1553. package/build/theme/theme.d.ts +2 -2
  1554. package/build/theme/theme.js +43 -43
  1555. package/build/theme/typography.d.ts +2 -2
  1556. package/build/theme/typography.js +31 -31
  1557. package/build/utils/array.d.ts +79 -79
  1558. package/build/utils/array.js +366 -366
  1559. package/build/utils/common.d.ts +6 -5
  1560. package/build/utils/common.js +56 -43
  1561. package/build/utils/date.d.ts +3 -3
  1562. package/build/utils/date.js +17 -17
  1563. package/build/utils/device.d.ts +7 -7
  1564. package/build/utils/device.js +32 -32
  1565. package/build/utils/error.d.ts +3 -2
  1566. package/build/utils/error.js +9 -6
  1567. package/build/utils/gtm.d.ts +6 -6
  1568. package/build/utils/gtm.js +29 -29
  1569. package/build/utils/html.d.ts +4 -4
  1570. package/build/utils/html.js +27 -27
  1571. package/build/utils/index.d.ts +13 -13
  1572. package/build/utils/index.js +13 -13
  1573. package/build/utils/locale.d.ts +2 -2
  1574. package/build/utils/locale.js +23 -23
  1575. package/build/utils/object.d.ts +11 -10
  1576. package/build/utils/object.js +69 -66
  1577. package/build/utils/rsa.d.ts +2 -2
  1578. package/build/utils/rsa.js +19 -19
  1579. package/build/utils/storage.d.ts +5 -5
  1580. package/build/utils/storage.js +21 -21
  1581. package/build/utils/string.d.ts +80 -76
  1582. package/build/utils/string.js +346 -321
  1583. package/build/utils/style.d.ts +1 -1
  1584. package/build/utils/style.js +1 -1
  1585. package/build/utils/validation.d.ts +23 -21
  1586. package/build/utils/validation.js +70 -64
  1587. package/package.json +134 -131
  1588. package/build/features/auth/screens/NID/DOB.d.ts +0 -6
  1589. package/build/features/business/screens/OTP/OTP.d.ts +0 -8
  1590. package/build/features/business/screens/OTP/OTP.js +0 -90
  1591. package/build/features/business/screens/OTP/OTPInput.d.ts +0 -5
  1592. package/build/features/business/screens/OTP/OTPInput.js +0 -49
  1593. package/build/features/business/screens/OTP/index.d.ts +0 -3
  1594. package/build/features/business/screens/OTP/index.js +0 -2
  1595. package/build/features/business/screens/OTP/validation.js +0 -4
  1596. package/build/features/connect/screens/NID/DOB.d.ts +0 -5
  1597. package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +0 -5
  1598. package/build/features/connectExpress/screens/IdentityOTP/OTP.js +0 -87
  1599. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +0 -5
  1600. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +0 -54
  1601. package/build/features/connectExpress/screens/IdentityOTP/index.d.ts +0 -3
  1602. package/build/features/connectExpress/screens/IdentityOTP/index.js +0 -2
  1603. package/build/features/connectExpress/screens/IdentityOTP/validation.js +0 -4
  1604. package/build/features/connectExpress/screens/NID/DOB.d.ts +0 -6
  1605. package/build/features/shared/Button/AbsherButton.d.ts +0 -7
@@ -1,530 +1,563 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
- return new (P || (P = Promise))(function (resolve, reject) {
15
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
- step((generator = generator.apply(thisArg, _arguments || [])).next());
19
- });
20
- };
21
- var __generator = (this && this.__generator) || function (thisArg, body) {
22
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
23
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
- function verb(n) { return function (v) { return step([n, v]); }; }
25
- function step(op) {
26
- if (f) throw new TypeError("Generator is already executing.");
27
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
- if (y = 0, t) op = [op[0] & 2, t.value];
30
- switch (op[0]) {
31
- case 0: case 1: t = op; break;
32
- case 4: _.label++; return { value: op[1], done: false };
33
- case 5: _.label++; y = op[1]; op = [0]; continue;
34
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
35
- default:
36
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
37
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
38
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
39
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
40
- if (t[2]) _.ops.pop();
41
- _.trys.pop(); continue;
42
- }
43
- op = body.call(thisArg, _);
44
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
45
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
- }
47
- };
48
- var _a;
49
- import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
50
- import API from '../../../api';
51
- import { DocumentPurpose, FlowsTypes } from '../../../@types';
52
- import { handleCurrentActiveScreen, handleNextScreenStep, handlePrevScreenStep, handlePublicKey, handleSetCountryByIso2, onCloseComplete } from '../../../app/settings';
53
- import { BANK_STEP_NAMES } from '../../../constants';
54
- import { hasNoneEditableValue, isStringHasOneAsterisk, retrieveIndividualData, sleep } from '../../../utils';
55
- export var verifyLeadToken = createAsyncThunk('bankVerifyLeadToken', function (_a, thunkApi) {
56
- var token = _a.token, isInternally = _a.isInternally;
57
- return __awaiter(void 0, void 0, void 0, function () {
58
- var payload, data, boardData, boardInfoData, individualData, _b, board_id, board_info_id, config, publicKey, _c, id_1, type_1, serviceCallBack, _d, boardRes, individualRes, countryIso2;
59
- var _e, _f, _g, _h, _j;
60
- return __generator(this, function (_k) {
61
- switch (_k.label) {
62
- case 0:
63
- payload = __assign({ service_name: 'tap_email', verify_token: token }, (isInternally && {
64
- notification: {
65
- sms: false
66
- }
67
- }));
68
- return [4, API.leadService.verifyLeadToken(payload)];
69
- case 1:
70
- data = (_k.sent()).data;
71
- individualData = undefined;
72
- if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
73
- throw new Error(data.errors[0].description);
74
- _b = data || {}, board_id = _b.id, board_info_id = _b.board_info_id, config = _b.config;
75
- publicKey = config === null || config === void 0 ? void 0 : config.public_key;
76
- if (publicKey) {
77
- thunkApi.dispatch(handlePublicKey(publicKey));
78
- }
79
- if (!board_id) return [3, 6];
80
- if (!board_info_id) return [3, 3];
81
- return [4, API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id })];
82
- case 2:
83
- boardInfoData = _k.sent();
84
- _k.label = 3;
85
- case 3: return [4, API.boardService.retrieveBoardDetails(board_id)];
86
- case 4:
87
- boardData = _k.sent();
88
- _c = ((_f = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _f === void 0 ? void 0 : _f.recipient) || {}, id_1 = _c.id, type_1 = _c.type;
89
- serviceCallBack = function () { return API.individualService.retrieveIndividual(id_1, type_1); };
90
- return [4, retrieveIndividualData(type_1, boardData, serviceCallBack)];
91
- case 5:
92
- _d = _k.sent(), boardRes = _d.boardRes, individualRes = _d.individualRes;
93
- boardData = boardRes;
94
- individualData = individualRes;
95
- _k.label = 6;
96
- case 6:
97
- countryIso2 = (_g = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _g === void 0 ? void 0 : _g.country;
98
- if (countryIso2)
99
- thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
100
- if (isInternally)
101
- data.step_name = BANK_STEP_NAMES.BANK_INFO;
102
- if (data.step_name === BANK_STEP_NAMES.PHONE_AUTH) {
103
- thunkApi.dispatch(handleCurrentActiveScreen('BANK_VERIFY_STEP'));
104
- }
105
- else if (data.step_name === BANK_STEP_NAMES.BANK_INFO) {
106
- thunkApi.dispatch(handleNextScreenStep());
107
- }
108
- return [2, {
109
- data: data,
110
- individualData: individualData,
111
- boardResponse: {
112
- user: boardData === null || boardData === void 0 ? void 0 : boardData.user,
113
- brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand,
114
- bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account,
115
- entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity,
116
- merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant,
117
- name: (_h = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _h === void 0 ? void 0 : _h.names,
118
- contact: (_j = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _j === void 0 ? void 0 : _j.contact,
119
- business: boardData === null || boardData === void 0 ? void 0 : boardData.business,
120
- individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals,
121
- notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification
122
- },
123
- token: token
124
- }];
125
- }
126
- });
127
- });
128
- });
129
- export var resendOTP = createAsyncThunk('resendOTPBank', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
130
- var bank, payload, data;
131
- return __generator(this, function (_a) {
132
- switch (_a.label) {
133
- case 0:
134
- bank = thunkApi.getState().bank;
135
- payload = {
136
- service_name: 'tap_email',
137
- verify_token: bank.data.verify.token
138
- };
139
- return [4, API.leadService.verifyLeadToken(payload)];
140
- case 1:
141
- data = (_a.sent()).data;
142
- return [2, { data: data }];
143
- }
144
- });
145
- }); });
146
- export var verifyBankLeadOTP = createAsyncThunk('verifyBankLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
147
- var _a, bank, settings, responseBody, payload, data, publicKey;
148
- var _b, _c, _d, _e;
149
- return __generator(this, function (_f) {
150
- switch (_f.label) {
151
- case 0:
152
- _a = thunkApi.getState(), bank = _a.bank, settings = _a.settings;
153
- responseBody = bank.data.verify.responseBody;
154
- payload = {
155
- data: params.otp,
156
- service_name: (_b = responseBody === null || responseBody === void 0 ? void 0 : responseBody.verification_by) === null || _b === void 0 ? void 0 : _b.service_name,
157
- verify_token: responseBody === null || responseBody === void 0 ? void 0 : responseBody.verify_token,
158
- step_name: BANK_STEP_NAMES.PHONE_AUTH,
159
- encryption_contract: ['data']
160
- };
161
- return [4, API.leadService.verifyLeadOTP(payload)];
162
- case 1:
163
- data = (_f.sent()).data;
164
- if (!data.errors) {
165
- publicKey = (_c = data === null || data === void 0 ? void 0 : data.config) === null || _c === void 0 ? void 0 : _c.public_key;
166
- if (publicKey) {
167
- thunkApi.dispatch(handlePublicKey(publicKey));
168
- }
169
- (_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, { otp: params.otp });
170
- sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
171
- }
172
- return [2, { data: data, formData: params }];
173
- }
174
- });
175
- }); });
176
- export var retrieveBoardStatus = createAsyncThunk('bank/retrieveBoardStatus', function (parmas, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
177
- var bank, board_id, data;
178
- return __generator(this, function (_a) {
179
- switch (_a.label) {
180
- case 0:
181
- bank = thunkApi.getState().bank;
182
- board_id = (bank.data.verify.responseBody || {}).id;
183
- return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
184
- case 1:
185
- data = _a.sent();
186
- thunkApi.dispatch(handlePrevScreenStep());
187
- return [2, { flows: (data === null || data === void 0 ? void 0 : data.info) || [] }];
188
- }
189
- });
190
- }); });
191
- export var retrieveBoardDetails = createAsyncThunk('bank/retrieveBoardDetails', function (boardId) { return __awaiter(void 0, void 0, void 0, function () {
192
- var data;
193
- var _a, _b;
194
- return __generator(this, function (_c) {
195
- switch (_c.label) {
196
- case 0: return [4, API.boardService.retrieveBoardDetails(boardId)];
197
- case 1:
198
- data = _c.sent();
199
- return [2, {
200
- data: __assign(__assign({}, data), { user: data === null || data === void 0 ? void 0 : data.user, brand: data === null || data === void 0 ? void 0 : data.brand, bank_account: data === null || data === void 0 ? void 0 : data.bank_account, entity: data === null || data === void 0 ? void 0 : data.entity, merchant: data === null || data === void 0 ? void 0 : data.merchant, name: (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.names, business: data === null || data === void 0 ? void 0 : data.business, individuals: data === null || data === void 0 ? void 0 : data.individuals, contact: (_b = data === null || data === void 0 ? void 0 : data.user) === null || _b === void 0 ? void 0 : _b.contact })
201
- }];
202
- }
203
- });
204
- }); });
205
- export var createBankAccount = createAsyncThunk('createBankAccount', function (_a, thunkApi) {
206
- var formData = _a.formData, originalFormData = _a.originalFormData;
207
- return __awaiter(void 0, void 0, void 0, function () {
208
- var _b, settings, bank, iban, beneficiaryName, bankName, bankStatementId, confirmPolicy, _c, bank_account, notification, _d, data_status, document, isIBANMasked, isIBANNonEditable, isBeneficiaryNameNonEditable, isBankNameNonEditable, isBankStatementIdNonEditable, isConfirmPolicyNonEditable, documentResponse, hasDocument, documentId, requestBody, data, documentBody;
209
- var _e, _f, _g, _h, _j, _k, _l, _m, _o;
210
- return __generator(this, function (_p) {
211
- switch (_p.label) {
212
- case 0:
213
- _b = thunkApi.getState(), settings = _b.settings, bank = _b.bank;
214
- iban = formData.iban, beneficiaryName = formData.beneficiaryName, bankName = formData.bankName, bankStatementId = formData.bankStatementId, confirmPolicy = formData.confirmPolicy;
215
- _c = bank.data.verify.responseBody || {}, bank_account = _c.bank_account, notification = _c.notification;
216
- _d = bank_account || {}, data_status = _d.data_status, document = _d.document;
217
- isIBANMasked = isStringHasOneAsterisk(iban);
218
- isIBANNonEditable = hasNoneEditableValue(data_status, 'iban');
219
- isBeneficiaryNameNonEditable = hasNoneEditableValue(data_status, 'beneficiary_name');
220
- isBankNameNonEditable = hasNoneEditableValue(data_status, 'bank_name');
221
- isBankStatementIdNonEditable = hasNoneEditableValue(data_status, 'bank_statement_file_id');
222
- isConfirmPolicyNonEditable = hasNoneEditableValue(data_status, 'is_acknowledged');
223
- documentResponse = undefined;
224
- hasDocument = (bankStatementId || []).length > 0;
225
- documentId = document === null || document === void 0 ? void 0 : document.id;
226
- requestBody = {
227
- wallet_id: (_j = (_h = (_g = (_f = (_e = bank.data.verify.responseBody) === null || _e === void 0 ? void 0 : _e.business) === null || _f === void 0 ? void 0 : _f.entity) === null || _g === void 0 ? void 0 : _g.merchant) === null || _h === void 0 ? void 0 : _h.wallet) === null || _j === void 0 ? void 0 : _j.id,
228
- bank_account: __assign(__assign({ iban: isIBANNonEditable || isIBANMasked ? undefined : iban, beneficiary_name: isBeneficiaryNameNonEditable ? undefined : beneficiaryName, bank_name: isBankNameNonEditable ? undefined : bankName }, (!isConfirmPolicyNonEditable && {
229
- acknowledged_by: (_k = notification === null || notification === void 0 ? void 0 : notification.recipient) === null || _k === void 0 ? void 0 : _k.id,
230
- is_acknowledged: confirmPolicy
231
- })), (!(isBankStatementIdNonEditable || documentId || !hasDocument) && {
232
- document: {
233
- type: DocumentPurpose.BANK_STATEMENT,
234
- files: bankStatementId || []
235
- }
236
- })),
237
- step_name: BANK_STEP_NAMES.BANK_INFO,
238
- encryption_contract: ['bank_account.iban', 'bank_account.beneficiary_name', 'bank_account.bank_name']
239
- };
240
- return [4, API.entityService.createBankAccount(requestBody)];
241
- case 1:
242
- data = (_p.sent()).data;
243
- if ((_l = data.errors) === null || _l === void 0 ? void 0 : _l.length)
244
- throw new Error(data.errors[0].description);
245
- if (!(!isBankStatementIdNonEditable && documentId && hasDocument)) return [3, 3];
246
- documentBody = {
247
- id: documentId,
248
- files: bankStatementId || []
249
- };
250
- return [4, API.documentService.addFilesToExistingDocument(documentBody)];
251
- case 2:
252
- documentResponse = _p.sent();
253
- _p.label = 3;
254
- case 3:
255
- data.documentData = documentResponse;
256
- thunkApi.dispatch(handleNextScreenStep());
257
- (_o = (_m = settings.data.appConfig).onStepCompleted) === null || _o === void 0 ? void 0 : _o.call(_m, settings.data.activeScreen.name, requestBody);
258
- return [2, { data: data, formData: originalFormData }];
259
- }
260
- });
261
- });
262
- });
263
- export var checkIbanBank = createAsyncThunk('checkIbanBank', function (_a) {
264
- var iban = _a.iban, cancelToken = _a.cancelToken, onSuccess = _a.onSuccess;
265
- return __awaiter(void 0, void 0, void 0, function () {
266
- var payload, data;
267
- return __generator(this, function (_b) {
268
- switch (_b.label) {
269
- case 0:
270
- payload = {
271
- iban_number: iban,
272
- encryption_contract: ['iban_number']
273
- };
274
- onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();
275
- return [4, API.availabilityServices.checkIbanBank(payload, { cancelToken: cancelToken })];
276
- case 1:
277
- data = (_b.sent()).data;
278
- return [2, { data: data }];
279
- }
280
- });
281
- });
282
- });
283
- export var updateBoardSuccess = createAsyncThunk('updateBoardBankSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
284
- var _a, settings, bank, _b, id, infoId, payload, data, boardInfoData;
285
- var _c, _d, _e, _f;
286
- return __generator(this, function (_g) {
287
- switch (_g.label) {
288
- case 0:
289
- _a = thunkApi.getState(), settings = _a.settings, bank = _a.bank;
290
- _b = bank.data.verify.responseBody || {}, id = _b.board_id, infoId = _b.board_info_id;
291
- if (!id)
292
- return [2];
293
- payload = {
294
- lang: settings.data.language,
295
- step_name: BANK_STEP_NAMES.BANK_SUCCESS,
296
- id: id
297
- };
298
- return [4, API.boardService.updateBoardInfo(__assign({ id: id, infoId: infoId }, payload))];
299
- case 1:
300
- data = _g.sent();
301
- return [4, API.boardService.retrieveBoardInfoStatus(id)];
302
- case 2:
303
- boardInfoData = _g.sent();
304
- return [4, thunkApi.dispatch(retrieveBoardDetails(id))];
305
- case 3:
306
- _g.sent();
307
- (_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, {});
308
- (_f = (_e = settings.data.appConfig).onFlowCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, { data: data });
309
- thunkApi.dispatch(handleNextScreenStep());
310
- return [2, { response: __assign(__assign({}, data), { flows: (boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.info) || [] }), formData: params }];
311
- }
312
- });
313
- }); });
314
- export var onCloseCompleteBank = createAsyncThunk('bank/onCloseCompleteBank', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
315
- var bank, _a, merchant, brand, entity;
316
- return __generator(this, function (_b) {
317
- switch (_b.label) {
318
- case 0:
319
- bank = thunkApi.getState().bank;
320
- _a = bank.data.verify.responseBody || {}, merchant = _a.merchant, brand = _a.brand, entity = _a.entity;
321
- return [4, thunkApi.dispatch(onCloseComplete({ merchantId: merchant === null || merchant === void 0 ? void 0 : merchant.id, brandId: brand === null || brand === void 0 ? void 0 : brand.id, entityId: entity === null || entity === void 0 ? void 0 : entity.id }))];
322
- case 1:
323
- _b.sent();
324
- return [2];
325
- }
326
- });
327
- }); });
328
- var initialState = {
329
- error: null,
330
- loading: false,
331
- customLoading: false,
332
- data: {
333
- flowName: FlowsTypes.BANK,
334
- verify: {
335
- token: ''
336
- },
337
- otpData: {
338
- otp: ''
339
- },
340
- bankData: {
341
- iban: '',
342
- beneficiaryName: '',
343
- bankName: '',
344
- confirmPolicy: false,
345
- uploading: false
346
- }
347
- }
348
- };
349
- export var bankSlice = createSlice({
350
- name: 'bank/store',
351
- initialState: initialState,
352
- reducers: {
353
- clearError: function (state) {
354
- state.error = null;
355
- },
356
- stopLoader: function (state) {
357
- state.loading = false;
358
- },
359
- resetOTPScreen: function (state) {
360
- state.data.otpData.otp = '';
361
- },
362
- bankStatementUploadingStatus: function (state, action) {
363
- state.data.bankData.uploading = action.payload;
364
- }
365
- },
366
- extraReducers: function (builder) {
367
- builder
368
- .addCase(verifyLeadToken.pending, function (state) {
369
- state.error = null;
370
- state.customLoading = true;
371
- })
372
- .addCase(verifyLeadToken.fulfilled, function (state, action) {
373
- var _a;
374
- state.error = null;
375
- state.customLoading = false;
376
- var _b = action.payload, data = _b.data, token = _b.token, boardResponse = _b.boardResponse, individualData = _b.individualData;
377
- var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
378
- if (description) {
379
- state.error = description;
380
- return;
381
- }
382
- state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, data), boardResponse), state.data.verify.responseBody), { board_id: data.id, individualData: individualData });
383
- state.data.verify.token = token;
384
- var _c = (boardResponse === null || boardResponse === void 0 ? void 0 : boardResponse.bank_account) || {}, bank_name = _c.bank_name, beneficiary_name = _c.beneficiary_name, iban = _c.iban, is_acknowledged = _c.is_acknowledged;
385
- state.data.bankData.bankName = bank_name || '';
386
- state.data.bankData.beneficiaryName = beneficiary_name || '';
387
- state.data.bankData.iban = iban || '';
388
- if (is_acknowledged)
389
- state.data.bankData.confirmPolicy = is_acknowledged;
390
- })
391
- .addCase(verifyLeadToken.rejected, function (state, action) {
392
- state.error = action.error.message;
393
- state.customLoading = false;
394
- })
395
- .addCase(resendOTP.pending, function (state) {
396
- state.error = null;
397
- })
398
- .addCase(resendOTP.fulfilled, function (state, action) {
399
- var _a;
400
- state.error = null;
401
- var data = action.payload.data;
402
- var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
403
- if (description) {
404
- state.error = description;
405
- return;
406
- }
407
- state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), data);
408
- })
409
- .addCase(resendOTP.rejected, function (state, action) {
410
- state.error = action.error.message;
411
- })
412
- .addCase(verifyBankLeadOTP.pending, function (state) {
413
- state.loading = true;
414
- state.error = null;
415
- })
416
- .addCase(verifyBankLeadOTP.fulfilled, function (state, action) {
417
- var _a;
418
- state.loading = false;
419
- state.error = null;
420
- var _b = action.payload, data = _b.data, formData = _b.formData;
421
- var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
422
- if (description) {
423
- state.error = description;
424
- return;
425
- }
426
- state.data.otpData = formData;
427
- state.data.otpData.responseBody = data;
428
- })
429
- .addCase(verifyBankLeadOTP.rejected, function (state, action) {
430
- state.loading = false;
431
- state.error = action.error.message;
432
- })
433
- .addCase(retrieveBoardDetails.pending, function (state) {
434
- state.error = null;
435
- state.loading = true;
436
- })
437
- .addCase(retrieveBoardDetails.fulfilled, function (state, action) {
438
- state.error = null;
439
- state.loading = false;
440
- var data = (action.payload || {}).data;
441
- state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), data);
442
- })
443
- .addCase(retrieveBoardDetails.rejected, function (state, action) {
444
- state.error = action.error.message;
445
- state.loading = false;
446
- })
447
- .addCase(retrieveBoardStatus.pending, function (state) {
448
- state.error = null;
449
- state.loading = true;
450
- })
451
- .addCase(retrieveBoardStatus.fulfilled, function (state, action) {
452
- state.error = null;
453
- state.loading = false;
454
- var flows = action.payload.flows;
455
- state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows });
456
- })
457
- .addCase(retrieveBoardStatus.rejected, function (state, action) {
458
- state.error = action.error.message;
459
- state.loading = false;
460
- })
461
- .addCase(updateBoardSuccess.fulfilled, function (state, action) {
462
- var _a;
463
- state.loading = false;
464
- state.error = null;
465
- var response = (action.payload || {}).response;
466
- var description = (((_a = response === null || response === void 0 ? void 0 : response.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
467
- if (description) {
468
- state.error = description;
469
- return;
470
- }
471
- var flows = response.flows;
472
- var _b = state.data.verify.responseBody || {}, individuals = _b.individuals, individualData = _b.individualData;
473
- var data_state = (((individualData === null || individualData === void 0 ? void 0 : individualData.is_authorized) ? individuals : individualData) || {}).data_state;
474
- state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, state.data.verify.responseBody), { flows: flows }), (individualData && { user: individualData })), (data_state && {
475
- individuals: __assign(__assign({}, individuals), { data_state: data_state })
476
- }));
477
- })
478
- .addCase(updateBoardSuccess.pending, function (state) {
479
- state.loading = true;
480
- state.error = null;
481
- })
482
- .addCase(updateBoardSuccess.rejected, function (state, action) {
483
- state.loading = false;
484
- state.error = action.error.message;
485
- })
486
- .addCase(createBankAccount.pending, function (state) {
487
- state.loading = true;
488
- state.error = null;
489
- })
490
- .addCase(createBankAccount.fulfilled, function (state, action) {
491
- state.loading = false;
492
- state.error = null;
493
- var _a = action.payload, data = _a.data, formData = _a.formData;
494
- state.data.bankData = formData;
495
- state.data.bankData.responseBody = data;
496
- })
497
- .addCase(createBankAccount.rejected, function (state, action) {
498
- state.loading = false;
499
- state.error = action.error.message;
500
- })
501
- .addCase(checkIbanBank.pending, function (state) {
502
- state.error = null;
503
- })
504
- .addCase(checkIbanBank.fulfilled, function (state, action) {
505
- state.error = null;
506
- var data = action.payload.data;
507
- state.data.bankData.responseBody = data;
508
- })
509
- .addCase(checkIbanBank.rejected, function (state, action) {
510
- if (action.error.message === 'Aborted')
511
- return;
512
- state.error = action.error.message;
513
- })
514
- .addCase(onCloseCompleteBank.pending, function (state) {
515
- state.loading = true;
516
- state.error = null;
517
- })
518
- .addCase(onCloseCompleteBank.fulfilled, function (state) {
519
- state.loading = false;
520
- state.error = null;
521
- })
522
- .addCase(onCloseCompleteBank.rejected, function (state, action) {
523
- state.loading = false;
524
- state.error = action.error.message;
525
- });
526
- }
527
- });
528
- export var clearError = (_a = bankSlice.actions, _a.clearError), stopLoader = _a.stopLoader, resetOTPScreen = _a.resetOTPScreen, bankStatementUploadingStatus = _a.bankStatementUploadingStatus;
529
- export default bankSlice.reducer;
530
- export var bankSelector = function (state) { return state.bank; };
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
+ return new (P || (P = Promise))(function (resolve, reject) {
15
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
19
+ });
20
+ };
21
+ var __generator = (this && this.__generator) || function (thisArg, body) {
22
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
23
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
+ function verb(n) { return function (v) { return step([n, v]); }; }
25
+ function step(op) {
26
+ if (f) throw new TypeError("Generator is already executing.");
27
+ while (_) try {
28
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
+ if (y = 0, t) op = [op[0] & 2, t.value];
30
+ switch (op[0]) {
31
+ case 0: case 1: t = op; break;
32
+ case 4: _.label++; return { value: op[1], done: false };
33
+ case 5: _.label++; y = op[1]; op = [0]; continue;
34
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
35
+ default:
36
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
37
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
38
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
39
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
40
+ if (t[2]) _.ops.pop();
41
+ _.trys.pop(); continue;
42
+ }
43
+ op = body.call(thisArg, _);
44
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
45
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
+ }
47
+ };
48
+ var _a;
49
+ import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
50
+ import API from '../../../api';
51
+ import { DocumentPurpose, FlowsTypes } from '../../../@types';
52
+ import { handleCurrentActiveScreen, handleNextScreenStep, handlePrevScreenStep, handlePublicKey, handleSetCountryByIso2, onCloseComplete } from '../../../app/settings';
53
+ import { BANK_STEP_NAMES } from '../../../constants';
54
+ import { hasNoneEditableValue, isStringHasOneAsterisk, retrieveIndividualData, sendCustomEventToGTM, sleep } from '../../../utils';
55
+ export var verifyLeadToken = createAsyncThunk('bankVerifyLeadToken', function (_a, thunkApi) {
56
+ var token = _a.token, isInternally = _a.isInternally;
57
+ return __awaiter(void 0, void 0, void 0, function () {
58
+ var payload, data, bankData, _b, config, country_code, step_name, bank_account_id, wallet_id, boardId, publicKey, data_1;
59
+ var _c, _d, _e, _f, _g, _h;
60
+ return __generator(this, function (_j) {
61
+ switch (_j.label) {
62
+ case 0:
63
+ payload = __assign({ service_name: 'tap_email', verify_token: token }, (isInternally && {
64
+ notification: {
65
+ sms: false
66
+ }
67
+ }));
68
+ return [4, API.leadService.verifyLeadToken(payload)];
69
+ case 1:
70
+ data = (_j.sent()).data;
71
+ if ((_c = data.errors) === null || _c === void 0 ? void 0 : _c.length)
72
+ throw new Error(data.errors[0].description);
73
+ bankData = undefined;
74
+ _b = data || {}, config = _b.config, country_code = _b.country_code, step_name = _b.step_name, bank_account_id = _b.bank_account_id, wallet_id = _b.wallet_id, boardId = _b.id;
75
+ publicKey = config === null || config === void 0 ? void 0 : config.public_key;
76
+ if (country_code)
77
+ thunkApi.dispatch(handleSetCountryByIso2(country_code));
78
+ if (publicKey)
79
+ thunkApi.dispatch(handlePublicKey(publicKey));
80
+ if (isInternally)
81
+ data.step_name = BANK_STEP_NAMES.BANK_INFO;
82
+ if (!(step_name === BANK_STEP_NAMES.PHONE_AUTH)) return [3, 2];
83
+ thunkApi.dispatch(handleCurrentActiveScreen('BANK_VERIFY_STEP'));
84
+ return [3, 7];
85
+ case 2:
86
+ if (!(step_name === BANK_STEP_NAMES.BANK_INFO)) return [3, 7];
87
+ if (!(!wallet_id || !country_code)) return [3, 4];
88
+ return [4, API.boardService.retrieveBoardDetails(boardId)];
89
+ case 3:
90
+ data_1 = _j.sent();
91
+ if (!country_code && ((_d = data_1 === null || data_1 === void 0 ? void 0 : data_1.entity) === null || _d === void 0 ? void 0 : _d.country))
92
+ thunkApi.dispatch(handleSetCountryByIso2(data_1.entity.country));
93
+ if (!((_h = (_g = (_f = (_e = data_1 === null || data_1 === void 0 ? void 0 : data_1.business) === null || _e === void 0 ? void 0 : _e.entity) === null || _f === void 0 ? void 0 : _f.merchant) === null || _g === void 0 ? void 0 : _g.wallet) === null || _h === void 0 ? void 0 : _h.id))
94
+ throw new Error('wallet_id_missing');
95
+ if (data_1 === null || data_1 === void 0 ? void 0 : data_1.bank_account)
96
+ bankData = data_1.bank_account;
97
+ return [3, 6];
98
+ case 4:
99
+ if (!bank_account_id) return [3, 6];
100
+ return [4, API.entityService.retrieveBankAccount(bank_account_id)];
101
+ case 5:
102
+ bankData = _j.sent();
103
+ _j.label = 6;
104
+ case 6:
105
+ if (isInternally)
106
+ sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
107
+ else
108
+ thunkApi.dispatch(handleNextScreenStep());
109
+ _j.label = 7;
110
+ case 7: return [2, {
111
+ data: data,
112
+ bankData: bankData,
113
+ token: token
114
+ }];
115
+ }
116
+ });
117
+ });
118
+ });
119
+ export var resendOTP = createAsyncThunk('resendOTPBank', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
120
+ var bank, payload, data;
121
+ return __generator(this, function (_a) {
122
+ switch (_a.label) {
123
+ case 0:
124
+ bank = thunkApi.getState().bank;
125
+ payload = {
126
+ service_name: 'tap_email',
127
+ verify_token: bank.data.verify.token
128
+ };
129
+ return [4, API.leadService.verifyLeadToken(payload)];
130
+ case 1:
131
+ data = (_a.sent()).data;
132
+ return [2, { data: data }];
133
+ }
134
+ });
135
+ }); });
136
+ export var verifyBankLeadOTP = createAsyncThunk('verifyBankLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
137
+ var _a, bank, settings, responseBody, payload, data, countryIso2, publicKey, _b, bank_account_id, wallet_id, boardId, bankData, data_2;
138
+ var _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
139
+ return __generator(this, function (_o) {
140
+ switch (_o.label) {
141
+ case 0:
142
+ _a = thunkApi.getState(), bank = _a.bank, settings = _a.settings;
143
+ responseBody = bank.data.verify.responseBody;
144
+ payload = {
145
+ data: params.otp,
146
+ service_name: (_c = responseBody === null || responseBody === void 0 ? void 0 : responseBody.verification_by) === null || _c === void 0 ? void 0 : _c.service_name,
147
+ verify_token: responseBody === null || responseBody === void 0 ? void 0 : responseBody.verify_token,
148
+ step_name: BANK_STEP_NAMES.PHONE_AUTH,
149
+ encryption_contract: ['data']
150
+ };
151
+ return [4, API.leadService.verifyLeadOTP(payload)];
152
+ case 1:
153
+ data = (_o.sent()).data;
154
+ if ((_d = data.errors) === null || _d === void 0 ? void 0 : _d.length)
155
+ throw new Error(data.errors[0].description);
156
+ countryIso2 = (data === null || data === void 0 ? void 0 : data.country_code) || (responseBody === null || responseBody === void 0 ? void 0 : responseBody.country_code);
157
+ publicKey = (_e = data === null || data === void 0 ? void 0 : data.config) === null || _e === void 0 ? void 0 : _e.public_key;
158
+ if (countryIso2)
159
+ thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
160
+ if (publicKey)
161
+ thunkApi.dispatch(handlePublicKey(publicKey));
162
+ _b = data || {}, bank_account_id = _b.bank_account_id, wallet_id = _b.wallet_id, boardId = _b.id;
163
+ bankData = undefined;
164
+ if (!(!wallet_id || !countryIso2)) return [3, 3];
165
+ return [4, API.boardService.retrieveBoardDetails(boardId)];
166
+ case 2:
167
+ data_2 = _o.sent();
168
+ if (!countryIso2 && ((_f = data_2 === null || data_2 === void 0 ? void 0 : data_2.entity) === null || _f === void 0 ? void 0 : _f.country))
169
+ thunkApi.dispatch(handleSetCountryByIso2(data_2.entity.country));
170
+ if (!((_k = (_j = (_h = (_g = data_2 === null || data_2 === void 0 ? void 0 : data_2.business) === null || _g === void 0 ? void 0 : _g.entity) === null || _h === void 0 ? void 0 : _h.merchant) === null || _j === void 0 ? void 0 : _j.wallet) === null || _k === void 0 ? void 0 : _k.id))
171
+ throw new Error('wallet_id_missing');
172
+ if (data_2 === null || data_2 === void 0 ? void 0 : data_2.bank_account)
173
+ bankData = data_2.bank_account;
174
+ return [3, 5];
175
+ case 3:
176
+ if (!bank_account_id) return [3, 5];
177
+ return [4, API.entityService.retrieveBankAccount(bank_account_id)];
178
+ case 4:
179
+ bankData = _o.sent();
180
+ _o.label = 5;
181
+ case 5:
182
+ (_m = (_l = settings.data.appConfig).onStepCompleted) === null || _m === void 0 ? void 0 : _m.call(_l, settings.data.activeScreen.name, { otp: params.otp });
183
+ sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep()); });
184
+ return [2, {
185
+ data: data,
186
+ bankData: bankData,
187
+ formData: params
188
+ }];
189
+ }
190
+ });
191
+ }); });
192
+ export var retrieveBoardStatus = createAsyncThunk('bank/retrieveBoardStatus', function (parmas, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
193
+ var bank, _a, board_id, board_info_id, recipient, _b, id, type, data;
194
+ return __generator(this, function (_c) {
195
+ switch (_c.label) {
196
+ case 0:
197
+ bank = thunkApi.getState().bank;
198
+ _a = bank.data.verify.responseBody || {}, board_id = _a.board_id, board_info_id = _a.board_info_id, recipient = _a.recipient;
199
+ if (!board_id || !board_info_id)
200
+ throw new Error('Internal server error');
201
+ _b = recipient || {}, id = _b.id, type = _b.type;
202
+ return [4, Promise.all([
203
+ API.boardService.retrieveBoardInfoStatus(board_id),
204
+ thunkApi.dispatch(retrieveBoardDetails({ boardId: board_id, individualId: id, individualType: type })).unwrap()
205
+ ])];
206
+ case 1:
207
+ data = (_c.sent())[0];
208
+ thunkApi.dispatch(handlePrevScreenStep());
209
+ return [2, { flows: (data === null || data === void 0 ? void 0 : data.info) || [] }];
210
+ }
211
+ });
212
+ }); });
213
+ export var retrieveBoardDetails = createAsyncThunk('bank/retrieveBoardDetails', function (_a) {
214
+ var boardId = _a.boardId, id = _a.individualId, type = _a.individualType;
215
+ return __awaiter(void 0, void 0, void 0, function () {
216
+ var data, individualData, boardData, serviceCallBack, _b, boardRes, individualRes;
217
+ var _c, _d, _e;
218
+ return __generator(this, function (_f) {
219
+ switch (_f.label) {
220
+ case 0: return [4, API.boardService.retrieveBoardDetails(boardId)];
221
+ case 1:
222
+ data = _f.sent();
223
+ individualData = data === null || data === void 0 ? void 0 : data.user;
224
+ boardData = data;
225
+ if (!(((_c = data === null || data === void 0 ? void 0 : data.user) === null || _c === void 0 ? void 0 : _c.id) !== id)) return [3, 3];
226
+ serviceCallBack = function () { return API.individualService.retrieveIndividual(id, type); };
227
+ return [4, retrieveIndividualData(type, data, serviceCallBack)];
228
+ case 2:
229
+ _b = _f.sent(), boardRes = _b.boardRes, individualRes = _b.individualRes;
230
+ individualData = individualRes;
231
+ boardData = boardRes;
232
+ _f.label = 3;
233
+ case 3: return [2, __assign(__assign({}, boardData), { brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, name: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.names, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, contact: (_e = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _e === void 0 ? void 0 : _e.contact, user: individualData, board_status: boardData === null || boardData === void 0 ? void 0 : boardData.status })];
234
+ }
235
+ });
236
+ });
237
+ });
238
+ export var createBankAccount = createAsyncThunk('createBankAccount', function (_a, thunkApi) {
239
+ var formData = _a.formData, originalFormData = _a.originalFormData, isDirty = _a.isDirty;
240
+ return __awaiter(void 0, void 0, void 0, function () {
241
+ var _b, settings, bank, iban, beneficiaryName, bankName, bankStatementId, confirmPolicy, _c, bank_account, wallet_id, recipient, _d, data_status, document, isIBANMasked, isIBANNonEditable, isBeneficiaryNameNonEditable, isBankNameNonEditable, isBankStatementIdNonEditable, isConfirmPolicyNonEditable, documentResponse, data, hasDocument, documentId, requestBody, documentBody;
242
+ var _e, _f;
243
+ return __generator(this, function (_g) {
244
+ switch (_g.label) {
245
+ case 0:
246
+ _b = thunkApi.getState(), settings = _b.settings, bank = _b.bank;
247
+ iban = formData.iban, beneficiaryName = formData.beneficiaryName, bankName = formData.bankName, bankStatementId = formData.bankStatementId, confirmPolicy = formData.confirmPolicy;
248
+ _c = bank.data.verify.responseBody || {}, bank_account = _c.bank_account, wallet_id = _c.wallet_id, recipient = _c.recipient;
249
+ _d = bank_account || {}, data_status = _d.data_status, document = _d.document;
250
+ isIBANMasked = isStringHasOneAsterisk(iban);
251
+ isIBANNonEditable = hasNoneEditableValue(data_status, 'iban');
252
+ isBeneficiaryNameNonEditable = hasNoneEditableValue(data_status, 'beneficiary_name');
253
+ isBankNameNonEditable = hasNoneEditableValue(data_status, 'bank_name');
254
+ isBankStatementIdNonEditable = hasNoneEditableValue(data_status, 'bank_statement_file_id');
255
+ isConfirmPolicyNonEditable = hasNoneEditableValue(data_status, 'is_acknowledged');
256
+ documentResponse = undefined;
257
+ data = bank_account || {};
258
+ hasDocument = !isBankStatementIdNonEditable && (bankStatementId || []).length > 0;
259
+ documentId = document === null || document === void 0 ? void 0 : document.id;
260
+ requestBody = {
261
+ wallet_id: wallet_id,
262
+ bank_account: __assign(__assign({ iban: isIBANNonEditable || isIBANMasked ? undefined : iban, beneficiary_name: isBeneficiaryNameNonEditable ? undefined : beneficiaryName, bank_name: isBankNameNonEditable ? undefined : bankName }, (!isConfirmPolicyNonEditable && {
263
+ acknowledged_by: recipient === null || recipient === void 0 ? void 0 : recipient.id,
264
+ is_acknowledged: confirmPolicy
265
+ })), (!documentId &&
266
+ hasDocument && {
267
+ document: {
268
+ type: DocumentPurpose.BANK_STATEMENT,
269
+ files: bankStatementId || []
270
+ }
271
+ })),
272
+ step_name: BANK_STEP_NAMES.BANK_INFO,
273
+ encryption_contract: ['bank_account.iban', 'bank_account.beneficiary_name', 'bank_account.bank_name']
274
+ };
275
+ if (!(isDirty || (!documentId && hasDocument))) return [3, 2];
276
+ return [4, API.entityService.createBankAccount(requestBody)];
277
+ case 1:
278
+ data = _g.sent();
279
+ _g.label = 2;
280
+ case 2:
281
+ if (!(documentId && hasDocument)) return [3, 4];
282
+ documentBody = {
283
+ id: documentId,
284
+ files: bankStatementId || []
285
+ };
286
+ return [4, API.documentService.addFilesToExistingDocument(documentBody)];
287
+ case 3:
288
+ documentResponse = _g.sent();
289
+ _g.label = 4;
290
+ case 4:
291
+ data = __assign(__assign({}, data), { documentResponse: documentResponse });
292
+ thunkApi.dispatch(handleNextScreenStep());
293
+ (_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, requestBody);
294
+ return [2, { data: data, formData: originalFormData }];
295
+ }
296
+ });
297
+ });
298
+ });
299
+ export var checkIbanBank = createAsyncThunk('checkIbanBank', function (_a) {
300
+ var iban = _a.iban, cancelToken = _a.cancelToken, onSuccess = _a.onSuccess;
301
+ return __awaiter(void 0, void 0, void 0, function () {
302
+ var payload, data;
303
+ return __generator(this, function (_b) {
304
+ switch (_b.label) {
305
+ case 0:
306
+ payload = {
307
+ iban_number: iban,
308
+ encryption_contract: ['iban_number']
309
+ };
310
+ onSuccess === null || onSuccess === void 0 ? void 0 : onSuccess();
311
+ return [4, API.availabilityServices.checkIbanBank(payload, { cancelToken: cancelToken })];
312
+ case 1:
313
+ data = (_b.sent()).data;
314
+ return [2, { data: data }];
315
+ }
316
+ });
317
+ });
318
+ });
319
+ export var updateBoardSuccess = createAsyncThunk('updateBoardBankSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
320
+ var _a, settings, bank, _b, board_id, infoId, _c, showBoard, mode, payload, data, _d, id, type, boardInfoStatusData;
321
+ var _e, _f, _g, _h, _j, _k, _l, _m, _o;
322
+ return __generator(this, function (_p) {
323
+ switch (_p.label) {
324
+ case 0:
325
+ _a = thunkApi.getState(), settings = _a.settings, bank = _a.bank;
326
+ _b = bank.data.verify.responseBody || {}, board_id = _b.board_id, infoId = _b.board_info_id;
327
+ _c = settings.data.appConfig, showBoard = _c.showBoard, mode = _c.mode;
328
+ if (!board_id)
329
+ return [2];
330
+ payload = {
331
+ lang: settings.data.language,
332
+ step_name: BANK_STEP_NAMES.BANK_SUCCESS
333
+ };
334
+ return [4, API.boardService.updateBoardInfo(__assign({ id: board_id, infoId: infoId }, payload))];
335
+ case 1:
336
+ data = _p.sent();
337
+ sendCustomEventToGTM({
338
+ event: 'Send Event',
339
+ event_category: 'Board Flows - Wallet',
340
+ event_action: 'Wallet Update Success Page',
341
+ event_label: settings.data.businessCountry.iso2
342
+ });
343
+ if (!showBoard && mode === 'content') {
344
+ (_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, {});
345
+ (_h = (_g = settings.data.appConfig).onFlowCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, { data: data });
346
+ return [2, { data: data }];
347
+ }
348
+ _d = ((_j = data === null || data === void 0 ? void 0 : data.notification) === null || _j === void 0 ? void 0 : _j.recipient) || {}, id = _d.id, type = _d.type;
349
+ return [4, Promise.all([
350
+ API.boardService.retrieveBoardInfoStatus(board_id),
351
+ thunkApi.dispatch(retrieveBoardDetails({ boardId: board_id, individualId: id, individualType: type })).unwrap()
352
+ ])];
353
+ case 2:
354
+ boardInfoStatusData = (_p.sent())[0];
355
+ (_l = (_k = settings.data.appConfig).onStepCompleted) === null || _l === void 0 ? void 0 : _l.call(_k, settings.data.activeScreen.name, {});
356
+ (_o = (_m = settings.data.appConfig).onFlowCompleted) === null || _o === void 0 ? void 0 : _o.call(_m, { data: data });
357
+ thunkApi.dispatch(handleNextScreenStep());
358
+ return [2, { data: data, flows: (boardInfoStatusData === null || boardInfoStatusData === void 0 ? void 0 : boardInfoStatusData.info) || [] }];
359
+ }
360
+ });
361
+ }); });
362
+ export var onCloseCompleteBank = createAsyncThunk('bank/onCloseCompleteBank', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
363
+ var bank, _a, merchant, brand, entity;
364
+ return __generator(this, function (_b) {
365
+ switch (_b.label) {
366
+ case 0:
367
+ bank = thunkApi.getState().bank;
368
+ _a = bank.data.verify.responseBody || {}, merchant = _a.merchant, brand = _a.brand, entity = _a.entity;
369
+ return [4, thunkApi.dispatch(onCloseComplete({ merchantId: merchant === null || merchant === void 0 ? void 0 : merchant.id, brandId: brand === null || brand === void 0 ? void 0 : brand.id, entityId: entity === null || entity === void 0 ? void 0 : entity.id }))];
370
+ case 1:
371
+ _b.sent();
372
+ return [2];
373
+ }
374
+ });
375
+ }); });
376
+ var initialState = {
377
+ error: null,
378
+ loading: false,
379
+ customLoading: false,
380
+ data: {
381
+ flowName: FlowsTypes.BANK,
382
+ verify: {
383
+ token: ''
384
+ },
385
+ otpData: {
386
+ otp: ''
387
+ },
388
+ bankData: {
389
+ iban: '',
390
+ beneficiaryName: '',
391
+ bankName: '',
392
+ confirmPolicy: false,
393
+ uploading: false
394
+ }
395
+ }
396
+ };
397
+ export var bankSlice = createSlice({
398
+ name: 'bank/store',
399
+ initialState: initialState,
400
+ reducers: {
401
+ clearError: function (state) {
402
+ state.error = null;
403
+ },
404
+ stopLoader: function (state) {
405
+ state.loading = false;
406
+ },
407
+ resetOTPScreen: function (state) {
408
+ state.data.otpData.otp = '';
409
+ },
410
+ bankStatementUploadingStatus: function (state, action) {
411
+ state.data.bankData.uploading = action.payload;
412
+ }
413
+ },
414
+ extraReducers: function (builder) {
415
+ builder
416
+ .addCase(verifyLeadToken.pending, function (state) {
417
+ state.error = null;
418
+ state.customLoading = true;
419
+ })
420
+ .addCase(verifyLeadToken.fulfilled, function (state, action) {
421
+ state.error = null;
422
+ state.customLoading = false;
423
+ var _a = action.payload || {}, data = _a.data, token = _a.token, bank_account = _a.bankData;
424
+ var _b = bank_account || {}, bank_name = _b.bank_name, beneficiary_name = _b.beneficiary_name, iban = _b.iban, is_acknowledged = _b.is_acknowledged;
425
+ state.data.bankData.bankName = bank_name || '';
426
+ state.data.bankData.beneficiaryName = beneficiary_name || '';
427
+ state.data.bankData.iban = iban || '';
428
+ if (is_acknowledged)
429
+ state.data.bankData.confirmPolicy = is_acknowledged;
430
+ state.data.verify.responseBody = __assign(__assign(__assign({}, data), state.data.verify.responseBody), { bank_account: bank_account, board_id: data.id });
431
+ state.data.verify.token = token;
432
+ })
433
+ .addCase(verifyLeadToken.rejected, function (state, action) {
434
+ state.error = action.error.message;
435
+ state.customLoading = false;
436
+ })
437
+ .addCase(resendOTP.pending, function (state) {
438
+ state.error = null;
439
+ })
440
+ .addCase(resendOTP.fulfilled, function (state, action) {
441
+ var _a;
442
+ state.error = null;
443
+ var data = action.payload.data;
444
+ var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
445
+ if (description) {
446
+ state.error = description;
447
+ return;
448
+ }
449
+ state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), data);
450
+ })
451
+ .addCase(resendOTP.rejected, function (state, action) {
452
+ state.error = action.error.message;
453
+ })
454
+ .addCase(verifyBankLeadOTP.pending, function (state) {
455
+ state.loading = true;
456
+ state.error = null;
457
+ })
458
+ .addCase(verifyBankLeadOTP.fulfilled, function (state, action) {
459
+ state.loading = false;
460
+ state.error = null;
461
+ var _a = action.payload, data = _a.data, bank_account = _a.bankData, formData = _a.formData;
462
+ state.data.otpData = formData;
463
+ state.data.otpData.responseBody = data;
464
+ var _b = bank_account || {}, bank_name = _b.bank_name, beneficiary_name = _b.beneficiary_name, iban = _b.iban, is_acknowledged = _b.is_acknowledged;
465
+ state.data.bankData.bankName = bank_name || '';
466
+ state.data.bankData.beneficiaryName = beneficiary_name || '';
467
+ state.data.bankData.iban = iban || '';
468
+ if (is_acknowledged)
469
+ state.data.bankData.confirmPolicy = is_acknowledged;
470
+ state.data.verify.responseBody = __assign(__assign(__assign({}, data), state.data.verify.responseBody), { bank_account: bank_account, board_id: data.id });
471
+ })
472
+ .addCase(verifyBankLeadOTP.rejected, function (state, action) {
473
+ state.loading = false;
474
+ state.error = action.error.message;
475
+ })
476
+ .addCase(retrieveBoardDetails.pending, function (state) {
477
+ state.error = null;
478
+ state.loading = true;
479
+ })
480
+ .addCase(retrieveBoardDetails.fulfilled, function (state, action) {
481
+ state.error = null;
482
+ state.loading = false;
483
+ var data = action.payload || {};
484
+ state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), data);
485
+ })
486
+ .addCase(retrieveBoardDetails.rejected, function (state, action) {
487
+ state.error = action.error.message;
488
+ state.loading = false;
489
+ })
490
+ .addCase(retrieveBoardStatus.pending, function (state) {
491
+ state.error = null;
492
+ state.loading = true;
493
+ })
494
+ .addCase(retrieveBoardStatus.fulfilled, function (state, action) {
495
+ state.error = null;
496
+ state.loading = false;
497
+ var flows = action.payload.flows;
498
+ state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows });
499
+ })
500
+ .addCase(retrieveBoardStatus.rejected, function (state, action) {
501
+ state.error = action.error.message;
502
+ state.loading = false;
503
+ })
504
+ .addCase(updateBoardSuccess.fulfilled, function (state, action) {
505
+ var _a;
506
+ state.loading = false;
507
+ state.error = null;
508
+ var _b = action.payload || {}, flows = _b.flows, data = _b.data;
509
+ state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, recipient: (_a = data === null || data === void 0 ? void 0 : data.notification) === null || _a === void 0 ? void 0 : _a.recipient });
510
+ })
511
+ .addCase(updateBoardSuccess.pending, function (state) {
512
+ state.loading = true;
513
+ state.error = null;
514
+ })
515
+ .addCase(updateBoardSuccess.rejected, function (state, action) {
516
+ state.loading = false;
517
+ state.error = action.error.message;
518
+ })
519
+ .addCase(createBankAccount.pending, function (state) {
520
+ state.loading = true;
521
+ state.error = null;
522
+ })
523
+ .addCase(createBankAccount.fulfilled, function (state, action) {
524
+ state.loading = false;
525
+ state.error = null;
526
+ var _a = action.payload, data = _a.data, formData = _a.formData;
527
+ state.data.bankData = __assign(__assign({}, formData), { bankStatementId: undefined });
528
+ state.data.bankData.responseBody = data;
529
+ })
530
+ .addCase(createBankAccount.rejected, function (state, action) {
531
+ state.loading = false;
532
+ state.error = action.error.message;
533
+ })
534
+ .addCase(checkIbanBank.pending, function (state) {
535
+ state.error = null;
536
+ })
537
+ .addCase(checkIbanBank.fulfilled, function (state, action) {
538
+ state.error = null;
539
+ var data = action.payload.data;
540
+ state.data.bankData.responseBody = data;
541
+ })
542
+ .addCase(checkIbanBank.rejected, function (state, action) {
543
+ if (action.error.message === 'Aborted')
544
+ return;
545
+ state.error = action.error.message;
546
+ })
547
+ .addCase(onCloseCompleteBank.pending, function (state) {
548
+ state.loading = true;
549
+ state.error = null;
550
+ })
551
+ .addCase(onCloseCompleteBank.fulfilled, function (state) {
552
+ state.loading = false;
553
+ state.error = null;
554
+ })
555
+ .addCase(onCloseCompleteBank.rejected, function (state, action) {
556
+ state.loading = false;
557
+ state.error = action.error.message;
558
+ });
559
+ }
560
+ });
561
+ export var clearError = (_a = bankSlice.actions, _a.clearError), stopLoader = _a.stopLoader, resetOTPScreen = _a.resetOTPScreen, bankStatementUploadingStatus = _a.bankStatementUploadingStatus;
562
+ export default bankSlice.reducer;
563
+ export var bankSelector = function (state) { return state.bank; };