expo-backend-types 0.11.0-EXPO-249-EB-Modelo.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. package/dist/src/event/dto/create-event.dto.d.ts +166 -0
  2. package/dist/src/event/dto/create-event.dto.js +33 -0
  3. package/dist/src/event/dto/delete-event.dto.d.ts +71 -0
  4. package/dist/src/event/dto/delete-event.dto.js +10 -0
  5. package/dist/src/event/dto/get-all-event.dto.d.ts +1113 -0
  6. package/dist/src/event/dto/get-all-event.dto.js +26 -0
  7. package/dist/src/event/dto/get-by-id-event.dto.d.ts +548 -0
  8. package/dist/src/event/dto/get-by-id-event.dto.js +25 -0
  9. package/dist/src/event/dto/update-event.dto.d.ts +373 -0
  10. package/dist/src/event/dto/update-event.dto.js +41 -0
  11. package/dist/src/event/exports.d.ts +5 -0
  12. package/dist/src/event/exports.js +5 -0
  13. package/dist/src/event-folder/dto/event-folder.dto.js +3 -1
  14. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +6 -6
  15. package/dist/src/event-folder/dto/get-all-event-folder.dto.js +1 -1
  16. package/dist/src/exports.d.ts +0 -1
  17. package/dist/src/exports.js +0 -1
  18. package/dist/src/i18n/es.d.ts +31 -8
  19. package/dist/src/i18n/es.js +31 -8
  20. package/dist/src/i18n/es.js.map +1 -1
  21. package/dist/src/profile/exports.d.ts +0 -1
  22. package/dist/src/profile/exports.js +0 -1
  23. package/dist/types/prisma-schema/edge.js +2 -2
  24. package/dist/types/prisma-schema/index.js +2 -2
  25. package/dist/types/prisma-schema/package.json +1 -1
  26. package/dist/types/prisma-schema/schema.prisma +1 -1
  27. package/dist/types/schema.d.ts +324 -56
  28. package/package.json +1 -2
  29. package/dist/src/message/dto/message.dto.d.ts +0 -173
  30. package/dist/src/message/dto/message.dto.js +0 -38
  31. package/dist/src/message/exports.d.ts +0 -1
  32. package/dist/src/message/exports.js +0 -18
  33. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +0 -728
  34. package/dist/src/profile/dto/find-with-active-chat.dto.js +0 -26
@@ -0,0 +1,373 @@
1
+ import z from 'zod';
2
+ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pick<{
3
+ id: z.ZodString;
4
+ name: z.ZodString;
5
+ date: z.ZodDate;
6
+ location: z.ZodString;
7
+ folderId: z.ZodNullable<z.ZodString>;
8
+ tagAssistedId: z.ZodString;
9
+ tagConfirmedId: z.ZodString;
10
+ supraEventId: z.ZodNullable<z.ZodString>;
11
+ created_at: z.ZodDate;
12
+ updated_at: z.ZodDate;
13
+ }, "location" | "name" | "date" | "folderId">, {
14
+ subEvents: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
15
+ id: z.ZodString;
16
+ name: z.ZodString;
17
+ date: z.ZodDate;
18
+ location: z.ZodString;
19
+ folderId: z.ZodNullable<z.ZodString>;
20
+ tagAssistedId: z.ZodString;
21
+ tagConfirmedId: z.ZodString;
22
+ supraEventId: z.ZodNullable<z.ZodString>;
23
+ created_at: z.ZodDate;
24
+ updated_at: z.ZodDate;
25
+ }, "location" | "name" | "date">, {
26
+ id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
27
+ }>, "strip", z.ZodTypeAny, {
28
+ location: string;
29
+ id: string;
30
+ name: string;
31
+ date: Date;
32
+ }, {
33
+ location: string;
34
+ id: string;
35
+ name: string;
36
+ date: Date;
37
+ }>, "many">;
38
+ }>, "strip", z.ZodTypeAny, {
39
+ location: string;
40
+ name: string;
41
+ date: Date;
42
+ folderId: string | null;
43
+ subEvents: {
44
+ location: string;
45
+ id: string;
46
+ name: string;
47
+ date: Date;
48
+ }[];
49
+ }, {
50
+ location: string;
51
+ name: string;
52
+ date: Date;
53
+ folderId: string | null;
54
+ subEvents: {
55
+ location: string;
56
+ id: string;
57
+ name: string;
58
+ date: Date;
59
+ }[];
60
+ }>;
61
+ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
62
+ location: z.ZodString;
63
+ name: z.ZodString;
64
+ date: z.ZodString;
65
+ folderId: z.ZodNullable<z.ZodString>;
66
+ subEvents: z.ZodArray<z.ZodObject<{
67
+ location: z.ZodString;
68
+ name: z.ZodString;
69
+ date: z.ZodString;
70
+ id: z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>;
71
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
72
+ location: string;
73
+ id: string;
74
+ name: string;
75
+ date: string;
76
+ }, {
77
+ location: string;
78
+ id: string;
79
+ name: string;
80
+ date: string;
81
+ }>, "many">;
82
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
83
+ location: string;
84
+ name: string;
85
+ date: string;
86
+ folderId: string | null;
87
+ subEvents: {
88
+ location: string;
89
+ id: string;
90
+ name: string;
91
+ date: string;
92
+ }[];
93
+ }, {
94
+ location: string;
95
+ name: string;
96
+ date: string;
97
+ folderId: string | null;
98
+ subEvents: {
99
+ location: string;
100
+ id: string;
101
+ name: string;
102
+ date: string;
103
+ }[];
104
+ }>>;
105
+ export declare class UpdateEventDto extends UpdateEventDto_base {
106
+ }
107
+ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
108
+ id: z.ZodString;
109
+ name: z.ZodString;
110
+ date: z.ZodDate;
111
+ location: z.ZodString;
112
+ folderId: z.ZodNullable<z.ZodString>;
113
+ tagAssistedId: z.ZodString;
114
+ tagConfirmedId: z.ZodString;
115
+ supraEventId: z.ZodNullable<z.ZodString>;
116
+ created_at: z.ZodDate;
117
+ updated_at: z.ZodDate;
118
+ }, {
119
+ tagAssisted: z.ZodObject<z.objectUtil.extendShape<{
120
+ id: z.ZodString;
121
+ name: z.ZodString;
122
+ groupId: z.ZodString;
123
+ type: z.ZodNativeEnum<{
124
+ PROFILE: "PROFILE";
125
+ EVENT: "EVENT";
126
+ PARTICIPANT: "PARTICIPANT";
127
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
128
+ }>;
129
+ created_at: z.ZodDate;
130
+ updated_at: z.ZodDate;
131
+ }, {
132
+ group: z.ZodObject<{
133
+ id: z.ZodString;
134
+ name: z.ZodString;
135
+ color: z.ZodString;
136
+ isExclusive: z.ZodBoolean;
137
+ created_at: z.ZodDate;
138
+ updated_at: z.ZodDate;
139
+ }, "strip", z.ZodTypeAny, {
140
+ id: string;
141
+ name: string;
142
+ color: string;
143
+ created_at: Date;
144
+ updated_at: Date;
145
+ isExclusive: boolean;
146
+ }, {
147
+ id: string;
148
+ name: string;
149
+ color: string;
150
+ created_at: Date;
151
+ updated_at: Date;
152
+ isExclusive: boolean;
153
+ }>;
154
+ }>, "strip", z.ZodTypeAny, {
155
+ id: string;
156
+ name: string;
157
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
158
+ created_at: Date;
159
+ updated_at: Date;
160
+ groupId: string;
161
+ group: {
162
+ id: string;
163
+ name: string;
164
+ color: string;
165
+ created_at: Date;
166
+ updated_at: Date;
167
+ isExclusive: boolean;
168
+ };
169
+ }, {
170
+ id: string;
171
+ name: string;
172
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
173
+ created_at: Date;
174
+ updated_at: Date;
175
+ groupId: string;
176
+ group: {
177
+ id: string;
178
+ name: string;
179
+ color: string;
180
+ created_at: Date;
181
+ updated_at: Date;
182
+ isExclusive: boolean;
183
+ };
184
+ }>;
185
+ }>, "strip", z.ZodTypeAny, {
186
+ location: string;
187
+ id: string;
188
+ name: string;
189
+ date: Date;
190
+ created_at: Date;
191
+ updated_at: Date;
192
+ folderId: string | null;
193
+ tagAssistedId: string;
194
+ tagConfirmedId: string;
195
+ supraEventId: string | null;
196
+ tagAssisted: {
197
+ id: string;
198
+ name: string;
199
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
200
+ created_at: Date;
201
+ updated_at: Date;
202
+ groupId: string;
203
+ group: {
204
+ id: string;
205
+ name: string;
206
+ color: string;
207
+ created_at: Date;
208
+ updated_at: Date;
209
+ isExclusive: boolean;
210
+ };
211
+ };
212
+ }, {
213
+ location: string;
214
+ id: string;
215
+ name: string;
216
+ date: Date;
217
+ created_at: Date;
218
+ updated_at: Date;
219
+ folderId: string | null;
220
+ tagAssistedId: string;
221
+ tagConfirmedId: string;
222
+ supraEventId: string | null;
223
+ tagAssisted: {
224
+ id: string;
225
+ name: string;
226
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
227
+ created_at: Date;
228
+ updated_at: Date;
229
+ groupId: string;
230
+ group: {
231
+ id: string;
232
+ name: string;
233
+ color: string;
234
+ created_at: Date;
235
+ updated_at: Date;
236
+ isExclusive: boolean;
237
+ };
238
+ };
239
+ }>;
240
+ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
241
+ id: z.ZodString;
242
+ name: z.ZodString;
243
+ date: z.ZodString;
244
+ location: z.ZodString;
245
+ folderId: z.ZodNullable<z.ZodString>;
246
+ tagAssistedId: z.ZodString;
247
+ tagConfirmedId: z.ZodString;
248
+ supraEventId: z.ZodNullable<z.ZodString>;
249
+ created_at: z.ZodString;
250
+ updated_at: z.ZodString;
251
+ tagAssisted: z.ZodObject<{
252
+ id: z.ZodString;
253
+ name: z.ZodString;
254
+ groupId: z.ZodString;
255
+ type: z.ZodNativeEnum<{
256
+ PROFILE: "PROFILE";
257
+ EVENT: "EVENT";
258
+ PARTICIPANT: "PARTICIPANT";
259
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
260
+ }>;
261
+ created_at: z.ZodString;
262
+ updated_at: z.ZodString;
263
+ group: z.ZodObject<{
264
+ id: z.ZodString;
265
+ name: z.ZodString;
266
+ color: z.ZodString;
267
+ isExclusive: z.ZodBoolean;
268
+ created_at: z.ZodString;
269
+ updated_at: z.ZodString;
270
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
271
+ id: string;
272
+ name: string;
273
+ color: string;
274
+ created_at: string;
275
+ updated_at: string;
276
+ isExclusive: boolean;
277
+ }, {
278
+ id: string;
279
+ name: string;
280
+ color: string;
281
+ created_at: string;
282
+ updated_at: string;
283
+ isExclusive: boolean;
284
+ }>;
285
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
286
+ id: string;
287
+ name: string;
288
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
289
+ created_at: string;
290
+ updated_at: string;
291
+ groupId: string;
292
+ group: {
293
+ id: string;
294
+ name: string;
295
+ color: string;
296
+ created_at: string;
297
+ updated_at: string;
298
+ isExclusive: boolean;
299
+ };
300
+ }, {
301
+ id: string;
302
+ name: string;
303
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
304
+ created_at: string;
305
+ updated_at: string;
306
+ groupId: string;
307
+ group: {
308
+ id: string;
309
+ name: string;
310
+ color: string;
311
+ created_at: string;
312
+ updated_at: string;
313
+ isExclusive: boolean;
314
+ };
315
+ }>;
316
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
317
+ location: string;
318
+ id: string;
319
+ name: string;
320
+ date: string;
321
+ created_at: string;
322
+ updated_at: string;
323
+ folderId: string | null;
324
+ tagAssistedId: string;
325
+ tagConfirmedId: string;
326
+ supraEventId: string | null;
327
+ tagAssisted: {
328
+ id: string;
329
+ name: string;
330
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
331
+ created_at: string;
332
+ updated_at: string;
333
+ groupId: string;
334
+ group: {
335
+ id: string;
336
+ name: string;
337
+ color: string;
338
+ created_at: string;
339
+ updated_at: string;
340
+ isExclusive: boolean;
341
+ };
342
+ };
343
+ }, {
344
+ location: string;
345
+ id: string;
346
+ name: string;
347
+ date: string;
348
+ created_at: string;
349
+ updated_at: string;
350
+ folderId: string | null;
351
+ tagAssistedId: string;
352
+ tagConfirmedId: string;
353
+ supraEventId: string | null;
354
+ tagAssisted: {
355
+ id: string;
356
+ name: string;
357
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
358
+ created_at: string;
359
+ updated_at: string;
360
+ groupId: string;
361
+ group: {
362
+ id: string;
363
+ name: string;
364
+ color: string;
365
+ created_at: string;
366
+ updated_at: string;
367
+ isExclusive: boolean;
368
+ };
369
+ };
370
+ }>>;
371
+ export declare class UpdateEventResponseDto extends UpdateEventResponseDto_base {
372
+ }
373
+ export {};
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UpdateEventResponseDto = exports.updateEventResponseSchema = exports.UpdateEventDto = exports.updateEventSchema = void 0;
7
+ const event_dto_1 = require("./event.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
10
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
11
+ const zod_1 = __importDefault(require("zod"));
12
+ exports.updateEventSchema = event_dto_1.eventSchema
13
+ .pick({
14
+ name: true,
15
+ folderId: true,
16
+ date: true,
17
+ location: true,
18
+ })
19
+ .merge(zod_1.default.object({
20
+ subEvents: zod_1.default.array(event_dto_1.eventSchema
21
+ .pick({
22
+ name: true,
23
+ location: true,
24
+ date: true,
25
+ })
26
+ .extend({
27
+ id: event_dto_1.eventSchema.shape.id.or(zod_1.default.literal('')),
28
+ })),
29
+ }));
30
+ class UpdateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventSchema) {
31
+ }
32
+ exports.UpdateEventDto = UpdateEventDto;
33
+ exports.updateEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
34
+ tagAssisted: tag_dto_1.tagSchema.merge(zod_1.default.object({
35
+ group: tag_group_dto_1.tagGroupSchema,
36
+ })),
37
+ }));
38
+ class UpdateEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventResponseSchema) {
39
+ }
40
+ exports.UpdateEventResponseDto = UpdateEventResponseDto;
41
+ //# sourceMappingURL=update-event.dto.js.map
@@ -1 +1,6 @@
1
+ export * from './dto/create-event.dto';
2
+ export * from './dto/delete-event.dto';
1
3
  export * from './dto/event.dto';
4
+ export * from './dto/get-all-event.dto';
5
+ export * from './dto/get-by-id-event.dto';
6
+ export * from './dto/update-event.dto';
@@ -14,5 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./dto/create-event.dto"), exports);
18
+ __exportStar(require("./dto/delete-event.dto"), exports);
17
19
  __exportStar(require("./dto/event.dto"), exports);
20
+ __exportStar(require("./dto/get-all-event.dto"), exports);
21
+ __exportStar(require("./dto/get-by-id-event.dto"), exports);
22
+ __exportStar(require("./dto/update-event.dto"), exports);
18
23
  //# sourceMappingURL=exports.js.map
@@ -10,7 +10,9 @@ exports.eventFolderSchema = zod_1.default.object({
10
10
  id: zod_1.default.string().uuid({
11
11
  message: (0, translate_1.translate)('model.event-folder.id.uuid'),
12
12
  }),
13
- name: zod_1.default.string().min(1),
13
+ name: zod_1.default.string().min(1, {
14
+ message: (0, translate_1.translate)('model.event-folder.name.min'),
15
+ }),
14
16
  color: zod_1.default
15
17
  .string()
16
18
  .length(7)
@@ -1,6 +1,6 @@
1
1
  import z from 'zod';
2
2
  export declare const getAllEventFolderResponseSchema: z.ZodObject<{
3
- eventFolders: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3
+ folders: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
4
4
  id: z.ZodString;
5
5
  name: z.ZodString;
6
6
  color: z.ZodString;
@@ -79,7 +79,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
79
79
  }[];
80
80
  }>, "many">;
81
81
  }, "strip", z.ZodTypeAny, {
82
- eventFolders: {
82
+ folders: {
83
83
  id: string;
84
84
  name: string;
85
85
  color: string;
@@ -99,7 +99,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
99
99
  }[];
100
100
  }[];
101
101
  }, {
102
- eventFolders: {
102
+ folders: {
103
103
  id: string;
104
104
  name: string;
105
105
  color: string;
@@ -120,7 +120,7 @@ export declare const getAllEventFolderResponseSchema: z.ZodObject<{
120
120
  }[];
121
121
  }>;
122
122
  declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
123
- eventFolders: z.ZodArray<z.ZodObject<{
123
+ folders: z.ZodArray<z.ZodObject<{
124
124
  id: z.ZodString;
125
125
  name: z.ZodString;
126
126
  color: z.ZodString;
@@ -198,7 +198,7 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
198
198
  }[];
199
199
  }>, "many">;
200
200
  }, z.UnknownKeysParam, z.ZodTypeAny, {
201
- eventFolders: {
201
+ folders: {
202
202
  id: string;
203
203
  name: string;
204
204
  color: string;
@@ -218,7 +218,7 @@ declare const GetAllEventFolderResponseDto_base: import("@anatine/zod-nestjs").Z
218
218
  }[];
219
219
  }[];
220
220
  }, {
221
- eventFolders: {
221
+ folders: {
222
222
  id: string;
223
223
  name: string;
224
224
  color: string;
@@ -9,7 +9,7 @@ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/cre
9
9
  const zod_1 = __importDefault(require("zod"));
10
10
  const event_folder_dto_1 = require("./event-folder.dto");
11
11
  exports.getAllEventFolderResponseSchema = zod_1.default.object({
12
- eventFolders: zod_1.default.array(event_folder_dto_1.eventFolderSchema.merge(zod_1.default.object({
12
+ folders: zod_1.default.array(event_folder_dto_1.eventFolderSchema.merge(zod_1.default.object({
13
13
  events: zod_1.default.array(event_dto_1.eventSchema),
14
14
  }))),
15
15
  });
@@ -5,7 +5,6 @@ export * from './comment/exports';
5
5
  export * from './event-folder/exports';
6
6
  export * from './event/exports';
7
7
  export * from './location/exports';
8
- export * from './message/exports';
9
8
  export * from './profile/exports';
10
9
  export * from './tag-group/exports';
11
10
  export * from './tag/exports';
@@ -21,7 +21,6 @@ __exportStar(require("./comment/exports"), exports);
21
21
  __exportStar(require("./event-folder/exports"), exports);
22
22
  __exportStar(require("./event/exports"), exports);
23
23
  __exportStar(require("./location/exports"), exports);
24
- __exportStar(require("./message/exports"), exports);
25
24
  __exportStar(require("./profile/exports"), exports);
26
25
  __exportStar(require("./tag-group/exports"), exports);
27
26
  __exportStar(require("./tag/exports"), exports);
@@ -12,6 +12,10 @@ declare const _default: {
12
12
  readonly cannedResponse: "Respuesta enlatada";
13
13
  readonly message: "Mensaje";
14
14
  };
15
+ readonly tag: {
16
+ readonly assisted: "Asistió";
17
+ readonly confirmed: "Confirmó asistencia";
18
+ };
15
19
  readonly conflict: "Ya existe un registro con el campo {{field}} '{{value}}' en la tabla de {{model}}";
16
20
  readonly 'not-found': "No se encontró un registro con el campo {{field}} '{{value}}' en la tabla de {{model}}";
17
21
  };
@@ -90,6 +94,9 @@ declare const _default: {
90
94
  readonly id: {
91
95
  readonly uuid: "El ID debe ser un UUID";
92
96
  };
97
+ readonly name: {
98
+ readonly min: "El nombre debe tener al menos 1 caracter";
99
+ };
93
100
  readonly color: {
94
101
  readonly invalid: "El color debe tener el formato hexadecimal (#ABCDEF)";
95
102
  };
@@ -136,11 +143,6 @@ declare const _default: {
136
143
  readonly min: "El contenido debe tener al menos 1 caracter";
137
144
  };
138
145
  };
139
- readonly message: {
140
- readonly id: {
141
- readonly uuid: "El ID debe ser un UUID";
142
- };
143
- };
144
146
  };
145
147
  readonly route: {
146
148
  readonly auth: {
@@ -294,6 +296,30 @@ declare const _default: {
294
296
  readonly 'not-found': "Carpeta de evento no encontrada";
295
297
  };
296
298
  };
299
+ readonly event: {
300
+ readonly create: {
301
+ readonly success: "Evento creado con éxito";
302
+ readonly conflict: "Error en la creación del evento";
303
+ readonly 'folder-not-found': "Carpeta de evento no encontrada";
304
+ };
305
+ readonly 'get-all': {
306
+ readonly success: "Eventos obtenidos con éxito";
307
+ readonly 'not-found': "No se encontraron eventos";
308
+ };
309
+ readonly 'get-by-id': {
310
+ readonly success: "Evento obtenido con éxito";
311
+ readonly 'not-found': "Evento no encontrado";
312
+ };
313
+ readonly update: {
314
+ readonly success: "Evento actualizado con éxito";
315
+ readonly 'not-found': "Evento no encontrado";
316
+ readonly 'subevent-not-found': "Subevento no encontrado";
317
+ };
318
+ readonly delete: {
319
+ readonly success: "Evento eliminado con éxito";
320
+ readonly 'not-found': "Evento no encontrado";
321
+ };
322
+ };
297
323
  readonly profile: {
298
324
  readonly 'find-all': {
299
325
  readonly success: "Perfiles obtenidos";
@@ -340,9 +366,6 @@ declare const _default: {
340
366
  readonly 'find-trash': {
341
367
  readonly success: "Perfiles obtenidos";
342
368
  };
343
- readonly 'find-all-with-active-chat': {
344
- readonly success: "Perfiles obtenido";
345
- };
346
369
  };
347
370
  };
348
371
  };
@@ -14,6 +14,10 @@ exports.default = {
14
14
  cannedResponse: 'Respuesta enlatada',
15
15
  message: 'Mensaje',
16
16
  },
17
+ tag: {
18
+ assisted: 'Asistió',
19
+ confirmed: 'Confirmó asistencia',
20
+ },
17
21
  conflict: `Ya existe un registro con el campo \{\{field\}\} '\{\{value\}\}' en la tabla de \{\{model\}\}`,
18
22
  'not-found': `No se encontró un registro con el campo \{\{field\}\} '\{\{value\}\}' en la tabla de \{\{model\}\}`,
19
23
  },
@@ -92,6 +96,9 @@ exports.default = {
92
96
  id: {
93
97
  uuid: 'El ID debe ser un UUID',
94
98
  },
99
+ name: {
100
+ min: 'El nombre debe tener al menos 1 caracter',
101
+ },
95
102
  color: {
96
103
  invalid: 'El color debe tener el formato hexadecimal (#ABCDEF)',
97
104
  },
@@ -138,11 +145,6 @@ exports.default = {
138
145
  min: 'El contenido debe tener al menos 1 caracter',
139
146
  },
140
147
  },
141
- message: {
142
- id: {
143
- uuid: 'El ID debe ser un UUID',
144
- },
145
- },
146
148
  },
147
149
  route: {
148
150
  auth: {
@@ -296,6 +298,30 @@ exports.default = {
296
298
  'not-found': 'Carpeta de evento no encontrada',
297
299
  },
298
300
  },
301
+ event: {
302
+ create: {
303
+ success: 'Evento creado con éxito',
304
+ conflict: 'Error en la creación del evento',
305
+ 'folder-not-found': 'Carpeta de evento no encontrada',
306
+ },
307
+ 'get-all': {
308
+ success: 'Eventos obtenidos con éxito',
309
+ 'not-found': 'No se encontraron eventos',
310
+ },
311
+ 'get-by-id': {
312
+ success: 'Evento obtenido con éxito',
313
+ 'not-found': 'Evento no encontrado',
314
+ },
315
+ update: {
316
+ success: 'Evento actualizado con éxito',
317
+ 'not-found': 'Evento no encontrado',
318
+ 'subevent-not-found': 'Subevento no encontrado',
319
+ },
320
+ delete: {
321
+ success: 'Evento eliminado con éxito',
322
+ 'not-found': 'Evento no encontrado',
323
+ },
324
+ },
299
325
  profile: {
300
326
  'find-all': {
301
327
  success: 'Perfiles obtenidos',
@@ -342,9 +368,6 @@ exports.default = {
342
368
  'find-trash': {
343
369
  success: 'Perfiles obtenidos',
344
370
  },
345
- 'find-all-with-active-chat': {
346
- success: 'Perfiles obtenido',
347
- },
348
371
  },
349
372
  },
350
373
  };