@tap-payments/auth-jsconnect 2.0.90-test → 2.0.92-test
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/api/firebase.d.ts +1 -1
- package/build/api/firebase.js +3 -1
- package/build/api/index.d.ts +1 -1
- package/build/app/settings.d.ts +1 -0
- package/build/app/settings.js +7 -4
- package/build/assets/locales/ar.json +246 -194
- package/build/assets/locales/en.json +178 -119
- package/build/features/auth/Auth.js +1 -1
- package/build/features/connect/screens/Merchant/BrandList.js +1 -1
- package/build/features/connect/screens/Merchant/Merchant.js +6 -5
- package/build/features/connect/screens/Merchant/SalesChannels.js +10 -3
- package/build/features/connect/screens/Merchant/SocialMedia.js +9 -3
- package/build/features/connect/screens/Merchant/validation.js +38 -28
- package/build/features/shared/Dialog/CloseDialog.js +4 -3
- package/build/hooks/useAppConfig.d.ts +2 -1
- package/build/hooks/useAppConfig.js +2 -2
- package/build/hooks/useErrorListener.js +0 -6
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"language": "العربية",
|
|
3
2
|
"(citizeninfo) dateofbirth does not match nic records": "May you please verify the entered date of birth.",
|
|
4
|
-
"Api key is unauthorized to perform the operation": "
|
|
3
|
+
"Api key is unauthorized to perform the operation": "May you please verify the API operator used to perform this service.",
|
|
5
4
|
"CR Not Found": "May you please verify the entered commercial registration.",
|
|
6
5
|
"Freelance License Not Found": "May you please verify the entered freelancer registration.",
|
|
7
6
|
"Internal server error": "You are experiencing some service interruption. Please give it a try another time.",
|
|
@@ -9,37 +8,72 @@
|
|
|
9
8
|
"Invalid OTP": "Please enter a valid One Time Passcode (OTP).",
|
|
10
9
|
"Invalid OTP, please try again": "Please enter a valid One Time Passcode (OTP).",
|
|
11
10
|
"Invalid Password": "Please verify the entered information.",
|
|
12
|
-
"Invalid lead_id": "You
|
|
11
|
+
"Invalid lead_id": "You are experiencing some service interruption. May you please reach out the support team.",
|
|
13
12
|
"Invalid otp in data_token": "Please enter a valid One Time Passcode (OTP).",
|
|
14
13
|
"Profile Name Required": "May you please enter a brand name for your business.",
|
|
15
|
-
"Profile Name already exists": "The brand name you have entered is
|
|
14
|
+
"Profile Name already exists": "The brand name you have entered is not available. May you please provide an alternate brand name.",
|
|
16
15
|
"Profile Name is invalid": "May you please verify the entered brand name.",
|
|
16
|
+
"absher_button_label": "Continue with Absher",
|
|
17
|
+
"acceptance_btn_text": "Acceptance",
|
|
18
|
+
"account_completed_title_eg": "well done",
|
|
19
|
+
"account_completed_title_sa": "Congratulations",
|
|
20
|
+
"account_details": "Your account details",
|
|
17
21
|
"activities": "Business activities",
|
|
18
22
|
"activities_selected": "Business activities selected",
|
|
19
23
|
"actual_income_hint": "Lorem ipsum dolor sit amet, consetetur",
|
|
24
|
+
"add_other_cr": "Add a Commercial Registration",
|
|
25
|
+
"add_other_fl": "Add a Freelance Registration",
|
|
20
26
|
"agree_on_chargeback_policy": "I agree to the ",
|
|
21
27
|
"agree_on_refund_policy": "I agree to the ",
|
|
28
|
+
"alert_bank_confirm": "you have to confirm",
|
|
29
|
+
"alert_bank_statement": "please upload your bank statement",
|
|
22
30
|
"alert_beneficiary_name": "May you please verify the entered beneficiary name.",
|
|
23
|
-
"
|
|
24
|
-
"
|
|
31
|
+
"alert_file_upload": "please upload a valid file ",
|
|
32
|
+
"alert_iban": "May you please verify the entered IBAN",
|
|
33
|
+
"alert_tax_confirm": "please confirm your tax information",
|
|
34
|
+
"alert_vat": "May you please verify the entered tax identification number (TIN) for VAT purposes. (Note - the TIN constitutes of 15 digits)",
|
|
35
|
+
"android": "Enter your app name (App Store)",
|
|
25
36
|
"app": "App",
|
|
37
|
+
"apple_btn_open_title": "Open Apple Mail",
|
|
38
|
+
"apple_store_placeholder": "Enter your app name (App Store)",
|
|
39
|
+
"authenticate_kuwait_mobile_description": "Please go to your Kuwait Mobile ID app and accept the authentication request from Tap.",
|
|
40
|
+
"authenticate_kuwait_mobile_title": "Authenticate with Kuwait Mobile ID app",
|
|
41
|
+
"bank": "Bank",
|
|
42
|
+
"bank_confirm_information": "I confirm my bank information is correct and related to me.",
|
|
43
|
+
"bank_flow_completed": "{{bank_name}} {{iban}}",
|
|
44
|
+
"bank_flow_pending": "Add the bank account",
|
|
45
|
+
"bank_flow_title": "Add your bank details",
|
|
46
|
+
"bank_name_required": "Bank name is required",
|
|
26
47
|
"bank_statement_first_page": "Bank statement",
|
|
48
|
+
"bank_success_title": "Your bank details are updated",
|
|
27
49
|
"beneficiary_name": "Beneficiary name",
|
|
50
|
+
"beneficiary_name_invalid": "May you please verify the entered beneficiary name. (Note - The beneficiary name is required to match the legal name that is associated with the bank account)",
|
|
28
51
|
"beneficiary_name_placeholder": "Beneficiary name",
|
|
52
|
+
"beneficiary_name_required": "Beneficiary name is required",
|
|
29
53
|
"birthdate": "Date of birth",
|
|
54
|
+
"brand_name_already_exist": "Profile Name already exists",
|
|
30
55
|
"brand_name_hint": "Please enter a brand name for you business. The brand will appear for your customers. (Note - brand names might be taken sometime, therefore please provide a brand name that is legally registered under your business)",
|
|
56
|
+
"brand_success_title": "Your brand details are updated",
|
|
57
|
+
"business_completed_button": "Finish setting up my account",
|
|
58
|
+
"business_completed_description": "That was easy! You’re all set to accept payments. One last thing, add your bank details to start receiving your payouts.",
|
|
59
|
+
"business_completed_title": "Your account is active",
|
|
31
60
|
"business_start_date": "When did you start your business?",
|
|
61
|
+
"call_center": "Enter your call center number",
|
|
62
|
+
"call_center_placeholder": "Enter your call center number",
|
|
32
63
|
"category": "Category",
|
|
33
64
|
"category_name": "Category name",
|
|
34
65
|
"channel_of_service": "What are your sales channels?",
|
|
35
66
|
"chargeback_policy": "Transaction dispute policy",
|
|
36
|
-
"check_terms_cond": "Please accept the terms
|
|
67
|
+
"check_terms_cond": "Please accept the terms & conditions",
|
|
37
68
|
"choose_activities": "Business Activities",
|
|
38
69
|
"choose_activity": "- Please select -",
|
|
39
70
|
"choose_any_business_date": "Please select a date",
|
|
71
|
+
"choose_any_license": "Choose License",
|
|
72
|
+
"choose_any_occupation": "Select -",
|
|
40
73
|
"choose_any_source_of_income": "- Please select -",
|
|
41
74
|
"choose_atleast_one_activity": "- Please select -",
|
|
42
75
|
"choose_atleast_one_channel": "Please select at least a channel.",
|
|
76
|
+
"choose_brand": "Please select a brand",
|
|
43
77
|
"choose_channel": "- Please select -",
|
|
44
78
|
"choose_customer_base": "- Please select -",
|
|
45
79
|
"choose_employee_location": "- Please select -",
|
|
@@ -48,45 +82,88 @@
|
|
|
48
82
|
"choose_license": "- Please select -",
|
|
49
83
|
"choose_license_cr": "- Please select -",
|
|
50
84
|
"choose_license_fl": "- Please select -",
|
|
51
|
-
"citizenship": "
|
|
85
|
+
"citizenship": "Nationality",
|
|
86
|
+
"civil_id_placeholder": "28xxxxxxxx53",
|
|
52
87
|
"commercial_reg": "Comercial entity",
|
|
53
88
|
"commercial_registration": "Commercial registration",
|
|
89
|
+
"confirm": "Confirm",
|
|
90
|
+
"confirm_close_flow_no": "NO",
|
|
91
|
+
"confirm_close_flow_title": "Are you sure you would like to close?",
|
|
92
|
+
"confirm_close_flow_yes": "YES",
|
|
93
|
+
"connect_completed_description": "You successfully signed up your brand with Tap. Check your email to activate your account.",
|
|
94
|
+
"connect_completed_title": "Congratulations",
|
|
95
|
+
"continue": "Continue",
|
|
96
|
+
"country_of_residence": "Country of residence",
|
|
97
|
+
"cr_kw_max_length": "May you please verify the entered commercial registration number. (Note - the commercial registration minimum of 3 may contains characters and digits).",
|
|
98
|
+
"cr_max_length": "May you please verify the entered commercial registration number. (Note - the commercial registration constitutes of {{length}} digits). ",
|
|
99
|
+
"cr_number": "Commercial registration",
|
|
100
|
+
"cr_number_hint": 214151616,
|
|
101
|
+
"cr_required": "May you please enter a commercial registration number.",
|
|
54
102
|
"create_new_business": "Create a new business",
|
|
55
|
-
"
|
|
103
|
+
"desc_drag_and_drop": "First page showing matching bank details. PDF, JPG or PNG files up to 5mb.",
|
|
104
|
+
"desc_drag_and_drop_certificate": "License certificate file. PDF, JPG or PNG files up to 5mb.",
|
|
105
|
+
"drag_and_drop": "Drop or ",
|
|
56
106
|
"edit": "Edit",
|
|
57
107
|
"email_activation_description": "Thank you for choosing Tap Payments. Your email address has been confirmed successfully!",
|
|
108
|
+
"email_button_label": "Continue with Email",
|
|
58
109
|
"email_confirmed": "Email confirmed",
|
|
59
110
|
"email_not_valid": "May you please verify the entered email address.",
|
|
111
|
+
"employer_name_invalid": "May you please verify the entered name of your employer.",
|
|
60
112
|
"enter_at_least_one": "May you please enter at least one social media",
|
|
113
|
+
"enter_at_least_one_call_center": "Please enter at least one call center number",
|
|
114
|
+
"enter_at_least_one_mobile_app": "Please enter at least one mobile app store",
|
|
115
|
+
"enter_at_least_one_physical_store": "Please enter at least one physical store",
|
|
116
|
+
"enter_at_least_one_social_media": "Please enter at least one social media",
|
|
117
|
+
"enter_at_least_one_website": "Please enter at least one website",
|
|
61
118
|
"enter_bank_name": "Bank name",
|
|
62
119
|
"enter_bank_name_placeholder": "bank name",
|
|
63
|
-
"enter_birth_date": "Date of
|
|
64
|
-
"
|
|
120
|
+
"enter_birth_date": "Date of birth",
|
|
121
|
+
"enter_brand_name_english_chars_numbers_space": "May you please verify the entered brand name. (Note - Brand names may consist of English letters, numbers and spaces)",
|
|
122
|
+
"enter_brand_name_english_chars_only": "May you please verify the entered brand name. (Note - Brand names may consist of English letters)",
|
|
123
|
+
"enter_civil_id": "Please enter your civil ID",
|
|
65
124
|
"enter_commercial_register_no": "Commercial registration",
|
|
125
|
+
"enter_entity_name_english_chars_numbers_space": "Enter valid business name",
|
|
66
126
|
"enter_freelance_license": "Freelance registration",
|
|
67
|
-
"enter_iban": "Please enter the IBAN",
|
|
127
|
+
"enter_iban": "Please enter the bank account in the IBAN form",
|
|
68
128
|
"enter_iban_placeholder": "SA44#################0",
|
|
69
129
|
"enter_iqama_id": "Identification number",
|
|
70
130
|
"enter_license_no": "Freelance registration",
|
|
71
131
|
"enter_national_id": "Identification number",
|
|
72
|
-
"enter_served_monthly": "How many customers do you expect to
|
|
132
|
+
"enter_served_monthly": "How many customers do you expect your business to serve per month?",
|
|
73
133
|
"enter_strong_password": "Please enter strong password.",
|
|
74
134
|
"enter_valid_birth_date": "Please enter a valid birth date.",
|
|
75
135
|
"enter_valid_brand_name": "Please enter a valid brand name.",
|
|
76
|
-
"enter_valid_customer_no": "
|
|
136
|
+
"enter_valid_customer_no": "-",
|
|
77
137
|
"enter_valid_license": "May you please verify the entered license number.",
|
|
78
138
|
"enter_valid_mobile_number": "May you please verify the entered mobile number. (Note - Mobile numbers consist of {{length}} digits)",
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
139
|
+
"enter_valid_password": "Please enter a password with a minimum of {{length}} characters",
|
|
140
|
+
"entity_legal_name_placeholder": "Business name",
|
|
141
|
+
"entity_legal_name_title": "Business Name",
|
|
142
|
+
"entity_success_title": "Entity Updated Successfully",
|
|
143
|
+
"expected_customers_to_serve": "How many customers do you expect your business to serve per month?",
|
|
144
|
+
"expected_sales_yearly": "What is the expected sales for your business per month?",
|
|
145
|
+
"expected_served_monthly": "How many customers do you expect your business to serve per month?",
|
|
82
146
|
"expiry_date": "Date of expiry",
|
|
147
|
+
"file_not_supported_alert": "File not supported, please try again",
|
|
148
|
+
"file_size_alert": "Your file is too big, please upload another",
|
|
149
|
+
"file_upload_error": "Something went wrong, please try again",
|
|
83
150
|
"file_upload_failed": "You are experiencing some challenges uploading the file. Please give it another try.",
|
|
151
|
+
"file_uploading_title": "Uploading....",
|
|
152
|
+
"fl_kw_max_length": "May you please verify the entered freelancer registration reference. (Note - the freelancer registration may contains characters and digits).",
|
|
153
|
+
"fl_max_length": "May you please verify the entered freelancer registration reference. (Note - the freelancer registration constitutes of {{length}} characters). ",
|
|
154
|
+
"fl_number": "Freelancer registration",
|
|
155
|
+
"fl_number_hint": "fl31414ss3",
|
|
156
|
+
"fl_required": "May you please enter a freelancer registration reference.",
|
|
84
157
|
"follow_us": "Follow us",
|
|
85
158
|
"freelance": "Freelance registration",
|
|
86
159
|
"freelancer_reg": "Freelancer",
|
|
160
|
+
"future_work": "Future Work",
|
|
161
|
+
"gmail_btn_open_title": "Open Gmail",
|
|
87
162
|
"goto_dashboard": "Dashboard",
|
|
88
163
|
"goto_dashboard_button_label": "Enter the dashboard",
|
|
89
164
|
"have_physical_store": "Do you have a physical store?",
|
|
165
|
+
"homemaker_reg": "Home maker",
|
|
166
|
+
"id_placeholder": 2345566666,
|
|
90
167
|
"ide_not_valid_url": "May you please verify the entered website address.",
|
|
91
168
|
"ide_opt_sent_title": "A One Time Passcode (OTP) has been be sent to mobile number",
|
|
92
169
|
"ide_otp_resend_label": "Resend OTP",
|
|
@@ -96,61 +173,105 @@
|
|
|
96
173
|
"ide_submit_button_next_label": "Next",
|
|
97
174
|
"ide_successfully_updated_message": "Your account has been updated successfully",
|
|
98
175
|
"ide_successfully_verified_message": "Your account has been created successfully!",
|
|
99
|
-
"ide_terms_and_conditions_description": "
|
|
176
|
+
"ide_terms_and_conditions_description": "",
|
|
100
177
|
"identity_type": "Type of identity",
|
|
178
|
+
"individual_flow_completed": "{{individual_name}}",
|
|
179
|
+
"individual_flow_pending": "{{individual_name}}",
|
|
180
|
+
"individual_flow_title": "Complete your details",
|
|
181
|
+
"instagram": "your.business",
|
|
182
|
+
"invalid_civil_id": "Please enter valid civil ID",
|
|
183
|
+
"invalid_iban_format": "May you please verify the entered IBAN.",
|
|
101
184
|
"invalid_token": "Please be patient... You are experiencing some challenges with your connection.",
|
|
102
185
|
"invalid_url": "May you please verify the entered website address.",
|
|
186
|
+
"ios": "Enter your app name (Apple Store)",
|
|
103
187
|
"issue_date": "Date of issuance",
|
|
104
188
|
"join_our_community": "",
|
|
105
189
|
"kyc_verification": "Know Your Customer (KYC)",
|
|
190
|
+
"language": "العربية",
|
|
191
|
+
"license_name_label": "License Name",
|
|
192
|
+
"license_number_label": "License Number",
|
|
193
|
+
"linkedin": "your.business",
|
|
106
194
|
"loading": "Loading...",
|
|
195
|
+
"loading_bank_statement": "loading....",
|
|
196
|
+
"mail_btn_open_title": "Open Mail",
|
|
107
197
|
"marital_status": "Marital status",
|
|
108
|
-
"
|
|
198
|
+
"masking_symbols": "•••",
|
|
199
|
+
"mobile_button_label": "Continue with Mobile",
|
|
200
|
+
"national_address": "National address",
|
|
201
|
+
"national_id_placeholder": "0000000000",
|
|
202
|
+
"next": "Next",
|
|
109
203
|
"no": "No",
|
|
110
204
|
"no login credentials available": "May you please verify the entered email address. (Note - Please make sure to enter an email address associated with Tap)",
|
|
111
205
|
"notify_strong_password": "Awesome! You have a secure password.",
|
|
112
206
|
"notify_user_has_account": "Your mobile number is registered in Tap. Please login to create new business. ",
|
|
207
|
+
"occupation_title": "Occupation",
|
|
208
|
+
"open_mail_box": "Open Mailbox",
|
|
113
209
|
"opt_nid_sent_title": "Please enter the One Time Passcode (OTP) sent via Absher to the mobile number registered under your Saudi National ID",
|
|
210
|
+
"or": "or",
|
|
211
|
+
"otp_min_length": "Please enter the 6 digit OTP",
|
|
114
212
|
"otp_provider": "Absher",
|
|
213
|
+
"otp_required": "Please enter the required OTP",
|
|
214
|
+
"otp_success_title": "successfully verified",
|
|
115
215
|
"our_community_description": "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.",
|
|
216
|
+
"outlook_btn_open_title": "Open Outlook",
|
|
217
|
+
"paci_button_label": "Continue with PACI",
|
|
218
|
+
"paci_waiting_title": "Please wait we are verifying",
|
|
219
|
+
"password_flow_completed": "Reset my password",
|
|
220
|
+
"password_flow_pending": "Setup my password",
|
|
221
|
+
"password_flow_title": "Setup your password",
|
|
116
222
|
"password_length": "Needs to be more than 8 characters.",
|
|
117
223
|
"password_lower": "Includes at least 1 lowercase character.",
|
|
118
224
|
"password_not_match": "The password you have entered does not match.",
|
|
225
|
+
"password_required": "May you please enter the Password required.",
|
|
119
226
|
"password_special": "Includes at least 1 special character. (!@#%)",
|
|
227
|
+
"password_success_title": "Your password is set",
|
|
120
228
|
"password_upper": "Includes at least 1 uppercase character.",
|
|
121
|
-
"
|
|
229
|
+
"payouts_btn_text": "Payouts",
|
|
230
|
+
"physical_store": "Enter your store address or Google Map URL",
|
|
231
|
+
"physical_store_placeholder": "Enter your store address or Google Map URL",
|
|
122
232
|
"place_of_birth": "Place of birth",
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
233
|
+
"play_store_placeholder": "Enter your app name (Google Play Store)",
|
|
234
|
+
"please write your first and last name": "May you please verify the entered name in full. (Note - Your full name consists of your first, middle and last name)",
|
|
235
|
+
"please_agree_on_recharge": "Please agree to the dispute policy ",
|
|
236
|
+
"please_agree_on_refund": "Please agree to the refund policy",
|
|
126
237
|
"please_choose_are_you_influncer": "Are you an influencer",
|
|
127
238
|
"please_choose_base": "- Please select - ",
|
|
128
|
-
"please_choose_employer_location": "
|
|
239
|
+
"please_choose_employer_location": "- Please select - ",
|
|
129
240
|
"please_choose_relative_pep": "Are you or one of your relatives a Publicly Exposed Person (PEP)",
|
|
130
241
|
"please_enter_actual_income": "What is your monthly income?",
|
|
131
242
|
"please_enter_employer_name": "Please enter the name of your employer",
|
|
132
|
-
"read_agree_terms_and_conditions_message": "I have read
|
|
243
|
+
"read_agree_terms_and_conditions_message": "I have read, agreed to the ",
|
|
133
244
|
"refund_policy_compliance": "Refund policy compliance",
|
|
245
|
+
"reset_password_success_description": "Check your email to reset your password.",
|
|
246
|
+
"reset_password_success_title": "We sent you an email",
|
|
247
|
+
"scs_53Hj4422123SBTK7RV10J578": "your.business",
|
|
248
|
+
"scs_6Nsy4422123sjWe7gt10h579": "your.business",
|
|
249
|
+
"scs_99it4422123pJXN7Jm10Y579": "your.business",
|
|
250
|
+
"scs_FCz64422123nZfm7zm10V577": "Enter your app name (Google Play Store)",
|
|
251
|
+
"scs_ZULK4422123p2PK7Mg105576": "Enter your app name (App Store)",
|
|
252
|
+
"search_placeholder": "Search...",
|
|
134
253
|
"select_bank": "Bank",
|
|
254
|
+
"select_brand_label": "Brands",
|
|
135
255
|
"select_cr_license": "- Please select -",
|
|
136
|
-
"select_customer_base": "What
|
|
256
|
+
"select_customer_base": "What regions of customers do you serve?",
|
|
257
|
+
"select_expected_customers_serve": "- Please select - ",
|
|
137
258
|
"select_expected_sales": "- Please select - ",
|
|
138
259
|
"signin_email_label": "Email address",
|
|
139
|
-
"signin_email_mobile_label": "Email/Mobile",
|
|
140
|
-
"signin_email_mobile_placeholder": "Enter email or mobile",
|
|
260
|
+
"signin_email_mobile_label": "Email / Mobile",
|
|
261
|
+
"signin_email_mobile_placeholder": "Enter email address or mobile number",
|
|
141
262
|
"signin_email_placeholder": "Your email address",
|
|
142
|
-
"signup_Select_country": "Select
|
|
143
|
-
"signup_beneficiary_name_length_error": "
|
|
263
|
+
"signup_Select_country": "Select a country",
|
|
264
|
+
"signup_beneficiary_name_length_error": "May you please verify the entered beneficiary name.",
|
|
144
265
|
"signup_brand_name_label": "Brand name",
|
|
145
266
|
"signup_brand_name_placeholder": "Brand name ",
|
|
146
267
|
"signup_business_cr_info_title": "Commercial registration",
|
|
147
268
|
"signup_business_fl_info_title": "Freelance registration",
|
|
148
269
|
"signup_business_type_label": "Select your type of business",
|
|
149
270
|
"signup_email_lable": "Email address",
|
|
150
|
-
"signup_email_placeholder": "Your
|
|
271
|
+
"signup_email_placeholder": "Your email address",
|
|
151
272
|
"signup_enter_mobile": "Your mobile number",
|
|
152
|
-
"signup_generic_error": "
|
|
153
|
-
"signup_instagram_placeholder": "
|
|
273
|
+
"signup_generic_error": "You are experiencing some service interruption.",
|
|
274
|
+
"signup_instagram_placeholder": "your.business",
|
|
154
275
|
"signup_invalid_iqama_id_format": "May you please verify the entered identification number. (Note - Saudi Iqama's start with {{number}})",
|
|
155
276
|
"signup_invalid_national_id": "May you please verify the entered identification number",
|
|
156
277
|
"signup_invalid_national_id_format": "May you please verify the entered identification number. (Note - Saudi national IDs start with {{number}})",
|
|
@@ -158,28 +279,32 @@
|
|
|
158
279
|
"signup_merchant_name_label": "Full name",
|
|
159
280
|
"signup_merchant_name_placeholder": "Full name",
|
|
160
281
|
"signup_select_country": "Your country of business",
|
|
161
|
-
"signup_twitter_placeholder": "
|
|
282
|
+
"signup_twitter_placeholder": "your.business",
|
|
162
283
|
"signup_user_not_exists_error": "May you please verify the entered user.",
|
|
163
|
-
"signup_website_placeholder": "
|
|
284
|
+
"signup_website_placeholder": "www.yourbusiness.com",
|
|
164
285
|
"signup_welcoming": "Hello {{username}},",
|
|
165
286
|
"signup_welcoming_hi": "Hello,",
|
|
166
|
-
"start_with_number": "May you please verify the entered mobile. (Note - mobile numbers start with
|
|
167
|
-
"step_required_by_rayah": "This step is required in order to initiate a verification with Yaqeen.",
|
|
287
|
+
"start_with_number": "May you please verify the entered mobile. (Note - mobile numbers start with 5 or 05",
|
|
288
|
+
"step_required_by_rayah": "This step is required in order to initiate a verification with Yaqeen service from Elm.",
|
|
289
|
+
"subtitle_drop": "choose file",
|
|
290
|
+
"success_upload_bank_statement": "Done",
|
|
168
291
|
"sucess_message_for_non_saudi": "Thank you for your interest in Tap Payments, we shall be contacting you shortly.",
|
|
169
|
-
"
|
|
292
|
+
"switch_to_id": "Continue with your ID",
|
|
293
|
+
"switch_to_mobile": "Continue with your mobile",
|
|
294
|
+
"tap_js_actual_income": "What is your income per month? ",
|
|
170
295
|
"tap_js_are_you_an_influencer": "Are you a person who is considered an influencer?",
|
|
171
|
-
"tap_js_are_you_interesting_signup": "You may go to the
|
|
296
|
+
"tap_js_are_you_interesting_signup": "You may go to the dashboard to manage your business, or you may create new business account.",
|
|
172
297
|
"tap_js_cancel_button_label": "Cancel",
|
|
173
298
|
"tap_js_confirm_password_description": "Confirm password",
|
|
174
|
-
"tap_js_email_already_exist": "The email you have entered is associated with an existing account. (Note - Email addresses are uniquely linked to a single
|
|
299
|
+
"tap_js_email_already_exist": "The email you have entered is associated with an existing account. (Note - Email addresses are uniquely linked to a single account. You may enter another email address or sign in using the email address you have entered in order to continue using the same email for this business)",
|
|
175
300
|
"tap_js_employer_address_city": "What is the location of your employer?",
|
|
176
301
|
"tap_js_employer_name": "Employer name",
|
|
177
302
|
"tap_js_enter_actual_income": "0",
|
|
178
303
|
"tap_js_enter_employer_address": "Enter the location of your employer",
|
|
179
|
-
"tap_js_enter_employer_name": "
|
|
304
|
+
"tap_js_enter_employer_name": "Employer's name",
|
|
180
305
|
"tap_js_enter_title": "Enter a title",
|
|
181
306
|
"tap_js_go_back_button_label": "Back",
|
|
182
|
-
"tap_js_is_close_relative_in_pep": "Are you or any of your relatives politically exposed persons?",
|
|
307
|
+
"tap_js_is_close_relative_in_pep": "Are you or any of your relatives politically exposed persons (PEP)?",
|
|
183
308
|
"tap_js_no_button_label": "No",
|
|
184
309
|
"tap_js_password_description": "Password",
|
|
185
310
|
"tap_js_password_placeholder": "Your password",
|
|
@@ -188,11 +313,20 @@
|
|
|
188
313
|
"tap_js_select_a_title": "Select a title",
|
|
189
314
|
"tap_js_signin_button_label": "Signin",
|
|
190
315
|
"tap_js_source_of_income": "Source of income",
|
|
316
|
+
"tax_confirm_information": "I confirm my tax information is correct",
|
|
317
|
+
"tax_flow_completed": "TIN {{tax_id}}",
|
|
318
|
+
"tax_flow_pending": "Add the company's tax details",
|
|
319
|
+
"tax_success_title": "Your tax details are updated",
|
|
191
320
|
"terms_and_conditions_link_title": "terms and conditions",
|
|
192
321
|
"the nin format is not valid": "May you please verify the entered identification number.",
|
|
322
|
+
"title_bank_statement": "Bank Statement First Page",
|
|
323
|
+
"title_license_certificate": "License Certificate",
|
|
324
|
+
"title_upload_file": "upload from your computer",
|
|
325
|
+
"twitter": "your.business",
|
|
193
326
|
"upload_bank_statement": "Please upload the bank statement",
|
|
194
327
|
"upload_file": "Select a file from your computer",
|
|
195
328
|
"vat_id": "Tax Identification Number (TIN)",
|
|
329
|
+
"vat_id_placeholder": "000000000",
|
|
196
330
|
"verification_brand_name": "Brand name",
|
|
197
331
|
"verification_category": "Category",
|
|
198
332
|
"verification_completed_message": "Verification completed",
|
|
@@ -202,81 +336,6 @@
|
|
|
202
336
|
"verification_name": "Name",
|
|
203
337
|
"verification_status": "Status",
|
|
204
338
|
"verification_status_cancelled": "Cancelled",
|
|
205
|
-
"website": "
|
|
206
|
-
"yes": "Yes"
|
|
207
|
-
"switch_to_mobile": "Switch to mobile number",
|
|
208
|
-
"switch_to_id": "Switch to ID number",
|
|
209
|
-
"enter_valid_password": "Please enter password with minimum {{length}} characters",
|
|
210
|
-
"password_required": "Password id required",
|
|
211
|
-
"enter_brand_name_english_chars_numbers_space": "Please write English letters and numbers only with spaces",
|
|
212
|
-
"beneficiary_name_required": "Beneficiary name is required",
|
|
213
|
-
"bank_name_required": "Bank name is required",
|
|
214
|
-
"invalid_iban_format": "Please enter valid iban number",
|
|
215
|
-
"beneficiary_name_invalid": "Please enter first name and last name with space",
|
|
216
|
-
"select_expected_customers_serve": "- Please select - ",
|
|
217
|
-
"otp_required": "OTP is required",
|
|
218
|
-
"otp_min_length": "Please enter 6 digits number",
|
|
219
|
-
"employer_name_invalid": "Please enter first name and last name with space",
|
|
220
|
-
"cr_required": "CR number is required",
|
|
221
|
-
"cr_max_length": "CR number length should be {{length}}",
|
|
222
|
-
"fl_required": "Freelance number is required",
|
|
223
|
-
"fl_max_length": "Freelance number length should be {{length}}",
|
|
224
|
-
"absher_button_label": "Continue with Absher",
|
|
225
|
-
"mobile_button_label": "Continue with Mobile Number",
|
|
226
|
-
"or": "Or",
|
|
227
|
-
"next": "next",
|
|
228
|
-
"open_mail_box": "Open Mailbox",
|
|
229
|
-
"select_brand_label": "Brand List",
|
|
230
|
-
"choose_brand": "Choose Brand",
|
|
231
|
-
"confirm_enter_iban": "IBAN",
|
|
232
|
-
"gmail_btn_open_title": "Gmail",
|
|
233
|
-
"outlook_btn_open_title": "Outlook",
|
|
234
|
-
"apple_btn_open_title": "Apple",
|
|
235
|
-
"choose_any_license": "Choose Licene",
|
|
236
|
-
"future_work": "Future Work",
|
|
237
|
-
"add_other_fl": "Add Freelance",
|
|
238
|
-
"add_other_cr": "Add CR",
|
|
239
|
-
"cr_number": "CR Number",
|
|
240
|
-
"fl_number": "FL Number",
|
|
241
|
-
"tax_flow_completed": "Tax {{tax_id}}",
|
|
242
|
-
"individual_flow_completed": "Individual {{individual_name}}",
|
|
243
|
-
"bank_flow_completed": "{{bank_name}} {{iban}}",
|
|
244
|
-
"password_flow_completed": "Password",
|
|
245
|
-
"tax_flow_pending": "Tax",
|
|
246
|
-
"individual_flow_pending": "Individual {{individual_name}}",
|
|
247
|
-
"bank_flow_pending": "Bank",
|
|
248
|
-
"password_flow_pending": "Password",
|
|
249
|
-
"business_flow_pending": "Business",
|
|
250
|
-
"business_flow_completed": "{{business_type}} {{license_number}}",
|
|
251
|
-
"continue": "Continue",
|
|
252
|
-
"search_placeholder": "search..",
|
|
253
|
-
"connect_completed_title": "Congratulations",
|
|
254
|
-
"connect_completed_description": "You successfully signed up your brand with Tap. Check your email to activate your account.",
|
|
255
|
-
"business_completed_title": "Your account is active",
|
|
256
|
-
"business_completed_description": "That was easy! You’re all set to accept payments. One last thing, add your bank and tax info to start receiving your payouts.",
|
|
257
|
-
"business_completed_button": "Finish setting up my account",
|
|
258
|
-
"individual_success_title": "Your personal details are updated",
|
|
259
|
-
"tax_success_title": "Your tax details are updated",
|
|
260
|
-
"bank_success_title": "Your bank details are updated",
|
|
261
|
-
"password_success_title": "Your password is set",
|
|
262
|
-
"account_details": "Your account details",
|
|
263
|
-
"bank": "bank",
|
|
264
|
-
"reset_password_success_title": "We sent you an email",
|
|
265
|
-
"reset_password_success_description": "Check your email to reset your password.",
|
|
266
|
-
"license_name_label": "License Name",
|
|
267
|
-
"email_button_label": "Continue with Email",
|
|
268
|
-
"apple_store_placeholder": "Enter your app name (iOS)",
|
|
269
|
-
"play_store_placeholder": "Enter your app name (Google Play Store)",
|
|
270
|
-
"physical_store_placeholder": "Enter your store address or Google Map URL",
|
|
271
|
-
"call_center_placeholder": "Enter your Call Center number",
|
|
272
|
-
"back": "Back",
|
|
273
|
-
"civil_id_placeholder": "28xxxxxxxx53",
|
|
274
|
-
"enter_civil_id": "Please enter your civil ID",
|
|
275
|
-
"invalid_civil_id": "Please enter valid civil ID",
|
|
276
|
-
"authenticate_kuwait_mobile_title": "Authenticate with Kuwait Mobile ID app",
|
|
277
|
-
"authenticate_kuwait_mobile_description": "Please go to your Kuwait Mobile ID app and accept the authentication request from Tap.",
|
|
278
|
-
"cr_kw_max_length": "May you please verify the entered commercial registration number. (Note - the commercial registration minimum of 3 may contains characters and digits).",
|
|
279
|
-
"fl_kw_max_length": "May you please verify the entered freelancer registration reference. (Note - the freelancer registration may contains characters and digits).",
|
|
280
|
-
"title_license_certificate": "License Certificate",
|
|
281
|
-
"homemaker_reg": "Home maker"
|
|
339
|
+
"website": "www.yourbusiness.com",
|
|
340
|
+
"yes": "Yes"
|
|
282
341
|
}
|
|
@@ -40,7 +40,7 @@ var Auth = memo(function (_a) {
|
|
|
40
40
|
var dispatch = useAppDispatch();
|
|
41
41
|
var _b = useAppSelector(settingsSelector), data = _b.data, error = _b.error, settingLoading = _b.loading;
|
|
42
42
|
var _c = useAppSelector(authSelector), authError = _c.error, customLoading = _c.customLoading;
|
|
43
|
-
useAppConfig(__assign({ navigation: AUTH_SCREENS_NAVIGATION, disableCountries: true }, props));
|
|
43
|
+
useAppConfig(__assign({ navigation: AUTH_SCREENS_NAVIGATION, disableCountries: true, disableLocale: true }, props));
|
|
44
44
|
useErrorListener(authError || error);
|
|
45
45
|
useStepStartedListener();
|
|
46
46
|
var activeScreen = data.activeScreen, isTapOrigin = data.isTapOrigin, open = data.open;
|
|
@@ -64,7 +64,8 @@ var Merchant = function (_a) {
|
|
|
64
64
|
return;
|
|
65
65
|
}
|
|
66
66
|
var code = (_a = settingsData.businessCountry) === null || _a === void 0 ? void 0 : _a.iso2;
|
|
67
|
-
|
|
67
|
+
var screen = isKW(code) ? 'CONNECT_CIVIL_ID_STEP' : isAbsher ? 'CONNECT_NID_STEP' : 'CONNECT_MOBILE_STEP';
|
|
68
|
+
dispatch(handlePrevScreenStep(screen));
|
|
68
69
|
};
|
|
69
70
|
React.useEffect(function () {
|
|
70
71
|
if (error)
|
|
@@ -72,12 +73,12 @@ var Merchant = function (_a) {
|
|
|
72
73
|
}, [methods.formState.isValid]);
|
|
73
74
|
React.useEffect(function () {
|
|
74
75
|
if ((responseBody === null || responseBody === void 0 ? void 0 : responseBody.response_code) === '5')
|
|
75
|
-
methods.setError('brandName', { message: '
|
|
76
|
+
methods.setError('brandName', { message: 'brand_name_already_exist' });
|
|
76
77
|
}, [responseBody]);
|
|
77
78
|
React.useEffect(function () {
|
|
78
79
|
if (selectedBrandItem.id) {
|
|
79
|
-
methods.setValue('selectedBrandItem', selectedBrandItem
|
|
80
|
-
methods.setValue('salesChannels', selectedBrandItem.channel_services || []
|
|
80
|
+
methods.setValue('selectedBrandItem', selectedBrandItem);
|
|
81
|
+
methods.setValue('salesChannels', selectedBrandItem.channel_services || []);
|
|
81
82
|
}
|
|
82
83
|
}, [selectedBrandItem]);
|
|
83
84
|
React.useEffect(function () {
|
|
@@ -86,7 +87,7 @@ var Merchant = function (_a) {
|
|
|
86
87
|
}, [salesChannels]);
|
|
87
88
|
React.useEffect(function () {
|
|
88
89
|
if (termAndConditionChecked === true)
|
|
89
|
-
methods.setValue('termAndConditionChecked', termAndConditionChecked
|
|
90
|
+
methods.setValue('termAndConditionChecked', termAndConditionChecked);
|
|
90
91
|
}, [termAndConditionChecked]);
|
|
91
92
|
var brandErrChecks = !methods.formState.isValid || !!methods.formState.errors.brandName || !!error;
|
|
92
93
|
var disabled = brandErrChecks || brandNameChecking || ((_c = data.brandData.responseBody) === null || _c === void 0 ? void 0 : _c.response_code) === '5';
|
|
@@ -76,10 +76,10 @@ var SalesChannels = function (_a) {
|
|
|
76
76
|
var _b;
|
|
77
77
|
var t = useTranslation().t;
|
|
78
78
|
var isAr = useLanguage().isAr;
|
|
79
|
-
var
|
|
79
|
+
var _c = useFormContext(), control = _c.control, getValues = _c.getValues;
|
|
80
80
|
var dispatch = useAppDispatch();
|
|
81
81
|
var channelsControl = useController({ control: control, name: 'salesChannels' });
|
|
82
|
-
var
|
|
82
|
+
var _d = useAppSelector(connectSelector), data = _d.data, error = _d.error;
|
|
83
83
|
var channelList = (data.brandData.responseBody || {}).channel_list;
|
|
84
84
|
var isChecked = function (id) {
|
|
85
85
|
var item = channelsControl.field.value.find(function (item) { return item.id === id; });
|
|
@@ -93,7 +93,14 @@ var SalesChannels = function (_a) {
|
|
|
93
93
|
channelsControl.field.onChange(filterChannels);
|
|
94
94
|
}
|
|
95
95
|
else {
|
|
96
|
-
|
|
96
|
+
var brandName = getValues('brandName');
|
|
97
|
+
var newChannel = __assign({}, channel);
|
|
98
|
+
if (newChannel.id === 'website' && brandName) {
|
|
99
|
+
var brandValue = brandName.replaceAll(' ', '-').toLowerCase();
|
|
100
|
+
var address = (brandValue[brandValue.length - 1] === '-' ? brandValue.slice(0, -1) : brandValue) + '.com';
|
|
101
|
+
newChannel.address = address;
|
|
102
|
+
}
|
|
103
|
+
channelsControl.field.onChange(__spreadArray(__spreadArray([], channelsControl.field.value, true), [newChannel], false));
|
|
97
104
|
}
|
|
98
105
|
};
|
|
99
106
|
var warningMessage = (_b = channelsControl.fieldState.error) === null || _b === void 0 ? void 0 : _b.message;
|
|
@@ -120,7 +120,14 @@ var SocialMedia = function (_a) {
|
|
|
120
120
|
};
|
|
121
121
|
var setDefaultActiveSocialId = React.useCallback(function () {
|
|
122
122
|
var _a;
|
|
123
|
-
|
|
123
|
+
var idExist = selectedChannels.find(function (channel) {
|
|
124
|
+
var _a;
|
|
125
|
+
if ((_a = channel.sub) === null || _a === void 0 ? void 0 : _a.length) {
|
|
126
|
+
return channel.sub.find(function (subChannel) { return subChannel.address; });
|
|
127
|
+
}
|
|
128
|
+
return channel.id === activeSocialId;
|
|
129
|
+
});
|
|
130
|
+
if (selectedChannels.length >= 1 && !idExist) {
|
|
124
131
|
var firstChannel = selectedChannels[0];
|
|
125
132
|
if ((_a = firstChannel.sub) === null || _a === void 0 ? void 0 : _a.length) {
|
|
126
133
|
setActiveSocialId(firstChannel.sub[0].id);
|
|
@@ -134,8 +141,7 @@ var SocialMedia = function (_a) {
|
|
|
134
141
|
setDefaultActiveSocialId();
|
|
135
142
|
}, [setDefaultActiveSocialId]);
|
|
136
143
|
var hasError = React.useMemo(function () {
|
|
137
|
-
var _a;
|
|
138
|
-
return ['enter_at_least_one', 'ide_not_valid_url'].includes(((_a = salesChannelsState.error) === null || _a === void 0 ? void 0 : _a.message) || '');
|
|
144
|
+
return ['enter_at_least_one', 'invalid_url'].some(function (error) { var _a, _b; return (_b = (_a = salesChannelsState.error) === null || _a === void 0 ? void 0 : _a.message) === null || _b === void 0 ? void 0 : _b.includes(error); });
|
|
139
145
|
}, [salesChannelsState]);
|
|
140
146
|
var linksErrorMsg = (_b = salesChannelsState.error) === null || _b === void 0 ? void 0 : _b.message;
|
|
141
147
|
return (_jsx(Box, { children: _jsx(Collapse, __assign({ in: show && selectedChannels.length > 0 }, { children: _jsxs(Box, __assign({ sx: { mb: 3, direction: 'ltr' } }, { children: [_jsx(SocialMediaGroupStyled, __assign({ exclusive: true, onChange: function (e, value) {
|