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