expo-backend-types 0.38.0 → 0.39.0-EXPO-326-Oscar-Ruggeri.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/csv/dto/download-all-tables.dto.d.ts +2 -3
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +46 -18
- package/dist/src/exports.d.ts +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/i18n/es.d.ts +8 -37
- package/dist/src/i18n/es.js +61 -205
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/i18n/translate.js +2 -2
- package/dist/src/i18n/translate.js.map +1 -1
- package/dist/src/image/dto/update-image.dto.d.ts +0 -1
- package/dist/src/schema/profile.schema.js +17 -7
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +1 -2
- package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -1
- package/dist/src/ticket/constants.js +1 -2
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +47 -18
- package/dist/src/ticket/dto/create-ticket.dto.js +1 -2
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +30 -10
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +49 -161
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +5 -2
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +46 -18
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +30 -10
- package/dist/src/ticket/dto/generate-pdf.dto.d.ts +2 -3
- package/dist/src/ticket/dto/scan-ticket.dto.d.ts +34 -0
- package/dist/src/ticket/dto/scan-ticket.dto.js +21 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +30 -10
- package/dist/src/ticket/dto/ticket.dto.js +5 -2
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +44 -22
- package/dist/src/ticket/dto/update-ticket.dto.js +1 -2
- package/dist/src/ticket/exports.d.ts +1 -0
- package/dist/src/ticket/exports.js +1 -0
- package/dist/types/prisma-schema/edge.js +13 -21
- package/dist/types/prisma-schema/index-browser.js +8 -16
- package/dist/types/prisma-schema/index.d.ts +483 -2407
- package/dist/types/prisma-schema/index.js +13 -21
- package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
- package/dist/types/prisma-schema/package.json +2 -2
- package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
- package/dist/types/prisma-schema/runtime/edge.js +18 -18
- package/dist/types/prisma-schema/runtime/index-browser.d.ts +2 -2
- package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
- package/dist/types/prisma-schema/runtime/library.d.ts +123 -105
- package/dist/types/prisma-schema/runtime/library.js +56 -56
- package/dist/types/prisma-schema/runtime/react-native.js +25 -25
- package/dist/types/prisma-schema/runtime/wasm.js +19 -19
- package/dist/types/prisma-schema/schema.prisma +6 -23
- package/dist/types/prisma-schema/wasm.js +8 -16
- package/dist/types/schema.d.ts +49 -335
- package/package.json +13 -15
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -610
- package/dist/src/ticket/dto/create-many-ticket.dto.js +0 -50
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -366
- package/dist/src/ticket-group/dto/create-ticket-group.dto.js +0 -27
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +0 -55
- package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +0 -10
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +0 -32
- package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +0 -20
- package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +0 -56
- package/dist/src/ticket-group/dto/ticket-group.dto.js +0 -27
- package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +0 -79
- package/dist/src/ticket-group/dto/update-ticket-group.dto.js +0 -18
- package/dist/src/ticket-group/exports.d.ts +0 -5
- package/dist/src/ticket-group/exports.js +0 -22
@@ -1,610 +0,0 @@
|
|
1
|
-
import z from 'zod';
|
2
|
-
export declare const createManyTicketSchema: z.ZodObject<{
|
3
|
-
tickets: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
4
|
-
id: z.ZodString;
|
5
|
-
eventId: z.ZodString;
|
6
|
-
type: z.ZodNativeEnum<{
|
7
|
-
PARTICIPANT: "PARTICIPANT";
|
8
|
-
STAFF: "STAFF";
|
9
|
-
SPECTATOR: "SPECTATOR";
|
10
|
-
}>;
|
11
|
-
fullName: z.ZodString;
|
12
|
-
mail: z.ZodString;
|
13
|
-
dni: z.ZodString;
|
14
|
-
seat: z.ZodNullable<z.ZodNumber>;
|
15
|
-
ticketGroupId: z.ZodNullable<z.ZodString>;
|
16
|
-
created_at: z.ZodDate;
|
17
|
-
updated_at: z.ZodDate;
|
18
|
-
}, "type" | "fullName" | "mail" | "eventId" | "dni" | "ticketGroupId">, {
|
19
|
-
profileId: z.ZodOptional<z.ZodString>;
|
20
|
-
}>, "strip", z.ZodTypeAny, {
|
21
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
22
|
-
fullName: string;
|
23
|
-
mail: string;
|
24
|
-
eventId: string;
|
25
|
-
dni: string;
|
26
|
-
ticketGroupId: string | null;
|
27
|
-
profileId?: string | undefined;
|
28
|
-
}, {
|
29
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
30
|
-
fullName: string;
|
31
|
-
mail: string;
|
32
|
-
eventId: string;
|
33
|
-
dni: string;
|
34
|
-
ticketGroupId: string | null;
|
35
|
-
profileId?: string | undefined;
|
36
|
-
}>, "many">;
|
37
|
-
}, "strip", z.ZodTypeAny, {
|
38
|
-
tickets: {
|
39
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
40
|
-
fullName: string;
|
41
|
-
mail: string;
|
42
|
-
eventId: string;
|
43
|
-
dni: string;
|
44
|
-
ticketGroupId: string | null;
|
45
|
-
profileId?: string | undefined;
|
46
|
-
}[];
|
47
|
-
}, {
|
48
|
-
tickets: {
|
49
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
50
|
-
fullName: string;
|
51
|
-
mail: string;
|
52
|
-
eventId: string;
|
53
|
-
dni: string;
|
54
|
-
ticketGroupId: string | null;
|
55
|
-
profileId?: string | undefined;
|
56
|
-
}[];
|
57
|
-
}>;
|
58
|
-
declare const CreateManyTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
59
|
-
tickets: z.ZodArray<z.ZodObject<{
|
60
|
-
type: z.ZodNativeEnum<{
|
61
|
-
PARTICIPANT: "PARTICIPANT";
|
62
|
-
STAFF: "STAFF";
|
63
|
-
SPECTATOR: "SPECTATOR";
|
64
|
-
}>;
|
65
|
-
fullName: z.ZodString;
|
66
|
-
mail: z.ZodString;
|
67
|
-
eventId: z.ZodString;
|
68
|
-
dni: z.ZodString;
|
69
|
-
ticketGroupId: z.ZodNullable<z.ZodString>;
|
70
|
-
profileId: z.ZodOptional<z.ZodString>;
|
71
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
72
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
73
|
-
fullName: string;
|
74
|
-
mail: string;
|
75
|
-
eventId: string;
|
76
|
-
dni: string;
|
77
|
-
ticketGroupId: string | null;
|
78
|
-
profileId?: string | undefined;
|
79
|
-
}, {
|
80
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
81
|
-
fullName: string;
|
82
|
-
mail: string;
|
83
|
-
eventId: string;
|
84
|
-
dni: string;
|
85
|
-
ticketGroupId: string | null;
|
86
|
-
profileId?: string | undefined;
|
87
|
-
}>, "many">;
|
88
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
89
|
-
tickets: {
|
90
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
91
|
-
fullName: string;
|
92
|
-
mail: string;
|
93
|
-
eventId: string;
|
94
|
-
dni: string;
|
95
|
-
ticketGroupId: string | null;
|
96
|
-
profileId?: string | undefined;
|
97
|
-
}[];
|
98
|
-
}, {
|
99
|
-
tickets: {
|
100
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
101
|
-
fullName: string;
|
102
|
-
mail: string;
|
103
|
-
eventId: string;
|
104
|
-
dni: string;
|
105
|
-
ticketGroupId: string | null;
|
106
|
-
profileId?: string | undefined;
|
107
|
-
}[];
|
108
|
-
}>>;
|
109
|
-
export declare class CreateManyTicketDto extends CreateManyTicketDto_base {
|
110
|
-
}
|
111
|
-
export declare const generateMultiplePdfTicketsSchema: z.ZodArray<z.ZodObject<{
|
112
|
-
ticketId: z.ZodString;
|
113
|
-
pdf: z.ZodType<Blob, z.ZodTypeDef, Blob>;
|
114
|
-
}, "strip", z.ZodTypeAny, {
|
115
|
-
pdf: Blob;
|
116
|
-
ticketId: string;
|
117
|
-
}, {
|
118
|
-
pdf: Blob;
|
119
|
-
ticketId: string;
|
120
|
-
}>, "many">;
|
121
|
-
export declare const createManyTicketResponseSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
122
|
-
id: z.ZodString;
|
123
|
-
eventId: z.ZodString;
|
124
|
-
type: z.ZodNativeEnum<{
|
125
|
-
PARTICIPANT: "PARTICIPANT";
|
126
|
-
STAFF: "STAFF";
|
127
|
-
SPECTATOR: "SPECTATOR";
|
128
|
-
}>;
|
129
|
-
fullName: z.ZodString;
|
130
|
-
mail: z.ZodString;
|
131
|
-
dni: z.ZodString;
|
132
|
-
seat: z.ZodNullable<z.ZodNumber>;
|
133
|
-
ticketGroupId: z.ZodNullable<z.ZodString>;
|
134
|
-
created_at: z.ZodDate;
|
135
|
-
updated_at: z.ZodDate;
|
136
|
-
}, {
|
137
|
-
event: z.ZodObject<{
|
138
|
-
id: z.ZodString;
|
139
|
-
name: z.ZodString;
|
140
|
-
date: z.ZodDate;
|
141
|
-
startingDate: z.ZodDate;
|
142
|
-
endingDate: z.ZodDate;
|
143
|
-
location: z.ZodString;
|
144
|
-
folderId: z.ZodNullable<z.ZodString>;
|
145
|
-
tagAssistedId: z.ZodString;
|
146
|
-
tagConfirmedId: z.ZodString;
|
147
|
-
active: z.ZodBoolean;
|
148
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
149
|
-
created_at: z.ZodDate;
|
150
|
-
updated_at: z.ZodDate;
|
151
|
-
}, "strip", z.ZodTypeAny, {
|
152
|
-
location: string;
|
153
|
-
id: string;
|
154
|
-
name: string;
|
155
|
-
date: Date;
|
156
|
-
startingDate: Date;
|
157
|
-
endingDate: Date;
|
158
|
-
created_at: Date;
|
159
|
-
updated_at: Date;
|
160
|
-
active: boolean;
|
161
|
-
folderId: string | null;
|
162
|
-
tagAssistedId: string;
|
163
|
-
tagConfirmedId: string;
|
164
|
-
supraEventId: string | null;
|
165
|
-
}, {
|
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
|
-
}>, "strip", z.ZodTypeAny, {
|
181
|
-
event: {
|
182
|
-
location: string;
|
183
|
-
id: string;
|
184
|
-
name: string;
|
185
|
-
date: Date;
|
186
|
-
startingDate: Date;
|
187
|
-
endingDate: Date;
|
188
|
-
created_at: Date;
|
189
|
-
updated_at: Date;
|
190
|
-
active: boolean;
|
191
|
-
folderId: string | null;
|
192
|
-
tagAssistedId: string;
|
193
|
-
tagConfirmedId: string;
|
194
|
-
supraEventId: string | null;
|
195
|
-
};
|
196
|
-
id: string;
|
197
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
198
|
-
fullName: string;
|
199
|
-
mail: string;
|
200
|
-
eventId: string;
|
201
|
-
dni: string;
|
202
|
-
seat: number | null;
|
203
|
-
created_at: Date;
|
204
|
-
updated_at: Date;
|
205
|
-
ticketGroupId: string | null;
|
206
|
-
}, {
|
207
|
-
event: {
|
208
|
-
location: string;
|
209
|
-
id: string;
|
210
|
-
name: string;
|
211
|
-
date: Date;
|
212
|
-
startingDate: Date;
|
213
|
-
endingDate: Date;
|
214
|
-
created_at: Date;
|
215
|
-
updated_at: Date;
|
216
|
-
active: boolean;
|
217
|
-
folderId: string | null;
|
218
|
-
tagAssistedId: string;
|
219
|
-
tagConfirmedId: string;
|
220
|
-
supraEventId: string | null;
|
221
|
-
};
|
222
|
-
id: string;
|
223
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
224
|
-
fullName: string;
|
225
|
-
mail: string;
|
226
|
-
eventId: string;
|
227
|
-
dni: string;
|
228
|
-
seat: number | null;
|
229
|
-
created_at: Date;
|
230
|
-
updated_at: Date;
|
231
|
-
ticketGroupId: string | null;
|
232
|
-
}>, "many">;
|
233
|
-
export declare const createManyTicketWithPdfsResponseSchema: z.ZodObject<{
|
234
|
-
tickets: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
235
|
-
id: z.ZodString;
|
236
|
-
eventId: z.ZodString;
|
237
|
-
type: z.ZodNativeEnum<{
|
238
|
-
PARTICIPANT: "PARTICIPANT";
|
239
|
-
STAFF: "STAFF";
|
240
|
-
SPECTATOR: "SPECTATOR";
|
241
|
-
}>;
|
242
|
-
fullName: z.ZodString;
|
243
|
-
mail: z.ZodString;
|
244
|
-
dni: z.ZodString;
|
245
|
-
seat: z.ZodNullable<z.ZodNumber>;
|
246
|
-
ticketGroupId: z.ZodNullable<z.ZodString>;
|
247
|
-
created_at: z.ZodDate;
|
248
|
-
updated_at: z.ZodDate;
|
249
|
-
}, {
|
250
|
-
event: z.ZodObject<{
|
251
|
-
id: z.ZodString;
|
252
|
-
name: z.ZodString;
|
253
|
-
date: z.ZodDate;
|
254
|
-
startingDate: z.ZodDate;
|
255
|
-
endingDate: z.ZodDate;
|
256
|
-
location: z.ZodString;
|
257
|
-
folderId: z.ZodNullable<z.ZodString>;
|
258
|
-
tagAssistedId: z.ZodString;
|
259
|
-
tagConfirmedId: z.ZodString;
|
260
|
-
active: z.ZodBoolean;
|
261
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
262
|
-
created_at: z.ZodDate;
|
263
|
-
updated_at: z.ZodDate;
|
264
|
-
}, "strip", z.ZodTypeAny, {
|
265
|
-
location: string;
|
266
|
-
id: string;
|
267
|
-
name: string;
|
268
|
-
date: Date;
|
269
|
-
startingDate: Date;
|
270
|
-
endingDate: Date;
|
271
|
-
created_at: Date;
|
272
|
-
updated_at: Date;
|
273
|
-
active: boolean;
|
274
|
-
folderId: string | null;
|
275
|
-
tagAssistedId: string;
|
276
|
-
tagConfirmedId: string;
|
277
|
-
supraEventId: string | null;
|
278
|
-
}, {
|
279
|
-
location: string;
|
280
|
-
id: string;
|
281
|
-
name: string;
|
282
|
-
date: Date;
|
283
|
-
startingDate: Date;
|
284
|
-
endingDate: Date;
|
285
|
-
created_at: Date;
|
286
|
-
updated_at: Date;
|
287
|
-
active: boolean;
|
288
|
-
folderId: string | null;
|
289
|
-
tagAssistedId: string;
|
290
|
-
tagConfirmedId: string;
|
291
|
-
supraEventId: string | null;
|
292
|
-
}>;
|
293
|
-
}>, "strip", z.ZodTypeAny, {
|
294
|
-
event: {
|
295
|
-
location: string;
|
296
|
-
id: string;
|
297
|
-
name: string;
|
298
|
-
date: Date;
|
299
|
-
startingDate: Date;
|
300
|
-
endingDate: Date;
|
301
|
-
created_at: Date;
|
302
|
-
updated_at: Date;
|
303
|
-
active: boolean;
|
304
|
-
folderId: string | null;
|
305
|
-
tagAssistedId: string;
|
306
|
-
tagConfirmedId: string;
|
307
|
-
supraEventId: string | null;
|
308
|
-
};
|
309
|
-
id: string;
|
310
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
311
|
-
fullName: string;
|
312
|
-
mail: string;
|
313
|
-
eventId: string;
|
314
|
-
dni: string;
|
315
|
-
seat: number | null;
|
316
|
-
created_at: Date;
|
317
|
-
updated_at: Date;
|
318
|
-
ticketGroupId: string | null;
|
319
|
-
}, {
|
320
|
-
event: {
|
321
|
-
location: string;
|
322
|
-
id: string;
|
323
|
-
name: string;
|
324
|
-
date: Date;
|
325
|
-
startingDate: Date;
|
326
|
-
endingDate: Date;
|
327
|
-
created_at: Date;
|
328
|
-
updated_at: Date;
|
329
|
-
active: boolean;
|
330
|
-
folderId: string | null;
|
331
|
-
tagAssistedId: string;
|
332
|
-
tagConfirmedId: string;
|
333
|
-
supraEventId: string | null;
|
334
|
-
};
|
335
|
-
id: string;
|
336
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
337
|
-
fullName: string;
|
338
|
-
mail: string;
|
339
|
-
eventId: string;
|
340
|
-
dni: string;
|
341
|
-
seat: number | null;
|
342
|
-
created_at: Date;
|
343
|
-
updated_at: Date;
|
344
|
-
ticketGroupId: string | null;
|
345
|
-
}>, "many">;
|
346
|
-
pdfs: z.ZodArray<z.ZodObject<{
|
347
|
-
ticketId: z.ZodString;
|
348
|
-
pdfBase64: z.ZodString;
|
349
|
-
}, "strip", z.ZodTypeAny, {
|
350
|
-
ticketId: string;
|
351
|
-
pdfBase64: string;
|
352
|
-
}, {
|
353
|
-
ticketId: string;
|
354
|
-
pdfBase64: string;
|
355
|
-
}>, "many">;
|
356
|
-
}, "strip", z.ZodTypeAny, {
|
357
|
-
tickets: {
|
358
|
-
event: {
|
359
|
-
location: string;
|
360
|
-
id: string;
|
361
|
-
name: string;
|
362
|
-
date: Date;
|
363
|
-
startingDate: Date;
|
364
|
-
endingDate: Date;
|
365
|
-
created_at: Date;
|
366
|
-
updated_at: Date;
|
367
|
-
active: boolean;
|
368
|
-
folderId: string | null;
|
369
|
-
tagAssistedId: string;
|
370
|
-
tagConfirmedId: string;
|
371
|
-
supraEventId: string | null;
|
372
|
-
};
|
373
|
-
id: string;
|
374
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
375
|
-
fullName: string;
|
376
|
-
mail: string;
|
377
|
-
eventId: string;
|
378
|
-
dni: string;
|
379
|
-
seat: number | null;
|
380
|
-
created_at: Date;
|
381
|
-
updated_at: Date;
|
382
|
-
ticketGroupId: string | null;
|
383
|
-
}[];
|
384
|
-
pdfs: {
|
385
|
-
ticketId: string;
|
386
|
-
pdfBase64: string;
|
387
|
-
}[];
|
388
|
-
}, {
|
389
|
-
tickets: {
|
390
|
-
event: {
|
391
|
-
location: string;
|
392
|
-
id: string;
|
393
|
-
name: string;
|
394
|
-
date: Date;
|
395
|
-
startingDate: Date;
|
396
|
-
endingDate: Date;
|
397
|
-
created_at: Date;
|
398
|
-
updated_at: Date;
|
399
|
-
active: boolean;
|
400
|
-
folderId: string | null;
|
401
|
-
tagAssistedId: string;
|
402
|
-
tagConfirmedId: string;
|
403
|
-
supraEventId: string | null;
|
404
|
-
};
|
405
|
-
id: string;
|
406
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
407
|
-
fullName: string;
|
408
|
-
mail: string;
|
409
|
-
eventId: string;
|
410
|
-
dni: string;
|
411
|
-
seat: number | null;
|
412
|
-
created_at: Date;
|
413
|
-
updated_at: Date;
|
414
|
-
ticketGroupId: string | null;
|
415
|
-
}[];
|
416
|
-
pdfs: {
|
417
|
-
ticketId: string;
|
418
|
-
pdfBase64: string;
|
419
|
-
}[];
|
420
|
-
}>;
|
421
|
-
declare const CreateManyTicketWithPdfsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
422
|
-
tickets: z.ZodArray<z.ZodObject<{
|
423
|
-
id: z.ZodString;
|
424
|
-
eventId: z.ZodString;
|
425
|
-
type: z.ZodNativeEnum<{
|
426
|
-
PARTICIPANT: "PARTICIPANT";
|
427
|
-
STAFF: "STAFF";
|
428
|
-
SPECTATOR: "SPECTATOR";
|
429
|
-
}>;
|
430
|
-
fullName: z.ZodString;
|
431
|
-
mail: z.ZodString;
|
432
|
-
dni: z.ZodString;
|
433
|
-
seat: z.ZodNullable<z.ZodNumber>;
|
434
|
-
ticketGroupId: z.ZodNullable<z.ZodString>;
|
435
|
-
created_at: z.ZodString;
|
436
|
-
updated_at: z.ZodString;
|
437
|
-
event: z.ZodObject<{
|
438
|
-
id: z.ZodString;
|
439
|
-
name: z.ZodString;
|
440
|
-
date: z.ZodString;
|
441
|
-
startingDate: z.ZodString;
|
442
|
-
endingDate: z.ZodString;
|
443
|
-
location: z.ZodString;
|
444
|
-
folderId: z.ZodNullable<z.ZodString>;
|
445
|
-
tagAssistedId: z.ZodString;
|
446
|
-
tagConfirmedId: z.ZodString;
|
447
|
-
active: z.ZodBoolean;
|
448
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
449
|
-
created_at: z.ZodString;
|
450
|
-
updated_at: z.ZodString;
|
451
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
452
|
-
location: string;
|
453
|
-
id: string;
|
454
|
-
name: string;
|
455
|
-
date: string;
|
456
|
-
startingDate: string;
|
457
|
-
endingDate: string;
|
458
|
-
created_at: string;
|
459
|
-
updated_at: string;
|
460
|
-
active: boolean;
|
461
|
-
folderId: string | null;
|
462
|
-
tagAssistedId: string;
|
463
|
-
tagConfirmedId: string;
|
464
|
-
supraEventId: string | null;
|
465
|
-
}, {
|
466
|
-
location: string;
|
467
|
-
id: string;
|
468
|
-
name: string;
|
469
|
-
date: string;
|
470
|
-
startingDate: string;
|
471
|
-
endingDate: string;
|
472
|
-
created_at: string;
|
473
|
-
updated_at: string;
|
474
|
-
active: boolean;
|
475
|
-
folderId: string | null;
|
476
|
-
tagAssistedId: string;
|
477
|
-
tagConfirmedId: string;
|
478
|
-
supraEventId: string | null;
|
479
|
-
}>;
|
480
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
481
|
-
event: {
|
482
|
-
location: string;
|
483
|
-
id: string;
|
484
|
-
name: string;
|
485
|
-
date: string;
|
486
|
-
startingDate: string;
|
487
|
-
endingDate: string;
|
488
|
-
created_at: string;
|
489
|
-
updated_at: string;
|
490
|
-
active: boolean;
|
491
|
-
folderId: string | null;
|
492
|
-
tagAssistedId: string;
|
493
|
-
tagConfirmedId: string;
|
494
|
-
supraEventId: string | null;
|
495
|
-
};
|
496
|
-
id: string;
|
497
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
498
|
-
fullName: string;
|
499
|
-
mail: string;
|
500
|
-
eventId: string;
|
501
|
-
dni: string;
|
502
|
-
seat: number | null;
|
503
|
-
created_at: string;
|
504
|
-
updated_at: string;
|
505
|
-
ticketGroupId: string | null;
|
506
|
-
}, {
|
507
|
-
event: {
|
508
|
-
location: string;
|
509
|
-
id: string;
|
510
|
-
name: string;
|
511
|
-
date: string;
|
512
|
-
startingDate: string;
|
513
|
-
endingDate: string;
|
514
|
-
created_at: string;
|
515
|
-
updated_at: string;
|
516
|
-
active: boolean;
|
517
|
-
folderId: string | null;
|
518
|
-
tagAssistedId: string;
|
519
|
-
tagConfirmedId: string;
|
520
|
-
supraEventId: string | null;
|
521
|
-
};
|
522
|
-
id: string;
|
523
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
524
|
-
fullName: string;
|
525
|
-
mail: string;
|
526
|
-
eventId: string;
|
527
|
-
dni: string;
|
528
|
-
seat: number | null;
|
529
|
-
created_at: string;
|
530
|
-
updated_at: string;
|
531
|
-
ticketGroupId: string | null;
|
532
|
-
}>, "many">;
|
533
|
-
pdfs: z.ZodArray<z.ZodObject<{
|
534
|
-
ticketId: z.ZodString;
|
535
|
-
pdfBase64: z.ZodString;
|
536
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
537
|
-
ticketId: string;
|
538
|
-
pdfBase64: string;
|
539
|
-
}, {
|
540
|
-
ticketId: string;
|
541
|
-
pdfBase64: string;
|
542
|
-
}>, "many">;
|
543
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
544
|
-
tickets: {
|
545
|
-
event: {
|
546
|
-
location: string;
|
547
|
-
id: string;
|
548
|
-
name: string;
|
549
|
-
date: string;
|
550
|
-
startingDate: string;
|
551
|
-
endingDate: string;
|
552
|
-
created_at: string;
|
553
|
-
updated_at: string;
|
554
|
-
active: boolean;
|
555
|
-
folderId: string | null;
|
556
|
-
tagAssistedId: string;
|
557
|
-
tagConfirmedId: string;
|
558
|
-
supraEventId: string | null;
|
559
|
-
};
|
560
|
-
id: string;
|
561
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
562
|
-
fullName: string;
|
563
|
-
mail: string;
|
564
|
-
eventId: string;
|
565
|
-
dni: string;
|
566
|
-
seat: number | null;
|
567
|
-
created_at: string;
|
568
|
-
updated_at: string;
|
569
|
-
ticketGroupId: string | null;
|
570
|
-
}[];
|
571
|
-
pdfs: {
|
572
|
-
ticketId: string;
|
573
|
-
pdfBase64: string;
|
574
|
-
}[];
|
575
|
-
}, {
|
576
|
-
tickets: {
|
577
|
-
event: {
|
578
|
-
location: string;
|
579
|
-
id: string;
|
580
|
-
name: string;
|
581
|
-
date: string;
|
582
|
-
startingDate: string;
|
583
|
-
endingDate: string;
|
584
|
-
created_at: string;
|
585
|
-
updated_at: string;
|
586
|
-
active: boolean;
|
587
|
-
folderId: string | null;
|
588
|
-
tagAssistedId: string;
|
589
|
-
tagConfirmedId: string;
|
590
|
-
supraEventId: string | null;
|
591
|
-
};
|
592
|
-
id: string;
|
593
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
594
|
-
fullName: string;
|
595
|
-
mail: string;
|
596
|
-
eventId: string;
|
597
|
-
dni: string;
|
598
|
-
seat: number | null;
|
599
|
-
created_at: string;
|
600
|
-
updated_at: string;
|
601
|
-
ticketGroupId: string | null;
|
602
|
-
}[];
|
603
|
-
pdfs: {
|
604
|
-
ticketId: string;
|
605
|
-
pdfBase64: string;
|
606
|
-
}[];
|
607
|
-
}>>;
|
608
|
-
export declare class CreateManyTicketWithPdfsResponseDto extends CreateManyTicketWithPdfsResponseDto_base {
|
609
|
-
}
|
610
|
-
export {};
|
@@ -1,50 +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.createManyTicketResponseSchema = 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
|
-
exports.createManyTicketResponseSchema = ticket_dto_1.ticketSchema
|
36
|
-
.extend({
|
37
|
-
event: event_dto_1.eventSchema,
|
38
|
-
})
|
39
|
-
.array();
|
40
|
-
exports.createManyTicketWithPdfsResponseSchema = zod_1.default.object({
|
41
|
-
tickets: exports.createManyTicketResponseSchema,
|
42
|
-
pdfs: zod_1.default.array(zod_1.default.object({
|
43
|
-
ticketId: zod_1.default.string(),
|
44
|
-
pdfBase64: zod_1.default.string(),
|
45
|
-
})),
|
46
|
-
});
|
47
|
-
class CreateManyTicketWithPdfsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createManyTicketWithPdfsResponseSchema) {
|
48
|
-
}
|
49
|
-
exports.CreateManyTicketWithPdfsResponseDto = CreateManyTicketWithPdfsResponseDto;
|
50
|
-
//# sourceMappingURL=create-many-ticket.dto.js.map
|