expo-backend-types 0.37.0-EXPO-327-EB-Escanear-entrada.1 → 0.37.0-EXPO-327-EB-Escanear-entrada.3
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 +20 -0
- package/dist/src/i18n/es.d.ts +8 -0
- package/dist/src/i18n/es.js +63 -170
- 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 +14 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +12 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +20 -0
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +12 -0
- 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 +12 -0
- package/dist/src/ticket/dto/ticket.dto.js +2 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +12 -0
- package/dist/src/ticket/exports.d.ts +1 -0
- package/dist/src/ticket/exports.js +1 -0
- package/dist/types/prisma-schema/edge.js +11 -9
- package/dist/types/prisma-schema/index-browser.js +6 -4
- package/dist/types/prisma-schema/index.d.ts +317 -230
- package/dist/types/prisma-schema/index.js +11 -9
- 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 +3 -1
- package/dist/types/prisma-schema/wasm.js +6 -4
- package/dist/types/schema.d.ts +82 -1
- package/package.json +13 -14
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.generateTicketTemplate =
|
3
|
+
exports.generateTicketTemplate = generateTicketTemplate;
|
4
4
|
const translate_1 = require("../i18n/translate");
|
5
5
|
const types_1 = require("../../types");
|
6
6
|
function generateTicketTemplate(ticketType) {
|
@@ -356,5 +356,4 @@ function generateTicketTemplate(ticketType) {
|
|
356
356
|
pdfmeVersion: '5.3.13',
|
357
357
|
};
|
358
358
|
}
|
359
|
-
exports.generateTicketTemplate = generateTicketTemplate;
|
360
359
|
//# sourceMappingURL=constants.js.map
|
@@ -15,6 +15,8 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
|
|
15
15
|
mail: import("zod").ZodString;
|
16
16
|
dni: import("zod").ZodString;
|
17
17
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
18
|
+
scanned: import("zod").ZodBoolean;
|
19
|
+
scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
18
20
|
created_at: import("zod").ZodDate;
|
19
21
|
updated_at: import("zod").ZodDate;
|
20
22
|
}, "type" | "fullName" | "mail" | "eventId" | "status" | "dni">, {
|
@@ -88,6 +90,8 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
|
|
88
90
|
mail: import("zod").ZodString;
|
89
91
|
dni: import("zod").ZodString;
|
90
92
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
93
|
+
scanned: import("zod").ZodBoolean;
|
94
|
+
scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
91
95
|
created_at: import("zod").ZodDate;
|
92
96
|
updated_at: import("zod").ZodDate;
|
93
97
|
}, {
|
@@ -160,6 +164,8 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
|
|
160
164
|
dni: string;
|
161
165
|
created_at: Date;
|
162
166
|
updated_at: Date;
|
167
|
+
scanned: boolean;
|
168
|
+
scannedAt: Date | null;
|
163
169
|
}, {
|
164
170
|
event: {
|
165
171
|
location: string;
|
@@ -186,6 +192,8 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
|
|
186
192
|
dni: string;
|
187
193
|
created_at: Date;
|
188
194
|
updated_at: Date;
|
195
|
+
scanned: boolean;
|
196
|
+
scannedAt: Date | null;
|
189
197
|
}>;
|
190
198
|
declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
191
199
|
id: import("zod").ZodString;
|
@@ -204,6 +212,8 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
204
212
|
mail: import("zod").ZodString;
|
205
213
|
dni: import("zod").ZodString;
|
206
214
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
215
|
+
scanned: import("zod").ZodBoolean;
|
216
|
+
scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
207
217
|
created_at: import("zod").ZodString;
|
208
218
|
updated_at: import("zod").ZodString;
|
209
219
|
event: import("zod").ZodObject<{
|
@@ -275,6 +285,8 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
275
285
|
dni: string;
|
276
286
|
created_at: string;
|
277
287
|
updated_at: string;
|
288
|
+
scanned: boolean;
|
289
|
+
scannedAt: string | null;
|
278
290
|
}, {
|
279
291
|
event: {
|
280
292
|
location: string;
|
@@ -301,6 +313,8 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
301
313
|
dni: string;
|
302
314
|
created_at: string;
|
303
315
|
updated_at: string;
|
316
|
+
scanned: boolean;
|
317
|
+
scannedAt: string | null;
|
304
318
|
}>>;
|
305
319
|
export declare class CreateTicketResponseDto extends CreateTicketResponseDto_base {
|
306
320
|
}
|
@@ -15,6 +15,8 @@ export declare const deleteTicketResponseSchema: import("zod").ZodObject<{
|
|
15
15
|
mail: import("zod").ZodString;
|
16
16
|
dni: import("zod").ZodString;
|
17
17
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
18
|
+
scanned: import("zod").ZodBoolean;
|
19
|
+
scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
18
20
|
created_at: import("zod").ZodDate;
|
19
21
|
updated_at: import("zod").ZodDate;
|
20
22
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -28,6 +30,8 @@ export declare const deleteTicketResponseSchema: import("zod").ZodObject<{
|
|
28
30
|
dni: string;
|
29
31
|
created_at: Date;
|
30
32
|
updated_at: Date;
|
33
|
+
scanned: boolean;
|
34
|
+
scannedAt: Date | null;
|
31
35
|
}, {
|
32
36
|
id: string;
|
33
37
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
@@ -39,6 +43,8 @@ export declare const deleteTicketResponseSchema: import("zod").ZodObject<{
|
|
39
43
|
dni: string;
|
40
44
|
created_at: Date;
|
41
45
|
updated_at: Date;
|
46
|
+
scanned: boolean;
|
47
|
+
scannedAt: Date | null;
|
42
48
|
}>;
|
43
49
|
declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
44
50
|
id: import("zod").ZodString;
|
@@ -57,6 +63,8 @@ declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
57
63
|
mail: import("zod").ZodString;
|
58
64
|
dni: import("zod").ZodString;
|
59
65
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
66
|
+
scanned: import("zod").ZodBoolean;
|
67
|
+
scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
60
68
|
created_at: import("zod").ZodString;
|
61
69
|
updated_at: import("zod").ZodString;
|
62
70
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
@@ -70,6 +78,8 @@ declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
70
78
|
dni: string;
|
71
79
|
created_at: string;
|
72
80
|
updated_at: string;
|
81
|
+
scanned: boolean;
|
82
|
+
scannedAt: string | null;
|
73
83
|
}, {
|
74
84
|
id: string;
|
75
85
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
@@ -81,6 +91,8 @@ declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
81
91
|
dni: string;
|
82
92
|
created_at: string;
|
83
93
|
updated_at: string;
|
94
|
+
scanned: boolean;
|
95
|
+
scannedAt: string | null;
|
84
96
|
}>>;
|
85
97
|
export declare class DeleteTicketResponseDto extends DeleteTicketResponseDto_base {
|
86
98
|
}
|
@@ -17,6 +17,8 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
17
17
|
mail: z.ZodString;
|
18
18
|
dni: z.ZodString;
|
19
19
|
seat: z.ZodNullable<z.ZodNumber>;
|
20
|
+
scanned: z.ZodBoolean;
|
21
|
+
scannedAt: z.ZodNullable<z.ZodDate>;
|
20
22
|
created_at: z.ZodDate;
|
21
23
|
updated_at: z.ZodDate;
|
22
24
|
}, {
|
@@ -59,6 +61,8 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
59
61
|
dni: string;
|
60
62
|
created_at: Date;
|
61
63
|
updated_at: Date;
|
64
|
+
scanned: boolean;
|
65
|
+
scannedAt: Date | null;
|
62
66
|
}, {
|
63
67
|
event: {
|
64
68
|
location: string;
|
@@ -75,6 +79,8 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
75
79
|
dni: string;
|
76
80
|
created_at: Date;
|
77
81
|
updated_at: Date;
|
82
|
+
scanned: boolean;
|
83
|
+
scannedAt: Date | null;
|
78
84
|
}>, "many">;
|
79
85
|
}, "strip", z.ZodTypeAny, {
|
80
86
|
tickets: {
|
@@ -93,6 +99,8 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
93
99
|
dni: string;
|
94
100
|
created_at: Date;
|
95
101
|
updated_at: Date;
|
102
|
+
scanned: boolean;
|
103
|
+
scannedAt: Date | null;
|
96
104
|
}[];
|
97
105
|
}, {
|
98
106
|
tickets: {
|
@@ -111,6 +119,8 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
|
|
111
119
|
dni: string;
|
112
120
|
created_at: Date;
|
113
121
|
updated_at: Date;
|
122
|
+
scanned: boolean;
|
123
|
+
scannedAt: Date | null;
|
114
124
|
}[];
|
115
125
|
}>;
|
116
126
|
declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -131,6 +141,8 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
131
141
|
mail: z.ZodString;
|
132
142
|
dni: z.ZodString;
|
133
143
|
seat: z.ZodNullable<z.ZodNumber>;
|
144
|
+
scanned: z.ZodBoolean;
|
145
|
+
scannedAt: z.ZodNullable<z.ZodString>;
|
134
146
|
created_at: z.ZodString;
|
135
147
|
updated_at: z.ZodString;
|
136
148
|
event: z.ZodObject<{
|
@@ -162,6 +174,8 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
162
174
|
dni: string;
|
163
175
|
created_at: string;
|
164
176
|
updated_at: string;
|
177
|
+
scanned: boolean;
|
178
|
+
scannedAt: string | null;
|
165
179
|
}, {
|
166
180
|
event: {
|
167
181
|
location: string;
|
@@ -178,6 +192,8 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
178
192
|
dni: string;
|
179
193
|
created_at: string;
|
180
194
|
updated_at: string;
|
195
|
+
scanned: boolean;
|
196
|
+
scannedAt: string | null;
|
181
197
|
}>, "many">;
|
182
198
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
183
199
|
tickets: {
|
@@ -196,6 +212,8 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
196
212
|
dni: string;
|
197
213
|
created_at: string;
|
198
214
|
updated_at: string;
|
215
|
+
scanned: boolean;
|
216
|
+
scannedAt: string | null;
|
199
217
|
}[];
|
200
218
|
}, {
|
201
219
|
tickets: {
|
@@ -214,6 +232,8 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
214
232
|
dni: string;
|
215
233
|
created_at: string;
|
216
234
|
updated_at: string;
|
235
|
+
scanned: boolean;
|
236
|
+
scannedAt: string | null;
|
217
237
|
}[];
|
218
238
|
}>>;
|
219
239
|
export declare class FindAllTicketsResponseDto extends FindAllTicketsResponseDto_base {
|
@@ -17,6 +17,8 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
|
|
17
17
|
mail: z.ZodString;
|
18
18
|
dni: z.ZodString;
|
19
19
|
seat: z.ZodNullable<z.ZodNumber>;
|
20
|
+
scanned: z.ZodBoolean;
|
21
|
+
scannedAt: z.ZodNullable<z.ZodDate>;
|
20
22
|
created_at: z.ZodDate;
|
21
23
|
updated_at: z.ZodDate;
|
22
24
|
}, {
|
@@ -167,6 +169,8 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
|
|
167
169
|
dni: string;
|
168
170
|
created_at: Date;
|
169
171
|
updated_at: Date;
|
172
|
+
scanned: boolean;
|
173
|
+
scannedAt: Date | null;
|
170
174
|
}, {
|
171
175
|
event: {
|
172
176
|
location: string;
|
@@ -209,6 +213,8 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
|
|
209
213
|
dni: string;
|
210
214
|
created_at: Date;
|
211
215
|
updated_at: Date;
|
216
|
+
scanned: boolean;
|
217
|
+
scannedAt: Date | null;
|
212
218
|
}>, "many">;
|
213
219
|
}, "strip", z.ZodTypeAny, {
|
214
220
|
tickets: {
|
@@ -253,6 +259,8 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
|
|
253
259
|
dni: string;
|
254
260
|
created_at: Date;
|
255
261
|
updated_at: Date;
|
262
|
+
scanned: boolean;
|
263
|
+
scannedAt: Date | null;
|
256
264
|
}[];
|
257
265
|
}, {
|
258
266
|
tickets: {
|
@@ -297,6 +305,8 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
|
|
297
305
|
dni: string;
|
298
306
|
created_at: Date;
|
299
307
|
updated_at: Date;
|
308
|
+
scanned: boolean;
|
309
|
+
scannedAt: Date | null;
|
300
310
|
}[];
|
301
311
|
}>;
|
302
312
|
declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -317,6 +327,8 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
317
327
|
mail: z.ZodString;
|
318
328
|
dni: z.ZodString;
|
319
329
|
seat: z.ZodNullable<z.ZodNumber>;
|
330
|
+
scanned: z.ZodBoolean;
|
331
|
+
scannedAt: z.ZodNullable<z.ZodString>;
|
320
332
|
created_at: z.ZodString;
|
321
333
|
updated_at: z.ZodString;
|
322
334
|
event: z.ZodObject<{
|
@@ -456,6 +468,8 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
456
468
|
dni: string;
|
457
469
|
created_at: string;
|
458
470
|
updated_at: string;
|
471
|
+
scanned: boolean;
|
472
|
+
scannedAt: string | null;
|
459
473
|
}, {
|
460
474
|
event: {
|
461
475
|
location: string;
|
@@ -498,6 +512,8 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
498
512
|
dni: string;
|
499
513
|
created_at: string;
|
500
514
|
updated_at: string;
|
515
|
+
scanned: boolean;
|
516
|
+
scannedAt: string | null;
|
501
517
|
}>, "many">;
|
502
518
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
503
519
|
tickets: {
|
@@ -542,6 +558,8 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
542
558
|
dni: string;
|
543
559
|
created_at: string;
|
544
560
|
updated_at: string;
|
561
|
+
scanned: boolean;
|
562
|
+
scannedAt: string | null;
|
545
563
|
}[];
|
546
564
|
}, {
|
547
565
|
tickets: {
|
@@ -586,6 +604,8 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
|
|
586
604
|
dni: string;
|
587
605
|
created_at: string;
|
588
606
|
updated_at: string;
|
607
|
+
scanned: boolean;
|
608
|
+
scannedAt: string | null;
|
589
609
|
}[];
|
590
610
|
}>>;
|
591
611
|
export declare class FindByEventTicketResponseDto extends FindByEventTicketResponseDto_base {
|
@@ -17,6 +17,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
17
17
|
mail: z.ZodString;
|
18
18
|
dni: z.ZodString;
|
19
19
|
seat: z.ZodNullable<z.ZodNumber>;
|
20
|
+
scanned: z.ZodBoolean;
|
21
|
+
scannedAt: z.ZodNullable<z.ZodDate>;
|
20
22
|
created_at: z.ZodDate;
|
21
23
|
updated_at: z.ZodDate;
|
22
24
|
}, {
|
@@ -167,6 +169,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
167
169
|
dni: string;
|
168
170
|
created_at: Date;
|
169
171
|
updated_at: Date;
|
172
|
+
scanned: boolean;
|
173
|
+
scannedAt: Date | null;
|
170
174
|
}, {
|
171
175
|
event: {
|
172
176
|
location: string;
|
@@ -209,6 +213,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
209
213
|
dni: string;
|
210
214
|
created_at: Date;
|
211
215
|
updated_at: Date;
|
216
|
+
scanned: boolean;
|
217
|
+
scannedAt: Date | null;
|
212
218
|
}>;
|
213
219
|
}, "strip", z.ZodTypeAny, {
|
214
220
|
ticket: {
|
@@ -253,6 +259,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
253
259
|
dni: string;
|
254
260
|
created_at: Date;
|
255
261
|
updated_at: Date;
|
262
|
+
scanned: boolean;
|
263
|
+
scannedAt: Date | null;
|
256
264
|
};
|
257
265
|
}, {
|
258
266
|
ticket: {
|
@@ -297,6 +305,8 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
|
|
297
305
|
dni: string;
|
298
306
|
created_at: Date;
|
299
307
|
updated_at: Date;
|
308
|
+
scanned: boolean;
|
309
|
+
scannedAt: Date | null;
|
300
310
|
};
|
301
311
|
}>;
|
302
312
|
declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -317,6 +327,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
317
327
|
mail: z.ZodString;
|
318
328
|
dni: z.ZodString;
|
319
329
|
seat: z.ZodNullable<z.ZodNumber>;
|
330
|
+
scanned: z.ZodBoolean;
|
331
|
+
scannedAt: z.ZodNullable<z.ZodString>;
|
320
332
|
created_at: z.ZodString;
|
321
333
|
updated_at: z.ZodString;
|
322
334
|
event: z.ZodObject<{
|
@@ -456,6 +468,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
456
468
|
dni: string;
|
457
469
|
created_at: string;
|
458
470
|
updated_at: string;
|
471
|
+
scanned: boolean;
|
472
|
+
scannedAt: string | null;
|
459
473
|
}, {
|
460
474
|
event: {
|
461
475
|
location: string;
|
@@ -498,6 +512,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
498
512
|
dni: string;
|
499
513
|
created_at: string;
|
500
514
|
updated_at: string;
|
515
|
+
scanned: boolean;
|
516
|
+
scannedAt: string | null;
|
501
517
|
}>;
|
502
518
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
503
519
|
ticket: {
|
@@ -542,6 +558,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
542
558
|
dni: string;
|
543
559
|
created_at: string;
|
544
560
|
updated_at: string;
|
561
|
+
scanned: boolean;
|
562
|
+
scannedAt: string | null;
|
545
563
|
};
|
546
564
|
}, {
|
547
565
|
ticket: {
|
@@ -586,6 +604,8 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
|
|
586
604
|
dni: string;
|
587
605
|
created_at: string;
|
588
606
|
updated_at: string;
|
607
|
+
scanned: boolean;
|
608
|
+
scannedAt: string | null;
|
589
609
|
};
|
590
610
|
}>>;
|
591
611
|
export declare class FindByIdTicketResponseDto extends FindByIdTicketResponseDto_base {
|
@@ -17,6 +17,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
17
17
|
mail: z.ZodString;
|
18
18
|
dni: z.ZodString;
|
19
19
|
seat: z.ZodNullable<z.ZodNumber>;
|
20
|
+
scanned: z.ZodBoolean;
|
21
|
+
scannedAt: z.ZodNullable<z.ZodDate>;
|
20
22
|
created_at: z.ZodDate;
|
21
23
|
updated_at: z.ZodDate;
|
22
24
|
}, {
|
@@ -167,6 +169,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
167
169
|
dni: string;
|
168
170
|
created_at: Date;
|
169
171
|
updated_at: Date;
|
172
|
+
scanned: boolean;
|
173
|
+
scannedAt: Date | null;
|
170
174
|
}, {
|
171
175
|
event: {
|
172
176
|
location: string;
|
@@ -209,6 +213,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
209
213
|
dni: string;
|
210
214
|
created_at: Date;
|
211
215
|
updated_at: Date;
|
216
|
+
scanned: boolean;
|
217
|
+
scannedAt: Date | null;
|
212
218
|
}>, "many">;
|
213
219
|
}, "strip", z.ZodTypeAny, {
|
214
220
|
tickets: {
|
@@ -253,6 +259,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
253
259
|
dni: string;
|
254
260
|
created_at: Date;
|
255
261
|
updated_at: Date;
|
262
|
+
scanned: boolean;
|
263
|
+
scannedAt: Date | null;
|
256
264
|
}[];
|
257
265
|
}, {
|
258
266
|
tickets: {
|
@@ -297,6 +305,8 @@ export declare const findByMailTicketResponseSchema: z.ZodObject<{
|
|
297
305
|
dni: string;
|
298
306
|
created_at: Date;
|
299
307
|
updated_at: Date;
|
308
|
+
scanned: boolean;
|
309
|
+
scannedAt: Date | null;
|
300
310
|
}[];
|
301
311
|
}>;
|
302
312
|
declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -317,6 +327,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
317
327
|
mail: z.ZodString;
|
318
328
|
dni: z.ZodString;
|
319
329
|
seat: z.ZodNullable<z.ZodNumber>;
|
330
|
+
scanned: z.ZodBoolean;
|
331
|
+
scannedAt: z.ZodNullable<z.ZodString>;
|
320
332
|
created_at: z.ZodString;
|
321
333
|
updated_at: z.ZodString;
|
322
334
|
event: z.ZodObject<{
|
@@ -456,6 +468,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
456
468
|
dni: string;
|
457
469
|
created_at: string;
|
458
470
|
updated_at: string;
|
471
|
+
scanned: boolean;
|
472
|
+
scannedAt: string | null;
|
459
473
|
}, {
|
460
474
|
event: {
|
461
475
|
location: string;
|
@@ -498,6 +512,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
498
512
|
dni: string;
|
499
513
|
created_at: string;
|
500
514
|
updated_at: string;
|
515
|
+
scanned: boolean;
|
516
|
+
scannedAt: string | null;
|
501
517
|
}>, "many">;
|
502
518
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
503
519
|
tickets: {
|
@@ -542,6 +558,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
542
558
|
dni: string;
|
543
559
|
created_at: string;
|
544
560
|
updated_at: string;
|
561
|
+
scanned: boolean;
|
562
|
+
scannedAt: string | null;
|
545
563
|
}[];
|
546
564
|
}, {
|
547
565
|
tickets: {
|
@@ -586,6 +604,8 @@ declare const FindByMailTicketResponseDto_base: import("@anatine/zod-nestjs").Zo
|
|
586
604
|
dni: string;
|
587
605
|
created_at: string;
|
588
606
|
updated_at: string;
|
607
|
+
scanned: boolean;
|
608
|
+
scannedAt: string | null;
|
589
609
|
}[];
|
590
610
|
}>>;
|
591
611
|
export declare class FindByMailTicketResponseDto extends FindByMailTicketResponseDto_base {
|
@@ -17,6 +17,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
17
17
|
mail: z.ZodString;
|
18
18
|
dni: z.ZodString;
|
19
19
|
seat: z.ZodNullable<z.ZodNumber>;
|
20
|
+
scanned: z.ZodBoolean;
|
21
|
+
scannedAt: z.ZodNullable<z.ZodDate>;
|
20
22
|
created_at: z.ZodDate;
|
21
23
|
updated_at: z.ZodDate;
|
22
24
|
}, {
|
@@ -89,6 +91,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
89
91
|
dni: string;
|
90
92
|
created_at: Date;
|
91
93
|
updated_at: Date;
|
94
|
+
scanned: boolean;
|
95
|
+
scannedAt: Date | null;
|
92
96
|
}, {
|
93
97
|
event: {
|
94
98
|
location: string;
|
@@ -115,6 +119,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
115
119
|
dni: string;
|
116
120
|
created_at: Date;
|
117
121
|
updated_at: Date;
|
122
|
+
scanned: boolean;
|
123
|
+
scannedAt: Date | null;
|
118
124
|
}>, "many">;
|
119
125
|
}, "strip", z.ZodTypeAny, {
|
120
126
|
tickets: {
|
@@ -143,6 +149,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
143
149
|
dni: string;
|
144
150
|
created_at: Date;
|
145
151
|
updated_at: Date;
|
152
|
+
scanned: boolean;
|
153
|
+
scannedAt: Date | null;
|
146
154
|
}[];
|
147
155
|
}, {
|
148
156
|
tickets: {
|
@@ -171,6 +179,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
171
179
|
dni: string;
|
172
180
|
created_at: Date;
|
173
181
|
updated_at: Date;
|
182
|
+
scanned: boolean;
|
183
|
+
scannedAt: Date | null;
|
174
184
|
}[];
|
175
185
|
}>;
|
176
186
|
declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -191,6 +201,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
191
201
|
mail: z.ZodString;
|
192
202
|
dni: z.ZodString;
|
193
203
|
seat: z.ZodNullable<z.ZodNumber>;
|
204
|
+
scanned: z.ZodBoolean;
|
205
|
+
scannedAt: z.ZodNullable<z.ZodString>;
|
194
206
|
created_at: z.ZodString;
|
195
207
|
updated_at: z.ZodString;
|
196
208
|
event: z.ZodObject<{
|
@@ -262,6 +274,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
262
274
|
dni: string;
|
263
275
|
created_at: string;
|
264
276
|
updated_at: string;
|
277
|
+
scanned: boolean;
|
278
|
+
scannedAt: string | null;
|
265
279
|
}, {
|
266
280
|
event: {
|
267
281
|
location: string;
|
@@ -288,6 +302,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
288
302
|
dni: string;
|
289
303
|
created_at: string;
|
290
304
|
updated_at: string;
|
305
|
+
scanned: boolean;
|
306
|
+
scannedAt: string | null;
|
291
307
|
}>, "many">;
|
292
308
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
293
309
|
tickets: {
|
@@ -316,6 +332,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
316
332
|
dni: string;
|
317
333
|
created_at: string;
|
318
334
|
updated_at: string;
|
335
|
+
scanned: boolean;
|
336
|
+
scannedAt: string | null;
|
319
337
|
}[];
|
320
338
|
}, {
|
321
339
|
tickets: {
|
@@ -344,6 +362,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
344
362
|
dni: string;
|
345
363
|
created_at: string;
|
346
364
|
updated_at: string;
|
365
|
+
scanned: boolean;
|
366
|
+
scannedAt: string | null;
|
347
367
|
}[];
|
348
368
|
}>>;
|
349
369
|
export declare class FindByProfileIdTicketResponseDto extends FindByProfileIdTicketResponseDto_base {
|
@@ -15,6 +15,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
|
|
15
15
|
mail: import("zod").ZodString;
|
16
16
|
dni: import("zod").ZodString;
|
17
17
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
18
|
+
scanned: import("zod").ZodBoolean;
|
19
|
+
scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
18
20
|
created_at: import("zod").ZodDate;
|
19
21
|
updated_at: import("zod").ZodDate;
|
20
22
|
}, "strip", import("zod").ZodTypeAny, {
|
@@ -28,6 +30,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
|
|
28
30
|
dni: string;
|
29
31
|
created_at: Date;
|
30
32
|
updated_at: Date;
|
33
|
+
scanned: boolean;
|
34
|
+
scannedAt: Date | null;
|
31
35
|
}, {
|
32
36
|
id: string;
|
33
37
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
@@ -39,6 +43,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
|
|
39
43
|
dni: string;
|
40
44
|
created_at: Date;
|
41
45
|
updated_at: Date;
|
46
|
+
scanned: boolean;
|
47
|
+
scannedAt: Date | null;
|
42
48
|
}>;
|
43
49
|
declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
|
44
50
|
id: import("zod").ZodString;
|
@@ -57,6 +63,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
57
63
|
mail: import("zod").ZodString;
|
58
64
|
dni: import("zod").ZodString;
|
59
65
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
66
|
+
scanned: import("zod").ZodBoolean;
|
67
|
+
scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
60
68
|
created_at: import("zod").ZodString;
|
61
69
|
updated_at: import("zod").ZodString;
|
62
70
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
@@ -70,6 +78,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
70
78
|
dni: string;
|
71
79
|
created_at: string;
|
72
80
|
updated_at: string;
|
81
|
+
scanned: boolean;
|
82
|
+
scannedAt: string | null;
|
73
83
|
}, {
|
74
84
|
id: string;
|
75
85
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
@@ -81,6 +91,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
81
91
|
dni: string;
|
82
92
|
created_at: string;
|
83
93
|
updated_at: string;
|
94
|
+
scanned: boolean;
|
95
|
+
scannedAt: string | null;
|
84
96
|
}>>;
|
85
97
|
export declare class FindTicketResponseDto extends FindTicketResponseDto_base {
|
86
98
|
}
|
@@ -1,7 +1,6 @@
|
|
1
|
-
/// <reference types="node" />
|
2
1
|
import z from 'zod';
|
3
|
-
export declare const generatePdfResponseSchema: z.ZodType<Buffer
|
4
|
-
declare const GeneratePdfResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodType<Buffer
|
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>>>;
|
5
4
|
export declare class GeneratePdfResponseDto extends GeneratePdfResponseDto_base {
|
6
5
|
}
|
7
6
|
export {};
|
@@ -0,0 +1,34 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const scanTicketSchema: z.ZodObject<{
|
3
|
+
ticketBarcode: z.ZodString;
|
4
|
+
}, "strip", z.ZodTypeAny, {
|
5
|
+
ticketBarcode: string;
|
6
|
+
}, {
|
7
|
+
ticketBarcode: string;
|
8
|
+
}>;
|
9
|
+
declare const ScanTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
10
|
+
ticketBarcode: z.ZodString;
|
11
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
12
|
+
ticketBarcode: string;
|
13
|
+
}, {
|
14
|
+
ticketBarcode: string;
|
15
|
+
}>>;
|
16
|
+
export declare class ScanTicketDto extends ScanTicketDto_base {
|
17
|
+
}
|
18
|
+
export declare const scanTicketResponseSchema: z.ZodObject<{
|
19
|
+
success: z.ZodBoolean;
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
21
|
+
success: boolean;
|
22
|
+
}, {
|
23
|
+
success: boolean;
|
24
|
+
}>;
|
25
|
+
declare const ScanTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
26
|
+
success: z.ZodBoolean;
|
27
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
28
|
+
success: boolean;
|
29
|
+
}, {
|
30
|
+
success: boolean;
|
31
|
+
}>>;
|
32
|
+
export declare class ScanTicketResponseDto extends ScanTicketResponseDto_base {
|
33
|
+
}
|
34
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
|
+
};
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.ScanTicketResponseDto = exports.scanTicketResponseSchema = exports.ScanTicketDto = exports.scanTicketSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const zod_1 = __importDefault(require("zod"));
|
9
|
+
exports.scanTicketSchema = zod_1.default.object({
|
10
|
+
ticketBarcode: zod_1.default.string(),
|
11
|
+
});
|
12
|
+
class ScanTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketSchema) {
|
13
|
+
}
|
14
|
+
exports.ScanTicketDto = ScanTicketDto;
|
15
|
+
exports.scanTicketResponseSchema = zod_1.default.object({
|
16
|
+
success: zod_1.default.boolean(),
|
17
|
+
});
|
18
|
+
class ScanTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.scanTicketResponseSchema) {
|
19
|
+
}
|
20
|
+
exports.ScanTicketResponseDto = ScanTicketResponseDto;
|
21
|
+
//# sourceMappingURL=scan-ticket.dto.js.map
|