@tap-payments/auth-jsconnect 2.4.62-test → 2.4.64-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 +15 -15
- 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/brand.d.ts +1 -1
- 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 +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/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 +11 -2
- 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 +82 -10
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +112 -13
- package/build/features/app/brand/brandStore.js +1 -1
- package/build/features/app/business/businessStore.d.ts +162 -18
- package/build/features/app/business/businessStore.js +1 -1
- package/build/features/app/connect/connectStore.d.ts +121 -13
- package/build/features/app/connect/connectStore.js +1 -1
- package/build/features/app/connectExpress/connectExpressStore.d.ts +211 -22
- package/build/features/app/connectExpress/connectExpressStore.js +16 -13
- package/build/features/app/entity/entityStore.d.ts +82 -10
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +175 -22
- package/build/features/app/individual/individualStore.js +1 -1
- package/build/features/app/password/passwordStore.d.ts +102 -12
- package/build/features/app/password/passwordStore.js +1 -1
- package/build/features/app/signIn/signInStore.d.ts +61 -7
- package/build/features/app/signIn/signInStore.js +1 -1
- package/build/features/app/tax/taxStore.d.ts +72 -9
- 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/BrandInfo.js +0 -2
- package/build/features/brand/screens/BrandInfo/BrandLogo.d.ts +1 -1
- package/build/features/brand/screens/BrandInfo/BrandName.js +1 -1
- package/build/features/brand/screens/BrandInfo/Segments.js +0 -2
- package/build/features/brand/screens/BrandInfo/TeamSize.js +0 -2
- 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/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/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/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/InputSelect/InputSelect.js +3 -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
|
@@ -11,53 +11,197 @@ export declare const retrieveLeadIdentityByIdAsync: import("@reduxjs/toolkit").A
|
|
|
11
11
|
countryCode: CountryCode;
|
|
12
12
|
boardInfo: any;
|
|
13
13
|
boardData: any;
|
|
14
|
-
}, string, {
|
|
14
|
+
}, string, {
|
|
15
|
+
state?: unknown;
|
|
16
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
17
|
+
extra?: unknown;
|
|
18
|
+
rejectValue?: unknown;
|
|
19
|
+
serializedErrorType?: unknown;
|
|
20
|
+
pendingMeta?: unknown;
|
|
21
|
+
fulfilledMeta?: unknown;
|
|
22
|
+
rejectedMeta?: unknown;
|
|
23
|
+
}>;
|
|
15
24
|
export declare const getLeadByIdAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
16
25
|
data: any;
|
|
17
26
|
countryCode: CountryCode;
|
|
18
|
-
}, string, {
|
|
19
|
-
|
|
27
|
+
}, string, {
|
|
28
|
+
state?: unknown;
|
|
29
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
30
|
+
extra?: unknown;
|
|
31
|
+
rejectValue?: unknown;
|
|
32
|
+
serializedErrorType?: unknown;
|
|
33
|
+
pendingMeta?: unknown;
|
|
34
|
+
fulfilledMeta?: unknown;
|
|
35
|
+
rejectedMeta?: unknown;
|
|
36
|
+
}>;
|
|
37
|
+
export declare const retrieveEntityListAsync: import("@reduxjs/toolkit").AsyncThunk<any, string, {
|
|
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
|
+
}>;
|
|
20
47
|
export declare const createMobileAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
21
48
|
response: any;
|
|
22
49
|
formData: MobileFormValues;
|
|
23
|
-
}, MobileFormValues, {
|
|
50
|
+
}, MobileFormValues, {
|
|
51
|
+
state?: unknown;
|
|
52
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
53
|
+
extra?: unknown;
|
|
54
|
+
rejectValue?: unknown;
|
|
55
|
+
serializedErrorType?: unknown;
|
|
56
|
+
pendingMeta?: unknown;
|
|
57
|
+
fulfilledMeta?: unknown;
|
|
58
|
+
rejectedMeta?: unknown;
|
|
59
|
+
}>;
|
|
24
60
|
export declare const resendMobileAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
25
61
|
response: any;
|
|
26
62
|
formData: MobileFormValues;
|
|
27
|
-
}, MobileFormValues, {
|
|
63
|
+
}, MobileFormValues, {
|
|
64
|
+
state?: unknown;
|
|
65
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
66
|
+
extra?: unknown;
|
|
67
|
+
rejectValue?: unknown;
|
|
68
|
+
serializedErrorType?: unknown;
|
|
69
|
+
pendingMeta?: unknown;
|
|
70
|
+
fulfilledMeta?: unknown;
|
|
71
|
+
rejectedMeta?: unknown;
|
|
72
|
+
}>;
|
|
28
73
|
export declare const createNIDAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
29
74
|
response: any;
|
|
30
75
|
formData: NIDFormValues;
|
|
31
|
-
}, NIDFormValues, {
|
|
76
|
+
}, NIDFormValues, {
|
|
77
|
+
state?: unknown;
|
|
78
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
79
|
+
extra?: unknown;
|
|
80
|
+
rejectValue?: unknown;
|
|
81
|
+
serializedErrorType?: unknown;
|
|
82
|
+
pendingMeta?: unknown;
|
|
83
|
+
fulfilledMeta?: unknown;
|
|
84
|
+
rejectedMeta?: unknown;
|
|
85
|
+
}>;
|
|
32
86
|
export declare const resendNIDAuthOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
33
87
|
response: any;
|
|
34
88
|
formData: NIDFormValues;
|
|
35
|
-
}, NIDFormValues, {
|
|
89
|
+
}, NIDFormValues, {
|
|
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
|
+
}>;
|
|
36
99
|
export declare const createCivilIdAuthAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
37
100
|
response: any;
|
|
38
101
|
formData: CivilFormValues;
|
|
39
|
-
}, CivilFormValues, {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
102
|
+
}, CivilFormValues, {
|
|
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
|
+
}>;
|
|
112
|
+
export declare const verifyMobileOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
113
|
+
state?: unknown;
|
|
114
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
115
|
+
extra?: unknown;
|
|
116
|
+
rejectValue?: unknown;
|
|
117
|
+
serializedErrorType?: unknown;
|
|
118
|
+
pendingMeta?: unknown;
|
|
119
|
+
fulfilledMeta?: unknown;
|
|
120
|
+
rejectedMeta?: unknown;
|
|
121
|
+
}>;
|
|
122
|
+
export declare const verifyNIDOtpAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
123
|
+
state?: unknown;
|
|
124
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
125
|
+
extra?: unknown;
|
|
126
|
+
rejectValue?: unknown;
|
|
127
|
+
serializedErrorType?: unknown;
|
|
128
|
+
pendingMeta?: unknown;
|
|
129
|
+
fulfilledMeta?: unknown;
|
|
130
|
+
rejectedMeta?: unknown;
|
|
131
|
+
}>;
|
|
132
|
+
export declare const verifyPACIAsync: import("@reduxjs/toolkit").AsyncThunk<void, verifyPACIAsyncParams, {
|
|
133
|
+
state?: unknown;
|
|
134
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
135
|
+
extra?: unknown;
|
|
136
|
+
rejectValue?: unknown;
|
|
137
|
+
serializedErrorType?: unknown;
|
|
138
|
+
pendingMeta?: unknown;
|
|
139
|
+
fulfilledMeta?: unknown;
|
|
140
|
+
rejectedMeta?: unknown;
|
|
141
|
+
}>;
|
|
43
142
|
export declare const createCivilIDAuthIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
44
143
|
response: any;
|
|
45
144
|
formData: CivilFormValues;
|
|
46
|
-
}, CivilFormValues, {
|
|
145
|
+
}, CivilFormValues, {
|
|
146
|
+
state?: unknown;
|
|
147
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
148
|
+
extra?: unknown;
|
|
149
|
+
rejectValue?: unknown;
|
|
150
|
+
serializedErrorType?: unknown;
|
|
151
|
+
pendingMeta?: unknown;
|
|
152
|
+
fulfilledMeta?: unknown;
|
|
153
|
+
rejectedMeta?: unknown;
|
|
154
|
+
}>;
|
|
47
155
|
export declare const createNIDAuthIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
48
156
|
response: {
|
|
49
157
|
verify_token: any;
|
|
50
158
|
};
|
|
51
159
|
formData: NIDFormValues;
|
|
52
|
-
}, NIDFormValues, {
|
|
160
|
+
}, NIDFormValues, {
|
|
161
|
+
state?: unknown;
|
|
162
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
163
|
+
extra?: unknown;
|
|
164
|
+
rejectValue?: unknown;
|
|
165
|
+
serializedErrorType?: unknown;
|
|
166
|
+
pendingMeta?: unknown;
|
|
167
|
+
fulfilledMeta?: unknown;
|
|
168
|
+
rejectedMeta?: unknown;
|
|
169
|
+
}>;
|
|
53
170
|
export declare const resendNIDAuthIdentityOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
54
171
|
response: {
|
|
55
172
|
verify_token: any;
|
|
56
173
|
};
|
|
57
174
|
formData: NIDFormValues;
|
|
58
|
-
}, NIDFormValues, {
|
|
59
|
-
|
|
60
|
-
|
|
175
|
+
}, NIDFormValues, {
|
|
176
|
+
state?: unknown;
|
|
177
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
178
|
+
extra?: unknown;
|
|
179
|
+
rejectValue?: unknown;
|
|
180
|
+
serializedErrorType?: unknown;
|
|
181
|
+
pendingMeta?: unknown;
|
|
182
|
+
fulfilledMeta?: unknown;
|
|
183
|
+
rejectedMeta?: unknown;
|
|
184
|
+
}>;
|
|
185
|
+
export declare const verifyNIDOtpLeadIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
186
|
+
state?: unknown;
|
|
187
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
188
|
+
extra?: unknown;
|
|
189
|
+
rejectValue?: unknown;
|
|
190
|
+
serializedErrorType?: unknown;
|
|
191
|
+
pendingMeta?: unknown;
|
|
192
|
+
fulfilledMeta?: unknown;
|
|
193
|
+
rejectedMeta?: unknown;
|
|
194
|
+
}>;
|
|
195
|
+
export declare const verifyPaciOtpLeadIdentityAsync: import("@reduxjs/toolkit").AsyncThunk<any, OTPFormValues, {
|
|
196
|
+
state?: unknown;
|
|
197
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
198
|
+
extra?: unknown;
|
|
199
|
+
rejectValue?: unknown;
|
|
200
|
+
serializedErrorType?: unknown;
|
|
201
|
+
pendingMeta?: unknown;
|
|
202
|
+
fulfilledMeta?: unknown;
|
|
203
|
+
rejectedMeta?: unknown;
|
|
204
|
+
}>;
|
|
61
205
|
export declare const checkEmailAvailabilityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
62
206
|
response: any;
|
|
63
207
|
formData: string;
|
|
@@ -65,7 +209,16 @@ export declare const checkEmailAvailabilityAsync: import("@reduxjs/toolkit").Asy
|
|
|
65
209
|
email: string;
|
|
66
210
|
cancelToken: CancelToken;
|
|
67
211
|
onSuccess?: (() => void) | undefined;
|
|
68
|
-
}, {
|
|
212
|
+
}, {
|
|
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
|
+
}>;
|
|
69
222
|
export declare const checkBrandNameAvailabilityAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
70
223
|
response: any;
|
|
71
224
|
formData: {
|
|
@@ -75,23 +228,59 @@ export declare const checkBrandNameAvailabilityAsync: import("@reduxjs/toolkit")
|
|
|
75
228
|
name: string;
|
|
76
229
|
cancelToken: CancelToken;
|
|
77
230
|
onSuccess?: (() => void) | undefined;
|
|
78
|
-
}, {
|
|
231
|
+
}, {
|
|
232
|
+
state?: unknown;
|
|
233
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
234
|
+
extra?: unknown;
|
|
235
|
+
rejectValue?: unknown;
|
|
236
|
+
serializedErrorType?: unknown;
|
|
237
|
+
pendingMeta?: unknown;
|
|
238
|
+
fulfilledMeta?: unknown;
|
|
239
|
+
rejectedMeta?: unknown;
|
|
240
|
+
}>;
|
|
79
241
|
export declare const createAccountAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
80
242
|
boardInfo: any;
|
|
81
243
|
boardData: any;
|
|
82
244
|
account: any;
|
|
83
|
-
} | undefined, void, {
|
|
245
|
+
} | undefined, void, {
|
|
246
|
+
state?: unknown;
|
|
247
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
248
|
+
extra?: unknown;
|
|
249
|
+
rejectValue?: unknown;
|
|
250
|
+
serializedErrorType?: unknown;
|
|
251
|
+
pendingMeta?: unknown;
|
|
252
|
+
fulfilledMeta?: unknown;
|
|
253
|
+
rejectedMeta?: unknown;
|
|
254
|
+
}>;
|
|
84
255
|
interface verifyPACIAsyncParams {
|
|
85
256
|
onSuccess: () => void;
|
|
86
257
|
}
|
|
87
258
|
export declare const updateLeadIndividualAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
88
259
|
response: any;
|
|
89
260
|
formData: IndividualFormValues;
|
|
90
|
-
}, AsyncThunkParams<IndividualFormValues>, {
|
|
261
|
+
}, AsyncThunkParams<IndividualFormValues>, {
|
|
262
|
+
state?: unknown;
|
|
263
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
264
|
+
extra?: unknown;
|
|
265
|
+
rejectValue?: unknown;
|
|
266
|
+
serializedErrorType?: unknown;
|
|
267
|
+
pendingMeta?: unknown;
|
|
268
|
+
fulfilledMeta?: unknown;
|
|
269
|
+
rejectedMeta?: unknown;
|
|
270
|
+
}>;
|
|
91
271
|
export declare const updateLeadBusinessDataAsync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
92
272
|
response: any;
|
|
93
273
|
formData: BusinessDataFormValues;
|
|
94
|
-
}, AsyncThunkParams<BusinessDataFormValues>, {
|
|
274
|
+
}, AsyncThunkParams<BusinessDataFormValues>, {
|
|
275
|
+
state?: unknown;
|
|
276
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
277
|
+
extra?: unknown;
|
|
278
|
+
rejectValue?: unknown;
|
|
279
|
+
serializedErrorType?: unknown;
|
|
280
|
+
pendingMeta?: unknown;
|
|
281
|
+
fulfilledMeta?: unknown;
|
|
282
|
+
rejectedMeta?: unknown;
|
|
283
|
+
}>;
|
|
95
284
|
interface ResponseData {
|
|
96
285
|
responseData?: Record<string, any>;
|
|
97
286
|
}
|
|
@@ -128,7 +317,7 @@ export declare const connectSlice: import("@reduxjs/toolkit").Slice<ConnectExpre
|
|
|
128
317
|
resetStore: (state: ConnectExpressState) => void;
|
|
129
318
|
resetIndividualScreen: (state: ConnectExpressState) => void;
|
|
130
319
|
}, "connectExpress/store">;
|
|
131
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
320
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/stopLoader">, setIsLeadIdPassed: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "connectExpress/store/setIsLeadIdPassed">, resetMobileScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<CountryCode, "connectExpress/store/resetMobileScreen">, resetOTPValue: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetOTPValue">, resetNIDScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetNIDScreen">, resetCivilScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetCivilScreen">, resetStore: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetStore">, setError: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "connectExpress/store/setError">, setPostUrl: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "connectExpress/store/setPostUrl">, setLeadId: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "connectExpress/store/setLeadId">, setShowBoard: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "connectExpress/store/setShowBoard">, resetIndividualScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"connectExpress/store/resetIndividualScreen">;
|
|
132
321
|
declare const _default: import("redux").Reducer<ConnectExpressState, import("redux").AnyAction>;
|
|
133
322
|
export default _default;
|
|
134
323
|
export declare const connectExpressSelector: (state: RootState) => ConnectExpressState;
|
|
@@ -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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|
|
@@ -56,25 +56,28 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
56
56
|
};
|
|
57
57
|
var _a;
|
|
58
58
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
59
|
-
import { handleNextScreenStep, handleCurrentActiveScreen, handleOpen } from '../../../app/settings';
|
|
59
|
+
import { handleNextScreenStep, handleCurrentActiveScreen, handleOpen, handleSetCountryByIso2 } from '../../../app/settings';
|
|
60
60
|
import { FlowsTypes, AuthForType, BusinessType, LicenseType } from '../../../@types';
|
|
61
61
|
import API from '../../../api';
|
|
62
62
|
import { CONNECT_EXPRESS_STEP_NAMES, IDENTIFICATION_TYPE, OTHER_CR_LICENSE, OTHER_FL_LICENSE } from '../../../constants';
|
|
63
63
|
import { defaultCountry } from '../../../constants';
|
|
64
64
|
import { getIndividualName, capitalizeTheFirstLetterOfEachWord, sleep, findCountryByIddPrefix, concatenateObjectValues, isSA } from '../../../utils';
|
|
65
65
|
export var retrieveLeadIdentityByIdAsync = createAsyncThunk('expressConnect/retrieveLeadIdentityByIdAsync', function (leadId, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
66
|
-
var _a, settings, connectExpress, countryCode, showBoard, data, phone, status, board_id, board_info_id, isRegistered,
|
|
67
|
-
var
|
|
68
|
-
return __generator(this, function (
|
|
69
|
-
switch (
|
|
66
|
+
var _a, settings, connectExpress, countryCode, showBoard, data, _b, country_code, contact, phone, status, board_id, board_info_id, isRegistered, _c, boardInfo, boardData, error_1;
|
|
67
|
+
var _d, _e;
|
|
68
|
+
return __generator(this, function (_f) {
|
|
69
|
+
switch (_f.label) {
|
|
70
70
|
case 0:
|
|
71
71
|
_a = thunkApi.getState(), settings = _a.settings, connectExpress = _a.connectExpress;
|
|
72
72
|
countryCode = settings.data.businessCountry;
|
|
73
73
|
showBoard = connectExpress.data.showBoard;
|
|
74
74
|
return [4, API.leadService.retrieveLeadIdentity(leadId)];
|
|
75
75
|
case 1:
|
|
76
|
-
data =
|
|
77
|
-
|
|
76
|
+
data = _f.sent();
|
|
77
|
+
_b = data || {}, country_code = _b.country_code, contact = _b.contact;
|
|
78
|
+
if (country_code)
|
|
79
|
+
thunkApi.dispatch(handleSetCountryByIso2(country_code));
|
|
80
|
+
phone = (contact || {}).phone;
|
|
78
81
|
if (phone === null || phone === void 0 ? void 0 : phone.country_code)
|
|
79
82
|
countryCode = findCountryByIddPrefix(settings.data.countries, phone.country_code);
|
|
80
83
|
status = data.status, board_id = data.board_id, board_info_id = data.board_info_id;
|
|
@@ -84,7 +87,7 @@ export var retrieveLeadIdentityByIdAsync = createAsyncThunk('expressConnect/retr
|
|
|
84
87
|
return [2, { data: data, countryCode: countryCode }];
|
|
85
88
|
}
|
|
86
89
|
if (isRegistered && !showBoard) {
|
|
87
|
-
(
|
|
90
|
+
(_e = (_d = settings.data.appConfig).onFlowCompleted) === null || _e === void 0 ? void 0 : _e.call(_d, data);
|
|
88
91
|
thunkApi.dispatch(handleOpen(false));
|
|
89
92
|
return [2, { data: data, countryCode: countryCode }];
|
|
90
93
|
}
|
|
@@ -93,19 +96,19 @@ export var retrieveLeadIdentityByIdAsync = createAsyncThunk('expressConnect/retr
|
|
|
93
96
|
return [2, { data: data, countryCode: countryCode }];
|
|
94
97
|
}
|
|
95
98
|
if (!(isRegistered && board_id && board_info_id)) return [3, 5];
|
|
96
|
-
|
|
99
|
+
_f.label = 2;
|
|
97
100
|
case 2:
|
|
98
|
-
|
|
101
|
+
_f.trys.push([2, 4, , 5]);
|
|
99
102
|
return [4, Promise.all([
|
|
100
103
|
API.boardService.retrieveBoardInfo({ id: board_id, infoId: board_info_id }),
|
|
101
104
|
API.boardService.retrieveBoardDetails(board_id)
|
|
102
105
|
])];
|
|
103
106
|
case 3:
|
|
104
|
-
|
|
107
|
+
_c = _f.sent(), boardInfo = _c[0], boardData = _c[1];
|
|
105
108
|
thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_SUCCESS_WITH_FLOW_BUTTONS_STEP'));
|
|
106
109
|
return [2, { data: data, countryCode: countryCode, boardInfo: boardInfo, boardData: boardData }];
|
|
107
110
|
case 4:
|
|
108
|
-
error_1 =
|
|
111
|
+
error_1 = _f.sent();
|
|
109
112
|
thunkApi.dispatch(handleCurrentActiveScreen('CONNECT_EXPRESS_ACCOUNT_ALREADY_CREATED_STEP'));
|
|
110
113
|
return [2, { data: data, countryCode: countryCode }];
|
|
111
114
|
case 5: return [2, { data: data, countryCode: countryCode }];
|
|
@@ -21,10 +21,28 @@ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
21
21
|
notification: any;
|
|
22
22
|
};
|
|
23
23
|
token: string;
|
|
24
|
-
}, VerifyLeadTokenProps, {
|
|
24
|
+
}, VerifyLeadTokenProps, {
|
|
25
|
+
state?: unknown;
|
|
26
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
27
|
+
extra?: unknown;
|
|
28
|
+
rejectValue?: unknown;
|
|
29
|
+
serializedErrorType?: unknown;
|
|
30
|
+
pendingMeta?: unknown;
|
|
31
|
+
fulfilledMeta?: unknown;
|
|
32
|
+
rejectedMeta?: unknown;
|
|
33
|
+
}>;
|
|
25
34
|
export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
26
35
|
data: any;
|
|
27
|
-
}, void, {
|
|
36
|
+
}, void, {
|
|
37
|
+
state?: unknown;
|
|
38
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
39
|
+
extra?: unknown;
|
|
40
|
+
rejectValue?: unknown;
|
|
41
|
+
serializedErrorType?: unknown;
|
|
42
|
+
pendingMeta?: unknown;
|
|
43
|
+
fulfilledMeta?: unknown;
|
|
44
|
+
rejectedMeta?: unknown;
|
|
45
|
+
}>;
|
|
28
46
|
export declare const verifyEntityLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
29
47
|
data: any;
|
|
30
48
|
individualData: any;
|
|
@@ -42,26 +60,80 @@ export declare const verifyEntityLeadOTP: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
42
60
|
notification: any;
|
|
43
61
|
};
|
|
44
62
|
formData: OTPFormValues;
|
|
45
|
-
}, OTPFormValues, {
|
|
63
|
+
}, OTPFormValues, {
|
|
64
|
+
state?: unknown;
|
|
65
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
66
|
+
extra?: unknown;
|
|
67
|
+
rejectValue?: unknown;
|
|
68
|
+
serializedErrorType?: unknown;
|
|
69
|
+
pendingMeta?: unknown;
|
|
70
|
+
fulfilledMeta?: unknown;
|
|
71
|
+
rejectedMeta?: unknown;
|
|
72
|
+
}>;
|
|
46
73
|
export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<{
|
|
47
74
|
flows: any;
|
|
48
|
-
}, void, {
|
|
75
|
+
}, void, {
|
|
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
|
+
}>;
|
|
49
85
|
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
50
86
|
data: any;
|
|
51
|
-
}, string, {
|
|
87
|
+
}, string, {
|
|
88
|
+
state?: unknown;
|
|
89
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
90
|
+
extra?: unknown;
|
|
91
|
+
rejectValue?: unknown;
|
|
92
|
+
serializedErrorType?: unknown;
|
|
93
|
+
pendingMeta?: unknown;
|
|
94
|
+
fulfilledMeta?: unknown;
|
|
95
|
+
rejectedMeta?: unknown;
|
|
96
|
+
}>;
|
|
52
97
|
export declare const updateEntityName: import("@reduxjs/toolkit").AsyncThunk<{
|
|
53
98
|
data: any;
|
|
54
99
|
formData: EntityNameFormValues;
|
|
55
|
-
}, AsyncThunkParams<EntityNameFormValues>, {
|
|
100
|
+
}, AsyncThunkParams<EntityNameFormValues>, {
|
|
101
|
+
state?: unknown;
|
|
102
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
103
|
+
extra?: unknown;
|
|
104
|
+
rejectValue?: unknown;
|
|
105
|
+
serializedErrorType?: unknown;
|
|
106
|
+
pendingMeta?: unknown;
|
|
107
|
+
fulfilledMeta?: unknown;
|
|
108
|
+
rejectedMeta?: unknown;
|
|
109
|
+
}>;
|
|
56
110
|
export declare const updateEntityCapital: import("@reduxjs/toolkit").AsyncThunk<{
|
|
57
111
|
data: any;
|
|
58
112
|
formData: EntityCapitalFormValues;
|
|
59
|
-
}, AsyncThunkParams<EntityCapitalFormValues>, {
|
|
113
|
+
}, AsyncThunkParams<EntityCapitalFormValues>, {
|
|
114
|
+
state?: unknown;
|
|
115
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
116
|
+
extra?: unknown;
|
|
117
|
+
rejectValue?: unknown;
|
|
118
|
+
serializedErrorType?: unknown;
|
|
119
|
+
pendingMeta?: unknown;
|
|
120
|
+
fulfilledMeta?: unknown;
|
|
121
|
+
rejectedMeta?: unknown;
|
|
122
|
+
}>;
|
|
60
123
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
61
124
|
response: any;
|
|
62
125
|
formData: void;
|
|
63
|
-
} | undefined, void, {
|
|
64
|
-
|
|
126
|
+
} | undefined, void, {
|
|
127
|
+
state?: unknown;
|
|
128
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
129
|
+
extra?: unknown;
|
|
130
|
+
rejectValue?: unknown;
|
|
131
|
+
serializedErrorType?: unknown;
|
|
132
|
+
pendingMeta?: unknown;
|
|
133
|
+
fulfilledMeta?: unknown;
|
|
134
|
+
rejectedMeta?: unknown;
|
|
135
|
+
}>;
|
|
136
|
+
type VerifyData = {
|
|
65
137
|
token: string;
|
|
66
138
|
};
|
|
67
139
|
export interface EntityData {
|
|
@@ -84,7 +156,7 @@ export declare const entitySlice: import("@reduxjs/toolkit").Slice<EntityState,
|
|
|
84
156
|
uploadingArticleStatus: (state: EntityState, action: ActionState<boolean>) => void;
|
|
85
157
|
clearAOAFile: (state: EntityState) => void;
|
|
86
158
|
}, "entity/store">;
|
|
87
|
-
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<
|
|
159
|
+
export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"entity/store/clearError">, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"entity/store/stopLoader">, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"entity/store/resetOTPScreen">, uploadingStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "entity/store/uploadingStatus">, uploadingArticleStatus: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "entity/store/uploadingArticleStatus">, clearAOAFile: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<"entity/store/clearAOAFile">;
|
|
88
160
|
declare const _default: import("redux").Reducer<EntityState, import("redux").AnyAction>;
|
|
89
161
|
export default _default;
|
|
90
162
|
export declare const entitySelector: (state: RootState) => EntityState;
|
|
@@ -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 (_) try {
|
|
27
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) 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]) {
|