@tap-payments/auth-jsconnect 2.3.40-test → 2.3.46-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.
- package/build/@types/form.d.ts +0 -3
- package/build/api/entity.d.ts +0 -1
- package/build/api/index.d.ts +0 -3
- package/build/api/index.js +1 -3
- package/build/assets/locales/ar.json +0 -1
- package/build/assets/locales/en.json +0 -1
- package/build/components/DatePicker/DatePicker.js +1 -0
- package/build/components/RadioGroup/RadioGroup.d.ts +5 -2
- package/build/components/RadioGroup/RadioGroup.js +5 -9
- package/build/components/RadioGroup/index.d.ts +1 -1
- package/build/constants/app.js +4 -10
- package/build/features/app/bank/bankStore.d.ts +0 -1
- package/build/features/app/bank/bankStore.js +21 -37
- package/build/features/app/connectExpress/connectExpressStore.js +12 -8
- package/build/features/app/entity/entityStore.d.ts +1 -9
- package/build/features/app/entity/entityStore.js +48 -119
- package/build/features/app/individual/individualStore.d.ts +0 -2
- package/build/features/app/individual/individualStore.js +71 -91
- package/build/features/app/tax/taxStore.js +18 -36
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.js +6 -10
- package/build/features/bank/screens/Verify/OTPInput.js +5 -3
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +0 -5
- package/build/features/brand/screens/BrandActivities/ActivitiesList.js +5 -5
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +0 -5
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +5 -5
- package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +13 -3
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +12 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +5 -1
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +6 -9
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +12 -0
- package/build/features/brand/screens/BrandActivities/TAC.js +6 -9
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +1 -1
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +2 -2
- package/build/features/brand/screens/BrandInfo/Segments.js +9 -1
- package/build/features/brand/screens/BrandInfo/TeamSize.js +9 -1
- package/build/features/brand/screens/Verify/OTPInput.js +5 -3
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +0 -5
- package/build/features/business/screens/Activities/ActivitiesList.js +5 -5
- package/build/features/business/screens/Activities/OperationStartDate.js +1 -1
- package/build/features/business/screens/BusinessType/LicenseList.js +1 -1
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +0 -5
- package/build/features/business/screens/Customers/CustomerLocations.js +5 -5
- package/build/features/business/screens/Customers/ExpectedCustomers.js +12 -2
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +12 -2
- package/build/features/business/screens/IDBOD/DOB.js +1 -1
- package/build/features/business/screens/Verify/OTPInput.js +5 -3
- package/build/features/connect/screens/Merchant/BrandList.js +1 -1
- package/build/features/connect/screens/Merchant/Segments.js +6 -1
- package/build/features/connect/screens/Merchant/TeamSize.js +6 -1
- package/build/features/connectExpress/screens/Brand/Brand.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +3 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +12 -0
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +6 -9
- package/build/features/connectExpress/screens/NID/TAC.d.ts +12 -0
- package/build/features/connectExpress/screens/NID/TAC.js +6 -9
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +0 -5
- package/build/features/entity/screens/EntityCapital/ActivityList.js +5 -5
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +2 -2
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +0 -5
- package/build/features/entity/screens/EntityName/EntityTypeList.js +5 -5
- package/build/features/entity/screens/Verify/OTPInput.js +5 -3
- package/build/features/featuresScreens.js +0 -5
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +10 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +9 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +9 -1
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +9 -1
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCountry.js +9 -1
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +1 -1
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +9 -1
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +9 -6
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +9 -1
- package/build/features/individual/screens/Verify/OTPInput.js +5 -3
- package/build/features/password/screens/Verify/OTPInput.js +5 -3
- package/build/features/shared/Address/Address.js +13 -20
- package/build/features/shared/Address/CountryList.js +4 -4
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/Button/FlowsButtons.js +14 -19
- package/build/features/shared/Input/Input.js +2 -3
- package/build/features/shared/OTP/OTP.d.ts +2 -1
- package/build/features/shared/OTP/OTP.js +2 -2
- package/build/features/shared/SalesChannels/SaleChannelIconsInput.js +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.js +2 -1
- package/build/features/shared/UploadFile/FileUpload.js +5 -5
- package/build/features/shared/UploadFile/UploadFile.js +7 -7
- package/build/features/shared/UploadMultipleFile/UploadFile.js +5 -5
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.js +6 -9
- package/build/features/tax/screens/Verify/OTPInput.js +5 -3
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +3 -0
- package/build/utils/string.d.ts +1 -1
- package/build/utils/string.js +6 -0
- package/package.json +1 -1
- package/build/api/address.d.ts +0 -4
- package/build/api/address.js +0 -12
- package/build/features/entity/screens/EntityAddress/EntityAddress.d.ts +0 -5
- package/build/features/entity/screens/EntityAddress/EntityAddress.js +0 -42
- package/build/features/entity/screens/EntityAddress/index.d.ts +0 -2
- package/build/features/entity/screens/EntityAddress/index.js +0 -2
|
@@ -67,10 +67,10 @@ import { convertNumbers2English, getRecentDocumentBasedOnPurpose, hasVerifiedVal
|
|
|
67
67
|
export var verifyLeadToken = createAsyncThunk('entityVerifyLeadToken', function (_a, thunkApi) {
|
|
68
68
|
var token = _a.token, isInternally = _a.isInternally;
|
|
69
69
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
70
|
-
var payload, data, boardData, entityData,
|
|
71
|
-
var _b, _c, _d
|
|
72
|
-
return __generator(this, function (
|
|
73
|
-
switch (
|
|
70
|
+
var payload, data, boardData, entityData, entityTypes, countryIso2, board_id, entityId;
|
|
71
|
+
var _b, _c, _d;
|
|
72
|
+
return __generator(this, function (_e) {
|
|
73
|
+
switch (_e.label) {
|
|
74
74
|
case 0:
|
|
75
75
|
payload = {
|
|
76
76
|
service_name: 'tap_email',
|
|
@@ -78,9 +78,9 @@ export var verifyLeadToken = createAsyncThunk('entityVerifyLeadToken', function
|
|
|
78
78
|
};
|
|
79
79
|
return [4, API.leadService.verifyLeadToken(payload)];
|
|
80
80
|
case 1:
|
|
81
|
-
data = (
|
|
81
|
+
data = (_e.sent()).data;
|
|
82
82
|
countryIso2 = undefined;
|
|
83
|
-
if (!(!(data === null || data === void 0 ? void 0 : data.errors) && !(data === null || data === void 0 ? void 0 : data.mw_error))) return [3,
|
|
83
|
+
if (!(!(data === null || data === void 0 ? void 0 : data.errors) && !(data === null || data === void 0 ? void 0 : data.mw_error))) return [3, 7];
|
|
84
84
|
if (isInternally)
|
|
85
85
|
data.step_name = ENTITY_STEP_NAMES.ENTITY_INFO;
|
|
86
86
|
if (data === null || data === void 0 ? void 0 : data.country_code) {
|
|
@@ -88,40 +88,32 @@ export var verifyLeadToken = createAsyncThunk('entityVerifyLeadToken', function
|
|
|
88
88
|
if (countryIso2)
|
|
89
89
|
thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
|
|
90
90
|
}
|
|
91
|
-
if (!(data.step_name !== ENTITY_STEP_NAMES.PHONE_AUTH)) return [3,
|
|
91
|
+
if (!(data.step_name !== ENTITY_STEP_NAMES.PHONE_AUTH)) return [3, 7];
|
|
92
92
|
board_id = data === null || data === void 0 ? void 0 : data.id;
|
|
93
|
-
if (!board_id) return [3,
|
|
94
|
-
return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
|
|
95
|
-
case 2:
|
|
96
|
-
boardInfoData = _f.sent();
|
|
93
|
+
if (!board_id) return [3, 3];
|
|
97
94
|
return [4, API.boardService.retrieveBoardDetails(board_id)];
|
|
95
|
+
case 2:
|
|
96
|
+
boardData = _e.sent();
|
|
97
|
+
_e.label = 3;
|
|
98
98
|
case 3:
|
|
99
|
-
boardData = _f.sent();
|
|
100
|
-
_f.label = 4;
|
|
101
|
-
case 4:
|
|
102
99
|
entityId = (_b = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _b === void 0 ? void 0 : _b.id;
|
|
103
|
-
if (!entityId) return [3,
|
|
100
|
+
if (!entityId) return [3, 5];
|
|
104
101
|
return [4, API.entityService.retrieveEntity(entityId)];
|
|
102
|
+
case 4:
|
|
103
|
+
entityData = _e.sent();
|
|
104
|
+
_e.label = 5;
|
|
105
105
|
case 5:
|
|
106
|
-
entityData = _f.sent();
|
|
107
|
-
_f.label = 6;
|
|
108
|
-
case 6:
|
|
109
106
|
if (!countryIso2) {
|
|
110
107
|
countryIso2 = entityData.country;
|
|
111
108
|
if (countryIso2)
|
|
112
109
|
thunkApi.dispatch(handleSetCountryByIso2(countryIso2));
|
|
113
110
|
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
thunkApi.dispatch(handleNextScreenStep('ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP'));
|
|
118
|
-
return [3, 9];
|
|
119
|
-
case 7: return [4, API.entityService.retrieveEntityType()];
|
|
120
|
-
case 8:
|
|
121
|
-
entityTypes = _f.sent();
|
|
111
|
+
return [4, API.entityService.retrieveEntityType()];
|
|
112
|
+
case 6:
|
|
113
|
+
entityTypes = _e.sent();
|
|
122
114
|
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('ENTITY_NAME_STEP')); });
|
|
123
|
-
|
|
124
|
-
case
|
|
115
|
+
_e.label = 7;
|
|
116
|
+
case 7: return [2, {
|
|
125
117
|
data: data,
|
|
126
118
|
boardResponse: {
|
|
127
119
|
user: boardData === null || boardData === void 0 ? void 0 : boardData.user,
|
|
@@ -129,11 +121,10 @@ export var verifyLeadToken = createAsyncThunk('entityVerifyLeadToken', function
|
|
|
129
121
|
bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account,
|
|
130
122
|
entity: entityData === null || entityData === void 0 ? void 0 : entityData.entity,
|
|
131
123
|
merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant,
|
|
132
|
-
name: (
|
|
133
|
-
contact: (
|
|
124
|
+
name: (_c = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _c === void 0 ? void 0 : _c.names,
|
|
125
|
+
contact: (_d = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _d === void 0 ? void 0 : _d.contact,
|
|
134
126
|
individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals,
|
|
135
127
|
business: boardData === null || boardData === void 0 ? void 0 : boardData.business,
|
|
136
|
-
flows: (boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.info) || [],
|
|
137
128
|
entityTypes: entityTypes
|
|
138
129
|
},
|
|
139
130
|
token: token
|
|
@@ -160,10 +151,10 @@ export var resendOTP = createAsyncThunk('entityResendOTP', function (params, thu
|
|
|
160
151
|
});
|
|
161
152
|
}); });
|
|
162
153
|
export var verifyEntityLeadOTP = createAsyncThunk('verifyEntityLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
163
|
-
var _a, entity, settings, responseBody, payload, data, boardData, entityData, entityTypes,
|
|
164
|
-
var _b, _c, _d, _e, _f, _g
|
|
165
|
-
return __generator(this, function (
|
|
166
|
-
switch (
|
|
154
|
+
var _a, entity, settings, responseBody, payload, data, boardData, entityData, entityTypes, board_id, entityId;
|
|
155
|
+
var _b, _c, _d, _e, _f, _g;
|
|
156
|
+
return __generator(this, function (_h) {
|
|
157
|
+
switch (_h.label) {
|
|
167
158
|
case 0:
|
|
168
159
|
_a = thunkApi.getState(), entity = _a.entity, settings = _a.settings;
|
|
169
160
|
responseBody = entity.data.verify.responseBody;
|
|
@@ -176,38 +167,30 @@ export var verifyEntityLeadOTP = createAsyncThunk('verifyEntityLeadOTP', functio
|
|
|
176
167
|
};
|
|
177
168
|
return [4, API.leadService.verifyLeadOTP(payload)];
|
|
178
169
|
case 1:
|
|
179
|
-
data = (
|
|
180
|
-
|
|
181
|
-
if (!!data.errors) return [3,
|
|
170
|
+
data = (_h.sent()).data;
|
|
171
|
+
entityTypes = undefined;
|
|
172
|
+
if (!!data.errors) return [3, 7];
|
|
182
173
|
board_id = responseBody === null || responseBody === void 0 ? void 0 : responseBody.id;
|
|
183
|
-
if (!board_id) return [3,
|
|
184
|
-
return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
|
|
185
|
-
case 2:
|
|
186
|
-
boardInfoData = _j.sent();
|
|
174
|
+
if (!board_id) return [3, 3];
|
|
187
175
|
return [4, API.boardService.retrieveBoardDetails(board_id)];
|
|
176
|
+
case 2:
|
|
177
|
+
boardData = _h.sent();
|
|
178
|
+
_h.label = 3;
|
|
188
179
|
case 3:
|
|
189
|
-
boardData = _j.sent();
|
|
190
|
-
_j.label = 4;
|
|
191
|
-
case 4:
|
|
192
180
|
entityId = (_c = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _c === void 0 ? void 0 : _c.id;
|
|
193
|
-
if (!entityId) return [3,
|
|
181
|
+
if (!entityId) return [3, 5];
|
|
194
182
|
return [4, API.entityService.retrieveEntity(entityId)];
|
|
183
|
+
case 4:
|
|
184
|
+
entityData = _h.sent();
|
|
185
|
+
_h.label = 5;
|
|
195
186
|
case 5:
|
|
196
|
-
entityData = _j.sent();
|
|
197
|
-
_j.label = 6;
|
|
198
|
-
case 6:
|
|
199
187
|
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, { otp: params.otp });
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
thunkApi.dispatch(handleNextScreenStep('ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP'));
|
|
204
|
-
return [3, 9];
|
|
205
|
-
case 7: return [4, API.entityService.retrieveEntityType()];
|
|
206
|
-
case 8:
|
|
207
|
-
entityTypes = _j.sent();
|
|
188
|
+
return [4, API.entityService.retrieveEntityType()];
|
|
189
|
+
case 6:
|
|
190
|
+
entityTypes = _h.sent();
|
|
208
191
|
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('ENTITY_NAME_STEP')); });
|
|
209
|
-
|
|
210
|
-
case
|
|
192
|
+
_h.label = 7;
|
|
193
|
+
case 7: return [2, {
|
|
211
194
|
data: data,
|
|
212
195
|
boardResponse: {
|
|
213
196
|
user: boardData === null || boardData === void 0 ? void 0 : boardData.user,
|
|
@@ -215,11 +198,10 @@ export var verifyEntityLeadOTP = createAsyncThunk('verifyEntityLeadOTP', functio
|
|
|
215
198
|
bank_account: boardData === null || boardData === void 0 ? void 0 : boardData.bank_account,
|
|
216
199
|
entity: entityData === null || entityData === void 0 ? void 0 : entityData.entity,
|
|
217
200
|
merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant,
|
|
218
|
-
name: (
|
|
219
|
-
contact: (
|
|
201
|
+
name: (_f = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _f === void 0 ? void 0 : _f.names,
|
|
202
|
+
contact: (_g = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _g === void 0 ? void 0 : _g.contact,
|
|
220
203
|
individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals,
|
|
221
204
|
business: boardData === null || boardData === void 0 ? void 0 : boardData.business,
|
|
222
|
-
flows: (boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.info) || [],
|
|
223
205
|
entityTypes: entityTypes
|
|
224
206
|
},
|
|
225
207
|
formData: params
|
|
@@ -330,7 +312,7 @@ export var updateEntityName = createAsyncThunk('entityUpdateEntityName', functio
|
|
|
330
312
|
});
|
|
331
313
|
}); });
|
|
332
314
|
export var updateEntityCapital = createAsyncThunk('entityUpdateEntityCapital', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
333
|
-
var _a, settings, entity, _b, id, data_status, isCapitalPaidNonEditable, isCapitalShareCountNonEditable, isCapitalShareValueNonEditable, isActivitiesNonEditable, hasCapitalShares, isCapitalNonEditable, activities, payload, data
|
|
315
|
+
var _a, settings, entity, _b, id, data_status, isCapitalPaidNonEditable, isCapitalShareCountNonEditable, isCapitalShareValueNonEditable, isActivitiesNonEditable, hasCapitalShares, isCapitalNonEditable, activities, payload, data;
|
|
334
316
|
var _c, _d, _e, _f;
|
|
335
317
|
return __generator(this, function (_g) {
|
|
336
318
|
switch (_g.label) {
|
|
@@ -358,34 +340,8 @@ export var updateEntityCapital = createAsyncThunk('entityUpdateEntityCapital', f
|
|
|
358
340
|
return [4, API.entityService.updateEntity(payload)];
|
|
359
341
|
case 1:
|
|
360
342
|
data = _g.sent();
|
|
361
|
-
return [4, API.addressService.retrieveAddressFormat(settings.data.businessCountry.iso2)];
|
|
362
|
-
case 2:
|
|
363
|
-
list = (_g.sent()).list;
|
|
364
|
-
workAddressFormat = (list || []).find(function (address) { return address.type.code === 'work'; }).format;
|
|
365
343
|
thunkApi.dispatch(handleNextScreenStep());
|
|
366
344
|
(_f = (_e = settings.data.appConfig).onStepCompleted) === null || _f === void 0 ? void 0 : _f.call(_e, settings.data.activeScreen.name, id);
|
|
367
|
-
return [2, { data: data, formData: params, addressFormat: workAddressFormat }];
|
|
368
|
-
}
|
|
369
|
-
});
|
|
370
|
-
}); });
|
|
371
|
-
export var updateEntityAddress = createAsyncThunk('entityUpdateEntityAddress', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
372
|
-
var _a, settings, entity, _b, id, data_status, isAddressEditable, payload, data;
|
|
373
|
-
var _c, _d, _e;
|
|
374
|
-
return __generator(this, function (_f) {
|
|
375
|
-
switch (_f.label) {
|
|
376
|
-
case 0:
|
|
377
|
-
_a = thunkApi.getState(), settings = _a.settings, entity = _a.entity;
|
|
378
|
-
_b = ((_c = entity.data.verify.responseBody) === null || _c === void 0 ? void 0 : _c.entity) || {}, id = _b.id, data_status = _b.data_status;
|
|
379
|
-
isAddressEditable = true;
|
|
380
|
-
payload = {
|
|
381
|
-
id: id,
|
|
382
|
-
billing_address: isAddressEditable ? params.billingAddress : undefined
|
|
383
|
-
};
|
|
384
|
-
return [4, API.entityService.updateEntity(payload)];
|
|
385
|
-
case 1:
|
|
386
|
-
data = _f.sent();
|
|
387
|
-
thunkApi.dispatch(handleNextScreenStep());
|
|
388
|
-
(_e = (_d = settings.data.appConfig).onStepCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, settings.data.activeScreen.name, id);
|
|
389
345
|
return [2, { data: data, formData: params }];
|
|
390
346
|
}
|
|
391
347
|
});
|
|
@@ -449,9 +405,6 @@ var initialState = {
|
|
|
449
405
|
capitalPaid: '',
|
|
450
406
|
capitalShareCount: '',
|
|
451
407
|
capitalShareValue: ''
|
|
452
|
-
},
|
|
453
|
-
entityAddressData: {
|
|
454
|
-
billingAddress: {}
|
|
455
408
|
}
|
|
456
409
|
}
|
|
457
410
|
};
|
|
@@ -499,7 +452,7 @@ export var entitySlice = createSlice({
|
|
|
499
452
|
state.data.verify.token = token;
|
|
500
453
|
var _f = boardResponse || {}, entity = _f.entity, entityTypes = _f.entityTypes;
|
|
501
454
|
if (entity) {
|
|
502
|
-
var _g = entity || {}, license = _g.license, type = _g.type, capital = _g.capital, activities = _g.activities, legal_name = _g.legal_name
|
|
455
|
+
var _g = entity || {}, license = _g.license, type = _g.type, capital = _g.capital, activities = _g.activities, legal_name = _g.legal_name;
|
|
503
456
|
var legalName = legal_name;
|
|
504
457
|
var licenseNumber = license === null || license === void 0 ? void 0 : license.number;
|
|
505
458
|
var unifiedNumber = (_b = license === null || license === void 0 ? void 0 : license.additional_info) === null || _b === void 0 ? void 0 : _b.unified_number;
|
|
@@ -538,10 +491,6 @@ export var entitySlice = createSlice({
|
|
|
538
491
|
state.data.entityCapitalData.capitalShareCount = shares === null || shares === void 0 ? void 0 : shares.count;
|
|
539
492
|
if (shares === null || shares === void 0 ? void 0 : shares.value)
|
|
540
493
|
state.data.entityCapitalData.capitalShareValue = shares === null || shares === void 0 ? void 0 : shares.value;
|
|
541
|
-
var billingAddress = { country: country };
|
|
542
|
-
if (billing_address)
|
|
543
|
-
billingAddress = __assign(__assign({}, billing_address), { country: (billing_address === null || billing_address === void 0 ? void 0 : billing_address.country) || country });
|
|
544
|
-
state.data.entityAddressData.billingAddress = billingAddress;
|
|
545
494
|
state.data.entityNameData.responseBody = __assign(__assign({}, state.data.entityNameData.responseBody), { entity_id: entity === null || entity === void 0 ? void 0 : entity.id });
|
|
546
495
|
}
|
|
547
496
|
})
|
|
@@ -584,7 +533,7 @@ export var entitySlice = createSlice({
|
|
|
584
533
|
state.data.otpData.responseBody = data;
|
|
585
534
|
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), boardResponse);
|
|
586
535
|
var _f = boardResponse || {}, entity = _f.entity, entityTypes = _f.entityTypes;
|
|
587
|
-
var _g = entity || {}, license = _g.license, type = _g.type, capital = _g.capital, activities = _g.activities, legal_name = _g.legal_name
|
|
536
|
+
var _g = entity || {}, license = _g.license, type = _g.type, capital = _g.capital, activities = _g.activities, legal_name = _g.legal_name;
|
|
588
537
|
var legalName = legal_name;
|
|
589
538
|
var licenseNumber = license === null || license === void 0 ? void 0 : license.number;
|
|
590
539
|
var unifiedNumber = (_b = license === null || license === void 0 ? void 0 : license.additional_info) === null || _b === void 0 ? void 0 : _b.unified_number;
|
|
@@ -623,10 +572,6 @@ export var entitySlice = createSlice({
|
|
|
623
572
|
state.data.entityCapitalData.capitalShareCount = shares === null || shares === void 0 ? void 0 : shares.count;
|
|
624
573
|
if (shares === null || shares === void 0 ? void 0 : shares.value)
|
|
625
574
|
state.data.entityCapitalData.capitalShareValue = shares === null || shares === void 0 ? void 0 : shares.value;
|
|
626
|
-
var billingAddress = { country: country };
|
|
627
|
-
if (billing_address)
|
|
628
|
-
billingAddress = __assign(__assign({}, billing_address), { country: (billing_address === null || billing_address === void 0 ? void 0 : billing_address.country) || country });
|
|
629
|
-
state.data.entityAddressData.billingAddress = billingAddress;
|
|
630
575
|
state.data.entityNameData = __assign(__assign({}, state.data.entityNameData), { responseBody: __assign(__assign({}, state.data.entityNameData.responseBody), { entity_id: entity === null || entity === void 0 ? void 0 : entity.id }) });
|
|
631
576
|
})
|
|
632
577
|
.addCase(verifyEntityLeadOTP.rejected, function (state, action) {
|
|
@@ -659,29 +604,13 @@ export var entitySlice = createSlice({
|
|
|
659
604
|
.addCase(updateEntityCapital.fulfilled, function (state, action) {
|
|
660
605
|
state.loading = false;
|
|
661
606
|
state.error = null;
|
|
662
|
-
var _a = action.payload, data = _a.data, formData = _a.formData
|
|
607
|
+
var _a = action.payload, data = _a.data, formData = _a.formData;
|
|
663
608
|
state.data.entityCapitalData = formData;
|
|
664
609
|
state.data.entityCapitalData.responseBody = __assign(__assign({}, state.data.entityCapitalData.responseBody), { data: data });
|
|
665
|
-
state.data.verify.responseBody = __assign(__assign({}, state.data.verify.responseBody), { addressFormat: addressFormat });
|
|
666
610
|
})
|
|
667
611
|
.addCase(updateEntityCapital.rejected, function (state, action) {
|
|
668
612
|
state.loading = false;
|
|
669
613
|
state.error = action.error.message;
|
|
670
|
-
})
|
|
671
|
-
.addCase(updateEntityAddress.pending, function (state) {
|
|
672
|
-
state.loading = true;
|
|
673
|
-
state.error = null;
|
|
674
|
-
})
|
|
675
|
-
.addCase(updateEntityAddress.fulfilled, function (state, action) {
|
|
676
|
-
state.loading = false;
|
|
677
|
-
state.error = null;
|
|
678
|
-
var _a = action.payload, data = _a.data, formData = _a.formData;
|
|
679
|
-
state.data.entityAddressData = __assign(__assign({}, state.data.entityAddressData), formData);
|
|
680
|
-
state.data.entityAddressData.responseBody = __assign(__assign({}, state.data.entityAddressData.responseBody), { data: data });
|
|
681
|
-
})
|
|
682
|
-
.addCase(updateEntityAddress.rejected, function (state, action) {
|
|
683
|
-
state.loading = false;
|
|
684
|
-
state.error = action.error.message;
|
|
685
614
|
})
|
|
686
615
|
.addCase(retrieveBoardDetails.pending, function (state) {
|
|
687
616
|
state.error = null;
|
|
@@ -21,7 +21,6 @@ export declare const verifyToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
21
21
|
countryCode: any;
|
|
22
22
|
notification: any;
|
|
23
23
|
business: any;
|
|
24
|
-
flows: any;
|
|
25
24
|
};
|
|
26
25
|
token: string;
|
|
27
26
|
}, VerifyLeadTokenProps, {}>;
|
|
@@ -79,7 +78,6 @@ export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
79
78
|
countryCode: any;
|
|
80
79
|
notification: any;
|
|
81
80
|
business: any;
|
|
82
|
-
flows: any;
|
|
83
81
|
};
|
|
84
82
|
formData: {
|
|
85
83
|
otp: string;
|
|
@@ -75,10 +75,10 @@ import { convertNumbers2English, dateFormat, findCountryByIddPrefix, findCountry
|
|
|
75
75
|
export var verifyToken = createAsyncThunk('individual/verifyToken', function (_a, thunkApi) {
|
|
76
76
|
var token = _a.token, isInternally = _a.isInternally, isUpdatePhoneInfo = _a.isUpdatePhoneInfo;
|
|
77
77
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
78
|
-
var payload, settings, data, boardData, individualData, countryCode, boardInfoData,
|
|
79
|
-
var _c, _d, _e, _f, _g, _h, _j
|
|
80
|
-
return __generator(this, function (
|
|
81
|
-
switch (
|
|
78
|
+
var payload, settings, data, boardData, individualData, countryCode, boardInfoData, countries, board_id, board_info_id, notification, _b, id, type, data_1, birthCountry;
|
|
79
|
+
var _c, _d, _e, _f, _g, _h, _j;
|
|
80
|
+
return __generator(this, function (_k) {
|
|
81
|
+
switch (_k.label) {
|
|
82
82
|
case 0:
|
|
83
83
|
payload = {
|
|
84
84
|
service_name: 'tap_email',
|
|
@@ -87,8 +87,8 @@ export var verifyToken = createAsyncThunk('individual/verifyToken', function (_a
|
|
|
87
87
|
settings = thunkApi.getState().settings;
|
|
88
88
|
return [4, API.leadService.verifyLeadToken(payload)];
|
|
89
89
|
case 1:
|
|
90
|
-
data = (
|
|
91
|
-
|
|
90
|
+
data = (_k.sent()).data;
|
|
91
|
+
boardInfoData = undefined;
|
|
92
92
|
countries = settings.data.countries;
|
|
93
93
|
if (((_c = data.errors) === null || _c === void 0 ? void 0 : _c.length) || (data === null || data === void 0 ? void 0 : data.mw_error))
|
|
94
94
|
throw new Error(data.errors[0].description || (data === null || data === void 0 ? void 0 : data.mw_error));
|
|
@@ -100,70 +100,61 @@ export var verifyToken = createAsyncThunk('individual/verifyToken', function (_a
|
|
|
100
100
|
}
|
|
101
101
|
if (!(data.step_name === INDIVIDUAl_STEP_NAMES.PHONE_INFO)) return [3, 2];
|
|
102
102
|
thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_PHONE_INFO_STEP'));
|
|
103
|
-
return [3,
|
|
103
|
+
return [3, 15];
|
|
104
104
|
case 2:
|
|
105
|
-
if (!(data.step_name !== INDIVIDUAl_STEP_NAMES.PHONE_AUTH)) return [3,
|
|
105
|
+
if (!(data.step_name !== INDIVIDUAl_STEP_NAMES.PHONE_AUTH)) return [3, 14];
|
|
106
106
|
board_id = data === null || data === void 0 ? void 0 : data.id;
|
|
107
107
|
board_info_id = data === null || data === void 0 ? void 0 : data.board_info_id;
|
|
108
108
|
if (!(board_id && board_info_id)) return [3, 5];
|
|
109
109
|
return [4, API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id })];
|
|
110
110
|
case 3:
|
|
111
|
-
boardInfoData =
|
|
111
|
+
boardInfoData = _k.sent();
|
|
112
112
|
notification = (boardInfoData || {}).notification;
|
|
113
113
|
_b = (notification === null || notification === void 0 ? void 0 : notification.recipient) || {}, id = _b.id, type = _b.type;
|
|
114
114
|
if (!(id && type)) return [3, 5];
|
|
115
115
|
return [4, thunkApi.dispatch(retrieveIndividualInfo({ id: id, type: type, countryCode: countryCode })).unwrap()];
|
|
116
116
|
case 4:
|
|
117
|
-
data_1 = (
|
|
117
|
+
data_1 = (_k.sent()).data;
|
|
118
118
|
individualData = data_1 || {};
|
|
119
|
-
|
|
119
|
+
_k.label = 5;
|
|
120
120
|
case 5:
|
|
121
|
-
if (!board_id) return [3,
|
|
121
|
+
if (!board_id) return [3, 7];
|
|
122
122
|
return [4, API.boardService.retrieveBoardDetails(board_id)];
|
|
123
123
|
case 6:
|
|
124
|
-
boardData =
|
|
125
|
-
|
|
124
|
+
boardData = _k.sent();
|
|
125
|
+
_k.label = 7;
|
|
126
126
|
case 7:
|
|
127
|
-
boardInfoStatus = _l.sent();
|
|
128
|
-
_l.label = 8;
|
|
129
|
-
case 8:
|
|
130
127
|
if (!countryCode) {
|
|
131
128
|
countryCode = (_d = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _d === void 0 ? void 0 : _d.country;
|
|
132
129
|
if (countryCode)
|
|
133
130
|
thunkApi.dispatch(handleSetCountryByIso2(countryCode));
|
|
134
131
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
132
|
+
if (!(individualData === null || individualData === void 0 ? void 0 : individualData.is_authorized)) return [3, 10];
|
|
133
|
+
if (!((_e = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _e === void 0 ? void 0 : _e.id)) return [3, 9];
|
|
134
|
+
return [4, thunkApi.dispatch(getIndividualList((_f = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _f === void 0 ? void 0 : _f.id))];
|
|
135
|
+
case 8:
|
|
136
|
+
_k.sent();
|
|
137
|
+
_k.label = 9;
|
|
140
138
|
case 9:
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
return [4, thunkApi.dispatch(getIndividualList((_g = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _g === void 0 ? void 0 : _g.id))];
|
|
139
|
+
thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_LIST_STEP'));
|
|
140
|
+
return [3, 13];
|
|
144
141
|
case 10:
|
|
145
|
-
|
|
146
|
-
|
|
142
|
+
birthCountry = ((_g = individualData === null || individualData === void 0 ? void 0 : individualData.birth) === null || _g === void 0 ? void 0 : _g.country) || countryCode;
|
|
143
|
+
if (!birthCountry) return [3, 12];
|
|
144
|
+
return [4, thunkApi.dispatch(getCityList(birthCountry))];
|
|
147
145
|
case 11:
|
|
148
|
-
|
|
149
|
-
|
|
146
|
+
_k.sent();
|
|
147
|
+
_k.label = 12;
|
|
150
148
|
case 12:
|
|
151
|
-
birthCountry = ((_h = individualData === null || individualData === void 0 ? void 0 : individualData.birth) === null || _h === void 0 ? void 0 : _h.country) || countryCode;
|
|
152
|
-
if (!birthCountry) return [3, 14];
|
|
153
|
-
return [4, thunkApi.dispatch(getCityList(birthCountry))];
|
|
154
|
-
case 13:
|
|
155
|
-
_l.sent();
|
|
156
|
-
_l.label = 14;
|
|
157
|
-
case 14:
|
|
158
149
|
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_PERSONAL_INDIVIDUAL_INFO_STEP')); });
|
|
159
|
-
|
|
160
|
-
case
|
|
161
|
-
case
|
|
150
|
+
_k.label = 13;
|
|
151
|
+
case 13: return [3, 15];
|
|
152
|
+
case 14:
|
|
162
153
|
if (isUpdatePhoneInfo) {
|
|
163
154
|
thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_VERIFY_STEP'));
|
|
164
155
|
}
|
|
165
|
-
|
|
166
|
-
case
|
|
156
|
+
_k.label = 15;
|
|
157
|
+
case 15: return [2, {
|
|
167
158
|
data: data,
|
|
168
159
|
boardResponse: {
|
|
169
160
|
brand: boardData === null || boardData === void 0 ? void 0 : boardData.brand,
|
|
@@ -171,14 +162,13 @@ export var verifyToken = createAsyncThunk('individual/verifyToken', function (_a
|
|
|
171
162
|
entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity,
|
|
172
163
|
merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant,
|
|
173
164
|
merchant_id: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.merchant_id,
|
|
174
|
-
name: (
|
|
175
|
-
contact: (
|
|
165
|
+
name: (_h = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _h === void 0 ? void 0 : _h.names,
|
|
166
|
+
contact: (_j = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _j === void 0 ? void 0 : _j.contact,
|
|
176
167
|
individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals,
|
|
177
168
|
countries: countries,
|
|
178
169
|
countryCode: countryCode,
|
|
179
170
|
notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification,
|
|
180
|
-
business: boardData === null || boardData === void 0 ? void 0 : boardData.business
|
|
181
|
-
flows: (boardInfoStatus === null || boardInfoStatus === void 0 ? void 0 : boardInfoStatus.info) || []
|
|
171
|
+
business: boardData === null || boardData === void 0 ? void 0 : boardData.business
|
|
182
172
|
},
|
|
183
173
|
token: token
|
|
184
174
|
}];
|
|
@@ -411,10 +401,10 @@ export var retrieveBoardDetails = createAsyncThunk('retrieveIndividualBoardDetai
|
|
|
411
401
|
});
|
|
412
402
|
}); });
|
|
413
403
|
export var verifyLeadOTP = createAsyncThunk('verifyIndividualLeadOTP', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
414
|
-
var _a, individual, settings, responseBody, _b, board_id, board_info_id, countries, payload, data, boardInfoData, individualData, boardData,
|
|
415
|
-
var _d, _e, _f, _g, _h, _j, _k, _l, _m, _o
|
|
416
|
-
return __generator(this, function (
|
|
417
|
-
switch (
|
|
404
|
+
var _a, individual, settings, responseBody, _b, board_id, board_info_id, countries, payload, data, boardInfoData, individualData, boardData, countryCode, notification, _c, id, type, data_3, birthCountry;
|
|
405
|
+
var _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
406
|
+
return __generator(this, function (_p) {
|
|
407
|
+
switch (_p.label) {
|
|
418
408
|
case 0:
|
|
419
409
|
_a = thunkApi.getState(), individual = _a.individual, settings = _a.settings;
|
|
420
410
|
responseBody = individual.data.verify.responseBody;
|
|
@@ -429,62 +419,53 @@ export var verifyLeadOTP = createAsyncThunk('verifyIndividualLeadOTP', function
|
|
|
429
419
|
};
|
|
430
420
|
return [4, API.leadService.verifyLeadOTP(payload)];
|
|
431
421
|
case 1:
|
|
432
|
-
data = (
|
|
433
|
-
|
|
422
|
+
data = (_p.sent()).data;
|
|
423
|
+
boardData = undefined;
|
|
434
424
|
if ((_e = data.errors) === null || _e === void 0 ? void 0 : _e.length)
|
|
435
425
|
throw new Error(data.errors[0].description);
|
|
436
|
-
if (!board_id) return [3,
|
|
426
|
+
if (!board_id) return [3, 3];
|
|
437
427
|
return [4, API.boardService.retrieveBoardDetails(board_id)];
|
|
438
428
|
case 2:
|
|
439
|
-
boardData =
|
|
440
|
-
|
|
429
|
+
boardData = _p.sent();
|
|
430
|
+
_p.label = 3;
|
|
441
431
|
case 3:
|
|
442
|
-
boardInfoStatus = _q.sent();
|
|
443
|
-
_q.label = 4;
|
|
444
|
-
case 4:
|
|
445
432
|
countryCode = (_f = boardData === null || boardData === void 0 ? void 0 : boardData.entity) === null || _f === void 0 ? void 0 : _f.country;
|
|
446
|
-
if (!(board_id && board_info_id)) return [3,
|
|
433
|
+
if (!(board_id && board_info_id)) return [3, 6];
|
|
447
434
|
return [4, API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id })];
|
|
448
|
-
case
|
|
449
|
-
boardInfoData =
|
|
435
|
+
case 4:
|
|
436
|
+
boardInfoData = _p.sent();
|
|
450
437
|
notification = (boardInfoData || {}).notification;
|
|
451
438
|
_c = (notification === null || notification === void 0 ? void 0 : notification.recipient) || {}, id = _c.id, type = _c.type;
|
|
452
|
-
if (!(id && type)) return [3,
|
|
439
|
+
if (!(id && type)) return [3, 6];
|
|
453
440
|
return [4, thunkApi.dispatch(retrieveIndividualInfo({ id: id, type: type, countryCode: countryCode })).unwrap()];
|
|
454
|
-
case
|
|
455
|
-
data_3 = (
|
|
441
|
+
case 5:
|
|
442
|
+
data_3 = (_p.sent()).data;
|
|
456
443
|
individualData = data_3 || {};
|
|
457
|
-
|
|
458
|
-
case
|
|
444
|
+
_p.label = 6;
|
|
445
|
+
case 6:
|
|
459
446
|
if (countryCode)
|
|
460
447
|
thunkApi.dispatch(handleSetCountryByIso2(countryCode));
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
448
|
+
if (!(individualData === null || individualData === void 0 ? void 0 : individualData.is_authorized)) return [3, 9];
|
|
449
|
+
if (!((_g = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _g === void 0 ? void 0 : _g.id)) return [3, 8];
|
|
450
|
+
return [4, thunkApi.dispatch(getIndividualList((_h = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _h === void 0 ? void 0 : _h.id))];
|
|
451
|
+
case 7:
|
|
452
|
+
_p.sent();
|
|
453
|
+
_p.label = 8;
|
|
466
454
|
case 8:
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
return [4, thunkApi.dispatch(getIndividualList((_j = boardData === null || boardData === void 0 ? void 0 : boardData.business) === null || _j === void 0 ? void 0 : _j.id))];
|
|
455
|
+
thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_LIST_STEP'));
|
|
456
|
+
return [3, 12];
|
|
470
457
|
case 9:
|
|
471
|
-
|
|
472
|
-
|
|
458
|
+
birthCountry = ((_j = individualData === null || individualData === void 0 ? void 0 : individualData.birth) === null || _j === void 0 ? void 0 : _j.country) || countryCode;
|
|
459
|
+
if (!birthCountry) return [3, 11];
|
|
460
|
+
return [4, thunkApi.dispatch(getCityList(birthCountry))];
|
|
473
461
|
case 10:
|
|
474
|
-
|
|
475
|
-
|
|
462
|
+
_p.sent();
|
|
463
|
+
_p.label = 11;
|
|
476
464
|
case 11:
|
|
477
|
-
birthCountry = ((_k = individualData === null || individualData === void 0 ? void 0 : individualData.birth) === null || _k === void 0 ? void 0 : _k.country) || countryCode;
|
|
478
|
-
if (!birthCountry) return [3, 13];
|
|
479
|
-
return [4, thunkApi.dispatch(getCityList(birthCountry))];
|
|
480
|
-
case 12:
|
|
481
|
-
_q.sent();
|
|
482
|
-
_q.label = 13;
|
|
483
|
-
case 13:
|
|
484
465
|
sleep(100).then(function () { return thunkApi.dispatch(handleNextScreenStep('INDIVIDUAL_PERSONAL_INDIVIDUAL_INFO_STEP')); });
|
|
485
|
-
|
|
486
|
-
case
|
|
487
|
-
(
|
|
466
|
+
_p.label = 12;
|
|
467
|
+
case 12:
|
|
468
|
+
(_l = (_k = settings.data.appConfig).onStepCompleted) === null || _l === void 0 ? void 0 : _l.call(_k, settings.data.activeScreen.name, { otp: params.otp });
|
|
488
469
|
return [2, {
|
|
489
470
|
data: data,
|
|
490
471
|
boardResponse: {
|
|
@@ -493,14 +474,13 @@ export var verifyLeadOTP = createAsyncThunk('verifyIndividualLeadOTP', function
|
|
|
493
474
|
entity: boardData === null || boardData === void 0 ? void 0 : boardData.entity,
|
|
494
475
|
merchant: boardData === null || boardData === void 0 ? void 0 : boardData.merchant,
|
|
495
476
|
merchant_id: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.merchant_id,
|
|
496
|
-
name: (
|
|
497
|
-
contact: (
|
|
477
|
+
name: (_m = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _m === void 0 ? void 0 : _m.names,
|
|
478
|
+
contact: (_o = boardData === null || boardData === void 0 ? void 0 : boardData.user) === null || _o === void 0 ? void 0 : _o.contact,
|
|
498
479
|
individuals: boardData === null || boardData === void 0 ? void 0 : boardData.individuals,
|
|
499
480
|
countries: countries,
|
|
500
481
|
countryCode: countryCode,
|
|
501
482
|
notification: boardInfoData === null || boardInfoData === void 0 ? void 0 : boardInfoData.notification,
|
|
502
|
-
business: boardData === null || boardData === void 0 ? void 0 : boardData.business
|
|
503
|
-
flows: (boardInfoStatus === null || boardInfoStatus === void 0 ? void 0 : boardInfoStatus.info) || []
|
|
483
|
+
business: boardData === null || boardData === void 0 ? void 0 : boardData.business
|
|
504
484
|
},
|
|
505
485
|
formData: __assign({}, params)
|
|
506
486
|
}];
|