@tap-payments/auth-jsconnect 2.4.26-test → 2.4.28-test

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 (428) hide show
  1. package/build/api/account.js +1 -1
  2. package/build/api/auth.d.ts +1 -1
  3. package/build/api/auth.js +1 -1
  4. package/build/api/availabilityServices.js +1 -1
  5. package/build/api/axios.js +2 -2
  6. package/build/api/board.js +1 -1
  7. package/build/api/brand.d.ts +1 -1
  8. package/build/api/brand.js +1 -1
  9. package/build/api/country.js +1 -1
  10. package/build/api/data.js +1 -1
  11. package/build/api/document.js +1 -1
  12. package/build/api/entity.js +1 -1
  13. package/build/api/file.js +1 -1
  14. package/build/api/firebase.js +1 -1
  15. package/build/api/individual.js +1 -1
  16. package/build/api/init.js +1 -1
  17. package/build/api/lead.d.ts +1 -1
  18. package/build/api/lead.js +1 -1
  19. package/build/api/location.js +1 -1
  20. package/build/api/operator.js +1 -1
  21. package/build/api/user.js +1 -1
  22. package/build/app/rootReducer.d.ts +10 -10
  23. package/build/app/rootReducer.js +10 -10
  24. package/build/app/settings.d.ts +2 -2
  25. package/build/app/settings.js +5 -5
  26. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  27. package/build/components/AnimationFlow/AnimationFlow.js +1 -1
  28. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  29. package/build/components/AnimationFlow/BottomSheet.js +3 -3
  30. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  31. package/build/components/AnimationFlow/Dialog.js +4 -4
  32. package/build/components/ArabicDatePicker/ArabicDatePicker.js +2 -2
  33. package/build/components/DatePicker/DatePicker.js +3 -3
  34. package/build/components/FileInput/DragAndDrop.js +6 -6
  35. package/build/components/FileInput/UploadInput.js +2 -2
  36. package/build/components/Footer/Footer.js +3 -3
  37. package/build/components/Input/Input.js +2 -2
  38. package/build/components/OTPTimer/OTPTimer.js +1 -1
  39. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  40. package/build/components/SimpleList/SimpleList.js +2 -2
  41. package/build/components/Tooltip/Tooltip.js +2 -2
  42. package/build/constants/app.d.ts +1 -1
  43. package/build/constants/app.js +1 -1
  44. package/build/features/app/bank/bankStore.d.ts +2 -2
  45. package/build/features/app/bank/bankStore.js +5 -5
  46. package/build/features/app/brand/brandStore.d.ts +2 -2
  47. package/build/features/app/brand/brandStore.js +5 -5
  48. package/build/features/app/business/businessStore.d.ts +2 -2
  49. package/build/features/app/business/businessStore.js +5 -5
  50. package/build/features/app/connect/connectStore.d.ts +2 -2
  51. package/build/features/app/connect/connectStore.js +5 -5
  52. package/build/features/app/connectExpress/connectExpressStore.d.ts +2 -2
  53. package/build/features/app/connectExpress/connectExpressStore.js +6 -6
  54. package/build/features/app/entity/entityStore.d.ts +2 -2
  55. package/build/features/app/entity/entityStore.js +5 -5
  56. package/build/features/app/individual/individualStore.js +106 -90
  57. package/build/features/app/password/passwordStore.d.ts +2 -2
  58. package/build/features/app/password/passwordStore.js +4 -4
  59. package/build/features/app/signIn/signInStore.d.ts +2 -2
  60. package/build/features/app/signIn/signInStore.js +3 -3
  61. package/build/features/app/tax/taxStore.d.ts +2 -2
  62. package/build/features/app/tax/taxStore.js +5 -5
  63. package/build/features/bank/Bank.d.ts +1 -1
  64. package/build/features/bank/Bank.js +10 -10
  65. package/build/features/bank/screens/BankDetails/BankDetails.js +9 -9
  66. package/build/features/bank/screens/BankDetails/BankName.js +8 -8
  67. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
  68. package/build/features/bank/screens/BankDetails/BankStatement.js +6 -6
  69. package/build/features/bank/screens/BankDetails/Beneficiary.js +6 -6
  70. package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +5 -5
  71. package/build/features/bank/screens/BankDetails/IBAN.js +10 -10
  72. package/build/features/bank/screens/BankDetails/validation.js +1 -1
  73. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  74. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  75. package/build/features/bank/screens/Success/Success.js +3 -3
  76. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  77. package/build/features/bank/screens/Verify/OTPInput.js +5 -5
  78. package/build/features/bank/screens/Verify/Verify.js +8 -8
  79. package/build/features/brand/Brand.d.ts +1 -1
  80. package/build/features/brand/Brand.js +10 -10
  81. package/build/features/brand/screens/BrandActivities/ActivitiesList.js +12 -12
  82. package/build/features/brand/screens/BrandActivities/BrandActivities.js +7 -7
  83. package/build/features/brand/screens/BrandActivities/CustomerBase.js +11 -11
  84. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +8 -8
  85. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +12 -12
  86. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +1 -1
  87. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +10 -10
  88. package/build/features/brand/screens/BrandActivities/TAC.js +10 -10
  89. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +8 -8
  90. package/build/features/brand/screens/BrandInfo/BrandInfo.js +9 -9
  91. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -1
  92. package/build/features/brand/screens/BrandInfo/BrandLogo.js +7 -7
  93. package/build/features/brand/screens/BrandInfo/BrandName.js +9 -9
  94. package/build/features/brand/screens/BrandInfo/SalesChannels.js +4 -4
  95. package/build/features/brand/screens/BrandInfo/Segments.js +9 -9
  96. package/build/features/brand/screens/BrandInfo/TeamSize.js +9 -9
  97. package/build/features/brand/screens/BrandInfo/validation.js +1 -1
  98. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  99. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  100. package/build/features/brand/screens/Success/Success.js +3 -3
  101. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  102. package/build/features/brand/screens/Verify/OTPInput.js +5 -5
  103. package/build/features/brand/screens/Verify/Verify.js +8 -8
  104. package/build/features/business/Business.d.ts +1 -1
  105. package/build/features/business/Business.js +10 -10
  106. package/build/features/business/screens/Activities/Activities.js +7 -7
  107. package/build/features/business/screens/Activities/ActivitiesList.js +12 -12
  108. package/build/features/business/screens/Activities/LicenseName.js +6 -6
  109. package/build/features/business/screens/Activities/OperationStartDate.js +5 -5
  110. package/build/features/business/screens/BrandDetails/BrandDetails.js +7 -7
  111. package/build/features/business/screens/BrandDetails/BrandName.js +4 -4
  112. package/build/features/business/screens/BrandDetails/Header.js +5 -5
  113. package/build/features/business/screens/BrandDetails/LicenseInfo.js +4 -4
  114. package/build/features/business/screens/BrandDetails/SalesChannel.js +5 -5
  115. package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
  116. package/build/features/business/screens/BusinessType/Article.js +7 -7
  117. package/build/features/business/screens/BusinessType/BusinessType.js +10 -10
  118. package/build/features/business/screens/BusinessType/EntityLicenseList.js +13 -13
  119. package/build/features/business/screens/BusinessType/EntityName.js +6 -6
  120. package/build/features/business/screens/BusinessType/LicenseCertificate.js +7 -7
  121. package/build/features/business/screens/BusinessType/LicenseList.js +13 -13
  122. package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -10
  123. package/build/features/business/screens/BusinessType/LicenseType.js +14 -14
  124. package/build/features/business/screens/BusinessType/SelectType.js +6 -6
  125. package/build/features/business/screens/BusinessType/validation.js +2 -2
  126. package/build/features/business/screens/CivilID/CivilID.js +6 -6
  127. package/build/features/business/screens/CivilID/IDNumber.js +6 -6
  128. package/build/features/business/screens/Customers/CustomerLocations.js +11 -11
  129. package/build/features/business/screens/Customers/Customers.js +8 -8
  130. package/build/features/business/screens/Customers/ExpectedCustomers.js +9 -9
  131. package/build/features/business/screens/Customers/ExpectedSalesRange.js +11 -11
  132. package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
  133. package/build/features/business/screens/Customers/RefundPolicy.js +10 -10
  134. package/build/features/business/screens/Customers/TransactionPolicy.js +7 -7
  135. package/build/features/business/screens/IDBOD/DOB.js +5 -5
  136. package/build/features/business/screens/IDBOD/ID.js +5 -5
  137. package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
  138. package/build/features/business/screens/OTP/OTP.js +9 -9
  139. package/build/features/business/screens/OTP/OTPInput.js +4 -4
  140. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  141. package/build/features/business/screens/Success/Success.js +3 -3
  142. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  143. package/build/features/business/screens/Verify/OTPInput.js +5 -5
  144. package/build/features/business/screens/Verify/Verify.js +9 -9
  145. package/build/features/business/screens/VerifyPACI/VerifyPACI.js +4 -4
  146. package/build/features/connect/Connect.d.ts +1 -1
  147. package/build/features/connect/Connect.js +10 -10
  148. package/build/features/connect/screens/CivilID/CivilID.js +8 -8
  149. package/build/features/connect/screens/CivilID/IDNumber.js +6 -6
  150. package/build/features/connect/screens/Individual/Email.js +6 -6
  151. package/build/features/connect/screens/Individual/Individual.js +11 -11
  152. package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
  153. package/build/features/connect/screens/Individual/MobileNumber.js +12 -12
  154. package/build/features/connect/screens/Individual/Name.js +5 -5
  155. package/build/features/connect/screens/Individual/validation.js +1 -1
  156. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  157. package/build/features/connect/screens/Merchant/BrandList.js +10 -10
  158. package/build/features/connect/screens/Merchant/BrandName.js +8 -8
  159. package/build/features/connect/screens/Merchant/Merchant.js +8 -8
  160. package/build/features/connect/screens/Merchant/SalesChannels.js +4 -4
  161. package/build/features/connect/screens/Merchant/Segments.js +9 -9
  162. package/build/features/connect/screens/Merchant/TAC.js +9 -9
  163. package/build/features/connect/screens/Merchant/TeamSize.js +9 -9
  164. package/build/features/connect/screens/Merchant/validation.js +1 -1
  165. package/build/features/connect/screens/Mobile/Mobile.js +11 -11
  166. package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
  167. package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
  168. package/build/features/connect/screens/Mobile/Title.js +2 -2
  169. package/build/features/connect/screens/NID/DOB.js +5 -5
  170. package/build/features/connect/screens/NID/IDNumber.js +7 -7
  171. package/build/features/connect/screens/NID/NID.js +8 -8
  172. package/build/features/connect/screens/OTP/OTP.js +10 -10
  173. package/build/features/connect/screens/OTP/OTPInput.js +5 -5
  174. package/build/features/connect/screens/ThankYou/ThankYou.js +4 -4
  175. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +5 -5
  176. package/build/features/connectExpress/ConnectExpress.d.ts +1 -1
  177. package/build/features/connectExpress/ConnectExpress.js +10 -10
  178. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +3 -3
  179. package/build/features/connectExpress/screens/Brand/Brand.js +9 -9
  180. package/build/features/connectExpress/screens/CivilID/CivilID.js +8 -8
  181. package/build/features/connectExpress/screens/CivilID/IDNumber.js +6 -6
  182. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +6 -6
  183. package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.js +6 -6
  184. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +8 -8
  185. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +8 -8
  186. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +13 -13
  187. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +10 -10
  188. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +12 -12
  189. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +8 -8
  190. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +2 -2
  191. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +11 -11
  192. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +6 -6
  193. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +1 -1
  194. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +11 -11
  195. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +5 -5
  196. package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +1 -1
  197. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +5 -5
  198. package/build/features/connectExpress/screens/IdentityOTP/OTP.js +10 -10
  199. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +5 -5
  200. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +4 -4
  201. package/build/features/connectExpress/screens/Mobile/Mobile.js +10 -10
  202. package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +1 -1
  203. package/build/features/connectExpress/screens/Mobile/MobileNumber.js +12 -12
  204. package/build/features/connectExpress/screens/Mobile/TAC.js +8 -8
  205. package/build/features/connectExpress/screens/Mobile/Title.js +2 -2
  206. package/build/features/connectExpress/screens/NID/DOB.js +5 -5
  207. package/build/features/connectExpress/screens/NID/IDNumber.js +9 -9
  208. package/build/features/connectExpress/screens/NID/NID.js +8 -8
  209. package/build/features/connectExpress/screens/NID/TAC.js +8 -8
  210. package/build/features/connectExpress/screens/NIDMissed/DOB.js +5 -5
  211. package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +7 -7
  212. package/build/features/connectExpress/screens/NIDMissed/NID.js +7 -7
  213. package/build/features/connectExpress/screens/OTP/OTP.js +10 -10
  214. package/build/features/connectExpress/screens/OTP/OTPInput.js +5 -5
  215. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -4
  216. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +4 -4
  217. package/build/features/entity/Entity.d.ts +1 -1
  218. package/build/features/entity/Entity.js +10 -10
  219. package/build/features/entity/screens/EntityCapital/ActivityList.js +12 -12
  220. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +7 -7
  221. package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +6 -6
  222. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +7 -7
  223. package/build/features/entity/screens/EntityCapital/EntityCapital.js +7 -7
  224. package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
  225. package/build/features/entity/screens/EntityName/Article.js +7 -7
  226. package/build/features/entity/screens/EntityName/EntityName.js +9 -9
  227. package/build/features/entity/screens/EntityName/EntityTypeList.js +12 -12
  228. package/build/features/entity/screens/EntityName/ExpiryDate.js +6 -6
  229. package/build/features/entity/screens/EntityName/IssuingDate.js +5 -5
  230. package/build/features/entity/screens/EntityName/LegalName.js +6 -6
  231. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -1
  232. package/build/features/entity/screens/EntityName/LicenseCertificate.js +8 -8
  233. package/build/features/entity/screens/EntityName/LicenseNumber.js +10 -10
  234. package/build/features/entity/screens/EntityName/UnifiedNumber.js +7 -7
  235. package/build/features/entity/screens/EntityName/validation.js +2 -2
  236. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  237. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  238. package/build/features/entity/screens/Success/Success.js +3 -3
  239. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  240. package/build/features/entity/screens/Verify/OTPInput.js +5 -5
  241. package/build/features/entity/screens/Verify/Verify.js +8 -8
  242. package/build/features/featuresScreens.d.ts +1 -1
  243. package/build/features/featuresScreens.js +79 -79
  244. package/build/features/individual/Individual.d.ts +1 -1
  245. package/build/features/individual/Individual.js +10 -10
  246. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +11 -11
  247. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -1
  248. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +8 -8
  249. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +10 -10
  250. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  251. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +11 -11
  252. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -1
  253. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +9 -9
  254. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +10 -10
  255. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +6 -6
  256. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +7 -7
  257. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -1
  258. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +8 -8
  259. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  260. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +10 -10
  261. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
  262. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +1 -1
  263. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  264. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +3 -3
  265. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  266. package/build/features/individual/screens/IndividualList/Email.js +8 -8
  267. package/build/features/individual/screens/IndividualList/IndividualList.js +8 -8
  268. package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +1 -1
  269. package/build/features/individual/screens/IndividualList/MobileNumber.js +11 -11
  270. package/build/features/individual/screens/IndividualList/UserList.js +11 -11
  271. package/build/features/individual/screens/IndividualList/validation.d.ts +1 -1
  272. package/build/features/individual/screens/IndividualList/validation.js +1 -1
  273. package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +9 -9
  274. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +1 -1
  275. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +8 -8
  276. package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +6 -6
  277. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +4 -4
  278. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +7 -7
  279. package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +8 -8
  280. package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -6
  281. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +9 -9
  282. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +1 -1
  283. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +8 -8
  284. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +1 -1
  285. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +10 -10
  286. package/build/features/individual/screens/IndividualPersonalInfo/Name.js +5 -5
  287. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +1 -1
  288. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +8 -8
  289. package/build/features/individual/screens/IndividualPersonalInfo/validation.js +1 -1
  290. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +1 -1
  291. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +11 -11
  292. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +8 -8
  293. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  294. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  295. package/build/features/individual/screens/Success/Success.js +3 -3
  296. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  297. package/build/features/individual/screens/Verify/OTPInput.js +5 -5
  298. package/build/features/individual/screens/Verify/Verify.js +8 -8
  299. package/build/features/password/Password.d.ts +1 -1
  300. package/build/features/password/Password.js +10 -10
  301. package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
  302. package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
  303. package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -8
  304. package/build/features/password/screens/CreatePassword/Password.js +6 -6
  305. package/build/features/password/screens/OTP/OTP.js +9 -9
  306. package/build/features/password/screens/OTP/OTPInput.js +4 -4
  307. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  308. package/build/features/password/screens/Success/Success.js +4 -4
  309. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  310. package/build/features/password/screens/Verify/OTPInput.js +5 -5
  311. package/build/features/password/screens/Verify/Verify.js +8 -8
  312. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
  313. package/build/features/shared/Address/Address.d.ts +1 -1
  314. package/build/features/shared/Address/Address.js +2 -2
  315. package/build/features/shared/Address/CountryList.d.ts +2 -2
  316. package/build/features/shared/Address/CountryList.js +7 -7
  317. package/build/features/shared/Address/InputSelect.d.ts +1 -1
  318. package/build/features/shared/Address/InputSelect.js +7 -7
  319. package/build/features/shared/Background/Background.js +2 -2
  320. package/build/features/shared/Background/LogoBackground.js +3 -3
  321. package/build/features/shared/Button/AbsherButton.d.ts +1 -1
  322. package/build/features/shared/Button/AbsherButton.js +3 -3
  323. package/build/features/shared/Button/Button.d.ts +1 -1
  324. package/build/features/shared/Button/Button.js +7 -7
  325. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  326. package/build/features/shared/Button/EmailProvidersButtons.js +3 -3
  327. package/build/features/shared/Button/FlowsButtons.d.ts +2 -2
  328. package/build/features/shared/Button/FlowsButtons.js +7 -7
  329. package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
  330. package/build/features/shared/Button/IndividualActionButtons.js +6 -6
  331. package/build/features/shared/Button/MobileButton.d.ts +1 -1
  332. package/build/features/shared/Button/MobileButton.js +3 -3
  333. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +4 -4
  334. package/build/features/shared/DataLoading/DataLoading.js +4 -4
  335. package/build/features/shared/Dialog/CloseDialog.js +2 -2
  336. package/build/features/shared/Dialog/DialogContainer.js +2 -2
  337. package/build/features/shared/Dot/Dot.js +2 -2
  338. package/build/features/shared/EndAdornment/EndAdornment.js +2 -2
  339. package/build/features/shared/EndAdornment/EndAdornmentExpanded.js +2 -2
  340. package/build/features/shared/Footer/Footer.js +4 -4
  341. package/build/features/shared/Footer/PoweredByFooter.js +3 -3
  342. package/build/features/shared/GenericError/GenericError.js +4 -4
  343. package/build/features/shared/Input/Input.d.ts +1 -1
  344. package/build/features/shared/Input/Input.js +2 -2
  345. package/build/features/shared/OTP/OTP.d.ts +1 -1
  346. package/build/features/shared/OTP/OTP.js +3 -3
  347. package/build/features/shared/PaciVerification/PaciVerification.js +5 -5
  348. package/build/features/shared/PaciVerification/VerifyPACILoading.js +3 -3
  349. package/build/features/shared/PaciVerification/VerifyPACISuccess.js +1 -1
  350. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -1
  351. package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +9 -9
  352. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  353. package/build/features/shared/SalesChannels/SalesChannel.js +6 -6
  354. package/build/features/shared/Search/Search.js +1 -1
  355. package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
  356. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  357. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +6 -6
  358. package/build/features/shared/SuccessScreen/SuccessScreen.js +6 -6
  359. package/build/features/shared/UploadFile/FileUpload.d.ts +1 -1
  360. package/build/features/shared/UploadFile/FileUpload.js +8 -8
  361. package/build/features/shared/UploadFile/UploadFile.js +10 -10
  362. package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
  363. package/build/features/shared/UploadFile/UploadWrapper.js +7 -7
  364. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +1 -1
  365. package/build/features/shared/UploadMultipleFile/UploadFile.js +8 -8
  366. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
  367. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +7 -7
  368. package/build/features/signIn/SignIn.d.ts +1 -1
  369. package/build/features/signIn/SignIn.js +10 -10
  370. package/build/features/signIn/screens/Email/Email.js +8 -8
  371. package/build/features/signIn/screens/Email/EmailField.js +5 -5
  372. package/build/features/signIn/screens/Email/validation.js +1 -1
  373. package/build/features/signIn/screens/Mobile/Mobile.js +9 -9
  374. package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +1 -1
  375. package/build/features/signIn/screens/Mobile/MobileNumber.js +12 -12
  376. package/build/features/signIn/screens/OTP/OTP.js +9 -9
  377. package/build/features/signIn/screens/OTP/OTPInput.js +4 -4
  378. package/build/features/signIn/screens/Password/Password.js +7 -7
  379. package/build/features/signIn/screens/Password/PasswordInput.js +3 -3
  380. package/build/features/tax/Tax.d.ts +1 -1
  381. package/build/features/tax/Tax.js +10 -10
  382. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  383. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  384. package/build/features/tax/screens/Success/Success.js +3 -3
  385. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  386. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +5 -5
  387. package/build/features/tax/screens/TaxDetails/TaxDetails.js +8 -8
  388. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -1
  389. package/build/features/tax/screens/TaxDetails/TaxDocument.js +8 -8
  390. package/build/features/tax/screens/TaxDetails/VATId.js +6 -6
  391. package/build/features/tax/screens/Verify/OTPInput.js +5 -5
  392. package/build/features/tax/screens/Verify/Verify.js +8 -8
  393. package/build/hooks/useAppConfig.d.ts +1 -1
  394. package/build/hooks/useAppConfig.js +4 -4
  395. package/build/hooks/useAppSelector.d.ts +1 -1
  396. package/build/hooks/useAppTheme.d.ts +1 -1
  397. package/build/hooks/useAppTheme.js +3 -3
  398. package/build/hooks/useCountry.js +1 -1
  399. package/build/hooks/useDataNoneEditable.d.ts +1 -1
  400. package/build/hooks/useDataNoneEditable.js +1 -1
  401. package/build/hooks/useDataVerified.d.ts +1 -1
  402. package/build/hooks/useDataVerified.js +1 -1
  403. package/build/hooks/useErrorListener.js +1 -1
  404. package/build/hooks/useExcludeReadOnlyFelids.js +1 -1
  405. package/build/hooks/useFormReadOnly.js +1 -1
  406. package/build/hooks/useLanguage.js +1 -1
  407. package/build/hooks/useRedirectionListener.js +1 -1
  408. package/build/hooks/useScreen.js +1 -1
  409. package/build/hooks/useStepStartedListener.js +1 -1
  410. package/build/hooks/useVerifyToken.d.ts +1 -1
  411. package/build/hooks/useVerifyToken.js +2 -2
  412. package/build/i18n.js +1 -1
  413. package/build/index.d.ts +10 -10
  414. package/build/index.js +10 -10
  415. package/build/theme/theme.d.ts +1 -1
  416. package/build/utils/array.d.ts +4 -3
  417. package/build/utils/array.js +6 -1
  418. package/build/utils/locale.d.ts +1 -1
  419. package/build/utils/locale.js +1 -1
  420. package/build/utils/object.js +1 -1
  421. package/build/utils/rsa.js +1 -1
  422. package/build/utils/string.d.ts +1 -1
  423. package/build/utils/string.js +4 -4
  424. package/package.json +1 -1
  425. package/build/components/ArabicDatePicker/style.css +0 -24
  426. package/build/components/DatePicker/customStyle.css +0 -86
  427. package/build/features/app/individual/individualStore.d.ts +0 -146
  428. package/build/index.css +0 -140
@@ -1,5 +1,5 @@
1
- import { RootState } from '../../../app/store';
2
- import { MobileFormValues, NIDFormValues, CivilFormValues, OTPFormValues, IndividualFormValues, SharedState, FlowsTypes, ActionState, CountryCode, AuthForType, BusinessDataFormValues, AsyncThunkParams } from '../../../@types';
1
+ import { RootState } from '@app/store';
2
+ import { MobileFormValues, NIDFormValues, CivilFormValues, OTPFormValues, IndividualFormValues, SharedState, FlowsTypes, ActionState, CountryCode, AuthForType, BusinessDataFormValues, AsyncThunkParams } from '@types';
3
3
  import { CancelToken } from 'axios';
4
4
  export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
5
5
  data: any;
@@ -56,12 +56,12 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
56
56
  };
57
57
  var _a;
58
58
  import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
59
- import { handleNextScreenStep, handleCurrentActiveScreen, handleOpen } from '../../../app/settings';
60
- import { FlowsTypes, AuthForType, BusinessType, LicenseType } from '../../../@types';
61
- import API from '../../../api';
62
- import { CONNECT_EXPRESS_STEP_NAMES, IDENTIFICATION_TYPE, OTHER_CR_LICENSE, OTHER_FL_LICENSE } from '../../../constants';
63
- import { defaultCountry } from '../../../constants';
64
- import { getIndividualName, capitalizeTheFirstLetterOfEachWord, sleep, findCountryByIddPrefix, concatenateObjectValues, isSA } from '../../../utils';
59
+ import { handleNextScreenStep, handleCurrentActiveScreen, handleOpen } from '@app/settings';
60
+ import { FlowsTypes, AuthForType, BusinessType, LicenseType } from '@types';
61
+ import API from '@api';
62
+ import { CONNECT_EXPRESS_STEP_NAMES, IDENTIFICATION_TYPE, OTHER_CR_LICENSE, OTHER_FL_LICENSE } from '@constants';
63
+ import { defaultCountry } from '@constants';
64
+ import { getIndividualName, capitalizeTheFirstLetterOfEachWord, sleep, findCountryByIddPrefix, concatenateObjectValues, isSA } from '@utils';
65
65
  export var retrieveLeadIdentityByIdAsync = createAsyncThunk('expressConnect/retrieveLeadIdentityByIdAsync', function (leadId, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
66
66
  var _a, settings, connectExpress, countryCode, showBoard, data, phone, status, board_id, board_info_id, isRegistered, _b, boardInfo, boardData, error_1;
67
67
  var _c, _d;
@@ -1,5 +1,5 @@
1
- import { RootState } from '../../../app/store';
2
- import { ActionState, AsyncThunkParams, EntityCapitalFormValues, EntityNameFormValues, FlowsTypes, OTPFormValues, ResponseData, SharedState } from '../../../@types';
1
+ import { RootState } from '@store';
2
+ import { ActionState, AsyncThunkParams, EntityCapitalFormValues, EntityNameFormValues, FlowsTypes, OTPFormValues, ResponseData, SharedState } from '@types';
3
3
  interface VerifyLeadTokenProps {
4
4
  token: string;
5
5
  isInternally?: boolean;
@@ -58,12 +58,12 @@ var __rest = (this && this.__rest) || function (s, e) {
58
58
  };
59
59
  var _a;
60
60
  import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
61
- import API from '../../../api';
62
- import { BusinessType, DocumentPurpose, FlowsTypes, LicenseType } from '../../../@types';
63
- import { handleNextScreenStep, handlePrevScreenStep, handleSetCountryByIso2 } from '../../../app/settings';
64
- import { ENTITY_STEP_NAMES } from '../../../constants';
61
+ import API from '@api';
62
+ import { BusinessType, DocumentPurpose, FlowsTypes, LicenseType } from '@types';
63
+ import { handleNextScreenStep, handlePrevScreenStep, handleSetCountryByIso2 } from '@app/settings';
64
+ import { ENTITY_STEP_NAMES } from '@constants';
65
65
  import moment from 'moment';
66
- import { convertNumbers2English, getRecentDocumentBasedOnPurpose, hasVerifiedValue, hasNoneEditableValue, sleep, formatNumberAsCurrency, removeAllCharsFromNumber } from '../../../utils';
66
+ import { convertNumbers2English, getRecentDocumentBasedOnPurpose, hasVerifiedValue, hasNoneEditableValue, sleep, formatNumberAsCurrency, removeAllCharsFromNumber } from '@utils';
67
67
  export var verifyLeadToken = createAsyncThunk('entityVerifyLeadToken', function (_a, thunkApi) {
68
68
  var token = _a.token, isInternally = _a.isInternally;
69
69
  return __awaiter(void 0, void 0, void 0, function () {
@@ -67,18 +67,18 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
67
67
  };
68
68
  var _a;
69
69
  import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
70
- import API from '../../../api';
71
- import { FlowsTypes, IndividualGender, IndividualType, DocumentPurpose } from '../../../@types';
72
- import { handleNextScreenStep, handlePrevScreenStep, handleSetCountryByIso2 } from '../../../app/settings';
73
- import { defaultCountry, IDENTIFICATION_TYPE, INDIVIDUAl_STEP_NAMES } from '../../../constants';
74
- import { convertNumbers2English, dateFormat, findCountryByIddPrefix, findCountryByIso2, hasNoneEditableValue, getUserNameObject, getUserName, sleep, isValidEmail, getRecentDocumentBasedOnPurpose, formatNumberAsCurrency, removeAllCharsFromNumber, mapUserList, getIndividualType } from '../../../utils';
70
+ import API from '@api';
71
+ import { FlowsTypes, IndividualGender, IndividualType, DocumentPurpose } from '@types';
72
+ import { handleNextScreenStep, handlePrevScreenStep, handleSetCountryByIso2 } from '@app/settings';
73
+ import { defaultCountry, IDENTIFICATION_TYPE, INDIVIDUAl_STEP_NAMES } from '@constants';
74
+ import { convertNumbers2English, dateFormat, findCountryByIddPrefix, findCountryByIso2, hasNoneEditableValue, getUserNameObject, getUserName, sleep, isValidEmail, getRecentDocumentBasedOnPurpose, formatNumberAsCurrency, removeAllCharsFromNumber, mapUserList, sortUserList, getIndividualType } from '@utils';
75
75
  export var verifyToken = createAsyncThunk('individual/verifyToken', function (_a, thunkApi) {
76
76
  var token = _a.token, isInternally = _a.isInternally, isUpdatePhoneInfo = _a.isUpdatePhoneInfo;
77
77
  return __awaiter(void 0, void 0, void 0, function () {
78
- var payload, settings, data, boardData, individualData, countryCode, boardInfoData, boardInfoStatus, countries, board_id, board_info_id, notification, _b, id, type, data_1, birthCountry;
79
- var _c, _d, _e, _f, _g, _h, _j;
80
- return __generator(this, function (_k) {
81
- switch (_k.label) {
78
+ var payload, settings, data, boardData, individualData, countryCode, boardInfoData, boardInfoStatus, countries, board_id, board_info_id, notification, _b, id, type, data_1, birthCountry, individuals, _c, is_authorized, data_state;
79
+ var _d, _e, _f, _g, _h, _j, _k;
80
+ return __generator(this, function (_l) {
81
+ switch (_l.label) {
82
82
  case 0:
83
83
  payload = {
84
84
  service_name: 'tap_email',
@@ -87,10 +87,10 @@ export var verifyToken = createAsyncThunk('individual/verifyToken', function (_a
87
87
  settings = thunkApi.getState().settings;
88
88
  return [4, API.leadService.verifyLeadToken(payload)];
89
89
  case 1:
90
- data = (_k.sent()).data;
90
+ data = (_l.sent()).data;
91
91
  boardInfoStatus = undefined;
92
92
  countries = settings.data.countries;
93
- if (((_c = data.errors) === null || _c === void 0 ? void 0 : _c.length) || (data === null || data === void 0 ? void 0 : data.mw_error))
93
+ if (((_d = data.errors) === null || _d === void 0 ? void 0 : _d.length) || (data === null || data === void 0 ? void 0 : data.mw_error))
94
94
  throw new Error(data.errors[0].description || (data === null || data === void 0 ? void 0 : data.mw_error));
95
95
  if (isInternally)
96
96
  data.step_name = INDIVIDUAl_STEP_NAMES.INDIVIDUAl_INFO;
@@ -108,73 +108,76 @@ export var verifyToken = createAsyncThunk('individual/verifyToken', function (_a
108
108
  if (!(board_id && board_info_id)) return [3, 5];
109
109
  return [4, API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id })];
110
110
  case 3:
111
- boardInfoData = _k.sent();
111
+ boardInfoData = _l.sent();
112
112
  notification = (boardInfoData || {}).notification;
113
113
  _b = (notification === null || notification === void 0 ? void 0 : notification.recipient) || {}, id = _b.id, type = _b.type;
114
114
  if (!(id && type)) return [3, 5];
115
115
  return [4, thunkApi.dispatch(retrieveIndividualInfo({ id: id, type: type, countryCode: countryCode })).unwrap()];
116
116
  case 4:
117
- data_1 = (_k.sent()).data;
117
+ data_1 = (_l.sent()).data;
118
118
  individualData = data_1 || {};
119
- _k.label = 5;
119
+ _l.label = 5;
120
120
  case 5:
121
121
  if (!board_id) return [3, 7];
122
122
  return [4, API.boardService.retrieveBoardDetails(board_id)];
123
123
  case 6:
124
- boardData = _k.sent();
125
- _k.label = 7;
124
+ boardData = _l.sent();
125
+ _l.label = 7;
126
126
  case 7:
127
127
  if (!countryCode) {
128
- countryCode = (_d = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _d === void 0 ? void 0 : _d.country;
128
+ countryCode = (_e = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _e === void 0 ? void 0 : _e.country;
129
129
  if (countryCode)
130
130
  thunkApi.dispatch(handleSetCountryByIso2(countryCode));
131
131
  }
132
132
  if (!(individualData === null || individualData === void 0 ? void 0 : individualData.is_authorized)) return [3, 11];
133
- if (!((_e = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _e === void 0 ? void 0 : _e.id)) return [3, 9];
134
- return [4, thunkApi.dispatch(getIndividualList((_f = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _f === void 0 ? void 0 : _f.id))];
133
+ if (!((_f = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _f === void 0 ? void 0 : _f.id)) return [3, 9];
134
+ return [4, thunkApi.dispatch(getIndividualList((_g = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _g === void 0 ? void 0 : _g.id))];
135
135
  case 8:
136
- _k.sent();
137
- _k.label = 9;
136
+ _l.sent();
137
+ _l.label = 9;
138
138
  case 9: return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
139
139
  case 10:
140
- boardInfoStatus = _k.sent();
140
+ boardInfoStatus = _l.sent();
141
141
  thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_LIST_STEP'));
142
142
  return [3, 14];
143
143
  case 11:
144
- birthCountry = ((_g = individualData === null || individualData === void 0 ? void 0 : individualData.birth) === null || _g === void 0 ? void 0 : _g.country) || countryCode;
144
+ birthCountry = ((_h = individualData === null || individualData === void 0 ? void 0 : individualData.birth) === null || _h === void 0 ? void 0 : _h.country) || countryCode;
145
145
  if (!birthCountry) return [3, 13];
146
146
  return [4, thunkApi.dispatch(getCityList(birthCountry))];
147
147
  case 12:
148
- _k.sent();
149
- _k.label = 13;
148
+ _l.sent();
149
+ _l.label = 13;
150
150
  case 13:
151
151
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_PERSONAL_INDIVIDUAL_INFO_STEP')); });
152
- _k.label = 14;
152
+ _l.label = 14;
153
153
  case 14: return [3, 16];
154
154
  case 15:
155
155
  if (isUpdatePhoneInfo) {
156
156
  thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_VERIFY_STEP'));
157
157
  }
158
- _k.label = 16;
159
- case 16: return [2, {
160
- data: data,
161
- boardResponse: {
162
- brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand,
163
- bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account,
164
- entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity,
165
- merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant,
166
- merchant_id: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.merchant_id,
167
- name: (_h = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _h === void 0 ? void 0 : _h.names,
168
- contact: (_j = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _j === void 0 ? void 0 : _j.contact,
169
- individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals,
170
- countries: countries,
171
- countryCode: countryCode,
172
- notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification,
173
- business: boardData === null || boardData === void 0 ? void 0 : boardData.business,
174
- flows: (boardInfoStatus === null || boardInfoStatus === void 0 ? void 0 : boardInfoStatus.info) || []
175
- },
176
- token: token
177
- }];
158
+ _l.label = 16;
159
+ case 16:
160
+ individuals = (boardData || {}).individuals;
161
+ _c = individualData || {}, is_authorized = _c.is_authorized, data_state = _c.data_state;
162
+ return [2, {
163
+ data: data,
164
+ boardResponse: {
165
+ brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand,
166
+ bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account,
167
+ entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity,
168
+ merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant,
169
+ merchant_id: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.merchant_id,
170
+ name: (_j = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _j === void 0 ? void 0 : _j.names,
171
+ contact: (_k = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _k === void 0 ? void 0 : _k.contact,
172
+ individuals: is_authorized ? individuals : __assign(__assign({}, individuals), (!!data_state && { data_state: data_state })),
173
+ countries: countries,
174
+ countryCode: countryCode,
175
+ notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification,
176
+ business: boardData === null || boardData === void 0 ? void 0 : boardData.business,
177
+ flows: (boardInfoStatus === null || boardInfoStatus === void 0 ? void 0 : boardInfoStatus.info) || []
178
+ },
179
+ token: token
180
+ }];
178
181
  }
179
182
  });
180
183
  });
@@ -266,7 +269,7 @@ export var requestDetailsByEmail = createAsyncThunk('individual/requestDetailsBy
266
269
  return [4, API.individualService.updateMultipleIndividual(requestBody)];
267
270
  case 1:
268
271
  data_2 = _d.sent();
269
- list = mapUserList(data_2 === null || data_2 === void 0 ? void 0 : data_2.individuals);
272
+ list = sortUserList(mapUserList(data_2 === null || data_2 === void 0 ? void 0 : data_2.individuals)) || [];
270
273
  individualData = (list === null || list === void 0 ? void 0 : list[0]) && __assign({}, list[0]);
271
274
  _d.label = 2;
272
275
  case 2:
@@ -306,7 +309,7 @@ export var getIndividualList = createAsyncThunk('individual/getIndividualList',
306
309
  return [4, API.individualService.getIndividualList(payload)];
307
310
  case 1:
308
311
  individuals = (_a.sent()).individuals;
309
- list = mapUserList(individuals) || [];
312
+ list = sortUserList(mapUserList(individuals)) || [];
310
313
  return [2, __spreadArray([], list, true)];
311
314
  }
312
315
  });
@@ -346,7 +349,7 @@ export var retrieveIndividualInfo = createAsyncThunk('individual/retrieveIndivid
346
349
  else if (type === IndividualType.CUSTOMER)
347
350
  individualData = data === null || data === void 0 ? void 0 : data.customer;
348
351
  return [2, {
349
- data: __assign(__assign({}, (individualData || {})), { objects: [type], individual_data_state: individualData === null || individualData === void 0 ? void 0 : individualData.data_state }),
352
+ data: __assign(__assign({}, (individualData || {})), { objects: [type], individual_data_state: individualData === null || individualData === void 0 ? void 0 : individualData.data_state, object: type }),
350
353
  countryCode: countryCode,
351
354
  countries: settings.data.countries
352
355
  }];
@@ -410,10 +413,10 @@ export var retrieveBoardDetails = createAsyncThunk('retrieveIndividualBoardDetai
410
413
  });
411
414
  }); });
412
415
  export var verifyLeadOTP = createAsyncThunk('verifyIndividualLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
413
- var _a, individual, settings, responseBody, _b, board_id, board_info_id, countries, payload, data, boardInfoData, individualData, boardData, boardInfoStatus, countryCode, notification, _c, id, type, data_3, birthCountry;
414
- var _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
415
- return __generator(this, function (_p) {
416
- switch (_p.label) {
416
+ var _a, individual, settings, responseBody, _b, board_id, board_info_id, countries, payload, data, boardInfoData, individualData, boardData, boardInfoStatus, countryCode, notification, _c, id, type, data_3, birthCountry, individuals, _d, is_authorized, data_state;
417
+ var _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
418
+ return __generator(this, function (_q) {
419
+ switch (_q.label) {
417
420
  case 0:
418
421
  _a = thunkApi.getState(), individual = _a.individual, settings = _a.settings;
419
422
  responseBody = individual.data.verify.responseBody;
@@ -421,62 +424,64 @@ export var verifyLeadOTP = createAsyncThunk('verifyIndividualLeadOTP', function
421
424
  countries = settings.data.countries;
422
425
  payload = {
423
426
  data: params.otp,
424
- service_name: (_d = responseBody === null || responseBody === void 0 ? void 0 : responseBody.verification_by) === null || _d === void 0 ? void 0 : _d.service_name,
427
+ service_name: (_e = responseBody === null || responseBody === void 0 ? void 0 : responseBody.verification_by) === null || _e === void 0 ? void 0 : _e.service_name,
425
428
  verify_token: responseBody === null || responseBody === void 0 ? void 0 : responseBody.verify_token,
426
429
  step_name: INDIVIDUAl_STEP_NAMES.PHONE_AUTH,
427
430
  encryption_contract: ['data']
428
431
  };
429
432
  return [4, API.leadService.verifyLeadOTP(payload)];
430
433
  case 1:
431
- data = (_p.sent()).data;
434
+ data = (_q.sent()).data;
432
435
  boardInfoStatus = undefined;
433
- if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
436
+ if ((_f = data.errors) === null || _f === void 0 ? void 0 : _f.length)
434
437
  throw new Error(data.errors[0].description);
435
438
  if (!board_id) return [3, 3];
436
439
  return [4, API.boardService.retrieveBoardDetails(board_id)];
437
440
  case 2:
438
- boardData = _p.sent();
439
- _p.label = 3;
441
+ boardData = _q.sent();
442
+ _q.label = 3;
440
443
  case 3:
441
- countryCode = (_f = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _f === void 0 ? void 0 : _f.country;
444
+ countryCode = (_g = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _g === void 0 ? void 0 : _g.country;
442
445
  if (!(board_id && board_info_id)) return [3, 6];
443
446
  return [4, API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id })];
444
447
  case 4:
445
- boardInfoData = _p.sent();
448
+ boardInfoData = _q.sent();
446
449
  notification = (boardInfoData || {}).notification;
447
450
  _c = (notification === null || notification === void 0 ? void 0 : notification.recipient) || {}, id = _c.id, type = _c.type;
448
451
  if (!(id && type)) return [3, 6];
449
452
  return [4, thunkApi.dispatch(retrieveIndividualInfo({ id: id, type: type, countryCode: countryCode })).unwrap()];
450
453
  case 5:
451
- data_3 = (_p.sent()).data;
454
+ data_3 = (_q.sent()).data;
452
455
  individualData = data_3 || {};
453
- _p.label = 6;
456
+ _q.label = 6;
454
457
  case 6:
455
458
  if (countryCode)
456
459
  thunkApi.dispatch(handleSetCountryByIso2(countryCode));
457
460
  if (!(individualData === null || individualData === void 0 ? void 0 : individualData.is_authorized)) return [3, 10];
458
- if (!((_g = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _g === void 0 ? void 0 : _g.id)) return [3, 8];
459
- return [4, thunkApi.dispatch(getIndividualList((_h = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _h === void 0 ? void 0 : _h.id))];
461
+ if (!((_h = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _h === void 0 ? void 0 : _h.id)) return [3, 8];
462
+ return [4, thunkApi.dispatch(getIndividualList((_j = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _j === void 0 ? void 0 : _j.id))];
460
463
  case 7:
461
- _p.sent();
462
- _p.label = 8;
464
+ _q.sent();
465
+ _q.label = 8;
463
466
  case 8: return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
464
467
  case 9:
465
- boardInfoStatus = _p.sent();
468
+ boardInfoStatus = _q.sent();
466
469
  thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_LIST_STEP'));
467
470
  return [3, 13];
468
471
  case 10:
469
- birthCountry = ((_j = individualData === null || individualData === void 0 ? void 0 : individualData.birth) === null || _j === void 0 ? void 0 : _j.country) || countryCode;
472
+ birthCountry = ((_k = individualData === null || individualData === void 0 ? void 0 : individualData.birth) === null || _k === void 0 ? void 0 : _k.country) || countryCode;
470
473
  if (!birthCountry) return [3, 12];
471
474
  return [4, thunkApi.dispatch(getCityList(birthCountry))];
472
475
  case 11:
473
- _p.sent();
474
- _p.label = 12;
476
+ _q.sent();
477
+ _q.label = 12;
475
478
  case 12:
476
479
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_PERSONAL_INDIVIDUAL_INFO_STEP')); });
477
- _p.label = 13;
480
+ _q.label = 13;
478
481
  case 13:
479
- (_l = (_k = settings.data.appConfig).onStepCompleted) === null || _l === void 0 ? void 0 : _l.call(_k, settings.data.activeScreen.name, { otp: params.otp });
482
+ (_m = (_l = settings.data.appConfig).onStepCompleted) === null || _m === void 0 ? void 0 : _m.call(_l, settings.data.activeScreen.name, { otp: params.otp });
483
+ individuals = (boardData || {}).individuals;
484
+ _d = individualData || {}, is_authorized = _d.is_authorized, data_state = _d.data_state;
480
485
  return [2, {
481
486
  data: data,
482
487
  boardResponse: {
@@ -485,9 +490,9 @@ export var verifyLeadOTP = createAsyncThunk('verifyIndividualLeadOTP', function
485
490
  entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity,
486
491
  merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant,
487
492
  merchant_id: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.merchant_id,
488
- name: (_m = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _m === void 0 ? void 0 : _m.names,
489
- contact: (_o = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _o === void 0 ? void 0 : _o.contact,
490
- individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals,
493
+ name: (_o = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _o === void 0 ? void 0 : _o.names,
494
+ contact: (_p = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _p === void 0 ? void 0 : _p.contact,
495
+ individuals: is_authorized ? individuals : __assign(__assign({}, individuals), (!!data_state && { data_state: data_state })),
491
496
  countries: countries,
492
497
  countryCode: countryCode,
493
498
  notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification,
@@ -728,7 +733,7 @@ export var updateIndividualInfo = createAsyncThunk('updateIndividualInfo', funct
728
733
  _h.sent();
729
734
  _h.label = 7;
730
735
  case 7:
731
- list = mapUserList(data === null || data === void 0 ? void 0 : data.individuals);
736
+ list = sortUserList(mapUserList(data === null || data === void 0 ? void 0 : data.individuals)) || [];
732
737
  individualData = (list === null || list === void 0 ? void 0 : list[0]) && __assign({}, list[0]);
733
738
  thunkApi.dispatch(handleNextScreenStep());
734
739
  (_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, requestBody);
@@ -760,13 +765,13 @@ export var checkEmailAvailability = createAsyncThunk('checkEmailAvailability', f
760
765
  });
761
766
  });
762
767
  export var updateBoardSuccess = createAsyncThunk('individualUpdateBoardSuccess', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
763
- var _a, settings, individual, _b, id, infoId, payload, data, boardInfoStatus;
764
- var _c, _d, _e, _f;
765
- return __generator(this, function (_g) {
766
- switch (_g.label) {
768
+ var _a, settings, individual, _b, id, infoId, primaryUser, payload, data, boardInfoStatus, individualDataRes, _c, is_authorized, userId, type;
769
+ var _d, _e, _f, _g;
770
+ return __generator(this, function (_h) {
771
+ switch (_h.label) {
767
772
  case 0:
768
773
  _a = thunkApi.getState(), settings = _a.settings, individual = _a.individual;
769
- _b = individual.data.verify.responseBody || {}, id = _b.board_id, infoId = _b.board_info_id;
774
+ _b = individual.data.verify.responseBody || {}, id = _b.board_id, infoId = _b.board_info_id, primaryUser = _b.primaryUser;
770
775
  if (!id)
771
776
  return [2];
772
777
  payload = {
@@ -776,17 +781,27 @@ export var updateBoardSuccess = createAsyncThunk('individualUpdateBoardSuccess',
776
781
  };
777
782
  return [4, API.boardService.updateBoardInfo(__assign({ id: id, infoId: infoId }, payload))];
778
783
  case 1:
779
- data = _g.sent();
784
+ data = _h.sent();
780
785
  return [4, API.boardService.retrieveBoardInfoStatus(id)];
781
786
  case 2:
782
- boardInfoStatus = _g.sent();
787
+ boardInfoStatus = _h.sent();
783
788
  return [4, thunkApi.dispatch(retrieveBoardDetails(id))];
784
789
  case 3:
785
- _g.sent();
786
- (_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, {});
787
- (_f = (_e = settings.data.appConfig).onFlowCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, { data: data });
790
+ _h.sent();
791
+ individualDataRes = undefined;
792
+ _c = primaryUser || {}, is_authorized = _c.is_authorized, userId = _c.id, type = _c.object;
793
+ if (!!is_authorized) return [3, 5];
794
+ return [4, thunkApi
795
+ .dispatch(retrieveIndividualInfo({ id: userId, type: type, countryCode: settings.data.businessCountry.iso2 }))
796
+ .unwrap()];
797
+ case 4:
798
+ individualDataRes = _h.sent();
799
+ _h.label = 5;
800
+ case 5:
801
+ (_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, {});
802
+ (_g = (_f = settings.data.appConfig).onFlowCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, { data: data });
788
803
  thunkApi.dispatch(handleNextScreenStep());
789
- return [2, { response: __assign(__assign({}, data), { flows: (boardInfoStatus === null || boardInfoStatus === void 0 ? void 0 : boardInfoStatus.info) || [] }), formData: params }];
804
+ return [2, { response: __assign(__assign({}, data), { flows: (boardInfoStatus === null || boardInfoStatus === void 0 ? void 0 : boardInfoStatus.info) || [] }), formData: params, individualData: individualDataRes === null || individualDataRes === void 0 ? void 0 : individualDataRes.data }];
790
805
  }
791
806
  });
792
807
  }); });
@@ -1033,7 +1048,7 @@ export var individualSlice = createSlice({
1033
1048
  state.error = null;
1034
1049
  var _e = action.payload, data = _e.data, countries = _e.countries;
1035
1050
  var user = (state.data.verify.responseBody || {}).user;
1036
- state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { user: __assign(__assign({}, data), { is_authorized: data.is_authorized !== undefined ? data.is_authorized : user === null || user === void 0 ? void 0 : user.is_authorized }) });
1051
+ state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { primaryUser: data, user: __assign(__assign({}, data), { is_authorized: data.is_authorized !== undefined ? data.is_authorized : user === null || user === void 0 ? void 0 : user.is_authorized }) });
1037
1052
  var _f = data || {}, source_income = _f.source_income, monthly_income = _f.monthly_income, occupation = _f.occupation, is_relative_PEP = _f.is_relative_PEP, is_influencer = _f.is_influencer, birth = _f.birth, contact = _f.contact, identification = _f.identification, nationality = _f.nationality, gender = _f.gender, shares = _f.shares;
1038
1053
  var _g = state.data.individualData.responseBody || {}, sourceIncomeList = _g.sourceIncomeList, monthlyIncomeList = _g.monthlyIncomeList, occupationList = _g.occupationList;
1039
1054
  var cityList = (state.data.verify.responseBody || {}).cityList;
@@ -1262,14 +1277,15 @@ export var individualSlice = createSlice({
1262
1277
  var _a;
1263
1278
  state.loading = false;
1264
1279
  state.error = null;
1265
- var response = (action.payload || {}).response;
1280
+ var _b = action.payload || {}, response = _b.response, individualData = _b.individualData;
1266
1281
  var description = (((_a = response === null || response === void 0 ? void 0 : response.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
1267
1282
  if (description) {
1268
1283
  state.error = description;
1269
1284
  return;
1270
1285
  }
1271
1286
  var flows = response.flows;
1272
- state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows });
1287
+ var individuals = (state.data.verify.responseBody || {}).individuals;
1288
+ state.data.verify.responseBody = __assign(__assign(__assign({}, state.data.verify.responseBody), { flows: flows }), (individualData && { individuals: __assign(__assign({}, individuals), { data_state: individualData === null || individualData === void 0 ? void 0 : individualData.data_state }) }));
1273
1289
  })
1274
1290
  .addCase(updateBoardSuccess.pending, function (state) {
1275
1291
  state.loading = true;
@@ -1,5 +1,5 @@
1
- import { RootState } from '../../../app/store';
2
- import { FlowsTypes, OTPFormValues, PasswordCreateFormValues, ResponseData, SharedState } from '../../../@types';
1
+ import { RootState } from '@store';
2
+ import { FlowsTypes, OTPFormValues, PasswordCreateFormValues, ResponseData, SharedState } from '@types';
3
3
  export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
4
4
  data: any;
5
5
  boardResponse: any;
@@ -47,10 +47,10 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  var _a;
49
49
  import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
50
- import API from '../../../api';
51
- import { FlowsTypes } from '../../../@types';
52
- import { handleCurrentActiveScreen, handleNextScreenStep, handleSetCountryByIso2 } from '../../../app/settings';
53
- import { PASSWORD_OPERATION_TYPE, PASSWORD_STEP_NAMES } from '../../../constants';
50
+ import API from '@api';
51
+ import { FlowsTypes } from '@types';
52
+ import { handleCurrentActiveScreen, handleNextScreenStep, handleSetCountryByIso2 } from '@app/settings';
53
+ import { PASSWORD_OPERATION_TYPE, PASSWORD_STEP_NAMES } from '@constants';
54
54
  export var verifyLeadToken = createAsyncThunk('passwordVerifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
55
55
  var payload, data, boardInfoData, boardData, board_id, countryIso2, info, hasPasswordCompleted;
56
56
  var _a, _b, _c, _d;
@@ -1,5 +1,5 @@
1
- import { RootState } from '../../../app/store';
2
- import { MobileFormValues, SharedState, EmailFormValues, ResponseData, OTPFormValues, PasswordFormValues } from '../../../@types';
1
+ import { RootState } from '@store';
2
+ import { MobileFormValues, SharedState, EmailFormValues, ResponseData, OTPFormValues, PasswordFormValues } from '@types';
3
3
  export declare const createMobileAuth: import("@reduxjs/toolkit").AsyncThunk<{
4
4
  data: any;
5
5
  formData: MobileFormValues;
@@ -47,9 +47,9 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  var _a;
49
49
  import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
50
- import API from '../../../api';
51
- import { defaultCountry, SignIn_STEP_NAMES } from '../../../constants';
52
- import { handleNextScreenStep, handleOpen } from '../../../app/settings';
50
+ import API from '@api';
51
+ import { defaultCountry, SignIn_STEP_NAMES } from '@constants';
52
+ import { handleNextScreenStep, handleOpen } from '@app/settings';
53
53
  var redirection = function (type) {
54
54
  if (type === 1)
55
55
  return handleNextScreenStep('SIGIN_PASSWORD_STEP');
@@ -1,5 +1,5 @@
1
- import { RootState } from '../../../app/store';
2
- import { ActionState, AsyncThunkParams, FlowsTypes, OTPFormValues, ResponseData, SharedState, TaxFormValues } from '../../../@types';
1
+ import { RootState } from '@store';
2
+ import { ActionState, AsyncThunkParams, FlowsTypes, OTPFormValues, ResponseData, SharedState, TaxFormValues } from '@types';
3
3
  interface VerifyLeadTokenProps {
4
4
  token: string;
5
5
  isInternally?: boolean;
@@ -47,11 +47,11 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  var _a;
49
49
  import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
50
- import API from '../../../api';
51
- import { DocumentPurpose, FlowsTypes } from '../../../@types';
52
- import { handleNextScreenStep, handleCurrentActiveScreen, handleSetCountryByIso2, handlePrevScreenStep } from '../../../app/settings';
53
- import { TAX_STEP_NAMES } from '../../../constants';
54
- import { getRecentDocumentBasedOnPurpose, hasNoneEditableValue, sleep } from '../../../utils';
50
+ import API from '@api';
51
+ import { DocumentPurpose, FlowsTypes } from '@types';
52
+ import { handleNextScreenStep, handleCurrentActiveScreen, handleSetCountryByIso2, handlePrevScreenStep } from '@app/settings';
53
+ import { TAX_STEP_NAMES } from '@constants';
54
+ import { getRecentDocumentBasedOnPurpose, hasNoneEditableValue, sleep } from '@utils';
55
55
  export var verifyLeadToken = createAsyncThunk('taxVerifyLeadToken', function (_a, thunkApi) {
56
56
  var token = _a.token, isInternally = _a.isInternally;
57
57
  return __awaiter(void 0, void 0, void 0, function () {
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LibConfig } from '../../@types';
2
+ import { LibConfig } from '@src/@types';
3
3
  export interface BankLibProps extends LibConfig {
4
4
  verifyToken?: string;
5
5
  }
@@ -23,17 +23,17 @@ var __rest = (this && this.__rest) || function (s, e) {
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import { memo } from 'react';
25
25
  import { createRoot } from 'react-dom/client';
26
- import { useAppTheme, useAppSelector, useErrorListener, useAppConfig, useStepStartedListener, useVerifyToken } from '../../hooks';
27
- import { settingsSelector } from '../../app/settings';
28
- import AnimationFlow from '../../components/AnimationFlow';
29
- import { store } from '../../app/store';
30
- import { ReduxProvider, ThemeProvider } from '../../components/Providers';
31
- import Collapse from '../../components/Collapse';
32
- import { findOrCreateElementAndInject } from '../../utils';
33
- import { FeatureContainer } from '../shared/Containers';
34
- import { BANK_SCREENS_NAVIGATION } from '../../constants';
26
+ import { useAppTheme, useAppSelector, useErrorListener, useAppConfig, useStepStartedListener, useVerifyToken } from '@hooks';
27
+ import { settingsSelector } from '@app/settings';
28
+ import AnimationFlow from '@components/AnimationFlow';
29
+ import { store } from '@app/store';
30
+ import { ReduxProvider, ThemeProvider } from '@components/Providers';
31
+ import Collapse from '@components/Collapse';
32
+ import { findOrCreateElementAndInject } from '@utils';
33
+ import { FeatureContainer } from '@features/shared/Containers';
34
+ import { BANK_SCREENS_NAVIGATION } from '@constants';
35
35
  import { bankFeatureScreens } from '../featuresScreens';
36
- import { bankSelector, verifyLeadToken } from '../app/bank/bankStore';
36
+ import { bankSelector, verifyLeadToken } from '@features/app/bank/bankStore';
37
37
  import Background from '../shared/Background';
38
38
  var Bank = memo(function (_a) {
39
39
  var verifyToken = _a.verifyToken, props = __rest(_a, ["verifyToken"]);
@@ -11,25 +11,25 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import * as React from 'react';
14
- import { ScreenContainer } from '../../../shared/Containers';
14
+ import { ScreenContainer } from '@features/shared/Containers';
15
15
  import Beneficiary from './Beneficiary';
16
16
  import IBAN from './IBAN';
17
17
  import BankName from './BankName';
18
- import Button from '../../../shared/Button';
19
- import { useAppDispatch, useAppSelector, useFormReadOnly, useSetFromDefaultValues, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '../../../../hooks';
18
+ import Button from '@features/shared/Button';
19
+ import { useAppDispatch, useAppSelector, useFormReadOnly, useSetFromDefaultValues, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '@hooks';
20
20
  import { BankKWFLValidation, BankValidation } from './validation';
21
21
  import { useTranslation } from 'react-i18next';
22
22
  import { useForm, FormProvider } from 'react-hook-form';
23
23
  import { yupResolver } from '@hookform/resolvers/yup';
24
- import { useLanguage } from '../../../../hooks';
24
+ import { useLanguage } from '@hooks';
25
25
  import { styled } from '@mui/material/styles';
26
- import { BusinessType, DocumentPurpose } from '../../../../@types';
27
- import { bankSelector, clearError, createBankAccount, retrieveBoardStatus } from '../../../app/bank/bankStore';
28
- import Form from '../../../../components/Form';
29
- import { handlePrevScreenStep, settingsSelector } from '../../../../app/settings';
26
+ import { BusinessType, DocumentPurpose } from '@types';
27
+ import { bankSelector, clearError, createBankAccount, retrieveBoardStatus } from '@features/app/bank/bankStore';
28
+ import Form from '@components/Form';
29
+ import { handlePrevScreenStep, settingsSelector } from '@app/settings';
30
30
  import ConfirmPolicy from './ConfirmPolicy';
31
31
  import BankStatement from './BankStatement';
32
- import { getFileDetailsFromDocument, isKW, isStringHasOneAsterisk } from '../../../../utils';
32
+ import { getFileDetailsFromDocument, isKW, isStringHasOneAsterisk } from '@utils';
33
33
  var FormStyled = styled(Form)(function () { return ({
34
34
  display: 'flex',
35
35
  flexDirection: 'column',