@tap-payments/auth-jsconnect 2.8.35-test → 2.8.37-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (420) hide show
  1. package/build/@types/app.d.ts +17 -17
  2. package/build/@types/config.d.ts +1 -1
  3. package/build/@types/form.d.ts +23 -23
  4. package/build/@types/redux.d.ts +1 -0
  5. package/build/@types/theme.d.ts +1 -1
  6. package/build/api/account.d.ts +2 -2
  7. package/build/api/auth.d.ts +13 -13
  8. package/build/api/availabilityServices.d.ts +3 -3
  9. package/build/api/axios.js +1 -1
  10. package/build/api/board.d.ts +3 -3
  11. package/build/api/brand.d.ts +1 -1
  12. package/build/api/country.d.ts +1 -1
  13. package/build/api/data.d.ts +11 -11
  14. package/build/api/document.d.ts +2 -2
  15. package/build/api/entity.d.ts +11 -11
  16. package/build/api/entity.js +6 -2
  17. package/build/api/file.d.ts +1 -1
  18. package/build/api/firebase.js +1 -1
  19. package/build/api/index.d.ts +1 -1
  20. package/build/api/individual.d.ts +5 -5
  21. package/build/api/init.d.ts +1 -1
  22. package/build/api/lead.d.ts +12 -12
  23. package/build/api/lead.js +1 -1
  24. package/build/api/operator.d.ts +2 -2
  25. package/build/api/operator.js +1 -1
  26. package/build/api/user.d.ts +2 -2
  27. package/build/app/settings.d.ts +3 -21
  28. package/build/app/settings.js +1 -1
  29. package/build/app/store.d.ts +4 -4
  30. package/build/components/AnimationFlow/AnimationFlow.d.ts +1 -1
  31. package/build/components/AnimationFlow/BottomSheet.d.ts +1 -1
  32. package/build/components/AnimationFlow/Dialog.d.ts +1 -1
  33. package/build/components/AnimationFlow/Error.d.ts +2 -1
  34. package/build/components/AnimationFlow/Loader.d.ts +2 -1
  35. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +1 -1
  36. package/build/components/Button/Button.d.ts +1 -1
  37. package/build/components/CheckBox/CheckBox.d.ts +1 -1
  38. package/build/components/Collapse/Collapse.d.ts +2 -1
  39. package/build/components/DatePicker/DatePicker.d.ts +1 -1
  40. package/build/components/ExpandIcon/ExpandIcon.d.ts +2 -1
  41. package/build/components/FileInput/DragAndDrop.d.ts +2 -1
  42. package/build/components/FileInput/UploadInput.d.ts +2 -1
  43. package/build/components/Footer/Footer.d.ts +1 -1
  44. package/build/components/Form/Form.d.ts +1 -1
  45. package/build/components/Input/Input.d.ts +1 -1
  46. package/build/components/InputAdornment/InputAdornment.d.ts +1 -1
  47. package/build/components/List/List.d.ts +1 -1
  48. package/build/components/ListItem/ListItem.d.ts +1 -1
  49. package/build/components/Loader/Loader.d.ts +1 -1
  50. package/build/components/LogoBadge/LogoBadge.d.ts +1 -1
  51. package/build/components/OTPField/OTPField.d.ts +1 -1
  52. package/build/components/OTPTimer/OTPTimer.d.ts +1 -1
  53. package/build/components/ProgressBar/CircularProgressBar.d.ts +2 -1
  54. package/build/components/ProgressBar/ProgressBar.d.ts +1 -1
  55. package/build/components/Providers/ReduxProvider.d.ts +1 -1
  56. package/build/components/Providers/ThemeProvider.d.ts +1 -1
  57. package/build/components/Radio/Radio.d.ts +1 -1
  58. package/build/components/RadioGroup/RadioGroup.d.ts +1 -1
  59. package/build/components/RadioLabel/RadioLabel.d.ts +1 -1
  60. package/build/components/SimpleList/SimpleList.d.ts +1 -1
  61. package/build/components/Slide/Slide.d.ts +1 -1
  62. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -1
  63. package/build/components/Text/Text.d.ts +1 -1
  64. package/build/components/ToggleButton/ToggleButton.d.ts +1 -1
  65. package/build/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
  66. package/build/components/Tooltip/Tooltip.d.ts +1 -1
  67. package/build/components/Warning/Warning.d.ts +1 -1
  68. package/build/constants/app.d.ts +1 -1
  69. package/build/features/app/auth/authStore.d.ts +21 -201
  70. package/build/features/app/auth/authStore.js +1 -1
  71. package/build/features/app/bank/bankStore.d.ts +12 -93
  72. package/build/features/app/bank/bankStore.js +5 -2
  73. package/build/features/app/board/boardStore.d.ts +5 -41
  74. package/build/features/app/board/boardStore.js +1 -1
  75. package/build/features/app/brand/brandStore.d.ts +17 -143
  76. package/build/features/app/brand/brandStore.js +5 -2
  77. package/build/features/app/business/businessStore.d.ts +18 -162
  78. package/build/features/app/business/businessStore.js +1 -1
  79. package/build/features/app/connect/connectStore.d.ts +16 -151
  80. package/build/features/app/connect/connectStore.js +1 -1
  81. package/build/features/app/connectExpress/connectExpressStore.d.ts +28 -271
  82. package/build/features/app/connectExpress/connectExpressStore.js +1 -1
  83. package/build/features/app/entity/entityStore.d.ts +12 -93
  84. package/build/features/app/entity/entityStore.js +5 -2
  85. package/build/features/app/individual/individualStore.d.ts +24 -186
  86. package/build/features/app/individual/individualStore.js +5 -2
  87. package/build/features/app/password/passwordStore.d.ts +15 -123
  88. package/build/features/app/password/passwordStore.js +1 -1
  89. package/build/features/app/signIn/signInStore.d.ts +7 -61
  90. package/build/features/app/signIn/signInStore.js +1 -1
  91. package/build/features/app/tax/taxStore.d.ts +11 -83
  92. package/build/features/app/tax/taxStore.js +24 -19
  93. package/build/features/auth/Auth.d.ts +2 -1
  94. package/build/features/auth/Auth.js +1 -1
  95. package/build/features/auth/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  96. package/build/features/auth/screens/AccountNotFound/AccountNotFound.d.ts +1 -1
  97. package/build/features/auth/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  98. package/build/features/auth/screens/AuthSwitch/AuthSwitch.d.ts +1 -1
  99. package/build/features/auth/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  100. package/build/features/auth/screens/AuthenticationList/BrandList.d.ts +1 -1
  101. package/build/features/auth/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
  102. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
  103. package/build/features/auth/screens/AuthenticationList/EntityList.d.ts +1 -1
  104. package/build/features/auth/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  105. package/build/features/auth/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  106. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +1 -1
  107. package/build/features/auth/screens/CivilID/CivilID.d.ts +1 -1
  108. package/build/features/auth/screens/Email/Email.d.ts +1 -1
  109. package/build/features/auth/screens/EmailSent/EmailSent.d.ts +1 -1
  110. package/build/features/auth/screens/MigratingData/MigratingData.d.ts +1 -1
  111. package/build/features/auth/screens/Mobile/Mobile.d.ts +1 -1
  112. package/build/features/auth/screens/NID/DOB.d.ts +2 -1
  113. package/build/features/auth/screens/NID/NID.d.ts +1 -1
  114. package/build/features/auth/screens/OTP/OTP.d.ts +1 -1
  115. package/build/features/auth/screens/OTP/OTPInput.d.ts +1 -1
  116. package/build/features/auth/screens/Password/Password.d.ts +1 -1
  117. package/build/features/auth/screens/Password/PasswordField.d.ts +1 -1
  118. package/build/features/auth/screens/PreparingData/PreparingData.d.ts +1 -1
  119. package/build/features/auth/screens/ResetPasswordMessage/ResetPasswordMessage.d.ts +1 -1
  120. package/build/features/auth/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  121. package/build/features/bank/Bank.d.ts +2 -1
  122. package/build/features/bank/screens/BankDetails/BankDetails.d.ts +2 -1
  123. package/build/features/bank/screens/BankDetails/BankName.d.ts +3 -2
  124. package/build/features/bank/screens/BankDetails/BankStatement.d.ts +3 -2
  125. package/build/features/bank/screens/BankDetails/Beneficiary.d.ts +2 -1
  126. package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +3 -2
  127. package/build/features/bank/screens/BankDetails/IBAN.d.ts +2 -1
  128. package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
  129. package/build/features/bank/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  130. package/build/features/bank/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  131. package/build/features/bank/screens/Success/Success.d.ts +1 -1
  132. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  133. package/build/features/bank/screens/Verify/OTPInput.d.ts +1 -1
  134. package/build/features/bank/screens/Verify/Verify.d.ts +1 -1
  135. package/build/features/board/Board.d.ts +2 -1
  136. package/build/features/board/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  137. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  138. package/build/features/board/screens/Verify/OTPInput.d.ts +1 -1
  139. package/build/features/board/screens/Verify/Verify.d.ts +1 -1
  140. package/build/features/brand/Brand.d.ts +2 -1
  141. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +58 -15
  142. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +2 -1
  143. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +37 -13
  144. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +2 -1
  145. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +2 -1
  146. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +31 -10
  147. package/build/features/brand/screens/BrandActivities/TAC.d.ts +8 -3
  148. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -2
  149. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +2 -1
  150. package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +3 -2
  151. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +1 -1
  152. package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
  153. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +2 -1
  154. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.d.ts +2 -1
  155. package/build/features/brand/screens/BrandSegmentInfo/SegmentLocations.d.ts +2 -1
  156. package/build/features/brand/screens/BrandSegmentInfo/SegmentProfits.d.ts +2 -1
  157. package/build/features/brand/screens/BrandSegmentInfo/SegmentTechs.d.ts +2 -1
  158. package/build/features/brand/screens/BrandSegmentInfo/TeamSize.d.ts +2 -1
  159. package/build/features/brand/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  160. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  161. package/build/features/brand/screens/Success/Success.d.ts +1 -1
  162. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  163. package/build/features/brand/screens/Verify/OTPInput.d.ts +1 -1
  164. package/build/features/brand/screens/Verify/Verify.d.ts +1 -1
  165. package/build/features/business/Business.d.ts +2 -1
  166. package/build/features/business/screens/Activities/Activities.d.ts +2 -1
  167. package/build/features/business/screens/Activities/ActivitiesList.d.ts +25 -9
  168. package/build/features/business/screens/Activities/LicenseName.d.ts +1 -1
  169. package/build/features/business/screens/Activities/OperationStartDate.d.ts +13 -5
  170. package/build/features/business/screens/BrandDetails/BrandDetails.d.ts +1 -1
  171. package/build/features/business/screens/BrandDetails/BrandName.d.ts +1 -1
  172. package/build/features/business/screens/BrandDetails/Header.d.ts +1 -1
  173. package/build/features/business/screens/BrandDetails/LicenseInfo.d.ts +1 -1
  174. package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +13 -5
  175. package/build/features/business/screens/BusinessType/Article.d.ts +3 -2
  176. package/build/features/business/screens/BusinessType/BusinessType.d.ts +1 -1
  177. package/build/features/business/screens/BusinessType/EntityLicenseList.d.ts +1 -1
  178. package/build/features/business/screens/BusinessType/EntityName.d.ts +2 -1
  179. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +2 -1
  180. package/build/features/business/screens/BusinessType/LicenseList.d.ts +1 -1
  181. package/build/features/business/screens/BusinessType/LicenseNumber.d.ts +1 -1
  182. package/build/features/business/screens/BusinessType/LicenseType.d.ts +28 -6
  183. package/build/features/business/screens/BusinessType/SelectType.d.ts +1 -1
  184. package/build/features/business/screens/BusinessType/Switch.d.ts +1 -1
  185. package/build/features/business/screens/CivilID/CivilID.d.ts +1 -1
  186. package/build/features/business/screens/Customers/CustomerLocations.d.ts +70 -19
  187. package/build/features/business/screens/Customers/Customers.d.ts +1 -1
  188. package/build/features/business/screens/Customers/ExpectedCustomers.d.ts +2 -1
  189. package/build/features/business/screens/Customers/ExpectedSalesRange.d.ts +2 -1
  190. package/build/features/business/screens/Customers/RefundPolicy.d.ts +31 -10
  191. package/build/features/business/screens/Customers/TransactionPolicy.d.ts +3 -2
  192. package/build/features/business/screens/IDBOD/DOB.d.ts +1 -1
  193. package/build/features/business/screens/IDBOD/ID.d.ts +1 -1
  194. package/build/features/business/screens/IDBOD/IDBOD.d.ts +1 -1
  195. package/build/features/business/screens/OTP/OTP.d.ts +1 -1
  196. package/build/features/business/screens/OTP/OTPInput.d.ts +1 -1
  197. package/build/features/business/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  198. package/build/features/business/screens/Success/Success.d.ts +1 -1
  199. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  200. package/build/features/business/screens/Verify/OTPInput.d.ts +1 -1
  201. package/build/features/business/screens/Verify/Verify.d.ts +1 -1
  202. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  203. package/build/features/connect/Connect.d.ts +2 -1
  204. package/build/features/connect/Connect.js +1 -1
  205. package/build/features/connect/screens/BrandSegment/BrandSegment.d.ts +1 -1
  206. package/build/features/connect/screens/BrandSegment/TeamSize.d.ts +2 -1
  207. package/build/features/connect/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  208. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
  209. package/build/features/connect/screens/CivilID/CivilID.d.ts +1 -1
  210. package/build/features/connect/screens/Individual/Email.d.ts +1 -1
  211. package/build/features/connect/screens/Individual/Email.js +1 -1
  212. package/build/features/connect/screens/Individual/Individual.d.ts +1 -1
  213. package/build/features/connect/screens/Individual/Name.d.ts +1 -1
  214. package/build/features/connect/screens/Merchant/BrandList.d.ts +1 -1
  215. package/build/features/connect/screens/Merchant/BrandName.d.ts +1 -1
  216. package/build/features/connect/screens/Merchant/BrandName.js +1 -1
  217. package/build/features/connect/screens/Merchant/Merchant.d.ts +1 -1
  218. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +2 -1
  219. package/build/features/connect/screens/Merchant/TAC.d.ts +1 -1
  220. package/build/features/connect/screens/Mobile/Mobile.d.ts +1 -1
  221. package/build/features/connect/screens/Mobile/Title.d.ts +1 -1
  222. package/build/features/connect/screens/NID/DOB.d.ts +2 -1
  223. package/build/features/connect/screens/NID/NID.d.ts +1 -1
  224. package/build/features/connect/screens/OTP/OTP.d.ts +1 -1
  225. package/build/features/connect/screens/OTP/OTPInput.d.ts +1 -1
  226. package/build/features/connect/screens/OperatorError/OperatorError.d.ts +1 -1
  227. package/build/features/connect/screens/ThankYou/ThankYou.d.ts +1 -1
  228. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  229. package/build/features/connectExpress/ConnectExpress.d.ts +2 -1
  230. package/build/features/connectExpress/ConnectExpress.js +1 -1
  231. package/build/features/connectExpress/screens/AccountAlreadyCreated/AccountAlreadyCreated.d.ts +1 -1
  232. package/build/features/connectExpress/screens/AccountCreatedLoader/AccountCreatedLoader.d.ts +1 -1
  233. package/build/features/connectExpress/screens/AuthMerchant/AuthMerchant.d.ts +1 -1
  234. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.d.ts +1 -1
  235. package/build/features/connectExpress/screens/AuthenticationList/BrandList.d.ts +1 -1
  236. package/build/features/connectExpress/screens/AuthenticationList/EntityLegalName.d.ts +2 -1
  237. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +27 -5
  238. package/build/features/connectExpress/screens/AuthenticationList/EntityList.d.ts +1 -1
  239. package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.d.ts +1 -1
  240. package/build/features/connectExpress/screens/Brand/Brand.d.ts +1 -1
  241. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.d.ts +1 -1
  242. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
  243. package/build/features/connectExpress/screens/CivilID/CivilID.d.ts +1 -1
  244. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.d.ts +1 -1
  245. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.d.ts +1 -1
  246. package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
  247. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.d.ts +1 -1
  248. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.d.ts +1 -1
  249. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.d.ts +1 -1
  250. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +28 -6
  251. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +8 -3
  252. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.d.ts +1 -1
  253. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.d.ts +1 -1
  254. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
  255. package/build/features/connectExpress/screens/CollectIndividualInfo/Name.d.ts +1 -1
  256. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.d.ts +1 -1
  257. package/build/features/connectExpress/screens/IdentityOTP/OTP.d.ts +1 -1
  258. package/build/features/connectExpress/screens/IdentityOTP/OTPInput.d.ts +1 -1
  259. package/build/features/connectExpress/screens/IdentityVerifyPACI/VerifyPACI.d.ts +1 -1
  260. package/build/features/connectExpress/screens/Mobile/Mobile.d.ts +1 -1
  261. package/build/features/connectExpress/screens/Mobile/TAC.d.ts +1 -1
  262. package/build/features/connectExpress/screens/Mobile/Title.d.ts +1 -1
  263. package/build/features/connectExpress/screens/NID/DOB.d.ts +2 -1
  264. package/build/features/connectExpress/screens/NID/NID.d.ts +1 -1
  265. package/build/features/connectExpress/screens/NID/TAC.d.ts +8 -3
  266. package/build/features/connectExpress/screens/NIDMissed/DOB.d.ts +2 -1
  267. package/build/features/connectExpress/screens/NIDMissed/NID.d.ts +1 -1
  268. package/build/features/connectExpress/screens/OTP/OTP.d.ts +1 -1
  269. package/build/features/connectExpress/screens/OTP/OTPInput.d.ts +1 -1
  270. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  271. package/build/features/connectExpress/screens/VerifyPACI/VerifyPACI.d.ts +1 -1
  272. package/build/features/entity/Entity.d.ts +2 -1
  273. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +25 -9
  274. package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +1 -1
  275. package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +1 -1
  276. package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +1 -1
  277. package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +2 -1
  278. package/build/features/entity/screens/EntityName/Article.d.ts +3 -2
  279. package/build/features/entity/screens/EntityName/EntityName.d.ts +2 -1
  280. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +58 -15
  281. package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +13 -5
  282. package/build/features/entity/screens/EntityName/IssuingDate.d.ts +13 -5
  283. package/build/features/entity/screens/EntityName/LegalName.d.ts +1 -1
  284. package/build/features/entity/screens/EntityName/LicenseCertificate.d.ts +2 -1
  285. package/build/features/entity/screens/EntityName/LicenseNumber.d.ts +1 -1
  286. package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +1 -1
  287. package/build/features/entity/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  288. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  289. package/build/features/entity/screens/Success/Success.d.ts +1 -1
  290. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  291. package/build/features/entity/screens/Verify/OTPInput.d.ts +1 -1
  292. package/build/features/entity/screens/Verify/Verify.d.ts +1 -1
  293. package/build/features/individual/Individual.d.ts +2 -1
  294. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -5
  295. package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +3 -2
  296. package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.d.ts +1 -1
  297. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +27 -5
  298. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.d.ts +1 -1
  299. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.d.ts +2 -1
  300. package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +27 -5
  301. package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +1 -1
  302. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +1 -1
  303. package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.d.ts +2 -1
  304. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.d.ts +1 -1
  305. package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +1 -1
  306. package/build/features/individual/screens/IndividualList/Email.d.ts +1 -1
  307. package/build/features/individual/screens/IndividualList/Email.js +1 -1
  308. package/build/features/individual/screens/IndividualList/IndividualList.d.ts +25 -9
  309. package/build/features/individual/screens/IndividualList/UserList.d.ts +2 -1
  310. package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +1 -1
  311. package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +1 -1
  312. package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +1 -1
  313. package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +28 -6
  314. package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +1 -1
  315. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +13 -5
  316. package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +1 -1
  317. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.d.ts +1 -1
  318. package/build/features/individual/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  319. package/build/features/individual/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  320. package/build/features/individual/screens/Success/Success.d.ts +1 -1
  321. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  322. package/build/features/individual/screens/Verify/OTPInput.d.ts +1 -1
  323. package/build/features/individual/screens/Verify/Verify.d.ts +1 -1
  324. package/build/features/password/Password.d.ts +2 -1
  325. package/build/features/password/screens/CreatePassword/ConditionText.d.ts +2 -1
  326. package/build/features/password/screens/CreatePassword/ConfirmPassword.d.ts +1 -1
  327. package/build/features/password/screens/CreatePassword/CreatePassword.d.ts +1 -1
  328. package/build/features/password/screens/CreatePassword/Password.d.ts +1 -1
  329. package/build/features/password/screens/CreatePassword/PasswordBar.d.ts +2 -1
  330. package/build/features/password/screens/OTP/OTP.d.ts +1 -1
  331. package/build/features/password/screens/OTP/OTPInput.d.ts +1 -1
  332. package/build/features/password/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  333. package/build/features/password/screens/Success/Success.d.ts +1 -1
  334. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  335. package/build/features/password/screens/Verify/OTPInput.d.ts +1 -1
  336. package/build/features/password/screens/Verify/Verify.d.ts +1 -1
  337. package/build/features/shared/AcceptancePayouts/AcceptancePayouts.d.ts +2 -1
  338. package/build/features/shared/Address/Address.d.ts +2 -1
  339. package/build/features/shared/Address/CountryList.d.ts +46 -14
  340. package/build/features/shared/Address/InputSelect.d.ts +46 -14
  341. package/build/features/shared/Address/InputSelect.js +1 -1
  342. package/build/features/shared/Address/InputText.d.ts +1 -1
  343. package/build/features/shared/Background/Background.d.ts +1 -1
  344. package/build/features/shared/Background/LogoBackground.d.ts +1 -1
  345. package/build/features/shared/BouncingDotsLoader/BouncingDotsLoader.d.ts +2 -1
  346. package/build/features/shared/BusinessCountry/BusinessCountry.d.ts +2 -1
  347. package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
  348. package/build/features/shared/Button/AbsherButton.d.ts +2 -1
  349. package/build/features/shared/Button/Button.d.ts +2 -1
  350. package/build/features/shared/Button/EmailProvidersButtons.d.ts +3 -2
  351. package/build/features/shared/Button/FlowsButtons.d.ts +3 -2
  352. package/build/features/shared/Button/FlowsButtons.js +1 -1
  353. package/build/features/shared/Button/IndividualActionButtons.d.ts +2 -2
  354. package/build/features/shared/Button/MobileButton.d.ts +2 -1
  355. package/build/features/shared/Button/SuccessButton.d.ts +2 -1
  356. package/build/features/shared/Calender/Calender.d.ts +2 -1
  357. package/build/features/shared/CheckIcon/CheckIcon.d.ts +3 -2
  358. package/build/features/shared/Chip/Chip.d.ts +2 -1
  359. package/build/features/shared/ClearIcon/ClearIcon.d.ts +2 -1
  360. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
  361. package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
  362. package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +1 -1
  363. package/build/features/shared/DataLoading/DataLoading.d.ts +1 -1
  364. package/build/features/shared/Dialog/CloseDialog.d.ts +2 -1
  365. package/build/features/shared/Dialog/DialogContainer.d.ts +1 -1
  366. package/build/features/shared/Dot/Dot.d.ts +2 -1
  367. package/build/features/shared/EndAdornment/EndAdornment.d.ts +2 -1
  368. package/build/features/shared/EndAdornment/EndAdornmentExpanded.d.ts +2 -1
  369. package/build/features/shared/Footer/Footer.d.ts +2 -1
  370. package/build/features/shared/Footer/PoweredByFooter.d.ts +3 -2
  371. package/build/features/shared/GenericError/GenericError.d.ts +1 -1
  372. package/build/features/shared/Input/Input.d.ts +14 -6
  373. package/build/features/shared/InputSelect/InputSelect.d.ts +2 -1
  374. package/build/features/shared/Mandatory/Mandatory.d.ts +2 -1
  375. package/build/features/shared/OTP/OTP.d.ts +1 -1
  376. package/build/features/shared/PaciVerification/PaciVerification.d.ts +1 -1
  377. package/build/features/shared/PasswordIcon/PasswordIcon.d.ts +2 -1
  378. package/build/features/shared/SalesChannels/SaleChannelIconsInput.d.ts +2 -1
  379. package/build/features/shared/SalesChannels/SalesChannel.d.ts +1 -1
  380. package/build/features/shared/Search/Search.d.ts +2 -1
  381. package/build/features/shared/SearchIcon/SearchIcon.d.ts +2 -1
  382. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +1 -1
  383. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -1
  384. package/build/features/shared/UploadFile/FileUpload.d.ts +9 -4
  385. package/build/features/shared/UploadFile/FileUpload.js +1 -1
  386. package/build/features/shared/UploadFile/UploadFile.d.ts +8 -3
  387. package/build/features/shared/UploadFile/UploadWrapper.d.ts +8 -3
  388. package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +9 -4
  389. package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
  390. package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +8 -3
  391. package/build/features/signIn/SignIn.d.ts +2 -1
  392. package/build/features/signIn/screens/Email/Email.d.ts +1 -1
  393. package/build/features/signIn/screens/Mobile/Mobile.d.ts +1 -1
  394. package/build/features/signIn/screens/OTP/OTP.d.ts +1 -1
  395. package/build/features/signIn/screens/OTP/OTPInput.d.ts +1 -1
  396. package/build/features/signIn/screens/Password/Password.d.ts +1 -1
  397. package/build/features/signIn/screens/Password/PasswordInput.d.ts +1 -1
  398. package/build/features/tax/Tax.d.ts +2 -1
  399. package/build/features/tax/screens/PrepareDataLoading/PrepareDataLoading.d.ts +2 -2
  400. package/build/features/tax/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +1 -1
  401. package/build/features/tax/screens/Success/Success.d.ts +1 -1
  402. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +1 -1
  403. package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +3 -2
  404. package/build/features/tax/screens/TaxDetails/TaxDetails.d.ts +2 -1
  405. package/build/features/tax/screens/TaxDetails/TaxDetails.js +8 -2
  406. package/build/features/tax/screens/TaxDetails/TaxDocument.d.ts +2 -1
  407. package/build/features/tax/screens/TaxDetails/VATId.d.ts +3 -2
  408. package/build/features/tax/screens/Verify/OTPInput.d.ts +1 -1
  409. package/build/features/tax/screens/Verify/Verify.d.ts +1 -1
  410. package/build/hooks/index.d.ts +1 -0
  411. package/build/hooks/index.js +1 -0
  412. package/build/hooks/useDataVerified.d.ts +1 -1
  413. package/build/hooks/useExcludeReadOnlyFelids.d.ts +2 -2
  414. package/build/hooks/useFormDirtyCheck.d.ts +6 -0
  415. package/build/hooks/useFormDirtyCheck.js +27 -0
  416. package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +2 -2
  417. package/build/hooks/useFormReadOnly.d.ts +2 -2
  418. package/build/hooks/useSetFromDefaultValues.d.ts +1 -1
  419. package/build/utils/array.js +1 -1
  420. package/package.json +1 -1
@@ -285,7 +285,7 @@ export interface LocalProps {
285
285
  };
286
286
  };
287
287
  }
288
- export type BrandInfo = {
288
+ export declare type BrandInfo = {
289
289
  segment?: {
290
290
  type: {
291
291
  id: string;
@@ -325,7 +325,7 @@ export declare enum FlowsTypes {
325
325
  BRAND = "brand",
326
326
  BOARD = "board"
327
327
  }
328
- export type FlowInfo = {
328
+ export declare type FlowInfo = {
329
329
  name: string;
330
330
  status: string;
331
331
  url: string;
@@ -353,7 +353,7 @@ export declare enum AddressFormateType {
353
353
  NUMBER = "number",
354
354
  TEXT = "text"
355
355
  }
356
- export type AddressFormat = {
356
+ export declare type AddressFormat = {
357
357
  code: string;
358
358
  name: {
359
359
  ar: string;
@@ -364,14 +364,14 @@ export type AddressFormat = {
364
364
  sort: number;
365
365
  type: AddressFormateType;
366
366
  };
367
- export type AddressType = {
367
+ export declare type AddressType = {
368
368
  code: string;
369
369
  name: {
370
370
  ar: string;
371
371
  en: string;
372
372
  };
373
373
  };
374
- export type AddressProps = {
374
+ export declare type AddressProps = {
375
375
  format: AddressFormat[];
376
376
  type: AddressType;
377
377
  };
@@ -403,7 +403,7 @@ export declare enum DocumentPurpose {
403
403
  TAX_DOCUMENT = "tax_document_user_upload",
404
404
  BRAND_LOGO = "business_logo"
405
405
  }
406
- export type FileDetails = {
406
+ export declare type FileDetails = {
407
407
  created: string;
408
408
  id: string;
409
409
  object: string;
@@ -418,7 +418,7 @@ export declare enum VerificationStatus {
418
418
  ENTERED = "entered",
419
419
  NOT_ENTERED = "not_entered"
420
420
  }
421
- export type BankDataStatus = {
421
+ export declare type BankDataStatus = {
422
422
  iban: FieldType;
423
423
  account_number: FieldType;
424
424
  swift_code: FieldType;
@@ -427,7 +427,7 @@ export type BankDataStatus = {
427
427
  bank_statement_file_id: FieldType;
428
428
  is_acknowledged: FieldType;
429
429
  };
430
- export type EntityDataStatus = {
430
+ export declare type EntityDataStatus = {
431
431
  type: FieldType;
432
432
  'license.status': FieldType;
433
433
  'license.provider': FieldType;
@@ -456,7 +456,7 @@ export type EntityDataStatus = {
456
456
  billing_address: FieldType;
457
457
  AOA_file_id: FieldType;
458
458
  };
459
- export type IndividualDataStatus = {
459
+ export declare type IndividualDataStatus = {
460
460
  status: FieldType;
461
461
  'name.en': FieldType;
462
462
  'name.ar': FieldType;
@@ -482,7 +482,7 @@ export type IndividualDataStatus = {
482
482
  is_influencer: FieldType;
483
483
  gender: FieldType;
484
484
  };
485
- export type BrandDataStatus = {
485
+ export declare type BrandDataStatus = {
486
486
  status: FieldType;
487
487
  'name.en': FieldType;
488
488
  'name.ar': FieldType;
@@ -558,7 +558,7 @@ export interface ActivitiesIsIc {
558
558
  created: string;
559
559
  divisions?: Array<ActivityDivision>;
560
560
  }
561
- export type BankDataVerification = {
561
+ export declare type BankDataVerification = {
562
562
  account_number: string;
563
563
  bank_name: string;
564
564
  bank_statement_file_id: string;
@@ -568,7 +568,7 @@ export type BankDataVerification = {
568
568
  is_acknowledged: string;
569
569
  swift_code: string;
570
570
  };
571
- export type BrandDataVerification = {
571
+ export declare type BrandDataVerification = {
572
572
  logo: string;
573
573
  'name.en': string;
574
574
  'name.ar': string;
@@ -586,7 +586,7 @@ export type BrandDataVerification = {
586
586
  'segment.tech_type': string;
587
587
  terms: string;
588
588
  };
589
- export type EntityDataVerification = {
589
+ export declare type EntityDataVerification = {
590
590
  AOA_file_id: string;
591
591
  billing_address: string;
592
592
  'capital.announced': string;
@@ -613,7 +613,7 @@ export type EntityDataVerification = {
613
613
  taxable: string;
614
614
  type: string;
615
615
  };
616
- export type IndividualDataVerification = {
616
+ export declare type IndividualDataVerification = {
617
617
  'birth.city': string;
618
618
  'birth.country': string;
619
619
  'birth.date': string;
@@ -660,7 +660,7 @@ export interface EventPageTrackingData extends CommonDataLayer {
660
660
  export interface PageTrackingData {
661
661
  title?: string;
662
662
  }
663
- export type VerifyExpressTokenParams = {
663
+ export declare type VerifyExpressTokenParams = {
664
664
  public_key: string;
665
665
  post: {
666
666
  url: string;
@@ -745,7 +745,7 @@ interface TerminalAuthorizes {
745
745
  status: string;
746
746
  status_message: string;
747
747
  }
748
- export type CountryInfo = {
748
+ export declare type CountryInfo = {
749
749
  id: number;
750
750
  label: string;
751
751
  country: {
@@ -760,7 +760,7 @@ export type CountryInfo = {
760
760
  max_digits: number;
761
761
  };
762
762
  };
763
- export type BusinessCountryInfo = {
763
+ export declare type BusinessCountryInfo = {
764
764
  id: number;
765
765
  title: string;
766
766
  countries: Array<CountryInfo>;
@@ -32,7 +32,7 @@ interface Lead {
32
32
  interface Operator {
33
33
  public_key: string;
34
34
  }
35
- type RecordType = Record<string, any>;
35
+ declare type RecordType = Record<string, any>;
36
36
  export interface SettingAsyncData {
37
37
  fingerPrint: RecordType;
38
38
  locale: RecordType;
@@ -1,50 +1,50 @@
1
1
  import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City, EntityLicense, EntityLicenseAuth, AuthMerchantInfo } from './app';
2
- export type MobileFormValues = {
2
+ export declare type MobileFormValues = {
3
3
  mobile: string;
4
4
  countryCode: CountryCode;
5
5
  termAndConditionChecked?: boolean;
6
6
  };
7
- export type EmailFormValues = {
7
+ export declare type EmailFormValues = {
8
8
  email: string | null;
9
9
  };
10
- export type OTPFormValues = {
10
+ export declare type OTPFormValues = {
11
11
  otp: string;
12
12
  };
13
- export type PasswordFormValues = {
13
+ export declare type PasswordFormValues = {
14
14
  password: string;
15
15
  };
16
- export type NIDFormValues = {
16
+ export declare type NIDFormValues = {
17
17
  nid: string;
18
18
  dob: string;
19
19
  termAndConditionChecked?: boolean;
20
20
  };
21
- export type CivilFormValues = {
21
+ export declare type CivilFormValues = {
22
22
  civilId: string;
23
23
  termAndConditionChecked?: boolean;
24
24
  };
25
- export type AuthEmailFormValues = {
25
+ export declare type AuthEmailFormValues = {
26
26
  email: string;
27
27
  };
28
- export type IndividualFormValues = {
28
+ export declare type IndividualFormValues = {
29
29
  name: string;
30
30
  email: string;
31
31
  mobile: string | null;
32
32
  countryCode: CountryCode;
33
33
  };
34
- export type BrandFormValues = {
34
+ export declare type BrandFormValues = {
35
35
  brandName: string;
36
36
  brandLogoId?: string;
37
37
  salesChannels: Array<SaleChannel>;
38
38
  termAndConditionChecked?: boolean;
39
39
  selectedBrandItem: BrandInfo;
40
40
  };
41
- export type BrandSegmentFormValues = {
41
+ export declare type BrandSegmentFormValues = {
42
42
  segmentLocation?: Segment | undefined;
43
43
  segmentProfit?: Segment | undefined;
44
44
  segmentTech?: Segment | undefined;
45
45
  teamSize?: TeamSize | undefined;
46
46
  };
47
- export type BrandActivitiesFormValues = {
47
+ export declare type BrandActivitiesFormValues = {
48
48
  activities: Array<Activity>;
49
49
  customerLocations: Array<CustomerLocation>;
50
50
  expectedCustomer: ExpectedCustomer | undefined;
@@ -53,7 +53,7 @@ export type BrandActivitiesFormValues = {
53
53
  refundPolicy: boolean;
54
54
  transactionPolicy: boolean;
55
55
  };
56
- export type BusinessTypeFormValues = {
56
+ export declare type BusinessTypeFormValues = {
57
57
  licenseNumber: string;
58
58
  entityLegalName?: string;
59
59
  selectedEntityLicense?: EntityLicense;
@@ -61,18 +61,18 @@ export type BusinessTypeFormValues = {
61
61
  certificateId?: Array<string>;
62
62
  articleId?: string;
63
63
  };
64
- export type ActivitiesFormValues = {
64
+ export declare type ActivitiesFormValues = {
65
65
  activities: Array<Activity> | undefined;
66
66
  operationStartDate: string;
67
67
  };
68
- export type CustomersFormValues = {
68
+ export declare type CustomersFormValues = {
69
69
  customerLocations: Array<CustomerLocation>;
70
70
  expectedCustomer: ExpectedCustomer | undefined;
71
71
  expectedSale: ExpectedSaleRange | undefined;
72
72
  refundPolicy: boolean;
73
73
  transactionPolicy: boolean;
74
74
  };
75
- export type BankFormValues = {
75
+ export declare type BankFormValues = {
76
76
  iban: string;
77
77
  beneficiaryName: string;
78
78
  bankName: string;
@@ -80,7 +80,7 @@ export type BankFormValues = {
80
80
  uploading?: boolean;
81
81
  confirmPolicy: boolean;
82
82
  };
83
- export type TaxFormValues = {
83
+ export declare type TaxFormValues = {
84
84
  vatId: string;
85
85
  confirmPolicy: boolean;
86
86
  documentId?: Array<string>;
@@ -114,17 +114,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
114
114
  shareValue: string;
115
115
  isAuthorized: boolean;
116
116
  }
117
- export type IndividualAttachmentsFormValues = {
117
+ export declare type IndividualAttachmentsFormValues = {
118
118
  civilID?: Array<string>;
119
119
  signatureFileId?: Array<string>;
120
120
  civilIDUploading?: boolean;
121
121
  signatureFileUploading?: boolean;
122
122
  };
123
- export type PasswordCreateFormValues = {
123
+ export declare type PasswordCreateFormValues = {
124
124
  password: string;
125
125
  confirmPassword: string;
126
126
  };
127
- export type EntityNameFormValues = {
127
+ export declare type EntityNameFormValues = {
128
128
  legalName: string;
129
129
  licenseNumber: string;
130
130
  licenseType: string;
@@ -135,25 +135,25 @@ export type EntityNameFormValues = {
135
135
  certificateId?: Array<string>;
136
136
  articleId?: string;
137
137
  };
138
- export type EntityCapitalFormValues = {
138
+ export declare type EntityCapitalFormValues = {
139
139
  activities: Array<Activity>;
140
140
  capitalPaid: string;
141
141
  capitalShareCount: string;
142
142
  capitalShareValue: string;
143
143
  };
144
- export type BusinessDataFormValues = {
144
+ export declare type BusinessDataFormValues = {
145
145
  brandName: string;
146
146
  licenseNumber: string;
147
147
  selectedLicense?: License;
148
148
  termAndConditionChecked?: boolean;
149
149
  };
150
- export type AuthenticationListFormValues = {
150
+ export declare type AuthenticationListFormValues = {
151
151
  brandInfo?: BrandInfo;
152
152
  entityInfo?: EntityLicenseAuth;
153
153
  licenseNumber?: string;
154
154
  legalName?: string;
155
155
  licenseType?: string;
156
156
  };
157
- export type AuthMerchantFormValues = {
157
+ export declare type AuthMerchantFormValues = {
158
158
  merchantInfo?: AuthMerchantInfo;
159
159
  };
@@ -15,4 +15,5 @@ export interface ResponseData {
15
15
  export interface AsyncThunkParams<T> {
16
16
  formData: T;
17
17
  originalFormData: T;
18
+ isDirty: boolean;
18
19
  }
@@ -11,7 +11,7 @@ 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);
15
15
  export declare enum DialogEdgeFormat {
16
16
  STRAIGHT = "straight",
17
17
  CURVED = "curved"
@@ -1,5 +1,5 @@
1
1
  import { PaymentProvider } from '../@types';
2
- export type CreateAccountBody = {
2
+ export declare type CreateAccountBody = {
3
3
  lead_id: string;
4
4
  notify: {
5
5
  email: boolean;
@@ -9,7 +9,7 @@ export type CreateAccountBody = {
9
9
  is_acknowledged: boolean;
10
10
  step_name: string;
11
11
  };
12
- export type ExpressCreateAccountBody = {
12
+ export declare type ExpressCreateAccountBody = {
13
13
  post_url: string;
14
14
  lead_id: string;
15
15
  platforms?: string[];
@@ -1,23 +1,23 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
2
  import { ConfigInfo, 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;
@@ -45,28 +45,28 @@ export type VerifyAuthBody = {
45
45
  lead_id?: string;
46
46
  terms?: Array<string>;
47
47
  };
48
- export type VerifyOperationAuthBody = {
48
+ export declare type VerifyOperationAuthBody = {
49
49
  auth_token: string;
50
50
  auth_type: number;
51
51
  };
52
- export type ResetPasswordCredential = {
52
+ export declare type ResetPasswordCredential = {
53
53
  otp: string;
54
54
  new_password: string;
55
55
  };
56
- export type ResetPasswordVerifyAuthBody = {
56
+ export declare type ResetPasswordVerifyAuthBody = {
57
57
  auth_token: string;
58
58
  auth_type: number;
59
59
  step_name: string;
60
60
  user_credentail: ResetPasswordCredential;
61
61
  encryption_contract: Array<string>;
62
62
  };
63
- export type CreatePasswordBody = {
63
+ export declare type CreatePasswordBody = {
64
64
  password: string;
65
65
  signup_token?: string;
66
66
  step_name: string;
67
67
  encryption_contract: Array<string>;
68
68
  };
69
- export type VerifyAuthExpressOTPBody = {
69
+ export declare type VerifyAuthExpressOTPBody = {
70
70
  auth_token?: string;
71
71
  verify_token?: string;
72
72
  lead_id?: string;
@@ -81,11 +81,11 @@ export type VerifyAuthExpressOTPBody = {
81
81
  terms?: Array<string>;
82
82
  encryption_contract: Array<string>;
83
83
  };
84
- export type getExpressTokenVerifyParams = {
84
+ export declare type getExpressTokenVerifyParams = {
85
85
  token: string;
86
86
  leadId: string;
87
87
  };
88
- export type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
88
+ export declare type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
89
89
  declare const authService: {
90
90
  createAuth: (data: CreateAuthBody, config?: AxiosRequestConfig) => Promise<any>;
91
91
  verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -1,15 +1,15 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- export type CheckEmailBody = {
2
+ export declare type CheckEmailBody = {
3
3
  email: string | null;
4
4
  country: string;
5
5
  encryption_contract: Array<string>;
6
6
  };
7
- export type CheckBrandBody = {
7
+ export declare type CheckBrandBody = {
8
8
  profile_name: string;
9
9
  country_code: string;
10
10
  encryption_contract: Array<string>;
11
11
  };
12
- export type CheckIBanBody = {
12
+ export declare type CheckIBanBody = {
13
13
  iban_number: string;
14
14
  encryption_contract?: Array<string>;
15
15
  };
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
13
13
  function verb(n) { return function (v) { return step([n, v]); }; }
14
14
  function step(op) {
15
15
  if (f) throw new TypeError("Generator is already executing.");
16
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
16
+ while (_) try {
17
17
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
18
18
  if (y = 0, t) op = [op[0] & 2, t.value];
19
19
  switch (op[0]) {
@@ -1,15 +1,15 @@
1
- export type UpdateBoardBody = {
1
+ export declare type UpdateBoardBody = {
2
2
  id?: string;
3
3
  infoId?: string;
4
4
  step_name: string;
5
5
  lang: string;
6
6
  encryption_contract?: string;
7
7
  };
8
- export type RetrieveBoardInfoBody = {
8
+ export declare type RetrieveBoardInfoBody = {
9
9
  id: string;
10
10
  infoId: string;
11
11
  };
12
- export type UpdateBoardInfoBody = {
12
+ export declare type UpdateBoardInfoBody = {
13
13
  id: string;
14
14
  infoId: string;
15
15
  step_name: string;
@@ -1,5 +1,5 @@
1
1
  import { BrandListBody, UpdateBrandBody, UpdateSalesChannels } from '../api/individual';
2
- export type RemoveBrandActivity = {
2
+ export declare type RemoveBrandActivity = {
3
3
  id: string;
4
4
  activities?: Array<{
5
5
  id: string;
@@ -1,4 +1,4 @@
1
- export type GetCitiesBody = {
1
+ export declare type GetCitiesBody = {
2
2
  country: string[];
3
3
  };
4
4
  declare const countryService: {
@@ -1,41 +1,41 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
- type GetOccupationBody = {
2
+ declare type GetOccupationBody = {
3
3
  page: number;
4
4
  };
5
- type GetSegmentsBody = {
5
+ declare type GetSegmentsBody = {
6
6
  page: number;
7
7
  };
8
- type GetTeamSizeBody = {
8
+ declare type GetTeamSizeBody = {
9
9
  page: number;
10
10
  };
11
- type SegmentDataListBody = {
11
+ declare type SegmentDataListBody = {
12
12
  page: number;
13
13
  limit: number;
14
14
  };
15
- type GetMonthlyIncomeBody = {
15
+ declare type GetMonthlyIncomeBody = {
16
16
  page: number;
17
17
  country_code: Array<string>;
18
18
  };
19
- export type DataElementBody = {
19
+ export declare type DataElementBody = {
20
20
  id: string;
21
21
  name: {
22
22
  en: string;
23
23
  ar: string;
24
24
  };
25
25
  };
26
- type GetCustomerBasesBody = {
26
+ declare type GetCustomerBasesBody = {
27
27
  page: number;
28
28
  };
29
- type GetExpectedSalesBody = {
29
+ declare type GetExpectedSalesBody = {
30
30
  page: number;
31
31
  };
32
- type GetExpectedCustomerSalesBody = {
32
+ declare type GetExpectedCustomerSalesBody = {
33
33
  page: number;
34
34
  };
35
- type GetSourceOfIncomeBody = {
35
+ declare type GetSourceOfIncomeBody = {
36
36
  page: number;
37
37
  };
38
- type GetChannelsOfServicesBody = {
38
+ declare type GetChannelsOfServicesBody = {
39
39
  page: number;
40
40
  };
41
41
  declare const dataService: {
@@ -1,4 +1,4 @@
1
- export type DocumentInfo = {
1
+ export declare type DocumentInfo = {
2
2
  type?: string;
3
3
  number?: string;
4
4
  issuing_country?: string;
@@ -6,7 +6,7 @@ export type DocumentInfo = {
6
6
  expiry_date?: string;
7
7
  images: Array<string>;
8
8
  };
9
- export type DocumentUpdateBody = {
9
+ export declare type DocumentUpdateBody = {
10
10
  entity_id?: boolean;
11
11
  individual_type_id?: number;
12
12
  country?: string;
@@ -1,6 +1,6 @@
1
1
  import { AxiosRequestConfig } from 'axios';
2
2
  import { PaymentProvider } from '../@types';
3
- export type EntityInfoBody = {
3
+ export declare type EntityInfoBody = {
4
4
  id: string;
5
5
  lead_id?: string;
6
6
  activities?: Array<{
@@ -35,7 +35,7 @@ export type EntityInfoBody = {
35
35
  encryption_contract?: Array<string>;
36
36
  vat_acknowledged_by?: string;
37
37
  };
38
- export type BankDocumentInfo = {
38
+ export declare type BankDocumentInfo = {
39
39
  type?: string;
40
40
  number?: string;
41
41
  issuing_country?: string;
@@ -43,7 +43,7 @@ export type BankDocumentInfo = {
43
43
  expiry_date?: string;
44
44
  files: Array<string>;
45
45
  };
46
- export type EntityBankUpdateBody = {
46
+ export declare type EntityBankUpdateBody = {
47
47
  wallet_id: string;
48
48
  acknowledged_by?: string;
49
49
  bank_account: {
@@ -59,7 +59,7 @@ export type EntityBankUpdateBody = {
59
59
  step_name: string;
60
60
  encryption_contract?: Array<string>;
61
61
  };
62
- export type UpdateEntityBody = {
62
+ export declare type UpdateEntityBody = {
63
63
  id: string;
64
64
  license?: {
65
65
  type?: string;
@@ -89,13 +89,13 @@ export type UpdateEntityBody = {
89
89
  };
90
90
  encryption_contract?: Array<string>;
91
91
  };
92
- export type UpdateEntityActivityBody = {
92
+ export declare type UpdateEntityActivityBody = {
93
93
  id: string;
94
94
  activities?: Array<{
95
95
  id: string;
96
96
  }>;
97
97
  };
98
- export type UpdateEntityCapitalBody = {
98
+ export declare type UpdateEntityCapitalBody = {
99
99
  id: string;
100
100
  capital: {
101
101
  paid: string;
@@ -105,24 +105,24 @@ export type UpdateEntityCapitalBody = {
105
105
  };
106
106
  };
107
107
  };
108
- export type UpdateEntityAOAFileBody = {
108
+ export declare type UpdateEntityAOAFileBody = {
109
109
  id: string;
110
110
  AOA_file_id: string;
111
111
  };
112
- export type RemoveEntityActivity = {
112
+ export declare type RemoveEntityActivity = {
113
113
  id: string;
114
114
  activities?: Array<{
115
115
  id: string;
116
116
  }>;
117
117
  };
118
- export type MerchantListBody = {
118
+ export declare type MerchantListBody = {
119
119
  business_entity_id: string;
120
120
  brand_id: string;
121
121
  create_if_not_present: boolean;
122
122
  platforms?: Array<string>;
123
123
  payment_provider?: PaymentProvider;
124
124
  };
125
- export type CreateEntityBody = {
125
+ export declare type CreateEntityBody = {
126
126
  business_id: string;
127
127
  entity: {
128
128
  legal_name: {
@@ -139,7 +139,7 @@ export type CreateEntityBody = {
139
139
  };
140
140
  declare const entityService: {
141
141
  createEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
142
- updateEntityInfo: ({ id, ...data }: EntityInfoBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
142
+ updateEntityInfo: ({ id, ...data }: EntityInfoBody) => Promise<any>;
143
143
  createBankAccount: (data: EntityBankUpdateBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
144
144
  retrieveBankAccount: (id: string) => Promise<any>;
145
145
  retrieveEntityInfo: (entity_id: string, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -18,9 +18,13 @@ var createEntityInfo = function (_a, config) {
18
18
  var id = _a.id, data = __rest(_a, ["id"]);
19
19
  return instance.post("".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id, "/info"), data, config);
20
20
  };
21
- var updateEntityInfo = function (_a, config) {
21
+ var updateEntityInfo = function (_a) {
22
22
  var id = _a.id, data = __rest(_a, ["id"]);
23
- return instance.put("".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id), data, config);
23
+ return httpClient({
24
+ method: 'put',
25
+ url: "".concat(ENDPOINT_PATHS.ENTITY, "/").concat(id),
26
+ data: data
27
+ });
24
28
  };
25
29
  var retrieveEntity = function (entity_id) {
26
30
  return httpClient({
@@ -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;