expo-backend-types 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.4 → 0.37.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.
Files changed (72) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +8 -8
  2. package/dist/src/account/dto/get-me.dto.d.ts +16 -16
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -8
  4. package/dist/src/event/dto/create-event.dto.d.ts +8 -8
  5. package/dist/src/event/dto/event-tickets.dto.d.ts +2 -2
  6. package/dist/src/event/dto/get-active-events.dto.d.ts +12 -12
  7. package/dist/src/event/dto/get-all-event.dto.d.ts +56 -56
  8. package/dist/src/event/dto/get-by-id-event.dto.d.ts +68 -50
  9. package/dist/src/event/dto/update-event.dto.d.ts +24 -24
  10. package/dist/src/exports.d.ts +0 -1
  11. package/dist/src/exports.js +0 -1
  12. package/dist/src/i18n/es.d.ts +21 -36
  13. package/dist/src/i18n/es.js +21 -36
  14. package/dist/src/i18n/es.js.map +1 -1
  15. package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -12
  16. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -20
  17. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -8
  18. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -12
  19. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -12
  20. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -12
  21. package/dist/src/tag/dto/create-tag.dto.d.ts +4 -4
  22. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -4
  23. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -8
  24. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -8
  25. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -4
  26. package/dist/src/tag/dto/tag.dto.d.ts +4 -4
  27. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -4
  28. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -12
  29. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -12
  30. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -8
  31. package/dist/src/ticket/constants.d.ts +12 -14
  32. package/dist/src/ticket/constants.js +355 -248
  33. package/dist/src/ticket/dto/create-ticket.dto.d.ts +44 -21
  34. package/dist/src/ticket/dto/create-ticket.dto.js +1 -1
  35. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +24 -10
  36. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +36 -18
  37. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +36 -18
  38. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +36 -18
  39. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +36 -18
  40. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +36 -18
  41. package/dist/src/ticket/dto/find-ticket.dto.d.ts +24 -10
  42. package/dist/src/ticket/dto/send-email.dto.d.ts +18 -0
  43. package/dist/src/ticket/dto/send-email.dto.js +15 -0
  44. package/dist/src/ticket/dto/ticket.dto.d.ts +24 -10
  45. package/dist/src/ticket/dto/ticket.dto.js +4 -2
  46. package/dist/src/ticket/dto/update-ticket.dto.d.ts +42 -26
  47. package/dist/src/ticket/dto/update-ticket.dto.js +1 -2
  48. package/dist/types/prisma-schema/edge.js +6 -15
  49. package/dist/types/prisma-schema/index-browser.js +3 -12
  50. package/dist/types/prisma-schema/index.d.ts +359 -2257
  51. package/dist/types/prisma-schema/index.js +6 -15
  52. package/dist/types/prisma-schema/package.json +1 -1
  53. package/dist/types/prisma-schema/schema.prisma +7 -23
  54. package/dist/types/prisma-schema/wasm.js +3 -12
  55. package/dist/types/schema.d.ts +29 -317
  56. package/package.json +6 -6
  57. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -730
  58. package/dist/src/ticket/dto/create-many-ticket.dto.js +0 -59
  59. package/dist/src/ticket/dto/find-by-event-type-ticket.dto.d.ts +0 -48
  60. package/dist/src/ticket/dto/find-by-event-type-ticket.dto.js +0 -20
  61. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -356
  62. package/dist/src/ticket-group/dto/create-ticket-group.dto.js +0 -27
  63. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +0 -55
  64. package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +0 -10
  65. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +0 -32
  66. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +0 -20
  67. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +0 -56
  68. package/dist/src/ticket-group/dto/ticket-group.dto.js +0 -27
  69. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +0 -79
  70. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +0 -18
  71. package/dist/src/ticket-group/exports.d.ts +0 -5
  72. package/dist/src/ticket-group/exports.js +0 -22
@@ -1,59 +0,0 @@
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.CreateManyTicketWithPdfsResponseDto = exports.createManyTicketWithPdfsResponseSchema = exports.CreateManyTicketResponseDto = exports.createManyTicketResponseSchema = exports.GenerateMultiplePdfTicketsDto = exports.GenerateMultiplePdfTicketsResponseDto = exports.generateMultiplePdfTicketsSchema = exports.CreateManyTicketDto = exports.createManyTicketSchema = void 0;
7
- const event_dto_1 = require("../../event/dto/event.dto");
8
- const profile_schema_1 = require("../../schema/profile.schema");
9
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
- const zod_1 = __importDefault(require("zod"));
11
- const ticket_dto_1 = require("./ticket.dto");
12
- exports.createManyTicketSchema = zod_1.default.object({
13
- tickets: zod_1.default.array(ticket_dto_1.ticketSchema
14
- .pick({
15
- eventId: true,
16
- type: true,
17
- fullName: true,
18
- mail: true,
19
- dni: true,
20
- ticketGroupId: true,
21
- })
22
- .extend({
23
- profileId: profile_schema_1.profileSchema.shape.id.optional(),
24
- })),
25
- });
26
- class CreateManyTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketSchema) {
27
- }
28
- exports.CreateManyTicketDto = CreateManyTicketDto;
29
- exports.generateMultiplePdfTicketsSchema = zod_1.default
30
- .object({
31
- ticketId: zod_1.default.string(),
32
- pdf: zod_1.default.instanceof(Blob),
33
- })
34
- .array();
35
- class GenerateMultiplePdfTicketsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.generateMultiplePdfTicketsSchema) {
36
- }
37
- exports.GenerateMultiplePdfTicketsResponseDto = GenerateMultiplePdfTicketsResponseDto;
38
- class GenerateMultiplePdfTicketsDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.generateMultiplePdfTicketsSchema) {
39
- }
40
- exports.GenerateMultiplePdfTicketsDto = GenerateMultiplePdfTicketsDto;
41
- exports.createManyTicketResponseSchema = ticket_dto_1.ticketSchema
42
- .extend({
43
- event: event_dto_1.eventSchema,
44
- })
45
- .array();
46
- class CreateManyTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketResponseSchema) {
47
- }
48
- exports.CreateManyTicketResponseDto = CreateManyTicketResponseDto;
49
- exports.createManyTicketWithPdfsResponseSchema = zod_1.default.object({
50
- tickets: exports.createManyTicketResponseSchema,
51
- pdfs: zod_1.default.array(zod_1.default.object({
52
- ticketId: zod_1.default.string(),
53
- pdfBase64: zod_1.default.string(),
54
- })),
55
- });
56
- class CreateManyTicketWithPdfsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketWithPdfsResponseSchema) {
57
- }
58
- exports.CreateManyTicketWithPdfsResponseDto = CreateManyTicketWithPdfsResponseDto;
59
- //# sourceMappingURL=create-many-ticket.dto.js.map
@@ -1,48 +0,0 @@
1
- import { z } from 'zod';
2
- export declare const findByEventAndTypeTicketSchema: z.ZodObject<{
3
- eventId: z.ZodString;
4
- type: z.ZodNativeEnum<{
5
- PARTICIPANT: "PARTICIPANT";
6
- STAFF: "STAFF";
7
- SPECTATOR: "SPECTATOR";
8
- }>;
9
- }, "strip", z.ZodTypeAny, {
10
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
11
- eventId: string;
12
- }, {
13
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
14
- eventId: string;
15
- }>;
16
- declare const FindByEventAndTypeTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
17
- eventId: z.ZodString;
18
- type: z.ZodNativeEnum<{
19
- PARTICIPANT: "PARTICIPANT";
20
- STAFF: "STAFF";
21
- SPECTATOR: "SPECTATOR";
22
- }>;
23
- }, z.UnknownKeysParam, z.ZodTypeAny, {
24
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
25
- eventId: string;
26
- }, {
27
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
28
- eventId: string;
29
- }>>;
30
- export declare class FindByEventAndTypeTicketDto extends FindByEventAndTypeTicketDto_base {
31
- }
32
- export declare const findByEventAndTypeTicketResponseSchema: z.ZodObject<{
33
- tickets: z.ZodNumber;
34
- }, "strip", z.ZodTypeAny, {
35
- tickets: number;
36
- }, {
37
- tickets: number;
38
- }>;
39
- declare const FindByEventAndTypeTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
40
- tickets: z.ZodNumber;
41
- }, z.UnknownKeysParam, z.ZodTypeAny, {
42
- tickets: number;
43
- }, {
44
- tickets: number;
45
- }>>;
46
- export declare class FindByEventAndTypeTicketResponseDto extends FindByEventAndTypeTicketResponseDto_base {
47
- }
48
- export {};
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FindByEventAndTypeTicketResponseDto = exports.findByEventAndTypeTicketResponseSchema = exports.FindByEventAndTypeTicketDto = exports.findByEventAndTypeTicketSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const zod_1 = require("zod");
6
- const types_1 = require("../../../types");
7
- exports.findByEventAndTypeTicketSchema = zod_1.z.object({
8
- eventId: zod_1.z.string(),
9
- type: zod_1.z.nativeEnum(types_1.TicketType),
10
- });
11
- class FindByEventAndTypeTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByEventAndTypeTicketSchema) {
12
- }
13
- exports.FindByEventAndTypeTicketDto = FindByEventAndTypeTicketDto;
14
- exports.findByEventAndTypeTicketResponseSchema = zod_1.z.object({
15
- tickets: zod_1.z.number(),
16
- });
17
- class FindByEventAndTypeTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByEventAndTypeTicketResponseSchema) {
18
- }
19
- exports.FindByEventAndTypeTicketResponseDto = FindByEventAndTypeTicketResponseDto;
20
- //# sourceMappingURL=find-by-event-type-ticket.dto.js.map
@@ -1,356 +0,0 @@
1
- import z from 'zod';
2
- export declare const createTicketGroupSchema: z.ZodObject<Pick<{
3
- id: z.ZodString;
4
- amountTickets: z.ZodNumber;
5
- status: z.ZodNativeEnum<{
6
- BOOKED: "BOOKED";
7
- PAID: "PAID";
8
- FREE: "FREE";
9
- }>;
10
- eventId: z.ZodString;
11
- created_at: z.ZodDate;
12
- updated_at: z.ZodDate;
13
- }, "eventId" | "status" | "amountTickets">, "strip", z.ZodTypeAny, {
14
- eventId: string;
15
- status: "BOOKED" | "PAID" | "FREE";
16
- amountTickets: number;
17
- }, {
18
- eventId: string;
19
- status: "BOOKED" | "PAID" | "FREE";
20
- amountTickets: number;
21
- }>;
22
- declare const CreateTicketGroupDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
23
- eventId: z.ZodString;
24
- status: z.ZodNativeEnum<{
25
- BOOKED: "BOOKED";
26
- PAID: "PAID";
27
- FREE: "FREE";
28
- }>;
29
- amountTickets: z.ZodNumber;
30
- }, z.UnknownKeysParam, z.ZodTypeAny, {
31
- eventId: string;
32
- status: "BOOKED" | "PAID" | "FREE";
33
- amountTickets: number;
34
- }, {
35
- eventId: string;
36
- status: "BOOKED" | "PAID" | "FREE";
37
- amountTickets: number;
38
- }>>;
39
- export declare class CreateTicketGroupDto extends CreateTicketGroupDto_base {
40
- }
41
- export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
42
- id: z.ZodString;
43
- amountTickets: z.ZodNumber;
44
- status: z.ZodNativeEnum<{
45
- BOOKED: "BOOKED";
46
- PAID: "PAID";
47
- FREE: "FREE";
48
- }>;
49
- eventId: z.ZodString;
50
- created_at: z.ZodDate;
51
- updated_at: z.ZodDate;
52
- }, {
53
- tickets: z.ZodArray<z.ZodObject<{
54
- id: z.ZodString;
55
- eventId: z.ZodString;
56
- type: z.ZodNativeEnum<{
57
- PARTICIPANT: "PARTICIPANT";
58
- STAFF: "STAFF";
59
- SPECTATOR: "SPECTATOR";
60
- }>;
61
- fullName: z.ZodString;
62
- mail: z.ZodString;
63
- dni: z.ZodString;
64
- ticketGroupId: z.ZodString;
65
- created_at: z.ZodDate;
66
- updated_at: z.ZodDate;
67
- }, "strip", z.ZodTypeAny, {
68
- id: string;
69
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
70
- fullName: string;
71
- mail: string;
72
- eventId: string;
73
- dni: string;
74
- created_at: Date;
75
- updated_at: Date;
76
- ticketGroupId: string;
77
- }, {
78
- id: string;
79
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
80
- fullName: string;
81
- mail: string;
82
- eventId: string;
83
- dni: string;
84
- created_at: Date;
85
- updated_at: Date;
86
- ticketGroupId: string;
87
- }>, "many">;
88
- event: z.ZodObject<{
89
- id: z.ZodString;
90
- name: z.ZodString;
91
- date: z.ZodDate;
92
- startingDate: z.ZodDate;
93
- endingDate: z.ZodDate;
94
- location: z.ZodString;
95
- folderId: z.ZodNullable<z.ZodString>;
96
- tagAssistedId: z.ZodString;
97
- tagConfirmedId: z.ZodString;
98
- active: z.ZodBoolean;
99
- supraEventId: z.ZodNullable<z.ZodString>;
100
- created_at: z.ZodDate;
101
- updated_at: z.ZodDate;
102
- }, "strip", z.ZodTypeAny, {
103
- location: string;
104
- id: string;
105
- name: string;
106
- date: Date;
107
- startingDate: Date;
108
- endingDate: Date;
109
- created_at: Date;
110
- updated_at: Date;
111
- active: boolean;
112
- folderId: string | null;
113
- tagAssistedId: string;
114
- tagConfirmedId: string;
115
- supraEventId: string | null;
116
- }, {
117
- location: string;
118
- id: string;
119
- name: string;
120
- date: Date;
121
- startingDate: Date;
122
- endingDate: Date;
123
- created_at: Date;
124
- updated_at: Date;
125
- active: boolean;
126
- folderId: string | null;
127
- tagAssistedId: string;
128
- tagConfirmedId: string;
129
- supraEventId: string | null;
130
- }>;
131
- }>, "strip", z.ZodTypeAny, {
132
- event: {
133
- location: string;
134
- id: string;
135
- name: string;
136
- date: Date;
137
- startingDate: Date;
138
- endingDate: Date;
139
- created_at: Date;
140
- updated_at: Date;
141
- active: boolean;
142
- folderId: string | null;
143
- tagAssistedId: string;
144
- tagConfirmedId: string;
145
- supraEventId: string | null;
146
- };
147
- id: string;
148
- eventId: string;
149
- status: "BOOKED" | "PAID" | "FREE";
150
- amountTickets: number;
151
- created_at: Date;
152
- updated_at: Date;
153
- tickets: {
154
- id: string;
155
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
156
- fullName: string;
157
- mail: string;
158
- eventId: string;
159
- dni: string;
160
- created_at: Date;
161
- updated_at: Date;
162
- ticketGroupId: string;
163
- }[];
164
- }, {
165
- event: {
166
- location: string;
167
- id: string;
168
- name: string;
169
- date: Date;
170
- startingDate: Date;
171
- endingDate: Date;
172
- created_at: Date;
173
- updated_at: Date;
174
- active: boolean;
175
- folderId: string | null;
176
- tagAssistedId: string;
177
- tagConfirmedId: string;
178
- supraEventId: string | null;
179
- };
180
- id: string;
181
- eventId: string;
182
- status: "BOOKED" | "PAID" | "FREE";
183
- amountTickets: number;
184
- created_at: Date;
185
- updated_at: Date;
186
- tickets: {
187
- id: string;
188
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
189
- fullName: string;
190
- mail: string;
191
- eventId: string;
192
- dni: string;
193
- created_at: Date;
194
- updated_at: Date;
195
- ticketGroupId: string;
196
- }[];
197
- }>;
198
- declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
199
- id: z.ZodString;
200
- amountTickets: z.ZodNumber;
201
- status: z.ZodNativeEnum<{
202
- BOOKED: "BOOKED";
203
- PAID: "PAID";
204
- FREE: "FREE";
205
- }>;
206
- eventId: z.ZodString;
207
- created_at: z.ZodString;
208
- updated_at: z.ZodString;
209
- tickets: z.ZodArray<z.ZodObject<{
210
- id: z.ZodString;
211
- eventId: z.ZodString;
212
- type: z.ZodNativeEnum<{
213
- PARTICIPANT: "PARTICIPANT";
214
- STAFF: "STAFF";
215
- SPECTATOR: "SPECTATOR";
216
- }>;
217
- fullName: z.ZodString;
218
- mail: z.ZodString;
219
- dni: z.ZodString;
220
- ticketGroupId: z.ZodString;
221
- created_at: z.ZodString;
222
- updated_at: z.ZodString;
223
- }, z.UnknownKeysParam, z.ZodTypeAny, {
224
- id: string;
225
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
226
- fullName: string;
227
- mail: string;
228
- eventId: string;
229
- dni: string;
230
- created_at: string;
231
- updated_at: string;
232
- ticketGroupId: string;
233
- }, {
234
- id: string;
235
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
236
- fullName: string;
237
- mail: string;
238
- eventId: string;
239
- dni: string;
240
- created_at: string;
241
- updated_at: string;
242
- ticketGroupId: string;
243
- }>, "many">;
244
- event: z.ZodObject<{
245
- id: z.ZodString;
246
- name: z.ZodString;
247
- date: z.ZodString;
248
- startingDate: z.ZodString;
249
- endingDate: z.ZodString;
250
- location: z.ZodString;
251
- folderId: z.ZodNullable<z.ZodString>;
252
- tagAssistedId: z.ZodString;
253
- tagConfirmedId: z.ZodString;
254
- active: z.ZodBoolean;
255
- supraEventId: z.ZodNullable<z.ZodString>;
256
- created_at: z.ZodString;
257
- updated_at: z.ZodString;
258
- }, z.UnknownKeysParam, z.ZodTypeAny, {
259
- location: string;
260
- id: string;
261
- name: string;
262
- date: string;
263
- startingDate: string;
264
- endingDate: string;
265
- created_at: string;
266
- updated_at: string;
267
- active: boolean;
268
- folderId: string | null;
269
- tagAssistedId: string;
270
- tagConfirmedId: string;
271
- supraEventId: string | null;
272
- }, {
273
- location: string;
274
- id: string;
275
- name: string;
276
- date: string;
277
- startingDate: string;
278
- endingDate: string;
279
- created_at: string;
280
- updated_at: string;
281
- active: boolean;
282
- folderId: string | null;
283
- tagAssistedId: string;
284
- tagConfirmedId: string;
285
- supraEventId: string | null;
286
- }>;
287
- }, z.UnknownKeysParam, z.ZodTypeAny, {
288
- event: {
289
- location: string;
290
- id: string;
291
- name: string;
292
- date: string;
293
- startingDate: string;
294
- endingDate: string;
295
- created_at: string;
296
- updated_at: string;
297
- active: boolean;
298
- folderId: string | null;
299
- tagAssistedId: string;
300
- tagConfirmedId: string;
301
- supraEventId: string | null;
302
- };
303
- id: string;
304
- eventId: string;
305
- status: "BOOKED" | "PAID" | "FREE";
306
- amountTickets: number;
307
- created_at: string;
308
- updated_at: string;
309
- tickets: {
310
- id: string;
311
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
312
- fullName: string;
313
- mail: string;
314
- eventId: string;
315
- dni: string;
316
- created_at: string;
317
- updated_at: string;
318
- ticketGroupId: string;
319
- }[];
320
- }, {
321
- event: {
322
- location: string;
323
- id: string;
324
- name: string;
325
- date: string;
326
- startingDate: string;
327
- endingDate: string;
328
- created_at: string;
329
- updated_at: string;
330
- active: boolean;
331
- folderId: string | null;
332
- tagAssistedId: string;
333
- tagConfirmedId: string;
334
- supraEventId: string | null;
335
- };
336
- id: string;
337
- eventId: string;
338
- status: "BOOKED" | "PAID" | "FREE";
339
- amountTickets: number;
340
- created_at: string;
341
- updated_at: string;
342
- tickets: {
343
- id: string;
344
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
345
- fullName: string;
346
- mail: string;
347
- eventId: string;
348
- dni: string;
349
- created_at: string;
350
- updated_at: string;
351
- ticketGroupId: string;
352
- }[];
353
- }>>;
354
- export declare class CreateTicketGroupResponseDto extends CreateTicketGroupResponseDto_base {
355
- }
356
- export {};
@@ -1,27 +0,0 @@
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.CreateTicketGroupResponseDto = exports.createTicketGroupResponseSchema = exports.CreateTicketGroupDto = exports.createTicketGroupSchema = void 0;
7
- const event_dto_1 = require("../../event/dto/event.dto");
8
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
- const ticket_group_dto_1 = require("./ticket-group.dto");
10
- const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
11
- const zod_1 = __importDefault(require("zod"));
12
- exports.createTicketGroupSchema = ticket_group_dto_1.ticketGroupSchema.pick({
13
- eventId: true,
14
- amountTickets: true,
15
- status: true,
16
- });
17
- class CreateTicketGroupDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketGroupSchema) {
18
- }
19
- exports.CreateTicketGroupDto = CreateTicketGroupDto;
20
- exports.createTicketGroupResponseSchema = ticket_group_dto_1.ticketGroupSchema.merge(zod_1.default.object({
21
- tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
22
- event: event_dto_1.eventSchema,
23
- }));
24
- class CreateTicketGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketGroupResponseSchema) {
25
- }
26
- exports.CreateTicketGroupResponseDto = CreateTicketGroupResponseDto;
27
- //# sourceMappingURL=create-ticket-group.dto.js.map
@@ -1,55 +0,0 @@
1
- export declare const deleteTicketGroupResponseSchema: import("zod").ZodObject<{
2
- id: import("zod").ZodString;
3
- amountTickets: import("zod").ZodNumber;
4
- status: import("zod").ZodNativeEnum<{
5
- BOOKED: "BOOKED";
6
- PAID: "PAID";
7
- FREE: "FREE";
8
- }>;
9
- eventId: import("zod").ZodString;
10
- created_at: import("zod").ZodDate;
11
- updated_at: import("zod").ZodDate;
12
- }, "strip", import("zod").ZodTypeAny, {
13
- id: string;
14
- eventId: string;
15
- status: "BOOKED" | "PAID" | "FREE";
16
- amountTickets: number;
17
- created_at: Date;
18
- updated_at: Date;
19
- }, {
20
- id: string;
21
- eventId: string;
22
- status: "BOOKED" | "PAID" | "FREE";
23
- amountTickets: number;
24
- created_at: Date;
25
- updated_at: Date;
26
- }>;
27
- declare const DeleteTicketGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
28
- id: import("zod").ZodString;
29
- amountTickets: import("zod").ZodNumber;
30
- status: import("zod").ZodNativeEnum<{
31
- BOOKED: "BOOKED";
32
- PAID: "PAID";
33
- FREE: "FREE";
34
- }>;
35
- eventId: import("zod").ZodString;
36
- created_at: import("zod").ZodString;
37
- updated_at: import("zod").ZodString;
38
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
39
- id: string;
40
- eventId: string;
41
- status: "BOOKED" | "PAID" | "FREE";
42
- amountTickets: number;
43
- created_at: string;
44
- updated_at: string;
45
- }, {
46
- id: string;
47
- eventId: string;
48
- status: "BOOKED" | "PAID" | "FREE";
49
- amountTickets: number;
50
- created_at: string;
51
- updated_at: string;
52
- }>>;
53
- export declare class DeleteTicketGroupResponseDto extends DeleteTicketGroupResponseDto_base {
54
- }
55
- export {};
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteTicketGroupResponseDto = exports.deleteTicketGroupResponseSchema = void 0;
4
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
- const ticket_group_dto_1 = require("./ticket-group.dto");
6
- exports.deleteTicketGroupResponseSchema = ticket_group_dto_1.ticketGroupSchema;
7
- class DeleteTicketGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteTicketGroupResponseSchema) {
8
- }
9
- exports.DeleteTicketGroupResponseDto = DeleteTicketGroupResponseDto;
10
- //# sourceMappingURL=delete-ticket-group.dto.js.map
@@ -1,32 +0,0 @@
1
- import z from 'zod';
2
- export declare const findTicketsByEventSchema: z.ZodObject<{
3
- eventId: z.ZodString;
4
- type: z.ZodNativeEnum<{
5
- PARTICIPANT: "PARTICIPANT";
6
- STAFF: "STAFF";
7
- SPECTATOR: "SPECTATOR";
8
- }>;
9
- }, "strip", z.ZodTypeAny, {
10
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
11
- eventId: string;
12
- }, {
13
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
14
- eventId: string;
15
- }>;
16
- export declare const findTicketsByEventResponseSchema: z.ZodObject<{
17
- tickets: z.ZodNumber;
18
- }, "strip", z.ZodTypeAny, {
19
- tickets: number;
20
- }, {
21
- tickets: number;
22
- }>;
23
- declare const FindTicketsByEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
24
- tickets: z.ZodNumber;
25
- }, z.UnknownKeysParam, z.ZodTypeAny, {
26
- tickets: number;
27
- }, {
28
- tickets: number;
29
- }>>;
30
- export declare class FindTicketsByEventDto extends FindTicketsByEventDto_base {
31
- }
32
- export {};
@@ -1,20 +0,0 @@
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.FindTicketsByEventDto = exports.findTicketsByEventResponseSchema = exports.findTicketsByEventSchema = void 0;
7
- const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
8
- const zod_1 = __importDefault(require("zod"));
9
- const types_1 = require("../../../types");
10
- exports.findTicketsByEventSchema = zod_1.default.object({
11
- eventId: zod_1.default.string(),
12
- type: zod_1.default.nativeEnum(types_1.TicketType),
13
- });
14
- exports.findTicketsByEventResponseSchema = zod_1.default.object({
15
- tickets: zod_1.default.number(),
16
- });
17
- class FindTicketsByEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findTicketsByEventResponseSchema) {
18
- }
19
- exports.FindTicketsByEventDto = FindTicketsByEventDto;
20
- //# sourceMappingURL=find-tickets-by-event.dto.js.map
@@ -1,56 +0,0 @@
1
- import z from 'zod';
2
- export declare const ticketGroupSchema: z.ZodObject<{
3
- id: z.ZodString;
4
- amountTickets: z.ZodNumber;
5
- status: z.ZodNativeEnum<{
6
- BOOKED: "BOOKED";
7
- PAID: "PAID";
8
- FREE: "FREE";
9
- }>;
10
- eventId: z.ZodString;
11
- created_at: z.ZodDate;
12
- updated_at: z.ZodDate;
13
- }, "strip", z.ZodTypeAny, {
14
- id: string;
15
- eventId: string;
16
- status: "BOOKED" | "PAID" | "FREE";
17
- amountTickets: number;
18
- created_at: Date;
19
- updated_at: Date;
20
- }, {
21
- id: string;
22
- eventId: string;
23
- status: "BOOKED" | "PAID" | "FREE";
24
- amountTickets: number;
25
- created_at: Date;
26
- updated_at: Date;
27
- }>;
28
- declare const TicketGroupDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
29
- id: z.ZodString;
30
- amountTickets: z.ZodNumber;
31
- status: z.ZodNativeEnum<{
32
- BOOKED: "BOOKED";
33
- PAID: "PAID";
34
- FREE: "FREE";
35
- }>;
36
- eventId: z.ZodString;
37
- created_at: z.ZodString;
38
- updated_at: z.ZodString;
39
- }, z.UnknownKeysParam, z.ZodTypeAny, {
40
- id: string;
41
- eventId: string;
42
- status: "BOOKED" | "PAID" | "FREE";
43
- amountTickets: number;
44
- created_at: string;
45
- updated_at: string;
46
- }, {
47
- id: string;
48
- eventId: string;
49
- status: "BOOKED" | "PAID" | "FREE";
50
- amountTickets: number;
51
- created_at: string;
52
- updated_at: string;
53
- }>>;
54
- export declare class TicketGroupDto extends TicketGroupDto_base {
55
- }
56
- export {};