expo-backend-types 0.37.0-EXPO-327-EB-Escanear-entrada.1 → 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.5

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.
Files changed (70) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +8 -8
  2. package/dist/src/account/dto/get-me.dto.d.ts +16 -16
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -8
  4. package/dist/src/event/dto/create-event.dto.d.ts +8 -8
  5. package/dist/src/event/dto/event-tickets.dto.d.ts +2 -2
  6. package/dist/src/event/dto/get-active-events.dto.d.ts +12 -12
  7. package/dist/src/event/dto/get-all-event.dto.d.ts +56 -56
  8. package/dist/src/event/dto/get-by-id-event.dto.d.ts +50 -68
  9. package/dist/src/event/dto/update-event.dto.d.ts +24 -24
  10. package/dist/src/exports.d.ts +1 -0
  11. package/dist/src/exports.js +1 -0
  12. package/dist/src/i18n/es.d.ts +36 -21
  13. package/dist/src/i18n/es.js +36 -21
  14. package/dist/src/i18n/es.js.map +1 -1
  15. package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -12
  16. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -20
  17. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -8
  18. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -12
  19. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -12
  20. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -12
  21. package/dist/src/tag/dto/create-tag.dto.d.ts +4 -4
  22. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -4
  23. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -8
  24. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -8
  25. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -4
  26. package/dist/src/tag/dto/tag.dto.d.ts +4 -4
  27. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -4
  28. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -12
  29. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -12
  30. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -8
  31. package/dist/src/ticket/constants.d.ts +14 -12
  32. package/dist/src/ticket/constants.js +248 -355
  33. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +596 -0
  34. package/dist/src/ticket/dto/create-many-ticket.dto.js +50 -0
  35. package/dist/src/ticket/dto/create-ticket.dto.d.ts +21 -44
  36. package/dist/src/ticket/dto/create-ticket.dto.js +1 -1
  37. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +10 -24
  38. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +18 -36
  39. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +18 -36
  40. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +18 -36
  41. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +18 -36
  42. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +18 -36
  43. package/dist/src/ticket/dto/find-ticket.dto.d.ts +10 -24
  44. package/dist/src/ticket/dto/ticket.dto.d.ts +10 -24
  45. package/dist/src/ticket/dto/ticket.dto.js +2 -4
  46. package/dist/src/ticket/dto/update-ticket.dto.d.ts +26 -42
  47. package/dist/src/ticket/dto/update-ticket.dto.js +2 -1
  48. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +356 -0
  49. package/dist/src/ticket-group/dto/create-ticket-group.dto.js +27 -0
  50. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +55 -0
  51. package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +10 -0
  52. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +32 -0
  53. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +20 -0
  54. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +56 -0
  55. package/dist/src/ticket-group/dto/ticket-group.dto.js +27 -0
  56. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +79 -0
  57. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +18 -0
  58. package/dist/src/ticket-group/exports.d.ts +5 -0
  59. package/dist/src/ticket-group/exports.js +22 -0
  60. package/dist/types/prisma-schema/edge.js +15 -6
  61. package/dist/types/prisma-schema/index-browser.js +12 -3
  62. package/dist/types/prisma-schema/index.d.ts +2230 -332
  63. package/dist/types/prisma-schema/index.js +15 -6
  64. package/dist/types/prisma-schema/package.json +1 -1
  65. package/dist/types/prisma-schema/schema.prisma +23 -7
  66. package/dist/types/prisma-schema/wasm.js +12 -3
  67. package/dist/types/schema.d.ts +317 -29
  68. package/package.json +6 -6
  69. package/dist/src/ticket/dto/send-email.dto.d.ts +0 -18
  70. package/dist/src/ticket/dto/send-email.dto.js +0 -15
@@ -0,0 +1,596 @@
1
+ import z from 'zod';
2
+ export declare const createManyTicketSchema: z.ZodObject<{
3
+ tickets: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
4
+ id: z.ZodString;
5
+ eventId: z.ZodString;
6
+ type: z.ZodNativeEnum<{
7
+ PARTICIPANT: "PARTICIPANT";
8
+ STAFF: "STAFF";
9
+ SPECTATOR: "SPECTATOR";
10
+ }>;
11
+ fullName: z.ZodString;
12
+ mail: z.ZodString;
13
+ dni: z.ZodString;
14
+ ticketGroupId: z.ZodString;
15
+ created_at: z.ZodDate;
16
+ updated_at: z.ZodDate;
17
+ }, "type" | "fullName" | "mail" | "eventId" | "dni" | "ticketGroupId">, {
18
+ profileId: z.ZodOptional<z.ZodString>;
19
+ }>, "strip", z.ZodTypeAny, {
20
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
21
+ fullName: string;
22
+ mail: string;
23
+ eventId: string;
24
+ dni: string;
25
+ ticketGroupId: string;
26
+ profileId?: string | undefined;
27
+ }, {
28
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
29
+ fullName: string;
30
+ mail: string;
31
+ eventId: string;
32
+ dni: string;
33
+ ticketGroupId: string;
34
+ profileId?: string | undefined;
35
+ }>, "many">;
36
+ }, "strip", z.ZodTypeAny, {
37
+ tickets: {
38
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
39
+ fullName: string;
40
+ mail: string;
41
+ eventId: string;
42
+ dni: string;
43
+ ticketGroupId: string;
44
+ profileId?: string | undefined;
45
+ }[];
46
+ }, {
47
+ tickets: {
48
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
49
+ fullName: string;
50
+ mail: string;
51
+ eventId: string;
52
+ dni: string;
53
+ ticketGroupId: string;
54
+ profileId?: string | undefined;
55
+ }[];
56
+ }>;
57
+ declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
58
+ tickets: z.ZodArray<z.ZodObject<{
59
+ type: z.ZodNativeEnum<{
60
+ PARTICIPANT: "PARTICIPANT";
61
+ STAFF: "STAFF";
62
+ SPECTATOR: "SPECTATOR";
63
+ }>;
64
+ fullName: z.ZodString;
65
+ mail: z.ZodString;
66
+ eventId: z.ZodString;
67
+ dni: z.ZodString;
68
+ ticketGroupId: z.ZodString;
69
+ profileId: z.ZodOptional<z.ZodString>;
70
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
71
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
72
+ fullName: string;
73
+ mail: string;
74
+ eventId: string;
75
+ dni: string;
76
+ ticketGroupId: string;
77
+ profileId?: string | undefined;
78
+ }, {
79
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
80
+ fullName: string;
81
+ mail: string;
82
+ eventId: string;
83
+ dni: string;
84
+ ticketGroupId: string;
85
+ profileId?: string | undefined;
86
+ }>, "many">;
87
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
88
+ tickets: {
89
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
90
+ fullName: string;
91
+ mail: string;
92
+ eventId: string;
93
+ dni: string;
94
+ ticketGroupId: string;
95
+ profileId?: string | undefined;
96
+ }[];
97
+ }, {
98
+ tickets: {
99
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
100
+ fullName: string;
101
+ mail: string;
102
+ eventId: string;
103
+ dni: string;
104
+ ticketGroupId: string;
105
+ profileId?: string | undefined;
106
+ }[];
107
+ }>>;
108
+ export declare class CreateManyTicketDto extends CreateManyTicketDto_base {
109
+ }
110
+ export declare const generateMultiplePdfTicketsSchema: z.ZodArray<z.ZodObject<{
111
+ ticketId: z.ZodString;
112
+ pdf: z.ZodType<Blob, z.ZodTypeDef, Blob>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ pdf: Blob;
115
+ ticketId: string;
116
+ }, {
117
+ pdf: Blob;
118
+ ticketId: string;
119
+ }>, "many">;
120
+ export declare const createManyTicketResponseSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
121
+ id: z.ZodString;
122
+ eventId: z.ZodString;
123
+ type: z.ZodNativeEnum<{
124
+ PARTICIPANT: "PARTICIPANT";
125
+ STAFF: "STAFF";
126
+ SPECTATOR: "SPECTATOR";
127
+ }>;
128
+ fullName: z.ZodString;
129
+ mail: z.ZodString;
130
+ dni: z.ZodString;
131
+ ticketGroupId: z.ZodString;
132
+ created_at: z.ZodDate;
133
+ updated_at: z.ZodDate;
134
+ }, {
135
+ event: z.ZodObject<{
136
+ id: z.ZodString;
137
+ name: z.ZodString;
138
+ date: z.ZodDate;
139
+ startingDate: z.ZodDate;
140
+ endingDate: z.ZodDate;
141
+ location: z.ZodString;
142
+ folderId: z.ZodNullable<z.ZodString>;
143
+ tagAssistedId: z.ZodString;
144
+ tagConfirmedId: z.ZodString;
145
+ active: z.ZodBoolean;
146
+ supraEventId: z.ZodNullable<z.ZodString>;
147
+ created_at: z.ZodDate;
148
+ updated_at: z.ZodDate;
149
+ }, "strip", z.ZodTypeAny, {
150
+ location: string;
151
+ id: string;
152
+ name: string;
153
+ date: Date;
154
+ startingDate: Date;
155
+ endingDate: Date;
156
+ created_at: Date;
157
+ updated_at: Date;
158
+ active: boolean;
159
+ folderId: string | null;
160
+ tagAssistedId: string;
161
+ tagConfirmedId: string;
162
+ supraEventId: string | null;
163
+ }, {
164
+ location: string;
165
+ id: string;
166
+ name: string;
167
+ date: Date;
168
+ startingDate: Date;
169
+ endingDate: Date;
170
+ created_at: Date;
171
+ updated_at: Date;
172
+ active: boolean;
173
+ folderId: string | null;
174
+ tagAssistedId: string;
175
+ tagConfirmedId: string;
176
+ supraEventId: string | null;
177
+ }>;
178
+ }>, "strip", z.ZodTypeAny, {
179
+ event: {
180
+ location: string;
181
+ id: string;
182
+ name: string;
183
+ date: Date;
184
+ startingDate: Date;
185
+ endingDate: Date;
186
+ created_at: Date;
187
+ updated_at: Date;
188
+ active: boolean;
189
+ folderId: string | null;
190
+ tagAssistedId: string;
191
+ tagConfirmedId: string;
192
+ supraEventId: string | null;
193
+ };
194
+ id: string;
195
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
196
+ fullName: string;
197
+ mail: string;
198
+ eventId: string;
199
+ dni: string;
200
+ created_at: Date;
201
+ updated_at: Date;
202
+ ticketGroupId: string;
203
+ }, {
204
+ event: {
205
+ location: string;
206
+ id: string;
207
+ name: string;
208
+ date: Date;
209
+ startingDate: Date;
210
+ endingDate: Date;
211
+ created_at: Date;
212
+ updated_at: Date;
213
+ active: boolean;
214
+ folderId: string | null;
215
+ tagAssistedId: string;
216
+ tagConfirmedId: string;
217
+ supraEventId: string | null;
218
+ };
219
+ id: string;
220
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
221
+ fullName: string;
222
+ mail: string;
223
+ eventId: string;
224
+ dni: string;
225
+ created_at: Date;
226
+ updated_at: Date;
227
+ ticketGroupId: string;
228
+ }>, "many">;
229
+ export declare const createManyTicketWithPdfsResponseSchema: z.ZodObject<{
230
+ tickets: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
231
+ id: z.ZodString;
232
+ eventId: z.ZodString;
233
+ type: z.ZodNativeEnum<{
234
+ PARTICIPANT: "PARTICIPANT";
235
+ STAFF: "STAFF";
236
+ SPECTATOR: "SPECTATOR";
237
+ }>;
238
+ fullName: z.ZodString;
239
+ mail: z.ZodString;
240
+ dni: z.ZodString;
241
+ ticketGroupId: z.ZodString;
242
+ created_at: z.ZodDate;
243
+ updated_at: z.ZodDate;
244
+ }, {
245
+ event: z.ZodObject<{
246
+ id: z.ZodString;
247
+ name: z.ZodString;
248
+ date: z.ZodDate;
249
+ startingDate: z.ZodDate;
250
+ endingDate: z.ZodDate;
251
+ location: z.ZodString;
252
+ folderId: z.ZodNullable<z.ZodString>;
253
+ tagAssistedId: z.ZodString;
254
+ tagConfirmedId: z.ZodString;
255
+ active: z.ZodBoolean;
256
+ supraEventId: z.ZodNullable<z.ZodString>;
257
+ created_at: z.ZodDate;
258
+ updated_at: z.ZodDate;
259
+ }, "strip", z.ZodTypeAny, {
260
+ location: string;
261
+ id: string;
262
+ name: string;
263
+ date: Date;
264
+ startingDate: Date;
265
+ endingDate: Date;
266
+ created_at: Date;
267
+ updated_at: Date;
268
+ active: boolean;
269
+ folderId: string | null;
270
+ tagAssistedId: string;
271
+ tagConfirmedId: string;
272
+ supraEventId: string | null;
273
+ }, {
274
+ location: string;
275
+ id: string;
276
+ name: string;
277
+ date: Date;
278
+ startingDate: Date;
279
+ endingDate: Date;
280
+ created_at: Date;
281
+ updated_at: Date;
282
+ active: boolean;
283
+ folderId: string | null;
284
+ tagAssistedId: string;
285
+ tagConfirmedId: string;
286
+ supraEventId: string | null;
287
+ }>;
288
+ }>, "strip", z.ZodTypeAny, {
289
+ event: {
290
+ location: string;
291
+ id: string;
292
+ name: string;
293
+ date: Date;
294
+ startingDate: Date;
295
+ endingDate: Date;
296
+ created_at: Date;
297
+ updated_at: Date;
298
+ active: boolean;
299
+ folderId: string | null;
300
+ tagAssistedId: string;
301
+ tagConfirmedId: string;
302
+ supraEventId: string | null;
303
+ };
304
+ id: string;
305
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
306
+ fullName: string;
307
+ mail: string;
308
+ eventId: string;
309
+ dni: string;
310
+ created_at: Date;
311
+ updated_at: Date;
312
+ ticketGroupId: string;
313
+ }, {
314
+ event: {
315
+ location: string;
316
+ id: string;
317
+ name: string;
318
+ date: Date;
319
+ startingDate: Date;
320
+ endingDate: Date;
321
+ created_at: Date;
322
+ updated_at: Date;
323
+ active: boolean;
324
+ folderId: string | null;
325
+ tagAssistedId: string;
326
+ tagConfirmedId: string;
327
+ supraEventId: string | null;
328
+ };
329
+ id: string;
330
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
331
+ fullName: string;
332
+ mail: string;
333
+ eventId: string;
334
+ dni: string;
335
+ created_at: Date;
336
+ updated_at: Date;
337
+ ticketGroupId: string;
338
+ }>, "many">;
339
+ pdfs: z.ZodArray<z.ZodObject<{
340
+ ticketId: z.ZodString;
341
+ pdfBase64: z.ZodString;
342
+ }, "strip", z.ZodTypeAny, {
343
+ ticketId: string;
344
+ pdfBase64: string;
345
+ }, {
346
+ ticketId: string;
347
+ pdfBase64: string;
348
+ }>, "many">;
349
+ }, "strip", z.ZodTypeAny, {
350
+ tickets: {
351
+ event: {
352
+ location: string;
353
+ id: string;
354
+ name: string;
355
+ date: Date;
356
+ startingDate: Date;
357
+ endingDate: Date;
358
+ created_at: Date;
359
+ updated_at: Date;
360
+ active: boolean;
361
+ folderId: string | null;
362
+ tagAssistedId: string;
363
+ tagConfirmedId: string;
364
+ supraEventId: string | null;
365
+ };
366
+ id: string;
367
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
368
+ fullName: string;
369
+ mail: string;
370
+ eventId: string;
371
+ dni: string;
372
+ created_at: Date;
373
+ updated_at: Date;
374
+ ticketGroupId: string;
375
+ }[];
376
+ pdfs: {
377
+ ticketId: string;
378
+ pdfBase64: string;
379
+ }[];
380
+ }, {
381
+ tickets: {
382
+ event: {
383
+ location: string;
384
+ id: string;
385
+ name: string;
386
+ date: Date;
387
+ startingDate: Date;
388
+ endingDate: Date;
389
+ created_at: Date;
390
+ updated_at: Date;
391
+ active: boolean;
392
+ folderId: string | null;
393
+ tagAssistedId: string;
394
+ tagConfirmedId: string;
395
+ supraEventId: string | null;
396
+ };
397
+ id: string;
398
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
399
+ fullName: string;
400
+ mail: string;
401
+ eventId: string;
402
+ dni: string;
403
+ created_at: Date;
404
+ updated_at: Date;
405
+ ticketGroupId: string;
406
+ }[];
407
+ pdfs: {
408
+ ticketId: string;
409
+ pdfBase64: string;
410
+ }[];
411
+ }>;
412
+ declare const CreateManyTicketWithPdfsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
413
+ tickets: z.ZodArray<z.ZodObject<{
414
+ id: z.ZodString;
415
+ eventId: z.ZodString;
416
+ type: z.ZodNativeEnum<{
417
+ PARTICIPANT: "PARTICIPANT";
418
+ STAFF: "STAFF";
419
+ SPECTATOR: "SPECTATOR";
420
+ }>;
421
+ fullName: z.ZodString;
422
+ mail: z.ZodString;
423
+ dni: z.ZodString;
424
+ ticketGroupId: z.ZodString;
425
+ created_at: z.ZodString;
426
+ updated_at: z.ZodString;
427
+ event: z.ZodObject<{
428
+ id: z.ZodString;
429
+ name: z.ZodString;
430
+ date: z.ZodString;
431
+ startingDate: z.ZodString;
432
+ endingDate: z.ZodString;
433
+ location: z.ZodString;
434
+ folderId: z.ZodNullable<z.ZodString>;
435
+ tagAssistedId: z.ZodString;
436
+ tagConfirmedId: z.ZodString;
437
+ active: z.ZodBoolean;
438
+ supraEventId: z.ZodNullable<z.ZodString>;
439
+ created_at: z.ZodString;
440
+ updated_at: z.ZodString;
441
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
442
+ location: string;
443
+ id: string;
444
+ name: string;
445
+ date: string;
446
+ startingDate: string;
447
+ endingDate: string;
448
+ created_at: string;
449
+ updated_at: string;
450
+ active: boolean;
451
+ folderId: string | null;
452
+ tagAssistedId: string;
453
+ tagConfirmedId: string;
454
+ supraEventId: string | null;
455
+ }, {
456
+ location: string;
457
+ id: string;
458
+ name: string;
459
+ date: string;
460
+ startingDate: string;
461
+ endingDate: string;
462
+ created_at: string;
463
+ updated_at: string;
464
+ active: boolean;
465
+ folderId: string | null;
466
+ tagAssistedId: string;
467
+ tagConfirmedId: string;
468
+ supraEventId: string | null;
469
+ }>;
470
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
471
+ event: {
472
+ location: string;
473
+ id: string;
474
+ name: string;
475
+ date: string;
476
+ startingDate: string;
477
+ endingDate: string;
478
+ created_at: string;
479
+ updated_at: string;
480
+ active: boolean;
481
+ folderId: string | null;
482
+ tagAssistedId: string;
483
+ tagConfirmedId: string;
484
+ supraEventId: string | null;
485
+ };
486
+ id: string;
487
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
488
+ fullName: string;
489
+ mail: string;
490
+ eventId: string;
491
+ dni: string;
492
+ created_at: string;
493
+ updated_at: string;
494
+ ticketGroupId: string;
495
+ }, {
496
+ event: {
497
+ location: string;
498
+ id: string;
499
+ name: string;
500
+ date: string;
501
+ startingDate: string;
502
+ endingDate: string;
503
+ created_at: string;
504
+ updated_at: string;
505
+ active: boolean;
506
+ folderId: string | null;
507
+ tagAssistedId: string;
508
+ tagConfirmedId: string;
509
+ supraEventId: string | null;
510
+ };
511
+ id: string;
512
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
513
+ fullName: string;
514
+ mail: string;
515
+ eventId: string;
516
+ dni: string;
517
+ created_at: string;
518
+ updated_at: string;
519
+ ticketGroupId: string;
520
+ }>, "many">;
521
+ pdfs: z.ZodArray<z.ZodObject<{
522
+ ticketId: z.ZodString;
523
+ pdfBase64: z.ZodString;
524
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
525
+ ticketId: string;
526
+ pdfBase64: string;
527
+ }, {
528
+ ticketId: string;
529
+ pdfBase64: string;
530
+ }>, "many">;
531
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
532
+ tickets: {
533
+ event: {
534
+ location: string;
535
+ id: string;
536
+ name: string;
537
+ date: string;
538
+ startingDate: string;
539
+ endingDate: string;
540
+ created_at: string;
541
+ updated_at: string;
542
+ active: boolean;
543
+ folderId: string | null;
544
+ tagAssistedId: string;
545
+ tagConfirmedId: string;
546
+ supraEventId: string | null;
547
+ };
548
+ id: string;
549
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
550
+ fullName: string;
551
+ mail: string;
552
+ eventId: string;
553
+ dni: string;
554
+ created_at: string;
555
+ updated_at: string;
556
+ ticketGroupId: string;
557
+ }[];
558
+ pdfs: {
559
+ ticketId: string;
560
+ pdfBase64: string;
561
+ }[];
562
+ }, {
563
+ tickets: {
564
+ event: {
565
+ location: string;
566
+ id: string;
567
+ name: string;
568
+ date: string;
569
+ startingDate: string;
570
+ endingDate: string;
571
+ created_at: string;
572
+ updated_at: string;
573
+ active: boolean;
574
+ folderId: string | null;
575
+ tagAssistedId: string;
576
+ tagConfirmedId: string;
577
+ supraEventId: string | null;
578
+ };
579
+ id: string;
580
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
581
+ fullName: string;
582
+ mail: string;
583
+ eventId: string;
584
+ dni: string;
585
+ created_at: string;
586
+ updated_at: string;
587
+ ticketGroupId: string;
588
+ }[];
589
+ pdfs: {
590
+ ticketId: string;
591
+ pdfBase64: string;
592
+ }[];
593
+ }>>;
594
+ export declare class CreateManyTicketWithPdfsResponseDto extends CreateManyTicketWithPdfsResponseDto_base {
595
+ }
596
+ export {};
@@ -0,0 +1,50 @@
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.CreateManyTicketWithPdfsResponseDto = exports.createManyTicketWithPdfsResponseSchema = exports.createManyTicketResponseSchema = exports.generateMultiplePdfTicketsSchema = exports.CreateManyTicketDto = exports.createManyTicketSchema = void 0;
7
+ const event_dto_1 = require("../../event/dto/event.dto");
8
+ const profile_schema_1 = require("../../schema/profile.schema");
9
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
+ const zod_1 = __importDefault(require("zod"));
11
+ const ticket_dto_1 = require("./ticket.dto");
12
+ exports.createManyTicketSchema = zod_1.default.object({
13
+ tickets: zod_1.default.array(ticket_dto_1.ticketSchema
14
+ .pick({
15
+ eventId: true,
16
+ type: true,
17
+ fullName: true,
18
+ mail: true,
19
+ dni: true,
20
+ ticketGroupId: true,
21
+ })
22
+ .extend({
23
+ profileId: profile_schema_1.profileSchema.shape.id.optional(),
24
+ })),
25
+ });
26
+ class CreateManyTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketSchema) {
27
+ }
28
+ exports.CreateManyTicketDto = CreateManyTicketDto;
29
+ exports.generateMultiplePdfTicketsSchema = zod_1.default
30
+ .object({
31
+ ticketId: zod_1.default.string(),
32
+ pdf: zod_1.default.instanceof(Blob),
33
+ })
34
+ .array();
35
+ exports.createManyTicketResponseSchema = ticket_dto_1.ticketSchema
36
+ .extend({
37
+ event: event_dto_1.eventSchema,
38
+ })
39
+ .array();
40
+ exports.createManyTicketWithPdfsResponseSchema = zod_1.default.object({
41
+ tickets: exports.createManyTicketResponseSchema,
42
+ pdfs: zod_1.default.array(zod_1.default.object({
43
+ ticketId: zod_1.default.string(),
44
+ pdfBase64: zod_1.default.string(),
45
+ })),
46
+ });
47
+ class CreateManyTicketWithPdfsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketWithPdfsResponseSchema) {
48
+ }
49
+ exports.CreateManyTicketWithPdfsResponseDto = CreateManyTicketWithPdfsResponseDto;
50
+ //# sourceMappingURL=create-many-ticket.dto.js.map