expo-backend-types 0.37.0-EXPO-325-ExpoBackend-Emision-de-multiples-tickets.1 → 0.37.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 (83) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +8 -8
  2. package/dist/src/account/dto/get-me.dto.d.ts +16 -16
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -8
  4. package/dist/src/event/dto/create-event.dto.d.ts +8 -8
  5. package/dist/src/event/dto/event-tickets.dto.d.ts +2 -2
  6. package/dist/src/event/dto/get-active-events.dto.d.ts +12 -12
  7. package/dist/src/event/dto/get-all-event.dto.d.ts +56 -56
  8. package/dist/src/event/dto/get-by-id-event.dto.d.ts +78 -50
  9. package/dist/src/event/dto/update-event.dto.d.ts +24 -24
  10. package/dist/src/exports.d.ts +0 -1
  11. package/dist/src/exports.js +0 -1
  12. package/dist/src/i18n/es.d.ts +22 -31
  13. package/dist/src/i18n/es.js +22 -31
  14. package/dist/src/i18n/es.js.map +1 -1
  15. package/dist/src/mi-expo/dto/get-me.dto.d.ts +5 -5
  16. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +9 -9
  17. package/dist/src/mi-expo/dto/login.dto.d.ts +9 -9
  18. package/dist/src/mi-expo/dto/update-me.dto.d.ts +11 -11
  19. package/dist/src/otp/dto/verify-otp.dto.d.ts +8 -8
  20. package/dist/src/profile/dto/create-profile.dto.d.ts +10 -10
  21. package/dist/src/profile/dto/delete-profile.dto.d.ts +4 -4
  22. package/dist/src/profile/dto/find-all-profile.dto.d.ts +20 -20
  23. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +32 -32
  24. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +13 -13
  25. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +4 -4
  26. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +20 -20
  27. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +20 -20
  28. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +20 -20
  29. package/dist/src/profile/dto/profile.dto.d.ts +2 -2
  30. package/dist/src/profile/dto/update-profile.dto.d.ts +10 -10
  31. package/dist/src/schema/profile.schema.d.ts +2 -2
  32. package/dist/src/tag/dto/create-tag.dto.d.ts +4 -4
  33. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -4
  34. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -8
  35. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -8
  36. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -4
  37. package/dist/src/tag/dto/massive-allocation.dto.d.ts +8 -8
  38. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +8 -8
  39. package/dist/src/tag/dto/tag.dto.d.ts +4 -4
  40. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -4
  41. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -12
  42. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -12
  43. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -8
  44. package/dist/src/ticket/constants.d.ts +12 -14
  45. package/dist/src/ticket/constants.js +355 -248
  46. package/dist/src/ticket/dto/create-ticket.dto.d.ts +56 -21
  47. package/dist/src/ticket/dto/create-ticket.dto.js +2 -1
  48. package/dist/src/ticket/dto/delete-ticket.dto.d.ts +30 -10
  49. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +46 -18
  50. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +58 -30
  51. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +58 -30
  52. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +58 -30
  53. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +46 -18
  54. package/dist/src/ticket/dto/find-ticket.dto.d.ts +30 -10
  55. package/dist/src/ticket/dto/send-email.dto.d.ts +18 -0
  56. package/dist/src/ticket/dto/send-email.dto.js +15 -0
  57. package/dist/src/ticket/dto/ticket.dto.d.ts +30 -10
  58. package/dist/src/ticket/dto/ticket.dto.js +5 -2
  59. package/dist/src/ticket/dto/update-ticket.dto.d.ts +48 -20
  60. package/dist/src/ticket/dto/update-ticket.dto.js +1 -1
  61. package/dist/types/prisma-schema/edge.js +7 -15
  62. package/dist/types/prisma-schema/index-browser.js +4 -12
  63. package/dist/types/prisma-schema/index.d.ts +362 -2212
  64. package/dist/types/prisma-schema/index.js +7 -15
  65. package/dist/types/prisma-schema/package.json +1 -1
  66. package/dist/types/prisma-schema/schema.prisma +7 -22
  67. package/dist/types/prisma-schema/wasm.js +4 -12
  68. package/dist/types/schema.d.ts +40 -308
  69. package/package.json +6 -6
  70. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -704
  71. package/dist/src/ticket/dto/create-many-ticket.dto.js +0 -58
  72. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -346
  73. package/dist/src/ticket-group/dto/create-ticket-group.dto.js +0 -27
  74. package/dist/src/ticket-group/dto/delete-ticket-group.dto.d.ts +0 -55
  75. package/dist/src/ticket-group/dto/delete-ticket-group.dto.js +0 -10
  76. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.d.ts +0 -8
  77. package/dist/src/ticket-group/dto/find-tickets-by-event.dto.js +0 -11
  78. package/dist/src/ticket-group/dto/ticket-group.dto.d.ts +0 -56
  79. package/dist/src/ticket-group/dto/ticket-group.dto.js +0 -27
  80. package/dist/src/ticket-group/dto/update-ticket-group.dto.d.ts +0 -79
  81. package/dist/src/ticket-group/dto/update-ticket-group.dto.js +0 -18
  82. package/dist/src/ticket-group/exports.d.ts +0 -5
  83. package/dist/src/ticket-group/exports.js +0 -22
@@ -8,9 +8,15 @@ 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
- ticketGroupId: z.ZodString;
18
+ dni: z.ZodString;
19
+ seat: z.ZodNullable<z.ZodNumber>;
14
20
  created_at: z.ZodDate;
15
21
  updated_at: z.ZodDate;
16
22
  }, {
@@ -78,6 +84,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
78
84
  fullName: string;
79
85
  profilePictureUrl: string | null;
80
86
  mail: string | null;
87
+ dni: string | null;
81
88
  created_at: Date;
82
89
  updated_at: Date;
83
90
  shortId: number;
@@ -87,7 +94,6 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
87
94
  gender: string | null;
88
95
  birthDate: Date | null;
89
96
  instagram: string | null;
90
- dni: string | null;
91
97
  alternativeNames: string[];
92
98
  birthLocationId: string | null;
93
99
  residenceLocationId: string | null;
@@ -102,6 +108,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
102
108
  fullName: string;
103
109
  profilePictureUrl: string | null;
104
110
  mail: string | null;
111
+ dni: string | null;
105
112
  created_at: Date;
106
113
  updated_at: Date;
107
114
  shortId: number;
@@ -111,7 +118,6 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
111
118
  gender: string | null;
112
119
  birthDate: string | null;
113
120
  instagram: string | null;
114
- dni: string | null;
115
121
  alternativeNames: string[];
116
122
  birthLocationId: string | null;
117
123
  residenceLocationId: string | null;
@@ -135,6 +141,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
135
141
  fullName: string;
136
142
  profilePictureUrl: string | null;
137
143
  mail: string | null;
144
+ dni: string | null;
138
145
  created_at: Date;
139
146
  updated_at: Date;
140
147
  shortId: number;
@@ -144,7 +151,6 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
144
151
  gender: string | null;
145
152
  birthDate: Date | null;
146
153
  instagram: string | null;
147
- dni: string | null;
148
154
  alternativeNames: string[];
149
155
  birthLocationId: string | null;
150
156
  residenceLocationId: string | null;
@@ -152,13 +158,15 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
152
158
  movedToTrashDate: Date | null;
153
159
  } | null;
154
160
  id: string;
155
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
161
+ type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
156
162
  fullName: string;
157
163
  mail: string;
158
164
  eventId: string;
165
+ status: "BOOKED" | "PAID" | "FREE";
166
+ seat: number | null;
167
+ dni: string;
159
168
  created_at: Date;
160
169
  updated_at: Date;
161
- ticketGroupId: string;
162
170
  }, {
163
171
  event: {
164
172
  location: string;
@@ -174,6 +182,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
174
182
  fullName: string;
175
183
  profilePictureUrl: string | null;
176
184
  mail: string | null;
185
+ dni: string | null;
177
186
  created_at: Date;
178
187
  updated_at: Date;
179
188
  shortId: number;
@@ -183,7 +192,6 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
183
192
  gender: string | null;
184
193
  birthDate: string | null;
185
194
  instagram: string | null;
186
- dni: string | null;
187
195
  alternativeNames: string[];
188
196
  birthLocationId: string | null;
189
197
  residenceLocationId: string | null;
@@ -192,13 +200,15 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
192
200
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
193
201
  } | null;
194
202
  id: string;
195
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
203
+ type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
196
204
  fullName: string;
197
205
  mail: string;
198
206
  eventId: string;
207
+ status: "BOOKED" | "PAID" | "FREE";
208
+ seat: number | null;
209
+ dni: string;
199
210
  created_at: Date;
200
211
  updated_at: Date;
201
- ticketGroupId: string;
202
212
  }>, "many">;
203
213
  }, "strip", z.ZodTypeAny, {
204
214
  tickets: {
@@ -217,6 +227,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
217
227
  fullName: string;
218
228
  profilePictureUrl: string | null;
219
229
  mail: string | null;
230
+ dni: string | null;
220
231
  created_at: Date;
221
232
  updated_at: Date;
222
233
  shortId: number;
@@ -226,7 +237,6 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
226
237
  gender: string | null;
227
238
  birthDate: Date | null;
228
239
  instagram: string | null;
229
- dni: string | null;
230
240
  alternativeNames: string[];
231
241
  birthLocationId: string | null;
232
242
  residenceLocationId: string | null;
@@ -234,13 +244,15 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
234
244
  movedToTrashDate: Date | null;
235
245
  } | null;
236
246
  id: string;
237
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
247
+ type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
238
248
  fullName: string;
239
249
  mail: string;
240
250
  eventId: string;
251
+ status: "BOOKED" | "PAID" | "FREE";
252
+ seat: number | null;
253
+ dni: string;
241
254
  created_at: Date;
242
255
  updated_at: Date;
243
- ticketGroupId: string;
244
256
  }[];
245
257
  }, {
246
258
  tickets: {
@@ -258,6 +270,7 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
258
270
  fullName: string;
259
271
  profilePictureUrl: string | null;
260
272
  mail: string | null;
273
+ dni: string | null;
261
274
  created_at: Date;
262
275
  updated_at: Date;
263
276
  shortId: number;
@@ -267,7 +280,6 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
267
280
  gender: string | null;
268
281
  birthDate: string | null;
269
282
  instagram: string | null;
270
- dni: string | null;
271
283
  alternativeNames: string[];
272
284
  birthLocationId: string | null;
273
285
  residenceLocationId: string | null;
@@ -276,13 +288,15 @@ export declare const findByEventTicketResponseSchema: z.ZodObject<{
276
288
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
277
289
  } | null;
278
290
  id: string;
279
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
291
+ type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
280
292
  fullName: string;
281
293
  mail: string;
282
294
  eventId: string;
295
+ status: "BOOKED" | "PAID" | "FREE";
296
+ seat: number | null;
297
+ dni: string;
283
298
  created_at: Date;
284
299
  updated_at: Date;
285
- ticketGroupId: string;
286
300
  }[];
287
301
  }>;
288
302
  declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
@@ -294,9 +308,15 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
294
308
  STAFF: "STAFF";
295
309
  SPECTATOR: "SPECTATOR";
296
310
  }>;
311
+ status: z.ZodNativeEnum<{
312
+ BOOKED: "BOOKED";
313
+ PAID: "PAID";
314
+ FREE: "FREE";
315
+ }>;
297
316
  fullName: z.ZodString;
298
317
  mail: z.ZodString;
299
- ticketGroupId: z.ZodString;
318
+ dni: z.ZodString;
319
+ seat: z.ZodNullable<z.ZodNumber>;
300
320
  created_at: z.ZodString;
301
321
  updated_at: z.ZodString;
302
322
  event: z.ZodObject<{
@@ -353,6 +373,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
353
373
  fullName: string;
354
374
  profilePictureUrl: string | null;
355
375
  mail: string | null;
376
+ dni: string | null;
356
377
  created_at: string;
357
378
  updated_at: string;
358
379
  shortId: number;
@@ -362,7 +383,6 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
362
383
  gender: string | null;
363
384
  birthDate: string | null;
364
385
  instagram: string | null;
365
- dni: string | null;
366
386
  alternativeNames: string[];
367
387
  birthLocationId: string | null;
368
388
  residenceLocationId: string | null;
@@ -377,6 +397,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
377
397
  fullName: string;
378
398
  profilePictureUrl: string | null;
379
399
  mail: string | null;
400
+ dni: string | null;
380
401
  created_at: string;
381
402
  updated_at: string;
382
403
  shortId: number;
@@ -386,7 +407,6 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
386
407
  gender: string | null;
387
408
  birthDate: string | null;
388
409
  instagram: string | null;
389
- dni: string | null;
390
410
  alternativeNames: string[];
391
411
  birthLocationId: string | null;
392
412
  residenceLocationId: string | null;
@@ -410,6 +430,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
410
430
  fullName: string;
411
431
  profilePictureUrl: string | null;
412
432
  mail: string | null;
433
+ dni: string | null;
413
434
  created_at: string;
414
435
  updated_at: string;
415
436
  shortId: number;
@@ -419,7 +440,6 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
419
440
  gender: string | null;
420
441
  birthDate: string | null;
421
442
  instagram: string | null;
422
- dni: string | null;
423
443
  alternativeNames: string[];
424
444
  birthLocationId: string | null;
425
445
  residenceLocationId: string | null;
@@ -427,13 +447,15 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
427
447
  movedToTrashDate: string | null;
428
448
  } | null;
429
449
  id: string;
430
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
450
+ type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
431
451
  fullName: string;
432
452
  mail: string;
433
453
  eventId: string;
454
+ status: "BOOKED" | "PAID" | "FREE";
455
+ seat: number | null;
456
+ dni: string;
434
457
  created_at: string;
435
458
  updated_at: string;
436
- ticketGroupId: string;
437
459
  }, {
438
460
  event: {
439
461
  location: string;
@@ -449,6 +471,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
449
471
  fullName: string;
450
472
  profilePictureUrl: string | null;
451
473
  mail: string | null;
474
+ dni: string | null;
452
475
  created_at: string;
453
476
  updated_at: string;
454
477
  shortId: number;
@@ -458,7 +481,6 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
458
481
  gender: string | null;
459
482
  birthDate: string | null;
460
483
  instagram: string | null;
461
- dni: string | null;
462
484
  alternativeNames: string[];
463
485
  birthLocationId: string | null;
464
486
  residenceLocationId: string | null;
@@ -467,13 +489,15 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
467
489
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
468
490
  } | null;
469
491
  id: string;
470
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
492
+ type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
471
493
  fullName: string;
472
494
  mail: string;
473
495
  eventId: string;
496
+ status: "BOOKED" | "PAID" | "FREE";
497
+ seat: number | null;
498
+ dni: string;
474
499
  created_at: string;
475
500
  updated_at: string;
476
- ticketGroupId: string;
477
501
  }>, "many">;
478
502
  }, z.UnknownKeysParam, z.ZodTypeAny, {
479
503
  tickets: {
@@ -492,6 +516,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
492
516
  fullName: string;
493
517
  profilePictureUrl: string | null;
494
518
  mail: string | null;
519
+ dni: string | null;
495
520
  created_at: string;
496
521
  updated_at: string;
497
522
  shortId: number;
@@ -501,7 +526,6 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
501
526
  gender: string | null;
502
527
  birthDate: string | null;
503
528
  instagram: string | null;
504
- dni: string | null;
505
529
  alternativeNames: string[];
506
530
  birthLocationId: string | null;
507
531
  residenceLocationId: string | null;
@@ -509,13 +533,15 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
509
533
  movedToTrashDate: string | null;
510
534
  } | null;
511
535
  id: string;
512
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
536
+ type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
513
537
  fullName: string;
514
538
  mail: string;
515
539
  eventId: string;
540
+ status: "BOOKED" | "PAID" | "FREE";
541
+ seat: number | null;
542
+ dni: string;
516
543
  created_at: string;
517
544
  updated_at: string;
518
- ticketGroupId: string;
519
545
  }[];
520
546
  }, {
521
547
  tickets: {
@@ -533,6 +559,7 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
533
559
  fullName: string;
534
560
  profilePictureUrl: string | null;
535
561
  mail: string | null;
562
+ dni: string | null;
536
563
  created_at: string;
537
564
  updated_at: string;
538
565
  shortId: number;
@@ -542,7 +569,6 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
542
569
  gender: string | null;
543
570
  birthDate: string | null;
544
571
  instagram: string | null;
545
- dni: string | null;
546
572
  alternativeNames: string[];
547
573
  birthLocationId: string | null;
548
574
  residenceLocationId: string | null;
@@ -551,13 +577,15 @@ declare const FindByEventTicketResponseDto_base: import("@anatine/zod-nestjs").Z
551
577
  role?: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO" | undefined;
552
578
  } | null;
553
579
  id: string;
554
- type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
580
+ type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
555
581
  fullName: string;
556
582
  mail: string;
557
583
  eventId: string;
584
+ status: "BOOKED" | "PAID" | "FREE";
585
+ seat: number | null;
586
+ dni: string;
558
587
  created_at: string;
559
588
  updated_at: string;
560
- ticketGroupId: string;
561
589
  }[];
562
590
  }>>;
563
591
  export declare class FindByEventTicketResponseDto extends FindByEventTicketResponseDto_base {