@tap-payments/auth-jsconnect 2.10.15-beta → 2.10.16-development

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