expo-backend-types 0.37.0 → 0.39.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/src/event/dto/get-by-id-event.dto.d.ts +408 -26
- package/dist/src/event/dto/get-by-id-event.dto.js +2 -0
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +39 -2
- package/dist/src/i18n/es.js +39 -2
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +610 -0
- package/dist/src/ticket/dto/create-many-ticket.dto.js +50 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +18 -33
- package/dist/src/ticket/dto/create-ticket.dto.js +2 -1
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +10 -18
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +18 -26
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +18 -26
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +161 -29
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +2 -5
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +18 -26
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +18 -26
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +10 -18
- package/dist/src/ticket/dto/ticket.dto.d.ts +10 -18
- package/dist/src/ticket/dto/ticket.dto.js +2 -3
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +22 -32
- package/dist/src/ticket/dto/update-ticket.dto.js +2 -1
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +366 -0
- package/dist/src/ticket-group/dto/create-ticket-group.dto.js +27 -0
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +55 -0
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +10 -0
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +32 -0
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +20 -0
- package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +56 -0
- package/dist/src/ticket-group/dto/ticket-group.dto.js +27 -0
- package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +79 -0
- package/dist/src/ticket-group/dto/update-ticket-group.dto.js +18 -0
- package/dist/src/ticket-group/exports.d.ts +5 -0
- package/dist/src/ticket-group/exports.js +22 -0
- package/dist/types/prisma-schema/edge.js +15 -5
- package/dist/types/prisma-schema/index-browser.js +12 -2
- package/dist/types/prisma-schema/index.d.ts +2178 -167
- package/dist/types/prisma-schema/index.js +15 -5
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +22 -3
- package/dist/types/prisma-schema/wasm.js +12 -2
- package/dist/types/schema.d.ts +411 -12
- package/package.json +2 -1
@@ -194,15 +194,11 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
194
194
|
STAFF: "STAFF";
|
195
195
|
SPECTATOR: "SPECTATOR";
|
196
196
|
}>;
|
197
|
-
status: z.ZodNativeEnum<{
|
198
|
-
BOOKED: "BOOKED";
|
199
|
-
PAID: "PAID";
|
200
|
-
FREE: "FREE";
|
201
|
-
}>;
|
202
197
|
fullName: z.ZodString;
|
203
198
|
mail: z.ZodString;
|
204
199
|
dni: z.ZodString;
|
205
200
|
seat: z.ZodNullable<z.ZodNumber>;
|
201
|
+
ticketGroupId: z.ZodNullable<z.ZodString>;
|
206
202
|
created_at: z.ZodDate;
|
207
203
|
updated_at: z.ZodDate;
|
208
204
|
}, "strip", z.ZodTypeAny, {
|
@@ -211,23 +207,155 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
211
207
|
fullName: string;
|
212
208
|
mail: string;
|
213
209
|
eventId: string;
|
214
|
-
status: "BOOKED" | "PAID" | "FREE";
|
215
|
-
seat: number | null;
|
216
210
|
dni: string;
|
211
|
+
seat: number | null;
|
217
212
|
created_at: Date;
|
218
213
|
updated_at: Date;
|
214
|
+
ticketGroupId: string | null;
|
219
215
|
}, {
|
220
216
|
id: string;
|
221
217
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
222
218
|
fullName: string;
|
223
219
|
mail: string;
|
224
220
|
eventId: string;
|
225
|
-
status: "BOOKED" | "PAID" | "FREE";
|
226
|
-
seat: number | null;
|
227
221
|
dni: string;
|
222
|
+
seat: number | null;
|
228
223
|
created_at: Date;
|
229
224
|
updated_at: Date;
|
225
|
+
ticketGroupId: string | null;
|
230
226
|
}>, "many">;
|
227
|
+
tagAssisted: z.ZodObject<z.objectUtil.extendShape<{
|
228
|
+
id: z.ZodString;
|
229
|
+
name: z.ZodString;
|
230
|
+
groupId: z.ZodString;
|
231
|
+
type: z.ZodNativeEnum<{
|
232
|
+
PROFILE: "PROFILE";
|
233
|
+
EVENT: "EVENT";
|
234
|
+
PARTICIPANT: "PARTICIPANT";
|
235
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
236
|
+
}>;
|
237
|
+
created_at: z.ZodDate;
|
238
|
+
updated_at: z.ZodDate;
|
239
|
+
}, {
|
240
|
+
group: z.ZodObject<{
|
241
|
+
id: z.ZodString;
|
242
|
+
name: z.ZodString;
|
243
|
+
color: z.ZodString;
|
244
|
+
isExclusive: z.ZodBoolean;
|
245
|
+
created_at: z.ZodDate;
|
246
|
+
updated_at: z.ZodDate;
|
247
|
+
}, "strip", z.ZodTypeAny, {
|
248
|
+
id: string;
|
249
|
+
name: string;
|
250
|
+
color: string;
|
251
|
+
created_at: Date;
|
252
|
+
updated_at: Date;
|
253
|
+
isExclusive: boolean;
|
254
|
+
}, {
|
255
|
+
id: string;
|
256
|
+
name: string;
|
257
|
+
color: string;
|
258
|
+
created_at: Date;
|
259
|
+
updated_at: Date;
|
260
|
+
isExclusive: boolean;
|
261
|
+
}>;
|
262
|
+
}>, "strip", z.ZodTypeAny, {
|
263
|
+
id: string;
|
264
|
+
name: string;
|
265
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
266
|
+
created_at: Date;
|
267
|
+
updated_at: Date;
|
268
|
+
groupId: string;
|
269
|
+
group: {
|
270
|
+
id: string;
|
271
|
+
name: string;
|
272
|
+
color: string;
|
273
|
+
created_at: Date;
|
274
|
+
updated_at: Date;
|
275
|
+
isExclusive: boolean;
|
276
|
+
};
|
277
|
+
}, {
|
278
|
+
id: string;
|
279
|
+
name: string;
|
280
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
281
|
+
created_at: Date;
|
282
|
+
updated_at: Date;
|
283
|
+
groupId: string;
|
284
|
+
group: {
|
285
|
+
id: string;
|
286
|
+
name: string;
|
287
|
+
color: string;
|
288
|
+
created_at: Date;
|
289
|
+
updated_at: Date;
|
290
|
+
isExclusive: boolean;
|
291
|
+
};
|
292
|
+
}>;
|
293
|
+
tagConfirmed: z.ZodObject<z.objectUtil.extendShape<{
|
294
|
+
id: z.ZodString;
|
295
|
+
name: z.ZodString;
|
296
|
+
groupId: z.ZodString;
|
297
|
+
type: z.ZodNativeEnum<{
|
298
|
+
PROFILE: "PROFILE";
|
299
|
+
EVENT: "EVENT";
|
300
|
+
PARTICIPANT: "PARTICIPANT";
|
301
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
302
|
+
}>;
|
303
|
+
created_at: z.ZodDate;
|
304
|
+
updated_at: z.ZodDate;
|
305
|
+
}, {
|
306
|
+
group: z.ZodObject<{
|
307
|
+
id: z.ZodString;
|
308
|
+
name: z.ZodString;
|
309
|
+
color: z.ZodString;
|
310
|
+
isExclusive: z.ZodBoolean;
|
311
|
+
created_at: z.ZodDate;
|
312
|
+
updated_at: z.ZodDate;
|
313
|
+
}, "strip", z.ZodTypeAny, {
|
314
|
+
id: string;
|
315
|
+
name: string;
|
316
|
+
color: string;
|
317
|
+
created_at: Date;
|
318
|
+
updated_at: Date;
|
319
|
+
isExclusive: boolean;
|
320
|
+
}, {
|
321
|
+
id: string;
|
322
|
+
name: string;
|
323
|
+
color: string;
|
324
|
+
created_at: Date;
|
325
|
+
updated_at: Date;
|
326
|
+
isExclusive: boolean;
|
327
|
+
}>;
|
328
|
+
}>, "strip", z.ZodTypeAny, {
|
329
|
+
id: string;
|
330
|
+
name: string;
|
331
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
332
|
+
created_at: Date;
|
333
|
+
updated_at: Date;
|
334
|
+
groupId: string;
|
335
|
+
group: {
|
336
|
+
id: string;
|
337
|
+
name: string;
|
338
|
+
color: string;
|
339
|
+
created_at: Date;
|
340
|
+
updated_at: Date;
|
341
|
+
isExclusive: boolean;
|
342
|
+
};
|
343
|
+
}, {
|
344
|
+
id: string;
|
345
|
+
name: string;
|
346
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
347
|
+
created_at: Date;
|
348
|
+
updated_at: Date;
|
349
|
+
groupId: string;
|
350
|
+
group: {
|
351
|
+
id: string;
|
352
|
+
name: string;
|
353
|
+
color: string;
|
354
|
+
created_at: Date;
|
355
|
+
updated_at: Date;
|
356
|
+
isExclusive: boolean;
|
357
|
+
};
|
358
|
+
}>;
|
231
359
|
}>, "strip", z.ZodTypeAny, {
|
232
360
|
location: string;
|
233
361
|
id: string;
|
@@ -300,12 +428,44 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
300
428
|
fullName: string;
|
301
429
|
mail: string;
|
302
430
|
eventId: string;
|
303
|
-
status: "BOOKED" | "PAID" | "FREE";
|
304
|
-
seat: number | null;
|
305
431
|
dni: string;
|
432
|
+
seat: number | null;
|
306
433
|
created_at: Date;
|
307
434
|
updated_at: Date;
|
435
|
+
ticketGroupId: string | null;
|
308
436
|
}[];
|
437
|
+
tagAssisted: {
|
438
|
+
id: string;
|
439
|
+
name: string;
|
440
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
441
|
+
created_at: Date;
|
442
|
+
updated_at: Date;
|
443
|
+
groupId: string;
|
444
|
+
group: {
|
445
|
+
id: string;
|
446
|
+
name: string;
|
447
|
+
color: string;
|
448
|
+
created_at: Date;
|
449
|
+
updated_at: Date;
|
450
|
+
isExclusive: boolean;
|
451
|
+
};
|
452
|
+
};
|
453
|
+
tagConfirmed: {
|
454
|
+
id: string;
|
455
|
+
name: string;
|
456
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
457
|
+
created_at: Date;
|
458
|
+
updated_at: Date;
|
459
|
+
groupId: string;
|
460
|
+
group: {
|
461
|
+
id: string;
|
462
|
+
name: string;
|
463
|
+
color: string;
|
464
|
+
created_at: Date;
|
465
|
+
updated_at: Date;
|
466
|
+
isExclusive: boolean;
|
467
|
+
};
|
468
|
+
};
|
309
469
|
}, {
|
310
470
|
location: string;
|
311
471
|
id: string;
|
@@ -378,12 +538,44 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
378
538
|
fullName: string;
|
379
539
|
mail: string;
|
380
540
|
eventId: string;
|
381
|
-
status: "BOOKED" | "PAID" | "FREE";
|
382
|
-
seat: number | null;
|
383
541
|
dni: string;
|
542
|
+
seat: number | null;
|
384
543
|
created_at: Date;
|
385
544
|
updated_at: Date;
|
545
|
+
ticketGroupId: string | null;
|
386
546
|
}[];
|
547
|
+
tagAssisted: {
|
548
|
+
id: string;
|
549
|
+
name: string;
|
550
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
551
|
+
created_at: Date;
|
552
|
+
updated_at: Date;
|
553
|
+
groupId: string;
|
554
|
+
group: {
|
555
|
+
id: string;
|
556
|
+
name: string;
|
557
|
+
color: string;
|
558
|
+
created_at: Date;
|
559
|
+
updated_at: Date;
|
560
|
+
isExclusive: boolean;
|
561
|
+
};
|
562
|
+
};
|
563
|
+
tagConfirmed: {
|
564
|
+
id: string;
|
565
|
+
name: string;
|
566
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
567
|
+
created_at: Date;
|
568
|
+
updated_at: Date;
|
569
|
+
groupId: string;
|
570
|
+
group: {
|
571
|
+
id: string;
|
572
|
+
name: string;
|
573
|
+
color: string;
|
574
|
+
created_at: Date;
|
575
|
+
updated_at: Date;
|
576
|
+
isExclusive: boolean;
|
577
|
+
};
|
578
|
+
};
|
387
579
|
}>;
|
388
580
|
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
389
581
|
id: z.ZodString;
|
@@ -578,15 +770,11 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
578
770
|
STAFF: "STAFF";
|
579
771
|
SPECTATOR: "SPECTATOR";
|
580
772
|
}>;
|
581
|
-
status: z.ZodNativeEnum<{
|
582
|
-
BOOKED: "BOOKED";
|
583
|
-
PAID: "PAID";
|
584
|
-
FREE: "FREE";
|
585
|
-
}>;
|
586
773
|
fullName: z.ZodString;
|
587
774
|
mail: z.ZodString;
|
588
775
|
dni: z.ZodString;
|
589
776
|
seat: z.ZodNullable<z.ZodNumber>;
|
777
|
+
ticketGroupId: z.ZodNullable<z.ZodString>;
|
590
778
|
created_at: z.ZodString;
|
591
779
|
updated_at: z.ZodString;
|
592
780
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -595,23 +783,153 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
595
783
|
fullName: string;
|
596
784
|
mail: string;
|
597
785
|
eventId: string;
|
598
|
-
status: "BOOKED" | "PAID" | "FREE";
|
599
|
-
seat: number | null;
|
600
786
|
dni: string;
|
787
|
+
seat: number | null;
|
601
788
|
created_at: string;
|
602
789
|
updated_at: string;
|
790
|
+
ticketGroupId: string | null;
|
603
791
|
}, {
|
604
792
|
id: string;
|
605
793
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
606
794
|
fullName: string;
|
607
795
|
mail: string;
|
608
796
|
eventId: string;
|
609
|
-
status: "BOOKED" | "PAID" | "FREE";
|
610
|
-
seat: number | null;
|
611
797
|
dni: string;
|
798
|
+
seat: number | null;
|
612
799
|
created_at: string;
|
613
800
|
updated_at: string;
|
801
|
+
ticketGroupId: string | null;
|
614
802
|
}>, "many">;
|
803
|
+
tagAssisted: z.ZodObject<{
|
804
|
+
id: z.ZodString;
|
805
|
+
name: z.ZodString;
|
806
|
+
groupId: z.ZodString;
|
807
|
+
type: z.ZodNativeEnum<{
|
808
|
+
PROFILE: "PROFILE";
|
809
|
+
EVENT: "EVENT";
|
810
|
+
PARTICIPANT: "PARTICIPANT";
|
811
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
812
|
+
}>;
|
813
|
+
created_at: z.ZodString;
|
814
|
+
updated_at: z.ZodString;
|
815
|
+
group: z.ZodObject<{
|
816
|
+
id: z.ZodString;
|
817
|
+
name: z.ZodString;
|
818
|
+
color: z.ZodString;
|
819
|
+
isExclusive: z.ZodBoolean;
|
820
|
+
created_at: z.ZodString;
|
821
|
+
updated_at: z.ZodString;
|
822
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
823
|
+
id: string;
|
824
|
+
name: string;
|
825
|
+
color: string;
|
826
|
+
created_at: string;
|
827
|
+
updated_at: string;
|
828
|
+
isExclusive: boolean;
|
829
|
+
}, {
|
830
|
+
id: string;
|
831
|
+
name: string;
|
832
|
+
color: string;
|
833
|
+
created_at: string;
|
834
|
+
updated_at: string;
|
835
|
+
isExclusive: boolean;
|
836
|
+
}>;
|
837
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
838
|
+
id: string;
|
839
|
+
name: string;
|
840
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
841
|
+
created_at: string;
|
842
|
+
updated_at: string;
|
843
|
+
groupId: string;
|
844
|
+
group: {
|
845
|
+
id: string;
|
846
|
+
name: string;
|
847
|
+
color: string;
|
848
|
+
created_at: string;
|
849
|
+
updated_at: string;
|
850
|
+
isExclusive: boolean;
|
851
|
+
};
|
852
|
+
}, {
|
853
|
+
id: string;
|
854
|
+
name: string;
|
855
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
856
|
+
created_at: string;
|
857
|
+
updated_at: string;
|
858
|
+
groupId: string;
|
859
|
+
group: {
|
860
|
+
id: string;
|
861
|
+
name: string;
|
862
|
+
color: string;
|
863
|
+
created_at: string;
|
864
|
+
updated_at: string;
|
865
|
+
isExclusive: boolean;
|
866
|
+
};
|
867
|
+
}>;
|
868
|
+
tagConfirmed: z.ZodObject<{
|
869
|
+
id: z.ZodString;
|
870
|
+
name: z.ZodString;
|
871
|
+
groupId: z.ZodString;
|
872
|
+
type: z.ZodNativeEnum<{
|
873
|
+
PROFILE: "PROFILE";
|
874
|
+
EVENT: "EVENT";
|
875
|
+
PARTICIPANT: "PARTICIPANT";
|
876
|
+
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
877
|
+
}>;
|
878
|
+
created_at: z.ZodString;
|
879
|
+
updated_at: z.ZodString;
|
880
|
+
group: z.ZodObject<{
|
881
|
+
id: z.ZodString;
|
882
|
+
name: z.ZodString;
|
883
|
+
color: z.ZodString;
|
884
|
+
isExclusive: z.ZodBoolean;
|
885
|
+
created_at: z.ZodString;
|
886
|
+
updated_at: z.ZodString;
|
887
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
888
|
+
id: string;
|
889
|
+
name: string;
|
890
|
+
color: string;
|
891
|
+
created_at: string;
|
892
|
+
updated_at: string;
|
893
|
+
isExclusive: boolean;
|
894
|
+
}, {
|
895
|
+
id: string;
|
896
|
+
name: string;
|
897
|
+
color: string;
|
898
|
+
created_at: string;
|
899
|
+
updated_at: string;
|
900
|
+
isExclusive: boolean;
|
901
|
+
}>;
|
902
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
903
|
+
id: string;
|
904
|
+
name: string;
|
905
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
906
|
+
created_at: string;
|
907
|
+
updated_at: string;
|
908
|
+
groupId: string;
|
909
|
+
group: {
|
910
|
+
id: string;
|
911
|
+
name: string;
|
912
|
+
color: string;
|
913
|
+
created_at: string;
|
914
|
+
updated_at: string;
|
915
|
+
isExclusive: boolean;
|
916
|
+
};
|
917
|
+
}, {
|
918
|
+
id: string;
|
919
|
+
name: string;
|
920
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
921
|
+
created_at: string;
|
922
|
+
updated_at: string;
|
923
|
+
groupId: string;
|
924
|
+
group: {
|
925
|
+
id: string;
|
926
|
+
name: string;
|
927
|
+
color: string;
|
928
|
+
created_at: string;
|
929
|
+
updated_at: string;
|
930
|
+
isExclusive: boolean;
|
931
|
+
};
|
932
|
+
}>;
|
615
933
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
616
934
|
location: string;
|
617
935
|
id: string;
|
@@ -684,12 +1002,44 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
684
1002
|
fullName: string;
|
685
1003
|
mail: string;
|
686
1004
|
eventId: string;
|
687
|
-
status: "BOOKED" | "PAID" | "FREE";
|
688
|
-
seat: number | null;
|
689
1005
|
dni: string;
|
1006
|
+
seat: number | null;
|
690
1007
|
created_at: string;
|
691
1008
|
updated_at: string;
|
1009
|
+
ticketGroupId: string | null;
|
692
1010
|
}[];
|
1011
|
+
tagAssisted: {
|
1012
|
+
id: string;
|
1013
|
+
name: string;
|
1014
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
1015
|
+
created_at: string;
|
1016
|
+
updated_at: string;
|
1017
|
+
groupId: string;
|
1018
|
+
group: {
|
1019
|
+
id: string;
|
1020
|
+
name: string;
|
1021
|
+
color: string;
|
1022
|
+
created_at: string;
|
1023
|
+
updated_at: string;
|
1024
|
+
isExclusive: boolean;
|
1025
|
+
};
|
1026
|
+
};
|
1027
|
+
tagConfirmed: {
|
1028
|
+
id: string;
|
1029
|
+
name: string;
|
1030
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
1031
|
+
created_at: string;
|
1032
|
+
updated_at: string;
|
1033
|
+
groupId: string;
|
1034
|
+
group: {
|
1035
|
+
id: string;
|
1036
|
+
name: string;
|
1037
|
+
color: string;
|
1038
|
+
created_at: string;
|
1039
|
+
updated_at: string;
|
1040
|
+
isExclusive: boolean;
|
1041
|
+
};
|
1042
|
+
};
|
693
1043
|
}, {
|
694
1044
|
location: string;
|
695
1045
|
id: string;
|
@@ -762,12 +1112,44 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
762
1112
|
fullName: string;
|
763
1113
|
mail: string;
|
764
1114
|
eventId: string;
|
765
|
-
status: "BOOKED" | "PAID" | "FREE";
|
766
|
-
seat: number | null;
|
767
1115
|
dni: string;
|
1116
|
+
seat: number | null;
|
768
1117
|
created_at: string;
|
769
1118
|
updated_at: string;
|
1119
|
+
ticketGroupId: string | null;
|
770
1120
|
}[];
|
1121
|
+
tagAssisted: {
|
1122
|
+
id: string;
|
1123
|
+
name: string;
|
1124
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
1125
|
+
created_at: string;
|
1126
|
+
updated_at: string;
|
1127
|
+
groupId: string;
|
1128
|
+
group: {
|
1129
|
+
id: string;
|
1130
|
+
name: string;
|
1131
|
+
color: string;
|
1132
|
+
created_at: string;
|
1133
|
+
updated_at: string;
|
1134
|
+
isExclusive: boolean;
|
1135
|
+
};
|
1136
|
+
};
|
1137
|
+
tagConfirmed: {
|
1138
|
+
id: string;
|
1139
|
+
name: string;
|
1140
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
1141
|
+
created_at: string;
|
1142
|
+
updated_at: string;
|
1143
|
+
groupId: string;
|
1144
|
+
group: {
|
1145
|
+
id: string;
|
1146
|
+
name: string;
|
1147
|
+
color: string;
|
1148
|
+
created_at: string;
|
1149
|
+
updated_at: string;
|
1150
|
+
isExclusive: boolean;
|
1151
|
+
};
|
1152
|
+
};
|
771
1153
|
}>>;
|
772
1154
|
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
773
1155
|
}
|
@@ -17,6 +17,8 @@ exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default
|
|
17
17
|
eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
|
18
18
|
tags: zod_1.default.array(tag_dto_1.tagSchema.extend({ group: tag_group_dto_1.tagGroupSchema })),
|
19
19
|
tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
|
20
|
+
tagAssisted: tag_dto_1.tagSchema.extend({ group: tag_group_dto_1.tagGroupSchema }),
|
21
|
+
tagConfirmed: tag_dto_1.tagSchema.extend({ group: tag_group_dto_1.tagGroupSchema }),
|
20
22
|
}));
|
21
23
|
class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
|
22
24
|
}
|
package/dist/src/exports.d.ts
CHANGED
package/dist/src/exports.js
CHANGED
@@ -30,5 +30,6 @@ __exportStar(require("./schema/exports"), exports);
|
|
30
30
|
__exportStar(require("./shared/dto-modification/zod-without-dates"), exports);
|
31
31
|
__exportStar(require("./tag-group/exports"), exports);
|
32
32
|
__exportStar(require("./tag/exports"), exports);
|
33
|
+
__exportStar(require("./ticket-group/exports"), exports);
|
33
34
|
__exportStar(require("./ticket/exports"), exports);
|
34
35
|
//# sourceMappingURL=exports.js.map
|
package/dist/src/i18n/es.d.ts
CHANGED
@@ -14,6 +14,7 @@ declare const _default: {
|
|
14
14
|
readonly otp: "OTP";
|
15
15
|
readonly ticket: "Ticket";
|
16
16
|
readonly eventTicket: "Tickets del evento";
|
17
|
+
readonly ticketGroup: "Grupo de tickets";
|
17
18
|
};
|
18
19
|
readonly tag: {
|
19
20
|
readonly assisted: "Asistió";
|
@@ -215,11 +216,20 @@ declare const _default: {
|
|
215
216
|
readonly status: {
|
216
217
|
readonly invalid: "El estado del ticket es inválido";
|
217
218
|
};
|
219
|
+
readonly dni: {
|
220
|
+
readonly required: "El DNI es requerido";
|
221
|
+
};
|
218
222
|
readonly seat: {
|
219
223
|
readonly required: "El asiento es requerido";
|
220
224
|
};
|
221
|
-
|
222
|
-
|
225
|
+
};
|
226
|
+
readonly ticketGroup: {
|
227
|
+
readonly id: {
|
228
|
+
readonly uuid: "El ID debe ser un UUID";
|
229
|
+
};
|
230
|
+
readonly amountTickets: "La cantidad de tickets debe ser mayor a 0";
|
231
|
+
readonly status: {
|
232
|
+
readonly invalid: "El estado del grupo de tickets es inválido";
|
223
233
|
};
|
224
234
|
};
|
225
235
|
readonly eventTicket: {
|
@@ -571,6 +581,14 @@ declare const _default: {
|
|
571
581
|
readonly 'max-tickets-reached': "No se pueden emitir más tickets para este evento";
|
572
582
|
readonly 'profile-id-required': "El ID del perfil es requerido en el ticket de participante";
|
573
583
|
};
|
584
|
+
readonly 'create-many': {
|
585
|
+
readonly success: "Tickets creados con éxito";
|
586
|
+
readonly 'event-not-found': "Evento no encontrado";
|
587
|
+
readonly error: "Error en la creación de los tickets";
|
588
|
+
readonly 'max-tickets-reached': "No se pueden emitir más tickets para este evento";
|
589
|
+
readonly 'type-not-found': "Tipo de ticket no encontrado";
|
590
|
+
readonly 'max-tickets-not-found': "Cantidad máxima de tickets no encontrada";
|
591
|
+
};
|
574
592
|
readonly 'find-all': {
|
575
593
|
readonly success: "Tickets obtenidos";
|
576
594
|
};
|
@@ -606,6 +624,25 @@ declare const _default: {
|
|
606
624
|
};
|
607
625
|
};
|
608
626
|
};
|
627
|
+
readonly 'ticket-group': {
|
628
|
+
readonly create: {
|
629
|
+
readonly success: "Grupo de tickets creado";
|
630
|
+
readonly 'event-not-found': "Evento no encontrado";
|
631
|
+
readonly conflict: "Error en la creación del grupo de tickets";
|
632
|
+
};
|
633
|
+
readonly 'find-tickets-by-event': {
|
634
|
+
readonly success: "Tickets por evento obtenidos";
|
635
|
+
readonly 'not-found': "Tickets por evento no encontrados";
|
636
|
+
};
|
637
|
+
readonly update: {
|
638
|
+
readonly success: "Grupo de tickets actualizado";
|
639
|
+
readonly 'not-found': "Grupo de tickets no encontrado";
|
640
|
+
};
|
641
|
+
readonly delete: {
|
642
|
+
readonly success: "Grupo de tickets eliminado";
|
643
|
+
readonly 'not-found': "Grupo de tickets no encontrado";
|
644
|
+
};
|
645
|
+
};
|
609
646
|
readonly webhook: {
|
610
647
|
readonly get: {
|
611
648
|
readonly success: "Webhook verificado";
|
package/dist/src/i18n/es.js
CHANGED
@@ -16,6 +16,7 @@ exports.default = {
|
|
16
16
|
otp: 'OTP',
|
17
17
|
ticket: 'Ticket',
|
18
18
|
eventTicket: 'Tickets del evento',
|
19
|
+
ticketGroup: 'Grupo de tickets',
|
19
20
|
},
|
20
21
|
tag: {
|
21
22
|
assisted: 'Asistió',
|
@@ -217,11 +218,20 @@ exports.default = {
|
|
217
218
|
status: {
|
218
219
|
invalid: 'El estado del ticket es inválido',
|
219
220
|
},
|
221
|
+
dni: {
|
222
|
+
required: 'El DNI es requerido',
|
223
|
+
},
|
220
224
|
seat: {
|
221
225
|
required: 'El asiento es requerido',
|
222
226
|
},
|
223
|
-
|
224
|
-
|
227
|
+
},
|
228
|
+
ticketGroup: {
|
229
|
+
id: {
|
230
|
+
uuid: 'El ID debe ser un UUID',
|
231
|
+
},
|
232
|
+
amountTickets: 'La cantidad de tickets debe ser mayor a 0',
|
233
|
+
status: {
|
234
|
+
invalid: 'El estado del grupo de tickets es inválido',
|
225
235
|
},
|
226
236
|
},
|
227
237
|
eventTicket: {
|
@@ -573,6 +583,14 @@ exports.default = {
|
|
573
583
|
'max-tickets-reached': 'No se pueden emitir más tickets para este evento',
|
574
584
|
'profile-id-required': 'El ID del perfil es requerido en el ticket de participante',
|
575
585
|
},
|
586
|
+
'create-many': {
|
587
|
+
success: 'Tickets creados con éxito',
|
588
|
+
'event-not-found': 'Evento no encontrado',
|
589
|
+
error: 'Error en la creación de los tickets',
|
590
|
+
'max-tickets-reached': 'No se pueden emitir más tickets para este evento',
|
591
|
+
'type-not-found': 'Tipo de ticket no encontrado',
|
592
|
+
'max-tickets-not-found': 'Cantidad máxima de tickets no encontrada',
|
593
|
+
},
|
576
594
|
'find-all': {
|
577
595
|
success: 'Tickets obtenidos',
|
578
596
|
},
|
@@ -608,6 +626,25 @@ exports.default = {
|
|
608
626
|
},
|
609
627
|
},
|
610
628
|
},
|
629
|
+
'ticket-group': {
|
630
|
+
create: {
|
631
|
+
success: 'Grupo de tickets creado',
|
632
|
+
'event-not-found': 'Evento no encontrado',
|
633
|
+
conflict: 'Error en la creación del grupo de tickets',
|
634
|
+
},
|
635
|
+
'find-tickets-by-event': {
|
636
|
+
success: 'Tickets por evento obtenidos',
|
637
|
+
'not-found': 'Tickets por evento no encontrados',
|
638
|
+
},
|
639
|
+
update: {
|
640
|
+
success: 'Grupo de tickets actualizado',
|
641
|
+
'not-found': 'Grupo de tickets no encontrado',
|
642
|
+
},
|
643
|
+
delete: {
|
644
|
+
success: 'Grupo de tickets eliminado',
|
645
|
+
'not-found': 'Grupo de tickets no encontrado',
|
646
|
+
},
|
647
|
+
},
|
611
648
|
webhook: {
|
612
649
|
get: {
|
613
650
|
success: 'Webhook verificado',
|