@tap-payments/auth-jsconnect 2.6.60-test → 2.6.82-test

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 (430) hide show
  1. package/build/@types/app.d.ts +21 -20
  2. package/build/@types/form.d.ts +21 -21
  3. package/build/@types/theme.d.ts +1 -1
  4. package/build/api/account.d.ts +2 -2
  5. package/build/api/auth.d.ts +31 -12
  6. package/build/api/auth.js +9 -1
  7. package/build/api/availabilityServices.d.ts +3 -3
  8. package/build/api/axios.js +1 -1
  9. package/build/api/board.d.ts +3 -3
  10. package/build/api/brand.d.ts +1 -1
  11. package/build/api/country.d.ts +1 -1
  12. package/build/api/data.d.ts +11 -11
  13. package/build/api/document.d.ts +2 -2
  14. package/build/api/entity.d.ts +14 -9
  15. package/build/api/entity.js +2 -5
  16. package/build/api/file.d.ts +1 -1
  17. package/build/api/index.d.ts +6 -5
  18. package/build/api/individual.d.ts +5 -5
  19. package/build/api/init.d.ts +1 -1
  20. package/build/api/lead.d.ts +19 -12
  21. package/build/api/lead.js +3 -6
  22. package/build/api/operator.d.ts +2 -2
  23. package/build/api/operator.js +1 -1
  24. package/build/api/user.d.ts +2 -2
  25. package/build/app/settings.d.ts +3 -21
  26. package/build/app/settings.js +4 -4
  27. package/build/app/store.d.ts +4 -4
  28. package/build/assets/locales/ar.json +5 -1
  29. package/build/assets/locales/en.json +5 -1
  30. package/build/components/AnimationFlow/AnimationFlow.d.ts +7 -2
  31. package/build/components/AnimationFlow/AnimationFlow.js +16 -5
  32. package/build/components/AnimationFlow/BottomSheet.d.ts +3 -1
  33. package/build/components/AnimationFlow/BottomSheet.js +4 -4
  34. package/build/components/AnimationFlow/Dialog.d.ts +7 -1
  35. package/build/components/AnimationFlow/Dialog.js +5 -9
  36. package/build/components/AnimationFlow/Error.d.ts +2 -1
  37. package/build/components/AnimationFlow/Loader.d.ts +7 -1
  38. package/build/components/AnimationFlow/Loader.js +17 -5
  39. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  40. package/build/components/Button/Button.d.ts +1 -1
  41. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  42. package/build/components/Collapse/Collapse.d.ts +2 -1
  43. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  44. package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
  45. package/build/components/FileInput/DragAndDrop.d.ts +2 -1
  46. package/build/components/FileInput/UploadInput.d.ts +2 -1
  47. package/build/components/Footer/Footer.d.ts +1 -1
  48. package/build/components/Form/Form.d.ts +1 -1
  49. package/build/components/Input/Input.d.ts +1 -1
  50. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  51. package/build/components/List/List.d.ts +1 -1
  52. package/build/components/ListItem/ListItem.d.ts +1 -1
  53. package/build/components/Loader/Loader.d.ts +1 -1
  54. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  55. package/build/components/OTPField/OTPField.d.ts +1 -1
  56. package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
  57. package/build/components/ProgressBar/CircularProgressBar.d.ts +2 -1
  58. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  59. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  60. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  61. package/build/components/Radio/Radio.d.ts +1 -1
  62. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  63. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  64. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  65. package/build/components/Slide/Slide.d.ts +1 -1
  66. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  67. package/build/components/Text/Text.d.ts +1 -1
  68. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  69. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  70. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  71. package/build/components/Warning/Warning.d.ts +1 -1
  72. package/build/constants/app.d.ts +1 -2
  73. package/build/constants/app.js +14 -3
  74. package/build/constants/assets.d.ts +1 -0
  75. package/build/constants/assets.js +2 -1
  76. package/build/features/app/auth/authStore.d.ts +16 -131
  77. package/build/features/app/auth/authStore.js +175 -110
  78. package/build/features/app/bank/bankStore.d.ts +11 -92
  79. package/build/features/app/bank/bankStore.js +1 -1
  80. package/build/features/app/board/boardStore.d.ts +5 -41
  81. package/build/features/app/board/boardStore.js +9 -3
  82. package/build/features/app/brand/brandStore.d.ts +16 -142
  83. package/build/features/app/brand/brandStore.js +1 -1
  84. package/build/features/app/business/businessStore.d.ts +18 -162
  85. package/build/features/app/business/businessStore.js +1 -1
  86. package/build/features/app/connect/connectStore.d.ts +16 -151
  87. package/build/features/app/connect/connectStore.js +1 -1
  88. package/build/features/app/connectExpress/connectExpressStore.d.ts +27 -261
  89. package/build/features/app/connectExpress/connectExpressStore.js +19 -6
  90. package/build/features/app/entity/entityStore.d.ts +11 -92
  91. package/build/features/app/entity/entityStore.js +1 -1
  92. package/build/features/app/individual/individualStore.d.ts +23 -185
  93. package/build/features/app/individual/individualStore.js +1 -1
  94. package/build/features/app/password/passwordStore.d.ts +13 -112
  95. package/build/features/app/password/passwordStore.js +1 -1
  96. package/build/features/app/signIn/signInStore.d.ts +7 -61
  97. package/build/features/app/signIn/signInStore.js +1 -1
  98. package/build/features/app/tax/taxStore.d.ts +10 -82
  99. package/build/features/app/tax/taxStore.js +1 -1
  100. package/build/features/auth/Auth.d.ts +7 -1
  101. package/build/features/auth/Auth.js +65 -14
  102. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +5 -0
  103. package/build/features/auth/screens/AccountNotFound/AccountNotFound.js +74 -0
  104. package/build/features/auth/screens/AccountNotFound/index.d.ts +2 -0
  105. package/build/features/auth/screens/AccountNotFound/index.js +2 -0
  106. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  107. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
  108. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
  109. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  110. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
  111. package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
  112. package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
  113. package/build/features/auth/screens/Mobile/Mobile.js +6 -0
  114. package/build/features/auth/screens/NID/DOB.d.ts +2 -1
  115. package/build/features/auth/screens/NID/NID.d.ts +1 -1
  116. package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
  117. package/build/features/auth/screens/OTP/OTP.js +2 -3
  118. package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
  119. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +5 -0
  120. package/build/features/auth/screens/PreparingData/PreparingData.js +41 -0
  121. package/build/features/auth/screens/PreparingData/index.d.ts +2 -0
  122. package/build/features/auth/screens/PreparingData/index.js +2 -0
  123. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  124. package/build/features/bank/Bank.d.ts +3 -1
  125. package/build/features/bank/Bank.js +5 -4
  126. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
  127. package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
  128. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
  129. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
  130. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
  131. package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
  132. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  133. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  134. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  135. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  136. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  137. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  138. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  139. package/build/features/board/Board.d.ts +3 -1
  140. package/build/features/board/Board.js +7 -5
  141. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  142. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  143. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  144. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  145. package/build/features/brand/Brand.d.ts +3 -1
  146. package/build/features/brand/Brand.js +5 -4
  147. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
  148. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
  149. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
  150. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
  151. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
  152. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
  153. package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
  154. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
  155. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
  156. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
  157. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  158. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  159. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +2 -1
  160. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
  161. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +2 -1
  162. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +2 -1
  163. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +2 -1
  164. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +2 -1
  165. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  166. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  167. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  168. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  169. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  170. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  171. package/build/features/business/Business.d.ts +2 -1
  172. package/build/features/business/screens/Activities/Activities.d.ts +2 -1
  173. package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
  174. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  175. package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
  176. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  177. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  178. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  179. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  180. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +13 -5
  181. package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
  182. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  183. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  184. package/build/features/business/screens/BusinessType/EntityName.d.ts +2 -1
  185. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
  186. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  187. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  188. package/build/features/business/screens/BusinessType/LicenseType.d.ts +28 -6
  189. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  190. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  191. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  192. package/build/features/business/screens/Customers/CustomerLocations.d.ts +70 -19
  193. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  194. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
  195. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
  196. package/build/features/business/screens/Customers/RefundPolicy.d.ts +30 -9
  197. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +2 -1
  198. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  199. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  200. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  201. package/build/features/business/screens/OTP/OTP.d.ts +1 -1
  202. package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
  203. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  204. package/build/features/business/screens/Success/Success.d.ts +1 -1
  205. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  206. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  207. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  208. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  209. package/build/features/connect/Connect.d.ts +2 -1
  210. package/build/features/connect/Connect.js +1 -1
  211. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  212. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +2 -1
  213. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  214. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
  215. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  216. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  217. package/build/features/connect/screens/Individual/Email.js +4 -2
  218. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  219. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  220. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  221. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  222. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  223. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  224. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +2 -1
  225. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  226. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  227. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  228. package/build/features/connect/screens/NID/DOB.d.ts +2 -1
  229. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  230. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  231. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  232. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
  233. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  234. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  235. package/build/features/connectExpress/ConnectExpress.d.ts +2 -1
  236. package/build/features/connectExpress/ConnectExpress.js +1 -1
  237. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  238. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  239. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  240. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  241. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  242. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  243. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
  244. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  245. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  246. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  247. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  248. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  249. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  250. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  251. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +28 -6
  252. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
  253. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  254. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  255. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +4 -2
  256. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  257. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  258. package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
  259. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
  260. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  261. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  262. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  263. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  264. package/build/features/connectExpress/screens/NID/DOB.d.ts +2 -1
  265. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  266. package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
  267. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
  268. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  269. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  270. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  271. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  272. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  273. package/build/features/entity/Entity.d.ts +3 -1
  274. package/build/features/entity/Entity.js +5 -4
  275. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
  276. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  277. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  278. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  279. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +2 -1
  280. package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
  281. package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
  282. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
  283. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
  284. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
  285. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  286. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
  287. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  288. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  289. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  290. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  291. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  292. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  293. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  294. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  295. package/build/features/featuresScreens.js +10 -0
  296. package/build/features/individual/Individual.d.ts +3 -1
  297. package/build/features/individual/Individual.js +5 -4
  298. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
  299. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
  300. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  301. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  302. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
  303. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
  304. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  305. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  306. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +2 -1
  307. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  308. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  309. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  310. package/build/features/individual/screens/IndividualList/Email.js +4 -3
  311. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +25 -9
  312. package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
  313. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  314. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  315. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +4 -2
  316. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  317. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +28 -6
  318. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  319. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
  320. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  321. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  322. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  323. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  324. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  325. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  326. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  327. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  328. package/build/features/password/Password.d.ts +3 -1
  329. package/build/features/password/Password.js +5 -5
  330. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
  331. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  332. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  333. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  334. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +2 -1
  335. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  336. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  337. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  338. package/build/features/password/screens/Success/Success.d.ts +1 -1
  339. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  340. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  341. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  342. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +2 -1
  343. package/build/features/shared/Address/Address.d.ts +2 -1
  344. package/build/features/shared/Address/CountryList.d.ts +46 -14
  345. package/build/features/shared/Address/InputSelect.d.ts +46 -14
  346. package/build/features/shared/Address/InputSelect.js +1 -1
  347. package/build/features/shared/Address/InputText.d.ts +1 -1
  348. package/build/features/shared/Background/Background.d.ts +2 -1
  349. package/build/features/shared/Background/Background.js +9 -11
  350. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  351. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +2 -1
  352. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
  353. package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
  354. package/build/features/shared/Button/AbsherButton.d.ts +2 -1
  355. package/build/features/shared/Button/Button.d.ts +2 -1
  356. package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
  357. package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
  358. package/build/features/shared/Button/FlowsButtons.js +1 -1
  359. package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
  360. package/build/features/shared/Button/MobileButton.d.ts +2 -1
  361. package/build/features/shared/Button/SuccessButton.d.ts +2 -1
  362. package/build/features/shared/Calender/Calender.d.ts +2 -1
  363. package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
  364. package/build/features/shared/Chip/Chip.d.ts +2 -1
  365. package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
  366. package/build/features/shared/Containers/FeatureContainer.d.ts +2 -1
  367. package/build/features/shared/Containers/FeatureContainer.js +3 -3
  368. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  369. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  370. package/build/features/shared/DataLoading/DataLoading.d.ts +2 -1
  371. package/build/features/shared/DataLoading/DataLoading.js +2 -2
  372. package/build/features/shared/Dialog/CloseDialog.d.ts +2 -1
  373. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  374. package/build/features/shared/Dot/Dot.d.ts +2 -1
  375. package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
  376. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
  377. package/build/features/shared/Footer/Footer.d.ts +2 -1
  378. package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
  379. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  380. package/build/features/shared/Input/Input.d.ts +14 -6
  381. package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
  382. package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
  383. package/build/features/shared/OTP/OTP.d.ts +1 -1
  384. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  385. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +2 -1
  386. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
  387. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  388. package/build/features/shared/Search/Search.d.ts +2 -1
  389. package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
  390. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  391. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
  392. package/build/features/shared/UploadFile/FileUpload.d.ts +9 -4
  393. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  394. package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
  395. package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
  396. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
  397. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  398. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
  399. package/build/features/signIn/SignIn.d.ts +2 -1
  400. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  401. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  402. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  403. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  404. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  405. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  406. package/build/features/tax/Tax.d.ts +3 -1
  407. package/build/features/tax/Tax.js +5 -4
  408. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  409. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  410. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  411. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  412. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +3 -2
  413. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
  414. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
  415. package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
  416. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  417. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  418. package/build/hooks/useAppConfig.js +2 -2
  419. package/build/hooks/useDataVerified.d.ts +1 -1
  420. package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
  421. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
  422. package/build/hooks/useFormReadOnly.d.ts +2 -2
  423. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  424. package/build/hooks/useVerifyToken.d.ts +2 -1
  425. package/build/hooks/useVerifyToken.js +2 -2
  426. package/build/theme/palette.js +2 -1
  427. package/build/utils/array.js +1 -1
  428. package/build/utils/validation.d.ts +2 -0
  429. package/build/utils/validation.js +7 -1
  430. package/package.json +1 -1
@@ -217,10 +217,11 @@ export interface LibConfig extends LibCallbacks {
217
217
  appInfo: AppInfo;
218
218
  businessCountryCode?: string;
219
219
  scope: string;
220
+ platforms?: Array<string>;
220
221
  postURL?: string;
221
222
  redirectUrl?: string;
222
223
  data?: Array<string>;
223
- mode?: 'popup' | 'page';
224
+ mode?: 'popup' | 'page' | 'content';
224
225
  boardMaturity?: boolean;
225
226
  }
226
227
  export interface OSDetails {
@@ -276,7 +277,7 @@ export interface LocalProps {
276
277
  };
277
278
  };
278
279
  }
279
- export type BrandInfo = {
280
+ export declare type BrandInfo = {
280
281
  segment?: {
281
282
  type: {
282
283
  id: string;
@@ -315,7 +316,7 @@ export declare enum FlowsTypes {
315
316
  BRAND = "brand",
316
317
  BOARD = "board"
317
318
  }
318
- export type FlowInfo = {
319
+ export declare type FlowInfo = {
319
320
  name: string;
320
321
  status: string;
321
322
  url: string;
@@ -331,7 +332,7 @@ export declare enum AddressFormateType {
331
332
  NUMBER = "number",
332
333
  TEXT = "text"
333
334
  }
334
- export type AddressFormat = {
335
+ export declare type AddressFormat = {
335
336
  code: string;
336
337
  name: {
337
338
  ar: string;
@@ -342,14 +343,14 @@ export type AddressFormat = {
342
343
  sort: number;
343
344
  type: AddressFormateType;
344
345
  };
345
- export type AddressType = {
346
+ export declare type AddressType = {
346
347
  code: string;
347
348
  name: {
348
349
  ar: string;
349
350
  en: string;
350
351
  };
351
352
  };
352
- export type AddressProps = {
353
+ export declare type AddressProps = {
353
354
  format: AddressFormat[];
354
355
  type: AddressType;
355
356
  };
@@ -381,7 +382,7 @@ export declare enum DocumentPurpose {
381
382
  TAX_DOCUMENT = "tax_document_user_upload",
382
383
  BRAND_LOGO = "business_logo"
383
384
  }
384
- export type FileDetails = {
385
+ export declare type FileDetails = {
385
386
  created: string;
386
387
  id: string;
387
388
  object: string;
@@ -396,7 +397,7 @@ export declare enum VerificationStatus {
396
397
  ENTERED = "entered",
397
398
  NOT_ENTERED = "not_entered"
398
399
  }
399
- export type BankDataStatus = {
400
+ export declare type BankDataStatus = {
400
401
  iban: FieldType;
401
402
  account_number: FieldType;
402
403
  swift_code: FieldType;
@@ -405,7 +406,7 @@ export type BankDataStatus = {
405
406
  bank_statement_file_id: FieldType;
406
407
  is_acknowledged: FieldType;
407
408
  };
408
- export type EntityDataStatus = {
409
+ export declare type EntityDataStatus = {
409
410
  type: FieldType;
410
411
  'license.status': FieldType;
411
412
  'license.provider': FieldType;
@@ -434,7 +435,7 @@ export type EntityDataStatus = {
434
435
  billing_address: FieldType;
435
436
  AOA_file_id: FieldType;
436
437
  };
437
- export type IndividualDataStatus = {
438
+ export declare type IndividualDataStatus = {
438
439
  status: FieldType;
439
440
  'name.en': FieldType;
440
441
  'name.ar': FieldType;
@@ -460,7 +461,7 @@ export type IndividualDataStatus = {
460
461
  is_influencer: FieldType;
461
462
  gender: FieldType;
462
463
  };
463
- export type BrandDataStatus = {
464
+ export declare type BrandDataStatus = {
464
465
  status: FieldType;
465
466
  'name.en': FieldType;
466
467
  'name.ar': FieldType;
@@ -536,7 +537,7 @@ export interface ActivitiesIsIc {
536
537
  created: string;
537
538
  divisions?: Array<ActivityDivision>;
538
539
  }
539
- export type BankDataVerification = {
540
+ export declare type BankDataVerification = {
540
541
  account_number: string;
541
542
  bank_name: string;
542
543
  bank_statement_file_id: string;
@@ -546,7 +547,7 @@ export type BankDataVerification = {
546
547
  is_acknowledged: string;
547
548
  swift_code: string;
548
549
  };
549
- export type BrandDataVerification = {
550
+ export declare type BrandDataVerification = {
550
551
  logo: string;
551
552
  'name.en': string;
552
553
  'name.ar': string;
@@ -564,7 +565,7 @@ export type BrandDataVerification = {
564
565
  'segment.tech_type': string;
565
566
  terms: string;
566
567
  };
567
- export type EntityDataVerification = {
568
+ export declare type EntityDataVerification = {
568
569
  AOA_file_id: string;
569
570
  billing_address: string;
570
571
  'capital.announced': string;
@@ -591,7 +592,7 @@ export type EntityDataVerification = {
591
592
  taxable: string;
592
593
  type: string;
593
594
  };
594
- export type IndividualDataVerification = {
595
+ export declare type IndividualDataVerification = {
595
596
  'birth.city': string;
596
597
  'birth.country': string;
597
598
  'birth.date': string;
@@ -638,14 +639,14 @@ export interface EventPageTrackingData extends CommonDataLayer {
638
639
  export interface PageTrackingData {
639
640
  title?: string;
640
641
  }
641
- export type VerifyExpressTokenParams = {
642
+ export declare type VerifyExpressTokenParams = {
642
643
  public_key: string;
643
644
  post: {
644
645
  url: string;
645
646
  };
646
647
  lead_id: string;
647
648
  };
648
- export type ConfigExpressTokenParams = {
649
+ export declare type ConfigExpressTokenParams = {
649
650
  post: {
650
651
  url: string;
651
652
  };
@@ -654,7 +655,7 @@ export type ConfigExpressTokenParams = {
654
655
  platform_redirect_url: string;
655
656
  data: Array<string>;
656
657
  };
657
- export type ConfigAuthTokenParams = ConfigExpressTokenParams;
658
+ export declare type ConfigAuthTokenParams = ConfigExpressTokenParams;
658
659
  export declare enum MerchantStatus {
659
660
  DISABLED = "disabled",
660
661
  ENABLED = "enabled"
@@ -733,7 +734,7 @@ interface TerminalAuthorizes {
733
734
  status: string;
734
735
  status_message: string;
735
736
  }
736
- export type CountryInfo = {
737
+ export declare type CountryInfo = {
737
738
  id: number;
738
739
  label: string;
739
740
  country: {
@@ -745,7 +746,7 @@ export type CountryInfo = {
745
746
  logo: string;
746
747
  };
747
748
  };
748
- export type BusinessCountryInfo = {
749
+ export declare type BusinessCountryInfo = {
749
750
  id: number;
750
751
  title: string;
751
752
  countries: Array<CountryInfo>;
@@ -1,47 +1,47 @@
1
1
  import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo } from './app';
2
- export type MobileFormValues = {
2
+ export declare type MobileFormValues = {
3
3
  mobile: string;
4
4
  countryCode: CountryCode;
5
5
  termAndConditionChecked?: boolean;
6
6
  };
7
- export type EmailFormValues = {
7
+ export declare type EmailFormValues = {
8
8
  email: string | null;
9
9
  };
10
- export type OTPFormValues = {
10
+ export declare type OTPFormValues = {
11
11
  otp: string;
12
12
  };
13
- export type PasswordFormValues = {
13
+ export declare type PasswordFormValues = {
14
14
  password: string;
15
15
  };
16
- export type NIDFormValues = {
16
+ export declare type NIDFormValues = {
17
17
  nid: string;
18
18
  dob: string;
19
19
  termAndConditionChecked?: boolean;
20
20
  };
21
- export type CivilFormValues = {
21
+ export declare type CivilFormValues = {
22
22
  civilId: string;
23
23
  termAndConditionChecked?: boolean;
24
24
  };
25
- export type IndividualFormValues = {
25
+ export declare type IndividualFormValues = {
26
26
  name: string;
27
27
  email: string;
28
28
  mobile: string | null;
29
29
  countryCode: CountryCode;
30
30
  };
31
- export type BrandFormValues = {
31
+ export declare type BrandFormValues = {
32
32
  brandName: string;
33
33
  brandLogoId?: string;
34
34
  salesChannels: Array<SaleChannel>;
35
35
  termAndConditionChecked?: boolean;
36
36
  selectedBrandItem: BrandInfo;
37
37
  };
38
- export type BrandSegmentFormValues = {
38
+ export declare type BrandSegmentFormValues = {
39
39
  segmentLocation?: Segment | undefined;
40
40
  segmentProfit?: Segment | undefined;
41
41
  segmentTech?: Segment | undefined;
42
42
  teamSize?: TeamSize | undefined;
43
43
  };
44
- export type BrandActivitiesFormValues = {
44
+ export declare type BrandActivitiesFormValues = {
45
45
  activities: Array<Activity>;
46
46
  customerLocations: Array<CustomerLocation>;
47
47
  expectedCustomer: ExpectedCustomer | undefined;
@@ -50,7 +50,7 @@ export type BrandActivitiesFormValues = {
50
50
  refundPolicy: boolean;
51
51
  transactionPolicy: boolean;
52
52
  };
53
- export type BusinessTypeFormValues = {
53
+ export declare type BusinessTypeFormValues = {
54
54
  licenseNumber: string;
55
55
  entityLegalName?: string;
56
56
  selectedEntityLicense?: EntityLicense;
@@ -58,18 +58,18 @@ export type BusinessTypeFormValues = {
58
58
  certificateId?: Array<string>;
59
59
  articleId?: string;
60
60
  };
61
- export type ActivitiesFormValues = {
61
+ export declare type ActivitiesFormValues = {
62
62
  activities: Array<Activity> | undefined;
63
63
  operationStartDate: string;
64
64
  };
65
- export type CustomersFormValues = {
65
+ export declare type CustomersFormValues = {
66
66
  customerLocations: Array<CustomerLocation>;
67
67
  expectedCustomer: ExpectedCustomer | undefined;
68
68
  expectedSale: ExpectedSaleRange | undefined;
69
69
  refundPolicy: boolean;
70
70
  transactionPolicy: boolean;
71
71
  };
72
- export type BankFormValues = {
72
+ export declare type BankFormValues = {
73
73
  iban: string;
74
74
  beneficiaryName: string;
75
75
  bankName: string;
@@ -77,7 +77,7 @@ export type BankFormValues = {
77
77
  uploading?: boolean;
78
78
  confirmPolicy: boolean;
79
79
  };
80
- export type TaxFormValues = {
80
+ export declare type TaxFormValues = {
81
81
  vatId: string;
82
82
  confirmPolicy: boolean;
83
83
  documentId?: Array<string>;
@@ -110,17 +110,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
110
110
  shareCount: string;
111
111
  shareValue: string;
112
112
  }
113
- export type IndividualAttachmentsFormValues = {
113
+ export declare type IndividualAttachmentsFormValues = {
114
114
  civilID?: Array<string>;
115
115
  signatureFileId?: Array<string>;
116
116
  civilIDUploading?: boolean;
117
117
  signatureFileUploading?: boolean;
118
118
  };
119
- export type PasswordCreateFormValues = {
119
+ export declare type PasswordCreateFormValues = {
120
120
  password: string;
121
121
  confirmPassword: string;
122
122
  };
123
- export type EntityNameFormValues = {
123
+ export declare type EntityNameFormValues = {
124
124
  legalName: string;
125
125
  licenseNumber: string;
126
126
  licenseType: string;
@@ -131,19 +131,19 @@ export type EntityNameFormValues = {
131
131
  certificateId?: Array<string>;
132
132
  articleId?: string;
133
133
  };
134
- export type EntityCapitalFormValues = {
134
+ export declare type EntityCapitalFormValues = {
135
135
  activities: Array<Activity>;
136
136
  capitalPaid: string;
137
137
  capitalShareCount: string;
138
138
  capitalShareValue: string;
139
139
  };
140
- export type BusinessDataFormValues = {
140
+ export declare type BusinessDataFormValues = {
141
141
  brandName: string;
142
142
  licenseNumber: string;
143
143
  selectedLicense?: License;
144
144
  termAndConditionChecked?: boolean;
145
145
  };
146
- export type AuthenticationListFormValues = {
146
+ export declare type AuthenticationListFormValues = {
147
147
  brandInfo?: BrandInfo;
148
148
  entityInfo?: EntityLicenseAuth;
149
149
  merchantInfo?: AuthMerchantInfo;
@@ -11,4 +11,4 @@ export declare enum DirectionMode {
11
11
  RTL = "rtl",
12
12
  LTR = "ltr"
13
13
  }
14
- export type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
14
+ export declare type ThemContext = Partial<Theme> | ((outerTheme: Theme) => Theme);
@@ -1,4 +1,4 @@
1
- export type CreateAccountBody = {
1
+ export declare type CreateAccountBody = {
2
2
  lead_id: string;
3
3
  notify: {
4
4
  email: boolean;
@@ -8,7 +8,7 @@ export type CreateAccountBody = {
8
8
  is_acknowledged: boolean;
9
9
  step_name: string;
10
10
  };
11
- export type ExpressCreateAccountBody = {
11
+ export declare type ExpressCreateAccountBody = {
12
12
  post_url: string;
13
13
  lead_id: string;
14
14
  };
@@ -1,23 +1,23 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
2
  import { LanguageMode } from '../@types';
3
- export type MobileCredential = {
3
+ export declare type MobileCredential = {
4
4
  code: string;
5
5
  phone: string;
6
6
  };
7
- export type EmailCredential = {
7
+ export declare type EmailCredential = {
8
8
  email: string;
9
9
  };
10
- export type IDCredential = {
10
+ export declare 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 type CivilID = {
16
+ export declare type CivilID = {
17
17
  identification_id: string;
18
18
  country_code: string;
19
19
  };
20
- export type CreateAuthBody = {
20
+ export declare type CreateAuthBody = {
21
21
  country: string;
22
22
  scope: string;
23
23
  user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
@@ -30,7 +30,7 @@ export type CreateAuthBody = {
30
30
  lang?: LanguageMode;
31
31
  lead_id?: string;
32
32
  };
33
- export type VerifyAuthBody = {
33
+ export declare type VerifyAuthBody = {
34
34
  auth_token: string;
35
35
  auth_type: number;
36
36
  data: string;
@@ -44,28 +44,28 @@ export type VerifyAuthBody = {
44
44
  lead_id?: string;
45
45
  terms?: Array<string>;
46
46
  };
47
- export type VerifyOperationAuthBody = {
47
+ export declare type VerifyOperationAuthBody = {
48
48
  auth_token: string;
49
49
  auth_type: number;
50
50
  };
51
- export type ResetPasswordCredential = {
51
+ export declare type ResetPasswordCredential = {
52
52
  otp: string;
53
53
  new_password: string;
54
54
  };
55
- export type ResetPasswordVerifyAuthBody = {
55
+ export declare type ResetPasswordVerifyAuthBody = {
56
56
  auth_token: string;
57
57
  auth_type: number;
58
58
  step_name: string;
59
59
  user_credentail: ResetPasswordCredential;
60
60
  encryption_contract: Array<string>;
61
61
  };
62
- export type CreatePasswordBody = {
62
+ export declare type CreatePasswordBody = {
63
63
  password: string;
64
64
  signup_token?: string;
65
65
  step_name: string;
66
66
  encryption_contract: Array<string>;
67
67
  };
68
- export type VerifyAuthExpressOTPBody = {
68
+ export declare type VerifyAuthExpressOTPBody = {
69
69
  auth_token?: string;
70
70
  verify_token?: string;
71
71
  lead_id?: string;
@@ -80,10 +80,28 @@ export type VerifyAuthExpressOTPBody = {
80
80
  terms?: Array<string>;
81
81
  encryption_contract: Array<string>;
82
82
  };
83
- export type getExpressTokenVerifyParams = {
83
+ export declare type getExpressTokenVerifyParams = {
84
84
  token: string;
85
85
  leadId: string;
86
86
  };
87
+ export declare type ConfigBody = {
88
+ board: boolean;
89
+ public_key: string;
90
+ domain: string;
91
+ language: string;
92
+ country: string;
93
+ scope: string;
94
+ lead_id: string;
95
+ maturity: boolean;
96
+ board_maturity?: boolean;
97
+ notification?: {
98
+ email: boolean;
99
+ sms: boolean;
100
+ };
101
+ post?: {
102
+ url: string;
103
+ };
104
+ };
87
105
  declare const authService: {
88
106
  createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
89
107
  verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -97,5 +115,6 @@ declare const authService: {
97
115
  createExpressLeadIdentityAuth: (data: CreateAuthBody) => Promise<any>;
98
116
  getVerifyExpressAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
99
117
  getExpressTokenVerify: ({ token, leadId }: getExpressTokenVerifyParams, config?: AxiosRequestConfig) => Promise<any>;
118
+ generateConfigToken: (body: ConfigBody) => Promise<any>;
100
119
  };
101
120
  export { authService };
package/build/api/auth.js CHANGED
@@ -68,6 +68,13 @@ var createAuthKitNID = function (data) {
68
68
  data: data
69
69
  });
70
70
  };
71
+ var generateConfigToken = function (body) {
72
+ return httpClient({
73
+ method: 'post',
74
+ url: ENDPOINT_PATHS.CONNECT,
75
+ data: body
76
+ });
77
+ };
71
78
  var authService = {
72
79
  createAuth: createAuth,
73
80
  verifyAuth: verifyAuth,
@@ -80,6 +87,7 @@ var authService = {
80
87
  verifyExpressLeadIdentity: verifyExpressLeadIdentity,
81
88
  createExpressLeadIdentityAuth: createExpressLeadIdentityAuth,
82
89
  getVerifyExpressAuth: getVerifyExpressAuth,
83
- getExpressTokenVerify: getExpressTokenVerify
90
+ getExpressTokenVerify: getExpressTokenVerify,
91
+ generateConfigToken: generateConfigToken
84
92
  };
85
93
  export { authService };
@@ -1,15 +1,15 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export type CheckEmailBody = {
2
+ export declare type CheckEmailBody = {
3
3
  email: string | null;
4
4
  country: string;
5
5
  encryption_contract: Array<string>;
6
6
  };
7
- export type CheckBrandBody = {
7
+ export declare type CheckBrandBody = {
8
8
  profile_name: string;
9
9
  country_code: string;
10
10
  encryption_contract: Array<string>;
11
11
  };
12
- export type CheckIBanBody = {
12
+ export declare type CheckIBanBody = {
13
13
  iban_number: string;
14
14
  encryption_contract?: Array<string>;
15
15
  };
@@ -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 (g && (g = 0, op[0] && (_ = 0)), _) try {
16
+ while (_) 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 type UpdateBoardBody = {
1
+ export declare 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 type RetrieveBoardInfoBody = {
8
+ export declare type RetrieveBoardInfoBody = {
9
9
  id: string;
10
10
  infoId: string;
11
11
  };
12
- export type UpdateBoardInfoBody = {
12
+ export declare 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 type RemoveBrandActivity = {
2
+ export declare type RemoveBrandActivity = {
3
3
  id: string;
4
4
  activities?: Array<{
5
5
  id: string;
@@ -1,4 +1,4 @@
1
- export type GetCitiesBody = {
1
+ export declare type GetCitiesBody = {
2
2
  country: string[];
3
3
  };
4
4
  declare const countryService: {
@@ -1,41 +1,41 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- type GetOccupationBody = {
2
+ declare type GetOccupationBody = {
3
3
  page: number;
4
4
  };
5
- type GetSegmentsBody = {
5
+ declare type GetSegmentsBody = {
6
6
  page: number;
7
7
  };
8
- type GetTeamSizeBody = {
8
+ declare type GetTeamSizeBody = {
9
9
  page: number;
10
10
  };
11
- type SegmentDataListBody = {
11
+ declare type SegmentDataListBody = {
12
12
  page: number;
13
13
  limit: number;
14
14
  };
15
- type GetMonthlyIncomeBody = {
15
+ declare type GetMonthlyIncomeBody = {
16
16
  page: number;
17
17
  country_code: Array<string>;
18
18
  };
19
- export type DataElementBody = {
19
+ export declare type DataElementBody = {
20
20
  id: string;
21
21
  name: {
22
22
  en: string;
23
23
  ar: string;
24
24
  };
25
25
  };
26
- type GetCustomerBasesBody = {
26
+ declare type GetCustomerBasesBody = {
27
27
  page: number;
28
28
  };
29
- type GetExpectedSalesBody = {
29
+ declare type GetExpectedSalesBody = {
30
30
  page: number;
31
31
  };
32
- type GetExpectedCustomerSalesBody = {
32
+ declare type GetExpectedCustomerSalesBody = {
33
33
  page: number;
34
34
  };
35
- type GetSourceOfIncomeBody = {
35
+ declare type GetSourceOfIncomeBody = {
36
36
  page: number;
37
37
  };
38
- type GetChannelsOfServicesBody = {
38
+ declare type GetChannelsOfServicesBody = {
39
39
  page: number;
40
40
  };
41
41
  declare const dataService: {
@@ -1,4 +1,4 @@
1
- export type DocumentInfo = {
1
+ export declare type DocumentInfo = {
2
2
  type?: string;
3
3
  number?: string;
4
4
  issuing_country?: string;
@@ -6,7 +6,7 @@ export type DocumentInfo = {
6
6
  expiry_date?: string;
7
7
  images: Array<string>;
8
8
  };
9
- export type DocumentUpdateBody = {
9
+ export declare type DocumentUpdateBody = {
10
10
  entity_id?: boolean;
11
11
  individual_type_id?: number;
12
12
  country?: string;
@@ -1,5 +1,5 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export type EntityInfoBody = {
2
+ export declare type EntityInfoBody = {
3
3
  id: string;
4
4
  lead_id?: string;
5
5
  activities?: Array<{
@@ -34,7 +34,7 @@ export type EntityInfoBody = {
34
34
  encryption_contract?: Array<string>;
35
35
  vat_acknowledged_by?: string;
36
36
  };
37
- export type BankDocumentInfo = {
37
+ export declare type BankDocumentInfo = {
38
38
  type?: string;
39
39
  number?: string;
40
40
  issuing_country?: string;
@@ -42,7 +42,7 @@ export type BankDocumentInfo = {
42
42
  expiry_date?: string;
43
43
  files: Array<string>;
44
44
  };
45
- export type EntityBankUpdateBody = {
45
+ export declare type EntityBankUpdateBody = {
46
46
  wallet_id: string;
47
47
  acknowledged_by?: string;
48
48
  bank_account: {
@@ -58,7 +58,7 @@ export type EntityBankUpdateBody = {
58
58
  step_name: string;
59
59
  encryption_contract?: Array<string>;
60
60
  };
61
- export type UpdateEntityBody = {
61
+ export declare type UpdateEntityBody = {
62
62
  id: string;
63
63
  license?: {
64
64
  type?: string;
@@ -88,13 +88,13 @@ export type UpdateEntityBody = {
88
88
  };
89
89
  encryption_contract?: Array<string>;
90
90
  };
91
- export type UpdateEntityActivityBody = {
91
+ export declare type UpdateEntityActivityBody = {
92
92
  id: string;
93
93
  activities?: Array<{
94
94
  id: string;
95
95
  }>;
96
96
  };
97
- export type UpdateEntityCapitalBody = {
97
+ export declare type UpdateEntityCapitalBody = {
98
98
  id: string;
99
99
  capital: {
100
100
  paid: string;
@@ -104,16 +104,21 @@ export type UpdateEntityCapitalBody = {
104
104
  };
105
105
  };
106
106
  };
107
- export type UpdateEntityAOAFileBody = {
107
+ export declare type UpdateEntityAOAFileBody = {
108
108
  id: string;
109
109
  AOA_file_id: string;
110
110
  };
111
- export type RemoveEntityActivity = {
111
+ export declare type RemoveEntityActivity = {
112
112
  id: string;
113
113
  activities?: Array<{
114
114
  id: string;
115
115
  }>;
116
116
  };
117
+ export declare type MerchantListBody = {
118
+ business_entity_id: string;
119
+ create_if_not_present: boolean;
120
+ platforms?: Array<string>;
121
+ };
117
122
  declare const entityService: {
118
123
  createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
119
124
  updateEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -130,7 +135,7 @@ declare const entityService: {
130
135
  retrieveAllEntities: (id: string) => Promise<any>;
131
136
  removeEntityActivities: ({ id, ...data }: RemoveEntityActivity) => Promise<any>;
132
137
  getEntityListUsingIndividualId: (individualId: string) => Promise<any>;
133
- getMerchantListUsingEntityId: (entityId: string) => Promise<any>;
138
+ getMerchantListUsingEntityId: (data: MerchantListBody) => Promise<any>;
134
139
  getTerminalListUsingMerchantId: (merchantId: string) => Promise<any>;
135
140
  };
136
141
  export { entityService };