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

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
@@ -8,17 +8,13 @@ export declare const findByProfileIdTicketResponseSchema: 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
- }>;
16
11
  fullName: z.ZodString;
17
12
  mail: z.ZodString;
18
13
  dni: z.ZodString;
19
14
  seat: z.ZodNullable<z.ZodNumber>;
20
15
  scanned: z.ZodBoolean;
21
16
  scannedAt: z.ZodNullable<z.ZodDate>;
17
+ ticketGroupId: z.ZodNullable<z.ZodString>;
22
18
  created_at: z.ZodDate;
23
19
  updated_at: z.ZodDate;
24
20
  }, {
@@ -86,13 +82,13 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
86
82
  fullName: string;
87
83
  mail: string;
88
84
  eventId: string;
89
- status: "BOOKED" | "PAID" | "FREE";
90
- seat: number | null;
91
85
  dni: string;
86
+ seat: number | null;
92
87
  created_at: Date;
93
88
  updated_at: Date;
94
89
  scanned: boolean;
95
90
  scannedAt: Date | null;
91
+ ticketGroupId: string | null;
96
92
  }, {
97
93
  event: {
98
94
  location: string;
@@ -114,13 +110,13 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
114
110
  fullName: string;
115
111
  mail: string;
116
112
  eventId: string;
117
- status: "BOOKED" | "PAID" | "FREE";
118
- seat: number | null;
119
113
  dni: string;
114
+ seat: number | null;
120
115
  created_at: Date;
121
116
  updated_at: Date;
122
117
  scanned: boolean;
123
118
  scannedAt: Date | null;
119
+ ticketGroupId: string | null;
124
120
  }>, "many">;
125
121
  }, "strip", z.ZodTypeAny, {
126
122
  tickets: {
@@ -144,13 +140,13 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
144
140
  fullName: string;
145
141
  mail: string;
146
142
  eventId: string;
147
- status: "BOOKED" | "PAID" | "FREE";
148
- seat: number | null;
149
143
  dni: string;
144
+ seat: number | null;
150
145
  created_at: Date;
151
146
  updated_at: Date;
152
147
  scanned: boolean;
153
148
  scannedAt: Date | null;
149
+ ticketGroupId: string | null;
154
150
  }[];
155
151
  }, {
156
152
  tickets: {
@@ -174,13 +170,13 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
174
170
  fullName: string;
175
171
  mail: string;
176
172
  eventId: string;
177
- status: "BOOKED" | "PAID" | "FREE";
178
- seat: number | null;
179
173
  dni: string;
174
+ seat: number | null;
180
175
  created_at: Date;
181
176
  updated_at: Date;
182
177
  scanned: boolean;
183
178
  scannedAt: Date | null;
179
+ ticketGroupId: string | null;
184
180
  }[];
185
181
  }>;
186
182
  declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -192,17 +188,13 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
192
188
  STAFF: "STAFF";
193
189
  SPECTATOR: "SPECTATOR";
194
190
  }>;
195
- status: z.ZodNativeEnum<{
196
- BOOKED: "BOOKED";
197
- PAID: "PAID";
198
- FREE: "FREE";
199
- }>;
200
191
  fullName: z.ZodString;
201
192
  mail: z.ZodString;
202
193
  dni: z.ZodString;
203
194
  seat: z.ZodNullable<z.ZodNumber>;
204
195
  scanned: z.ZodBoolean;
205
196
  scannedAt: z.ZodNullable<z.ZodString>;
197
+ ticketGroupId: z.ZodNullable<z.ZodString>;
206
198
  created_at: z.ZodString;
207
199
  updated_at: z.ZodString;
208
200
  event: z.ZodObject<{
@@ -269,13 +261,13 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
269
261
  fullName: string;
270
262
  mail: string;
271
263
  eventId: string;
272
- status: "BOOKED" | "PAID" | "FREE";
273
- seat: number | null;
274
264
  dni: string;
265
+ seat: number | null;
275
266
  created_at: string;
276
267
  updated_at: string;
277
268
  scanned: boolean;
278
269
  scannedAt: string | null;
270
+ ticketGroupId: string | null;
279
271
  }, {
280
272
  event: {
281
273
  location: string;
@@ -297,13 +289,13 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
297
289
  fullName: string;
298
290
  mail: string;
299
291
  eventId: string;
300
- status: "BOOKED" | "PAID" | "FREE";
301
- seat: number | null;
302
292
  dni: string;
293
+ seat: number | null;
303
294
  created_at: string;
304
295
  updated_at: string;
305
296
  scanned: boolean;
306
297
  scannedAt: string | null;
298
+ ticketGroupId: string | null;
307
299
  }>, "many">;
308
300
  }, z.UnknownKeysParam, z.ZodTypeAny, {
309
301
  tickets: {
@@ -327,13 +319,13 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
327
319
  fullName: string;
328
320
  mail: string;
329
321
  eventId: string;
330
- status: "BOOKED" | "PAID" | "FREE";
331
- seat: number | null;
332
322
  dni: string;
323
+ seat: number | null;
333
324
  created_at: string;
334
325
  updated_at: string;
335
326
  scanned: boolean;
336
327
  scannedAt: string | null;
328
+ ticketGroupId: string | null;
337
329
  }[];
338
330
  }, {
339
331
  tickets: {
@@ -357,13 +349,13 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
357
349
  fullName: string;
358
350
  mail: string;
359
351
  eventId: string;
360
- status: "BOOKED" | "PAID" | "FREE";
361
- seat: number | null;
362
352
  dni: string;
353
+ seat: number | null;
363
354
  created_at: string;
364
355
  updated_at: string;
365
356
  scanned: boolean;
366
357
  scannedAt: string | null;
358
+ ticketGroupId: string | null;
367
359
  }[];
368
360
  }>>;
369
361
  export declare class FindByProfileIdTicketResponseDto extends FindByProfileIdTicketResponseDto_base {
@@ -6,17 +6,13 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
6
6
  STAFF: "STAFF";
7
7
  SPECTATOR: "SPECTATOR";
8
8
  }>;
9
- status: import("zod").ZodNativeEnum<{
10
- BOOKED: "BOOKED";
11
- PAID: "PAID";
12
- FREE: "FREE";
13
- }>;
14
9
  fullName: import("zod").ZodString;
15
10
  mail: import("zod").ZodString;
16
11
  dni: import("zod").ZodString;
17
12
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
18
13
  scanned: import("zod").ZodBoolean;
19
14
  scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15
+ ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
20
16
  created_at: import("zod").ZodDate;
21
17
  updated_at: import("zod").ZodDate;
22
18
  }, "strip", import("zod").ZodTypeAny, {
@@ -25,26 +21,26 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
25
21
  fullName: string;
26
22
  mail: string;
27
23
  eventId: string;
28
- status: "BOOKED" | "PAID" | "FREE";
29
- seat: number | null;
30
24
  dni: string;
25
+ seat: number | null;
31
26
  created_at: Date;
32
27
  updated_at: Date;
33
28
  scanned: boolean;
34
29
  scannedAt: Date | null;
30
+ ticketGroupId: string | null;
35
31
  }, {
36
32
  id: string;
37
33
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
38
34
  fullName: string;
39
35
  mail: string;
40
36
  eventId: string;
41
- status: "BOOKED" | "PAID" | "FREE";
42
- seat: number | null;
43
37
  dni: string;
38
+ seat: number | null;
44
39
  created_at: Date;
45
40
  updated_at: Date;
46
41
  scanned: boolean;
47
42
  scannedAt: Date | null;
43
+ ticketGroupId: string | null;
48
44
  }>;
49
45
  declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
50
46
  id: import("zod").ZodString;
@@ -54,17 +50,13 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
54
50
  STAFF: "STAFF";
55
51
  SPECTATOR: "SPECTATOR";
56
52
  }>;
57
- status: import("zod").ZodNativeEnum<{
58
- BOOKED: "BOOKED";
59
- PAID: "PAID";
60
- FREE: "FREE";
61
- }>;
62
53
  fullName: import("zod").ZodString;
63
54
  mail: import("zod").ZodString;
64
55
  dni: import("zod").ZodString;
65
56
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
66
57
  scanned: import("zod").ZodBoolean;
67
58
  scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
59
+ ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
68
60
  created_at: import("zod").ZodString;
69
61
  updated_at: import("zod").ZodString;
70
62
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
@@ -73,26 +65,26 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
73
65
  fullName: string;
74
66
  mail: string;
75
67
  eventId: string;
76
- status: "BOOKED" | "PAID" | "FREE";
77
- seat: number | null;
78
68
  dni: string;
69
+ seat: number | null;
79
70
  created_at: string;
80
71
  updated_at: string;
81
72
  scanned: boolean;
82
73
  scannedAt: string | null;
74
+ ticketGroupId: string | null;
83
75
  }, {
84
76
  id: string;
85
77
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
86
78
  fullName: string;
87
79
  mail: string;
88
80
  eventId: string;
89
- status: "BOOKED" | "PAID" | "FREE";
90
- seat: number | null;
91
81
  dni: string;
82
+ seat: number | null;
92
83
  created_at: string;
93
84
  updated_at: string;
94
85
  scanned: boolean;
95
86
  scannedAt: string | null;
87
+ ticketGroupId: string | null;
96
88
  }>>;
97
89
  export declare class FindTicketResponseDto extends FindTicketResponseDto_base {
98
90
  }
@@ -1,6 +1,6 @@
1
1
  import z from 'zod';
2
- export declare const generatePdfResponseSchema: z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>;
3
- declare const GeneratePdfResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer<ArrayBufferLike>, z.ZodTypeDef, Buffer<ArrayBufferLike>>>;
2
+ export declare const generatePdfResponseSchema: z.ZodType<Buffer, z.ZodTypeDef, Buffer>;
3
+ declare const GeneratePdfResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer, z.ZodTypeDef, Buffer>>;
4
4
  export declare class GeneratePdfResponseDto extends GeneratePdfResponseDto_base {
5
5
  }
6
6
  export {};
@@ -7,17 +7,13 @@ export declare const ticketSchema: z.ZodObject<{
7
7
  STAFF: "STAFF";
8
8
  SPECTATOR: "SPECTATOR";
9
9
  }>;
10
- status: z.ZodNativeEnum<{
11
- BOOKED: "BOOKED";
12
- PAID: "PAID";
13
- FREE: "FREE";
14
- }>;
15
10
  fullName: z.ZodString;
16
11
  mail: z.ZodString;
17
12
  dni: z.ZodString;
18
13
  seat: z.ZodNullable<z.ZodNumber>;
19
14
  scanned: z.ZodBoolean;
20
15
  scannedAt: z.ZodNullable<z.ZodDate>;
16
+ ticketGroupId: z.ZodNullable<z.ZodString>;
21
17
  created_at: z.ZodDate;
22
18
  updated_at: z.ZodDate;
23
19
  }, "strip", z.ZodTypeAny, {
@@ -26,26 +22,26 @@ export declare const ticketSchema: z.ZodObject<{
26
22
  fullName: string;
27
23
  mail: string;
28
24
  eventId: string;
29
- status: "BOOKED" | "PAID" | "FREE";
30
- seat: number | null;
31
25
  dni: string;
26
+ seat: number | null;
32
27
  created_at: Date;
33
28
  updated_at: Date;
34
29
  scanned: boolean;
35
30
  scannedAt: Date | null;
31
+ ticketGroupId: string | null;
36
32
  }, {
37
33
  id: string;
38
34
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
39
35
  fullName: string;
40
36
  mail: string;
41
37
  eventId: string;
42
- status: "BOOKED" | "PAID" | "FREE";
43
- seat: number | null;
44
38
  dni: string;
39
+ seat: number | null;
45
40
  created_at: Date;
46
41
  updated_at: Date;
47
42
  scanned: boolean;
48
43
  scannedAt: Date | null;
44
+ ticketGroupId: string | null;
49
45
  }>;
50
46
  declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
51
47
  id: z.ZodString;
@@ -55,17 +51,13 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
55
51
  STAFF: "STAFF";
56
52
  SPECTATOR: "SPECTATOR";
57
53
  }>;
58
- status: z.ZodNativeEnum<{
59
- BOOKED: "BOOKED";
60
- PAID: "PAID";
61
- FREE: "FREE";
62
- }>;
63
54
  fullName: z.ZodString;
64
55
  mail: z.ZodString;
65
56
  dni: z.ZodString;
66
57
  seat: z.ZodNullable<z.ZodNumber>;
67
58
  scanned: z.ZodBoolean;
68
59
  scannedAt: z.ZodNullable<z.ZodString>;
60
+ ticketGroupId: z.ZodNullable<z.ZodString>;
69
61
  created_at: z.ZodString;
70
62
  updated_at: z.ZodString;
71
63
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -74,26 +66,26 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
74
66
  fullName: string;
75
67
  mail: string;
76
68
  eventId: string;
77
- status: "BOOKED" | "PAID" | "FREE";
78
- seat: number | null;
79
69
  dni: string;
70
+ seat: number | null;
80
71
  created_at: string;
81
72
  updated_at: string;
82
73
  scanned: boolean;
83
74
  scannedAt: string | null;
75
+ ticketGroupId: string | null;
84
76
  }, {
85
77
  id: string;
86
78
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
87
79
  fullName: string;
88
80
  mail: string;
89
81
  eventId: string;
90
- status: "BOOKED" | "PAID" | "FREE";
91
- seat: number | null;
92
82
  dni: string;
83
+ seat: number | null;
93
84
  created_at: string;
94
85
  updated_at: string;
95
86
  scanned: boolean;
96
87
  scannedAt: string | null;
88
+ ticketGroupId: string | null;
97
89
  }>>;
98
90
  export declare class TicketDto extends TicketDto_base {
99
91
  }
@@ -7,6 +7,7 @@ exports.TicketDto = exports.ticketSchema = void 0;
7
7
  const event_dto_1 = require("../../event/dto/event.dto");
8
8
  const translate_1 = require("../../i18n/translate");
9
9
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
+ const ticket_group_dto_1 = require("../../ticket-group/dto/ticket-group.dto");
10
11
  const zod_1 = __importDefault(require("zod"));
11
12
  const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
12
13
  exports.ticketSchema = zod_1.default.object({
@@ -15,15 +16,13 @@ exports.ticketSchema = zod_1.default.object({
15
16
  type: zod_1.default.nativeEnum(prisma_schema_1.TicketType, {
16
17
  message: (0, translate_1.translate)('model.ticket.type.invalid'),
17
18
  }),
18
- status: zod_1.default.nativeEnum(prisma_schema_1.TicketStatus, {
19
- message: (0, translate_1.translate)('model.ticket.status.invalid'),
20
- }),
21
19
  fullName: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.fullName.required')),
22
20
  mail: zod_1.default.string().email((0, translate_1.translate)('model.ticket.mail.email')),
23
21
  dni: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.dni.required')),
24
22
  seat: zod_1.default.number().min(1, (0, translate_1.translate)('model.ticket.seat.required')).nullable(),
25
23
  scanned: zod_1.default.boolean(),
26
24
  scannedAt: zod_1.default.date().nullable(),
25
+ ticketGroupId: ticket_group_dto_1.ticketGroupSchema.shape.id.nullable(),
27
26
  created_at: zod_1.default.date(),
28
27
  updated_at: zod_1.default.date(),
29
28
  });
@@ -6,21 +6,20 @@ export declare const updateTicketSchema: import("zod").ZodObject<{
6
6
  }>>;
7
7
  fullName: import("zod").ZodOptional<import("zod").ZodString>;
8
8
  mail: import("zod").ZodOptional<import("zod").ZodString>;
9
- status: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
10
- BOOKED: "BOOKED";
11
- PAID: "PAID";
12
- FREE: "FREE";
13
- }>>;
9
+ dni: import("zod").ZodOptional<import("zod").ZodString>;
10
+ ticketGroupId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
14
11
  }, "strip", import("zod").ZodTypeAny, {
15
12
  type?: "STAFF" | "SPECTATOR" | "PARTICIPANT" | undefined;
16
13
  fullName?: string | undefined;
17
14
  mail?: string | undefined;
18
- status?: "BOOKED" | "PAID" | "FREE" | undefined;
15
+ dni?: string | undefined;
16
+ ticketGroupId?: string | null | undefined;
19
17
  }, {
20
18
  type?: "STAFF" | "SPECTATOR" | "PARTICIPANT" | undefined;
21
19
  fullName?: string | undefined;
22
20
  mail?: string | undefined;
23
- status?: "BOOKED" | "PAID" | "FREE" | undefined;
21
+ dni?: string | undefined;
22
+ ticketGroupId?: string | null | undefined;
24
23
  }>;
25
24
  declare const UpdateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
26
25
  type: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
@@ -30,21 +29,20 @@ declare const UpdateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
30
29
  }>>;
31
30
  fullName: import("zod").ZodOptional<import("zod").ZodString>;
32
31
  mail: import("zod").ZodOptional<import("zod").ZodString>;
33
- status: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
34
- BOOKED: "BOOKED";
35
- PAID: "PAID";
36
- FREE: "FREE";
37
- }>>;
32
+ dni: import("zod").ZodOptional<import("zod").ZodString>;
33
+ ticketGroupId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
38
34
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
39
35
  type?: "STAFF" | "SPECTATOR" | "PARTICIPANT" | undefined;
40
36
  fullName?: string | undefined;
41
37
  mail?: string | undefined;
42
- status?: "BOOKED" | "PAID" | "FREE" | undefined;
38
+ dni?: string | undefined;
39
+ ticketGroupId?: string | null | undefined;
43
40
  }, {
44
41
  type?: "STAFF" | "SPECTATOR" | "PARTICIPANT" | undefined;
45
42
  fullName?: string | undefined;
46
43
  mail?: string | undefined;
47
- status?: "BOOKED" | "PAID" | "FREE" | undefined;
44
+ dni?: string | undefined;
45
+ ticketGroupId?: string | null | undefined;
48
46
  }>>;
49
47
  export declare class UpdateTicketDto extends UpdateTicketDto_base {
50
48
  }
@@ -56,17 +54,13 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
56
54
  STAFF: "STAFF";
57
55
  SPECTATOR: "SPECTATOR";
58
56
  }>;
59
- status: import("zod").ZodNativeEnum<{
60
- BOOKED: "BOOKED";
61
- PAID: "PAID";
62
- FREE: "FREE";
63
- }>;
64
57
  fullName: import("zod").ZodString;
65
58
  mail: import("zod").ZodString;
66
59
  dni: import("zod").ZodString;
67
60
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
68
61
  scanned: import("zod").ZodBoolean;
69
62
  scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
63
+ ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
70
64
  created_at: import("zod").ZodDate;
71
65
  updated_at: import("zod").ZodDate;
72
66
  }, "strip", import("zod").ZodTypeAny, {
@@ -75,26 +69,26 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
75
69
  fullName: string;
76
70
  mail: string;
77
71
  eventId: string;
78
- status: "BOOKED" | "PAID" | "FREE";
79
- seat: number | null;
80
72
  dni: string;
73
+ seat: number | null;
81
74
  created_at: Date;
82
75
  updated_at: Date;
83
76
  scanned: boolean;
84
77
  scannedAt: Date | null;
78
+ ticketGroupId: string | null;
85
79
  }, {
86
80
  id: string;
87
81
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
88
82
  fullName: string;
89
83
  mail: string;
90
84
  eventId: string;
91
- status: "BOOKED" | "PAID" | "FREE";
92
- seat: number | null;
93
85
  dni: string;
86
+ seat: number | null;
94
87
  created_at: Date;
95
88
  updated_at: Date;
96
89
  scanned: boolean;
97
90
  scannedAt: Date | null;
91
+ ticketGroupId: string | null;
98
92
  }>;
99
93
  declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
100
94
  id: import("zod").ZodString;
@@ -104,17 +98,13 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
104
98
  STAFF: "STAFF";
105
99
  SPECTATOR: "SPECTATOR";
106
100
  }>;
107
- status: import("zod").ZodNativeEnum<{
108
- BOOKED: "BOOKED";
109
- PAID: "PAID";
110
- FREE: "FREE";
111
- }>;
112
101
  fullName: import("zod").ZodString;
113
102
  mail: import("zod").ZodString;
114
103
  dni: import("zod").ZodString;
115
104
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
116
105
  scanned: import("zod").ZodBoolean;
117
106
  scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
107
+ ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
118
108
  created_at: import("zod").ZodString;
119
109
  updated_at: import("zod").ZodString;
120
110
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
@@ -123,26 +113,26 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
123
113
  fullName: string;
124
114
  mail: string;
125
115
  eventId: string;
126
- status: "BOOKED" | "PAID" | "FREE";
127
- seat: number | null;
128
116
  dni: string;
117
+ seat: number | null;
129
118
  created_at: string;
130
119
  updated_at: string;
131
120
  scanned: boolean;
132
121
  scannedAt: string | null;
122
+ ticketGroupId: string | null;
133
123
  }, {
134
124
  id: string;
135
125
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
136
126
  fullName: string;
137
127
  mail: string;
138
128
  eventId: string;
139
- status: "BOOKED" | "PAID" | "FREE";
140
- seat: number | null;
141
129
  dni: string;
130
+ seat: number | null;
142
131
  created_at: string;
143
132
  updated_at: string;
144
133
  scanned: boolean;
145
134
  scannedAt: string | null;
135
+ ticketGroupId: string | null;
146
136
  }>>;
147
137
  export declare class UpdateTicketResponseDto extends UpdateTicketResponseDto_base {
148
138
  }
@@ -6,9 +6,10 @@ const ticket_dto_1 = require("./ticket.dto");
6
6
  exports.updateTicketSchema = ticket_dto_1.ticketSchema
7
7
  .pick({
8
8
  type: true,
9
- status: true,
10
9
  fullName: true,
11
10
  mail: true,
11
+ dni: true,
12
+ ticketGroupId: true,
12
13
  })
13
14
  .partial();
14
15
  class UpdateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTicketSchema) {