@tap-payments/auth-jsconnect 2.8.63-development → 2.8.64-beta
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/redux.d.ts +0 -1
- package/build/api/entity.d.ts +2 -2
- package/build/api/entity.js +4 -12
- package/build/api/index.d.ts +2 -2
- package/build/app/settings.js +2 -3
- package/build/components/Tooltip/Tooltip.js +1 -1
- package/build/constants/api.d.ts +1 -0
- package/build/constants/api.js +2 -0
- package/build/constants/app.d.ts +3 -0
- package/build/constants/app.js +3 -0
- package/build/features/app/bank/bankStore.d.ts +19 -13
- package/build/features/app/bank/bankStore.js +165 -183
- package/build/features/app/board/boardStore.js +10 -16
- package/build/features/app/brand/brandStore.d.ts +31 -16
- package/build/features/app/brand/brandStore.js +239 -243
- package/build/features/app/business/businessStore.js +1 -7
- package/build/features/app/entity/entityStore.d.ts +34 -20
- package/build/features/app/entity/entityStore.js +249 -204
- package/build/features/app/individual/individualStore.d.ts +36 -17
- package/build/features/app/individual/individualStore.js +270 -221
- package/build/features/app/password/passwordStore.d.ts +25 -21
- package/build/features/app/password/passwordStore.js +219 -196
- package/build/features/app/tax/taxStore.d.ts +7 -13
- package/build/features/app/tax/taxStore.js +147 -168
- package/build/features/auth/screens/AuthenticationList/LicenseNumber.js +2 -2
- package/build/features/bank/screens/BankDetails/BankDetails.js +4 -17
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +11 -48
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +4 -22
- package/build/features/brand/screens/BrandSegmentInfo/BrandSegmentInfo.js +6 -22
- package/build/features/business/screens/Activities/Activities.js +1 -9
- package/build/features/business/screens/BusinessType/LicenseNumber.js +2 -2
- package/build/features/business/screens/Customers/Customers.js +1 -9
- package/build/features/connect/screens/BusinessCountry/BusinessCountry.js +1 -7
- package/build/features/connectExpress/screens/AuthenticationList/LicenseNumber.js +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +9 -33
- package/build/features/entity/screens/EntityName/EntityName.js +14 -31
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +10 -43
- package/build/features/individual/screens/IndividualList/IndividualList.js +0 -7
- package/build/features/individual/screens/IndividualList/UserList.js +3 -3
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +18 -73
- package/build/features/password/Password.js +1 -1
- package/build/features/shared/Button/FlowsButtons.js +1 -7
- package/build/features/signIn/SignIn.js +2 -10
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +2 -7
- package/build/hooks/index.d.ts +0 -1
- package/build/hooks/index.js +0 -1
- package/build/utils/common.js +4 -4
- package/build/utils/validation.d.ts +1 -0
- package/build/utils/validation.js +3 -0
- package/package.json +2 -2
- package/build/hooks/useFormDirtyCheck.d.ts +0 -10
- package/build/hooks/useFormDirtyCheck.js +0 -66
|
@@ -59,7 +59,7 @@ import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
|
59
59
|
import API from '../../../api';
|
|
60
60
|
import { BusinessType, FlowsTypes, DocumentPurpose, LicenseType } from '../../../@types';
|
|
61
61
|
import { BUSINESS_STEP_NAMES, EXPECTED_SALES_LIST, IDENTIFICATION_TYPE, OTHER_CR_LICENSE, OTHER_ENTITY_LICENSE, OTHER_FL_LICENSE } from '../../../constants';
|
|
62
|
-
import { convertNumbers2English, hasKey, sleep, isKW, isSA, dateFormat, isOtherLicense, isOtherThanKWOrSA, hasNoneEditableValue
|
|
62
|
+
import { convertNumbers2English, hasKey, sleep, isKW, isSA, dateFormat, isOtherLicense, isOtherThanKWOrSA, hasNoneEditableValue } from '../../../utils';
|
|
63
63
|
import { handleNextScreenStep, handlePublicKey, handleSetCountryByIso2 } from '../../../app/settings';
|
|
64
64
|
export var verifyLeadToken = createAsyncThunk('businessVerifyLeadToken', function (token, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
65
65
|
var payload, data, publicKey, countryIso2, boardData, brandData, isicActivityList, leadData, _a, steps, brand, board_id, business_id, entity, brandID, hasBusinessCompleted, hasBusinessCRInfoCompleted, hasBusinessCRActivitiesCompleted, hasBusinessCustomersCompleted, list, list;
|
|
@@ -759,12 +759,6 @@ export var updateLeadSuccess = createAsyncThunk('businessUpdateLeadSuccess', fun
|
|
|
759
759
|
return [4, API.leadService.updateLead(payload)];
|
|
760
760
|
case 1:
|
|
761
761
|
data = _g.sent();
|
|
762
|
-
sendCustomEventToGTM({
|
|
763
|
-
event: 'Send Event',
|
|
764
|
-
event_category: 'Account Creation Flow',
|
|
765
|
-
event_action: 'Account Creation Success',
|
|
766
|
-
event_label: settings.data.businessCountry.iso2
|
|
767
|
-
});
|
|
768
762
|
board_id = data === null || data === void 0 ? void 0 : data.board_id;
|
|
769
763
|
if (!board_id) return [3, 4];
|
|
770
764
|
return [4, API.boardService.retrieveBoardInfoStatus(board_id)];
|
|
@@ -6,8 +6,20 @@ interface VerifyLeadTokenProps {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
|
|
8
8
|
data: any;
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
individualData: any;
|
|
10
|
+
boardResponse: {
|
|
11
|
+
user: any;
|
|
12
|
+
brand: any;
|
|
13
|
+
bank_account: any;
|
|
14
|
+
entity: any;
|
|
15
|
+
merchant: any;
|
|
16
|
+
name: any;
|
|
17
|
+
contact: any;
|
|
18
|
+
individuals: any;
|
|
19
|
+
business: any;
|
|
20
|
+
entityTypes: any;
|
|
21
|
+
notification: any;
|
|
22
|
+
};
|
|
11
23
|
token: string;
|
|
12
24
|
}, VerifyLeadTokenProps, {
|
|
13
25
|
state?: unknown;
|
|
@@ -33,8 +45,20 @@ export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
|
33
45
|
}>;
|
|
34
46
|
export declare const verifyEntityLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
|
|
35
47
|
data: any;
|
|
36
|
-
|
|
37
|
-
|
|
48
|
+
individualData: any;
|
|
49
|
+
boardResponse: {
|
|
50
|
+
user: any;
|
|
51
|
+
brand: any;
|
|
52
|
+
bank_account: any;
|
|
53
|
+
entity: any;
|
|
54
|
+
merchant: any;
|
|
55
|
+
name: any;
|
|
56
|
+
contact: any;
|
|
57
|
+
individuals: any;
|
|
58
|
+
business: any;
|
|
59
|
+
entityTypes: any;
|
|
60
|
+
notification: any;
|
|
61
|
+
};
|
|
38
62
|
formData: OTPFormValues;
|
|
39
63
|
}, OTPFormValues, {
|
|
40
64
|
state?: unknown;
|
|
@@ -58,12 +82,9 @@ export declare const retrieveBoardStatus: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
58
82
|
fulfilledMeta?: unknown;
|
|
59
83
|
rejectedMeta?: unknown;
|
|
60
84
|
}>;
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
individualType: string;
|
|
65
|
-
};
|
|
66
|
-
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<any, RetrieveBoardProps, {
|
|
85
|
+
export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
|
|
86
|
+
data: any;
|
|
87
|
+
}, string, {
|
|
67
88
|
state?: unknown;
|
|
68
89
|
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
69
90
|
extra?: unknown;
|
|
@@ -74,11 +95,7 @@ export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk
|
|
|
74
95
|
rejectedMeta?: unknown;
|
|
75
96
|
}>;
|
|
76
97
|
export declare const updateEntityName: import("@reduxjs/toolkit").AsyncThunk<{
|
|
77
|
-
data:
|
|
78
|
-
entity: any;
|
|
79
|
-
documentData: any;
|
|
80
|
-
activityList: any;
|
|
81
|
-
};
|
|
98
|
+
data: any;
|
|
82
99
|
formData: EntityNameFormValues;
|
|
83
100
|
}, AsyncThunkParams<EntityNameFormValues>, {
|
|
84
101
|
state?: unknown;
|
|
@@ -104,11 +121,8 @@ export declare const updateEntityCapital: import("@reduxjs/toolkit").AsyncThunk<
|
|
|
104
121
|
rejectedMeta?: unknown;
|
|
105
122
|
}>;
|
|
106
123
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
} | {
|
|
110
|
-
data: any;
|
|
111
|
-
flows: any;
|
|
124
|
+
response: any;
|
|
125
|
+
formData: void;
|
|
112
126
|
} | undefined, void, {
|
|
113
127
|
state?: unknown;
|
|
114
128
|
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|