@tap-payments/auth-jsconnect 2.1.72-test → 2.1.74-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 +6 -6
- 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/data.d.ts +10 -10
- package/build/api/entity.d.ts +8 -8
- package/build/api/file.d.ts +1 -1
- package/build/api/individual.d.ts +4 -4
- 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 +1 -1
- package/build/app/settings.d.ts +12 -2
- package/build/app/settings.js +4 -4
- package/build/app/store.d.ts +4 -4
- package/build/components/Lottie/Lottie.d.ts +1 -1
- package/build/components/Slide/Slide.d.ts +1 -1
- package/build/features/app/bank/bankStore.d.ts +72 -9
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +102 -12
- 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 +181 -19
- package/build/features/app/connectExpress/connectExpressStore.js +24 -8
- 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 +72 -9
- 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 +62 -8
- 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/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/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/Connect.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/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/connectExpress/screens/Mobile/Mobile.js +1 -1
- package/build/features/connectExpress/screens/NID/NID.js +1 -1
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +7 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +13 -13
- package/build/features/entity/screens/EntityName/Article.d.ts +1 -1
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +13 -13
- 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/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +4 -4
- 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/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/UploadFile.d.ts +2 -2
- package/build/features/shared/UploadMultipleFile/UploadFile.d.ts +4 -4
- package/build/features/shared/UploadMultipleFile/UploadFile.js +1 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +2 -2
- package/build/hooks/useAppConfig.d.ts +2 -1
- package/build/hooks/useAppConfig.js +2 -2
- package/package.json +1 -1
package/build/@types/app.d.ts
CHANGED
|
@@ -162,7 +162,7 @@ interface LibCallbacks {
|
|
|
162
162
|
onClose?: () => void;
|
|
163
163
|
onStepStarted?: (name: string) => void;
|
|
164
164
|
onBoardButtonClick?: (data: Record<string, any>) => void;
|
|
165
|
-
onCreated
|
|
165
|
+
onCreated?: (res: Record<string, any>) => void;
|
|
166
166
|
}
|
|
167
167
|
export interface LibConfig extends LibCallbacks {
|
|
168
168
|
publicKey: string;
|
|
@@ -226,7 +226,7 @@ export interface LocalProps {
|
|
|
226
226
|
};
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
export
|
|
229
|
+
export type BrandInfo = {
|
|
230
230
|
segment?: {
|
|
231
231
|
type: string;
|
|
232
232
|
team: string;
|
|
@@ -251,7 +251,7 @@ export declare enum FlowsTypes {
|
|
|
251
251
|
AUTH = "auth",
|
|
252
252
|
BRAND = "brand"
|
|
253
253
|
}
|
|
254
|
-
export
|
|
254
|
+
export type FlowInfo = {
|
|
255
255
|
name: string;
|
|
256
256
|
status: string;
|
|
257
257
|
url: string;
|
|
@@ -266,7 +266,7 @@ export declare enum AddressFormateType {
|
|
|
266
266
|
NUMBER = "number",
|
|
267
267
|
TEXT = "text"
|
|
268
268
|
}
|
|
269
|
-
export
|
|
269
|
+
export type AddressFormat = {
|
|
270
270
|
code: string;
|
|
271
271
|
name: {
|
|
272
272
|
ar: string;
|
|
@@ -277,14 +277,14 @@ export declare type AddressFormat = {
|
|
|
277
277
|
sort: number;
|
|
278
278
|
type: AddressFormateType;
|
|
279
279
|
};
|
|
280
|
-
export
|
|
280
|
+
export type AddressType = {
|
|
281
281
|
code: string;
|
|
282
282
|
name: {
|
|
283
283
|
ar: string;
|
|
284
284
|
en: string;
|
|
285
285
|
};
|
|
286
286
|
};
|
|
287
|
-
export
|
|
287
|
+
export type AddressProps = {
|
|
288
288
|
format: AddressFormat[];
|
|
289
289
|
type: AddressType;
|
|
290
290
|
};
|
package/build/@types/form.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize } from './app';
|
|
2
|
-
export
|
|
2
|
+
export type MobileFormValues = {
|
|
3
3
|
mobile: string;
|
|
4
4
|
countryCode: CountryCode;
|
|
5
5
|
termAndConditionChecked?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type EmailFormValues = {
|
|
8
8
|
email: string | null;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type OTPFormValues = {
|
|
11
11
|
otp: string;
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type PasswordFormValues = {
|
|
14
14
|
password: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type NIDFormValues = {
|
|
17
17
|
nid: string;
|
|
18
18
|
dob: string;
|
|
19
19
|
termAndConditionChecked?: boolean;
|
|
20
20
|
};
|
|
21
|
-
export
|
|
21
|
+
export type CivilFormValues = {
|
|
22
22
|
civilId: string;
|
|
23
23
|
termAndConditionChecked?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type IndividualFormValues = {
|
|
26
26
|
name: string;
|
|
27
27
|
email: string;
|
|
28
28
|
mobile: string | null;
|
|
29
29
|
countryCode: CountryCode;
|
|
30
30
|
};
|
|
31
|
-
export
|
|
31
|
+
export type BrandFormValues = {
|
|
32
32
|
brandName: string;
|
|
33
33
|
segment?: Segment | undefined;
|
|
34
34
|
teamSize?: TeamSize | undefined;
|
|
@@ -36,7 +36,7 @@ export declare type BrandFormValues = {
|
|
|
36
36
|
termAndConditionChecked?: boolean;
|
|
37
37
|
selectedBrandItem: BrandInfo;
|
|
38
38
|
};
|
|
39
|
-
export
|
|
39
|
+
export type BrandActivitiesFormValues = {
|
|
40
40
|
activities: Array<Activity>;
|
|
41
41
|
customerLocations: Array<CustomerLocation>;
|
|
42
42
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
@@ -45,7 +45,7 @@ export declare type BrandActivitiesFormValues = {
|
|
|
45
45
|
refundPolicy: boolean;
|
|
46
46
|
transactionPolicy: boolean;
|
|
47
47
|
};
|
|
48
|
-
export
|
|
48
|
+
export type BusinessTypeFormValues = {
|
|
49
49
|
licenseNumber: string;
|
|
50
50
|
entityLegalName?: string;
|
|
51
51
|
selectedLicense?: License;
|
|
@@ -53,18 +53,18 @@ export declare type BusinessTypeFormValues = {
|
|
|
53
53
|
articleId?: string;
|
|
54
54
|
articleFile?: File;
|
|
55
55
|
};
|
|
56
|
-
export
|
|
56
|
+
export type ActivitiesFormValues = {
|
|
57
57
|
activities: Array<Activity> | undefined;
|
|
58
58
|
operationStartDate: string;
|
|
59
59
|
};
|
|
60
|
-
export
|
|
60
|
+
export type CustomersFormValues = {
|
|
61
61
|
customerLocations: Array<CustomerLocation>;
|
|
62
62
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
63
63
|
expectedSale: ExpectedSaleRange | undefined;
|
|
64
64
|
refundPolicy: boolean;
|
|
65
65
|
transactionPolicy: boolean;
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type BankFormValues = {
|
|
68
68
|
iban: string;
|
|
69
69
|
beneficiaryName: string;
|
|
70
70
|
bankName: string;
|
|
@@ -72,7 +72,7 @@ export declare type BankFormValues = {
|
|
|
72
72
|
uploading?: boolean;
|
|
73
73
|
confirmPolicy: boolean;
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export type TaxFormValues = {
|
|
76
76
|
vatId: string;
|
|
77
77
|
confirmPolicy: false;
|
|
78
78
|
documentId?: Array<string>;
|
|
@@ -86,17 +86,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
86
86
|
isPEP: boolean | null;
|
|
87
87
|
isInfluencer: boolean | null;
|
|
88
88
|
}
|
|
89
|
-
export
|
|
89
|
+
export type IndividualAttachmentsFormValues = {
|
|
90
90
|
civilID?: Array<string>;
|
|
91
91
|
signatureFileId?: Array<string>;
|
|
92
92
|
civilIDUploading?: boolean;
|
|
93
93
|
signatureFileUploading?: boolean;
|
|
94
94
|
};
|
|
95
|
-
export
|
|
95
|
+
export type PasswordCreateFormValues = {
|
|
96
96
|
password: string;
|
|
97
97
|
confirmPassword: string;
|
|
98
98
|
};
|
|
99
|
-
export
|
|
99
|
+
export type EntityNameFormValues = {
|
|
100
100
|
legalName: string;
|
|
101
101
|
licenseNumber: string;
|
|
102
102
|
licenseType: string;
|
|
@@ -108,13 +108,13 @@ export declare type EntityNameFormValues = {
|
|
|
108
108
|
articleId?: string;
|
|
109
109
|
articleFile?: File;
|
|
110
110
|
};
|
|
111
|
-
export
|
|
111
|
+
export type EntityCapitalFormValues = {
|
|
112
112
|
activities: Array<Activity>;
|
|
113
113
|
capitalPaid: string;
|
|
114
114
|
capitalShareCount: string;
|
|
115
115
|
capitalShareValue: string;
|
|
116
116
|
};
|
|
117
|
-
export
|
|
117
|
+
export type BusinessDataFormValues = {
|
|
118
118
|
brandName: string;
|
|
119
119
|
licenseNumber: string;
|
|
120
120
|
selectedLicense?: License;
|
package/build/@types/theme.d.ts
CHANGED
package/build/api/account.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CreateAccountBody = {
|
|
2
2
|
lead_id: string;
|
|
3
3
|
notify: {
|
|
4
4
|
email: boolean;
|
|
@@ -8,7 +8,7 @@ export declare type CreateAccountBody = {
|
|
|
8
8
|
is_acknowledged: boolean;
|
|
9
9
|
step_name: string;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type ExpressCreateAccountBody = {
|
|
12
12
|
post_url: string;
|
|
13
13
|
lead_id: string;
|
|
14
14
|
};
|
package/build/api/auth.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { LanguageMode } from '../@types';
|
|
3
|
-
export
|
|
3
|
+
export type MobileCredential = {
|
|
4
4
|
code: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type EmailCredential = {
|
|
8
8
|
email: string;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
10
|
+
export type IDCredential = {
|
|
11
11
|
country_code?: string;
|
|
12
12
|
identification_id: string;
|
|
13
13
|
identification_id_type?: string;
|
|
14
14
|
date_of_birth?: string;
|
|
15
15
|
};
|
|
16
|
-
export
|
|
16
|
+
export type CivilID = {
|
|
17
17
|
identification_id: string;
|
|
18
18
|
country_code: string;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type CreateAuthBody = {
|
|
21
21
|
country: string;
|
|
22
22
|
scope: string;
|
|
23
23
|
user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
|
|
@@ -30,7 +30,7 @@ export declare type CreateAuthBody = {
|
|
|
30
30
|
lang?: LanguageMode;
|
|
31
31
|
lead_id?: string;
|
|
32
32
|
};
|
|
33
|
-
export
|
|
33
|
+
export type VerifyAuthBody = {
|
|
34
34
|
auth_token: string;
|
|
35
35
|
auth_type: number;
|
|
36
36
|
data: string;
|
|
@@ -42,28 +42,28 @@ export declare type VerifyAuthBody = {
|
|
|
42
42
|
encryption_contract: Array<string>;
|
|
43
43
|
remember_me?: boolean;
|
|
44
44
|
};
|
|
45
|
-
export
|
|
45
|
+
export type VerifyOperationAuthBody = {
|
|
46
46
|
auth_token: string;
|
|
47
47
|
auth_type: number;
|
|
48
48
|
};
|
|
49
|
-
export
|
|
49
|
+
export type ResetPasswordCredential = {
|
|
50
50
|
otp: string;
|
|
51
51
|
new_password: string;
|
|
52
52
|
};
|
|
53
|
-
export
|
|
53
|
+
export type ResetPasswordVerifyAuthBody = {
|
|
54
54
|
auth_token: string;
|
|
55
55
|
auth_type: number;
|
|
56
56
|
step_name: string;
|
|
57
57
|
user_credentail: ResetPasswordCredential;
|
|
58
58
|
encryption_contract: Array<string>;
|
|
59
59
|
};
|
|
60
|
-
export
|
|
60
|
+
export type CreatePasswordBody = {
|
|
61
61
|
password: string;
|
|
62
62
|
signup_token?: string;
|
|
63
63
|
step_name: string;
|
|
64
64
|
encryption_contract: Array<string>;
|
|
65
65
|
};
|
|
66
|
-
export
|
|
66
|
+
export type VerifyAuthExpressOTPBody = {
|
|
67
67
|
auth_token?: string;
|
|
68
68
|
verify_token?: string;
|
|
69
69
|
lead_id?: string;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type CheckEmailBody = {
|
|
3
3
|
email: string | null;
|
|
4
4
|
encryption_contract: Array<string>;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type CheckBrandBody = {
|
|
7
7
|
profile_name: string;
|
|
8
8
|
country_code: string;
|
|
9
9
|
encryption_contract: Array<string>;
|
|
10
10
|
};
|
|
11
|
-
export
|
|
11
|
+
export type CheckIBanBody = {
|
|
12
12
|
iban_number: string;
|
|
13
13
|
encryption_contract?: Array<string>;
|
|
14
14
|
};
|
package/build/api/axios.js
CHANGED
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
17
|
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;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
package/build/api/board.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type UpdateBoardBody = {
|
|
2
2
|
id?: string;
|
|
3
3
|
infoId?: string;
|
|
4
4
|
step_name: string;
|
|
5
5
|
lang: string;
|
|
6
6
|
encryption_contract?: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type RetrieveBoardInfoBody = {
|
|
9
9
|
id: string;
|
|
10
10
|
infoId: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type UpdateBoardInfoBody = {
|
|
13
13
|
id: string;
|
|
14
14
|
infoId: string;
|
|
15
15
|
step_name: string;
|
package/build/api/data.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
|
|
2
|
+
type GetOccupationBody = {
|
|
3
3
|
page: number;
|
|
4
4
|
};
|
|
5
|
-
|
|
5
|
+
type GetSegmentsBody = {
|
|
6
6
|
page: number;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type GetTeamSizeBody = {
|
|
9
9
|
page: number;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type GetMonthlyIncomeBody = {
|
|
12
12
|
page: number;
|
|
13
13
|
country_code: Array<string>;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type DataElementBody = {
|
|
16
16
|
id: string;
|
|
17
17
|
name: {
|
|
18
18
|
en: string;
|
|
19
19
|
ar: string;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
|
|
22
|
+
type GetCustomerBasesBody = {
|
|
23
23
|
page: number;
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
type GetExpectedSalesBody = {
|
|
26
26
|
page: number;
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
type GetExpectedCustomerSalesBody = {
|
|
29
29
|
page: number;
|
|
30
30
|
};
|
|
31
|
-
|
|
31
|
+
type GetSourceOfIncomeBody = {
|
|
32
32
|
page: number;
|
|
33
33
|
};
|
|
34
|
-
|
|
34
|
+
type GetChannelsOfServicesBody = {
|
|
35
35
|
page: number;
|
|
36
36
|
};
|
|
37
37
|
declare const dataService: {
|
package/build/api/entity.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export
|
|
2
|
+
export type EntityInfoBody = {
|
|
3
3
|
id: string;
|
|
4
4
|
lead_id?: string;
|
|
5
5
|
activities?: Array<{
|
|
@@ -33,7 +33,7 @@ export declare type EntityInfoBody = {
|
|
|
33
33
|
step_name: string;
|
|
34
34
|
encryption_contract?: Array<string>;
|
|
35
35
|
};
|
|
36
|
-
export
|
|
36
|
+
export type BankDocumentInfo = {
|
|
37
37
|
type?: string;
|
|
38
38
|
number?: string;
|
|
39
39
|
issuing_country?: string;
|
|
@@ -41,7 +41,7 @@ export declare type BankDocumentInfo = {
|
|
|
41
41
|
expiry_date?: string;
|
|
42
42
|
files: Array<string>;
|
|
43
43
|
};
|
|
44
|
-
export
|
|
44
|
+
export type EntityBankUpdateBody = {
|
|
45
45
|
wallet_id: string;
|
|
46
46
|
bank_account: {
|
|
47
47
|
bank_name: string;
|
|
@@ -56,7 +56,7 @@ export declare type EntityBankUpdateBody = {
|
|
|
56
56
|
step_name: string;
|
|
57
57
|
encryption_contract?: Array<string>;
|
|
58
58
|
};
|
|
59
|
-
export
|
|
59
|
+
export type UpdateEntityBody = {
|
|
60
60
|
id: string;
|
|
61
61
|
license?: {
|
|
62
62
|
type?: string;
|
|
@@ -86,13 +86,13 @@ export declare type UpdateEntityBody = {
|
|
|
86
86
|
};
|
|
87
87
|
encryption_contract?: Array<string>;
|
|
88
88
|
};
|
|
89
|
-
export
|
|
89
|
+
export type UpdateEntityActivityBody = {
|
|
90
90
|
id: string;
|
|
91
91
|
activities?: Array<{
|
|
92
92
|
id: string;
|
|
93
93
|
}>;
|
|
94
94
|
};
|
|
95
|
-
export
|
|
95
|
+
export type UpdateEntityCapitalBody = {
|
|
96
96
|
id: string;
|
|
97
97
|
capital: {
|
|
98
98
|
paid: string;
|
|
@@ -102,7 +102,7 @@ export declare type UpdateEntityCapitalBody = {
|
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
104
|
};
|
|
105
|
-
export
|
|
105
|
+
export type DocumentInfo = {
|
|
106
106
|
type?: string;
|
|
107
107
|
number?: string;
|
|
108
108
|
issuing_country?: string;
|
|
@@ -110,7 +110,7 @@ export declare type DocumentInfo = {
|
|
|
110
110
|
expiry_date?: string;
|
|
111
111
|
images: Array<string>;
|
|
112
112
|
};
|
|
113
|
-
export
|
|
113
|
+
export type DocumentUpdateBody = {
|
|
114
114
|
entity_id?: boolean;
|
|
115
115
|
individual_type_id?: number;
|
|
116
116
|
country?: string;
|
package/build/api/file.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DocumentInfo } from '../api/entity';
|
|
2
|
-
export
|
|
2
|
+
export type BrandListBody = {
|
|
3
3
|
individual_id: string;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type UpdateBrandBody = {
|
|
6
6
|
id: string;
|
|
7
7
|
name?: {
|
|
8
8
|
en: string;
|
|
@@ -60,14 +60,14 @@ export declare type UpdateBrandBody = {
|
|
|
60
60
|
step_name?: string;
|
|
61
61
|
encryption_contract?: Array<string>;
|
|
62
62
|
};
|
|
63
|
-
export
|
|
63
|
+
export type UpdateSalesChannels = {
|
|
64
64
|
id?: string;
|
|
65
65
|
channel_services: Array<{
|
|
66
66
|
id: string;
|
|
67
67
|
address: string;
|
|
68
68
|
}>;
|
|
69
69
|
};
|
|
70
|
-
export
|
|
70
|
+
export type UpdateIndividualBody = {
|
|
71
71
|
id: string;
|
|
72
72
|
type: string;
|
|
73
73
|
employer_name?: string;
|
package/build/api/lead.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { LanguageMode } from '../@types';
|
|
3
|
-
|
|
3
|
+
type Name = {
|
|
4
4
|
title?: string;
|
|
5
5
|
first?: string;
|
|
6
6
|
middle?: string;
|
|
7
7
|
last?: string;
|
|
8
8
|
};
|
|
9
|
-
|
|
9
|
+
type Contact = {
|
|
10
10
|
email?: string;
|
|
11
11
|
phone?: {
|
|
12
12
|
country_code?: string;
|
|
13
13
|
number?: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
type BusinessName = {
|
|
17
17
|
en?: string;
|
|
18
18
|
ar?: string;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
type BrandTitle = {
|
|
21
21
|
en?: string;
|
|
22
22
|
ar?: string;
|
|
23
23
|
zh?: string;
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
type BrandContent = {
|
|
26
26
|
tag_line?: BrandTitle;
|
|
27
27
|
about?: BrandTitle;
|
|
28
28
|
};
|
|
29
|
-
|
|
29
|
+
type BrandInfo = {
|
|
30
30
|
id?: string;
|
|
31
31
|
name?: BrandTitle;
|
|
32
32
|
sector?: Array<string>;
|
|
@@ -35,7 +35,7 @@ declare type BrandInfo = {
|
|
|
35
35
|
logo?: string;
|
|
36
36
|
content?: BrandContent;
|
|
37
37
|
};
|
|
38
|
-
export
|
|
38
|
+
export type UpdateLeadBody = {
|
|
39
39
|
step_name?: string;
|
|
40
40
|
id: string;
|
|
41
41
|
encryption_contract?: Array<string>;
|
|
@@ -64,7 +64,7 @@ export declare type UpdateLeadBody = {
|
|
|
64
64
|
team: string;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
-
export
|
|
67
|
+
export type LeadVerifyBody = {
|
|
68
68
|
verify_token: string;
|
|
69
69
|
service_name: string;
|
|
70
70
|
};
|
|
@@ -73,11 +73,11 @@ export interface LeadOTPVerifyBody extends LeadVerifyBody {
|
|
|
73
73
|
step_name: string;
|
|
74
74
|
encryption_contract: Array<string>;
|
|
75
75
|
}
|
|
76
|
-
export
|
|
76
|
+
export type CreateLeadBody = {
|
|
77
77
|
individual_id: string;
|
|
78
78
|
country_code: string;
|
|
79
79
|
};
|
|
80
|
-
export
|
|
80
|
+
export type LeadIdentityUpdateBody = {
|
|
81
81
|
id: string;
|
|
82
82
|
identification: {
|
|
83
83
|
id: string;
|
package/build/api/operator.d.ts
CHANGED
package/build/api/operator.js
CHANGED
|
@@ -13,7 +13,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
13
13
|
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
14
|
function step(op) {
|
|
15
15
|
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
16
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
17
17
|
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;
|
|
18
18
|
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
19
|
switch (op[0]) {
|
package/build/api/user.d.ts
CHANGED
package/build/app/settings.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ interface SettingParams {
|
|
|
4
4
|
disableCountries?: boolean;
|
|
5
5
|
disableLocale?: boolean;
|
|
6
6
|
mdn: string;
|
|
7
|
+
maturity?: 'full' | 'express';
|
|
7
8
|
}
|
|
8
9
|
export declare const fetchAppSettingsSync: import("@reduxjs/toolkit").AsyncThunk<{
|
|
9
10
|
countries: CountryCode[];
|
|
@@ -11,7 +12,16 @@ export declare const fetchAppSettingsSync: import("@reduxjs/toolkit").AsyncThunk
|
|
|
11
12
|
locale: any;
|
|
12
13
|
deviceInfo: DeviceInfo;
|
|
13
14
|
isValidOperator: boolean;
|
|
14
|
-
}, SettingParams, {
|
|
15
|
+
}, SettingParams, {
|
|
16
|
+
state?: unknown;
|
|
17
|
+
dispatch?: import("redux").Dispatch<import("redux").AnyAction> | undefined;
|
|
18
|
+
extra?: unknown;
|
|
19
|
+
rejectValue?: unknown;
|
|
20
|
+
serializedErrorType?: unknown;
|
|
21
|
+
pendingMeta?: unknown;
|
|
22
|
+
fulfilledMeta?: unknown;
|
|
23
|
+
rejectedMeta?: unknown;
|
|
24
|
+
}>;
|
|
15
25
|
export interface SettingsData {
|
|
16
26
|
skin: ThemeMode;
|
|
17
27
|
language: LanguageMode;
|
|
@@ -39,7 +49,7 @@ export declare const settingsSlice: import("@reduxjs/toolkit").Slice<SettingsSta
|
|
|
39
49
|
handleSetAppConfig: (state: SettingsState, action: ActionState<LibConfig>) => void;
|
|
40
50
|
handleSetCountryByIso2: (state: SettingsState, action: ActionState<string>) => void;
|
|
41
51
|
}, "settings">;
|
|
42
|
-
export declare const handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode,
|
|
52
|
+
export declare const handleSkin: import("@reduxjs/toolkit").ActionCreatorWithPayload<ThemeMode, "settings/handleSkin">, handleLanguage: import("@reduxjs/toolkit").ActionCreatorWithPayload<LanguageMode, "settings/handleLanguage">, handleActiveFlowScreens: import("@reduxjs/toolkit").ActionCreatorWithPayload<ScreenStepNavigation[], "settings/handleActiveFlowScreens">, handleNextScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "settings/handleNextScreenStep">, handlePrevScreenStep: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<string | undefined, "settings/handlePrevScreenStep">, handleCurrentActiveScreen: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handleCurrentActiveScreen">, handleSetAppConfig: import("@reduxjs/toolkit").ActionCreatorWithPayload<LibConfig, "settings/handleSetAppConfig">, handleOpen: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handleOpen">, handleSetCountryByIso2: import("@reduxjs/toolkit").ActionCreatorWithPayload<string, "settings/handleSetCountryByIso2">, handleIsTapOrigin: import("@reduxjs/toolkit").ActionCreatorWithPayload<boolean, "settings/handleIsTapOrigin">;
|
|
43
53
|
declare const _default: import("redux").Reducer<SettingsState, import("redux").AnyAction>;
|
|
44
54
|
export default _default;
|
|
45
55
|
export declare const settingsSelector: (state: RootState) => SettingsState;
|
package/build/app/settings.js
CHANGED
|
@@ -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]) {
|
|
@@ -53,14 +53,14 @@ import i18n from '../i18n';
|
|
|
53
53
|
import { updateLocale } from '../utils/locale';
|
|
54
54
|
import API, { setAxiosGlobalHeaders } from '../api';
|
|
55
55
|
export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
|
|
56
|
-
var settings, _a, appConfig, language, _b, client, device, os, disableCountries, disableLocale, _c, visitorId, _d, ip, latitude, longitude, locale, list, operatorData, deviceInfo, operatorStatus, isValidOperator, countries, businessCountry;
|
|
56
|
+
var settings, _a, appConfig, language, _b, client, device, os, disableCountries, disableLocale, maturity, _c, visitorId, _d, ip, latitude, longitude, locale, list, operatorData, deviceInfo, operatorStatus, isValidOperator, countries, businessCountry;
|
|
57
57
|
return __generator(this, function (_e) {
|
|
58
58
|
switch (_e.label) {
|
|
59
59
|
case 0:
|
|
60
60
|
settings = thunkApi.getState().settings;
|
|
61
61
|
_a = settings.data, appConfig = _a.appConfig, language = _a.language;
|
|
62
62
|
_b = getBrowserInfo(), client = _b.client, device = _b.device, os = _b.os;
|
|
63
|
-
disableCountries = params.disableCountries, disableLocale = params.disableLocale;
|
|
63
|
+
disableCountries = params.disableCountries, disableLocale = params.disableLocale, maturity = params.maturity;
|
|
64
64
|
return [4, Promise.all([
|
|
65
65
|
getFingerPrint(),
|
|
66
66
|
API.locationService.getIP(),
|
|
@@ -107,7 +107,7 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
|
|
|
107
107
|
},
|
|
108
108
|
source: 'browser'
|
|
109
109
|
};
|
|
110
|
-
setAxiosGlobalHeaders(__assign(__assign({}, getRequestHeaders(deviceInfo)), { authorization: encryptString(appConfig.publicKey), mdn: encryptString(params.mdn || window.location.origin) }));
|
|
110
|
+
setAxiosGlobalHeaders(__assign(__assign(__assign({}, getRequestHeaders(deviceInfo)), { authorization: encryptString(appConfig.publicKey), mdn: encryptString(params.mdn || window.location.origin) }), (maturity && { maturity: maturity })));
|
|
111
111
|
return [4, API.operatorService.validateOperator(operatorData)];
|
|
112
112
|
case 2:
|
|
113
113
|
operatorStatus = _e.sent();
|
package/build/app/store.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ThunkAction, Action } from '@reduxjs/toolkit';
|
|
2
|
-
export declare const store: import("@reduxjs/toolkit").
|
|
2
|
+
export declare const store: import("@reduxjs/toolkit/dist/configureStore").ToolkitStore<{
|
|
3
3
|
settings: import("./settings").SettingsState;
|
|
4
4
|
connect: import("../features/app/connect/connectStore").ConnectState;
|
|
5
5
|
business: import("../features/app/business/businessStore").BusinessState;
|
|
@@ -24,6 +24,6 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
24
24
|
brand: import("../features/app/brand/brandStore").BrandState;
|
|
25
25
|
connectExpress: import("../features/app/connectExpress/connectExpressStore").ConnectExpressState;
|
|
26
26
|
}, import("redux").AnyAction, undefined>]>>;
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
27
|
+
export type AppDispatch = typeof store.dispatch;
|
|
28
|
+
export type RootState = ReturnType<typeof store.getState>;
|
|
29
|
+
export type AppThunk<ReturnType = void> = ThunkAction<ReturnType, RootState, unknown, Action<string>>;
|
|
@@ -4193,7 +4193,7 @@ export declare const LottieAnimationFiles: {
|
|
|
4193
4193
|
markers: never[];
|
|
4194
4194
|
};
|
|
4195
4195
|
};
|
|
4196
|
-
export
|
|
4196
|
+
export type LottieAnimationFiles = (typeof LottieAnimationFiles)[keyof typeof LottieAnimationFiles];
|
|
4197
4197
|
interface LottieFileProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
4198
4198
|
file: LottieAnimationFiles;
|
|
4199
4199
|
width?: number | string;
|