@tap-payments/auth-jsconnect 2.6.34-test → 2.6.35-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/app.d.ts +18 -18
- package/build/@types/form.d.ts +21 -21
- package/build/@types/theme.d.ts +1 -1
- package/build/api/account.d.ts +2 -2
- package/build/api/auth.d.ts +11 -11
- package/build/api/availabilityServices.d.ts +3 -3
- package/build/api/axios.js +1 -1
- package/build/api/board.d.ts +3 -3
- package/build/api/brand.d.ts +1 -1
- package/build/api/country.d.ts +1 -1
- package/build/api/data.d.ts +11 -11
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +8 -8
- package/build/api/file.d.ts +1 -1
- package/build/api/individual.d.ts +5 -5
- package/build/api/init.d.ts +1 -1
- package/build/api/lead.d.ts +11 -11
- package/build/api/lead.js +1 -1
- package/build/api/operator.d.ts +2 -2
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +2 -2
- package/build/app/settings.d.ts +3 -21
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +4 -4
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/constants/app.d.ts +1 -1
- package/build/features/app/bank/bankStore.d.ts +11 -92
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/board/boardStore.d.ts +5 -41
- package/build/features/app/board/boardStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +16 -142
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +18 -162
- package/build/features/app/business/businessStore.js +9 -8
- package/build/features/app/connect/connectStore.d.ts +17 -161
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +27 -261
- package/build/features/app/connectExpress/connectExpressStore.js +1 -1
- package/build/features/app/entity/entityStore.d.ts +11 -92
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +23 -185
- package/build/features/app/individual/individualStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +13 -112
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +7 -61
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +10 -82
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/bank/screens/BankDetails/BankName.d.ts +1 -1
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
- package/build/features/bank/screens/BankDetails/ConfirmPolicy.d.ts +1 -1
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +6 -6
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +5 -5
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +2 -2
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +2 -2
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +1 -1
- package/build/features/business/screens/BrandDetails/SalesChannel.d.ts +1 -1
- package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +3 -3
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +7 -7
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +4 -4
- package/build/features/connect/Connect.js +1 -1
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connectExpress/ConnectExpress.js +1 -1
- package/build/features/connectExpress/screens/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +3 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.d.ts +2 -2
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/connectExpress/screens/NID/TAC.d.ts +2 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +2 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +6 -6
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +1 -1
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.d.ts +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +2 -2
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +2 -2
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +3 -3
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +1 -1
- package/build/features/shared/Address/CountryList.d.ts +6 -6
- package/build/features/shared/Address/InputSelect.d.ts +6 -6
- package/build/features/shared/Address/InputSelect.js +1 -1
- package/build/features/shared/BusinessCountry/BusinessCountry.js +1 -1
- package/build/features/shared/Button/EmailProvidersButtons.d.ts +1 -1
- package/build/features/shared/Button/FlowsButtons.d.ts +1 -1
- package/build/features/shared/Button/FlowsButtons.js +1 -1
- package/build/features/shared/Button/IndividualActionButtons.d.ts +1 -1
- package/build/features/shared/CheckIcon/CheckIcon.d.ts +1 -1
- package/build/features/shared/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/Footer/PoweredByFooter.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +2 -2
- package/build/features/shared/UploadFile/FileUpload.d.ts +3 -3
- package/build/features/shared/UploadFile/FileUpload.js +1 -1
- package/build/features/shared/UploadFile/UploadFile.d.ts +2 -2
- package/build/features/shared/UploadFile/UploadWrapper.d.ts +2 -2
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +3 -3
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
- package/build/features/tax/screens/TaxDetails/ConfirmPolicy.d.ts +1 -1
- package/build/features/tax/screens/TaxDetails/VATId.d.ts +1 -1
- package/build/hooks/useDataVerified.d.ts +1 -1
- package/build/hooks/useExcludeReadOnlyFelids.d.ts +1 -1
- package/build/hooks/useFormErrorAndUpdateReadOnly.d.ts +1 -1
- package/build/hooks/useFormReadOnly.d.ts +1 -1
- package/build/utils/array.js +1 -1
- package/package.json +1 -1
|
@@ -22,28 +22,10 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
22
22
|
};
|
|
23
23
|
salesChannels: any;
|
|
24
24
|
token: string;
|
|
25
|
-
}, VerifyLeadTokenProps, {
|
|
26
|
-
state?: unknown;
|
|
27
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
28
|
-
extra?: unknown;
|
|
29
|
-
rejectValue?: unknown;
|
|
30
|
-
serializedErrorType?: unknown;
|
|
31
|
-
pendingMeta?: unknown;
|
|
32
|
-
fulfilledMeta?: unknown;
|
|
33
|
-
rejectedMeta?: unknown;
|
|
34
|
-
}>;
|
|
25
|
+
}, VerifyLeadTokenProps, {}>;
|
|
35
26
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
36
27
|
data: any;
|
|
37
|
-
}, void, {
|
|
38
|
-
state?: unknown;
|
|
39
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
40
|
-
extra?: unknown;
|
|
41
|
-
rejectValue?: unknown;
|
|
42
|
-
serializedErrorType?: unknown;
|
|
43
|
-
pendingMeta?: unknown;
|
|
44
|
-
fulfilledMeta?: unknown;
|
|
45
|
-
rejectedMeta?: unknown;
|
|
46
|
-
}>;
|
|
28
|
+
}, void, {}>;
|
|
47
29
|
export declare const verifyBrandLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
48
30
|
data: any;
|
|
49
31
|
individualData: any;
|
|
@@ -61,54 +43,18 @@ export declare const verifyBrandLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
61
43
|
};
|
|
62
44
|
salesChannels: any;
|
|
63
45
|
formData: OTPFormValues;
|
|
64
|
-
}, OTPFormValues, {
|
|
65
|
-
state?: unknown;
|
|
66
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
67
|
-
extra?: unknown;
|
|
68
|
-
rejectValue?: unknown;
|
|
69
|
-
serializedErrorType?: unknown;
|
|
70
|
-
pendingMeta?: unknown;
|
|
71
|
-
fulfilledMeta?: unknown;
|
|
72
|
-
rejectedMeta?: unknown;
|
|
73
|
-
}>;
|
|
46
|
+
}, OTPFormValues, {}>;
|
|
74
47
|
export declare const retrieveSegmentDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
75
48
|
segmentLocation: any;
|
|
76
49
|
segmentProfit: any;
|
|
77
50
|
segmentTech: any;
|
|
78
|
-
}, void, {
|
|
79
|
-
state?: unknown;
|
|
80
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
81
|
-
extra?: unknown;
|
|
82
|
-
rejectValue?: unknown;
|
|
83
|
-
serializedErrorType?: unknown;
|
|
84
|
-
pendingMeta?: unknown;
|
|
85
|
-
fulfilledMeta?: unknown;
|
|
86
|
-
rejectedMeta?: unknown;
|
|
87
|
-
}>;
|
|
51
|
+
}, void, {}>;
|
|
88
52
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
89
53
|
flows: any;
|
|
90
|
-
}, void, {
|
|
91
|
-
state?: unknown;
|
|
92
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
93
|
-
extra?: unknown;
|
|
94
|
-
rejectValue?: unknown;
|
|
95
|
-
serializedErrorType?: unknown;
|
|
96
|
-
pendingMeta?: unknown;
|
|
97
|
-
fulfilledMeta?: unknown;
|
|
98
|
-
rejectedMeta?: unknown;
|
|
99
|
-
}>;
|
|
54
|
+
}, void, {}>;
|
|
100
55
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
101
56
|
data: any;
|
|
102
|
-
}, string, {
|
|
103
|
-
state?: unknown;
|
|
104
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
105
|
-
extra?: unknown;
|
|
106
|
-
rejectValue?: unknown;
|
|
107
|
-
serializedErrorType?: unknown;
|
|
108
|
-
pendingMeta?: unknown;
|
|
109
|
-
fulfilledMeta?: unknown;
|
|
110
|
-
rejectedMeta?: unknown;
|
|
111
|
-
}>;
|
|
57
|
+
}, string, {}>;
|
|
112
58
|
export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
113
59
|
response: any;
|
|
114
60
|
formData: {
|
|
@@ -118,16 +64,7 @@ export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").Asyn
|
|
|
118
64
|
name: string;
|
|
119
65
|
cancelToken: CancelToken;
|
|
120
66
|
onSuccess?: (() => void) | undefined;
|
|
121
|
-
}, {
|
|
122
|
-
state?: unknown;
|
|
123
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
124
|
-
extra?: unknown;
|
|
125
|
-
rejectValue?: unknown;
|
|
126
|
-
serializedErrorType?: unknown;
|
|
127
|
-
pendingMeta?: unknown;
|
|
128
|
-
fulfilledMeta?: unknown;
|
|
129
|
-
rejectedMeta?: unknown;
|
|
130
|
-
}>;
|
|
67
|
+
}, {}>;
|
|
131
68
|
export declare const updateBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
132
69
|
data: any;
|
|
133
70
|
formData: Omit<BrandFormValues, "termAndConditionChecked" | "selectedBrandItem">;
|
|
@@ -135,94 +72,31 @@ export declare const updateBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
135
72
|
segmentLocationList: any;
|
|
136
73
|
segmentProfitList: any;
|
|
137
74
|
segmentTechList: any;
|
|
138
|
-
}, AsyncThunkParams<Omit<BrandFormValues, "termAndConditionChecked" | "selectedBrandItem">>, {
|
|
139
|
-
state?: unknown;
|
|
140
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
141
|
-
extra?: unknown;
|
|
142
|
-
rejectValue?: unknown;
|
|
143
|
-
serializedErrorType?: unknown;
|
|
144
|
-
pendingMeta?: unknown;
|
|
145
|
-
fulfilledMeta?: unknown;
|
|
146
|
-
rejectedMeta?: unknown;
|
|
147
|
-
}>;
|
|
75
|
+
}, AsyncThunkParams<Omit<BrandFormValues, "termAndConditionChecked" | "selectedBrandItem">>, {}>;
|
|
148
76
|
export declare const updateSegmentBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
149
77
|
data: any;
|
|
150
78
|
formData: BrandSegmentFormValues;
|
|
151
79
|
currencyData: any;
|
|
152
|
-
}, AsyncThunkParams<BrandSegmentFormValues>, {
|
|
153
|
-
state?: unknown;
|
|
154
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
155
|
-
extra?: unknown;
|
|
156
|
-
rejectValue?: unknown;
|
|
157
|
-
serializedErrorType?: unknown;
|
|
158
|
-
pendingMeta?: unknown;
|
|
159
|
-
fulfilledMeta?: unknown;
|
|
160
|
-
rejectedMeta?: unknown;
|
|
161
|
-
}>;
|
|
80
|
+
}, AsyncThunkParams<BrandSegmentFormValues>, {}>;
|
|
162
81
|
export declare const retrieveEntityList: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
163
82
|
leadId: string;
|
|
164
|
-
}, {
|
|
165
|
-
state?: unknown;
|
|
166
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
167
|
-
extra?: unknown;
|
|
168
|
-
rejectValue?: unknown;
|
|
169
|
-
serializedErrorType?: unknown;
|
|
170
|
-
pendingMeta?: unknown;
|
|
171
|
-
fulfilledMeta?: unknown;
|
|
172
|
-
rejectedMeta?: unknown;
|
|
173
|
-
}>;
|
|
83
|
+
}, {}>;
|
|
174
84
|
export declare const updateBrandActivities: import("@reduxjs/toolkit").AsyncThunk<{
|
|
175
85
|
data: any;
|
|
176
86
|
formData: BrandActivitiesFormValues;
|
|
177
|
-
}, AsyncThunkParams<BrandActivitiesFormValues>, {
|
|
178
|
-
state?: unknown;
|
|
179
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
180
|
-
extra?: unknown;
|
|
181
|
-
rejectValue?: unknown;
|
|
182
|
-
serializedErrorType?: unknown;
|
|
183
|
-
pendingMeta?: unknown;
|
|
184
|
-
fulfilledMeta?: unknown;
|
|
185
|
-
rejectedMeta?: unknown;
|
|
186
|
-
}>;
|
|
87
|
+
}, AsyncThunkParams<BrandActivitiesFormValues>, {}>;
|
|
187
88
|
export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
188
89
|
customerBases: any;
|
|
189
90
|
expectedSales: any;
|
|
190
91
|
expectedCustomerSales: any;
|
|
191
92
|
countryISO2: string;
|
|
192
|
-
}, void, {
|
|
193
|
-
state?: unknown;
|
|
194
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
195
|
-
extra?: unknown;
|
|
196
|
-
rejectValue?: unknown;
|
|
197
|
-
serializedErrorType?: unknown;
|
|
198
|
-
pendingMeta?: unknown;
|
|
199
|
-
fulfilledMeta?: unknown;
|
|
200
|
-
rejectedMeta?: unknown;
|
|
201
|
-
}>;
|
|
93
|
+
}, void, {}>;
|
|
202
94
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
203
95
|
response: any;
|
|
204
96
|
formData: void;
|
|
205
|
-
} | undefined, void, {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
extra?: unknown;
|
|
209
|
-
rejectValue?: unknown;
|
|
210
|
-
serializedErrorType?: unknown;
|
|
211
|
-
pendingMeta?: unknown;
|
|
212
|
-
fulfilledMeta?: unknown;
|
|
213
|
-
rejectedMeta?: unknown;
|
|
214
|
-
}>;
|
|
215
|
-
export declare const onCloseCompleteBrand: import("@reduxjs/toolkit").AsyncThunk<void, void, {
|
|
216
|
-
state?: unknown;
|
|
217
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
218
|
-
extra?: unknown;
|
|
219
|
-
rejectValue?: unknown;
|
|
220
|
-
serializedErrorType?: unknown;
|
|
221
|
-
pendingMeta?: unknown;
|
|
222
|
-
fulfilledMeta?: unknown;
|
|
223
|
-
rejectedMeta?: unknown;
|
|
224
|
-
}>;
|
|
225
|
-
type VerifyData = {
|
|
97
|
+
} | undefined, void, {}>;
|
|
98
|
+
export declare const onCloseCompleteBrand: import("@reduxjs/toolkit").AsyncThunk<void, void, {}>;
|
|
99
|
+
declare type VerifyData = {
|
|
226
100
|
token: string;
|
|
227
101
|
};
|
|
228
102
|
export interface BrandData {
|
|
@@ -246,7 +120,7 @@ export declare const brandSlice: import("@reduxjs/toolkit").Slice<BrandState, {
|
|
|
246
120
|
uploadingBrandLogoStatus: (state: BrandState, action: ActionState<boolean>) => void;
|
|
247
121
|
clearBrandLogo: (state: BrandState) => void;
|
|
248
122
|
}, "brand/store">;
|
|
249
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
123
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, uploadingBrandLogoStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, clearBrandLogo: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
250
124
|
declare const _default: import("redux").Reducer<BrandState, import("redux").AnyAction>;
|
|
251
125
|
export default _default;
|
|
252
126
|
export declare const brandSelector: (state: RootState) => BrandState;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -18,28 +18,10 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
18
18
|
brandData?: undefined;
|
|
19
19
|
boardId?: undefined;
|
|
20
20
|
currencyData?: undefined;
|
|
21
|
-
}, string, {
|
|
22
|
-
state?: unknown;
|
|
23
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
24
|
-
extra?: unknown;
|
|
25
|
-
rejectValue?: unknown;
|
|
26
|
-
serializedErrorType?: unknown;
|
|
27
|
-
pendingMeta?: unknown;
|
|
28
|
-
fulfilledMeta?: unknown;
|
|
29
|
-
rejectedMeta?: unknown;
|
|
30
|
-
}>;
|
|
21
|
+
}, string, {}>;
|
|
31
22
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
32
23
|
data: any;
|
|
33
|
-
}, void, {
|
|
34
|
-
state?: unknown;
|
|
35
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
36
|
-
extra?: unknown;
|
|
37
|
-
rejectValue?: unknown;
|
|
38
|
-
serializedErrorType?: unknown;
|
|
39
|
-
pendingMeta?: unknown;
|
|
40
|
-
fulfilledMeta?: unknown;
|
|
41
|
-
rejectedMeta?: unknown;
|
|
42
|
-
}>;
|
|
24
|
+
}, void, {}>;
|
|
43
25
|
export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
44
26
|
data: any;
|
|
45
27
|
isicActivityList: any;
|
|
@@ -50,44 +32,17 @@ export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
50
32
|
brand: any;
|
|
51
33
|
leadData: any;
|
|
52
34
|
currencyData: any;
|
|
53
|
-
}, OTPFormValues, {
|
|
54
|
-
state?: unknown;
|
|
55
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
56
|
-
extra?: unknown;
|
|
57
|
-
rejectValue?: unknown;
|
|
58
|
-
serializedErrorType?: unknown;
|
|
59
|
-
pendingMeta?: unknown;
|
|
60
|
-
fulfilledMeta?: unknown;
|
|
61
|
-
rejectedMeta?: unknown;
|
|
62
|
-
}>;
|
|
35
|
+
}, OTPFormValues, {}>;
|
|
63
36
|
interface verifyPACIParams {
|
|
64
37
|
onSuccess?: () => void;
|
|
65
38
|
}
|
|
66
39
|
export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<{
|
|
67
40
|
response: any;
|
|
68
|
-
}, verifyPACIParams, {
|
|
69
|
-
state?: unknown;
|
|
70
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
71
|
-
extra?: unknown;
|
|
72
|
-
rejectValue?: unknown;
|
|
73
|
-
serializedErrorType?: unknown;
|
|
74
|
-
pendingMeta?: unknown;
|
|
75
|
-
fulfilledMeta?: unknown;
|
|
76
|
-
rejectedMeta?: unknown;
|
|
77
|
-
}>;
|
|
41
|
+
}, verifyPACIParams, {}>;
|
|
78
42
|
export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
79
43
|
response: any;
|
|
80
44
|
formData: CivilFormValues;
|
|
81
|
-
}, CivilFormValues, {
|
|
82
|
-
state?: unknown;
|
|
83
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
84
|
-
extra?: unknown;
|
|
85
|
-
rejectValue?: unknown;
|
|
86
|
-
serializedErrorType?: unknown;
|
|
87
|
-
pendingMeta?: unknown;
|
|
88
|
-
fulfilledMeta?: unknown;
|
|
89
|
-
rejectedMeta?: unknown;
|
|
90
|
-
}>;
|
|
45
|
+
}, CivilFormValues, {}>;
|
|
91
46
|
export declare const updateLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
92
47
|
data: any;
|
|
93
48
|
formData: {
|
|
@@ -96,38 +51,11 @@ export declare const updateLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
96
51
|
dob: string;
|
|
97
52
|
termAndConditionChecked?: boolean | undefined;
|
|
98
53
|
};
|
|
99
|
-
}, NIDFormValues, {
|
|
100
|
-
|
|
101
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
102
|
-
extra?: unknown;
|
|
103
|
-
rejectValue?: unknown;
|
|
104
|
-
serializedErrorType?: unknown;
|
|
105
|
-
pendingMeta?: unknown;
|
|
106
|
-
fulfilledMeta?: unknown;
|
|
107
|
-
rejectedMeta?: unknown;
|
|
108
|
-
}>;
|
|
109
|
-
export declare const resendOTPLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
110
|
-
state?: unknown;
|
|
111
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
112
|
-
extra?: unknown;
|
|
113
|
-
rejectValue?: unknown;
|
|
114
|
-
serializedErrorType?: unknown;
|
|
115
|
-
pendingMeta?: unknown;
|
|
116
|
-
fulfilledMeta?: unknown;
|
|
117
|
-
rejectedMeta?: unknown;
|
|
118
|
-
}>;
|
|
54
|
+
}, NIDFormValues, {}>;
|
|
55
|
+
export declare const resendOTPLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
|
|
119
56
|
export declare const retrieveEntityList: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
120
57
|
leadId: string;
|
|
121
|
-
}, {
|
|
122
|
-
state?: unknown;
|
|
123
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
124
|
-
extra?: unknown;
|
|
125
|
-
rejectValue?: unknown;
|
|
126
|
-
serializedErrorType?: unknown;
|
|
127
|
-
pendingMeta?: unknown;
|
|
128
|
-
fulfilledMeta?: unknown;
|
|
129
|
-
rejectedMeta?: unknown;
|
|
130
|
-
}>;
|
|
58
|
+
}, {}>;
|
|
131
59
|
export declare const retrieveAllEntityList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
132
60
|
data: any;
|
|
133
61
|
businessCountryCode: string;
|
|
@@ -135,28 +63,10 @@ export declare const retrieveAllEntityList: import("@reduxjs/toolkit").AsyncThun
|
|
|
135
63
|
}, {
|
|
136
64
|
businessId: string;
|
|
137
65
|
entityId: string;
|
|
138
|
-
}, {
|
|
139
|
-
state?: unknown;
|
|
140
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
141
|
-
extra?: unknown;
|
|
142
|
-
rejectValue?: unknown;
|
|
143
|
-
serializedErrorType?: unknown;
|
|
144
|
-
pendingMeta?: unknown;
|
|
145
|
-
fulfilledMeta?: unknown;
|
|
146
|
-
rejectedMeta?: unknown;
|
|
147
|
-
}>;
|
|
66
|
+
}, {}>;
|
|
148
67
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
149
68
|
data: any;
|
|
150
|
-
}, string, {
|
|
151
|
-
state?: unknown;
|
|
152
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
153
|
-
extra?: unknown;
|
|
154
|
-
rejectValue?: unknown;
|
|
155
|
-
serializedErrorType?: unknown;
|
|
156
|
-
pendingMeta?: unknown;
|
|
157
|
-
fulfilledMeta?: unknown;
|
|
158
|
-
rejectedMeta?: unknown;
|
|
159
|
-
}>;
|
|
69
|
+
}, string, {}>;
|
|
160
70
|
export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
161
71
|
data: any;
|
|
162
72
|
formData: BusinessTypeFormValues;
|
|
@@ -164,16 +74,7 @@ export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThu
|
|
|
164
74
|
documentData: any;
|
|
165
75
|
entityData: any;
|
|
166
76
|
isicActivityList: any;
|
|
167
|
-
}, BusinessTypeFormValues, {
|
|
168
|
-
state?: unknown;
|
|
169
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
170
|
-
extra?: unknown;
|
|
171
|
-
rejectValue?: unknown;
|
|
172
|
-
serializedErrorType?: unknown;
|
|
173
|
-
pendingMeta?: unknown;
|
|
174
|
-
fulfilledMeta?: unknown;
|
|
175
|
-
rejectedMeta?: unknown;
|
|
176
|
-
}>;
|
|
77
|
+
}, BusinessTypeFormValues, {}>;
|
|
177
78
|
export declare const updateActivitiesInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
178
79
|
data: any;
|
|
179
80
|
formData: {
|
|
@@ -181,70 +82,25 @@ export declare const updateActivitiesInfo: import("@reduxjs/toolkit").AsyncThunk
|
|
|
181
82
|
operationStartDate: string;
|
|
182
83
|
};
|
|
183
84
|
currencyData: any;
|
|
184
|
-
}, ActivitiesFormValues, {
|
|
185
|
-
state?: unknown;
|
|
186
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
187
|
-
extra?: unknown;
|
|
188
|
-
rejectValue?: unknown;
|
|
189
|
-
serializedErrorType?: unknown;
|
|
190
|
-
pendingMeta?: unknown;
|
|
191
|
-
fulfilledMeta?: unknown;
|
|
192
|
-
rejectedMeta?: unknown;
|
|
193
|
-
}>;
|
|
85
|
+
}, ActivitiesFormValues, {}>;
|
|
194
86
|
export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
195
87
|
customerBases: any;
|
|
196
88
|
expectedSales: any;
|
|
197
89
|
expectedCustomerSales: any;
|
|
198
90
|
countryISO2: string;
|
|
199
|
-
}, void, {
|
|
200
|
-
state?: unknown;
|
|
201
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
202
|
-
extra?: unknown;
|
|
203
|
-
rejectValue?: unknown;
|
|
204
|
-
serializedErrorType?: unknown;
|
|
205
|
-
pendingMeta?: unknown;
|
|
206
|
-
fulfilledMeta?: unknown;
|
|
207
|
-
rejectedMeta?: unknown;
|
|
208
|
-
}>;
|
|
91
|
+
}, void, {}>;
|
|
209
92
|
export declare const updateCustomersInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
210
93
|
data: any;
|
|
211
94
|
formData: CustomersFormValues;
|
|
212
|
-
}, CustomersFormValues, {
|
|
213
|
-
state?: unknown;
|
|
214
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
215
|
-
extra?: unknown;
|
|
216
|
-
rejectValue?: unknown;
|
|
217
|
-
serializedErrorType?: unknown;
|
|
218
|
-
pendingMeta?: unknown;
|
|
219
|
-
fulfilledMeta?: unknown;
|
|
220
|
-
rejectedMeta?: unknown;
|
|
221
|
-
}>;
|
|
95
|
+
}, CustomersFormValues, {}>;
|
|
222
96
|
export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
223
97
|
response: any;
|
|
224
98
|
formData: void;
|
|
225
|
-
} | undefined, void, {
|
|
226
|
-
state?: unknown;
|
|
227
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
228
|
-
extra?: unknown;
|
|
229
|
-
rejectValue?: unknown;
|
|
230
|
-
serializedErrorType?: unknown;
|
|
231
|
-
pendingMeta?: unknown;
|
|
232
|
-
fulfilledMeta?: unknown;
|
|
233
|
-
rejectedMeta?: unknown;
|
|
234
|
-
}>;
|
|
99
|
+
} | undefined, void, {}>;
|
|
235
100
|
export declare const updateStepName: import("@reduxjs/toolkit").AsyncThunk<{
|
|
236
101
|
response: any;
|
|
237
|
-
}, string, {
|
|
238
|
-
|
|
239
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
240
|
-
extra?: unknown;
|
|
241
|
-
rejectValue?: unknown;
|
|
242
|
-
serializedErrorType?: unknown;
|
|
243
|
-
pendingMeta?: unknown;
|
|
244
|
-
fulfilledMeta?: unknown;
|
|
245
|
-
rejectedMeta?: unknown;
|
|
246
|
-
}>;
|
|
247
|
-
type VerifyData = {
|
|
102
|
+
}, string, {}>;
|
|
103
|
+
declare type VerifyData = {
|
|
248
104
|
token: string;
|
|
249
105
|
};
|
|
250
106
|
export interface BusinessData {
|
|
@@ -275,7 +131,7 @@ export declare const businessSlice: import("@reduxjs/toolkit").Slice<BusinessSta
|
|
|
275
131
|
uploadingArticleStatus: (state: BusinessState, action: ActionState<boolean>) => void;
|
|
276
132
|
clearAOAFile: (state: BusinessState) => void;
|
|
277
133
|
}, "business/store">;
|
|
278
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
134
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, uploadingArticleStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>, clearAOAFile: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
|
|
279
135
|
declare const _default: import("redux").Reducer<BusinessState, import("redux").AnyAction>;
|
|
280
136
|
export default _default;
|
|
281
137
|
export declare const businessSelector: (state: RootState) => BusinessState;
|
|
@@ -24,7 +24,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
24
24
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
25
25
|
function step(op) {
|
|
26
26
|
if (f) throw new TypeError("Generator is already executing.");
|
|
27
|
-
while (
|
|
27
|
+
while (_) try {
|
|
28
28
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
29
29
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
30
30
|
switch (op[0]) {
|
|
@@ -270,15 +270,15 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
|
|
|
270
270
|
_k.sent();
|
|
271
271
|
_k.label = 11;
|
|
272
272
|
case 11:
|
|
273
|
-
thunkApi.dispatch(handleNextScreenStep('BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP'));
|
|
273
|
+
sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP')); });
|
|
274
274
|
return [3, 23];
|
|
275
275
|
case 12:
|
|
276
276
|
if (!(data.step_name === BUSINESS_STEP_NAMES.IDENTITY_AUTH)) return [3, 13];
|
|
277
|
-
thunkApi.dispatch(handleNextScreenStep('BUSINESS_IDBOD_STEP'));
|
|
277
|
+
sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_IDBOD_STEP')); });
|
|
278
278
|
return [3, 23];
|
|
279
279
|
case 13:
|
|
280
280
|
if (!hasBusinessCustomersCompleted) return [3, 14];
|
|
281
|
-
thunkApi.dispatch(handleNextScreenStep('BUSINESS_SUCCESS_STEP'));
|
|
281
|
+
sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_SUCCESS_STEP')); });
|
|
282
282
|
return [3, 23];
|
|
283
283
|
case 14:
|
|
284
284
|
if (!hasBusinessCRActivitiesCompleted) return [3, 19];
|
|
@@ -295,7 +295,7 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
|
|
|
295
295
|
return [4, API.brandService.retrieveBrand(brandID)];
|
|
296
296
|
case 18:
|
|
297
297
|
brandData = _k.sent();
|
|
298
|
-
thunkApi.dispatch(handleNextScreenStep('BUSINESS_CUSTOMERS_STEP'));
|
|
298
|
+
sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_CUSTOMERS_STEP')); });
|
|
299
299
|
return [3, 23];
|
|
300
300
|
case 19:
|
|
301
301
|
if (!hasBusinessCRInfoCompleted) return [3, 22];
|
|
@@ -306,10 +306,10 @@ export var verifyLeadOTP = createAsyncThunk('verifyLeadOTP', function (params, t
|
|
|
306
306
|
return [4, API.brandService.retrieveBrand(brandID)];
|
|
307
307
|
case 21:
|
|
308
308
|
brandData = _k.sent();
|
|
309
|
-
thunkApi.dispatch(handleNextScreenStep('BUSINESS_ACTIVITIES_STEP'));
|
|
309
|
+
sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_ACTIVITIES_STEP')); });
|
|
310
310
|
return [3, 23];
|
|
311
311
|
case 22:
|
|
312
|
-
thunkApi.dispatch(handleNextScreenStep('BUSINESS_BUSINESS_TYPE_STEP'));
|
|
312
|
+
sleep(50).then(function () { return thunkApi.dispatch(handleNextScreenStep('BUSINESS_BUSINESS_TYPE_STEP')); });
|
|
313
313
|
_k.label = 23;
|
|
314
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 }];
|
|
315
315
|
}
|
|
@@ -723,7 +723,8 @@ export var updateLeadSuccess = createAsyncThunk('businessUpdateLeadSuccess', fun
|
|
|
723
723
|
case 0:
|
|
724
724
|
_a = thunkApi.getState(), settings = _a.settings, business = _a.business;
|
|
725
725
|
_b = business.data.verify.responseBody || {}, steps = _b.steps, lead_id = _b.lead_id;
|
|
726
|
-
flowCompleted =
|
|
726
|
+
flowCompleted = hasKey(steps, BUSINESS_STEP_NAMES.BUSINESS_SUCCESS);
|
|
727
|
+
console.info('stop success call', flowCompleted || !lead_id);
|
|
727
728
|
if (flowCompleted || !lead_id)
|
|
728
729
|
return [2];
|
|
729
730
|
boardResponse = undefined;
|