@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
@@ -1,32 +1,32 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
2
  import { LanguageMode } from '../@types';
3
- type Name = {
3
+ declare type Name = {
4
4
  title?: string;
5
5
  first?: string;
6
6
  middle?: string;
7
7
  last?: string;
8
8
  };
9
- type Contact = {
9
+ declare type Contact = {
10
10
  email?: string;
11
11
  phone?: {
12
12
  country_code?: string;
13
13
  number?: string;
14
14
  };
15
15
  };
16
- type BusinessName = {
16
+ declare type BusinessName = {
17
17
  en?: string;
18
18
  ar?: string;
19
19
  };
20
- type BrandTitle = {
20
+ declare type BrandTitle = {
21
21
  en?: string;
22
22
  ar?: string;
23
23
  zh?: string;
24
24
  };
25
- type BrandContent = {
25
+ declare type BrandContent = {
26
26
  tag_line?: BrandTitle;
27
27
  about?: BrandTitle;
28
28
  };
29
- type BrandInfo = {
29
+ declare type BrandInfo = {
30
30
  id?: string;
31
31
  name?: BrandTitle;
32
32
  sector?: Array<string>;
@@ -35,7 +35,7 @@ type BrandInfo = {
35
35
  logo?: string;
36
36
  content?: BrandContent;
37
37
  };
38
- export type UpdateLeadBody = {
38
+ export declare type UpdateLeadBody = {
39
39
  step_name?: string;
40
40
  id: string;
41
41
  encryption_contract?: Array<string>;
@@ -64,7 +64,7 @@ export type UpdateLeadBody = {
64
64
  team: string;
65
65
  };
66
66
  };
67
- export type LeadVerifyBody = {
67
+ export declare type LeadVerifyBody = {
68
68
  verify_token: string;
69
69
  service_name: string;
70
70
  };
@@ -73,11 +73,11 @@ export interface LeadOTPVerifyBody extends LeadVerifyBody {
73
73
  step_name: string;
74
74
  encryption_contract: Array<string>;
75
75
  }
76
- export type CreateLeadBody = {
76
+ export declare type CreateLeadBody = {
77
77
  individual_id: string;
78
78
  country_code: string;
79
79
  };
80
- export type LeadIdentityUpdateBody = {
80
+ export declare type LeadIdentityUpdateBody = {
81
81
  id: string;
82
82
  identification: {
83
83
  id: string;
@@ -1,4 +1,4 @@
1
- export type ValidateOperatorBody = {
1
+ export declare type ValidateOperatorBody = {
2
2
  type: string;
3
3
  app_client_version: string;
4
4
  requirer_browser: string;
@@ -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,8 +1,8 @@
1
- export type UserCredential = {
1
+ export declare type UserCredential = {
2
2
  code: string;
3
3
  phone: string;
4
4
  };
5
- export type GetUserListBody = {
5
+ export declare type GetUserListBody = {
6
6
  page: number;
7
7
  limit: number;
8
8
  business_id: string;
@@ -12,16 +12,7 @@ export declare const fetchAppSettingsSync: import("@reduxjs/toolkit").AsyncThunk
12
12
  locale: any;
13
13
  deviceInfo: DeviceInfo;
14
14
  isValidOperator: boolean;
15
- }, SettingParams, {
16
- state?: unknown;
17
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
18
- extra?: unknown;
19
- rejectValue?: unknown;
20
- serializedErrorType?: unknown;
21
- pendingMeta?: unknown;
22
- fulfilledMeta?: unknown;
23
- rejectedMeta?: unknown;
24
- }>;
15
+ }, SettingParams, {}>;
25
16
  export interface SettingsData {
26
17
  skin: ThemeMode;
27
18
  language: LanguageMode;
@@ -34,10 +25,12 @@ export interface SettingsData {
34
25
  businessCountry: CountryCode;
35
26
  countries: Array<CountryCode>;
36
27
  isValidOperator: boolean;
28
+ boardMaturity: boolean;
37
29
  }
38
30
  export interface SettingsState extends SharedState<SettingsData> {
39
31
  }
40
32
  export declare const settingsSlice: import("@reduxjs/toolkit").Slice<SettingsState, {
33
+ handelBoardMaturity: (state: import("immer/dist/internal").WritableDraft<SettingsState>, action: ActionState<boolean>) => void;
41
34
  handleIsTapOrigin: (state: import("immer/dist/internal").WritableDraft<SettingsState>, action: ActionState<boolean>) => void;
42
35
  handleOpen: (state: import("immer/dist/internal").WritableDraft<SettingsState>, action: ActionState<boolean>) => void;
43
36
  handleSkin: (state: SettingsState, action: ActionState<ThemeMode>) => void;
@@ -49,7 +42,7 @@ export declare const settingsSlice: import("@reduxjs/toolkit").Slice<SettingsSta
49
42
  handleSetAppConfig: (state: SettingsState, action: ActionState<LibConfig>) => void;
50
43
  handleSetCountryByIso2: (state: SettingsState, action: ActionState<string>) => void;
51
44
  }, "settings">;
52
- export declare const handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode, "settings/handleSkin">, handleLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<LanguageMode, "settings/handleLanguage">, handleActiveFlowScreens: import("@reduxjs/toolkit").ActionCreatorWithPayload<ScreenStepNavigation[], "settings/handleActiveFlowScreens">, handleNextScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "settings/handleNextScreenStep">, handlePrevScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "settings/handlePrevScreenStep">, handleCurrentActiveScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handleCurrentActiveScreen">, handleSetAppConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<LibConfig, "settings/handleSetAppConfig">, handleOpen: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handleOpen">, handleSetCountryByIso2: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handleSetCountryByIso2">, handleIsTapOrigin: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handleIsTapOrigin">;
45
+ export declare const handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode, string>, handleLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<LanguageMode, string>, handleActiveFlowScreens: import("@reduxjs/toolkit").ActionCreatorWithPayload<ScreenStepNavigation[], string>, handleNextScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, string>, handlePrevScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, string>, handleCurrentActiveScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, handleSetAppConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<LibConfig, string>, handleOpen: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, handleSetCountryByIso2: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, string>, handleIsTapOrigin: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, handelBoardMaturity: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
53
46
  declare const _default: import("redux").Reducer<SettingsState, import("redux").AnyAction>;
54
47
  export default _default;
55
48
  export declare const settingsSelector: (state: RootState) => SettingsState;
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
24
24
  function verb(n) { return function (v) { return step([n, v]); }; }
25
25
  function step(op) {
26
26
  if (f) throw new TypeError("Generator is already executing.");
27
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
27
+ while (_) try {
28
28
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
29
  if (y = 0, t) op = [op[0] & 2, t.value];
30
30
  switch (op[0]) {
@@ -47,13 +47,13 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
47
47
  };
48
48
  var _a;
49
49
  import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
50
- import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString, dangerousMessage } from '../utils';
50
+ import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString, dangerousMessage, isKW, isSA } from '../utils';
51
51
  import { DefaultDeviceInfo, LOCAL_STORAGE_KEYS } from '../constants';
52
52
  import i18n from '../i18n';
53
53
  import { updateLocale } from '../utils/locale';
54
54
  import API, { setAxiosGlobalHeaders } from '../api';
55
55
  export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
56
- var settings, _a, appConfig, language, _b, client, device, os, disableCountries, disableLocale, maturity, _c, visitorId, _d, ip, latitude, longitude, locale, list, operatorData, deviceInfo, operatorStatus, isValidOperator, countries, businessCountry;
56
+ var settings, _a, appConfig, language, _b, client, device, os, disableCountries, disableLocale, maturity, _c, visitorId, _d, ip, latitude, longitude, locale, list, operatorData, deviceInfo, operatorStatus, isValidOperator, countries, countryCode, isKWOrSA, businessCountry;
57
57
  return __generator(this, function (_e) {
58
58
  switch (_e.label) {
59
59
  case 0:
@@ -113,7 +113,11 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
113
113
  operatorStatus = _e.sent();
114
114
  isValidOperator = operatorStatus === 'valid';
115
115
  countries = sortCountries(list);
116
- businessCountry = findCountryByIso2(countries, appConfig.businessCountryCode);
116
+ countryCode = appConfig.businessCountryCode;
117
+ isKWOrSA = isKW(countryCode) || isSA(countryCode);
118
+ if (!isKWOrSA)
119
+ countryCode = 'SA';
120
+ businessCountry = findCountryByIso2(countries, countryCode);
117
121
  if (!businessCountry)
118
122
  throw new Error('Business country not found, you have to pass a valid business country code in the lib config');
119
123
  return [2, { countries: countries, businessCountry: businessCountry, locale: locale, deviceInfo: deviceInfo, isValidOperator: isValidOperator }];
@@ -124,6 +128,7 @@ var initialState = {
124
128
  error: null,
125
129
  loading: true,
126
130
  data: {
131
+ boardMaturity: true,
127
132
  open: true,
128
133
  isTapOrigin: true,
129
134
  skin: getStoredData(LOCAL_STORAGE_KEYS.themeMode) || 'light',
@@ -141,6 +146,9 @@ export var settingsSlice = createSlice({
141
146
  name: 'settings',
142
147
  initialState: initialState,
143
148
  reducers: {
149
+ handelBoardMaturity: function (state, action) {
150
+ state.data.boardMaturity = action.payload;
151
+ },
144
152
  handleIsTapOrigin: function (state, action) {
145
153
  state.data.isTapOrigin = action.payload;
146
154
  },
@@ -259,6 +267,6 @@ export var settingsSlice = createSlice({
259
267
  });
260
268
  }
261
269
  });
262
- export var handleSkin = (_a = settingsSlice.actions, _a.handleSkin), handleLanguage = _a.handleLanguage, handleActiveFlowScreens = _a.handleActiveFlowScreens, handleNextScreenStep = _a.handleNextScreenStep, handlePrevScreenStep = _a.handlePrevScreenStep, handleCurrentActiveScreen = _a.handleCurrentActiveScreen, handleSetAppConfig = _a.handleSetAppConfig, handleOpen = _a.handleOpen, handleSetCountryByIso2 = _a.handleSetCountryByIso2, handleIsTapOrigin = _a.handleIsTapOrigin;
270
+ export var handleSkin = (_a = settingsSlice.actions, _a.handleSkin), handleLanguage = _a.handleLanguage, handleActiveFlowScreens = _a.handleActiveFlowScreens, handleNextScreenStep = _a.handleNextScreenStep, handlePrevScreenStep = _a.handlePrevScreenStep, handleCurrentActiveScreen = _a.handleCurrentActiveScreen, handleSetAppConfig = _a.handleSetAppConfig, handleOpen = _a.handleOpen, handleSetCountryByIso2 = _a.handleSetCountryByIso2, handleIsTapOrigin = _a.handleIsTapOrigin, handelBoardMaturity = _a.handelBoardMaturity;
263
271
  export default settingsSlice.reducer;
264
272
  export var settingsSelector = function (state) { return state.settings; };
@@ -1,5 +1,5 @@
1
1
  import { ThunkAction, Action } from '@reduxjs/toolkit';
2
- export declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<{
2
+ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
3
3
  settings: import("./settings").SettingsState;
4
4
  connect: import("../features/app/connect/connectStore").ConnectState;
5
5
  business: import("../features/app/business/businessStore").BusinessState;
@@ -24,6 +24,6 @@ export declare const store: import("@reduxjs/toolkit/dist/configureStore").Toolk
24
24
  brand: import("../features/app/brand/brandStore").BrandState;
25
25
  connectExpress: import("../features/app/connectExpress/connectExpressStore").ConnectExpressState;
26
26
  }, import("redux").AnyAction, undefined>]>>;
27
- export type AppDispatch = typeof store.dispatch;
28
- export type RootState = ReturnType<typeof store.getState>;
29
- export type AppThunk<ReturnType = void> = ThunkAction<ReturnType, RootState, unknown, Action<string>>;
27
+ export declare type AppDispatch = typeof store.dispatch;
28
+ export declare type RootState = ReturnType<typeof store.getState>;
29
+ export declare type AppThunk<ReturnType = void> = ThunkAction<ReturnType, RootState, unknown, Action<string>>;
@@ -390,5 +390,7 @@
390
390
  "brand": "الاسم التجاري",
391
391
  "try_again": "حاول مرة أخرى",
392
392
  "file_delete_error": "حدث خطأ ما في حذف الملف. حاول مرة اخرى",
393
- "file_download_error": "حدث خطأ ما في تحميل الملف. حاول مرة اخرى"
393
+ "file_download_error": "حدث خطأ ما في تحميل الملف. حاول مرة اخرى",
394
+ "title_brand_logo": "لوجو العلامة التجارية",
395
+ "description_brand_logo": "JPG or PNG files up to 4mb."
394
396
  }
@@ -420,5 +420,7 @@
420
420
  "brand": "Brand",
421
421
  "try_again": "Try again",
422
422
  "file_delete_error": "Something went wrong with deleting file. Please try again",
423
- "file_download_error": "Something went wrong with downloading file. Please try again"
423
+ "file_download_error": "Something went wrong with downloading file. Please try again",
424
+ "title_brand_logo": "Brand Logo",
425
+ "description_brand_logo": "JPG or PNG files up to 4mb."
424
426
  }
@@ -42,6 +42,7 @@ var Container = styled(Box, { shouldForwardProp: function (prop) { return prop !
42
42
  var theme = _a.theme, disabled = _a.disabled;
43
43
  return ({
44
44
  cursor: disabled ? 'auto' : 'pointer',
45
+ opacity: disabled ? '0.6' : '1',
45
46
  fontFamily: theme.typography.fontFamily
46
47
  });
47
48
  });
@@ -1,5 +1,8 @@
1
1
  import * as React from 'react';
2
2
  import { RadioGroupProps } from '@mui/material/RadioGroup';
3
- export type { RadioGroupProps };
4
- declare const _default: React.MemoExoticComponent<({ children, ...props }: RadioGroupProps) => JSX.Element>;
3
+ interface RadioGroupStyledProps extends RadioGroupProps {
4
+ readOnly?: boolean;
5
+ }
6
+ export type { RadioGroupStyledProps };
7
+ declare const _default: React.MemoExoticComponent<({ children, ...props }: RadioGroupStyledProps) => JSX.Element>;
5
8
  export default _default;
@@ -24,15 +24,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import * as React from 'react';
25
25
  import { styled } from '@mui/material/styles';
26
26
  import RadioGroup from '@mui/material/RadioGroup';
27
- var RadioGroupStyled = styled(RadioGroup)(function (_a) {
28
- var theme = _a.theme;
29
- return ({
30
- width: '100%',
31
- flexDirection: 'row',
32
- display: 'flex',
33
- direction: theme.direction,
34
- marginInlineStart: theme.spacing(0.25)
35
- });
27
+ var RadioGroupStyled = styled(RadioGroup, { shouldForwardProp: function (prop) { return prop !== 'readOnly'; } })(function (_a) {
28
+ var theme = _a.theme, readOnly = _a.readOnly;
29
+ return (__assign({ width: '100%', flexDirection: 'row', display: 'flex', direction: theme.direction, marginInlineStart: theme.spacing(0.25) }, (readOnly && {
30
+ opacity: 0.6
31
+ })));
36
32
  });
37
33
  var RadioGroupComponent = function (_a) {
38
34
  var children = _a.children, props = __rest(_a, ["children"]);
@@ -1,3 +1,3 @@
1
- import RadioGroup, { RadioGroupProps } from './RadioGroup';
1
+ import RadioGroup, { RadioGroupStyledProps as RadioGroupProps } from './RadioGroup';
2
2
  export type { RadioGroupProps };
3
3
  export default RadioGroup;
@@ -2,5 +2,5 @@ import React from 'react';
2
2
  import { SlideProps as MUISlideProps } from '@mui/material/Slide';
3
3
  export interface SlideProps extends MUISlideProps {
4
4
  }
5
- declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<SlideProps, "color" | "direction" | "translate" | "slot" | "style" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "timeout" | "in" | "mountOnEnter" | "unmountOnExit" | "easing" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "appear" | "enter" | "exit" | "container"> & React.RefAttributes<unknown>>>;
5
+ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<SlideProps, "className" | "style" | "color" | "direction" | "translate" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "children" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "timeout" | "in" | "mountOnEnter" | "unmountOnExit" | "easing" | "addEndListener" | "onEnter" | "onEntering" | "onEntered" | "onExit" | "onExiting" | "onExited" | "appear" | "enter" | "exit" | "container"> & React.RefAttributes<unknown>>>;
6
6
  export default _default;
@@ -194,7 +194,8 @@ export declare const BUSINESS_FLOW_SUCCESS: {
194
194
  url: string;
195
195
  }[];
196
196
  export declare enum FileRemoveType {
197
- AOA_FILE_ID = "AOA_file_id"
197
+ AOA_FILE_ID = "AOA_file_id",
198
+ BRAND_LOGO_FILE_ID = "Brand_logo_id"
198
199
  }
199
200
  export declare enum FileType {
200
201
  IMAGES = "images",
@@ -214,7 +215,7 @@ export declare enum DeleteFileStatus {
214
215
  ERROR = "error",
215
216
  SUCCESS = "success"
216
217
  }
217
- export type FileInfo = {
218
+ export declare type FileInfo = {
218
219
  fileId: string;
219
220
  docId: string;
220
221
  name: string;
@@ -699,6 +699,7 @@ export var BUSINESS_FLOW_SUCCESS = [{ name: 'business', status: 'completed', url
699
699
  export var FileRemoveType;
700
700
  (function (FileRemoveType) {
701
701
  FileRemoveType["AOA_FILE_ID"] = "AOA_file_id";
702
+ FileRemoveType["BRAND_LOGO_FILE_ID"] = "Brand_logo_id";
702
703
  })(FileRemoveType || (FileRemoveType = {}));
703
704
  export var FileType;
704
705
  (function (FileType) {
@@ -14,6 +14,7 @@ export declare const SAUDI_NUMBER_LENGTH = 9;
14
14
  export declare const MAX_FILE_SIZE = 5000000;
15
15
  export declare const MAX_FILE_SIZE_FOUR_MB = 4000000;
16
16
  export declare const VALID_FILE_FORMATS: string[];
17
+ export declare const VALID_FILE_FORMATS_FOR_IMAGE: string[];
17
18
  export declare const REGEX_FULL_NAME: RegExp;
18
19
  export declare const REGEX_WEBSITE: RegExp;
19
20
  export declare const REGEX_BENEFICIARY_NAME: RegExp;
@@ -14,6 +14,7 @@ export var SAUDI_NUMBER_LENGTH = 9;
14
14
  export var MAX_FILE_SIZE = 5000000;
15
15
  export var MAX_FILE_SIZE_FOUR_MB = 4000000;
16
16
  export var VALID_FILE_FORMATS = ['image/jpeg', 'image/png', 'image/jpg', 'application/pdf'];
17
+ export var VALID_FILE_FORMATS_FOR_IMAGE = ['image/jpeg', 'image/png', 'image/jpg'];
17
18
  export var REGEX_FULL_NAME = /^([a-zA-Z]{2,}\s{1}[a-zA-Z]{1,}|[a-zA-Z]+\s{1}[a-zA-Z.-]{1,}\s{1}[a-zA-Z.-]{1,}\s{1}[a-zA-Z]{1,}|[a-zA-Z]+\s{1}[a-zA-Z.-]{1,}\s{1}[a-zA-Z]{1,})$/g;
18
19
  export var REGEX_WEBSITE = /^[a-zA-Z0-9]+([\-\.]{1}[a-zA-Z0-9]+)*\.[a-zA-Z]{2,63}(:[0-9]{1,5})?(\/.*)?$/;
19
20
  export var REGEX_BENEFICIARY_NAME = /^([\u0600-\u065F\u066A-\u06EF\u06FA-\u06FFa-zA-Z()\s])*$/g;
@@ -17,99 +17,35 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
17
17
  contact: any;
18
18
  business: any;
19
19
  individuals: any;
20
- flows: any;
21
20
  };
22
21
  token: string;
23
- }, VerifyLeadTokenProps, {
24
- state?: unknown;
25
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
26
- extra?: unknown;
27
- rejectValue?: unknown;
28
- serializedErrorType?: unknown;
29
- pendingMeta?: unknown;
30
- fulfilledMeta?: unknown;
31
- rejectedMeta?: unknown;
32
- }>;
22
+ }, VerifyLeadTokenProps, {}>;
33
23
  export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
34
24
  data: any;
35
- }, void, {
36
- state?: unknown;
37
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
38
- extra?: unknown;
39
- rejectValue?: unknown;
40
- serializedErrorType?: unknown;
41
- pendingMeta?: unknown;
42
- fulfilledMeta?: unknown;
43
- rejectedMeta?: unknown;
44
- }>;
25
+ }, void, {}>;
45
26
  export declare const verifyBankLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
46
27
  data: any;
47
28
  formData: OTPFormValues;
48
- }, OTPFormValues, {
49
- state?: unknown;
50
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
51
- extra?: unknown;
52
- rejectValue?: unknown;
53
- serializedErrorType?: unknown;
54
- pendingMeta?: unknown;
55
- fulfilledMeta?: unknown;
56
- rejectedMeta?: unknown;
57
- }>;
29
+ }, OTPFormValues, {}>;
58
30
  export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
59
31
  data: any;
60
- }, string, {
61
- state?: unknown;
62
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
63
- extra?: unknown;
64
- rejectValue?: unknown;
65
- serializedErrorType?: unknown;
66
- pendingMeta?: unknown;
67
- fulfilledMeta?: unknown;
68
- rejectedMeta?: unknown;
69
- }>;
32
+ }, string, {}>;
70
33
  export declare const createBankAccount: import("@reduxjs/toolkit").AsyncThunk<{
71
34
  data: any;
72
35
  formData: BankFormValues;
73
- }, BankFormValues, {
74
- state?: unknown;
75
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
76
- extra?: unknown;
77
- rejectValue?: unknown;
78
- serializedErrorType?: unknown;
79
- pendingMeta?: unknown;
80
- fulfilledMeta?: unknown;
81
- rejectedMeta?: unknown;
82
- }>;
36
+ }, BankFormValues, {}>;
83
37
  export declare const checkIbanBank: import("@reduxjs/toolkit").AsyncThunk<{
84
38
  data: any;
85
39
  }, {
86
40
  iban: string;
87
41
  cancelToken: CancelToken;
88
42
  onSuccess?: (() => void) | undefined;
89
- }, {
90
- state?: unknown;
91
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
92
- extra?: unknown;
93
- rejectValue?: unknown;
94
- serializedErrorType?: unknown;
95
- pendingMeta?: unknown;
96
- fulfilledMeta?: unknown;
97
- rejectedMeta?: unknown;
98
- }>;
43
+ }, {}>;
99
44
  export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
100
45
  response: any;
101
46
  formData: void;
102
- } | undefined, void, {
103
- state?: unknown;
104
- dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
105
- extra?: unknown;
106
- rejectValue?: unknown;
107
- serializedErrorType?: unknown;
108
- pendingMeta?: unknown;
109
- fulfilledMeta?: unknown;
110
- rejectedMeta?: unknown;
111
- }>;
112
- type VerifyData = {
47
+ } | undefined, void, {}>;
48
+ declare type VerifyData = {
113
49
  token: string;
114
50
  };
115
51
  export interface BankData {
@@ -127,7 +63,7 @@ export declare const bankSlice: import("@reduxjs/toolkit").Slice<BankState, {
127
63
  resetOTPScreen: (state: BankState) => void;
128
64
  bankStatementUploadingStatus: (state: BankState, action: ActionState<boolean>) => void;
129
65
  }, "bank/store">;
130
- export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"bank/store/resetOTPScreen">, bankStatementUploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "bank/store/bankStatementUploadingStatus">;
66
+ export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, bankStatementUploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
131
67
  declare const _default: import("redux").Reducer<BankState, import("redux").AnyAction>;
132
68
  export default _default;
133
69
  export declare const bankSelector: (state: RootState) => BankState;