@tap-payments/auth-jsconnect 2.0.45 → 2.0.46
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 +47 -2
- package/build/@types/app.js +22 -0
- package/build/@types/form.d.ts +19 -1
- package/build/@types/index.d.ts +1 -0
- package/build/@types/index.js +1 -0
- package/build/@types/user.d.ts +141 -0
- package/build/@types/user.js +1 -0
- package/build/api/board.d.ts +16 -0
- package/build/api/board.js +10 -1
- package/build/api/country.d.ts +4 -0
- package/build/api/country.js +9 -1
- package/build/api/entity.d.ts +3 -3
- package/build/api/index.d.ts +8 -3
- package/build/api/individual.d.ts +54 -4
- package/build/api/individual.js +9 -1
- package/build/api/user.d.ts +6 -0
- package/build/api/user.js +9 -1
- package/build/app/settings.js +11 -8
- package/build/assets/locales/ar.json +28 -2
- package/build/assets/locales/en.json +28 -1
- package/build/components/SimpleList/SimpleList.d.ts +2 -0
- package/build/constants/api.d.ts +1 -0
- package/build/constants/api.js +3 -1
- package/build/constants/app.d.ts +1 -0
- package/build/constants/app.js +20 -7
- package/build/constants/assets.d.ts +4 -0
- package/build/constants/assets.js +4 -0
- package/build/features/app/bank/bankStore.d.ts +1 -0
- package/build/features/app/bank/bankStore.js +19 -13
- package/build/features/app/brand/brandStore.d.ts +2 -0
- package/build/features/app/brand/brandStore.js +69 -49
- package/build/features/app/business/businessStore.js +3 -3
- package/build/features/app/connect/connectStore.js +6 -6
- package/build/features/app/connectExpress/connectExpressStore.js +15 -9
- package/build/features/app/entity/entityStore.d.ts +2 -0
- package/build/features/app/entity/entityStore.js +5 -3
- package/build/features/app/individual/individualStore.d.ts +93 -4
- package/build/features/app/individual/individualStore.js +613 -129
- package/build/features/app/password/passwordStore.js +2 -2
- package/build/features/app/tax/taxStore.js +30 -29
- package/build/features/bank/Bank.js +2 -2
- package/build/features/bank/screens/BankDetails/BankDetails.js +8 -7
- package/build/features/bank/screens/BankDetails/BankName.js +13 -10
- package/build/features/bank/screens/BankDetails/BankStatement.js +8 -2
- package/build/features/bank/screens/BankDetails/Beneficiary.js +12 -13
- package/build/features/bank/screens/BankDetails/IBAN.js +14 -10
- package/build/features/bank/screens/BankDetails/validation.d.ts +14 -14
- package/build/features/bank/screens/BankDetails/validation.js +34 -15
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/brand/Brand.js +2 -2
- package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +3 -3
- package/build/features/brand/screens/BrandActivities/ActivitiesList.js +8 -6
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +12 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +2 -2
- package/build/features/brand/screens/BrandActivities/CustomerBase.js +9 -6
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +10 -7
- package/build/features/brand/screens/BrandActivities/validation.d.ts +7 -7
- package/build/features/brand/screens/BrandActivities/validation.js +26 -15
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +11 -4
- package/build/features/brand/screens/BrandInfo/BrandName.js +13 -12
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +21 -9
- package/build/features/brand/screens/BrandInfo/validation.d.ts +7 -7
- package/build/features/brand/screens/BrandInfo/validation.js +46 -36
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/business/Business.js +2 -2
- package/build/features/business/screens/Activities/ActivitiesList.d.ts +3 -3
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +2 -1
- package/build/features/business/screens/BusinessType/LicenseType.d.ts +2 -2
- package/build/features/business/screens/Customers/CustomerLocations.d.ts +2 -2
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/connect/Connect.js +2 -2
- package/build/features/connect/screens/Merchant/BrandList.js +4 -4
- package/build/features/connect/screens/Merchant/BrandName.js +6 -5
- package/build/features/connect/screens/Merchant/validation.js +2 -2
- package/build/features/connectExpress/ConnectExpress.js +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/BrandName.js +1 -3
- package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseType.d.ts +2 -2
- package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +5 -5
- package/build/features/connectExpress/screens/CreateAccountLoader/CreateAccountLoader.js +23 -3
- package/build/features/connectExpress/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -3
- package/build/features/entity/Entity.js +2 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +3 -3
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +3 -3
- package/build/features/entity/screens/EntityName/LicenseCertificate.js +9 -3
- package/build/features/entity/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/featuresScreens.js +10 -0
- package/build/features/individual/Individual.js +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.d.ts +13 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/AdditionalIndividualInfo.js +48 -25
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +6 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/InfluencerSwitch.js +9 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +11 -17
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +12 -16
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.d.ts +2 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/PEPSwitch.js +9 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.d.ts +6 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareCount.js +35 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.d.ts +6 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +41 -0
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +8 -2
- package/build/features/individual/screens/AdditionalIndividualInfo/SourceOfIncome.js +9 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +25 -23
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +19 -25
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.d.ts +10 -0
- package/build/features/individual/screens/IndividualList/CollectPhoneEmail.js +31 -0
- package/build/features/individual/screens/IndividualList/Email.d.ts +6 -0
- package/build/features/individual/screens/IndividualList/Email.js +48 -0
- package/build/features/individual/screens/IndividualList/IndividualList.d.ts +31 -0
- package/build/features/individual/screens/IndividualList/IndividualList.js +58 -0
- package/build/features/individual/screens/IndividualList/MobileNumber.d.ts +12 -0
- package/build/features/individual/screens/IndividualList/MobileNumber.js +143 -0
- package/build/features/individual/screens/IndividualList/UserList.d.ts +5 -0
- package/build/features/individual/screens/IndividualList/UserList.js +186 -0
- package/build/features/individual/screens/IndividualList/index.d.ts +3 -0
- package/build/features/individual/screens/IndividualList/index.js +2 -0
- package/build/features/individual/screens/IndividualList/validation.d.ts +12 -0
- package/build/features/individual/screens/IndividualList/validation.js +39 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.d.ts +8 -0
- package/build/features/individual/screens/IndividualPersonalInfo/BirthCity.js +109 -0
- package/build/features/individual/screens/{AdditionalIndividualInfo/EmployerLocation.d.ts → IndividualPersonalInfo/BirthCountry.d.ts} +2 -2
- package/build/features/individual/screens/{AdditionalIndividualInfo/EmployerLocation.js → IndividualPersonalInfo/BirthCountry.js} +14 -24
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.d.ts +7 -0
- package/build/features/individual/screens/IndividualPersonalInfo/DOB.js +46 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Email.d.ts +6 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Email.js +50 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.d.ts +7 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ExpiryDate.js +50 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.d.ts +34 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Gender.js +81 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ID.d.ts +6 -0
- package/build/features/individual/screens/IndividualPersonalInfo/ID.js +48 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.d.ts +21 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IndividualPersonalInfo.js +139 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.d.ts +10 -0
- package/build/features/individual/screens/IndividualPersonalInfo/IssuedCountry.js +88 -0
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.d.ts +10 -0
- package/build/features/individual/screens/IndividualPersonalInfo/MobileNumber.js +145 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Name.d.ts +6 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Name.js +52 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.d.ts +10 -0
- package/build/features/individual/screens/IndividualPersonalInfo/Nationality.js +88 -0
- package/build/features/individual/screens/IndividualPersonalInfo/index.d.ts +3 -0
- package/build/features/individual/screens/IndividualPersonalInfo/index.js +2 -0
- package/build/features/individual/screens/IndividualPersonalInfo/validation.d.ts +38 -0
- package/build/features/individual/screens/IndividualPersonalInfo/validation.js +68 -0
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/individual/screens/Verify/Verify.js +10 -17
- package/build/features/password/Password.js +2 -2
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/shared/Address/Address.d.ts +6 -1
- package/build/features/shared/Address/Address.js +40 -30
- package/build/features/shared/Address/CountryList.d.ts +1 -1
- package/build/features/shared/Address/InputSelect.d.ts +1 -1
- package/build/features/shared/Address/InputText.d.ts +2 -1
- package/build/features/shared/Address/InputText.js +2 -2
- package/build/features/shared/Button/Button.js +11 -0
- package/build/features/shared/Button/FlowsButtons.d.ts +1 -0
- package/build/features/shared/Button/FlowsButtons.js +5 -5
- package/build/features/shared/Button/ListButton.d.ts +18 -0
- package/build/features/shared/Button/ListButton.js +125 -0
- package/build/features/shared/Button/index.d.ts +2 -1
- package/build/features/shared/Button/index.js +2 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.d.ts +2 -1
- package/build/features/shared/CreateAccountLoading/CreateAccountLoading.js +2 -2
- package/build/features/shared/SalesChannels/SalesChannel.d.ts +2 -1
- package/build/features/shared/SalesChannels/SalesChannel.js +2 -2
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.d.ts +2 -1
- package/build/features/shared/SuccessFlowButtons/SuccessFlowButtons.js +8 -6
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.d.ts +6 -1
- package/build/features/shared/UploadMultipleFile/UploadMultipleFile.js +33 -11
- package/build/features/signIn/SignIn.js +2 -2
- package/build/features/tax/Tax.js +2 -2
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +2 -2
- package/build/features/tax/screens/TaxDetails/TaxDetails.js +2 -1
- package/build/features/tax/screens/TaxDetails/TaxDocument.js +8 -2
- package/build/features/tax/screens/TaxDetails/VATId.js +8 -3
- package/build/features/tax/screens/TaxDetails/validation.d.ts +4 -4
- package/build/features/tax/screens/TaxDetails/validation.js +10 -5
- package/build/utils/array.d.ts +1 -0
- package/build/utils/array.js +10 -2
- package/build/utils/common.d.ts +1 -0
- package/build/utils/common.js +6 -0
- package/build/utils/date.d.ts +1 -0
- package/build/utils/date.js +7 -1
- package/build/utils/error.d.ts +1 -0
- package/build/utils/error.js +3 -0
- package/build/utils/html.d.ts +1 -1
- package/build/utils/html.js +4 -1
- package/build/utils/index.d.ts +1 -0
- package/build/utils/index.js +1 -0
- package/build/utils/string.d.ts +15 -2
- package/build/utils/string.js +37 -3
- package/build/utils/validation.d.ts +1 -0
- package/build/utils/validation.js +3 -0
- package/package.json +129 -129
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.d.ts +0 -6
- package/build/features/individual/screens/AdditionalIndividualInfo/EmployerName.js +0 -46
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.d.ts +0 -19
- package/build/features/individual/screens/ShowIndividualInfo/ShowOwnerInfo.js +0 -52
- package/build/features/individual/screens/ShowIndividualInfo/index.d.ts +0 -3
- package/build/features/individual/screens/ShowIndividualInfo/index.js +0 -2
- package/build/features/individual/screens/ShowIndividualInfo/info.d.ts +0 -7
- package/build/features/individual/screens/ShowIndividualInfo/info.js +0 -28
package/build/@types/app.d.ts
CHANGED
|
@@ -26,6 +26,19 @@ export interface CountryCode {
|
|
|
26
26
|
digits: number;
|
|
27
27
|
supported_by_tap: boolean;
|
|
28
28
|
}
|
|
29
|
+
export interface City {
|
|
30
|
+
id: string;
|
|
31
|
+
country: string;
|
|
32
|
+
name: {
|
|
33
|
+
id: string;
|
|
34
|
+
en: string;
|
|
35
|
+
};
|
|
36
|
+
state: string;
|
|
37
|
+
un_locode: string;
|
|
38
|
+
coordinates: {
|
|
39
|
+
longitude: string;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
29
42
|
export interface BusinessCountry {
|
|
30
43
|
name: string;
|
|
31
44
|
code: string;
|
|
@@ -228,8 +241,12 @@ export interface LocalProps {
|
|
|
228
241
|
}
|
|
229
242
|
export type BrandInfo = {
|
|
230
243
|
segment?: {
|
|
231
|
-
type:
|
|
232
|
-
|
|
244
|
+
type: {
|
|
245
|
+
id: string;
|
|
246
|
+
};
|
|
247
|
+
team: {
|
|
248
|
+
id: string;
|
|
249
|
+
};
|
|
233
250
|
};
|
|
234
251
|
id: string;
|
|
235
252
|
name: {
|
|
@@ -296,4 +313,32 @@ export interface TermsProps {
|
|
|
296
313
|
term: string;
|
|
297
314
|
agree: boolean;
|
|
298
315
|
}
|
|
316
|
+
export declare enum IndividualGender {
|
|
317
|
+
MALE = "m",
|
|
318
|
+
FEMALE = "f"
|
|
319
|
+
}
|
|
320
|
+
export declare enum IndividualType {
|
|
321
|
+
USER = "user",
|
|
322
|
+
SHARE_HOLDER = "shareholder",
|
|
323
|
+
BOARD_MEMBER = "board_member",
|
|
324
|
+
CUSTOMER = "customer",
|
|
325
|
+
BUYER = "buyer"
|
|
326
|
+
}
|
|
327
|
+
export declare enum DocumentPurpose {
|
|
328
|
+
CR = "commercial_registration",
|
|
329
|
+
ARTICLE_ASSOCIATION = "article_of_association",
|
|
330
|
+
BANK_STATEMENT = "bank_statement",
|
|
331
|
+
IDENTITY_DOCUMENT = "identity_document",
|
|
332
|
+
CUSTOMER_SIGNATURE = "customer_signature",
|
|
333
|
+
TAX_DOCUMENT = "tax_document_user_upload"
|
|
334
|
+
}
|
|
335
|
+
export type FileDetails = {
|
|
336
|
+
created: string;
|
|
337
|
+
id: string;
|
|
338
|
+
object: string;
|
|
339
|
+
purpose: string;
|
|
340
|
+
size: string;
|
|
341
|
+
title: string;
|
|
342
|
+
type: string;
|
|
343
|
+
};
|
|
299
344
|
export {};
|
package/build/@types/app.js
CHANGED
|
@@ -46,3 +46,25 @@ export var FieldType;
|
|
|
46
46
|
FieldType["EDITABLE"] = "editable";
|
|
47
47
|
FieldType["NON_EDITABLE"] = "noneditable";
|
|
48
48
|
})(FieldType || (FieldType = {}));
|
|
49
|
+
export var IndividualGender;
|
|
50
|
+
(function (IndividualGender) {
|
|
51
|
+
IndividualGender["MALE"] = "m";
|
|
52
|
+
IndividualGender["FEMALE"] = "f";
|
|
53
|
+
})(IndividualGender || (IndividualGender = {}));
|
|
54
|
+
export var IndividualType;
|
|
55
|
+
(function (IndividualType) {
|
|
56
|
+
IndividualType["USER"] = "user";
|
|
57
|
+
IndividualType["SHARE_HOLDER"] = "shareholder";
|
|
58
|
+
IndividualType["BOARD_MEMBER"] = "board_member";
|
|
59
|
+
IndividualType["CUSTOMER"] = "customer";
|
|
60
|
+
IndividualType["BUYER"] = "buyer";
|
|
61
|
+
})(IndividualType || (IndividualType = {}));
|
|
62
|
+
export var DocumentPurpose;
|
|
63
|
+
(function (DocumentPurpose) {
|
|
64
|
+
DocumentPurpose["CR"] = "commercial_registration";
|
|
65
|
+
DocumentPurpose["ARTICLE_ASSOCIATION"] = "article_of_association";
|
|
66
|
+
DocumentPurpose["BANK_STATEMENT"] = "bank_statement";
|
|
67
|
+
DocumentPurpose["IDENTITY_DOCUMENT"] = "identity_document";
|
|
68
|
+
DocumentPurpose["CUSTOMER_SIGNATURE"] = "customer_signature";
|
|
69
|
+
DocumentPurpose["TAX_DOCUMENT"] = "tax_document_user_upload";
|
|
70
|
+
})(DocumentPurpose || (DocumentPurpose = {}));
|
package/build/@types/form.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize } from './app';
|
|
1
|
+
import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize, City } from './app';
|
|
2
2
|
export type MobileFormValues = {
|
|
3
3
|
mobile: string;
|
|
4
4
|
countryCode: CountryCode;
|
|
@@ -77,6 +77,22 @@ export type TaxFormValues = {
|
|
|
77
77
|
confirmPolicy: false;
|
|
78
78
|
documentId?: Array<string>;
|
|
79
79
|
};
|
|
80
|
+
export interface IndividualEmailMobileFormValues {
|
|
81
|
+
email: string;
|
|
82
|
+
mobile: string | null;
|
|
83
|
+
countryCode: CountryCode;
|
|
84
|
+
}
|
|
85
|
+
export interface IndividualPersonalInfoFormValues extends IndividualEmailMobileFormValues {
|
|
86
|
+
name: string;
|
|
87
|
+
gender: string | null;
|
|
88
|
+
nid: string;
|
|
89
|
+
issuedCountry: CountryCode | undefined;
|
|
90
|
+
expiryDate: string;
|
|
91
|
+
dob: string;
|
|
92
|
+
placeOfBirthCountry: CountryCode | undefined;
|
|
93
|
+
placeOfBirthCity: City | undefined;
|
|
94
|
+
nationality: CountryCode | undefined;
|
|
95
|
+
}
|
|
80
96
|
export interface IndividualExtraFormValues extends IndividualAttachmentsFormValues {
|
|
81
97
|
occupation: Occupation | undefined;
|
|
82
98
|
sourceIncome: SourceOfIncome | undefined;
|
|
@@ -85,6 +101,8 @@ export interface IndividualExtraFormValues extends IndividualAttachmentsFormValu
|
|
|
85
101
|
employerLocation: CountryCode | undefined;
|
|
86
102
|
isPEP: boolean | null;
|
|
87
103
|
isInfluencer: boolean | null;
|
|
104
|
+
shareCount: string;
|
|
105
|
+
shareValue: string;
|
|
88
106
|
}
|
|
89
107
|
export type IndividualAttachmentsFormValues = {
|
|
90
108
|
civilID?: Array<string>;
|
package/build/@types/index.d.ts
CHANGED
package/build/@types/index.js
CHANGED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
export interface User {
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
status: string;
|
|
5
|
+
created: number;
|
|
6
|
+
names: Names;
|
|
7
|
+
contact: Contact;
|
|
8
|
+
nationality: string;
|
|
9
|
+
gender: string;
|
|
10
|
+
birth: Birth;
|
|
11
|
+
identification: Identification;
|
|
12
|
+
role: Role[];
|
|
13
|
+
is_authorized: boolean;
|
|
14
|
+
verification: Verification;
|
|
15
|
+
source_income: Role[];
|
|
16
|
+
occupation: Role;
|
|
17
|
+
entities: Entity[];
|
|
18
|
+
documents: string[];
|
|
19
|
+
monthly_income: Role;
|
|
20
|
+
employer_country: string;
|
|
21
|
+
is_relative_PEP: boolean;
|
|
22
|
+
is_influencer: boolean;
|
|
23
|
+
is_verified: boolean;
|
|
24
|
+
individual_id: string;
|
|
25
|
+
data_status: DataStatus;
|
|
26
|
+
data_verification: DataVerification;
|
|
27
|
+
isRequestedEmail?: boolean;
|
|
28
|
+
}
|
|
29
|
+
interface DataVerification {
|
|
30
|
+
status: string;
|
|
31
|
+
name: string;
|
|
32
|
+
contact: Contact;
|
|
33
|
+
nationality: string;
|
|
34
|
+
birth: BirthDataVerify;
|
|
35
|
+
identification: IdentificationDataVerify;
|
|
36
|
+
role: string;
|
|
37
|
+
relation: string;
|
|
38
|
+
occupation: string;
|
|
39
|
+
address: string;
|
|
40
|
+
is_authorized: string;
|
|
41
|
+
source_of_income: string;
|
|
42
|
+
monthly_income: string;
|
|
43
|
+
is_relative_PEP: string;
|
|
44
|
+
is_influencer: string;
|
|
45
|
+
}
|
|
46
|
+
interface BirthDataVerify {
|
|
47
|
+
date: string;
|
|
48
|
+
city: string;
|
|
49
|
+
country: string;
|
|
50
|
+
}
|
|
51
|
+
interface DataStatus {
|
|
52
|
+
status: string;
|
|
53
|
+
name: string;
|
|
54
|
+
contact: Contact;
|
|
55
|
+
nationality: string;
|
|
56
|
+
identification: IdentificationDataVerify;
|
|
57
|
+
role: string;
|
|
58
|
+
relation: string;
|
|
59
|
+
occupation: string;
|
|
60
|
+
address: string;
|
|
61
|
+
is_authorized: string;
|
|
62
|
+
source_of_income: string;
|
|
63
|
+
monthly_income: string;
|
|
64
|
+
is_relative_PEP: string;
|
|
65
|
+
is_influencer: string;
|
|
66
|
+
}
|
|
67
|
+
interface IdentificationDataVerify {
|
|
68
|
+
id: string;
|
|
69
|
+
type: string;
|
|
70
|
+
expiry: string;
|
|
71
|
+
issuer_country: string;
|
|
72
|
+
}
|
|
73
|
+
interface Entity {
|
|
74
|
+
id: string;
|
|
75
|
+
operator_id: string;
|
|
76
|
+
}
|
|
77
|
+
interface Verification {
|
|
78
|
+
national_id: NationalId;
|
|
79
|
+
identification: NationalId;
|
|
80
|
+
phone: NationalId;
|
|
81
|
+
date_of_birth: NationalId;
|
|
82
|
+
name: NationalId;
|
|
83
|
+
login: NationalId;
|
|
84
|
+
email: Email;
|
|
85
|
+
}
|
|
86
|
+
interface Email {
|
|
87
|
+
type: string;
|
|
88
|
+
is_verified: boolean;
|
|
89
|
+
verified_at: number;
|
|
90
|
+
}
|
|
91
|
+
interface NationalId {
|
|
92
|
+
type: string;
|
|
93
|
+
is_verified: boolean;
|
|
94
|
+
verified_at: number;
|
|
95
|
+
verified_by: string;
|
|
96
|
+
}
|
|
97
|
+
interface Role {
|
|
98
|
+
id: string;
|
|
99
|
+
name: Name;
|
|
100
|
+
}
|
|
101
|
+
interface Name {
|
|
102
|
+
ar: string;
|
|
103
|
+
en: string;
|
|
104
|
+
}
|
|
105
|
+
interface Identification {
|
|
106
|
+
id: string;
|
|
107
|
+
issued_country_code: string;
|
|
108
|
+
type: string;
|
|
109
|
+
expiry: number;
|
|
110
|
+
}
|
|
111
|
+
interface Birth {
|
|
112
|
+
date: number;
|
|
113
|
+
city: string;
|
|
114
|
+
country: string;
|
|
115
|
+
}
|
|
116
|
+
interface Contact {
|
|
117
|
+
email: string;
|
|
118
|
+
phone: Phone;
|
|
119
|
+
}
|
|
120
|
+
interface Phone {
|
|
121
|
+
country_code: string;
|
|
122
|
+
number: string;
|
|
123
|
+
}
|
|
124
|
+
interface Names {
|
|
125
|
+
ar: Ar;
|
|
126
|
+
en: En;
|
|
127
|
+
}
|
|
128
|
+
interface En {
|
|
129
|
+
title: string;
|
|
130
|
+
first: string;
|
|
131
|
+
middle: string;
|
|
132
|
+
last: string;
|
|
133
|
+
third: string;
|
|
134
|
+
}
|
|
135
|
+
interface Ar {
|
|
136
|
+
first: string;
|
|
137
|
+
middle: string;
|
|
138
|
+
last: string;
|
|
139
|
+
third: string;
|
|
140
|
+
}
|
|
141
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/build/api/board.d.ts
CHANGED
|
@@ -16,6 +16,21 @@ export type UpdateBoardInfoBody = {
|
|
|
16
16
|
lang: string;
|
|
17
17
|
encryption_contract?: string;
|
|
18
18
|
};
|
|
19
|
+
export interface RequestEmailBody {
|
|
20
|
+
id: string;
|
|
21
|
+
merchant_id: string;
|
|
22
|
+
info: Array<{
|
|
23
|
+
name: string;
|
|
24
|
+
}>;
|
|
25
|
+
notification: Notification;
|
|
26
|
+
}
|
|
27
|
+
interface Notification {
|
|
28
|
+
recipient: {
|
|
29
|
+
id: string;
|
|
30
|
+
type: string;
|
|
31
|
+
};
|
|
32
|
+
channel: string[];
|
|
33
|
+
}
|
|
19
34
|
declare const boardService: {
|
|
20
35
|
retrieveBoard: (id: string) => Promise<any>;
|
|
21
36
|
updateBoard: ({ id, ...data }: UpdateBoardBody) => Promise<any>;
|
|
@@ -23,5 +38,6 @@ declare const boardService: {
|
|
|
23
38
|
updateBoardInfo: ({ id, infoId, ...data }: UpdateBoardInfoBody) => Promise<any>;
|
|
24
39
|
retrieveBoardDetails: (id: string) => Promise<any>;
|
|
25
40
|
retrieveBoardInfoStatus: (id: string) => Promise<any>;
|
|
41
|
+
requestDetailsByEmail: ({ id, ...data }: RequestEmailBody) => Promise<any>;
|
|
26
42
|
};
|
|
27
43
|
export { boardService };
|
package/build/api/board.js
CHANGED
|
@@ -52,12 +52,21 @@ var updateBoardInfo = function (_a) {
|
|
|
52
52
|
data: data
|
|
53
53
|
});
|
|
54
54
|
};
|
|
55
|
+
var requestDetailsByEmail = function (_a) {
|
|
56
|
+
var id = _a.id, data = __rest(_a, ["id"]);
|
|
57
|
+
return httpClient({
|
|
58
|
+
method: 'post',
|
|
59
|
+
url: "".concat(ENDPOINT_PATHS.BOARD, "/").concat(id, "/info/collect"),
|
|
60
|
+
data: data
|
|
61
|
+
});
|
|
62
|
+
};
|
|
55
63
|
var boardService = {
|
|
56
64
|
retrieveBoard: retrieveBoard,
|
|
57
65
|
updateBoard: updateBoard,
|
|
58
66
|
retrieveBoardInfo: retrieveBoardInfo,
|
|
59
67
|
updateBoardInfo: updateBoardInfo,
|
|
60
68
|
retrieveBoardDetails: retrieveBoardDetails,
|
|
61
|
-
retrieveBoardInfoStatus: retrieveBoardInfoStatus
|
|
69
|
+
retrieveBoardInfoStatus: retrieveBoardInfoStatus,
|
|
70
|
+
requestDetailsByEmail: requestDetailsByEmail
|
|
62
71
|
};
|
|
63
72
|
export { boardService };
|
package/build/api/country.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
export type GetCitiesBody = {
|
|
2
|
+
country: string[];
|
|
3
|
+
};
|
|
1
4
|
declare const countryService: {
|
|
2
5
|
getCountries: (disableCountries?: boolean) => Promise<any> | {
|
|
3
6
|
list: never[];
|
|
4
7
|
};
|
|
8
|
+
getCities: (data: GetCitiesBody) => Promise<any>;
|
|
5
9
|
};
|
|
6
10
|
export { countryService };
|
package/build/api/country.js
CHANGED
|
@@ -8,7 +8,15 @@ var getCountries = function (disableCountries) {
|
|
|
8
8
|
url: ENDPOINT_PATHS.COUNTRIES
|
|
9
9
|
});
|
|
10
10
|
};
|
|
11
|
+
var getCities = function (data) {
|
|
12
|
+
return httpClient({
|
|
13
|
+
method: 'post',
|
|
14
|
+
url: ENDPOINT_PATHS.CITIES,
|
|
15
|
+
data: data
|
|
16
|
+
});
|
|
17
|
+
};
|
|
11
18
|
var countryService = {
|
|
12
|
-
getCountries: getCountries
|
|
19
|
+
getCountries: getCountries,
|
|
20
|
+
getCities: getCities
|
|
13
21
|
};
|
|
14
22
|
export { countryService };
|
package/build/api/entity.d.ts
CHANGED
|
@@ -44,10 +44,10 @@ export type BankDocumentInfo = {
|
|
|
44
44
|
export type EntityBankUpdateBody = {
|
|
45
45
|
wallet_id: string;
|
|
46
46
|
bank_account: {
|
|
47
|
-
bank_name
|
|
48
|
-
beneficiary_name
|
|
47
|
+
bank_name?: string;
|
|
48
|
+
beneficiary_name?: string;
|
|
49
49
|
bank_statement_file_id?: string;
|
|
50
|
-
iban
|
|
50
|
+
iban?: string;
|
|
51
51
|
swift_code?: string;
|
|
52
52
|
account_number?: string;
|
|
53
53
|
is_acknowledged: boolean;
|
package/build/api/index.d.ts
CHANGED
|
@@ -6,8 +6,9 @@ import { CheckEmailBody, CheckBrandBody } from './availabilityServices';
|
|
|
6
6
|
import { EntityInfoBody, EntityBankUpdateBody, BankDocumentInfo, UpdateEntityBody, DocumentUpdateBody, DocumentInfo, UpdateEntityActivityBody, UpdateEntityCapitalBody } from './entity';
|
|
7
7
|
import { CreateAccountBody, ExpressCreateAccountBody } from './account';
|
|
8
8
|
import { DataElementBody } from './data';
|
|
9
|
-
import { BrandListBody, UpdateBrandBody, UpdateIndividualBody } from './individual';
|
|
10
|
-
import { UpdateBoardBody } from './board';
|
|
9
|
+
import { BrandListBody, UpdateBrandBody, UpdateIndividualBody, GetIndividualListBody } from './individual';
|
|
10
|
+
import { UpdateBoardBody, RequestEmailBody } from './board';
|
|
11
|
+
import { GetUserListBody } from './user';
|
|
11
12
|
import { UploadFileBody } from './file';
|
|
12
13
|
declare const API: {
|
|
13
14
|
locationService: {
|
|
@@ -21,6 +22,7 @@ declare const API: {
|
|
|
21
22
|
getCountries: (disableCountries?: boolean | undefined) => Promise<any> | {
|
|
22
23
|
list: never[];
|
|
23
24
|
};
|
|
25
|
+
getCities: (data: import("./country").GetCitiesBody) => Promise<any>;
|
|
24
26
|
};
|
|
25
27
|
authService: {
|
|
26
28
|
createAuth: (data: CreateAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
@@ -106,6 +108,7 @@ declare const API: {
|
|
|
106
108
|
retrieveIndividualInfo: (id: string) => Promise<any>;
|
|
107
109
|
retrieveIndividual: (id: string, type: string) => Promise<any>;
|
|
108
110
|
updateIndividual: ({ id, type, ...data }: UpdateIndividualBody) => Promise<any>;
|
|
111
|
+
getIndividualList: (data: GetIndividualListBody) => Promise<any>;
|
|
109
112
|
};
|
|
110
113
|
boardService: {
|
|
111
114
|
retrieveBoard: (id: string) => Promise<any>;
|
|
@@ -114,9 +117,11 @@ declare const API: {
|
|
|
114
117
|
updateBoardInfo: ({ id, infoId, ...data }: import("./board").UpdateBoardInfoBody) => Promise<any>;
|
|
115
118
|
retrieveBoardDetails: (id: string) => Promise<any>;
|
|
116
119
|
retrieveBoardInfoStatus: (id: string) => Promise<any>;
|
|
120
|
+
requestDetailsByEmail: ({ id, ...data }: RequestEmailBody) => Promise<any>;
|
|
117
121
|
};
|
|
118
122
|
userService: {
|
|
119
123
|
retrieveUserInfo: (userId: string) => Promise<any>;
|
|
124
|
+
getUserList: (data: GetUserListBody) => Promise<any>;
|
|
120
125
|
};
|
|
121
126
|
brandService: {
|
|
122
127
|
retrieveBrand: (id: string) => Promise<any>;
|
|
@@ -130,6 +135,6 @@ declare const API: {
|
|
|
130
135
|
uploadFileInfo: (data: UploadFileBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
|
|
131
136
|
};
|
|
132
137
|
};
|
|
133
|
-
export type { ValidateOperatorBody, CreateAuthBody, ExpressCreateAccountBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody, DataElementBody, UploadFileBody, UpdateEntityBody, DocumentUpdateBody, DocumentInfo, VerifyAuthExpressOTPBody, UpdateIndividualBody, UpdateEntityActivityBody, UpdateEntityCapitalBody, BankDocumentInfo };
|
|
138
|
+
export type { ValidateOperatorBody, CreateAuthBody, ExpressCreateAccountBody, VerifyAuthBody, CreateLeadBody, UpdateLeadBody, LeadVerifyBody, LeadOTPVerifyBody, CheckEmailBody, CheckBrandBody, LeadIdentityUpdateBody, EntityInfoBody, CreateAccountBody, EntityBankUpdateBody, CreatePasswordBody, BrandListBody, VerifyOperationAuthBody, ResetPasswordVerifyAuthBody, UpdateBoardBody, UpdateBrandBody, DataElementBody, UploadFileBody, UpdateEntityBody, DocumentUpdateBody, DocumentInfo, VerifyAuthExpressOTPBody, UpdateIndividualBody, UpdateEntityActivityBody, UpdateEntityCapitalBody, BankDocumentInfo, GetUserListBody, GetIndividualListBody, RequestEmailBody };
|
|
134
139
|
export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
|
|
135
140
|
export default API;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DocumentInfo } from '
|
|
1
|
+
import { DocumentInfo } from './entity';
|
|
2
2
|
export type BrandListBody = {
|
|
3
3
|
individual_id: string;
|
|
4
4
|
};
|
|
@@ -53,8 +53,12 @@ export type UpdateBrandBody = {
|
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
segment?: {
|
|
56
|
-
type
|
|
57
|
-
|
|
56
|
+
type?: {
|
|
57
|
+
id: string;
|
|
58
|
+
};
|
|
59
|
+
team?: {
|
|
60
|
+
id: string;
|
|
61
|
+
};
|
|
58
62
|
};
|
|
59
63
|
term?: Array<string>;
|
|
60
64
|
step_name?: string;
|
|
@@ -70,6 +74,46 @@ export type UpdateSalesChannels = {
|
|
|
70
74
|
export type UpdateIndividualBody = {
|
|
71
75
|
id: string;
|
|
72
76
|
type: string;
|
|
77
|
+
names?: {
|
|
78
|
+
en?: {
|
|
79
|
+
title?: string;
|
|
80
|
+
first?: string;
|
|
81
|
+
middle?: string;
|
|
82
|
+
third?: string;
|
|
83
|
+
last?: string;
|
|
84
|
+
};
|
|
85
|
+
ar?: {
|
|
86
|
+
title?: string;
|
|
87
|
+
first?: string;
|
|
88
|
+
middle?: string;
|
|
89
|
+
third?: string;
|
|
90
|
+
last?: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
gender?: string;
|
|
94
|
+
contact?: {
|
|
95
|
+
email?: string;
|
|
96
|
+
phone?: {
|
|
97
|
+
country_code?: string;
|
|
98
|
+
number?: string;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
date_of_birth?: string;
|
|
102
|
+
birth?: {
|
|
103
|
+
city?: string;
|
|
104
|
+
country?: string;
|
|
105
|
+
};
|
|
106
|
+
identification?: {
|
|
107
|
+
id?: string;
|
|
108
|
+
issued_country_code?: string;
|
|
109
|
+
expiry?: number;
|
|
110
|
+
type?: string;
|
|
111
|
+
};
|
|
112
|
+
shares?: {
|
|
113
|
+
count?: number;
|
|
114
|
+
value?: number;
|
|
115
|
+
};
|
|
116
|
+
nationality?: string;
|
|
73
117
|
employer_name?: string;
|
|
74
118
|
employer_country?: string | null;
|
|
75
119
|
source_income?: Array<{
|
|
@@ -84,12 +128,18 @@ export type UpdateIndividualBody = {
|
|
|
84
128
|
occupation?: {
|
|
85
129
|
id?: string;
|
|
86
130
|
};
|
|
87
|
-
step_name
|
|
131
|
+
step_name?: string;
|
|
88
132
|
encryption_contract?: Array<string>;
|
|
89
133
|
};
|
|
134
|
+
export type GetIndividualListBody = {
|
|
135
|
+
page: number;
|
|
136
|
+
limit: number;
|
|
137
|
+
business_id: string;
|
|
138
|
+
};
|
|
90
139
|
declare const individualService: {
|
|
91
140
|
retrieveIndividualInfo: (id: string) => Promise<any>;
|
|
92
141
|
retrieveIndividual: (id: string, type: string) => Promise<any>;
|
|
93
142
|
updateIndividual: ({ id, type, ...data }: UpdateIndividualBody) => Promise<any>;
|
|
143
|
+
getIndividualList: (data: GetIndividualListBody) => Promise<any>;
|
|
94
144
|
};
|
|
95
145
|
export { individualService };
|
package/build/api/individual.js
CHANGED
|
@@ -31,9 +31,17 @@ var updateIndividual = function (_a) {
|
|
|
31
31
|
data: data
|
|
32
32
|
});
|
|
33
33
|
};
|
|
34
|
+
var getIndividualList = function (data) {
|
|
35
|
+
return httpClient({
|
|
36
|
+
method: 'post',
|
|
37
|
+
url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/all"),
|
|
38
|
+
data: data
|
|
39
|
+
});
|
|
40
|
+
};
|
|
34
41
|
var individualService = {
|
|
35
42
|
retrieveIndividualInfo: retrieveIndividualInfo,
|
|
36
43
|
retrieveIndividual: retrieveIndividual,
|
|
37
|
-
updateIndividual: updateIndividual
|
|
44
|
+
updateIndividual: updateIndividual,
|
|
45
|
+
getIndividualList: getIndividualList
|
|
38
46
|
};
|
|
39
47
|
export { individualService };
|
package/build/api/user.d.ts
CHANGED
|
@@ -2,7 +2,13 @@ export type UserCredential = {
|
|
|
2
2
|
code: string;
|
|
3
3
|
phone: string;
|
|
4
4
|
};
|
|
5
|
+
export type GetUserListBody = {
|
|
6
|
+
page: number;
|
|
7
|
+
limit: number;
|
|
8
|
+
business_id: string;
|
|
9
|
+
};
|
|
5
10
|
declare const userService: {
|
|
6
11
|
retrieveUserInfo: (userId: string) => Promise<any>;
|
|
12
|
+
getUserList: (data: GetUserListBody) => Promise<any>;
|
|
7
13
|
};
|
|
8
14
|
export { userService };
|
package/build/api/user.js
CHANGED
|
@@ -6,7 +6,15 @@ var retrieveUserInfo = function (userId) {
|
|
|
6
6
|
url: "".concat(ENDPOINT_PATHS.RETRIEVE_USER_INFO, "/").concat(userId)
|
|
7
7
|
});
|
|
8
8
|
};
|
|
9
|
+
var getUserList = function (data) {
|
|
10
|
+
return httpClient({
|
|
11
|
+
method: 'post',
|
|
12
|
+
url: "".concat(ENDPOINT_PATHS.RETRIEVE_USER_INFO, "/list"),
|
|
13
|
+
data: data
|
|
14
|
+
});
|
|
15
|
+
};
|
|
9
16
|
var userService = {
|
|
10
|
-
retrieveUserInfo: retrieveUserInfo
|
|
17
|
+
retrieveUserInfo: retrieveUserInfo,
|
|
18
|
+
getUserList: getUserList
|
|
11
19
|
};
|
|
12
20
|
export { userService };
|
package/build/app/settings.js
CHANGED
|
@@ -47,7 +47,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
47
47
|
};
|
|
48
48
|
var _a;
|
|
49
49
|
import { createAsyncThunk, createSlice } from '@reduxjs/toolkit';
|
|
50
|
-
import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString } from '../utils';
|
|
50
|
+
import { getStoredData, storeData, isArray, findItem, getBrowserInfo, getFingerPrint, sortCountries, findCountryByIso2, getRequestHeaders, encryptString, dangerousMessage } from '../utils';
|
|
51
51
|
import { DefaultDeviceInfo, LOCAL_STORAGE_KEYS } from '../constants';
|
|
52
52
|
import i18n from '../i18n';
|
|
53
53
|
import { updateLocale } from '../utils/locale';
|
|
@@ -163,42 +163,45 @@ export var settingsSlice = createSlice({
|
|
|
163
163
|
},
|
|
164
164
|
handleNextScreenStep: function (state, action) {
|
|
165
165
|
var next = state.data.activeScreen.next;
|
|
166
|
+
var appConfig = state.data.appConfig;
|
|
166
167
|
if (isArray(next)) {
|
|
167
168
|
if (!action.payload)
|
|
168
|
-
return
|
|
169
|
+
return dangerousMessage('next screen is an array, but no payload was provided', appConfig.onError);
|
|
169
170
|
var nextName_1 = findItem(next, action.payload);
|
|
170
171
|
var nextScreen_1 = state.data.featureScreensNavigation.find(function (item) { return item.name === nextName_1; });
|
|
171
172
|
if (!nextScreen_1)
|
|
172
|
-
return
|
|
173
|
+
return dangerousMessage('Next screen step not found', appConfig.onError);
|
|
173
174
|
state.data.activeScreen = nextScreen_1;
|
|
174
175
|
return;
|
|
175
176
|
}
|
|
176
177
|
var nextScreen = state.data.featureScreensNavigation.find(function (item) { return item.name === next; });
|
|
177
178
|
if (!nextScreen)
|
|
178
|
-
return
|
|
179
|
+
return dangerousMessage('Next screen step not found', appConfig.onError);
|
|
179
180
|
state.data.activeScreen = nextScreen;
|
|
180
181
|
},
|
|
181
182
|
handleCurrentActiveScreen: function (state, action) {
|
|
183
|
+
var appConfig = state.data.appConfig;
|
|
182
184
|
var activeScreen = state.data.featureScreensNavigation.find(function (item) { return item.name === action.payload; });
|
|
183
185
|
if (!activeScreen)
|
|
184
|
-
return
|
|
186
|
+
return dangerousMessage('Active screen not found', appConfig.onError);
|
|
185
187
|
state.data.activeScreen = activeScreen;
|
|
186
188
|
},
|
|
187
189
|
handlePrevScreenStep: function (state, action) {
|
|
190
|
+
var appConfig = state.data.appConfig;
|
|
188
191
|
var prev = state.data.activeScreen.prev;
|
|
189
192
|
if (isArray(prev)) {
|
|
190
193
|
if (!action.payload)
|
|
191
|
-
return
|
|
194
|
+
return dangerousMessage('Previous screen is an array, but no payload was provided', appConfig.onError);
|
|
192
195
|
var prevName_1 = findItem(prev, action.payload);
|
|
193
196
|
var prevScreen_1 = state.data.featureScreensNavigation.find(function (item) { return item.name === prevName_1; });
|
|
194
197
|
if (!prevScreen_1)
|
|
195
|
-
return
|
|
198
|
+
return dangerousMessage('Previous screen step not found', appConfig.onError);
|
|
196
199
|
state.data.activeScreen = prevScreen_1;
|
|
197
200
|
return;
|
|
198
201
|
}
|
|
199
202
|
var prevScreen = state.data.featureScreensNavigation.find(function (item) { return item.name === prev; });
|
|
200
203
|
if (!prevScreen)
|
|
201
|
-
return
|
|
204
|
+
return dangerousMessage('Previous screen step not found', appConfig.onError);
|
|
202
205
|
state.data.activeScreen = prevScreen;
|
|
203
206
|
},
|
|
204
207
|
handleActiveFlowScreens: function (state, action) {
|
|
@@ -38,7 +38,6 @@
|
|
|
38
38
|
"apple_store_placeholder": "اسم التطبيق عالـ App Store",
|
|
39
39
|
"authenticate_kuwait_mobile_description": "Please go to your Kuwait Mobile ID app and accept the authentication request from Tap.",
|
|
40
40
|
"authenticate_kuwait_mobile_title": "Authenticate with Kuwait Mobile ID app",
|
|
41
|
-
"back": "Back",
|
|
42
41
|
"bank": "رقم حساب البنك",
|
|
43
42
|
"bank_confirm_information": "أتعهد بأن المعلومات البنكية المدخلة صحيحة وأنها تعود إلي",
|
|
44
43
|
"bank_flow_completed": "{{bank_name}} {{iban}}",
|
|
@@ -362,5 +361,32 @@
|
|
|
362
361
|
"prepare_data_title": "Preparing your data",
|
|
363
362
|
"prepare_data_description": "This might take a moment...",
|
|
364
363
|
"oops": "Oops",
|
|
365
|
-
"file_upload_at_least_one": "عذرا,مطلوب رفع ملف واحد على الأقل"
|
|
364
|
+
"file_upload_at_least_one": "عذرا,مطلوب رفع ملف واحد على الأقل",
|
|
365
|
+
"company_individuals": "الأفراد بالشركة",
|
|
366
|
+
"company_individuals_add_or_request_details": "أضف او أطلب المعلومات من الشخص المصرح له بذلك",
|
|
367
|
+
"add_details": "أضف المعلومات",
|
|
368
|
+
"request_details_by_email": "اطلب إضافة المعلومات بالايميل",
|
|
369
|
+
"back": "عودة",
|
|
370
|
+
"company_individuals_details": "الأفراد بالشركة ({{count}})",
|
|
371
|
+
"type_user": "المستخدم",
|
|
372
|
+
"type_share_holder": "مساهم",
|
|
373
|
+
"type_board_member": "عضو مجلس الإدارة",
|
|
374
|
+
"individual_gender_title": "النوع",
|
|
375
|
+
"gender_male": "ذكر",
|
|
376
|
+
"gender_female": "أنثى",
|
|
377
|
+
"source_country_label": "الدولة",
|
|
378
|
+
"Choose_issued_country": "- اختر -",
|
|
379
|
+
"enter_expiry_date": "تاريخ انتهاء الصلاحية",
|
|
380
|
+
"place_of_birth_country_label": "مكان الميلاد",
|
|
381
|
+
"Choose_place_of_birth_country": "- اختر -",
|
|
382
|
+
"place_birth_city_label": "مكان الميلاد",
|
|
383
|
+
"Choose_place_birth_city": "- اختر -",
|
|
384
|
+
"nationality_label": "الجنسية",
|
|
385
|
+
"Choose_nationality": "- اختر -",
|
|
386
|
+
"share_count_label": "عدد الأسهم",
|
|
387
|
+
"share_count_hint": "0",
|
|
388
|
+
"share_value_label": "قيمة السهم ({{currency}})",
|
|
389
|
+
"share_value_hint": "0000",
|
|
390
|
+
"brand": "الاسم التجاري",
|
|
391
|
+
"try_again": "حاول مرة أخرى"
|
|
366
392
|
}
|