@agendar/shared 0.1.3 → 0.2.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.
- package/dist/{chunk-4HT2MGHE.js → chunk-7FPQB5UW.js} +51 -37
- package/dist/chunk-7FPQB5UW.js.map +1 -0
- package/dist/{chunk-QJYEWLZE.js → chunk-CLGTNTZB.js} +51 -37
- package/dist/chunk-CLGTNTZB.js.map +1 -0
- package/dist/{chunk-2OENQIJQ.js → chunk-LMEE5HXL.js} +51 -37
- package/dist/chunk-LMEE5HXL.js.map +1 -0
- package/dist/i18n/en.cjs +49 -35
- package/dist/i18n/en.cjs.map +1 -1
- package/dist/i18n/en.d.cts +45 -32
- package/dist/i18n/en.d.ts +45 -32
- package/dist/i18n/en.js +1 -1
- package/dist/i18n/es.cjs +49 -35
- package/dist/i18n/es.cjs.map +1 -1
- package/dist/i18n/es.d.cts +45 -32
- package/dist/i18n/es.d.ts +45 -32
- package/dist/i18n/es.js +1 -1
- package/dist/i18n/index.cjs +147 -105
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.js +3 -3
- package/dist/i18n/pt.cjs +49 -35
- package/dist/i18n/pt.cjs.map +1 -1
- package/dist/i18n/pt.d.cts +45 -32
- package/dist/i18n/pt.d.ts +45 -32
- package/dist/i18n/pt.js +1 -1
- package/dist/schemas/{register-business-owner-form.cjs → sign-up-form.cjs} +41 -15
- package/dist/schemas/sign-up-form.cjs.map +1 -0
- package/dist/schemas/sign-up-form.d.cts +64 -0
- package/dist/schemas/sign-up-form.d.ts +64 -0
- package/dist/schemas/{register-business-owner-form.js → sign-up-form.js} +33 -11
- package/dist/schemas/sign-up-form.js.map +1 -0
- package/package.json +5 -5
- package/dist/chunk-2OENQIJQ.js.map +0 -1
- package/dist/chunk-4HT2MGHE.js.map +0 -1
- package/dist/chunk-QJYEWLZE.js.map +0 -1
- package/dist/schemas/register-business-owner-form.cjs.map +0 -1
- package/dist/schemas/register-business-owner-form.d.cts +0 -45
- package/dist/schemas/register-business-owner-form.d.ts +0 -45
- package/dist/schemas/register-business-owner-form.js.map +0 -1
package/dist/i18n/en.cjs
CHANGED
|
@@ -118,12 +118,16 @@ var apiEN = {
|
|
|
118
118
|
PROD_200_DELETE: "Product deleted successfully",
|
|
119
119
|
PROD_200_PROFESSIONALS: "Product professionals updated successfully",
|
|
120
120
|
PROD_201: "Product created successfully",
|
|
121
|
+
INVITE_001: "Invite code is invalid or already used",
|
|
122
|
+
INVITE_002: "This invite code has expired",
|
|
123
|
+
INVITE_003: "Add a phone or email to invite this professional",
|
|
124
|
+
INVITE_004: "This professional already has app access",
|
|
125
|
+
INVITE_005: "You are already part of this business",
|
|
126
|
+
INVITE_006: "No active invite for this professional",
|
|
121
127
|
PROF_001: "Failed to create professional",
|
|
122
128
|
PROF_002: "Professional not found",
|
|
123
129
|
PROF_003: "Failed to update professional",
|
|
124
130
|
PROF_004: "Failed to delete professional",
|
|
125
|
-
PROF_005: "No pending claim found for this professional",
|
|
126
|
-
PROF_006: "Failed to process claim",
|
|
127
131
|
PROF_007: "One or more services do not belong to this establishment",
|
|
128
132
|
PROF_008: "Combined commission deductions cannot exceed 100%",
|
|
129
133
|
PROF_009: "Authenticated user has no establishment context",
|
|
@@ -135,8 +139,6 @@ var apiEN = {
|
|
|
135
139
|
PROF_015: "Voucher not found",
|
|
136
140
|
PROF_016: "Voucher is already canceled",
|
|
137
141
|
PROF_200: "Professional updated successfully",
|
|
138
|
-
PROF_200_CLAIM_APPROVED: "Professional claim approved successfully",
|
|
139
|
-
PROF_200_CLAIM_REJECTED: "Professional claim rejected successfully",
|
|
140
142
|
PROF_200_DELETE: "Professional deleted successfully",
|
|
141
143
|
PROF_200_PAYOUT_CANCELED: "Commission payout canceled successfully",
|
|
142
144
|
PROF_200_PAYOUT_REGISTERED: "Commission payout registered successfully",
|
|
@@ -455,14 +457,47 @@ var appEN = {
|
|
|
455
457
|
"auth.signUp.errors.phoneSendRateLimited": "Too many send attempts. Wait a few minutes and try again.",
|
|
456
458
|
"auth.signUp.errors.invalidPhoneNumber": "Invalid phone number. Check it and try again.",
|
|
457
459
|
// Onboarding — create establishment
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"
|
|
464
|
-
"
|
|
465
|
-
"
|
|
460
|
+
// SignUp invite, Business onboarding gate, Invite management — see
|
|
461
|
+
// docs/adr/0016-signup-creates-user-only-invite-code.md.
|
|
462
|
+
"auth.signUp.invite.link": "I have an invite",
|
|
463
|
+
"auth.signUp.invite.title": "Enter your invite code",
|
|
464
|
+
"auth.signUp.invite.subtitle": "Use the code that was shared with you.",
|
|
465
|
+
"auth.signUp.invite.codeLabel": "Invite code",
|
|
466
|
+
"auth.signUp.invite.codePlaceholder": "e.g. AB3K7Q",
|
|
467
|
+
"auth.signUp.invite.submit": "Validate code",
|
|
468
|
+
"auth.signUp.invite.validating": "Validating...",
|
|
469
|
+
"auth.signUp.invite.errors.invalidFormat": "The code has 6 characters.",
|
|
470
|
+
"auth.signUp.invite.errors.invalid": "Invalid or already used code.",
|
|
471
|
+
"auth.signUp.invite.errors.expired": "This code has expired. Ask for a new invite.",
|
|
472
|
+
"auth.signUp.invite.confirm.title": "You've been invited",
|
|
473
|
+
"auth.signUp.invite.confirm.subtitle": "{{inviter}} invited you to join {{business}}.",
|
|
474
|
+
"auth.signUp.invite.confirm.subtitleNoInviter": "You've been invited to join {{business}}.",
|
|
475
|
+
"auth.signUp.invite.confirm.hint": "Check your details. We'll send a code to confirm your contact.",
|
|
476
|
+
"auth.signUp.invite.confirm.submit": "Continue",
|
|
477
|
+
"onboarding.createBusiness.title": "What should we call your business?",
|
|
478
|
+
"onboarding.createBusiness.subtitle": "Doesn't matter if you work out of your own place or travel to your clients \u2014 we just need a name to get started.",
|
|
479
|
+
"onboarding.createBusiness.name": "Business name",
|
|
480
|
+
"onboarding.createBusiness.namePlaceholder": "e.g. John's Barbershop",
|
|
481
|
+
"onboarding.createBusiness.submit": "Create business",
|
|
482
|
+
"onboarding.createBusiness.submitting": "Creating...",
|
|
483
|
+
"onboarding.createBusiness.errors.genericError": "An error occurred while creating your business.",
|
|
484
|
+
"onboarding.account": "My account",
|
|
485
|
+
"onboarding.logout": "Sign out",
|
|
486
|
+
"professionals.invite.title": "App access",
|
|
487
|
+
"professionals.invite.description": "Generate a code so {{name}} can create an account and access the schedule.",
|
|
488
|
+
"professionals.invite.generate": "Generate invite code",
|
|
489
|
+
"professionals.invite.regenerate": "Generate new code",
|
|
490
|
+
"professionals.invite.revoke": "Cancel invite",
|
|
491
|
+
"professionals.invite.copy": "Copy code",
|
|
492
|
+
"professionals.invite.copied": "Code copied",
|
|
493
|
+
"professionals.invite.share": "Share",
|
|
494
|
+
"professionals.invite.shareMessage": "Hi {{name}}! You've been invited to {{business}} on Agendar. When creating your account, tap \u201CI have an invite\u201D and enter the code {{code}}. Valid until {{date}}.",
|
|
495
|
+
"professionals.invite.expiresAt": "Valid until {{date}}",
|
|
496
|
+
"professionals.invite.noChannel": "Add a phone or email to invite them.",
|
|
497
|
+
"professionals.invite.emailSent": "The code was also sent to {{email}}.",
|
|
498
|
+
"professionals.invite.generateError": "Couldn't generate the invite.",
|
|
499
|
+
"professionals.invite.revokeSuccess": "Invite cancelled",
|
|
500
|
+
"professionals.invite.revokeError": "Couldn't cancel the invite.",
|
|
466
501
|
// Tab Bar
|
|
467
502
|
"tab.hint": "Navigate to {{tab}}",
|
|
468
503
|
"tab.dashboard": "Dashboard",
|
|
@@ -737,7 +772,7 @@ var appEN = {
|
|
|
737
772
|
"tour.next": "Next",
|
|
738
773
|
"tour.finish": "Finish",
|
|
739
774
|
"professionals.tour.tabs.title": "Browse your professionals",
|
|
740
|
-
"professionals.tour.tabs.description": "Switch between all professionals,
|
|
775
|
+
"professionals.tour.tabs.description": "Switch between all professionals, payables, paid and vouchers.",
|
|
741
776
|
"professionals.tour.new.title": "Add a professional",
|
|
742
777
|
"professionals.tour.new.description": "Create a new professional profile from here.",
|
|
743
778
|
"services.tour.new.title": "Add a service",
|
|
@@ -1067,7 +1102,6 @@ var appEN = {
|
|
|
1067
1102
|
"professionals.empty": "No professionals found.",
|
|
1068
1103
|
"professionals.new": "New professional",
|
|
1069
1104
|
"professionals.create.professionRole": "Role",
|
|
1070
|
-
"professionals.list.pendingClaimsHint": "Opens pending account claims",
|
|
1071
1105
|
"professionals.list.newProfessionalHint": "Opens form to add a new professional",
|
|
1072
1106
|
"professionals.searchPlaceholder": "Search professionals",
|
|
1073
1107
|
"professionals.searchByNamePhoneSpecialization": "Search by name, phone or specialization...",
|
|
@@ -1156,9 +1190,8 @@ var appEN = {
|
|
|
1156
1190
|
"professionals.schedules.applyToDays.success": "Configuration applied to selected days",
|
|
1157
1191
|
"professionals.schedules.applyToDays.error": "Failed to apply configuration to other days",
|
|
1158
1192
|
"professionals.page.title": "Professionals",
|
|
1159
|
-
"professionals.page.subtitle": "Manage professionals, profile details and
|
|
1193
|
+
"professionals.page.subtitle": "Manage professionals, profile details and app access invites.",
|
|
1160
1194
|
"professionals.tabs.all": "All",
|
|
1161
|
-
"professionals.tabs.claims": "Claims",
|
|
1162
1195
|
"professionals.tabs.payables": "Payables",
|
|
1163
1196
|
"professionals.tabs.paid": "Paid",
|
|
1164
1197
|
"professionals.tabs.vouchers": "Vouchers",
|
|
@@ -1249,25 +1282,6 @@ var appEN = {
|
|
|
1249
1282
|
"professionals.edit.error": "Failed to update professional",
|
|
1250
1283
|
"professionals.delete.success": "Professional removed successfully",
|
|
1251
1284
|
"professionals.delete.error": "Failed to remove professional",
|
|
1252
|
-
// Pending Claims Screen
|
|
1253
|
-
"professionals.claims.title": "Pending claims",
|
|
1254
|
-
"professionals.claims.empty": "No pending claims.",
|
|
1255
|
-
"professionals.claims.emptyNow": "No pending claims at the moment.",
|
|
1256
|
-
"professionals.claims.emptySubtitle": "New account claims from professionals will show up here for you to review.",
|
|
1257
|
-
"professionals.claims.loading": "Loading pending claims...",
|
|
1258
|
-
"professionals.claims.approve": "Approve",
|
|
1259
|
-
"professionals.claims.reject": "Reject",
|
|
1260
|
-
"professionals.claims.approveSuccess": "Claim approved",
|
|
1261
|
-
"professionals.claims.rejectSuccess": "Claim rejected",
|
|
1262
|
-
"professionals.claims.approveError": "Failed to approve claim",
|
|
1263
|
-
"professionals.claims.approveHint": "Approves this professional account claim",
|
|
1264
|
-
"professionals.claims.rejectHint": "Rejects this professional account claim",
|
|
1265
|
-
"professionals.claims.rejectError": "Failed to reject claim",
|
|
1266
|
-
"professionals.claims.professional": "Professional",
|
|
1267
|
-
"professionals.claims.phone": "Phone",
|
|
1268
|
-
"professionals.claims.email": "E-mail",
|
|
1269
|
-
"professionals.claims.noPhone": "No phone",
|
|
1270
|
-
"professionals.claims.noEmail": "No e-mail",
|
|
1271
1285
|
"professionals.operational.professional": "Professional",
|
|
1272
1286
|
"professionals.operational.selectProfessional": "Select a professional",
|
|
1273
1287
|
"professionals.operational.selectProfessionalPrompt": "Select a professional to continue.",
|