@tap-payments/auth-jsconnect 2.4.60-test → 2.4.62-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 +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 +10 -82
- package/build/features/app/bank/bankStore.js +1 -1
- package/build/features/app/brand/brandStore.d.ts +13 -112
- 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 +1 -1
- 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 +10 -82
- package/build/features/app/entity/entityStore.js +1 -1
- package/build/features/app/individual/individualStore.d.ts +22 -175
- package/build/features/app/individual/individualStore.js +1 -1
- 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 +9 -72
- 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 +2 -0
- 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 +3 -0
- package/build/features/brand/screens/BrandInfo/TeamSize.js +3 -0
- 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/Occupation.js +4 -4
- 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/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
package/build/@types/app.d.ts
CHANGED
|
@@ -266,7 +266,7 @@ export interface LocalProps {
|
|
|
266
266
|
};
|
|
267
267
|
};
|
|
268
268
|
}
|
|
269
|
-
export type BrandInfo = {
|
|
269
|
+
export declare type BrandInfo = {
|
|
270
270
|
segment?: {
|
|
271
271
|
type: {
|
|
272
272
|
id: string;
|
|
@@ -295,7 +295,7 @@ export declare enum FlowsTypes {
|
|
|
295
295
|
AUTH = "auth",
|
|
296
296
|
BRAND = "brand"
|
|
297
297
|
}
|
|
298
|
-
export type FlowInfo = {
|
|
298
|
+
export declare type FlowInfo = {
|
|
299
299
|
name: string;
|
|
300
300
|
status: string;
|
|
301
301
|
url: string;
|
|
@@ -310,7 +310,7 @@ export declare enum AddressFormateType {
|
|
|
310
310
|
NUMBER = "number",
|
|
311
311
|
TEXT = "text"
|
|
312
312
|
}
|
|
313
|
-
export type AddressFormat = {
|
|
313
|
+
export declare type AddressFormat = {
|
|
314
314
|
code: string;
|
|
315
315
|
name: {
|
|
316
316
|
ar: string;
|
|
@@ -321,14 +321,14 @@ export type AddressFormat = {
|
|
|
321
321
|
sort: number;
|
|
322
322
|
type: AddressFormateType;
|
|
323
323
|
};
|
|
324
|
-
export type AddressType = {
|
|
324
|
+
export declare type AddressType = {
|
|
325
325
|
code: string;
|
|
326
326
|
name: {
|
|
327
327
|
ar: string;
|
|
328
328
|
en: string;
|
|
329
329
|
};
|
|
330
330
|
};
|
|
331
|
-
export type AddressProps = {
|
|
331
|
+
export declare type AddressProps = {
|
|
332
332
|
format: AddressFormat[];
|
|
333
333
|
type: AddressType;
|
|
334
334
|
};
|
|
@@ -360,7 +360,7 @@ export declare enum DocumentPurpose {
|
|
|
360
360
|
TAX_DOCUMENT = "tax_document_user_upload",
|
|
361
361
|
BRAND_LOGO = "business_logo"
|
|
362
362
|
}
|
|
363
|
-
export type FileDetails = {
|
|
363
|
+
export declare type FileDetails = {
|
|
364
364
|
created: string;
|
|
365
365
|
id: string;
|
|
366
366
|
object: string;
|
|
@@ -375,7 +375,7 @@ export declare enum VerificationStatus {
|
|
|
375
375
|
ENTERED = "entered",
|
|
376
376
|
NOT_ENTERED = "not_entered"
|
|
377
377
|
}
|
|
378
|
-
export type BankDataStatus = {
|
|
378
|
+
export declare type BankDataStatus = {
|
|
379
379
|
iban: FieldType;
|
|
380
380
|
account_number: FieldType;
|
|
381
381
|
swift_code: FieldType;
|
|
@@ -384,7 +384,7 @@ export type BankDataStatus = {
|
|
|
384
384
|
bank_statement_file_id: FieldType;
|
|
385
385
|
is_acknowledged: FieldType;
|
|
386
386
|
};
|
|
387
|
-
export type EntityDataStatus = {
|
|
387
|
+
export declare type EntityDataStatus = {
|
|
388
388
|
type: FieldType;
|
|
389
389
|
'license.status': FieldType;
|
|
390
390
|
'license.provider': FieldType;
|
|
@@ -413,7 +413,7 @@ export type EntityDataStatus = {
|
|
|
413
413
|
billing_address: FieldType;
|
|
414
414
|
AOA_file_id: FieldType;
|
|
415
415
|
};
|
|
416
|
-
export type IndividualDataStatus = {
|
|
416
|
+
export declare type IndividualDataStatus = {
|
|
417
417
|
status: FieldType;
|
|
418
418
|
'name.en': FieldType;
|
|
419
419
|
'name.ar': FieldType;
|
|
@@ -439,7 +439,7 @@ export type IndividualDataStatus = {
|
|
|
439
439
|
is_influencer: FieldType;
|
|
440
440
|
gender: FieldType;
|
|
441
441
|
};
|
|
442
|
-
export type BrandDataStatus = {
|
|
442
|
+
export declare type BrandDataStatus = {
|
|
443
443
|
status: FieldType;
|
|
444
444
|
'name.en': FieldType;
|
|
445
445
|
'name.ar': FieldType;
|
|
@@ -511,7 +511,7 @@ export interface ActivitiesIsIc {
|
|
|
511
511
|
created: string;
|
|
512
512
|
divisions?: Array<ActivityDivision>;
|
|
513
513
|
}
|
|
514
|
-
export type BankDataVerification = {
|
|
514
|
+
export declare type BankDataVerification = {
|
|
515
515
|
account_number: string;
|
|
516
516
|
bank_name: string;
|
|
517
517
|
bank_statement_file_id: string;
|
|
@@ -521,7 +521,7 @@ export type BankDataVerification = {
|
|
|
521
521
|
is_acknowledged: string;
|
|
522
522
|
swift_code: string;
|
|
523
523
|
};
|
|
524
|
-
export type BrandDataVerification = {
|
|
524
|
+
export declare type BrandDataVerification = {
|
|
525
525
|
logo: string;
|
|
526
526
|
'name.en': string;
|
|
527
527
|
'name.ar': string;
|
|
@@ -536,7 +536,7 @@ export type BrandDataVerification = {
|
|
|
536
536
|
'segment.type': string;
|
|
537
537
|
terms: string;
|
|
538
538
|
};
|
|
539
|
-
export type EntityDataVerification = {
|
|
539
|
+
export declare type EntityDataVerification = {
|
|
540
540
|
AOA_file_id: string;
|
|
541
541
|
billing_address: string;
|
|
542
542
|
'capital.announced': string;
|
|
@@ -563,7 +563,7 @@ export type EntityDataVerification = {
|
|
|
563
563
|
taxable: string;
|
|
564
564
|
type: string;
|
|
565
565
|
};
|
|
566
|
-
export type IndividualDataVerification = {
|
|
566
|
+
export declare type IndividualDataVerification = {
|
|
567
567
|
'birth.city': string;
|
|
568
568
|
'birth.country': string;
|
|
569
569
|
'birth.date': string;
|
|
@@ -604,7 +604,7 @@ export interface CountryTrackingData extends CommonDataLayer {
|
|
|
604
604
|
export interface LeadIdentificationData extends CommonDataLayer {
|
|
605
605
|
lead_ID?: string;
|
|
606
606
|
}
|
|
607
|
-
export type VerifyExpressTokenParams = {
|
|
607
|
+
export declare type VerifyExpressTokenParams = {
|
|
608
608
|
public_key: string;
|
|
609
609
|
post: {
|
|
610
610
|
url: string;
|
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, City, EntityLicense } from './app';
|
|
2
|
-
export type MobileFormValues = {
|
|
2
|
+
export declare type MobileFormValues = {
|
|
3
3
|
mobile: string;
|
|
4
4
|
countryCode: CountryCode;
|
|
5
5
|
termAndConditionChecked?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export type EmailFormValues = {
|
|
7
|
+
export declare type EmailFormValues = {
|
|
8
8
|
email: string | null;
|
|
9
9
|
};
|
|
10
|
-
export type OTPFormValues = {
|
|
10
|
+
export declare type OTPFormValues = {
|
|
11
11
|
otp: string;
|
|
12
12
|
};
|
|
13
|
-
export type PasswordFormValues = {
|
|
13
|
+
export declare type PasswordFormValues = {
|
|
14
14
|
password: string;
|
|
15
15
|
};
|
|
16
|
-
export type NIDFormValues = {
|
|
16
|
+
export declare type NIDFormValues = {
|
|
17
17
|
nid: string;
|
|
18
18
|
dob: string;
|
|
19
19
|
termAndConditionChecked?: boolean;
|
|
20
20
|
};
|
|
21
|
-
export type CivilFormValues = {
|
|
21
|
+
export declare type CivilFormValues = {
|
|
22
22
|
civilId: string;
|
|
23
23
|
termAndConditionChecked?: boolean;
|
|
24
24
|
};
|
|
25
|
-
export type IndividualFormValues = {
|
|
25
|
+
export declare type IndividualFormValues = {
|
|
26
26
|
name: string;
|
|
27
27
|
email: string;
|
|
28
28
|
mobile: string | null;
|
|
29
29
|
countryCode: CountryCode;
|
|
30
30
|
};
|
|
31
|
-
export type BrandFormValues = {
|
|
31
|
+
export declare type BrandFormValues = {
|
|
32
32
|
brandName: string;
|
|
33
33
|
brandLogoId?: string;
|
|
34
34
|
segment?: Segment | undefined;
|
|
@@ -37,7 +37,7 @@ export type BrandFormValues = {
|
|
|
37
37
|
termAndConditionChecked?: boolean;
|
|
38
38
|
selectedBrandItem: BrandInfo;
|
|
39
39
|
};
|
|
40
|
-
export type BrandActivitiesFormValues = {
|
|
40
|
+
export declare type BrandActivitiesFormValues = {
|
|
41
41
|
activities: Array<Activity>;
|
|
42
42
|
customerLocations: Array<CustomerLocation>;
|
|
43
43
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
@@ -46,7 +46,7 @@ export type BrandActivitiesFormValues = {
|
|
|
46
46
|
refundPolicy: boolean;
|
|
47
47
|
transactionPolicy: boolean;
|
|
48
48
|
};
|
|
49
|
-
export type BusinessTypeFormValues = {
|
|
49
|
+
export declare type BusinessTypeFormValues = {
|
|
50
50
|
licenseNumber: string;
|
|
51
51
|
entityLegalName?: string;
|
|
52
52
|
selectedEntityLicense?: EntityLicense;
|
|
@@ -54,18 +54,18 @@ export type BusinessTypeFormValues = {
|
|
|
54
54
|
certificateId?: Array<string>;
|
|
55
55
|
articleId?: string;
|
|
56
56
|
};
|
|
57
|
-
export type ActivitiesFormValues = {
|
|
57
|
+
export declare type ActivitiesFormValues = {
|
|
58
58
|
activities: Array<Activity> | undefined;
|
|
59
59
|
operationStartDate: string;
|
|
60
60
|
};
|
|
61
|
-
export type CustomersFormValues = {
|
|
61
|
+
export declare type CustomersFormValues = {
|
|
62
62
|
customerLocations: Array<CustomerLocation>;
|
|
63
63
|
expectedCustomer: ExpectedCustomer | undefined;
|
|
64
64
|
expectedSale: ExpectedSaleRange | undefined;
|
|
65
65
|
refundPolicy: boolean;
|
|
66
66
|
transactionPolicy: boolean;
|
|
67
67
|
};
|
|
68
|
-
export type BankFormValues = {
|
|
68
|
+
export declare type BankFormValues = {
|
|
69
69
|
iban: string;
|
|
70
70
|
beneficiaryName: string;
|
|
71
71
|
bankName: string;
|
|
@@ -73,7 +73,7 @@ export type BankFormValues = {
|
|
|
73
73
|
uploading?: boolean;
|
|
74
74
|
confirmPolicy: boolean;
|
|
75
75
|
};
|
|
76
|
-
export type TaxFormValues = {
|
|
76
|
+
export declare type TaxFormValues = {
|
|
77
77
|
vatId: string;
|
|
78
78
|
confirmPolicy: boolean;
|
|
79
79
|
documentId?: Array<string>;
|
|
@@ -106,17 +106,17 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
106
106
|
shareCount: string;
|
|
107
107
|
shareValue: string;
|
|
108
108
|
}
|
|
109
|
-
export type IndividualAttachmentsFormValues = {
|
|
109
|
+
export declare type IndividualAttachmentsFormValues = {
|
|
110
110
|
civilID?: Array<string>;
|
|
111
111
|
signatureFileId?: Array<string>;
|
|
112
112
|
civilIDUploading?: boolean;
|
|
113
113
|
signatureFileUploading?: boolean;
|
|
114
114
|
};
|
|
115
|
-
export type PasswordCreateFormValues = {
|
|
115
|
+
export declare type PasswordCreateFormValues = {
|
|
116
116
|
password: string;
|
|
117
117
|
confirmPassword: string;
|
|
118
118
|
};
|
|
119
|
-
export type EntityNameFormValues = {
|
|
119
|
+
export declare type EntityNameFormValues = {
|
|
120
120
|
legalName: string;
|
|
121
121
|
licenseNumber: string;
|
|
122
122
|
licenseType: string;
|
|
@@ -127,13 +127,13 @@ export type EntityNameFormValues = {
|
|
|
127
127
|
certificateId?: Array<string>;
|
|
128
128
|
articleId?: string;
|
|
129
129
|
};
|
|
130
|
-
export type EntityCapitalFormValues = {
|
|
130
|
+
export declare type EntityCapitalFormValues = {
|
|
131
131
|
activities: Array<Activity>;
|
|
132
132
|
capitalPaid: string;
|
|
133
133
|
capitalShareCount: string;
|
|
134
134
|
capitalShareValue: string;
|
|
135
135
|
};
|
|
136
|
-
export type BusinessDataFormValues = {
|
|
136
|
+
export declare type BusinessDataFormValues = {
|
|
137
137
|
brandName: string;
|
|
138
138
|
licenseNumber: string;
|
|
139
139
|
selectedLicense?: License;
|
package/build/@types/theme.d.ts
CHANGED
package/build/api/account.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type CreateAccountBody = {
|
|
1
|
+
export declare type CreateAccountBody = {
|
|
2
2
|
lead_id: string;
|
|
3
3
|
notify: {
|
|
4
4
|
email: boolean;
|
|
@@ -8,7 +8,7 @@ export type CreateAccountBody = {
|
|
|
8
8
|
is_acknowledged: boolean;
|
|
9
9
|
step_name: string;
|
|
10
10
|
};
|
|
11
|
-
export type ExpressCreateAccountBody = {
|
|
11
|
+
export declare 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 type MobileCredential = {
|
|
3
|
+
export declare type MobileCredential = {
|
|
4
4
|
code: string;
|
|
5
5
|
phone: string;
|
|
6
6
|
};
|
|
7
|
-
export type EmailCredential = {
|
|
7
|
+
export declare type EmailCredential = {
|
|
8
8
|
email: string;
|
|
9
9
|
};
|
|
10
|
-
export type IDCredential = {
|
|
10
|
+
export declare 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 type CivilID = {
|
|
16
|
+
export declare type CivilID = {
|
|
17
17
|
identification_id: string;
|
|
18
18
|
country_code: string;
|
|
19
19
|
};
|
|
20
|
-
export type CreateAuthBody = {
|
|
20
|
+
export declare type CreateAuthBody = {
|
|
21
21
|
country: string;
|
|
22
22
|
scope: string;
|
|
23
23
|
user_credentail: MobileCredential | EmailCredential | IDCredential | CivilID;
|
|
@@ -30,7 +30,7 @@ export type CreateAuthBody = {
|
|
|
30
30
|
lang?: LanguageMode;
|
|
31
31
|
lead_id?: string;
|
|
32
32
|
};
|
|
33
|
-
export type VerifyAuthBody = {
|
|
33
|
+
export declare type VerifyAuthBody = {
|
|
34
34
|
auth_token: string;
|
|
35
35
|
auth_type: number;
|
|
36
36
|
data: string;
|
|
@@ -42,28 +42,28 @@ export type VerifyAuthBody = {
|
|
|
42
42
|
encryption_contract: Array<string>;
|
|
43
43
|
remember_me?: boolean;
|
|
44
44
|
};
|
|
45
|
-
export type VerifyOperationAuthBody = {
|
|
45
|
+
export declare type VerifyOperationAuthBody = {
|
|
46
46
|
auth_token: string;
|
|
47
47
|
auth_type: number;
|
|
48
48
|
};
|
|
49
|
-
export type ResetPasswordCredential = {
|
|
49
|
+
export declare type ResetPasswordCredential = {
|
|
50
50
|
otp: string;
|
|
51
51
|
new_password: string;
|
|
52
52
|
};
|
|
53
|
-
export type ResetPasswordVerifyAuthBody = {
|
|
53
|
+
export declare 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 type CreatePasswordBody = {
|
|
60
|
+
export declare 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 type VerifyAuthExpressOTPBody = {
|
|
66
|
+
export declare 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 type CheckEmailBody = {
|
|
2
|
+
export declare type CheckEmailBody = {
|
|
3
3
|
email: string | null;
|
|
4
4
|
encryption_contract: Array<string>;
|
|
5
5
|
};
|
|
6
|
-
export type CheckBrandBody = {
|
|
6
|
+
export declare type CheckBrandBody = {
|
|
7
7
|
profile_name: string;
|
|
8
8
|
country_code: string;
|
|
9
9
|
encryption_contract: Array<string>;
|
|
10
10
|
};
|
|
11
|
-
export type CheckIBanBody = {
|
|
11
|
+
export declare 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 (
|
|
16
|
+
while (_) 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 type UpdateBoardBody = {
|
|
1
|
+
export declare 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 type RetrieveBoardInfoBody = {
|
|
8
|
+
export declare type RetrieveBoardInfoBody = {
|
|
9
9
|
id: string;
|
|
10
10
|
infoId: string;
|
|
11
11
|
};
|
|
12
|
-
export type UpdateBoardInfoBody = {
|
|
12
|
+
export declare type UpdateBoardInfoBody = {
|
|
13
13
|
id: string;
|
|
14
14
|
infoId: string;
|
|
15
15
|
step_name: string;
|
package/build/api/brand.d.ts
CHANGED
package/build/api/country.d.ts
CHANGED
package/build/api/data.d.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
type GetOccupationBody = {
|
|
2
|
+
declare type GetOccupationBody = {
|
|
3
3
|
page: number;
|
|
4
4
|
};
|
|
5
|
-
type GetSegmentsBody = {
|
|
5
|
+
declare type GetSegmentsBody = {
|
|
6
6
|
page: number;
|
|
7
7
|
};
|
|
8
|
-
type GetTeamSizeBody = {
|
|
8
|
+
declare type GetTeamSizeBody = {
|
|
9
9
|
page: number;
|
|
10
10
|
};
|
|
11
|
-
type GetMonthlyIncomeBody = {
|
|
11
|
+
declare type GetMonthlyIncomeBody = {
|
|
12
12
|
page: number;
|
|
13
13
|
country_code: Array<string>;
|
|
14
14
|
};
|
|
15
|
-
export type DataElementBody = {
|
|
15
|
+
export declare type DataElementBody = {
|
|
16
16
|
id: string;
|
|
17
17
|
name: {
|
|
18
18
|
en: string;
|
|
19
19
|
ar: string;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
type GetCustomerBasesBody = {
|
|
22
|
+
declare type GetCustomerBasesBody = {
|
|
23
23
|
page: number;
|
|
24
24
|
};
|
|
25
|
-
type GetExpectedSalesBody = {
|
|
25
|
+
declare type GetExpectedSalesBody = {
|
|
26
26
|
page: number;
|
|
27
27
|
};
|
|
28
|
-
type GetExpectedCustomerSalesBody = {
|
|
28
|
+
declare type GetExpectedCustomerSalesBody = {
|
|
29
29
|
page: number;
|
|
30
30
|
};
|
|
31
|
-
type GetSourceOfIncomeBody = {
|
|
31
|
+
declare type GetSourceOfIncomeBody = {
|
|
32
32
|
page: number;
|
|
33
33
|
};
|
|
34
|
-
type GetChannelsOfServicesBody = {
|
|
34
|
+
declare type GetChannelsOfServicesBody = {
|
|
35
35
|
page: number;
|
|
36
36
|
};
|
|
37
37
|
declare const dataService: {
|
package/build/api/document.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type DocumentInfo = {
|
|
1
|
+
export declare type DocumentInfo = {
|
|
2
2
|
type?: string;
|
|
3
3
|
number?: string;
|
|
4
4
|
issuing_country?: string;
|
|
@@ -6,7 +6,7 @@ export type DocumentInfo = {
|
|
|
6
6
|
expiry_date?: string;
|
|
7
7
|
images: Array<string>;
|
|
8
8
|
};
|
|
9
|
-
export type DocumentUpdateBody = {
|
|
9
|
+
export declare type DocumentUpdateBody = {
|
|
10
10
|
entity_id?: boolean;
|
|
11
11
|
individual_type_id?: number;
|
|
12
12
|
country?: string;
|
package/build/api/entity.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
export type EntityInfoBody = {
|
|
2
|
+
export declare type EntityInfoBody = {
|
|
3
3
|
id: string;
|
|
4
4
|
lead_id?: string;
|
|
5
5
|
activities?: Array<{
|
|
@@ -34,7 +34,7 @@ export type EntityInfoBody = {
|
|
|
34
34
|
encryption_contract?: Array<string>;
|
|
35
35
|
vat_acknowledged_by?: string;
|
|
36
36
|
};
|
|
37
|
-
export type BankDocumentInfo = {
|
|
37
|
+
export declare type BankDocumentInfo = {
|
|
38
38
|
type?: string;
|
|
39
39
|
number?: string;
|
|
40
40
|
issuing_country?: string;
|
|
@@ -42,7 +42,7 @@ export type BankDocumentInfo = {
|
|
|
42
42
|
expiry_date?: string;
|
|
43
43
|
files: Array<string>;
|
|
44
44
|
};
|
|
45
|
-
export type EntityBankUpdateBody = {
|
|
45
|
+
export declare type EntityBankUpdateBody = {
|
|
46
46
|
wallet_id: string;
|
|
47
47
|
acknowledged_by?: string;
|
|
48
48
|
bank_account: {
|
|
@@ -58,7 +58,7 @@ export type EntityBankUpdateBody = {
|
|
|
58
58
|
step_name: string;
|
|
59
59
|
encryption_contract?: Array<string>;
|
|
60
60
|
};
|
|
61
|
-
export type UpdateEntityBody = {
|
|
61
|
+
export declare type UpdateEntityBody = {
|
|
62
62
|
id: string;
|
|
63
63
|
license?: {
|
|
64
64
|
type?: string;
|
|
@@ -88,13 +88,13 @@ export type UpdateEntityBody = {
|
|
|
88
88
|
};
|
|
89
89
|
encryption_contract?: Array<string>;
|
|
90
90
|
};
|
|
91
|
-
export type UpdateEntityActivityBody = {
|
|
91
|
+
export declare type UpdateEntityActivityBody = {
|
|
92
92
|
id: string;
|
|
93
93
|
activities?: Array<{
|
|
94
94
|
id: string;
|
|
95
95
|
}>;
|
|
96
96
|
};
|
|
97
|
-
export type UpdateEntityCapitalBody = {
|
|
97
|
+
export declare type UpdateEntityCapitalBody = {
|
|
98
98
|
id: string;
|
|
99
99
|
capital: {
|
|
100
100
|
paid: string;
|
|
@@ -104,11 +104,11 @@ export type UpdateEntityCapitalBody = {
|
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
};
|
|
107
|
-
export type UpdateEntityAOAFileBody = {
|
|
107
|
+
export declare type UpdateEntityAOAFileBody = {
|
|
108
108
|
id: string;
|
|
109
109
|
AOA_file_id: string;
|
|
110
110
|
};
|
|
111
|
-
export type RemoveEntityActivity = {
|
|
111
|
+
export declare type RemoveEntityActivity = {
|
|
112
112
|
id: string;
|
|
113
113
|
activities?: Array<{
|
|
114
114
|
id: string;
|
package/build/api/file.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DocumentInfo } from './document';
|
|
2
|
-
export type BrandListBody = {
|
|
2
|
+
export declare type BrandListBody = {
|
|
3
3
|
individual_id: string;
|
|
4
4
|
};
|
|
5
|
-
export type UpdateBrandBody = {
|
|
5
|
+
export declare type UpdateBrandBody = {
|
|
6
6
|
id: string;
|
|
7
7
|
name?: {
|
|
8
8
|
en?: string;
|
|
@@ -65,14 +65,14 @@ export type UpdateBrandBody = {
|
|
|
65
65
|
encryption_contract?: Array<string>;
|
|
66
66
|
term_by?: string;
|
|
67
67
|
};
|
|
68
|
-
export type UpdateSalesChannels = {
|
|
68
|
+
export declare type UpdateSalesChannels = {
|
|
69
69
|
id?: string;
|
|
70
70
|
channel_services: Array<{
|
|
71
71
|
id: string;
|
|
72
72
|
address: string;
|
|
73
73
|
}>;
|
|
74
74
|
};
|
|
75
|
-
export type UpdateIndividualBody = {
|
|
75
|
+
export declare type UpdateIndividualBody = {
|
|
76
76
|
names?: {
|
|
77
77
|
en?: {
|
|
78
78
|
title?: string;
|
|
@@ -139,7 +139,7 @@ export interface UpdateIndividualWithTypeBody extends UpdateIndividualBody {
|
|
|
139
139
|
export interface UpdateMultipleIndividualBody extends UpdateIndividualBody {
|
|
140
140
|
ids: Array<string>;
|
|
141
141
|
}
|
|
142
|
-
export type GetIndividualListBody = {
|
|
142
|
+
export declare type GetIndividualListBody = {
|
|
143
143
|
page: number;
|
|
144
144
|
limit: number;
|
|
145
145
|
business_id: string;
|
package/build/api/init.d.ts
CHANGED
package/build/api/lead.d.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { AxiosRequestConfig } from 'axios';
|
|
2
2
|
import { LanguageMode } from '../@types';
|
|
3
|
-
type Name = {
|
|
3
|
+
declare type Name = {
|
|
4
4
|
title?: string;
|
|
5
5
|
first?: string;
|
|
6
6
|
middle?: string;
|
|
7
7
|
last?: string;
|
|
8
8
|
};
|
|
9
|
-
type Contact = {
|
|
9
|
+
declare type Contact = {
|
|
10
10
|
email?: string;
|
|
11
11
|
phone?: {
|
|
12
12
|
country_code?: string;
|
|
13
13
|
number?: string;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
type BusinessName = {
|
|
16
|
+
declare type BusinessName = {
|
|
17
17
|
en?: string;
|
|
18
18
|
ar?: string;
|
|
19
19
|
};
|
|
20
|
-
type BrandTitle = {
|
|
20
|
+
declare type BrandTitle = {
|
|
21
21
|
en?: string;
|
|
22
22
|
ar?: string;
|
|
23
23
|
zh?: string;
|
|
24
24
|
};
|
|
25
|
-
type BrandContent = {
|
|
25
|
+
declare type BrandContent = {
|
|
26
26
|
tag_line?: BrandTitle;
|
|
27
27
|
about?: BrandTitle;
|
|
28
28
|
};
|
|
29
|
-
type BrandInfo = {
|
|
29
|
+
declare type BrandInfo = {
|
|
30
30
|
id?: string;
|
|
31
31
|
name?: BrandTitle;
|
|
32
32
|
sector?: Array<string>;
|
|
@@ -35,7 +35,7 @@ type BrandInfo = {
|
|
|
35
35
|
logo?: string;
|
|
36
36
|
content?: BrandContent;
|
|
37
37
|
};
|
|
38
|
-
export type UpdateLeadBody = {
|
|
38
|
+
export declare type UpdateLeadBody = {
|
|
39
39
|
step_name?: string;
|
|
40
40
|
id: string;
|
|
41
41
|
encryption_contract?: Array<string>;
|
|
@@ -67,11 +67,11 @@ export type UpdateLeadBody = {
|
|
|
67
67
|
team: string;
|
|
68
68
|
};
|
|
69
69
|
};
|
|
70
|
-
export type LeadVerifyBody = {
|
|
70
|
+
export declare type LeadVerifyBody = {
|
|
71
71
|
verify_token: string;
|
|
72
72
|
service_name: string;
|
|
73
73
|
};
|
|
74
|
-
export type ExpressLeadVerifyBody = {
|
|
74
|
+
export declare type ExpressLeadVerifyBody = {
|
|
75
75
|
token: string;
|
|
76
76
|
};
|
|
77
77
|
export interface LeadOTPVerifyBody extends LeadVerifyBody {
|
|
@@ -79,11 +79,11 @@ export interface LeadOTPVerifyBody extends LeadVerifyBody {
|
|
|
79
79
|
step_name: string;
|
|
80
80
|
encryption_contract: Array<string>;
|
|
81
81
|
}
|
|
82
|
-
export type CreateLeadBody = {
|
|
82
|
+
export declare type CreateLeadBody = {
|
|
83
83
|
individual_id: string;
|
|
84
84
|
country_code: string;
|
|
85
85
|
};
|
|
86
|
-
export type LeadIdentityUpdateBody = {
|
|
86
|
+
export declare type LeadIdentityUpdateBody = {
|
|
87
87
|
id: string;
|
|
88
88
|
identification: {
|
|
89
89
|
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 (
|
|
16
|
+
while (_) 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]) {
|