@tap-payments/auth-jsconnect 2.8.55-beta → 2.8.55-sandbox

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 (189) hide show
  1. package/build/@types/app.d.ts +1 -0
  2. package/build/@types/form.d.ts +1 -0
  3. package/build/@types/redux.d.ts +1 -0
  4. package/build/api/entity.d.ts +2 -2
  5. package/build/api/entity.js +12 -4
  6. package/build/api/index.d.ts +2 -2
  7. package/build/constants/api.d.ts +0 -1
  8. package/build/constants/api.js +0 -2
  9. package/build/constants/app.d.ts +0 -1
  10. package/build/constants/app.js +0 -1
  11. package/build/features/app/bank/bankStore.d.ts +13 -18
  12. package/build/features/app/bank/bankStore.js +184 -165
  13. package/build/features/app/board/boardStore.js +52 -30
  14. package/build/features/app/brand/brandStore.d.ts +16 -33
  15. package/build/features/app/brand/brandStore.js +239 -242
  16. package/build/features/app/business/businessStore.d.ts +0 -5
  17. package/build/features/app/business/businessStore.js +76 -87
  18. package/build/features/app/connectExpress/connectExpressStore.d.ts +15 -6
  19. package/build/features/app/connectExpress/connectExpressStore.js +110 -52
  20. package/build/features/app/entity/entityStore.d.ts +20 -36
  21. package/build/features/app/entity/entityStore.js +196 -246
  22. package/build/features/app/individual/individualStore.d.ts +22 -38
  23. package/build/features/app/individual/individualStore.js +263 -266
  24. package/build/features/app/password/passwordStore.d.ts +40 -23
  25. package/build/features/app/password/passwordStore.js +226 -233
  26. package/build/features/app/tax/taxStore.d.ts +13 -7
  27. package/build/features/app/tax/taxStore.js +168 -147
  28. package/build/features/auth/screens/AuthSwitch/AuthSwitch.js +13 -1
  29. package/build/features/auth/screens/BusinessCountry/BusinessCountry.js +7 -1
  30. package/build/features/bank/Bank.d.ts +1 -0
  31. package/build/features/bank/Bank.js +7 -4
  32. package/build/features/bank/screens/BankDetails/BankDetails.js +18 -5
  33. package/build/features/bank/screens/OperatorError/OperatorError.d.ts +5 -0
  34. package/build/features/bank/screens/OperatorError/OperatorError.js +9 -0
  35. package/build/features/bank/screens/OperatorError/index.d.ts +3 -0
  36. package/build/features/bank/screens/OperatorError/index.js +2 -0
  37. package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  38. package/build/features/bank/screens/Verify/Verify.js +5 -5
  39. package/build/features/board/Board.js +8 -4
  40. package/build/features/board/screens/OperatorError/OperatorError.d.ts +5 -0
  41. package/build/features/board/screens/OperatorError/OperatorError.js +9 -0
  42. package/build/features/board/screens/OperatorError/index.d.ts +3 -0
  43. package/build/features/board/screens/OperatorError/index.js +2 -0
  44. package/build/features/board/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -4
  45. package/build/features/brand/Brand.d.ts +1 -0
  46. package/build/features/brand/Brand.js +7 -4
  47. package/build/features/brand/screens/BrandActivities/BrandActivities.js +49 -12
  48. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +6 -3
  49. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +1 -1
  50. package/build/features/brand/screens/BrandActivities/TAC.js +1 -1
  51. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +1 -1
  52. package/build/features/brand/screens/BrandInfo/BrandInfo.js +23 -5
  53. package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +23 -7
  54. package/build/features/brand/screens/OperatorError/OperatorError.d.ts +5 -0
  55. package/build/features/brand/screens/OperatorError/OperatorError.js +9 -0
  56. package/build/features/brand/screens/OperatorError/index.d.ts +3 -0
  57. package/build/features/brand/screens/OperatorError/index.js +2 -0
  58. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  59. package/build/features/brand/screens/Verify/Verify.js +1 -1
  60. package/build/features/business/Business.js +9 -4
  61. package/build/features/business/screens/Activities/Activities.js +12 -3
  62. package/build/features/business/screens/BusinessType/BusinessType.js +10 -2
  63. package/build/features/business/screens/CivilID/CivilID.js +1 -1
  64. package/build/features/business/screens/Customers/Customers.js +12 -3
  65. package/build/features/business/screens/Customers/ExpectedSalesRange.js +6 -3
  66. package/build/features/business/screens/IDBOD/IDBOD.js +10 -2
  67. package/build/features/business/screens/OTP/OTP.js +1 -1
  68. package/build/features/business/screens/OperatorError/OperatorError.d.ts +5 -0
  69. package/build/features/business/screens/OperatorError/OperatorError.js +9 -0
  70. package/build/features/business/screens/OperatorError/index.d.ts +3 -0
  71. package/build/features/business/screens/OperatorError/index.js +2 -0
  72. package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +14 -3
  73. package/build/features/business/screens/Verify/Verify.js +13 -3
  74. package/build/features/connect/Connect.js +3 -2
  75. package/build/features/connect/screens/BrandSegment/BrandSegment.js +1 -1
  76. package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +9 -2
  77. package/build/features/connect/screens/CivilID/CivilID.js +1 -1
  78. package/build/features/connect/screens/Individual/Email.js +3 -1
  79. package/build/features/connect/screens/Individual/Individual.js +1 -1
  80. package/build/features/connect/screens/Merchant/BrandList.js +3 -3
  81. package/build/features/connect/screens/Merchant/Merchant.js +1 -1
  82. package/build/features/connect/screens/Merchant/SalesChannels.js +1 -1
  83. package/build/features/connect/screens/Mobile/Mobile.js +11 -8
  84. package/build/features/connect/screens/NID/NID.js +1 -1
  85. package/build/features/connect/screens/OperatorError/OperatorError.js +1 -1
  86. package/build/features/connectExpress/ConnectExpress.js +2 -1
  87. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +5 -2
  88. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +9 -0
  89. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +90 -0
  90. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +6 -1
  91. package/build/features/connectExpress/screens/AuthenticationList/validation.d.ts +3 -0
  92. package/build/features/connectExpress/screens/AuthenticationList/validation.js +10 -0
  93. package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +7 -1
  94. package/build/features/connectExpress/screens/CivilID/CivilID.js +1 -1
  95. package/build/features/connectExpress/screens/CivilIDMissed/CivilID.js +1 -1
  96. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -1
  97. package/build/features/connectExpress/screens/CollectIndividualInfo/CollectIndividualInfo.js +1 -1
  98. package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +3 -1
  99. package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +14 -24
  100. package/build/features/connectExpress/screens/Mobile/Mobile.js +9 -2
  101. package/build/features/connectExpress/screens/NID/NID.js +1 -1
  102. package/build/features/connectExpress/screens/NIDMissed/NID.js +1 -1
  103. package/build/features/connectExpress/screens/OperatorError/OperatorError.d.ts +5 -0
  104. package/build/features/connectExpress/screens/OperatorError/OperatorError.js +9 -0
  105. package/build/features/connectExpress/screens/OperatorError/index.d.ts +3 -0
  106. package/build/features/connectExpress/screens/OperatorError/index.js +2 -0
  107. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.d.ts +5 -0
  108. package/build/features/connectExpress/screens/PrepareDataLoading/PrepareDataLoading.js +34 -0
  109. package/build/features/connectExpress/screens/PrepareDataLoading/index.d.ts +2 -0
  110. package/build/features/connectExpress/screens/PrepareDataLoading/index.js +2 -0
  111. package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  112. package/build/features/entity/Entity.d.ts +1 -0
  113. package/build/features/entity/Entity.js +7 -4
  114. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +8 -4
  115. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +8 -4
  116. package/build/features/entity/screens/EntityCapital/EntityCapital.js +34 -10
  117. package/build/features/entity/screens/EntityName/EntityName.js +32 -15
  118. package/build/features/entity/screens/OperatorError/OperatorError.d.ts +5 -0
  119. package/build/features/entity/screens/OperatorError/OperatorError.js +9 -0
  120. package/build/features/entity/screens/OperatorError/index.d.ts +3 -0
  121. package/build/features/entity/screens/OperatorError/index.js +2 -0
  122. package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  123. package/build/features/entity/screens/Verify/Verify.js +1 -1
  124. package/build/features/featuresScreens.js +67 -7
  125. package/build/features/individual/Individual.d.ts +1 -0
  126. package/build/features/individual/Individual.js +7 -4
  127. package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +54 -14
  128. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.d.ts +14 -0
  129. package/build/features/individual/screens/AdditionalIndividualInfo/IsAuthorizedSwitch.js +76 -0
  130. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +5 -2
  131. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +8 -3
  132. package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +4 -1
  133. package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +3 -2
  134. package/build/features/individual/screens/IndividualList/Email.js +3 -2
  135. package/build/features/individual/screens/IndividualList/IndividualList.js +18 -5
  136. package/build/features/individual/screens/IndividualList/UserList.js +13 -9
  137. package/build/features/individual/screens/IndividualPersonalInfo/Email.js +4 -2
  138. package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +76 -20
  139. package/build/features/individual/screens/IndividualPhoneInfo/PhoneInfo.js +1 -1
  140. package/build/features/individual/screens/OperatorError/OperatorError.d.ts +5 -0
  141. package/build/features/individual/screens/OperatorError/OperatorError.js +9 -0
  142. package/build/features/individual/screens/OperatorError/index.d.ts +3 -0
  143. package/build/features/individual/screens/OperatorError/index.js +2 -0
  144. package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  145. package/build/features/individual/screens/Verify/Verify.js +1 -1
  146. package/build/features/password/Password.d.ts +1 -0
  147. package/build/features/password/Password.js +75 -28
  148. package/build/features/password/screens/CreatePassword/CreatePassword.js +8 -4
  149. package/build/features/password/screens/OTP/OTP.js +1 -1
  150. package/build/features/password/screens/OperatorError/OperatorError.d.ts +5 -0
  151. package/build/features/password/screens/OperatorError/OperatorError.js +9 -0
  152. package/build/features/password/screens/OperatorError/index.d.ts +3 -0
  153. package/build/features/password/screens/OperatorError/index.js +2 -0
  154. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.d.ts +4 -0
  155. package/build/features/password/screens/PrepareDataLoading/PrepareDataLoading.js +10 -0
  156. package/build/features/password/screens/PrepareDataLoading/index.d.ts +2 -0
  157. package/build/features/password/screens/PrepareDataLoading/index.js +2 -0
  158. package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  159. package/build/features/password/screens/Verify/Verify.js +5 -5
  160. package/build/features/shared/Button/FlowsButtons.js +13 -3
  161. package/build/features/shared/Containers/FeatureContainer.d.ts +1 -0
  162. package/build/features/shared/Containers/FeatureContainer.js +3 -3
  163. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +5 -1
  164. package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +3 -3
  165. package/build/features/signIn/SignIn.js +12 -3
  166. package/build/features/signIn/screens/OperatorError/OperatorError.d.ts +5 -0
  167. package/build/features/signIn/screens/OperatorError/OperatorError.js +9 -0
  168. package/build/features/signIn/screens/OperatorError/index.d.ts +3 -0
  169. package/build/features/signIn/screens/OperatorError/index.js +2 -0
  170. package/build/features/tax/Tax.d.ts +1 -0
  171. package/build/features/tax/Tax.js +7 -4
  172. package/build/features/tax/screens/OperatorError/OperatorError.d.ts +5 -0
  173. package/build/features/tax/screens/OperatorError/OperatorError.js +9 -0
  174. package/build/features/tax/screens/OperatorError/index.d.ts +3 -0
  175. package/build/features/tax/screens/OperatorError/index.js +2 -0
  176. package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
  177. package/build/features/tax/screens/TaxDetails/TaxDetails.js +7 -2
  178. package/build/features/tax/screens/Verify/Verify.js +5 -5
  179. package/build/hooks/index.d.ts +1 -0
  180. package/build/hooks/index.js +1 -0
  181. package/build/hooks/useFormDirtyCheck.d.ts +10 -0
  182. package/build/hooks/useFormDirtyCheck.js +66 -0
  183. package/build/hooks/useVerifyToken.d.ts +5 -2
  184. package/build/hooks/useVerifyToken.js +10 -5
  185. package/build/utils/common.js +3 -3
  186. package/build/utils/locale.js +2 -1
  187. package/build/utils/string.d.ts +5 -2
  188. package/build/utils/string.js +34 -5
  189. package/package.json +2 -2
@@ -7,7 +7,6 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
7
7
  token: string;
8
8
  brandData: any;
9
9
  boardId: any;
10
- currencyData: any;
11
10
  isRequireOTP?: undefined;
12
11
  } | {
13
12
  data: any;
@@ -17,7 +16,6 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
17
16
  leadData?: undefined;
18
17
  brandData?: undefined;
19
18
  boardId?: undefined;
20
- currencyData?: undefined;
21
19
  }, string, {
22
20
  state?: unknown;
23
21
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -49,7 +47,6 @@ export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
49
47
  };
50
48
  brand: any;
51
49
  leadData: any;
52
- currencyData: any;
53
50
  }, OTPFormValues, {
54
51
  state?: unknown;
55
52
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -177,7 +174,6 @@ export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThu
177
174
  export declare const updateActivitiesInfo: import("@reduxjs/toolkit").AsyncThunk<{
178
175
  data: any;
179
176
  formData: ActivitiesFormValues;
180
- currencyData: any;
181
177
  }, AsyncThunkParams<ActivitiesFormValues>, {
182
178
  state?: unknown;
183
179
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
@@ -257,7 +253,6 @@ export interface BusinessData {
257
253
  activitiesData: ActivitiesFormValues & ResponseData;
258
254
  customersData: CustomersFormValues & ResponseData;
259
255
  flowName: FlowsTypes;
260
- currency: string;
261
256
  }
262
257
  export interface BusinessState extends SharedState<BusinessData> {
263
258
  customLoading?: boolean;
@@ -59,15 +59,14 @@ import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
59
59
  import API from '../../../api';
60
60
  import { BusinessType, FlowsTypes, DocumentPurpose, LicenseType } from '../../../@types';
61
61
  import { BUSINESS_STEP_NAMES, EXPECTED_SALES_LIST, IDENTIFICATION_TYPE, OTHER_CR_LICENSE, OTHER_ENTITY_LICENSE, OTHER_FL_LICENSE } from '../../../constants';
62
- import { convertNumbers2English, hasKey, sleep, isKW, isSA, dateFormat, isOtherLicense, isOtherThanKWOrSA, hasNoneEditableValue } from '../../../utils';
62
+ import { convertNumbers2English, hasKey, sleep, isKW, isSA, dateFormat, isOtherLicense, isOtherThanKWOrSA, hasNoneEditableValue, sendCustomEventToGTM } from '../../../utils';
63
63
  import { handleNextScreenStep, handlePublicKey, handleSetCountryByIso2 } from '../../../app/settings';
64
64
  export var verifyLeadToken = createAsyncThunk('businessVerifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
65
- var settings, payload, data, publicKey, countryIso2, boardData, brandData, currencyData, isicActivityList, leadData, _a, steps, brand, board_id, business_id, entity, brandID, hasBusinessCompleted, hasBusinessCRInfoCompleted, hasBusinessCRActivitiesCompleted, hasBusinessCustomersCompleted, list, list;
65
+ var payload, data, publicKey, countryIso2, boardData, brandData, isicActivityList, leadData, _a, steps, brand, board_id, business_id, entity, brandID, hasBusinessCompleted, hasBusinessCRInfoCompleted, hasBusinessCRActivitiesCompleted, hasBusinessCustomersCompleted, list, list;
66
66
  var _b, _c;
67
67
  return __generator(this, function (_d) {
68
68
  switch (_d.label) {
69
69
  case 0:
70
- settings = thunkApi.getState().settings;
71
70
  payload = {
72
71
  service_name: 'tap_email',
73
72
  verify_token: token
@@ -86,9 +85,9 @@ export var verifyLeadToken = createAsyncThunk('businessVerifyLeadToken', functio
86
85
  countryIso2 = data === null || data === void 0 ? void 0 : data.country_code;
87
86
  if (countryIso2)
88
87
  thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
89
- if (!(data.step_name !== BUSINESS_STEP_NAMES.PHONE_AUTH)) return [3, 21];
88
+ if (!(data.step_name !== BUSINESS_STEP_NAMES.PHONE_AUTH)) return [3, 20];
90
89
  boardData = undefined;
91
- brandData = void 0, currencyData = undefined, isicActivityList = undefined;
90
+ brandData = void 0, isicActivityList = undefined;
92
91
  return [4, API.leadService.retrieveLead(data === null || data === void 0 ? void 0 : data.id)];
93
92
  case 2:
94
93
  leadData = (_d.sent()).data;
@@ -101,7 +100,7 @@ export var verifyLeadToken = createAsyncThunk('businessVerifyLeadToken', functio
101
100
  if (data.step_name === BUSINESS_STEP_NAMES.IDENTITY_AUTH && (isSA(countryIso2) || isOtherThanKWOrSA(countryIso2))) {
102
101
  thunkApi.dispatch(handleNextScreenStep('BUSINESS_IDBOD_STEP'));
103
102
  }
104
- if (!(data.step_name === BUSINESS_STEP_NAMES.BUSINESS_INFO)) return [3, 20];
103
+ if (!(data.step_name === BUSINESS_STEP_NAMES.BUSINESS_INFO)) return [3, 19];
105
104
  _a = leadData || {}, steps = _a.steps, brand = _a.brand, board_id = _a.board_id, business_id = _a.business_id, entity = _a.entity;
106
105
  brandID = brand === null || brand === void 0 ? void 0 : brand.id;
107
106
  hasBusinessCompleted = hasKey(steps, BUSINESS_STEP_NAMES.BUSINESS_SUCCESS);
@@ -119,64 +118,60 @@ export var verifyLeadToken = createAsyncThunk('businessVerifyLeadToken', functio
119
118
  _d.label = 5;
120
119
  case 5:
121
120
  thunkApi.dispatch(handleNextScreenStep('BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP'));
122
- return [3, 20];
121
+ return [3, 19];
123
122
  case 6:
124
123
  if (!(data.step_name === BUSINESS_STEP_NAMES.IDENTITY_AUTH)) return [3, 7];
125
124
  thunkApi.dispatch(handleNextScreenStep('BUSINESS_IDBOD_STEP'));
126
- return [3, 20];
125
+ return [3, 19];
127
126
  case 7:
128
127
  if (!hasBusinessCustomersCompleted) return [3, 8];
129
128
  thunkApi.dispatch(handleNextScreenStep('BUSINESS_SUCCESS_STEP'));
130
- return [3, 20];
129
+ return [3, 19];
131
130
  case 8:
132
- if (!hasBusinessCRActivitiesCompleted) return [3, 13];
133
- return [4, API.countryService.getCurrency(settings.data.businessCountry.iso2)];
134
- case 9:
135
- currencyData = _d.sent();
131
+ if (!hasBusinessCRActivitiesCompleted) return [3, 12];
136
132
  return [4, API.dataService.getActivitiesIsIc()];
137
- case 10:
133
+ case 9:
138
134
  list = (_d.sent()).list;
139
135
  isicActivityList = list || [];
140
136
  return [4, thunkApi.dispatch(retrieveDataList())];
141
- case 11:
137
+ case 10:
142
138
  _d.sent();
143
139
  return [4, API.brandService.retrieveBrand(brandID)];
144
- case 12:
140
+ case 11:
145
141
  brandData = _d.sent();
146
142
  thunkApi.dispatch(handleNextScreenStep('BUSINESS_CUSTOMERS_STEP'));
147
- return [3, 20];
148
- case 13:
149
- if (!hasBusinessCRInfoCompleted) return [3, 16];
143
+ return [3, 19];
144
+ case 12:
145
+ if (!hasBusinessCRInfoCompleted) return [3, 15];
150
146
  return [4, API.dataService.getActivitiesIsIc()];
151
- case 14:
147
+ case 13:
152
148
  list = (_d.sent()).list;
153
149
  isicActivityList = list || [];
154
150
  return [4, API.brandService.retrieveBrand(brandID)];
155
- case 15:
151
+ case 14:
156
152
  brandData = _d.sent();
157
153
  thunkApi.dispatch(handleNextScreenStep('BUSINESS_ACTIVITIES_STEP'));
158
- return [3, 20];
159
- case 16: return [4, thunkApi.dispatch(retrieveAllEntityList({ businessId: business_id, entityId: entity === null || entity === void 0 ? void 0 : entity.id }))];
160
- case 17:
154
+ return [3, 19];
155
+ case 15: return [4, thunkApi.dispatch(retrieveAllEntityList({ businessId: business_id, entityId: entity === null || entity === void 0 ? void 0 : entity.id }))];
156
+ case 16:
161
157
  _d.sent();
162
- if (!isSA(countryIso2)) return [3, 19];
158
+ if (!isSA(countryIso2)) return [3, 18];
163
159
  return [4, thunkApi.dispatch(retrieveEntityList({ leadId: data === null || data === void 0 ? void 0 : data.id }))];
164
- case 18:
160
+ case 17:
165
161
  _d.sent();
166
- _d.label = 19;
167
- case 19:
162
+ _d.label = 18;
163
+ case 18:
168
164
  thunkApi.dispatch(handleNextScreenStep('BUSINESS_BUSINESS_TYPE_STEP'));
169
- _d.label = 20;
170
- case 20: return [2, {
165
+ _d.label = 19;
166
+ case 19: return [2, {
171
167
  data: data,
172
168
  isicActivityList: isicActivityList,
173
169
  leadData: __assign(__assign({}, leadData), { flows: (boardData === null || boardData === void 0 ? void 0 : boardData.info) || [] }),
174
170
  token: token,
175
171
  brandData: brandData === null || brandData === void 0 ? void 0 : brandData.brand,
176
- boardId: leadData === null || leadData === void 0 ? void 0 : leadData.board_id,
177
- currencyData: currencyData
172
+ boardId: leadData === null || leadData === void 0 ? void 0 : leadData.board_id
178
173
  }];
179
- case 21: return [2, { data: data, isRequireOTP: true, token: token }];
174
+ case 20: return [2, { data: data, isRequireOTP: true, token: token }];
180
175
  }
181
176
  });
182
177
  }); });
@@ -198,7 +193,7 @@ export var resendOTP = createAsyncThunk('resendOTPBusiness', function (params, t
198
193
  });
199
194
  }); });
200
195
  export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
201
- var _a, business, settings, isNID, responseBody, stepName, payload, data, publicKey, brandData, isicActivityList, currencyData, leadData, brand, country_code, steps, board_id, business_id, entity, brandID, countryIso2, hasBusinessCompleted, hasBusinessCRInfoCompleted, hasBusinessCRActivitiesCompleted, hasBusinessCustomersCompleted, isIdentityAuthStep, boardResponse, list, list;
196
+ var _a, business, settings, isNID, responseBody, stepName, payload, data, publicKey, brandData, isicActivityList, leadData, brand, country_code, steps, board_id, business_id, entity, brandID, countryIso2, hasBusinessCompleted, hasBusinessCRInfoCompleted, hasBusinessCRActivitiesCompleted, hasBusinessCustomersCompleted, isIdentityAuthStep, boardResponse, list, list;
202
197
  var _b, _c, _d, _e, _f, _g, _h, _j;
203
198
  return __generator(this, function (_k) {
204
199
  switch (_k.label) {
@@ -223,7 +218,7 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
223
218
  if (publicKey) {
224
219
  thunkApi.dispatch(handlePublicKey(publicKey));
225
220
  }
226
- currencyData = undefined;
221
+ isicActivityList = undefined;
227
222
  return [4, API.leadService.retrieveLead(data === null || data === void 0 ? void 0 : data.id)];
228
223
  case 2:
229
224
  leadData = (_k.sent()).data;
@@ -253,11 +248,11 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
253
248
  case 6:
254
249
  if (!isNID) return [3, 7];
255
250
  thunkApi.dispatch(handleNextScreenStep());
256
- return [3, 23];
251
+ return [3, 22];
257
252
  case 7:
258
253
  if (!(isIdentityAuthStep && isKW(countryIso2))) return [3, 8];
259
254
  thunkApi.dispatch(handleNextScreenStep('BUSINESS_CIVIL_ID_STEP'));
260
- return [3, 23];
255
+ return [3, 22];
261
256
  case 8:
262
257
  if (!hasBusinessCompleted) return [3, 12];
263
258
  if (!board_id) return [3, 11];
@@ -271,47 +266,44 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
271
266
  _k.label = 11;
272
267
  case 11:
273
268
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP')); });
274
- return [3, 23];
269
+ return [3, 22];
275
270
  case 12:
276
271
  if (!(data.step_name === BUSINESS_STEP_NAMES.IDENTITY_AUTH)) return [3, 13];
277
272
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_IDBOD_STEP')); });
278
- return [3, 23];
273
+ return [3, 22];
279
274
  case 13:
280
275
  if (!hasBusinessCustomersCompleted) return [3, 14];
281
276
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_SUCCESS_STEP')); });
282
- return [3, 23];
277
+ return [3, 22];
283
278
  case 14:
284
- if (!hasBusinessCRActivitiesCompleted) return [3, 19];
285
- return [4, API.countryService.getCurrency(settings.data.businessCountry.iso2)];
286
- case 15:
287
- currencyData = _k.sent();
279
+ if (!hasBusinessCRActivitiesCompleted) return [3, 18];
288
280
  return [4, API.dataService.getActivitiesIsIc()];
289
- case 16:
281
+ case 15:
290
282
  list = (_k.sent()).list;
291
283
  isicActivityList = list || [];
292
284
  return [4, thunkApi.dispatch(retrieveDataList())];
293
- case 17:
285
+ case 16:
294
286
  _k.sent();
295
287
  return [4, API.brandService.retrieveBrand(brandID)];
296
- case 18:
288
+ case 17:
297
289
  brandData = _k.sent();
298
290
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_CUSTOMERS_STEP')); });
299
- return [3, 23];
300
- case 19:
301
- if (!hasBusinessCRInfoCompleted) return [3, 22];
291
+ return [3, 22];
292
+ case 18:
293
+ if (!hasBusinessCRInfoCompleted) return [3, 21];
302
294
  return [4, API.dataService.getActivitiesIsIc()];
303
- case 20:
295
+ case 19:
304
296
  list = (_k.sent()).list;
305
297
  isicActivityList = list || [];
306
298
  return [4, API.brandService.retrieveBrand(brandID)];
307
- case 21:
299
+ case 20:
308
300
  brandData = _k.sent();
309
301
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_ACTIVITIES_STEP')); });
310
- return [3, 23];
311
- case 22:
302
+ return [3, 22];
303
+ case 21:
312
304
  sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_BUSINESS_TYPE_STEP')); });
313
- _k.label = 23;
314
- case 23: return [2, { data: data, isicActivityList: isicActivityList, formData: __assign(__assign({}, params), { isNID: isNID }), brand: brandData === null || brandData === void 0 ? void 0 : brandData.brand, leadData: leadData, currencyData: currencyData }];
305
+ _k.label = 22;
306
+ case 22: return [2, { data: data, isicActivityList: isicActivityList, formData: __assign(__assign({}, params), { isNID: isNID }), brand: brandData === null || brandData === void 0 ? void 0 : brandData.brand, leadData: leadData }];
315
307
  }
316
308
  });
317
309
  }); });
@@ -389,7 +381,7 @@ export var createCivilIdAuth = createAsyncThunk('createCivilIdAuth', function (p
389
381
  });
390
382
  }); });
391
383
  export var updateLeadIdentity = createAsyncThunk('updateLeadIdentity', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
392
- var _a, settings, business, identification_id_type, stepName, lead_id, countryIso2, requestBody, data, business_id, entity, screen;
384
+ var _a, settings, business, identification_id_type, stepName, lead_id, countryIso2, dob, requestBody, data, business_id, entity, screen;
393
385
  var _b, _c;
394
386
  return __generator(this, function (_d) {
395
387
  switch (_d.label) {
@@ -399,6 +391,7 @@ export var updateLeadIdentity = createAsyncThunk('updateLeadIdentity', function
399
391
  stepName = BUSINESS_STEP_NAMES.IDENTITY_AUTH;
400
392
  lead_id = (business.data.verify.responseBody || {}).lead_id;
401
393
  countryIso2 = settings.data.businessCountry.iso2;
394
+ dob = dateFormat(new Date(params.dob));
402
395
  if (isOtherThanKWOrSA(countryIso2)) {
403
396
  identification_id_type = IDENTIFICATION_TYPE.NID;
404
397
  }
@@ -409,7 +402,7 @@ export var updateLeadIdentity = createAsyncThunk('updateLeadIdentity', function
409
402
  issued_country_code: countryIso2,
410
403
  type: identification_id_type
411
404
  },
412
- date_of_birth: params.dob,
405
+ date_of_birth: dob,
413
406
  step_name: stepName,
414
407
  encryption_contract: ['identification.issued_country_code', 'identification.id', 'identification.type', 'date_of_birth']
415
408
  };
@@ -436,7 +429,7 @@ export var updateLeadIdentity = createAsyncThunk('updateLeadIdentity', function
436
429
  });
437
430
  }); });
438
431
  export var resendOTPLeadIdentity = createAsyncThunk('resendOTPLeadIdentity', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
439
- var _a, settings, business, _b, nid, dob, type, stepName, lead_id, requestBody, data;
432
+ var _a, settings, business, _b, nid, dob, type, stepName, lead_id, date_of_birth, requestBody, data;
440
433
  return __generator(this, function (_c) {
441
434
  switch (_c.label) {
442
435
  case 0:
@@ -444,6 +437,7 @@ export var resendOTPLeadIdentity = createAsyncThunk('resendOTPLeadIdentity', fun
444
437
  _b = business.data.nidData, nid = _b.nid, dob = _b.dob, type = _b.type;
445
438
  stepName = BUSINESS_STEP_NAMES.IDENTITY_AUTH;
446
439
  lead_id = (business.data.verify.responseBody || {}).lead_id;
440
+ date_of_birth = dateFormat(new Date(dob));
447
441
  requestBody = {
448
442
  id: lead_id || '',
449
443
  identification: {
@@ -451,7 +445,7 @@ export var resendOTPLeadIdentity = createAsyncThunk('resendOTPLeadIdentity', fun
451
445
  issued_country_code: settings.data.businessCountry.iso2,
452
446
  type: type
453
447
  },
454
- date_of_birth: dob,
448
+ date_of_birth: date_of_birth,
455
449
  step_name: stepName,
456
450
  encryption_contract: ['identification.issued_country_code', 'identification.id', 'identification.type', 'date_of_birth']
457
451
  };
@@ -605,7 +599,7 @@ export var updateLeadBusinessType = createAsyncThunk('updateLeadBusinessType', f
605
599
  export var updateActivitiesInfo = createAsyncThunk('updateActivitiesInfo', function (_a, thunkApi) {
606
600
  var formData = _a.formData, originalFormData = _a.originalFormData;
607
601
  return __awaiter(void 0, void 0, void 0, function () {
608
- var _b, settings, business, _c, brand, entity_activities, entity, _d, brandActivities, brandId, data_status, activities, operationStartDate, isActivitiesNonEditable, isOperationStartDateNonEditable, stepName, id, removedActivities, payload, newBrandActivities, newEntityActivities, activityPayload, requestBody, data, currencyData;
602
+ var _b, settings, business, _c, brand, entity_activities, entity, _d, brandActivities, brandId, data_status, activities, operationStartDate, isActivitiesNonEditable, isOperationStartDateNonEditable, stepName, id, removedActivities, payload, newBrandActivities, newEntityActivities, activityPayload, requestBody, data;
609
603
  var _e, _f;
610
604
  return __generator(this, function (_g) {
611
605
  switch (_g.label) {
@@ -661,13 +655,10 @@ export var updateActivitiesInfo = createAsyncThunk('updateActivitiesInfo', funct
661
655
  return [4, thunkApi.dispatch(retrieveDataList())];
662
656
  case 6:
663
657
  _g.sent();
664
- return [4, API.countryService.getCurrency(settings.data.businessCountry.iso2)];
665
- case 7:
666
- currencyData = _g.sent();
667
658
  thunkApi.dispatch(updateStepName(stepName));
668
659
  thunkApi.dispatch(handleNextScreenStep());
669
660
  (_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, requestBody);
670
- return [2, { data: data === null || data === void 0 ? void 0 : data.brand, formData: originalFormData, currencyData: currencyData }];
661
+ return [2, { data: data === null || data === void 0 ? void 0 : data.brand, formData: originalFormData }];
671
662
  }
672
663
  });
673
664
  });
@@ -768,6 +759,12 @@ export var updateLeadSuccess = createAsyncThunk('businessUpdateLeadSuccess', fun
768
759
  return [4, API.leadService.updateLead(payload)];
769
760
  case 1:
770
761
  data = _g.sent();
762
+ sendCustomEventToGTM({
763
+ event: 'Send Event',
764
+ event_category: 'Account Creation Flow',
765
+ event_action: 'Account Creation Success',
766
+ event_label: settings.data.businessCountry.iso2
767
+ });
771
768
  board_id = data === null || data === void 0 ? void 0 : data.board_id;
772
769
  if (!board_id) return [3, 4];
773
770
  return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
@@ -815,7 +812,6 @@ var initialState = {
815
812
  uploadingArticle: false,
816
813
  data: {
817
814
  flowName: FlowsTypes.BUSINESS,
818
- currency: '',
819
815
  verify: {
820
816
  token: ''
821
817
  },
@@ -879,13 +875,13 @@ export var businessSlice = createSlice({
879
875
  state.customLoading = true;
880
876
  })
881
877
  .addCase(verifyLeadToken.fulfilled, function (state, action) {
882
- var _a, _b, _c, _d, _e, _f;
878
+ var _a, _b, _c, _d, _e;
883
879
  state.error = null;
884
880
  state.customLoading = false;
885
- var _g = action.payload, data = _g.data, boardId = _g.boardId, brandData = _g.brandData, leadData = _g.leadData, token = _g.token, isRequireOTP = _g.isRequireOTP, isicActivityList = _g.isicActivityList, currencyData = _g.currencyData;
881
+ var _f = action.payload, data = _f.data, boardId = _f.boardId, brandData = _f.brandData, leadData = _f.leadData, token = _f.token, isRequireOTP = _f.isRequireOTP, isicActivityList = _f.isicActivityList;
886
882
  var responseBody = state.data.verify.responseBody;
887
883
  state.data.verify.responseBody = __assign(__assign(__assign(__assign(__assign({}, data), leadData), responseBody), { board_id: boardId, lead_id: data === null || data === void 0 ? void 0 : data.id }), (brandData && { brand: brandData }));
888
- var _h = leadData || {}, identification = _h.identification, date_of_birth = _h.date_of_birth;
884
+ var _g = leadData || {}, identification = _g.identification, date_of_birth = _g.date_of_birth;
889
885
  if (identification === null || identification === void 0 ? void 0 : identification.id)
890
886
  state.data.nidData.nid = identification.id;
891
887
  if (date_of_birth)
@@ -897,13 +893,13 @@ export var businessSlice = createSlice({
897
893
  state.data.otpData.isNID = false;
898
894
  if (isRequireOTP)
899
895
  return;
900
- var _j = state.data.verify.responseBody || {}, entity = _j.entity, entity_activities = _j.entity_activities, business_name = _j.business_name;
896
+ var _h = state.data.verify.responseBody || {}, entity = _h.entity, entity_activities = _h.entity_activities, business_name = _h.business_name;
901
897
  if (business_name === null || business_name === void 0 ? void 0 : business_name.en)
902
898
  state.data.businessTypeData.entityLegalName = business_name === null || business_name === void 0 ? void 0 : business_name.en;
903
899
  var issuingDate = ((_a = brandData === null || brandData === void 0 ? void 0 : brandData.operations) === null || _a === void 0 ? void 0 : _a.start_date) || ((_b = entity === null || entity === void 0 ? void 0 : entity.license) === null || _b === void 0 ? void 0 : _b.issuing_date);
904
900
  if (issuingDate)
905
901
  state.data.activitiesData.operationStartDate = convertNumbers2English(dateFormat(issuingDate));
906
- var _k = brandData || {}, terms = _k.terms, activities = _k.activities;
902
+ var _j = brandData || {}, terms = _j.terms, activities = _j.activities;
907
903
  var entityActivities = (entity_activities === null || entity_activities === void 0 ? void 0 : entity_activities.filter(function (activity) {
908
904
  return !(activities === null || activities === void 0 ? void 0 : activities.some(function (value) { return value.id === activity.id; }));
909
905
  })) || [];
@@ -914,11 +910,9 @@ export var businessSlice = createSlice({
914
910
  state.data.customersData.refundPolicy = element.agree;
915
911
  }
916
912
  });
917
- if ((_c = currencyData === null || currencyData === void 0 ? void 0 : currencyData.code) === null || _c === void 0 ? void 0 : _c.english)
918
- state.data.currency = currencyData.code.english;
919
913
  state.data.activitiesData.activities = selectedActivity;
920
914
  var licenseList = [OTHER_CR_LICENSE, OTHER_FL_LICENSE];
921
- state.data.businessTypeData.responseBody = __assign(__assign(__assign({}, state.data.businessTypeData.responseBody), { entity_id: entity === null || entity === void 0 ? void 0 : entity.id, activityList: isicActivityList }), (!((_f = (_e = (_d = state.data.businessTypeData) === null || _d === void 0 ? void 0 : _d.responseBody) === null || _e === void 0 ? void 0 : _e.licenseList) === null || _f === void 0 ? void 0 : _f.length) && { licenseList: licenseList }));
915
+ state.data.businessTypeData.responseBody = __assign(__assign(__assign({}, state.data.businessTypeData.responseBody), { entity_id: entity === null || entity === void 0 ? void 0 : entity.id, activityList: isicActivityList }), (!((_e = (_d = (_c = state.data.businessTypeData) === null || _c === void 0 ? void 0 : _c.responseBody) === null || _d === void 0 ? void 0 : _d.licenseList) === null || _e === void 0 ? void 0 : _e.length) && { licenseList: licenseList }));
922
916
  })
923
917
  .addCase(verifyLeadToken.rejected, function (state, action) {
924
918
  state.error = action.error.message;
@@ -946,29 +940,27 @@ export var businessSlice = createSlice({
946
940
  state.error = null;
947
941
  })
948
942
  .addCase(verifyLeadOTP.fulfilled, function (state, action) {
949
- var _a, _b, _c, _d, _e, _f;
943
+ var _a, _b, _c, _d, _e;
950
944
  state.loading = false;
951
945
  state.error = null;
952
- var _g = action.payload, data = _g.data, formData = _g.formData, brand = _g.brand, leadData = _g.leadData, isicActivityList = _g.isicActivityList, currencyData = _g.currencyData;
946
+ var _f = action.payload, data = _f.data, formData = _f.formData, brand = _f.brand, leadData = _f.leadData, isicActivityList = _f.isicActivityList;
953
947
  state.data.otpData = formData;
954
948
  state.data.otpData.responseBody = data;
955
- if ((_a = currencyData === null || currencyData === void 0 ? void 0 : currencyData.code) === null || _a === void 0 ? void 0 : _a.english)
956
- state.data.currency = currencyData.code.english;
957
949
  state.data.verify.responseBody = __assign(__assign(__assign(__assign({}, leadData), state.data.verify.responseBody), (brand && { brand: brand })), { flows: (leadData === null || leadData === void 0 ? void 0 : leadData.flows) || [] });
958
- var _h = leadData || {}, identification = _h.identification, date_of_birth = _h.date_of_birth;
950
+ var _g = leadData || {}, identification = _g.identification, date_of_birth = _g.date_of_birth;
959
951
  if (identification === null || identification === void 0 ? void 0 : identification.id)
960
952
  state.data.nidData.nid = identification.id;
961
953
  if (date_of_birth)
962
954
  state.data.nidData.dob = dateFormat(date_of_birth);
963
955
  if (identification === null || identification === void 0 ? void 0 : identification.type)
964
956
  state.data.nidData.type = identification.type;
965
- var _j = leadData || {}, entity = _j.entity, entity_activities = _j.entity_activities, business_name = _j.business_name;
957
+ var _h = leadData || {}, entity = _h.entity, entity_activities = _h.entity_activities, business_name = _h.business_name;
966
958
  if (business_name === null || business_name === void 0 ? void 0 : business_name.en)
967
959
  state.data.businessTypeData.entityLegalName = business_name === null || business_name === void 0 ? void 0 : business_name.en;
968
- var issuingDate = ((_b = brand === null || brand === void 0 ? void 0 : brand.operations) === null || _b === void 0 ? void 0 : _b.start_date) || ((_c = entity === null || entity === void 0 ? void 0 : entity.license) === null || _c === void 0 ? void 0 : _c.issuing_date);
960
+ var issuingDate = ((_a = brand === null || brand === void 0 ? void 0 : brand.operations) === null || _a === void 0 ? void 0 : _a.start_date) || ((_b = entity === null || entity === void 0 ? void 0 : entity.license) === null || _b === void 0 ? void 0 : _b.issuing_date);
969
961
  if (issuingDate)
970
962
  state.data.activitiesData.operationStartDate = convertNumbers2English(dateFormat(issuingDate));
971
- var _k = brand || {}, terms = _k.terms, activities = _k.activities;
963
+ var _j = brand || {}, terms = _j.terms, activities = _j.activities;
972
964
  var entityActivities = (entity_activities === null || entity_activities === void 0 ? void 0 : entity_activities.filter(function (activity) {
973
965
  return !(activities === null || activities === void 0 ? void 0 : activities.some(function (value) { return value.id === activity.id; }));
974
966
  })) || [];
@@ -981,7 +973,7 @@ export var businessSlice = createSlice({
981
973
  });
982
974
  state.data.activitiesData.activities = selectedActivity;
983
975
  var licenseList = [OTHER_CR_LICENSE, OTHER_FL_LICENSE];
984
- state.data.businessTypeData.responseBody = __assign(__assign(__assign({}, state.data.businessTypeData.responseBody), { entity_id: entity === null || entity === void 0 ? void 0 : entity.id, activityList: isicActivityList }), (!((_f = (_e = (_d = state.data.businessTypeData) === null || _d === void 0 ? void 0 : _d.responseBody) === null || _e === void 0 ? void 0 : _e.licenseList) === null || _f === void 0 ? void 0 : _f.length) && { licenseList: licenseList }));
976
+ state.data.businessTypeData.responseBody = __assign(__assign(__assign({}, state.data.businessTypeData.responseBody), { entity_id: entity === null || entity === void 0 ? void 0 : entity.id, activityList: isicActivityList }), (!((_e = (_d = (_c = state.data.businessTypeData) === null || _c === void 0 ? void 0 : _c.responseBody) === null || _d === void 0 ? void 0 : _d.licenseList) === null || _e === void 0 ? void 0 : _e.length) && { licenseList: licenseList }));
985
977
  })
986
978
  .addCase(verifyLeadOTP.rejected, function (state, action) {
987
979
  state.loading = false;
@@ -1202,13 +1194,10 @@ export var businessSlice = createSlice({
1202
1194
  state.error = null;
1203
1195
  })
1204
1196
  .addCase(updateActivitiesInfo.fulfilled, function (state, action) {
1205
- var _a;
1206
1197
  state.loading = false;
1207
1198
  state.error = null;
1208
- var _b = action.payload, data = _b.data, formData = _b.formData, currencyData = _b.currencyData;
1199
+ var _a = action.payload, data = _a.data, formData = _a.formData;
1209
1200
  state.data.activitiesData = formData;
1210
- if ((_a = currencyData === null || currencyData === void 0 ? void 0 : currencyData.code) === null || _a === void 0 ? void 0 : _a.english)
1211
- state.data.currency = currencyData.code.english;
1212
1201
  var terms = (data || {}).terms;
1213
1202
  terms === null || terms === void 0 ? void 0 : terms.forEach(function (element) {
1214
1203
  if ((element === null || element === void 0 ? void 0 : element.term) === 'general') {
@@ -278,14 +278,23 @@ export declare const checkBrandNameAvailabilityAsync: import("@reduxjs/toolkit")
278
278
  rejectedMeta?: unknown;
279
279
  }>;
280
280
  export declare const createAccountAsync: import("@reduxjs/toolkit").AsyncThunk<{
281
+ accountData: any;
282
+ } | undefined, {
283
+ isRetry: boolean;
284
+ }, {
285
+ state?: unknown;
286
+ dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
287
+ extra?: unknown;
288
+ rejectValue?: unknown;
289
+ serializedErrorType?: unknown;
290
+ pendingMeta?: unknown;
291
+ fulfilledMeta?: unknown;
292
+ rejectedMeta?: unknown;
293
+ }>;
294
+ export declare const retrieveDetailsAfterCreateAccountAsync: import("@reduxjs/toolkit").AsyncThunk<{
281
295
  boardInfo: any;
282
296
  boardData: any;
283
- account: any;
284
- } | {
285
- account: any;
286
- boardInfo?: undefined;
287
- boardData?: undefined;
288
- } | undefined, void, {
297
+ }, void, {
289
298
  state?: unknown;
290
299
  dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
291
300
  extra?: unknown;