expo-backend-types 0.39.0 → 0.40.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.
Files changed (47) hide show
  1. package/dist/src/csv/dto/download-all-tables.dto.d.ts +0 -1
  2. package/dist/src/event/dto/get-by-id-event.dto.d.ts +20 -0
  3. package/dist/src/exports.d.ts +1 -0
  4. package/dist/src/exports.js +1 -0
  5. package/dist/src/i18n/es.d.ts +8 -0
  6. package/dist/src/i18n/es.js +54 -143
  7. package/dist/src/i18n/es.js.map +1 -1
  8. package/dist/src/i18n/translate.js +2 -2
  9. package/dist/src/i18n/translate.js.map +1 -1
  10. package/dist/src/image/dto/update-image.dto.d.ts +0 -1
  11. package/dist/src/mercadopago/dto/create-preference-mercadopago.dto.d.ts +74 -0
  12. package/dist/src/mercadopago/dto/create-preference-mercadopago.dto.js +21 -0
  13. package/dist/src/mercadopago/dto/webhook-mercadopago.dto.d.ts +80 -0
  14. package/dist/src/mercadopago/dto/webhook-mercadopago.dto.js +24 -0
  15. package/dist/src/mercadopago/exports.d.ts +2 -0
  16. package/dist/src/mercadopago/exports.js +19 -0
  17. package/dist/src/schema/profile.schema.js +17 -7
  18. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +1 -2
  19. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -1
  20. package/dist/src/ticket/constants.js +1 -2
  21. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +28 -0
  22. package/dist/src/ticket/dto/create-ticket.dto.d.ts +14 -0
  23. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +12 -0
  24. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +20 -0
  25. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +20 -0
  26. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +20 -0
  27. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +20 -0
  28. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +20 -0
  29. package/dist/src/ticket/dto/find-ticket.dto.d.ts +12 -0
  30. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +0 -1
  31. package/dist/src/ticket/dto/scan-ticket.dto.d.ts +34 -0
  32. package/dist/src/ticket/dto/scan-ticket.dto.js +21 -0
  33. package/dist/src/ticket/dto/ticket.dto.d.ts +12 -0
  34. package/dist/src/ticket/dto/ticket.dto.js +2 -0
  35. package/dist/src/ticket/dto/update-ticket.dto.d.ts +12 -0
  36. package/dist/src/ticket/exports.d.ts +1 -0
  37. package/dist/src/ticket/exports.js +1 -0
  38. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +20 -0
  39. package/dist/types/prisma-schema/edge.js +5 -3
  40. package/dist/types/prisma-schema/index-browser.js +2 -0
  41. package/dist/types/prisma-schema/index.d.ts +97 -1
  42. package/dist/types/prisma-schema/index.js +5 -3
  43. package/dist/types/prisma-schema/package.json +1 -1
  44. package/dist/types/prisma-schema/schema.prisma +3 -1
  45. package/dist/types/prisma-schema/wasm.js +2 -0
  46. package/dist/types/schema.d.ts +85 -0
  47. package/package.json +15 -15
@@ -12,6 +12,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
12
12
  mail: z.ZodString;
13
13
  dni: z.ZodString;
14
14
  seat: z.ZodNullable<z.ZodNumber>;
15
+ scanned: z.ZodBoolean;
16
+ scannedAt: z.ZodNullable<z.ZodDate>;
15
17
  ticketGroupId: z.ZodNullable<z.ZodString>;
16
18
  created_at: z.ZodDate;
17
19
  updated_at: z.ZodDate;
@@ -194,6 +196,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
194
196
  created_at: Date;
195
197
  updated_at: Date;
196
198
  profileId: string | null;
199
+ scanned: boolean;
200
+ scannedAt: Date | null;
197
201
  ticketGroupId: string | null;
198
202
  }, {
199
203
  event: {
@@ -247,6 +251,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
247
251
  created_at: Date;
248
252
  updated_at: Date;
249
253
  profileId: string | null;
254
+ scanned: boolean;
255
+ scannedAt: Date | null;
250
256
  ticketGroupId: string | null;
251
257
  }>;
252
258
  }, "strip", z.ZodTypeAny, {
@@ -302,6 +308,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
302
308
  created_at: Date;
303
309
  updated_at: Date;
304
310
  profileId: string | null;
311
+ scanned: boolean;
312
+ scannedAt: Date | null;
305
313
  ticketGroupId: string | null;
306
314
  };
307
315
  }, {
@@ -357,6 +365,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
357
365
  created_at: Date;
358
366
  updated_at: Date;
359
367
  profileId: string | null;
368
+ scanned: boolean;
369
+ scannedAt: Date | null;
360
370
  ticketGroupId: string | null;
361
371
  };
362
372
  }>;
@@ -373,6 +383,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
373
383
  mail: z.ZodString;
374
384
  dni: z.ZodString;
375
385
  seat: z.ZodNullable<z.ZodNumber>;
386
+ scanned: z.ZodBoolean;
387
+ scannedAt: z.ZodNullable<z.ZodString>;
376
388
  ticketGroupId: z.ZodNullable<z.ZodString>;
377
389
  created_at: z.ZodString;
378
390
  updated_at: z.ZodString;
@@ -554,6 +566,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
554
566
  created_at: string;
555
567
  updated_at: string;
556
568
  profileId: string | null;
569
+ scanned: boolean;
570
+ scannedAt: string | null;
557
571
  ticketGroupId: string | null;
558
572
  }, {
559
573
  event: {
@@ -607,6 +621,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
607
621
  created_at: string;
608
622
  updated_at: string;
609
623
  profileId: string | null;
624
+ scanned: boolean;
625
+ scannedAt: string | null;
610
626
  ticketGroupId: string | null;
611
627
  }>;
612
628
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -662,6 +678,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
662
678
  created_at: string;
663
679
  updated_at: string;
664
680
  profileId: string | null;
681
+ scanned: boolean;
682
+ scannedAt: string | null;
665
683
  ticketGroupId: string | null;
666
684
  };
667
685
  }, {
@@ -717,6 +735,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
717
735
  created_at: string;
718
736
  updated_at: string;
719
737
  profileId: string | null;
738
+ scanned: boolean;
739
+ scannedAt: string | null;
720
740
  ticketGroupId: string | null;
721
741
  };
722
742
  }>>;
@@ -12,6 +12,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
12
12
  mail: z.ZodString;
13
13
  dni: z.ZodString;
14
14
  seat: z.ZodNullable<z.ZodNumber>;
15
+ scanned: z.ZodBoolean;
16
+ scannedAt: z.ZodNullable<z.ZodDate>;
15
17
  ticketGroupId: z.ZodNullable<z.ZodString>;
16
18
  created_at: z.ZodDate;
17
19
  updated_at: z.ZodDate;
@@ -162,6 +164,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
162
164
  seat: number | null;
163
165
  created_at: Date;
164
166
  updated_at: Date;
167
+ scanned: boolean;
168
+ scannedAt: Date | null;
165
169
  ticketGroupId: string | null;
166
170
  }, {
167
171
  event: {
@@ -204,6 +208,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
204
208
  seat: number | null;
205
209
  created_at: Date;
206
210
  updated_at: Date;
211
+ scanned: boolean;
212
+ scannedAt: Date | null;
207
213
  ticketGroupId: string | null;
208
214
  }>, "many">;
209
215
  }, "strip", z.ZodTypeAny, {
@@ -248,6 +254,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
248
254
  seat: number | null;
249
255
  created_at: Date;
250
256
  updated_at: Date;
257
+ scanned: boolean;
258
+ scannedAt: Date | null;
251
259
  ticketGroupId: string | null;
252
260
  }[];
253
261
  }, {
@@ -292,6 +300,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
292
300
  seat: number | null;
293
301
  created_at: Date;
294
302
  updated_at: Date;
303
+ scanned: boolean;
304
+ scannedAt: Date | null;
295
305
  ticketGroupId: string | null;
296
306
  }[];
297
307
  }>;
@@ -308,6 +318,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
308
318
  mail: z.ZodString;
309
319
  dni: z.ZodString;
310
320
  seat: z.ZodNullable<z.ZodNumber>;
321
+ scanned: z.ZodBoolean;
322
+ scannedAt: z.ZodNullable<z.ZodString>;
311
323
  ticketGroupId: z.ZodNullable<z.ZodString>;
312
324
  created_at: z.ZodString;
313
325
  updated_at: z.ZodString;
@@ -447,6 +459,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
447
459
  seat: number | null;
448
460
  created_at: string;
449
461
  updated_at: string;
462
+ scanned: boolean;
463
+ scannedAt: string | null;
450
464
  ticketGroupId: string | null;
451
465
  }, {
452
466
  event: {
@@ -489,6 +503,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
489
503
  seat: number | null;
490
504
  created_at: string;
491
505
  updated_at: string;
506
+ scanned: boolean;
507
+ scannedAt: string | null;
492
508
  ticketGroupId: string | null;
493
509
  }>, "many">;
494
510
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -533,6 +549,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
533
549
  seat: number | null;
534
550
  created_at: string;
535
551
  updated_at: string;
552
+ scanned: boolean;
553
+ scannedAt: string | null;
536
554
  ticketGroupId: string | null;
537
555
  }[];
538
556
  }, {
@@ -577,6 +595,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
577
595
  seat: number | null;
578
596
  created_at: string;
579
597
  updated_at: string;
598
+ scanned: boolean;
599
+ scannedAt: string | null;
580
600
  ticketGroupId: string | null;
581
601
  }[];
582
602
  }>>;
@@ -12,6 +12,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
12
12
  mail: z.ZodString;
13
13
  dni: z.ZodString;
14
14
  seat: z.ZodNullable<z.ZodNumber>;
15
+ scanned: z.ZodBoolean;
16
+ scannedAt: z.ZodNullable<z.ZodDate>;
15
17
  ticketGroupId: z.ZodNullable<z.ZodString>;
16
18
  created_at: z.ZodDate;
17
19
  updated_at: z.ZodDate;
@@ -84,6 +86,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
84
86
  seat: number | null;
85
87
  created_at: Date;
86
88
  updated_at: Date;
89
+ scanned: boolean;
90
+ scannedAt: Date | null;
87
91
  ticketGroupId: string | null;
88
92
  }, {
89
93
  event: {
@@ -110,6 +114,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
110
114
  seat: number | null;
111
115
  created_at: Date;
112
116
  updated_at: Date;
117
+ scanned: boolean;
118
+ scannedAt: Date | null;
113
119
  ticketGroupId: string | null;
114
120
  }>, "many">;
115
121
  }, "strip", z.ZodTypeAny, {
@@ -138,6 +144,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
138
144
  seat: number | null;
139
145
  created_at: Date;
140
146
  updated_at: Date;
147
+ scanned: boolean;
148
+ scannedAt: Date | null;
141
149
  ticketGroupId: string | null;
142
150
  }[];
143
151
  }, {
@@ -166,6 +174,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
166
174
  seat: number | null;
167
175
  created_at: Date;
168
176
  updated_at: Date;
177
+ scanned: boolean;
178
+ scannedAt: Date | null;
169
179
  ticketGroupId: string | null;
170
180
  }[];
171
181
  }>;
@@ -182,6 +192,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
182
192
  mail: z.ZodString;
183
193
  dni: z.ZodString;
184
194
  seat: z.ZodNullable<z.ZodNumber>;
195
+ scanned: z.ZodBoolean;
196
+ scannedAt: z.ZodNullable<z.ZodString>;
185
197
  ticketGroupId: z.ZodNullable<z.ZodString>;
186
198
  created_at: z.ZodString;
187
199
  updated_at: z.ZodString;
@@ -253,6 +265,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
253
265
  seat: number | null;
254
266
  created_at: string;
255
267
  updated_at: string;
268
+ scanned: boolean;
269
+ scannedAt: string | null;
256
270
  ticketGroupId: string | null;
257
271
  }, {
258
272
  event: {
@@ -279,6 +293,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
279
293
  seat: number | null;
280
294
  created_at: string;
281
295
  updated_at: string;
296
+ scanned: boolean;
297
+ scannedAt: string | null;
282
298
  ticketGroupId: string | null;
283
299
  }>, "many">;
284
300
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -307,6 +323,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
307
323
  seat: number | null;
308
324
  created_at: string;
309
325
  updated_at: string;
326
+ scanned: boolean;
327
+ scannedAt: string | null;
310
328
  ticketGroupId: string | null;
311
329
  }[];
312
330
  }, {
@@ -335,6 +353,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
335
353
  seat: number | null;
336
354
  created_at: string;
337
355
  updated_at: string;
356
+ scanned: boolean;
357
+ scannedAt: string | null;
338
358
  ticketGroupId: string | null;
339
359
  }[];
340
360
  }>>;
@@ -10,6 +10,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
10
10
  mail: import("zod").ZodString;
11
11
  dni: import("zod").ZodString;
12
12
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
13
+ scanned: import("zod").ZodBoolean;
14
+ scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
13
15
  ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
14
16
  created_at: import("zod").ZodDate;
15
17
  updated_at: import("zod").ZodDate;
@@ -23,6 +25,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
23
25
  seat: number | null;
24
26
  created_at: Date;
25
27
  updated_at: Date;
28
+ scanned: boolean;
29
+ scannedAt: Date | null;
26
30
  ticketGroupId: string | null;
27
31
  }, {
28
32
  id: string;
@@ -34,6 +38,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
34
38
  seat: number | null;
35
39
  created_at: Date;
36
40
  updated_at: Date;
41
+ scanned: boolean;
42
+ scannedAt: Date | null;
37
43
  ticketGroupId: string | null;
38
44
  }>;
39
45
  declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
@@ -48,6 +54,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
48
54
  mail: import("zod").ZodString;
49
55
  dni: import("zod").ZodString;
50
56
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
57
+ scanned: import("zod").ZodBoolean;
58
+ scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
51
59
  ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
52
60
  created_at: import("zod").ZodString;
53
61
  updated_at: import("zod").ZodString;
@@ -61,6 +69,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
61
69
  seat: number | null;
62
70
  created_at: string;
63
71
  updated_at: string;
72
+ scanned: boolean;
73
+ scannedAt: string | null;
64
74
  ticketGroupId: string | null;
65
75
  }, {
66
76
  id: string;
@@ -72,6 +82,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
72
82
  seat: number | null;
73
83
  created_at: string;
74
84
  updated_at: string;
85
+ scanned: boolean;
86
+ scannedAt: string | null;
75
87
  ticketGroupId: string | null;
76
88
  }>>;
77
89
  export declare class FindTicketResponseDto extends FindTicketResponseDto_base {
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import z from 'zod';
3
2
  export declare const generatePdfResponseSchema: z.ZodType<Buffer, z.ZodTypeDef, Buffer>;
4
3
  declare const GeneratePdfResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer, z.ZodTypeDef, Buffer>>;
@@ -0,0 +1,34 @@
1
+ import z from 'zod';
2
+ export declare const scanTicketSchema: z.ZodObject<{
3
+ ticketBarcode: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ ticketBarcode: string;
6
+ }, {
7
+ ticketBarcode: string;
8
+ }>;
9
+ declare const ScanTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
+ ticketBarcode: z.ZodString;
11
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
12
+ ticketBarcode: string;
13
+ }, {
14
+ ticketBarcode: string;
15
+ }>>;
16
+ export declare class ScanTicketDto extends ScanTicketDto_base {
17
+ }
18
+ export declare const scanTicketResponseSchema: z.ZodObject<{
19
+ success: z.ZodBoolean;
20
+ }, "strip", z.ZodTypeAny, {
21
+ success: boolean;
22
+ }, {
23
+ success: boolean;
24
+ }>;
25
+ declare const ScanTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
26
+ success: z.ZodBoolean;
27
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
28
+ success: boolean;
29
+ }, {
30
+ success: boolean;
31
+ }>>;
32
+ export declare class ScanTicketResponseDto extends ScanTicketResponseDto_base {
33
+ }
34
+ export {};
@@ -0,0 +1,21 @@
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.ScanTicketResponseDto = exports.scanTicketResponseSchema = exports.ScanTicketDto = exports.scanTicketSchema = 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
+ exports.scanTicketSchema = zod_1.default.object({
10
+ ticketBarcode: zod_1.default.string(),
11
+ });
12
+ class ScanTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketSchema) {
13
+ }
14
+ exports.ScanTicketDto = ScanTicketDto;
15
+ exports.scanTicketResponseSchema = zod_1.default.object({
16
+ success: zod_1.default.boolean(),
17
+ });
18
+ class ScanTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketResponseSchema) {
19
+ }
20
+ exports.ScanTicketResponseDto = ScanTicketResponseDto;
21
+ //# sourceMappingURL=scan-ticket.dto.js.map
@@ -11,6 +11,8 @@ export declare const ticketSchema: z.ZodObject<{
11
11
  mail: z.ZodString;
12
12
  dni: z.ZodString;
13
13
  seat: z.ZodNullable<z.ZodNumber>;
14
+ scanned: z.ZodBoolean;
15
+ scannedAt: z.ZodNullable<z.ZodDate>;
14
16
  ticketGroupId: z.ZodNullable<z.ZodString>;
15
17
  created_at: z.ZodDate;
16
18
  updated_at: z.ZodDate;
@@ -24,6 +26,8 @@ export declare const ticketSchema: z.ZodObject<{
24
26
  seat: number | null;
25
27
  created_at: Date;
26
28
  updated_at: Date;
29
+ scanned: boolean;
30
+ scannedAt: Date | null;
27
31
  ticketGroupId: string | null;
28
32
  }, {
29
33
  id: string;
@@ -35,6 +39,8 @@ export declare const ticketSchema: z.ZodObject<{
35
39
  seat: number | null;
36
40
  created_at: Date;
37
41
  updated_at: Date;
42
+ scanned: boolean;
43
+ scannedAt: Date | null;
38
44
  ticketGroupId: string | null;
39
45
  }>;
40
46
  declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -49,6 +55,8 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
49
55
  mail: z.ZodString;
50
56
  dni: z.ZodString;
51
57
  seat: z.ZodNullable<z.ZodNumber>;
58
+ scanned: z.ZodBoolean;
59
+ scannedAt: z.ZodNullable<z.ZodString>;
52
60
  ticketGroupId: z.ZodNullable<z.ZodString>;
53
61
  created_at: z.ZodString;
54
62
  updated_at: z.ZodString;
@@ -62,6 +70,8 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
62
70
  seat: number | null;
63
71
  created_at: string;
64
72
  updated_at: string;
73
+ scanned: boolean;
74
+ scannedAt: string | null;
65
75
  ticketGroupId: string | null;
66
76
  }, {
67
77
  id: string;
@@ -73,6 +83,8 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
73
83
  seat: number | null;
74
84
  created_at: string;
75
85
  updated_at: string;
86
+ scanned: boolean;
87
+ scannedAt: string | null;
76
88
  ticketGroupId: string | null;
77
89
  }>>;
78
90
  export declare class TicketDto extends TicketDto_base {
@@ -20,6 +20,8 @@ exports.ticketSchema = zod_1.default.object({
20
20
  mail: zod_1.default.string().email((0, translate_1.translate)('model.ticket.mail.email')),
21
21
  dni: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.dni.required')),
22
22
  seat: zod_1.default.number().min(1, (0, translate_1.translate)('model.ticket.seat.required')).nullable(),
23
+ scanned: zod_1.default.boolean(),
24
+ scannedAt: zod_1.default.date().nullable(),
23
25
  ticketGroupId: ticket_group_dto_1.ticketGroupSchema.shape.id.nullable(),
24
26
  created_at: zod_1.default.date(),
25
27
  updated_at: zod_1.default.date(),
@@ -58,6 +58,8 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
58
58
  mail: import("zod").ZodString;
59
59
  dni: import("zod").ZodString;
60
60
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
61
+ scanned: import("zod").ZodBoolean;
62
+ scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
61
63
  ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
62
64
  created_at: import("zod").ZodDate;
63
65
  updated_at: import("zod").ZodDate;
@@ -71,6 +73,8 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
71
73
  seat: number | null;
72
74
  created_at: Date;
73
75
  updated_at: Date;
76
+ scanned: boolean;
77
+ scannedAt: Date | null;
74
78
  ticketGroupId: string | null;
75
79
  }, {
76
80
  id: string;
@@ -82,6 +86,8 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
82
86
  seat: number | null;
83
87
  created_at: Date;
84
88
  updated_at: Date;
89
+ scanned: boolean;
90
+ scannedAt: Date | null;
85
91
  ticketGroupId: string | null;
86
92
  }>;
87
93
  declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
@@ -96,6 +102,8 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
96
102
  mail: import("zod").ZodString;
97
103
  dni: import("zod").ZodString;
98
104
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
105
+ scanned: import("zod").ZodBoolean;
106
+ scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
99
107
  ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
100
108
  created_at: import("zod").ZodString;
101
109
  updated_at: import("zod").ZodString;
@@ -109,6 +117,8 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
109
117
  seat: number | null;
110
118
  created_at: string;
111
119
  updated_at: string;
120
+ scanned: boolean;
121
+ scannedAt: string | null;
112
122
  ticketGroupId: string | null;
113
123
  }, {
114
124
  id: string;
@@ -120,6 +130,8 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
120
130
  seat: number | null;
121
131
  created_at: string;
122
132
  updated_at: string;
133
+ scanned: boolean;
134
+ scannedAt: string | null;
123
135
  ticketGroupId: string | null;
124
136
  }>>;
125
137
  export declare class UpdateTicketResponseDto extends UpdateTicketResponseDto_base {
@@ -7,5 +7,6 @@ export * from './dto/find-by-mail-ticket.dto';
7
7
  export * from './dto/find-by-profile-id-ticket.dto';
8
8
  export * from './dto/find-ticket.dto';
9
9
  export * from './dto/generate-pdf.dto';
10
+ export * from './dto/scan-ticket.dto';
10
11
  export * from './dto/ticket.dto';
11
12
  export * from './dto/update-ticket.dto';
@@ -23,6 +23,7 @@ __exportStar(require("./dto/find-by-mail-ticket.dto"), exports);
23
23
  __exportStar(require("./dto/find-by-profile-id-ticket.dto"), exports);
24
24
  __exportStar(require("./dto/find-ticket.dto"), exports);
25
25
  __exportStar(require("./dto/generate-pdf.dto"), exports);
26
+ __exportStar(require("./dto/scan-ticket.dto"), exports);
26
27
  __exportStar(require("./dto/ticket.dto"), exports);
27
28
  __exportStar(require("./dto/update-ticket.dto"), exports);
28
29
  //# sourceMappingURL=exports.js.map
@@ -62,6 +62,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
62
62
  mail: z.ZodString;
63
63
  dni: z.ZodString;
64
64
  seat: z.ZodNullable<z.ZodNumber>;
65
+ scanned: z.ZodBoolean;
66
+ scannedAt: z.ZodNullable<z.ZodDate>;
65
67
  ticketGroupId: z.ZodNullable<z.ZodString>;
66
68
  created_at: z.ZodDate;
67
69
  updated_at: z.ZodDate;
@@ -75,6 +77,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
75
77
  seat: number | null;
76
78
  created_at: Date;
77
79
  updated_at: Date;
80
+ scanned: boolean;
81
+ scannedAt: Date | null;
78
82
  ticketGroupId: string | null;
79
83
  }, {
80
84
  id: string;
@@ -86,6 +90,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
86
90
  seat: number | null;
87
91
  created_at: Date;
88
92
  updated_at: Date;
93
+ scanned: boolean;
94
+ scannedAt: Date | null;
89
95
  ticketGroupId: string | null;
90
96
  }>, "many">;
91
97
  event: z.ZodObject<{
@@ -163,6 +169,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
163
169
  seat: number | null;
164
170
  created_at: Date;
165
171
  updated_at: Date;
172
+ scanned: boolean;
173
+ scannedAt: Date | null;
166
174
  ticketGroupId: string | null;
167
175
  }[];
168
176
  }, {
@@ -197,6 +205,8 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
197
205
  seat: number | null;
198
206
  created_at: Date;
199
207
  updated_at: Date;
208
+ scanned: boolean;
209
+ scannedAt: Date | null;
200
210
  ticketGroupId: string | null;
201
211
  }[];
202
212
  }>;
@@ -223,6 +233,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
223
233
  mail: z.ZodString;
224
234
  dni: z.ZodString;
225
235
  seat: z.ZodNullable<z.ZodNumber>;
236
+ scanned: z.ZodBoolean;
237
+ scannedAt: z.ZodNullable<z.ZodString>;
226
238
  ticketGroupId: z.ZodNullable<z.ZodString>;
227
239
  created_at: z.ZodString;
228
240
  updated_at: z.ZodString;
@@ -236,6 +248,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
236
248
  seat: number | null;
237
249
  created_at: string;
238
250
  updated_at: string;
251
+ scanned: boolean;
252
+ scannedAt: string | null;
239
253
  ticketGroupId: string | null;
240
254
  }, {
241
255
  id: string;
@@ -247,6 +261,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
247
261
  seat: number | null;
248
262
  created_at: string;
249
263
  updated_at: string;
264
+ scanned: boolean;
265
+ scannedAt: string | null;
250
266
  ticketGroupId: string | null;
251
267
  }>, "many">;
252
268
  event: z.ZodObject<{
@@ -324,6 +340,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
324
340
  seat: number | null;
325
341
  created_at: string;
326
342
  updated_at: string;
343
+ scanned: boolean;
344
+ scannedAt: string | null;
327
345
  ticketGroupId: string | null;
328
346
  }[];
329
347
  }, {
@@ -358,6 +376,8 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
358
376
  seat: number | null;
359
377
  created_at: string;
360
378
  updated_at: string;
379
+ scanned: boolean;
380
+ scannedAt: string | null;
361
381
  ticketGroupId: string | null;
362
382
  }[];
363
383
  }>>;