expo-backend-types 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.11 → 0.36.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.13

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 (28) hide show
  1. package/dist/src/event/dto/get-by-id-event.dto.d.ts +10 -0
  2. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +27 -1
  3. package/dist/src/ticket/dto/create-many-ticket.dto.js +1 -0
  4. package/dist/src/ticket/dto/create-ticket.dto.d.ts +13 -1
  5. package/dist/src/ticket/dto/create-ticket.dto.js +1 -0
  6. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +6 -0
  7. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +10 -0
  8. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +10 -0
  9. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +10 -0
  10. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +10 -0
  11. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +10 -0
  12. package/dist/src/ticket/dto/find-ticket.dto.d.ts +6 -0
  13. package/dist/src/ticket/dto/ticket.dto.d.ts +6 -0
  14. package/dist/src/ticket/dto/ticket.dto.js +2 -0
  15. package/dist/src/ticket/dto/update-ticket.dto.d.ts +12 -0
  16. package/dist/src/ticket/dto/update-ticket.dto.js +1 -0
  17. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +10 -0
  18. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +7 -1
  19. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +3 -1
  20. package/dist/src/ticket-group/exports.d.ts +1 -0
  21. package/dist/src/ticket-group/exports.js +1 -0
  22. package/dist/types/prisma-schema/edge.js +3 -3
  23. package/dist/types/prisma-schema/index.d.ts +40 -61
  24. package/dist/types/prisma-schema/index.js +3 -3
  25. package/dist/types/prisma-schema/package.json +1 -1
  26. package/dist/types/prisma-schema/schema.prisma +2 -2
  27. package/dist/types/schema.d.ts +15 -0
  28. package/package.json +1 -1
@@ -10,6 +10,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
10
10
  }>;
11
11
  fullName: z.ZodString;
12
12
  mail: z.ZodString;
13
+ ticketGroupId: z.ZodString;
13
14
  created_at: z.ZodDate;
14
15
  updated_at: z.ZodDate;
15
16
  }, {
@@ -157,6 +158,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
157
158
  eventId: string;
158
159
  created_at: Date;
159
160
  updated_at: Date;
161
+ ticketGroupId: string;
160
162
  }, {
161
163
  event: {
162
164
  location: string;
@@ -196,6 +198,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
196
198
  eventId: string;
197
199
  created_at: Date;
198
200
  updated_at: Date;
201
+ ticketGroupId: string;
199
202
  }>, "many">;
200
203
  }, "strip", z.ZodTypeAny, {
201
204
  tickets: {
@@ -237,6 +240,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
237
240
  eventId: string;
238
241
  created_at: Date;
239
242
  updated_at: Date;
243
+ ticketGroupId: string;
240
244
  }[];
241
245
  }, {
242
246
  tickets: {
@@ -278,6 +282,7 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
278
282
  eventId: string;
279
283
  created_at: Date;
280
284
  updated_at: Date;
285
+ ticketGroupId: string;
281
286
  }[];
282
287
  }>;
283
288
  declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -291,6 +296,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
291
296
  }>;
292
297
  fullName: z.ZodString;
293
298
  mail: z.ZodString;
299
+ ticketGroupId: z.ZodString;
294
300
  created_at: z.ZodString;
295
301
  updated_at: z.ZodString;
296
302
  event: z.ZodObject<{
@@ -427,6 +433,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
427
433
  eventId: string;
428
434
  created_at: string;
429
435
  updated_at: string;
436
+ ticketGroupId: string;
430
437
  }, {
431
438
  event: {
432
439
  location: string;
@@ -466,6 +473,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
466
473
  eventId: string;
467
474
  created_at: string;
468
475
  updated_at: string;
476
+ ticketGroupId: string;
469
477
  }>, "many">;
470
478
  }, z.UnknownKeysParam, z.ZodTypeAny, {
471
479
  tickets: {
@@ -507,6 +515,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
507
515
  eventId: string;
508
516
  created_at: string;
509
517
  updated_at: string;
518
+ ticketGroupId: string;
510
519
  }[];
511
520
  }, {
512
521
  tickets: {
@@ -548,6 +557,7 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
548
557
  eventId: string;
549
558
  created_at: string;
550
559
  updated_at: string;
560
+ ticketGroupId: string;
551
561
  }[];
552
562
  }>>;
553
563
  export declare class FindByMailTicketResponseDto extends FindByMailTicketResponseDto_base {
@@ -10,6 +10,7 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
10
10
  }>;
11
11
  fullName: z.ZodString;
12
12
  mail: z.ZodString;
13
+ ticketGroupId: z.ZodString;
13
14
  created_at: z.ZodDate;
14
15
  updated_at: z.ZodDate;
15
16
  }, {
@@ -79,6 +80,7 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
79
80
  eventId: string;
80
81
  created_at: Date;
81
82
  updated_at: Date;
83
+ ticketGroupId: string;
82
84
  }, {
83
85
  event: {
84
86
  location: string;
@@ -102,6 +104,7 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
102
104
  eventId: string;
103
105
  created_at: Date;
104
106
  updated_at: Date;
107
+ ticketGroupId: string;
105
108
  }>, "many">;
106
109
  }, "strip", z.ZodTypeAny, {
107
110
  tickets: {
@@ -127,6 +130,7 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
127
130
  eventId: string;
128
131
  created_at: Date;
129
132
  updated_at: Date;
133
+ ticketGroupId: string;
130
134
  }[];
131
135
  }, {
132
136
  tickets: {
@@ -152,6 +156,7 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
152
156
  eventId: string;
153
157
  created_at: Date;
154
158
  updated_at: Date;
159
+ ticketGroupId: string;
155
160
  }[];
156
161
  }>;
157
162
  declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -165,6 +170,7 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
165
170
  }>;
166
171
  fullName: z.ZodString;
167
172
  mail: z.ZodString;
173
+ ticketGroupId: z.ZodString;
168
174
  created_at: z.ZodString;
169
175
  updated_at: z.ZodString;
170
176
  event: z.ZodObject<{
@@ -233,6 +239,7 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
233
239
  eventId: string;
234
240
  created_at: string;
235
241
  updated_at: string;
242
+ ticketGroupId: string;
236
243
  }, {
237
244
  event: {
238
245
  location: string;
@@ -256,6 +263,7 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
256
263
  eventId: string;
257
264
  created_at: string;
258
265
  updated_at: string;
266
+ ticketGroupId: string;
259
267
  }>, "many">;
260
268
  }, z.UnknownKeysParam, z.ZodTypeAny, {
261
269
  tickets: {
@@ -281,6 +289,7 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
281
289
  eventId: string;
282
290
  created_at: string;
283
291
  updated_at: string;
292
+ ticketGroupId: string;
284
293
  }[];
285
294
  }, {
286
295
  tickets: {
@@ -306,6 +315,7 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
306
315
  eventId: string;
307
316
  created_at: string;
308
317
  updated_at: string;
318
+ ticketGroupId: string;
309
319
  }[];
310
320
  }>>;
311
321
  export declare class FindByProfileIdTicketResponseDto extends FindByProfileIdTicketResponseDto_base {
@@ -8,6 +8,7 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
8
8
  }>;
9
9
  fullName: import("zod").ZodString;
10
10
  mail: import("zod").ZodString;
11
+ ticketGroupId: import("zod").ZodString;
11
12
  created_at: import("zod").ZodDate;
12
13
  updated_at: import("zod").ZodDate;
13
14
  }, "strip", import("zod").ZodTypeAny, {
@@ -18,6 +19,7 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
18
19
  eventId: string;
19
20
  created_at: Date;
20
21
  updated_at: Date;
22
+ ticketGroupId: string;
21
23
  }, {
22
24
  id: string;
23
25
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -26,6 +28,7 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
26
28
  eventId: string;
27
29
  created_at: Date;
28
30
  updated_at: Date;
31
+ ticketGroupId: string;
29
32
  }>;
30
33
  declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
31
34
  id: import("zod").ZodString;
@@ -37,6 +40,7 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
37
40
  }>;
38
41
  fullName: import("zod").ZodString;
39
42
  mail: import("zod").ZodString;
43
+ ticketGroupId: import("zod").ZodString;
40
44
  created_at: import("zod").ZodString;
41
45
  updated_at: import("zod").ZodString;
42
46
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
@@ -47,6 +51,7 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
47
51
  eventId: string;
48
52
  created_at: string;
49
53
  updated_at: string;
54
+ ticketGroupId: string;
50
55
  }, {
51
56
  id: string;
52
57
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -55,6 +60,7 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
55
60
  eventId: string;
56
61
  created_at: string;
57
62
  updated_at: string;
63
+ ticketGroupId: string;
58
64
  }>>;
59
65
  export declare class FindTicketResponseDto extends FindTicketResponseDto_base {
60
66
  }
@@ -9,6 +9,7 @@ export declare const ticketSchema: z.ZodObject<{
9
9
  }>;
10
10
  fullName: z.ZodString;
11
11
  mail: z.ZodString;
12
+ ticketGroupId: z.ZodString;
12
13
  created_at: z.ZodDate;
13
14
  updated_at: z.ZodDate;
14
15
  }, "strip", z.ZodTypeAny, {
@@ -19,6 +20,7 @@ export declare const ticketSchema: z.ZodObject<{
19
20
  eventId: string;
20
21
  created_at: Date;
21
22
  updated_at: Date;
23
+ ticketGroupId: string;
22
24
  }, {
23
25
  id: string;
24
26
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -27,6 +29,7 @@ export declare const ticketSchema: z.ZodObject<{
27
29
  eventId: string;
28
30
  created_at: Date;
29
31
  updated_at: Date;
32
+ ticketGroupId: string;
30
33
  }>;
31
34
  declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
32
35
  id: z.ZodString;
@@ -38,6 +41,7 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
38
41
  }>;
39
42
  fullName: z.ZodString;
40
43
  mail: z.ZodString;
44
+ ticketGroupId: z.ZodString;
41
45
  created_at: z.ZodString;
42
46
  updated_at: z.ZodString;
43
47
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -48,6 +52,7 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
48
52
  eventId: string;
49
53
  created_at: string;
50
54
  updated_at: string;
55
+ ticketGroupId: string;
51
56
  }, {
52
57
  id: string;
53
58
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -56,6 +61,7 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
56
61
  eventId: string;
57
62
  created_at: string;
58
63
  updated_at: string;
64
+ ticketGroupId: string;
59
65
  }>>;
60
66
  export declare class TicketDto extends TicketDto_base {
61
67
  }
@@ -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({
@@ -17,6 +18,7 @@ exports.ticketSchema = zod_1.default.object({
17
18
  }),
18
19
  fullName: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.fullName.required')),
19
20
  mail: zod_1.default.string().email((0, translate_1.translate)('model.ticket.mail.email')),
21
+ ticketGroupId: ticket_group_dto_1.ticketGroupSchema.shape.id,
20
22
  created_at: zod_1.default.date(),
21
23
  updated_at: zod_1.default.date(),
22
24
  });
@@ -6,14 +6,17 @@ 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
+ ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
9
10
  }, "strip", import("zod").ZodTypeAny, {
10
11
  type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
11
12
  fullName?: string | undefined;
12
13
  mail?: string | undefined;
14
+ ticketGroupId?: string | undefined;
13
15
  }, {
14
16
  type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
15
17
  fullName?: string | undefined;
16
18
  mail?: string | undefined;
19
+ ticketGroupId?: string | undefined;
17
20
  }>;
18
21
  declare const UpdateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
19
22
  type: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
@@ -23,14 +26,17 @@ declare const UpdateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
23
26
  }>>;
24
27
  fullName: import("zod").ZodOptional<import("zod").ZodString>;
25
28
  mail: import("zod").ZodOptional<import("zod").ZodString>;
29
+ ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
26
30
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
27
31
  type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
28
32
  fullName?: string | undefined;
29
33
  mail?: string | undefined;
34
+ ticketGroupId?: string | undefined;
30
35
  }, {
31
36
  type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
32
37
  fullName?: string | undefined;
33
38
  mail?: string | undefined;
39
+ ticketGroupId?: string | undefined;
34
40
  }>>;
35
41
  export declare class UpdateTicketDto extends UpdateTicketDto_base {
36
42
  }
@@ -44,6 +50,7 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
44
50
  }>;
45
51
  fullName: import("zod").ZodString;
46
52
  mail: import("zod").ZodString;
53
+ ticketGroupId: import("zod").ZodString;
47
54
  created_at: import("zod").ZodDate;
48
55
  updated_at: import("zod").ZodDate;
49
56
  }, "strip", import("zod").ZodTypeAny, {
@@ -54,6 +61,7 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
54
61
  eventId: string;
55
62
  created_at: Date;
56
63
  updated_at: Date;
64
+ ticketGroupId: string;
57
65
  }, {
58
66
  id: string;
59
67
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -62,6 +70,7 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
62
70
  eventId: string;
63
71
  created_at: Date;
64
72
  updated_at: Date;
73
+ ticketGroupId: string;
65
74
  }>;
66
75
  declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
67
76
  id: import("zod").ZodString;
@@ -73,6 +82,7 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
73
82
  }>;
74
83
  fullName: import("zod").ZodString;
75
84
  mail: import("zod").ZodString;
85
+ ticketGroupId: import("zod").ZodString;
76
86
  created_at: import("zod").ZodString;
77
87
  updated_at: import("zod").ZodString;
78
88
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
@@ -83,6 +93,7 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
83
93
  eventId: string;
84
94
  created_at: string;
85
95
  updated_at: string;
96
+ ticketGroupId: string;
86
97
  }, {
87
98
  id: string;
88
99
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -91,6 +102,7 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
91
102
  eventId: string;
92
103
  created_at: string;
93
104
  updated_at: string;
105
+ ticketGroupId: string;
94
106
  }>>;
95
107
  export declare class UpdateTicketResponseDto extends UpdateTicketResponseDto_base {
96
108
  }
@@ -8,6 +8,7 @@ exports.updateTicketSchema = ticket_dto_1.ticketSchema
8
8
  type: true,
9
9
  fullName: true,
10
10
  mail: true,
11
+ ticketGroupId: true,
11
12
  })
12
13
  .partial();
13
14
  class UpdateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTicketSchema) {
@@ -60,6 +60,7 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
60
60
  }>;
61
61
  fullName: z.ZodString;
62
62
  mail: z.ZodString;
63
+ ticketGroupId: z.ZodString;
63
64
  created_at: z.ZodDate;
64
65
  updated_at: z.ZodDate;
65
66
  }, "strip", z.ZodTypeAny, {
@@ -70,6 +71,7 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
70
71
  eventId: string;
71
72
  created_at: Date;
72
73
  updated_at: Date;
74
+ ticketGroupId: string;
73
75
  }, {
74
76
  id: string;
75
77
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -78,6 +80,7 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
78
80
  eventId: string;
79
81
  created_at: Date;
80
82
  updated_at: Date;
83
+ ticketGroupId: string;
81
84
  }>, "many">;
82
85
  event: z.ZodObject<{
83
86
  id: z.ZodString;
@@ -152,6 +155,7 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
152
155
  eventId: string;
153
156
  created_at: Date;
154
157
  updated_at: Date;
158
+ ticketGroupId: string;
155
159
  }[];
156
160
  }, {
157
161
  event: {
@@ -183,6 +187,7 @@ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.e
183
187
  eventId: string;
184
188
  created_at: Date;
185
189
  updated_at: Date;
190
+ ticketGroupId: string;
186
191
  }[];
187
192
  }>;
188
193
  declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -206,6 +211,7 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
206
211
  }>;
207
212
  fullName: z.ZodString;
208
213
  mail: z.ZodString;
214
+ ticketGroupId: z.ZodString;
209
215
  created_at: z.ZodString;
210
216
  updated_at: z.ZodString;
211
217
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -216,6 +222,7 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
216
222
  eventId: string;
217
223
  created_at: string;
218
224
  updated_at: string;
225
+ ticketGroupId: string;
219
226
  }, {
220
227
  id: string;
221
228
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
@@ -224,6 +231,7 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
224
231
  eventId: string;
225
232
  created_at: string;
226
233
  updated_at: string;
234
+ ticketGroupId: string;
227
235
  }>, "many">;
228
236
  event: z.ZodObject<{
229
237
  id: z.ZodString;
@@ -298,6 +306,7 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
298
306
  eventId: string;
299
307
  created_at: string;
300
308
  updated_at: string;
309
+ ticketGroupId: string;
301
310
  }[];
302
311
  }, {
303
312
  event: {
@@ -329,6 +338,7 @@ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").Z
329
338
  eventId: string;
330
339
  created_at: string;
331
340
  updated_at: string;
341
+ ticketGroupId: string;
332
342
  }[];
333
343
  }>>;
334
344
  export declare class CreateTicketGroupResponseDto extends CreateTicketGroupResponseDto_base {
@@ -1,2 +1,8 @@
1
1
  import z from 'zod';
2
- export declare const findTicketsByEventResponseSchema: z.ZodNullable<z.ZodNumber>;
2
+ export declare const findTicketsByEventResponseSchema: z.ZodObject<{
3
+ tickets: z.ZodNumber;
4
+ }, "strip", z.ZodTypeAny, {
5
+ tickets: number;
6
+ }, {
7
+ tickets: number;
8
+ }>;
@@ -5,5 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.findTicketsByEventResponseSchema = void 0;
7
7
  const zod_1 = __importDefault(require("zod"));
8
- exports.findTicketsByEventResponseSchema = zod_1.default.number().nullable();
8
+ exports.findTicketsByEventResponseSchema = zod_1.default.object({
9
+ tickets: zod_1.default.number(),
10
+ });
9
11
  //# sourceMappingURL=find-tickets-by-event.dto.js.map
@@ -1,4 +1,5 @@
1
1
  export * from './dto/create-ticket-group.dto';
2
2
  export * from './dto/delete-ticket-group.dto';
3
3
  export * from './dto/find-tickets-by-event.dto';
4
+ export * from './dto/ticket-group.dto';
4
5
  export * from './dto/update-ticket-group.dto';
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./dto/create-ticket-group.dto"), exports);
18
18
  __exportStar(require("./dto/delete-ticket-group.dto"), exports);
19
19
  __exportStar(require("./dto/find-tickets-by-event.dto"), exports);
20
+ __exportStar(require("./dto/ticket-group.dto"), exports);
20
21
  __exportStar(require("./dto/update-ticket-group.dto"), exports);
21
22
  //# sourceMappingURL=exports.js.map