@tap-payments/auth-jsconnect 2.4.29-test → 2.4.31-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 (427) 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/ArabicDatePicker/style.css +24 -0
  34. package/build/components/DatePicker/DatePicker.js +3 -3
  35. package/build/components/DatePicker/customStyle.css +86 -0
  36. package/build/components/FileInput/DragAndDrop.js +6 -6
  37. package/build/components/FileInput/UploadInput.js +2 -2
  38. package/build/components/Footer/Footer.js +3 -3
  39. package/build/components/Input/Input.js +2 -2
  40. package/build/components/OTPTimer/OTPTimer.js +1 -1
  41. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  42. package/build/components/SimpleList/SimpleList.js +2 -2
  43. package/build/components/Tooltip/Tooltip.js +2 -2
  44. package/build/constants/app.d.ts +1 -1
  45. package/build/constants/app.js +1 -1
  46. package/build/features/app/bank/bankStore.d.ts +3 -2
  47. package/build/features/app/bank/bankStore.js +35 -23
  48. package/build/features/app/brand/brandStore.d.ts +4 -2
  49. package/build/features/app/brand/brandStore.js +71 -51
  50. package/build/features/app/business/businessStore.d.ts +2 -2
  51. package/build/features/app/business/businessStore.js +5 -5
  52. package/build/features/app/connect/connectStore.d.ts +2 -2
  53. package/build/features/app/connect/connectStore.js +5 -5
  54. package/build/features/app/connectExpress/connectExpressStore.d.ts +2 -2
  55. package/build/features/app/connectExpress/connectExpressStore.js +6 -6
  56. package/build/features/app/entity/entityStore.d.ts +6 -2
  57. package/build/features/app/entity/entityStore.js +92 -58
  58. package/build/features/app/individual/individualStore.d.ts +147 -0
  59. package/build/features/app/individual/individualStore.js +22 -22
  60. package/build/features/app/password/passwordStore.d.ts +4 -2
  61. package/build/features/app/password/passwordStore.js +74 -38
  62. package/build/features/app/signIn/signInStore.d.ts +2 -2
  63. package/build/features/app/signIn/signInStore.js +3 -3
  64. package/build/features/app/tax/taxStore.d.ts +3 -2
  65. package/build/features/app/tax/taxStore.js +34 -23
  66. package/build/features/bank/Bank.d.ts +1 -1
  67. package/build/features/bank/Bank.js +10 -10
  68. package/build/features/bank/screens/BankDetails/BankDetails.js +9 -9
  69. package/build/features/bank/screens/BankDetails/BankName.js +8 -8
  70. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
  71. package/build/features/bank/screens/BankDetails/BankStatement.js +6 -6
  72. package/build/features/bank/screens/BankDetails/Beneficiary.js +6 -6
  73. package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +5 -5
  74. package/build/features/bank/screens/BankDetails/IBAN.js +10 -10
  75. package/build/features/bank/screens/BankDetails/validation.js +1 -1
  76. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  77. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  78. package/build/features/bank/screens/Success/Success.js +3 -3
  79. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  80. package/build/features/bank/screens/Verify/OTPInput.js +5 -5
  81. package/build/features/bank/screens/Verify/Verify.js +8 -8
  82. package/build/features/brand/Brand.d.ts +1 -1
  83. package/build/features/brand/Brand.js +10 -10
  84. package/build/features/brand/screens/BrandActivities/ActivitiesList.js +12 -12
  85. package/build/features/brand/screens/BrandActivities/BrandActivities.js +7 -7
  86. package/build/features/brand/screens/BrandActivities/CustomerBase.js +11 -11
  87. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +8 -8
  88. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +12 -12
  89. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +1 -1
  90. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +10 -10
  91. package/build/features/brand/screens/BrandActivities/TAC.js +10 -10
  92. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +8 -8
  93. package/build/features/brand/screens/BrandInfo/BrandInfo.js +9 -9
  94. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -1
  95. package/build/features/brand/screens/BrandInfo/BrandLogo.js +7 -7
  96. package/build/features/brand/screens/BrandInfo/BrandName.js +9 -9
  97. package/build/features/brand/screens/BrandInfo/SalesChannels.js +4 -4
  98. package/build/features/brand/screens/BrandInfo/Segments.js +9 -9
  99. package/build/features/brand/screens/BrandInfo/TeamSize.js +9 -9
  100. package/build/features/brand/screens/BrandInfo/validation.js +1 -1
  101. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  102. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  103. package/build/features/brand/screens/Success/Success.js +3 -3
  104. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  105. package/build/features/brand/screens/Verify/OTPInput.js +5 -5
  106. package/build/features/brand/screens/Verify/Verify.js +8 -8
  107. package/build/features/business/Business.d.ts +1 -1
  108. package/build/features/business/Business.js +10 -10
  109. package/build/features/business/screens/Activities/Activities.js +7 -7
  110. package/build/features/business/screens/Activities/ActivitiesList.js +12 -12
  111. package/build/features/business/screens/Activities/LicenseName.js +6 -6
  112. package/build/features/business/screens/Activities/OperationStartDate.js +5 -5
  113. package/build/features/business/screens/BrandDetails/BrandDetails.js +7 -7
  114. package/build/features/business/screens/BrandDetails/BrandName.js +4 -4
  115. package/build/features/business/screens/BrandDetails/Header.js +5 -5
  116. package/build/features/business/screens/BrandDetails/LicenseInfo.js +4 -4
  117. package/build/features/business/screens/BrandDetails/SalesChannel.js +5 -5
  118. package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
  119. package/build/features/business/screens/BusinessType/Article.js +7 -7
  120. package/build/features/business/screens/BusinessType/BusinessType.js +10 -10
  121. package/build/features/business/screens/BusinessType/EntityLicenseList.js +13 -13
  122. package/build/features/business/screens/BusinessType/EntityName.js +6 -6
  123. package/build/features/business/screens/BusinessType/LicenseCertificate.js +7 -7
  124. package/build/features/business/screens/BusinessType/LicenseList.js +13 -13
  125. package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -10
  126. package/build/features/business/screens/BusinessType/LicenseType.js +14 -14
  127. package/build/features/business/screens/BusinessType/SelectType.js +6 -6
  128. package/build/features/business/screens/BusinessType/validation.js +2 -2
  129. package/build/features/business/screens/CivilID/CivilID.js +6 -6
  130. package/build/features/business/screens/CivilID/IDNumber.js +6 -6
  131. package/build/features/business/screens/Customers/CustomerLocations.js +11 -11
  132. package/build/features/business/screens/Customers/Customers.js +8 -8
  133. package/build/features/business/screens/Customers/ExpectedCustomers.js +9 -9
  134. package/build/features/business/screens/Customers/ExpectedSalesRange.js +11 -11
  135. package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
  136. package/build/features/business/screens/Customers/RefundPolicy.js +10 -10
  137. package/build/features/business/screens/Customers/TransactionPolicy.js +7 -7
  138. package/build/features/business/screens/IDBOD/DOB.js +5 -5
  139. package/build/features/business/screens/IDBOD/ID.js +5 -5
  140. package/build/features/business/screens/IDBOD/IDBOD.js +6 -6
  141. package/build/features/business/screens/OTP/OTP.js +9 -9
  142. package/build/features/business/screens/OTP/OTPInput.js +4 -4
  143. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  144. package/build/features/business/screens/Success/Success.js +3 -3
  145. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  146. package/build/features/business/screens/Verify/OTPInput.js +5 -5
  147. package/build/features/business/screens/Verify/Verify.js +9 -9
  148. package/build/features/business/screens/VerifyPACI/VerifyPACI.js +4 -4
  149. package/build/features/connect/Connect.d.ts +1 -1
  150. package/build/features/connect/Connect.js +10 -10
  151. package/build/features/connect/screens/CivilID/CivilID.js +8 -8
  152. package/build/features/connect/screens/CivilID/IDNumber.js +6 -6
  153. package/build/features/connect/screens/Individual/Email.js +6 -6
  154. package/build/features/connect/screens/Individual/Individual.js +11 -11
  155. package/build/features/connect/screens/Individual/MobileNumber.d.ts +1 -1
  156. package/build/features/connect/screens/Individual/MobileNumber.js +12 -12
  157. package/build/features/connect/screens/Individual/Name.js +5 -5
  158. package/build/features/connect/screens/Individual/validation.js +1 -1
  159. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  160. package/build/features/connect/screens/Merchant/BrandList.js +10 -10
  161. package/build/features/connect/screens/Merchant/BrandName.js +8 -8
  162. package/build/features/connect/screens/Merchant/Merchant.js +8 -8
  163. package/build/features/connect/screens/Merchant/SalesChannels.js +4 -4
  164. package/build/features/connect/screens/Merchant/Segments.js +9 -9
  165. package/build/features/connect/screens/Merchant/TAC.js +9 -9
  166. package/build/features/connect/screens/Merchant/TeamSize.js +9 -9
  167. package/build/features/connect/screens/Merchant/validation.js +1 -1
  168. package/build/features/connect/screens/Mobile/Mobile.js +11 -11
  169. package/build/features/connect/screens/Mobile/MobileNumber.d.ts +1 -1
  170. package/build/features/connect/screens/Mobile/MobileNumber.js +12 -12
  171. package/build/features/connect/screens/Mobile/Title.js +2 -2
  172. package/build/features/connect/screens/NID/DOB.js +5 -5
  173. package/build/features/connect/screens/NID/IDNumber.js +7 -7
  174. package/build/features/connect/screens/NID/NID.js +8 -8
  175. package/build/features/connect/screens/OTP/OTP.js +10 -10
  176. package/build/features/connect/screens/OTP/OTPInput.js +5 -5
  177. package/build/features/connect/screens/ThankYou/ThankYou.js +4 -4
  178. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +5 -5
  179. package/build/features/connectExpress/ConnectExpress.d.ts +1 -1
  180. package/build/features/connectExpress/ConnectExpress.js +10 -10
  181. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +3 -3
  182. package/build/features/connectExpress/screens/Brand/Brand.js +9 -9
  183. package/build/features/connectExpress/screens/CivilID/CivilID.js +8 -8
  184. package/build/features/connectExpress/screens/CivilID/IDNumber.js +6 -6
  185. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +6 -6
  186. package/build/features/connectExpress/screens/CivilIDMissed/IDNumber.js +6 -6
  187. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +8 -8
  188. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +8 -8
  189. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +13 -13
  190. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +10 -10
  191. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +12 -12
  192. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +8 -8
  193. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +2 -2
  194. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +11 -11
  195. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +6 -6
  196. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +1 -1
  197. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +11 -11
  198. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +5 -5
  199. package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +1 -1
  200. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +5 -5
  201. package/build/features/connectExpress/screens/IdentityOTP/OTP.js +10 -10
  202. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.js +5 -5
  203. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +4 -4
  204. package/build/features/connectExpress/screens/Mobile/Mobile.js +10 -10
  205. package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +1 -1
  206. package/build/features/connectExpress/screens/Mobile/MobileNumber.js +12 -12
  207. package/build/features/connectExpress/screens/Mobile/TAC.js +8 -8
  208. package/build/features/connectExpress/screens/Mobile/Title.js +2 -2
  209. package/build/features/connectExpress/screens/NID/DOB.js +5 -5
  210. package/build/features/connectExpress/screens/NID/IDNumber.js +9 -9
  211. package/build/features/connectExpress/screens/NID/NID.js +8 -8
  212. package/build/features/connectExpress/screens/NID/TAC.js +8 -8
  213. package/build/features/connectExpress/screens/NIDMissed/DOB.js +5 -5
  214. package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +7 -7
  215. package/build/features/connectExpress/screens/NIDMissed/NID.js +7 -7
  216. package/build/features/connectExpress/screens/OTP/OTP.js +10 -10
  217. package/build/features/connectExpress/screens/OTP/OTPInput.js +5 -5
  218. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -4
  219. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.js +4 -4
  220. package/build/features/entity/Entity.d.ts +1 -1
  221. package/build/features/entity/Entity.js +10 -10
  222. package/build/features/entity/screens/EntityCapital/ActivityList.js +12 -12
  223. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +7 -7
  224. package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +6 -6
  225. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +7 -7
  226. package/build/features/entity/screens/EntityCapital/EntityCapital.js +7 -7
  227. package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
  228. package/build/features/entity/screens/EntityName/Article.js +7 -7
  229. package/build/features/entity/screens/EntityName/EntityName.js +9 -9
  230. package/build/features/entity/screens/EntityName/EntityTypeList.js +12 -12
  231. package/build/features/entity/screens/EntityName/ExpiryDate.js +6 -6
  232. package/build/features/entity/screens/EntityName/IssuingDate.js +5 -5
  233. package/build/features/entity/screens/EntityName/LegalName.js +6 -6
  234. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -1
  235. package/build/features/entity/screens/EntityName/LicenseCertificate.js +8 -8
  236. package/build/features/entity/screens/EntityName/LicenseNumber.js +10 -10
  237. package/build/features/entity/screens/EntityName/UnifiedNumber.js +7 -7
  238. package/build/features/entity/screens/EntityName/validation.js +2 -2
  239. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  240. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  241. package/build/features/entity/screens/Success/Success.js +3 -3
  242. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  243. package/build/features/entity/screens/Verify/OTPInput.js +5 -5
  244. package/build/features/entity/screens/Verify/Verify.js +8 -8
  245. package/build/features/featuresScreens.d.ts +1 -1
  246. package/build/features/featuresScreens.js +79 -79
  247. package/build/features/individual/Individual.d.ts +1 -1
  248. package/build/features/individual/Individual.js +10 -10
  249. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +11 -11
  250. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -1
  251. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +8 -8
  252. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +10 -10
  253. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  254. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +11 -11
  255. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -1
  256. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +9 -9
  257. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +10 -10
  258. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +6 -6
  259. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +7 -7
  260. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -1
  261. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +8 -8
  262. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  263. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +10 -10
  264. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +1 -1
  265. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +1 -1
  266. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  267. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +3 -3
  268. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  269. package/build/features/individual/screens/IndividualList/Email.js +8 -8
  270. package/build/features/individual/screens/IndividualList/IndividualList.js +8 -8
  271. package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +1 -1
  272. package/build/features/individual/screens/IndividualList/MobileNumber.js +11 -11
  273. package/build/features/individual/screens/IndividualList/UserList.js +11 -11
  274. package/build/features/individual/screens/IndividualList/validation.d.ts +1 -1
  275. package/build/features/individual/screens/IndividualList/validation.js +1 -1
  276. package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +9 -9
  277. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +1 -1
  278. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +8 -8
  279. package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +6 -6
  280. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +4 -4
  281. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +7 -7
  282. package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +8 -8
  283. package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -6
  284. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +9 -9
  285. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +1 -1
  286. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +8 -8
  287. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +1 -1
  288. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +10 -10
  289. package/build/features/individual/screens/IndividualPersonalInfo/Name.js +5 -5
  290. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +1 -1
  291. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +8 -8
  292. package/build/features/individual/screens/IndividualPersonalInfo/validation.js +1 -1
  293. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +1 -1
  294. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +11 -11
  295. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +8 -8
  296. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  297. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  298. package/build/features/individual/screens/Success/Success.js +3 -3
  299. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  300. package/build/features/individual/screens/Verify/OTPInput.js +5 -5
  301. package/build/features/individual/screens/Verify/Verify.js +8 -8
  302. package/build/features/password/Password.d.ts +1 -1
  303. package/build/features/password/Password.js +10 -10
  304. package/build/features/password/screens/CreatePassword/ConditionText.js +1 -1
  305. package/build/features/password/screens/CreatePassword/ConfirmPassword.js +3 -3
  306. package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -8
  307. package/build/features/password/screens/CreatePassword/Password.js +6 -6
  308. package/build/features/password/screens/OTP/OTP.js +9 -9
  309. package/build/features/password/screens/OTP/OTPInput.js +4 -4
  310. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  311. package/build/features/password/screens/Success/Success.js +4 -4
  312. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  313. package/build/features/password/screens/Verify/OTPInput.js +5 -5
  314. package/build/features/password/screens/Verify/Verify.js +8 -8
  315. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +4 -4
  316. package/build/features/shared/Address/Address.d.ts +1 -1
  317. package/build/features/shared/Address/Address.js +2 -2
  318. package/build/features/shared/Address/CountryList.d.ts +2 -2
  319. package/build/features/shared/Address/CountryList.js +7 -7
  320. package/build/features/shared/Address/InputSelect.d.ts +1 -1
  321. package/build/features/shared/Address/InputSelect.js +7 -7
  322. package/build/features/shared/Background/Background.js +2 -2
  323. package/build/features/shared/Background/LogoBackground.js +3 -3
  324. package/build/features/shared/Button/AbsherButton.d.ts +1 -1
  325. package/build/features/shared/Button/AbsherButton.js +3 -3
  326. package/build/features/shared/Button/Button.d.ts +1 -1
  327. package/build/features/shared/Button/Button.js +7 -7
  328. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  329. package/build/features/shared/Button/EmailProvidersButtons.js +3 -3
  330. package/build/features/shared/Button/FlowsButtons.d.ts +2 -2
  331. package/build/features/shared/Button/FlowsButtons.js +7 -7
  332. package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
  333. package/build/features/shared/Button/IndividualActionButtons.js +5 -5
  334. package/build/features/shared/Button/MobileButton.d.ts +1 -1
  335. package/build/features/shared/Button/MobileButton.js +3 -3
  336. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +4 -4
  337. package/build/features/shared/DataLoading/DataLoading.js +4 -4
  338. package/build/features/shared/Dialog/CloseDialog.js +2 -2
  339. package/build/features/shared/Dialog/DialogContainer.js +2 -2
  340. package/build/features/shared/EndAdornment/EndAdornment.js +2 -2
  341. package/build/features/shared/EndAdornment/EndAdornmentExpanded.js +2 -2
  342. package/build/features/shared/Footer/Footer.js +4 -4
  343. package/build/features/shared/Footer/PoweredByFooter.js +3 -3
  344. package/build/features/shared/GenericError/GenericError.js +4 -4
  345. package/build/features/shared/Input/Input.d.ts +1 -1
  346. package/build/features/shared/Input/Input.js +2 -2
  347. package/build/features/shared/OTP/OTP.d.ts +1 -1
  348. package/build/features/shared/OTP/OTP.js +3 -3
  349. package/build/features/shared/PaciVerification/PaciVerification.js +5 -5
  350. package/build/features/shared/PaciVerification/VerifyPACILoading.js +3 -3
  351. package/build/features/shared/PaciVerification/VerifyPACISuccess.js +1 -1
  352. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -1
  353. package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +9 -9
  354. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  355. package/build/features/shared/SalesChannels/SalesChannel.js +6 -6
  356. package/build/features/shared/Search/Search.js +1 -1
  357. package/build/features/shared/SearchIcon/SearchIcon.js +2 -2
  358. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  359. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +6 -6
  360. package/build/features/shared/SuccessScreen/SuccessScreen.js +6 -6
  361. package/build/features/shared/UploadFile/FileUpload.d.ts +1 -1
  362. package/build/features/shared/UploadFile/FileUpload.js +8 -8
  363. package/build/features/shared/UploadFile/UploadFile.js +10 -10
  364. package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
  365. package/build/features/shared/UploadFile/UploadWrapper.js +7 -7
  366. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +1 -1
  367. package/build/features/shared/UploadMultipleFile/UploadFile.js +8 -8
  368. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
  369. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +7 -7
  370. package/build/features/signIn/SignIn.d.ts +1 -1
  371. package/build/features/signIn/SignIn.js +10 -10
  372. package/build/features/signIn/screens/Email/Email.js +8 -8
  373. package/build/features/signIn/screens/Email/EmailField.js +5 -5
  374. package/build/features/signIn/screens/Email/validation.js +1 -1
  375. package/build/features/signIn/screens/Mobile/Mobile.js +9 -9
  376. package/build/features/signIn/screens/Mobile/MobileNumber.d.ts +1 -1
  377. package/build/features/signIn/screens/Mobile/MobileNumber.js +12 -12
  378. package/build/features/signIn/screens/OTP/OTP.js +9 -9
  379. package/build/features/signIn/screens/OTP/OTPInput.js +4 -4
  380. package/build/features/signIn/screens/Password/Password.js +7 -7
  381. package/build/features/signIn/screens/Password/PasswordInput.js +3 -3
  382. package/build/features/tax/Tax.d.ts +1 -1
  383. package/build/features/tax/Tax.js +10 -10
  384. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.js +3 -3
  385. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +5 -5
  386. package/build/features/tax/screens/Success/Success.js +3 -3
  387. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
  388. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +5 -5
  389. package/build/features/tax/screens/TaxDetails/TaxDetails.js +8 -8
  390. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -1
  391. package/build/features/tax/screens/TaxDetails/TaxDocument.js +8 -8
  392. package/build/features/tax/screens/TaxDetails/VATId.js +6 -6
  393. package/build/features/tax/screens/Verify/OTPInput.js +5 -5
  394. package/build/features/tax/screens/Verify/Verify.js +8 -8
  395. package/build/hooks/useAppConfig.d.ts +1 -1
  396. package/build/hooks/useAppConfig.js +4 -4
  397. package/build/hooks/useAppSelector.d.ts +1 -1
  398. package/build/hooks/useAppTheme.d.ts +1 -1
  399. package/build/hooks/useAppTheme.js +3 -3
  400. package/build/hooks/useCountry.js +1 -1
  401. package/build/hooks/useDataNoneEditable.d.ts +1 -1
  402. package/build/hooks/useDataNoneEditable.js +1 -1
  403. package/build/hooks/useDataVerified.d.ts +1 -1
  404. package/build/hooks/useDataVerified.js +1 -1
  405. package/build/hooks/useErrorListener.js +1 -1
  406. package/build/hooks/useExcludeReadOnlyFelids.js +1 -1
  407. package/build/hooks/useFormReadOnly.js +1 -1
  408. package/build/hooks/useLanguage.js +1 -1
  409. package/build/hooks/useRedirectionListener.js +1 -1
  410. package/build/hooks/useScreen.js +1 -1
  411. package/build/hooks/useStepStartedListener.js +1 -1
  412. package/build/hooks/useVerifyToken.d.ts +1 -1
  413. package/build/hooks/useVerifyToken.js +2 -2
  414. package/build/i18n.js +1 -1
  415. package/build/index.css +140 -0
  416. package/build/index.d.ts +10 -10
  417. package/build/index.js +10 -10
  418. package/build/theme/theme.d.ts +1 -1
  419. package/build/utils/array.d.ts +4 -3
  420. package/build/utils/array.js +67 -1
  421. package/build/utils/locale.d.ts +1 -1
  422. package/build/utils/locale.js +1 -1
  423. package/build/utils/object.js +1 -1
  424. package/build/utils/rsa.js +1 -1
  425. package/build/utils/string.d.ts +1 -1
  426. package/build/utils/string.js +4 -4
  427. package/package.json +1 -1
@@ -47,15 +47,16 @@ 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
+ import { retrieveIndividualData } from '../../../utils';
54
55
  export var verifyLeadToken = createAsyncThunk('passwordVerifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
55
- var payload, data, boardInfoData, boardData, board_id, countryIso2, info, hasPasswordCompleted;
56
- var _a, _b, _c, _d;
57
- return __generator(this, function (_e) {
58
- switch (_e.label) {
56
+ var payload, data, boardStatusData, boardInfoData, boardData, individualData, _a, board_id, board_info_id, _b, id_1, type_1, serviceCallBack, _c, boardRes, individualRes, countryIso2, info, hasPasswordCompleted;
57
+ var _d, _e, _f, _g, _h;
58
+ return __generator(this, function (_j) {
59
+ switch (_j.label) {
59
60
  case 0:
60
61
  payload = {
61
62
  service_name: 'tap_email',
@@ -63,24 +64,36 @@ export var verifyLeadToken = createAsyncThunk('passwordVerifyLeadToken', functio
63
64
  };
64
65
  return [4, API.leadService.verifyLeadToken(payload)];
65
66
  case 1:
66
- data = (_e.sent()).data;
67
- boardData = undefined;
68
- if (!(!(data === null || data === void 0 ? void 0 : data.errors) && !(data === null || data === void 0 ? void 0 : data.mw_error))) return [3, 5];
69
- board_id = data === null || data === void 0 ? void 0 : data.id;
70
- if (!board_id) return [3, 4];
71
- return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
67
+ data = (_j.sent()).data;
68
+ individualData = undefined;
69
+ if (!(!(data === null || data === void 0 ? void 0 : data.errors) && !(data === null || data === void 0 ? void 0 : data.mw_error))) return [3, 8];
70
+ _a = data || {}, board_id = _a.id, board_info_id = _a.board_info_id;
71
+ if (!board_id) return [3, 7];
72
+ if (!board_info_id) return [3, 3];
73
+ return [4, API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id })];
72
74
  case 2:
73
- boardInfoData = _e.sent();
74
- return [4, API.boardService.retrieveBoardDetails(board_id)];
75
- case 3:
76
- boardData = _e.sent();
77
- _e.label = 4;
75
+ boardInfoData = _j.sent();
76
+ _j.label = 3;
77
+ case 3: return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
78
78
  case 4:
79
- countryIso2 = (_a = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _a === void 0 ? void 0 : _a.country;
79
+ boardStatusData = _j.sent();
80
+ return [4, API.boardService.retrieveBoardDetails(board_id)];
81
+ case 5:
82
+ boardData = _j.sent();
83
+ _b = ((_d = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _d === void 0 ? void 0 : _d.recipient) || {}, id_1 = _b.id, type_1 = _b.type;
84
+ serviceCallBack = function () { return API.individualService.retrieveIndividual(id_1, type_1); };
85
+ return [4, retrieveIndividualData(type_1, boardData, serviceCallBack)];
86
+ case 6:
87
+ _c = _j.sent(), boardRes = _c.boardRes, individualRes = _c.individualRes;
88
+ boardData = boardRes;
89
+ individualData = individualRes;
90
+ _j.label = 7;
91
+ case 7:
92
+ countryIso2 = (_e = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _e === void 0 ? void 0 : _e.country;
80
93
  if (countryIso2)
81
94
  thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
82
- info = (boardInfoData || {}).info;
83
- hasPasswordCompleted = ((_b = info === null || info === void 0 ? void 0 : info.find(function (flow) { return flow.name === 'password'; })) === null || _b === void 0 ? void 0 : _b.status) === 'completed';
95
+ info = (boardStatusData || {}).info;
96
+ hasPasswordCompleted = ((_f = info === null || info === void 0 ? void 0 : info.find(function (flow) { return flow.name === 'password'; })) === null || _f === void 0 ? void 0 : _f.status) === 'completed';
84
97
  if (data.step_name === PASSWORD_STEP_NAMES.PHONE_AUTH) {
85
98
  thunkApi.dispatch(handleCurrentActiveScreen('PASSWORD_VERIFY_STEP'));
86
99
  }
@@ -90,10 +103,11 @@ export var verifyLeadToken = createAsyncThunk('passwordVerifyLeadToken', functio
90
103
  else if (data.step_name === PASSWORD_STEP_NAMES.PASSWORD_INFO) {
91
104
  thunkApi.dispatch(handleNextScreenStep('PASSWORD_CREATE_PASSWORD_STEP'));
92
105
  }
93
- _e.label = 5;
94
- case 5: return [2, {
106
+ _j.label = 8;
107
+ case 8: return [2, {
95
108
  data: data,
96
- boardResponse: __assign(__assign({}, boardData === null || boardData === void 0 ? void 0 : boardData.business), { flows: (boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.info) || [], user: boardData === null || boardData === void 0 ? void 0 : boardData.user, 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, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, name: (_c = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _c === void 0 ? void 0 : _c.names, contact: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.contact, business: boardData === null || boardData === void 0 ? void 0 : boardData.business }),
109
+ individualData: individualData,
110
+ boardResponse: __assign(__assign({}, boardData === null || boardData === void 0 ? void 0 : boardData.business), { flows: (boardStatusData === null || boardStatusData === void 0 ? void 0 : boardStatusData.info) || [], user: boardData === null || boardData === void 0 ? void 0 : boardData.user, 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, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, name: (_g = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _g === void 0 ? void 0 : _g.names, contact: (_h = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _h === void 0 ? void 0 : _h.contact, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification }),
97
111
  token: token
98
112
  }];
99
113
  }
@@ -217,10 +231,10 @@ export var updateBoardSuccess = createAsyncThunk('passwordUpdateBoardSuccess', f
217
231
  });
218
232
  }); });
219
233
  export var verifyOperationToken = createAsyncThunk('verifyOperationToken', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
220
- var token, boardId, boardInfoId, boardInfoData, boardData, payload, data;
221
- var _a, _b;
222
- return __generator(this, function (_c) {
223
- switch (_c.label) {
234
+ var token, boardId, boardInfoId, boardInfoData, boardStatusData, individualData, boardData, payload, data, _a, id_2, type_2, serviceCallBack, _b, boardRes, individualRes;
235
+ var _c, _d, _e;
236
+ return __generator(this, function (_f) {
237
+ switch (_f.label) {
224
238
  case 0:
225
239
  token = params.token, boardId = params.boardId, boardInfoId = params.boardInfoId;
226
240
  boardData = undefined;
@@ -230,24 +244,38 @@ export var verifyOperationToken = createAsyncThunk('verifyOperationToken', funct
230
244
  };
231
245
  return [4, API.authService.verifyAuth(payload)];
232
246
  case 1:
233
- data = (_c.sent()).data;
234
- if (!boardId) return [3, 4];
247
+ data = (_f.sent()).data;
248
+ if (!boardId) return [3, 7];
235
249
  return [4, API.boardService.retrieveBoardInfoStatus(boardId)];
236
250
  case 2:
237
- boardInfoData = _c.sent();
251
+ boardStatusData = _f.sent();
238
252
  return [4, API.boardService.retrieveBoardDetails(boardId)];
239
253
  case 3:
240
- boardData = _c.sent();
241
- _c.label = 4;
254
+ boardData = _f.sent();
255
+ if (!boardInfoId) return [3, 5];
256
+ return [4, API.boardService.retrieveBoardInfo({ id: boardId, infoId: boardInfoId })];
242
257
  case 4:
258
+ boardInfoData = _f.sent();
259
+ _f.label = 5;
260
+ case 5:
261
+ _a = ((_c = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _c === void 0 ? void 0 : _c.recipient) || {}, id_2 = _a.id, type_2 = _a.type;
262
+ serviceCallBack = function () { return API.individualService.retrieveIndividual(id_2, type_2); };
263
+ return [4, retrieveIndividualData(type_2, boardData, serviceCallBack)];
264
+ case 6:
265
+ _b = _f.sent(), boardRes = _b.boardRes, individualRes = _b.individualRes;
266
+ boardData = boardRes;
267
+ individualData = individualRes;
268
+ _f.label = 7;
269
+ case 7:
243
270
  thunkApi.dispatch(handleNextScreenStep('PASSWORD_CREATE_PASSWORD_STEP'));
244
271
  return [2, {
245
272
  data: data,
246
273
  token: token,
247
274
  boardId: boardId,
248
275
  boardInfoId: boardInfoId,
249
- boardResponse: __assign(__assign({}, boardData === null || boardData === void 0 ? void 0 : boardData.business), { user: boardData === null || boardData === void 0 ? void 0 : boardData.user, 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, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, name: (_a = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _a === void 0 ? void 0 : _a.names, contact: (_b = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _b === void 0 ? void 0 : _b.contact, business: boardData === null || boardData === void 0 ? void 0 : boardData.business }),
250
- flows: (boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.info) || []
276
+ individualData: individualData,
277
+ boardResponse: __assign(__assign({}, boardData === null || boardData === void 0 ? void 0 : boardData.business), { user: boardData === null || boardData === void 0 ? void 0 : boardData.user, 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, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, name: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.names, contact: (_e = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _e === void 0 ? void 0 : _e.contact, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification }),
278
+ flows: (boardStatusData === null || boardStatusData === void 0 ? void 0 : boardStatusData.info) || []
251
279
  }];
252
280
  }
253
281
  });
@@ -456,7 +484,11 @@ export var passwordSlice = createSlice({
456
484
  state.error = null;
457
485
  var response = (action.payload || {}).response;
458
486
  var flows = response.flows;
459
- state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows });
487
+ var _a = state.data.verify.responseBody || {}, individuals = _a.individuals, individualData = _a.individualData;
488
+ var data_state = (individualData || {}).data_state;
489
+ state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, state.data.verify.responseBody), { flows: flows }), (individualData && { user: individualData })), (data_state && {
490
+ individuals: __assign(__assign({}, individuals), { data_state: data_state })
491
+ }));
460
492
  })
461
493
  .addCase(updateBoardSuccess.pending, function (state) {
462
494
  state.loading = true;
@@ -533,7 +565,11 @@ export var passwordSlice = createSlice({
533
565
  state.error = null;
534
566
  var response = (action.payload || {}).response;
535
567
  var flows = response.flows;
536
- state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows });
568
+ var _a = state.data.verify.responseBody || {}, individuals = _a.individuals, individualData = _a.individualData;
569
+ var data_state = (individualData || {}).data_state;
570
+ state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, state.data.verify.responseBody), { flows: flows }), (individualData && { user: individualData })), (data_state && {
571
+ individuals: __assign(__assign({}, individuals), { data_state: data_state })
572
+ }));
537
573
  })
538
574
  .addCase(retrieveBoardResetPasswordSuccess.pending, function (state) {
539
575
  state.loading = true;
@@ -1,5 +1,5 @@
1
- import { RootState } from '@store';
2
- import { MobileFormValues, SharedState, EmailFormValues, ResponseData, OTPFormValues, PasswordFormValues } from '@types';
1
+ import { RootState } from '../../../app/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,11 +1,12 @@
1
- import { RootState } from '@store';
2
- import { ActionState, AsyncThunkParams, FlowsTypes, OTPFormValues, ResponseData, SharedState, TaxFormValues } from '@types';
1
+ import { RootState } from '../../../app/store';
2
+ import { ActionState, AsyncThunkParams, FlowsTypes, OTPFormValues, ResponseData, SharedState, TaxFormValues } from '../../../@types';
3
3
  interface VerifyLeadTokenProps {
4
4
  token: string;
5
5
  isInternally?: boolean;
6
6
  }
7
7
  export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
8
8
  data: any;
9
+ individualData: any;
9
10
  boardResponse: any;
10
11
  token: string;
11
12
  }, VerifyLeadTokenProps, {}>;
@@ -47,18 +47,18 @@ 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, retrieveIndividualData, 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 () {
58
- var payload, data, boardData, boardInfoData, countryIso2;
59
- var _b, _c, _d;
60
- return __generator(this, function (_e) {
61
- switch (_e.label) {
58
+ var payload, data, boardData, boardInfoData, individualData, _b, id_1, type_1, serviceCallBack, _c, boardRes, individualRes, countryIso2;
59
+ var _d, _e, _f, _g;
60
+ return __generator(this, function (_h) {
61
+ switch (_h.label) {
62
62
  case 0:
63
63
  payload = {
64
64
  service_name: 'tap_email',
@@ -66,24 +66,31 @@ export var verifyLeadToken = createAsyncThunk('taxVerifyLeadToken', function (_a
66
66
  };
67
67
  return [4, API.leadService.verifyLeadToken(payload)];
68
68
  case 1:
69
- data = (_e.sent()).data;
70
- boardInfoData = undefined;
71
- if (((_b = data === null || data === void 0 ? void 0 : data.errors) === null || _b === void 0 ? void 0 : _b.length) || (data === null || data === void 0 ? void 0 : data.mw_error))
69
+ data = (_h.sent()).data;
70
+ individualData = undefined;
71
+ if (((_d = data === null || data === void 0 ? void 0 : data.errors) === null || _d === void 0 ? void 0 : _d.length) || (data === null || data === void 0 ? void 0 : data.mw_error))
72
72
  throw new Error(data.errors[0].description || (data === null || data === void 0 ? void 0 : data.mw_error));
73
73
  if (isInternally)
74
74
  data.step_name = TAX_STEP_NAMES.TAX_INFO;
75
- if (!(data === null || data === void 0 ? void 0 : data.id)) return [3, 5];
75
+ if (!(data === null || data === void 0 ? void 0 : data.id)) return [3, 6];
76
76
  if (!data.board_info_id) return [3, 3];
77
77
  return [4, API.boardService.retrieveBoardInfo({ id: data.id, infoId: data.board_info_id })];
78
78
  case 2:
79
- boardInfoData = _e.sent();
80
- _e.label = 3;
79
+ boardInfoData = _h.sent();
80
+ _h.label = 3;
81
81
  case 3: return [4, API.boardService.retrieveBoardDetails(data.id)];
82
82
  case 4:
83
- boardData = _e.sent();
84
- _e.label = 5;
83
+ boardData = _h.sent();
84
+ _b = ((_e = boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification) === null || _e === void 0 ? void 0 : _e.recipient) || {}, id_1 = _b.id, type_1 = _b.type;
85
+ serviceCallBack = function () { return API.individualService.retrieveIndividual(id_1, type_1); };
86
+ return [4, retrieveIndividualData(type_1, boardData, serviceCallBack)];
85
87
  case 5:
86
- countryIso2 = (_c = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _c === void 0 ? void 0 : _c.country;
88
+ _c = _h.sent(), boardRes = _c.boardRes, individualRes = _c.individualRes;
89
+ boardData = boardRes;
90
+ individualData = individualRes;
91
+ _h.label = 6;
92
+ case 6:
93
+ countryIso2 = (_f = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _f === void 0 ? void 0 : _f.country;
87
94
  if (countryIso2)
88
95
  thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
89
96
  if (data.step_name === TAX_STEP_NAMES.PHONE_AUTH) {
@@ -94,7 +101,8 @@ export var verifyLeadToken = createAsyncThunk('taxVerifyLeadToken', function (_a
94
101
  }
95
102
  return [2, {
96
103
  data: data,
97
- boardResponse: __assign(__assign({}, boardData === null || boardData === void 0 ? void 0 : boardData.business), { entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, user: boardData === null || boardData === void 0 ? void 0 : boardData.user, bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, vatID: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _d === void 0 ? void 0 : _d.vat_id, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification }),
104
+ individualData: individualData,
105
+ boardResponse: __assign(__assign({}, boardData === null || boardData === void 0 ? void 0 : boardData.business), { entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity, brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand, user: boardData === null || boardData === void 0 ? void 0 : boardData.user, bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account, vatID: (_g = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _g === void 0 ? void 0 : _g.vat_id, merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant, individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals, business: boardData === null || boardData === void 0 ? void 0 : boardData.business, notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification }),
98
106
  token: token
99
107
  }];
100
108
  }
@@ -302,9 +310,9 @@ export var taxSlice = createSlice({
302
310
  .addCase(verifyLeadToken.fulfilled, function (state, action) {
303
311
  state.error = null;
304
312
  state.customLoading = false;
305
- var _a = action.payload, data = _a.data, token = _a.token, boardResponse = _a.boardResponse;
313
+ var _a = action.payload, data = _a.data, token = _a.token, boardResponse = _a.boardResponse, individualData = _a.individualData;
306
314
  var user = boardResponse.user, bank_account = boardResponse.bank_account, vatID = boardResponse.vatID, merchant = boardResponse.merchant, individuals = boardResponse.individuals, entity = boardResponse.entity;
307
- state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, data), boardResponse), state.data.verify.responseBody), { board_id: data.id, name: user === null || user === void 0 ? void 0 : user.names, bank_account: bank_account, vatID: vatID, merchant: merchant, individuals: individuals });
315
+ state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, data), boardResponse), state.data.verify.responseBody), { board_id: data.id, name: user === null || user === void 0 ? void 0 : user.names, bank_account: bank_account, vatID: vatID, merchant: merchant, individuals: individuals, individualData: individualData });
308
316
  state.data.verify.token = token;
309
317
  state.data.taxData.vatId = vatID;
310
318
  if (entity === null || entity === void 0 ? void 0 : entity.is_vat_acknowledged)
@@ -410,8 +418,11 @@ export var taxSlice = createSlice({
410
418
  state.error = description;
411
419
  return;
412
420
  }
413
- var flows = response.flows, steps = response.steps, user = response.user, bank_account = response.bank_account, vatID = response.vatID, merchant = response.merchant, individuals = response.individuals, entity = response.entity, brand = response.brand;
414
- state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps, bank_account: bank_account, name: user === null || user === void 0 ? void 0 : user.names, vatID: vatID, merchant: merchant, individuals: individuals, entity: entity, brand: brand });
421
+ var flows = response.flows, steps = response.steps, user = response.user, bank_account = response.bank_account, vatID = response.vatID, merchant = response.merchant, individuals = response.individuals, entity = response.entity, brand = response.brand, individualData = response.individualData;
422
+ var data_state = (individualData || {}).data_state;
423
+ state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, state.data.verify.responseBody), { flows: flows, steps: steps, bank_account: bank_account, name: user === null || user === void 0 ? void 0 : user.names, vatID: vatID, merchant: merchant, individuals: individuals, entity: entity, brand: brand }), (individualData && { user: individualData })), (data_state && {
424
+ individuals: __assign(__assign({}, individuals), { data_state: data_state })
425
+ }));
415
426
  })
416
427
  .addCase(updateLeadSuccess.pending, function (state) {
417
428
  state.loading = true;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { LibConfig } from '@src/@types';
2
+ import { LibConfig } from '../../@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 '@features/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 '../shared/Containers';
34
+ import { BANK_SCREENS_NAVIGATION } from '../../constants';
35
35
  import { bankFeatureScreens } from '../featuresScreens';
36
- import { bankSelector, verifyLeadToken } from '@features/app/bank/bankStore';
36
+ import { bankSelector, verifyLeadToken } from '../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 '@features/shared/Containers';
14
+ import { ScreenContainer } from '../../../shared/Containers';
15
15
  import Beneficiary from './Beneficiary';
16
16
  import IBAN from './IBAN';
17
17
  import BankName from './BankName';
18
- import Button from '@features/shared/Button';
19
- import { useAppDispatch, useAppSelector, useFormReadOnly, useSetFromDefaultValues, useDataNoneEditable, useFormErrorAndUpdateReadOnly, useExcludeReadOnlyFelids, useDataVerified } from '@hooks';
18
+ import Button from '../../../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 '@features/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 '../../../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',
@@ -14,14 +14,14 @@ import * as React from 'react';
14
14
  import { useController, useFormContext } from 'react-hook-form';
15
15
  import { useTranslation } from 'react-i18next';
16
16
  import { styled } from '@mui/material/styles';
17
- import { useAppSelector } from '@hooks';
18
- import { removeAllOtherThanAlphabetAndSpace } from '@utils';
19
- import { FieldType } from '@types';
20
- import Collapse from '@components/Collapse';
21
- import { ScreenContainer } from '@features/shared/Containers';
22
- import Input from '@features/shared/Input';
23
- import { bankSelector } from '@features/app/bank/bankStore';
24
- import { EndAdornment } from '@features/shared/EndAdornment';
17
+ import { useAppSelector } from '../../../../hooks';
18
+ import { removeAllOtherThanAlphabetAndSpace } from '../../../../utils';
19
+ import { FieldType } from '../../../../@types';
20
+ import Collapse from '../../../../components/Collapse';
21
+ import { ScreenContainer } from '../../../shared/Containers';
22
+ import Input from '../../../shared/Input';
23
+ import { bankSelector } from '../../../app/bank/bankStore';
24
+ import { EndAdornment } from '../../../shared/EndAdornment';
25
25
  var FeatureStyled = styled(ScreenContainer)(function (_a) {
26
26
  var theme = _a.theme;
27
27
  return ({
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { FileDetails } from '@types';
2
+ import { FileDetails } from '../../../../@types';
3
3
  declare type BankStatementProps = {
4
4
  required: boolean;
5
5
  readOnly?: boolean;
@@ -2,12 +2,12 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { useTranslation } from 'react-i18next';
3
3
  import { useController, useFormContext } from 'react-hook-form';
4
4
  import { styled } from '@mui/material/styles';
5
- import { ScreenContainer } from '@features/shared/Containers';
6
- import { useAppDispatch, useAppSelector } from '@hooks';
7
- import { DocumentPurpose } from '@types';
8
- import { FileType } from '@constants';
9
- import { bankSelector, bankStatementUploadingStatus } from '@features/app/bank/bankStore';
10
- import UploadMultipleFile from '@features/shared/UploadMultipleFile';
5
+ import { ScreenContainer } from '../../../shared/Containers';
6
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
7
+ import { DocumentPurpose } from '../../../../@types';
8
+ import { FileType } from '../../../../constants';
9
+ import { bankSelector, bankStatementUploadingStatus } from '../../../app/bank/bankStore';
10
+ import UploadMultipleFile from '../../../shared/UploadMultipleFile';
11
11
  var FeatureStyled = styled(ScreenContainer)(function (_a) {
12
12
  var theme = _a.theme;
13
13
  return ({
@@ -3,12 +3,12 @@ import * as React from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
4
  import { useController, useFormContext } from 'react-hook-form';
5
5
  import { styled } from '@mui/material/styles';
6
- import { useAppSelector } from '@hooks';
7
- import { FieldType } from '@types';
8
- import { ScreenContainer } from '@features/shared/Containers';
9
- import { bankSelector } from '@features/app/bank/bankStore';
10
- import Input from '@features/shared/Input';
11
- import { EndAdornment } from '@features/shared/EndAdornment';
6
+ import { useAppSelector } from '../../../../hooks';
7
+ import { FieldType } from '../../../../@types';
8
+ import { ScreenContainer } from '../../../shared/Containers';
9
+ import { bankSelector } from '../../../app/bank/bankStore';
10
+ import Input from '../../../shared/Input';
11
+ import { EndAdornment } from '../../../shared/EndAdornment';
12
12
  var FeatureStyled = styled(ScreenContainer)(function (_a) {
13
13
  var theme = _a.theme;
14
14
  return ({
@@ -12,13 +12,13 @@ var __assign = (this && this.__assign) || function () {
12
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  import { useTranslation } from 'react-i18next';
14
14
  import { useController, useFormContext } from 'react-hook-form';
15
- import { ScreenContainer } from '@features/shared/Containers';
15
+ import { ScreenContainer } from '../../../shared/Containers';
16
16
  import { styled, alpha } from '@mui/material/styles';
17
17
  import Box from '@mui/material/Box';
18
- import CheckBox from '@components/CheckBox';
19
- import Text from '@components/Text';
20
- import Warning from '@components/Warning';
21
- import Collapse from '@components/Collapse';
18
+ import CheckBox from '../../../../components/CheckBox';
19
+ import Text from '../../../../components/Text';
20
+ import Warning from '../../../../components/Warning';
21
+ import Collapse from '../../../../components/Collapse';
22
22
  var ConfirmContainerStyled = styled(Box, { shouldForwardProp: function (prop) { return prop !== 'readOnly'; } })(function (_a) {
23
23
  var theme = _a.theme, readOnly = _a.readOnly;
24
24
  return (__assign({ display: 'flex', flexDirection: 'row', alignItems: 'center', padding: theme.spacing(0, 2.5, 1.5, 2.5), marginBlockStart: theme.spacing(3) }, (readOnly && {
@@ -41,16 +41,16 @@ import { useTranslation } from 'react-i18next';
41
41
  import axios from 'axios';
42
42
  import { useController, useFormContext } from 'react-hook-form';
43
43
  import { styled } from '@mui/material';
44
- import { removeAllOtherThanCharsAndNumber } from '@utils';
45
- import { settingsSelector } from '@src/app/settings';
46
- import { useAppSelector, useAppDispatch } from '@hooks';
47
- import { FieldType } from '@types';
48
- import { MAX_IBAN_VALUE } from '@constants';
49
- import { ScreenContainer } from '@features/shared/Containers';
50
- import { checkIbanBank } from '@features/app/bank/bankStore';
51
- import Input from '@features/shared/Input';
52
- import { bankSelector } from '@features/app/bank/bankStore';
53
- import { EndAdornment } from '@features/shared/EndAdornment';
44
+ import { removeAllOtherThanCharsAndNumber } from '../../../../utils';
45
+ import { settingsSelector } from '../../../../app/settings';
46
+ import { useAppSelector, useAppDispatch } from '../../../../hooks';
47
+ import { FieldType } from '../../../../@types';
48
+ import { MAX_IBAN_VALUE } from '../../../../constants';
49
+ import { ScreenContainer } from '../../../shared/Containers';
50
+ import { checkIbanBank } from '../../../app/bank/bankStore';
51
+ import Input from '../../../shared/Input';
52
+ import { bankSelector } from '../../../app/bank/bankStore';
53
+ import { EndAdornment } from '../../../shared/EndAdornment';
54
54
  var InputStyled = styled(Input)(function () { return ({
55
55
  input: {
56
56
  textTransform: 'uppercase'
@@ -1,5 +1,5 @@
1
1
  import * as yup from 'yup';
2
- import { REGEX_ALPHANUMERIC, REGEX_IBAN } from '@constants';
2
+ import { REGEX_ALPHANUMERIC, REGEX_IBAN } from '../../../../constants';
3
3
  export var BankValidation = function (isIBANMasked) {
4
4
  return yup.object().shape({
5
5
  iban: isIBANMasked
@@ -1,8 +1,8 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { memo } from 'react';
3
- import { useAppSelector } from '@hooks';
4
- import DataLoading from '@features/shared/DataLoading';
5
- import { bankSelector } from '@features/app/bank/bankStore';
3
+ import { useAppSelector } from '../../../../hooks';
4
+ import DataLoading from '../../../shared/DataLoading';
5
+ import { bankSelector } from '../../../app/bank/bankStore';
6
6
  export var PrepareDataLoading = function () {
7
7
  var error = useAppSelector(bankSelector).error;
8
8
  return _jsx(DataLoading, { error: error });
@@ -1,11 +1,11 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { Trans, useTranslation } from 'react-i18next';
4
- import { handlePrevScreenStep } from '@app/settings';
5
- import SuccessScreen from '@features/shared/SuccessScreen';
6
- import { bankSelector } from '@features/app/bank/bankStore';
7
- import { maskEmail } from '@utils';
8
- import { useAppDispatch, useAppSelector } from '@hooks';
4
+ import { handlePrevScreenStep } from '../../../../app/settings';
5
+ import SuccessScreen from '../../../shared/SuccessScreen';
6
+ import { bankSelector } from '../../../app/bank/bankStore';
7
+ import { maskEmail } from '../../../../utils';
8
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
9
9
  var ResetPasswordSuccess = function (_a) {
10
10
  var _b, _c;
11
11
  var t = useTranslation().t;
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
3
  import { useTranslation } from 'react-i18next';
4
- import SuccessScreen from '@features/shared/SuccessScreen';
5
- import { useAppDispatch, useAppSelector } from '@hooks';
6
- import { bankSelector, updateBoardSuccess } from '@features/app/bank/bankStore';
4
+ import SuccessScreen from '../../../shared/SuccessScreen';
5
+ import { useAppDispatch, useAppSelector } from '../../../../hooks';
6
+ import { bankSelector, updateBoardSuccess } from '../../../app/bank/bankStore';
7
7
  var Success = function (_a) {
8
8
  var t = useTranslation().t;
9
9
  var dispatch = useAppDispatch();
@@ -11,9 +11,9 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { memo } from 'react';
14
- import { useAppSelector } from '@hooks';
15
- import { bankSelector } from '@features/app/bank/bankStore';
16
- import SuccessFlowButtons from '@features/shared/SuccessFlowButtons';
14
+ import { useAppSelector } from '../../../../hooks';
15
+ import { bankSelector } from '../../../app/bank/bankStore';
16
+ import SuccessFlowButtons from '../../../shared/SuccessFlowButtons';
17
17
  var SuccessWithFlowButtons = function () {
18
18
  var data = useAppSelector(bankSelector).data;
19
19
  var _a = data.verify.responseBody || {}, flows = _a.flows, entity = _a.entity, brand = _a.brand, bank = _a.bank_account, merchant = _a.merchant, user = _a.user, business = _a.business, board_id = _a.board_id, board_info_id = _a.board_info_id, name = _a.name, individuals = _a.individuals;