@tap-payments/auth-jsconnect 2.0.30-test → 2.0.30

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 (294) hide show
  1. package/build/@types/app.d.ts +59 -20
  2. package/build/@types/app.js +16 -1
  3. package/build/@types/form.d.ts +21 -7
  4. package/build/api/auth.d.ts +24 -2
  5. package/build/api/auth.js +36 -1
  6. package/build/api/axios.js +2 -2
  7. package/build/api/brand.d.ts +2 -1
  8. package/build/api/brand.js +10 -1
  9. package/build/api/country.d.ts +3 -1
  10. package/build/api/country.js +3 -1
  11. package/build/api/data.d.ts +38 -7
  12. package/build/api/data.js +57 -17
  13. package/build/api/entity.d.ts +28 -5
  14. package/build/api/entity.js +23 -9
  15. package/build/api/firebase.d.ts +1 -1
  16. package/build/api/firebase.js +3 -1
  17. package/build/api/index.d.ts +41 -14
  18. package/build/api/individual.d.ts +76 -19
  19. package/build/api/individual.js +29 -2
  20. package/build/api/lead.d.ts +8 -6
  21. package/build/app/rootReducer.d.ts +2 -0
  22. package/build/app/rootReducer.js +5 -1
  23. package/build/app/settings.d.ts +8 -2
  24. package/build/app/settings.js +29 -12
  25. package/build/app/store.d.ts +5 -1
  26. package/build/assets/locales/ar.json +256 -179
  27. package/build/assets/locales/en.json +188 -104
  28. package/build/components/AnimationFlow/AnimationFlow.d.ts +5 -1
  29. package/build/components/AnimationFlow/AnimationFlow.js +6 -8
  30. package/build/components/AnimationFlow/BottomSheet.d.ts +2 -1
  31. package/build/components/AnimationFlow/BottomSheet.js +4 -3
  32. package/build/components/AnimationFlow/Dialog.d.ts +5 -1
  33. package/build/components/AnimationFlow/Dialog.js +11 -5
  34. package/build/components/ArabicDatePicker/ArabicDatePicker.d.ts +13 -0
  35. package/build/components/ArabicDatePicker/ArabicDatePicker.js +94 -0
  36. package/build/components/ArabicDatePicker/index.d.ts +2 -0
  37. package/build/components/ArabicDatePicker/index.js +2 -0
  38. package/build/components/ArabicDatePicker/style.css +24 -0
  39. package/build/components/FileInput/DragAndDrop.d.ts +10 -1
  40. package/build/components/FileInput/DragAndDrop.js +107 -8
  41. package/build/components/Lottie/Lottie.d.ts +878 -0
  42. package/build/components/Lottie/Lottie.js +58 -0
  43. package/build/components/Lottie/files/pulsating_circle_waves.json +236 -0
  44. package/build/components/Lottie/files/success.json +425 -0
  45. package/build/components/Lottie/index.d.ts +3 -0
  46. package/build/components/Lottie/index.js +3 -0
  47. package/build/components/OTPField/OTPField.d.ts +2 -1
  48. package/build/components/OTPField/OTPField.js +2 -2
  49. package/build/components/OTPTimer/OTPTimer.js +1 -1
  50. package/build/components/ProgressBar/CircularProgressBar.d.ts +14 -0
  51. package/build/components/ProgressBar/CircularProgressBar.js +48 -0
  52. package/build/components/ProgressBar/index.d.ts +2 -0
  53. package/build/components/ProgressBar/index.js +2 -0
  54. package/build/components/RadioLabel/RadioLabel.d.ts +2 -1
  55. package/build/components/RadioLabel/RadioLabel.js +2 -2
  56. package/build/components/SocialMediaGroup/SocialMediaGroup.d.ts +1 -4
  57. package/build/components/SocialMediaGroup/SocialMediaGroup.js +3 -55
  58. package/build/constants/api.d.ts +6 -0
  59. package/build/constants/api.js +14 -1
  60. package/build/constants/app.d.ts +13 -0
  61. package/build/constants/app.js +97 -15
  62. package/build/constants/assets.d.ts +20 -1
  63. package/build/constants/assets.js +27 -8
  64. package/build/constants/dummy.d.ts +1 -1
  65. package/build/constants/dummy.js +2 -2
  66. package/build/constants/validation.d.ts +8 -0
  67. package/build/constants/validation.js +9 -1
  68. package/build/features/app/auth/authStore.d.ts +47 -0
  69. package/build/features/app/auth/authStore.js +265 -0
  70. package/build/features/app/bank/bankStore.d.ts +16 -0
  71. package/build/features/app/bank/bankStore.js +81 -37
  72. package/build/features/app/business/businessStore.d.ts +22 -3
  73. package/build/features/app/business/businessStore.js +430 -290
  74. package/build/features/app/connect/connectStore.d.ts +33 -30
  75. package/build/features/app/connect/connectStore.js +398 -258
  76. package/build/features/app/entity/entityStore.d.ts +53 -0
  77. package/build/features/app/entity/entityStore.js +461 -0
  78. package/build/features/app/individual/individualStore.d.ts +17 -0
  79. package/build/features/app/individual/individualStore.js +167 -83
  80. package/build/features/app/password/passwordStore.js +1 -1
  81. package/build/features/app/tax/taxStore.js +3 -2
  82. package/build/features/auth/Auth.d.ts +10 -0
  83. package/build/features/auth/Auth.js +87 -0
  84. package/build/features/auth/index.d.ts +1 -0
  85. package/build/features/auth/index.js +1 -0
  86. package/build/features/auth/screens/NID/DOB.d.ts +7 -0
  87. package/build/features/auth/screens/NID/DOB.js +47 -0
  88. package/build/features/auth/screens/NID/IDNumber.d.ts +3 -0
  89. package/build/features/auth/screens/NID/IDNumber.js +64 -0
  90. package/build/features/auth/screens/NID/NID.d.ts +5 -0
  91. package/build/features/auth/screens/NID/NID.js +67 -0
  92. package/build/features/auth/screens/NID/TAC.d.ts +3 -0
  93. package/build/features/auth/screens/NID/TAC.js +87 -0
  94. package/build/features/auth/screens/NID/index.d.ts +3 -0
  95. package/build/features/auth/screens/NID/index.js +2 -0
  96. package/build/features/auth/screens/NID/validation.d.ts +27 -0
  97. package/build/features/auth/screens/NID/validation.js +19 -0
  98. package/build/features/auth/screens/OTP/OTP.d.ts +5 -0
  99. package/build/features/auth/screens/OTP/OTP.js +76 -0
  100. package/build/features/auth/screens/OTP/OTPInput.d.ts +5 -0
  101. package/build/features/auth/screens/OTP/OTPInput.js +51 -0
  102. package/build/features/auth/screens/OTP/index.d.ts +3 -0
  103. package/build/features/auth/screens/OTP/index.js +2 -0
  104. package/build/features/auth/screens/OTP/validation.d.ts +8 -0
  105. package/build/features/auth/screens/OTP/validation.js +4 -0
  106. package/build/features/bank/Bank.js +12 -6
  107. package/build/features/bank/screens/BankDetails/BankDetails.js +2 -2
  108. package/build/features/bank/screens/BankDetails/BankStatement.js +41 -8
  109. package/build/features/bank/screens/BankDetails/Beneficiary.js +10 -11
  110. package/build/features/bank/screens/BankDetails/validation.js +2 -2
  111. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +12 -8
  112. package/build/features/business/Business.d.ts +1 -1
  113. package/build/features/business/Business.js +14 -7
  114. package/build/features/business/screens/Activities/Activities.js +1 -6
  115. package/build/features/business/screens/Activities/ActivitiesList.d.ts +37 -1
  116. package/build/features/business/screens/Activities/ActivitiesList.js +51 -12
  117. package/build/features/business/screens/Activities/OperationStartDate.d.ts +15 -1
  118. package/build/features/business/screens/Activities/OperationStartDate.js +21 -2
  119. package/build/features/business/screens/Activities/validation.d.ts +0 -51
  120. package/build/features/business/screens/Activities/validation.js +0 -9
  121. package/build/features/business/screens/BusinessType/BusinessType.js +20 -7
  122. package/build/features/business/screens/BusinessType/EntityName.d.ts +6 -0
  123. package/build/features/business/screens/BusinessType/EntityName.js +56 -0
  124. package/build/features/business/screens/BusinessType/LicenseCertificate.d.ts +6 -0
  125. package/build/features/business/screens/BusinessType/LicenseCertificate.js +76 -0
  126. package/build/features/business/screens/BusinessType/LicenseList.js +24 -7
  127. package/build/features/business/screens/BusinessType/LicenseNumber.js +14 -8
  128. package/build/features/business/screens/BusinessType/LicenseType.d.ts +6 -0
  129. package/build/features/business/screens/BusinessType/LicenseType.js +67 -0
  130. package/build/features/business/screens/BusinessType/validation.d.ts +19 -0
  131. package/build/features/business/screens/BusinessType/validation.js +50 -1
  132. package/build/features/business/screens/CivilID/CivilID.d.ts +5 -0
  133. package/build/features/business/screens/CivilID/CivilID.js +84 -0
  134. package/build/features/business/screens/CivilID/IDNumber.d.ts +7 -0
  135. package/build/features/business/screens/CivilID/IDNumber.js +59 -0
  136. package/build/features/business/screens/CivilID/index.d.ts +3 -0
  137. package/build/features/business/screens/CivilID/index.js +2 -0
  138. package/build/features/business/screens/CivilID/validation.d.ts +8 -0
  139. package/build/features/business/screens/CivilID/validation.js +4 -0
  140. package/build/features/business/screens/Customers/CustomerLocations.d.ts +15 -2
  141. package/build/features/business/screens/Customers/CustomerLocations.js +32 -8
  142. package/build/features/business/screens/Customers/ExpectedCustomers.js +16 -4
  143. package/build/features/business/screens/Customers/ExpectedSalesRange.js +32 -14
  144. package/build/features/business/screens/Customers/RefundPolicy.js +8 -2
  145. package/build/features/business/screens/Customers/TransactionPolicy.js +8 -2
  146. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +10 -7
  147. package/build/features/business/screens/Verify/Verify.js +4 -4
  148. package/build/features/business/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
  149. package/build/features/business/screens/VerifyPACI/VerifyPACI.js +157 -0
  150. package/build/features/business/screens/VerifyPACI/VerifyPACILoading.d.ts +5 -0
  151. package/build/features/business/screens/VerifyPACI/VerifyPACILoading.js +22 -0
  152. package/build/features/business/screens/VerifyPACI/VerifyPACISuccess.d.ts +5 -0
  153. package/build/features/business/screens/VerifyPACI/VerifyPACISuccess.js +8 -0
  154. package/build/features/business/screens/VerifyPACI/index.d.ts +3 -0
  155. package/build/features/business/screens/VerifyPACI/index.js +2 -0
  156. package/build/features/connect/Connect.d.ts +2 -1
  157. package/build/features/connect/Connect.js +47 -12
  158. package/build/features/connect/screens/CivilID/CivilID.d.ts +5 -0
  159. package/build/features/connect/screens/CivilID/CivilID.js +86 -0
  160. package/build/features/connect/screens/CivilID/IDNumber.d.ts +7 -0
  161. package/build/features/connect/screens/CivilID/IDNumber.js +59 -0
  162. package/build/features/connect/screens/CivilID/index.d.ts +3 -0
  163. package/build/features/connect/screens/CivilID/index.js +2 -0
  164. package/build/features/connect/screens/CivilID/validation.d.ts +8 -0
  165. package/build/features/connect/screens/CivilID/validation.js +4 -0
  166. package/build/features/connect/screens/Individual/Email.js +11 -3
  167. package/build/features/connect/screens/Individual/Individual.js +27 -14
  168. package/build/features/connect/screens/Merchant/BrandList.js +15 -7
  169. package/build/features/connect/screens/Merchant/BrandName.js +7 -4
  170. package/build/features/connect/screens/Merchant/Merchant.js +47 -50
  171. package/build/features/connect/screens/Merchant/SalesChannels.d.ts +7 -0
  172. package/build/features/connect/screens/Merchant/SalesChannels.js +113 -0
  173. package/build/features/connect/screens/Merchant/SocialMedia.d.ts +1 -4
  174. package/build/features/connect/screens/Merchant/SocialMedia.js +131 -66
  175. package/build/features/connect/screens/Merchant/TAC.js +8 -2
  176. package/build/features/connect/screens/Merchant/validation.d.ts +22 -45
  177. package/build/features/connect/screens/Merchant/validation.js +117 -116
  178. package/build/features/connect/screens/Mobile/Mobile.js +15 -6
  179. package/build/features/connect/screens/NID/NID.js +2 -1
  180. package/build/features/connect/screens/OTP/OTP.js +5 -4
  181. package/build/features/connect/screens/OTP/OTPInput.js +3 -2
  182. package/build/features/connect/screens/VerifyPACI/VerifyPACI.d.ts +5 -0
  183. package/build/features/connect/screens/VerifyPACI/VerifyPACI.js +159 -0
  184. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.d.ts +5 -0
  185. package/build/features/connect/screens/VerifyPACI/VerifyPACILoading.js +22 -0
  186. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.d.ts +5 -0
  187. package/build/features/connect/screens/VerifyPACI/VerifyPACISuccess.js +8 -0
  188. package/build/features/connect/screens/VerifyPACI/index.d.ts +3 -0
  189. package/build/features/connect/screens/VerifyPACI/index.js +2 -0
  190. package/build/features/entity/Entity.d.ts +7 -0
  191. package/build/features/entity/Entity.js +70 -0
  192. package/build/features/entity/index.d.ts +1 -0
  193. package/build/features/entity/index.js +1 -0
  194. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.d.ts +54 -0
  195. package/build/features/entity/screens/EntityInfoConfirm/ActivitiesList.js +140 -0
  196. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.d.ts +5 -0
  197. package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +56 -0
  198. package/build/features/entity/screens/EntityInfoConfirm/LicenseName.d.ts +5 -0
  199. package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +17 -0
  200. package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.d.ts +5 -0
  201. package/build/features/entity/screens/EntityInfoConfirm/LicenseNumber.js +28 -0
  202. package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.d.ts +6 -0
  203. package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +38 -0
  204. package/build/features/{business/screens/Activities → entity/screens/EntityInfoConfirm}/SalesChannels.d.ts +0 -0
  205. package/build/features/{business/screens/Activities → entity/screens/EntityInfoConfirm}/SalesChannels.js +8 -5
  206. package/build/features/entity/screens/EntityInfoConfirm/index.d.ts +2 -0
  207. package/build/features/entity/screens/EntityInfoConfirm/index.js +2 -0
  208. package/build/features/entity/screens/EntityInfoConfirm/validation.d.ts +107 -0
  209. package/build/features/entity/screens/EntityInfoConfirm/validation.js +17 -0
  210. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
  211. package/build/features/entity/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
  212. package/build/features/entity/screens/ResetPasswordSuccess/index.d.ts +3 -0
  213. package/build/features/entity/screens/ResetPasswordSuccess/index.js +2 -0
  214. package/build/features/entity/screens/Success/Success.d.ts +5 -0
  215. package/build/features/entity/screens/Success/Success.js +16 -0
  216. package/build/features/entity/screens/Success/index.d.ts +3 -0
  217. package/build/features/entity/screens/Success/index.js +2 -0
  218. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
  219. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +110 -0
  220. package/build/features/entity/screens/SuccessWithFlowButtons/index.d.ts +2 -0
  221. package/build/features/entity/screens/SuccessWithFlowButtons/index.js +2 -0
  222. package/build/features/entity/screens/Verify/OTPInput.d.ts +7 -0
  223. package/build/features/entity/screens/Verify/OTPInput.js +47 -0
  224. package/build/features/entity/screens/Verify/Verify.d.ts +5 -0
  225. package/build/features/entity/screens/Verify/Verify.js +78 -0
  226. package/build/features/entity/screens/Verify/index.d.ts +2 -0
  227. package/build/features/entity/screens/Verify/index.js +2 -0
  228. package/build/features/entity/screens/Verify/validation.d.ts +8 -0
  229. package/build/features/entity/screens/Verify/validation.js +4 -0
  230. package/build/features/featuresScreens.d.ts +2 -0
  231. package/build/features/featuresScreens.js +56 -0
  232. package/build/features/individual/Individual.d.ts +1 -1
  233. package/build/features/individual/Individual.js +14 -7
  234. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +1 -1
  235. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +15 -3
  236. package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +11 -3
  237. package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +2 -2
  238. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +12 -8
  239. package/build/features/individual/screens/Verify/Verify.js +4 -4
  240. package/build/features/password/Password.d.ts +1 -1
  241. package/build/features/password/Password.js +14 -7
  242. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +12 -9
  243. package/build/features/shared/Background/Background.d.ts +7 -5
  244. package/build/features/shared/Background/Background.js +16 -5
  245. package/build/features/shared/Button/EmailProvidersButtons.d.ts +2 -1
  246. package/build/features/shared/Button/EmailProvidersButtons.js +7 -2
  247. package/build/features/shared/Button/MobileButton.d.ts +2 -1
  248. package/build/features/shared/Button/MobileButton.js +2 -2
  249. package/build/features/shared/Dialog/CloseDialog.d.ts +11 -0
  250. package/build/features/shared/Dialog/CloseDialog.js +71 -0
  251. package/build/features/shared/Dialog/DialogContainer.d.ts +8 -0
  252. package/build/features/shared/Dialog/DialogContainer.js +56 -0
  253. package/build/features/shared/Dialog/index.d.ts +4 -0
  254. package/build/features/shared/Dialog/index.js +4 -0
  255. package/build/features/shared/Input/Input.d.ts +1 -1
  256. package/build/features/shared/Input/Input.js +2 -2
  257. package/build/features/shared/SuccessScreen/SuccessScreen.js +1 -1
  258. package/build/features/shared/UploadFile/UploadFile.d.ts +9 -3
  259. package/build/features/shared/UploadFile/UploadFile.js +23 -8
  260. package/build/features/signIn/SignIn.d.ts +1 -1
  261. package/build/features/signIn/SignIn.js +14 -6
  262. package/build/features/tax/Tax.d.ts +1 -1
  263. package/build/features/tax/Tax.js +16 -8
  264. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +11 -7
  265. package/build/hooks/index.d.ts +1 -0
  266. package/build/hooks/index.js +1 -0
  267. package/build/hooks/useAppConfig.d.ts +3 -1
  268. package/build/hooks/useAppConfig.js +4 -2
  269. package/build/hooks/useAppDispatch.d.ts +2 -0
  270. package/build/hooks/useErrorListener.js +0 -5
  271. package/build/hooks/useScreen.d.ts +3 -0
  272. package/build/hooks/useScreen.js +14 -0
  273. package/build/index.d.ts +4 -2
  274. package/build/index.js +8 -2
  275. package/build/utils/array.d.ts +13 -1
  276. package/build/utils/array.js +26 -0
  277. package/build/utils/common.d.ts +1 -0
  278. package/build/utils/common.js +3 -0
  279. package/build/utils/device.d.ts +1 -0
  280. package/build/utils/device.js +13 -0
  281. package/build/utils/html.d.ts +1 -0
  282. package/build/utils/html.js +6 -0
  283. package/build/utils/index.d.ts +1 -0
  284. package/build/utils/index.js +1 -0
  285. package/build/utils/locale.js +1 -1
  286. package/build/utils/object.d.ts +1 -0
  287. package/build/utils/object.js +12 -0
  288. package/build/utils/rsa.d.ts +2 -2
  289. package/build/utils/rsa.js +1 -1
  290. package/build/utils/string.d.ts +33 -20
  291. package/build/utils/string.js +71 -1
  292. package/build/utils/validation.d.ts +2 -0
  293. package/build/utils/validation.js +6 -0
  294. package/package.json +129 -128
@@ -1,11 +1,12 @@
1
1
  import axiosInstance, { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, getAxiosHeaders } from './axios';
2
2
  import { ValidateOperatorBody } from './operator';
3
- import { CreateAuthBody, VerifyAuthBody, CreatePasswordBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody } from './auth';
3
+ import { CreateAuthBody, VerifyAuthBody, CreatePasswordBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, VerifyAuthKitOTPBody } from './auth';
4
4
  import { UpdateLeadBody, LeadVerifyBody, CreateLeadBody, LeadOTPVerifyBody, LeadIdentityUpdateBody } from './lead';
5
5
  import { CheckEmailBody, CheckBrandBody } from './availabilityServices';
6
- import { EntityInfoBody, EntityBankUpdateBody } from './entity';
6
+ import { EntityInfoBody, EntityBankUpdateBody, UploadFileBody, DocumentUpdateBody, DocumentInfo } from './entity';
7
7
  import { CreateAccountBody } from './account';
8
- import { BrandListBody, UpdateBrandBody } from './individual';
8
+ import { DataElementBody } from './data';
9
+ import { BrandListBody, UpdateBrandBody, UpdateIndividualBody } from './individual';
9
10
  import { UpdateBoardBody } from './board';
10
11
  declare const API: {
11
12
  ipService: {
@@ -15,12 +16,18 @@ declare const API: {
15
16
  validateOperator: (body: ValidateOperatorBody) => Promise<any>;
16
17
  };
17
18
  countryService: {
18
- getCountries: () => Promise<any>;
19
+ getCountries: (disableCountries?: boolean | undefined) => Promise<any> | {
20
+ list: never[];
21
+ };
19
22
  };
20
23
  authService: {
21
24
  createAuth: (data: CreateAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
22
25
  verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
23
26
  createPassword: (data: CreatePasswordBody) => Promise<any>;
27
+ verifyAuthKitOTP: (data: VerifyAuthKitOTPBody) => Promise<any>;
28
+ getVerifyAuth: (token: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
29
+ getTokenVerify: (token: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
30
+ createAuthKitNID: (data: CreateAuthBody) => Promise<any>;
24
31
  };
25
32
  leadService: {
26
33
  createLead: (data: CreateLeadBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -37,7 +44,8 @@ declare const API: {
37
44
  retrieveBankAccount: (id: string) => Promise<any>;
38
45
  retrieveEntityInfo: (entity_id: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
39
46
  updateIndividualInfo: ({ id, ...data }: EntityInfoBody) => Promise<any>;
40
- uploadFileInfo: (data: import("./entity").UploadFileBody) => Promise<any>;
47
+ uploadFileInfo: (data: UploadFileBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
48
+ updateDocumentInfo: (data: DocumentUpdateBody) => Promise<any>;
41
49
  };
42
50
  availabilityServices: {
43
51
  checkEmail: (data: CheckEmailBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
@@ -45,22 +53,40 @@ declare const API: {
45
53
  checkIbanBank: (data: import("./availabilityServices").CheckIBanBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
46
54
  };
47
55
  firebaseService: {
48
- getLocale: () => Promise<any>;
56
+ getLocale: (disableLocale?: boolean | undefined) => Promise<any>;
49
57
  };
50
58
  accountService: {
51
59
  createAccount: (data: CreateAccountBody) => Promise<any>;
52
60
  };
53
61
  dataService: {
54
- getChannelsOfServices: () => Promise<import("axios").AxiosResponse<any, any>>;
55
- getCustomerBases: () => Promise<import("axios").AxiosResponse<any, any>>;
56
- getExpectedSales: () => Promise<import("axios").AxiosResponse<any, any>>;
57
- getExpectedCustomerSales: () => Promise<import("axios").AxiosResponse<any, any>>;
58
- getSourceOfIncome: () => Promise<import("axios").AxiosResponse<any, any>>;
59
- getMonthlyIncome: (countryCode: string) => Promise<import("axios").AxiosResponse<any, any>>;
60
- getOccupation: () => Promise<any>;
62
+ getChannelsOfServices: (data: {
63
+ page: number;
64
+ }) => Promise<any>;
65
+ getCustomerBases: (data: {
66
+ page: number;
67
+ }) => Promise<any>;
68
+ getExpectedSales: (data: {
69
+ page: number;
70
+ }) => Promise<any>;
71
+ getExpectedCustomerSales: (data: {
72
+ page: number;
73
+ }) => Promise<any>;
74
+ getSourceOfIncome: (data: {
75
+ page: number;
76
+ }) => Promise<any>;
77
+ getMonthlyIncome: (data: {
78
+ page: number;
79
+ country_code: string[];
80
+ }) => Promise<any>;
81
+ getOccupation: (data: {
82
+ page: number;
83
+ }) => Promise<any>;
84
+ getActivities: (config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
61
85
  };
62
86
  individualService: {
63
87
  retrieveIndividualInfo: (id: string) => Promise<any>;
88
+ retrieveIndividual: (id: string, type: string) => Promise<any>;
89
+ updateIndividual: ({ id, type, ...data }: UpdateIndividualBody) => Promise<any>;
64
90
  };
65
91
  boardService: {
66
92
  retrieveBoard: (id: string) => Promise<any>;
@@ -76,8 +102,9 @@ declare const API: {
76
102
  retrieveBrand: (id: string) => Promise<any>;
77
103
  getBrandList: (data: BrandListBody) => Promise<any>;
78
104
  updateBrandInfo: ({ id, ...data }: UpdateBrandBody) => Promise<any>;
105
+ updateBrandSales: ({ id, ...data }: import("./individual").UpdateSalesChannels) => void;
79
106
  };
80
107
  };
81
- export type { ValidateOperatorBody, CreateAuthBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody };
108
+ export type { ValidateOperatorBody, CreateAuthBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody, DataElementBody, UploadFileBody, DocumentUpdateBody, DocumentInfo, VerifyAuthKitOTPBody, UpdateIndividualBody };
82
109
  export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
83
110
  export default API;
@@ -3,30 +3,87 @@ export declare type BrandListBody = {
3
3
  };
4
4
  export declare type UpdateBrandBody = {
5
5
  id: string;
6
- brand: {
7
- activities?: Array<string>;
8
- business_operation_start_at?: string;
9
- channel_services?: Array<string>;
10
- physical_store_available?: boolean;
11
- monthly_sales_range?: string;
12
- customers_served_monthly?: number;
13
- customers_base?: Array<string>;
14
- vat_id?: string;
15
- agree_chargeback?: boolean;
16
- agree_refund?: boolean;
17
- employer_name?: string;
18
- employer_country?: string | null;
19
- source_income?: Array<string | undefined>;
20
- actual_income?: string;
21
- is_relative_PEP?: boolean | null;
22
- is_influencer?: boolean | null;
23
- is_vat_acknowledged?: boolean;
24
- occupation?: string;
6
+ name?: {
7
+ en: string;
8
+ ar: string;
9
+ };
10
+ sectors?: Array<{
11
+ id: string;
12
+ }>;
13
+ website?: string;
14
+ social?: Array<string>;
15
+ logo?: string;
16
+ content?: {
17
+ tag_line?: {
18
+ en: string;
19
+ ar: string;
20
+ zh: string;
21
+ };
22
+ about?: {
23
+ en: string;
24
+ ar: string;
25
+ zh: string;
26
+ };
27
+ };
28
+ activities?: Array<{
29
+ id: string;
30
+ }>;
31
+ channel_services?: Array<{
32
+ id: string;
33
+ address: string;
34
+ sub?: Array<{
35
+ id: string;
36
+ address: string;
37
+ }>;
38
+ }>;
39
+ operations?: {
40
+ start_date?: string;
41
+ sales?: {
42
+ id: string;
43
+ period: string;
44
+ currency?: string;
45
+ };
46
+ customer_base?: {
47
+ id: string;
48
+ period: string;
49
+ locations?: Array<{
50
+ id: string;
51
+ }>;
52
+ };
53
+ };
54
+ term?: Array<string>;
55
+ step_name: string;
56
+ encryption_contract?: Array<string>;
57
+ };
58
+ export declare type UpdateSalesChannels = {
59
+ id?: string;
60
+ channel_services: Array<{
61
+ id: string;
62
+ address: string;
63
+ }>;
64
+ };
65
+ export declare type UpdateIndividualBody = {
66
+ id: string;
67
+ type: string;
68
+ employer_name?: string;
69
+ employer_country?: string | null;
70
+ source_income?: Array<{
71
+ id?: string;
72
+ }>;
73
+ monthly_income?: {
74
+ id?: string;
75
+ };
76
+ is_relative_PEP?: boolean | null;
77
+ is_influencer?: boolean | null;
78
+ occupation?: {
79
+ id?: string;
25
80
  };
26
81
  step_name: string;
27
82
  encryption_contract?: Array<string>;
28
83
  };
29
84
  declare const individualService: {
30
85
  retrieveIndividualInfo: (id: string) => Promise<any>;
86
+ retrieveIndividual: (id: string, type: string) => Promise<any>;
87
+ updateIndividual: ({ id, type, ...data }: UpdateIndividualBody) => Promise<any>;
31
88
  };
32
89
  export { individualService };
@@ -1,12 +1,39 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
1
12
  import { ENDPOINT_PATHS } from '../constants';
2
13
  import { httpClient } from './axios';
3
14
  var retrieveIndividualInfo = function (id) {
4
15
  return httpClient({
5
16
  method: 'get',
6
- url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(id, "/info")
17
+ url: "".concat(ENDPOINT_PATHS.USER, "/").concat(id, "/info")
18
+ });
19
+ };
20
+ var retrieveIndividual = function (id, type) {
21
+ return httpClient({
22
+ method: 'get',
23
+ url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(type, "/").concat(id)
24
+ });
25
+ };
26
+ var updateIndividual = function (_a) {
27
+ var id = _a.id, type = _a.type, data = __rest(_a, ["id", "type"]);
28
+ return httpClient({
29
+ method: 'put',
30
+ url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(type, "/").concat(id),
31
+ data: data
7
32
  });
8
33
  };
9
34
  var individualService = {
10
- retrieveIndividualInfo: retrieveIndividualInfo
35
+ retrieveIndividualInfo: retrieveIndividualInfo,
36
+ retrieveIndividual: retrieveIndividual,
37
+ updateIndividual: updateIndividual
11
38
  };
12
39
  export { individualService };
@@ -42,7 +42,7 @@ export declare type UpdateLeadBody = {
42
42
  name?: Name;
43
43
  contact?: Contact;
44
44
  send_invite?: boolean;
45
- business_name?: BusinessName;
45
+ business?: BusinessName;
46
46
  business_type?: string;
47
47
  country_code?: string;
48
48
  brand?: BrandInfo;
@@ -75,11 +75,13 @@ export declare type CreateLeadBody = {
75
75
  };
76
76
  export declare type LeadIdentityUpdateBody = {
77
77
  id: string;
78
- country_code: string;
79
- identification_id: string;
80
- identification_id_type: string;
81
- date_of_birth: string;
82
- step_name: string;
78
+ identification: {
79
+ id: string;
80
+ issued_country_code: string;
81
+ type: string;
82
+ };
83
+ date_of_birth?: string;
84
+ step_name?: string;
83
85
  encryption_contract: Array<string>;
84
86
  };
85
87
  declare const leadService: {
@@ -7,5 +7,7 @@ declare const rootReducer: {
7
7
  individual: import("redux").Reducer<import("../features/app/individual/individualStore").IndividualState, import("redux").AnyAction>;
8
8
  password: import("redux").Reducer<import("../features/app/password/passwordStore").PasswordState, import("redux").AnyAction>;
9
9
  signIn: import("redux").Reducer<import("../features/app/signIn/signInStore").SignInState, import("redux").AnyAction>;
10
+ entity: import("redux").Reducer<import("../features/app/entity/entityStore").EntityState, import("redux").AnyAction>;
11
+ auth: import("redux").Reducer<import("../features/app/auth/authStore").AuthState, import("redux").AnyAction>;
10
12
  };
11
13
  export default rootReducer;
@@ -6,6 +6,8 @@ import tax from '../features/app/tax/taxStore';
6
6
  import individual from '../features/app/individual/individualStore';
7
7
  import password from '../features/app/password/passwordStore';
8
8
  import signIn from '../features/app/signIn/signInStore';
9
+ import entity from '../features/app/entity/entityStore';
10
+ import auth from '../features/app/auth/authStore';
9
11
  var rootReducer = {
10
12
  settings: settings,
11
13
  connect: connect,
@@ -14,6 +16,8 @@ var rootReducer = {
14
16
  tax: tax,
15
17
  individual: individual,
16
18
  password: password,
17
- signIn: signIn
19
+ signIn: signIn,
20
+ entity: entity,
21
+ auth: auth
18
22
  };
19
23
  export default rootReducer;
@@ -5,7 +5,11 @@ export declare const fetchAppSettingsSync: import("@reduxjs/toolkit").AsyncThunk
5
5
  businessCountry: CountryCode;
6
6
  locale: any;
7
7
  deviceInfo: DeviceInfo;
8
- }, void, {}>;
8
+ isValidOperator: boolean;
9
+ }, {
10
+ disableCountries?: boolean | undefined;
11
+ disableLocale?: boolean | undefined;
12
+ }, {}>;
9
13
  export interface SettingsData {
10
14
  skin: ThemeMode;
11
15
  language: LanguageMode;
@@ -17,6 +21,7 @@ export interface SettingsData {
17
21
  isTapOrigin: boolean;
18
22
  businessCountry: CountryCode;
19
23
  countries: Array<CountryCode>;
24
+ isValidOperator: boolean;
20
25
  }
21
26
  export interface SettingsState extends SharedState<SettingsData> {
22
27
  }
@@ -30,8 +35,9 @@ export declare const settingsSlice: import("@reduxjs/toolkit").Slice<SettingsSta
30
35
  handlePrevScreenStep: (state: SettingsState, action: ActionState<string | undefined>) => void;
31
36
  handleActiveFlowScreens: (state: SettingsState, action: ActionState<Array<ScreenStepNavigation>>) => void;
32
37
  handleSetAppConfig: (state: SettingsState, action: ActionState<LibConfig>) => void;
38
+ handleSetCountryByIso2: (state: SettingsState, action: ActionState<string>) => void;
33
39
  }, "settings">;
34
- 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>, handleIsTapOrigin: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
40
+ 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>;
35
41
  declare const _default: import("redux").Reducer<SettingsState, import("redux").AnyAction>;
36
42
  export default _default;
37
43
  export declare const settingsSelector: (state: RootState) => SettingsState;
@@ -47,24 +47,25 @@ 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 } from '../utils';
51
- import { defaultCountry, DefaultDeviceInfo, LOCAL_STORAGE_KEYS } from '../constants';
50
+ import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString, removeElement } from '../utils';
51
+ import { defaultCountry, DefaultDeviceInfo, LOCAL_STORAGE_KEYS, DIALOG_ID, BACKGROUND_ID } from '../constants';
52
52
  import i18n from '../i18n';
53
53
  import { updateLocale } from '../utils/locale';
54
54
  import API, { setAxiosGlobalHeaders } from '../api';
55
- export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
56
- var settings, _a, appConfig, language, _b, client, device, os, _c, visitorId, _d, ip, latitude, longitude, locale, list, operatorData, deviceInfo, countries, businessCountry;
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, _c, visitorId, _d, ip, latitude, longitude, locale, list, operatorData, deviceInfo, operatorStatus, isValidOperator, countries, businessCountry;
57
57
  return __generator(this, function (_e) {
58
58
  switch (_e.label) {
59
59
  case 0:
60
60
  settings = thunkApi.getState().settings;
61
61
  _a = settings.data, appConfig = _a.appConfig, language = _a.language;
62
62
  _b = getBrowserInfo(), client = _b.client, device = _b.device, os = _b.os;
63
+ disableCountries = params.disableCountries, disableLocale = params.disableLocale;
63
64
  return [4, Promise.all([
64
65
  getFingerPrint(),
65
66
  API.ipService.getIP(),
66
- API.firebaseService.getLocale(),
67
- API.countryService.getCountries()
67
+ API.firebaseService.getLocale(disableLocale),
68
+ API.countryService.getCountries(disableCountries)
68
69
  ])];
69
70
  case 1:
70
71
  _c = _e.sent(), visitorId = _c[0].visitorId, _d = _c[1], ip = _d.ip, latitude = _d.latitude, longitude = _d.longitude, locale = _c[2], list = _c[3].list;
@@ -109,10 +110,11 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
109
110
  setAxiosGlobalHeaders(__assign(__assign({}, getRequestHeaders(deviceInfo)), { authorization: encryptString(appConfig.publicKey), mdn: encryptString(window.location.origin) }));
110
111
  return [4, API.operatorService.validateOperator(operatorData)];
111
112
  case 2:
112
- _e.sent();
113
+ operatorStatus = _e.sent();
114
+ isValidOperator = operatorStatus === 'valid';
113
115
  countries = sortCountries(list);
114
116
  businessCountry = findCountryByIso2(countries, appConfig.businessCountryCode) || defaultCountry;
115
- return [2, { countries: countries, businessCountry: businessCountry, locale: locale, deviceInfo: deviceInfo }];
117
+ return [2, { countries: countries, businessCountry: businessCountry, locale: locale, deviceInfo: deviceInfo, isValidOperator: isValidOperator }];
116
118
  }
117
119
  });
118
120
  }); });
@@ -129,7 +131,8 @@ var initialState = {
129
131
  deviceInfo: DefaultDeviceInfo,
130
132
  appConfig: {},
131
133
  businessCountry: defaultCountry,
132
- countries: []
134
+ countries: [],
135
+ isValidOperator: false
133
136
  }
134
137
  };
135
138
  export var settingsSlice = createSlice({
@@ -141,6 +144,12 @@ export var settingsSlice = createSlice({
141
144
  },
142
145
  handleOpen: function (state, action) {
143
146
  state.data.open = action.payload;
147
+ if (action.payload === false) {
148
+ setTimeout(function () {
149
+ removeElement(DIALOG_ID);
150
+ removeElement(BACKGROUND_ID);
151
+ }, 1000);
152
+ }
144
153
  },
145
154
  handleSkin: function (state, action) {
146
155
  state.data.skin = action.payload;
@@ -214,6 +223,10 @@ export var settingsSlice = createSlice({
214
223
  if (typeof open !== 'boolean')
215
224
  throw new Error('Open is required');
216
225
  state.data.appConfig = action.payload;
226
+ },
227
+ handleSetCountryByIso2: function (state, action) {
228
+ var country = findCountryByIso2(state.data.countries, action.payload);
229
+ state.data.businessCountry = country || defaultCountry;
217
230
  }
218
231
  },
219
232
  extraReducers: function (builder) {
@@ -222,12 +235,16 @@ export var settingsSlice = createSlice({
222
235
  state.error = null;
223
236
  });
224
237
  builder.addCase(fetchAppSettingsSync.fulfilled, function (state, action) {
225
- var _a = action.payload, businessCountry = _a.businessCountry, countries = _a.countries, locale = _a.locale, deviceInfo = _a.deviceInfo;
238
+ var _a = action.payload, businessCountry = _a.businessCountry, countries = _a.countries, locale = _a.locale, deviceInfo = _a.deviceInfo, isValidOperator = _a.isValidOperator;
226
239
  state.data.countries = countries;
227
240
  state.data.businessCountry = businessCountry;
228
241
  state.data.deviceInfo = deviceInfo;
229
- updateLocale(locale, businessCountry.iso2);
242
+ state.data.isValidOperator = isValidOperator;
243
+ if (locale)
244
+ updateLocale(locale, businessCountry.iso2);
230
245
  state.loading = false;
246
+ if (state.data.appConfig.onReady)
247
+ state.data.appConfig.onReady();
231
248
  });
232
249
  builder.addCase(fetchAppSettingsSync.rejected, function (state, action) {
233
250
  state.loading = false;
@@ -235,6 +252,6 @@ export var settingsSlice = createSlice({
235
252
  });
236
253
  }
237
254
  });
238
- 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, handleIsTapOrigin = _a.handleIsTapOrigin;
255
+ 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;
239
256
  export default settingsSlice.reducer;
240
257
  export var settingsSelector = function (state) { return state.settings; };
@@ -8,7 +8,9 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
8
8
  individual: import("../features/app/individual/individualStore").IndividualState;
9
9
  password: import("../features/app/password/passwordStore").PasswordState;
10
10
  signIn: import("../features/app/signIn/signInStore").SignInState;
11
- }, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("redux-thunk").ThunkMiddleware<{
11
+ entity: import("../features/app/entity/entityStore").EntityState;
12
+ auth: import("../features/app/auth/authStore").AuthState;
13
+ }, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("@reduxjs/toolkit").ThunkMiddleware<{
12
14
  settings: import("./settings").SettingsState;
13
15
  connect: import("../features/app/connect/connectStore").ConnectState;
14
16
  business: import("../features/app/business/businessStore").BusinessState;
@@ -17,6 +19,8 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
17
19
  individual: import("../features/app/individual/individualStore").IndividualState;
18
20
  password: import("../features/app/password/passwordStore").PasswordState;
19
21
  signIn: import("../features/app/signIn/signInStore").SignInState;
22
+ entity: import("../features/app/entity/entityStore").EntityState;
23
+ auth: import("../features/app/auth/authStore").AuthState;
20
24
  }, import("redux").AnyAction, undefined>]>>;
21
25
  export declare type AppDispatch = typeof store.dispatch;
22
26
  export declare type RootState = ReturnType<typeof store.getState>;