@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
|
@@ -116,12 +116,16 @@ var apiEN = {
|
|
|
116
116
|
PROD_200_DELETE: "Product deleted successfully",
|
|
117
117
|
PROD_200_PROFESSIONALS: "Product professionals updated successfully",
|
|
118
118
|
PROD_201: "Product created successfully",
|
|
119
|
+
INVITE_001: "Invite code is invalid or already used",
|
|
120
|
+
INVITE_002: "This invite code has expired",
|
|
121
|
+
INVITE_003: "Add a phone or email to invite this professional",
|
|
122
|
+
INVITE_004: "This professional already has app access",
|
|
123
|
+
INVITE_005: "You are already part of this business",
|
|
124
|
+
INVITE_006: "No active invite for this professional",
|
|
119
125
|
PROF_001: "Failed to create professional",
|
|
120
126
|
PROF_002: "Professional not found",
|
|
121
127
|
PROF_003: "Failed to update professional",
|
|
122
128
|
PROF_004: "Failed to delete professional",
|
|
123
|
-
PROF_005: "No pending claim found for this professional",
|
|
124
|
-
PROF_006: "Failed to process claim",
|
|
125
129
|
PROF_007: "One or more services do not belong to this establishment",
|
|
126
130
|
PROF_008: "Combined commission deductions cannot exceed 100%",
|
|
127
131
|
PROF_009: "Authenticated user has no establishment context",
|
|
@@ -133,8 +137,6 @@ var apiEN = {
|
|
|
133
137
|
PROF_015: "Voucher not found",
|
|
134
138
|
PROF_016: "Voucher is already canceled",
|
|
135
139
|
PROF_200: "Professional updated successfully",
|
|
136
|
-
PROF_200_CLAIM_APPROVED: "Professional claim approved successfully",
|
|
137
|
-
PROF_200_CLAIM_REJECTED: "Professional claim rejected successfully",
|
|
138
140
|
PROF_200_DELETE: "Professional deleted successfully",
|
|
139
141
|
PROF_200_PAYOUT_CANCELED: "Commission payout canceled successfully",
|
|
140
142
|
PROF_200_PAYOUT_REGISTERED: "Commission payout registered successfully",
|
|
@@ -453,14 +455,47 @@ var appEN = {
|
|
|
453
455
|
"auth.signUp.errors.phoneSendRateLimited": "Too many send attempts. Wait a few minutes and try again.",
|
|
454
456
|
"auth.signUp.errors.invalidPhoneNumber": "Invalid phone number. Check it and try again.",
|
|
455
457
|
// Onboarding — create establishment
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
"
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"
|
|
458
|
+
// SignUp invite, Business onboarding gate, Invite management — see
|
|
459
|
+
// docs/adr/0016-signup-creates-user-only-invite-code.md.
|
|
460
|
+
"auth.signUp.invite.link": "I have an invite",
|
|
461
|
+
"auth.signUp.invite.title": "Enter your invite code",
|
|
462
|
+
"auth.signUp.invite.subtitle": "Use the code that was shared with you.",
|
|
463
|
+
"auth.signUp.invite.codeLabel": "Invite code",
|
|
464
|
+
"auth.signUp.invite.codePlaceholder": "e.g. AB3K7Q",
|
|
465
|
+
"auth.signUp.invite.submit": "Validate code",
|
|
466
|
+
"auth.signUp.invite.validating": "Validating...",
|
|
467
|
+
"auth.signUp.invite.errors.invalidFormat": "The code has 6 characters.",
|
|
468
|
+
"auth.signUp.invite.errors.invalid": "Invalid or already used code.",
|
|
469
|
+
"auth.signUp.invite.errors.expired": "This code has expired. Ask for a new invite.",
|
|
470
|
+
"auth.signUp.invite.confirm.title": "You've been invited",
|
|
471
|
+
"auth.signUp.invite.confirm.subtitle": "{{inviter}} invited you to join {{business}}.",
|
|
472
|
+
"auth.signUp.invite.confirm.subtitleNoInviter": "You've been invited to join {{business}}.",
|
|
473
|
+
"auth.signUp.invite.confirm.hint": "Check your details. We'll send a code to confirm your contact.",
|
|
474
|
+
"auth.signUp.invite.confirm.submit": "Continue",
|
|
475
|
+
"onboarding.createBusiness.title": "What should we call your business?",
|
|
476
|
+
"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.",
|
|
477
|
+
"onboarding.createBusiness.name": "Business name",
|
|
478
|
+
"onboarding.createBusiness.namePlaceholder": "e.g. John's Barbershop",
|
|
479
|
+
"onboarding.createBusiness.submit": "Create business",
|
|
480
|
+
"onboarding.createBusiness.submitting": "Creating...",
|
|
481
|
+
"onboarding.createBusiness.errors.genericError": "An error occurred while creating your business.",
|
|
482
|
+
"onboarding.account": "My account",
|
|
483
|
+
"onboarding.logout": "Sign out",
|
|
484
|
+
"professionals.invite.title": "App access",
|
|
485
|
+
"professionals.invite.description": "Generate a code so {{name}} can create an account and access the schedule.",
|
|
486
|
+
"professionals.invite.generate": "Generate invite code",
|
|
487
|
+
"professionals.invite.regenerate": "Generate new code",
|
|
488
|
+
"professionals.invite.revoke": "Cancel invite",
|
|
489
|
+
"professionals.invite.copy": "Copy code",
|
|
490
|
+
"professionals.invite.copied": "Code copied",
|
|
491
|
+
"professionals.invite.share": "Share",
|
|
492
|
+
"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}}.",
|
|
493
|
+
"professionals.invite.expiresAt": "Valid until {{date}}",
|
|
494
|
+
"professionals.invite.noChannel": "Add a phone or email to invite them.",
|
|
495
|
+
"professionals.invite.emailSent": "The code was also sent to {{email}}.",
|
|
496
|
+
"professionals.invite.generateError": "Couldn't generate the invite.",
|
|
497
|
+
"professionals.invite.revokeSuccess": "Invite cancelled",
|
|
498
|
+
"professionals.invite.revokeError": "Couldn't cancel the invite.",
|
|
464
499
|
// Tab Bar
|
|
465
500
|
"tab.hint": "Navigate to {{tab}}",
|
|
466
501
|
"tab.dashboard": "Dashboard",
|
|
@@ -735,7 +770,7 @@ var appEN = {
|
|
|
735
770
|
"tour.next": "Next",
|
|
736
771
|
"tour.finish": "Finish",
|
|
737
772
|
"professionals.tour.tabs.title": "Browse your professionals",
|
|
738
|
-
"professionals.tour.tabs.description": "Switch between all professionals,
|
|
773
|
+
"professionals.tour.tabs.description": "Switch between all professionals, payables, paid and vouchers.",
|
|
739
774
|
"professionals.tour.new.title": "Add a professional",
|
|
740
775
|
"professionals.tour.new.description": "Create a new professional profile from here.",
|
|
741
776
|
"services.tour.new.title": "Add a service",
|
|
@@ -1065,7 +1100,6 @@ var appEN = {
|
|
|
1065
1100
|
"professionals.empty": "No professionals found.",
|
|
1066
1101
|
"professionals.new": "New professional",
|
|
1067
1102
|
"professionals.create.professionRole": "Role",
|
|
1068
|
-
"professionals.list.pendingClaimsHint": "Opens pending account claims",
|
|
1069
1103
|
"professionals.list.newProfessionalHint": "Opens form to add a new professional",
|
|
1070
1104
|
"professionals.searchPlaceholder": "Search professionals",
|
|
1071
1105
|
"professionals.searchByNamePhoneSpecialization": "Search by name, phone or specialization...",
|
|
@@ -1154,9 +1188,8 @@ var appEN = {
|
|
|
1154
1188
|
"professionals.schedules.applyToDays.success": "Configuration applied to selected days",
|
|
1155
1189
|
"professionals.schedules.applyToDays.error": "Failed to apply configuration to other days",
|
|
1156
1190
|
"professionals.page.title": "Professionals",
|
|
1157
|
-
"professionals.page.subtitle": "Manage professionals, profile details and
|
|
1191
|
+
"professionals.page.subtitle": "Manage professionals, profile details and app access invites.",
|
|
1158
1192
|
"professionals.tabs.all": "All",
|
|
1159
|
-
"professionals.tabs.claims": "Claims",
|
|
1160
1193
|
"professionals.tabs.payables": "Payables",
|
|
1161
1194
|
"professionals.tabs.paid": "Paid",
|
|
1162
1195
|
"professionals.tabs.vouchers": "Vouchers",
|
|
@@ -1247,25 +1280,6 @@ var appEN = {
|
|
|
1247
1280
|
"professionals.edit.error": "Failed to update professional",
|
|
1248
1281
|
"professionals.delete.success": "Professional removed successfully",
|
|
1249
1282
|
"professionals.delete.error": "Failed to remove professional",
|
|
1250
|
-
// Pending Claims Screen
|
|
1251
|
-
"professionals.claims.title": "Pending claims",
|
|
1252
|
-
"professionals.claims.empty": "No pending claims.",
|
|
1253
|
-
"professionals.claims.emptyNow": "No pending claims at the moment.",
|
|
1254
|
-
"professionals.claims.emptySubtitle": "New account claims from professionals will show up here for you to review.",
|
|
1255
|
-
"professionals.claims.loading": "Loading pending claims...",
|
|
1256
|
-
"professionals.claims.approve": "Approve",
|
|
1257
|
-
"professionals.claims.reject": "Reject",
|
|
1258
|
-
"professionals.claims.approveSuccess": "Claim approved",
|
|
1259
|
-
"professionals.claims.rejectSuccess": "Claim rejected",
|
|
1260
|
-
"professionals.claims.approveError": "Failed to approve claim",
|
|
1261
|
-
"professionals.claims.approveHint": "Approves this professional account claim",
|
|
1262
|
-
"professionals.claims.rejectHint": "Rejects this professional account claim",
|
|
1263
|
-
"professionals.claims.rejectError": "Failed to reject claim",
|
|
1264
|
-
"professionals.claims.professional": "Professional",
|
|
1265
|
-
"professionals.claims.phone": "Phone",
|
|
1266
|
-
"professionals.claims.email": "E-mail",
|
|
1267
|
-
"professionals.claims.noPhone": "No phone",
|
|
1268
|
-
"professionals.claims.noEmail": "No e-mail",
|
|
1269
1283
|
"professionals.operational.professional": "Professional",
|
|
1270
1284
|
"professionals.operational.selectProfessional": "Select a professional",
|
|
1271
1285
|
"professionals.operational.selectProfessionalPrompt": "Select a professional to continue.",
|
|
@@ -2076,5 +2090,5 @@ var appEN = {
|
|
|
2076
2090
|
};
|
|
2077
2091
|
|
|
2078
2092
|
export { appEN };
|
|
2079
|
-
//# sourceMappingURL=chunk-
|
|
2080
|
-
//# sourceMappingURL=chunk-
|
|
2093
|
+
//# sourceMappingURL=chunk-CLGTNTZB.js.map
|
|
2094
|
+
//# sourceMappingURL=chunk-CLGTNTZB.js.map
|