@tap-payments/auth-jsconnect 2.8.98-development → 2.8.99-development
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 +2 -1
- package/build/@types/app.js +1 -0
- package/build/api/auth.d.ts +4 -0
- package/build/api/index.d.ts +5 -2
- package/build/api/lead.d.ts +2 -0
- package/build/api/lead.js +16 -0
- package/build/api/user.d.ts +7 -0
- package/build/api/user.js +9 -1
- package/build/app/rootReducer.d.ts +1 -0
- package/build/app/rootReducer.js +3 -1
- package/build/app/store.d.ts +2 -0
- package/build/assets/locales/ar.json +24 -13
- package/build/assets/locales/en.json +21 -10
- package/build/constants/app.d.ts +10 -0
- package/build/constants/app.js +54 -0
- package/build/constants/flows.d.ts +22 -0
- package/build/constants/flows.js +23 -0
- package/build/constants/index.d.ts +1 -0
- package/build/constants/index.js +1 -0
- package/build/features/app/individual/individualStore.d.ts +1 -1
- package/build/features/app/individual/individualStore.js +38 -29
- package/build/features/app/kyc/kycStore.d.ts +67 -0
- package/build/features/app/kyc/kycStore.js +410 -0
- package/build/features/featuresScreens.d.ts +1 -0
- package/build/features/featuresScreens.js +38 -0
- package/build/features/kyc/KYC.d.ts +11 -0
- package/build/features/kyc/KYC.js +95 -0
- package/build/features/kyc/index.d.ts +1 -0
- package/build/features/kyc/index.js +1 -0
- package/build/features/kyc/screens/Loading/Loading.d.ts +4 -0
- package/build/features/kyc/screens/Loading/Loading.js +10 -0
- package/build/features/kyc/screens/Loading/index.d.ts +2 -0
- package/build/features/kyc/screens/Loading/index.js +2 -0
- package/build/features/kyc/screens/OperatorError/OperatorError.d.ts +5 -0
- package/build/features/kyc/screens/OperatorError/OperatorError.js +9 -0
- package/build/features/kyc/screens/OperatorError/index.d.ts +2 -0
- package/build/features/kyc/screens/OperatorError/index.js +2 -0
- package/build/features/kyc/screens/Success/Success.d.ts +5 -0
- package/build/features/kyc/screens/Success/Success.js +19 -0
- package/build/features/kyc/screens/Success/index.d.ts +2 -0
- package/build/features/kyc/screens/Success/index.js +2 -0
- package/build/features/kyc/screens/Terms/Header.d.ts +6 -0
- package/build/features/kyc/screens/Terms/Header.js +36 -0
- package/build/features/kyc/screens/Terms/Terms.d.ts +4 -0
- package/build/features/kyc/screens/Terms/Terms.js +72 -0
- package/build/features/kyc/screens/Terms/index.d.ts +2 -0
- package/build/features/kyc/screens/Terms/index.js +2 -0
- package/build/features/kyc/screens/Users/Users.d.ts +3 -0
- package/build/features/kyc/screens/Users/Users.js +73 -0
- package/build/features/kyc/screens/Users/index.d.ts +2 -0
- package/build/features/kyc/screens/Users/index.js +2 -0
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.d.ts +5 -0
- package/build/features/kyc/screens/VerifyNafath/VerifyNafath.js +45 -0
- package/build/features/kyc/screens/VerifyNafath/index.d.ts +3 -0
- package/build/features/kyc/screens/VerifyNafath/index.js +2 -0
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.d.ts +5 -0
- package/build/features/kyc/screens/VerifyPaci/VerifyPACI.js +44 -0
- package/build/features/kyc/screens/VerifyPaci/index.d.ts +3 -0
- package/build/features/kyc/screens/VerifyPaci/index.js +2 -0
- package/build/features/shared/SuccessScreen/SuccessScreen.js +1 -1
- package/build/hooks/useAppDispatch.d.ts +1 -0
- package/build/hooks/useSanitizedTranslation.d.ts +2 -1
- package/build/hooks/useSanitizedTranslation.js +2 -2
- package/build/index.d.ts +3 -2
- package/build/index.js +4 -2
- package/build/theme/shadows.js +1 -1
- package/build/utils/string.d.ts +1 -0
- package/build/utils/string.js +4 -0
- package/package.json +1 -1
package/build/@types/app.d.ts
CHANGED
package/build/@types/app.js
CHANGED
package/build/api/auth.d.ts
CHANGED
|
@@ -29,6 +29,8 @@ export declare type CreateAuthBody = {
|
|
|
29
29
|
encryption_contract: Array<string>;
|
|
30
30
|
lang?: LanguageMode;
|
|
31
31
|
lead_id?: string;
|
|
32
|
+
board_id?: string;
|
|
33
|
+
user_id?: string;
|
|
32
34
|
};
|
|
33
35
|
export declare type CreateNafathAuthBody = {
|
|
34
36
|
country: string;
|
|
@@ -42,6 +44,8 @@ export declare type CreateNafathAuthBody = {
|
|
|
42
44
|
encryption_contract: Array<string>;
|
|
43
45
|
lang?: LanguageMode;
|
|
44
46
|
lead_id?: string;
|
|
47
|
+
board_id?: string;
|
|
48
|
+
user_id?: string;
|
|
45
49
|
};
|
|
46
50
|
export declare type VerifyAuthBody = {
|
|
47
51
|
auth_token: string;
|
package/build/api/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ import { CreateAccountBody, ExpressCreateAccountBody } from './account';
|
|
|
8
8
|
import { DataElementBody } from './data';
|
|
9
9
|
import { BrandListBody, UpdateBrandBody, UpdateIndividualBody, GetIndividualListBody, UpdateIndividualWithTypeBody, UpdateMultipleIndividualBody } from './individual';
|
|
10
10
|
import { UpdateBoardBody, RequestEmailBody } from './board';
|
|
11
|
-
import { GetUserListBody } from './user';
|
|
11
|
+
import { GetUserListBody, GetUserListSegmentBody } from './user';
|
|
12
12
|
import { RemoveBrandActivity } from './brand';
|
|
13
13
|
import { UploadFileBody } from './file';
|
|
14
14
|
import { DocumentUpdateBody, DocumentInfo, DocumentBody } from './document';
|
|
@@ -50,7 +50,9 @@ declare const API: {
|
|
|
50
50
|
retrieveLead: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
51
51
|
getLeadById: (leadId: string) => Promise<any>;
|
|
52
52
|
verifyLeadToken: (data: LeadVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
53
|
+
verifyToken: (data: LeadVerifyBody) => Promise<any>;
|
|
53
54
|
verifyLeadOTP: (data: LeadOTPVerifyBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
55
|
+
verifyTokenOTP: (data: LeadOTPVerifyBody) => Promise<any>;
|
|
54
56
|
retrieveEntityList: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
55
57
|
retrieveLeadIdentity: (leadId: string) => Promise<any>;
|
|
56
58
|
updateLeadExpress: ({ id, ...data }: UpdateLeadBody) => Promise<any>;
|
|
@@ -138,6 +140,7 @@ declare const API: {
|
|
|
138
140
|
userService: {
|
|
139
141
|
retrieveUserInfo: (userId: string) => Promise<any>;
|
|
140
142
|
getUserList: (data: GetUserListBody) => Promise<any>;
|
|
143
|
+
getUserListUsingSegmentId: (data: GetUserListSegmentBody) => Promise<any>;
|
|
141
144
|
};
|
|
142
145
|
brandService: {
|
|
143
146
|
retrieveBrand: (id: string) => Promise<any>;
|
|
@@ -161,6 +164,6 @@ declare const API: {
|
|
|
161
164
|
getInitialData: (body: InitBody) => Promise<any>;
|
|
162
165
|
};
|
|
163
166
|
};
|
|
164
|
-
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, DocumentBody, UpdateEntityAOAFileBody, InitBody, RemoveBrandActivity, RemoveEntityActivity, UpdateIndividualWithTypeBody, UpdateMultipleIndividualBody, ExpressLeadVerifyBody, ConfirmBody, ConfigBody, MerchantListBody, CreateEntityBody, CreateNafathAuthBody };
|
|
167
|
+
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, DocumentBody, UpdateEntityAOAFileBody, InitBody, RemoveBrandActivity, RemoveEntityActivity, UpdateIndividualWithTypeBody, UpdateMultipleIndividualBody, ExpressLeadVerifyBody, ConfirmBody, ConfigBody, MerchantListBody, CreateEntityBody, CreateNafathAuthBody, GetUserListSegmentBody };
|
|
165
168
|
export { setAxiosGlobalHeaders, removeAxiosGlobalHeaders, axiosInstance, getAxiosHeaders };
|
|
166
169
|
export default API;
|
package/build/api/lead.d.ts
CHANGED
|
@@ -121,7 +121,9 @@ declare const leadService: {
|
|
|
121
121
|
retrieveLead: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
122
122
|
getLeadById: (leadId: string) => Promise<any>;
|
|
123
123
|
verifyLeadToken: (data: LeadVerifyBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
124
|
+
verifyToken: (data: LeadVerifyBody) => Promise<any>;
|
|
124
125
|
verifyLeadOTP: (data: LeadOTPVerifyBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
126
|
+
verifyTokenOTP: (data: LeadOTPVerifyBody) => Promise<any>;
|
|
125
127
|
retrieveEntityList: (leadId: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
126
128
|
retrieveLeadIdentity: (leadId: string) => Promise<any>;
|
|
127
129
|
updateLeadExpress: ({ id, ...data }: UpdateLeadBody) => Promise<any>;
|
package/build/api/lead.js
CHANGED
|
@@ -78,6 +78,13 @@ var getLeadById = function (leadId) {
|
|
|
78
78
|
var verifyLeadToken = function (data, config) {
|
|
79
79
|
return instance.put("".concat(ENDPOINT_PATHS.TOKEN_VERIFY), data, config);
|
|
80
80
|
};
|
|
81
|
+
var verifyToken = function (data) {
|
|
82
|
+
return httpClient({
|
|
83
|
+
method: 'put',
|
|
84
|
+
url: "".concat(ENDPOINT_PATHS.TOKEN_VERIFY),
|
|
85
|
+
data: data
|
|
86
|
+
});
|
|
87
|
+
};
|
|
81
88
|
var verifyExpressLeadToken = function (data) {
|
|
82
89
|
return httpClient({
|
|
83
90
|
method: 'put',
|
|
@@ -88,6 +95,13 @@ var verifyExpressLeadToken = function (data) {
|
|
|
88
95
|
var verifyLeadOTP = function (data, config) {
|
|
89
96
|
return instance.put("".concat(ENDPOINT_PATHS.TOKEN_VERIFY), data, config);
|
|
90
97
|
};
|
|
98
|
+
var verifyTokenOTP = function (data) {
|
|
99
|
+
return httpClient({
|
|
100
|
+
method: 'put',
|
|
101
|
+
url: "".concat(ENDPOINT_PATHS.TOKEN_VERIFY),
|
|
102
|
+
data: data
|
|
103
|
+
});
|
|
104
|
+
};
|
|
91
105
|
var retrieveEntityList = function (leadId) {
|
|
92
106
|
return instance.get("".concat(ENDPOINT_PATHS.RETRIEVE_ENTITY_LIST, "/").concat(leadId));
|
|
93
107
|
};
|
|
@@ -112,7 +126,9 @@ var leadService = {
|
|
|
112
126
|
retrieveLead: retrieveLead,
|
|
113
127
|
getLeadById: getLeadById,
|
|
114
128
|
verifyLeadToken: verifyLeadToken,
|
|
129
|
+
verifyToken: verifyToken,
|
|
115
130
|
verifyLeadOTP: verifyLeadOTP,
|
|
131
|
+
verifyTokenOTP: verifyTokenOTP,
|
|
116
132
|
retrieveEntityList: retrieveEntityList,
|
|
117
133
|
retrieveLeadIdentity: retrieveLeadIdentity,
|
|
118
134
|
updateLeadExpress: updateLeadExpress,
|
package/build/api/user.d.ts
CHANGED
|
@@ -7,8 +7,15 @@ export declare type GetUserListBody = {
|
|
|
7
7
|
limit: number;
|
|
8
8
|
business_id: string;
|
|
9
9
|
};
|
|
10
|
+
export declare type GetUserListSegmentBody = {
|
|
11
|
+
page: number;
|
|
12
|
+
limit: number;
|
|
13
|
+
is_authorized: boolean;
|
|
14
|
+
segment_ids: string[];
|
|
15
|
+
};
|
|
10
16
|
declare const userService: {
|
|
11
17
|
retrieveUserInfo: (userId: string) => Promise<any>;
|
|
12
18
|
getUserList: (data: GetUserListBody) => Promise<any>;
|
|
19
|
+
getUserListUsingSegmentId: (data: GetUserListSegmentBody) => Promise<any>;
|
|
13
20
|
};
|
|
14
21
|
export { userService };
|
package/build/api/user.js
CHANGED
|
@@ -13,8 +13,16 @@ var getUserList = function (data) {
|
|
|
13
13
|
data: data
|
|
14
14
|
});
|
|
15
15
|
};
|
|
16
|
+
var getUserListUsingSegmentId = function (data) {
|
|
17
|
+
return httpClient({
|
|
18
|
+
method: 'post',
|
|
19
|
+
url: "".concat(ENDPOINT_PATHS.RETRIEVE_USER_INFO, "/list"),
|
|
20
|
+
data: data
|
|
21
|
+
});
|
|
22
|
+
};
|
|
16
23
|
var userService = {
|
|
17
24
|
retrieveUserInfo: retrieveUserInfo,
|
|
18
|
-
getUserList: getUserList
|
|
25
|
+
getUserList: getUserList,
|
|
26
|
+
getUserListUsingSegmentId: getUserListUsingSegmentId
|
|
19
27
|
};
|
|
20
28
|
export { userService };
|
|
@@ -12,5 +12,6 @@ declare const rootReducer: {
|
|
|
12
12
|
connectExpress: import("redux").Reducer<import("../features/app/connectExpress/connectExpressStore").ConnectExpressState, import("redux").AnyAction>;
|
|
13
13
|
auth: import("redux").Reducer<import("../features/app/auth/authStore").AuthState, import("redux").AnyAction>;
|
|
14
14
|
board: import("redux").Reducer<import("../features/app/board/boardStore").BoardState, import("redux").AnyAction>;
|
|
15
|
+
kyc: import("redux").Reducer<import("../features/app/kyc/kycStore").KYCDataState, import("redux").AnyAction>;
|
|
15
16
|
};
|
|
16
17
|
export default rootReducer;
|
package/build/app/rootReducer.js
CHANGED
|
@@ -11,6 +11,7 @@ import brand from '../features/app/brand/brandStore';
|
|
|
11
11
|
import connectExpress from '../features/app/connectExpress/connectExpressStore';
|
|
12
12
|
import board from '../features/app/board/boardStore';
|
|
13
13
|
import auth from '../features/app/auth/authStore';
|
|
14
|
+
import kyc from '../features/app/kyc/kycStore';
|
|
14
15
|
var rootReducer = {
|
|
15
16
|
settings: settings,
|
|
16
17
|
connect: connect,
|
|
@@ -24,6 +25,7 @@ var rootReducer = {
|
|
|
24
25
|
brand: brand,
|
|
25
26
|
connectExpress: connectExpress,
|
|
26
27
|
auth: auth,
|
|
27
|
-
board: board
|
|
28
|
+
board: board,
|
|
29
|
+
kyc: kyc
|
|
28
30
|
};
|
|
29
31
|
export default rootReducer;
|
package/build/app/store.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
13
13
|
connectExpress: import("../features/app/connectExpress/connectExpressStore").ConnectExpressState;
|
|
14
14
|
auth: import("../features/app/auth/authStore").AuthState;
|
|
15
15
|
board: import("../features/app/board/boardStore").BoardState;
|
|
16
|
+
kyc: import("../features/app/kyc/kycStore").KYCDataState;
|
|
16
17
|
}, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("@reduxjs/toolkit").ThunkMiddleware<{
|
|
17
18
|
settings: import("./settings").SettingsState;
|
|
18
19
|
connect: import("../features/app/connect/connectStore").ConnectState;
|
|
@@ -27,6 +28,7 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
|
|
|
27
28
|
connectExpress: import("../features/app/connectExpress/connectExpressStore").ConnectExpressState;
|
|
28
29
|
auth: import("../features/app/auth/authStore").AuthState;
|
|
29
30
|
board: import("../features/app/board/boardStore").BoardState;
|
|
31
|
+
kyc: import("../features/app/kyc/kycStore").KYCDataState;
|
|
30
32
|
}, import("redux").AnyAction, undefined>]>>;
|
|
31
33
|
export declare type AppDispatch = typeof store.dispatch;
|
|
32
34
|
export declare type RootState = ReturnType<typeof store.getState>;
|
|
@@ -63,6 +63,8 @@
|
|
|
63
63
|
"app": "تطبيق",
|
|
64
64
|
"apple_btn_open_title": "افتح صندوق بريد آبل ميل - Apple Mail",
|
|
65
65
|
"apple_store_placeholder": "اسم التطبيق عالـ App Store",
|
|
66
|
+
"approve_with_nafath_app": "المتابعة من خلال نفاذ",
|
|
67
|
+
"approve_with_paci_app": "المتابعة من خلال PACI",
|
|
66
68
|
"ar": "ع",
|
|
67
69
|
"arabic": "اللغة العربية",
|
|
68
70
|
"article_of_association": "PDF, JPG or PNG files up to 5mb.",
|
|
@@ -362,6 +364,15 @@
|
|
|
362
364
|
"issue_date": "تاريخ الإصدار",
|
|
363
365
|
"issued_country_label": "بلد الإصدار",
|
|
364
366
|
"join_our_community": "",
|
|
367
|
+
"kyc_dispute_policy": "سياسة المنازعات",
|
|
368
|
+
"kyc_refund_policy": "سياسة الاسترجاع",
|
|
369
|
+
"kyc_success_button": "حساب لوحة التحكم",
|
|
370
|
+
"kyc_success_title": "تم تحديث حسابك بنجاح",
|
|
371
|
+
"kyc_terms_conditions": "الشروط والأحكام",
|
|
372
|
+
"kyc_terms_description": "يجب على الممثل المعتمد للشركة قراءة الوثائق القانونية والموافقة عليها",
|
|
373
|
+
"kyc_terms_description_single_user": "يجب على الشخص المخول الذي يحمل الهوية {{id_number}} قراءة المستندات القانونية والموافقة عليها",
|
|
374
|
+
"kyc_terms_title": "وثائق قانونية",
|
|
375
|
+
"kyc_users_description": "يرجى اختيار رقم هوية الممثل المعتمد للموافقة عليه مع {{provider}}",
|
|
365
376
|
"language": "English",
|
|
366
377
|
"license_info": "معلومات الترخيص",
|
|
367
378
|
"license_name_hint": "Enter legal name",
|
|
@@ -387,6 +398,14 @@
|
|
|
387
398
|
"mobile_button_label": "المتابعة عن طريق رقم الجوال",
|
|
388
399
|
"mobile_number_description": "ابدأ فورًا باستخدام رقم هاتفك المحمول",
|
|
389
400
|
"month": "الشهر",
|
|
401
|
+
"nafath_button_label": "المتابعة عن طريق نفاذ",
|
|
402
|
+
"nafath_verification_description_check": "يرجى الدخول إلى تطبيق نفاذ الخاص بك وإدخال رقم الطلب أعلاه للمصادقة.",
|
|
403
|
+
"nafath_verification_description_error": "حاول مرة اخرى",
|
|
404
|
+
"nafath_verification_description_wait": "يرجى الدخول إلى تطبيق نفاذ الخاص بك وإدخال رقم الطلب أعلاه للمصادقة.",
|
|
405
|
+
"nafath_verification_redirection_message": "سيتم إعادة توجيهك الآن",
|
|
406
|
+
"nafath_verification_title_check": "المصادقة مع تطبيق نفاذ",
|
|
407
|
+
"nafath_verification_title_error": "لا يمكننا تأكيد المصادقة الخاصة بك",
|
|
408
|
+
"nafath_verification_title_wait": "المصادقة مع تطبيق نفاذ",
|
|
390
409
|
"national_address": "العنوان الوطني ",
|
|
391
410
|
"national_id_description": "ابدأ فورًا باستخدام الهوية",
|
|
392
411
|
"national_id_placeholder": "0000000000",
|
|
@@ -401,6 +420,7 @@
|
|
|
401
420
|
"one_last_step": "خطوة أخيرة",
|
|
402
421
|
"oops": "Oops",
|
|
403
422
|
"open_mail_box": "افتح البريد الإلكتروني",
|
|
423
|
+
"open_nafath_app": "افتح تطبيق نفاذ",
|
|
404
424
|
"operator_is_invalid": "المشغل غير مصرح له",
|
|
405
425
|
"opt_nid_sent_title": "الرجاء إدخال رمز المرور لمرة واحدة (OTP) المرسل عبر أبشر إلى رقم الجوال المسجل تحت هويتك الوطنية",
|
|
406
426
|
"or": "أو",
|
|
@@ -538,7 +558,7 @@
|
|
|
538
558
|
"success_upload_civil_id": "Done",
|
|
539
559
|
"success_upload_signature_file": "Done",
|
|
540
560
|
"sucess_message_for_non_saudi": "شكرا لاختيارك تاب للمدفوعات الالكترونية. سوف يتم التواصل معكم في أقرب وقت",
|
|
541
|
-
"switch_to_gregorian_calendar": "التبديل إلى التقويم
|
|
561
|
+
"switch_to_gregorian_calendar": "التبديل إلى التقويم الميلادي",
|
|
542
562
|
"switch_to_id": "متابعة التسجيل برقم الهوية",
|
|
543
563
|
"switch_to_islamic_calendar": "التبديل إلى التقويم الهجرى",
|
|
544
564
|
"switch_to_mobile": "متابعة التسجيل برقم الجوال",
|
|
@@ -605,19 +625,10 @@
|
|
|
605
625
|
"verification_status": "الحالة",
|
|
606
626
|
"verification_status_cancelled": "ملغية",
|
|
607
627
|
"wallet_id_missing": "رقم تعريف المحفظة مفقود",
|
|
608
|
-
"website": "
|
|
609
|
-
"website_label": "
|
|
628
|
+
"website": "متجر الكتروني",
|
|
629
|
+
"website_label": "متجر الكتروني",
|
|
610
630
|
"year": "السنة",
|
|
611
631
|
"yes": "نعم",
|
|
612
632
|
"your_brand_details": "تفاصيل علامتك التجارية",
|
|
613
|
-
"يرجى التحقق من اسم تطبيق ابل": ""
|
|
614
|
-
"nafath_verification_title_wait": "Authenticate with NAFATH app",
|
|
615
|
-
"nafath_verification_title_check": "Authenticate with NAFATH app",
|
|
616
|
-
"nafath_verification_description_wait": "Please go to your NAFATH app and enter the above request number to authenticate.",
|
|
617
|
-
"nafath_verification_description_check": "Please go to your NAFATH app and enter the above request number to authenticate.",
|
|
618
|
-
"open_nafath_app": "Open NAFATH app",
|
|
619
|
-
"nafath_verification_title_error": "We cannot confirm your authentication",
|
|
620
|
-
"nafath_verification_description_error": "Please try again",
|
|
621
|
-
"nafath_verification_redirection_message": "You will be redirected now",
|
|
622
|
-
"nafath_button_label": "Continue with Nafath"
|
|
633
|
+
"يرجى التحقق من اسم تطبيق ابل": ""
|
|
623
634
|
}
|
|
@@ -58,6 +58,8 @@
|
|
|
58
58
|
"app": "App",
|
|
59
59
|
"apple_btn_open_title": "Open Mail",
|
|
60
60
|
"apple_store_placeholder": "Enter your app name (App Store)",
|
|
61
|
+
"approve_with_nafath_app": "Continue with NAFATH",
|
|
62
|
+
"approve_with_paci_app": "Continue with PACI",
|
|
61
63
|
"ar": "ع",
|
|
62
64
|
"arabic": "اللغة العربية",
|
|
63
65
|
"article_of_association": "PDF, JPG or PNG files up to 5mb.",
|
|
@@ -375,6 +377,15 @@
|
|
|
375
377
|
"issue_date": "Date of issuance",
|
|
376
378
|
"issued_country_label": "Issued Country",
|
|
377
379
|
"join_our_community": "",
|
|
380
|
+
"kyc_dispute_policy": "Dispute Policy",
|
|
381
|
+
"kyc_refund_policy": "Refund Policy",
|
|
382
|
+
"kyc_success_button": "Go to my board",
|
|
383
|
+
"kyc_success_title": "All done",
|
|
384
|
+
"kyc_terms_conditions": "Terms & Conditions",
|
|
385
|
+
"kyc_terms_description": "An authorized representative of the company must read and approve the legal documents",
|
|
386
|
+
"kyc_terms_description_single_user": "The authorized person with the ID {{id_number}} must read and approve the legal documents",
|
|
387
|
+
"kyc_terms_title": "Legal documents",
|
|
388
|
+
"kyc_users_description": "Please select an authorized registered ID to approve with {{provider}}",
|
|
378
389
|
"kyc_verification": "Know Your Customer (KYC)",
|
|
379
390
|
"language": "العربية",
|
|
380
391
|
"license_info": "License information",
|
|
@@ -402,6 +413,14 @@
|
|
|
402
413
|
"mobile_button_label": "Continue with Mobile",
|
|
403
414
|
"mobile_number_description": "Start instantly with your Mobile Number",
|
|
404
415
|
"month": "Month",
|
|
416
|
+
"nafath_button_label": "Continue with Nafath",
|
|
417
|
+
"nafath_verification_description_check": "Please go to your NAFATH app and enter the above request number to authenticate.",
|
|
418
|
+
"nafath_verification_description_error": "Please try again",
|
|
419
|
+
"nafath_verification_description_wait": "Please go to your NAFATH app and enter the above request number to authenticate.",
|
|
420
|
+
"nafath_verification_redirection_message": "You will be redirected now",
|
|
421
|
+
"nafath_verification_title_check": "Authenticate with NAFATH app",
|
|
422
|
+
"nafath_verification_title_error": "We cannot confirm your authentication",
|
|
423
|
+
"nafath_verification_title_wait": "Authenticate with NAFATH app",
|
|
405
424
|
"national_address": "National address",
|
|
406
425
|
"national_id_description": "Start instantly with your National ID",
|
|
407
426
|
"national_id_placeholder": "0000000000",
|
|
@@ -417,6 +436,7 @@
|
|
|
417
436
|
"one_last_step": "One last step",
|
|
418
437
|
"oops": "Oops",
|
|
419
438
|
"open_mail_box": "Open Mailbox",
|
|
439
|
+
"open_nafath_app": "Open NAFATH app",
|
|
420
440
|
"operator_is_invalid": "Operator is invalid",
|
|
421
441
|
"opt_nid_sent_title": "Please enter the One Time Passcode (OTP) sent via Absher to the mobile number registered under your Saudi National ID",
|
|
422
442
|
"or": "or",
|
|
@@ -637,14 +657,5 @@
|
|
|
637
657
|
"website_label": "Website",
|
|
638
658
|
"year": "Year",
|
|
639
659
|
"yes": "Yes",
|
|
640
|
-
"your_brand_details": "Your brand details"
|
|
641
|
-
"nafath_verification_title_wait": "Authenticate with NAFATH app",
|
|
642
|
-
"nafath_verification_title_check": "Authenticate with NAFATH app",
|
|
643
|
-
"nafath_verification_description_wait": "Please go to your NAFATH app and enter the above request number to authenticate.",
|
|
644
|
-
"nafath_verification_description_check": "Please go to your NAFATH app and enter the above request number to authenticate.",
|
|
645
|
-
"open_nafath_app": "Open NAFATH app",
|
|
646
|
-
"nafath_verification_title_error": "We cannot confirm your authentication",
|
|
647
|
-
"nafath_verification_description_error": "Please try again",
|
|
648
|
-
"nafath_verification_redirection_message": "You will be redirected now",
|
|
649
|
-
"nafath_button_label": "Continue with Nafath"
|
|
660
|
+
"your_brand_details": "Your brand details"
|
|
650
661
|
}
|
package/build/constants/app.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ export declare const BACKGROUND_ID = "auth-js-connect-background";
|
|
|
25
25
|
export declare const CONNECT_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
|
|
26
26
|
export declare const CONNECT_EXPRESS_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
|
|
27
27
|
export declare const AUTH_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
|
|
28
|
+
export declare const KYC_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
|
|
28
29
|
export declare const BUSINESS_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
|
|
29
30
|
export declare const INDIVIDUAL_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
|
|
30
31
|
export declare const PASSWORD_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
|
|
@@ -188,6 +189,15 @@ export declare const BOARD_STEP_STEPS: {
|
|
|
188
189
|
PHONE_AUTH: string;
|
|
189
190
|
BOARD_INFO: string;
|
|
190
191
|
};
|
|
192
|
+
export declare const KYC_STEP_NAMES: {
|
|
193
|
+
KYC_INFO: string;
|
|
194
|
+
KYC_USERS: string;
|
|
195
|
+
KYC_CREATE_PACI: string;
|
|
196
|
+
KYC_CREATE_NAFATH: string;
|
|
197
|
+
KYC_VERIFY_PACI: string;
|
|
198
|
+
KYC_VERIFY_NAFATH: string;
|
|
199
|
+
KYC_COMPLETED: string;
|
|
200
|
+
};
|
|
191
201
|
export declare const RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
|
|
192
202
|
export declare const ENCRYPTION_FLAG = "encryption_contract";
|
|
193
203
|
export declare const BACKEND_ENCRYPTION_FLAG = "backend_encryption_contract";
|
package/build/constants/app.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BusinessType } from '../@types';
|
|
2
|
+
import { CONNECT_FLOWS } from './flows';
|
|
2
3
|
export var CONNECT_DEV_URL = 'https://connect.dev.tap.company';
|
|
3
4
|
export var CONNECT_PROD_URL = 'https://connect.tap.company';
|
|
4
5
|
export var CLIENT_ORIGIN = window.location.origin;
|
|
@@ -384,6 +385,50 @@ export var AUTH_SCREENS_NAVIGATION = [
|
|
|
384
385
|
order: 4
|
|
385
386
|
}
|
|
386
387
|
];
|
|
388
|
+
export var KYC_SCREENS_NAVIGATION = [
|
|
389
|
+
{
|
|
390
|
+
name: CONNECT_FLOWS.kyc.terms,
|
|
391
|
+
next: [CONNECT_FLOWS.kyc.users, CONNECT_FLOWS.kyc.verifyNafath, CONNECT_FLOWS.kyc.verifyPACI],
|
|
392
|
+
prev: '',
|
|
393
|
+
order: 1
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
name: CONNECT_FLOWS.kyc.loadingData,
|
|
397
|
+
next: CONNECT_FLOWS.kyc.terms,
|
|
398
|
+
prev: '',
|
|
399
|
+
order: 1
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
name: CONNECT_FLOWS.kyc.operatorError,
|
|
403
|
+
next: '',
|
|
404
|
+
prev: '',
|
|
405
|
+
order: 1
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
name: CONNECT_FLOWS.kyc.users,
|
|
409
|
+
next: [CONNECT_FLOWS.kyc.verifyNafath, CONNECT_FLOWS.kyc.verifyPACI],
|
|
410
|
+
prev: CONNECT_FLOWS.kyc.terms,
|
|
411
|
+
order: 2
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
name: CONNECT_FLOWS.kyc.verifyNafath,
|
|
415
|
+
next: CONNECT_FLOWS.kyc.success,
|
|
416
|
+
prev: [CONNECT_FLOWS.kyc.users, CONNECT_FLOWS.kyc.terms],
|
|
417
|
+
order: 3
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
name: CONNECT_FLOWS.kyc.verifyPACI,
|
|
421
|
+
next: CONNECT_FLOWS.kyc.success,
|
|
422
|
+
prev: [CONNECT_FLOWS.kyc.users, CONNECT_FLOWS.kyc.terms],
|
|
423
|
+
order: 3
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
name: CONNECT_FLOWS.kyc.success,
|
|
427
|
+
next: '',
|
|
428
|
+
prev: '',
|
|
429
|
+
order: 4
|
|
430
|
+
}
|
|
431
|
+
];
|
|
387
432
|
export var BUSINESS_SCREENS_NAVIGATION = [
|
|
388
433
|
{
|
|
389
434
|
name: 'BUSINESS_VERIFY_STEP',
|
|
@@ -1010,6 +1055,15 @@ export var BOARD_STEP_STEPS = {
|
|
|
1010
1055
|
PHONE_AUTH: 'board_phone_auth',
|
|
1011
1056
|
BOARD_INFO: 'board_info'
|
|
1012
1057
|
};
|
|
1058
|
+
export var KYC_STEP_NAMES = {
|
|
1059
|
+
KYC_INFO: 'kyc_info',
|
|
1060
|
+
KYC_USERS: 'kyc_users',
|
|
1061
|
+
KYC_CREATE_PACI: 'kyc_create_paci',
|
|
1062
|
+
KYC_CREATE_NAFATH: 'kyc_create_nafath',
|
|
1063
|
+
KYC_VERIFY_PACI: 'kyc_verify_paci',
|
|
1064
|
+
KYC_VERIFY_NAFATH: 'kyc_verify_nafath',
|
|
1065
|
+
KYC_COMPLETED: 'kyc_completed'
|
|
1066
|
+
};
|
|
1013
1067
|
export var RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
|
|
1014
1068
|
export var ENCRYPTION_FLAG = 'encryption_contract';
|
|
1015
1069
|
export var BACKEND_ENCRYPTION_FLAG = 'backend_encryption_contract';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum KYC_FLOWS {
|
|
2
|
+
loadingData = "KYC_LOADING_DATA_STEP",
|
|
3
|
+
verify = "KYC_VERIFY_STEP",
|
|
4
|
+
terms = "KYC_TERMS_STEP",
|
|
5
|
+
users = "KYC_USERS_STEP",
|
|
6
|
+
operatorError = "KYC_OPERATOR_ERROR_STEP",
|
|
7
|
+
verifyPACI = "KYC_VERIFY_PACI_STEP",
|
|
8
|
+
verifyNafath = "KYC_VERIFY_NAFATH_STEP",
|
|
9
|
+
success = "KYC_SUCCESS_STEP"
|
|
10
|
+
}
|
|
11
|
+
export declare const CONNECT_FLOWS: {
|
|
12
|
+
kyc: {
|
|
13
|
+
loadingData: KYC_FLOWS;
|
|
14
|
+
verify: KYC_FLOWS;
|
|
15
|
+
terms: KYC_FLOWS;
|
|
16
|
+
users: KYC_FLOWS;
|
|
17
|
+
operatorError: KYC_FLOWS;
|
|
18
|
+
verifyPACI: KYC_FLOWS;
|
|
19
|
+
verifyNafath: KYC_FLOWS;
|
|
20
|
+
success: KYC_FLOWS;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export var KYC_FLOWS;
|
|
2
|
+
(function (KYC_FLOWS) {
|
|
3
|
+
KYC_FLOWS["loadingData"] = "KYC_LOADING_DATA_STEP";
|
|
4
|
+
KYC_FLOWS["verify"] = "KYC_VERIFY_STEP";
|
|
5
|
+
KYC_FLOWS["terms"] = "KYC_TERMS_STEP";
|
|
6
|
+
KYC_FLOWS["users"] = "KYC_USERS_STEP";
|
|
7
|
+
KYC_FLOWS["operatorError"] = "KYC_OPERATOR_ERROR_STEP";
|
|
8
|
+
KYC_FLOWS["verifyPACI"] = "KYC_VERIFY_PACI_STEP";
|
|
9
|
+
KYC_FLOWS["verifyNafath"] = "KYC_VERIFY_NAFATH_STEP";
|
|
10
|
+
KYC_FLOWS["success"] = "KYC_SUCCESS_STEP";
|
|
11
|
+
})(KYC_FLOWS || (KYC_FLOWS = {}));
|
|
12
|
+
export var CONNECT_FLOWS = {
|
|
13
|
+
kyc: {
|
|
14
|
+
loadingData: KYC_FLOWS.loadingData,
|
|
15
|
+
verify: KYC_FLOWS.verify,
|
|
16
|
+
terms: KYC_FLOWS.terms,
|
|
17
|
+
users: KYC_FLOWS.users,
|
|
18
|
+
operatorError: KYC_FLOWS.operatorError,
|
|
19
|
+
verifyPACI: KYC_FLOWS.verifyPACI,
|
|
20
|
+
verifyNafath: KYC_FLOWS.verifyNafath,
|
|
21
|
+
success: KYC_FLOWS.success
|
|
22
|
+
}
|
|
23
|
+
};
|
package/build/constants/index.js
CHANGED
|
@@ -85,7 +85,7 @@ export declare const updateIndividualPersonalInfo: import("@reduxjs/toolkit").As
|
|
|
85
85
|
export declare const updateIndividualInfo: import("@reduxjs/toolkit").AsyncThunk<{
|
|
86
86
|
data: any;
|
|
87
87
|
formData: IndividualExtraFormValues;
|
|
88
|
-
individualData:
|
|
88
|
+
individualData: User;
|
|
89
89
|
userList: any;
|
|
90
90
|
isKWOrSACountry: boolean;
|
|
91
91
|
}, AsyncThunkParams<IndividualExtraFormValues>, {}>;
|