@agendar/shared 0.1.0 → 0.1.2
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-MYMUHFW6.js} +107 -3
- package/dist/chunk-MYMUHFW6.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-SU4TXUAO.js} +107 -3
- package/dist/chunk-SU4TXUAO.js.map +1 -0
- package/dist/{chunk-ZZQ2WJR4.js → chunk-VYQXLRJR.js} +107 -3
- package/dist/chunk-VYQXLRJR.js.map +1 -0
- package/dist/i18n/en.cjs +105 -1
- package/dist/i18n/en.cjs.map +1 -1
- package/dist/i18n/en.d.cts +104 -0
- package/dist/i18n/en.d.ts +104 -0
- package/dist/i18n/en.js +1 -1
- package/dist/i18n/es.cjs +105 -1
- package/dist/i18n/es.cjs.map +1 -1
- package/dist/i18n/es.d.cts +104 -0
- package/dist/i18n/es.d.ts +104 -0
- package/dist/i18n/es.js +1 -1
- package/dist/i18n/index.cjs +315 -3
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.js +3 -3
- package/dist/i18n/pt.cjs +105 -1
- package/dist/i18n/pt.cjs.map +1 -1
- package/dist/i18n/pt.d.cts +104 -0
- package/dist/i18n/pt.d.ts +104 -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 +2 -2
- package/dist/schemas/register-business-owner-form.cjs.map +1 -1
- package/dist/schemas/register-business-owner-form.js +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
|
|
@@ -1944,5 +2048,5 @@ var appEN = {
|
|
|
1944
2048
|
};
|
|
1945
2049
|
|
|
1946
2050
|
export { appEN };
|
|
1947
|
-
//# sourceMappingURL=chunk-
|
|
1948
|
-
//# sourceMappingURL=chunk-
|
|
2051
|
+
//# sourceMappingURL=chunk-SU4TXUAO.js.map
|
|
2052
|
+
//# sourceMappingURL=chunk-SU4TXUAO.js.map
|