expo-backend-types 0.34.0 → 0.35.0

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 +16 -0
  24. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +20 -0
  25. package/dist/src/mi-expo/dto/login.dto.d.ts +21 -0
  26. package/dist/src/mi-expo/dto/update-me.dto.d.ts +16 -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 +20 -0
  30. package/dist/src/profile/dto/create-profile.dto.d.ts +24 -0
  31. package/dist/src/profile/dto/delete-profile.dto.d.ts +16 -0
  32. package/dist/src/profile/dto/find-all-profile.dto.d.ts +20 -0
  33. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +36 -0
  34. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +16 -0
  35. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +16 -0
  36. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +20 -0
  37. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +55 -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 +6 -0
  40. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +20 -0
  41. package/dist/src/profile/dto/profile.dto.d.ts +8 -0
  42. package/dist/src/profile/dto/update-profile.dto.d.ts +16 -0
  43. package/dist/src/schema/profile.schema.d.ts +8 -0
  44. package/dist/src/schema/profile.schema.js +2 -0
  45. package/dist/src/tag/dto/massive-allocation.dto.d.ts +20 -0
  46. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +20 -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 +370 -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 +370 -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 +370 -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 +629 -90
  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 +11 -3
  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,20 +5,41 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.GetAllEventsResponseDto = exports.getAllEventsResponseSchema = void 0;
7
7
  const event_folder_dto_1 = require("../../event-folder/dto/event-folder.dto");
8
+ const event_tickets_dto_1 = require("./event-tickets.dto");
8
9
  const event_dto_1 = require("./event.dto");
9
10
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
11
+ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
12
+ const tag_dto_1 = require("../../tag/dto/tag.dto");
10
13
  const zod_1 = __importDefault(require("zod"));
14
+ const eventWithAllThings = event_dto_1.eventSchema.merge(zod_1.default.object({
15
+ supraEvent: event_dto_1.eventSchema.nullable(),
16
+ subEvents: zod_1.default.array(event_dto_1.eventSchema),
17
+ tags: zod_1.default.array(tag_dto_1.tagSchema
18
+ .pick({
19
+ id: true,
20
+ name: true,
21
+ type: true,
22
+ })
23
+ .extend({
24
+ group: tag_group_dto_1.tagGroupSchema.pick({
25
+ id: true,
26
+ color: true,
27
+ name: true,
28
+ isExclusive: true,
29
+ }),
30
+ })),
31
+ eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema.pick({
32
+ id: true,
33
+ amount: true,
34
+ type: true,
35
+ price: true,
36
+ })),
37
+ }));
11
38
  exports.getAllEventsResponseSchema = zod_1.default.object({
12
39
  folders: zod_1.default.array(event_folder_dto_1.eventFolderSchema.merge(zod_1.default.object({
13
- events: zod_1.default.array(event_dto_1.eventSchema.merge(zod_1.default.object({
14
- supraEvent: event_dto_1.eventSchema.nullable(),
15
- subEvents: zod_1.default.array(event_dto_1.eventSchema),
16
- }))),
17
- }))),
18
- withoutFolder: zod_1.default.array(event_dto_1.eventSchema.merge(zod_1.default.object({
19
- supraEvent: event_dto_1.eventSchema.nullable(),
20
- subEvents: zod_1.default.array(event_dto_1.eventSchema),
40
+ events: zod_1.default.array(eventWithAllThings),
21
41
  }))),
42
+ withoutFolder: zod_1.default.array(eventWithAllThings),
22
43
  });
23
44
  class GetAllEventsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllEventsResponseSchema) {
24
45
  }
@@ -102,7 +102,7 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
102
102
  }>>;
103
103
  eventTickets: z.ZodArray<z.ZodObject<{
104
104
  id: z.ZodString;
105
- amount: z.ZodNumber;
105
+ amount: z.ZodNullable<z.ZodNumber>;
106
106
  type: z.ZodNativeEnum<{
107
107
  PARTICIPANT: "PARTICIPANT";
108
108
  STAFF: "STAFF";
@@ -112,14 +112,116 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
112
112
  }, "strip", z.ZodTypeAny, {
113
113
  id: string;
114
114
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
115
- amount: number;
115
+ amount: number | null;
116
116
  price: number | null;
117
117
  }, {
118
118
  id: string;
119
119
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
120
- amount: number;
120
+ amount: number | null;
121
121
  price: number | null;
122
122
  }>, "many">;
123
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
124
+ id: z.ZodString;
125
+ name: z.ZodString;
126
+ groupId: z.ZodString;
127
+ type: z.ZodNativeEnum<{
128
+ PROFILE: "PROFILE";
129
+ EVENT: "EVENT";
130
+ PARTICIPANT: "PARTICIPANT";
131
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
132
+ }>;
133
+ created_at: z.ZodDate;
134
+ updated_at: z.ZodDate;
135
+ }, {
136
+ group: z.ZodObject<{
137
+ id: z.ZodString;
138
+ name: z.ZodString;
139
+ color: z.ZodString;
140
+ isExclusive: z.ZodBoolean;
141
+ created_at: z.ZodDate;
142
+ updated_at: z.ZodDate;
143
+ }, "strip", z.ZodTypeAny, {
144
+ id: string;
145
+ name: string;
146
+ color: string;
147
+ created_at: Date;
148
+ updated_at: Date;
149
+ isExclusive: boolean;
150
+ }, {
151
+ id: string;
152
+ name: string;
153
+ color: string;
154
+ created_at: Date;
155
+ updated_at: Date;
156
+ isExclusive: boolean;
157
+ }>;
158
+ }>, "strip", z.ZodTypeAny, {
159
+ id: string;
160
+ name: string;
161
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
162
+ created_at: Date;
163
+ updated_at: Date;
164
+ groupId: string;
165
+ group: {
166
+ id: string;
167
+ name: string;
168
+ color: string;
169
+ created_at: Date;
170
+ updated_at: Date;
171
+ isExclusive: boolean;
172
+ };
173
+ }, {
174
+ id: string;
175
+ name: string;
176
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
177
+ created_at: Date;
178
+ updated_at: Date;
179
+ groupId: string;
180
+ group: {
181
+ id: string;
182
+ name: string;
183
+ color: string;
184
+ created_at: Date;
185
+ updated_at: Date;
186
+ isExclusive: boolean;
187
+ };
188
+ }>, "many">;
189
+ tickets: z.ZodArray<z.ZodObject<{
190
+ id: z.ZodString;
191
+ eventId: z.ZodString;
192
+ type: z.ZodNativeEnum<{
193
+ PARTICIPANT: "PARTICIPANT";
194
+ STAFF: "STAFF";
195
+ SPECTATOR: "SPECTATOR";
196
+ }>;
197
+ status: z.ZodNativeEnum<{
198
+ BOOKED: "BOOKED";
199
+ PAID: "PAID";
200
+ FREE: "FREE";
201
+ }>;
202
+ fullName: z.ZodString;
203
+ mail: z.ZodString;
204
+ created_at: z.ZodDate;
205
+ updated_at: z.ZodDate;
206
+ }, "strip", z.ZodTypeAny, {
207
+ id: string;
208
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
209
+ fullName: string;
210
+ mail: string;
211
+ eventId: string;
212
+ status: "BOOKED" | "PAID" | "FREE";
213
+ created_at: Date;
214
+ updated_at: Date;
215
+ }, {
216
+ id: string;
217
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
218
+ fullName: string;
219
+ mail: string;
220
+ eventId: string;
221
+ status: "BOOKED" | "PAID" | "FREE";
222
+ created_at: Date;
223
+ updated_at: Date;
224
+ }>, "many">;
123
225
  }>, "strip", z.ZodTypeAny, {
124
226
  location: string;
125
227
  id: string;
@@ -130,6 +232,22 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
130
232
  created_at: Date;
131
233
  updated_at: Date;
132
234
  active: boolean;
235
+ tags: {
236
+ id: string;
237
+ name: string;
238
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
239
+ created_at: Date;
240
+ updated_at: Date;
241
+ groupId: string;
242
+ group: {
243
+ id: string;
244
+ name: string;
245
+ color: string;
246
+ created_at: Date;
247
+ updated_at: Date;
248
+ isExclusive: boolean;
249
+ };
250
+ }[];
133
251
  folderId: string | null;
134
252
  tagAssistedId: string;
135
253
  tagConfirmedId: string;
@@ -152,7 +270,7 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
152
270
  eventTickets: {
153
271
  id: string;
154
272
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
155
- amount: number;
273
+ amount: number | null;
156
274
  price: number | null;
157
275
  }[];
158
276
  supraEvent: {
@@ -170,6 +288,16 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
170
288
  tagConfirmedId: string;
171
289
  supraEventId: string | null;
172
290
  } | null;
291
+ tickets: {
292
+ id: string;
293
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
294
+ fullName: string;
295
+ mail: string;
296
+ eventId: string;
297
+ status: "BOOKED" | "PAID" | "FREE";
298
+ created_at: Date;
299
+ updated_at: Date;
300
+ }[];
173
301
  }, {
174
302
  location: string;
175
303
  id: string;
@@ -180,6 +308,22 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
180
308
  created_at: Date;
181
309
  updated_at: Date;
182
310
  active: boolean;
311
+ tags: {
312
+ id: string;
313
+ name: string;
314
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
315
+ created_at: Date;
316
+ updated_at: Date;
317
+ groupId: string;
318
+ group: {
319
+ id: string;
320
+ name: string;
321
+ color: string;
322
+ created_at: Date;
323
+ updated_at: Date;
324
+ isExclusive: boolean;
325
+ };
326
+ }[];
183
327
  folderId: string | null;
184
328
  tagAssistedId: string;
185
329
  tagConfirmedId: string;
@@ -202,7 +346,7 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
202
346
  eventTickets: {
203
347
  id: string;
204
348
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
205
- amount: number;
349
+ amount: number | null;
206
350
  price: number | null;
207
351
  }[];
208
352
  supraEvent: {
@@ -220,6 +364,16 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
220
364
  tagConfirmedId: string;
221
365
  supraEventId: string | null;
222
366
  } | null;
367
+ tickets: {
368
+ id: string;
369
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
370
+ fullName: string;
371
+ mail: string;
372
+ eventId: string;
373
+ status: "BOOKED" | "PAID" | "FREE";
374
+ created_at: Date;
375
+ updated_at: Date;
376
+ }[];
223
377
  }>;
224
378
  declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
225
379
  id: z.ZodString;
@@ -323,7 +477,7 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
323
477
  }>>;
324
478
  eventTickets: z.ZodArray<z.ZodObject<{
325
479
  id: z.ZodString;
326
- amount: z.ZodNumber;
480
+ amount: z.ZodNullable<z.ZodNumber>;
327
481
  type: z.ZodNativeEnum<{
328
482
  PARTICIPANT: "PARTICIPANT";
329
483
  STAFF: "STAFF";
@@ -333,14 +487,115 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
333
487
  }, z.UnknownKeysParam, z.ZodTypeAny, {
334
488
  id: string;
335
489
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
336
- amount: number;
490
+ amount: number | null;
337
491
  price: number | null;
338
492
  }, {
339
493
  id: string;
340
494
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
341
- amount: number;
495
+ amount: number | null;
342
496
  price: number | null;
343
497
  }>, "many">;
498
+ tags: z.ZodArray<z.ZodObject<{
499
+ id: z.ZodString;
500
+ name: z.ZodString;
501
+ groupId: z.ZodString;
502
+ type: z.ZodNativeEnum<{
503
+ PROFILE: "PROFILE";
504
+ EVENT: "EVENT";
505
+ PARTICIPANT: "PARTICIPANT";
506
+ NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
507
+ }>;
508
+ created_at: z.ZodString;
509
+ updated_at: z.ZodString;
510
+ group: z.ZodObject<{
511
+ id: z.ZodString;
512
+ name: z.ZodString;
513
+ color: z.ZodString;
514
+ isExclusive: z.ZodBoolean;
515
+ created_at: z.ZodString;
516
+ updated_at: z.ZodString;
517
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
518
+ id: string;
519
+ name: string;
520
+ color: string;
521
+ created_at: string;
522
+ updated_at: string;
523
+ isExclusive: boolean;
524
+ }, {
525
+ id: string;
526
+ name: string;
527
+ color: string;
528
+ created_at: string;
529
+ updated_at: string;
530
+ isExclusive: boolean;
531
+ }>;
532
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
533
+ id: string;
534
+ name: string;
535
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
536
+ created_at: string;
537
+ updated_at: string;
538
+ groupId: string;
539
+ group: {
540
+ id: string;
541
+ name: string;
542
+ color: string;
543
+ created_at: string;
544
+ updated_at: string;
545
+ isExclusive: boolean;
546
+ };
547
+ }, {
548
+ id: string;
549
+ name: string;
550
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
551
+ created_at: string;
552
+ updated_at: string;
553
+ groupId: string;
554
+ group: {
555
+ id: string;
556
+ name: string;
557
+ color: string;
558
+ created_at: string;
559
+ updated_at: string;
560
+ isExclusive: boolean;
561
+ };
562
+ }>, "many">;
563
+ tickets: z.ZodArray<z.ZodObject<{
564
+ id: z.ZodString;
565
+ eventId: z.ZodString;
566
+ type: z.ZodNativeEnum<{
567
+ PARTICIPANT: "PARTICIPANT";
568
+ STAFF: "STAFF";
569
+ SPECTATOR: "SPECTATOR";
570
+ }>;
571
+ status: z.ZodNativeEnum<{
572
+ BOOKED: "BOOKED";
573
+ PAID: "PAID";
574
+ FREE: "FREE";
575
+ }>;
576
+ fullName: z.ZodString;
577
+ mail: z.ZodString;
578
+ created_at: z.ZodString;
579
+ updated_at: z.ZodString;
580
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
581
+ id: string;
582
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
583
+ fullName: string;
584
+ mail: string;
585
+ eventId: string;
586
+ status: "BOOKED" | "PAID" | "FREE";
587
+ created_at: string;
588
+ updated_at: string;
589
+ }, {
590
+ id: string;
591
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
592
+ fullName: string;
593
+ mail: string;
594
+ eventId: string;
595
+ status: "BOOKED" | "PAID" | "FREE";
596
+ created_at: string;
597
+ updated_at: string;
598
+ }>, "many">;
344
599
  }, z.UnknownKeysParam, z.ZodTypeAny, {
345
600
  location: string;
346
601
  id: string;
@@ -351,6 +606,22 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
351
606
  created_at: string;
352
607
  updated_at: string;
353
608
  active: boolean;
609
+ tags: {
610
+ id: string;
611
+ name: string;
612
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
613
+ created_at: string;
614
+ updated_at: string;
615
+ groupId: string;
616
+ group: {
617
+ id: string;
618
+ name: string;
619
+ color: string;
620
+ created_at: string;
621
+ updated_at: string;
622
+ isExclusive: boolean;
623
+ };
624
+ }[];
354
625
  folderId: string | null;
355
626
  tagAssistedId: string;
356
627
  tagConfirmedId: string;
@@ -373,7 +644,7 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
373
644
  eventTickets: {
374
645
  id: string;
375
646
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
376
- amount: number;
647
+ amount: number | null;
377
648
  price: number | null;
378
649
  }[];
379
650
  supraEvent: {
@@ -391,6 +662,16 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
391
662
  tagConfirmedId: string;
392
663
  supraEventId: string | null;
393
664
  } | null;
665
+ tickets: {
666
+ id: string;
667
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
668
+ fullName: string;
669
+ mail: string;
670
+ eventId: string;
671
+ status: "BOOKED" | "PAID" | "FREE";
672
+ created_at: string;
673
+ updated_at: string;
674
+ }[];
394
675
  }, {
395
676
  location: string;
396
677
  id: string;
@@ -401,6 +682,22 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
401
682
  created_at: string;
402
683
  updated_at: string;
403
684
  active: boolean;
685
+ tags: {
686
+ id: string;
687
+ name: string;
688
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
689
+ created_at: string;
690
+ updated_at: string;
691
+ groupId: string;
692
+ group: {
693
+ id: string;
694
+ name: string;
695
+ color: string;
696
+ created_at: string;
697
+ updated_at: string;
698
+ isExclusive: boolean;
699
+ };
700
+ }[];
404
701
  folderId: string | null;
405
702
  tagAssistedId: string;
406
703
  tagConfirmedId: string;
@@ -423,7 +720,7 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
423
720
  eventTickets: {
424
721
  id: string;
425
722
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
426
- amount: number;
723
+ amount: number | null;
427
724
  price: number | null;
428
725
  }[];
429
726
  supraEvent: {
@@ -441,6 +738,16 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
441
738
  tagConfirmedId: string;
442
739
  supraEventId: string | null;
443
740
  } | null;
741
+ tickets: {
742
+ id: string;
743
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
744
+ fullName: string;
745
+ mail: string;
746
+ eventId: string;
747
+ status: "BOOKED" | "PAID" | "FREE";
748
+ created_at: string;
749
+ updated_at: string;
750
+ }[];
444
751
  }>>;
445
752
  export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
446
753
  }
@@ -7,12 +7,16 @@ exports.GetBySupraEventResponseDto = exports.getBySupraEventResponseSchema = exp
7
7
  const event_tickets_dto_1 = require("./event-tickets.dto");
8
8
  const event_dto_1 = require("./event.dto");
9
9
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
+ const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
10
11
  const tag_dto_1 = require("../../tag/dto/tag.dto");
12
+ const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
11
13
  const zod_1 = __importDefault(require("zod"));
12
14
  exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
13
15
  subEvents: zod_1.default.array(event_dto_1.eventSchema),
14
16
  supraEvent: event_dto_1.eventSchema.nullable(),
15
17
  eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
18
+ tags: zod_1.default.array(tag_dto_1.tagSchema.extend({ group: tag_group_dto_1.tagGroupSchema })),
19
+ tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
16
20
  }));
17
21
  class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
18
22
  }
@@ -14,6 +14,7 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
14
14
  created_at: z.ZodDate;
15
15
  updated_at: z.ZodDate;
16
16
  }, "location" | "name" | "date" | "startingDate" | "endingDate" | "folderId">, {
17
+ tagsId: z.ZodArray<z.ZodString, "many">;
17
18
  subEvents: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
18
19
  id: z.ZodString;
19
20
  name: z.ZodString;
@@ -47,7 +48,7 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
47
48
  }>, "many">;
48
49
  eventTickets: z.ZodArray<z.ZodObject<Omit<{
49
50
  id: z.ZodString;
50
- amount: z.ZodNumber;
51
+ amount: z.ZodNullable<z.ZodNumber>;
51
52
  type: z.ZodNativeEnum<{
52
53
  PARTICIPANT: "PARTICIPANT";
53
54
  STAFF: "STAFF";
@@ -56,11 +57,11 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
56
57
  price: z.ZodNullable<z.ZodNumber>;
57
58
  }, "id">, "strip", z.ZodTypeAny, {
58
59
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
59
- amount: number;
60
+ amount: number | null;
60
61
  price: number | null;
61
62
  }, {
62
63
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
63
- amount: number;
64
+ amount: number | null;
64
65
  price: number | null;
65
66
  }>, "many">;
66
67
  }>, "strip", z.ZodTypeAny, {
@@ -78,9 +79,10 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
78
79
  startingDate: Date;
79
80
  endingDate: Date;
80
81
  }[];
82
+ tagsId: string[];
81
83
  eventTickets: {
82
84
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
83
- amount: number;
85
+ amount: number | null;
84
86
  price: number | null;
85
87
  }[];
86
88
  }, {
@@ -98,9 +100,10 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
98
100
  startingDate: Date;
99
101
  endingDate: Date;
100
102
  }[];
103
+ tagsId: string[];
101
104
  eventTickets: {
102
105
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
103
- amount: number;
106
+ amount: number | null;
104
107
  price: number | null;
105
108
  }[];
106
109
  }>;
@@ -111,6 +114,7 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
111
114
  startingDate: z.ZodString;
112
115
  endingDate: z.ZodString;
113
116
  folderId: z.ZodNullable<z.ZodString>;
117
+ tagsId: z.ZodArray<z.ZodString, "many">;
114
118
  subEvents: z.ZodArray<z.ZodObject<{
115
119
  location: z.ZodString;
116
120
  name: z.ZodString;
@@ -139,15 +143,15 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
139
143
  STAFF: "STAFF";
140
144
  SPECTATOR: "SPECTATOR";
141
145
  }>;
142
- amount: z.ZodNumber;
146
+ amount: z.ZodNullable<z.ZodNumber>;
143
147
  price: z.ZodNullable<z.ZodNumber>;
144
148
  }, z.UnknownKeysParam, z.ZodTypeAny, {
145
149
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
146
- amount: number;
150
+ amount: number | null;
147
151
  price: number | null;
148
152
  }, {
149
153
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
150
- amount: number;
154
+ amount: number | null;
151
155
  price: number | null;
152
156
  }>, "many">;
153
157
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -165,9 +169,10 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
165
169
  startingDate: string;
166
170
  endingDate: string;
167
171
  }[];
172
+ tagsId: string[];
168
173
  eventTickets: {
169
174
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
170
- amount: number;
175
+ amount: number | null;
171
176
  price: number | null;
172
177
  }[];
173
178
  }, {
@@ -185,9 +190,10 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
185
190
  startingDate: string;
186
191
  endingDate: string;
187
192
  }[];
193
+ tagsId: string[];
188
194
  eventTickets: {
189
195
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
190
- amount: number;
196
+ amount: number | null;
191
197
  price: number | null;
192
198
  }[];
193
199
  }>>;
@@ -276,7 +282,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
276
282
  }>;
277
283
  eventTickets: z.ZodArray<z.ZodObject<{
278
284
  id: z.ZodString;
279
- amount: z.ZodNumber;
285
+ amount: z.ZodNullable<z.ZodNumber>;
280
286
  type: z.ZodNativeEnum<{
281
287
  PARTICIPANT: "PARTICIPANT";
282
288
  STAFF: "STAFF";
@@ -286,12 +292,12 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
286
292
  }, "strip", z.ZodTypeAny, {
287
293
  id: string;
288
294
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
289
- amount: number;
295
+ amount: number | null;
290
296
  price: number | null;
291
297
  }, {
292
298
  id: string;
293
299
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
294
- amount: number;
300
+ amount: number | null;
295
301
  price: number | null;
296
302
  }>, "many">;
297
303
  }>, "strip", z.ZodTypeAny, {
@@ -311,7 +317,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
311
317
  eventTickets: {
312
318
  id: string;
313
319
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
314
- amount: number;
320
+ amount: number | null;
315
321
  price: number | null;
316
322
  }[];
317
323
  tagAssisted: {
@@ -347,7 +353,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
347
353
  eventTickets: {
348
354
  id: string;
349
355
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
350
- amount: number;
356
+ amount: number | null;
351
357
  price: number | null;
352
358
  }[];
353
359
  tagAssisted: {
@@ -448,7 +454,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
448
454
  }>;
449
455
  eventTickets: z.ZodArray<z.ZodObject<{
450
456
  id: z.ZodString;
451
- amount: z.ZodNumber;
457
+ amount: z.ZodNullable<z.ZodNumber>;
452
458
  type: z.ZodNativeEnum<{
453
459
  PARTICIPANT: "PARTICIPANT";
454
460
  STAFF: "STAFF";
@@ -458,12 +464,12 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
458
464
  }, z.UnknownKeysParam, z.ZodTypeAny, {
459
465
  id: string;
460
466
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
461
- amount: number;
467
+ amount: number | null;
462
468
  price: number | null;
463
469
  }, {
464
470
  id: string;
465
471
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
466
- amount: number;
472
+ amount: number | null;
467
473
  price: number | null;
468
474
  }>, "many">;
469
475
  }, z.UnknownKeysParam, z.ZodTypeAny, {
@@ -483,7 +489,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
483
489
  eventTickets: {
484
490
  id: string;
485
491
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
486
- amount: number;
492
+ amount: number | null;
487
493
  price: number | null;
488
494
  }[];
489
495
  tagAssisted: {
@@ -519,7 +525,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
519
525
  eventTickets: {
520
526
  id: string;
521
527
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
522
- amount: number;
528
+ amount: number | null;
523
529
  price: number | null;
524
530
  }[];
525
531
  tagAssisted: {