expo-backend-types 0.35.0-EXPO-322-ExpoBackend-Rol-de-expoTickets.1 → 0.35.0-EXPO-322-ExpoBackend-Rol-de-expoTickets.2

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 (67) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +6 -4
  2. package/dist/src/account/dto/create-account.dto.d.ts +12 -8
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +1 -0
  4. package/dist/src/account/dto/get-me.dto.d.ts +6 -4
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +6 -4
  6. package/dist/src/auth/dto/login.dto.d.ts +11 -8
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +1 -0
  8. package/dist/src/event/dto/create-event.dto.d.ts +10 -10
  9. package/dist/src/event/dto/event-tickets.dto.d.ts +3 -3
  10. package/dist/src/event/dto/event-tickets.dto.js +5 -2
  11. package/dist/src/event/dto/get-active-events.dto.d.ts +14 -14
  12. package/dist/src/event/dto/get-all-event.dto.d.ts +616 -0
  13. package/dist/src/event/dto/get-all-event.dto.js +29 -8
  14. package/dist/src/event/dto/get-by-id-event.dto.d.ts +317 -10
  15. package/dist/src/event/dto/get-by-id-event.dto.js +4 -0
  16. package/dist/src/event/dto/update-event.dto.d.ts +26 -20
  17. package/dist/src/event/dto/update-event.dto.js +1 -0
  18. package/dist/src/i18n/es.d.ts +14 -0
  19. package/dist/src/i18n/es.js +14 -0
  20. package/dist/src/i18n/es.js.map +1 -1
  21. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +104 -0
  22. package/dist/src/mi-expo/dto/get-invitations.dto.js +24 -0
  23. package/dist/src/mi-expo/dto/get-me.dto.d.ts +18 -0
  24. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +22 -0
  25. package/dist/src/mi-expo/dto/login.dto.d.ts +23 -0
  26. package/dist/src/mi-expo/dto/update-me.dto.d.ts +18 -0
  27. package/dist/src/mi-expo/exports.d.ts +1 -0
  28. package/dist/src/mi-expo/exports.js +1 -0
  29. package/dist/src/otp/dto/verify-otp.dto.d.ts +22 -0
  30. package/dist/src/profile/dto/create-profile.dto.d.ts +28 -0
  31. package/dist/src/profile/dto/delete-profile.dto.d.ts +18 -0
  32. package/dist/src/profile/dto/find-all-profile.dto.d.ts +22 -0
  33. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +40 -0
  34. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +18 -0
  35. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +18 -0
  36. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +22 -0
  37. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +57 -1
  38. package/dist/src/profile/dto/find-by-tags-profile.dto.js +2 -0
  39. package/dist/src/profile/dto/find-trash.dto.d.ts +7 -0
  40. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +22 -0
  41. package/dist/src/profile/dto/profile.dto.d.ts +9 -0
  42. package/dist/src/profile/dto/update-profile.dto.d.ts +18 -0
  43. package/dist/src/schema/profile.schema.d.ts +9 -0
  44. package/dist/src/schema/profile.schema.js +2 -0
  45. package/dist/src/tag/dto/massive-allocation.dto.d.ts +22 -0
  46. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +22 -0
  47. package/dist/src/ticket/dto/create-ticket.dto.d.ts +158 -4
  48. package/dist/src/ticket/dto/create-ticket.dto.js +10 -2
  49. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +372 -0
  50. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +2 -0
  51. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +372 -0
  52. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +2 -0
  53. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +372 -0
  54. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +2 -0
  55. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +331 -0
  56. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.js +19 -0
  57. package/dist/src/ticket/exports.d.ts +1 -0
  58. package/dist/src/ticket/exports.js +1 -0
  59. package/dist/types/prisma-schema/edge.js +7 -4
  60. package/dist/types/prisma-schema/index-browser.js +4 -1
  61. package/dist/types/prisma-schema/index.d.ts +587 -48
  62. package/dist/types/prisma-schema/index.js +7 -4
  63. package/dist/types/prisma-schema/package.json +1 -1
  64. package/dist/types/prisma-schema/schema.prisma +9 -1
  65. package/dist/types/prisma-schema/wasm.js +4 -1
  66. package/dist/types/schema.d.ts +342 -10
  67. package/package.json +1 -1
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.FindByEventTicketResponseDto = exports.findByEventTicketResponseSchema = void 0;
7
7
  const event_dto_1 = require("../../event/dto/event.dto");
8
+ const profile_schema_1 = require("../../schema/profile.schema");
8
9
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
10
  const zod_1 = __importDefault(require("zod"));
10
11
  const ticket_dto_1 = require("./ticket.dto");
@@ -15,6 +16,7 @@ exports.findByEventTicketResponseSchema = zod_1.default.object({
15
16
  date: true,
16
17
  location: true,
17
18
  }),
19
+ profile: profile_schema_1.profileSchema.nullable(),
18
20
  }))),
19
21
  });
20
22
  class FindByEventTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByEventTicketResponseSchema) {
@@ -41,12 +41,120 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
41
41
  name: string;
42
42
  date: Date;
43
43
  }>;
44
+ profile: z.ZodNullable<z.ZodObject<{
45
+ id: z.ZodString;
46
+ shortId: z.ZodNumber;
47
+ role: z.ZodDefault<z.ZodNativeEnum<{
48
+ USER: "USER";
49
+ ADMIN: "ADMIN";
50
+ FORM: "FORM";
51
+ TICKETS: "TICKETS";
52
+ MI_EXPO: "MI_EXPO";
53
+ }>>;
54
+ firstTimeMiExpo: z.ZodBoolean;
55
+ username: z.ZodNullable<z.ZodString>;
56
+ password: z.ZodNullable<z.ZodString>;
57
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
58
+ isPhoneVerified: z.ZodBoolean;
59
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
60
+ fullName: z.ZodString;
61
+ firstName: z.ZodNullable<z.ZodString>;
62
+ gender: z.ZodNullable<z.ZodString>;
63
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodDate>>;
64
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
65
+ instagram: z.ZodNullable<z.ZodString>;
66
+ mail: z.ZodNullable<z.ZodString>;
67
+ dni: z.ZodNullable<z.ZodString>;
68
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
69
+ birthLocationId: z.ZodNullable<z.ZodString>;
70
+ residenceLocationId: z.ZodNullable<z.ZodString>;
71
+ isInTrash: z.ZodBoolean;
72
+ movedToTrashDate: z.ZodNullable<z.ZodDate>;
73
+ created_at: z.ZodDate;
74
+ updated_at: z.ZodDate;
75
+ }, "strip", z.ZodTypeAny, {
76
+ id: string;
77
+ username: string | null;
78
+ password: string | null;
79
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
80
+ phoneNumber: string;
81
+ secondaryPhoneNumber: string | null;
82
+ fullName: string;
83
+ profilePictureUrl: string | null;
84
+ mail: string | null;
85
+ created_at: Date;
86
+ updated_at: Date;
87
+ shortId: number;
88
+ firstTimeMiExpo: boolean;
89
+ isPhoneVerified: boolean;
90
+ firstName: string | null;
91
+ gender: string | null;
92
+ birthDate: Date | null;
93
+ instagram: string | null;
94
+ dni: string | null;
95
+ alternativeNames: string[];
96
+ birthLocationId: string | null;
97
+ residenceLocationId: string | null;
98
+ isInTrash: boolean;
99
+ movedToTrashDate: Date | null;
100
+ }, {
101
+ id: string;
102
+ username: string | null;
103
+ password: string | null;
104
+ phoneNumber: string;
105
+ secondaryPhoneNumber: string | null;
106
+ fullName: string;
107
+ profilePictureUrl: string | null;
108
+ mail: string | null;
109
+ created_at: Date;
110
+ updated_at: Date;
111
+ shortId: number;
112
+ firstTimeMiExpo: boolean;
113
+ isPhoneVerified: boolean;
114
+ firstName: string | null;
115
+ gender: string | null;
116
+ birthDate: string | null;
117
+ instagram: string | null;
118
+ dni: string | null;
119
+ alternativeNames: string[];
120
+ birthLocationId: string | null;
121
+ residenceLocationId: string | null;
122
+ isInTrash: boolean;
123
+ movedToTrashDate: Date | null;
124
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
125
+ }>>;
44
126
  }>, "strip", z.ZodTypeAny, {
45
127
  event: {
46
128
  location: string;
47
129
  name: string;
48
130
  date: Date;
49
131
  };
132
+ profile: {
133
+ id: string;
134
+ username: string | null;
135
+ password: string | null;
136
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
137
+ phoneNumber: string;
138
+ secondaryPhoneNumber: string | null;
139
+ fullName: string;
140
+ profilePictureUrl: string | null;
141
+ mail: string | null;
142
+ created_at: Date;
143
+ updated_at: Date;
144
+ shortId: number;
145
+ firstTimeMiExpo: boolean;
146
+ isPhoneVerified: boolean;
147
+ firstName: string | null;
148
+ gender: string | null;
149
+ birthDate: Date | null;
150
+ instagram: string | null;
151
+ dni: string | null;
152
+ alternativeNames: string[];
153
+ birthLocationId: string | null;
154
+ residenceLocationId: string | null;
155
+ isInTrash: boolean;
156
+ movedToTrashDate: Date | null;
157
+ } | null;
50
158
  id: string;
51
159
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
52
160
  fullName: string;
@@ -61,6 +169,32 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
61
169
  name: string;
62
170
  date: Date;
63
171
  };
172
+ profile: {
173
+ id: string;
174
+ username: string | null;
175
+ password: string | null;
176
+ phoneNumber: string;
177
+ secondaryPhoneNumber: string | null;
178
+ fullName: string;
179
+ profilePictureUrl: string | null;
180
+ mail: string | null;
181
+ created_at: Date;
182
+ updated_at: Date;
183
+ shortId: number;
184
+ firstTimeMiExpo: boolean;
185
+ isPhoneVerified: boolean;
186
+ firstName: string | null;
187
+ gender: string | null;
188
+ birthDate: string | null;
189
+ instagram: string | null;
190
+ dni: string | null;
191
+ alternativeNames: string[];
192
+ birthLocationId: string | null;
193
+ residenceLocationId: string | null;
194
+ isInTrash: boolean;
195
+ movedToTrashDate: Date | null;
196
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
197
+ } | null;
64
198
  id: string;
65
199
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
66
200
  fullName: string;
@@ -77,6 +211,32 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
77
211
  name: string;
78
212
  date: Date;
79
213
  };
214
+ profile: {
215
+ id: string;
216
+ username: string | null;
217
+ password: string | null;
218
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
219
+ phoneNumber: string;
220
+ secondaryPhoneNumber: string | null;
221
+ fullName: string;
222
+ profilePictureUrl: string | null;
223
+ mail: string | null;
224
+ created_at: Date;
225
+ updated_at: Date;
226
+ shortId: number;
227
+ firstTimeMiExpo: boolean;
228
+ isPhoneVerified: boolean;
229
+ firstName: string | null;
230
+ gender: string | null;
231
+ birthDate: Date | null;
232
+ instagram: string | null;
233
+ dni: string | null;
234
+ alternativeNames: string[];
235
+ birthLocationId: string | null;
236
+ residenceLocationId: string | null;
237
+ isInTrash: boolean;
238
+ movedToTrashDate: Date | null;
239
+ } | null;
80
240
  id: string;
81
241
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
82
242
  fullName: string;
@@ -93,6 +253,32 @@ export declare const findByIdTicketResponseSchema: z.ZodObject<{
93
253
  name: string;
94
254
  date: Date;
95
255
  };
256
+ profile: {
257
+ id: string;
258
+ username: string | null;
259
+ password: string | null;
260
+ phoneNumber: string;
261
+ secondaryPhoneNumber: string | null;
262
+ fullName: string;
263
+ profilePictureUrl: string | null;
264
+ mail: string | null;
265
+ created_at: Date;
266
+ updated_at: Date;
267
+ shortId: number;
268
+ firstTimeMiExpo: boolean;
269
+ isPhoneVerified: boolean;
270
+ firstName: string | null;
271
+ gender: string | null;
272
+ birthDate: string | null;
273
+ instagram: string | null;
274
+ dni: string | null;
275
+ alternativeNames: string[];
276
+ birthLocationId: string | null;
277
+ residenceLocationId: string | null;
278
+ isInTrash: boolean;
279
+ movedToTrashDate: Date | null;
280
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
281
+ } | null;
96
282
  id: string;
97
283
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
98
284
  fullName: string;
@@ -134,12 +320,120 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
134
320
  name: string;
135
321
  date: string;
136
322
  }>;
323
+ profile: z.ZodNullable<z.ZodObject<{
324
+ id: z.ZodString;
325
+ shortId: z.ZodNumber;
326
+ role: z.ZodDefault<z.ZodNativeEnum<{
327
+ USER: "USER";
328
+ ADMIN: "ADMIN";
329
+ FORM: "FORM";
330
+ TICKETS: "TICKETS";
331
+ MI_EXPO: "MI_EXPO";
332
+ }>>;
333
+ firstTimeMiExpo: z.ZodBoolean;
334
+ username: z.ZodNullable<z.ZodString>;
335
+ password: z.ZodNullable<z.ZodString>;
336
+ phoneNumber: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>;
337
+ isPhoneVerified: z.ZodBoolean;
338
+ secondaryPhoneNumber: z.ZodNullable<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
339
+ fullName: z.ZodString;
340
+ firstName: z.ZodNullable<z.ZodString>;
341
+ gender: z.ZodNullable<z.ZodString>;
342
+ birthDate: z.ZodNullable<z.ZodPipeline<z.ZodString, z.ZodString>>;
343
+ profilePictureUrl: z.ZodNullable<z.ZodString>;
344
+ instagram: z.ZodNullable<z.ZodString>;
345
+ mail: z.ZodNullable<z.ZodString>;
346
+ dni: z.ZodNullable<z.ZodString>;
347
+ alternativeNames: z.ZodArray<z.ZodString, "many">;
348
+ birthLocationId: z.ZodNullable<z.ZodString>;
349
+ residenceLocationId: z.ZodNullable<z.ZodString>;
350
+ isInTrash: z.ZodBoolean;
351
+ movedToTrashDate: z.ZodNullable<z.ZodString>;
352
+ created_at: z.ZodString;
353
+ updated_at: z.ZodString;
354
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
355
+ id: string;
356
+ username: string | null;
357
+ password: string | null;
358
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
359
+ phoneNumber: string;
360
+ secondaryPhoneNumber: string | null;
361
+ fullName: string;
362
+ profilePictureUrl: string | null;
363
+ mail: string | null;
364
+ created_at: string;
365
+ updated_at: string;
366
+ shortId: number;
367
+ firstTimeMiExpo: boolean;
368
+ isPhoneVerified: boolean;
369
+ firstName: string | null;
370
+ gender: string | null;
371
+ birthDate: string | null;
372
+ instagram: string | null;
373
+ dni: string | null;
374
+ alternativeNames: string[];
375
+ birthLocationId: string | null;
376
+ residenceLocationId: string | null;
377
+ isInTrash: boolean;
378
+ movedToTrashDate: string | null;
379
+ }, {
380
+ id: string;
381
+ username: string | null;
382
+ password: string | null;
383
+ phoneNumber: string;
384
+ secondaryPhoneNumber: string | null;
385
+ fullName: string;
386
+ profilePictureUrl: string | null;
387
+ mail: string | null;
388
+ created_at: string;
389
+ updated_at: string;
390
+ shortId: number;
391
+ firstTimeMiExpo: boolean;
392
+ isPhoneVerified: boolean;
393
+ firstName: string | null;
394
+ gender: string | null;
395
+ birthDate: string | null;
396
+ instagram: string | null;
397
+ dni: string | null;
398
+ alternativeNames: string[];
399
+ birthLocationId: string | null;
400
+ residenceLocationId: string | null;
401
+ isInTrash: boolean;
402
+ movedToTrashDate: string | null;
403
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
404
+ }>>;
137
405
  }, z.UnknownKeysParam, z.ZodTypeAny, {
138
406
  event: {
139
407
  location: string;
140
408
  name: string;
141
409
  date: string;
142
410
  };
411
+ profile: {
412
+ id: string;
413
+ username: string | null;
414
+ password: string | null;
415
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
416
+ phoneNumber: string;
417
+ secondaryPhoneNumber: string | null;
418
+ fullName: string;
419
+ profilePictureUrl: string | null;
420
+ mail: string | null;
421
+ created_at: string;
422
+ updated_at: string;
423
+ shortId: number;
424
+ firstTimeMiExpo: boolean;
425
+ isPhoneVerified: boolean;
426
+ firstName: string | null;
427
+ gender: string | null;
428
+ birthDate: string | null;
429
+ instagram: string | null;
430
+ dni: string | null;
431
+ alternativeNames: string[];
432
+ birthLocationId: string | null;
433
+ residenceLocationId: string | null;
434
+ isInTrash: boolean;
435
+ movedToTrashDate: string | null;
436
+ } | null;
143
437
  id: string;
144
438
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
145
439
  fullName: string;
@@ -154,6 +448,32 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
154
448
  name: string;
155
449
  date: string;
156
450
  };
451
+ profile: {
452
+ id: string;
453
+ username: string | null;
454
+ password: string | null;
455
+ phoneNumber: string;
456
+ secondaryPhoneNumber: string | null;
457
+ fullName: string;
458
+ profilePictureUrl: string | null;
459
+ mail: string | null;
460
+ created_at: string;
461
+ updated_at: string;
462
+ shortId: number;
463
+ firstTimeMiExpo: boolean;
464
+ isPhoneVerified: boolean;
465
+ firstName: string | null;
466
+ gender: string | null;
467
+ birthDate: string | null;
468
+ instagram: string | null;
469
+ dni: string | null;
470
+ alternativeNames: string[];
471
+ birthLocationId: string | null;
472
+ residenceLocationId: string | null;
473
+ isInTrash: boolean;
474
+ movedToTrashDate: string | null;
475
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
476
+ } | null;
157
477
  id: string;
158
478
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
159
479
  fullName: string;
@@ -170,6 +490,32 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
170
490
  name: string;
171
491
  date: string;
172
492
  };
493
+ profile: {
494
+ id: string;
495
+ username: string | null;
496
+ password: string | null;
497
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
498
+ phoneNumber: string;
499
+ secondaryPhoneNumber: string | null;
500
+ fullName: string;
501
+ profilePictureUrl: string | null;
502
+ mail: string | null;
503
+ created_at: string;
504
+ updated_at: string;
505
+ shortId: number;
506
+ firstTimeMiExpo: boolean;
507
+ isPhoneVerified: boolean;
508
+ firstName: string | null;
509
+ gender: string | null;
510
+ birthDate: string | null;
511
+ instagram: string | null;
512
+ dni: string | null;
513
+ alternativeNames: string[];
514
+ birthLocationId: string | null;
515
+ residenceLocationId: string | null;
516
+ isInTrash: boolean;
517
+ movedToTrashDate: string | null;
518
+ } | null;
173
519
  id: string;
174
520
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
175
521
  fullName: string;
@@ -186,6 +532,32 @@ declare const FindByIdTicketResponseDto_base: import("@anatine/zod-nestjs").ZodD
186
532
  name: string;
187
533
  date: string;
188
534
  };
535
+ profile: {
536
+ id: string;
537
+ username: string | null;
538
+ password: string | null;
539
+ phoneNumber: string;
540
+ secondaryPhoneNumber: string | null;
541
+ fullName: string;
542
+ profilePictureUrl: string | null;
543
+ mail: string | null;
544
+ created_at: string;
545
+ updated_at: string;
546
+ shortId: number;
547
+ firstTimeMiExpo: boolean;
548
+ isPhoneVerified: boolean;
549
+ firstName: string | null;
550
+ gender: string | null;
551
+ birthDate: string | null;
552
+ instagram: string | null;
553
+ dni: string | null;
554
+ alternativeNames: string[];
555
+ birthLocationId: string | null;
556
+ residenceLocationId: string | null;
557
+ isInTrash: boolean;
558
+ movedToTrashDate: string | null;
559
+ role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
560
+ } | null;
189
561
  id: string;
190
562
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
191
563
  fullName: string;
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FindByIdTicketResponseDto = exports.findByIdTicketResponseSchema = void 0;
4
4
  const event_dto_1 = require("../../event/dto/event.dto");
5
+ const profile_schema_1 = require("../../schema/profile.schema");
5
6
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
6
7
  const zod_1 = require("zod");
7
8
  const ticket_dto_1 = require("./ticket.dto");
@@ -12,6 +13,7 @@ exports.findByIdTicketResponseSchema = zod_1.z.object({
12
13
  date: true,
13
14
  location: true,
14
15
  }),
16
+ profile: profile_schema_1.profileSchema.nullable(),
15
17
  })),
16
18
  });
17
19
  class FindByIdTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findByIdTicketResponseSchema) {