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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (629) hide show
  1. package/README.md +2 -2
  2. package/build/@types/app.d.ts +19 -19
  3. package/build/@types/app.js +0 -1
  4. package/build/@types/config.d.ts +1 -1
  5. package/build/@types/form.d.ts +30 -28
  6. package/build/@types/index.d.ts +0 -1
  7. package/build/@types/index.js +0 -1
  8. package/build/@types/theme.d.ts +1 -1
  9. package/build/api/account.d.ts +4 -4
  10. package/build/api/account.js +7 -4
  11. package/build/api/auth.d.ts +17 -25
  12. package/build/api/auth.js +7 -3
  13. package/build/api/availabilityServices.d.ts +3 -3
  14. package/build/api/axios.d.ts +1 -1
  15. package/build/api/axios.js +1 -1
  16. package/build/api/board.d.ts +3 -3
  17. package/build/api/brand.d.ts +1 -1
  18. package/build/api/country.d.ts +1 -1
  19. package/build/api/data.d.ts +8 -8
  20. package/build/api/document.d.ts +2 -2
  21. package/build/api/entity.d.ts +13 -10
  22. package/build/api/file.d.ts +1 -1
  23. package/build/api/firebase.js +1 -1
  24. package/build/api/headers.d.ts +5 -0
  25. package/build/api/headers.js +3 -0
  26. package/build/api/index.d.ts +5 -11
  27. package/build/api/index.js +1 -3
  28. package/build/api/individual.d.ts +5 -5
  29. package/build/api/init.d.ts +1 -1
  30. package/build/api/lead.d.ts +14 -13
  31. package/build/api/lead.js +1 -1
  32. package/build/api/operator.d.ts +3 -3
  33. package/build/api/operator.js +6 -3
  34. package/build/api/user.d.ts +3 -3
  35. package/build/app/rootReducer.d.ts +0 -1
  36. package/build/app/rootReducer.js +1 -3
  37. package/build/app/settings.d.ts +21 -3
  38. package/build/app/settings.js +2 -3
  39. package/build/app/store.d.ts +4 -6
  40. package/build/assets/currencies/AEDSymbol.d.ts +2 -2
  41. package/build/assets/currencies/AEDSymbol.js +1 -1
  42. package/build/assets/currencies/SARSymbol.d.ts +2 -2
  43. package/build/assets/currencies/SARSymbol.js +1 -1
  44. package/build/assets/currencies/utils.d.ts +1 -1
  45. package/build/assets/locales/ar.json +14 -5
  46. package/build/assets/locales/en.json +17 -7
  47. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  48. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  49. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  50. package/build/components/AnimationFlow/Error.d.ts +1 -2
  51. package/build/components/AnimationFlow/Loader.d.ts +1 -2
  52. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  53. package/build/components/Button/Button.d.ts +1 -1
  54. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  55. package/build/components/Collapse/Collapse.d.ts +1 -2
  56. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  57. package/build/components/ExpandIcon/ExpandIcon.d.ts +1 -2
  58. package/build/components/FileInput/DragAndDrop.d.ts +1 -2
  59. package/build/components/FileInput/UploadInput.d.ts +1 -2
  60. package/build/components/Footer/Footer.d.ts +1 -1
  61. package/build/components/Form/Form.d.ts +1 -1
  62. package/build/components/Input/Input.d.ts +1 -1
  63. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  64. package/build/components/List/List.d.ts +1 -1
  65. package/build/components/ListItem/ListItem.d.ts +1 -1
  66. package/build/components/Loader/Loader.d.ts +1 -1
  67. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  68. package/build/components/OTPField/OTPField.d.ts +1 -1
  69. package/build/components/OTPTimer/OTPTimer.d.ts +1 -2
  70. package/build/components/OTPTimer/OTPTimer.js +4 -4
  71. package/build/components/ProgressBar/CircularProgressBar.d.ts +1 -2
  72. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  73. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  74. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  75. package/build/components/Radio/Radio.d.ts +1 -1
  76. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  77. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  78. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  79. package/build/components/Slide/Slide.d.ts +1 -1
  80. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  81. package/build/components/Text/Text.d.ts +1 -1
  82. package/build/components/TextWithCurrency/TextWithCurrency.d.ts +2 -3
  83. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  84. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  85. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  86. package/build/components/Tooltip/Tooltip.js +1 -1
  87. package/build/components/Warning/Warning.d.ts +1 -1
  88. package/build/constants/api.d.ts +2 -0
  89. package/build/constants/api.js +4 -0
  90. package/build/constants/app.d.ts +13 -13
  91. package/build/constants/app.js +98 -129
  92. package/build/constants/assets.d.ts +4 -6
  93. package/build/constants/assets.js +118 -114
  94. package/build/constants/dummy.js +27 -20
  95. package/build/constants/flows.d.ts +0 -15
  96. package/build/constants/flows.js +0 -15
  97. package/build/constants/validation.d.ts +1 -1
  98. package/build/constants/validation.js +1 -1
  99. package/build/features/app/auth/authStore.d.ts +211 -22
  100. package/build/features/app/auth/authStore.js +76 -64
  101. package/build/features/app/bank/bankStore.d.ts +93 -12
  102. package/build/features/app/bank/bankStore.js +25 -21
  103. package/build/features/app/board/boardStore.d.ts +41 -5
  104. package/build/features/app/board/boardStore.js +12 -8
  105. package/build/features/app/brand/brandStore.d.ts +143 -17
  106. package/build/features/app/brand/brandStore.js +23 -19
  107. package/build/features/app/business/businessStore.d.ts +192 -21
  108. package/build/features/app/business/businessStore.js +46 -37
  109. package/build/features/app/connect/connectStore.d.ts +186 -23
  110. package/build/features/app/connect/connectStore.js +49 -32
  111. package/build/features/app/connectExpress/connectExpressStore.d.ts +317 -37
  112. package/build/features/app/connectExpress/connectExpressStore.js +62 -21
  113. package/build/features/app/entity/entityStore.d.ts +93 -12
  114. package/build/features/app/entity/entityStore.js +22 -18
  115. package/build/features/app/individual/individualStore.d.ts +186 -24
  116. package/build/features/app/individual/individualStore.js +35 -29
  117. package/build/features/app/kyc/kycStore.d.ts +62 -8
  118. package/build/features/app/kyc/kycStore.js +1 -1
  119. package/build/features/app/password/passwordStore.d.ts +123 -15
  120. package/build/features/app/password/passwordStore.js +45 -47
  121. package/build/features/app/signIn/signInStore.d.ts +61 -7
  122. package/build/features/app/signIn/signInStore.js +13 -17
  123. package/build/features/app/tax/taxStore.d.ts +83 -11
  124. package/build/features/app/tax/taxStore.js +21 -17
  125. package/build/features/auth/Auth.d.ts +2 -3
  126. package/build/features/auth/Auth.js +1 -1
  127. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  128. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
  129. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  130. package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
  131. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  132. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
  133. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  134. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
  135. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
  136. package/build/features/auth/screens/AuthenticationList/EntityList.js +2 -2
  137. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  138. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  139. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
  140. package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
  141. package/build/features/auth/screens/DOB/DOB.d.ts +1 -2
  142. package/build/features/auth/screens/DOB/DOBForm.d.ts +1 -1
  143. package/build/features/auth/screens/Email/Email.d.ts +1 -1
  144. package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
  145. package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
  146. package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
  147. package/build/features/auth/screens/NID/NID.d.ts +1 -1
  148. package/build/features/auth/screens/OTP/OTP.d.ts +5 -13
  149. package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
  150. package/build/features/auth/screens/OperatorError/OperatorError.d.ts +1 -1
  151. package/build/features/auth/screens/Passcode/Passcode.d.ts +5 -13
  152. package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +1 -1
  153. package/build/features/auth/screens/Password/Password.d.ts +1 -1
  154. package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
  155. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
  156. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
  157. package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  158. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  159. package/build/features/bank/Bank.d.ts +1 -2
  160. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +1 -2
  161. package/build/features/bank/screens/BankDetails/BankName.d.ts +2 -3
  162. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +2 -3
  163. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +1 -2
  164. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +2 -3
  165. package/build/features/bank/screens/BankDetails/IBAN.d.ts +1 -2
  166. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  167. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +1 -1
  168. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  169. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  170. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  171. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  172. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  173. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  174. package/build/features/board/Board.d.ts +1 -2
  175. package/build/features/board/screens/OperatorError/OperatorError.d.ts +1 -1
  176. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  177. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  178. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  179. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  180. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  181. package/build/features/brand/Brand.d.ts +1 -2
  182. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -29
  183. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +1 -2
  184. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +13 -37
  185. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +1 -2
  186. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +1 -2
  187. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +12 -20
  188. package/build/features/brand/screens/BrandActivities/TAC.d.ts +3 -3
  189. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +2 -3
  190. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +1 -2
  191. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +2 -3
  192. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  193. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  194. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +1 -2
  195. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +1 -2
  196. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +1 -2
  197. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +1 -2
  198. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +1 -2
  199. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +1 -2
  200. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +1 -1
  201. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  202. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  203. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  204. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  205. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  206. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  207. package/build/features/business/Business.d.ts +1 -2
  208. package/build/features/business/screens/Activities/Activities.d.ts +1 -2
  209. package/build/features/business/screens/Activities/ActivitiesList.d.ts +9 -25
  210. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  211. package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -13
  212. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  213. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  214. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  215. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  216. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +5 -13
  217. package/build/features/business/screens/BusinessType/Article.d.ts +2 -3
  218. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  219. package/build/features/business/screens/BusinessType/BusinessType.js +13 -2
  220. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  221. package/build/features/business/screens/BusinessType/EntityLicenseList.js +11 -5
  222. package/build/features/business/screens/BusinessType/EntityName.d.ts +1 -2
  223. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +1 -2
  224. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  225. package/build/features/business/screens/BusinessType/LicenseList.js +15 -7
  226. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  227. package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
  228. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  229. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  230. package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +35 -0
  231. package/build/features/business/screens/BusinessType/UnifiedNumber.js +84 -0
  232. package/build/features/business/screens/BusinessType/validation.d.ts +6 -3
  233. package/build/features/business/screens/BusinessType/validation.js +31 -10
  234. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  235. package/build/features/business/screens/Customers/CustomerLocations.d.ts +17 -41
  236. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  237. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +1 -2
  238. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +1 -2
  239. package/build/features/business/screens/Customers/RefundPolicy.d.ts +12 -20
  240. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -3
  241. package/build/features/business/screens/DOB/DOB.d.ts +1 -1
  242. package/build/features/business/screens/DOB/DOBForm.d.ts +1 -1
  243. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  244. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  245. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  246. package/build/features/business/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
  247. package/build/features/business/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  248. package/build/features/business/screens/OperatorError/OperatorError.d.ts +1 -1
  249. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  250. package/build/features/business/screens/Success/Success.d.ts +1 -1
  251. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  252. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  253. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  254. package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  255. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  256. package/build/features/connect/Connect.d.ts +1 -2
  257. package/build/features/connect/Connect.js +1 -1
  258. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  259. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +1 -2
  260. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  261. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
  262. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  263. package/build/features/connect/screens/DOB/DOB.d.ts +1 -2
  264. package/build/features/connect/screens/DOB/DOBForm.d.ts +1 -1
  265. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  266. package/build/features/connect/screens/Individual/Email.js +1 -1
  267. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  268. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  269. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  270. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  271. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  272. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  273. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +1 -2
  274. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  275. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  276. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  277. package/build/features/connect/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
  278. package/build/features/connect/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  279. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  280. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  281. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  282. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
  283. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  284. package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  285. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  286. package/build/features/connectExpress/ConnectExpress.d.ts +1 -2
  287. package/build/features/connectExpress/ConnectExpress.js +1 -1
  288. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  289. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  290. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  291. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  292. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  293. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +1 -2
  294. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +3 -3
  295. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  296. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +2 -2
  297. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  298. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  299. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  300. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
  301. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  302. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  303. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  304. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  305. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  306. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -0
  307. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  308. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +23 -7
  309. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  310. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
  311. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
  312. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +3 -3
  313. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +1 -1
  314. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +36 -0
  315. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.js +81 -0
  316. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +6 -3
  317. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +57 -21
  318. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  319. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  320. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  321. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  322. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  323. package/build/features/connectExpress/screens/DOB/DOB.d.ts +1 -2
  324. package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +1 -1
  325. package/build/features/connectExpress/screens/GenericPrepareDataLoading/GenericPrepareDataLoading.d.ts +1 -2
  326. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +1 -1
  327. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  328. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  329. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  330. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  331. package/build/features/connectExpress/screens/MobileOwnership/CollectMobileOwnership.d.ts +1 -2
  332. package/build/features/connectExpress/screens/MobileOwnership/MobileNumber.d.ts +1 -1
  333. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  334. package/build/features/connectExpress/screens/NID/TAC.d.ts +3 -3
  335. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +1 -2
  336. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  337. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  338. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  339. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +1 -1
  340. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +1 -1
  341. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  342. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/OTPInput.d.ts +1 -1
  343. package/build/features/connectExpress/screens/VerifyMobileAuthOTP/VerifyMobileAuthOTP.d.ts +1 -1
  344. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  345. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  346. package/build/features/entity/Entity.d.ts +1 -2
  347. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +9 -25
  348. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  349. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  350. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  351. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +1 -2
  352. package/build/features/entity/screens/EntityName/Article.d.ts +2 -3
  353. package/build/features/entity/screens/EntityName/EntityName.d.ts +1 -2
  354. package/build/features/entity/screens/EntityName/EntityName.js +16 -15
  355. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -29
  356. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +5 -13
  357. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +5 -13
  358. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  359. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +1 -2
  360. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  361. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  362. package/build/features/entity/screens/EntityName/UnifiedNumber.js +2 -2
  363. package/build/features/entity/screens/EntityName/validation.d.ts +50 -48
  364. package/build/features/entity/screens/EntityName/validation.js +100 -85
  365. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +1 -1
  366. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  367. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  368. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  369. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  370. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  371. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  372. package/build/features/featuresScreens.d.ts +0 -1
  373. package/build/features/featuresScreens.js +55 -67
  374. package/build/features/individual/Individual.d.ts +1 -2
  375. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +5 -13
  376. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +2 -3
  377. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  378. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +3 -3
  379. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  380. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +1 -2
  381. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +3 -3
  382. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  383. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  384. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +1 -2
  385. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  386. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  387. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  388. package/build/features/individual/screens/IndividualList/Email.js +1 -1
  389. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +9 -25
  390. package/build/features/individual/screens/IndividualList/UserList.d.ts +1 -2
  391. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  392. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  393. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  394. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
  395. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  396. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +5 -13
  397. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  398. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  399. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +1 -1
  400. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  401. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  402. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  403. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  404. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  405. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  406. package/build/features/kyc/KYC.d.ts +1 -2
  407. package/build/features/kyc/screens/AlreadySubmitted/AlreadySubmitted.d.ts +1 -1
  408. package/build/features/kyc/screens/Loading/Loading.d.ts +2 -2
  409. package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +1 -1
  410. package/build/features/kyc/screens/Success/Success.d.ts +1 -1
  411. package/build/features/kyc/screens/Terms/Header.d.ts +1 -1
  412. package/build/features/kyc/screens/Terms/Terms.d.ts +2 -2
  413. package/build/features/kyc/screens/TokenError/TokenError.d.ts +1 -1
  414. package/build/features/kyc/screens/Users/Users.d.ts +1 -1
  415. package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +1 -1
  416. package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +1 -1
  417. package/build/features/password/Password.d.ts +1 -2
  418. package/build/features/password/Password.js +1 -1
  419. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +1 -2
  420. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  421. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  422. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  423. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +1 -2
  424. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  425. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  426. package/build/features/password/screens/OperatorError/OperatorError.d.ts +1 -1
  427. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  428. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  429. package/build/features/password/screens/Success/Success.d.ts +1 -1
  430. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  431. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  432. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  433. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +1 -2
  434. package/build/features/shared/Address/Address.d.ts +1 -2
  435. package/build/features/shared/Address/CountryList.d.ts +13 -29
  436. package/build/features/shared/Address/InputSelect.d.ts +13 -29
  437. package/build/features/shared/Address/InputSelect.js +1 -1
  438. package/build/features/shared/Address/InputText.d.ts +1 -1
  439. package/build/features/shared/Background/Background.d.ts +1 -1
  440. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  441. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +1 -2
  442. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +1 -2
  443. package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
  444. package/build/features/shared/Button/Button.d.ts +1 -2
  445. package/build/features/shared/Button/Button.js +1 -1
  446. package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -3
  447. package/build/features/shared/Button/FlowsButtons.d.ts +2 -3
  448. package/build/features/shared/Button/FlowsButtons.js +2 -2
  449. package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
  450. package/build/features/shared/Button/MobileButton.d.ts +1 -2
  451. package/build/features/shared/Button/NafathButton.d.ts +1 -2
  452. package/build/features/shared/Button/SuccessButton.d.ts +1 -2
  453. package/build/features/shared/Calender/Calender.d.ts +1 -2
  454. package/build/features/shared/CheckIcon/CheckIcon.d.ts +2 -3
  455. package/build/features/shared/Chip/Chip.d.ts +1 -2
  456. package/build/features/shared/ClearIcon/ClearIcon.d.ts +1 -2
  457. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  458. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  459. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  460. package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
  461. package/build/features/shared/Dialog/CloseDialog.d.ts +1 -2
  462. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  463. package/build/features/shared/Dot/Dot.d.ts +1 -2
  464. package/build/features/shared/EndAdornment/EndAdornment.d.ts +1 -2
  465. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +1 -2
  466. package/build/features/shared/Footer/Footer.d.ts +1 -2
  467. package/build/features/shared/Footer/PoweredByFooter.d.ts +2 -3
  468. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  469. package/build/features/shared/Input/Input.d.ts +6 -14
  470. package/build/features/shared/InputSelect/InputSelect.d.ts +1 -2
  471. package/build/features/shared/Mandatory/Mandatory.d.ts +1 -2
  472. package/build/features/shared/NafathVerification/NafathVerification.d.ts +1 -1
  473. package/build/features/shared/OTP/OTP.d.ts +1 -1
  474. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.d.ts +3 -0
  475. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.js +9 -0
  476. package/build/features/shared/OTPVerifySecurityError/index.d.ts +2 -0
  477. package/build/features/shared/OTPVerifySecurityError/index.js +2 -0
  478. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  479. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +1 -2
  480. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +1 -2
  481. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  482. package/build/features/shared/Search/Search.d.ts +1 -2
  483. package/build/features/shared/SearchIcon/SearchIcon.d.ts +1 -2
  484. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  485. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +2 -2
  486. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -3
  487. package/build/features/shared/SuccessScreen/SuccessScreen.js +2 -2
  488. package/build/features/shared/UploadFile/FileUpload.d.ts +4 -4
  489. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  490. package/build/features/shared/UploadFile/UploadFile.d.ts +3 -3
  491. package/build/features/shared/UploadFile/UploadWrapper.d.ts +3 -3
  492. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
  493. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  494. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +3 -3
  495. package/build/features/signIn/SignIn.d.ts +1 -2
  496. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  497. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  498. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  499. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  500. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +1 -1
  501. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  502. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  503. package/build/features/tax/Tax.d.ts +1 -2
  504. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +1 -1
  505. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  506. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  507. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  508. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  509. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +2 -3
  510. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +1 -2
  511. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +1 -2
  512. package/build/features/tax/screens/TaxDetails/VATId.d.ts +2 -3
  513. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  514. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  515. package/build/hooks/useAppConfig.js +1 -1
  516. package/build/hooks/useAppDispatch.d.ts +0 -1
  517. package/build/hooks/useDataVerified.d.ts +1 -1
  518. package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
  519. package/build/hooks/useFormDirtyCheck.d.ts +3 -3
  520. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
  521. package/build/hooks/useFormReadOnly.d.ts +2 -2
  522. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  523. package/build/index.d.ts +2 -3
  524. package/build/index.js +2 -4
  525. package/build/theme/palette.js +0 -12
  526. package/build/theme/typography.js +0 -4
  527. package/build/utils/array.js +1 -1
  528. package/build/utils/common.d.ts +1 -1
  529. package/build/utils/common.js +14 -8
  530. package/build/utils/error.d.ts +2 -0
  531. package/build/utils/error.js +6 -0
  532. package/build/utils/string.d.ts +3 -3
  533. package/build/utils/string.js +5 -11
  534. package/build/utils/validation.js +1 -1
  535. package/package.json +3 -3
  536. package/build/@types/terminal.d.ts +0 -116
  537. package/build/@types/terminal.js +0 -1
  538. package/build/api/terminal.d.ts +0 -28
  539. package/build/api/terminal.js +0 -45
  540. package/build/components/DeviceCard/DeviceCard.d.ts +0 -18
  541. package/build/components/DeviceCard/DeviceCard.js +0 -103
  542. package/build/components/DeviceCard/index.d.ts +0 -3
  543. package/build/components/DeviceCard/index.js +0 -2
  544. package/build/features/app/terminal/terminalStore.d.ts +0 -109
  545. package/build/features/app/terminal/terminalStore.js +0 -673
  546. package/build/features/shared/PushNotification/PushNotification.d.ts +0 -11
  547. package/build/features/shared/PushNotification/PushNotification.js +0 -34
  548. package/build/features/shared/PushNotification/index.d.ts +0 -2
  549. package/build/features/shared/PushNotification/index.js +0 -2
  550. package/build/features/terminal/Terminal.d.ts +0 -14
  551. package/build/features/terminal/Terminal.js +0 -95
  552. package/build/features/terminal/index.d.ts +0 -1
  553. package/build/features/terminal/index.js +0 -1
  554. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.d.ts +0 -3
  555. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.js +0 -69
  556. package/build/features/terminal/screens/LinkNewTerminal/index.d.ts +0 -2
  557. package/build/features/terminal/screens/LinkNewTerminal/index.js +0 -2
  558. package/build/features/terminal/screens/LinkNewTerminal/styles.d.ts +0 -10
  559. package/build/features/terminal/screens/LinkNewTerminal/styles.js +0 -28
  560. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.d.ts +0 -3
  561. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.js +0 -51
  562. package/build/features/terminal/screens/LinkedSuccess/index.d.ts +0 -2
  563. package/build/features/terminal/screens/LinkedSuccess/index.js +0 -2
  564. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.d.ts +0 -3
  565. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.js +0 -50
  566. package/build/features/terminal/screens/LinkedTerminalInfo/index.d.ts +0 -2
  567. package/build/features/terminal/screens/LinkedTerminalInfo/index.js +0 -2
  568. package/build/features/terminal/screens/Loading/Loading.d.ts +0 -4
  569. package/build/features/terminal/screens/Loading/Loading.js +0 -10
  570. package/build/features/terminal/screens/Loading/index.d.ts +0 -2
  571. package/build/features/terminal/screens/Loading/index.js +0 -2
  572. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.d.ts +0 -3
  573. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.js +0 -56
  574. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.d.ts +0 -2
  575. package/build/features/terminal/screens/NoTerminalDeviceLinked/index.js +0 -2
  576. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.d.ts +0 -36
  577. package/build/features/terminal/screens/NoTerminalDeviceLinked/styles.js +0 -34
  578. package/build/features/terminal/screens/OperatorError/OperatorError.d.ts +0 -5
  579. package/build/features/terminal/screens/OperatorError/OperatorError.js +0 -9
  580. package/build/features/terminal/screens/OperatorError/index.d.ts +0 -2
  581. package/build/features/terminal/screens/OperatorError/index.js +0 -2
  582. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -3
  583. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -21
  584. package/build/features/terminal/screens/ResetPasswordSuccess/index.d.ts +0 -2
  585. package/build/features/terminal/screens/ResetPasswordSuccess/index.js +0 -2
  586. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
  587. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -31
  588. package/build/features/terminal/screens/SuccessWithFlowButtons/index.d.ts +0 -2
  589. package/build/features/terminal/screens/SuccessWithFlowButtons/index.js +0 -2
  590. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.d.ts +0 -9
  591. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.js +0 -20
  592. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.d.ts +0 -3
  593. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +0 -144
  594. package/build/features/terminal/screens/TerminalDeviceList/index.d.ts +0 -2
  595. package/build/features/terminal/screens/TerminalDeviceList/index.js +0 -2
  596. package/build/features/terminal/screens/TerminalDeviceList/styles.d.ts +0 -9
  597. package/build/features/terminal/screens/TerminalDeviceList/styles.js +0 -13
  598. package/build/features/terminal/screens/TerminalListPage/TerminalListPage.d.ts +0 -3
  599. package/build/features/terminal/screens/TerminalListPage/TerminalListPage.js +0 -42
  600. package/build/features/terminal/screens/TerminalListPage/index.d.ts +0 -2
  601. package/build/features/terminal/screens/TerminalListPage/index.js +0 -2
  602. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.d.ts +0 -3
  603. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.js +0 -53
  604. package/build/features/terminal/screens/UnlinkedSuccess/index.d.ts +0 -2
  605. package/build/features/terminal/screens/UnlinkedSuccess/index.js +0 -2
  606. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.d.ts +0 -3
  607. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.js +0 -98
  608. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.d.ts +0 -2
  609. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.js +0 -2
  610. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.d.ts +0 -26
  611. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.js +0 -30
  612. package/build/features/terminal/screens/Verify/OTPInput.d.ts +0 -7
  613. package/build/features/terminal/screens/Verify/OTPInput.js +0 -51
  614. package/build/features/terminal/screens/Verify/Verify.d.ts +0 -5
  615. package/build/features/terminal/screens/Verify/Verify.js +0 -85
  616. package/build/features/terminal/screens/Verify/index.d.ts +0 -2
  617. package/build/features/terminal/screens/Verify/index.js +0 -2
  618. package/build/features/terminal/screens/Verify/validation.d.ts +0 -8
  619. package/build/features/terminal/screens/Verify/validation.js +0 -4
  620. package/build/features/terminal/screens/shared/Header.d.ts +0 -10
  621. package/build/features/terminal/screens/shared/Header.js +0 -30
  622. package/build/features/terminal/screens/shared/TerminalList.d.ts +0 -11
  623. package/build/features/terminal/screens/shared/TerminalList.js +0 -25
  624. package/build/features/terminal/screens/shared/index.d.ts +0 -5
  625. package/build/features/terminal/screens/shared/index.js +0 -5
  626. package/build/features/terminal/screens/shared/styles.d.ts +0 -196
  627. package/build/features/terminal/screens/shared/styles.js +0 -155
  628. package/build/features/terminal/screens/shared/utils.d.ts +0 -7
  629. package/build/features/terminal/screens/shared/utils.js +0 -24
package/README.md CHANGED
@@ -77,8 +77,8 @@ const App = () => {
77
77
  <meta charset="utf-8" />
78
78
  <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no" />
79
79
  <title>Auth-JsConnect</title>
80
- <script src="https://auth-jsconnect.b-cdn.net/build-2.0.0/main.js"></script>
81
- <link href="https://auth-jsconnect.b-cdn.net/build-2.0.0/main.css" rel="stylesheet" />
80
+ <script src="https://cdn.tap.company/tap-sdks/auth-jsconnect/build-2.0.0/main.js"></script>
81
+ <link href="https://cdn.tap.company/tap-sdks/auth-jsconnect/build-2.0.0/main.css" rel="stylesheet" />
82
82
  </head>
83
83
  <body>
84
84
  <div id="root"></div>
@@ -245,6 +245,7 @@ export interface LibConfig extends LibCallbacks {
245
245
  notification?: SDKNotification;
246
246
  boardMaturity?: boolean;
247
247
  settingData?: SettingAsyncData;
248
+ region?: string;
248
249
  }
249
250
  export interface OSDetails {
250
251
  name: string;
@@ -299,7 +300,7 @@ export interface LocalProps {
299
300
  };
300
301
  };
301
302
  }
302
- export declare type BrandInfo = {
303
+ export type BrandInfo = {
303
304
  segment?: {
304
305
  type: {
305
306
  id: string;
@@ -338,10 +339,9 @@ export declare enum FlowsTypes {
338
339
  OTP = "otp",
339
340
  BRAND = "brand",
340
341
  BOARD = "board",
341
- kyc = "kyc",
342
- TERMINAL = "terminal"
342
+ kyc = "kyc"
343
343
  }
344
- export declare type FlowInfo = {
344
+ export type FlowInfo = {
345
345
  name: string;
346
346
  status: string;
347
347
  url: string;
@@ -375,7 +375,7 @@ export declare enum AddressFormateType {
375
375
  NUMBER = "number",
376
376
  TEXT = "text"
377
377
  }
378
- export declare type AddressFormat = {
378
+ export type AddressFormat = {
379
379
  code: string;
380
380
  name: {
381
381
  ar: string;
@@ -386,14 +386,14 @@ export declare type AddressFormat = {
386
386
  sort: number;
387
387
  type: AddressFormateType;
388
388
  };
389
- export declare type AddressType = {
389
+ export type AddressType = {
390
390
  code: string;
391
391
  name: {
392
392
  ar: string;
393
393
  en: string;
394
394
  };
395
395
  };
396
- export declare type AddressProps = {
396
+ export type AddressProps = {
397
397
  format: AddressFormat[];
398
398
  type: AddressType;
399
399
  };
@@ -426,7 +426,7 @@ export declare enum DocumentPurpose {
426
426
  TAX_DOCUMENT = "tax_document_user_upload",
427
427
  BRAND_LOGO = "business_logo"
428
428
  }
429
- export declare type FileDetails = {
429
+ export type FileDetails = {
430
430
  created: string;
431
431
  id: string;
432
432
  object: string;
@@ -441,7 +441,7 @@ export declare enum VerificationStatus {
441
441
  ENTERED = "entered",
442
442
  NOT_ENTERED = "not_entered"
443
443
  }
444
- export declare type BankDataStatus = {
444
+ export type BankDataStatus = {
445
445
  iban: FieldType;
446
446
  account_number: FieldType;
447
447
  swift_code: FieldType;
@@ -450,7 +450,7 @@ export declare type BankDataStatus = {
450
450
  bank_statement_file_id: FieldType;
451
451
  is_acknowledged: FieldType;
452
452
  };
453
- export declare type EntityDataStatus = {
453
+ export type EntityDataStatus = {
454
454
  type: FieldType;
455
455
  'license.status': FieldType;
456
456
  'license.provider': FieldType;
@@ -479,7 +479,7 @@ export declare type EntityDataStatus = {
479
479
  billing_address: FieldType;
480
480
  AOA_file_id: FieldType;
481
481
  };
482
- export declare type IndividualDataStatus = {
482
+ export type IndividualDataStatus = {
483
483
  status: FieldType;
484
484
  'name.en': FieldType;
485
485
  'name.ar': FieldType;
@@ -505,7 +505,7 @@ export declare type IndividualDataStatus = {
505
505
  is_influencer: FieldType;
506
506
  gender: FieldType;
507
507
  };
508
- export declare type BrandDataStatus = {
508
+ export type BrandDataStatus = {
509
509
  status: FieldType;
510
510
  'name.en': FieldType;
511
511
  'name.ar': FieldType;
@@ -581,7 +581,7 @@ export interface ActivitiesIsIc {
581
581
  created: string;
582
582
  divisions?: Array<ActivityDivision>;
583
583
  }
584
- export declare type BankDataVerification = {
584
+ export type BankDataVerification = {
585
585
  account_number: string;
586
586
  bank_name: string;
587
587
  bank_statement_file_id: string;
@@ -591,7 +591,7 @@ export declare type BankDataVerification = {
591
591
  is_acknowledged: string;
592
592
  swift_code: string;
593
593
  };
594
- export declare type BrandDataVerification = {
594
+ export type BrandDataVerification = {
595
595
  logo: string;
596
596
  'name.en': string;
597
597
  'name.ar': string;
@@ -609,7 +609,7 @@ export declare type BrandDataVerification = {
609
609
  'segment.tech_type': string;
610
610
  terms: string;
611
611
  };
612
- export declare type EntityDataVerification = {
612
+ export type EntityDataVerification = {
613
613
  AOA_file_id: string;
614
614
  billing_address: string;
615
615
  'capital.announced': string;
@@ -636,7 +636,7 @@ export declare type EntityDataVerification = {
636
636
  taxable: string;
637
637
  type: string;
638
638
  };
639
- export declare type IndividualDataVerification = {
639
+ export type IndividualDataVerification = {
640
640
  'birth.city': string;
641
641
  'birth.country': string;
642
642
  'birth.date': string;
@@ -684,7 +684,7 @@ export interface PageTrackingData {
684
684
  title?: string;
685
685
  connect_flow?: string;
686
686
  }
687
- export declare type VerifyExpressTokenParams = {
687
+ export type VerifyExpressTokenParams = {
688
688
  public_key: string;
689
689
  post: {
690
690
  url: string;
@@ -771,7 +771,7 @@ interface TerminalAuthorizes {
771
771
  status: string;
772
772
  status_message: string;
773
773
  }
774
- export declare type CountryInfo = {
774
+ export type CountryInfo = {
775
775
  id: number;
776
776
  label: string;
777
777
  country: {
@@ -786,7 +786,7 @@ export declare type CountryInfo = {
786
786
  max_digits: number;
787
787
  };
788
788
  };
789
- export declare type BusinessCountryInfo = {
789
+ export type BusinessCountryInfo = {
790
790
  id: number;
791
791
  title: string;
792
792
  title_ar: string;
@@ -35,7 +35,6 @@ export var FlowsTypes;
35
35
  FlowsTypes["BRAND"] = "brand";
36
36
  FlowsTypes["BOARD"] = "board";
37
37
  FlowsTypes["kyc"] = "kyc";
38
- FlowsTypes["TERMINAL"] = "terminal";
39
38
  })(FlowsTypes || (FlowsTypes = {}));
40
39
  export var AuthForType;
41
40
  (function (AuthForType) {
@@ -36,7 +36,7 @@ interface Lead {
36
36
  interface Operator {
37
37
  public_key: string;
38
38
  }
39
- declare type RecordType = Record<string, any>;
39
+ type RecordType = Record<string, any>;
40
40
  export interface SettingAsyncData {
41
41
  fingerPrint: RecordType;
42
42
  locale: RecordType;
@@ -1,56 +1,56 @@
1
1
  import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo } from './app';
2
- export declare type MobileFormValues = {
2
+ export type MobileFormValues = {
3
3
  mobile: string;
4
4
  countryCode: CountryCode;
5
5
  termAndConditionChecked?: boolean;
6
6
  };
7
- export declare type EmailFormValues = {
7
+ export type EmailFormValues = {
8
8
  email: string | null;
9
9
  };
10
- export declare type OTPFormValues = {
10
+ export type OTPFormValues = {
11
11
  otp: string;
12
12
  };
13
- export declare type PasscodeFormValues = {
13
+ export type PasscodeFormValues = {
14
14
  passcode: string;
15
15
  };
16
- export declare type PasswordFormValues = {
16
+ export type PasswordFormValues = {
17
17
  password: string;
18
18
  };
19
- export declare type NIDFormValues = {
19
+ export type NIDFormValues = {
20
20
  nid: string;
21
21
  dob?: any;
22
22
  termAndConditionChecked?: boolean;
23
23
  };
24
- export declare type DOBFormValues = {
24
+ export type DOBFormValues = {
25
25
  dob: any;
26
26
  };
27
- export declare type CivilFormValues = {
27
+ export type CivilFormValues = {
28
28
  civilId: string;
29
29
  termAndConditionChecked?: boolean;
30
30
  };
31
- export declare type AuthEmailFormValues = {
31
+ export type AuthEmailFormValues = {
32
32
  email: string;
33
33
  };
34
- export declare type IndividualFormValues = {
34
+ export type IndividualFormValues = {
35
35
  name: string;
36
36
  email: string;
37
37
  mobile: string | null;
38
38
  countryCode: CountryCode;
39
39
  };
40
- export declare type BrandFormValues = {
40
+ export type BrandFormValues = {
41
41
  brandName: string;
42
42
  brandLogoId?: string;
43
43
  salesChannels: Array<SaleChannel>;
44
44
  termAndConditionChecked?: boolean;
45
45
  selectedBrandItem: BrandInfo;
46
46
  };
47
- export declare type BrandSegmentFormValues = {
47
+ export type BrandSegmentFormValues = {
48
48
  segmentLocation?: Segment | undefined;
49
49
  segmentProfit?: Segment | undefined;
50
50
  segmentTech?: Segment | undefined;
51
51
  teamSize?: TeamSize | undefined;
52
52
  };
53
- export declare type BrandActivitiesFormValues = {
53
+ export type BrandActivitiesFormValues = {
54
54
  activities: Array<Activity>;
55
55
  customerLocations: Array<CustomerLocation>;
56
56
  expectedCustomer: ExpectedCustomer | undefined;
@@ -59,26 +59,27 @@ export declare type BrandActivitiesFormValues = {
59
59
  refundPolicy: boolean;
60
60
  transactionPolicy: boolean;
61
61
  };
62
- export declare type BusinessTypeFormValues = {
62
+ export type BusinessTypeFormValues = {
63
63
  licenseNumber: string;
64
+ unifiedNumber: string;
64
65
  entityLegalName?: string;
65
66
  selectedEntityLicense?: EntityLicense;
66
67
  selectedLicense?: License;
67
68
  certificateId?: Array<string>;
68
69
  articleId?: string;
69
70
  };
70
- export declare type ActivitiesFormValues = {
71
+ export type ActivitiesFormValues = {
71
72
  activities: Array<Activity> | undefined;
72
73
  operationStartDate: string;
73
74
  };
74
- export declare type CustomersFormValues = {
75
+ export type CustomersFormValues = {
75
76
  customerLocations: Array<CustomerLocation>;
76
77
  expectedCustomer: ExpectedCustomer | undefined;
77
78
  expectedSale: ExpectedSaleRange | undefined;
78
79
  refundPolicy: boolean;
79
80
  transactionPolicy: boolean;
80
81
  };
81
- export declare type BankFormValues = {
82
+ export type BankFormValues = {
82
83
  iban: string;
83
84
  beneficiaryName: string;
84
85
  bankName: string;
@@ -86,7 +87,7 @@ export declare type BankFormValues = {
86
87
  uploading?: boolean;
87
88
  confirmPolicy: boolean;
88
89
  };
89
- export declare type TaxFormValues = {
90
+ export type TaxFormValues = {
90
91
  vatId: string;
91
92
  confirmPolicy: boolean;
92
93
  documentId?: Array<string>;
@@ -103,8 +104,8 @@ export interface IndividualPersonalInfoFormValues extends IndividualEmailMobileF
103
104
  gender: string | null;
104
105
  nid: string;
105
106
  issuedCountry: CountryCode | undefined;
106
- expiryDate: string;
107
- dob: string;
107
+ expiryDate: string | undefined;
108
+ dob: string | undefined;
108
109
  placeOfBirthCountry: CountryCode | undefined;
109
110
  placeOfBirthCity: City | undefined;
110
111
  nationality: CountryCode | undefined;
@@ -120,17 +121,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
120
121
  shareValue: string;
121
122
  isAuthorized: boolean;
122
123
  }
123
- export declare type IndividualAttachmentsFormValues = {
124
+ export type IndividualAttachmentsFormValues = {
124
125
  civilID?: Array<string>;
125
126
  signatureFileId?: Array<string>;
126
127
  civilIDUploading?: boolean;
127
128
  signatureFileUploading?: boolean;
128
129
  };
129
- export declare type PasswordCreateFormValues = {
130
+ export type PasswordCreateFormValues = {
130
131
  password: string;
131
132
  confirmPassword: string;
132
133
  };
133
- export declare type EntityNameFormValues = {
134
+ export type EntityNameFormValues = {
134
135
  legalName: string;
135
136
  licenseNumber: string;
136
137
  licenseType: string;
@@ -141,29 +142,30 @@ export declare type EntityNameFormValues = {
141
142
  certificateId?: Array<string>;
142
143
  articleId?: string;
143
144
  };
144
- export declare type EntityCapitalFormValues = {
145
+ export type EntityCapitalFormValues = {
145
146
  activities: Array<Activity>;
146
147
  capitalPaid: string;
147
148
  capitalShareCount: string;
148
149
  capitalShareValue: string;
149
150
  };
150
- export declare type BusinessDataFormValues = {
151
+ export type BusinessDataFormValues = {
151
152
  brandName: string;
152
153
  licenseNumber: string;
154
+ unifiedNumber: string;
153
155
  selectedLicense?: License;
154
156
  termAndConditionChecked?: boolean;
155
157
  };
156
- export declare type AuthenticationListFormValues = {
158
+ export type AuthenticationListFormValues = {
157
159
  brandInfo?: BrandInfo;
158
160
  entityInfo?: EntityLicenseAuth;
159
161
  licenseNumber?: string;
160
162
  legalName?: string;
161
163
  licenseType?: string;
162
164
  };
163
- export declare type AuthMerchantFormValues = {
165
+ export type AuthMerchantFormValues = {
164
166
  merchantInfo?: AuthMerchantInfo;
165
167
  };
166
- export declare type MobileOwnershipFormValues = {
168
+ export type MobileOwnershipFormValues = {
167
169
  mobile: string;
168
170
  countryCode: CountryCode;
169
171
  };
@@ -4,4 +4,3 @@ export * from './app';
4
4
  export * from './form';
5
5
  export * from './user';
6
6
  export * from './config';
7
- export * from './terminal';
@@ -4,4 +4,3 @@ export * from './app';
4
4
  export * from './form';
5
5
  export * from './user';
6
6
  export * from './config';
7
- export * from './terminal';
@@ -11,7 +11,7 @@ export declare enum DirectionMode {
11
11
  RTL = "rtl",
12
12
  LTR = "ltr"
13
13
  }
14
- export declare type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
14
+ export type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
15
15
  export declare enum DialogEdgeFormat {
16
16
  STRAIGHT = "straight",
17
17
  CURVED = "curved"
@@ -1,5 +1,5 @@
1
1
  import { PaymentProvider, SDKNotification } from '../@types';
2
- export declare type CreateAccountBody = {
2
+ export type CreateAccountBody = {
3
3
  lead_id: string;
4
4
  notify: {
5
5
  email: boolean;
@@ -9,7 +9,7 @@ export declare type CreateAccountBody = {
9
9
  is_acknowledged: boolean;
10
10
  step_name: string;
11
11
  };
12
- export declare type ExpressCreateAccountBody = {
12
+ export type ExpressCreateAccountBody = {
13
13
  post_url: string;
14
14
  lead_id: string;
15
15
  platforms?: string[];
@@ -19,8 +19,8 @@ export declare type ExpressCreateAccountBody = {
19
19
  declare const accountService: {
20
20
  createAccount: (data: CreateAccountBody) => Promise<any>;
21
21
  expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
22
- checkAccountAvailability: (individualId: string) => Promise<any>;
23
- checkAccountAvailabilityStatus: (individualId: string) => Promise<any>;
22
+ checkAccountAvailability: (individualId: string, authSession?: string) => Promise<any>;
23
+ checkAccountAvailabilityStatus: (individualId: string, authSession?: string) => Promise<any>;
24
24
  checkMigrationStatus: (jobId: string) => Promise<any>;
25
25
  };
26
26
  export { accountService };
@@ -1,5 +1,6 @@
1
1
  import { ENDPOINT_PATHS } from '../constants';
2
2
  import { httpClient } from './axios';
3
+ import { getAuthHeaders } from './headers';
3
4
  var createAccount = function (data) {
4
5
  return httpClient({
5
6
  method: 'post',
@@ -14,16 +15,18 @@ var expressCreateAccount = function (data) {
14
15
  data: data
15
16
  });
16
17
  };
17
- var checkAccountAvailability = function (individualId) {
18
+ var checkAccountAvailability = function (individualId, authSession) {
18
19
  return httpClient({
19
20
  method: 'get',
20
- url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts")
21
+ url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts"),
22
+ headers: getAuthHeaders(authSession)
21
23
  });
22
24
  };
23
- var checkAccountAvailabilityStatus = function (individualId) {
25
+ var checkAccountAvailabilityStatus = function (individualId, authSession) {
24
26
  return httpClient({
25
27
  method: 'get',
26
- url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status")
28
+ url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status"),
29
+ headers: getAuthHeaders(authSession)
27
30
  });
28
31
  };
29
32
  var checkMigrationStatus = function (jobId) {
@@ -1,34 +1,26 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
2
  import { ConfigInfo, LanguageMode } from '../@types';
3
- export declare type MobileCredential = {
3
+ export type MobileCredential = {
4
4
  code: string;
5
5
  phone: string;
6
6
  };
7
- export declare type EmailCredential = {
7
+ export type EmailCredential = {
8
8
  email: string;
9
9
  };
10
- export declare type IDCredential = {
10
+ export type IDCredential = {
11
11
  country_code?: string;
12
12
  identification_id: string;
13
13
  identification_id_type?: string;
14
14
  date_of_birth?: string;
15
15
  };
16
- export declare type CivilID = {
16
+ export type CivilID = {
17
17
  identification_id: string;
18
18
  country_code: string;
19
19
  };
20
- export declare type TerminalCredential = {
21
- terminal: {
22
- id: string;
23
- terminal_device?: {
24
- id: string;
25
- };
26
- };
27
- };
28
- export declare type CreateAuthBody = {
20
+ export type CreateAuthBody = {
29
21
  country: string;
30
22
  scope: string;
31
- user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID | TerminalCredential;
23
+ user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
32
24
  auth_type?: number;
33
25
  email_url?: string;
34
26
  sign_in?: boolean;
@@ -41,7 +33,7 @@ export declare type CreateAuthBody = {
41
33
  user_id?: string;
42
34
  login?: boolean;
43
35
  };
44
- export declare type CreateNafathAuthBody = {
36
+ export type CreateNafathAuthBody = {
45
37
  country: string;
46
38
  scope: string;
47
39
  user_credentail: IDCredential;
@@ -56,7 +48,7 @@ export declare type CreateNafathAuthBody = {
56
48
  board_id?: string;
57
49
  user_id?: string;
58
50
  };
59
- export declare type CreateKYCAuthBody = {
51
+ export type CreateKYCAuthBody = {
60
52
  country: string;
61
53
  scope: string;
62
54
  auth_type?: number;
@@ -70,7 +62,7 @@ export declare type CreateKYCAuthBody = {
70
62
  board_id?: string;
71
63
  user_id?: string;
72
64
  };
73
- export declare type VerifyAuthBody = {
65
+ export type VerifyAuthBody = {
74
66
  auth_token: string;
75
67
  auth_type: number;
76
68
  data: string;
@@ -85,28 +77,28 @@ export declare type VerifyAuthBody = {
85
77
  lead_id?: string;
86
78
  terms?: Array<string>;
87
79
  };
88
- export declare type VerifyOperationAuthBody = {
80
+ export type VerifyOperationAuthBody = {
89
81
  auth_token: string;
90
82
  auth_type: number;
91
83
  };
92
- export declare type ResetPasswordCredential = {
84
+ export type ResetPasswordCredential = {
93
85
  otp: string;
94
86
  new_password: string;
95
87
  };
96
- export declare type ResetPasswordVerifyAuthBody = {
88
+ export type ResetPasswordVerifyAuthBody = {
97
89
  auth_token: string;
98
90
  auth_type: number;
99
91
  step_name: string;
100
92
  user_credentail: ResetPasswordCredential;
101
93
  encryption_contract: Array<string>;
102
94
  };
103
- export declare type CreatePasswordBody = {
95
+ export type CreatePasswordBody = {
104
96
  password: string;
105
97
  signup_token?: string;
106
98
  step_name: string;
107
99
  encryption_contract: Array<string>;
108
100
  };
109
- export declare type VerifyAuthExpressOTPBody = {
101
+ export type VerifyAuthExpressOTPBody = {
110
102
  auth_token?: string;
111
103
  verify_token?: string;
112
104
  lead_id?: string;
@@ -121,14 +113,14 @@ export declare type VerifyAuthExpressOTPBody = {
121
113
  terms?: Array<string>;
122
114
  encryption_contract: Array<string>;
123
115
  };
124
- export declare type getExpressTokenVerifyParams = {
116
+ export type getExpressTokenVerifyParams = {
125
117
  token: string;
126
118
  leadId: string;
127
119
  };
128
- export declare type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
120
+ export type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
129
121
  declare const authService: {
130
122
  createAuth: (data: CreateAuthBody | CreateKYCAuthBody, config?: AxiosRequestConfig) => Promise<any>;
131
- verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
123
+ verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody) => Promise<any>;
132
124
  createPassword: (data: CreatePasswordBody) => Promise<any>;
133
125
  verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
134
126
  getVerifyAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
package/build/api/auth.js CHANGED
@@ -9,7 +9,7 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- import instance, { httpClient } from './axios';
12
+ import { httpClient } from './axios';
13
13
  import { ENDPOINT_PATHS } from '../constants';
14
14
  var createAuth = function (data, config) {
15
15
  return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.AUTH), data: data }, config));
@@ -17,8 +17,12 @@ var createAuth = function (data, config) {
17
17
  var createExpressAuth = function (data, config) {
18
18
  return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.CREATE_EXPRESS_AUTH_PATH), data: data }, config));
19
19
  };
20
- var verifyAuth = function (data, config) {
21
- return instance.put("".concat(ENDPOINT_PATHS.AUTH), data, config);
20
+ var verifyAuth = function (data) {
21
+ return httpClient({
22
+ method: 'put',
23
+ url: "".concat(ENDPOINT_PATHS.AUTH),
24
+ data: data
25
+ });
22
26
  };
23
27
  var createPassword = function (data) {
24
28
  return httpClient({
@@ -1,15 +1,15 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export declare type CheckEmailBody = {
2
+ export type CheckEmailBody = {
3
3
  email: string | null;
4
4
  country: string;
5
5
  encryption_contract: Array<string>;
6
6
  };
7
- export declare type CheckBrandBody = {
7
+ export type CheckBrandBody = {
8
8
  profile_name: string;
9
9
  country_code: string;
10
10
  encryption_contract: Array<string>;
11
11
  };
12
- export declare type CheckIBanBody = {
12
+ export type CheckIBanBody = {
13
13
  iban_number: string;
14
14
  encryption_contract?: Array<string>;
15
15
  };
@@ -2,6 +2,6 @@ import { AxiosRequestConfig } from 'axios';
2
2
  declare const instance: import("axios").AxiosInstance;
3
3
  export declare const setAxiosGlobalHeaders: (headers: Record<string, string>) => void;
4
4
  export declare const removeAxiosGlobalHeaders: (arr: Array<string>) => void;
5
- export declare const getAxiosHeaders: () => import("axios").AxiosRequestHeaders;
5
+ export declare const getAxiosHeaders: () => Record<string, any>;
6
6
  export declare const httpClient: (config: AxiosRequestConfig) => Promise<any>;
7
7
  export default instance;
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
16
- while (_) try {
16
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
17
17
  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;
18
18
  if (y = 0, t) op = [op[0] & 2, t.value];
19
19
  switch (op[0]) {
@@ -1,15 +1,15 @@
1
- export declare type UpdateBoardBody = {
1
+ export type UpdateBoardBody = {
2
2
  id?: string;
3
3
  infoId?: string;
4
4
  step_name: string;
5
5
  lang: string;
6
6
  encryption_contract?: string;
7
7
  };
8
- export declare type RetrieveBoardInfoBody = {
8
+ export type RetrieveBoardInfoBody = {
9
9
  id: string;
10
10
  infoId: string;
11
11
  };
12
- export declare type UpdateBoardInfoBody = {
12
+ export type UpdateBoardInfoBody = {
13
13
  id: string;
14
14
  infoId: string;
15
15
  step_name: string;
@@ -1,5 +1,5 @@
1
1
  import { BrandListBody, UpdateBrandBody, UpdateSalesChannels } from '../api/individual';
2
- export declare type RemoveBrandActivity = {
2
+ export type RemoveBrandActivity = {
3
3
  id: string;
4
4
  activities?: Array<{
5
5
  id: string;
@@ -1,4 +1,4 @@
1
- export declare type GetCitiesBody = {
1
+ export type GetCitiesBody = {
2
2
  country: string[];
3
3
  };
4
4
  declare const countryService: {