@tap-payments/auth-jsconnect 2.11.13-development → 2.11.13-sandbox

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 (521) hide show
  1. package/build/@types/app.d.ts +17 -17
  2. package/build/@types/config.d.ts +1 -1
  3. package/build/@types/form.d.ts +28 -28
  4. package/build/@types/terminal.d.ts +1 -1
  5. package/build/@types/theme.d.ts +1 -1
  6. package/build/api/account.d.ts +4 -4
  7. package/build/api/account.js +7 -4
  8. package/build/api/auth.d.ts +17 -17
  9. package/build/api/auth.js +7 -3
  10. package/build/api/availabilityServices.d.ts +6 -6
  11. package/build/api/axios.js +1 -1
  12. package/build/api/board.d.ts +3 -3
  13. package/build/api/brand.d.ts +1 -1
  14. package/build/api/country.d.ts +1 -1
  15. package/build/api/data.d.ts +8 -8
  16. package/build/api/document.d.ts +3 -3
  17. package/build/api/entity.d.ts +12 -12
  18. package/build/api/file.d.ts +3 -3
  19. package/build/api/firebase.js +1 -1
  20. package/build/api/headers.d.ts +5 -0
  21. package/build/api/headers.js +3 -0
  22. package/build/api/index.d.ts +17 -17
  23. package/build/api/individual.d.ts +5 -5
  24. package/build/api/init.d.ts +1 -1
  25. package/build/api/lead.d.ts +18 -18
  26. package/build/api/lead.js +1 -1
  27. package/build/api/operator.d.ts +3 -3
  28. package/build/api/operator.js +6 -3
  29. package/build/api/user.d.ts +3 -3
  30. package/build/app/settings.d.ts +3 -21
  31. package/build/app/settings.js +1 -1
  32. package/build/app/store.d.ts +4 -4
  33. package/build/assets/currencies/AEDSymbol.d.ts +2 -2
  34. package/build/assets/currencies/SARSymbol.d.ts +2 -2
  35. package/build/assets/currencies/utils.d.ts +1 -1
  36. package/build/assets/locales/ar.json +5 -0
  37. package/build/assets/locales/en.json +7 -2
  38. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  39. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  40. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  41. package/build/components/AnimationFlow/Error.d.ts +2 -1
  42. package/build/components/AnimationFlow/Loader.d.ts +2 -1
  43. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  44. package/build/components/Button/Button.d.ts +1 -1
  45. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  46. package/build/components/Collapse/Collapse.d.ts +2 -1
  47. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  48. package/build/components/DeviceCard/DeviceCard.d.ts +2 -2
  49. package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
  50. package/build/components/FileInput/DragAndDrop.d.ts +2 -1
  51. package/build/components/FileInput/UploadInput.d.ts +2 -1
  52. package/build/components/Footer/Footer.d.ts +1 -1
  53. package/build/components/Form/Form.d.ts +1 -1
  54. package/build/components/Input/Input.d.ts +1 -1
  55. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  56. package/build/components/List/List.d.ts +1 -1
  57. package/build/components/ListItem/ListItem.d.ts +1 -1
  58. package/build/components/Loader/Loader.d.ts +1 -1
  59. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  60. package/build/components/OTPField/OTPField.d.ts +1 -1
  61. package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
  62. package/build/components/ProgressBar/CircularProgressBar.d.ts +2 -1
  63. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  64. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  65. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  66. package/build/components/Radio/Radio.d.ts +1 -1
  67. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  68. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  69. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  70. package/build/components/Slide/Slide.d.ts +1 -1
  71. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  72. package/build/components/Text/Text.d.ts +1 -1
  73. package/build/components/TextWithCurrency/TextWithCurrency.d.ts +3 -2
  74. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  75. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  76. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  77. package/build/components/Tooltip/Tooltip.js +1 -1
  78. package/build/components/TruncatedTooltipText/TruncatedTooltipText.d.ts +1 -1
  79. package/build/components/Warning/Warning.d.ts +1 -1
  80. package/build/constants/app.d.ts +2 -1
  81. package/build/constants/app.js +105 -18
  82. package/build/constants/flows.d.ts +1 -0
  83. package/build/constants/flows.js +2 -1
  84. package/build/features/app/auth/authStore.d.ts +22 -211
  85. package/build/features/app/auth/authStore.js +74 -66
  86. package/build/features/app/bank/bankStore.d.ts +12 -93
  87. package/build/features/app/bank/bankStore.js +25 -21
  88. package/build/features/app/board/boardStore.d.ts +5 -41
  89. package/build/features/app/board/boardStore.js +12 -8
  90. package/build/features/app/brand/brandStore.d.ts +17 -143
  91. package/build/features/app/brand/brandStore.js +23 -19
  92. package/build/features/app/business/businessStore.d.ts +21 -192
  93. package/build/features/app/business/businessStore.js +31 -27
  94. package/build/features/app/connect/connectStore.d.ts +19 -181
  95. package/build/features/app/connect/connectStore.js +27 -23
  96. package/build/features/app/connectExpress/connectExpressStore.d.ts +33 -312
  97. package/build/features/app/connectExpress/connectExpressStore.js +21 -8
  98. package/build/features/app/entity/entityStore.d.ts +12 -93
  99. package/build/features/app/entity/entityStore.js +22 -18
  100. package/build/features/app/individual/individualStore.d.ts +24 -186
  101. package/build/features/app/individual/individualStore.js +34 -29
  102. package/build/features/app/kyc/kycStore.d.ts +8 -62
  103. package/build/features/app/kyc/kycStore.js +1 -1
  104. package/build/features/app/password/passwordStore.d.ts +15 -123
  105. package/build/features/app/password/passwordStore.js +45 -47
  106. package/build/features/app/signIn/signInStore.d.ts +7 -61
  107. package/build/features/app/signIn/signInStore.js +13 -17
  108. package/build/features/app/tax/taxStore.d.ts +11 -83
  109. package/build/features/app/tax/taxStore.js +21 -17
  110. package/build/features/app/terminal/terminalStore.d.ts +18 -144
  111. package/build/features/app/terminal/terminalStore.js +6 -4
  112. package/build/features/auth/Auth.d.ts +2 -1
  113. package/build/features/auth/Auth.js +1 -1
  114. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  115. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
  116. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  117. package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
  118. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  119. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
  120. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
  121. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
  122. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
  123. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  124. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  125. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
  126. package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
  127. package/build/features/auth/screens/DOB/DOB.d.ts +2 -1
  128. package/build/features/auth/screens/DOB/DOBForm.d.ts +1 -1
  129. package/build/features/auth/screens/Email/Email.d.ts +1 -1
  130. package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
  131. package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
  132. package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
  133. package/build/features/auth/screens/NID/NID.d.ts +1 -1
  134. package/build/features/auth/screens/OTP/OTP.d.ts +13 -5
  135. package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
  136. package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
  137. package/build/features/auth/screens/Passcode/Passcode.d.ts +13 -5
  138. package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +1 -1
  139. package/build/features/auth/screens/Password/Password.d.ts +1 -1
  140. package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
  141. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
  142. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
  143. package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  144. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  145. package/build/features/bank/Bank.d.ts +2 -1
  146. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
  147. package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
  148. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
  149. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
  150. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
  151. package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
  152. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  153. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
  154. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  155. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  156. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  157. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  158. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  159. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  160. package/build/features/board/Board.d.ts +2 -1
  161. package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
  162. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  163. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  164. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  165. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  166. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  167. package/build/features/brand/Brand.d.ts +2 -1
  168. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
  169. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
  170. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
  171. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
  172. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
  173. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
  174. package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
  175. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
  176. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
  177. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
  178. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  179. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  180. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +2 -1
  181. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
  182. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +2 -1
  183. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +2 -1
  184. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +2 -1
  185. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +2 -1
  186. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
  187. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  188. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  189. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  190. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  191. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  192. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  193. package/build/features/business/Business.d.ts +2 -1
  194. package/build/features/business/screens/Activities/Activities.d.ts +2 -1
  195. package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
  196. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  197. package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
  198. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  199. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  200. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  201. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  202. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +13 -5
  203. package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
  204. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  205. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  206. package/build/features/business/screens/BusinessType/EntityName.d.ts +2 -1
  207. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
  208. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  209. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  210. package/build/features/business/screens/BusinessType/LicenseType.d.ts +28 -6
  211. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  212. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  213. package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +27 -5
  214. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  215. package/build/features/business/screens/Customers/CustomerLocations.d.ts +70 -19
  216. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  217. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
  218. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
  219. package/build/features/business/screens/Customers/RefundPolicy.d.ts +31 -10
  220. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -2
  221. package/build/features/business/screens/DOB/DOB.d.ts +1 -1
  222. package/build/features/business/screens/DOB/DOBForm.d.ts +1 -1
  223. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  224. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  225. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  226. package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +2 -1
  227. package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  228. package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
  229. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  230. package/build/features/business/screens/Success/Success.d.ts +1 -1
  231. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  232. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  233. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  234. package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  235. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  236. package/build/features/connect/Connect.d.ts +2 -1
  237. package/build/features/connect/Connect.js +1 -1
  238. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  239. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +2 -1
  240. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  241. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
  242. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  243. package/build/features/connect/screens/DOB/DOB.d.ts +2 -1
  244. package/build/features/connect/screens/DOB/DOBForm.d.ts +1 -1
  245. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  246. package/build/features/connect/screens/Individual/Email.js +1 -1
  247. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  248. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  249. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  250. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  251. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  252. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  253. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +2 -1
  254. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  255. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  256. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  257. package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +2 -1
  258. package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  259. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  260. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  261. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  262. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
  263. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  264. package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  265. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  266. package/build/features/connectExpress/ConnectExpress.d.ts +2 -1
  267. package/build/features/connectExpress/ConnectExpress.js +1 -1
  268. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  269. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  270. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  271. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  272. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  273. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
  274. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
  275. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  276. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  277. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  278. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  279. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
  280. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  281. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  282. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  283. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  284. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  285. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  286. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  287. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +28 -6
  288. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
  289. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +27 -5
  290. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  291. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  292. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  293. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  294. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  295. package/build/features/connectExpress/screens/DOB/DOB.d.ts +2 -1
  296. package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
  297. package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +2 -1
  298. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +1 -1
  299. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  300. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  301. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  302. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  303. package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +2 -1
  304. package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  305. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  306. package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
  307. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
  308. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  309. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  310. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  311. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
  312. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
  313. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  314. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.d.ts +1 -1
  315. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.d.ts +1 -1
  316. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  317. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  318. package/build/features/entity/Entity.d.ts +2 -1
  319. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
  320. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  321. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  322. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  323. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +2 -1
  324. package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
  325. package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
  326. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
  327. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
  328. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
  329. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  330. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
  331. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  332. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  333. package/build/features/entity/screens/EntityName/validation.d.ts +1 -1
  334. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
  335. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  336. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  337. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  338. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  339. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  340. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  341. package/build/features/featuresScreens.js +60 -0
  342. package/build/features/individual/Individual.d.ts +2 -1
  343. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
  344. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
  345. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  346. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +27 -5
  347. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  348. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
  349. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
  350. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  351. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  352. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +2 -1
  353. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  354. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  355. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  356. package/build/features/individual/screens/IndividualList/Email.js +1 -1
  357. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +25 -9
  358. package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
  359. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  360. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  361. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  362. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +28 -6
  363. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  364. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
  365. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  366. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  367. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
  368. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  369. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  370. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  371. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  372. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  373. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  374. package/build/features/kyc/KYC.d.ts +2 -1
  375. package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +1 -1
  376. package/build/features/kyc/screens/Loading/Loading.d.ts +2 -2
  377. package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +1 -1
  378. package/build/features/kyc/screens/Success/Success.d.ts +1 -1
  379. package/build/features/kyc/screens/Terms/Header.d.ts +1 -1
  380. package/build/features/kyc/screens/Terms/Terms.d.ts +2 -2
  381. package/build/features/kyc/screens/TokenError/TokenError.d.ts +1 -1
  382. package/build/features/kyc/screens/Users/Users.d.ts +1 -1
  383. package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  384. package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +1 -1
  385. package/build/features/password/Password.d.ts +2 -1
  386. package/build/features/password/Password.js +1 -1
  387. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
  388. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  389. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  390. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  391. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +2 -1
  392. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  393. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  394. package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
  395. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  396. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  397. package/build/features/password/screens/Success/Success.d.ts +1 -1
  398. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  399. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  400. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  401. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +2 -1
  402. package/build/features/shared/Address/Address.d.ts +2 -1
  403. package/build/features/shared/Address/CountryList.d.ts +46 -14
  404. package/build/features/shared/Address/InputSelect.d.ts +46 -14
  405. package/build/features/shared/Address/InputSelect.js +1 -1
  406. package/build/features/shared/Address/InputText.d.ts +1 -1
  407. package/build/features/shared/Background/Background.d.ts +1 -1
  408. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  409. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +2 -1
  410. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
  411. package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
  412. package/build/features/shared/Button/Button.d.ts +2 -1
  413. package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
  414. package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
  415. package/build/features/shared/Button/FlowsButtons.js +1 -1
  416. package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
  417. package/build/features/shared/Button/MobileButton.d.ts +2 -1
  418. package/build/features/shared/Button/NafathButton.d.ts +2 -1
  419. package/build/features/shared/Button/SuccessButton.d.ts +2 -1
  420. package/build/features/shared/Calender/Calender.d.ts +2 -1
  421. package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
  422. package/build/features/shared/Chip/Chip.d.ts +2 -1
  423. package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
  424. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  425. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  426. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  427. package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
  428. package/build/features/shared/Dialog/CloseDialog.d.ts +2 -1
  429. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  430. package/build/features/shared/Dot/Dot.d.ts +2 -1
  431. package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
  432. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
  433. package/build/features/shared/Footer/Footer.d.ts +2 -1
  434. package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
  435. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  436. package/build/features/shared/Input/Input.d.ts +14 -6
  437. package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
  438. package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
  439. package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
  440. package/build/features/shared/OTP/OTP.d.ts +1 -1
  441. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.d.ts +3 -0
  442. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.js +9 -0
  443. package/build/features/shared/OTPVerifySecurityError/index.d.ts +2 -0
  444. package/build/features/shared/OTPVerifySecurityError/index.js +2 -0
  445. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  446. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +2 -1
  447. package/build/features/shared/PushNotification/PushNotification.d.ts +1 -1
  448. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
  449. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  450. package/build/features/shared/Search/Search.d.ts +2 -1
  451. package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
  452. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  453. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
  454. package/build/features/shared/UploadFile/FileUpload.d.ts +9 -4
  455. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  456. package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
  457. package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
  458. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
  459. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  460. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
  461. package/build/features/signIn/SignIn.d.ts +2 -1
  462. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  463. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  464. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  465. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  466. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
  467. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  468. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  469. package/build/features/tax/Tax.d.ts +2 -1
  470. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
  471. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  472. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  473. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  474. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  475. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +3 -2
  476. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
  477. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
  478. package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
  479. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  480. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  481. package/build/features/terminal/Terminal.d.ts +2 -1
  482. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.d.ts +1 -1
  483. package/build/features/terminal/screens/LinkNewTerminal/styles.d.ts +8 -5
  484. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.d.ts +1 -1
  485. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.d.ts +1 -1
  486. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.js +1 -1
  487. package/build/features/terminal/screens/Loading/Loading.d.ts +2 -2
  488. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.d.ts +1 -1
  489. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.js +59 -14
  490. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.d.ts +32 -9
  491. package/build/features/terminal/screens/OperatorError/OperatorError.d.ts +1 -1
  492. package/build/features/terminal/screens/POSDeviceListPage/POSDeviceListPage.d.ts +1 -1
  493. package/build/features/terminal/screens/POSDeviceListPage/POSDeviceListPage.js +5 -2
  494. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  495. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  496. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.d.ts +1 -1
  497. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.js +2 -2
  498. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.d.ts +1 -1
  499. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +1 -1
  500. package/build/features/terminal/screens/TerminalDeviceList/styles.d.ts +7 -2
  501. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.d.ts +1 -1
  502. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.d.ts +1 -1
  503. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.d.ts +19 -4
  504. package/build/features/terminal/screens/Verify/OTPInput.d.ts +1 -1
  505. package/build/features/terminal/screens/Verify/Verify.d.ts +1 -1
  506. package/build/features/terminal/screens/Verify/Verify.js +6 -2
  507. package/build/features/terminal/screens/shared/Header.d.ts +1 -1
  508. package/build/features/terminal/screens/shared/POSDeviceList.d.ts +1 -1
  509. package/build/features/terminal/screens/shared/styles.d.ts +176 -37
  510. package/build/features/terminal/screens/shared/utils.js +2 -1
  511. package/build/hooks/useDataVerified.d.ts +1 -1
  512. package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
  513. package/build/hooks/useFormDirtyCheck.d.ts +3 -3
  514. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
  515. package/build/hooks/useFormReadOnly.d.ts +2 -2
  516. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  517. package/build/utils/array.js +1 -1
  518. package/build/utils/common.js +3 -3
  519. package/build/utils/error.d.ts +1 -0
  520. package/build/utils/error.js +3 -0
  521. package/package.json +2 -2
@@ -18,29 +18,11 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
18
18
  leadData?: undefined;
19
19
  brandData?: undefined;
20
20
  boardId?: undefined;
21
- }, string, {
22
- state?: unknown;
23
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
24
- extra?: unknown;
25
- rejectValue?: unknown;
26
- serializedErrorType?: unknown;
27
- pendingMeta?: unknown;
28
- fulfilledMeta?: unknown;
29
- rejectedMeta?: unknown;
30
- }>;
21
+ }, string, {}>;
31
22
  export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
32
23
  data: any;
33
24
  verifyNextStepName: any;
34
- }, void, {
35
- state?: unknown;
36
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
37
- extra?: unknown;
38
- rejectValue?: unknown;
39
- serializedErrorType?: unknown;
40
- pendingMeta?: unknown;
41
- fulfilledMeta?: unknown;
42
- rejectedMeta?: unknown;
43
- }>;
25
+ }, void, {}>;
44
26
  export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
45
27
  data: any;
46
28
  verifyNextStepName: any;
@@ -51,16 +33,7 @@ export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
51
33
  };
52
34
  brand: any;
53
35
  leadData: any;
54
- }, OTPFormValues, {
55
- state?: unknown;
56
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
57
- extra?: unknown;
58
- rejectValue?: unknown;
59
- serializedErrorType?: unknown;
60
- pendingMeta?: unknown;
61
- fulfilledMeta?: unknown;
62
- rejectedMeta?: unknown;
63
- }>;
36
+ }, OTPFormValues, {}>;
64
37
  interface verifyNafathParams {
65
38
  onSuccess?: () => void;
66
39
  onFailure?: () => void;
@@ -71,69 +44,24 @@ export declare const verifyNafath: import("@reduxjs/toolkit").AsyncThunk<{
71
44
  } | {
72
45
  response: any;
73
46
  isNextScreenDob: boolean;
74
- }, verifyNafathParams, {
75
- state?: unknown;
76
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
77
- extra?: unknown;
78
- rejectValue?: unknown;
79
- serializedErrorType?: unknown;
80
- pendingMeta?: unknown;
81
- fulfilledMeta?: unknown;
82
- rejectedMeta?: unknown;
83
- }>;
47
+ }, verifyNafathParams, {}>;
84
48
  export declare const updateLeadMobile: import("@reduxjs/toolkit").AsyncThunk<{
85
49
  leadResponse: any;
86
50
  formData: MobileOwnershipFormValues;
87
- }, MobileOwnershipFormValues, {
88
- state?: unknown;
89
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
90
- extra?: unknown;
91
- rejectValue?: unknown;
92
- serializedErrorType?: unknown;
93
- pendingMeta?: unknown;
94
- fulfilledMeta?: unknown;
95
- rejectedMeta?: unknown;
96
- }>;
51
+ }, MobileOwnershipFormValues, {}>;
97
52
  export declare const skipUpdateLeadMobile: import("@reduxjs/toolkit").AsyncThunk<{
98
53
  leadResponse: any;
99
- }, void, {
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
- }>;
54
+ }, void, {}>;
109
55
  interface verifyPACIParams {
110
56
  onSuccess?: () => void;
111
57
  }
112
58
  export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<{
113
59
  response: any;
114
- }, verifyPACIParams, {
115
- state?: unknown;
116
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
117
- extra?: unknown;
118
- rejectValue?: unknown;
119
- serializedErrorType?: unknown;
120
- pendingMeta?: unknown;
121
- fulfilledMeta?: unknown;
122
- rejectedMeta?: unknown;
123
- }>;
60
+ }, verifyPACIParams, {}>;
124
61
  export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
125
62
  response: any;
126
63
  formData: CivilFormValues;
127
- }, CivilFormValues, {
128
- state?: unknown;
129
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
130
- extra?: unknown;
131
- rejectValue?: unknown;
132
- serializedErrorType?: unknown;
133
- pendingMeta?: unknown;
134
- fulfilledMeta?: unknown;
135
- rejectedMeta?: unknown;
136
- }>;
64
+ }, CivilFormValues, {}>;
137
65
  export declare const updateLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<{
138
66
  data: any;
139
67
  formData: {
@@ -143,41 +71,14 @@ export declare const updateLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<{
143
71
  termAndConditionChecked?: boolean | undefined;
144
72
  };
145
73
  countryCode: import("../../../@types").CountryCode;
146
- }, NIDFormValues, {
147
- state?: unknown;
148
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
149
- extra?: unknown;
150
- rejectValue?: unknown;
151
- serializedErrorType?: unknown;
152
- pendingMeta?: unknown;
153
- fulfilledMeta?: unknown;
154
- rejectedMeta?: unknown;
155
- }>;
74
+ }, NIDFormValues, {}>;
156
75
  export declare const updateLeadDOB: import("@reduxjs/toolkit").AsyncThunk<{
157
76
  data: any;
158
77
  formData: DOBFormValues;
159
- }, DOBFormValues, {
160
- state?: unknown;
161
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
162
- extra?: unknown;
163
- rejectValue?: unknown;
164
- serializedErrorType?: unknown;
165
- pendingMeta?: unknown;
166
- fulfilledMeta?: unknown;
167
- rejectedMeta?: unknown;
168
- }>;
78
+ }, DOBFormValues, {}>;
169
79
  export declare const retrieveEntityList: import("@reduxjs/toolkit").AsyncThunk<any, {
170
80
  leadId: string;
171
- }, {
172
- state?: unknown;
173
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
174
- extra?: unknown;
175
- rejectValue?: unknown;
176
- serializedErrorType?: unknown;
177
- pendingMeta?: unknown;
178
- fulfilledMeta?: unknown;
179
- rejectedMeta?: unknown;
180
- }>;
81
+ }, {}>;
181
82
  export declare const retrieveAllEntityList: import("@reduxjs/toolkit").AsyncThunk<{
182
83
  data: any;
183
84
  businessCountryCode: string;
@@ -185,28 +86,10 @@ export declare const retrieveAllEntityList: import("@reduxjs/toolkit").AsyncThun
185
86
  }, {
186
87
  businessId: string;
187
88
  entityId: string;
188
- }, {
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
- }>;
89
+ }, {}>;
198
90
  export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
199
91
  data: any;
200
- }, string, {
201
- state?: unknown;
202
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
203
- extra?: unknown;
204
- rejectValue?: unknown;
205
- serializedErrorType?: unknown;
206
- pendingMeta?: unknown;
207
- fulfilledMeta?: unknown;
208
- rejectedMeta?: unknown;
209
- }>;
92
+ }, string, {}>;
210
93
  export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThunk<{
211
94
  data: any;
212
95
  formData: BusinessTypeFormValues;
@@ -214,83 +97,29 @@ export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThu
214
97
  documentData: any;
215
98
  entityData: any;
216
99
  isicActivityList: any;
217
- }, BusinessTypeFormValues, {
218
- state?: unknown;
219
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
220
- extra?: unknown;
221
- rejectValue?: unknown;
222
- serializedErrorType?: unknown;
223
- pendingMeta?: unknown;
224
- fulfilledMeta?: unknown;
225
- rejectedMeta?: unknown;
226
- }>;
100
+ }, BusinessTypeFormValues, {}>;
227
101
  export declare const updateActivitiesInfo: import("@reduxjs/toolkit").AsyncThunk<{
228
102
  data: any;
229
103
  formData: ActivitiesFormValues;
230
- }, AsyncThunkParams<ActivitiesFormValues>, {
231
- state?: unknown;
232
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
233
- extra?: unknown;
234
- rejectValue?: unknown;
235
- serializedErrorType?: unknown;
236
- pendingMeta?: unknown;
237
- fulfilledMeta?: unknown;
238
- rejectedMeta?: unknown;
239
- }>;
104
+ }, AsyncThunkParams<ActivitiesFormValues>, {}>;
240
105
  export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
241
106
  customerBases: any;
242
107
  expectedSales: any;
243
108
  expectedCustomerSales: any;
244
109
  countryISO2: string;
245
- }, void, {
246
- state?: unknown;
247
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
248
- extra?: unknown;
249
- rejectValue?: unknown;
250
- serializedErrorType?: unknown;
251
- pendingMeta?: unknown;
252
- fulfilledMeta?: unknown;
253
- rejectedMeta?: unknown;
254
- }>;
110
+ }, void, {}>;
255
111
  export declare const updateCustomersInfo: import("@reduxjs/toolkit").AsyncThunk<{
256
112
  data: any;
257
113
  formData: CustomersFormValues;
258
- }, AsyncThunkParams<CustomersFormValues>, {
259
- state?: unknown;
260
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
261
- extra?: unknown;
262
- rejectValue?: unknown;
263
- serializedErrorType?: unknown;
264
- pendingMeta?: unknown;
265
- fulfilledMeta?: unknown;
266
- rejectedMeta?: unknown;
267
- }>;
114
+ }, AsyncThunkParams<CustomersFormValues>, {}>;
268
115
  export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
269
116
  response: any;
270
117
  formData: void;
271
- } | undefined, void, {
272
- state?: unknown;
273
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
274
- extra?: unknown;
275
- rejectValue?: unknown;
276
- serializedErrorType?: unknown;
277
- pendingMeta?: unknown;
278
- fulfilledMeta?: unknown;
279
- rejectedMeta?: unknown;
280
- }>;
118
+ } | undefined, void, {}>;
281
119
  export declare const updateStepName: import("@reduxjs/toolkit").AsyncThunk<{
282
120
  response: any;
283
- }, string, {
284
- state?: unknown;
285
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
286
- extra?: unknown;
287
- rejectValue?: unknown;
288
- serializedErrorType?: unknown;
289
- pendingMeta?: unknown;
290
- fulfilledMeta?: unknown;
291
- rejectedMeta?: unknown;
292
- }>;
293
- type VerifyData = {
121
+ }, string, {}>;
122
+ declare type VerifyData = {
294
123
  token: string;
295
124
  };
296
125
  export interface BusinessData {
@@ -324,7 +153,7 @@ export declare const businessSlice: import("@reduxjs/toolkit").Slice<BusinessSta
324
153
  uploadingArticleStatus: (state: BusinessState, action: ActionState<boolean>) => void;
325
154
  clearAOAFile: (state: BusinessState) => void;
326
155
  }, "business/store">;
327
- export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"business/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"business/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"business/store/resetOTPScreen">, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "business/store/uploadingStatus">, uploadingArticleStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "business/store/uploadingArticleStatus">, clearAOAFile: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"business/store/clearAOAFile">;
156
+ export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, uploadingArticleStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, clearAOAFile: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
328
157
  declare const _default: import("redux").Reducer<BusinessState, import("redux").AnyAction>;
329
158
  export default _default;
330
159
  export declare const businessSelector: (state: RootState) => BusinessState;
@@ -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 (g && (g = 0, op[0] && (_ = 0)), _) try {
27
+ while (_) 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]) {
@@ -59,7 +59,7 @@ import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
59
59
  import API from '../../../api';
60
60
  import { BusinessType, FlowsTypes, DocumentPurpose, LicenseType } from '../../../@types';
61
61
  import { BUSINESS_STEP_NAMES, COLLECT_DOB_INFO_NAFATH, EXPECTED_SALES_LIST, IDENTIFICATION_TYPE, NAFATH_PACI_TIMEOUT_DURATION, NAFATH_VERIFICATION_FAILED, OTHER_CR_LICENSE, OTHER_ENTITY_LICENSE, OTHER_FL_LICENSE, defaultCountry } from '../../../constants';
62
- import { convertNumbers2English, hasKey, sleep, isKW, isSA, dateFormat, isOtherLicense, isOtherThanKWOrSA, hasNoneEditableValue, sendCustomEventToGTM, findCountryByIddPrefix, isNetworkError, isTimeoutError } from '../../../utils';
62
+ import { convertNumbers2English, hasKey, sleep, isKW, isSA, dateFormat, isOtherLicense, isOtherThanKWOrSA, hasNoneEditableValue, sendCustomEventToGTM, findCountryByIddPrefix, isNetworkError, isTimeoutError, isAuthenticationVerificationFailed } from '../../../utils';
63
63
  import { handleNextScreenStep, handlePublicKey, handleSetCountryByIso2 } from '../../../app/settings';
64
64
  export var verifyLeadToken = createAsyncThunk('businessVerifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
65
65
  var payload, data, publicKey, countryIso2, boardData, brandData, isicActivityList, leadData, _a, steps, brand, board_id, business_id, entity, brandID, hasBusinessCompleted, hasBusinessCRInfoCompleted, hasBusinessCRActivitiesCompleted, hasBusinessCustomersCompleted, list, list;
@@ -198,9 +198,9 @@ export var resendOTP = createAsyncThunk('resendOTPBusiness', function (params, t
198
198
  }); });
199
199
  export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
200
200
  var _a, business, settings, isNID, responseBody, stepName, payload, data, publicKey, brandData, isicActivityList, leadData, brand, country_code, steps, board_id, business_id, entity, brandID, countryIso2, hasBusinessCompleted, hasBusinessCRInfoCompleted, hasBusinessCRActivitiesCompleted, hasBusinessCustomersCompleted, isIdentityAuthStep, boardResponse, list, list;
201
- var _b, _c, _d, _e, _f, _g, _h, _j;
202
- return __generator(this, function (_k) {
203
- switch (_k.label) {
201
+ var _b, _c, _d, _e, _f, _g, _h;
202
+ return __generator(this, function (_j) {
203
+ switch (_j.label) {
204
204
  case 0:
205
205
  _a = thunkApi.getState(), business = _a.business, settings = _a.settings;
206
206
  isNID = business.data.otpData.isNID;
@@ -213,26 +213,28 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
213
213
  step_name: stepName,
214
214
  encryption_contract: ['data']
215
215
  };
216
- return [4, API.leadService.verifyLeadOTP(payload)];
216
+ return [4, API.leadService.verifyTokenOTP(payload).catch(function (err) {
217
+ if (isAuthenticationVerificationFailed(err === null || err === void 0 ? void 0 : err.message))
218
+ thunkApi.dispatch(handleNextScreenStep('BUSINESS_OTP_VERIFY_SECURITY_ERROR_STEP'));
219
+ throw new Error(err === null || err === void 0 ? void 0 : err.message);
220
+ })];
217
221
  case 1:
218
- data = (_k.sent()).data;
219
- if ((_f = data.errors) === null || _f === void 0 ? void 0 : _f.length)
220
- throw new Error(data.errors[0].description);
221
- publicKey = (_g = data === null || data === void 0 ? void 0 : data.config) === null || _g === void 0 ? void 0 : _g.public_key;
222
+ data = _j.sent();
223
+ publicKey = (_f = data === null || data === void 0 ? void 0 : data.config) === null || _f === void 0 ? void 0 : _f.public_key;
222
224
  if (publicKey) {
223
225
  thunkApi.dispatch(handlePublicKey(publicKey));
224
226
  }
225
227
  isicActivityList = undefined;
226
228
  return [4, API.leadService.retrieveLead(data === null || data === void 0 ? void 0 : data.id)];
227
229
  case 2:
228
- leadData = (_k.sent()).data;
230
+ leadData = (_j.sent()).data;
229
231
  thunkApi.dispatch(updateStepName(stepName));
230
232
  brand = leadData.brand, country_code = leadData.country_code, steps = leadData.steps, board_id = leadData.board_id, business_id = leadData.business_id, entity = leadData.entity;
231
233
  brandID = brand === null || brand === void 0 ? void 0 : brand.id;
232
234
  countryIso2 = country_code;
233
235
  if (countryIso2)
234
236
  thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
235
- (_j = (_h = settings.data.appConfig).onStepCompleted) === null || _j === void 0 ? void 0 : _j.call(_h, settings.data.activeScreen.name, { otp: params.otp });
237
+ (_h = (_g = settings.data.appConfig).onStepCompleted) === null || _h === void 0 ? void 0 : _h.call(_g, settings.data.activeScreen.name, { otp: params.otp });
236
238
  hasBusinessCompleted = hasKey(steps, BUSINESS_STEP_NAMES.BUSINESS_SUCCESS);
237
239
  hasBusinessCRInfoCompleted = hasKey(steps, BUSINESS_STEP_NAMES.BUSINESS_CR_INFO) && hasKey(steps, BUSINESS_STEP_NAMES.BUSINESS_INFO_CONFIRM);
238
240
  hasBusinessCRActivitiesCompleted = hasKey(steps, BUSINESS_STEP_NAMES.BUSINESS_CR_ACTIVITIES);
@@ -241,14 +243,14 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
241
243
  if (!(!isIdentityAuthStep && !hasBusinessCRInfoCompleted)) return [3, 4];
242
244
  return [4, thunkApi.dispatch(retrieveAllEntityList({ businessId: business_id, entityId: entity === null || entity === void 0 ? void 0 : entity.id }))];
243
245
  case 3:
244
- _k.sent();
245
- _k.label = 4;
246
+ _j.sent();
247
+ _j.label = 4;
246
248
  case 4:
247
249
  if (!(isSA(countryIso2) && !isIdentityAuthStep && !hasBusinessCRInfoCompleted)) return [3, 6];
248
250
  return [4, thunkApi.dispatch(retrieveEntityList({ leadId: data === null || data === void 0 ? void 0 : data.id }))];
249
251
  case 5:
250
- _k.sent();
251
- _k.label = 6;
252
+ _j.sent();
253
+ _j.label = 6;
252
254
  case 6:
253
255
  if (!isNID) return [3, 7];
254
256
  thunkApi.dispatch(handleNextScreenStep());
@@ -262,12 +264,12 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
262
264
  if (!board_id) return [3, 11];
263
265
  return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
264
266
  case 9:
265
- boardResponse = _k.sent();
267
+ boardResponse = _j.sent();
266
268
  leadData = __assign(__assign({}, leadData), { flows: (boardResponse === null || boardResponse === void 0 ? void 0 : boardResponse.info) || [] });
267
269
  return [4, thunkApi.dispatch(retrieveBoardDetails(board_id))];
268
270
  case 10:
269
- _k.sent();
270
- _k.label = 11;
271
+ _j.sent();
272
+ _j.label = 11;
271
273
  case 11:
272
274
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP')); });
273
275
  return [3, 23];
@@ -287,30 +289,30 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
287
289
  if (!hasBusinessCRActivitiesCompleted) return [3, 19];
288
290
  return [4, API.dataService.getActivitiesIsIc()];
289
291
  case 16:
290
- list = (_k.sent()).list;
292
+ list = (_j.sent()).list;
291
293
  isicActivityList = list || [];
292
294
  return [4, thunkApi.dispatch(retrieveDataList())];
293
295
  case 17:
294
- _k.sent();
296
+ _j.sent();
295
297
  return [4, API.brandService.retrieveBrand(brandID)];
296
298
  case 18:
297
- brandData = _k.sent();
299
+ brandData = _j.sent();
298
300
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_CUSTOMERS_STEP')); });
299
301
  return [3, 23];
300
302
  case 19:
301
303
  if (!hasBusinessCRInfoCompleted) return [3, 22];
302
304
  return [4, API.dataService.getActivitiesIsIc()];
303
305
  case 20:
304
- list = (_k.sent()).list;
306
+ list = (_j.sent()).list;
305
307
  isicActivityList = list || [];
306
308
  return [4, API.brandService.retrieveBrand(brandID)];
307
309
  case 21:
308
- brandData = _k.sent();
310
+ brandData = _j.sent();
309
311
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_ACTIVITIES_STEP')); });
310
312
  return [3, 23];
311
313
  case 22:
312
314
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_BUSINESS_TYPE_STEP')); });
313
- _k.label = 23;
315
+ _j.label = 23;
314
316
  case 23: return [2, { data: data, verifyNextStepName: data.step_name, isicActivityList: isicActivityList, formData: __assign(__assign({}, params), { isNID: isNID }), brand: brandData === null || brandData === void 0 ? void 0 : brandData.brand, leadData: leadData }];
315
317
  }
316
318
  });
@@ -1135,9 +1137,11 @@ export var businessSlice = createSlice({
1135
1137
  var licenseList = [OTHER_CR_LICENSE, OTHER_FL_LICENSE];
1136
1138
  state.data.businessTypeData.responseBody = __assign(__assign(__assign({}, state.data.businessTypeData.responseBody), { entity_id: entity === null || entity === void 0 ? void 0 : entity.id, activityList: isicActivityList }), (!((_e = (_d = (_c = state.data.businessTypeData) === null || _c === void 0 ? void 0 : _c.responseBody) === null || _d === void 0 ? void 0 : _d.licenseList) === null || _e === void 0 ? void 0 : _e.length) && { licenseList: licenseList }));
1137
1139
  })
1138
- .addCase(verifyLeadOTP.rejected, function (state, action) {
1140
+ .addCase(verifyLeadOTP.rejected, function (state, _a) {
1141
+ var message = _a.error.message;
1139
1142
  state.loading = false;
1140
- state.error = action.error.message;
1143
+ if (!isAuthenticationVerificationFailed(message))
1144
+ state.error = message;
1141
1145
  })
1142
1146
  .addCase(createCivilIdAuth.pending, function (state) {
1143
1147
  state.loading = true;