@tap-payments/auth-jsconnect 2.6.2-test → 2.6.3

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 (638) hide show
  1. package/README.md +1 -1
  2. package/build/@types/app.d.ts +150 -12
  3. package/build/@types/app.js +18 -1
  4. package/build/@types/config.d.ts +45 -0
  5. package/build/@types/config.js +1 -0
  6. package/build/@types/form.d.ts +19 -2
  7. package/build/@types/index.d.ts +1 -0
  8. package/build/@types/index.js +1 -0
  9. package/build/@types/redux.d.ts +1 -0
  10. package/build/@types/theme.d.ts +4 -0
  11. package/build/@types/theme.js +5 -0
  12. package/build/api/account.d.ts +5 -0
  13. package/build/api/account.js +16 -2
  14. package/build/api/auth.d.ts +25 -1
  15. package/build/api/auth.js +18 -1
  16. package/build/api/availabilityServices.d.ts +1 -0
  17. package/build/api/country.d.ts +1 -0
  18. package/build/api/country.js +8 -1
  19. package/build/api/data.d.ts +4 -17
  20. package/build/api/data.js +5 -45
  21. package/build/api/entity.d.ts +30 -2
  22. package/build/api/entity.js +49 -5
  23. package/build/api/firebase.js +68 -8
  24. package/build/api/index.d.ts +21 -25
  25. package/build/api/lead.d.ts +25 -3
  26. package/build/api/lead.js +47 -1
  27. package/build/api/operator.d.ts +10 -0
  28. package/build/api/operator.js +9 -1
  29. package/build/app/rootReducer.d.ts +2 -0
  30. package/build/app/rootReducer.js +5 -1
  31. package/build/app/settings.d.ts +14 -3
  32. package/build/app/settings.js +127 -41
  33. package/build/app/store.d.ts +4 -0
  34. package/build/assets/locales/ar.json +333 -131
  35. package/build/assets/locales/en.json +330 -131
  36. package/build/components/AnimationFlow/AnimationFlow.d.ts +14 -3
  37. package/build/components/AnimationFlow/AnimationFlow.js +16 -5
  38. package/build/components/AnimationFlow/BottomSheet.d.ts +7 -2
  39. package/build/components/AnimationFlow/BottomSheet.js +37 -12
  40. package/build/components/AnimationFlow/Dialog.d.ts +11 -2
  41. package/build/components/AnimationFlow/Dialog.js +7 -11
  42. package/build/components/AnimationFlow/Loader.d.ts +6 -1
  43. package/build/components/AnimationFlow/Loader.js +17 -5
  44. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  45. package/build/components/ArabicDatePicker/ArabicDatePicker.js +2 -2
  46. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  47. package/build/components/DatePicker/DatePicker.js +2 -2
  48. package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -0
  49. package/build/components/Footer/Footer.js +2 -1
  50. package/build/components/Providers/ThemeProvider.js +3 -3
  51. package/build/components/SimpleList/SimpleList.js +1 -1
  52. package/build/components/Slide/Slide.d.ts +1 -1
  53. package/build/components/Tooltip/Tooltip.js +1 -1
  54. package/build/constants/api.d.ts +11 -7
  55. package/build/constants/api.js +22 -14
  56. package/build/constants/app.d.ts +47 -0
  57. package/build/constants/app.js +393 -22
  58. package/build/constants/assets.d.ts +4 -0
  59. package/build/constants/assets.js +5 -1
  60. package/build/constants/dummy.d.ts +43 -196
  61. package/build/constants/dummy.js +614 -6141
  62. package/build/constants/validation.d.ts +5 -0
  63. package/build/constants/validation.js +6 -1
  64. package/build/features/app/auth/authStore.d.ts +103 -0
  65. package/build/features/app/auth/authStore.js +1179 -0
  66. package/build/features/app/bank/bankStore.d.ts +14 -18
  67. package/build/features/app/bank/bankStore.js +218 -158
  68. package/build/features/app/board/boardStore.d.ts +33 -0
  69. package/build/features/app/board/boardStore.js +269 -0
  70. package/build/features/app/brand/brandStore.d.ts +18 -31
  71. package/build/features/app/brand/brandStore.js +296 -263
  72. package/build/features/app/business/businessStore.d.ts +28 -10
  73. package/build/features/app/business/businessStore.js +361 -215
  74. package/build/features/app/connect/connectStore.d.ts +39 -15
  75. package/build/features/app/connect/connectStore.js +308 -207
  76. package/build/features/app/connectExpress/connectExpressStore.d.ts +71 -26
  77. package/build/features/app/connectExpress/connectExpressStore.js +897 -302
  78. package/build/features/app/entity/entityStore.d.ts +21 -34
  79. package/build/features/app/entity/entityStore.js +248 -246
  80. package/build/features/app/individual/individualStore.d.ts +24 -33
  81. package/build/features/app/individual/individualStore.js +336 -274
  82. package/build/features/app/password/passwordStore.d.ts +34 -18
  83. package/build/features/app/password/passwordStore.js +286 -219
  84. package/build/features/app/tax/taxStore.d.ts +14 -7
  85. package/build/features/app/tax/taxStore.js +202 -141
  86. package/build/features/auth/Auth.d.ts +14 -0
  87. package/build/features/auth/Auth.js +168 -0
  88. package/build/features/auth/index.d.ts +1 -0
  89. package/build/features/auth/index.js +1 -0
  90. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
  91. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
  92. package/build/features/auth/screens/AccountCreatedLoader/index.d.ts +2 -0
  93. package/build/features/auth/screens/AccountCreatedLoader/index.js +2 -0
  94. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +5 -0
  95. package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +71 -0
  96. package/build/features/auth/screens/AccountNotFound/index.d.ts +2 -0
  97. package/build/features/auth/screens/AccountNotFound/index.js +2 -0
  98. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
  99. package/build/features/auth/screens/AuthMerchant/AuthMerchant.js +73 -0
  100. package/build/features/auth/screens/AuthMerchant/MerchantList.d.ts +11 -0
  101. package/build/features/auth/screens/AuthMerchant/MerchantList.js +64 -0
  102. package/build/features/auth/screens/AuthMerchant/index.d.ts +2 -0
  103. package/build/features/auth/screens/AuthMerchant/index.js +2 -0
  104. package/build/features/auth/screens/AuthMerchant/validation.d.ts +8 -0
  105. package/build/features/auth/screens/AuthMerchant/validation.js +4 -0
  106. package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +5 -0
  107. package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +58 -0
  108. package/build/features/auth/screens/AuthSwitch/index.d.ts +3 -0
  109. package/build/features/auth/screens/AuthSwitch/index.js +2 -0
  110. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
  111. package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +96 -0
  112. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +10 -0
  113. package/build/features/auth/screens/AuthenticationList/BrandList.js +81 -0
  114. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +3 -0
  115. package/build/features/auth/screens/AuthenticationList/EntityLegalName.js +48 -0
  116. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +31 -0
  117. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +90 -0
  118. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +11 -0
  119. package/build/features/auth/screens/AuthenticationList/EntityList.js +138 -0
  120. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
  121. package/build/features/auth/screens/AuthenticationList/LicenseNumber.js +36 -0
  122. package/build/features/auth/screens/AuthenticationList/index.d.ts +3 -0
  123. package/build/features/auth/screens/AuthenticationList/index.js +2 -0
  124. package/build/features/auth/screens/AuthenticationList/validation.d.ts +20 -0
  125. package/build/features/auth/screens/AuthenticationList/validation.js +68 -0
  126. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
  127. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +111 -0
  128. package/build/features/auth/screens/BusinessCountry/index.d.ts +3 -0
  129. package/build/features/auth/screens/BusinessCountry/index.js +2 -0
  130. package/build/features/auth/screens/CivilID/CivilID.d.ts +5 -0
  131. package/build/features/auth/screens/CivilID/CivilID.js +57 -0
  132. package/build/features/auth/screens/CivilID/IDNumber.d.ts +8 -0
  133. package/build/features/auth/screens/CivilID/IDNumber.js +54 -0
  134. package/build/features/auth/screens/CivilID/index.d.ts +3 -0
  135. package/build/features/auth/screens/CivilID/index.js +2 -0
  136. package/build/features/auth/screens/CivilID/validation.d.ts +8 -0
  137. package/build/features/auth/screens/CivilID/validation.js +4 -0
  138. package/build/features/auth/screens/DOB/DOB.js +47 -0
  139. package/build/features/auth/screens/DOB/DOBForm.d.ts +5 -0
  140. package/build/features/auth/screens/DOB/DOBForm.js +59 -0
  141. package/build/features/auth/screens/DOB/index.d.ts +3 -0
  142. package/build/features/auth/screens/DOB/index.js +2 -0
  143. package/build/features/auth/screens/DOB/validation.d.ts +8 -0
  144. package/build/features/auth/screens/DOB/validation.js +4 -0
  145. package/build/features/auth/screens/Email/Email.d.ts +5 -0
  146. package/build/features/auth/screens/Email/Email.js +57 -0
  147. package/build/features/auth/screens/Email/EmailField.d.ts +8 -0
  148. package/build/features/auth/screens/Email/EmailField.js +52 -0
  149. package/build/features/auth/screens/Email/index.d.ts +3 -0
  150. package/build/features/auth/screens/Email/index.js +2 -0
  151. package/build/features/auth/screens/Email/validation.d.ts +8 -0
  152. package/build/features/auth/screens/Email/validation.js +4 -0
  153. package/build/features/auth/screens/EmailSent/EmailSent.d.ts +5 -0
  154. package/build/features/auth/screens/EmailSent/EmailSent.js +79 -0
  155. package/build/features/auth/screens/EmailSent/index.d.ts +2 -0
  156. package/build/features/auth/screens/EmailSent/index.js +2 -0
  157. package/build/features/auth/screens/MigratingData/MigratingData.d.ts +5 -0
  158. package/build/features/auth/screens/MigratingData/MigratingData.js +44 -0
  159. package/build/features/auth/screens/MigratingData/index.d.ts +2 -0
  160. package/build/features/auth/screens/MigratingData/index.js +2 -0
  161. package/build/features/auth/screens/Mobile/Mobile.d.ts +5 -0
  162. package/build/features/auth/screens/Mobile/Mobile.js +82 -0
  163. package/build/features/auth/screens/Mobile/MobileNumber.d.ts +13 -0
  164. package/build/features/auth/screens/Mobile/MobileNumber.js +158 -0
  165. package/build/features/auth/screens/Mobile/index.d.ts +3 -0
  166. package/build/features/auth/screens/Mobile/index.js +2 -0
  167. package/build/features/auth/screens/Mobile/validation.d.ts +8 -0
  168. package/build/features/auth/screens/Mobile/validation.js +35 -0
  169. package/build/features/auth/screens/NID/IDNumber.d.ts +7 -0
  170. package/build/features/auth/screens/NID/IDNumber.js +55 -0
  171. package/build/features/auth/screens/NID/NID.d.ts +5 -0
  172. package/build/features/auth/screens/NID/NID.js +56 -0
  173. package/build/features/auth/screens/NID/index.d.ts +3 -0
  174. package/build/features/auth/screens/NID/index.js +2 -0
  175. package/build/features/auth/screens/NID/validation.d.ts +8 -0
  176. package/build/features/auth/screens/NID/validation.js +10 -0
  177. package/build/features/auth/screens/OTP/OTP.js +118 -0
  178. package/build/features/{connectExpress/screens/IdentityOTP → auth/screens/OTP}/OTPInput.js +27 -7
  179. package/build/features/auth/screens/OperatorError/OperatorError.d.ts +5 -0
  180. package/build/features/auth/screens/OperatorError/OperatorError.js +9 -0
  181. package/build/features/auth/screens/OperatorError/index.d.ts +3 -0
  182. package/build/features/auth/screens/OperatorError/index.js +2 -0
  183. package/build/features/auth/screens/Password/Password.d.ts +5 -0
  184. package/build/features/auth/screens/Password/Password.js +61 -0
  185. package/build/features/auth/screens/Password/PasswordField.d.ts +5 -0
  186. package/build/features/auth/screens/Password/PasswordField.js +28 -0
  187. package/build/features/auth/screens/Password/index.d.ts +3 -0
  188. package/build/features/auth/screens/Password/index.js +2 -0
  189. package/build/features/auth/screens/Password/validation.d.ts +8 -0
  190. package/build/features/auth/screens/Password/validation.js +4 -0
  191. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +5 -0
  192. package/build/features/auth/screens/PreparingData/PreparingData.js +44 -0
  193. package/build/features/auth/screens/PreparingData/index.d.ts +2 -0
  194. package/build/features/auth/screens/PreparingData/index.js +2 -0
  195. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +5 -0
  196. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.js +21 -0
  197. package/build/features/auth/screens/ResetPasswordMessage/index.d.ts +3 -0
  198. package/build/features/auth/screens/ResetPasswordMessage/index.js +2 -0
  199. package/build/features/auth/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  200. package/build/features/auth/screens/VerifyNafath/VerifyNafath.js +35 -0
  201. package/build/features/auth/screens/VerifyNafath/index.d.ts +3 -0
  202. package/build/features/auth/screens/VerifyNafath/index.js +2 -0
  203. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
  204. package/build/features/auth/screens/VerifyPACI/VerifyPACI.js +34 -0
  205. package/build/features/auth/screens/VerifyPACI/index.d.ts +3 -0
  206. package/build/features/auth/screens/VerifyPACI/index.js +2 -0
  207. package/build/features/bank/Bank.d.ts +2 -0
  208. package/build/features/bank/Bank.js +15 -9
  209. package/build/features/bank/screens/BankDetails/BankDetails.js +21 -7
  210. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +5 -0
  211. package/build/features/bank/screens/OperatorError/OperatorError.js +9 -0
  212. package/build/features/bank/screens/OperatorError/index.d.ts +3 -0
  213. package/build/features/bank/screens/OperatorError/index.js +2 -0
  214. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  215. package/build/features/bank/screens/Verify/Verify.js +8 -7
  216. package/build/features/board/Board.d.ts +13 -0
  217. package/build/features/board/Board.js +87 -0
  218. package/build/features/board/index.d.ts +1 -0
  219. package/build/features/board/index.js +1 -0
  220. package/build/features/board/screens/OperatorError/OperatorError.d.ts +5 -0
  221. package/build/features/board/screens/OperatorError/OperatorError.js +9 -0
  222. package/build/features/board/screens/OperatorError/index.d.ts +3 -0
  223. package/build/features/board/screens/OperatorError/index.js +2 -0
  224. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
  225. package/build/features/board/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
  226. package/build/features/board/screens/PrepareDataLoading/index.d.ts +2 -0
  227. package/build/features/board/screens/PrepareDataLoading/index.js +2 -0
  228. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
  229. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +21 -0
  230. package/build/features/board/screens/ResetPasswordSuccess/index.d.ts +3 -0
  231. package/build/features/board/screens/ResetPasswordSuccess/index.js +2 -0
  232. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
  233. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +44 -0
  234. package/build/features/board/screens/SuccessWithFlowButtons/index.d.ts +2 -0
  235. package/build/features/board/screens/SuccessWithFlowButtons/index.js +2 -0
  236. package/build/features/board/screens/Verify/OTPInput.d.ts +7 -0
  237. package/build/features/{business/screens/OTP → board/screens/Verify}/OTPInput.js +9 -7
  238. package/build/features/{connectExpress/screens/IdentityOTP/OTP.js → board/screens/Verify/Verify.js} +25 -37
  239. package/build/features/board/screens/Verify/index.d.ts +2 -0
  240. package/build/features/board/screens/Verify/index.js +2 -0
  241. package/build/features/brand/Brand.d.ts +2 -0
  242. package/build/features/brand/Brand.js +15 -9
  243. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +9 -9
  244. package/build/features/brand/screens/BrandActivities/BrandActivities.js +49 -12
  245. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +6 -6
  246. package/build/features/brand/screens/BrandActivities/CustomerBase.js +1 -1
  247. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +5 -2
  248. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +4 -4
  249. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +1 -1
  250. package/build/features/brand/screens/BrandActivities/TAC.d.ts +1 -1
  251. package/build/features/brand/screens/BrandActivities/TAC.js +1 -1
  252. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +1 -1
  253. package/build/features/brand/screens/BrandInfo/BrandInfo.js +27 -7
  254. package/build/features/brand/screens/BrandInfo/BrandName.js +5 -2
  255. package/build/features/brand/screens/BrandInfo/validation.js +2 -2
  256. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +23 -7
  257. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +5 -0
  258. package/build/features/brand/screens/OperatorError/OperatorError.js +9 -0
  259. package/build/features/brand/screens/OperatorError/index.d.ts +3 -0
  260. package/build/features/brand/screens/OperatorError/index.js +2 -0
  261. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  262. package/build/features/brand/screens/Verify/Verify.js +4 -3
  263. package/build/features/business/Business.js +20 -12
  264. package/build/features/business/screens/Activities/Activities.js +27 -10
  265. package/build/features/business/screens/Activities/ActivitiesList.d.ts +4 -4
  266. package/build/features/business/screens/Activities/ActivitiesList.js +1 -1
  267. package/build/features/business/screens/Activities/OperationStartDate.d.ts +5 -3
  268. package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
  269. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +2 -2
  270. package/build/features/business/screens/BusinessType/BusinessType.js +24 -8
  271. package/build/features/business/screens/BusinessType/EntityName.js +3 -3
  272. package/build/features/business/screens/BusinessType/LicenseList.js +3 -3
  273. package/build/features/business/screens/BusinessType/LicenseNumber.js +10 -9
  274. package/build/features/business/screens/BusinessType/LicenseType.d.ts +4 -4
  275. package/build/features/business/screens/BusinessType/validation.d.ts +10 -0
  276. package/build/features/business/screens/BusinessType/validation.js +16 -0
  277. package/build/features/business/screens/CivilID/CivilID.js +1 -1
  278. package/build/features/business/screens/Customers/CustomerLocations.d.ts +14 -12
  279. package/build/features/business/screens/Customers/CustomerLocations.js +5 -3
  280. package/build/features/business/screens/Customers/Customers.js +51 -11
  281. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +3 -1
  282. package/build/features/business/screens/Customers/ExpectedCustomers.js +5 -3
  283. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +3 -1
  284. package/build/features/business/screens/Customers/ExpectedSalesRange.js +10 -4
  285. package/build/features/business/screens/Customers/RefundPolicy.d.ts +12 -5
  286. package/build/features/business/screens/Customers/RefundPolicy.js +13 -13
  287. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +4 -1
  288. package/build/features/business/screens/Customers/TransactionPolicy.js +8 -5
  289. package/build/features/business/screens/Customers/validation.d.ts +6 -6
  290. package/build/features/business/screens/Customers/validation.js +3 -8
  291. package/build/features/business/screens/DOB/DOB.d.ts +6 -0
  292. package/build/features/business/screens/DOB/DOB.js +45 -0
  293. package/build/features/business/screens/DOB/DOBForm.d.ts +5 -0
  294. package/build/features/business/screens/DOB/DOBForm.js +72 -0
  295. package/build/features/business/screens/DOB/index.d.ts +3 -0
  296. package/build/features/business/screens/DOB/index.js +2 -0
  297. package/build/features/business/screens/DOB/validation.d.ts +8 -0
  298. package/build/features/business/screens/DOB/validation.js +4 -0
  299. package/build/features/business/screens/IDBOD/ID.js +6 -2
  300. package/build/features/business/screens/IDBOD/IDBOD.js +18 -19
  301. package/build/features/business/screens/IDBOD/validation.d.ts +7 -0
  302. package/build/features/business/screens/IDBOD/validation.js +4 -1
  303. package/build/features/business/screens/OperatorError/OperatorError.d.ts +5 -0
  304. package/build/features/business/screens/OperatorError/OperatorError.js +9 -0
  305. package/build/features/business/screens/OperatorError/index.d.ts +3 -0
  306. package/build/features/business/screens/OperatorError/index.js +2 -0
  307. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -3
  308. package/build/features/business/screens/Verify/Verify.js +16 -5
  309. package/build/features/business/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  310. package/build/features/business/screens/VerifyNafath/VerifyNafath.js +35 -0
  311. package/build/features/business/screens/VerifyNafath/index.d.ts +3 -0
  312. package/build/features/business/screens/VerifyNafath/index.js +2 -0
  313. package/build/features/connect/Connect.d.ts +5 -1
  314. package/build/features/connect/Connect.js +48 -31
  315. package/build/features/connect/screens/BrandSegment/BrandSegment.js +4 -26
  316. package/build/features/connect/screens/BrandSegment/TeamSize.js +1 -1
  317. package/build/features/connect/screens/BrandSegment/validation.d.ts +0 -9
  318. package/build/features/connect/screens/BrandSegment/validation.js +0 -3
  319. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
  320. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +113 -0
  321. package/build/features/connect/screens/BusinessCountry/index.d.ts +3 -0
  322. package/build/features/connect/screens/BusinessCountry/index.js +2 -0
  323. package/build/features/connect/screens/CivilID/CivilID.js +12 -4
  324. package/build/features/{connectExpress/screens/NID → connect/screens/DOB}/DOB.d.ts +1 -2
  325. package/build/features/connect/screens/{NID → DOB}/DOB.js +2 -2
  326. package/build/features/connect/screens/DOB/DOBForm.d.ts +5 -0
  327. package/build/features/connect/screens/DOB/DOBForm.js +59 -0
  328. package/build/features/connect/screens/DOB/index.d.ts +3 -0
  329. package/build/features/connect/screens/DOB/index.js +2 -0
  330. package/build/features/connect/screens/DOB/validation.d.ts +8 -0
  331. package/build/features/connect/screens/DOB/validation.js +4 -0
  332. package/build/features/connect/screens/Individual/Individual.js +12 -6
  333. package/build/features/connect/screens/Individual/MobileNumber.js +6 -3
  334. package/build/features/connect/screens/Individual/validation.js +8 -3
  335. package/build/features/connect/screens/Merchant/BrandList.js +3 -3
  336. package/build/features/connect/screens/Merchant/BrandName.js +5 -2
  337. package/build/features/connect/screens/Merchant/Merchant.js +1 -1
  338. package/build/features/connect/screens/Merchant/SalesChannels.js +1 -1
  339. package/build/features/connect/screens/Merchant/validation.js +2 -2
  340. package/build/features/connect/screens/Mobile/Mobile.js +14 -7
  341. package/build/features/connect/screens/Mobile/MobileNumber.js +14 -8
  342. package/build/features/connect/screens/Mobile/validation.js +8 -3
  343. package/build/features/connect/screens/NID/IDNumber.d.ts +1 -0
  344. package/build/features/connect/screens/NID/IDNumber.js +2 -2
  345. package/build/features/connect/screens/NID/NID.js +10 -13
  346. package/build/features/connect/screens/NID/validation.d.ts +0 -3
  347. package/build/features/connect/screens/NID/validation.js +0 -1
  348. package/build/features/connect/screens/OTP/OTP.js +7 -7
  349. package/build/features/connect/screens/OTP/OTPInput.js +3 -11
  350. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +5 -0
  351. package/build/features/connect/screens/OperatorError/OperatorError.js +9 -0
  352. package/build/features/connect/screens/OperatorError/index.d.ts +3 -0
  353. package/build/features/connect/screens/OperatorError/index.js +2 -0
  354. package/build/features/connect/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  355. package/build/features/connect/screens/VerifyNafath/VerifyNafath.js +35 -0
  356. package/build/features/connect/screens/VerifyNafath/index.d.ts +3 -0
  357. package/build/features/connect/screens/VerifyNafath/index.js +2 -0
  358. package/build/features/connectExpress/ConnectExpress.d.ts +5 -3
  359. package/build/features/connectExpress/ConnectExpress.js +70 -40
  360. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.js +14 -2
  361. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +5 -0
  362. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.js +36 -0
  363. package/build/features/connectExpress/screens/AccountCreatedLoader/index.d.ts +2 -0
  364. package/build/features/connectExpress/screens/AccountCreatedLoader/index.js +2 -0
  365. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +5 -0
  366. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.js +74 -0
  367. package/build/features/connectExpress/screens/AuthMerchant/MerchantList.d.ts +11 -0
  368. package/build/features/connectExpress/screens/AuthMerchant/MerchantList.js +64 -0
  369. package/build/features/connectExpress/screens/AuthMerchant/index.d.ts +2 -0
  370. package/build/features/connectExpress/screens/AuthMerchant/index.js +2 -0
  371. package/build/features/connectExpress/screens/AuthMerchant/validation.d.ts +8 -0
  372. package/build/features/connectExpress/screens/AuthMerchant/validation.js +4 -0
  373. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +5 -0
  374. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +104 -0
  375. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +10 -0
  376. package/build/features/connectExpress/screens/AuthenticationList/BrandList.js +81 -0
  377. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +3 -0
  378. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.js +48 -0
  379. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +31 -0
  380. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +90 -0
  381. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +11 -0
  382. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +138 -0
  383. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +3 -0
  384. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +36 -0
  385. package/build/features/connectExpress/screens/AuthenticationList/index.d.ts +3 -0
  386. package/build/features/connectExpress/screens/AuthenticationList/index.js +2 -0
  387. package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +20 -0
  388. package/build/features/connectExpress/screens/AuthenticationList/validation.js +68 -0
  389. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +5 -0
  390. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +111 -0
  391. package/build/features/connectExpress/screens/BusinessCountry/index.d.ts +3 -0
  392. package/build/features/connectExpress/screens/BusinessCountry/index.js +2 -0
  393. package/build/features/connectExpress/screens/CivilID/CivilID.js +16 -5
  394. package/build/features/connectExpress/screens/CivilID/IDNumber.js +7 -2
  395. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +2 -2
  396. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +5 -2
  397. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +20 -5
  398. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +6 -5
  399. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +9 -8
  400. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +4 -4
  401. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
  402. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +1 -1
  403. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +13 -0
  404. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +68 -1
  405. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +34 -7
  406. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +7 -4
  407. package/build/features/connectExpress/screens/CollectIndividualInfo/validation.js +8 -3
  408. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +14 -24
  409. package/build/features/connectExpress/screens/DOB/DOB.d.ts +6 -0
  410. package/build/features/connectExpress/screens/{NID → DOB}/DOB.js +3 -3
  411. package/build/features/connectExpress/screens/DOB/DOBForm.d.ts +5 -0
  412. package/build/features/connectExpress/screens/DOB/DOBForm.js +63 -0
  413. package/build/features/connectExpress/screens/DOB/index.d.ts +3 -0
  414. package/build/features/connectExpress/screens/DOB/index.js +2 -0
  415. package/build/features/connectExpress/screens/DOB/validation.d.ts +8 -0
  416. package/build/features/connectExpress/screens/DOB/validation.js +4 -0
  417. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.d.ts +5 -0
  418. package/build/features/connectExpress/screens/IdentityVerifyNafath/IdentityVerifyNafath.js +35 -0
  419. package/build/features/connectExpress/screens/IdentityVerifyNafath/index.d.ts +3 -0
  420. package/build/features/connectExpress/screens/IdentityVerifyNafath/index.js +2 -0
  421. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.js +2 -2
  422. package/build/features/connectExpress/screens/Mobile/Mobile.js +17 -7
  423. package/build/features/connectExpress/screens/Mobile/MobileNumber.js +17 -11
  424. package/build/features/connectExpress/screens/Mobile/TAC.js +1 -1
  425. package/build/features/connectExpress/screens/Mobile/validation.js +16 -6
  426. package/build/features/connectExpress/screens/NID/IDNumber.d.ts +1 -0
  427. package/build/features/connectExpress/screens/NID/IDNumber.js +2 -2
  428. package/build/features/connectExpress/screens/NID/NID.js +15 -12
  429. package/build/features/connectExpress/screens/NID/TAC.d.ts +1 -1
  430. package/build/features/connectExpress/screens/NID/TAC.js +2 -2
  431. package/build/features/connectExpress/screens/NID/validation.d.ts +0 -3
  432. package/build/features/connectExpress/screens/NID/validation.js +0 -2
  433. package/build/features/connectExpress/screens/NIDMissed/IDNumber.js +6 -2
  434. package/build/features/connectExpress/screens/NIDMissed/NID.js +10 -8
  435. package/build/features/connectExpress/screens/NIDMissed/validation.d.ts +7 -0
  436. package/build/features/connectExpress/screens/NIDMissed/validation.js +4 -1
  437. package/build/features/connectExpress/screens/OTP/OTP.js +14 -16
  438. package/build/features/connectExpress/screens/OTP/OTPInput.js +12 -10
  439. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +5 -0
  440. package/build/features/connectExpress/screens/OperatorError/OperatorError.js +9 -0
  441. package/build/features/connectExpress/screens/OperatorError/index.d.ts +3 -0
  442. package/build/features/connectExpress/screens/OperatorError/index.js +2 -0
  443. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +5 -0
  444. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.js +34 -0
  445. package/build/features/connectExpress/screens/PrepareDataLoading/index.d.ts +2 -0
  446. package/build/features/connectExpress/screens/PrepareDataLoading/index.js +2 -0
  447. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +15 -7
  448. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
  449. package/build/features/connectExpress/screens/VerifyNafath/VerifyNafath.js +35 -0
  450. package/build/features/connectExpress/screens/VerifyNafath/index.d.ts +3 -0
  451. package/build/features/connectExpress/screens/VerifyNafath/index.js +2 -0
  452. package/build/features/entity/Entity.d.ts +2 -0
  453. package/build/features/entity/Entity.js +15 -9
  454. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +4 -4
  455. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +5 -3
  456. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +6 -4
  457. package/build/features/entity/screens/EntityCapital/EntityCapital.js +34 -10
  458. package/build/features/entity/screens/EntityName/EntityName.js +44 -19
  459. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +9 -9
  460. package/build/features/entity/screens/EntityName/EntityTypeList.js +2 -3
  461. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +2 -2
  462. package/build/features/entity/screens/EntityName/ExpiryDate.js +5 -7
  463. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +2 -2
  464. package/build/features/entity/screens/EntityName/IssuingDate.js +5 -7
  465. package/build/features/entity/screens/EntityName/LegalName.js +1 -13
  466. package/build/features/entity/screens/EntityName/LicenseNumber.js +10 -11
  467. package/build/features/entity/screens/EntityName/UnifiedNumber.js +4 -6
  468. package/build/features/entity/screens/EntityName/validation.d.ts +31 -3
  469. package/build/features/entity/screens/EntityName/validation.js +38 -9
  470. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +5 -0
  471. package/build/features/entity/screens/OperatorError/OperatorError.js +9 -0
  472. package/build/features/entity/screens/OperatorError/index.d.ts +3 -0
  473. package/build/features/entity/screens/OperatorError/index.js +2 -0
  474. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  475. package/build/features/entity/screens/Verify/Verify.js +4 -3
  476. package/build/features/featuresScreens.d.ts +2 -0
  477. package/build/features/featuresScreens.js +254 -15
  478. package/build/features/individual/Individual.d.ts +2 -0
  479. package/build/features/individual/Individual.js +15 -9
  480. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +2 -2
  481. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +55 -15
  482. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +36 -0
  483. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.js +76 -0
  484. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +5 -2
  485. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +4 -4
  486. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +7 -4
  487. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +4 -1
  488. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +4 -3
  489. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +4 -4
  490. package/build/features/individual/screens/IndividualList/IndividualList.js +21 -6
  491. package/build/features/individual/screens/IndividualList/MobileNumber.js +6 -3
  492. package/build/features/individual/screens/IndividualList/UserList.js +13 -9
  493. package/build/features/individual/screens/IndividualList/validation.js +8 -3
  494. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +4 -4
  495. package/build/features/individual/screens/IndividualPersonalInfo/ID.js +6 -2
  496. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +2 -2
  497. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +79 -21
  498. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +6 -3
  499. package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +1 -1
  500. package/build/features/individual/screens/IndividualPersonalInfo/validation.js +72 -63
  501. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +7 -4
  502. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +1 -1
  503. package/build/features/individual/screens/IndividualPhoneInfo/validation.js +8 -3
  504. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +5 -0
  505. package/build/features/individual/screens/OperatorError/OperatorError.js +9 -0
  506. package/build/features/individual/screens/OperatorError/index.d.ts +3 -0
  507. package/build/features/individual/screens/OperatorError/index.js +2 -0
  508. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  509. package/build/features/individual/screens/Verify/Verify.js +4 -3
  510. package/build/features/password/Password.d.ts +2 -0
  511. package/build/features/password/Password.js +94 -32
  512. package/build/features/password/screens/CreatePassword/CreatePassword.js +10 -4
  513. package/build/features/password/screens/OTP/OTP.js +4 -4
  514. package/build/features/password/screens/OperatorError/OperatorError.d.ts +5 -0
  515. package/build/features/password/screens/OperatorError/OperatorError.js +9 -0
  516. package/build/features/password/screens/OperatorError/index.d.ts +3 -0
  517. package/build/features/password/screens/OperatorError/index.js +2 -0
  518. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
  519. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
  520. package/build/features/password/screens/PrepareDataLoading/index.d.ts +2 -0
  521. package/build/features/password/screens/PrepareDataLoading/index.js +2 -0
  522. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  523. package/build/features/password/screens/Verify/Verify.js +8 -7
  524. package/build/features/shared/Address/CountryList.d.ts +7 -7
  525. package/build/features/shared/Address/InputSelect.d.ts +7 -7
  526. package/build/features/shared/Background/Background.d.ts +3 -1
  527. package/build/features/shared/Background/Background.js +9 -11
  528. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +15 -0
  529. package/build/features/shared/BusinessCountry/BusinessCountry.js +179 -0
  530. package/build/features/shared/BusinessCountry/index.d.ts +2 -0
  531. package/build/features/shared/BusinessCountry/index.js +2 -0
  532. package/build/features/shared/Button/Button.js +11 -5
  533. package/build/features/shared/Button/EmailProvidersButtons.js +2 -0
  534. package/build/features/shared/Button/FlowsButtons.d.ts +3 -1
  535. package/build/features/shared/Button/FlowsButtons.js +29 -14
  536. package/build/features/shared/Button/NafathButton.d.ts +8 -0
  537. package/build/features/shared/Button/{AbsherButton.js → NafathButton.js} +12 -3
  538. package/build/features/shared/Button/index.d.ts +2 -2
  539. package/build/features/shared/Button/index.js +2 -2
  540. package/build/features/shared/Calender/Calender.d.ts +2 -1
  541. package/build/features/shared/Calender/Calender.js +3 -3
  542. package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
  543. package/build/features/shared/Containers/FeatureContainer.js +3 -3
  544. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  545. package/build/features/shared/DataLoading/DataLoading.d.ts +4 -1
  546. package/build/features/shared/DataLoading/DataLoading.js +2 -2
  547. package/build/features/shared/Footer/Footer.js +2 -1
  548. package/build/features/shared/Input/Input.d.ts +2 -2
  549. package/build/features/shared/NafathVerification/NafathVerification.d.ts +14 -0
  550. package/build/features/shared/NafathVerification/NafathVerification.js +92 -0
  551. package/build/features/shared/NafathVerification/VerifyNafathLoading.d.ts +8 -0
  552. package/build/features/shared/NafathVerification/VerifyNafathLoading.js +53 -0
  553. package/build/features/shared/NafathVerification/VerifyNafathSuccess.d.ts +5 -0
  554. package/build/features/shared/NafathVerification/VerifyNafathSuccess.js +8 -0
  555. package/build/features/shared/NafathVerification/index.d.ts +2 -0
  556. package/build/features/shared/NafathVerification/index.js +2 -0
  557. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +8 -1
  558. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +11 -14
  559. package/build/features/shared/SuccessScreen/SuccessScreen.js +1 -1
  560. package/build/features/shared/UploadFile/FileUpload.d.ts +1 -1
  561. package/build/features/shared/UploadFile/UploadFile.d.ts +1 -1
  562. package/build/features/shared/UploadFile/UploadWrapper.d.ts +1 -1
  563. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +1 -1
  564. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +1 -1
  565. package/build/features/signIn/SignIn.js +18 -7
  566. package/build/features/signIn/screens/Mobile/MobileNumber.js +6 -3
  567. package/build/features/signIn/screens/Mobile/validation.js +8 -3
  568. package/build/features/signIn/screens/OTP/OTP.js +5 -4
  569. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +5 -0
  570. package/build/features/signIn/screens/OperatorError/OperatorError.js +9 -0
  571. package/build/features/signIn/screens/OperatorError/index.d.ts +3 -0
  572. package/build/features/signIn/screens/OperatorError/index.js +2 -0
  573. package/build/features/tax/Tax.d.ts +2 -0
  574. package/build/features/tax/Tax.js +15 -9
  575. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +5 -0
  576. package/build/features/tax/screens/OperatorError/OperatorError.js +9 -0
  577. package/build/features/tax/screens/OperatorError/index.d.ts +3 -0
  578. package/build/features/tax/screens/OperatorError/index.js +2 -0
  579. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +13 -5
  580. package/build/features/tax/screens/TaxDetails/TaxDetails.js +9 -3
  581. package/build/features/tax/screens/Verify/Verify.js +8 -7
  582. package/build/hooks/index.d.ts +3 -0
  583. package/build/hooks/index.js +3 -0
  584. package/build/hooks/useAppConfig.d.ts +3 -3
  585. package/build/hooks/useAppConfig.js +9 -6
  586. package/build/hooks/useAppDispatch.d.ts +2 -0
  587. package/build/hooks/useAppTheme.js +4 -3
  588. package/build/hooks/useCountDown.d.ts +10 -0
  589. package/build/hooks/useCountDown.js +17 -0
  590. package/build/hooks/useCountry.d.ts +1 -0
  591. package/build/hooks/useCountry.js +4 -3
  592. package/build/hooks/useFormDirtyCheck.d.ts +10 -0
  593. package/build/hooks/useFormDirtyCheck.js +66 -0
  594. package/build/hooks/useSanitizedTranslation.d.ts +1 -0
  595. package/build/hooks/useSanitizedTranslation.js +15 -0
  596. package/build/hooks/useVerifyToken.d.ts +5 -2
  597. package/build/hooks/useVerifyToken.js +10 -5
  598. package/build/index.css +360 -120
  599. package/build/index.d.ts +4 -2
  600. package/build/index.js +6 -2
  601. package/build/theme/components.js +7 -0
  602. package/build/theme/palette.js +4 -2
  603. package/build/theme/theme.d.ts +1 -1
  604. package/build/theme/theme.js +2 -2
  605. package/build/utils/array.js +2 -2
  606. package/build/utils/common.d.ts +3 -0
  607. package/build/utils/common.js +38 -2
  608. package/build/utils/device.d.ts +2 -0
  609. package/build/utils/device.js +6 -0
  610. package/build/utils/locale.js +2 -1
  611. package/build/utils/object.d.ts +1 -0
  612. package/build/utils/object.js +4 -1
  613. package/build/utils/string.d.ts +5 -2
  614. package/build/utils/string.js +24 -5
  615. package/build/utils/validation.d.ts +5 -0
  616. package/build/utils/validation.js +16 -0
  617. package/package.json +2 -2
  618. package/build/features/business/screens/OTP/OTP.d.ts +0 -8
  619. package/build/features/business/screens/OTP/OTP.js +0 -90
  620. package/build/features/connect/screens/BrandSegment/SegmentLocations.d.ts +0 -8
  621. package/build/features/connect/screens/BrandSegment/SegmentLocations.js +0 -66
  622. package/build/features/connect/screens/BrandSegment/SegmentProfits.d.ts +0 -8
  623. package/build/features/connect/screens/BrandSegment/SegmentProfits.js +0 -66
  624. package/build/features/connect/screens/BrandSegment/SegmentTechs.d.ts +0 -8
  625. package/build/features/connect/screens/BrandSegment/SegmentTechs.js +0 -66
  626. package/build/features/connectExpress/screens/IdentityOTP/index.d.ts +0 -3
  627. package/build/features/connectExpress/screens/IdentityOTP/index.js +0 -2
  628. package/build/features/shared/Button/AbsherButton.d.ts +0 -8
  629. /package/build/features/{connect/screens/NID → auth/screens/DOB}/DOB.d.ts +0 -0
  630. /package/build/features/{connectExpress/screens/IdentityOTP → auth/screens/OTP}/OTP.d.ts +0 -0
  631. /package/build/features/{business → auth}/screens/OTP/OTPInput.d.ts +0 -0
  632. /package/build/features/{business → auth}/screens/OTP/index.d.ts +0 -0
  633. /package/build/features/{business → auth}/screens/OTP/index.js +0 -0
  634. /package/build/features/{business → auth}/screens/OTP/validation.d.ts +0 -0
  635. /package/build/features/{business → auth}/screens/OTP/validation.js +0 -0
  636. /package/build/features/{connectExpress/screens/IdentityOTP/OTPInput.d.ts → board/screens/Verify/Verify.d.ts} +0 -0
  637. /package/build/features/{connectExpress/screens/IdentityOTP → board/screens/Verify}/validation.d.ts +0 -0
  638. /package/build/features/{connectExpress/screens/IdentityOTP → board/screens/Verify}/validation.js +0 -0
package/README.md CHANGED
@@ -158,10 +158,10 @@ const App = () => {
158
158
  | publicKey `required` - `string` | merchant public key |
159
159
  | appInfo `required` | it's an object from type `AppInfo` |
160
160
  | businessCountryCode `required` - `string` | merchant country code and it should be the ISO2 of the country |
161
+ | scope `required` - `string` | it's an string |
161
162
  | language `required` - `string` | it can be `en`or `ar` |
162
163
  | onError `required` - `function` | callback function will call in case of any error happened |
163
164
  | onFlowCompleted `required` - `function` | callback function will called after completing the flow |
164
165
  | onReady `required` - `function` | callback function will call after loading library configuration |
165
166
  | onStepError `required` - `function` | callback function will call in case if any error happened in the screen |
166
167
  | onStepStarted `required` - `function` | callback function will call in the begging of each step |
167
- | scope `required` - `string` | it's an string |
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
- import { LanguageMode } from './theme';
2
+ import { PaymentProvider, SettingAsyncData } from './config';
3
+ import { LanguageMode, DialogEdgeFormat } from './theme';
3
4
  export interface CountryCode {
4
5
  created: number;
5
6
  updated: number;
@@ -25,6 +26,8 @@ export interface CountryCode {
25
26
  logo: string;
26
27
  digits: number;
27
28
  supported_by_tap: boolean;
29
+ min_digits: number;
30
+ max_digits: number;
28
31
  }
29
32
  export interface City {
30
33
  id: string;
@@ -116,6 +119,10 @@ export interface License {
116
119
  export interface EntityLicense extends License {
117
120
  id: string;
118
121
  }
122
+ export interface EntityLicenseAuth extends EntityLicense {
123
+ business_id: string;
124
+ country: string;
125
+ }
119
126
  export interface Activity {
120
127
  id: string;
121
128
  name: {
@@ -197,12 +204,14 @@ interface LibCallbacks {
197
204
  onError: (err: any) => void;
198
205
  onStepCompleted?: (name: string, data: Record<string, any>) => void;
199
206
  onReady?: () => void;
207
+ onSettingFetched?: (data: SettingAsyncData) => void;
200
208
  onClose?: () => void;
201
209
  onStepStarted?: (name: string) => void;
202
210
  onBoardButtonClick?: (data: Record<string, any>) => void;
203
211
  onCreated?: (res: Record<string, any>) => void;
204
212
  onBoardCompleted?: () => void;
205
213
  onMaturityChanged?: (maturity: 'full' | 'express') => void;
214
+ onSwitchToBoard?: (boardId: string, authId: string) => void;
206
215
  }
207
216
  export interface LibConfig extends LibCallbacks {
208
217
  publicKey: string;
@@ -210,9 +219,31 @@ export interface LibConfig extends LibCallbacks {
210
219
  merchantDomain: string;
211
220
  language: LanguageMode;
212
221
  appInfo: AppInfo;
213
- businessCountryCode: string;
222
+ businessCountryCode?: string;
214
223
  scope: string;
224
+ showBoard?: boolean;
225
+ platforms?: Array<string>;
226
+ dialogEdgeFormat?: DialogEdgeFormat;
227
+ paymentProvider?: PaymentProvider;
228
+ features?: {
229
+ poweredBy?: boolean;
230
+ merchantLogo?: boolean;
231
+ switchLanguage?: boolean;
232
+ overlay?: boolean;
233
+ loaderOverlay?: boolean;
234
+ tapTextLogo?: boolean;
235
+ closeButton?: boolean;
236
+ disableNafath?: boolean;
237
+ disablePaci?: boolean;
238
+ dialogStartTransition?: 'left' | 'right' | 'up' | 'down';
239
+ dialogEndTransition?: 'left' | 'right' | 'up' | 'down';
240
+ };
241
+ postURL?: string;
242
+ redirectUrl?: string;
243
+ data?: Array<string>;
244
+ mode?: 'popup' | 'page' | 'content';
215
245
  boardMaturity?: boolean;
246
+ settingData?: SettingAsyncData;
216
247
  }
217
248
  export interface OSDetails {
218
249
  name: string;
@@ -286,6 +317,7 @@ export declare type BrandInfo = {
286
317
  };
287
318
  };
288
319
  id: string;
320
+ business_id: string;
289
321
  name: {
290
322
  ar: string;
291
323
  en: string;
@@ -295,6 +327,7 @@ export declare type BrandInfo = {
295
327
  export declare enum FlowsTypes {
296
328
  CONNECT_EXPRESS = "connect_express",
297
329
  CONNECT = "connect",
330
+ AUTH = "auth",
298
331
  BANK = "bank",
299
332
  BUSINESS = "business",
300
333
  INDIVIDUAL = "individual",
@@ -302,8 +335,8 @@ export declare enum FlowsTypes {
302
335
  TAX = "tax",
303
336
  ENTITY = "entity",
304
337
  OTP = "otp",
305
- AUTH = "auth",
306
- BRAND = "brand"
338
+ BRAND = "brand",
339
+ BOARD = "board"
307
340
  }
308
341
  export declare type FlowInfo = {
309
342
  name: string;
@@ -313,7 +346,20 @@ export declare type FlowInfo = {
313
346
  export declare enum AuthForType {
314
347
  MOBILE = "mobile",
315
348
  EMAIL = "email",
316
- NATIONAL_ID = "national_id"
349
+ NATIONAL_ID = "national_id",
350
+ NATIONAL_ID_MISSED = "national_id_missed"
351
+ }
352
+ export declare enum AuthTypeNumber {
353
+ EMAIL_OTP = 5,
354
+ MOBILE_OTP = 2,
355
+ PASSWORD = 1,
356
+ MIGRATION = 10,
357
+ RESET_PASSWORD = 7
358
+ }
359
+ export declare enum MigrationStatus {
360
+ IN_PROGRESS = "IN_PROGRESS",
361
+ MIGRATED = "MIGRATED",
362
+ FAILED = "FAILED"
317
363
  }
318
364
  export declare enum AddressFormateType {
319
365
  SELECT = "select",
@@ -365,6 +411,7 @@ export declare enum DocumentPurpose {
365
411
  CR = "commercial_registration",
366
412
  ARTICLE_ASSOCIATION = "article_of_association",
367
413
  BANK_STATEMENT = "bank_statement",
414
+ BANK_CERTIFICATE = "bank_certificate",
368
415
  IDENTITY_DOCUMENT = "identity_document",
369
416
  CUSTOMER_SIGNATURE = "customer_signature",
370
417
  TAX_DOCUMENT = "tax_document_user_upload",
@@ -626,6 +673,7 @@ export interface EventPageTrackingData extends CommonDataLayer {
626
673
  }
627
674
  export interface PageTrackingData {
628
675
  title?: string;
676
+ connect_flow?: string;
629
677
  }
630
678
  export declare type VerifyExpressTokenParams = {
631
679
  public_key: string;
@@ -634,15 +682,105 @@ export declare type VerifyExpressTokenParams = {
634
682
  };
635
683
  lead_id: string;
636
684
  };
637
- export declare type ConfigExpressTokenParams = {
638
- post: {
639
- url: string;
640
- };
641
- lead_id: string;
642
- board: boolean;
643
- };
644
685
  export declare enum MerchantStatus {
645
686
  DISABLED = "disabled",
646
687
  ENABLED = "enabled"
647
688
  }
689
+ export interface AuthMerchantInfo {
690
+ id: string;
691
+ status: string;
692
+ created: number;
693
+ display_name: string;
694
+ business_id: string;
695
+ business_entity_id: string;
696
+ brand_id: string;
697
+ wallet_id: string;
698
+ base_currency: string;
699
+ charge_currenices: string[];
700
+ country: string;
701
+ is_acceptance_allowed: boolean;
702
+ is_payout_allowed: boolean;
703
+ legacy_id: string;
704
+ marketplace: boolean;
705
+ post: {
706
+ url: string;
707
+ };
708
+ metadata: {
709
+ MerchantRefrenceId: string;
710
+ };
711
+ terminal_id: string;
712
+ acceptance_status: string;
713
+ payout_status: string;
714
+ board_id: string;
715
+ board_info_id: string;
716
+ }
717
+ export interface AuthTerminalInfo {
718
+ id: string;
719
+ object: string;
720
+ live_mode: boolean;
721
+ api_version: string;
722
+ feature_version: string;
723
+ name: TerminalName;
724
+ merchant: TerminalMerchant;
725
+ authorizes: TerminalAuthorizes;
726
+ charges: TerminalAuthorizes;
727
+ refunds: TerminalAuthorizes;
728
+ wallet: TerminalWallet;
729
+ virtual: boolean;
730
+ operator: TerminalOperator;
731
+ acceptance_status: string;
732
+ data_status: TerminalDataStatus;
733
+ data_verification: TerminalDataStatus;
734
+ data_state: string;
735
+ brand: TerminalWallet;
736
+ }
737
+ interface TerminalDataStatus {
738
+ name: TerminalName;
739
+ charge_last_transaction: string;
740
+ charge_flag: string;
741
+ authorize_last_transaction: string;
742
+ refund_last_transaction: string;
743
+ acceptance_status: string;
744
+ }
745
+ interface TerminalName {
746
+ ar: string;
747
+ en: string;
748
+ }
749
+ interface TerminalWallet {
750
+ id: string;
751
+ }
752
+ interface TerminalOperator {
753
+ id: string;
754
+ is_merchant: boolean;
755
+ }
756
+ interface TerminalMerchant {
757
+ id: string;
758
+ base_currency: string;
759
+ country: string;
760
+ }
761
+ interface TerminalAuthorizes {
762
+ status: string;
763
+ status_message: string;
764
+ }
765
+ export declare type CountryInfo = {
766
+ id: number;
767
+ label: string;
768
+ country: {
769
+ id: number;
770
+ name_en: string;
771
+ name_ar: string;
772
+ iso2: string;
773
+ iso3: string;
774
+ idd_prefix: string;
775
+ logo: string;
776
+ min_digits: number;
777
+ max_digits: number;
778
+ };
779
+ };
780
+ export declare type BusinessCountryInfo = {
781
+ id: number;
782
+ title: string;
783
+ title_ar: string;
784
+ countries: Array<CountryInfo>;
785
+ };
648
786
  export {};
@@ -24,6 +24,7 @@ export var FlowsTypes;
24
24
  (function (FlowsTypes) {
25
25
  FlowsTypes["CONNECT_EXPRESS"] = "connect_express";
26
26
  FlowsTypes["CONNECT"] = "connect";
27
+ FlowsTypes["AUTH"] = "auth";
27
28
  FlowsTypes["BANK"] = "bank";
28
29
  FlowsTypes["BUSINESS"] = "business";
29
30
  FlowsTypes["INDIVIDUAL"] = "individual";
@@ -31,15 +32,30 @@ export var FlowsTypes;
31
32
  FlowsTypes["TAX"] = "tax";
32
33
  FlowsTypes["ENTITY"] = "entity";
33
34
  FlowsTypes["OTP"] = "otp";
34
- FlowsTypes["AUTH"] = "auth";
35
35
  FlowsTypes["BRAND"] = "brand";
36
+ FlowsTypes["BOARD"] = "board";
36
37
  })(FlowsTypes || (FlowsTypes = {}));
37
38
  export var AuthForType;
38
39
  (function (AuthForType) {
39
40
  AuthForType["MOBILE"] = "mobile";
40
41
  AuthForType["EMAIL"] = "email";
41
42
  AuthForType["NATIONAL_ID"] = "national_id";
43
+ AuthForType["NATIONAL_ID_MISSED"] = "national_id_missed";
42
44
  })(AuthForType || (AuthForType = {}));
45
+ export var AuthTypeNumber;
46
+ (function (AuthTypeNumber) {
47
+ AuthTypeNumber[AuthTypeNumber["EMAIL_OTP"] = 5] = "EMAIL_OTP";
48
+ AuthTypeNumber[AuthTypeNumber["MOBILE_OTP"] = 2] = "MOBILE_OTP";
49
+ AuthTypeNumber[AuthTypeNumber["PASSWORD"] = 1] = "PASSWORD";
50
+ AuthTypeNumber[AuthTypeNumber["MIGRATION"] = 10] = "MIGRATION";
51
+ AuthTypeNumber[AuthTypeNumber["RESET_PASSWORD"] = 7] = "RESET_PASSWORD";
52
+ })(AuthTypeNumber || (AuthTypeNumber = {}));
53
+ export var MigrationStatus;
54
+ (function (MigrationStatus) {
55
+ MigrationStatus["IN_PROGRESS"] = "IN_PROGRESS";
56
+ MigrationStatus["MIGRATED"] = "MIGRATED";
57
+ MigrationStatus["FAILED"] = "FAILED";
58
+ })(MigrationStatus || (MigrationStatus = {}));
43
59
  export var AddressFormateType;
44
60
  (function (AddressFormateType) {
45
61
  AddressFormateType["SELECT"] = "select";
@@ -69,6 +85,7 @@ export var DocumentPurpose;
69
85
  DocumentPurpose["CR"] = "commercial_registration";
70
86
  DocumentPurpose["ARTICLE_ASSOCIATION"] = "article_of_association";
71
87
  DocumentPurpose["BANK_STATEMENT"] = "bank_statement";
88
+ DocumentPurpose["BANK_CERTIFICATE"] = "bank_certificate";
72
89
  DocumentPurpose["IDENTITY_DOCUMENT"] = "identity_document";
73
90
  DocumentPurpose["CUSTOMER_SIGNATURE"] = "customer_signature";
74
91
  DocumentPurpose["TAX_DOCUMENT"] = "tax_document_user_upload";
@@ -0,0 +1,45 @@
1
+ export interface ConfigInfo {
2
+ operator: Operator;
3
+ scope: string;
4
+ data?: string[];
5
+ lead?: Lead;
6
+ board?: Board;
7
+ interface?: Interface;
8
+ redirect?: Redirect;
9
+ post?: Redirect;
10
+ connect?: Redirect;
11
+ platforms?: string[];
12
+ payment_provider?: PaymentProvider;
13
+ }
14
+ export interface PaymentProvider {
15
+ technology_id: string;
16
+ settlement_by: string;
17
+ }
18
+ interface Redirect {
19
+ url: string;
20
+ }
21
+ interface Interface {
22
+ locale?: 'dynamic' | 'ar' | 'en';
23
+ edges?: 'straight' | 'curved';
24
+ }
25
+ interface Board {
26
+ display?: boolean;
27
+ editable?: boolean;
28
+ }
29
+ interface Lead {
30
+ id: string;
31
+ }
32
+ interface Operator {
33
+ public_key: string;
34
+ }
35
+ declare type RecordType = Record<string, any>;
36
+ export interface SettingAsyncData {
37
+ fingerPrint: RecordType;
38
+ locale: RecordType;
39
+ country_list: RecordType;
40
+ ip_info: RecordType;
41
+ merchant: RecordType;
42
+ operator: RecordType;
43
+ config: RecordType;
44
+ }
45
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -1,4 +1,4 @@
1
- import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense } from './app';
1
+ import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo } from './app';
2
2
  export declare type MobileFormValues = {
3
3
  mobile: string;
4
4
  countryCode: CountryCode;
@@ -15,13 +15,19 @@ export declare type PasswordFormValues = {
15
15
  };
16
16
  export declare type NIDFormValues = {
17
17
  nid: string;
18
- dob: string;
18
+ dob?: any;
19
19
  termAndConditionChecked?: boolean;
20
20
  };
21
+ export declare type DOBFormValues = {
22
+ dob: any;
23
+ };
21
24
  export declare type CivilFormValues = {
22
25
  civilId: string;
23
26
  termAndConditionChecked?: boolean;
24
27
  };
28
+ export declare type AuthEmailFormValues = {
29
+ email: string;
30
+ };
25
31
  export declare type IndividualFormValues = {
26
32
  name: string;
27
33
  email: string;
@@ -109,6 +115,7 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
109
115
  isInfluencer: boolean | null;
110
116
  shareCount: string;
111
117
  shareValue: string;
118
+ isAuthorized: boolean;
112
119
  }
113
120
  export declare type IndividualAttachmentsFormValues = {
114
121
  civilID?: Array<string>;
@@ -143,3 +150,13 @@ export declare type BusinessDataFormValues = {
143
150
  selectedLicense?: License;
144
151
  termAndConditionChecked?: boolean;
145
152
  };
153
+ export declare type AuthenticationListFormValues = {
154
+ brandInfo?: BrandInfo;
155
+ entityInfo?: EntityLicenseAuth;
156
+ licenseNumber?: string;
157
+ legalName?: string;
158
+ licenseType?: string;
159
+ };
160
+ export declare type AuthMerchantFormValues = {
161
+ merchantInfo?: AuthMerchantInfo;
162
+ };
@@ -3,3 +3,4 @@ export * from './redux';
3
3
  export * from './app';
4
4
  export * from './form';
5
5
  export * from './user';
6
+ export * from './config';
@@ -3,3 +3,4 @@ export * from './redux';
3
3
  export * from './app';
4
4
  export * from './form';
5
5
  export * from './user';
6
+ export * from './config';
@@ -15,4 +15,5 @@ export interface ResponseData {
15
15
  export interface AsyncThunkParams<T> {
16
16
  formData: T;
17
17
  originalFormData: T;
18
+ isDirty: boolean;
18
19
  }
@@ -12,3 +12,7 @@ export declare enum DirectionMode {
12
12
  LTR = "ltr"
13
13
  }
14
14
  export declare type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
15
+ export declare enum DialogEdgeFormat {
16
+ STRAIGHT = "straight",
17
+ CURVED = "curved"
18
+ }
@@ -13,3 +13,8 @@ export var DirectionMode;
13
13
  DirectionMode["RTL"] = "rtl";
14
14
  DirectionMode["LTR"] = "ltr";
15
15
  })(DirectionMode || (DirectionMode = {}));
16
+ export var DialogEdgeFormat;
17
+ (function (DialogEdgeFormat) {
18
+ DialogEdgeFormat["STRAIGHT"] = "straight";
19
+ DialogEdgeFormat["CURVED"] = "curved";
20
+ })(DialogEdgeFormat || (DialogEdgeFormat = {}));
@@ -1,3 +1,4 @@
1
+ import { PaymentProvider } from '../@types';
1
2
  export declare type CreateAccountBody = {
2
3
  lead_id: string;
3
4
  notify: {
@@ -11,9 +12,13 @@ export declare type CreateAccountBody = {
11
12
  export declare type ExpressCreateAccountBody = {
12
13
  post_url: string;
13
14
  lead_id: string;
15
+ platforms?: string[];
16
+ payment_provider?: PaymentProvider;
14
17
  };
15
18
  declare const accountService: {
16
19
  createAccount: (data: CreateAccountBody) => Promise<any>;
17
20
  expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
21
+ checkAccountAvailability: (individualId: string) => Promise<any>;
22
+ checkMigrationStatus: (jobId: string) => Promise<any>;
18
23
  };
19
24
  export { accountService };
@@ -1,5 +1,5 @@
1
- import { httpClient } from './axios';
2
1
  import { ENDPOINT_PATHS } from '../constants';
2
+ import { httpClient } from './axios';
3
3
  var createAccount = function (data) {
4
4
  return httpClient({
5
5
  method: 'post',
@@ -14,8 +14,22 @@ var expressCreateAccount = function (data) {
14
14
  data: data
15
15
  });
16
16
  };
17
+ var checkAccountAvailability = function (individualId) {
18
+ return httpClient({
19
+ method: 'get',
20
+ url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts")
21
+ });
22
+ };
23
+ var checkMigrationStatus = function (jobId) {
24
+ return httpClient({
25
+ method: 'get',
26
+ url: "".concat(ENDPOINT_PATHS.MIGRATION_STATUS, "/").concat(jobId)
27
+ });
28
+ };
17
29
  var accountService = {
18
30
  createAccount: createAccount,
19
- expressCreateAccount: expressCreateAccount
31
+ expressCreateAccount: expressCreateAccount,
32
+ checkAccountAvailability: checkAccountAvailability,
33
+ checkMigrationStatus: checkMigrationStatus
20
34
  };
21
35
  export { accountService };
@@ -1,5 +1,5 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- import { LanguageMode } from '../@types';
2
+ import { ConfigInfo, LanguageMode } from '../@types';
3
3
  export declare type MobileCredential = {
4
4
  code: string;
5
5
  phone: string;
@@ -30,6 +30,19 @@ export declare type CreateAuthBody = {
30
30
  lang?: LanguageMode;
31
31
  lead_id?: string;
32
32
  };
33
+ export declare type CreateNafathAuthBody = {
34
+ country: string;
35
+ scope: string;
36
+ user_credentail: IDCredential;
37
+ auth_type?: number;
38
+ email_url?: string;
39
+ sign_in?: boolean;
40
+ is_lead?: boolean;
41
+ step_name?: string;
42
+ encryption_contract: Array<string>;
43
+ lang?: LanguageMode;
44
+ lead_id?: string;
45
+ };
33
46
  export declare type VerifyAuthBody = {
34
47
  auth_token: string;
35
48
  auth_type: number;
@@ -39,8 +52,11 @@ export declare type VerifyAuthBody = {
39
52
  service_name: string;
40
53
  new_user?: boolean;
41
54
  sign_in: boolean;
55
+ is_lead?: boolean;
42
56
  encryption_contract: Array<string>;
43
57
  remember_me?: boolean;
58
+ lead_id?: string;
59
+ terms?: Array<string>;
44
60
  };
45
61
  export declare type VerifyOperationAuthBody = {
46
62
  auth_token: string;
@@ -78,6 +94,11 @@ export declare type VerifyAuthExpressOTPBody = {
78
94
  terms?: Array<string>;
79
95
  encryption_contract: Array<string>;
80
96
  };
97
+ export declare type getExpressTokenVerifyParams = {
98
+ token: string;
99
+ leadId: string;
100
+ };
101
+ export declare type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
81
102
  declare const authService: {
82
103
  createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
83
104
  verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -89,5 +110,8 @@ declare const authService: {
89
110
  createExpressAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
90
111
  verifyExpressLeadIdentity: (data: VerifyAuthExpressOTPBody) => Promise<any>;
91
112
  createExpressLeadIdentityAuth: (data: CreateAuthBody) => Promise<any>;
113
+ getVerifyExpressAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
114
+ getExpressTokenVerify: ({ token, leadId }: getExpressTokenVerifyParams, config?: AxiosRequestConfig) => Promise<any>;
115
+ generateConfigToken: (body: ConfigBody) => Promise<any>;
92
116
  };
93
117
  export { authService };
package/build/api/auth.js CHANGED
@@ -40,6 +40,13 @@ var verifyExpressAuth = function (data) {
40
40
  data: data
41
41
  });
42
42
  };
43
+ var getVerifyExpressAuth = function (token, config) {
44
+ return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.Verify_Express_Auth_PACI_PATH, "/").concat(token) }, config));
45
+ };
46
+ var getExpressTokenVerify = function (_a, config) {
47
+ var token = _a.token, leadId = _a.leadId;
48
+ return httpClient(__assign({ method: 'get', url: "".concat(ENDPOINT_PATHS.EXPRESS_PATH, "/").concat(leadId).concat(ENDPOINT_PATHS.TOKEN_VERIFY, "/").concat(token) }, config));
49
+ };
43
50
  var verifyExpressLeadIdentity = function (data) {
44
51
  return httpClient({
45
52
  method: 'put',
@@ -61,6 +68,13 @@ var createAuthKitNID = function (data) {
61
68
  data: data
62
69
  });
63
70
  };
71
+ var generateConfigToken = function (body) {
72
+ return httpClient({
73
+ method: 'post',
74
+ url: ENDPOINT_PATHS.CREATE_CONNECT,
75
+ data: body
76
+ });
77
+ };
64
78
  var authService = {
65
79
  createAuth: createAuth,
66
80
  verifyAuth: verifyAuth,
@@ -71,6 +85,9 @@ var authService = {
71
85
  createAuthKitNID: createAuthKitNID,
72
86
  createExpressAuth: createExpressAuth,
73
87
  verifyExpressLeadIdentity: verifyExpressLeadIdentity,
74
- createExpressLeadIdentityAuth: createExpressLeadIdentityAuth
88
+ createExpressLeadIdentityAuth: createExpressLeadIdentityAuth,
89
+ getVerifyExpressAuth: getVerifyExpressAuth,
90
+ getExpressTokenVerify: getExpressTokenVerify,
91
+ generateConfigToken: generateConfigToken
75
92
  };
76
93
  export { authService };
@@ -1,6 +1,7 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
2
  export declare type CheckEmailBody = {
3
3
  email: string | null;
4
+ country: string;
4
5
  encryption_contract: Array<string>;
5
6
  };
6
7
  export declare type CheckBrandBody = {
@@ -6,5 +6,6 @@ declare const countryService: {
6
6
  list: never[];
7
7
  };
8
8
  getCities: (data: GetCitiesBody) => Promise<any>;
9
+ getCurrency: (countryCode: string) => Promise<any>;
9
10
  };
10
11
  export { countryService };
@@ -15,8 +15,15 @@ var getCities = function (data) {
15
15
  data: data
16
16
  });
17
17
  };
18
+ var getCurrency = function (countryCode) {
19
+ return httpClient({
20
+ method: 'get',
21
+ url: "".concat(ENDPOINT_PATHS.CURRENCY, "/").concat(countryCode)
22
+ });
23
+ };
18
24
  var countryService = {
19
25
  getCountries: getCountries,
20
- getCities: getCities
26
+ getCities: getCities,
27
+ getCurrency: getCurrency
21
28
  };
22
29
  export { countryService };
@@ -4,14 +4,11 @@ declare type GetOccupationBody = {
4
4
  };
5
5
  declare type GetSegmentsBody = {
6
6
  page: number;
7
+ limit: number;
7
8
  };
8
9
  declare type GetTeamSizeBody = {
9
10
  page: number;
10
11
  };
11
- declare type SegmentDataListBody = {
12
- page: number;
13
- limit: number;
14
- };
15
12
  declare type GetMonthlyIncomeBody = {
16
13
  page: number;
17
14
  country_code: Array<string>;
@@ -23,14 +20,9 @@ export declare type DataElementBody = {
23
20
  ar: string;
24
21
  };
25
22
  };
26
- declare type GetCustomerBasesBody = {
27
- page: number;
28
- };
29
- declare type GetExpectedSalesBody = {
30
- page: number;
31
- };
32
- declare type GetExpectedCustomerSalesBody = {
23
+ declare type GetBrandOperationsBody = {
33
24
  page: number;
25
+ country_code: string[];
34
26
  };
35
27
  declare type GetSourceOfIncomeBody = {
36
28
  page: number;
@@ -40,9 +32,7 @@ declare type GetChannelsOfServicesBody = {
40
32
  };
41
33
  declare const dataService: {
42
34
  getChannelsOfServices: (data: GetChannelsOfServicesBody) => Promise<any>;
43
- getCustomerBases: (data: GetCustomerBasesBody) => Promise<any>;
44
- getExpectedSales: (data: GetExpectedSalesBody) => Promise<any>;
45
- getExpectedCustomerSales: (data: GetExpectedCustomerSalesBody) => Promise<any>;
35
+ getBrandOperations: (data: GetBrandOperationsBody) => Promise<any>;
46
36
  getSourceOfIncome: (data: GetSourceOfIncomeBody) => Promise<any>;
47
37
  getMonthlyIncome: (data: GetMonthlyIncomeBody) => Promise<any>;
48
38
  getOccupation: (data: GetOccupationBody) => Promise<any>;
@@ -50,8 +40,5 @@ declare const dataService: {
50
40
  getTeamSize: (data: GetTeamSizeBody) => Promise<any>;
51
41
  getActivities: (config?: AxiosRequestConfig) => Promise<any>;
52
42
  getActivitiesIsIc: () => Promise<any>;
53
- getSegmentLocation: (data: SegmentDataListBody) => Promise<any>;
54
- getSegmentProfit: (data: SegmentDataListBody) => Promise<any>;
55
- getSegmentTech: (data: SegmentDataListBody) => Promise<any>;
56
43
  };
57
44
  export { dataService };