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.
Files changed (65) hide show
  1. package/dist/src/csv/dto/download-all-tables.dto.d.ts +2 -3
  2. package/dist/src/event/dto/get-by-id-event.dto.d.ts +46 -18
  3. package/dist/src/exports.d.ts +0 -1
  4. package/dist/src/exports.js +0 -1
  5. package/dist/src/i18n/es.d.ts +8 -37
  6. package/dist/src/i18n/es.js +61 -205
  7. package/dist/src/i18n/es.js.map +1 -1
  8. package/dist/src/i18n/translate.js +2 -2
  9. package/dist/src/i18n/translate.js.map +1 -1
  10. package/dist/src/image/dto/update-image.dto.d.ts +0 -1
  11. package/dist/src/schema/profile.schema.js +17 -7
  12. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js +1 -2
  13. package/dist/src/shared/dto-modification/create-zod-dto-without-date.js.map +1 -1
  14. package/dist/src/ticket/constants.js +1 -2
  15. package/dist/src/ticket/dto/create-ticket.dto.d.ts +47 -18
  16. package/dist/src/ticket/dto/create-ticket.dto.js +1 -2
  17. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +30 -10
  18. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +46 -18
  19. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +46 -18
  20. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +49 -161
  21. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +5 -2
  22. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +46 -18
  23. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +46 -18
  24. package/dist/src/ticket/dto/find-ticket.dto.d.ts +30 -10
  25. package/dist/src/ticket/dto/generate-pdf.dto.d.ts +2 -3
  26. package/dist/src/ticket/dto/scan-ticket.dto.d.ts +34 -0
  27. package/dist/src/ticket/dto/scan-ticket.dto.js +21 -0
  28. package/dist/src/ticket/dto/ticket.dto.d.ts +30 -10
  29. package/dist/src/ticket/dto/ticket.dto.js +5 -2
  30. package/dist/src/ticket/dto/update-ticket.dto.d.ts +44 -22
  31. package/dist/src/ticket/dto/update-ticket.dto.js +1 -2
  32. package/dist/src/ticket/exports.d.ts +1 -0
  33. package/dist/src/ticket/exports.js +1 -0
  34. package/dist/types/prisma-schema/edge.js +13 -21
  35. package/dist/types/prisma-schema/index-browser.js +8 -16
  36. package/dist/types/prisma-schema/index.d.ts +483 -2407
  37. package/dist/types/prisma-schema/index.js +13 -21
  38. package/dist/types/prisma-schema/libquery_engine-debian-openssl-3.0.x.so.node +0 -0
  39. package/dist/types/prisma-schema/package.json +2 -2
  40. package/dist/types/prisma-schema/runtime/edge-esm.js +18 -18
  41. package/dist/types/prisma-schema/runtime/edge.js +18 -18
  42. package/dist/types/prisma-schema/runtime/index-browser.d.ts +2 -2
  43. package/dist/types/prisma-schema/runtime/index-browser.js +1 -1
  44. package/dist/types/prisma-schema/runtime/library.d.ts +123 -105
  45. package/dist/types/prisma-schema/runtime/library.js +56 -56
  46. package/dist/types/prisma-schema/runtime/react-native.js +25 -25
  47. package/dist/types/prisma-schema/runtime/wasm.js +19 -19
  48. package/dist/types/prisma-schema/schema.prisma +6 -23
  49. package/dist/types/prisma-schema/wasm.js +8 -16
  50. package/dist/types/schema.d.ts +49 -335
  51. package/package.json +13 -15
  52. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -610
  53. package/dist/src/ticket/dto/create-many-ticket.dto.js +0 -50
  54. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -366
  55. package/dist/src/ticket-group/dto/create-ticket-group.dto.js +0 -27
  56. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +0 -55
  57. package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +0 -10
  58. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +0 -32
  59. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +0 -20
  60. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +0 -56
  61. package/dist/src/ticket-group/dto/ticket-group.dto.js +0 -27
  62. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +0 -79
  63. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +0 -18
  64. package/dist/src/ticket-group/exports.d.ts +0 -5
  65. package/dist/src/ticket-group/exports.js +0 -22
@@ -6,32 +6,37 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
6
6
  STAFF: "STAFF";
7
7
  SPECTATOR: "SPECTATOR";
8
8
  }>;
9
+ status: import("zod").ZodNativeEnum<{
10
+ BOOKED: "BOOKED";
11
+ PAID: "PAID";
12
+ FREE: "FREE";
13
+ }>;
9
14
  fullName: import("zod").ZodString;
10
15
  mail: import("zod").ZodString;
11
16
  dni: import("zod").ZodString;
12
17
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
13
- ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
18
+ scanned: import("zod").ZodBoolean;
19
+ scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14
20
  created_at: import("zod").ZodDate;
15
21
  updated_at: import("zod").ZodDate;
16
- }, "type" | "fullName" | "mail" | "eventId" | "dni">, {
22
+ }, "type" | "fullName" | "mail" | "eventId" | "status" | "dni">, {
17
23
  profileId: import("zod").ZodOptional<import("zod").ZodString>;
18
- ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
19
24
  }>, "strip", import("zod").ZodTypeAny, {
20
25
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
21
26
  fullName: string;
22
27
  mail: string;
23
28
  eventId: string;
29
+ status: "BOOKED" | "PAID" | "FREE";
24
30
  dni: string;
25
31
  profileId?: string | undefined;
26
- ticketGroupId?: string | undefined;
27
32
  }, {
28
33
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
29
34
  fullName: string;
30
35
  mail: string;
31
36
  eventId: string;
37
+ status: "BOOKED" | "PAID" | "FREE";
32
38
  dni: string;
33
39
  profileId?: string | undefined;
34
- ticketGroupId?: string | undefined;
35
40
  }>;
36
41
  declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
37
42
  type: import("zod").ZodNativeEnum<{
@@ -42,25 +47,29 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
42
47
  fullName: import("zod").ZodString;
43
48
  mail: import("zod").ZodString;
44
49
  eventId: import("zod").ZodString;
50
+ status: import("zod").ZodNativeEnum<{
51
+ BOOKED: "BOOKED";
52
+ PAID: "PAID";
53
+ FREE: "FREE";
54
+ }>;
45
55
  dni: import("zod").ZodString;
46
56
  profileId: import("zod").ZodOptional<import("zod").ZodString>;
47
- ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
48
57
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
49
58
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
50
59
  fullName: string;
51
60
  mail: string;
52
61
  eventId: string;
62
+ status: "BOOKED" | "PAID" | "FREE";
53
63
  dni: string;
54
64
  profileId?: string | undefined;
55
- ticketGroupId?: string | undefined;
56
65
  }, {
57
66
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
58
67
  fullName: string;
59
68
  mail: string;
60
69
  eventId: string;
70
+ status: "BOOKED" | "PAID" | "FREE";
61
71
  dni: string;
62
72
  profileId?: string | undefined;
63
- ticketGroupId?: string | undefined;
64
73
  }>>;
65
74
  export declare class CreateTicketDto extends CreateTicketDto_base {
66
75
  }
@@ -72,11 +81,17 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
72
81
  STAFF: "STAFF";
73
82
  SPECTATOR: "SPECTATOR";
74
83
  }>;
84
+ status: import("zod").ZodNativeEnum<{
85
+ BOOKED: "BOOKED";
86
+ PAID: "PAID";
87
+ FREE: "FREE";
88
+ }>;
75
89
  fullName: import("zod").ZodString;
76
90
  mail: import("zod").ZodString;
77
91
  dni: import("zod").ZodString;
78
92
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
79
- ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
93
+ scanned: import("zod").ZodBoolean;
94
+ scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
80
95
  created_at: import("zod").ZodDate;
81
96
  updated_at: import("zod").ZodDate;
82
97
  }, {
@@ -144,11 +159,13 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
144
159
  fullName: string;
145
160
  mail: string;
146
161
  eventId: string;
147
- dni: string;
162
+ status: "BOOKED" | "PAID" | "FREE";
148
163
  seat: number | null;
164
+ dni: string;
149
165
  created_at: Date;
150
166
  updated_at: Date;
151
- ticketGroupId: string | null;
167
+ scanned: boolean;
168
+ scannedAt: Date | null;
152
169
  }, {
153
170
  event: {
154
171
  location: string;
@@ -170,11 +187,13 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
170
187
  fullName: string;
171
188
  mail: string;
172
189
  eventId: string;
173
- dni: string;
190
+ status: "BOOKED" | "PAID" | "FREE";
174
191
  seat: number | null;
192
+ dni: string;
175
193
  created_at: Date;
176
194
  updated_at: Date;
177
- ticketGroupId: string | null;
195
+ scanned: boolean;
196
+ scannedAt: Date | null;
178
197
  }>;
179
198
  declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
180
199
  id: import("zod").ZodString;
@@ -184,11 +203,17 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
184
203
  STAFF: "STAFF";
185
204
  SPECTATOR: "SPECTATOR";
186
205
  }>;
206
+ status: import("zod").ZodNativeEnum<{
207
+ BOOKED: "BOOKED";
208
+ PAID: "PAID";
209
+ FREE: "FREE";
210
+ }>;
187
211
  fullName: import("zod").ZodString;
188
212
  mail: import("zod").ZodString;
189
213
  dni: import("zod").ZodString;
190
214
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
191
- ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
215
+ scanned: import("zod").ZodBoolean;
216
+ scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
192
217
  created_at: import("zod").ZodString;
193
218
  updated_at: import("zod").ZodString;
194
219
  event: import("zod").ZodObject<{
@@ -255,11 +280,13 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
255
280
  fullName: string;
256
281
  mail: string;
257
282
  eventId: string;
258
- dni: string;
283
+ status: "BOOKED" | "PAID" | "FREE";
259
284
  seat: number | null;
285
+ dni: string;
260
286
  created_at: string;
261
287
  updated_at: string;
262
- ticketGroupId: string | null;
288
+ scanned: boolean;
289
+ scannedAt: string | null;
263
290
  }, {
264
291
  event: {
265
292
  location: string;
@@ -281,11 +308,13 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
281
308
  fullName: string;
282
309
  mail: string;
283
310
  eventId: string;
284
- dni: string;
311
+ status: "BOOKED" | "PAID" | "FREE";
285
312
  seat: number | null;
313
+ dni: string;
286
314
  created_at: string;
287
315
  updated_at: string;
288
- ticketGroupId: string | null;
316
+ scanned: boolean;
317
+ scannedAt: string | null;
289
318
  }>>;
290
319
  export declare class CreateTicketResponseDto extends CreateTicketResponseDto_base {
291
320
  }
@@ -4,19 +4,18 @@ exports.CreateTicketResponseDto = exports.createTicketResponseSchema = exports.C
4
4
  const event_dto_1 = require("../../event/dto/event.dto");
5
5
  const profile_schema_1 = require("../../schema/profile.schema");
6
6
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
7
- const ticket_group_dto_1 = require("../../ticket-group/dto/ticket-group.dto");
8
7
  const ticket_dto_1 = require("./ticket.dto");
9
8
  exports.createTicketSchema = ticket_dto_1.ticketSchema
10
9
  .pick({
11
10
  eventId: true,
12
11
  type: true,
12
+ status: true,
13
13
  fullName: true,
14
14
  mail: true,
15
15
  dni: true,
16
16
  })
17
17
  .extend({
18
18
  profileId: profile_schema_1.profileSchema.shape.id.optional(),
19
- ticketGroupId: ticket_group_dto_1.ticketGroupSchema.shape.id.optional(),
20
19
  });
21
20
  class CreateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketSchema) {
22
21
  }
@@ -6,11 +6,17 @@ export declare const deleteTicketResponseSchema: import("zod").ZodObject<{
6
6
  STAFF: "STAFF";
7
7
  SPECTATOR: "SPECTATOR";
8
8
  }>;
9
+ status: import("zod").ZodNativeEnum<{
10
+ BOOKED: "BOOKED";
11
+ PAID: "PAID";
12
+ FREE: "FREE";
13
+ }>;
9
14
  fullName: import("zod").ZodString;
10
15
  mail: import("zod").ZodString;
11
16
  dni: import("zod").ZodString;
12
17
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
13
- ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
18
+ scanned: import("zod").ZodBoolean;
19
+ scannedAt: import("zod").ZodNullable<import("zod").ZodDate>;
14
20
  created_at: import("zod").ZodDate;
15
21
  updated_at: import("zod").ZodDate;
16
22
  }, "strip", import("zod").ZodTypeAny, {
@@ -19,22 +25,26 @@ export declare const deleteTicketResponseSchema: import("zod").ZodObject<{
19
25
  fullName: string;
20
26
  mail: string;
21
27
  eventId: string;
22
- dni: string;
28
+ status: "BOOKED" | "PAID" | "FREE";
23
29
  seat: number | null;
30
+ dni: string;
24
31
  created_at: Date;
25
32
  updated_at: Date;
26
- ticketGroupId: string | null;
33
+ scanned: boolean;
34
+ scannedAt: Date | null;
27
35
  }, {
28
36
  id: string;
29
37
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
30
38
  fullName: string;
31
39
  mail: string;
32
40
  eventId: string;
33
- dni: string;
41
+ status: "BOOKED" | "PAID" | "FREE";
34
42
  seat: number | null;
43
+ dni: string;
35
44
  created_at: Date;
36
45
  updated_at: Date;
37
- ticketGroupId: string | null;
46
+ scanned: boolean;
47
+ scannedAt: Date | null;
38
48
  }>;
39
49
  declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
40
50
  id: import("zod").ZodString;
@@ -44,11 +54,17 @@ declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
44
54
  STAFF: "STAFF";
45
55
  SPECTATOR: "SPECTATOR";
46
56
  }>;
57
+ status: import("zod").ZodNativeEnum<{
58
+ BOOKED: "BOOKED";
59
+ PAID: "PAID";
60
+ FREE: "FREE";
61
+ }>;
47
62
  fullName: import("zod").ZodString;
48
63
  mail: import("zod").ZodString;
49
64
  dni: import("zod").ZodString;
50
65
  seat: import("zod").ZodNullable<import("zod").ZodNumber>;
51
- ticketGroupId: import("zod").ZodNullable<import("zod").ZodString>;
66
+ scanned: import("zod").ZodBoolean;
67
+ scannedAt: import("zod").ZodNullable<import("zod").ZodString>;
52
68
  created_at: import("zod").ZodString;
53
69
  updated_at: import("zod").ZodString;
54
70
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
@@ -57,22 +73,26 @@ declare const DeleteTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
57
73
  fullName: string;
58
74
  mail: string;
59
75
  eventId: string;
60
- dni: string;
76
+ status: "BOOKED" | "PAID" | "FREE";
61
77
  seat: number | null;
78
+ dni: string;
62
79
  created_at: string;
63
80
  updated_at: string;
64
- ticketGroupId: string | null;
81
+ scanned: boolean;
82
+ scannedAt: string | null;
65
83
  }, {
66
84
  id: string;
67
85
  type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
68
86
  fullName: string;
69
87
  mail: string;
70
88
  eventId: string;
71
- dni: string;
89
+ status: "BOOKED" | "PAID" | "FREE";
72
90
  seat: number | null;
91
+ dni: string;
73
92
  created_at: string;
74
93
  updated_at: string;
75
- ticketGroupId: string | null;
94
+ scanned: boolean;
95
+ scannedAt: string | null;
76
96
  }>>;
77
97
  export declare class DeleteTicketResponseDto extends DeleteTicketResponseDto_base {
78
98
  }
@@ -8,11 +8,17 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
8
8
  STAFF: "STAFF";
9
9
  SPECTATOR: "SPECTATOR";
10
10
  }>;
11
+ status: z.ZodNativeEnum<{
12
+ BOOKED: "BOOKED";
13
+ PAID: "PAID";
14
+ FREE: "FREE";
15
+ }>;
11
16
  fullName: z.ZodString;
12
17
  mail: z.ZodString;
13
18
  dni: z.ZodString;
14
19
  seat: z.ZodNullable<z.ZodNumber>;
15
- ticketGroupId: z.ZodNullable<z.ZodString>;
20
+ scanned: z.ZodBoolean;
21
+ scannedAt: z.ZodNullable<z.ZodDate>;
16
22
  created_at: z.ZodDate;
17
23
  updated_at: z.ZodDate;
18
24
  }, {
@@ -50,11 +56,13 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
50
56
  fullName: string;
51
57
  mail: string;
52
58
  eventId: string;
53
- dni: string;
59
+ status: "BOOKED" | "PAID" | "FREE";
54
60
  seat: number | null;
61
+ dni: string;
55
62
  created_at: Date;
56
63
  updated_at: Date;
57
- ticketGroupId: string | null;
64
+ scanned: boolean;
65
+ scannedAt: Date | null;
58
66
  }, {
59
67
  event: {
60
68
  location: string;
@@ -66,11 +74,13 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
66
74
  fullName: string;
67
75
  mail: string;
68
76
  eventId: string;
69
- dni: string;
77
+ status: "BOOKED" | "PAID" | "FREE";
70
78
  seat: number | null;
79
+ dni: string;
71
80
  created_at: Date;
72
81
  updated_at: Date;
73
- ticketGroupId: string | null;
82
+ scanned: boolean;
83
+ scannedAt: Date | null;
74
84
  }>, "many">;
75
85
  }, "strip", z.ZodTypeAny, {
76
86
  tickets: {
@@ -84,11 +94,13 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
84
94
  fullName: string;
85
95
  mail: string;
86
96
  eventId: string;
87
- dni: string;
97
+ status: "BOOKED" | "PAID" | "FREE";
88
98
  seat: number | null;
99
+ dni: string;
89
100
  created_at: Date;
90
101
  updated_at: Date;
91
- ticketGroupId: string | null;
102
+ scanned: boolean;
103
+ scannedAt: Date | null;
92
104
  }[];
93
105
  }, {
94
106
  tickets: {
@@ -102,11 +114,13 @@ export declare const findAllTicketsResponseSchema: z.ZodObject<{
102
114
  fullName: string;
103
115
  mail: string;
104
116
  eventId: string;
105
- dni: string;
117
+ status: "BOOKED" | "PAID" | "FREE";
106
118
  seat: number | null;
119
+ dni: string;
107
120
  created_at: Date;
108
121
  updated_at: Date;
109
- ticketGroupId: string | null;
122
+ scanned: boolean;
123
+ scannedAt: Date | null;
110
124
  }[];
111
125
  }>;
112
126
  declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -118,11 +132,17 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
118
132
  STAFF: "STAFF";
119
133
  SPECTATOR: "SPECTATOR";
120
134
  }>;
135
+ status: z.ZodNativeEnum<{
136
+ BOOKED: "BOOKED";
137
+ PAID: "PAID";
138
+ FREE: "FREE";
139
+ }>;
121
140
  fullName: z.ZodString;
122
141
  mail: z.ZodString;
123
142
  dni: z.ZodString;
124
143
  seat: z.ZodNullable<z.ZodNumber>;
125
- ticketGroupId: z.ZodNullable<z.ZodString>;
144
+ scanned: z.ZodBoolean;
145
+ scannedAt: z.ZodNullable<z.ZodString>;
126
146
  created_at: z.ZodString;
127
147
  updated_at: z.ZodString;
128
148
  event: z.ZodObject<{
@@ -149,11 +169,13 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
149
169
  fullName: string;
150
170
  mail: string;
151
171
  eventId: string;
152
- dni: string;
172
+ status: "BOOKED" | "PAID" | "FREE";
153
173
  seat: number | null;
174
+ dni: string;
154
175
  created_at: string;
155
176
  updated_at: string;
156
- ticketGroupId: string | null;
177
+ scanned: boolean;
178
+ scannedAt: string | null;
157
179
  }, {
158
180
  event: {
159
181
  location: string;
@@ -165,11 +187,13 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
165
187
  fullName: string;
166
188
  mail: string;
167
189
  eventId: string;
168
- dni: string;
190
+ status: "BOOKED" | "PAID" | "FREE";
169
191
  seat: number | null;
192
+ dni: string;
170
193
  created_at: string;
171
194
  updated_at: string;
172
- ticketGroupId: string | null;
195
+ scanned: boolean;
196
+ scannedAt: string | null;
173
197
  }>, "many">;
174
198
  }, z.UnknownKeysParam, z.ZodTypeAny, {
175
199
  tickets: {
@@ -183,11 +207,13 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
183
207
  fullName: string;
184
208
  mail: string;
185
209
  eventId: string;
186
- dni: string;
210
+ status: "BOOKED" | "PAID" | "FREE";
187
211
  seat: number | null;
212
+ dni: string;
188
213
  created_at: string;
189
214
  updated_at: string;
190
- ticketGroupId: string | null;
215
+ scanned: boolean;
216
+ scannedAt: string | null;
191
217
  }[];
192
218
  }, {
193
219
  tickets: {
@@ -201,11 +227,13 @@ declare const FindAllTicketsResponseDto_base: import("@anatine/zod-nestjs").ZodD
201
227
  fullName: string;
202
228
  mail: string;
203
229
  eventId: string;
204
- dni: string;
230
+ status: "BOOKED" | "PAID" | "FREE";
205
231
  seat: number | null;
232
+ dni: string;
206
233
  created_at: string;
207
234
  updated_at: string;
208
- ticketGroupId: string | null;
235
+ scanned: boolean;
236
+ scannedAt: string | null;
209
237
  }[];
210
238
  }>>;
211
239
  export declare class FindAllTicketsResponseDto extends FindAllTicketsResponseDto_base {
@@ -8,11 +8,17 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
8
8
  STAFF: "STAFF";
9
9
  SPECTATOR: "SPECTATOR";
10
10
  }>;
11
+ status: z.ZodNativeEnum<{
12
+ BOOKED: "BOOKED";
13
+ PAID: "PAID";
14
+ FREE: "FREE";
15
+ }>;
11
16
  fullName: z.ZodString;
12
17
  mail: z.ZodString;
13
18
  dni: z.ZodString;
14
19
  seat: z.ZodNullable<z.ZodNumber>;
15
- ticketGroupId: z.ZodNullable<z.ZodString>;
20
+ scanned: z.ZodBoolean;
21
+ scannedAt: z.ZodNullable<z.ZodDate>;
16
22
  created_at: z.ZodDate;
17
23
  updated_at: z.ZodDate;
18
24
  }, {
@@ -158,11 +164,13 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
158
164
  fullName: string;
159
165
  mail: string;
160
166
  eventId: string;
161
- dni: string;
167
+ status: "BOOKED" | "PAID" | "FREE";
162
168
  seat: number | null;
169
+ dni: string;
163
170
  created_at: Date;
164
171
  updated_at: Date;
165
- ticketGroupId: string | null;
172
+ scanned: boolean;
173
+ scannedAt: Date | null;
166
174
  }, {
167
175
  event: {
168
176
  location: string;
@@ -200,11 +208,13 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
200
208
  fullName: string;
201
209
  mail: string;
202
210
  eventId: string;
203
- dni: string;
211
+ status: "BOOKED" | "PAID" | "FREE";
204
212
  seat: number | null;
213
+ dni: string;
205
214
  created_at: Date;
206
215
  updated_at: Date;
207
- ticketGroupId: string | null;
216
+ scanned: boolean;
217
+ scannedAt: Date | null;
208
218
  }>, "many">;
209
219
  }, "strip", z.ZodTypeAny, {
210
220
  tickets: {
@@ -244,11 +254,13 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
244
254
  fullName: string;
245
255
  mail: string;
246
256
  eventId: string;
247
- dni: string;
257
+ status: "BOOKED" | "PAID" | "FREE";
248
258
  seat: number | null;
259
+ dni: string;
249
260
  created_at: Date;
250
261
  updated_at: Date;
251
- ticketGroupId: string | null;
262
+ scanned: boolean;
263
+ scannedAt: Date | null;
252
264
  }[];
253
265
  }, {
254
266
  tickets: {
@@ -288,11 +300,13 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
288
300
  fullName: string;
289
301
  mail: string;
290
302
  eventId: string;
291
- dni: string;
303
+ status: "BOOKED" | "PAID" | "FREE";
292
304
  seat: number | null;
305
+ dni: string;
293
306
  created_at: Date;
294
307
  updated_at: Date;
295
- ticketGroupId: string | null;
308
+ scanned: boolean;
309
+ scannedAt: Date | null;
296
310
  }[];
297
311
  }>;
298
312
  declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -304,11 +318,17 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
304
318
  STAFF: "STAFF";
305
319
  SPECTATOR: "SPECTATOR";
306
320
  }>;
321
+ status: z.ZodNativeEnum<{
322
+ BOOKED: "BOOKED";
323
+ PAID: "PAID";
324
+ FREE: "FREE";
325
+ }>;
307
326
  fullName: z.ZodString;
308
327
  mail: z.ZodString;
309
328
  dni: z.ZodString;
310
329
  seat: z.ZodNullable<z.ZodNumber>;
311
- ticketGroupId: z.ZodNullable<z.ZodString>;
330
+ scanned: z.ZodBoolean;
331
+ scannedAt: z.ZodNullable<z.ZodString>;
312
332
  created_at: z.ZodString;
313
333
  updated_at: z.ZodString;
314
334
  event: z.ZodObject<{
@@ -443,11 +463,13 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
443
463
  fullName: string;
444
464
  mail: string;
445
465
  eventId: string;
446
- dni: string;
466
+ status: "BOOKED" | "PAID" | "FREE";
447
467
  seat: number | null;
468
+ dni: string;
448
469
  created_at: string;
449
470
  updated_at: string;
450
- ticketGroupId: string | null;
471
+ scanned: boolean;
472
+ scannedAt: string | null;
451
473
  }, {
452
474
  event: {
453
475
  location: string;
@@ -485,11 +507,13 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
485
507
  fullName: string;
486
508
  mail: string;
487
509
  eventId: string;
488
- dni: string;
510
+ status: "BOOKED" | "PAID" | "FREE";
489
511
  seat: number | null;
512
+ dni: string;
490
513
  created_at: string;
491
514
  updated_at: string;
492
- ticketGroupId: string | null;
515
+ scanned: boolean;
516
+ scannedAt: string | null;
493
517
  }>, "many">;
494
518
  }, z.UnknownKeysParam, z.ZodTypeAny, {
495
519
  tickets: {
@@ -529,11 +553,13 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
529
553
  fullName: string;
530
554
  mail: string;
531
555
  eventId: string;
532
- dni: string;
556
+ status: "BOOKED" | "PAID" | "FREE";
533
557
  seat: number | null;
558
+ dni: string;
534
559
  created_at: string;
535
560
  updated_at: string;
536
- ticketGroupId: string | null;
561
+ scanned: boolean;
562
+ scannedAt: string | null;
537
563
  }[];
538
564
  }, {
539
565
  tickets: {
@@ -573,11 +599,13 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
573
599
  fullName: string;
574
600
  mail: string;
575
601
  eventId: string;
576
- dni: string;
602
+ status: "BOOKED" | "PAID" | "FREE";
577
603
  seat: number | null;
604
+ dni: string;
578
605
  created_at: string;
579
606
  updated_at: string;
580
- ticketGroupId: string | null;
607
+ scanned: boolean;
608
+ scannedAt: string | null;
581
609
  }[];
582
610
  }>>;
583
611
  export declare class FindByEventTicketResponseDto extends FindByEventTicketResponseDto_base {