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