expo-backend-types 0.38.0 → 0.39.0-EXPO-326-Oscar-Ruggeri.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.
- package/dist/src/csv/dto/download-all-tables.dto.d.ts +2 -3
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +46 -18
- package/dist/src/exports.d.ts +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/i18n/es.d.ts +8 -37
- package/dist/src/i18n/es.js +61 -205
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/i18n/translate.js +2 -2
- package/dist/src/i18n/translate.js.map +1 -1
- package/dist/src/image/dto/update-image.dto.d.ts +0 -1
- package/dist/src/schema/profile.schema.js +17 -7
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +1 -2
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -1
- package/dist/src/ticket/constants.js +1 -2
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +47 -18
- package/dist/src/ticket/dto/create-ticket.dto.js +1 -2
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +30 -10
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +49 -161
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +5 -2
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +30 -10
- package/dist/src/ticket/dto/generate-pdf.dto.d.ts +2 -3
- package/dist/src/ticket/dto/scan-ticket.dto.d.ts +34 -0
- package/dist/src/ticket/dto/scan-ticket.dto.js +21 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +30 -10
- package/dist/src/ticket/dto/ticket.dto.js +5 -2
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +44 -22
- package/dist/src/ticket/dto/update-ticket.dto.js +1 -2
- package/dist/src/ticket/exports.d.ts +1 -0
- package/dist/src/ticket/exports.js +1 -0
- package/dist/types/prisma-schema/edge.js +13 -21
- package/dist/types/prisma-schema/index-browser.js +8 -16
- package/dist/types/prisma-schema/index.d.ts +483 -2407
- package/dist/types/prisma-schema/index.js +13 -21
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +2 -2
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +2 -2
- package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
- package/dist/types/prisma-schema/runtime/library.d.ts +123 -105
- package/dist/types/prisma-schema/runtime/library.js +56 -56
- package/dist/types/prisma-schema/runtime/react-native.js +25 -25
- package/dist/types/prisma-schema/runtime/wasm.js +19 -19
- package/dist/types/prisma-schema/schema.prisma +6 -23
- package/dist/types/prisma-schema/wasm.js +8 -16
- package/dist/types/schema.d.ts +49 -335
- package/package.json +13 -15
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -610
- package/dist/src/ticket/dto/create-many-ticket.dto.js +0 -50
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -366
- package/dist/src/ticket-group/dto/create-ticket-group.dto.js +0 -27
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +0 -55
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +0 -10
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +0 -32
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +0 -20
- package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +0 -56
- package/dist/src/ticket-group/dto/ticket-group.dto.js +0 -27
- package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +0 -79
- package/dist/src/ticket-group/dto/update-ticket-group.dto.js +0 -18
- package/dist/src/ticket-group/exports.d.ts +0 -5
- package/dist/src/ticket-group/exports.js +0 -22
@@ -8,15 +8,21 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
8
8
|
STAFF: "STAFF";
|
9
9
|
SPECTATOR: "SPECTATOR";
|
10
10
|
}>;
|
11
|
+
status: z.ZodNativeEnum<{
|
12
|
+
BOOKED: "BOOKED";
|
13
|
+
PAID: "PAID";
|
14
|
+
FREE: "FREE";
|
15
|
+
}>;
|
11
16
|
fullName: z.ZodString;
|
12
17
|
mail: z.ZodString;
|
13
18
|
dni: z.ZodString;
|
14
19
|
seat: z.ZodNullable<z.ZodNumber>;
|
15
|
-
|
20
|
+
scanned: z.ZodBoolean;
|
21
|
+
scannedAt: z.ZodNullable<z.ZodDate>;
|
16
22
|
created_at: z.ZodDate;
|
17
23
|
updated_at: z.ZodDate;
|
18
24
|
}, {
|
19
|
-
event: z.ZodObject<{
|
25
|
+
event: z.ZodObject<Pick<{
|
20
26
|
id: z.ZodString;
|
21
27
|
name: z.ZodString;
|
22
28
|
date: z.ZodDate;
|
@@ -30,34 +36,14 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
30
36
|
supraEventId: z.ZodNullable<z.ZodString>;
|
31
37
|
created_at: z.ZodDate;
|
32
38
|
updated_at: z.ZodDate;
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
39
|
+
}, "location" | "name" | "date">, "strip", z.ZodTypeAny, {
|
34
40
|
location: string;
|
35
|
-
id: string;
|
36
41
|
name: string;
|
37
42
|
date: Date;
|
38
|
-
startingDate: Date;
|
39
|
-
endingDate: Date;
|
40
|
-
created_at: Date;
|
41
|
-
updated_at: Date;
|
42
|
-
active: boolean;
|
43
|
-
folderId: string | null;
|
44
|
-
tagAssistedId: string;
|
45
|
-
tagConfirmedId: string;
|
46
|
-
supraEventId: string | null;
|
47
43
|
}, {
|
48
44
|
location: string;
|
49
|
-
id: string;
|
50
45
|
name: string;
|
51
46
|
date: Date;
|
52
|
-
startingDate: Date;
|
53
|
-
endingDate: Date;
|
54
|
-
created_at: Date;
|
55
|
-
updated_at: Date;
|
56
|
-
active: boolean;
|
57
|
-
folderId: string | null;
|
58
|
-
tagAssistedId: string;
|
59
|
-
tagConfirmedId: string;
|
60
|
-
supraEventId: string | null;
|
61
47
|
}>;
|
62
48
|
profile: z.ZodNullable<z.ZodObject<{
|
63
49
|
id: z.ZodString;
|
@@ -141,22 +127,11 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
141
127
|
movedToTrashDate: Date | null;
|
142
128
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
143
129
|
}>>;
|
144
|
-
profileId: z.ZodNullable<z.ZodString>;
|
145
130
|
}>, "strip", z.ZodTypeAny, {
|
146
131
|
event: {
|
147
132
|
location: string;
|
148
|
-
id: string;
|
149
133
|
name: string;
|
150
134
|
date: Date;
|
151
|
-
startingDate: Date;
|
152
|
-
endingDate: Date;
|
153
|
-
created_at: Date;
|
154
|
-
updated_at: Date;
|
155
|
-
active: boolean;
|
156
|
-
folderId: string | null;
|
157
|
-
tagAssistedId: string;
|
158
|
-
tagConfirmedId: string;
|
159
|
-
supraEventId: string | null;
|
160
135
|
};
|
161
136
|
profile: {
|
162
137
|
id: string;
|
@@ -189,27 +164,18 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
189
164
|
fullName: string;
|
190
165
|
mail: string;
|
191
166
|
eventId: string;
|
192
|
-
|
167
|
+
status: "BOOKED" | "PAID" | "FREE";
|
193
168
|
seat: number | null;
|
169
|
+
dni: string;
|
194
170
|
created_at: Date;
|
195
171
|
updated_at: Date;
|
196
|
-
|
197
|
-
|
172
|
+
scanned: boolean;
|
173
|
+
scannedAt: Date | null;
|
198
174
|
}, {
|
199
175
|
event: {
|
200
176
|
location: string;
|
201
|
-
id: string;
|
202
177
|
name: string;
|
203
178
|
date: Date;
|
204
|
-
startingDate: Date;
|
205
|
-
endingDate: Date;
|
206
|
-
created_at: Date;
|
207
|
-
updated_at: Date;
|
208
|
-
active: boolean;
|
209
|
-
folderId: string | null;
|
210
|
-
tagAssistedId: string;
|
211
|
-
tagConfirmedId: string;
|
212
|
-
supraEventId: string | null;
|
213
179
|
};
|
214
180
|
profile: {
|
215
181
|
id: string;
|
@@ -242,29 +208,20 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
242
208
|
fullName: string;
|
243
209
|
mail: string;
|
244
210
|
eventId: string;
|
245
|
-
|
211
|
+
status: "BOOKED" | "PAID" | "FREE";
|
246
212
|
seat: number | null;
|
213
|
+
dni: string;
|
247
214
|
created_at: Date;
|
248
215
|
updated_at: Date;
|
249
|
-
|
250
|
-
|
216
|
+
scanned: boolean;
|
217
|
+
scannedAt: Date | null;
|
251
218
|
}>;
|
252
219
|
}, "strip", z.ZodTypeAny, {
|
253
220
|
ticket: {
|
254
221
|
event: {
|
255
222
|
location: string;
|
256
|
-
id: string;
|
257
223
|
name: string;
|
258
224
|
date: Date;
|
259
|
-
startingDate: Date;
|
260
|
-
endingDate: Date;
|
261
|
-
created_at: Date;
|
262
|
-
updated_at: Date;
|
263
|
-
active: boolean;
|
264
|
-
folderId: string | null;
|
265
|
-
tagAssistedId: string;
|
266
|
-
tagConfirmedId: string;
|
267
|
-
supraEventId: string | null;
|
268
225
|
};
|
269
226
|
profile: {
|
270
227
|
id: string;
|
@@ -297,29 +254,20 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
297
254
|
fullName: string;
|
298
255
|
mail: string;
|
299
256
|
eventId: string;
|
300
|
-
|
257
|
+
status: "BOOKED" | "PAID" | "FREE";
|
301
258
|
seat: number | null;
|
259
|
+
dni: string;
|
302
260
|
created_at: Date;
|
303
261
|
updated_at: Date;
|
304
|
-
|
305
|
-
|
262
|
+
scanned: boolean;
|
263
|
+
scannedAt: Date | null;
|
306
264
|
};
|
307
265
|
}, {
|
308
266
|
ticket: {
|
309
267
|
event: {
|
310
268
|
location: string;
|
311
|
-
id: string;
|
312
269
|
name: string;
|
313
270
|
date: Date;
|
314
|
-
startingDate: Date;
|
315
|
-
endingDate: Date;
|
316
|
-
created_at: Date;
|
317
|
-
updated_at: Date;
|
318
|
-
active: boolean;
|
319
|
-
folderId: string | null;
|
320
|
-
tagAssistedId: string;
|
321
|
-
tagConfirmedId: string;
|
322
|
-
supraEventId: string | null;
|
323
271
|
};
|
324
272
|
profile: {
|
325
273
|
id: string;
|
@@ -352,12 +300,13 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
352
300
|
fullName: string;
|
353
301
|
mail: string;
|
354
302
|
eventId: string;
|
355
|
-
|
303
|
+
status: "BOOKED" | "PAID" | "FREE";
|
356
304
|
seat: number | null;
|
305
|
+
dni: string;
|
357
306
|
created_at: Date;
|
358
307
|
updated_at: Date;
|
359
|
-
|
360
|
-
|
308
|
+
scanned: boolean;
|
309
|
+
scannedAt: Date | null;
|
361
310
|
};
|
362
311
|
}>;
|
363
312
|
declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -369,55 +318,31 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
369
318
|
STAFF: "STAFF";
|
370
319
|
SPECTATOR: "SPECTATOR";
|
371
320
|
}>;
|
321
|
+
status: z.ZodNativeEnum<{
|
322
|
+
BOOKED: "BOOKED";
|
323
|
+
PAID: "PAID";
|
324
|
+
FREE: "FREE";
|
325
|
+
}>;
|
372
326
|
fullName: z.ZodString;
|
373
327
|
mail: z.ZodString;
|
374
328
|
dni: z.ZodString;
|
375
329
|
seat: z.ZodNullable<z.ZodNumber>;
|
376
|
-
|
330
|
+
scanned: z.ZodBoolean;
|
331
|
+
scannedAt: z.ZodNullable<z.ZodString>;
|
377
332
|
created_at: z.ZodString;
|
378
333
|
updated_at: z.ZodString;
|
379
334
|
event: z.ZodObject<{
|
380
|
-
|
335
|
+
location: z.ZodString;
|
381
336
|
name: z.ZodString;
|
382
337
|
date: z.ZodString;
|
383
|
-
startingDate: z.ZodString;
|
384
|
-
endingDate: z.ZodString;
|
385
|
-
location: z.ZodString;
|
386
|
-
folderId: z.ZodNullable<z.ZodString>;
|
387
|
-
tagAssistedId: z.ZodString;
|
388
|
-
tagConfirmedId: z.ZodString;
|
389
|
-
active: z.ZodBoolean;
|
390
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
391
|
-
created_at: z.ZodString;
|
392
|
-
updated_at: z.ZodString;
|
393
338
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
394
339
|
location: string;
|
395
|
-
id: string;
|
396
340
|
name: string;
|
397
341
|
date: string;
|
398
|
-
startingDate: string;
|
399
|
-
endingDate: string;
|
400
|
-
created_at: string;
|
401
|
-
updated_at: string;
|
402
|
-
active: boolean;
|
403
|
-
folderId: string | null;
|
404
|
-
tagAssistedId: string;
|
405
|
-
tagConfirmedId: string;
|
406
|
-
supraEventId: string | null;
|
407
342
|
}, {
|
408
343
|
location: string;
|
409
|
-
id: string;
|
410
344
|
name: string;
|
411
345
|
date: string;
|
412
|
-
startingDate: string;
|
413
|
-
endingDate: string;
|
414
|
-
created_at: string;
|
415
|
-
updated_at: string;
|
416
|
-
active: boolean;
|
417
|
-
folderId: string | null;
|
418
|
-
tagAssistedId: string;
|
419
|
-
tagConfirmedId: string;
|
420
|
-
supraEventId: string | null;
|
421
346
|
}>;
|
422
347
|
profile: z.ZodNullable<z.ZodObject<{
|
423
348
|
id: z.ZodString;
|
@@ -501,22 +426,11 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
501
426
|
movedToTrashDate: string | null;
|
502
427
|
role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
|
503
428
|
}>>;
|
504
|
-
profileId: z.ZodNullable<z.ZodString>;
|
505
429
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
506
430
|
event: {
|
507
431
|
location: string;
|
508
|
-
id: string;
|
509
432
|
name: string;
|
510
433
|
date: string;
|
511
|
-
startingDate: string;
|
512
|
-
endingDate: string;
|
513
|
-
created_at: string;
|
514
|
-
updated_at: string;
|
515
|
-
active: boolean;
|
516
|
-
folderId: string | null;
|
517
|
-
tagAssistedId: string;
|
518
|
-
tagConfirmedId: string;
|
519
|
-
supraEventId: string | null;
|
520
434
|
};
|
521
435
|
profile: {
|
522
436
|
id: string;
|
@@ -549,27 +463,18 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
549
463
|
fullName: string;
|
550
464
|
mail: string;
|
551
465
|
eventId: string;
|
552
|
-
|
466
|
+
status: "BOOKED" | "PAID" | "FREE";
|
553
467
|
seat: number | null;
|
468
|
+
dni: string;
|
554
469
|
created_at: string;
|
555
470
|
updated_at: string;
|
556
|
-
|
557
|
-
|
471
|
+
scanned: boolean;
|
472
|
+
scannedAt: string | null;
|
558
473
|
}, {
|
559
474
|
event: {
|
560
475
|
location: string;
|
561
|
-
id: string;
|
562
476
|
name: string;
|
563
477
|
date: string;
|
564
|
-
startingDate: string;
|
565
|
-
endingDate: string;
|
566
|
-
created_at: string;
|
567
|
-
updated_at: string;
|
568
|
-
active: boolean;
|
569
|
-
folderId: string | null;
|
570
|
-
tagAssistedId: string;
|
571
|
-
tagConfirmedId: string;
|
572
|
-
supraEventId: string | null;
|
573
478
|
};
|
574
479
|
profile: {
|
575
480
|
id: string;
|
@@ -602,29 +507,20 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
602
507
|
fullName: string;
|
603
508
|
mail: string;
|
604
509
|
eventId: string;
|
605
|
-
|
510
|
+
status: "BOOKED" | "PAID" | "FREE";
|
606
511
|
seat: number | null;
|
512
|
+
dni: string;
|
607
513
|
created_at: string;
|
608
514
|
updated_at: string;
|
609
|
-
|
610
|
-
|
515
|
+
scanned: boolean;
|
516
|
+
scannedAt: string | null;
|
611
517
|
}>;
|
612
518
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
613
519
|
ticket: {
|
614
520
|
event: {
|
615
521
|
location: string;
|
616
|
-
id: string;
|
617
522
|
name: string;
|
618
523
|
date: string;
|
619
|
-
startingDate: string;
|
620
|
-
endingDate: string;
|
621
|
-
created_at: string;
|
622
|
-
updated_at: string;
|
623
|
-
active: boolean;
|
624
|
-
folderId: string | null;
|
625
|
-
tagAssistedId: string;
|
626
|
-
tagConfirmedId: string;
|
627
|
-
supraEventId: string | null;
|
628
524
|
};
|
629
525
|
profile: {
|
630
526
|
id: string;
|
@@ -657,29 +553,20 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
657
553
|
fullName: string;
|
658
554
|
mail: string;
|
659
555
|
eventId: string;
|
660
|
-
|
556
|
+
status: "BOOKED" | "PAID" | "FREE";
|
661
557
|
seat: number | null;
|
558
|
+
dni: string;
|
662
559
|
created_at: string;
|
663
560
|
updated_at: string;
|
664
|
-
|
665
|
-
|
561
|
+
scanned: boolean;
|
562
|
+
scannedAt: string | null;
|
666
563
|
};
|
667
564
|
}, {
|
668
565
|
ticket: {
|
669
566
|
event: {
|
670
567
|
location: string;
|
671
|
-
id: string;
|
672
568
|
name: string;
|
673
569
|
date: string;
|
674
|
-
startingDate: string;
|
675
|
-
endingDate: string;
|
676
|
-
created_at: string;
|
677
|
-
updated_at: string;
|
678
|
-
active: boolean;
|
679
|
-
folderId: string | null;
|
680
|
-
tagAssistedId: string;
|
681
|
-
tagConfirmedId: string;
|
682
|
-
supraEventId: string | null;
|
683
570
|
};
|
684
571
|
profile: {
|
685
572
|
id: string;
|
@@ -712,12 +599,13 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
712
599
|
fullName: string;
|
713
600
|
mail: string;
|
714
601
|
eventId: string;
|
715
|
-
|
602
|
+
status: "BOOKED" | "PAID" | "FREE";
|
716
603
|
seat: number | null;
|
604
|
+
dni: string;
|
717
605
|
created_at: string;
|
718
606
|
updated_at: string;
|
719
|
-
|
720
|
-
|
607
|
+
scanned: boolean;
|
608
|
+
scannedAt: string | null;
|
721
609
|
};
|
722
610
|
}>>;
|
723
611
|
export declare class FindByIdTicketResponseDto extends FindByIdTicketResponseDto_base {
|
@@ -8,9 +8,12 @@ const zod_1 = require("zod");
|
|
8
8
|
const ticket_dto_1 = require("./ticket.dto");
|
9
9
|
exports.findByIdTicketResponseSchema = zod_1.z.object({
|
10
10
|
ticket: ticket_dto_1.ticketSchema.merge(zod_1.z.object({
|
11
|
-
event: event_dto_1.eventSchema
|
11
|
+
event: event_dto_1.eventSchema.pick({
|
12
|
+
name: true,
|
13
|
+
date: true,
|
14
|
+
location: true,
|
15
|
+
}),
|
12
16
|
profile: profile_schema_1.profileSchema.nullable(),
|
13
|
-
profileId: profile_schema_1.profileSchema.shape.id.nullable(),
|
14
17
|
})),
|
15
18
|
});
|
16
19
|
class FindByIdTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByIdTicketResponseSchema) {
|
@@ -8,11 +8,17 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
8
8
|
STAFF: "STAFF";
|
9
9
|
SPECTATOR: "SPECTATOR";
|
10
10
|
}>;
|
11
|
+
status: z.ZodNativeEnum<{
|
12
|
+
BOOKED: "BOOKED";
|
13
|
+
PAID: "PAID";
|
14
|
+
FREE: "FREE";
|
15
|
+
}>;
|
11
16
|
fullName: z.ZodString;
|
12
17
|
mail: z.ZodString;
|
13
18
|
dni: z.ZodString;
|
14
19
|
seat: z.ZodNullable<z.ZodNumber>;
|
15
|
-
|
20
|
+
scanned: z.ZodBoolean;
|
21
|
+
scannedAt: z.ZodNullable<z.ZodDate>;
|
16
22
|
created_at: z.ZodDate;
|
17
23
|
updated_at: z.ZodDate;
|
18
24
|
}, {
|
@@ -158,11 +164,13 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
158
164
|
fullName: string;
|
159
165
|
mail: string;
|
160
166
|
eventId: string;
|
161
|
-
|
167
|
+
status: "BOOKED" | "PAID" | "FREE";
|
162
168
|
seat: number | null;
|
169
|
+
dni: string;
|
163
170
|
created_at: Date;
|
164
171
|
updated_at: Date;
|
165
|
-
|
172
|
+
scanned: boolean;
|
173
|
+
scannedAt: Date | null;
|
166
174
|
}, {
|
167
175
|
event: {
|
168
176
|
location: string;
|
@@ -200,11 +208,13 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
200
208
|
fullName: string;
|
201
209
|
mail: string;
|
202
210
|
eventId: string;
|
203
|
-
|
211
|
+
status: "BOOKED" | "PAID" | "FREE";
|
204
212
|
seat: number | null;
|
213
|
+
dni: string;
|
205
214
|
created_at: Date;
|
206
215
|
updated_at: Date;
|
207
|
-
|
216
|
+
scanned: boolean;
|
217
|
+
scannedAt: Date | null;
|
208
218
|
}>, "many">;
|
209
219
|
}, "strip", z.ZodTypeAny, {
|
210
220
|
tickets: {
|
@@ -244,11 +254,13 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
244
254
|
fullName: string;
|
245
255
|
mail: string;
|
246
256
|
eventId: string;
|
247
|
-
|
257
|
+
status: "BOOKED" | "PAID" | "FREE";
|
248
258
|
seat: number | null;
|
259
|
+
dni: string;
|
249
260
|
created_at: Date;
|
250
261
|
updated_at: Date;
|
251
|
-
|
262
|
+
scanned: boolean;
|
263
|
+
scannedAt: Date | null;
|
252
264
|
}[];
|
253
265
|
}, {
|
254
266
|
tickets: {
|
@@ -288,11 +300,13 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
288
300
|
fullName: string;
|
289
301
|
mail: string;
|
290
302
|
eventId: string;
|
291
|
-
|
303
|
+
status: "BOOKED" | "PAID" | "FREE";
|
292
304
|
seat: number | null;
|
305
|
+
dni: string;
|
293
306
|
created_at: Date;
|
294
307
|
updated_at: Date;
|
295
|
-
|
308
|
+
scanned: boolean;
|
309
|
+
scannedAt: Date | null;
|
296
310
|
}[];
|
297
311
|
}>;
|
298
312
|
declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -304,11 +318,17 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
304
318
|
STAFF: "STAFF";
|
305
319
|
SPECTATOR: "SPECTATOR";
|
306
320
|
}>;
|
321
|
+
status: z.ZodNativeEnum<{
|
322
|
+
BOOKED: "BOOKED";
|
323
|
+
PAID: "PAID";
|
324
|
+
FREE: "FREE";
|
325
|
+
}>;
|
307
326
|
fullName: z.ZodString;
|
308
327
|
mail: z.ZodString;
|
309
328
|
dni: z.ZodString;
|
310
329
|
seat: z.ZodNullable<z.ZodNumber>;
|
311
|
-
|
330
|
+
scanned: z.ZodBoolean;
|
331
|
+
scannedAt: z.ZodNullable<z.ZodString>;
|
312
332
|
created_at: z.ZodString;
|
313
333
|
updated_at: z.ZodString;
|
314
334
|
event: z.ZodObject<{
|
@@ -443,11 +463,13 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
443
463
|
fullName: string;
|
444
464
|
mail: string;
|
445
465
|
eventId: string;
|
446
|
-
|
466
|
+
status: "BOOKED" | "PAID" | "FREE";
|
447
467
|
seat: number | null;
|
468
|
+
dni: string;
|
448
469
|
created_at: string;
|
449
470
|
updated_at: string;
|
450
|
-
|
471
|
+
scanned: boolean;
|
472
|
+
scannedAt: string | null;
|
451
473
|
}, {
|
452
474
|
event: {
|
453
475
|
location: string;
|
@@ -485,11 +507,13 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
485
507
|
fullName: string;
|
486
508
|
mail: string;
|
487
509
|
eventId: string;
|
488
|
-
|
510
|
+
status: "BOOKED" | "PAID" | "FREE";
|
489
511
|
seat: number | null;
|
512
|
+
dni: string;
|
490
513
|
created_at: string;
|
491
514
|
updated_at: string;
|
492
|
-
|
515
|
+
scanned: boolean;
|
516
|
+
scannedAt: string | null;
|
493
517
|
}>, "many">;
|
494
518
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
495
519
|
tickets: {
|
@@ -529,11 +553,13 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
529
553
|
fullName: string;
|
530
554
|
mail: string;
|
531
555
|
eventId: string;
|
532
|
-
|
556
|
+
status: "BOOKED" | "PAID" | "FREE";
|
533
557
|
seat: number | null;
|
558
|
+
dni: string;
|
534
559
|
created_at: string;
|
535
560
|
updated_at: string;
|
536
|
-
|
561
|
+
scanned: boolean;
|
562
|
+
scannedAt: string | null;
|
537
563
|
}[];
|
538
564
|
}, {
|
539
565
|
tickets: {
|
@@ -573,11 +599,13 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
573
599
|
fullName: string;
|
574
600
|
mail: string;
|
575
601
|
eventId: string;
|
576
|
-
|
602
|
+
status: "BOOKED" | "PAID" | "FREE";
|
577
603
|
seat: number | null;
|
604
|
+
dni: string;
|
578
605
|
created_at: string;
|
579
606
|
updated_at: string;
|
580
|
-
|
607
|
+
scanned: boolean;
|
608
|
+
scannedAt: string | null;
|
581
609
|
}[];
|
582
610
|
}>>;
|
583
611
|
export declare class FindByMailTicketResponseDto extends FindByMailTicketResponseDto_base {
|