@tap-payments/auth-jsconnect 2.0.51 → 2.0.52

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 (292) hide show
  1. package/build/@types/app.d.ts +90 -7
  2. package/build/@types/app.js +7 -0
  3. package/build/@types/form.d.ts +21 -20
  4. package/build/@types/theme.d.ts +1 -1
  5. package/build/api/account.d.ts +2 -2
  6. package/build/api/auth.d.ts +11 -11
  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/country.d.ts +1 -1
  11. package/build/api/data.d.ts +10 -10
  12. package/build/api/document.d.ts +2 -2
  13. package/build/api/entity.d.ts +12 -12
  14. package/build/api/file.d.ts +1 -1
  15. package/build/api/individual.d.ts +5 -5
  16. package/build/api/lead.d.ts +10 -10
  17. package/build/api/operator.d.ts +1 -1
  18. package/build/api/operator.js +1 -1
  19. package/build/api/user.d.ts +2 -2
  20. package/build/app/settings.d.ts +4 -11
  21. package/build/app/settings.js +13 -5
  22. package/build/app/store.d.ts +4 -4
  23. package/build/assets/locales/ar.json +3 -1
  24. package/build/assets/locales/en.json +3 -1
  25. package/build/components/DatePicker/DatePicker.js +1 -0
  26. package/build/components/RadioGroup/RadioGroup.d.ts +5 -2
  27. package/build/components/RadioGroup/RadioGroup.js +5 -9
  28. package/build/components/RadioGroup/index.d.ts +1 -1
  29. package/build/components/Slide/Slide.d.ts +1 -1
  30. package/build/constants/app.d.ts +3 -2
  31. package/build/constants/app.js +1 -0
  32. package/build/constants/validation.d.ts +1 -0
  33. package/build/constants/validation.js +1 -0
  34. package/build/features/app/bank/bankStore.d.ts +9 -73
  35. package/build/features/app/bank/bankStore.js +68 -91
  36. package/build/features/app/brand/brandStore.d.ts +16 -103
  37. package/build/features/app/brand/brandStore.js +62 -49
  38. package/build/features/app/business/businessStore.d.ts +18 -162
  39. package/build/features/app/business/businessStore.js +4 -3
  40. package/build/features/app/connect/connectStore.d.ts +13 -121
  41. package/build/features/app/connect/connectStore.js +5 -4
  42. package/build/features/app/connectExpress/connectExpressStore.d.ts +22 -211
  43. package/build/features/app/connectExpress/connectExpressStore.js +9 -10
  44. package/build/features/app/entity/entityStore.d.ts +9 -74
  45. package/build/features/app/entity/entityStore.js +129 -152
  46. package/build/features/app/individual/individualStore.d.ts +21 -167
  47. package/build/features/app/individual/individualStore.js +176 -202
  48. package/build/features/app/password/passwordStore.d.ts +12 -102
  49. package/build/features/app/password/passwordStore.js +1 -1
  50. package/build/features/app/signIn/signInStore.d.ts +7 -61
  51. package/build/features/app/signIn/signInStore.js +1 -1
  52. package/build/features/app/tax/taxStore.d.ts +8 -62
  53. package/build/features/app/tax/taxStore.js +48 -62
  54. package/build/features/bank/screens/BankDetails/BankDetails.js +20 -5
  55. package/build/features/bank/screens/BankDetails/BankName.d.ts +4 -1
  56. package/build/features/bank/screens/BankDetails/BankName.js +8 -7
  57. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +5 -2
  58. package/build/features/bank/screens/BankDetails/BankStatement.js +3 -8
  59. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
  60. package/build/features/bank/screens/BankDetails/Beneficiary.js +8 -7
  61. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +4 -1
  62. package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +12 -13
  63. package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
  64. package/build/features/bank/screens/BankDetails/IBAN.js +3 -3
  65. package/build/features/bank/screens/BankDetails/validation.d.ts +14 -14
  66. package/build/features/bank/screens/BankDetails/validation.js +16 -21
  67. package/build/features/bank/screens/Verify/OTPInput.js +5 -3
  68. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +15 -18
  69. package/build/features/brand/screens/BrandActivities/ActivitiesList.js +14 -9
  70. package/build/features/brand/screens/BrandActivities/BrandActivities.js +14 -5
  71. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +12 -16
  72. package/build/features/brand/screens/BrandActivities/CustomerBase.js +16 -13
  73. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
  74. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +22 -9
  75. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
  76. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +20 -7
  77. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +13 -6
  78. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +23 -12
  79. package/build/features/brand/screens/BrandActivities/TAC.d.ts +14 -1
  80. package/build/features/brand/screens/BrandActivities/TAC.js +21 -12
  81. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +4 -1
  82. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +18 -4
  83. package/build/features/brand/screens/BrandActivities/validation.d.ts +7 -7
  84. package/build/features/brand/screens/BrandActivities/validation.js +10 -19
  85. package/build/features/brand/screens/BrandInfo/BrandInfo.js +20 -12
  86. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +9 -0
  87. package/build/features/brand/screens/BrandInfo/BrandLogo.js +52 -0
  88. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +2 -1
  89. package/build/features/brand/screens/BrandInfo/BrandName.js +3 -3
  90. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +2 -1
  91. package/build/features/brand/screens/BrandInfo/SalesChannels.js +2 -1
  92. package/build/features/brand/screens/BrandInfo/Segments.d.ts +2 -1
  93. package/build/features/brand/screens/BrandInfo/Segments.js +12 -2
  94. package/build/features/brand/screens/BrandInfo/TeamSize.d.ts +2 -1
  95. package/build/features/brand/screens/BrandInfo/TeamSize.js +12 -2
  96. package/build/features/brand/screens/BrandInfo/validation.d.ts +6 -6
  97. package/build/features/brand/screens/BrandInfo/validation.js +36 -42
  98. package/build/features/brand/screens/Verify/OTPInput.js +5 -3
  99. package/build/features/business/screens/Activities/ActivitiesList.d.ts +12 -17
  100. package/build/features/business/screens/Activities/ActivitiesList.js +5 -5
  101. package/build/features/business/screens/Activities/OperationStartDate.d.ts +2 -2
  102. package/build/features/business/screens/Activities/OperationStartDate.js +2 -2
  103. package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
  104. package/build/features/business/screens/BusinessType/LicenseList.js +1 -1
  105. package/build/features/business/screens/BusinessType/LicenseType.d.ts +5 -5
  106. package/build/features/business/screens/Customers/CustomerLocations.d.ts +10 -15
  107. package/build/features/business/screens/Customers/CustomerLocations.js +5 -5
  108. package/build/features/business/screens/Customers/ExpectedCustomers.js +12 -2
  109. package/build/features/business/screens/Customers/ExpectedSalesRange.js +12 -2
  110. package/build/features/business/screens/Customers/RefundPolicy.d.ts +5 -5
  111. package/build/features/business/screens/IDBOD/DOB.js +1 -1
  112. package/build/features/business/screens/Verify/OTPInput.js +5 -3
  113. package/build/features/connect/screens/Individual/Email.js +1 -1
  114. package/build/features/connect/screens/Merchant/BrandList.js +1 -1
  115. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  116. package/build/features/connect/screens/Merchant/Segments.js +6 -1
  117. package/build/features/connect/screens/Merchant/TeamSize.js +6 -1
  118. package/build/features/connect/screens/Merchant/validation.js +5 -5
  119. package/build/features/connectExpress/screens/Brand/Brand.js +1 -1
  120. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +2 -1
  121. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +3 -3
  122. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +5 -3
  123. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +2 -1
  124. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +7 -5
  125. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  126. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +1 -1
  127. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +7 -6
  128. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +4 -2
  129. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +14 -1
  130. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +9 -10
  131. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +9 -5
  132. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +2 -1
  133. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +3 -3
  134. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.d.ts +1 -0
  135. package/build/features/connectExpress/screens/CollectIndividualInfo/MobileNumber.js +6 -2
  136. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +2 -1
  137. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.js +2 -2
  138. package/build/features/connectExpress/screens/Mobile/Mobile.js +4 -2
  139. package/build/features/connectExpress/screens/Mobile/MobileNumber.d.ts +1 -0
  140. package/build/features/connectExpress/screens/Mobile/MobileNumber.js +6 -2
  141. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +2 -1
  142. package/build/features/connectExpress/screens/Mobile/TAC.js +3 -1
  143. package/build/features/connectExpress/screens/NID/DOB.d.ts +2 -1
  144. package/build/features/connectExpress/screens/NID/DOB.js +2 -2
  145. package/build/features/connectExpress/screens/NID/IDNumber.d.ts +1 -0
  146. package/build/features/connectExpress/screens/NID/IDNumber.js +2 -2
  147. package/build/features/connectExpress/screens/NID/NID.js +4 -2
  148. package/build/features/connectExpress/screens/NID/TAC.d.ts +14 -1
  149. package/build/features/connectExpress/screens/NID/TAC.js +9 -10
  150. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +14 -18
  151. package/build/features/entity/screens/EntityCapital/ActivityList.js +20 -27
  152. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +2 -1
  153. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +7 -3
  154. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +2 -1
  155. package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +7 -3
  156. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +2 -1
  157. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +7 -3
  158. package/build/features/entity/screens/EntityCapital/EntityCapital.js +19 -17
  159. package/build/features/entity/screens/EntityCapital/validation.d.ts +10 -10
  160. package/build/features/entity/screens/EntityCapital/validation.js +4 -10
  161. package/build/features/entity/screens/EntityName/Article.d.ts +5 -2
  162. package/build/features/entity/screens/EntityName/Article.js +9 -6
  163. package/build/features/entity/screens/EntityName/EntityName.js +20 -5
  164. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +14 -18
  165. package/build/features/entity/screens/EntityName/EntityTypeList.js +24 -27
  166. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +4 -3
  167. package/build/features/entity/screens/EntityName/ExpiryDate.js +2 -2
  168. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +4 -3
  169. package/build/features/entity/screens/EntityName/IssuingDate.js +2 -2
  170. package/build/features/entity/screens/EntityName/LegalName.d.ts +2 -1
  171. package/build/features/entity/screens/EntityName/LegalName.js +8 -4
  172. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +4 -1
  173. package/build/features/entity/screens/EntityName/LicenseCertificate.js +8 -9
  174. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +2 -1
  175. package/build/features/entity/screens/EntityName/LicenseNumber.js +8 -5
  176. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +2 -1
  177. package/build/features/entity/screens/EntityName/UnifiedNumber.js +8 -5
  178. package/build/features/entity/screens/EntityName/validation.d.ts +35 -35
  179. package/build/features/entity/screens/EntityName/validation.js +68 -93
  180. package/build/features/entity/screens/Verify/OTPInput.js +5 -3
  181. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +2 -2
  182. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +25 -6
  183. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +7 -1
  184. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +21 -9
  185. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +2 -1
  186. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +8 -6
  187. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +2 -1
  188. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +25 -25
  189. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
  190. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +25 -25
  191. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +6 -5
  192. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +8 -6
  193. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +2 -1
  194. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +8 -2
  195. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +2 -1
  196. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +8 -3
  197. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +4 -1
  198. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +8 -9
  199. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +2 -1
  200. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +25 -25
  201. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +2 -2
  202. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +6 -11
  203. package/build/features/individual/screens/IndividualList/Email.js +1 -1
  204. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +4 -4
  205. package/build/features/individual/screens/IndividualList/MobileNumber.js +0 -1
  206. package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.d.ts +1 -0
  207. package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +12 -2
  208. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.d.ts +1 -0
  209. package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +12 -2
  210. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +2 -1
  211. package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +3 -3
  212. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +2 -1
  213. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +2 -4
  214. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +2 -1
  215. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +4 -5
  216. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +7 -6
  217. package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +4 -2
  218. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +2 -1
  219. package/build/features/individual/screens/IndividualPersonalInfo/ID.js +2 -7
  220. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +2 -2
  221. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +20 -4
  222. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +1 -0
  223. package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +13 -7
  224. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +1 -0
  225. package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +11 -10
  226. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +2 -1
  227. package/build/features/individual/screens/IndividualPersonalInfo/Name.js +2 -2
  228. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +1 -0
  229. package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +13 -7
  230. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.d.ts +1 -0
  231. package/build/features/individual/screens/IndividualPhoneInfo/MobileNumber.js +6 -3
  232. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +4 -2
  233. package/build/features/individual/screens/Verify/OTPInput.js +5 -3
  234. package/build/features/password/screens/Verify/OTPInput.js +5 -3
  235. package/build/features/shared/Address/CountryList.d.ts +9 -9
  236. package/build/features/shared/Address/CountryList.js +1 -1
  237. package/build/features/shared/Address/InputSelect.d.ts +9 -9
  238. package/build/features/shared/Address/InputSelect.js +2 -2
  239. package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
  240. package/build/features/shared/Button/FlowsButtons.d.ts +1 -1
  241. package/build/features/shared/Button/FlowsButtons.js +15 -20
  242. package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
  243. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  244. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  245. package/build/features/shared/GenericError/GenericError.js +1 -1
  246. package/build/features/shared/Input/Input.d.ts +3 -3
  247. package/build/features/shared/Input/Input.js +2 -3
  248. package/build/features/shared/OTP/OTP.d.ts +2 -1
  249. package/build/features/shared/OTP/OTP.js +2 -2
  250. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
  251. package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +5 -4
  252. package/build/features/shared/SalesChannels/SalesChannel.d.ts +2 -1
  253. package/build/features/shared/SalesChannels/SalesChannel.js +5 -4
  254. package/build/features/shared/UploadFile/FileUpload.d.ts +6 -4
  255. package/build/features/shared/UploadFile/FileUpload.js +19 -15
  256. package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
  257. package/build/features/shared/UploadFile/UploadFile.js +7 -7
  258. package/build/features/shared/UploadFile/UploadWrapper.d.ts +5 -3
  259. package/build/features/shared/UploadFile/UploadWrapper.js +3 -2
  260. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +5 -4
  261. package/build/features/shared/UploadMultipleFile/UploadFile.js +14 -10
  262. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +4 -3
  263. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +3 -3
  264. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +4 -1
  265. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +12 -12
  266. package/build/features/tax/screens/TaxDetails/TaxDetails.js +9 -4
  267. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +4 -1
  268. package/build/features/tax/screens/TaxDetails/TaxDocument.js +3 -8
  269. package/build/features/tax/screens/TaxDetails/VATId.d.ts +4 -1
  270. package/build/features/tax/screens/TaxDetails/VATId.js +5 -7
  271. package/build/features/tax/screens/TaxDetails/validation.d.ts +4 -4
  272. package/build/features/tax/screens/TaxDetails/validation.js +2 -5
  273. package/build/features/tax/screens/Verify/OTPInput.js +5 -3
  274. package/build/hooks/index.d.ts +3 -0
  275. package/build/hooks/index.js +3 -0
  276. package/build/hooks/useAppConfig.d.ts +1 -1
  277. package/build/hooks/useAppConfig.js +4 -2
  278. package/build/hooks/useDataNoneEditable.d.ts +2 -0
  279. package/build/hooks/useDataNoneEditable.js +19 -0
  280. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +6 -0
  281. package/build/hooks/useFormErrorAndUpdateReadOnly.js +48 -0
  282. package/build/hooks/useFormReadOnly.d.ts +6 -0
  283. package/build/hooks/useFormReadOnly.js +40 -0
  284. package/build/utils/error.d.ts +1 -0
  285. package/build/utils/error.js +3 -0
  286. package/build/utils/object.d.ts +4 -0
  287. package/build/utils/object.js +17 -0
  288. package/build/utils/string.d.ts +1 -1
  289. package/build/utils/string.js +13 -7
  290. package/package.json +2 -2
  291. package/build/features/brand/screens/BrandActivities/OperationStartDate.d.ts +0 -20
  292. package/build/features/brand/screens/BrandActivities/OperationStartDate.js +0 -45
@@ -186,6 +186,7 @@ export interface LibConfig extends LibCallbacks {
186
186
  appInfo: AppInfo;
187
187
  businessCountryCode: string;
188
188
  scope: string;
189
+ boardMaturity?: boolean;
189
190
  }
190
191
  export interface OSDetails {
191
192
  name: string;
@@ -240,7 +241,7 @@ export interface LocalProps {
240
241
  };
241
242
  };
242
243
  }
243
- export type BrandInfo = {
244
+ export declare type BrandInfo = {
244
245
  segment?: {
245
246
  type: {
246
247
  id: string;
@@ -269,7 +270,7 @@ export declare enum FlowsTypes {
269
270
  AUTH = "auth",
270
271
  BRAND = "brand"
271
272
  }
272
- export type FlowInfo = {
273
+ export declare type FlowInfo = {
273
274
  name: string;
274
275
  status: string;
275
276
  url: string;
@@ -284,7 +285,7 @@ export declare enum AddressFormateType {
284
285
  NUMBER = "number",
285
286
  TEXT = "text"
286
287
  }
287
- export type AddressFormat = {
288
+ export declare type AddressFormat = {
288
289
  code: string;
289
290
  name: {
290
291
  ar: string;
@@ -295,14 +296,14 @@ export type AddressFormat = {
295
296
  sort: number;
296
297
  type: AddressFormateType;
297
298
  };
298
- export type AddressType = {
299
+ export declare type AddressType = {
299
300
  code: string;
300
301
  name: {
301
302
  ar: string;
302
303
  en: string;
303
304
  };
304
305
  };
305
- export type AddressProps = {
306
+ export declare type AddressProps = {
306
307
  format: AddressFormat[];
307
308
  type: AddressType;
308
309
  };
@@ -331,9 +332,10 @@ export declare enum DocumentPurpose {
331
332
  BANK_STATEMENT = "bank_statement",
332
333
  IDENTITY_DOCUMENT = "identity_document",
333
334
  CUSTOMER_SIGNATURE = "customer_signature",
334
- TAX_DOCUMENT = "tax_document_user_upload"
335
+ TAX_DOCUMENT = "tax_document_user_upload",
336
+ BRAND_LOGO = "business_logo"
335
337
  }
336
- export type FileDetails = {
338
+ export declare type FileDetails = {
337
339
  created: string;
338
340
  id: string;
339
341
  object: string;
@@ -343,4 +345,85 @@ export type FileDetails = {
343
345
  type: string;
344
346
  docId?: string;
345
347
  };
348
+ export declare enum VerificationStatus {
349
+ VERIFIED = "verified",
350
+ ENTERED = "entered",
351
+ NOT_ENTERED = "not_entered"
352
+ }
353
+ export declare type BankDataStatus = {
354
+ iban: FieldType;
355
+ account_number: FieldType;
356
+ swift_code: FieldType;
357
+ bank_name: FieldType;
358
+ beneficiary_name: FieldType;
359
+ bank_statement_file_id: FieldType;
360
+ is_acknowledged: FieldType;
361
+ };
362
+ export declare type EntityDataStatus = {
363
+ type: FieldType;
364
+ 'license.status': FieldType;
365
+ 'license.provider': FieldType;
366
+ 'license.type': FieldType;
367
+ 'license.number': FieldType;
368
+ 'license.additional_info': FieldType;
369
+ 'license.issuing_date': FieldType;
370
+ 'license.expiry_date': FieldType;
371
+ 'capital.paid': FieldType;
372
+ 'capital.subscribed': FieldType;
373
+ 'capital.announced': FieldType;
374
+ 'capital.shares.count': FieldType;
375
+ 'capital.shares.value': FieldType;
376
+ activities: FieldType;
377
+ documents: FieldType;
378
+ location: FieldType;
379
+ 'legal_name.en': FieldType;
380
+ 'legal_name.ar': FieldType;
381
+ country: FieldType;
382
+ not_for_profit: FieldType;
383
+ is_vat_acknowledged: FieldType;
384
+ tax_number: FieldType;
385
+ opened_by: FieldType;
386
+ signed_by: FieldType;
387
+ settlement_by: FieldType;
388
+ billing_address: FieldType;
389
+ AOA_file_id: FieldType;
390
+ };
391
+ export declare type IndividualDataStatus = {
392
+ status: FieldType;
393
+ name: FieldType;
394
+ 'contact.email': FieldType;
395
+ 'contact.phone.number': FieldType;
396
+ 'contact.phone.country_code': FieldType;
397
+ nationality: FieldType;
398
+ 'birth.date': FieldType;
399
+ 'birth.city': FieldType;
400
+ 'birth.country': FieldType;
401
+ 'identification.id': FieldType;
402
+ 'identification.type': FieldType;
403
+ 'identification.expiry': FieldType;
404
+ 'identification.issuer_country': FieldType;
405
+ role: FieldType;
406
+ relation: FieldType;
407
+ occupation: FieldType;
408
+ is_authorized: FieldType;
409
+ address: FieldType;
410
+ source_of_income: FieldType;
411
+ monthly_income: FieldType;
412
+ is_relative_PEP: FieldType;
413
+ is_influencer: FieldType;
414
+ };
415
+ export declare type BrandDataStatus = {
416
+ status: FieldType;
417
+ name: FieldType;
418
+ 'operations.business_start_date': FieldType;
419
+ 'operations.sales_range': FieldType;
420
+ 'operations.customer_base': FieldType;
421
+ 'operations.customer_base_location': FieldType;
422
+ terms: FieldType;
423
+ 'segment.type': FieldType;
424
+ 'segment.teams': FieldType;
425
+ 'segment.sale': FieldType;
426
+ activities: FieldType;
427
+ channel_services: FieldType;
428
+ };
346
429
  export {};
@@ -67,4 +67,11 @@ export var DocumentPurpose;
67
67
  DocumentPurpose["IDENTITY_DOCUMENT"] = "identity_document";
68
68
  DocumentPurpose["CUSTOMER_SIGNATURE"] = "customer_signature";
69
69
  DocumentPurpose["TAX_DOCUMENT"] = "tax_document_user_upload";
70
+ DocumentPurpose["BRAND_LOGO"] = "business_logo";
70
71
  })(DocumentPurpose || (DocumentPurpose = {}));
72
+ export var VerificationStatus;
73
+ (function (VerificationStatus) {
74
+ VerificationStatus["VERIFIED"] = "verified";
75
+ VerificationStatus["ENTERED"] = "entered";
76
+ VerificationStatus["NOT_ENTERED"] = "not_entered";
77
+ })(VerificationStatus || (VerificationStatus = {}));
@@ -1,42 +1,43 @@
1
1
  import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City } 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
+ brandLogoId?: string;
33
34
  segment?: Segment | undefined;
34
35
  teamSize?: TeamSize | undefined;
35
36
  salesChannels: Array<SaleChannel>;
36
37
  termAndConditionChecked?: boolean;
37
38
  selectedBrandItem: BrandInfo;
38
39
  };
39
- export type BrandActivitiesFormValues = {
40
+ export declare type BrandActivitiesFormValues = {
40
41
  activities: Array<Activity>;
41
42
  customerLocations: Array<CustomerLocation>;
42
43
  expectedCustomer: ExpectedCustomer | undefined;
@@ -45,7 +46,7 @@ export type BrandActivitiesFormValues = {
45
46
  refundPolicy: boolean;
46
47
  transactionPolicy: boolean;
47
48
  };
48
- export type BusinessTypeFormValues = {
49
+ export declare type BusinessTypeFormValues = {
49
50
  licenseNumber: string;
50
51
  entityLegalName?: string;
51
52
  selectedLicense?: License;
@@ -53,18 +54,18 @@ export type BusinessTypeFormValues = {
53
54
  articleId?: string;
54
55
  articleFile?: File;
55
56
  };
56
- export type ActivitiesFormValues = {
57
+ export declare type ActivitiesFormValues = {
57
58
  activities: Array<Activity> | undefined;
58
59
  operationStartDate: string;
59
60
  };
60
- export type CustomersFormValues = {
61
+ export declare type CustomersFormValues = {
61
62
  customerLocations: Array<CustomerLocation>;
62
63
  expectedCustomer: ExpectedCustomer | undefined;
63
64
  expectedSale: ExpectedSaleRange | undefined;
64
65
  refundPolicy: boolean;
65
66
  transactionPolicy: boolean;
66
67
  };
67
- export type BankFormValues = {
68
+ export declare type BankFormValues = {
68
69
  iban: string;
69
70
  beneficiaryName: string;
70
71
  bankName: string;
@@ -72,9 +73,9 @@ export type BankFormValues = {
72
73
  uploading?: boolean;
73
74
  confirmPolicy: boolean;
74
75
  };
75
- export type TaxFormValues = {
76
+ export declare type TaxFormValues = {
76
77
  vatId: string;
77
- confirmPolicy: false;
78
+ confirmPolicy: boolean;
78
79
  documentId?: Array<string>;
79
80
  };
80
81
  export interface IndividualMobileFormValues {
@@ -106,17 +107,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
106
107
  shareCount: string;
107
108
  shareValue: string;
108
109
  }
109
- export type IndividualAttachmentsFormValues = {
110
+ export declare type IndividualAttachmentsFormValues = {
110
111
  civilID?: Array<string>;
111
112
  signatureFileId?: Array<string>;
112
113
  civilIDUploading?: boolean;
113
114
  signatureFileUploading?: boolean;
114
115
  };
115
- export type PasswordCreateFormValues = {
116
+ export declare type PasswordCreateFormValues = {
116
117
  password: string;
117
118
  confirmPassword: string;
118
119
  };
119
- export type EntityNameFormValues = {
120
+ export declare type EntityNameFormValues = {
120
121
  legalName: string;
121
122
  licenseNumber: string;
122
123
  licenseType: string;
@@ -127,13 +128,13 @@ export type EntityNameFormValues = {
127
128
  certificateId?: Array<string>;
128
129
  articleId?: string;
129
130
  };
130
- export type EntityCapitalFormValues = {
131
+ export declare type EntityCapitalFormValues = {
131
132
  activities: Array<Activity>;
132
133
  capitalPaid: string;
133
134
  capitalShareCount: string;
134
135
  capitalShareValue: string;
135
136
  };
136
- export type BusinessDataFormValues = {
137
+ export declare type BusinessDataFormValues = {
137
138
  brandName: string;
138
139
  licenseNumber: string;
139
140
  selectedLicense?: License;
@@ -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;
@@ -42,28 +42,28 @@ export type VerifyAuthBody = {
42
42
  encryption_contract: Array<string>;
43
43
  remember_me?: boolean;
44
44
  };
45
- export type VerifyOperationAuthBody = {
45
+ export declare type VerifyOperationAuthBody = {
46
46
  auth_token: string;
47
47
  auth_type: number;
48
48
  };
49
- export type ResetPasswordCredential = {
49
+ export declare type ResetPasswordCredential = {
50
50
  otp: string;
51
51
  new_password: string;
52
52
  };
53
- export type ResetPasswordVerifyAuthBody = {
53
+ export declare type ResetPasswordVerifyAuthBody = {
54
54
  auth_token: string;
55
55
  auth_type: number;
56
56
  step_name: string;
57
57
  user_credentail: ResetPasswordCredential;
58
58
  encryption_contract: Array<string>;
59
59
  };
60
- export type CreatePasswordBody = {
60
+ export declare type CreatePasswordBody = {
61
61
  password: string;
62
62
  signup_token?: string;
63
63
  step_name: string;
64
64
  encryption_contract: Array<string>;
65
65
  };
66
- export type VerifyAuthExpressOTPBody = {
66
+ export declare type VerifyAuthExpressOTPBody = {
67
67
  auth_token?: string;
68
68
  verify_token?: string;
69
69
  lead_id?: string;
@@ -1,14 +1,14 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export type CheckEmailBody = {
2
+ export declare type CheckEmailBody = {
3
3
  email: string | null;
4
4
  encryption_contract: Array<string>;
5
5
  };
6
- export type CheckBrandBody = {
6
+ export declare type CheckBrandBody = {
7
7
  profile_name: string;
8
8
  country_code: string;
9
9
  encryption_contract: Array<string>;
10
10
  };
11
- export type CheckIBanBody = {
11
+ export declare type CheckIBanBody = {
12
12
  iban_number: string;
13
13
  encryption_contract?: Array<string>;
14
14
  };
@@ -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,4 +1,4 @@
1
- export type GetCitiesBody = {
1
+ export declare type GetCitiesBody = {
2
2
  country: string[];
3
3
  };
4
4
  declare const countryService: {
@@ -1,37 +1,37 @@
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 GetMonthlyIncomeBody = {
11
+ declare type GetMonthlyIncomeBody = {
12
12
  page: number;
13
13
  country_code: Array<string>;
14
14
  };
15
- export type DataElementBody = {
15
+ export declare type DataElementBody = {
16
16
  id: string;
17
17
  name: {
18
18
  en: string;
19
19
  ar: string;
20
20
  };
21
21
  };
22
- type GetCustomerBasesBody = {
22
+ declare type GetCustomerBasesBody = {
23
23
  page: number;
24
24
  };
25
- type GetExpectedSalesBody = {
25
+ declare type GetExpectedSalesBody = {
26
26
  page: number;
27
27
  };
28
- type GetExpectedCustomerSalesBody = {
28
+ declare type GetExpectedCustomerSalesBody = {
29
29
  page: number;
30
30
  };
31
- type GetSourceOfIncomeBody = {
31
+ declare type GetSourceOfIncomeBody = {
32
32
  page: number;
33
33
  };
34
- type GetChannelsOfServicesBody = {
34
+ declare type GetChannelsOfServicesBody = {
35
35
  page: number;
36
36
  };
37
37
  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<{
@@ -33,7 +33,7 @@ export type EntityInfoBody = {
33
33
  step_name: string;
34
34
  encryption_contract?: Array<string>;
35
35
  };
36
- export type BankDocumentInfo = {
36
+ export declare type BankDocumentInfo = {
37
37
  type?: string;
38
38
  number?: string;
39
39
  issuing_country?: string;
@@ -41,7 +41,7 @@ export type BankDocumentInfo = {
41
41
  expiry_date?: string;
42
42
  files: Array<string>;
43
43
  };
44
- export type EntityBankUpdateBody = {
44
+ export declare type EntityBankUpdateBody = {
45
45
  wallet_id: string;
46
46
  bank_account: {
47
47
  bank_name?: string;
@@ -50,13 +50,13 @@ export type EntityBankUpdateBody = {
50
50
  iban?: string;
51
51
  swift_code?: string;
52
52
  account_number?: string;
53
- is_acknowledged: boolean;
53
+ is_acknowledged?: boolean;
54
54
  document?: BankDocumentInfo;
55
55
  };
56
56
  step_name: string;
57
57
  encryption_contract?: Array<string>;
58
58
  };
59
- export type UpdateEntityBody = {
59
+ export declare type UpdateEntityBody = {
60
60
  id: string;
61
61
  license?: {
62
62
  type?: string;
@@ -72,27 +72,27 @@ export type UpdateEntityBody = {
72
72
  action: string;
73
73
  }>;
74
74
  legal_name?: {
75
- ar: string;
76
- en: string;
75
+ ar?: string;
76
+ en?: string;
77
77
  };
78
78
  type?: string;
79
79
  AOA_file_id?: string;
80
80
  capital?: {
81
81
  paid?: string;
82
82
  shares?: {
83
- count: string;
84
- value: string;
83
+ count?: string;
84
+ value?: string;
85
85
  };
86
86
  };
87
87
  encryption_contract?: Array<string>;
88
88
  };
89
- export type UpdateEntityActivityBody = {
89
+ export declare type UpdateEntityActivityBody = {
90
90
  id: string;
91
91
  activities?: Array<{
92
92
  id: string;
93
93
  }>;
94
94
  };
95
- export type UpdateEntityCapitalBody = {
95
+ export declare type UpdateEntityCapitalBody = {
96
96
  id: string;
97
97
  capital: {
98
98
  paid: string;
@@ -102,7 +102,7 @@ export type UpdateEntityCapitalBody = {
102
102
  };
103
103
  };
104
104
  };
105
- export type UpdateEntityAOAFileBody = {
105
+ export declare type UpdateEntityAOAFileBody = {
106
106
  id: string;
107
107
  AOA_file_id: string;
108
108
  };
@@ -1,5 +1,5 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export type UploadFileBody = {
2
+ export declare type UploadFileBody = {
3
3
  file_link_create: boolean;
4
4
  file?: File;
5
5
  title: string | undefined;
@@ -1,8 +1,8 @@
1
1
  import { DocumentInfo } from './document';
2
- export type BrandListBody = {
2
+ export declare type BrandListBody = {
3
3
  individual_id: string;
4
4
  };
5
- export type UpdateBrandBody = {
5
+ export declare type UpdateBrandBody = {
6
6
  id: string;
7
7
  name?: {
8
8
  en: string;
@@ -64,14 +64,14 @@ export type UpdateBrandBody = {
64
64
  step_name?: string;
65
65
  encryption_contract?: Array<string>;
66
66
  };
67
- export type UpdateSalesChannels = {
67
+ export declare type UpdateSalesChannels = {
68
68
  id?: string;
69
69
  channel_services: Array<{
70
70
  id: string;
71
71
  address: string;
72
72
  }>;
73
73
  };
74
- export type UpdateIndividualBody = {
74
+ export declare type UpdateIndividualBody = {
75
75
  id: string;
76
76
  type: string;
77
77
  names?: {
@@ -131,7 +131,7 @@ export type UpdateIndividualBody = {
131
131
  step_name?: string;
132
132
  encryption_contract?: Array<string>;
133
133
  };
134
- export type GetIndividualListBody = {
134
+ export declare type GetIndividualListBody = {
135
135
  page: number;
136
136
  limit: number;
137
137
  business_id: string;