@agendar/shared 0.1.0 → 0.1.3
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/README.md +36 -10
- package/dist/{chunk-IXJZJJT6.js → chunk-2OENQIJQ.js} +135 -3
- package/dist/chunk-2OENQIJQ.js.map +1 -0
- package/dist/{chunk-ZZQ2WJR4.js → chunk-4HT2MGHE.js} +153 -3
- package/dist/chunk-4HT2MGHE.js.map +1 -0
- package/dist/{chunk-YXJIMNQE.js → chunk-POM3RC7W.js} +4 -4
- package/dist/chunk-POM3RC7W.js.map +1 -0
- package/dist/{chunk-LMKYYUVF.js → chunk-QJYEWLZE.js} +135 -3
- package/dist/chunk-QJYEWLZE.js.map +1 -0
- package/dist/i18n/en.cjs +133 -1
- package/dist/i18n/en.cjs.map +1 -1
- package/dist/i18n/en.d.cts +132 -0
- package/dist/i18n/en.d.ts +132 -0
- package/dist/i18n/en.js +1 -1
- package/dist/i18n/es.cjs +151 -1
- package/dist/i18n/es.cjs.map +1 -1
- package/dist/i18n/es.d.cts +150 -0
- package/dist/i18n/es.d.ts +150 -0
- package/dist/i18n/es.js +1 -1
- package/dist/i18n/index.cjs +417 -3
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.js +3 -3
- package/dist/i18n/pt.cjs +133 -1
- package/dist/i18n/pt.cjs.map +1 -1
- package/dist/i18n/pt.d.cts +132 -0
- package/dist/i18n/pt.d.ts +132 -0
- package/dist/i18n/pt.js +1 -1
- package/dist/schemas/create-client.cjs +2 -2
- package/dist/schemas/create-client.cjs.map +1 -1
- package/dist/schemas/create-client.js +1 -1
- package/dist/schemas/register-business-owner-form.cjs +4 -3
- package/dist/schemas/register-business-owner-form.cjs.map +1 -1
- package/dist/schemas/register-business-owner-form.d.cts +1 -0
- package/dist/schemas/register-business-owner-form.d.ts +1 -0
- package/dist/schemas/register-business-owner-form.js +3 -2
- package/dist/schemas/register-business-owner-form.js.map +1 -1
- package/dist/utils/appointments.cjs +2 -2
- package/dist/utils/appointments.cjs.map +1 -1
- package/dist/utils/appointments.js +1 -1
- package/dist/utils/date.cjs +2 -2
- package/dist/utils/date.cjs.map +1 -1
- package/dist/utils/date.js +1 -1
- package/dist/utils/decode-jwt.cjs +2 -2
- package/dist/utils/decode-jwt.cjs.map +1 -1
- package/dist/utils/decode-jwt.js +2 -2
- package/dist/utils/decode-jwt.js.map +1 -1
- package/package.json +9 -2
- package/dist/chunk-IXJZJJT6.js.map +0 -1
- package/dist/chunk-LMKYYUVF.js.map +0 -1
- package/dist/chunk-YXJIMNQE.js.map +0 -1
- package/dist/chunk-ZZQ2WJR4.js.map +0 -1
package/dist/i18n/en.cjs
CHANGED
|
@@ -207,7 +207,111 @@ var apiEN = {
|
|
|
207
207
|
WEBHOOK_200_QR_UPDATE: "QR Code updated",
|
|
208
208
|
WEBHOOK_200_SENT: "Message sent successfully",
|
|
209
209
|
WEBHOOK_200_STATUS: "Conversation status changed",
|
|
210
|
-
WHATSAPP_200_TEST: "WhatsApp connection tested successfully"
|
|
210
|
+
WHATSAPP_200_TEST: "WhatsApp connection tested successfully",
|
|
211
|
+
ABS_001: "Failed to create absence",
|
|
212
|
+
ABS_002: "Absence not found",
|
|
213
|
+
ABS_003: "Failed to update absence",
|
|
214
|
+
ABS_004: "Failed to delete absence",
|
|
215
|
+
ABS_005: "End date must be on or after the start date",
|
|
216
|
+
ABS_200: "Absence updated successfully",
|
|
217
|
+
ABS_200_DELETE: "Absence deleted successfully",
|
|
218
|
+
ABS_201: "Absence created successfully",
|
|
219
|
+
AUTH_014: "Current password is incorrect",
|
|
220
|
+
AUTH_016: "Session not found",
|
|
221
|
+
AUTH_017: "Invalid or expired verification code",
|
|
222
|
+
AUTH_018: "Too many attempts \u2014 request a new code",
|
|
223
|
+
AUTH_019: "This contact has not been verified yet",
|
|
224
|
+
AUTH_020: "Verification is invalid or expired. Please verify your contact again",
|
|
225
|
+
AUTH_021: "You must accept the Terms of Use and Privacy Policy",
|
|
226
|
+
AUTH_022: "Invalid or expired phone verification code",
|
|
227
|
+
AUTH_023: "The verified phone number does not match the one provided",
|
|
228
|
+
AUTH_200_ALL_SESSIONS_REVOKED: "All sessions revoked successfully",
|
|
229
|
+
AUTH_200_CHANGE_PASSWORD: "Password changed successfully",
|
|
230
|
+
AUTH_200_CHANNEL_CHANGED: "Contact updated and verified successfully",
|
|
231
|
+
AUTH_200_CHANNEL_VERIFIED: "Contact verified successfully",
|
|
232
|
+
AUTH_200_CODE_SENT: "Verification code sent",
|
|
233
|
+
AUTH_200_SESSION_REVOKED: "Session revoked successfully",
|
|
234
|
+
BIZ_001: "Failed to create business",
|
|
235
|
+
BIZ_002: "Business not found",
|
|
236
|
+
BIZ_003: "Failed to update business",
|
|
237
|
+
BIZ_004: "Failed to delete business",
|
|
238
|
+
BIZ_200: "Business updated successfully",
|
|
239
|
+
BIZ_200_DELETE: "Business deleted successfully",
|
|
240
|
+
BIZ_201: "Business created successfully",
|
|
241
|
+
CLIENT_005: "Failed to adjust client balance",
|
|
242
|
+
CLIENT_006: "This debit would make the client balance negative",
|
|
243
|
+
CLIENT_007: "Cannot delete a client with an open tab",
|
|
244
|
+
CLIENT_008: "Cannot delete a client with an open package",
|
|
245
|
+
CLIENT_009: "Cannot delete a client with a nonzero balance",
|
|
246
|
+
CLIENT_010: "A client with this email already exists",
|
|
247
|
+
CLIENT_011: "A client with this phone number already exists",
|
|
248
|
+
CLIENT_200_BALANCE_ADJUSTED: "Client balance adjusted successfully",
|
|
249
|
+
DRAWER_001: "Cash drawer opening amount has not been set for this date",
|
|
250
|
+
DRAWER_002: "Cash drawer is locked for this date",
|
|
251
|
+
DRAWER_003: "Failed to set the cash drawer opening amount",
|
|
252
|
+
DRAWER_004: "Failed to register the cash drawer movement",
|
|
253
|
+
DRAWER_005: "Failed to close the cash register",
|
|
254
|
+
DRAWER_201: "Cash drawer opening amount set successfully",
|
|
255
|
+
DRAWER_202: "Reinforcement registered successfully",
|
|
256
|
+
DRAWER_203: "Withdrawal registered successfully",
|
|
257
|
+
DRAWER_204: "Cash register closed successfully",
|
|
258
|
+
ECAT_001: "Failed to create expense category",
|
|
259
|
+
ECAT_001_DUP: "Expense category already exists",
|
|
260
|
+
ECAT_002: "Expense category not found",
|
|
261
|
+
ECAT_003: "Failed to update expense category",
|
|
262
|
+
ECAT_004: "Failed to delete expense category",
|
|
263
|
+
ECAT_005: "The default expense category cannot be deleted",
|
|
264
|
+
ECAT_200: "Expense category updated successfully",
|
|
265
|
+
ECAT_200_DEACTIVATE: "Expense category deactivated successfully",
|
|
266
|
+
ECAT_201: "Expense category created successfully",
|
|
267
|
+
EXPENSE_001: "Failed to create expense",
|
|
268
|
+
EXPENSE_002: "Expense not found",
|
|
269
|
+
EXPENSE_003: "Failed to update expense",
|
|
270
|
+
EXPENSE_004: "Failed to delete expense",
|
|
271
|
+
EXPENSE_200: "Expense updated successfully",
|
|
272
|
+
EXPENSE_200_DELETE: "Expense deleted successfully",
|
|
273
|
+
EXPENSE_201: "Expense created successfully",
|
|
274
|
+
HOL_001: "Failed to fetch holidays",
|
|
275
|
+
TAB_001: "Failed to create tab",
|
|
276
|
+
TAB_002: "Tab not found",
|
|
277
|
+
TAB_003: "Client not found",
|
|
278
|
+
TAB_004: "Tab is already closed",
|
|
279
|
+
TAB_005: "Tab is already canceled",
|
|
280
|
+
TAB_006: "Tab is not open",
|
|
281
|
+
TAB_007: "Tab item not found",
|
|
282
|
+
TAB_008: "Service not found",
|
|
283
|
+
TAB_009: "Product not found",
|
|
284
|
+
TAB_010: "Package not found",
|
|
285
|
+
TAB_011: "Package has no services to sell",
|
|
286
|
+
TAB_012: "Insufficient stock for product",
|
|
287
|
+
TAB_013: "Client does not have enough account balance",
|
|
288
|
+
TAB_014: "Invalid payment method",
|
|
289
|
+
TAB_015: "All service items must have a professional assigned",
|
|
290
|
+
TAB_016: "Tab has no items",
|
|
291
|
+
TAB_017: "Failed to add item to tab",
|
|
292
|
+
TAB_018: "Failed to update tab item",
|
|
293
|
+
TAB_019: "Failed to remove tab item",
|
|
294
|
+
TAB_020: "Failed to update tab",
|
|
295
|
+
TAB_021: "Failed to close tab",
|
|
296
|
+
TAB_022: "Failed to cancel tab",
|
|
297
|
+
TAB_023: "Invalid tab item type",
|
|
298
|
+
TAB_024: "Client already has an open tab",
|
|
299
|
+
TAB_025: "Tab is not closed",
|
|
300
|
+
TAB_026: "Failed to reopen tab",
|
|
301
|
+
TAB_027: "Tab has not been closed yet, so it has no receipt",
|
|
302
|
+
TAB_200_CANCELED: "Tab canceled successfully",
|
|
303
|
+
TAB_200_CLOSED: "Tab closed successfully",
|
|
304
|
+
TAB_200_ITEM_ADDED: "Item added to tab",
|
|
305
|
+
TAB_200_ITEM_REMOVED: "Tab item removed",
|
|
306
|
+
TAB_200_ITEM_UPDATED: "Tab item updated",
|
|
307
|
+
TAB_200_REOPENED: "Tab reopened successfully",
|
|
308
|
+
TAB_200_UPDATED: "Tab updated successfully",
|
|
309
|
+
TAB_201: "Tab opened successfully",
|
|
310
|
+
USER_004: "Failed to delete user",
|
|
311
|
+
USER_005: "Email is already registered",
|
|
312
|
+
USER_200_CHANNEL_CHANGED: "Contact updated and verified successfully",
|
|
313
|
+
USER_200_CHANNEL_CHANGE_STARTED: "Verification started for the new contact",
|
|
314
|
+
USER_200_DELETE: "Account deleted successfully"
|
|
211
315
|
};
|
|
212
316
|
|
|
213
317
|
// src/i18n/en.ts
|
|
@@ -367,6 +471,8 @@ var appEN = {
|
|
|
367
471
|
"tab.professionals": "Professionals",
|
|
368
472
|
"tab.people": "People",
|
|
369
473
|
"tab.discover": "Discover",
|
|
474
|
+
"tab.home": "Home",
|
|
475
|
+
"tab.profile": "Profile",
|
|
370
476
|
"tab.appointments": "Appointments",
|
|
371
477
|
"tab.menu": "Menu",
|
|
372
478
|
"tab.settings": "Settings",
|
|
@@ -502,6 +608,9 @@ var appEN = {
|
|
|
502
608
|
"legal.privacy.introduction.title": "Introduction",
|
|
503
609
|
"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.",
|
|
504
610
|
"legal.privacy.dataProcessed.title": "Data we process",
|
|
611
|
+
"legal.privacy.dataProcessed.accountTitle": "Account data",
|
|
612
|
+
"legal.privacy.dataProcessed.businessTitle": "Business data",
|
|
613
|
+
"legal.privacy.dataProcessed.usageTitle": "Technical and usage data",
|
|
505
614
|
"legal.privacy.dataProcessed.account": "Account data such as name, email, phone number, and credentials required for authentication.",
|
|
506
615
|
"legal.privacy.dataProcessed.business": "Business operational data such as services, professionals, clients, and scheduling records.",
|
|
507
616
|
"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.",
|
|
@@ -539,6 +648,19 @@ var appEN = {
|
|
|
539
648
|
"legal.terms.governingLaw.title": "Governing law",
|
|
540
649
|
"legal.terms.governingLaw.content": "These terms are governed by applicable law in Brazil, without prejudice to consumer legal rights.",
|
|
541
650
|
"legal.terms.footer": "By using Agendar, you acknowledge that you have read, understood, and agree to be bound by these Terms of Service.",
|
|
651
|
+
"legal.deleteAccount.title": "Account deletion",
|
|
652
|
+
"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.",
|
|
653
|
+
"legal.deleteAccount.howTo.title": "How to request deletion",
|
|
654
|
+
"legal.deleteAccount.howTo.app": "In the app: open Agendar, go to Settings and tap \u201CDelete account\u201D. Confirm to finish.",
|
|
655
|
+
"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.",
|
|
656
|
+
"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.",
|
|
657
|
+
"legal.deleteAccount.deleted.title": "What is deleted",
|
|
658
|
+
"legal.deleteAccount.deleted.account": "Your account data: name, email, phone number, birthday, photo and sign-in credentials.",
|
|
659
|
+
"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.",
|
|
660
|
+
"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.",
|
|
661
|
+
"legal.deleteAccount.retained.title": "What may be kept",
|
|
662
|
+
"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.",
|
|
663
|
+
"legal.deleteAccount.warning": "Deletion is immediate and permanent: the account and its data cannot be recovered afterwards.",
|
|
542
664
|
"legal.support.title": "Support",
|
|
543
665
|
"legal.support.introduction": "We are available to help with product questions, technical issues, and account-related requests.",
|
|
544
666
|
"legal.support.channel.title": "Support channel",
|
|
@@ -700,6 +822,10 @@ var appEN = {
|
|
|
700
822
|
"clients.detail.appointmentsPerMonth": "Appointments per month",
|
|
701
823
|
"clients.detail.upcoming": "Upcoming appointments",
|
|
702
824
|
"clients.detail.bookingHistory": "Booking history",
|
|
825
|
+
"clients.bookingHistory.empty": "No appointments found.",
|
|
826
|
+
"clients.bookingHistory.error": "Could not load the history",
|
|
827
|
+
"clients.bookingHistory.retry": "Try again",
|
|
828
|
+
"clients.bookingHistory.retryHint": "Reloads the booking history",
|
|
703
829
|
"clients.detail.viewAll": "View all",
|
|
704
830
|
"clients.detail.notes": "Notes",
|
|
705
831
|
"clients.detail.newAppointment": "New appointment",
|
|
@@ -958,6 +1084,10 @@ var appEN = {
|
|
|
958
1084
|
"professionals.detail.metrics.revenue": "Revenue",
|
|
959
1085
|
"professionals.detail.upcoming": "Upcoming appointments",
|
|
960
1086
|
"professionals.detail.bookingHistory": "Booking history",
|
|
1087
|
+
"professionals.bookingHistory.empty": "No appointments found.",
|
|
1088
|
+
"professionals.bookingHistory.error": "Could not load the history",
|
|
1089
|
+
"professionals.bookingHistory.retry": "Try again",
|
|
1090
|
+
"professionals.bookingHistory.retryHint": "Reloads the booking history",
|
|
961
1091
|
"professionals.detail.emptyUpcoming": "No upcoming appointments.",
|
|
962
1092
|
"professionals.detail.emptyHistory": "No booking history.",
|
|
963
1093
|
"professionals.detail.viewAll": "View all",
|
|
@@ -1233,6 +1363,7 @@ var appEN = {
|
|
|
1233
1363
|
"appointment.status.canceled": "Canceled",
|
|
1234
1364
|
"appointment.status.noShow": "No-show",
|
|
1235
1365
|
"appointments.create.success": "Appointment created successfully",
|
|
1366
|
+
"appointments.create.error": "Could not create the appointment",
|
|
1236
1367
|
"appointments.update.success": "Appointment updated successfully",
|
|
1237
1368
|
"appointments.delete.success": "Appointment deleted successfully",
|
|
1238
1369
|
"appointments.save.error": "Could not save the appointment",
|
|
@@ -1430,6 +1561,7 @@ var appEN = {
|
|
|
1430
1561
|
"common.close": "Close",
|
|
1431
1562
|
// Appointment Form
|
|
1432
1563
|
"appointment.new.title": "New Appointment",
|
|
1564
|
+
"appointment.new.dateUnavailable": "Date unavailable",
|
|
1433
1565
|
"appointment.new.date": "Date *",
|
|
1434
1566
|
"appointment.new.time": "Time *",
|
|
1435
1567
|
"appointment.new.selectTime": "Select a time",
|