@tap-payments/auth-jsconnect 2.10.11-beta → 2.10.11

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 (121) hide show
  1. package/README.md +2 -2
  2. package/build/@types/app.d.ts +3 -1
  3. package/build/@types/app.js +1 -0
  4. package/build/@types/form.d.ts +7 -2
  5. package/build/api/account.d.ts +2 -2
  6. package/build/api/account.js +7 -4
  7. package/build/api/auth.d.ts +2 -1
  8. package/build/api/auth.js +7 -3
  9. package/build/api/axios.d.ts +1 -1
  10. package/build/api/entity.d.ts +3 -0
  11. package/build/api/headers.d.ts +5 -0
  12. package/build/api/headers.js +3 -0
  13. package/build/api/index.d.ts +4 -4
  14. package/build/api/lead.d.ts +1 -0
  15. package/build/api/operator.d.ts +1 -1
  16. package/build/api/operator.js +5 -2
  17. package/build/app/settings.d.ts +1 -0
  18. package/build/app/settings.js +8 -5
  19. package/build/assets/currencies/AEDSymbol.d.ts +7 -0
  20. package/build/assets/currencies/AEDSymbol.js +28 -0
  21. package/build/assets/currencies/SARSymbol.d.ts +7 -0
  22. package/build/assets/currencies/SARSymbol.js +28 -0
  23. package/build/assets/currencies/index.d.ts +2 -0
  24. package/build/assets/currencies/index.js +2 -0
  25. package/build/assets/currencies/utils.d.ts +4 -0
  26. package/build/assets/currencies/utils.js +6 -0
  27. package/build/assets/locales/ar.json +53 -7
  28. package/build/assets/locales/en.json +58 -11
  29. package/build/components/TextWithCurrency/TextWithCurrency.d.ts +7 -0
  30. package/build/components/TextWithCurrency/TextWithCurrency.js +14 -0
  31. package/build/components/TextWithCurrency/index.d.ts +2 -0
  32. package/build/components/TextWithCurrency/index.js +2 -0
  33. package/build/constants/api.d.ts +1 -0
  34. package/build/constants/api.js +2 -0
  35. package/build/constants/app.d.ts +11 -0
  36. package/build/constants/app.js +110 -19
  37. package/build/constants/assets.d.ts +12 -3
  38. package/build/constants/assets.js +123 -105
  39. package/build/constants/dummy.js +27 -20
  40. package/build/constants/validation.d.ts +1 -0
  41. package/build/constants/validation.js +1 -0
  42. package/build/features/app/auth/authStore.d.ts +24 -5
  43. package/build/features/app/auth/authStore.js +188 -113
  44. package/build/features/app/bank/bankStore.js +24 -20
  45. package/build/features/app/board/boardStore.js +11 -7
  46. package/build/features/app/brand/brandStore.js +22 -18
  47. package/build/features/app/business/businessStore.js +45 -36
  48. package/build/features/app/connect/connectStore.d.ts +6 -5
  49. package/build/features/app/connect/connectStore.js +48 -31
  50. package/build/features/app/connectExpress/connectExpressStore.d.ts +6 -5
  51. package/build/features/app/connectExpress/connectExpressStore.js +99 -39
  52. package/build/features/app/entity/entityStore.js +21 -17
  53. package/build/features/app/individual/individualStore.js +33 -28
  54. package/build/features/app/password/passwordStore.js +44 -46
  55. package/build/features/app/signIn/signInStore.js +12 -16
  56. package/build/features/app/tax/taxStore.js +21 -17
  57. package/build/features/auth/Auth.d.ts +1 -1
  58. package/build/features/auth/screens/AuthenticationList/AuthenticationList.js +10 -7
  59. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.d.ts +4 -1
  60. package/build/features/auth/screens/AuthenticationList/EntityLicenseType.js +6 -4
  61. package/build/features/auth/screens/AuthenticationList/EntityList.js +11 -3
  62. package/build/features/auth/screens/OTP/OTP.d.ts +13 -2
  63. package/build/features/auth/screens/OTP/OTP.js +15 -3
  64. package/build/features/auth/screens/OTP/index.d.ts +1 -2
  65. package/build/features/auth/screens/Passcode/Passcode.d.ts +16 -0
  66. package/build/features/auth/screens/Passcode/Passcode.js +82 -0
  67. package/build/features/auth/screens/Passcode/PasscodeInput.d.ts +6 -0
  68. package/build/features/auth/screens/Passcode/PasscodeInput.js +42 -0
  69. package/build/features/auth/screens/Passcode/index.d.ts +2 -0
  70. package/build/features/auth/screens/Passcode/index.js +2 -0
  71. package/build/features/auth/screens/Passcode/validation.d.ts +8 -0
  72. package/build/features/auth/screens/Passcode/validation.js +4 -0
  73. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +3 -8
  74. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +1 -1
  75. package/build/features/business/screens/BusinessType/BusinessType.js +15 -5
  76. package/build/features/business/screens/BusinessType/EntityLicenseList.js +11 -5
  77. package/build/features/business/screens/BusinessType/LicenseList.js +20 -12
  78. package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +35 -0
  79. package/build/features/business/screens/BusinessType/UnifiedNumber.js +84 -0
  80. package/build/features/business/screens/BusinessType/validation.d.ts +6 -3
  81. package/build/features/business/screens/BusinessType/validation.js +31 -10
  82. package/build/features/business/screens/Customers/ExpectedSalesRange.js +3 -8
  83. package/build/features/business/screens/Customers/RefundPolicy.d.ts +1 -1
  84. package/build/features/connectExpress/screens/AuthenticationList/AuthenticationList.js +10 -10
  85. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.d.ts +4 -1
  86. package/build/features/connectExpress/screens/AuthenticationList/EntityLicenseType.js +6 -4
  87. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +11 -3
  88. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -0
  89. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +27 -16
  90. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
  91. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +1 -1
  92. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +36 -0
  93. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.js +81 -0
  94. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +6 -3
  95. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +57 -21
  96. package/build/features/connectExpress/screens/Mobile/Mobile.js +7 -6
  97. package/build/features/entity/screens/EntityCapital/CapitalPaid.js +3 -7
  98. package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +3 -7
  99. package/build/features/entity/screens/EntityName/EntityName.js +16 -15
  100. package/build/features/entity/screens/EntityName/UnifiedNumber.js +2 -2
  101. package/build/features/entity/screens/EntityName/validation.d.ts +50 -48
  102. package/build/features/entity/screens/EntityName/validation.js +100 -85
  103. package/build/features/featuresScreens.js +60 -0
  104. package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +3 -8
  105. package/build/features/individual/screens/AdditionalIndividualInfo/ShareValue.js +3 -8
  106. package/build/features/shared/Background/LogoBackground.js +5 -17
  107. package/build/features/shared/Button/Button.js +1 -2
  108. package/build/features/shared/Input/Input.d.ts +1 -1
  109. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.d.ts +3 -0
  110. package/build/features/shared/OTPVerifySecurityError/OTPVerifySecurityError.js +9 -0
  111. package/build/features/shared/OTPVerifySecurityError/index.d.ts +2 -0
  112. package/build/features/shared/OTPVerifySecurityError/index.js +2 -0
  113. package/build/hooks/useAppConfig.js +1 -1
  114. package/build/utils/common.d.ts +1 -1
  115. package/build/utils/common.js +14 -8
  116. package/build/utils/error.d.ts +2 -0
  117. package/build/utils/error.js +6 -0
  118. package/build/utils/string.d.ts +3 -2
  119. package/build/utils/string.js +4 -1
  120. package/build/utils/validation.js +1 -1
  121. package/package.json +3 -3
@@ -134,13 +134,17 @@
134
134
  "call_center_placeholder": "Enter your call center number",
135
135
  "cancel": "Cancel",
136
136
  "capital_paid_hint": "00000",
137
+ "capital_paid_input_label": "Capital Paid",
137
138
  "capital_paid_label": "Capital Paid ({{currency}})",
139
+ "capital_paid_input_label": "Capital Paid",
138
140
  "capital_paid_required": "Please Enter paid amount",
139
141
  "capital_share_count_hint": "00000",
140
142
  "capital_share_count_label": "Capital Share Count",
141
143
  "capital_share_count_required": "Please Enter share count",
142
144
  "capital_share_value_hint": "00000",
145
+ "capital_share_value_input_label": "Capital Share Value",
143
146
  "capital_share_value_label": "Capital Share Value ({{currency}})",
147
+ "capital_share_value_input_label": "Capital Share Value",
144
148
  "capital_share_value_required": "Please Enter share value",
145
149
  "category": "Category",
146
150
  "category_name": "Category name",
@@ -214,6 +218,7 @@
214
218
  "create_new_entity": "Create Entity",
215
219
  "creating_account_description": "This might take a moment...",
216
220
  "creating_account_title": "Creating your account",
221
+ "current_mobile_number": "Current mobile number",
217
222
  "customer_base_name_hint": "Choose local if you sell only in the country where you are based. Choose regional if you also sell to other GCC countries. Choose worldwide if you sell to any country outside the GCC.",
218
223
  "data_loading_desc": "Please wait as we are preparing data",
219
224
  "data_loading_title": "Preparing data",
@@ -256,7 +261,7 @@
256
261
  "enter_license_no": "Freelance registration",
257
262
  "enter_license_number": "Please enter license number at least 5 chars",
258
263
  "enter_national_id": "Identification number",
259
- "enter_served_monthly": "Customers server per month",
264
+ "enter_served_monthly": "Customers served per month",
260
265
  "enter_strong_password": "Please enter strong password.",
261
266
  "enter_valid_birth_date": "Please enter a valid birth date.",
262
267
  "enter_valid_brand_name": "Please enter a valid brand name.",
@@ -286,10 +291,12 @@
286
291
  "entity_success_title": "Entity Updated Successfully",
287
292
  "entity_type": "Entity Type",
288
293
  "entity_type_required": "Please select at least one entity type",
289
- "expected_customers_to_serve": "Customers server per month",
294
+ "expected_customers_to_serve": "Customers served per month",
295
+ "expected_sale_per_month": "Expected sale per month?",
290
296
  "expected_sales_monthly": "Expected sale per month? ({{currency}})",
297
+ "expected_sale_per_month": "Expected sale per month?",
291
298
  "expected_sales_yearly": "What is the expected sales for your business per month?",
292
- "expected_served_monthly": "Customers server per month",
299
+ "expected_served_monthly": "Customers served per month",
293
300
  "expiry_date": "Date of expiry",
294
301
  "express_account_already_created_close_button": "Close",
295
302
  "express_account_already_created_description": "Your Account is already created",
@@ -332,7 +339,7 @@
332
339
  "iban_input_placeholder": "{{countrycode}}44#################0",
333
340
  "id_placeholder": 2345566666,
334
341
  "ide_not_valid_url": "May you please verify the entered website address.",
335
- "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",
336
343
  "ide_otp_resend_label": "Resend OTP",
337
344
  "ide_otp_waiting_title": "Please be patient as we are processing... ",
338
345
  "ide_registered_mobile_status_message": "Registered mobile ",
@@ -402,6 +409,7 @@
402
409
  "loading": "Loading...",
403
410
  "loading_bank_statement": "loading....",
404
411
  "login_to_dashboard": "Login to dashboard",
412
+ "login_with_passcode": "Login with Passcode",
405
413
  "mail_btn_open_title": "Open Mail",
406
414
  "marital_status": "Marital status",
407
415
  "masking_symbols": "•••",
@@ -415,11 +423,14 @@
415
423
  "mobile_app_label": "Mobile App",
416
424
  "mobile_button_label": "Continue with Mobile",
417
425
  "mobile_number_description": "Start instantly with your Mobile Number",
426
+ "mobile_ownership_title": "Please update your mobile number to match you national ID",
418
427
  "month": "Month",
428
+ "monthly_income": "Monthly income",
419
429
  "nafath_button_label": "Continue with Nafath",
420
430
  "nafath_verification_description_check": "Please go to your NAFATH app and enter the above request number to authenticate.",
421
431
  "nafath_verification_description_error": "Please try again",
422
432
  "nafath_verification_description_wait": "Please go to your NAFATH app and enter the above request number to authenticate.",
433
+ "nafath_verification_failed": "Make sure to approve the request sent through Nafath App, please try to send a new request.",
423
434
  "nafath_verification_redirection_message": "You will be redirected now",
424
435
  "nafath_verification_title_check": "Authenticate with NAFATH app",
425
436
  "nafath_verification_title_error": "We cannot confirm your authentication",
@@ -429,6 +440,7 @@
429
440
  "national_id_placeholder": "0000000000",
430
441
  "national_id_title": "National ID",
431
442
  "nationality_label": "Nationality",
443
+ "new_mobile_number": "New mobile number",
432
444
  "next": "Next",
433
445
  "no": "No",
434
446
  "no login credentials available": "May you please verify the entered email address. (Note - Please make sure to enter an email address associated with Tap)",
@@ -446,7 +458,7 @@
446
458
  "other": "other",
447
459
  "otp_authentication": "Authentication",
448
460
  "otp_authentication_description": "Verify with OTP for a Hassle-Free Experience",
449
- "otp_email_sent_title": "A One Time Passcode (OTP) has been be sent to your email ",
461
+ "otp_email_sent_title": "A One Time Passcode (OTP) has been sent to your email ",
450
462
  "otp_min_length": "Please enter the 6 digit OTP",
451
463
  "otp_provider": "Absher",
452
464
  "otp_required": "Please enter the required OTP",
@@ -465,6 +477,8 @@
465
477
  "paci_verify_loading": "Fetching Details",
466
478
  "paci_verify_loading_desc": "Please be patient until verify details",
467
479
  "paci_waiting_title": "Please wait we are verifying",
480
+ "passcode_required": "Please enter the required Passcode",
481
+ "passcode_title": "Please enter your passcode",
468
482
  "password_flow_completed": "Reset my password",
469
483
  "password_flow_pending": "Setup my password",
470
484
  "password_flow_title": "Setup your password",
@@ -499,6 +513,7 @@
499
513
  "please_choose_is_authorized": "Please tell us if you are the authorized user",
500
514
  "please_choose_relative_pep": "Are you or one of your relatives a Publicly Exposed Person (PEP)",
501
515
  "please_enter_actual_income": "Monthly income ({{currency}})",
516
+ "monthly_income": "Monthly income",
502
517
  "please_enter_employer_name": "Please enter the name of your employer",
503
518
  "please_try_again_after_few_minutes": "You can try to login again after {{minutes}} mins",
504
519
  "powered_by": "Powered by",
@@ -544,7 +559,9 @@
544
559
  "share_count_hint": "0",
545
560
  "share_count_label": "Share Count",
546
561
  "share_value_hint": "0000",
562
+ "share_value_input_label": "Share Value",
547
563
  "share_value_label": "Share Value ({{currency}})",
564
+ "sign_in_with_otp": "Sign in with OTP",
548
565
  "sign_up": "Sign up",
549
566
  "signed_up": "Signed up",
550
567
  "signin_email_label": "Email address",
@@ -576,6 +593,7 @@
576
593
  "signup_welcoming": "Hello {{username}},",
577
594
  "signup_welcoming_hi": "Hello,",
578
595
  "social_media_label": "Social Media",
596
+ "something_went_wrong": "Something went wrong. Please try again later",
579
597
  "start_with_number": "May you please verify the entered mobile. (Note - mobile numbers start with 5 or 05",
580
598
  "step_required_by_rayah": "This step is required in order to initiate a verification with Yaqeen service from Elm.",
581
599
  "subtitle_drop": "choose file",
@@ -620,6 +638,34 @@
620
638
  "tax_success_header_title": "Tax completed",
621
639
  "tax_success_title": "Your tax details are updated",
622
640
  "team_size_title": "Team Size",
641
+ "terminal_device_id": "Device ID",
642
+ "terminal_devices": "{{name}} Devices",
643
+ "terminal_flow_pending": "Terminals",
644
+ "terminal_go_to_board": "Go to Board",
645
+ "terminal_id": "Terminal ID",
646
+ "terminal_link": "Link",
647
+ "terminal_link_terminal": "Link Terminal",
648
+ "terminal_linked": "Linked",
649
+ "terminal_linked_success": "Your terminal {{device}} is linked successfully",
650
+ "terminal_linked_with": "Linked with",
651
+ "terminal_manage_terminals": "Manage Terminals",
652
+ "terminal_new_request_will_send": "A new link request bas ben sent to Tap Terminal app to confirm linking.",
653
+ "terminal_no_terminal_linked": "No Terminal Linked",
654
+ "terminal_no_terminal_linked_description": "We will list the linked terminals here when available",
655
+ "terminal_or_use_code": "or use code",
656
+ "terminal_paired_with": "Paired with",
657
+ "terminal_push_notification_link_new_terminal_failed": "Something went wrong. Please try again later",
658
+ "terminal_qr_code_description": "Open the Tap app on the terminal and select Linked Terminal from the More menu.",
659
+ "terminal_request_denied": "The Request to link Terminal {{device}} has been denied.",
660
+ "terminal_request_will_send": "A request will be sent to Tap Terminal app to confirm linking.",
661
+ "terminal_resend_request": "Resend Request",
662
+ "terminal_select_device": "Select device",
663
+ "terminal_send_link_request": "Send linking request",
664
+ "terminal_serial_number": "Serial no",
665
+ "terminal_unlink": "Unlink",
666
+ "terminal_unlinked": "Unlinked",
667
+ "terminal_unlinked_success": "Your terminal {{device}} is unlinked successfully",
668
+ "terminal_with": "with",
623
669
  "terms_and_conditions_link_title": "terms and conditions",
624
670
  "the nin format is not valid": "May you please verify the entered identification number.",
625
671
  "title_article": "Article of association",
@@ -641,9 +687,15 @@
641
687
  "unified_number_hint": "00000",
642
688
  "unified_number_label": "Unified Number",
643
689
  "unified_number_required": "Unified Number Required",
690
+ "update_later": "I'll update later",
691
+ "update_mobile_number": "Update mobile number",
644
692
  "upload_bank_statement": "Please upload the bank statement",
645
693
  "upload_file": "Select a file from your computer",
646
694
  "uploaded_file": "file",
695
+ "v1_add_unified_number": "Add a Unified Number",
696
+ "v1_company_unified_number_description": "You can find your Company Unified Number in the top-left corner of your Company Registration Certificate.",
697
+ "v1_company_unified_number_hint": "700xxxxxxx",
698
+ "v1_company_unified_number_label": "Company unified number",
647
699
  "vat_id": "Tax Identification Number (TIN)",
648
700
  "vat_id_placeholder": "000000000",
649
701
  "verification_brand_name": "Brand name",
@@ -660,10 +712,5 @@
660
712
  "website_label": "Website",
661
713
  "year": "Year",
662
714
  "yes": "Yes",
663
- "your_brand_details": "Your brand details",
664
- "mobile_ownership_title": "To enable bank payouts, please update your registered mobile number to match your national ID.",
665
- "current_mobile_number": "Current mobile number",
666
- "new_mobile_number": "New mobile number",
667
- "update_mobile_number": "Update mobile number",
668
- "update_later": "I'll update later"
715
+ "your_brand_details": "Your brand details"
669
716
  }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ declare type TextWithCurrencyProps = {
3
+ text: string;
4
+ countryCode?: string;
5
+ };
6
+ declare const TextWithCurrency: ({ text, countryCode }: TextWithCurrencyProps) => JSX.Element;
7
+ export default TextWithCurrency;
@@ -0,0 +1,14 @@
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { getCurrencyByCountryIso2 } from '../../utils';
3
+ import { CURRENCY_ICON } from '../../assets/currencies';
4
+ var TextWithCurrency = function (_a) {
5
+ var text = _a.text, countryCode = _a.countryCode;
6
+ if (!countryCode)
7
+ return _jsx(_Fragment, { children: text });
8
+ var currencyCode = getCurrencyByCountryIso2(countryCode);
9
+ var CurrencyIcon = CURRENCY_ICON[countryCode];
10
+ if (CurrencyIcon)
11
+ return (_jsxs("span", { children: [text, " (", _jsx(CurrencyIcon, {}), ")"] }));
12
+ return (_jsxs("span", { children: [text, currencyCode ? " (".concat(currencyCode, ")") : ''] }));
13
+ };
14
+ export default TextWithCurrency;
@@ -0,0 +1,2 @@
1
+ import TextWithCurrency from './TextWithCurrency';
2
+ export default TextWithCurrency;
@@ -0,0 +1,2 @@
1
+ import TextWithCurrency from './TextWithCurrency';
2
+ export default TextWithCurrency;
@@ -12,6 +12,7 @@ export declare const ENDPOINT_PATHS: {
12
12
  SANDBOX_BASE_URL: string;
13
13
  PRODUCTION_BASE_URL: string;
14
14
  PRODUCTION_BASE_URL_SA: string;
15
+ PRODUCTION_BASE_URL_SA_DR: string;
15
16
  DEV_BASE_URL: string;
16
17
  BETA_BASE_URL: string;
17
18
  BUSINESS_COUNTRIES: string;
@@ -1,6 +1,7 @@
1
1
  var SANDBOX_BASE_URL = 'https://connect-mw.sandbox.tap.company/middleware';
2
2
  var PRODUCTION_BASE_URL = 'https://connect-mw.tap.company/middleware';
3
3
  var PRODUCTION_BASE_URL_SA = 'https://connect-mw.tap.com.sa/middleware';
4
+ var PRODUCTION_BASE_URL_SA_DR = 'https://connect-mw.tap.com.sa/middleware';
4
5
  var DEV_BASE_URL = 'https://connect-mw.dev.tap.company/middleware';
5
6
  var BETA_BASE_URL = 'https://connect-mw.beta.tap.company/middleware';
6
7
  var API_BUSINESS_COUNTRIES = 'https://godata.sandbox.tap.company/api/v1/business/country/list';
@@ -71,6 +72,7 @@ export var ENDPOINT_PATHS = {
71
72
  SANDBOX_BASE_URL: SANDBOX_BASE_URL,
72
73
  PRODUCTION_BASE_URL: PRODUCTION_BASE_URL,
73
74
  PRODUCTION_BASE_URL_SA: PRODUCTION_BASE_URL_SA,
75
+ PRODUCTION_BASE_URL_SA_DR: PRODUCTION_BASE_URL_SA_DR,
74
76
  DEV_BASE_URL: DEV_BASE_URL,
75
77
  BETA_BASE_URL: BETA_BASE_URL,
76
78
  BUSINESS_COUNTRIES: API_BUSINESS_COUNTRIES,
@@ -11,6 +11,7 @@ export declare const LOCAL_STORAGE_KEYS: {
11
11
  languageMode: string;
12
12
  };
13
13
  export declare const SCOPE_AUTH = "auth";
14
+ export declare const SCOPE_MERCHANT = "merchant";
14
15
  export declare const DEFAULT_COUNTRY_ISO2 = "KW";
15
16
  export declare const NAFATH_VERIFICATION_FAILED = "nafath_verification_failed";
16
17
  export declare const COLLECT_DOB_INFO_NAFATH = "collect_date_of_birth";
@@ -120,6 +121,7 @@ export declare const AUTH_STEP_NAMES: {
120
121
  CREATE_AUTH_NID: string;
121
122
  VERIFY_AUTH_NID: string;
122
123
  UPDATE_DOB_INFO: string;
124
+ CREATE_AUTH_PASSCODE: string;
123
125
  };
124
126
  export declare const CONNECT_EXPRESS_STEP_NAMES: {
125
127
  CREATE_AUTH_MOBILE: string;
@@ -225,6 +227,9 @@ export declare const OTHER_FL_LICENSE: {
225
227
  };
226
228
  license: {
227
229
  number: string;
230
+ additional_info: {
231
+ unified_number: string;
232
+ };
228
233
  };
229
234
  type: BusinessType;
230
235
  };
@@ -236,6 +241,9 @@ export declare const OTHER_ENTITY_LICENSE: {
236
241
  };
237
242
  license: {
238
243
  number: string;
244
+ additional_info: {
245
+ unified_number: string;
246
+ };
239
247
  };
240
248
  type: BusinessType;
241
249
  };
@@ -246,6 +254,9 @@ export declare const OTHER_CR_LICENSE: {
246
254
  };
247
255
  license: {
248
256
  number: string;
257
+ additional_info: {
258
+ unified_number: string;
259
+ };
249
260
  };
250
261
  type: BusinessType;
251
262
  };
@@ -12,6 +12,7 @@ export var LOCAL_STORAGE_KEYS = {
12
12
  languageMode: 'languageMode'
13
13
  };
14
14
  export var SCOPE_AUTH = 'auth';
15
+ export var SCOPE_MERCHANT = 'merchant';
15
16
  export var DEFAULT_COUNTRY_ISO2 = 'KW';
16
17
  export var NAFATH_VERIFICATION_FAILED = 'nafath_verification_failed';
17
18
  export var COLLECT_DOB_INFO_NAFATH = 'collect_date_of_birth';
@@ -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 = [
@@ -331,13 +346,13 @@ export var AUTH_SCREENS_NAVIGATION = [
331
346
  },
332
347
  {
333
348
  name: 'AUTH_MOBILE_STEP',
334
- next: 'AUTH_OTP_STEP',
349
+ next: ['AUTH_OTP_STEP', 'AUTH_PASSCODE_STEP'],
335
350
  prev: 'AUTH_SWITCH_STEP',
336
351
  order: 1
337
352
  },
338
353
  {
339
354
  name: 'AUTH_EMAIL_STEP',
340
- next: ['AUTH_PASSWORD_STEP', 'AUTH_RESET_PASSWORD_MESSAGE_STEP', 'AUTH_OTP_STEP'],
355
+ next: ['AUTH_PASSWORD_STEP', 'AUTH_RESET_PASSWORD_MESSAGE_STEP', 'AUTH_OTP_STEP', 'AUTH_PASSCODE_STEP'],
341
356
  prev: 'AUTH_SWITCH_STEP',
342
357
  order: 1
343
358
  },
@@ -355,10 +370,22 @@ 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'],
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
  },
383
+ {
384
+ name: 'AUTH_PASSCODE_STEP',
385
+ next: ['AUTH_OTP_STEP', 'AUTH_PREPARING_DATA_STEP', 'AUTH_MIGRATING_DATA_STEP', 'AUTH_OTP_VERIFY_SECURITY_ERROR_STEP'],
386
+ prev: ['AUTH_MOBILE_STEP', 'AUTH_EMAIL_STEP'],
387
+ order: 2
388
+ },
362
389
  {
363
390
  name: 'AUTH_NAFATH_VERIFY_STEP',
364
391
  next: ['AUTH_PREPARING_DATA_STEP', 'AUTH_DOB_STEP'],
@@ -430,6 +457,12 @@ export var AUTH_SCREENS_NAVIGATION = [
430
457
  next: '',
431
458
  prev: 'AUTH_AUTHENTICATION_LIST_STEP',
432
459
  order: 4
460
+ },
461
+ {
462
+ name: 'AUTH_OTP_VERIFY_SECURITY_ERROR_STEP',
463
+ next: '',
464
+ prev: '',
465
+ order: 5
433
466
  }
434
467
  ];
435
468
  export var KYC_SCREENS_NAVIGATION = [
@@ -500,7 +533,8 @@ export var BUSINESS_SCREENS_NAVIGATION = [
500
533
  'BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
501
534
  'BUSINESS_CIVIL_ID_STEP',
502
535
  'BUSINESS_VERIFY_BRAND_INFO',
503
- 'BUSINESS_DOB_STEP'
536
+ 'BUSINESS_DOB_STEP',
537
+ 'BUSINESS_OTP_VERIFY_SECURITY_ERROR_STEP'
504
538
  ],
505
539
  prev: '',
506
540
  order: 1
@@ -594,12 +628,23 @@ export var BUSINESS_SCREENS_NAVIGATION = [
594
628
  next: '',
595
629
  prev: 'BUSINESS_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
596
630
  order: 8
631
+ },
632
+ {
633
+ name: 'BUSINESS_OTP_VERIFY_SECURITY_ERROR_STEP',
634
+ next: '',
635
+ prev: '',
636
+ order: 9
597
637
  }
598
638
  ];
599
639
  export var INDIVIDUAL_SCREENS_NAVIGATION = [
600
640
  {
601
641
  name: 'INDIVIDUAL_VERIFY_STEP',
602
- 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
+ ],
603
648
  prev: 'INDIVIDUAL_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
604
649
  order: 1
605
650
  },
@@ -656,12 +701,18 @@ export var INDIVIDUAL_SCREENS_NAVIGATION = [
656
701
  next: '',
657
702
  prev: 'INDIVIDUAL_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
658
703
  order: 6
704
+ },
705
+ {
706
+ name: 'INDIVIDUAL_OTP_VERIFY_SECURITY_ERROR_STEP',
707
+ next: '',
708
+ prev: '',
709
+ order: 7
659
710
  }
660
711
  ];
661
712
  export var PASSWORD_SCREENS_NAVIGATION = [
662
713
  {
663
714
  name: 'PASSWORD_VERIFY_STEP',
664
- 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'],
665
716
  prev: 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
666
717
  order: 1
667
718
  },
@@ -685,7 +736,7 @@ export var PASSWORD_SCREENS_NAVIGATION = [
685
736
  },
686
737
  {
687
738
  name: 'PASSWORD_RESET_PASSWORD_OTP_STEP',
688
- next: 'PASSWORD_SUCCESS_STEP',
739
+ next: ['PASSWORD_SUCCESS_STEP', 'PASSWORD_OTP_VERIFY_SECURITY_ERROR_STEP'],
689
740
  prev: 'PASSWORD_CREATE_PASSWORD_STEP',
690
741
  order: 3
691
742
  },
@@ -706,12 +757,18 @@ export var PASSWORD_SCREENS_NAVIGATION = [
706
757
  next: '',
707
758
  prev: 'PASSWORD_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
708
759
  order: 6
760
+ },
761
+ {
762
+ name: 'PASSWORD_OTP_VERIFY_SECURITY_ERROR_STEP',
763
+ next: '',
764
+ prev: '',
765
+ order: 7
709
766
  }
710
767
  ];
711
768
  export var BANK_SCREENS_NAVIGATION = [
712
769
  {
713
770
  name: 'BANK_VERIFY_STEP',
714
- next: 'BANK_BANK_DETAILS_STEP',
771
+ next: ['BANK_BANK_DETAILS_STEP', 'BANK_OTP_VERIFY_SECURITY_ERROR_STEP'],
715
772
  prev: '',
716
773
  order: 1
717
774
  },
@@ -750,12 +807,18 @@ export var BANK_SCREENS_NAVIGATION = [
750
807
  next: '',
751
808
  prev: 'BANK_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
752
809
  order: 5
810
+ },
811
+ {
812
+ name: 'BANK_OTP_VERIFY_SECURITY_ERROR_STEP',
813
+ next: '',
814
+ prev: '',
815
+ order: 6
753
816
  }
754
817
  ];
755
818
  export var BOARD_SCREENS_NAVIGATION = [
756
819
  {
757
820
  name: 'BOARD_VERIFY_STEP',
758
- 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'],
759
822
  prev: '',
760
823
  order: 1
761
824
  },
@@ -782,12 +845,18 @@ export var BOARD_SCREENS_NAVIGATION = [
782
845
  next: '',
783
846
  prev: 'BOARD_SUCCESS_FLOWS_BUTTONS_STEP',
784
847
  order: 3
848
+ },
849
+ {
850
+ name: 'BOARD_OTP_VERIFY_SECURITY_ERROR_STEP',
851
+ next: '',
852
+ prev: '',
853
+ order: 4
785
854
  }
786
855
  ];
787
856
  export var TAX_SCREENS_NAVIGATION = [
788
857
  {
789
858
  name: 'TAX_VERIFY_STEP',
790
- next: 'TAX_TAX_DETAILS_STEP',
859
+ next: ['TAX_TAX_DETAILS_STEP', 'TAX_OTP_VERIFY_SECURITY_ERROR_STEP'],
791
860
  prev: 'TAX_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
792
861
  order: 1
793
862
  },
@@ -826,6 +895,12 @@ export var TAX_SCREENS_NAVIGATION = [
826
895
  next: '',
827
896
  prev: 'TAX_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
828
897
  order: 5
898
+ },
899
+ {
900
+ name: 'TAX_OTP_VERIFY_SECURITY_ERROR_STEP',
901
+ next: '',
902
+ prev: '',
903
+ order: 6
829
904
  }
830
905
  ];
831
906
  export var SigIn_SCREENS_NAVIGATION = [
@@ -863,7 +938,7 @@ export var SigIn_SCREENS_NAVIGATION = [
863
938
  export var ENTITY_SCREENS_NAVIGATION = [
864
939
  {
865
940
  name: 'ENTITY_VERIFY_STEP',
866
- next: 'ENTITY_NAME_STEP',
941
+ next: ['ENTITY_NAME_STEP', 'ENTITY_OTP_VERIFY_SECURITY_ERROR_STEP'],
867
942
  prev: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
868
943
  order: 1
869
944
  },
@@ -908,12 +983,18 @@ export var ENTITY_SCREENS_NAVIGATION = [
908
983
  next: '',
909
984
  prev: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
910
985
  order: 5
986
+ },
987
+ {
988
+ name: 'ENTITY_OTP_VERIFY_SECURITY_ERROR_STEP',
989
+ next: '',
990
+ prev: '',
991
+ order: 6
911
992
  }
912
993
  ];
913
994
  export var BRAND_SCREENS_NAVIGATION = [
914
995
  {
915
996
  name: 'BRAND_VERIFY_STEP',
916
- next: 'BRAND_INFO_STEP',
997
+ next: ['BRAND_INFO_STEP', 'BRAND_OTP_VERIFY_SECURITY_ERROR_STEP'],
917
998
  prev: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
918
999
  order: 1
919
1000
  },
@@ -964,6 +1045,12 @@ export var BRAND_SCREENS_NAVIGATION = [
964
1045
  next: '',
965
1046
  prev: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
966
1047
  order: 6
1048
+ },
1049
+ {
1050
+ name: 'BRAND_OTP_VERIFY_SECURITY_ERROR_STEP',
1051
+ next: '',
1052
+ prev: '',
1053
+ order: 7
967
1054
  }
968
1055
  ];
969
1056
  export var DefaultDeviceInfo = {
@@ -1042,7 +1129,8 @@ export var AUTH_STEP_NAMES = {
1042
1129
  VERIFY_AUTH_EMAIL: 'auth_verify_auth_email',
1043
1130
  CREATE_AUTH_NID: 'auth_create_auth_nid',
1044
1131
  VERIFY_AUTH_NID: 'auth_verify_auth_nid',
1045
- UPDATE_DOB_INFO: 'auth_update_dob_info'
1132
+ UPDATE_DOB_INFO: 'auth_update_dob_info',
1133
+ CREATE_AUTH_PASSCODE: 'auth_create_auth_passcode'
1046
1134
  };
1047
1135
  export var CONNECT_EXPRESS_STEP_NAMES = {
1048
1136
  CREATE_AUTH_MOBILE: 'connect_express_create_auth_mobile',
@@ -1147,7 +1235,8 @@ export var OTHER_FL_LICENSE = {
1147
1235
  en: 'add_other_fl'
1148
1236
  },
1149
1237
  license: {
1150
- number: 'other_fl'
1238
+ number: 'other_fl',
1239
+ additional_info: { unified_number: 'other_fl' }
1151
1240
  },
1152
1241
  type: BusinessType.FL
1153
1242
  };
@@ -1158,7 +1247,8 @@ export var OTHER_ENTITY_LICENSE = {
1158
1247
  en: 'add_other'
1159
1248
  },
1160
1249
  license: {
1161
- number: 'other_entity'
1250
+ number: 'other_entity',
1251
+ additional_info: { unified_number: 'other_entity' }
1162
1252
  },
1163
1253
  type: BusinessType.CR
1164
1254
  };
@@ -1168,7 +1258,8 @@ export var OTHER_CR_LICENSE = {
1168
1258
  en: 'add_other_cr'
1169
1259
  },
1170
1260
  license: {
1171
- number: 'other_cr'
1261
+ number: 'other_cr',
1262
+ additional_info: { unified_number: 'other_cr' }
1172
1263
  },
1173
1264
  type: BusinessType.CR
1174
1265
  };
@@ -1,7 +1,8 @@
1
- export declare const ICONS_BASE_URL = "https://dash.b-cdn.net";
2
- export declare const ICONS_PATH = "/icons/menu";
3
- export declare const ICONS_EXTENSION = ".svg";
1
+ export declare const SVG_ICON_EXTENSION = ".svg";
2
+ export declare const PNG_ICON_EXTENSION = ".png";
4
3
  export declare const ICONS_FULL_PATH: string;
4
+ export declare const BACKEND_ICONS_FULL_PATH: string;
5
+ export declare const ASSETS_DASHBOARD_FULL_PATH: string;
5
6
  export declare const ICONS_NAMES: {
6
7
  SIDE_MENU_CLOSE_ICON: string;
7
8
  SIDE_MENU_CLOSE_ICON_DARK: string;
@@ -44,6 +45,7 @@ export declare const ICONS_NAMES: {
44
45
  NAFATH_LOGO: string;
45
46
  NAFATH_VERIFY_ICON: string;
46
47
  EXPRESS_ERROR_ICON: string;
48
+ TAP_LOGO: string;
47
49
  TAP_EN: string;
48
50
  TAP_AR: string;
49
51
  ID_IMAGE: string;
@@ -103,9 +105,16 @@ export declare const ICONS_NAMES: {
103
105
  entity_green_icon: string;
104
106
  entity_white_icon: string;
105
107
  brand_filled_icon: string;
108
+ terminal_filled_icon: string;
109
+ terminal_green_icon: string;
110
+ terminal_white_icon: string;
106
111
  Arrow_filled_right_icon: string;
107
112
  Arrow_green_right_icon: string;
108
113
  Arrow_white_right_icon: string;
109
114
  account_not_found: string;
110
115
  email_icon: string;
116
+ terminal_device: string;
117
+ device_image: string;
118
+ platform_image: string;
119
+ radio_checked: string;
111
120
  };