expo-backend-types 0.43.0 → 0.44.0-EXPO-330-ExpoBackend-MercadoPago.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +23 -2
- package/dist/src/i18n/es.js +23 -2
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mercadopago/dto/create-preference-mercadopago.dto.d.ts +112 -0
- package/dist/src/mercadopago/dto/create-preference-mercadopago.dto.js +34 -0
- package/dist/src/mercadopago/dto/webhook-mercadopago.dto.d.ts +102 -0
- package/dist/src/mercadopago/dto/webhook-mercadopago.dto.js +31 -0
- package/dist/src/mercadopago/exports.d.ts +2 -0
- package/dist/src/mercadopago/exports.js +19 -0
- package/dist/src/ticket/constants.js +4 -4
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +99 -377
- package/dist/src/ticket/dto/create-many-ticket.dto.js +3 -10
- package/dist/src/ticket/dto/get-pdfs-by-group-ticket.dto.d.ts +124 -0
- package/dist/src/ticket/dto/get-pdfs-by-group-ticket.dto.js +22 -0
- package/dist/src/ticket/dto/scan-ticket.dto.d.ts +12 -92
- package/dist/src/ticket/dto/scan-ticket.dto.js +4 -4
- package/dist/src/ticket-group/dto/find-group-ticket-group.dto.d.ts +55 -0
- package/dist/src/ticket-group/dto/find-group-ticket-group.dto.js +10 -0
- package/dist/src/ticket-group/exports.d.ts +1 -0
- package/dist/src/ticket-group/exports.js +1 -0
- package/dist/types/schema.d.ts +275 -42
- package/package.json +2 -4
@@ -238,401 +238,123 @@ export declare const createManyTicketResponseSchema: z.ZodArray<z.ZodObject<z.ob
|
|
238
238
|
scannedAt: Date | null;
|
239
239
|
ticketGroupId: string | null;
|
240
240
|
}>, "many">;
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
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<{
|
241
|
+
declare const CreateManyTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodArray<z.ZodObject<{
|
242
|
+
id: z.ZodString;
|
243
|
+
eventId: z.ZodString;
|
244
|
+
type: z.ZodNativeEnum<{
|
245
|
+
PARTICIPANT: "PARTICIPANT";
|
246
|
+
STAFF: "STAFF";
|
247
|
+
SPECTATOR: "SPECTATOR";
|
248
|
+
}>;
|
249
|
+
fullName: z.ZodString;
|
250
|
+
mail: z.ZodString;
|
251
|
+
dni: z.ZodString;
|
252
|
+
seat: z.ZodNullable<z.ZodNumber>;
|
253
|
+
scanned: z.ZodBoolean;
|
254
|
+
scannedAt: z.ZodNullable<z.ZodString>;
|
255
|
+
ticketGroupId: z.ZodNullable<z.ZodString>;
|
256
|
+
created_at: z.ZodString;
|
257
|
+
updated_at: z.ZodString;
|
258
|
+
event: z.ZodObject<{
|
441
259
|
id: z.ZodString;
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
scanned: z.ZodBoolean;
|
453
|
-
scannedAt: z.ZodNullable<z.ZodString>;
|
454
|
-
ticketGroupId: z.ZodNullable<z.ZodString>;
|
260
|
+
name: z.ZodString;
|
261
|
+
date: z.ZodString;
|
262
|
+
startingDate: z.ZodString;
|
263
|
+
endingDate: z.ZodString;
|
264
|
+
location: z.ZodString;
|
265
|
+
folderId: z.ZodNullable<z.ZodString>;
|
266
|
+
tagAssistedId: z.ZodString;
|
267
|
+
tagConfirmedId: z.ZodString;
|
268
|
+
active: z.ZodBoolean;
|
269
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
455
270
|
created_at: z.ZodString;
|
456
271
|
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
272
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
501
|
-
|
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
|
-
};
|
273
|
+
location: string;
|
516
274
|
id: string;
|
517
|
-
|
518
|
-
|
519
|
-
|
520
|
-
|
521
|
-
dni: string;
|
522
|
-
seat: number | null;
|
275
|
+
name: string;
|
276
|
+
date: string;
|
277
|
+
startingDate: string;
|
278
|
+
endingDate: string;
|
523
279
|
created_at: string;
|
524
280
|
updated_at: string;
|
525
|
-
|
526
|
-
|
527
|
-
|
281
|
+
active: boolean;
|
282
|
+
folderId: string | null;
|
283
|
+
tagAssistedId: string;
|
284
|
+
tagConfirmedId: string;
|
285
|
+
supraEventId: string | null;
|
528
286
|
}, {
|
529
|
-
|
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
|
-
};
|
287
|
+
location: string;
|
544
288
|
id: string;
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
dni: string;
|
550
|
-
seat: number | null;
|
289
|
+
name: string;
|
290
|
+
date: string;
|
291
|
+
startingDate: string;
|
292
|
+
endingDate: string;
|
551
293
|
created_at: string;
|
552
294
|
updated_at: string;
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
557
|
-
|
558
|
-
|
559
|
-
pdfBase64: z.ZodString;
|
560
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
561
|
-
ticketId: string;
|
562
|
-
pdfBase64: string;
|
563
|
-
}, {
|
564
|
-
ticketId: string;
|
565
|
-
pdfBase64: string;
|
566
|
-
}>, "many">;
|
295
|
+
active: boolean;
|
296
|
+
folderId: string | null;
|
297
|
+
tagAssistedId: string;
|
298
|
+
tagConfirmedId: string;
|
299
|
+
supraEventId: string | null;
|
300
|
+
}>;
|
567
301
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
568
|
-
|
569
|
-
|
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
|
-
};
|
302
|
+
event: {
|
303
|
+
location: string;
|
584
304
|
id: string;
|
585
|
-
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
dni: string;
|
590
|
-
seat: number | null;
|
305
|
+
name: string;
|
306
|
+
date: string;
|
307
|
+
startingDate: string;
|
308
|
+
endingDate: string;
|
591
309
|
created_at: string;
|
592
310
|
updated_at: string;
|
593
|
-
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
600
|
-
|
311
|
+
active: boolean;
|
312
|
+
folderId: string | null;
|
313
|
+
tagAssistedId: string;
|
314
|
+
tagConfirmedId: string;
|
315
|
+
supraEventId: string | null;
|
316
|
+
};
|
317
|
+
id: string;
|
318
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
319
|
+
fullName: string;
|
320
|
+
mail: string;
|
321
|
+
eventId: string;
|
322
|
+
dni: string;
|
323
|
+
seat: number | null;
|
324
|
+
created_at: string;
|
325
|
+
updated_at: string;
|
326
|
+
scanned: boolean;
|
327
|
+
scannedAt: string | null;
|
328
|
+
ticketGroupId: string | null;
|
601
329
|
}, {
|
602
|
-
|
603
|
-
|
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
|
-
};
|
330
|
+
event: {
|
331
|
+
location: string;
|
618
332
|
id: string;
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
dni: string;
|
624
|
-
seat: number | null;
|
333
|
+
name: string;
|
334
|
+
date: string;
|
335
|
+
startingDate: string;
|
336
|
+
endingDate: string;
|
625
337
|
created_at: string;
|
626
338
|
updated_at: string;
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
|
631
|
-
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
339
|
+
active: boolean;
|
340
|
+
folderId: string | null;
|
341
|
+
tagAssistedId: string;
|
342
|
+
tagConfirmedId: string;
|
343
|
+
supraEventId: string | null;
|
344
|
+
};
|
345
|
+
id: string;
|
346
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
347
|
+
fullName: string;
|
348
|
+
mail: string;
|
349
|
+
eventId: string;
|
350
|
+
dni: string;
|
351
|
+
seat: number | null;
|
352
|
+
created_at: string;
|
353
|
+
updated_at: string;
|
354
|
+
scanned: boolean;
|
355
|
+
scannedAt: string | null;
|
356
|
+
ticketGroupId: string | null;
|
357
|
+
}>, "many">>;
|
358
|
+
export declare class CreateManyTicketResponseDto extends CreateManyTicketResponseDto_base {
|
637
359
|
}
|
638
360
|
export {};
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
6
|
+
exports.CreateManyTicketResponseDto = exports.createManyTicketResponseSchema = exports.generateMultiplePdfTicketsSchema = exports.CreateManyTicketDto = exports.createManyTicketSchema = void 0;
|
7
7
|
const event_dto_1 = require("../../event/dto/event.dto");
|
8
8
|
const profile_schema_1 = require("../../schema/profile.schema");
|
9
9
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
@@ -37,14 +37,7 @@ exports.createManyTicketResponseSchema = ticket_dto_1.ticketSchema
|
|
37
37
|
event: event_dto_1.eventSchema,
|
38
38
|
})
|
39
39
|
.array();
|
40
|
-
|
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) {
|
40
|
+
class CreateManyTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketResponseSchema) {
|
48
41
|
}
|
49
|
-
exports.
|
42
|
+
exports.CreateManyTicketResponseDto = CreateManyTicketResponseDto;
|
50
43
|
//# sourceMappingURL=create-many-ticket.dto.js.map
|
@@ -0,0 +1,124 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const findByTicketGroupTicketResponseSchema: z.ZodObject<{
|
3
|
+
tickets: z.ZodArray<z.ZodObject<{
|
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
|
+
}, "strip", z.ZodTypeAny, {
|
21
|
+
id: string;
|
22
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
23
|
+
fullName: string;
|
24
|
+
mail: string;
|
25
|
+
eventId: string;
|
26
|
+
dni: string;
|
27
|
+
seat: number | null;
|
28
|
+
created_at: Date;
|
29
|
+
updated_at: Date;
|
30
|
+
scanned: boolean;
|
31
|
+
scannedAt: Date | null;
|
32
|
+
ticketGroupId: string | null;
|
33
|
+
}, {
|
34
|
+
id: string;
|
35
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
36
|
+
fullName: string;
|
37
|
+
mail: string;
|
38
|
+
eventId: string;
|
39
|
+
dni: string;
|
40
|
+
seat: number | null;
|
41
|
+
created_at: Date;
|
42
|
+
updated_at: Date;
|
43
|
+
scanned: boolean;
|
44
|
+
scannedAt: Date | null;
|
45
|
+
ticketGroupId: string | null;
|
46
|
+
}>, "many">;
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
48
|
+
tickets: {
|
49
|
+
id: string;
|
50
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
51
|
+
fullName: string;
|
52
|
+
mail: string;
|
53
|
+
eventId: string;
|
54
|
+
dni: string;
|
55
|
+
seat: number | null;
|
56
|
+
created_at: Date;
|
57
|
+
updated_at: Date;
|
58
|
+
scanned: boolean;
|
59
|
+
scannedAt: Date | null;
|
60
|
+
ticketGroupId: string | null;
|
61
|
+
}[];
|
62
|
+
}, {
|
63
|
+
tickets: {
|
64
|
+
id: string;
|
65
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
66
|
+
fullName: string;
|
67
|
+
mail: string;
|
68
|
+
eventId: string;
|
69
|
+
dni: string;
|
70
|
+
seat: number | null;
|
71
|
+
created_at: Date;
|
72
|
+
updated_at: Date;
|
73
|
+
scanned: boolean;
|
74
|
+
scannedAt: Date | null;
|
75
|
+
ticketGroupId: string | null;
|
76
|
+
}[];
|
77
|
+
}>;
|
78
|
+
export declare const getPdfsByTicketGroupResponseSchema: z.ZodObject<{
|
79
|
+
pdfs: z.ZodArray<z.ZodObject<{
|
80
|
+
ticketId: z.ZodString;
|
81
|
+
pdfBase64: z.ZodString;
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
83
|
+
ticketId: string;
|
84
|
+
pdfBase64: string;
|
85
|
+
}, {
|
86
|
+
ticketId: string;
|
87
|
+
pdfBase64: string;
|
88
|
+
}>, "many">;
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
90
|
+
pdfs: {
|
91
|
+
ticketId: string;
|
92
|
+
pdfBase64: string;
|
93
|
+
}[];
|
94
|
+
}, {
|
95
|
+
pdfs: {
|
96
|
+
ticketId: string;
|
97
|
+
pdfBase64: string;
|
98
|
+
}[];
|
99
|
+
}>;
|
100
|
+
declare const GetPdfsByTicketGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
101
|
+
pdfs: z.ZodArray<z.ZodObject<{
|
102
|
+
ticketId: z.ZodString;
|
103
|
+
pdfBase64: z.ZodString;
|
104
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
105
|
+
ticketId: string;
|
106
|
+
pdfBase64: string;
|
107
|
+
}, {
|
108
|
+
ticketId: string;
|
109
|
+
pdfBase64: string;
|
110
|
+
}>, "many">;
|
111
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
112
|
+
pdfs: {
|
113
|
+
ticketId: string;
|
114
|
+
pdfBase64: string;
|
115
|
+
}[];
|
116
|
+
}, {
|
117
|
+
pdfs: {
|
118
|
+
ticketId: string;
|
119
|
+
pdfBase64: string;
|
120
|
+
}[];
|
121
|
+
}>>;
|
122
|
+
export declare class GetPdfsByTicketGroupResponseDto extends GetPdfsByTicketGroupResponseDto_base {
|
123
|
+
}
|
124
|
+
export {};
|
@@ -0,0 +1,22 @@
|
|
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.GetPdfsByTicketGroupResponseDto = exports.getPdfsByTicketGroupResponseSchema = exports.findByTicketGroupTicketResponseSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const zod_1 = __importDefault(require("zod"));
|
9
|
+
const ticket_dto_1 = require("./ticket.dto");
|
10
|
+
exports.findByTicketGroupTicketResponseSchema = zod_1.default.object({
|
11
|
+
tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
|
12
|
+
});
|
13
|
+
exports.getPdfsByTicketGroupResponseSchema = zod_1.default.object({
|
14
|
+
pdfs: zod_1.default.array(zod_1.default.object({
|
15
|
+
ticketId: zod_1.default.string(),
|
16
|
+
pdfBase64: zod_1.default.string(),
|
17
|
+
})),
|
18
|
+
});
|
19
|
+
class GetPdfsByTicketGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getPdfsByTicketGroupResponseSchema) {
|
20
|
+
}
|
21
|
+
exports.GetPdfsByTicketGroupResponseDto = GetPdfsByTicketGroupResponseDto;
|
22
|
+
//# sourceMappingURL=get-pdfs-by-group-ticket.dto.js.map
|