@tap-payments/auth-jsconnect 2.10.0-sandbox → 2.10.0

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 (57) hide show
  1. package/README.md +2 -2
  2. package/build/@types/app.d.ts +1 -0
  3. package/build/@types/form.d.ts +2 -0
  4. package/build/api/entity.d.ts +3 -0
  5. package/build/api/lead.d.ts +1 -0
  6. package/build/app/settings.js +1 -2
  7. package/build/assets/currencies/AEDSymbol.d.ts +7 -0
  8. package/build/assets/currencies/AEDSymbol.js +28 -0
  9. package/build/assets/currencies/index.d.ts +2 -2
  10. package/build/assets/currencies/index.js +2 -2
  11. package/build/assets/currencies/utils.js +3 -1
  12. package/build/assets/locales/ar.json +48 -12
  13. package/build/assets/locales/en.json +51 -40
  14. package/build/components/TextWithCurrency/TextWithCurrency.js +1 -1
  15. package/build/constants/api.d.ts +1 -0
  16. package/build/constants/api.js +2 -0
  17. package/build/constants/app.d.ts +10 -0
  18. package/build/constants/app.js +7 -3
  19. package/build/constants/assets.d.ts +11 -6
  20. package/build/constants/assets.js +118 -107
  21. package/build/constants/dummy.js +27 -20
  22. package/build/constants/validation.d.ts +1 -0
  23. package/build/constants/validation.js +1 -0
  24. package/build/features/app/business/businessStore.js +15 -10
  25. package/build/features/app/connectExpress/connectExpressStore.js +19 -4
  26. package/build/features/app/individual/individualStore.js +1 -0
  27. package/build/features/app/tax/taxStore.js +1 -1
  28. package/build/features/auth/Auth.d.ts +1 -1
  29. package/build/features/auth/screens/AuthenticationList/EntityList.js +2 -2
  30. package/build/features/business/screens/BusinessType/BusinessType.js +13 -2
  31. package/build/features/business/screens/BusinessType/EntityLicenseList.js +11 -5
  32. package/build/features/business/screens/BusinessType/LicenseList.js +15 -7
  33. package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +35 -0
  34. package/build/features/business/screens/BusinessType/UnifiedNumber.js +84 -0
  35. package/build/features/business/screens/BusinessType/validation.d.ts +6 -3
  36. package/build/features/business/screens/BusinessType/validation.js +31 -10
  37. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +2 -2
  38. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -0
  39. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +23 -7
  40. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
  41. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +1 -1
  42. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +36 -0
  43. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.js +81 -0
  44. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +6 -3
  45. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +57 -21
  46. package/build/features/entity/screens/EntityName/EntityName.js +2 -1
  47. package/build/features/entity/screens/EntityName/UnifiedNumber.js +2 -2
  48. package/build/features/entity/screens/EntityName/validation.d.ts +3 -3
  49. package/build/features/entity/screens/EntityName/validation.js +14 -3
  50. package/build/features/shared/Button/FlowsButtons.js +1 -2
  51. package/build/hooks/useAppConfig.js +1 -1
  52. package/build/utils/common.d.ts +1 -1
  53. package/build/utils/common.js +2 -3
  54. package/build/utils/string.d.ts +1 -1
  55. package/build/utils/string.js +3 -1
  56. package/build/utils/validation.js +1 -1
  57. package/package.json +2 -2
package/README.md CHANGED
@@ -77,8 +77,8 @@ const App = () => {
77
77
  <meta charset="utf-8" />
78
78
  <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no" />
79
79
  <title>Auth-JsConnect</title>
80
- <script src="https://auth-jsconnect.b-cdn.net/build-2.0.0/main.js"></script>
81
- <link href="https://auth-jsconnect.b-cdn.net/build-2.0.0/main.css" rel="stylesheet" />
80
+ <script src="https://cdn.tap.company/tap-sdks/auth-jsconnect/build-2.0.0/main.js"></script>
81
+ <link href="https://cdn.tap.company/tap-sdks/auth-jsconnect/build-2.0.0/main.css" rel="stylesheet" />
82
82
  </head>
83
83
  <body>
84
84
  <div id="root"></div>
@@ -245,6 +245,7 @@ export interface LibConfig extends LibCallbacks {
245
245
  notification?: SDKNotification;
246
246
  boardMaturity?: boolean;
247
247
  settingData?: SettingAsyncData;
248
+ region?: string;
248
249
  }
249
250
  export interface OSDetails {
250
251
  name: string;
@@ -61,6 +61,7 @@ export declare type BrandActivitiesFormValues = {
61
61
  };
62
62
  export declare type BusinessTypeFormValues = {
63
63
  licenseNumber: string;
64
+ unifiedNumber: string;
64
65
  entityLegalName?: string;
65
66
  selectedEntityLicense?: EntityLicense;
66
67
  selectedLicense?: License;
@@ -150,6 +151,7 @@ export declare type EntityCapitalFormValues = {
150
151
  export declare type BusinessDataFormValues = {
151
152
  brandName: string;
152
153
  licenseNumber: string;
154
+ unifiedNumber: string;
153
155
  selectedLicense?: License;
154
156
  termAndConditionChecked?: boolean;
155
157
  };
@@ -133,6 +133,9 @@ export declare type CreateEntityBody = {
133
133
  license: {
134
134
  number: string;
135
135
  type: string;
136
+ additional_info?: {
137
+ unified_number: string;
138
+ };
136
139
  };
137
140
  country: string;
138
141
  is_licensed?: boolean;
@@ -49,6 +49,7 @@ export declare type UpdateLeadBody = {
49
49
  entity?: {
50
50
  id: string;
51
51
  };
52
+ unified_number?: string;
52
53
  name?: Name;
53
54
  contact?: Contact;
54
55
  send_invite?: boolean;
@@ -112,7 +112,7 @@ export var fetchAppSettingsSync = createAsyncThunk('fetchAppSettingsSync', funct
112
112
  thunkApi.dispatch(handleLanguage(lang));
113
113
  if (configInfo.publicKey) {
114
114
  if (configToken) {
115
- setBaseUrl(configInfo.publicKey, appConfig.businessCountryCode);
115
+ setBaseUrl(configInfo.publicKey, appConfig.region);
116
116
  }
117
117
  thunkApi.dispatch(handlePublicKey(configInfo.publicKey));
118
118
  }
@@ -362,7 +362,6 @@ export var settingsSlice = createSlice({
362
362
  if (state.data.locale && country.iso2)
363
363
  updateLocale(state.data.locale, country.iso2);
364
364
  state.data.businessCountry = country;
365
- setBaseUrl(state.data.appConfig.publicKey, country.iso2);
366
365
  }
367
366
  }
368
367
  },
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ declare type AEDSymbolProps = React.SVGProps<SVGSVGElement> & {
3
+ width?: number;
4
+ height?: number;
5
+ };
6
+ declare const AEDSymbol: ({ height, ...svgProps }: AEDSymbolProps) => JSX.Element;
7
+ export default AEDSymbol;
@@ -0,0 +1,28 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
24
+ var AEDSymbol = function (_a) {
25
+ var _b = _a.height, height = _b === void 0 ? 10 : _b, svgProps = __rest(_a, ["height"]);
26
+ return (_jsx("span", __assign({ style: { padding: '0 2px' } }, { children: _jsx("svg", __assign({ xmlns: 'http://www.w3.org/2000/svg', height: height, fill: 'currentColor', viewBox: '0 0 344.84 299.91' }, svgProps, { children: _jsx("path", { d: 'M342.14,140.96l2.7,2.54v-7.72c0-17-11.92-30.84-26.56-30.84h-23.41C278.49,36.7,222.69,0,139.68,0c-52.86,0-59.65,0-109.71,0,0,0,15.03,12.63,15.03,52.4v52.58h-27.68c-5.38,0-10.43-2.08-14.61-6.01l-2.7-2.54v7.72c0,17.01,11.92,30.84,26.56,30.84h18.44s0,29.99,0,29.99h-27.68c-5.38,0-10.43-2.07-14.61-6.01l-2.7-2.54v7.71c0,17,11.92,30.82,26.56,30.82h18.44s0,54.89,0,54.89c0,38.65-15.03,50.06-15.03,50.06h109.71c85.62,0,139.64-36.96,155.38-104.98h32.46c5.38,0,10.43,2.07,14.61,6l2.7,2.54v-7.71c0-17-11.92-30.83-26.56-30.83h-18.9c.32-4.88.49-9.87.49-15s-.18-10.11-.51-14.99h28.17c5.37,0,10.43,2.07,14.61,6.01ZM89.96,15.01h45.86c61.7,0,97.44,27.33,108.1,89.94l-153.96.02V15.01ZM136.21,284.93h-46.26v-89.98l153.87-.02c-9.97,56.66-42.07,88.38-107.61,90ZM247.34,149.96c0,5.13-.11,10.13-.34,14.99l-157.04.02v-29.99l157.05-.02c.22,4.84.33,9.83.33,15Z' }) })) })));
27
+ };
28
+ export default AEDSymbol;
@@ -1,2 +1,2 @@
1
- import SARSymbol from './SARSymbol';
2
- export { SARSymbol };
1
+ import { CURRENCY_ICON } from './utils';
2
+ export { CURRENCY_ICON };
@@ -1,2 +1,2 @@
1
- import SARSymbol from './SARSymbol';
2
- export { SARSymbol };
1
+ import { CURRENCY_ICON } from './utils';
2
+ export { CURRENCY_ICON };
@@ -1,4 +1,6 @@
1
1
  import SARSymbol from './SARSymbol';
2
+ import AEDSymbol from './AEDSymbol';
2
3
  export var CURRENCY_ICON = {
3
- SA: SARSymbol
4
+ SA: SARSymbol,
5
+ AE: AEDSymbol
4
6
  };
@@ -135,6 +135,7 @@
135
135
  "call_center_placeholder": "رقم هاتف خدمة الإتصال",
136
136
  "cancel": "إلغاء",
137
137
  "capital_paid_hint": "00000",
138
+ "capital_paid_input_label": "رأس المال المدفوع",
138
139
  "capital_paid_label": "رأس المال المدفوع ({{currency}})",
139
140
  "capital_paid_input_label": "رأس المال المدفوع",
140
141
  "capital_paid_required": "Please Enter paid amount",
@@ -142,6 +143,7 @@
142
143
  "capital_share_count_label": "عدد اسهم رأس المال",
143
144
  "capital_share_count_required": "Please Enter share count",
144
145
  "capital_share_value_hint": "00000",
146
+ "capital_share_value_input_label": "قيمة السهم",
145
147
  "capital_share_value_label": "قيمة السهم ({{currency}})",
146
148
  "capital_share_value_input_label": "قيمة السهم",
147
149
  "capital_share_value_required": "Please Enter share value",
@@ -209,6 +211,7 @@
209
211
  "create_new_entity": "Create Entity",
210
212
  "creating_account_description": "هذه العملية تحتاج وقت...",
211
213
  "creating_account_title": "جارى انشاء الحساب",
214
+ "current_mobile_number": "رقم الجوال الحالي",
212
215
  "customer_base_name_hint": "اختر محليًا إذا كنت تبيع فقط في البلد الذي تقيم فيه. اختر إقليميًا إذا كنت تبيع أيضًا لدول مجلس التعاون الخليجي الأخرى. اختر عالمياً إذا كنت تبيع إلى أي دولة خارج دول مجلس التعاون الخليجي.",
213
216
  "data_loading_desc": "الرجاء الانتظار أثناء تحضير البيانات",
214
217
  "data_loading_title": "تحضير البيانات",
@@ -281,6 +284,7 @@
281
284
  "entity_type": "نوع الكيان",
282
285
  "entity_type_required": "Please select at least one entity type",
283
286
  "expected_customers_to_serve": "عدد العملاء شهريا",
287
+ "expected_sale_per_month": "البيع المتوقع في الشهر؟",
284
288
  "expected_sales_monthly": "البيع المتوقع في الشهر؟ ({{currency}})",
285
289
  "expected_sale_per_month": "البيع المتوقع في الشهر؟",
286
290
  "expected_sales_yearly": "ما هي المبيعات المتوقعة لعملك شهريًا؟",
@@ -378,7 +382,6 @@
378
382
  "kyc_terms_title": "وثائق قانونية",
379
383
  "kyc_token_invalid": "الرجاء مراجعة رابط المرسل اليك",
380
384
  "kyc_users_description": "يرجى اختيار رقم هوية الممثل المعتمد للموافقة عليه مع {{provider}}",
381
- "kyc_privacy_policy": "سياسة الخصوصية",
382
385
  "language": "English",
383
386
  "license_info": "معلومات الترخيص",
384
387
  "license_name_hint": "Enter legal name",
@@ -390,6 +393,7 @@
390
393
  "loading": "تحميل...",
391
394
  "loading_bank_statement": "تحميل.......",
392
395
  "login_to_dashboard": "تسجيل الدخول لادارة الحساب",
396
+ "login_with_passcode": "تسجيل الدخول باستخدام رمز المرور",
393
397
  "mail_btn_open_title": "افتح البريد الإلكتروني",
394
398
  "marital_status": "الحالة الزوجية",
395
399
  "masking_symbols": "•••",
@@ -403,11 +407,14 @@
403
407
  "mobile_app_label": "تطبيقات هاتف",
404
408
  "mobile_button_label": "المتابعة عن طريق رقم الجوال",
405
409
  "mobile_number_description": "ابدأ فورًا باستخدام رقم هاتفك المحمول",
410
+ "mobile_ownership_title": "يرجى تحديث رقم هاتفك المحمول المسجل ليتوافق مع هويتك.",
406
411
  "month": "الشهر",
412
+ "monthly_income": "ما هو دخلك الشهري؟ ",
407
413
  "nafath_button_label": "المتابعة عن طريق نفاذ",
408
414
  "nafath_verification_description_check": "يرجى الدخول إلى تطبيق نفاذ الخاص بك وإدخال رقم الطلب أعلاه للمصادقة.",
409
415
  "nafath_verification_description_error": "حاول مرة اخرى",
410
416
  "nafath_verification_description_wait": "يرجى الدخول إلى تطبيق نفاذ الخاص بك وإدخال رقم الطلب أعلاه للمصادقة.",
417
+ "nafath_verification_failed": "تأكد من الموافقة على الطلب المرسل عبر تطبيق نفاذ، يرجى محاولة إرسال طلب جديد.",
411
418
  "nafath_verification_redirection_message": "سيتم إعادة توجيهك الآن",
412
419
  "nafath_verification_title_check": "المصادقة مع تطبيق نفاذ",
413
420
  "nafath_verification_title_error": "لا يمكننا تأكيد المصادقة الخاصة بك",
@@ -417,6 +424,7 @@
417
424
  "national_id_placeholder": "0000000000",
418
425
  "national_id_title": "الهوية الوطنية",
419
426
  "nationality_label": "الجنسية",
427
+ "new_mobile_number": "رقم الجوال الجديد",
420
428
  "next": "التالي",
421
429
  "no": "لا",
422
430
  "no_results": "لا نتائج",
@@ -452,6 +460,8 @@
452
460
  "paci_verify_loading": "إحضار التفاصيل",
453
461
  "paci_verify_loading_desc": "الرجاء التحلي بالصبر حتى التحقق من التفاصيل",
454
462
  "paci_waiting_title": "Please wait we are verifying",
463
+ "passcode_required": "الرجاء إدخال رمز المرور المطلوب",
464
+ "passcode_title": "الرجاء إدخال رمز المرور الخاص بك",
455
465
  "password_flow_completed": "إعادة تعيين كلمة المرور",
456
466
  "password_flow_pending": "إعداد كلمة المرور",
457
467
  "password_flow_title": "إعداد كلمة المرور",
@@ -526,8 +536,9 @@
526
536
  "share_count_hint": "0",
527
537
  "share_count_label": "عدد الأسهم",
528
538
  "share_value_hint": "0000",
529
- "share_value_label": "قيمة السهم ({{currency}})",
530
539
  "share_value_input_label": "قيمة السهم",
540
+ "share_value_label": "قيمة السهم ({{currency}})",
541
+ "sign_in_with_otp": "تسجيل الدخول باستخدام رمز التحقق (OTP)",
531
542
  "sign_up": "Sign up",
532
543
  "signed_up": "تسجيل الدخول",
533
544
  "signin_email_label": "البريد الألكتروني",
@@ -600,6 +611,34 @@
600
611
  "tax_success_header_title": "اكتملت الضريبة",
601
612
  "tax_success_title": "تم تحديث المعلومات الضريبية الخاصة بعملك التجاري.",
602
613
  "team_size_title": "حجم الفريق",
614
+ "terminal_device_id": "رقم تعريف جهاز الكاشير",
615
+ "terminal_devices": "{{name}} أجهزة",
616
+ "terminal_flow_pending": "أجهزة نقاط الدفع",
617
+ "terminal_go_to_board": "الانتقال إلى اللوحة",
618
+ "terminal_id": "رقم تعريف جهاز نقطة الدفع",
619
+ "terminal_link": "ربط",
620
+ "terminal_link_terminal": "ربط جهاز نقطة الدفع",
621
+ "terminal_linked": "تمَّ الربط",
622
+ "terminal_linked_success": "تم ربط جهاز نقطة الدفع {{device}} الخاص بك بنجاح!",
623
+ "terminal_linked_with": "مرتبط مع",
624
+ "terminal_manage_terminals": "إدارة أجهزة نقاط الدفع",
625
+ "terminal_new_request_will_send": "لتأكيد الربط تمَّ إرسال طلب ربط جديد إلى تطبيق الـ Terminal من تاب.",
626
+ "terminal_no_terminal_linked": "لا يوجد أجهزة نقاط دفع مرتبطة",
627
+ "terminal_no_terminal_linked_description": "سيتم عرض أجهزة نقاط الدفع المرتبطة هنا عند توفّرها",
628
+ "terminal_or_use_code": "أو استخدم الرمز",
629
+ "terminal_paired_with": "مقترن بـ",
630
+ "terminal_push_notification_link_new_terminal_failed": "حدث خطأ. يرجى المحاولة لاحقاً",
631
+ "terminal_qr_code_description": "افتح تطبيق تاب على جهاز نقطة الدفع، ثم اختر جهاز نقطة الدفع المرتبط من قائمة المزيد.",
632
+ "terminal_request_denied": "تمَّ رفض طلب ربط جهاز نقطة الدفع {{device }}",
633
+ "terminal_request_will_send": "لتأكيد الربط سيتم إرسال طلب إلى تطبيق الـ Terminal من تاب.",
634
+ "terminal_resend_request": "إعادة إرسال الطلب",
635
+ "terminal_select_device": "اختر جهاز نقطة الدفع",
636
+ "terminal_send_link_request": "إرسال طلب الربط",
637
+ "terminal_serial_number": "الرقم التسلسلي",
638
+ "terminal_unlink": "إلغاء الربط",
639
+ "terminal_unlinked": "غير مرتبط",
640
+ "terminal_unlinked_success": "تم إلغاء ربط جهاز نقطة الدفع {{device}} الخاص بك بنجاح!",
641
+ "terminal_with": "مع",
603
642
  "terms_and_conditions_link_title": "الشروط والاحكام",
604
643
  "the nin format is not valid": "هل يمكنك التحقق من رقم الهوية الذي تم إدخاله.",
605
644
  "title_article": "مذكرة التأسيس",
@@ -620,7 +659,13 @@
620
659
  "unified_number_hint": "000000",
621
660
  "unified_number_label": "الرقم الموحد",
622
661
  "unified_number_required": "Unified Number Required",
662
+ "update_later": "سأقوم بالتحديث لاحقاً",
663
+ "update_mobile_number": "تحديث رقم الجوال",
623
664
  "uploaded_file": "file",
665
+ "v1_add_unified_number": "أضف الرقم الموحد",
666
+ "v1_company_unified_number_description": "يمكنك العثور على الرقم الموحد لشركتك في الزاوية العلوية اليسرى من شهادة تسجيل الشركة.",
667
+ "v1_company_unified_number_hint": "700xxxxxxx",
668
+ "v1_company_unified_number_label": "الرقم الموحد للشركة",
624
669
  "vat_id": "رقم الضريبي المميز",
625
670
  "vat_id_placeholder": "00000000",
626
671
  "verification_brand_name": "الاسم التجاري",
@@ -638,14 +683,5 @@
638
683
  "year": "السنة",
639
684
  "yes": "نعم",
640
685
  "your_brand_details": "تفاصيل علامتك التجارية",
641
- "يرجى التحقق من اسم تطبيق ابل": "",
642
- "mobile_ownership_title": "لتفعيل استلام الايداعات، يرجى تحديث رقم هاتفك المحمول المسجل ليتوافق مع هويتك.",
643
- "current_mobile_number": "رقم الجوال الحالي",
644
- "new_mobile_number": "رقم الجوال الجديد",
645
- "update_mobile_number": "تحديث رقم الجوال",
646
- "update_later": "سأقوم بالتحديث لاحقاً",
647
- "passcode_title": "الرجاء إدخال رمز المرور الخاص بك",
648
- "sign_in_with_otp": "تسجيل الدخول باستخدام رمز التحقق (OTP)",
649
- "passcode_required": "الرجاء إدخال رمز المرور المطلوب",
650
- "login_with_passcode": "تسجيل الدخول باستخدام رمز المرور"
686
+ "يرجى التحقق من اسم تطبيق ابل": ""
651
687
  }
@@ -134,6 +134,7 @@
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}})",
138
139
  "capital_paid_input_label": "Capital Paid",
139
140
  "capital_paid_required": "Please Enter paid amount",
@@ -141,6 +142,7 @@
141
142
  "capital_share_count_label": "Capital Share Count",
142
143
  "capital_share_count_required": "Please Enter share count",
143
144
  "capital_share_value_hint": "00000",
145
+ "capital_share_value_input_label": "Capital Share Value",
144
146
  "capital_share_value_label": "Capital Share Value ({{currency}})",
145
147
  "capital_share_value_input_label": "Capital Share Value",
146
148
  "capital_share_value_required": "Please Enter share value",
@@ -216,6 +218,7 @@
216
218
  "create_new_entity": "Create Entity",
217
219
  "creating_account_description": "This might take a moment...",
218
220
  "creating_account_title": "Creating your account",
221
+ "current_mobile_number": "Current mobile number",
219
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.",
220
223
  "data_loading_desc": "Please wait as we are preparing data",
221
224
  "data_loading_title": "Preparing data",
@@ -258,7 +261,7 @@
258
261
  "enter_license_no": "Freelance registration",
259
262
  "enter_license_number": "Please enter license number at least 5 chars",
260
263
  "enter_national_id": "Identification number",
261
- "enter_served_monthly": "Customers server per month",
264
+ "enter_served_monthly": "Customers served per month",
262
265
  "enter_strong_password": "Please enter strong password.",
263
266
  "enter_valid_birth_date": "Please enter a valid birth date.",
264
267
  "enter_valid_brand_name": "Please enter a valid brand name.",
@@ -288,11 +291,12 @@
288
291
  "entity_success_title": "Entity Updated Successfully",
289
292
  "entity_type": "Entity Type",
290
293
  "entity_type_required": "Please select at least one entity type",
291
- "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?",
292
296
  "expected_sales_monthly": "Expected sale per month? ({{currency}})",
293
297
  "expected_sale_per_month": "Expected sale per month?",
294
298
  "expected_sales_yearly": "What is the expected sales for your business per month?",
295
- "expected_served_monthly": "Customers server per month",
299
+ "expected_served_monthly": "Customers served per month",
296
300
  "expiry_date": "Date of expiry",
297
301
  "express_account_already_created_close_button": "Close",
298
302
  "express_account_already_created_description": "Your Account is already created",
@@ -405,6 +409,7 @@
405
409
  "loading": "Loading...",
406
410
  "loading_bank_statement": "loading....",
407
411
  "login_to_dashboard": "Login to dashboard",
412
+ "login_with_passcode": "Login with Passcode",
408
413
  "mail_btn_open_title": "Open Mail",
409
414
  "marital_status": "Marital status",
410
415
  "masking_symbols": "•••",
@@ -418,11 +423,14 @@
418
423
  "mobile_app_label": "Mobile App",
419
424
  "mobile_button_label": "Continue with Mobile",
420
425
  "mobile_number_description": "Start instantly with your Mobile Number",
426
+ "mobile_ownership_title": "Please update your mobile number to match you national ID",
421
427
  "month": "Month",
428
+ "monthly_income": "Monthly income",
422
429
  "nafath_button_label": "Continue with Nafath",
423
430
  "nafath_verification_description_check": "Please go to your NAFATH app and enter the above request number to authenticate.",
424
431
  "nafath_verification_description_error": "Please try again",
425
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.",
426
434
  "nafath_verification_redirection_message": "You will be redirected now",
427
435
  "nafath_verification_title_check": "Authenticate with NAFATH app",
428
436
  "nafath_verification_title_error": "We cannot confirm your authentication",
@@ -432,6 +440,7 @@
432
440
  "national_id_placeholder": "0000000000",
433
441
  "national_id_title": "National ID",
434
442
  "nationality_label": "Nationality",
443
+ "new_mobile_number": "New mobile number",
435
444
  "next": "Next",
436
445
  "no": "No",
437
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)",
@@ -468,6 +477,8 @@
468
477
  "paci_verify_loading": "Fetching Details",
469
478
  "paci_verify_loading_desc": "Please be patient until verify details",
470
479
  "paci_waiting_title": "Please wait we are verifying",
480
+ "passcode_required": "Please enter the required Passcode",
481
+ "passcode_title": "Please enter your passcode",
471
482
  "password_flow_completed": "Reset my password",
472
483
  "password_flow_pending": "Setup my password",
473
484
  "password_flow_title": "Setup your password",
@@ -548,8 +559,9 @@
548
559
  "share_count_hint": "0",
549
560
  "share_count_label": "Share Count",
550
561
  "share_value_hint": "0000",
551
- "share_value_label": "Share Value ({{currency}})",
552
562
  "share_value_input_label": "Share Value",
563
+ "share_value_label": "Share Value ({{currency}})",
564
+ "sign_in_with_otp": "Sign in with OTP",
553
565
  "sign_up": "Sign up",
554
566
  "signed_up": "Signed up",
555
567
  "signin_email_label": "Email address",
@@ -625,6 +637,34 @@
625
637
  "tax_success_header_title": "Tax completed",
626
638
  "tax_success_title": "Your tax details are updated",
627
639
  "team_size_title": "Team Size",
640
+ "terminal_device_id": "Device ID",
641
+ "terminal_devices": "{{name}} Devices",
642
+ "terminal_flow_pending": "Terminals",
643
+ "terminal_go_to_board": "Go to Board",
644
+ "terminal_id": "Terminal ID",
645
+ "terminal_link": "Link",
646
+ "terminal_link_terminal": "Link Terminal",
647
+ "terminal_linked": "Linked",
648
+ "terminal_linked_success": "Your terminal {{device}} is linked successfully",
649
+ "terminal_linked_with": "Linked with",
650
+ "terminal_manage_terminals": "Manage Terminals",
651
+ "terminal_new_request_will_send": "A new link request bas ben sent to Tap Terminal app to confirm linking.",
652
+ "terminal_no_terminal_linked": "No Terminal Linked",
653
+ "terminal_no_terminal_linked_description": "We will list the linked terminals here when available",
654
+ "terminal_or_use_code": "or use code",
655
+ "terminal_paired_with": "Paired with",
656
+ "terminal_push_notification_link_new_terminal_failed": "Something went wrong. Please try again later",
657
+ "terminal_qr_code_description": "Open the Tap app on the terminal and select Linked Terminal from the More menu.",
658
+ "terminal_request_denied": "The Request to link Terminal {{device}} has been denied.",
659
+ "terminal_request_will_send": "A request will be sent to Tap Terminal app to confirm linking.",
660
+ "terminal_resend_request": "Resend Request",
661
+ "terminal_select_device": "Select device",
662
+ "terminal_send_link_request": "Send linking request",
663
+ "terminal_serial_number": "Serial no",
664
+ "terminal_unlink": "Unlink",
665
+ "terminal_unlinked": "Unlinked",
666
+ "terminal_unlinked_success": "Your terminal {{device}} is unlinked successfully",
667
+ "terminal_with": "with",
628
668
  "terms_and_conditions_link_title": "terms and conditions",
629
669
  "the nin format is not valid": "May you please verify the entered identification number.",
630
670
  "title_article": "Article of association",
@@ -646,9 +686,15 @@
646
686
  "unified_number_hint": "00000",
647
687
  "unified_number_label": "Unified Number",
648
688
  "unified_number_required": "Unified Number Required",
689
+ "update_later": "I'll update later",
690
+ "update_mobile_number": "Update mobile number",
649
691
  "upload_bank_statement": "Please upload the bank statement",
650
692
  "upload_file": "Select a file from your computer",
651
693
  "uploaded_file": "file",
694
+ "v1_add_unified_number": "Add a Unified Number",
695
+ "v1_company_unified_number_description": "You can find your Company Unified Number in the top-left corner of your Company Registration Certificate.",
696
+ "v1_company_unified_number_hint": "700xxxxxxx",
697
+ "v1_company_unified_number_label": "Company unified number",
652
698
  "vat_id": "Tax Identification Number (TIN)",
653
699
  "vat_id_placeholder": "000000000",
654
700
  "verification_brand_name": "Brand name",
@@ -665,40 +711,5 @@
665
711
  "website_label": "Website",
666
712
  "year": "Year",
667
713
  "yes": "Yes",
668
- "your_brand_details": "Your brand details",
669
- "mobile_ownership_title": "To enable bank payouts, please update your registered mobile number to match your national ID.",
670
- "current_mobile_number": "Current mobile number",
671
- "new_mobile_number": "New mobile number",
672
- "update_mobile_number": "Update mobile number",
673
- "update_later": "I'll update later",
674
- "terminal_manage_terminals": "Manage Terminals",
675
- "terminal_link_terminal": "Link Terminal",
676
- "terminal_linked": "Linked",
677
- "terminal_link": "Link",
678
- "terminal_unlinked": "Unlinked",
679
- "terminal_paired_with": "Paired with",
680
- "terminal_device_id": "Device ID",
681
- "terminal_serial_number": "Serial no",
682
- "terminal_qr_code_description": "Open the Tap app on the terminal and select Linked Terminal from the More menu.",
683
- "terminal_or_use_code": "or use code",
684
- "terminal_unlink": "Unlink",
685
- "terminal_linked_with": "Linked with",
686
- "terminal_send_link_request": "Send linking request",
687
- "terminal_request_will_send": "A request will be sent to Tap Terminal app to confirm linking.",
688
- "terminal_new_request_will_send": "A new link request bas ben sent to Tap Terminal app to confirm linking.",
689
- "terminal_resend_request": "Resend Request",
690
- "terminal_with": "with",
691
- "terminal_request_denied": "The Request to link Terminal {{device}} has been denied.",
692
- "terminal_go_to_board": "Go to Board",
693
- "terminal_linked_success": "Your terminal {{device}} is linked successfully",
694
- "terminal_unlinked_success": "Your terminal {{device}} is unlinked successfully",
695
- "terminal_no_terminal_linked": "No Terminal Linked",
696
- "terminal_no_terminal_linked_description": "We will list the linked terminals here when available",
697
- "terminal_push_notification_link_new_terminal_failed": "Something went wrong. Please try again later",
698
- "terminal_id": "Terminal ID",
699
- "terminal_devices": "{{name}} Devices",
700
- "passcode_title": "Please enter your passcode",
701
- "sign_in_with_otp": "Sign in with OTP",
702
- "passcode_required": "Please enter the required Passcode",
703
- "login_with_passcode": "Login with Passcode"
714
+ "your_brand_details": "Your brand details"
704
715
  }
@@ -1,6 +1,6 @@
1
1
  import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { getCurrencyByCountryIso2 } from '../../utils';
3
- import { CURRENCY_ICON } from '../../assets/currencies/utils';
3
+ import { CURRENCY_ICON } from '../../assets/currencies';
4
4
  var TextWithCurrency = function (_a) {
5
5
  var text = _a.text, countryCode = _a.countryCode;
6
6
  if (!countryCode)
@@ -13,6 +13,7 @@ export declare const ENDPOINT_PATHS: {
13
13
  PRODUCTION_BASE_URL: string;
14
14
  PRODUCTION_BASE_URL_SA: string;
15
15
  DEV_BASE_URL: string;
16
+ BETA_BASE_URL: string;
16
17
  BUSINESS_COUNTRIES: string;
17
18
  COUNTRIES: string;
18
19
  IP: string;
@@ -2,6 +2,7 @@ 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
4
  var DEV_BASE_URL = 'https://connect-mw.dev.tap.company/middleware';
5
+ var BETA_BASE_URL = 'https://connect-mw.beta.tap.company/middleware';
5
6
  var API_BUSINESS_COUNTRIES = 'https://godata.sandbox.tap.company/api/v1/business/country/list';
6
7
  var API_COUNTRIES = 'https://utilities.tap.company/api/v1/country/list';
7
8
  var CURRENCY_PATH = 'https://utilities.tap.company/api/v1/currency/iso';
@@ -71,6 +72,7 @@ export var ENDPOINT_PATHS = {
71
72
  PRODUCTION_BASE_URL: PRODUCTION_BASE_URL,
72
73
  PRODUCTION_BASE_URL_SA: PRODUCTION_BASE_URL_SA,
73
74
  DEV_BASE_URL: DEV_BASE_URL,
75
+ BETA_BASE_URL: BETA_BASE_URL,
74
76
  BUSINESS_COUNTRIES: API_BUSINESS_COUNTRIES,
75
77
  COUNTRIES: API_COUNTRIES,
76
78
  IP: IP_PATH,
@@ -1,6 +1,7 @@
1
1
  import { ScreenStepNavigation, BusinessType } from '../@types';
2
2
  export declare const CONNECT_DEV_URL = "https://connect.dev.tap.company";
3
3
  export declare const CONNECT_SANDBOX_URL = "https://connect.sandbox.tap.company";
4
+ export declare const CONNECT_BETA_URL = "https://connect.beta.tap.company";
4
5
  export declare const CONNECT_PROD_URL = "https://connect.tap.company";
5
6
  export declare const CLIENT_ORIGIN: string;
6
7
  export declare const TAP_WEBSITE = "https://www.tap.company/";
@@ -226,6 +227,9 @@ export declare const OTHER_FL_LICENSE: {
226
227
  };
227
228
  license: {
228
229
  number: string;
230
+ additional_info: {
231
+ unified_number: string;
232
+ };
229
233
  };
230
234
  type: BusinessType;
231
235
  };
@@ -237,6 +241,9 @@ export declare const OTHER_ENTITY_LICENSE: {
237
241
  };
238
242
  license: {
239
243
  number: string;
244
+ additional_info: {
245
+ unified_number: string;
246
+ };
240
247
  };
241
248
  type: BusinessType;
242
249
  };
@@ -247,6 +254,9 @@ export declare const OTHER_CR_LICENSE: {
247
254
  };
248
255
  license: {
249
256
  number: string;
257
+ additional_info: {
258
+ unified_number: string;
259
+ };
250
260
  };
251
261
  type: BusinessType;
252
262
  };
@@ -2,6 +2,7 @@ import { BusinessType } from '../@types';
2
2
  import { CONNECT_FLOWS } from './flows';
3
3
  export var CONNECT_DEV_URL = 'https://connect.dev.tap.company';
4
4
  export var CONNECT_SANDBOX_URL = 'https://connect.sandbox.tap.company';
5
+ export var CONNECT_BETA_URL = 'https://connect.beta.tap.company';
5
6
  export var CONNECT_PROD_URL = 'https://connect.tap.company';
6
7
  export var CLIENT_ORIGIN = window.location.origin;
7
8
  export var TAP_WEBSITE = 'https://www.tap.company/';
@@ -1154,7 +1155,8 @@ export var OTHER_FL_LICENSE = {
1154
1155
  en: 'add_other_fl'
1155
1156
  },
1156
1157
  license: {
1157
- number: 'other_fl'
1158
+ number: 'other_fl',
1159
+ additional_info: { unified_number: 'other_fl' }
1158
1160
  },
1159
1161
  type: BusinessType.FL
1160
1162
  };
@@ -1165,7 +1167,8 @@ export var OTHER_ENTITY_LICENSE = {
1165
1167
  en: 'add_other'
1166
1168
  },
1167
1169
  license: {
1168
- number: 'other_entity'
1170
+ number: 'other_entity',
1171
+ additional_info: { unified_number: 'other_entity' }
1169
1172
  },
1170
1173
  type: BusinessType.CR
1171
1174
  };
@@ -1175,7 +1178,8 @@ export var OTHER_CR_LICENSE = {
1175
1178
  en: 'add_other_cr'
1176
1179
  },
1177
1180
  license: {
1178
- number: 'other_cr'
1181
+ number: 'other_cr',
1182
+ additional_info: { unified_number: 'other_cr' }
1179
1183
  },
1180
1184
  type: BusinessType.CR
1181
1185
  };
@@ -1,10 +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 ASSETS_BASE_URL = "https://tap-assets.b-cdn.net";
4
- export declare const ASSETS_PATH = "/icons/connect";
5
- export declare const ICONS_EXTENSION = ".svg";
1
+ export declare const SVG_ICON_EXTENSION = ".svg";
2
+ export declare const PNG_ICON_EXTENSION = ".png";
6
3
  export declare const ICONS_FULL_PATH: string;
7
- export declare const ASSETS_FULL_PATH: string;
4
+ export declare const BACKEND_ICONS_FULL_PATH: string;
5
+ export declare const ASSETS_DASHBOARD_FULL_PATH: string;
8
6
  export declare const ICONS_NAMES: {
9
7
  SIDE_MENU_CLOSE_ICON: string;
10
8
  SIDE_MENU_CLOSE_ICON_DARK: string;
@@ -107,9 +105,16 @@ export declare const ICONS_NAMES: {
107
105
  entity_green_icon: string;
108
106
  entity_white_icon: string;
109
107
  brand_filled_icon: string;
108
+ terminal_filled_icon: string;
109
+ terminal_green_icon: string;
110
+ terminal_white_icon: string;
110
111
  Arrow_filled_right_icon: string;
111
112
  Arrow_green_right_icon: string;
112
113
  Arrow_white_right_icon: string;
113
114
  account_not_found: string;
114
115
  email_icon: string;
116
+ terminal_device: string;
117
+ device_image: string;
118
+ platform_image: string;
119
+ radio_checked: string;
115
120
  };