expo-backend-types 0.39.0-EXPO-326-Oscar-Ruggeri.1 → 0.40.0-EXPO-330-ExpoBackend-MercadoPago.1

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