@agendar/shared 0.1.2 → 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-VYQXLRJR.js → chunk-7FPQB5UW.js} +97 -37
- package/dist/chunk-7FPQB5UW.js.map +1 -0
- package/dist/{chunk-SU4TXUAO.js → chunk-CLGTNTZB.js} +79 -37
- package/dist/chunk-CLGTNTZB.js.map +1 -0
- package/dist/{chunk-MYMUHFW6.js → chunk-LMEE5HXL.js} +79 -37
- package/dist/chunk-LMEE5HXL.js.map +1 -0
- package/dist/i18n/en.cjs +77 -35
- package/dist/i18n/en.cjs.map +1 -1
- package/dist/i18n/en.d.cts +73 -32
- package/dist/i18n/en.d.ts +73 -32
- package/dist/i18n/en.js +1 -1
- package/dist/i18n/es.cjs +95 -35
- package/dist/i18n/es.cjs.map +1 -1
- package/dist/i18n/es.d.cts +91 -32
- package/dist/i18n/es.d.ts +91 -32
- package/dist/i18n/es.js +1 -1
- package/dist/i18n/index.cjs +249 -105
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.js +3 -3
- package/dist/i18n/pt.cjs +77 -35
- package/dist/i18n/pt.cjs.map +1 -1
- package/dist/i18n/pt.d.cts +73 -32
- package/dist/i18n/pt.d.ts +73 -32
- package/dist/i18n/pt.js +1 -1
- package/dist/schemas/{register-business-owner-form.cjs → sign-up-form.cjs} +43 -16
- 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} +35 -12
- package/dist/schemas/sign-up-form.js.map +1 -0
- package/package.json +5 -5
- package/dist/chunk-MYMUHFW6.js.map +0 -1
- package/dist/chunk-SU4TXUAO.js.map +0 -1
- package/dist/chunk-VYQXLRJR.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 -44
- package/dist/schemas/register-business-owner-form.d.ts +0 -44
- 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",
|
|
@@ -471,6 +506,8 @@ var appEN = {
|
|
|
471
506
|
"tab.professionals": "Professionals",
|
|
472
507
|
"tab.people": "People",
|
|
473
508
|
"tab.discover": "Discover",
|
|
509
|
+
"tab.home": "Home",
|
|
510
|
+
"tab.profile": "Profile",
|
|
474
511
|
"tab.appointments": "Appointments",
|
|
475
512
|
"tab.menu": "Menu",
|
|
476
513
|
"tab.settings": "Settings",
|
|
@@ -606,6 +643,9 @@ var appEN = {
|
|
|
606
643
|
"legal.privacy.introduction.title": "Introduction",
|
|
607
644
|
"legal.privacy.introduction.content": "Your privacy matters to Agendar. This policy explains, in plain language, what data we process to run the product and how you can exercise your rights.",
|
|
608
645
|
"legal.privacy.dataProcessed.title": "Data we process",
|
|
646
|
+
"legal.privacy.dataProcessed.accountTitle": "Account data",
|
|
647
|
+
"legal.privacy.dataProcessed.businessTitle": "Business data",
|
|
648
|
+
"legal.privacy.dataProcessed.usageTitle": "Technical and usage data",
|
|
609
649
|
"legal.privacy.dataProcessed.account": "Account data such as name, email, phone number, and credentials required for authentication.",
|
|
610
650
|
"legal.privacy.dataProcessed.business": "Business operational data such as services, professionals, clients, and scheduling records.",
|
|
611
651
|
"legal.privacy.dataProcessed.usage": "Minimum technical data for security, stability, and abuse prevention, plus product usage data (screens viewed and features used) so we can understand how Agendar is used.",
|
|
@@ -643,6 +683,19 @@ var appEN = {
|
|
|
643
683
|
"legal.terms.governingLaw.title": "Governing law",
|
|
644
684
|
"legal.terms.governingLaw.content": "These terms are governed by applicable law in Brazil, without prejudice to consumer legal rights.",
|
|
645
685
|
"legal.terms.footer": "By using Agendar, you acknowledge that you have read, understood, and agree to be bound by these Terms of Service.",
|
|
686
|
+
"legal.deleteAccount.title": "Account deletion",
|
|
687
|
+
"legal.deleteAccount.introduction": "You can delete your Agendar account and the data associated with it at any time, free of charge. Choose one of the options below.",
|
|
688
|
+
"legal.deleteAccount.howTo.title": "How to request deletion",
|
|
689
|
+
"legal.deleteAccount.howTo.app": "In the app: open Agendar, go to Settings and tap \u201CDelete account\u201D. Confirm to finish.",
|
|
690
|
+
"legal.deleteAccount.howTo.web": "On the web: sign in to Agendar on the web, go to Settings \u2192 Account and click \u201CDelete my account\u201D.",
|
|
691
|
+
"legal.deleteAccount.howTo.email": "By email: if you can no longer access your account, send an email to the address below with your registered email or phone number, asking for deletion. We will reply within 30 days.",
|
|
692
|
+
"legal.deleteAccount.deleted.title": "What is deleted",
|
|
693
|
+
"legal.deleteAccount.deleted.account": "Your account data: name, email, phone number, birthday, photo and sign-in credentials.",
|
|
694
|
+
"legal.deleteAccount.deleted.soleOwner": "If you are the only owner of a business, the whole business is deleted as well: establishments, services, professionals, clients, appointments, tabs and cash register movements.",
|
|
695
|
+
"legal.deleteAccount.deleted.member": "If the business has other owners, or you are only a professional in it, just your membership is removed and the business keeps running for everyone else.",
|
|
696
|
+
"legal.deleteAccount.retained.title": "What may be kept",
|
|
697
|
+
"legal.deleteAccount.retained.content": "Technical and usage data (app usage events and error reports) already sent to our instrumentation providers is kept only for those providers' retention period and is then discarded automatically.",
|
|
698
|
+
"legal.deleteAccount.warning": "Deletion is immediate and permanent: the account and its data cannot be recovered afterwards.",
|
|
646
699
|
"legal.support.title": "Support",
|
|
647
700
|
"legal.support.introduction": "We are available to help with product questions, technical issues, and account-related requests.",
|
|
648
701
|
"legal.support.channel.title": "Support channel",
|
|
@@ -719,7 +772,7 @@ var appEN = {
|
|
|
719
772
|
"tour.next": "Next",
|
|
720
773
|
"tour.finish": "Finish",
|
|
721
774
|
"professionals.tour.tabs.title": "Browse your professionals",
|
|
722
|
-
"professionals.tour.tabs.description": "Switch between all professionals,
|
|
775
|
+
"professionals.tour.tabs.description": "Switch between all professionals, payables, paid and vouchers.",
|
|
723
776
|
"professionals.tour.new.title": "Add a professional",
|
|
724
777
|
"professionals.tour.new.description": "Create a new professional profile from here.",
|
|
725
778
|
"services.tour.new.title": "Add a service",
|
|
@@ -804,6 +857,10 @@ var appEN = {
|
|
|
804
857
|
"clients.detail.appointmentsPerMonth": "Appointments per month",
|
|
805
858
|
"clients.detail.upcoming": "Upcoming appointments",
|
|
806
859
|
"clients.detail.bookingHistory": "Booking history",
|
|
860
|
+
"clients.bookingHistory.empty": "No appointments found.",
|
|
861
|
+
"clients.bookingHistory.error": "Could not load the history",
|
|
862
|
+
"clients.bookingHistory.retry": "Try again",
|
|
863
|
+
"clients.bookingHistory.retryHint": "Reloads the booking history",
|
|
807
864
|
"clients.detail.viewAll": "View all",
|
|
808
865
|
"clients.detail.notes": "Notes",
|
|
809
866
|
"clients.detail.newAppointment": "New appointment",
|
|
@@ -1045,7 +1102,6 @@ var appEN = {
|
|
|
1045
1102
|
"professionals.empty": "No professionals found.",
|
|
1046
1103
|
"professionals.new": "New professional",
|
|
1047
1104
|
"professionals.create.professionRole": "Role",
|
|
1048
|
-
"professionals.list.pendingClaimsHint": "Opens pending account claims",
|
|
1049
1105
|
"professionals.list.newProfessionalHint": "Opens form to add a new professional",
|
|
1050
1106
|
"professionals.searchPlaceholder": "Search professionals",
|
|
1051
1107
|
"professionals.searchByNamePhoneSpecialization": "Search by name, phone or specialization...",
|
|
@@ -1062,6 +1118,10 @@ var appEN = {
|
|
|
1062
1118
|
"professionals.detail.metrics.revenue": "Revenue",
|
|
1063
1119
|
"professionals.detail.upcoming": "Upcoming appointments",
|
|
1064
1120
|
"professionals.detail.bookingHistory": "Booking history",
|
|
1121
|
+
"professionals.bookingHistory.empty": "No appointments found.",
|
|
1122
|
+
"professionals.bookingHistory.error": "Could not load the history",
|
|
1123
|
+
"professionals.bookingHistory.retry": "Try again",
|
|
1124
|
+
"professionals.bookingHistory.retryHint": "Reloads the booking history",
|
|
1065
1125
|
"professionals.detail.emptyUpcoming": "No upcoming appointments.",
|
|
1066
1126
|
"professionals.detail.emptyHistory": "No booking history.",
|
|
1067
1127
|
"professionals.detail.viewAll": "View all",
|
|
@@ -1130,9 +1190,8 @@ var appEN = {
|
|
|
1130
1190
|
"professionals.schedules.applyToDays.success": "Configuration applied to selected days",
|
|
1131
1191
|
"professionals.schedules.applyToDays.error": "Failed to apply configuration to other days",
|
|
1132
1192
|
"professionals.page.title": "Professionals",
|
|
1133
|
-
"professionals.page.subtitle": "Manage professionals, profile details and
|
|
1193
|
+
"professionals.page.subtitle": "Manage professionals, profile details and app access invites.",
|
|
1134
1194
|
"professionals.tabs.all": "All",
|
|
1135
|
-
"professionals.tabs.claims": "Claims",
|
|
1136
1195
|
"professionals.tabs.payables": "Payables",
|
|
1137
1196
|
"professionals.tabs.paid": "Paid",
|
|
1138
1197
|
"professionals.tabs.vouchers": "Vouchers",
|
|
@@ -1223,25 +1282,6 @@ var appEN = {
|
|
|
1223
1282
|
"professionals.edit.error": "Failed to update professional",
|
|
1224
1283
|
"professionals.delete.success": "Professional removed successfully",
|
|
1225
1284
|
"professionals.delete.error": "Failed to remove professional",
|
|
1226
|
-
// Pending Claims Screen
|
|
1227
|
-
"professionals.claims.title": "Pending claims",
|
|
1228
|
-
"professionals.claims.empty": "No pending claims.",
|
|
1229
|
-
"professionals.claims.emptyNow": "No pending claims at the moment.",
|
|
1230
|
-
"professionals.claims.emptySubtitle": "New account claims from professionals will show up here for you to review.",
|
|
1231
|
-
"professionals.claims.loading": "Loading pending claims...",
|
|
1232
|
-
"professionals.claims.approve": "Approve",
|
|
1233
|
-
"professionals.claims.reject": "Reject",
|
|
1234
|
-
"professionals.claims.approveSuccess": "Claim approved",
|
|
1235
|
-
"professionals.claims.rejectSuccess": "Claim rejected",
|
|
1236
|
-
"professionals.claims.approveError": "Failed to approve claim",
|
|
1237
|
-
"professionals.claims.approveHint": "Approves this professional account claim",
|
|
1238
|
-
"professionals.claims.rejectHint": "Rejects this professional account claim",
|
|
1239
|
-
"professionals.claims.rejectError": "Failed to reject claim",
|
|
1240
|
-
"professionals.claims.professional": "Professional",
|
|
1241
|
-
"professionals.claims.phone": "Phone",
|
|
1242
|
-
"professionals.claims.email": "E-mail",
|
|
1243
|
-
"professionals.claims.noPhone": "No phone",
|
|
1244
|
-
"professionals.claims.noEmail": "No e-mail",
|
|
1245
1285
|
"professionals.operational.professional": "Professional",
|
|
1246
1286
|
"professionals.operational.selectProfessional": "Select a professional",
|
|
1247
1287
|
"professionals.operational.selectProfessionalPrompt": "Select a professional to continue.",
|
|
@@ -1337,6 +1377,7 @@ var appEN = {
|
|
|
1337
1377
|
"appointment.status.canceled": "Canceled",
|
|
1338
1378
|
"appointment.status.noShow": "No-show",
|
|
1339
1379
|
"appointments.create.success": "Appointment created successfully",
|
|
1380
|
+
"appointments.create.error": "Could not create the appointment",
|
|
1340
1381
|
"appointments.update.success": "Appointment updated successfully",
|
|
1341
1382
|
"appointments.delete.success": "Appointment deleted successfully",
|
|
1342
1383
|
"appointments.save.error": "Could not save the appointment",
|
|
@@ -1534,6 +1575,7 @@ var appEN = {
|
|
|
1534
1575
|
"common.close": "Close",
|
|
1535
1576
|
// Appointment Form
|
|
1536
1577
|
"appointment.new.title": "New Appointment",
|
|
1578
|
+
"appointment.new.dateUnavailable": "Date unavailable",
|
|
1537
1579
|
"appointment.new.date": "Date *",
|
|
1538
1580
|
"appointment.new.time": "Time *",
|
|
1539
1581
|
"appointment.new.selectTime": "Select a time",
|