@tap-payments/auth-jsconnect 2.12.1-beta → 2.13.0-beta

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 (34) hide show
  1. package/build/@types/form.d.ts +2 -0
  2. package/build/api/entity.d.ts +3 -0
  3. package/build/api/lead.d.ts +1 -0
  4. package/build/assets/locales/ar.json +48 -12
  5. package/build/assets/locales/en.json +51 -40
  6. package/build/constants/app.d.ts +9 -0
  7. package/build/constants/app.js +6 -3
  8. package/build/constants/validation.d.ts +1 -0
  9. package/build/constants/validation.js +1 -0
  10. package/build/features/app/business/businessStore.js +15 -10
  11. package/build/features/app/connectExpress/connectExpressStore.js +19 -4
  12. package/build/features/app/tax/taxStore.js +1 -1
  13. package/build/features/auth/screens/AuthenticationList/EntityList.js +2 -2
  14. package/build/features/business/screens/BusinessType/BusinessType.js +13 -2
  15. package/build/features/business/screens/BusinessType/EntityLicenseList.js +11 -5
  16. package/build/features/business/screens/BusinessType/LicenseList.js +15 -7
  17. package/build/features/business/screens/BusinessType/UnifiedNumber.d.ts +35 -0
  18. package/build/features/business/screens/BusinessType/UnifiedNumber.js +84 -0
  19. package/build/features/business/screens/BusinessType/validation.d.ts +6 -3
  20. package/build/features/business/screens/BusinessType/validation.js +31 -10
  21. package/build/features/connectExpress/screens/AuthenticationList/EntityList.js +2 -2
  22. package/build/features/connectExpress/screens/CollectBusinessInfo/CollectBusinessInfo.js +1 -0
  23. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseList.js +23 -7
  24. package/build/features/connectExpress/screens/CollectBusinessInfo/LicenseNumber.js +2 -2
  25. package/build/features/connectExpress/screens/CollectBusinessInfo/TAC.js +1 -1
  26. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.d.ts +36 -0
  27. package/build/features/connectExpress/screens/CollectBusinessInfo/UnifiedNumber.js +81 -0
  28. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.d.ts +6 -3
  29. package/build/features/connectExpress/screens/CollectBusinessInfo/validation.js +57 -21
  30. package/build/features/entity/screens/EntityName/EntityName.js +2 -1
  31. package/build/features/entity/screens/EntityName/UnifiedNumber.js +2 -2
  32. package/build/features/entity/screens/EntityName/validation.d.ts +3 -3
  33. package/build/features/entity/screens/EntityName/validation.js +14 -3
  34. package/package.json +1 -1
@@ -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;
@@ -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
  }
@@ -227,6 +227,9 @@ export declare const OTHER_FL_LICENSE: {
227
227
  };
228
228
  license: {
229
229
  number: string;
230
+ additional_info: {
231
+ unified_number: string;
232
+ };
230
233
  };
231
234
  type: BusinessType;
232
235
  };
@@ -238,6 +241,9 @@ export declare const OTHER_ENTITY_LICENSE: {
238
241
  };
239
242
  license: {
240
243
  number: string;
244
+ additional_info: {
245
+ unified_number: string;
246
+ };
241
247
  };
242
248
  type: BusinessType;
243
249
  };
@@ -248,6 +254,9 @@ export declare const OTHER_CR_LICENSE: {
248
254
  };
249
255
  license: {
250
256
  number: string;
257
+ additional_info: {
258
+ unified_number: string;
259
+ };
251
260
  };
252
261
  type: BusinessType;
253
262
  };
@@ -1155,7 +1155,8 @@ export var OTHER_FL_LICENSE = {
1155
1155
  en: 'add_other_fl'
1156
1156
  },
1157
1157
  license: {
1158
- number: 'other_fl'
1158
+ number: 'other_fl',
1159
+ additional_info: { unified_number: 'other_fl' }
1159
1160
  },
1160
1161
  type: BusinessType.FL
1161
1162
  };
@@ -1166,7 +1167,8 @@ export var OTHER_ENTITY_LICENSE = {
1166
1167
  en: 'add_other'
1167
1168
  },
1168
1169
  license: {
1169
- number: 'other_entity'
1170
+ number: 'other_entity',
1171
+ additional_info: { unified_number: 'other_entity' }
1170
1172
  },
1171
1173
  type: BusinessType.CR
1172
1174
  };
@@ -1176,7 +1178,8 @@ export var OTHER_CR_LICENSE = {
1176
1178
  en: 'add_other_cr'
1177
1179
  },
1178
1180
  license: {
1179
- number: 'other_cr'
1181
+ number: 'other_cr',
1182
+ additional_info: { unified_number: 'other_cr' }
1180
1183
  },
1181
1184
  type: BusinessType.CR
1182
1185
  };
@@ -10,6 +10,7 @@ export declare const LICENSE_NUMBER_MIN_LENGTH = 5;
10
10
  export declare const FL_NUMBER_ENTITY_LENGTH = 50;
11
11
  export declare const FL_MIN_LICENSE_LENGTH = 5;
12
12
  export declare const CR_MIN_LICENSE_LENGTH = 5;
13
+ export declare const UNIFIED_NUMBER_MIN_LENGTH = 2;
13
14
  export declare const MAX_EMAIL_LENGTH = 50;
14
15
  export declare const BRAND_NAME_MAX_LENGTH = 99;
15
16
  export declare const KW_MIN_LICENSE_LENGTH = 3;
@@ -10,6 +10,7 @@ export var LICENSE_NUMBER_MIN_LENGTH = 5;
10
10
  export var FL_NUMBER_ENTITY_LENGTH = 50;
11
11
  export var FL_MIN_LICENSE_LENGTH = 5;
12
12
  export var CR_MIN_LICENSE_LENGTH = 5;
13
+ export var UNIFIED_NUMBER_MIN_LENGTH = 2;
13
14
  export var MAX_EMAIL_LENGTH = 50;
14
15
  export var BRAND_NAME_MAX_LENGTH = 99;
15
16
  export var KW_MIN_LICENSE_LENGTH = 3;
@@ -651,26 +651,26 @@ export var retrieveBoardDetails = createAsyncThunk('retrieveBoardDetails', funct
651
651
  });
652
652
  }); });
653
653
  export var updateLeadBusinessType = createAsyncThunk('updateLeadBusinessType', function (params, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
654
- var _a, settings, business, isKWCountry, selectedLicense, licenseNumber, entityLegalName, certificateId, articleId, selectedEntityLicense, isFL, _b, lead_id, brand, stepName, payload, data, accountBody, accountData, documentData, entityData, brandData, data_1, brandRes, _c, message, error, list, entityId, documentBody, payload_1;
654
+ var _a, settings, business, isKWCountry, selectedLicense, licenseNumber, entityLegalName, certificateId, articleId, selectedEntityLicense, unifiedNumber, isFL, _b, lead_id, brand, stepName, payload, data, accountBody, accountData, documentData, entityData, brandData, data_1, brandRes, _c, message, error, list, entityId, documentBody, payload_1;
655
655
  var _d, _e, _f;
656
656
  return __generator(this, function (_g) {
657
657
  switch (_g.label) {
658
658
  case 0:
659
659
  _a = thunkApi.getState(), settings = _a.settings, business = _a.business;
660
660
  isKWCountry = isKW(settings.data.businessCountry.iso2);
661
- selectedLicense = params.selectedLicense, licenseNumber = params.licenseNumber, entityLegalName = params.entityLegalName, certificateId = params.certificateId, articleId = params.articleId, selectedEntityLicense = params.selectedEntityLicense;
661
+ selectedLicense = params.selectedLicense, licenseNumber = params.licenseNumber, entityLegalName = params.entityLegalName, certificateId = params.certificateId, articleId = params.articleId, selectedEntityLicense = params.selectedEntityLicense, unifiedNumber = params.unifiedNumber;
662
662
  isFL = (selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.type) === BusinessType.FL;
663
663
  _b = business.data.verify.responseBody || {}, lead_id = _b.lead_id, brand = _b.brand;
664
664
  stepName = 'BUSINESS_ACTIVITIES_STEP';
665
665
  payload = __assign(__assign(__assign(__assign({ id: lead_id || '', entity: {
666
666
  id: (selectedEntityLicense === null || selectedEntityLicense === void 0 ? void 0 : selectedEntityLicense.id) && (isKWCountry ? !isFL : true) ? selectedEntityLicense === null || selectedEntityLicense === void 0 ? void 0 : selectedEntityLicense.id : ''
667
- } }, (!(selectedEntityLicense === null || selectedEntityLicense === void 0 ? void 0 : selectedEntityLicense.id) && {
667
+ }, unified_number: unifiedNumber }, (!(selectedEntityLicense === null || selectedEntityLicense === void 0 ? void 0 : selectedEntityLicense.id) && {
668
668
  license_number: isKWCountry && isFL ? '' : licenseNumber,
669
669
  license_type: isFL ? LicenseType.FL : LicenseType.CR,
670
670
  business_type: selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.type
671
671
  })), { step_name: BUSINESS_STEP_NAMES.BUSINESS_CR_INFO }), (isKWCountry && {
672
672
  business_name: isFL ? undefined : { ar: entityLegalName, en: entityLegalName }
673
- })), { encryption_contract: ['license_number', 'business_type', 'license_type'] });
673
+ })), { encryption_contract: ['license_number', 'business_type', 'license_type', 'entity.unified_number'] });
674
674
  return [4, API.leadService.updateLead(payload)];
675
675
  case 1:
676
676
  data = _g.sent();
@@ -988,6 +988,7 @@ var initialState = {
988
988
  businessTypeData: {
989
989
  licenseNumber: '',
990
990
  entityLegalName: '',
991
+ unifiedNumber: '',
991
992
  isPrevDob: false
992
993
  },
993
994
  activitiesData: {
@@ -1264,7 +1265,7 @@ export var businessSlice = createSlice({
1264
1265
  state.loading = true;
1265
1266
  })
1266
1267
  .addCase(retrieveEntityList.fulfilled, function (state, action) {
1267
- var _a, _b, _c, _d;
1268
+ var _a, _b, _c, _d, _e, _f;
1268
1269
  state.error = null;
1269
1270
  state.loading = false;
1270
1271
  var data = action.payload;
@@ -1285,7 +1286,7 @@ export var businessSlice = createSlice({
1285
1286
  licenseList = __spreadArray(__spreadArray([], licenseList, true), mappedFL, true);
1286
1287
  licenseList = licenseList.filter(function (_a) {
1287
1288
  var license = _a.license;
1288
- return !(entityLicenseList || []).some(function (e) { return e.license.number === license.number; });
1289
+ return !(entityLicenseList || []).some(function (e) { var _a, _b; return e.license.number === license.number || ((_a = e.license.additional_info) === null || _a === void 0 ? void 0 : _a.unified_number) === ((_b = license.additional_info) === null || _b === void 0 ? void 0 : _b.unified_number); });
1289
1290
  });
1290
1291
  }
1291
1292
  }
@@ -1295,8 +1296,10 @@ export var businessSlice = createSlice({
1295
1296
  var selectedLicense = licenseList === null || licenseList === void 0 ? void 0 : licenseList[0];
1296
1297
  var isOtherLicense_1 = ((_b = selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.license) === null || _b === void 0 ? void 0 : _b.number) === 'other_fl' || ((_c = selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.license) === null || _c === void 0 ? void 0 : _c.number) === 'other_cr';
1297
1298
  state.data.businessTypeData.selectedLicense = selectedLicense;
1298
- if (!isOtherLicense_1)
1299
+ if (!isOtherLicense_1) {
1299
1300
  state.data.businessTypeData.licenseNumber = ((_d = selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.license) === null || _d === void 0 ? void 0 : _d.number) || '';
1301
+ state.data.businessTypeData.unifiedNumber = ((_f = (_e = selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.license) === null || _e === void 0 ? void 0 : _e.additional_info) === null || _f === void 0 ? void 0 : _f.unified_number) || '';
1302
+ }
1300
1303
  }
1301
1304
  })
1302
1305
  .addCase(retrieveEntityList.rejected, function (state, action) {
@@ -1308,10 +1311,10 @@ export var businessSlice = createSlice({
1308
1311
  state.loading = true;
1309
1312
  })
1310
1313
  .addCase(retrieveAllEntityList.fulfilled, function (state, action) {
1311
- var _a;
1314
+ var _a, _b, _c;
1312
1315
  state.error = null;
1313
1316
  state.loading = false;
1314
- var _b = action.payload, data = _b.data, businessCountryCode = _b.businessCountryCode, entityId = _b.entityId;
1317
+ var _d = action.payload, data = _d.data, businessCountryCode = _d.businessCountryCode, entityId = _d.entityId;
1315
1318
  var isKWCountry = isKW(businessCountryCode);
1316
1319
  var list = (data === null || data === void 0 ? void 0 : data.entities_info) || [];
1317
1320
  if (isKWCountry) {
@@ -1329,8 +1332,10 @@ export var businessSlice = createSlice({
1329
1332
  var selectedLicense = findEntity ? findEntity : entityLicenseList[0];
1330
1333
  state.data.businessTypeData.selectedEntityLicense = selectedLicense;
1331
1334
  state.data.businessTypeData.selectedLicense = selectedLicense;
1332
- if (!isOtherLicense(selectedLicense))
1335
+ if (!isOtherLicense(selectedLicense)) {
1333
1336
  state.data.businessTypeData.licenseNumber = ((_a = selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.license) === null || _a === void 0 ? void 0 : _a.number) || '';
1337
+ state.data.businessTypeData.unifiedNumber = ((_c = (_b = selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.license) === null || _b === void 0 ? void 0 : _b.additional_info) === null || _c === void 0 ? void 0 : _c.unified_number) || '';
1338
+ }
1334
1339
  }
1335
1340
  })
1336
1341
  .addCase(retrieveAllEntityList.rejected, function (state, action) {
@@ -1129,13 +1129,13 @@ export var updateLeadIndividualAsync = createAsyncThunk('connectExpress/updateLe
1129
1129
  export var updateLeadBusinessDataAsync = createAsyncThunk('updateLeadBusinessDataAsync ', function (_a, thunkApi) {
1130
1130
  var formData = _a.formData, originalFormData = _a.originalFormData;
1131
1131
  return __awaiter(void 0, void 0, void 0, function () {
1132
- var _b, settings, connectExpress, selectedLicense, brandName, licenseNumber, termAndConditionChecked, isKWCountry, isFL, _c, responseData, isLeadIdPassed, id, brandNameBody, payload, data;
1132
+ var _b, settings, connectExpress, selectedLicense, brandName, licenseNumber, termAndConditionChecked, unifiedNumber, isKWCountry, isFL, _c, responseData, isLeadIdPassed, id, brandNameBody, payload, data;
1133
1133
  var _d, _e;
1134
1134
  return __generator(this, function (_f) {
1135
1135
  switch (_f.label) {
1136
1136
  case 0:
1137
1137
  _b = thunkApi.getState(), settings = _b.settings, connectExpress = _b.connectExpress;
1138
- selectedLicense = formData.selectedLicense, brandName = formData.brandName, licenseNumber = formData.licenseNumber, termAndConditionChecked = formData.termAndConditionChecked;
1138
+ selectedLicense = formData.selectedLicense, brandName = formData.brandName, licenseNumber = formData.licenseNumber, termAndConditionChecked = formData.termAndConditionChecked, unifiedNumber = formData.unifiedNumber;
1139
1139
  isKWCountry = isKW(settings.data.businessCountry.iso2);
1140
1140
  isFL = (selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.type) === BusinessType.FL;
1141
1141
  _c = connectExpress.data, responseData = _c.responseData, isLeadIdPassed = _c.isLeadIdPassed;
@@ -1153,6 +1153,7 @@ export var updateLeadBusinessDataAsync = createAsyncThunk('updateLeadBusinessDat
1153
1153
  license_type: (selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.type) ? (isFL ? LicenseType.FL : LicenseType.CR) : undefined,
1154
1154
  business_type: selectedLicense === null || selectedLicense === void 0 ? void 0 : selectedLicense.type,
1155
1155
  is_acknowledged: true,
1156
+ unified_number: unifiedNumber,
1156
1157
  terms_conditions_accepted: !isLeadIdPassed ? termAndConditionChecked : undefined,
1157
1158
  step_name: CONNECT_EXPRESS_STEP_NAMES.UPDATE_LEAD_BRAND_BUSINESS,
1158
1159
  encryption_contract: []
@@ -1480,6 +1481,7 @@ var initialState = {
1480
1481
  businessData: {
1481
1482
  brandName: '',
1482
1483
  licenseNumber: '',
1484
+ unifiedNumber: '',
1483
1485
  termAndConditionChecked: false
1484
1486
  },
1485
1487
  authenticationData: {
@@ -1776,7 +1778,7 @@ export var connectSlice = createSlice({
1776
1778
  state.error = null;
1777
1779
  })
1778
1780
  .addCase(retrieveEntityListAsync.fulfilled, function (state, action) {
1779
- var _a, _b;
1781
+ var _a, _b, _c, _d;
1780
1782
  state.loading = false;
1781
1783
  var data = action.payload;
1782
1784
  var description = (((_a = data === null || data === void 0 ? void 0 : data.errors) === null || _a === void 0 ? void 0 : _a[0]) || {}).description;
@@ -1796,7 +1798,8 @@ export var connectSlice = createSlice({
1796
1798
  }
1797
1799
  }
1798
1800
  licenseList = __spreadArray(__spreadArray([], licenseList, true), [OTHER_CR_LICENSE, OTHER_FL_LICENSE], false);
1799
- var _c = ((_b = state.data.responseData) === null || _b === void 0 ? void 0 : _b.leadData) || {}, license_number = _c.license_number, license_type = _c.license_type;
1801
+ var _e = ((_b = state.data.responseData) === null || _b === void 0 ? void 0 : _b.leadData) || {}, license_number = _e.license_number, license_type = _e.license_type, entity = _e.entity;
1802
+ var unified_number = (_d = (_c = entity === null || entity === void 0 ? void 0 : entity.license) === null || _c === void 0 ? void 0 : _c.additional_info) === null || _d === void 0 ? void 0 : _d.unified_number;
1800
1803
  var selectedLicense = undefined;
1801
1804
  if (license_number) {
1802
1805
  var findLicense = licenseList.find(function (_a) {
@@ -1812,6 +1815,18 @@ export var connectSlice = createSlice({
1812
1815
  selectedLicense = __assign(__assign({}, OTHER_CR_LICENSE), { license: { number: license_number } });
1813
1816
  state.data.businessData.licenseNumber = license_number;
1814
1817
  }
1818
+ if (unified_number) {
1819
+ var findLicense = licenseList.find(function (_a) {
1820
+ var _b;
1821
+ var license = _a.license;
1822
+ return ((_b = license === null || license === void 0 ? void 0 : license.additional_info) === null || _b === void 0 ? void 0 : _b.unified_number) === unified_number;
1823
+ });
1824
+ if (findLicense)
1825
+ selectedLicense = findLicense;
1826
+ else
1827
+ selectedLicense = __assign(__assign({}, OTHER_CR_LICENSE), { license: { number: '', additional_info: { unified_number: unified_number } } });
1828
+ state.data.businessData.unifiedNumber = unified_number;
1829
+ }
1815
1830
  state.data.businessData.selectedLicense = selectedLicense;
1816
1831
  state.data.responseData = __assign(__assign({}, state.data.responseData), { licenseList: licenseList });
1817
1832
  })
@@ -323,7 +323,7 @@ export var updateLeadSuccess = createAsyncThunk('taxUpdateLeadSuccess', function
323
323
  }
324
324
  });
325
325
  }); });
326
- export var onCloseCompleteTax = createAsyncThunk('password/onCloseCompleteTax', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
326
+ export var onCloseCompleteTax = createAsyncThunk('tax/onCloseCompleteTax', function (_, thunkApi) { return __awaiter(void 0, void 0, void 0, function () {
327
327
  var tax, _a, merchant, brand, entity;
328
328
  return __generator(this, function (_b) {
329
329
  switch (_b.label) {