@tap-payments/auth-jsconnect 2.3.19-test → 2.3.23-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 +11 -6
- package/build/@types/app.js +6 -0
- package/build/@types/form.d.ts +19 -19
- 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/country.d.ts +1 -1
- package/build/api/data.d.ts +10 -10
- package/build/api/document.d.ts +2 -2
- package/build/api/entity.d.ts +7 -7
- package/build/api/file.d.ts +1 -1
- package/build/api/individual.d.ts +5 -5
- package/build/api/lead.d.ts +10 -10
- package/build/api/operator.d.ts +1 -1
- package/build/api/operator.js +1 -1
- package/build/api/user.d.ts +2 -2
- package/build/app/settings.d.ts +2 -11
- 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 +9 -72
- package/build/features/app/bank/bankStore.js +22 -28
- package/build/features/app/brand/brandStore.d.ts +12 -102
- 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 +3 -3
- package/build/features/app/connect/connectStore.d.ts +13 -121
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +22 -211
- package/build/features/app/connectExpress/connectExpressStore.js +1 -1
- package/build/features/app/entity/entityStore.d.ts +9 -72
- package/build/features/app/entity/entityStore.js +38 -34
- package/build/features/app/individual/individualStore.d.ts +21 -165
- package/build/features/app/individual/individualStore.js +47 -47
- package/build/features/app/password/passwordStore.d.ts +12 -102
- 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 +8 -62
- package/build/features/app/tax/taxStore.js +1 -1
- package/build/features/bank/screens/BankDetails/BankStatement.d.ts +1 -1
- package/build/features/bank/screens/BankDetails/IBAN.js +1 -1
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +13 -13
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +11 -11
- package/build/features/brand/screens/BrandActivities/OperationStartDate.d.ts +2 -2
- package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +5 -5
- package/build/features/brand/screens/BrandActivities/RefundPolicy.js +14 -3
- package/build/features/brand/screens/BrandActivities/TAC.js +13 -3
- package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +14 -3
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +13 -13
- package/build/features/business/screens/Activities/OperationStartDate.d.ts +2 -2
- package/build/features/business/screens/Activities/OperationStartDate.js +1 -1
- package/build/features/business/screens/BusinessType/Article.d.ts +1 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +5 -5
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +11 -11
- package/build/features/business/screens/Customers/RefundPolicy.d.ts +5 -5
- package/build/features/connect/screens/Individual/Email.js +1 -1
- package/build/features/connect/screens/Merchant/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -1
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +5 -5
- package/build/features/connectExpress/screens/CollectIndividualInfo/Email.js +1 -1
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +13 -13
- package/build/features/entity/screens/EntityCapital/ActivityList.js +8 -5
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +5 -2
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +5 -2
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +5 -2
- package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
- package/build/features/entity/screens/EntityName/Article.js +7 -3
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -13
- package/build/features/entity/screens/EntityName/EntityTypeList.js +13 -6
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +2 -2
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +2 -2
- package/build/features/entity/screens/EntityName/LegalName.js +6 -3
- package/build/features/entity/screens/EntityName/LicenseCertificate.js +6 -2
- package/build/features/entity/screens/EntityName/LicenseNumber.js +6 -3
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +6 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +6 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +6 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +6 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +6 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +4 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +6 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +6 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +6 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +6 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +6 -3
- package/build/features/individual/screens/IndividualList/Email.js +1 -1
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +4 -4
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +5 -5
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +2 -2
- package/build/features/shared/Address/CountryList.d.ts +9 -9
- package/build/features/shared/Address/InputSelect.d.ts +9 -9
- package/build/features/shared/Address/InputSelect.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/Containers/FeatureContainer.d.ts +1 -1
- package/build/features/shared/Containers/ScreenContainer.d.ts +1 -1
- package/build/features/shared/Input/Input.d.ts +3 -3
- 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/utils/object.d.ts +4 -0
- package/build/utils/object.js +17 -0
- package/package.json +1 -1
|
@@ -14,28 +14,10 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
14
14
|
leadData?: undefined;
|
|
15
15
|
brandData?: undefined;
|
|
16
16
|
boardId?: undefined;
|
|
17
|
-
}, string, {
|
|
18
|
-
state?: unknown;
|
|
19
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
20
|
-
extra?: unknown;
|
|
21
|
-
rejectValue?: unknown;
|
|
22
|
-
serializedErrorType?: unknown;
|
|
23
|
-
pendingMeta?: unknown;
|
|
24
|
-
fulfilledMeta?: unknown;
|
|
25
|
-
rejectedMeta?: unknown;
|
|
26
|
-
}>;
|
|
17
|
+
}, string, {}>;
|
|
27
18
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
28
19
|
data: any;
|
|
29
|
-
}, void, {
|
|
30
|
-
state?: unknown;
|
|
31
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
32
|
-
extra?: unknown;
|
|
33
|
-
rejectValue?: unknown;
|
|
34
|
-
serializedErrorType?: unknown;
|
|
35
|
-
pendingMeta?: unknown;
|
|
36
|
-
fulfilledMeta?: unknown;
|
|
37
|
-
rejectedMeta?: unknown;
|
|
38
|
-
}>;
|
|
20
|
+
}, void, {}>;
|
|
39
21
|
export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
40
22
|
data: any;
|
|
41
23
|
formData: {
|
|
@@ -44,44 +26,17 @@ export declare const verifyLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
44
26
|
};
|
|
45
27
|
brand: any;
|
|
46
28
|
leadData: any;
|
|
47
|
-
}, OTPFormValues, {
|
|
48
|
-
state?: unknown;
|
|
49
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
50
|
-
extra?: unknown;
|
|
51
|
-
rejectValue?: unknown;
|
|
52
|
-
serializedErrorType?: unknown;
|
|
53
|
-
pendingMeta?: unknown;
|
|
54
|
-
fulfilledMeta?: unknown;
|
|
55
|
-
rejectedMeta?: unknown;
|
|
56
|
-
}>;
|
|
29
|
+
}, OTPFormValues, {}>;
|
|
57
30
|
interface verifyPACIParams {
|
|
58
31
|
onSuccess?: () => void;
|
|
59
32
|
}
|
|
60
33
|
export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<{
|
|
61
34
|
response: any;
|
|
62
|
-
}, verifyPACIParams, {
|
|
63
|
-
state?: unknown;
|
|
64
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
65
|
-
extra?: unknown;
|
|
66
|
-
rejectValue?: unknown;
|
|
67
|
-
serializedErrorType?: unknown;
|
|
68
|
-
pendingMeta?: unknown;
|
|
69
|
-
fulfilledMeta?: unknown;
|
|
70
|
-
rejectedMeta?: unknown;
|
|
71
|
-
}>;
|
|
35
|
+
}, verifyPACIParams, {}>;
|
|
72
36
|
export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
73
37
|
response: any;
|
|
74
38
|
formData: CivilFormValues;
|
|
75
|
-
}, CivilFormValues, {
|
|
76
|
-
state?: unknown;
|
|
77
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
78
|
-
extra?: unknown;
|
|
79
|
-
rejectValue?: unknown;
|
|
80
|
-
serializedErrorType?: unknown;
|
|
81
|
-
pendingMeta?: unknown;
|
|
82
|
-
fulfilledMeta?: unknown;
|
|
83
|
-
rejectedMeta?: unknown;
|
|
84
|
-
}>;
|
|
39
|
+
}, CivilFormValues, {}>;
|
|
85
40
|
export declare const updateLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
86
41
|
data: any;
|
|
87
42
|
formData: {
|
|
@@ -90,66 +45,21 @@ export declare const updateLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
90
45
|
dob: string;
|
|
91
46
|
termAndConditionChecked?: boolean | undefined;
|
|
92
47
|
};
|
|
93
|
-
}, NIDFormValues, {
|
|
94
|
-
|
|
95
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
96
|
-
extra?: unknown;
|
|
97
|
-
rejectValue?: unknown;
|
|
98
|
-
serializedErrorType?: unknown;
|
|
99
|
-
pendingMeta?: unknown;
|
|
100
|
-
fulfilledMeta?: unknown;
|
|
101
|
-
rejectedMeta?: unknown;
|
|
102
|
-
}>;
|
|
103
|
-
export declare const resendOTPLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
104
|
-
state?: unknown;
|
|
105
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
106
|
-
extra?: unknown;
|
|
107
|
-
rejectValue?: unknown;
|
|
108
|
-
serializedErrorType?: unknown;
|
|
109
|
-
pendingMeta?: unknown;
|
|
110
|
-
fulfilledMeta?: unknown;
|
|
111
|
-
rejectedMeta?: unknown;
|
|
112
|
-
}>;
|
|
48
|
+
}, NIDFormValues, {}>;
|
|
49
|
+
export declare const resendOTPLeadIdentity: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
|
|
113
50
|
export declare const retrieveEntityList: import("@reduxjs/toolkit").AsyncThunk<any, {
|
|
114
51
|
leadId: string;
|
|
115
|
-
}, {
|
|
116
|
-
state?: unknown;
|
|
117
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
118
|
-
extra?: unknown;
|
|
119
|
-
rejectValue?: unknown;
|
|
120
|
-
serializedErrorType?: unknown;
|
|
121
|
-
pendingMeta?: unknown;
|
|
122
|
-
fulfilledMeta?: unknown;
|
|
123
|
-
rejectedMeta?: unknown;
|
|
124
|
-
}>;
|
|
52
|
+
}, {}>;
|
|
125
53
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
126
54
|
data: any;
|
|
127
|
-
}, string, {
|
|
128
|
-
state?: unknown;
|
|
129
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
130
|
-
extra?: unknown;
|
|
131
|
-
rejectValue?: unknown;
|
|
132
|
-
serializedErrorType?: unknown;
|
|
133
|
-
pendingMeta?: unknown;
|
|
134
|
-
fulfilledMeta?: unknown;
|
|
135
|
-
rejectedMeta?: unknown;
|
|
136
|
-
}>;
|
|
55
|
+
}, string, {}>;
|
|
137
56
|
export declare const updateLeadBusinessType: import("@reduxjs/toolkit").AsyncThunk<{
|
|
138
57
|
data: any;
|
|
139
58
|
formData: BusinessTypeFormValues;
|
|
140
59
|
accountData: any;
|
|
141
60
|
documentData: any;
|
|
142
61
|
entityData: any;
|
|
143
|
-
}, BusinessTypeFormValues, {
|
|
144
|
-
state?: unknown;
|
|
145
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
146
|
-
extra?: unknown;
|
|
147
|
-
rejectValue?: unknown;
|
|
148
|
-
serializedErrorType?: unknown;
|
|
149
|
-
pendingMeta?: unknown;
|
|
150
|
-
fulfilledMeta?: unknown;
|
|
151
|
-
rejectedMeta?: unknown;
|
|
152
|
-
}>;
|
|
62
|
+
}, BusinessTypeFormValues, {}>;
|
|
153
63
|
interface UploadArticleParams {
|
|
154
64
|
file: File;
|
|
155
65
|
onProgress?: (value: number) => void;
|
|
@@ -158,86 +68,32 @@ interface UploadArticleParams {
|
|
|
158
68
|
}
|
|
159
69
|
export declare const uploadArticle: import("@reduxjs/toolkit").AsyncThunk<{
|
|
160
70
|
data: any;
|
|
161
|
-
}, UploadArticleParams, {
|
|
162
|
-
state?: unknown;
|
|
163
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
164
|
-
extra?: unknown;
|
|
165
|
-
rejectValue?: unknown;
|
|
166
|
-
serializedErrorType?: unknown;
|
|
167
|
-
pendingMeta?: unknown;
|
|
168
|
-
fulfilledMeta?: unknown;
|
|
169
|
-
rejectedMeta?: unknown;
|
|
170
|
-
}>;
|
|
71
|
+
}, UploadArticleParams, {}>;
|
|
171
72
|
export declare const updateActivitiesInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
172
73
|
data: any;
|
|
173
74
|
formData: {
|
|
174
75
|
activities: Activity[] | undefined;
|
|
175
76
|
operationStartDate: string;
|
|
176
77
|
};
|
|
177
|
-
}, ActivitiesFormValues, {
|
|
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
|
-
}>;
|
|
78
|
+
}, ActivitiesFormValues, {}>;
|
|
187
79
|
export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
|
|
188
80
|
customerBases: any;
|
|
189
81
|
expectedSales: any;
|
|
190
82
|
expectedCustomerSales: any;
|
|
191
83
|
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
|
-
}>;
|
|
84
|
+
}, void, {}>;
|
|
202
85
|
export declare const updateCustomersInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
203
86
|
data: any;
|
|
204
87
|
formData: CustomersFormValues;
|
|
205
|
-
}, CustomersFormValues, {
|
|
206
|
-
state?: unknown;
|
|
207
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
208
|
-
extra?: unknown;
|
|
209
|
-
rejectValue?: unknown;
|
|
210
|
-
serializedErrorType?: unknown;
|
|
211
|
-
pendingMeta?: unknown;
|
|
212
|
-
fulfilledMeta?: unknown;
|
|
213
|
-
rejectedMeta?: unknown;
|
|
214
|
-
}>;
|
|
88
|
+
}, CustomersFormValues, {}>;
|
|
215
89
|
export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
216
90
|
response: any;
|
|
217
91
|
formData: void;
|
|
218
|
-
} | undefined, void, {
|
|
219
|
-
state?: unknown;
|
|
220
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
221
|
-
extra?: unknown;
|
|
222
|
-
rejectValue?: unknown;
|
|
223
|
-
serializedErrorType?: unknown;
|
|
224
|
-
pendingMeta?: unknown;
|
|
225
|
-
fulfilledMeta?: unknown;
|
|
226
|
-
rejectedMeta?: unknown;
|
|
227
|
-
}>;
|
|
92
|
+
} | undefined, void, {}>;
|
|
228
93
|
export declare const updateStepName: import("@reduxjs/toolkit").AsyncThunk<{
|
|
229
94
|
response: any;
|
|
230
|
-
}, string, {
|
|
231
|
-
|
|
232
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
233
|
-
extra?: unknown;
|
|
234
|
-
rejectValue?: unknown;
|
|
235
|
-
serializedErrorType?: unknown;
|
|
236
|
-
pendingMeta?: unknown;
|
|
237
|
-
fulfilledMeta?: unknown;
|
|
238
|
-
rejectedMeta?: unknown;
|
|
239
|
-
}>;
|
|
240
|
-
type VerifyData = {
|
|
95
|
+
}, string, {}>;
|
|
96
|
+
declare type VerifyData = {
|
|
241
97
|
token: string;
|
|
242
98
|
};
|
|
243
99
|
export interface BusinessData {
|
|
@@ -267,7 +123,7 @@ export declare const businessSlice: import("@reduxjs/toolkit").Slice<BusinessSta
|
|
|
267
123
|
clearArticleId: (state: BusinessState) => void;
|
|
268
124
|
uploadingStatus: (state: BusinessState, action: ActionState<boolean>) => void;
|
|
269
125
|
}, "business/store">;
|
|
270
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
126
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, clearArticleId: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, string>;
|
|
271
127
|
declare const _default: import("redux").Reducer<BusinessState, import("redux").AnyAction>;
|
|
272
128
|
export default _default;
|
|
273
129
|
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]) {
|
|
@@ -781,7 +781,7 @@ export var businessSlice = createSlice({
|
|
|
781
781
|
if (isRequireOTP)
|
|
782
782
|
return;
|
|
783
783
|
var _e = state.data.verify.responseBody || {}, entity = _e.entity, entity_activities = _e.entity_activities, business_type = _e.business_type;
|
|
784
|
-
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)
|
|
784
|
+
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);
|
|
785
785
|
if (issuingDate)
|
|
786
786
|
state.data.activitiesData.operationStartDate = convertNumbers2English(dateFormat(issuingDate));
|
|
787
787
|
var activities = entity_activities || [];
|
|
@@ -848,7 +848,7 @@ export var businessSlice = createSlice({
|
|
|
848
848
|
state.data.otpData.responseBody = data;
|
|
849
849
|
state.data.verify.responseBody = __assign(__assign(__assign({}, leadData), state.data.verify.responseBody), { flows: (leadData === null || leadData === void 0 ? void 0 : leadData.flows) || [] });
|
|
850
850
|
var _e = leadData || {}, entity = _e.entity, entity_activities = _e.entity_activities, business_type = _e.business_type;
|
|
851
|
-
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)
|
|
851
|
+
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);
|
|
852
852
|
if (issuingDate)
|
|
853
853
|
state.data.activitiesData.operationStartDate = convertNumbers2English(dateFormat(issuingDate));
|
|
854
854
|
var activities = entity_activities || [];
|
|
@@ -4,49 +4,13 @@ import { CancelToken } from 'axios';
|
|
|
4
4
|
export declare const createMobileAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
5
5
|
response: any;
|
|
6
6
|
formData: MobileFormValues;
|
|
7
|
-
}, MobileFormValues, {
|
|
8
|
-
state?: unknown;
|
|
9
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
10
|
-
extra?: unknown;
|
|
11
|
-
rejectValue?: unknown;
|
|
12
|
-
serializedErrorType?: unknown;
|
|
13
|
-
pendingMeta?: unknown;
|
|
14
|
-
fulfilledMeta?: unknown;
|
|
15
|
-
rejectedMeta?: unknown;
|
|
16
|
-
}>;
|
|
7
|
+
}, MobileFormValues, {}>;
|
|
17
8
|
export declare const createCivilIdAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
18
9
|
response: any;
|
|
19
10
|
formData: CivilFormValues;
|
|
20
|
-
}, CivilFormValues, {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
extra?: unknown;
|
|
24
|
-
rejectValue?: unknown;
|
|
25
|
-
serializedErrorType?: unknown;
|
|
26
|
-
pendingMeta?: unknown;
|
|
27
|
-
fulfilledMeta?: unknown;
|
|
28
|
-
rejectedMeta?: unknown;
|
|
29
|
-
}>;
|
|
30
|
-
export declare const resendOTPMobile: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
31
|
-
state?: unknown;
|
|
32
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
33
|
-
extra?: unknown;
|
|
34
|
-
rejectValue?: unknown;
|
|
35
|
-
serializedErrorType?: unknown;
|
|
36
|
-
pendingMeta?: unknown;
|
|
37
|
-
fulfilledMeta?: unknown;
|
|
38
|
-
rejectedMeta?: unknown;
|
|
39
|
-
}>;
|
|
40
|
-
export declare const resendOTPNID: import("@reduxjs/toolkit").AsyncThunk<any, void, {
|
|
41
|
-
state?: unknown;
|
|
42
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
43
|
-
extra?: unknown;
|
|
44
|
-
rejectValue?: unknown;
|
|
45
|
-
serializedErrorType?: unknown;
|
|
46
|
-
pendingMeta?: unknown;
|
|
47
|
-
fulfilledMeta?: unknown;
|
|
48
|
-
rejectedMeta?: unknown;
|
|
49
|
-
}>;
|
|
11
|
+
}, CivilFormValues, {}>;
|
|
12
|
+
export declare const resendOTPMobile: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
|
|
13
|
+
export declare const resendOTPNID: import("@reduxjs/toolkit").AsyncThunk<any, void, {}>;
|
|
50
14
|
export declare const createNIDAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
51
15
|
response: any;
|
|
52
16
|
formData: {
|
|
@@ -55,30 +19,12 @@ export declare const createNIDAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
55
19
|
dob: string;
|
|
56
20
|
termAndConditionChecked?: boolean | undefined;
|
|
57
21
|
};
|
|
58
|
-
}, NIDFormValues, {
|
|
59
|
-
state?: unknown;
|
|
60
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
61
|
-
extra?: unknown;
|
|
62
|
-
rejectValue?: unknown;
|
|
63
|
-
serializedErrorType?: unknown;
|
|
64
|
-
pendingMeta?: unknown;
|
|
65
|
-
fulfilledMeta?: unknown;
|
|
66
|
-
rejectedMeta?: unknown;
|
|
67
|
-
}>;
|
|
22
|
+
}, NIDFormValues, {}>;
|
|
68
23
|
export declare const verifyAuth: import("@reduxjs/toolkit").AsyncThunk<{
|
|
69
24
|
authResponse: any;
|
|
70
25
|
leadResponse: any;
|
|
71
26
|
countryCode: CountryCode;
|
|
72
|
-
}, OTPFormValues, {
|
|
73
|
-
state?: unknown;
|
|
74
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
75
|
-
extra?: unknown;
|
|
76
|
-
rejectValue?: unknown;
|
|
77
|
-
serializedErrorType?: unknown;
|
|
78
|
-
pendingMeta?: unknown;
|
|
79
|
-
fulfilledMeta?: unknown;
|
|
80
|
-
rejectedMeta?: unknown;
|
|
81
|
-
}>;
|
|
27
|
+
}, OTPFormValues, {}>;
|
|
82
28
|
interface verifyPACIParams {
|
|
83
29
|
onSuccess?: () => void;
|
|
84
30
|
}
|
|
@@ -86,29 +32,11 @@ export declare const verifyPACI: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
86
32
|
authResponse: any;
|
|
87
33
|
leadResponse: any;
|
|
88
34
|
countryCode: CountryCode;
|
|
89
|
-
}, verifyPACIParams, {
|
|
90
|
-
state?: unknown;
|
|
91
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
92
|
-
extra?: unknown;
|
|
93
|
-
rejectValue?: unknown;
|
|
94
|
-
serializedErrorType?: unknown;
|
|
95
|
-
pendingMeta?: unknown;
|
|
96
|
-
fulfilledMeta?: unknown;
|
|
97
|
-
rejectedMeta?: unknown;
|
|
98
|
-
}>;
|
|
35
|
+
}, verifyPACIParams, {}>;
|
|
99
36
|
export declare const updateLeadIndividual: import("@reduxjs/toolkit").AsyncThunk<{
|
|
100
37
|
leadResponse: any;
|
|
101
38
|
formData: IndividualFormValues;
|
|
102
|
-
}, IndividualFormValues, {
|
|
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
|
-
}>;
|
|
39
|
+
}, IndividualFormValues, {}>;
|
|
112
40
|
export declare const updateLeadBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
113
41
|
response: any;
|
|
114
42
|
formData: BrandFormValues & {
|
|
@@ -116,16 +44,7 @@ export declare const updateLeadBrand: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
116
44
|
};
|
|
117
45
|
}, BrandFormValues & {
|
|
118
46
|
isNewBrand: boolean;
|
|
119
|
-
}, {
|
|
120
|
-
state?: unknown;
|
|
121
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
122
|
-
extra?: unknown;
|
|
123
|
-
rejectValue?: unknown;
|
|
124
|
-
serializedErrorType?: unknown;
|
|
125
|
-
pendingMeta?: unknown;
|
|
126
|
-
fulfilledMeta?: unknown;
|
|
127
|
-
rejectedMeta?: unknown;
|
|
128
|
-
}>;
|
|
47
|
+
}, {}>;
|
|
129
48
|
export declare const checkEmailAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
130
49
|
response: any;
|
|
131
50
|
formData: string;
|
|
@@ -133,16 +52,7 @@ export declare const checkEmailAvailability: import("@reduxjs/toolkit").AsyncThu
|
|
|
133
52
|
email: string;
|
|
134
53
|
cancelToken: CancelToken;
|
|
135
54
|
onSuccess?: (() => void) | undefined;
|
|
136
|
-
}, {
|
|
137
|
-
state?: unknown;
|
|
138
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
139
|
-
extra?: unknown;
|
|
140
|
-
rejectValue?: unknown;
|
|
141
|
-
serializedErrorType?: unknown;
|
|
142
|
-
pendingMeta?: unknown;
|
|
143
|
-
fulfilledMeta?: unknown;
|
|
144
|
-
rejectedMeta?: unknown;
|
|
145
|
-
}>;
|
|
55
|
+
}, {}>;
|
|
146
56
|
export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").AsyncThunk<{
|
|
147
57
|
response: any;
|
|
148
58
|
formData: {
|
|
@@ -152,29 +62,11 @@ export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").Asyn
|
|
|
152
62
|
name: string;
|
|
153
63
|
cancelToken: CancelToken;
|
|
154
64
|
onSuccess?: (() => void) | undefined;
|
|
155
|
-
}, {
|
|
156
|
-
state?: unknown;
|
|
157
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
158
|
-
extra?: unknown;
|
|
159
|
-
rejectValue?: unknown;
|
|
160
|
-
serializedErrorType?: unknown;
|
|
161
|
-
pendingMeta?: unknown;
|
|
162
|
-
fulfilledMeta?: unknown;
|
|
163
|
-
rejectedMeta?: unknown;
|
|
164
|
-
}>;
|
|
65
|
+
}, {}>;
|
|
165
66
|
export declare const updateLeadSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
166
67
|
response: any;
|
|
167
68
|
formData: void;
|
|
168
|
-
}, void, {
|
|
169
|
-
state?: unknown;
|
|
170
|
-
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
171
|
-
extra?: unknown;
|
|
172
|
-
rejectValue?: unknown;
|
|
173
|
-
serializedErrorType?: unknown;
|
|
174
|
-
pendingMeta?: unknown;
|
|
175
|
-
fulfilledMeta?: unknown;
|
|
176
|
-
rejectedMeta?: unknown;
|
|
177
|
-
}>;
|
|
69
|
+
}, void, {}>;
|
|
178
70
|
export interface ConnectData {
|
|
179
71
|
mobileData: (MobileFormValues | undefined) & ResponseData;
|
|
180
72
|
nidData: NIDFormValues & ResponseData & {
|
|
@@ -203,7 +95,7 @@ export declare const connectSlice: import("@reduxjs/toolkit").Slice<ConnectState
|
|
|
203
95
|
setDefaultCountryCode: (state: ConnectState, action: ActionState<CountryCode>) => void;
|
|
204
96
|
resetStore: (state: ConnectState) => void;
|
|
205
97
|
}, "connect/store">;
|
|
206
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
98
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetMobileScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetIndividualScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetMerchantScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetNIDScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetCivilScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, setDefaultCountryCode: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, string>;
|
|
207
99
|
declare const _default: import("redux").Reducer<ConnectState, import("redux").AnyAction>;
|
|
208
100
|
export default _default;
|
|
209
101
|
export declare const connectSelector: (state: RootState) => ConnectState;
|
|
@@ -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]) {
|