@tap-payments/auth-jsconnect 2.11.14-development → 2.11.14-sandbox

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.
Files changed (54) hide show
  1. package/build/@types/form.d.ts +2 -2
  2. package/build/api/account.d.ts +2 -2
  3. package/build/api/account.js +7 -4
  4. package/build/api/auth.d.ts +1 -1
  5. package/build/api/auth.js +7 -3
  6. package/build/api/headers.d.ts +5 -0
  7. package/build/api/headers.js +3 -0
  8. package/build/api/index.d.ts +4 -4
  9. package/build/api/operator.d.ts +1 -1
  10. package/build/api/operator.js +5 -2
  11. package/build/assets/locales/ar.json +5 -0
  12. package/build/assets/locales/en.json +7 -2
  13. package/build/components/Tooltip/Tooltip.js +1 -1
  14. package/build/constants/app.d.ts +1 -0
  15. package/build/constants/app.js +105 -18
  16. package/build/constants/flows.d.ts +1 -0
  17. package/build/constants/flows.js +2 -1
  18. package/build/features/app/auth/authStore.js +64 -54
  19. package/build/features/app/bank/bankStore.js +24 -20
  20. package/build/features/app/board/boardStore.js +11 -7
  21. package/build/features/app/brand/brandStore.js +22 -18
  22. package/build/features/app/business/businessStore.js +30 -26
  23. package/build/features/app/connect/connectStore.js +26 -22
  24. package/build/features/app/connectExpress/connectExpressStore.js +20 -7
  25. package/build/features/app/entity/entityStore.js +21 -17
  26. package/build/features/app/individual/individualStore.js +33 -28
  27. package/build/features/app/password/passwordStore.js +44 -46
  28. package/build/features/app/signIn/signInStore.js +12 -16
  29. package/build/features/app/tax/taxStore.js +20 -16
  30. package/build/features/app/terminal/terminalStore.js +5 -3
  31. package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +10 -7
  32. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +4 -1
  33. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +6 -4
  34. package/build/features/auth/screens/AuthenticationList/EntityList.js +9 -1
  35. package/build/features/business/screens/BusinessType/BusinessType.js +2 -3
  36. package/build/features/business/screens/BusinessType/LicenseList.js +5 -5
  37. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +10 -10
  38. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +4 -1
  39. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +6 -4
  40. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +9 -1
  41. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +6 -11
  42. package/build/features/connectExpress/screens/Mobile/Mobile.js +7 -6
  43. package/build/features/featuresScreens.js +60 -0
  44. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.d.ts +3 -0
  45. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.js +9 -0
  46. package/build/features/shared/OTPVerifySecurityError/index.d.ts +2 -0
  47. package/build/features/shared/OTPVerifySecurityError/index.js +2 -0
  48. package/build/features/terminal/screens/NoTerminalDeviceLinked/NoTerminalDeviceLinked.js +59 -14
  49. package/build/features/terminal/screens/POSDeviceListPage/POSDeviceListPage.js +5 -2
  50. package/build/features/terminal/screens/Verify/Verify.js +6 -2
  51. package/build/utils/common.js +3 -3
  52. package/build/utils/error.d.ts +1 -0
  53. package/build/utils/error.js +3 -0
  54. package/package.json +2 -2
@@ -104,8 +104,8 @@ export interface IndividualPersonalInfoFormValues extends IndividualEmailMobileF
104
104
  gender: string | null;
105
105
  nid: string;
106
106
  issuedCountry: CountryCode | undefined;
107
- expiryDate: string;
108
- dob: string;
107
+ expiryDate: string | undefined;
108
+ dob: string | undefined;
109
109
  placeOfBirthCountry: CountryCode | undefined;
110
110
  placeOfBirthCity: City | undefined;
111
111
  nationality: CountryCode | undefined;
@@ -19,8 +19,8 @@ export declare type ExpressCreateAccountBody = {
19
19
  declare const accountService: {
20
20
  createAccount: (data: CreateAccountBody) => Promise<any>;
21
21
  expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
22
- checkAccountAvailability: (individualId: string) => Promise<any>;
23
- checkAccountAvailabilityStatus: (individualId: string) => Promise<any>;
22
+ checkAccountAvailability: (individualId: string, authSession?: string) => Promise<any>;
23
+ checkAccountAvailabilityStatus: (individualId: string, authSession?: string) => Promise<any>;
24
24
  checkMigrationStatus: (jobId: string) => Promise<any>;
25
25
  };
26
26
  export { accountService };
@@ -1,5 +1,6 @@
1
1
  import { ENDPOINT_PATHS } from '../constants';
2
2
  import { httpClient } from './axios';
3
+ import { getAuthHeaders } from './headers';
3
4
  var createAccount = function (data) {
4
5
  return httpClient({
5
6
  method: 'post',
@@ -14,16 +15,18 @@ var expressCreateAccount = function (data) {
14
15
  data: data
15
16
  });
16
17
  };
17
- var checkAccountAvailability = function (individualId) {
18
+ var checkAccountAvailability = function (individualId, authSession) {
18
19
  return httpClient({
19
20
  method: 'get',
20
- url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts")
21
+ url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts"),
22
+ headers: getAuthHeaders(authSession)
21
23
  });
22
24
  };
23
- var checkAccountAvailabilityStatus = function (individualId) {
25
+ var checkAccountAvailabilityStatus = function (individualId, authSession) {
24
26
  return httpClient({
25
27
  method: 'get',
26
- url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status")
28
+ url: "".concat(ENDPOINT_PATHS.INDIVIDUAL, "/").concat(individualId, "/accounts?data=status"),
29
+ headers: getAuthHeaders(authSession)
27
30
  });
28
31
  };
29
32
  var checkMigrationStatus = function (jobId) {
@@ -134,7 +134,7 @@ export declare type getExpressTokenVerifyParams = {
134
134
  export declare type ConfigBody = Pick<ConfigInfo, 'scope' | 'data' | 'lead' | 'board' | 'interface' | 'redirect' | 'post'>;
135
135
  declare const authService: {
136
136
  createAuth: (data: CreateAuthBody | CreateKYCAuthBody, config?: AxiosRequestConfig) => Promise<any>;
137
- verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: AxiosRequestConfig) => Promise<import("axios").AxiosResponse<any, any>>;
137
+ verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody) => Promise<any>;
138
138
  createPassword: (data: CreatePasswordBody) => Promise<any>;
139
139
  verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
140
140
  getVerifyAuth: (token: string, config?: AxiosRequestConfig) => Promise<any>;
package/build/api/auth.js CHANGED
@@ -9,7 +9,7 @@ var __assign = (this && this.__assign) || function () {
9
9
  };
10
10
  return __assign.apply(this, arguments);
11
11
  };
12
- import instance, { httpClient } from './axios';
12
+ import { httpClient } from './axios';
13
13
  import { ENDPOINT_PATHS } from '../constants';
14
14
  var createAuth = function (data, config) {
15
15
  return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.AUTH), data: data }, config));
@@ -17,8 +17,12 @@ var createAuth = function (data, config) {
17
17
  var createExpressAuth = function (data, config) {
18
18
  return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.CREATE_EXPRESS_AUTH_PATH), data: data }, config));
19
19
  };
20
- var verifyAuth = function (data, config) {
21
- return instance.put("".concat(ENDPOINT_PATHS.AUTH), data, config);
20
+ var verifyAuth = function (data) {
21
+ return httpClient({
22
+ method: 'put',
23
+ url: "".concat(ENDPOINT_PATHS.AUTH),
24
+ data: data
25
+ });
22
26
  };
23
27
  var createPassword = function (data) {
24
28
  return httpClient({
@@ -0,0 +1,5 @@
1
+ export declare const getAuthHeaders: (authSession?: string) => {
2
+ st: string;
3
+ } | {
4
+ st?: undefined;
5
+ };
@@ -0,0 +1,3 @@
1
+ export var getAuthHeaders = function (authSession) {
2
+ return authSession ? { st: authSession } : {};
3
+ };
@@ -21,7 +21,7 @@ declare const API: {
21
21
  };
22
22
  operatorService: {
23
23
  validateOperator: (body: ValidateOperatorBody) => Promise<any>;
24
- confirm: (data: ConfirmBody) => Promise<any>;
24
+ confirm: (data: ConfirmBody, authSession?: string) => Promise<any>;
25
25
  };
26
26
  countryService: {
27
27
  getCountries: (disableCountries?: boolean | undefined) => Promise<any> | {
@@ -32,7 +32,7 @@ declare const API: {
32
32
  };
33
33
  authService: {
34
34
  createAuth: (data: CreateAuthBody | CreateKYCAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
35
- verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<any, any>>;
35
+ verifyAuth: (data: VerifyAuthBody | VerifyOperationAuthBody) => Promise<any>;
36
36
  createPassword: (data: CreatePasswordBody) => Promise<any>;
37
37
  verifyExpressAuth: (data: VerifyAuthExpressOTPBody) => Promise<any>;
38
38
  getVerifyAuth: (token: string, config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
@@ -91,8 +91,8 @@ declare const API: {
91
91
  accountService: {
92
92
  createAccount: (data: CreateAccountBody) => Promise<any>;
93
93
  expressCreateAccount: (data: ExpressCreateAccountBody) => Promise<any>;
94
- checkAccountAvailability: (individualId: string) => Promise<any>;
95
- checkAccountAvailabilityStatus: (individualId: string) => Promise<any>;
94
+ checkAccountAvailability: (individualId: string, authSession?: string | undefined) => Promise<any>;
95
+ checkAccountAvailabilityStatus: (individualId: string, authSession?: string | undefined) => Promise<any>;
96
96
  checkMigrationStatus: (jobId: string) => Promise<any>;
97
97
  };
98
98
  dataService: {
@@ -17,6 +17,6 @@ export declare type ConfirmBody = {
17
17
  };
18
18
  declare const operatorService: {
19
19
  validateOperator: (body: ValidateOperatorBody) => Promise<any>;
20
- confirm: (data: ConfirmBody) => Promise<any>;
20
+ confirm: (data: ConfirmBody, authSession?: string) => Promise<any>;
21
21
  };
22
22
  export { operatorService };
@@ -36,6 +36,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
36
36
  };
37
37
  import { ENDPOINT_PATHS } from '../constants';
38
38
  import { httpClient } from './axios';
39
+ import { getAuthHeaders } from './headers';
39
40
  var validateOperator = function (body) { return __awaiter(void 0, void 0, void 0, function () {
40
41
  var data, error_1;
41
42
  return __generator(this, function (_a) {
@@ -59,11 +60,13 @@ var validateOperator = function (body) { return __awaiter(void 0, void 0, void 0
59
60
  }
60
61
  });
61
62
  }); };
62
- var confirm = function (data) {
63
+ var confirm = function (data, authSession) {
64
+ if (authSession === void 0) { authSession = ''; }
63
65
  return httpClient({
64
66
  method: 'post',
65
67
  url: "".concat(ENDPOINT_PATHS.CONNECT, "/confirm"),
66
- data: data
68
+ data: data,
69
+ headers: getAuthHeaders(authSession)
67
70
  });
68
71
  };
69
72
  var operatorService = {
@@ -137,6 +137,7 @@
137
137
  "capital_paid_hint": "00000",
138
138
  "capital_paid_input_label": "رأس المال المدفوع",
139
139
  "capital_paid_label": "رأس المال المدفوع ({{currency}})",
140
+ "capital_paid_input_label": "رأس المال المدفوع",
140
141
  "capital_paid_required": "Please Enter paid amount",
141
142
  "capital_share_count_hint": "00000",
142
143
  "capital_share_count_label": "عدد اسهم رأس المال",
@@ -144,6 +145,7 @@
144
145
  "capital_share_value_hint": "00000",
145
146
  "capital_share_value_input_label": "قيمة السهم",
146
147
  "capital_share_value_label": "قيمة السهم ({{currency}})",
148
+ "capital_share_value_input_label": "قيمة السهم",
147
149
  "capital_share_value_required": "Please Enter share value",
148
150
  "category": "الفئة",
149
151
  "category_name": "اسم الفئة",
@@ -284,6 +286,7 @@
284
286
  "expected_customers_to_serve": "عدد العملاء شهريا",
285
287
  "expected_sale_per_month": "البيع المتوقع في الشهر؟",
286
288
  "expected_sales_monthly": "البيع المتوقع في الشهر؟ ({{currency}})",
289
+ "expected_sale_per_month": "البيع المتوقع في الشهر؟",
287
290
  "expected_sales_yearly": "ما هي المبيعات المتوقعة لعملك شهريًا؟",
288
291
  "expected_served_monthly": "عدد العملاء شهريا",
289
292
  "expiry_date": "تاريخ الإنتهاء",
@@ -493,6 +496,7 @@
493
496
  "please_choose_is_authorized": "الرجاء التأكيد إذا كنت أنت المستخدم المصرح له",
494
497
  "please_choose_relative_pep": "هل أنت أو أحد أقاربك شخص مكشوف علنًا (PEP)",
495
498
  "please_enter_actual_income": "ما هو دخلك الشهري ({{currency}}) ؟ ",
499
+ "monthly_income": "ما هو دخلك الشهري؟ ",
496
500
  "please_enter_employer_name": "يرجى إدخال اسم منشأه العمل الخاص بك",
497
501
  "please_try_again_after_few_minutes": "يمكنك محاولة تسجيل الدخول مرة أخرى بعد {{minutes}} دقيقة",
498
502
  "powered_by": "بواسطة",
@@ -566,6 +570,7 @@
566
570
  "signup_welcoming": "مرحبًا {{username}} ،",
567
571
  "signup_welcoming_hi": "مرحبا,",
568
572
  "social_media_label": "وسائل التواصل الاجتماعي",
573
+ "something_went_wrong": "حدث خطأ. يرجى المحاولة لاحقاً",
569
574
  "source_country_label": "الدولة",
570
575
  "start_with_number": "هل يمكنك التحقق من رقم الجوال الذي تم إدخاله. (ملاحظة - يبدأ رقم الجوال بـ 5 أو 05)",
571
576
  "step_required_by_rayah": "هذه الخطوة مطلوبة لبدء التحقق مع خدمة يقين من شركة علم",
@@ -136,6 +136,7 @@
136
136
  "capital_paid_hint": "00000",
137
137
  "capital_paid_input_label": "Capital Paid",
138
138
  "capital_paid_label": "Capital Paid ({{currency}})",
139
+ "capital_paid_input_label": "Capital Paid",
139
140
  "capital_paid_required": "Please Enter paid amount",
140
141
  "capital_share_count_hint": "00000",
141
142
  "capital_share_count_label": "Capital Share Count",
@@ -143,6 +144,7 @@
143
144
  "capital_share_value_hint": "00000",
144
145
  "capital_share_value_input_label": "Capital Share Value",
145
146
  "capital_share_value_label": "Capital Share Value ({{currency}})",
147
+ "capital_share_value_input_label": "Capital Share Value",
146
148
  "capital_share_value_required": "Please Enter share value",
147
149
  "category": "Category",
148
150
  "category_name": "Category name",
@@ -292,6 +294,7 @@
292
294
  "expected_customers_to_serve": "Customers served per month",
293
295
  "expected_sale_per_month": "Expected sale per month?",
294
296
  "expected_sales_monthly": "Expected sale per month? ({{currency}})",
297
+ "expected_sale_per_month": "Expected sale per month?",
295
298
  "expected_sales_yearly": "What is the expected sales for your business per month?",
296
299
  "expected_served_monthly": "Customers served per month",
297
300
  "expiry_date": "Date of expiry",
@@ -336,7 +339,7 @@
336
339
  "iban_input_placeholder": "{{countrycode}}44#################0",
337
340
  "id_placeholder": 2345566666,
338
341
  "ide_not_valid_url": "May you please verify the entered website address.",
339
- "ide_opt_sent_title": "A One Time Passcode (OTP) has been be sent to mobile number",
342
+ "ide_opt_sent_title": "A One Time Passcode (OTP) has been sent to mobile number",
340
343
  "ide_otp_resend_label": "Resend OTP",
341
344
  "ide_otp_waiting_title": "Please be patient as we are processing... ",
342
345
  "ide_registered_mobile_status_message": "Registered mobile ",
@@ -454,7 +457,7 @@
454
457
  "other": "other",
455
458
  "otp_authentication": "Authentication",
456
459
  "otp_authentication_description": "Verify with OTP for a Hassle-Free Experience",
457
- "otp_email_sent_title": "A One Time Passcode (OTP) has been be sent to your email ",
460
+ "otp_email_sent_title": "A One Time Passcode (OTP) has been sent to your email ",
458
461
  "otp_min_length": "Please enter the 6 digit OTP",
459
462
  "otp_provider": "Absher",
460
463
  "otp_required": "Please enter the required OTP",
@@ -509,6 +512,7 @@
509
512
  "please_choose_is_authorized": "Please tell us if you are the authorized user",
510
513
  "please_choose_relative_pep": "Are you or one of your relatives a Publicly Exposed Person (PEP)",
511
514
  "please_enter_actual_income": "Monthly income ({{currency}})",
515
+ "monthly_income": "Monthly income",
512
516
  "please_enter_employer_name": "Please enter the name of your employer",
513
517
  "please_try_again_after_few_minutes": "You can try to login again after {{minutes}} mins",
514
518
  "powered_by": "Powered by",
@@ -588,6 +592,7 @@
588
592
  "signup_welcoming": "Hello {{username}},",
589
593
  "signup_welcoming_hi": "Hello,",
590
594
  "social_media_label": "Social Media",
595
+ "something_went_wrong": "Something went wrong. Please try again later",
591
596
  "start_with_number": "May you please verify the entered mobile. (Note - mobile numbers start with 5 or 05",
592
597
  "step_required_by_rayah": "This step is required in order to initiate a verification with Yaqeen service from Elm.",
593
598
  "subtitle_drop": "choose file",
@@ -33,7 +33,7 @@ var StyledTooltip = styled(function (_a) {
33
33
  var _b;
34
34
  var theme = _a.theme;
35
35
  return (_b = {},
36
- _b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)) }),
36
+ _b["& .".concat(tooltipClasses.tooltip)] = __assign(__assign({ color: alpha(theme.palette.text.primary, 0.5), width: 'fit-content', maxHeight: 'fit-content' }, theme.typography.body2), { fontWeight: theme.typography.fontWeightLight, backgroundColor: theme.palette.secondary.light, border: "1px solid ".concat(alpha(theme.palette.divider, 0.8)), zIndex: 2147483647 }),
37
37
  _b);
38
38
  });
39
39
  var TextStyled = styled(Text, { shouldForwardProp: function (prop) { return prop !== 'isAr'; } })(function (_a) {
@@ -1,5 +1,6 @@
1
1
  import { ScreenStepNavigation, BusinessType, POSInfo, TerminalInfo } from '../@types';
2
2
  export declare const CONNECT_DEV_URL = "https://connect.dev.tap.company";
3
+ export declare const CONNECT_SANDBOX_URL = "https://connect.sandbox.tap.company";
3
4
  export declare const CONNECT_PROD_URL = "https://connect.tap.company";
4
5
  export declare const CLIENT_ORIGIN: string;
5
6
  export declare const TAP_WEBSITE = "https://www.tap.company/";
@@ -1,6 +1,7 @@
1
1
  import { BusinessType } from '../@types';
2
2
  import { CONNECT_FLOWS } from './flows';
3
3
  export var CONNECT_DEV_URL = 'https://connect.dev.tap.company';
4
+ export var CONNECT_SANDBOX_URL = 'https://connect.sandbox.tap.company';
4
5
  export var CONNECT_PROD_URL = 'https://connect.tap.company';
5
6
  export var CLIENT_ORIGIN = window.location.origin;
6
7
  export var TAP_WEBSITE = 'https://www.tap.company/';
@@ -76,7 +77,7 @@ export var CONNECT_SCREENS_NAVIGATION = [
76
77
  },
77
78
  {
78
79
  name: 'CONNECT_OTP_STEP',
79
- next: 'CONNECT_INDIVIDUAL_STEP',
80
+ next: ['CONNECT_INDIVIDUAL_STEP', 'CONNECT_OTP_VERIFY_SECURITY_ERROR_STEP'],
80
81
  prev: ['CONNECT_MOBILE_STEP', 'CONNECT_NID_STEP'],
81
82
  order: 2
82
83
  },
@@ -115,6 +116,12 @@ export var CONNECT_SCREENS_NAVIGATION = [
115
116
  next: '',
116
117
  prev: 'CONNECT_BRAND_SEGMENT_INFO_STEP',
117
118
  order: 6
119
+ },
120
+ {
121
+ name: 'CONNECT_OTP_VERIFY_SECURITY_ERROR_STEP',
122
+ next: '',
123
+ prev: '',
124
+ order: 5
118
125
  }
119
126
  ];
120
127
  export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
@@ -176,7 +183,8 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
176
183
  'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
177
184
  'CONNECT_EXPRESS_NID_MISSED_STEP',
178
185
  'CONNECT_EXPRESS_CIVIL_ID_MISSED_STEP',
179
- 'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP'
186
+ 'CONNECT_EXPRESS_AUTHENTICATION_LIST_STEP',
187
+ 'CONNECT_EXPRESS_OTP_VERIFY_SECURITY_ERROR_STEP'
180
188
  ],
181
189
  prev: 'CONNECT_EXPRESS_MOBILE_STEP',
182
190
  order: 2
@@ -280,7 +288,8 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
280
288
  'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP',
281
289
  'COLLECT_MOBILE_OWNERSHIP',
282
290
  'CONNECT_EXPRESS_COLLECT_BUSINESS_INFO_STEP',
283
- 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP'
291
+ 'CONNECT_EXPRESS_WAITING_FOR_CREATING_ACCOUNT_STEP',
292
+ 'CONNECT_EXPRESS_OTP_VERIFY_SECURITY_ERROR_STEP'
284
293
  ],
285
294
  prev: ['CONNECT_EXPRESS_COLLECT_INDIVIDUAL_INFO_STEP', 'CONNECT_EXPRESS_COLLECT_DOB_INFO_STEP', 'COLLECT_MOBILE_OWNERSHIP'],
286
295
  order: 7
@@ -308,6 +317,12 @@ export var CONNECT_EXPRESS_SCREENS_NAVIGATION = [
308
317
  next: '',
309
318
  prev: '',
310
319
  order: 11
320
+ },
321
+ {
322
+ name: 'CONNECT_EXPRESS_OTP_VERIFY_SECURITY_ERROR_STEP',
323
+ next: '',
324
+ prev: '',
325
+ order: 12
311
326
  }
312
327
  ];
313
328
  export var AUTH_SCREENS_NAVIGATION = [
@@ -355,13 +370,19 @@ export var AUTH_SCREENS_NAVIGATION = [
355
370
  },
356
371
  {
357
372
  name: 'AUTH_OTP_STEP',
358
- next: ['AUTH_PREPARING_DATA_STEP', 'AUTH_EMAIL_SENT_STEP', 'AUTH_MIGRATING_DATA_STEP', 'AUTH_PASSCODE_STEP'],
373
+ next: [
374
+ 'AUTH_PREPARING_DATA_STEP',
375
+ 'AUTH_EMAIL_SENT_STEP',
376
+ 'AUTH_MIGRATING_DATA_STEP',
377
+ 'AUTH_PASSCODE_STEP',
378
+ 'AUTH_OTP_VERIFY_SECURITY_ERROR_STEP'
379
+ ],
359
380
  prev: ['AUTH_MOBILE_STEP', 'AUTH_NID_STEP', 'AUTH_EMAIL_STEP', 'AUTH_PASSWORD_STEP'],
360
381
  order: 2
361
382
  },
362
383
  {
363
384
  name: 'AUTH_PASSCODE_STEP',
364
- next: ['AUTH_OTP_STEP', 'AUTH_PREPARING_DATA_STEP', 'AUTH_MIGRATING_DATA_STEP'],
385
+ next: ['AUTH_OTP_STEP', 'AUTH_PREPARING_DATA_STEP', 'AUTH_MIGRATING_DATA_STEP', 'AUTH_OTP_VERIFY_SECURITY_ERROR_STEP'],
365
386
  prev: ['AUTH_MOBILE_STEP', 'AUTH_EMAIL_STEP'],
366
387
  order: 2
367
388
  },
@@ -436,6 +457,12 @@ export var AUTH_SCREENS_NAVIGATION = [
436
457
  next: '',
437
458
  prev: 'AUTH_AUTHENTICATION_LIST_STEP',
438
459
  order: 4
460
+ },
461
+ {
462
+ name: 'AUTH_OTP_VERIFY_SECURITY_ERROR_STEP',
463
+ next: '',
464
+ prev: '',
465
+ order: 5
439
466
  }
440
467
  ];
441
468
  export var KYC_SCREENS_NAVIGATION = [
@@ -506,7 +533,8 @@ export var BUSINESS_SCREENS_NAVIGATION = [
506
533
  'BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
507
534
  'BUSINESS_CIVIL_ID_STEP',
508
535
  'BUSINESS_VERIFY_BRAND_INFO',
509
- 'BUSINESS_DOB_STEP'
536
+ 'BUSINESS_DOB_STEP',
537
+ 'BUSINESS_OTP_VERIFY_SECURITY_ERROR_STEP'
510
538
  ],
511
539
  prev: '',
512
540
  order: 1
@@ -600,12 +628,23 @@ export var BUSINESS_SCREENS_NAVIGATION = [
600
628
  next: '',
601
629
  prev: 'BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
602
630
  order: 8
631
+ },
632
+ {
633
+ name: 'BUSINESS_OTP_VERIFY_SECURITY_ERROR_STEP',
634
+ next: '',
635
+ prev: '',
636
+ order: 9
603
637
  }
604
638
  ];
605
639
  export var INDIVIDUAL_SCREENS_NAVIGATION = [
606
640
  {
607
641
  name: 'INDIVIDUAL_VERIFY_STEP',
608
- next: ['INDIVIDUAL_PERSONAL_INDIVIDUAL_INFO_STEP', 'INDIVIDUAL_LIST_STEP', 'INDIVIDUAL_PHONE_INFO_STEP'],
642
+ next: [
643
+ 'INDIVIDUAL_PERSONAL_INDIVIDUAL_INFO_STEP',
644
+ 'INDIVIDUAL_LIST_STEP',
645
+ 'INDIVIDUAL_PHONE_INFO_STEP',
646
+ 'INDIVIDUAL_OTP_VERIFY_SECURITY_ERROR_STEP'
647
+ ],
609
648
  prev: 'INDIVIDUAL_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
610
649
  order: 1
611
650
  },
@@ -662,12 +701,18 @@ export var INDIVIDUAL_SCREENS_NAVIGATION = [
662
701
  next: '',
663
702
  prev: 'INDIVIDUAL_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
664
703
  order: 6
704
+ },
705
+ {
706
+ name: 'INDIVIDUAL_OTP_VERIFY_SECURITY_ERROR_STEP',
707
+ next: '',
708
+ prev: '',
709
+ order: 7
665
710
  }
666
711
  ];
667
712
  export var PASSWORD_SCREENS_NAVIGATION = [
668
713
  {
669
714
  name: 'PASSWORD_VERIFY_STEP',
670
- next: ['PASSWORD_CREATE_PASSWORD_STEP', 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP'],
715
+ next: ['PASSWORD_CREATE_PASSWORD_STEP', 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP', 'PASSWORD_OTP_VERIFY_SECURITY_ERROR_STEP'],
671
716
  prev: 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
672
717
  order: 1
673
718
  },
@@ -691,7 +736,7 @@ export var PASSWORD_SCREENS_NAVIGATION = [
691
736
  },
692
737
  {
693
738
  name: 'PASSWORD_RESET_PASSWORD_OTP_STEP',
694
- next: 'PASSWORD_SUCCESS_STEP',
739
+ next: ['PASSWORD_SUCCESS_STEP', 'PASSWORD_OTP_VERIFY_SECURITY_ERROR_STEP'],
695
740
  prev: 'PASSWORD_CREATE_PASSWORD_STEP',
696
741
  order: 3
697
742
  },
@@ -712,12 +757,18 @@ export var PASSWORD_SCREENS_NAVIGATION = [
712
757
  next: '',
713
758
  prev: 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
714
759
  order: 6
760
+ },
761
+ {
762
+ name: 'PASSWORD_OTP_VERIFY_SECURITY_ERROR_STEP',
763
+ next: '',
764
+ prev: '',
765
+ order: 7
715
766
  }
716
767
  ];
717
768
  export var BANK_SCREENS_NAVIGATION = [
718
769
  {
719
770
  name: 'BANK_VERIFY_STEP',
720
- next: 'BANK_BANK_DETAILS_STEP',
771
+ next: ['BANK_BANK_DETAILS_STEP', 'BANK_OTP_VERIFY_SECURITY_ERROR_STEP'],
721
772
  prev: '',
722
773
  order: 1
723
774
  },
@@ -756,12 +807,18 @@ export var BANK_SCREENS_NAVIGATION = [
756
807
  next: '',
757
808
  prev: 'BANK_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
758
809
  order: 5
810
+ },
811
+ {
812
+ name: 'BANK_OTP_VERIFY_SECURITY_ERROR_STEP',
813
+ next: '',
814
+ prev: '',
815
+ order: 6
759
816
  }
760
817
  ];
761
818
  export var BOARD_SCREENS_NAVIGATION = [
762
819
  {
763
820
  name: 'BOARD_VERIFY_STEP',
764
- next: ['BOARD_SUCCESS_STEP', 'BOARD_SUCCESS_FLOWS_BUTTONS_STEP'],
821
+ next: ['BOARD_SUCCESS_STEP', 'BOARD_SUCCESS_FLOWS_BUTTONS_STEP', 'BOARD_OTP_VERIFY_SECURITY_ERROR_STEP'],
765
822
  prev: '',
766
823
  order: 1
767
824
  },
@@ -788,12 +845,18 @@ export var BOARD_SCREENS_NAVIGATION = [
788
845
  next: '',
789
846
  prev: 'BOARD_SUCCESS_FLOWS_BUTTONS_STEP',
790
847
  order: 3
848
+ },
849
+ {
850
+ name: 'BOARD_OTP_VERIFY_SECURITY_ERROR_STEP',
851
+ next: '',
852
+ prev: '',
853
+ order: 4
791
854
  }
792
855
  ];
793
856
  export var TAX_SCREENS_NAVIGATION = [
794
857
  {
795
858
  name: 'TAX_VERIFY_STEP',
796
- next: 'TAX_TAX_DETAILS_STEP',
859
+ next: ['TAX_TAX_DETAILS_STEP', 'TAX_OTP_VERIFY_SECURITY_ERROR_STEP'],
797
860
  prev: 'TAX_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
798
861
  order: 1
799
862
  },
@@ -832,6 +895,12 @@ export var TAX_SCREENS_NAVIGATION = [
832
895
  next: '',
833
896
  prev: 'TAX_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
834
897
  order: 5
898
+ },
899
+ {
900
+ name: 'TAX_OTP_VERIFY_SECURITY_ERROR_STEP',
901
+ next: '',
902
+ prev: '',
903
+ order: 6
835
904
  }
836
905
  ];
837
906
  export var SigIn_SCREENS_NAVIGATION = [
@@ -869,7 +938,7 @@ export var SigIn_SCREENS_NAVIGATION = [
869
938
  export var ENTITY_SCREENS_NAVIGATION = [
870
939
  {
871
940
  name: 'ENTITY_VERIFY_STEP',
872
- next: 'ENTITY_NAME_STEP',
941
+ next: ['ENTITY_NAME_STEP', 'ENTITY_OTP_VERIFY_SECURITY_ERROR_STEP'],
873
942
  prev: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
874
943
  order: 1
875
944
  },
@@ -914,12 +983,18 @@ export var ENTITY_SCREENS_NAVIGATION = [
914
983
  next: '',
915
984
  prev: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
916
985
  order: 5
986
+ },
987
+ {
988
+ name: 'ENTITY_OTP_VERIFY_SECURITY_ERROR_STEP',
989
+ next: '',
990
+ prev: '',
991
+ order: 6
917
992
  }
918
993
  ];
919
994
  export var BRAND_SCREENS_NAVIGATION = [
920
995
  {
921
996
  name: 'BRAND_VERIFY_STEP',
922
- next: 'BRAND_INFO_STEP',
997
+ next: ['BRAND_INFO_STEP', 'BRAND_OTP_VERIFY_SECURITY_ERROR_STEP'],
923
998
  prev: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
924
999
  order: 1
925
1000
  },
@@ -970,12 +1045,18 @@ export var BRAND_SCREENS_NAVIGATION = [
970
1045
  next: '',
971
1046
  prev: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
972
1047
  order: 6
1048
+ },
1049
+ {
1050
+ name: 'BRAND_OTP_VERIFY_SECURITY_ERROR_STEP',
1051
+ next: '',
1052
+ prev: '',
1053
+ order: 7
973
1054
  }
974
1055
  ];
975
1056
  export var TERMINAL_SCREENS_NAVIGATION = [
976
1057
  {
977
1058
  name: CONNECT_FLOWS.terminal.verify,
978
- next: [CONNECT_FLOWS.terminal.terminalDeviceList, CONNECT_FLOWS.terminal.noTerminalLinked],
1059
+ next: [CONNECT_FLOWS.terminal.terminalDeviceList, CONNECT_FLOWS.terminal.noTerminalLinked, CONNECT_FLOWS.terminal.otpVerifySecurityError],
979
1060
  prev: CONNECT_FLOWS.terminal.board,
980
1061
  order: 1
981
1062
  },
@@ -993,7 +1074,7 @@ export var TERMINAL_SCREENS_NAVIGATION = [
993
1074
  },
994
1075
  {
995
1076
  name: CONNECT_FLOWS.terminal.noTerminalLinked,
996
- next: CONNECT_FLOWS.terminal.terminalLinkNew,
1077
+ next: CONNECT_FLOWS.terminal.posDeviceList,
997
1078
  prev: CONNECT_FLOWS.terminal.board,
998
1079
  order: 2
999
1080
  },
@@ -1006,13 +1087,13 @@ export var TERMINAL_SCREENS_NAVIGATION = [
1006
1087
  {
1007
1088
  name: CONNECT_FLOWS.terminal.posDeviceList,
1008
1089
  next: CONNECT_FLOWS.terminal.terminalLinkNew,
1009
- prev: CONNECT_FLOWS.terminal.terminalDeviceList,
1090
+ prev: [CONNECT_FLOWS.terminal.terminalDeviceList, CONNECT_FLOWS.terminal.noTerminalLinked],
1010
1091
  order: 3
1011
1092
  },
1012
1093
  {
1013
1094
  name: CONNECT_FLOWS.terminal.terminalLinkNew,
1014
1095
  next: CONNECT_FLOWS.terminal.terminalLinkedSuccess,
1015
- prev: [CONNECT_FLOWS.terminal.noTerminalLinked, CONNECT_FLOWS.terminal.posDeviceList],
1096
+ prev: CONNECT_FLOWS.terminal.posDeviceList,
1016
1097
  order: 3
1017
1098
  },
1018
1099
  {
@@ -1050,6 +1131,12 @@ export var TERMINAL_SCREENS_NAVIGATION = [
1050
1131
  next: CONNECT_FLOWS.terminal.board,
1051
1132
  prev: '',
1052
1133
  order: 6
1134
+ },
1135
+ {
1136
+ name: CONNECT_FLOWS.terminal.otpVerifySecurityError,
1137
+ next: '',
1138
+ prev: '',
1139
+ order: 7
1053
1140
  }
1054
1141
  ];
1055
1142
  export var DefaultDeviceInfo = {
@@ -37,5 +37,6 @@ export declare const CONNECT_FLOWS: {
37
37
  board: string;
38
38
  resetPassword: string;
39
39
  posDeviceList: string;
40
+ otpVerifySecurityError: string;
40
41
  };
41
42
  };
@@ -37,6 +37,7 @@ export var CONNECT_FLOWS = {
37
37
  terminalUnlinkedSuccess: 'TERMINAL_UNLINKED_SUCCESS_STEP',
38
38
  board: 'TERMINAL_BOARD_STEP',
39
39
  resetPassword: 'TERMINAL_RESET_PASSWORD',
40
- posDeviceList: 'TERMINAL_POS_DEVICE_LIST_STEP'
40
+ posDeviceList: 'TERMINAL_POS_DEVICE_LIST_STEP',
41
+ otpVerifySecurityError: 'TERMINAL_OTP_VERIFY_SECURITY_ERROR_STEP'
41
42
  }
42
43
  };