expo-backend-types 0.59.0-EXPO-404-Etapa-4-Paquete-02.5.4 → 0.60.0-feat-desfile-12-octubre.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/event/dto/get-all-statistics.dto.d.ts +15 -0
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +30 -0
- package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +15 -0
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +49 -1
- package/dist/src/ticket/dto/create-many-ticket.dto.js +3 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +37 -1
- package/dist/src/ticket/dto/create-ticket.dto.js +3 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +18 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +30 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +18 -0
- package/dist/src/ticket/dto/get-pdfs-by-group-ticket.dto.d.ts +15 -0
- package/dist/src/ticket/dto/scan-ticket.dto.d.ts +18 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +18 -0
- package/dist/src/ticket/dto/ticket.dto.js +4 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +18 -0
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +30 -0
- package/dist/types/prisma-schema/edge.js +6 -3
- package/dist/types/prisma-schema/index-browser.js +3 -0
- package/dist/types/prisma-schema/index.d.ts +148 -1
- package/dist/types/prisma-schema/index.js +6 -3
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +6 -0
- package/dist/types/prisma-schema/wasm.js +3 -0
- package/dist/types/schema.d.ts +45 -0
- package/package.json +1 -1
@@ -11,6 +11,9 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
11
11
|
fullName: z.ZodString;
|
12
12
|
mail: z.ZodString;
|
13
13
|
dni: z.ZodString;
|
14
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
15
|
+
instagrams: z.ZodArray<z.ZodString, "many">;
|
16
|
+
whoToWatch: z.ZodNullable<z.ZodString>;
|
14
17
|
seat: z.ZodNullable<z.ZodNumber>;
|
15
18
|
scanned: z.ZodBoolean;
|
16
19
|
scannedAt: z.ZodNullable<z.ZodDate>;
|
@@ -91,6 +94,7 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
91
94
|
};
|
92
95
|
id: string;
|
93
96
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
97
|
+
phoneNumber: string;
|
94
98
|
fullName: string;
|
95
99
|
mail: string;
|
96
100
|
eventId: string;
|
@@ -98,6 +102,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
98
102
|
seat: number | null;
|
99
103
|
created_at: Date;
|
100
104
|
updated_at: Date;
|
105
|
+
instagrams: string[];
|
106
|
+
whoToWatch: string | null;
|
101
107
|
scanned: boolean;
|
102
108
|
scannedAt: Date | null;
|
103
109
|
ticketGroupId: string | null;
|
@@ -122,6 +128,7 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
122
128
|
};
|
123
129
|
id: string;
|
124
130
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
131
|
+
phoneNumber: string;
|
125
132
|
fullName: string;
|
126
133
|
mail: string;
|
127
134
|
eventId: string;
|
@@ -129,6 +136,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
129
136
|
seat: number | null;
|
130
137
|
created_at: Date;
|
131
138
|
updated_at: Date;
|
139
|
+
instagrams: string[];
|
140
|
+
whoToWatch: string | null;
|
132
141
|
scanned: boolean;
|
133
142
|
scannedAt: Date | null;
|
134
143
|
ticketGroupId: string | null;
|
@@ -155,6 +164,7 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
155
164
|
};
|
156
165
|
id: string;
|
157
166
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
167
|
+
phoneNumber: string;
|
158
168
|
fullName: string;
|
159
169
|
mail: string;
|
160
170
|
eventId: string;
|
@@ -162,6 +172,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
162
172
|
seat: number | null;
|
163
173
|
created_at: Date;
|
164
174
|
updated_at: Date;
|
175
|
+
instagrams: string[];
|
176
|
+
whoToWatch: string | null;
|
165
177
|
scanned: boolean;
|
166
178
|
scannedAt: Date | null;
|
167
179
|
ticketGroupId: string | null;
|
@@ -188,6 +200,7 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
188
200
|
};
|
189
201
|
id: string;
|
190
202
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
203
|
+
phoneNumber: string;
|
191
204
|
fullName: string;
|
192
205
|
mail: string;
|
193
206
|
eventId: string;
|
@@ -195,6 +208,8 @@ export declare const findByProfileIdTicketResponseSchema: z.ZodObject<{
|
|
195
208
|
seat: number | null;
|
196
209
|
created_at: Date;
|
197
210
|
updated_at: Date;
|
211
|
+
instagrams: string[];
|
212
|
+
whoToWatch: string | null;
|
198
213
|
scanned: boolean;
|
199
214
|
scannedAt: Date | null;
|
200
215
|
ticketGroupId: string | null;
|
@@ -212,6 +227,9 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
212
227
|
fullName: z.ZodString;
|
213
228
|
mail: z.ZodString;
|
214
229
|
dni: z.ZodString;
|
230
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
231
|
+
instagrams: z.ZodArray<z.ZodString, "many">;
|
232
|
+
whoToWatch: z.ZodNullable<z.ZodString>;
|
215
233
|
seat: z.ZodNullable<z.ZodNumber>;
|
216
234
|
scanned: z.ZodBoolean;
|
217
235
|
scannedAt: z.ZodNullable<z.ZodString>;
|
@@ -291,6 +309,7 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
291
309
|
};
|
292
310
|
id: string;
|
293
311
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
312
|
+
phoneNumber: string;
|
294
313
|
fullName: string;
|
295
314
|
mail: string;
|
296
315
|
eventId: string;
|
@@ -298,6 +317,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
298
317
|
seat: number | null;
|
299
318
|
created_at: string;
|
300
319
|
updated_at: string;
|
320
|
+
instagrams: string[];
|
321
|
+
whoToWatch: string | null;
|
301
322
|
scanned: boolean;
|
302
323
|
scannedAt: string | null;
|
303
324
|
ticketGroupId: string | null;
|
@@ -322,6 +343,7 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
322
343
|
};
|
323
344
|
id: string;
|
324
345
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
346
|
+
phoneNumber: string;
|
325
347
|
fullName: string;
|
326
348
|
mail: string;
|
327
349
|
eventId: string;
|
@@ -329,6 +351,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
329
351
|
seat: number | null;
|
330
352
|
created_at: string;
|
331
353
|
updated_at: string;
|
354
|
+
instagrams: string[];
|
355
|
+
whoToWatch: string | null;
|
332
356
|
scanned: boolean;
|
333
357
|
scannedAt: string | null;
|
334
358
|
ticketGroupId: string | null;
|
@@ -355,6 +379,7 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
355
379
|
};
|
356
380
|
id: string;
|
357
381
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
382
|
+
phoneNumber: string;
|
358
383
|
fullName: string;
|
359
384
|
mail: string;
|
360
385
|
eventId: string;
|
@@ -362,6 +387,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
362
387
|
seat: number | null;
|
363
388
|
created_at: string;
|
364
389
|
updated_at: string;
|
390
|
+
instagrams: string[];
|
391
|
+
whoToWatch: string | null;
|
365
392
|
scanned: boolean;
|
366
393
|
scannedAt: string | null;
|
367
394
|
ticketGroupId: string | null;
|
@@ -388,6 +415,7 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
388
415
|
};
|
389
416
|
id: string;
|
390
417
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
418
|
+
phoneNumber: string;
|
391
419
|
fullName: string;
|
392
420
|
mail: string;
|
393
421
|
eventId: string;
|
@@ -395,6 +423,8 @@ declare const FindByProfileIdTicketResponseDto_base: import("@anatine/zod-nestjs
|
|
395
423
|
seat: number | null;
|
396
424
|
created_at: string;
|
397
425
|
updated_at: string;
|
426
|
+
instagrams: string[];
|
427
|
+
whoToWatch: string | null;
|
398
428
|
scanned: boolean;
|
399
429
|
scannedAt: string | null;
|
400
430
|
ticketGroupId: string | null;
|
@@ -9,6 +9,9 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
|
|
9
9
|
fullName: import("zod").ZodString;
|
10
10
|
mail: import("zod").ZodString;
|
11
11
|
dni: import("zod").ZodString;
|
12
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
13
|
+
instagrams: import("zod").ZodArray<import("zod").ZodString, "many">;
|
14
|
+
whoToWatch: import("zod").ZodNullable<import("zod").ZodString>;
|
12
15
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
13
16
|
scanned: import("zod").ZodBoolean;
|
14
17
|
scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
@@ -18,6 +21,7 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
|
|
18
21
|
}, "strip", import("zod").ZodTypeAny, {
|
19
22
|
id: string;
|
20
23
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
24
|
+
phoneNumber: string;
|
21
25
|
fullName: string;
|
22
26
|
mail: string;
|
23
27
|
eventId: string;
|
@@ -25,12 +29,15 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
|
|
25
29
|
seat: number | null;
|
26
30
|
created_at: Date;
|
27
31
|
updated_at: Date;
|
32
|
+
instagrams: string[];
|
33
|
+
whoToWatch: string | null;
|
28
34
|
scanned: boolean;
|
29
35
|
scannedAt: Date | null;
|
30
36
|
ticketGroupId: string | null;
|
31
37
|
}, {
|
32
38
|
id: string;
|
33
39
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
40
|
+
phoneNumber: string;
|
34
41
|
fullName: string;
|
35
42
|
mail: string;
|
36
43
|
eventId: string;
|
@@ -38,6 +45,8 @@ export declare const findTicketResponseSchema: import("zod").ZodObject<{
|
|
38
45
|
seat: number | null;
|
39
46
|
created_at: Date;
|
40
47
|
updated_at: Date;
|
48
|
+
instagrams: string[];
|
49
|
+
whoToWatch: string | null;
|
41
50
|
scanned: boolean;
|
42
51
|
scannedAt: Date | null;
|
43
52
|
ticketGroupId: string | null;
|
@@ -53,6 +62,9 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
53
62
|
fullName: import("zod").ZodString;
|
54
63
|
mail: import("zod").ZodString;
|
55
64
|
dni: import("zod").ZodString;
|
65
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
66
|
+
instagrams: import("zod").ZodArray<import("zod").ZodString, "many">;
|
67
|
+
whoToWatch: import("zod").ZodNullable<import("zod").ZodString>;
|
56
68
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
57
69
|
scanned: import("zod").ZodBoolean;
|
58
70
|
scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -62,6 +74,7 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
62
74
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
63
75
|
id: string;
|
64
76
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
77
|
+
phoneNumber: string;
|
65
78
|
fullName: string;
|
66
79
|
mail: string;
|
67
80
|
eventId: string;
|
@@ -69,12 +82,15 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
69
82
|
seat: number | null;
|
70
83
|
created_at: string;
|
71
84
|
updated_at: string;
|
85
|
+
instagrams: string[];
|
86
|
+
whoToWatch: string | null;
|
72
87
|
scanned: boolean;
|
73
88
|
scannedAt: string | null;
|
74
89
|
ticketGroupId: string | null;
|
75
90
|
}, {
|
76
91
|
id: string;
|
77
92
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
93
|
+
phoneNumber: string;
|
78
94
|
fullName: string;
|
79
95
|
mail: string;
|
80
96
|
eventId: string;
|
@@ -82,6 +98,8 @@ declare const FindTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
82
98
|
seat: number | null;
|
83
99
|
created_at: string;
|
84
100
|
updated_at: string;
|
101
|
+
instagrams: string[];
|
102
|
+
whoToWatch: string | null;
|
85
103
|
scanned: boolean;
|
86
104
|
scannedAt: string | null;
|
87
105
|
ticketGroupId: string | null;
|
@@ -11,6 +11,9 @@ export declare const findByTicketGroupTicketResponseSchema: z.ZodObject<{
|
|
11
11
|
fullName: z.ZodString;
|
12
12
|
mail: z.ZodString;
|
13
13
|
dni: z.ZodString;
|
14
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
15
|
+
instagrams: z.ZodArray<z.ZodString, "many">;
|
16
|
+
whoToWatch: z.ZodNullable<z.ZodString>;
|
14
17
|
seat: z.ZodNullable<z.ZodNumber>;
|
15
18
|
scanned: z.ZodBoolean;
|
16
19
|
scannedAt: z.ZodNullable<z.ZodDate>;
|
@@ -20,6 +23,7 @@ export declare const findByTicketGroupTicketResponseSchema: z.ZodObject<{
|
|
20
23
|
}, "strip", z.ZodTypeAny, {
|
21
24
|
id: string;
|
22
25
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
26
|
+
phoneNumber: string;
|
23
27
|
fullName: string;
|
24
28
|
mail: string;
|
25
29
|
eventId: string;
|
@@ -27,12 +31,15 @@ export declare const findByTicketGroupTicketResponseSchema: z.ZodObject<{
|
|
27
31
|
seat: number | null;
|
28
32
|
created_at: Date;
|
29
33
|
updated_at: Date;
|
34
|
+
instagrams: string[];
|
35
|
+
whoToWatch: string | null;
|
30
36
|
scanned: boolean;
|
31
37
|
scannedAt: Date | null;
|
32
38
|
ticketGroupId: string | null;
|
33
39
|
}, {
|
34
40
|
id: string;
|
35
41
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
42
|
+
phoneNumber: string;
|
36
43
|
fullName: string;
|
37
44
|
mail: string;
|
38
45
|
eventId: string;
|
@@ -40,6 +47,8 @@ export declare const findByTicketGroupTicketResponseSchema: z.ZodObject<{
|
|
40
47
|
seat: number | null;
|
41
48
|
created_at: Date;
|
42
49
|
updated_at: Date;
|
50
|
+
instagrams: string[];
|
51
|
+
whoToWatch: string | null;
|
43
52
|
scanned: boolean;
|
44
53
|
scannedAt: Date | null;
|
45
54
|
ticketGroupId: string | null;
|
@@ -48,6 +57,7 @@ export declare const findByTicketGroupTicketResponseSchema: z.ZodObject<{
|
|
48
57
|
tickets: {
|
49
58
|
id: string;
|
50
59
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
60
|
+
phoneNumber: string;
|
51
61
|
fullName: string;
|
52
62
|
mail: string;
|
53
63
|
eventId: string;
|
@@ -55,6 +65,8 @@ export declare const findByTicketGroupTicketResponseSchema: z.ZodObject<{
|
|
55
65
|
seat: number | null;
|
56
66
|
created_at: Date;
|
57
67
|
updated_at: Date;
|
68
|
+
instagrams: string[];
|
69
|
+
whoToWatch: string | null;
|
58
70
|
scanned: boolean;
|
59
71
|
scannedAt: Date | null;
|
60
72
|
ticketGroupId: string | null;
|
@@ -63,6 +75,7 @@ export declare const findByTicketGroupTicketResponseSchema: z.ZodObject<{
|
|
63
75
|
tickets: {
|
64
76
|
id: string;
|
65
77
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
78
|
+
phoneNumber: string;
|
66
79
|
fullName: string;
|
67
80
|
mail: string;
|
68
81
|
eventId: string;
|
@@ -70,6 +83,8 @@ export declare const findByTicketGroupTicketResponseSchema: z.ZodObject<{
|
|
70
83
|
seat: number | null;
|
71
84
|
created_at: Date;
|
72
85
|
updated_at: Date;
|
86
|
+
instagrams: string[];
|
87
|
+
whoToWatch: string | null;
|
73
88
|
scanned: boolean;
|
74
89
|
scannedAt: Date | null;
|
75
90
|
ticketGroupId: string | null;
|
@@ -32,6 +32,9 @@ export declare const scanTicketResponseSchema: z.ZodObject<{
|
|
32
32
|
fullName: z.ZodString;
|
33
33
|
mail: z.ZodString;
|
34
34
|
dni: z.ZodString;
|
35
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
36
|
+
instagrams: z.ZodArray<z.ZodString, "many">;
|
37
|
+
whoToWatch: z.ZodNullable<z.ZodString>;
|
35
38
|
seat: z.ZodNullable<z.ZodNumber>;
|
36
39
|
scanned: z.ZodBoolean;
|
37
40
|
scannedAt: z.ZodNullable<z.ZodDate>;
|
@@ -41,6 +44,7 @@ export declare const scanTicketResponseSchema: z.ZodObject<{
|
|
41
44
|
}, "strip", z.ZodTypeAny, {
|
42
45
|
id: string;
|
43
46
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
47
|
+
phoneNumber: string;
|
44
48
|
fullName: string;
|
45
49
|
mail: string;
|
46
50
|
eventId: string;
|
@@ -48,12 +52,15 @@ export declare const scanTicketResponseSchema: z.ZodObject<{
|
|
48
52
|
seat: number | null;
|
49
53
|
created_at: Date;
|
50
54
|
updated_at: Date;
|
55
|
+
instagrams: string[];
|
56
|
+
whoToWatch: string | null;
|
51
57
|
scanned: boolean;
|
52
58
|
scannedAt: Date | null;
|
53
59
|
ticketGroupId: string | null;
|
54
60
|
}, {
|
55
61
|
id: string;
|
56
62
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
63
|
+
phoneNumber: string;
|
57
64
|
fullName: string;
|
58
65
|
mail: string;
|
59
66
|
eventId: string;
|
@@ -61,6 +68,8 @@ export declare const scanTicketResponseSchema: z.ZodObject<{
|
|
61
68
|
seat: number | null;
|
62
69
|
created_at: Date;
|
63
70
|
updated_at: Date;
|
71
|
+
instagrams: string[];
|
72
|
+
whoToWatch: string | null;
|
64
73
|
scanned: boolean;
|
65
74
|
scannedAt: Date | null;
|
66
75
|
ticketGroupId: string | null;
|
@@ -76,6 +85,9 @@ declare const ScanTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
76
85
|
fullName: z.ZodString;
|
77
86
|
mail: z.ZodString;
|
78
87
|
dni: z.ZodString;
|
88
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
89
|
+
instagrams: z.ZodArray<z.ZodString, "many">;
|
90
|
+
whoToWatch: z.ZodNullable<z.ZodString>;
|
79
91
|
seat: z.ZodNullable<z.ZodNumber>;
|
80
92
|
scanned: z.ZodBoolean;
|
81
93
|
scannedAt: z.ZodNullable<z.ZodString>;
|
@@ -85,6 +97,7 @@ declare const ScanTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
85
97
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
86
98
|
id: string;
|
87
99
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
100
|
+
phoneNumber: string;
|
88
101
|
fullName: string;
|
89
102
|
mail: string;
|
90
103
|
eventId: string;
|
@@ -92,12 +105,15 @@ declare const ScanTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
92
105
|
seat: number | null;
|
93
106
|
created_at: string;
|
94
107
|
updated_at: string;
|
108
|
+
instagrams: string[];
|
109
|
+
whoToWatch: string | null;
|
95
110
|
scanned: boolean;
|
96
111
|
scannedAt: string | null;
|
97
112
|
ticketGroupId: string | null;
|
98
113
|
}, {
|
99
114
|
id: string;
|
100
115
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
116
|
+
phoneNumber: string;
|
101
117
|
fullName: string;
|
102
118
|
mail: string;
|
103
119
|
eventId: string;
|
@@ -105,6 +121,8 @@ declare const ScanTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoSt
|
|
105
121
|
seat: number | null;
|
106
122
|
created_at: string;
|
107
123
|
updated_at: string;
|
124
|
+
instagrams: string[];
|
125
|
+
whoToWatch: string | null;
|
108
126
|
scanned: boolean;
|
109
127
|
scannedAt: string | null;
|
110
128
|
ticketGroupId: string | null;
|
@@ -10,6 +10,9 @@ export declare const ticketSchema: z.ZodObject<{
|
|
10
10
|
fullName: z.ZodString;
|
11
11
|
mail: z.ZodString;
|
12
12
|
dni: z.ZodString;
|
13
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
14
|
+
instagrams: z.ZodArray<z.ZodString, "many">;
|
15
|
+
whoToWatch: z.ZodNullable<z.ZodString>;
|
13
16
|
seat: z.ZodNullable<z.ZodNumber>;
|
14
17
|
scanned: z.ZodBoolean;
|
15
18
|
scannedAt: z.ZodNullable<z.ZodDate>;
|
@@ -19,6 +22,7 @@ export declare const ticketSchema: z.ZodObject<{
|
|
19
22
|
}, "strip", z.ZodTypeAny, {
|
20
23
|
id: string;
|
21
24
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
25
|
+
phoneNumber: string;
|
22
26
|
fullName: string;
|
23
27
|
mail: string;
|
24
28
|
eventId: string;
|
@@ -26,12 +30,15 @@ export declare const ticketSchema: z.ZodObject<{
|
|
26
30
|
seat: number | null;
|
27
31
|
created_at: Date;
|
28
32
|
updated_at: Date;
|
33
|
+
instagrams: string[];
|
34
|
+
whoToWatch: string | null;
|
29
35
|
scanned: boolean;
|
30
36
|
scannedAt: Date | null;
|
31
37
|
ticketGroupId: string | null;
|
32
38
|
}, {
|
33
39
|
id: string;
|
34
40
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
41
|
+
phoneNumber: string;
|
35
42
|
fullName: string;
|
36
43
|
mail: string;
|
37
44
|
eventId: string;
|
@@ -39,6 +46,8 @@ export declare const ticketSchema: z.ZodObject<{
|
|
39
46
|
seat: number | null;
|
40
47
|
created_at: Date;
|
41
48
|
updated_at: Date;
|
49
|
+
instagrams: string[];
|
50
|
+
whoToWatch: string | null;
|
42
51
|
scanned: boolean;
|
43
52
|
scannedAt: Date | null;
|
44
53
|
ticketGroupId: string | null;
|
@@ -54,6 +63,9 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
54
63
|
fullName: z.ZodString;
|
55
64
|
mail: z.ZodString;
|
56
65
|
dni: z.ZodString;
|
66
|
+
phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
|
67
|
+
instagrams: z.ZodArray<z.ZodString, "many">;
|
68
|
+
whoToWatch: z.ZodNullable<z.ZodString>;
|
57
69
|
seat: z.ZodNullable<z.ZodNumber>;
|
58
70
|
scanned: z.ZodBoolean;
|
59
71
|
scannedAt: z.ZodNullable<z.ZodString>;
|
@@ -63,6 +75,7 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
63
75
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
64
76
|
id: string;
|
65
77
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
78
|
+
phoneNumber: string;
|
66
79
|
fullName: string;
|
67
80
|
mail: string;
|
68
81
|
eventId: string;
|
@@ -70,12 +83,15 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
70
83
|
seat: number | null;
|
71
84
|
created_at: string;
|
72
85
|
updated_at: string;
|
86
|
+
instagrams: string[];
|
87
|
+
whoToWatch: string | null;
|
73
88
|
scanned: boolean;
|
74
89
|
scannedAt: string | null;
|
75
90
|
ticketGroupId: string | null;
|
76
91
|
}, {
|
77
92
|
id: string;
|
78
93
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
94
|
+
phoneNumber: string;
|
79
95
|
fullName: string;
|
80
96
|
mail: string;
|
81
97
|
eventId: string;
|
@@ -83,6 +99,8 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
|
|
83
99
|
seat: number | null;
|
84
100
|
created_at: string;
|
85
101
|
updated_at: string;
|
102
|
+
instagrams: string[];
|
103
|
+
whoToWatch: string | null;
|
86
104
|
scanned: boolean;
|
87
105
|
scannedAt: string | null;
|
88
106
|
ticketGroupId: string | null;
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
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
|
+
const profile_schema_1 = require("../../schema/profile.schema");
|
9
10
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
10
11
|
const ticket_group_dto_1 = require("../../ticket-group/dto/ticket-group.dto");
|
11
12
|
const zod_1 = __importDefault(require("zod"));
|
@@ -19,6 +20,9 @@ exports.ticketSchema = zod_1.default.object({
|
|
19
20
|
fullName: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.fullName.required')),
|
20
21
|
mail: zod_1.default.string().email((0, translate_1.translate)('model.ticket.mail.email')),
|
21
22
|
dni: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.dni.required')),
|
23
|
+
phoneNumber: profile_schema_1.profileSchema.shape.phoneNumber,
|
24
|
+
instagrams: zod_1.default.array(zod_1.default.string()),
|
25
|
+
whoToWatch: zod_1.default.string().nullable(),
|
22
26
|
seat: zod_1.default.number().min(1, (0, translate_1.translate)('model.ticket.seat.required')).nullable(),
|
23
27
|
scanned: zod_1.default.boolean(),
|
24
28
|
scannedAt: zod_1.default.date().nullable(),
|
@@ -57,6 +57,9 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
|
|
57
57
|
fullName: import("zod").ZodString;
|
58
58
|
mail: import("zod").ZodString;
|
59
59
|
dni: import("zod").ZodString;
|
60
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
61
|
+
instagrams: import("zod").ZodArray<import("zod").ZodString, "many">;
|
62
|
+
whoToWatch: import("zod").ZodNullable<import("zod").ZodString>;
|
60
63
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
61
64
|
scanned: import("zod").ZodBoolean;
|
62
65
|
scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
|
@@ -66,6 +69,7 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
|
|
66
69
|
}, "strip", import("zod").ZodTypeAny, {
|
67
70
|
id: string;
|
68
71
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
72
|
+
phoneNumber: string;
|
69
73
|
fullName: string;
|
70
74
|
mail: string;
|
71
75
|
eventId: string;
|
@@ -73,12 +77,15 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
|
|
73
77
|
seat: number | null;
|
74
78
|
created_at: Date;
|
75
79
|
updated_at: Date;
|
80
|
+
instagrams: string[];
|
81
|
+
whoToWatch: string | null;
|
76
82
|
scanned: boolean;
|
77
83
|
scannedAt: Date | null;
|
78
84
|
ticketGroupId: string | null;
|
79
85
|
}, {
|
80
86
|
id: string;
|
81
87
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
88
|
+
phoneNumber: string;
|
82
89
|
fullName: string;
|
83
90
|
mail: string;
|
84
91
|
eventId: string;
|
@@ -86,6 +93,8 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
|
|
86
93
|
seat: number | null;
|
87
94
|
created_at: Date;
|
88
95
|
updated_at: Date;
|
96
|
+
instagrams: string[];
|
97
|
+
whoToWatch: string | null;
|
89
98
|
scanned: boolean;
|
90
99
|
scannedAt: Date | null;
|
91
100
|
ticketGroupId: string | null;
|
@@ -101,6 +110,9 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
101
110
|
fullName: import("zod").ZodString;
|
102
111
|
mail: import("zod").ZodString;
|
103
112
|
dni: import("zod").ZodString;
|
113
|
+
phoneNumber: import("zod").ZodEffects<import("zod").ZodEffects<import("zod").ZodString, string, string>, string, string>;
|
114
|
+
instagrams: import("zod").ZodArray<import("zod").ZodString, "many">;
|
115
|
+
whoToWatch: import("zod").ZodNullable<import("zod").ZodString>;
|
104
116
|
seat: import("zod").ZodNullable<import("zod").ZodNumber>;
|
105
117
|
scanned: import("zod").ZodBoolean;
|
106
118
|
scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
@@ -110,6 +122,7 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
110
122
|
}, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
|
111
123
|
id: string;
|
112
124
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
125
|
+
phoneNumber: string;
|
113
126
|
fullName: string;
|
114
127
|
mail: string;
|
115
128
|
eventId: string;
|
@@ -117,12 +130,15 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
117
130
|
seat: number | null;
|
118
131
|
created_at: string;
|
119
132
|
updated_at: string;
|
133
|
+
instagrams: string[];
|
134
|
+
whoToWatch: string | null;
|
120
135
|
scanned: boolean;
|
121
136
|
scannedAt: string | null;
|
122
137
|
ticketGroupId: string | null;
|
123
138
|
}, {
|
124
139
|
id: string;
|
125
140
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
141
|
+
phoneNumber: string;
|
126
142
|
fullName: string;
|
127
143
|
mail: string;
|
128
144
|
eventId: string;
|
@@ -130,6 +146,8 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
130
146
|
seat: number | null;
|
131
147
|
created_at: string;
|
132
148
|
updated_at: string;
|
149
|
+
instagrams: string[];
|
150
|
+
whoToWatch: string | null;
|
133
151
|
scanned: boolean;
|
134
152
|
scannedAt: string | null;
|
135
153
|
ticketGroupId: string | null;
|