@tap-payments/auth-jsconnect 2.10.10-development → 2.10.10

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 (629) hide show
  1. package/README.md +2 -2
  2. package/build/@types/app.d.ts +19 -19
  3. package/build/@types/app.js +0 -1
  4. package/build/@types/config.d.ts +1 -1
  5. package/build/@types/form.d.ts +30 -28
  6. package/build/@types/index.d.ts +0 -1
  7. package/build/@types/index.js +0 -1
  8. package/build/@types/theme.d.ts +1 -1
  9. package/build/api/account.d.ts +4 -4
  10. package/build/api/account.js +7 -4
  11. package/build/api/auth.d.ts +17 -25
  12. package/build/api/auth.js +7 -3
  13. package/build/api/availabilityServices.d.ts +3 -3
  14. package/build/api/axios.d.ts +1 -1
  15. package/build/api/axios.js +1 -1
  16. package/build/api/board.d.ts +3 -3
  17. package/build/api/brand.d.ts +1 -1
  18. package/build/api/country.d.ts +1 -1
  19. package/build/api/data.d.ts +8 -8
  20. package/build/api/document.d.ts +2 -2
  21. package/build/api/entity.d.ts +13 -10
  22. package/build/api/file.d.ts +1 -1
  23. package/build/api/firebase.js +1 -1
  24. package/build/api/headers.d.ts +5 -0
  25. package/build/api/headers.js +3 -0
  26. package/build/api/index.d.ts +5 -11
  27. package/build/api/index.js +1 -3
  28. package/build/api/individual.d.ts +5 -5
  29. package/build/api/init.d.ts +1 -1
  30. package/build/api/lead.d.ts +14 -13
  31. package/build/api/lead.js +1 -1
  32. package/build/api/operator.d.ts +3 -3
  33. package/build/api/operator.js +6 -3
  34. package/build/api/user.d.ts +3 -3
  35. package/build/app/rootReducer.d.ts +0 -1
  36. package/build/app/rootReducer.js +1 -3
  37. package/build/app/settings.d.ts +21 -3
  38. package/build/app/settings.js +2 -3
  39. package/build/app/store.d.ts +4 -6
  40. package/build/assets/currencies/AEDSymbol.d.ts +2 -2
  41. package/build/assets/currencies/AEDSymbol.js +1 -1
  42. package/build/assets/currencies/SARSymbol.d.ts +2 -2
  43. package/build/assets/currencies/SARSymbol.js +1 -1
  44. package/build/assets/currencies/utils.d.ts +1 -1
  45. package/build/assets/locales/ar.json +14 -5
  46. package/build/assets/locales/en.json +17 -7
  47. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  48. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  49. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  50. package/build/components/AnimationFlow/Error.d.ts +1 -2
  51. package/build/components/AnimationFlow/Loader.d.ts +1 -2
  52. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  53. package/build/components/Button/Button.d.ts +1 -1
  54. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  55. package/build/components/Collapse/Collapse.d.ts +1 -2
  56. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  57. package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
  58. package/build/components/FileInput/DragAndDrop.d.ts +1 -2
  59. package/build/components/FileInput/UploadInput.d.ts +1 -2
  60. package/build/components/Footer/Footer.d.ts +1 -1
  61. package/build/components/Form/Form.d.ts +1 -1
  62. package/build/components/Input/Input.d.ts +1 -1
  63. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  64. package/build/components/List/List.d.ts +1 -1
  65. package/build/components/ListItem/ListItem.d.ts +1 -1
  66. package/build/components/Loader/Loader.d.ts +1 -1
  67. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  68. package/build/components/OTPField/OTPField.d.ts +1 -1
  69. package/build/components/OTPTimer/OTPTimer.d.ts +1 -2
  70. package/build/components/OTPTimer/OTPTimer.js +4 -4
  71. package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
  72. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  73. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  74. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  75. package/build/components/Radio/Radio.d.ts +1 -1
  76. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  77. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  78. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  79. package/build/components/Slide/Slide.d.ts +1 -1
  80. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  81. package/build/components/Text/Text.d.ts +1 -1
  82. package/build/components/TextWithCurrency/TextWithCurrency.d.ts +2 -3
  83. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  84. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  85. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  86. package/build/components/Tooltip/Tooltip.js +1 -1
  87. package/build/components/Warning/Warning.d.ts +1 -1
  88. package/build/constants/api.d.ts +2 -0
  89. package/build/constants/api.js +4 -0
  90. package/build/constants/app.d.ts +13 -13
  91. package/build/constants/app.js +98 -129
  92. package/build/constants/assets.d.ts +4 -6
  93. package/build/constants/assets.js +118 -114
  94. package/build/constants/dummy.js +27 -20
  95. package/build/constants/flows.d.ts +0 -15
  96. package/build/constants/flows.js +0 -15
  97. package/build/constants/validation.d.ts +1 -1
  98. package/build/constants/validation.js +1 -1
  99. package/build/features/app/auth/authStore.d.ts +211 -22
  100. package/build/features/app/auth/authStore.js +76 -64
  101. package/build/features/app/bank/bankStore.d.ts +93 -12
  102. package/build/features/app/bank/bankStore.js +25 -21
  103. package/build/features/app/board/boardStore.d.ts +41 -5
  104. package/build/features/app/board/boardStore.js +12 -8
  105. package/build/features/app/brand/brandStore.d.ts +143 -17
  106. package/build/features/app/brand/brandStore.js +23 -19
  107. package/build/features/app/business/businessStore.d.ts +192 -21
  108. package/build/features/app/business/businessStore.js +46 -37
  109. package/build/features/app/connect/connectStore.d.ts +186 -23
  110. package/build/features/app/connect/connectStore.js +49 -32
  111. package/build/features/app/connectExpress/connectExpressStore.d.ts +317 -37
  112. package/build/features/app/connectExpress/connectExpressStore.js +62 -21
  113. package/build/features/app/entity/entityStore.d.ts +93 -12
  114. package/build/features/app/entity/entityStore.js +22 -18
  115. package/build/features/app/individual/individualStore.d.ts +186 -24
  116. package/build/features/app/individual/individualStore.js +35 -29
  117. package/build/features/app/kyc/kycStore.d.ts +62 -8
  118. package/build/features/app/kyc/kycStore.js +1 -1
  119. package/build/features/app/password/passwordStore.d.ts +123 -15
  120. package/build/features/app/password/passwordStore.js +45 -47
  121. package/build/features/app/signIn/signInStore.d.ts +61 -7
  122. package/build/features/app/signIn/signInStore.js +13 -17
  123. package/build/features/app/tax/taxStore.d.ts +83 -11
  124. package/build/features/app/tax/taxStore.js +21 -17
  125. package/build/features/auth/Auth.d.ts +2 -3
  126. package/build/features/auth/Auth.js +1 -1
  127. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  128. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
  129. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  130. package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
  131. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  132. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
  133. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  134. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
  135. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
  136. package/build/features/auth/screens/AuthenticationList/EntityList.js +2 -2
  137. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  138. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  139. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
  140. package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
  141. package/build/features/auth/screens/DOB/DOB.d.ts +1 -2
  142. package/build/features/auth/screens/DOB/DOBForm.d.ts +1 -1
  143. package/build/features/auth/screens/Email/Email.d.ts +1 -1
  144. package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
  145. package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
  146. package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
  147. package/build/features/auth/screens/NID/NID.d.ts +1 -1
  148. package/build/features/auth/screens/OTP/OTP.d.ts +5 -13
  149. package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
  150. package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
  151. package/build/features/auth/screens/Passcode/Passcode.d.ts +5 -13
  152. package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +1 -1
  153. package/build/features/auth/screens/Password/Password.d.ts +1 -1
  154. package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
  155. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
  156. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
  157. package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  158. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  159. package/build/features/bank/Bank.d.ts +1 -2
  160. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
  161. package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
  162. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
  163. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
  164. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
  165. package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
  166. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  167. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
  168. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  169. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  170. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  171. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  172. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  173. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  174. package/build/features/board/Board.d.ts +1 -2
  175. package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
  176. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  177. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  178. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  179. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  180. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  181. package/build/features/brand/Brand.d.ts +1 -2
  182. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -29
  183. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
  184. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
  185. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
  186. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
  187. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +12 -20
  188. package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
  189. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
  190. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
  191. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
  192. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  193. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  194. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
  195. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
  196. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
  197. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
  198. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
  199. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
  200. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
  201. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  202. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  203. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  204. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  205. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  206. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  207. package/build/features/business/Business.d.ts +1 -2
  208. package/build/features/business/screens/Activities/Activities.d.ts +1 -2
  209. package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
  210. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  211. package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
  212. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  213. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  214. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  215. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  216. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
  217. package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
  218. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  219. package/build/features/business/screens/BusinessType/BusinessType.js +13 -2
  220. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  221. package/build/features/business/screens/BusinessType/EntityLicenseList.js +11 -5
  222. package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
  223. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
  224. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  225. package/build/features/business/screens/BusinessType/LicenseList.js +15 -7
  226. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  227. package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
  228. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  229. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  230. package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +35 -0
  231. package/build/features/business/screens/BusinessType/UnifiedNumber.js +84 -0
  232. package/build/features/business/screens/BusinessType/validation.d.ts +6 -3
  233. package/build/features/business/screens/BusinessType/validation.js +31 -10
  234. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  235. package/build/features/business/screens/Customers/CustomerLocations.d.ts +17 -41
  236. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  237. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
  238. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
  239. package/build/features/business/screens/Customers/RefundPolicy.d.ts +12 -20
  240. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
  241. package/build/features/business/screens/DOB/DOB.d.ts +1 -1
  242. package/build/features/business/screens/DOB/DOBForm.d.ts +1 -1
  243. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  244. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  245. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  246. package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
  247. package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  248. package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
  249. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  250. package/build/features/business/screens/Success/Success.d.ts +1 -1
  251. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  252. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  253. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  254. package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  255. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  256. package/build/features/connect/Connect.d.ts +1 -2
  257. package/build/features/connect/Connect.js +1 -1
  258. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  259. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
  260. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  261. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
  262. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  263. package/build/features/connect/screens/DOB/DOB.d.ts +1 -2
  264. package/build/features/connect/screens/DOB/DOBForm.d.ts +1 -1
  265. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  266. package/build/features/connect/screens/Individual/Email.js +1 -1
  267. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  268. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  269. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  270. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  271. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  272. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  273. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
  274. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  275. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  276. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  277. package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
  278. package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  279. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  280. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  281. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  282. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
  283. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  284. package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  285. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  286. package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
  287. package/build/features/connectExpress/ConnectExpress.js +1 -1
  288. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  289. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  290. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  291. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  292. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  293. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  294. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
  295. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  296. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +2 -2
  297. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  298. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  299. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  300. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
  301. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  302. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  303. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  304. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  305. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  306. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -0
  307. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  308. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +23 -7
  309. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  310. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
  311. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
  312. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -3
  313. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +1 -1
  314. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +36 -0
  315. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.js +81 -0
  316. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +6 -3
  317. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +57 -21
  318. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  319. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  320. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  321. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  322. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  323. package/build/features/connectExpress/screens/DOB/DOB.d.ts +1 -2
  324. package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
  325. package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +1 -2
  326. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +1 -1
  327. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  328. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  329. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  330. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  331. package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
  332. package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  333. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  334. package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
  335. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
  336. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  337. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  338. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  339. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
  340. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
  341. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  342. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.d.ts +1 -1
  343. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.d.ts +1 -1
  344. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  345. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  346. package/build/features/entity/Entity.d.ts +1 -2
  347. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
  348. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  349. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  350. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  351. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
  352. package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
  353. package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
  354. package/build/features/entity/screens/EntityName/EntityName.js +16 -15
  355. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -29
  356. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
  357. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
  358. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  359. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
  360. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  361. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  362. package/build/features/entity/screens/EntityName/UnifiedNumber.js +2 -2
  363. package/build/features/entity/screens/EntityName/validation.d.ts +50 -48
  364. package/build/features/entity/screens/EntityName/validation.js +100 -85
  365. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
  366. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  367. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  368. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  369. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  370. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  371. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  372. package/build/features/featuresScreens.d.ts +0 -1
  373. package/build/features/featuresScreens.js +55 -67
  374. package/build/features/individual/Individual.d.ts +1 -2
  375. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
  376. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
  377. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  378. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +3 -3
  379. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  380. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
  381. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +3 -3
  382. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  383. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  384. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
  385. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  386. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  387. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  388. package/build/features/individual/screens/IndividualList/Email.js +1 -1
  389. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
  390. package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
  391. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  392. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  393. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  394. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
  395. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  396. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
  397. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  398. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  399. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
  400. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  401. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  402. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  403. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  404. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  405. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  406. package/build/features/kyc/KYC.d.ts +1 -2
  407. package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +1 -1
  408. package/build/features/kyc/screens/Loading/Loading.d.ts +2 -2
  409. package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +1 -1
  410. package/build/features/kyc/screens/Success/Success.d.ts +1 -1
  411. package/build/features/kyc/screens/Terms/Header.d.ts +1 -1
  412. package/build/features/kyc/screens/Terms/Terms.d.ts +2 -2
  413. package/build/features/kyc/screens/TokenError/TokenError.d.ts +1 -1
  414. package/build/features/kyc/screens/Users/Users.d.ts +1 -1
  415. package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  416. package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +1 -1
  417. package/build/features/password/Password.d.ts +1 -2
  418. package/build/features/password/Password.js +1 -1
  419. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
  420. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  421. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  422. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  423. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
  424. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  425. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  426. package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
  427. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  428. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  429. package/build/features/password/screens/Success/Success.d.ts +1 -1
  430. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  431. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  432. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  433. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
  434. package/build/features/shared/Address/Address.d.ts +1 -2
  435. package/build/features/shared/Address/CountryList.d.ts +13 -29
  436. package/build/features/shared/Address/InputSelect.d.ts +13 -29
  437. package/build/features/shared/Address/InputSelect.js +1 -1
  438. package/build/features/shared/Address/InputText.d.ts +1 -1
  439. package/build/features/shared/Background/Background.d.ts +1 -1
  440. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  441. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
  442. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
  443. package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
  444. package/build/features/shared/Button/Button.d.ts +1 -2
  445. package/build/features/shared/Button/Button.js +1 -1
  446. package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
  447. package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
  448. package/build/features/shared/Button/FlowsButtons.js +2 -2
  449. package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
  450. package/build/features/shared/Button/MobileButton.d.ts +1 -2
  451. package/build/features/shared/Button/NafathButton.d.ts +1 -2
  452. package/build/features/shared/Button/SuccessButton.d.ts +1 -2
  453. package/build/features/shared/Calender/Calender.d.ts +1 -2
  454. package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
  455. package/build/features/shared/Chip/Chip.d.ts +1 -2
  456. package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
  457. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  458. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  459. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  460. package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
  461. package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
  462. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  463. package/build/features/shared/Dot/Dot.d.ts +1 -2
  464. package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
  465. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
  466. package/build/features/shared/Footer/Footer.d.ts +1 -2
  467. package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
  468. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  469. package/build/features/shared/Input/Input.d.ts +6 -14
  470. package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
  471. package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
  472. package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
  473. package/build/features/shared/OTP/OTP.d.ts +1 -1
  474. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.d.ts +3 -0
  475. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.js +9 -0
  476. package/build/features/shared/OTPVerifySecurityError/index.d.ts +2 -0
  477. package/build/features/shared/OTPVerifySecurityError/index.js +2 -0
  478. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  479. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
  480. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
  481. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  482. package/build/features/shared/Search/Search.d.ts +1 -2
  483. package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
  484. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  485. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +2 -2
  486. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -3
  487. package/build/features/shared/SuccessScreen/SuccessScreen.js +2 -2
  488. package/build/features/shared/UploadFile/FileUpload.d.ts +4 -4
  489. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  490. package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
  491. package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -3
  492. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
  493. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  494. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -3
  495. package/build/features/signIn/SignIn.d.ts +1 -2
  496. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  497. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  498. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  499. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  500. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
  501. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  502. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  503. package/build/features/tax/Tax.d.ts +1 -2
  504. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
  505. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  506. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  507. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  508. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  509. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
  510. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
  511. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
  512. package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
  513. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  514. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  515. package/build/hooks/useAppConfig.js +1 -1
  516. package/build/hooks/useAppDispatch.d.ts +0 -1
  517. package/build/hooks/useDataVerified.d.ts +1 -1
  518. package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
  519. package/build/hooks/useFormDirtyCheck.d.ts +3 -3
  520. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
  521. package/build/hooks/useFormReadOnly.d.ts +2 -2
  522. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  523. package/build/index.d.ts +2 -3
  524. package/build/index.js +2 -4
  525. package/build/theme/palette.js +0 -12
  526. package/build/theme/typography.js +0 -4
  527. package/build/utils/array.js +1 -1
  528. package/build/utils/common.d.ts +1 -1
  529. package/build/utils/common.js +14 -8
  530. package/build/utils/error.d.ts +2 -0
  531. package/build/utils/error.js +6 -0
  532. package/build/utils/string.d.ts +3 -3
  533. package/build/utils/string.js +5 -11
  534. package/build/utils/validation.js +1 -1
  535. package/package.json +3 -3
  536. package/build/@types/terminal.d.ts +0 -116
  537. package/build/@types/terminal.js +0 -1
  538. package/build/api/terminal.d.ts +0 -28
  539. package/build/api/terminal.js +0 -45
  540. package/build/components/DeviceCard/DeviceCard.d.ts +0 -18
  541. package/build/components/DeviceCard/DeviceCard.js +0 -103
  542. package/build/components/DeviceCard/index.d.ts +0 -3
  543. package/build/components/DeviceCard/index.js +0 -2
  544. package/build/features/app/terminal/terminalStore.d.ts +0 -109
  545. package/build/features/app/terminal/terminalStore.js +0 -673
  546. package/build/features/shared/PushNotification/PushNotification.d.ts +0 -11
  547. package/build/features/shared/PushNotification/PushNotification.js +0 -34
  548. package/build/features/shared/PushNotification/index.d.ts +0 -2
  549. package/build/features/shared/PushNotification/index.js +0 -2
  550. package/build/features/terminal/Terminal.d.ts +0 -14
  551. package/build/features/terminal/Terminal.js +0 -95
  552. package/build/features/terminal/index.d.ts +0 -1
  553. package/build/features/terminal/index.js +0 -1
  554. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.d.ts +0 -3
  555. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.js +0 -69
  556. package/build/features/terminal/screens/LinkNewTerminal/index.d.ts +0 -2
  557. package/build/features/terminal/screens/LinkNewTerminal/index.js +0 -2
  558. package/build/features/terminal/screens/LinkNewTerminal/styles.d.ts +0 -10
  559. package/build/features/terminal/screens/LinkNewTerminal/styles.js +0 -28
  560. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.d.ts +0 -3
  561. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.js +0 -51
  562. package/build/features/terminal/screens/LinkedSuccess/index.d.ts +0 -2
  563. package/build/features/terminal/screens/LinkedSuccess/index.js +0 -2
  564. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.d.ts +0 -3
  565. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.js +0 -50
  566. package/build/features/terminal/screens/LinkedTerminalInfo/index.d.ts +0 -2
  567. package/build/features/terminal/screens/LinkedTerminalInfo/index.js +0 -2
  568. package/build/features/terminal/screens/Loading/Loading.d.ts +0 -4
  569. package/build/features/terminal/screens/Loading/Loading.js +0 -10
  570. package/build/features/terminal/screens/Loading/index.d.ts +0 -2
  571. package/build/features/terminal/screens/Loading/index.js +0 -2
  572. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.d.ts +0 -3
  573. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.js +0 -56
  574. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.d.ts +0 -2
  575. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.js +0 -2
  576. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.d.ts +0 -36
  577. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.js +0 -34
  578. package/build/features/terminal/screens/OperatorError/OperatorError.d.ts +0 -5
  579. package/build/features/terminal/screens/OperatorError/OperatorError.js +0 -9
  580. package/build/features/terminal/screens/OperatorError/index.d.ts +0 -2
  581. package/build/features/terminal/screens/OperatorError/index.js +0 -2
  582. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -3
  583. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -21
  584. package/build/features/terminal/screens/ResetPasswordSuccess/index.d.ts +0 -2
  585. package/build/features/terminal/screens/ResetPasswordSuccess/index.js +0 -2
  586. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
  587. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -31
  588. package/build/features/terminal/screens/SuccessWithFlowButtons/index.d.ts +0 -2
  589. package/build/features/terminal/screens/SuccessWithFlowButtons/index.js +0 -2
  590. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.d.ts +0 -9
  591. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.js +0 -20
  592. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.d.ts +0 -3
  593. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +0 -144
  594. package/build/features/terminal/screens/TerminalDeviceList/index.d.ts +0 -2
  595. package/build/features/terminal/screens/TerminalDeviceList/index.js +0 -2
  596. package/build/features/terminal/screens/TerminalDeviceList/styles.d.ts +0 -9
  597. package/build/features/terminal/screens/TerminalDeviceList/styles.js +0 -13
  598. package/build/features/terminal/screens/TerminalListPage/TerminalListPage.d.ts +0 -3
  599. package/build/features/terminal/screens/TerminalListPage/TerminalListPage.js +0 -42
  600. package/build/features/terminal/screens/TerminalListPage/index.d.ts +0 -2
  601. package/build/features/terminal/screens/TerminalListPage/index.js +0 -2
  602. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.d.ts +0 -3
  603. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.js +0 -53
  604. package/build/features/terminal/screens/UnlinkedSuccess/index.d.ts +0 -2
  605. package/build/features/terminal/screens/UnlinkedSuccess/index.js +0 -2
  606. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.d.ts +0 -3
  607. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.js +0 -98
  608. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.d.ts +0 -2
  609. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.js +0 -2
  610. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.d.ts +0 -26
  611. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.js +0 -30
  612. package/build/features/terminal/screens/Verify/OTPInput.d.ts +0 -7
  613. package/build/features/terminal/screens/Verify/OTPInput.js +0 -51
  614. package/build/features/terminal/screens/Verify/Verify.d.ts +0 -5
  615. package/build/features/terminal/screens/Verify/Verify.js +0 -85
  616. package/build/features/terminal/screens/Verify/index.d.ts +0 -2
  617. package/build/features/terminal/screens/Verify/index.js +0 -2
  618. package/build/features/terminal/screens/Verify/validation.d.ts +0 -8
  619. package/build/features/terminal/screens/Verify/validation.js +0 -4
  620. package/build/features/terminal/screens/shared/Header.d.ts +0 -10
  621. package/build/features/terminal/screens/shared/Header.js +0 -30
  622. package/build/features/terminal/screens/shared/TerminalList.d.ts +0 -11
  623. package/build/features/terminal/screens/shared/TerminalList.js +0 -25
  624. package/build/features/terminal/screens/shared/index.d.ts +0 -5
  625. package/build/features/terminal/screens/shared/index.js +0 -5
  626. package/build/features/terminal/screens/shared/styles.d.ts +0 -196
  627. package/build/features/terminal/screens/shared/styles.js +0 -155
  628. package/build/features/terminal/screens/shared/utils.d.ts +0 -7
  629. package/build/features/terminal/screens/shared/utils.js +0 -24
@@ -1,10 +1,28 @@
1
1
  import { RootState } from '../../../app/store';
2
2
  import { ActionState, AuthEmailFormValues, AuthForType, AuthMerchantFormValues, AuthenticationListFormValues, CivilFormValues, CountryCode, DOBFormValues, FlowsTypes, MobileFormValues, NIDFormValues, OTPFormValues, PasscodeFormValues, PasswordFormValues, SharedState } from '../../../@types';
3
- export declare const updateBusinessCountry: import("@reduxjs/toolkit").AsyncThunk<any, string, {}>;
3
+ export declare const updateBusinessCountry: import("@reduxjs/toolkit").AsyncThunk<any, string, {
4
+ state?: unknown;
5
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
6
+ extra?: unknown;
7
+ rejectValue?: unknown;
8
+ serializedErrorType?: unknown;
9
+ pendingMeta?: unknown;
10
+ fulfilledMeta?: unknown;
11
+ rejectedMeta?: unknown;
12
+ }>;
4
13
  export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
5
14
  data: any;
6
15
  countryCode: CountryCode;
7
- }, string, {}>;
16
+ }, string, {
17
+ state?: unknown;
18
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
19
+ extra?: unknown;
20
+ rejectValue?: unknown;
21
+ serializedErrorType?: unknown;
22
+ pendingMeta?: unknown;
23
+ fulfilledMeta?: unknown;
24
+ rejectedMeta?: unknown;
25
+ }>;
8
26
  interface CreateMobileAuthParams extends MobileFormValues {
9
27
  skipPasscode?: boolean;
10
28
  }
@@ -16,13 +34,49 @@ export declare const createMobileAuth: import("@reduxjs/toolkit").AsyncThunk<{
16
34
  termAndConditionChecked?: boolean | undefined;
17
35
  };
18
36
  skipPasscode: boolean | undefined;
19
- }, CreateMobileAuthParams, {}>;
37
+ }, CreateMobileAuthParams, {
38
+ state?: unknown;
39
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
40
+ extra?: unknown;
41
+ rejectValue?: unknown;
42
+ serializedErrorType?: unknown;
43
+ pendingMeta?: unknown;
44
+ fulfilledMeta?: unknown;
45
+ rejectedMeta?: unknown;
46
+ }>;
20
47
  export declare const resendMobileAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
21
48
  response: any;
22
49
  formData: MobileFormValues;
23
- }, MobileFormValues, {}>;
24
- export declare const verifyMobileOtp: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
25
- export declare const verifyPasscode: import("@reduxjs/toolkit").AsyncThunk<any, PasscodeFormValues, {}>;
50
+ }, MobileFormValues, {
51
+ state?: unknown;
52
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
53
+ extra?: unknown;
54
+ rejectValue?: unknown;
55
+ serializedErrorType?: unknown;
56
+ pendingMeta?: unknown;
57
+ fulfilledMeta?: unknown;
58
+ rejectedMeta?: unknown;
59
+ }>;
60
+ export declare const verifyMobileOtp: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
61
+ state?: unknown;
62
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
63
+ extra?: unknown;
64
+ rejectValue?: unknown;
65
+ serializedErrorType?: unknown;
66
+ pendingMeta?: unknown;
67
+ fulfilledMeta?: unknown;
68
+ rejectedMeta?: unknown;
69
+ }>;
70
+ export declare const verifyPasscode: import("@reduxjs/toolkit").AsyncThunk<any, PasscodeFormValues, {
71
+ state?: unknown;
72
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
73
+ extra?: unknown;
74
+ rejectValue?: unknown;
75
+ serializedErrorType?: unknown;
76
+ pendingMeta?: unknown;
77
+ fulfilledMeta?: unknown;
78
+ rejectedMeta?: unknown;
79
+ }>;
26
80
  interface CreateEmailAuthParams extends AuthEmailFormValues {
27
81
  skipPasscode?: boolean;
28
82
  }
@@ -32,52 +86,187 @@ export declare const createEmailAuth: import("@reduxjs/toolkit").AsyncThunk<{
32
86
  email: string;
33
87
  };
34
88
  skipPasscode: boolean | undefined;
35
- }, CreateEmailAuthParams, {}>;
36
- export declare const verifyEmailPassword: import("@reduxjs/toolkit").AsyncThunk<any, PasswordFormValues, {}>;
89
+ }, CreateEmailAuthParams, {
90
+ state?: unknown;
91
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
92
+ extra?: unknown;
93
+ rejectValue?: unknown;
94
+ serializedErrorType?: unknown;
95
+ pendingMeta?: unknown;
96
+ fulfilledMeta?: unknown;
97
+ rejectedMeta?: unknown;
98
+ }>;
99
+ export declare const verifyEmailPassword: import("@reduxjs/toolkit").AsyncThunk<any, PasswordFormValues, {
100
+ state?: unknown;
101
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
102
+ extra?: unknown;
103
+ rejectValue?: unknown;
104
+ serializedErrorType?: unknown;
105
+ pendingMeta?: unknown;
106
+ fulfilledMeta?: unknown;
107
+ rejectedMeta?: unknown;
108
+ }>;
37
109
  export declare const resendEmailAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
38
110
  response: any;
39
111
  formData: AuthEmailFormValues;
40
- }, AuthEmailFormValues, {}>;
41
- export declare const verifyEmailOtp: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {}>;
112
+ }, AuthEmailFormValues, {
113
+ state?: unknown;
114
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
115
+ extra?: unknown;
116
+ rejectValue?: unknown;
117
+ serializedErrorType?: unknown;
118
+ pendingMeta?: unknown;
119
+ fulfilledMeta?: unknown;
120
+ rejectedMeta?: unknown;
121
+ }>;
122
+ export declare const verifyEmailOtp: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
123
+ state?: unknown;
124
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
125
+ extra?: unknown;
126
+ rejectValue?: unknown;
127
+ serializedErrorType?: unknown;
128
+ pendingMeta?: unknown;
129
+ fulfilledMeta?: unknown;
130
+ rejectedMeta?: unknown;
131
+ }>;
42
132
  export declare const createNafathAuth: import("@reduxjs/toolkit").AsyncThunk<{
43
133
  response: any;
44
134
  formData: NIDFormValues;
45
- }, NIDFormValues, {}>;
135
+ }, NIDFormValues, {
136
+ state?: unknown;
137
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
138
+ extra?: unknown;
139
+ rejectValue?: unknown;
140
+ serializedErrorType?: unknown;
141
+ pendingMeta?: unknown;
142
+ fulfilledMeta?: unknown;
143
+ rejectedMeta?: unknown;
144
+ }>;
46
145
  interface verifyNafathParams {
47
146
  onSuccess?: () => void;
48
147
  onFailure?: () => void;
49
148
  }
50
- export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<any, verifyNafathParams, {}>;
149
+ export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<any, verifyNafathParams, {
150
+ state?: unknown;
151
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
152
+ extra?: unknown;
153
+ rejectValue?: unknown;
154
+ serializedErrorType?: unknown;
155
+ pendingMeta?: unknown;
156
+ fulfilledMeta?: unknown;
157
+ rejectedMeta?: unknown;
158
+ }>;
51
159
  export declare const updateLeadDOB: import("@reduxjs/toolkit").AsyncThunk<{
52
160
  data: any;
53
161
  formData: DOBFormValues;
54
- }, DOBFormValues, {}>;
162
+ }, DOBFormValues, {
163
+ state?: unknown;
164
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
165
+ extra?: unknown;
166
+ rejectValue?: unknown;
167
+ serializedErrorType?: unknown;
168
+ pendingMeta?: unknown;
169
+ fulfilledMeta?: unknown;
170
+ rejectedMeta?: unknown;
171
+ }>;
55
172
  export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
56
173
  response: any;
57
174
  formData: CivilFormValues;
58
- }, CivilFormValues, {}>;
175
+ }, CivilFormValues, {
176
+ state?: unknown;
177
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
178
+ extra?: unknown;
179
+ rejectValue?: unknown;
180
+ serializedErrorType?: unknown;
181
+ pendingMeta?: unknown;
182
+ fulfilledMeta?: unknown;
183
+ rejectedMeta?: unknown;
184
+ }>;
59
185
  interface verifyPACIParams {
60
186
  onSuccess: () => void;
61
187
  }
62
- export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<any, verifyPACIParams, {}>;
63
- export declare const checkMigrationStatus: import("@reduxjs/toolkit").AsyncThunk<undefined, void, {}>;
188
+ export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<any, verifyPACIParams, {
189
+ state?: unknown;
190
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
191
+ extra?: unknown;
192
+ rejectValue?: unknown;
193
+ serializedErrorType?: unknown;
194
+ pendingMeta?: unknown;
195
+ fulfilledMeta?: unknown;
196
+ rejectedMeta?: unknown;
197
+ }>;
198
+ export declare const checkMigrationStatus: import("@reduxjs/toolkit").AsyncThunk<undefined, void, {
199
+ state?: unknown;
200
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
201
+ extra?: unknown;
202
+ rejectValue?: unknown;
203
+ serializedErrorType?: unknown;
204
+ pendingMeta?: unknown;
205
+ fulfilledMeta?: unknown;
206
+ rejectedMeta?: unknown;
207
+ }>;
64
208
  export declare const checkAccountAvailability: import("@reduxjs/toolkit").AsyncThunk<{
65
209
  brandList: any;
66
210
  entityList: any;
67
- }, void, {}>;
211
+ }, void, {
212
+ state?: unknown;
213
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
214
+ extra?: unknown;
215
+ rejectValue?: unknown;
216
+ serializedErrorType?: unknown;
217
+ pendingMeta?: unknown;
218
+ fulfilledMeta?: unknown;
219
+ rejectedMeta?: unknown;
220
+ }>;
68
221
  export declare const getMerchantList: import("@reduxjs/toolkit").AsyncThunk<{
69
222
  list: any;
70
223
  brandInfo: import("../../../@types").BrandInfo | undefined;
71
224
  entityInfo: import("../../../@types").EntityLicenseAuth | undefined;
72
- }, AuthenticationListFormValues, {}>;
225
+ }, AuthenticationListFormValues, {
226
+ state?: unknown;
227
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
228
+ extra?: unknown;
229
+ rejectValue?: unknown;
230
+ serializedErrorType?: unknown;
231
+ pendingMeta?: unknown;
232
+ fulfilledMeta?: unknown;
233
+ rejectedMeta?: unknown;
234
+ }>;
73
235
  export declare const createEntity: import("@reduxjs/toolkit").AsyncThunk<{
74
236
  data: any;
75
237
  formData: AuthenticationListFormValues;
76
- }, AuthenticationListFormValues, {}>;
238
+ }, AuthenticationListFormValues, {
239
+ state?: unknown;
240
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
241
+ extra?: unknown;
242
+ rejectValue?: unknown;
243
+ serializedErrorType?: unknown;
244
+ pendingMeta?: unknown;
245
+ fulfilledMeta?: unknown;
246
+ rejectedMeta?: unknown;
247
+ }>;
77
248
  export declare const confirmInfo: import("@reduxjs/toolkit").AsyncThunk<void, AuthenticationListFormValues & AuthMerchantFormValues & {
78
249
  authId?: string | undefined;
79
- }, {}>;
80
- export declare const onSignUp: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
250
+ }, {
251
+ state?: unknown;
252
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
253
+ extra?: unknown;
254
+ rejectValue?: unknown;
255
+ serializedErrorType?: unknown;
256
+ pendingMeta?: unknown;
257
+ fulfilledMeta?: unknown;
258
+ rejectedMeta?: unknown;
259
+ }>;
260
+ export declare const onSignUp: import("@reduxjs/toolkit").AsyncThunk<void, void, {
261
+ state?: unknown;
262
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
263
+ extra?: unknown;
264
+ rejectValue?: unknown;
265
+ serializedErrorType?: unknown;
266
+ pendingMeta?: unknown;
267
+ fulfilledMeta?: unknown;
268
+ rejectedMeta?: unknown;
269
+ }>;
81
270
  interface ResponseData {
82
271
  responseData?: Record<string, any>;
83
272
  }
@@ -116,7 +305,7 @@ export declare const authSlice: import("@reduxjs/toolkit").Slice<AuthState, {
116
305
  resetPasswordValue: (state: AuthState) => void;
117
306
  resetAuthenticationScreen: (state: AuthState) => void;
118
307
  }, "auth/store">;
119
- export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setMobileCountryCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>, setLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, resetOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, storeIsStartFromBusinessCountry: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetAuthenticationScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, storeIsBusinessCountryPassed: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, resetPasswordValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
308
+ export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"auth/store/clearError">, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"auth/store/resetStore">, setMobileCountryCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, "auth/store/setMobileCountryCode">, setLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "auth/store/setLeadId">, resetOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"auth/store/resetOTPValue">, storeIsStartFromBusinessCountry: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "auth/store/storeIsStartFromBusinessCountry">, resetAuthenticationScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"auth/store/resetAuthenticationScreen">, storeIsBusinessCountryPassed: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "auth/store/storeIsBusinessCountryPassed">, resetPasswordValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"auth/store/resetPasswordValue">;
120
309
  declare const _default: import("redux").Reducer<AuthState, import("redux").AnyAction>;
121
310
  export default _default;
122
311
  export declare const authSelector: (state: RootState) => AuthState;
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (_) try {
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -71,7 +71,7 @@ import { AuthForType, AuthTypeNumber, FlowsTypes, MigrationStatus } from '../../
71
71
  import { ADD_NEW_ENTITY, AUTH_STEP_NAMES, COLLECT_DOB_INFO_NAFATH, IDENTIFICATION_TYPE, NAFATH_PACI_TIMEOUT_DURATION, NAFATH_VERIFICATION_FAILED, SCOPE_AUTH, defaultCountry } from '../../../constants';
72
72
  import API from '../../../api';
73
73
  import { handleCurrentActiveScreen, handleNextScreenStep, handleOpen, handlePrevScreenStep, handleSetCountryByIso2 } from '../../../app/settings';
74
- import { findCountryByIddPrefix, isNetworkError, isTimeoutError, openConnect, sendCustomEventToGTM, sleep } from '../../../utils';
74
+ import { findCountryByIddPrefix, isAuthenticationVerificationFailed, isNetworkError, isTimeoutError, openConnect, sendCustomEventToGTM, sleep } from '../../../utils';
75
75
  export var updateBusinessCountry = createAsyncThunk('auth/updateBusinessCountry', function (countryCode, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
76
76
  var auth, payload, data;
77
77
  return __generator(this, function (_a) {
@@ -124,14 +124,15 @@ export var retrieveLeadIdentityByIdAsync = createAsyncThunk('auth/retrieveLeadId
124
124
  }
125
125
  });
126
126
  }); });
127
- export var createMobileAuth = createAsyncThunk('auth/createMobileAuth', function (_a, thunkApi) { var _b, _c, _d; return __awaiter(void 0, void 0, void 0, function () {
128
- var _e, settings, auth, isStartWithZero, mobileNumber, requestBody, data, stepName;
127
+ export var createMobileAuth = createAsyncThunk('auth/createMobileAuth', function (_a, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
128
+ var _b, settings, auth, isStartWithZero, mobileNumber, requestBody, data, stepName;
129
+ var _c, _d, _e;
129
130
  var skipPasscode = _a.skipPasscode, params = __rest(_a, ["skipPasscode"]);
130
131
  return __generator(this, function (_f) {
131
132
  switch (_f.label) {
132
133
  case 0:
133
- _e = thunkApi.getState(), settings = _e.settings, auth = _e.auth;
134
- isStartWithZero = (_b = params.mobile) === null || _b === void 0 ? void 0 : _b.startsWith('0');
134
+ _b = thunkApi.getState(), settings = _b.settings, auth = _b.auth;
135
+ isStartWithZero = (_c = params.mobile) === null || _c === void 0 ? void 0 : _c.startsWith('0');
135
136
  mobileNumber = isStartWithZero ? params.mobile.slice(1) : params.mobile;
136
137
  requestBody = __assign({ country: settings.data.businessCountry.iso2, scope: settings.data.appConfig.scope, lang: settings.data.language, lead_id: auth.data.leadId, user_credentail: {
137
138
  phone: mobileNumber || '',
@@ -146,7 +147,7 @@ export var createMobileAuth = createAsyncThunk('auth/createMobileAuth', function
146
147
  data = _f.sent();
147
148
  stepName = (data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.PASSCODE ? 'AUTH_PASSCODE_STEP' : 'AUTH_OTP_STEP';
148
149
  thunkApi.dispatch(handleNextScreenStep(stepName));
149
- (_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, requestBody.user_credentail);
150
+ (_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, requestBody.user_credentail);
150
151
  return [2, { response: data, formData: params, skipPasscode: skipPasscode }];
151
152
  }
152
153
  });
@@ -178,9 +179,9 @@ export var resendMobileAuthOTP = createAsyncThunk('auth/resendMobileAuthOTP', fu
178
179
  }); });
179
180
  export var verifyMobileOtp = createAsyncThunk('auth/verifyMobileOtp', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
180
181
  var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name, auth_type, sign_in, scope, payload, data;
181
- var _d, _e, _f, _g;
182
- return __generator(this, function (_h) {
183
- switch (_h.label) {
182
+ var _d, _e, _f;
183
+ return __generator(this, function (_g) {
184
+ switch (_g.label) {
184
185
  case 0:
185
186
  _a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
186
187
  _b = auth.data || {}, responseData = _b.responseData, leadId = _b.leadId;
@@ -199,11 +200,13 @@ export var verifyMobileOtp = createAsyncThunk('auth/verifyMobileOtp', function (
199
200
  step_name: AUTH_STEP_NAMES.VERIFY_AUTH_MOBILE,
200
201
  encryption_contract: ['data']
201
202
  };
202
- return [4, API.authService.verifyAuth(payload)];
203
+ return [4, API.authService.verifyAuth(payload).catch(function (err) {
204
+ if (isAuthenticationVerificationFailed(err === null || err === void 0 ? void 0 : err.message))
205
+ thunkApi.dispatch(handleNextScreenStep('AUTH_OTP_VERIFY_SECURITY_ERROR_STEP'));
206
+ throw new Error(err === null || err === void 0 ? void 0 : err.message);
207
+ })];
203
208
  case 1:
204
- data = (_h.sent()).data;
205
- if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
206
- throw new Error(data.errors[0].description);
209
+ data = _g.sent();
207
210
  sendCustomEventToGTM({
208
211
  event: 'Send Event',
209
212
  event_category: 'User Registration Flow',
@@ -213,7 +216,7 @@ export var verifyMobileOtp = createAsyncThunk('auth/verifyMobileOtp', function (
213
216
  openConnect(settings.data.appConfig.publicKey, settings.data.businessCountry.iso2);
214
217
  return [2, data];
215
218
  }
216
- (_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, params);
219
+ (_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, params);
217
220
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_PREPARING_DATA_STEP')); });
218
221
  return [2, data];
219
222
  }
@@ -221,9 +224,9 @@ export var verifyMobileOtp = createAsyncThunk('auth/verifyMobileOtp', function (
221
224
  }); });
222
225
  export var verifyPasscode = createAsyncThunk('auth/verifyPasscode', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
223
226
  var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name, auth_type, sign_in, scope, payload, data, stepName_1;
224
- var _d, _e, _f, _g, _h, _j;
225
- return __generator(this, function (_k) {
226
- switch (_k.label) {
227
+ var _d, _e, _f, _g, _h;
228
+ return __generator(this, function (_j) {
229
+ switch (_j.label) {
227
230
  case 0:
228
231
  _a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
229
232
  _b = auth.data || {}, responseData = _b.responseData, leadId = _b.leadId;
@@ -242,12 +245,14 @@ export var verifyPasscode = createAsyncThunk('auth/verifyPasscode', function (pa
242
245
  step_name: AUTH_STEP_NAMES.CREATE_AUTH_PASSCODE,
243
246
  encryption_contract: ['data']
244
247
  };
245
- return [4, API.authService.verifyAuth(payload)];
248
+ return [4, API.authService.verifyAuth(payload).catch(function (err) {
249
+ if (isAuthenticationVerificationFailed(err === null || err === void 0 ? void 0 : err.message))
250
+ thunkApi.dispatch(handleNextScreenStep('AUTH_OTP_VERIFY_SECURITY_ERROR_STEP'));
251
+ throw new Error(err === null || err === void 0 ? void 0 : err.message);
252
+ })];
246
253
  case 1:
247
- data = (_k.sent()).data;
248
- if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
249
- throw new Error(data.errors[0].description);
250
- if (((_f = data === null || data === void 0 ? void 0 : data.status) === null || _f === void 0 ? void 0 : _f.toLowerCase()) === 'success' && (data === null || data === void 0 ? void 0 : data.auth_session)) {
254
+ data = _j.sent();
255
+ if (((_e = data === null || data === void 0 ? void 0 : data.status) === null || _e === void 0 ? void 0 : _e.toLowerCase()) === 'success' && (data === null || data === void 0 ? void 0 : data.auth_session)) {
251
256
  if (scope === 'merchant') {
252
257
  openConnect(settings.data.appConfig.publicKey, settings.data.businessCountry.iso2);
253
258
  return [2, data];
@@ -255,23 +260,24 @@ export var verifyPasscode = createAsyncThunk('auth/verifyPasscode', function (pa
255
260
  stepName_1 = 'AUTH_PREPARING_DATA_STEP';
256
261
  if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.MIGRATION)
257
262
  stepName_1 = 'AUTH_MIGRATING_DATA_STEP';
258
- (_h = (_g = settings.data.appConfig).onStepCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, settings.data.activeScreen.name, params);
263
+ (_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, params);
259
264
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep(stepName_1)); });
260
265
  }
261
- else if (((_j = data === null || data === void 0 ? void 0 : data.status) === null || _j === void 0 ? void 0 : _j.toLowerCase()) === 'pending') {
266
+ else if (((_h = data === null || data === void 0 ? void 0 : data.status) === null || _h === void 0 ? void 0 : _h.toLowerCase()) === 'pending') {
262
267
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_OTP_STEP')); });
263
268
  }
264
269
  return [2, data];
265
270
  }
266
271
  });
267
272
  }); });
268
- export var createEmailAuth = createAsyncThunk('auth/createEmailAuth', function (_a, thunkApi) { var _b, _c; return __awaiter(void 0, void 0, void 0, function () {
269
- var _d, settings, auth, requestBody, data, stepName;
273
+ export var createEmailAuth = createAsyncThunk('auth/createEmailAuth', function (_a, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
274
+ var _b, settings, auth, requestBody, data, stepName;
275
+ var _c, _d;
270
276
  var skipPasscode = _a.skipPasscode, params = __rest(_a, ["skipPasscode"]);
271
277
  return __generator(this, function (_e) {
272
278
  switch (_e.label) {
273
279
  case 0:
274
- _d = thunkApi.getState(), settings = _d.settings, auth = _d.auth;
280
+ _b = thunkApi.getState(), settings = _b.settings, auth = _b.auth;
275
281
  requestBody = __assign({ country: settings.data.businessCountry.iso2, scope: settings.data.appConfig.scope, lang: settings.data.language, lead_id: auth.data.leadId, user_credentail: {
276
282
  email: params.email || ''
277
283
  }, sign_in: true, login: true, is_lead: false, step_name: AUTH_STEP_NAMES.CREATE_AUTH_EMAIL, encryption_contract: ['user_credentail.email'] }, (skipPasscode && {
@@ -290,16 +296,16 @@ export var createEmailAuth = createAsyncThunk('auth/createEmailAuth', function (
290
296
  else if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.PASSCODE)
291
297
  stepName = 'AUTH_PASSCODE_STEP';
292
298
  thunkApi.dispatch(handleNextScreenStep(stepName));
293
- (_c = (_b = settings.data.appConfig).onStepCompleted) === null || _c === void 0 ? void 0 : _c.call(_b, settings.data.activeScreen.name, requestBody.user_credentail);
299
+ (_d = (_c = settings.data.appConfig).onStepCompleted) === null || _d === void 0 ? void 0 : _d.call(_c, settings.data.activeScreen.name, requestBody.user_credentail);
294
300
  return [2, { response: data, formData: params, skipPasscode: skipPasscode }];
295
301
  }
296
302
  });
297
303
  }); });
298
304
  export var verifyEmailPassword = createAsyncThunk('auth/verifyEmailPassword', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
299
305
  var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name, auth_type, sign_in, scope, payload, data;
300
- var _d, _e, _f, _g;
301
- return __generator(this, function (_h) {
302
- switch (_h.label) {
306
+ var _d, _e, _f;
307
+ return __generator(this, function (_g) {
308
+ switch (_g.label) {
303
309
  case 0:
304
310
  _a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
305
311
  _b = auth.data || {}, responseData = _b.responseData, leadId = _b.leadId;
@@ -321,9 +327,7 @@ export var verifyEmailPassword = createAsyncThunk('auth/verifyEmailPassword', fu
321
327
  };
322
328
  return [4, API.authService.verifyAuth(payload)];
323
329
  case 1:
324
- data = (_h.sent()).data;
325
- if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
326
- throw new Error(data.errors[0].description);
330
+ data = _g.sent();
327
331
  if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.MOBILE_OTP) {
328
332
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_OTP_STEP')); });
329
333
  return [2, data];
@@ -332,7 +336,7 @@ export var verifyEmailPassword = createAsyncThunk('auth/verifyEmailPassword', fu
332
336
  openConnect(settings.data.appConfig.publicKey, settings.data.businessCountry.iso2);
333
337
  return [2, data];
334
338
  }
335
- (_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, params);
339
+ (_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, params);
336
340
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('AUTH_PREPARING_DATA_STEP')); });
337
341
  return [2, data];
338
342
  }
@@ -363,9 +367,9 @@ export var resendEmailAuthOTP = createAsyncThunk('auth/resendEmailAuthOTP', func
363
367
  }); });
364
368
  export var verifyEmailOtp = createAsyncThunk('auth/verifyEmailOtp', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
365
369
  var _a, settings, auth, _b, responseData, leadId, _c, auth_token, device_token, service_name, auth_type, sign_in, scope, payload, data, stepName;
366
- var _d, _e, _f, _g;
367
- return __generator(this, function (_h) {
368
- switch (_h.label) {
370
+ var _d, _e, _f;
371
+ return __generator(this, function (_g) {
372
+ switch (_g.label) {
369
373
  case 0:
370
374
  _a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
371
375
  _b = auth.data || {}, responseData = _b.responseData, leadId = _b.leadId;
@@ -385,11 +389,13 @@ export var verifyEmailOtp = createAsyncThunk('auth/verifyEmailOtp', function (pa
385
389
  step_name: AUTH_STEP_NAMES.VERIFY_AUTH_MOBILE,
386
390
  encryption_contract: ['data']
387
391
  };
388
- return [4, API.authService.verifyAuth(payload)];
392
+ return [4, API.authService.verifyAuth(payload).catch(function (err) {
393
+ if (isAuthenticationVerificationFailed(err === null || err === void 0 ? void 0 : err.message))
394
+ thunkApi.dispatch(handleNextScreenStep('AUTH_OTP_VERIFY_SECURITY_ERROR_STEP'));
395
+ throw new Error(err === null || err === void 0 ? void 0 : err.message);
396
+ })];
389
397
  case 1:
390
- data = (_h.sent()).data;
391
- if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
392
- throw new Error(data.errors[0].description);
398
+ data = _g.sent();
393
399
  sendCustomEventToGTM({
394
400
  event: 'Send Event',
395
401
  event_category: 'User Registration Flow',
@@ -402,7 +408,7 @@ export var verifyEmailOtp = createAsyncThunk('auth/verifyEmailOtp', function (pa
402
408
  stepName = 'AUTH_PREPARING_DATA_STEP';
403
409
  if ((data === null || data === void 0 ? void 0 : data.auth_type) === AuthTypeNumber.MIGRATION)
404
410
  stepName = 'AUTH_MIGRATING_DATA_STEP';
405
- (_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, params);
411
+ (_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, params);
406
412
  sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep(stepName)); });
407
413
  return [2, data];
408
414
  }
@@ -677,36 +683,36 @@ export var checkMigrationStatus = createAsyncThunk('auth/checkMigrationStatus',
677
683
  });
678
684
  }); });
679
685
  export var checkAccountAvailability = createAsyncThunk('auth/checkAccountAvailability', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
680
- var _a, settings, auth, authConfigData, authDataHasValue, isDataHasIndividualOnly, data, authId, accountData, _b, step_name, brands, entities, brandList, entityList, isExistingUser;
681
- var _c;
682
- return __generator(this, function (_d) {
683
- switch (_d.label) {
686
+ var _a, settings, auth, authConfigData, authDataHasValue, isDataHasIndividualOnly, data, _b, authId, auth_session, accountData, _c, step_name, brands, entities, brandList, entityList, isExistingUser;
687
+ var _d;
688
+ return __generator(this, function (_e) {
689
+ switch (_e.label) {
684
690
  case 0:
685
691
  _a = thunkApi.getState(), settings = _a.settings, auth = _a.auth;
686
692
  authConfigData = settings.data.appConfig.data;
687
693
  authDataHasValue = authConfigData === null || authConfigData === void 0 ? void 0 : authConfigData.length;
688
694
  isDataHasIndividualOnly = (authConfigData === null || authConfigData === void 0 ? void 0 : authConfigData.length) === 1 && authConfigData.includes('individual');
689
- data = (_c = auth.data.responseData) === null || _c === void 0 ? void 0 : _c.authResponse;
690
- authId = (data || {}).id;
695
+ data = (_d = auth.data.responseData) === null || _d === void 0 ? void 0 : _d.authResponse;
696
+ _b = data || {}, authId = _b.id, auth_session = _b.auth_session;
691
697
  accountData = undefined;
692
698
  if (!isDataHasIndividualOnly) return [3, 2];
693
- return [4, API.accountService.checkAccountAvailabilityStatus(data === null || data === void 0 ? void 0 : data.individual_id)];
699
+ return [4, API.accountService.checkAccountAvailabilityStatus(data === null || data === void 0 ? void 0 : data.individual_id, auth_session)];
694
700
  case 1:
695
- accountData = _d.sent();
701
+ accountData = _e.sent();
696
702
  return [3, 4];
697
- case 2: return [4, API.accountService.checkAccountAvailability(data === null || data === void 0 ? void 0 : data.individual_id)];
703
+ case 2: return [4, API.accountService.checkAccountAvailability(data === null || data === void 0 ? void 0 : data.individual_id, auth_session)];
698
704
  case 3:
699
- accountData = _d.sent();
700
- _d.label = 4;
705
+ accountData = _e.sent();
706
+ _e.label = 4;
701
707
  case 4:
702
- _b = accountData || {}, step_name = _b.step_name, brands = _b.brands, entities = _b.entities;
708
+ _c = accountData || {}, step_name = _c.step_name, brands = _c.brands, entities = _c.entities;
703
709
  brandList = brands || [];
704
710
  entityList = entities || [];
705
711
  isExistingUser = step_name === 'select_account';
706
712
  if (!(isExistingUser && isDataHasIndividualOnly && authId)) return [3, 6];
707
713
  return [4, thunkApi.dispatch(confirmInfo({ authId: authId }))];
708
714
  case 5:
709
- _d.sent();
715
+ _e.sent();
710
716
  return [2, { brandList: brandList, entityList: entityList }];
711
717
  case 6:
712
718
  if (isExistingUser && authDataHasValue && brandList.length && entityList.length) {
@@ -803,7 +809,7 @@ export var confirmInfo = createAsyncThunk('auth/confirmInfo', function (_a, thun
803
809
  entity_id: (entityInfo === null || entityInfo === void 0 ? void 0 : entityInfo.id) || '',
804
810
  data: settings.data.appConfig.data || []
805
811
  };
806
- return [4, API.operatorService.confirm(body)];
812
+ return [4, API.operatorService.confirm(body, authResponse === null || authResponse === void 0 ? void 0 : authResponse.auth_session)];
807
813
  case 1:
808
814
  data = _k.sent();
809
815
  (_g = (_f = settings.data.appConfig).onStepCompleted) === null || _g === void 0 ? void 0 : _g.call(_f, settings.data.activeScreen.name, data);
@@ -1027,9 +1033,11 @@ export var authSlice = createSlice({
1027
1033
  state.data.passcodeData.skipPasscode = false;
1028
1034
  state.data.passcodeData.allowOTPToPasscodeRedirection = false;
1029
1035
  })
1030
- .addCase(verifyMobileOtp.rejected, function (state, action) {
1036
+ .addCase(verifyMobileOtp.rejected, function (state, _a) {
1037
+ var message = _a.error.message;
1031
1038
  state.loading = false;
1032
- state.error = action.error.message;
1039
+ if (!isAuthenticationVerificationFailed(message))
1040
+ state.error = message;
1033
1041
  })
1034
1042
  .addCase(verifyPasscode.pending, function (state) {
1035
1043
  state.loading = true;
@@ -1043,9 +1051,11 @@ export var authSlice = createSlice({
1043
1051
  state.data.passcodeData.skipPasscode = ((_b = data === null || data === void 0 ? void 0 : data.status) === null || _b === void 0 ? void 0 : _b.toLowerCase()) === 'pending';
1044
1052
  state.data.passcodeData.allowOTPToPasscodeRedirection = false;
1045
1053
  })
1046
- .addCase(verifyPasscode.rejected, function (state, action) {
1054
+ .addCase(verifyPasscode.rejected, function (state, _a) {
1055
+ var message = _a.error.message;
1047
1056
  state.loading = false;
1048
- state.error = action.error.message;
1057
+ if (!isAuthenticationVerificationFailed(message))
1058
+ state.error = message;
1049
1059
  })
1050
1060
  .addCase(createEmailAuth.pending, function (state) {
1051
1061
  state.loading = true;
@@ -1100,9 +1110,11 @@ export var authSlice = createSlice({
1100
1110
  state.data.passcodeData.skipPasscode = false;
1101
1111
  state.data.passcodeData.allowOTPToPasscodeRedirection = false;
1102
1112
  })
1103
- .addCase(verifyEmailOtp.rejected, function (state, action) {
1113
+ .addCase(verifyEmailOtp.rejected, function (state, _a) {
1114
+ var message = _a.error.message;
1104
1115
  state.loading = false;
1105
- state.error = action.error.message;
1116
+ if (!isAuthenticationVerificationFailed(message))
1117
+ state.error = message;
1106
1118
  })
1107
1119
  .addCase(createNafathAuth.pending, function (state) {
1108
1120
  state.loading = true;