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
@@ -7,39 +7,29 @@ export declare const ticketSchema: z.ZodObject<{
7
7
  STAFF: "STAFF";
8
8
  SPECTATOR: "SPECTATOR";
9
9
  }>;
10
- status: z.ZodNativeEnum<{
11
- BOOKED: "BOOKED";
12
- PAID: "PAID";
13
- FREE: "FREE";
14
- }>;
15
10
  fullName: z.ZodString;
16
11
  mail: z.ZodString;
17
- dni: z.ZodString;
18
- seat: z.ZodNullable<z.ZodNumber>;
12
+ ticketGroupId: z.ZodString;
19
13
  created_at: z.ZodDate;
20
14
  updated_at: z.ZodDate;
21
15
  }, "strip", z.ZodTypeAny, {
22
16
  id: string;
23
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
17
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
24
18
  fullName: string;
25
19
  mail: string;
26
20
  eventId: string;
27
- status: "BOOKED" | "PAID" | "FREE";
28
- seat: number | null;
29
- dni: string;
30
21
  created_at: Date;
31
22
  updated_at: Date;
23
+ ticketGroupId: string;
32
24
  }, {
33
25
  id: string;
34
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
26
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
35
27
  fullName: string;
36
28
  mail: string;
37
29
  eventId: string;
38
- status: "BOOKED" | "PAID" | "FREE";
39
- seat: number | null;
40
- dni: string;
41
30
  created_at: Date;
42
31
  updated_at: Date;
32
+ ticketGroupId: string;
43
33
  }>;
44
34
  declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
45
35
  id: z.ZodString;
@@ -49,39 +39,29 @@ declare const TicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodOb
49
39
  STAFF: "STAFF";
50
40
  SPECTATOR: "SPECTATOR";
51
41
  }>;
52
- status: z.ZodNativeEnum<{
53
- BOOKED: "BOOKED";
54
- PAID: "PAID";
55
- FREE: "FREE";
56
- }>;
57
42
  fullName: z.ZodString;
58
43
  mail: z.ZodString;
59
- dni: z.ZodString;
60
- seat: z.ZodNullable<z.ZodNumber>;
44
+ ticketGroupId: z.ZodString;
61
45
  created_at: z.ZodString;
62
46
  updated_at: z.ZodString;
63
47
  }, z.UnknownKeysParam, z.ZodTypeAny, {
64
48
  id: string;
65
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
49
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
66
50
  fullName: string;
67
51
  mail: string;
68
52
  eventId: string;
69
- status: "BOOKED" | "PAID" | "FREE";
70
- seat: number | null;
71
- dni: string;
72
53
  created_at: string;
73
54
  updated_at: string;
55
+ ticketGroupId: string;
74
56
  }, {
75
57
  id: string;
76
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
58
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
77
59
  fullName: string;
78
60
  mail: string;
79
61
  eventId: string;
80
- status: "BOOKED" | "PAID" | "FREE";
81
- seat: number | null;
82
- dni: string;
83
62
  created_at: string;
84
63
  updated_at: string;
64
+ ticketGroupId: string;
85
65
  }>>;
86
66
  export declare class TicketDto extends TicketDto_base {
87
67
  }
@@ -7,6 +7,7 @@ exports.TicketDto = exports.ticketSchema = void 0;
7
7
  const event_dto_1 = require("../../event/dto/event.dto");
8
8
  const translate_1 = require("../../i18n/translate");
9
9
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
10
+ const ticket_group_dto_1 = require("../../ticket-group/dto/ticket-group.dto");
10
11
  const zod_1 = __importDefault(require("zod"));
11
12
  const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
12
13
  exports.ticketSchema = zod_1.default.object({
@@ -15,13 +16,9 @@ exports.ticketSchema = zod_1.default.object({
15
16
  type: zod_1.default.nativeEnum(prisma_schema_1.TicketType, {
16
17
  message: (0, translate_1.translate)('model.ticket.type.invalid'),
17
18
  }),
18
- status: zod_1.default.nativeEnum(prisma_schema_1.TicketStatus, {
19
- message: (0, translate_1.translate)('model.ticket.status.invalid'),
20
- }),
21
19
  fullName: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.fullName.required')),
22
20
  mail: zod_1.default.string().email((0, translate_1.translate)('model.ticket.mail.email')),
23
- dni: zod_1.default.string().min(1, (0, translate_1.translate)('model.ticket.dni.required')),
24
- seat: zod_1.default.number().min(1, (0, translate_1.translate)('model.ticket.seat.required')).nullable(),
21
+ ticketGroupId: ticket_group_dto_1.ticketGroupSchema.shape.id,
25
22
  created_at: zod_1.default.date(),
26
23
  updated_at: zod_1.default.date(),
27
24
  });
@@ -6,21 +6,17 @@ export declare const updateTicketSchema: import("zod").ZodObject<{
6
6
  }>>;
7
7
  fullName: import("zod").ZodOptional<import("zod").ZodString>;
8
8
  mail: import("zod").ZodOptional<import("zod").ZodString>;
9
- status: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
10
- BOOKED: "BOOKED";
11
- PAID: "PAID";
12
- FREE: "FREE";
13
- }>>;
9
+ ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
14
10
  }, "strip", import("zod").ZodTypeAny, {
15
- type?: "STAFF" | "SPECTATOR" | "PARTICIPANT" | undefined;
11
+ type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
16
12
  fullName?: string | undefined;
17
13
  mail?: string | undefined;
18
- status?: "BOOKED" | "PAID" | "FREE" | undefined;
14
+ ticketGroupId?: string | undefined;
19
15
  }, {
20
- type?: "STAFF" | "SPECTATOR" | "PARTICIPANT" | undefined;
16
+ type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
21
17
  fullName?: string | undefined;
22
18
  mail?: string | undefined;
23
- status?: "BOOKED" | "PAID" | "FREE" | undefined;
19
+ ticketGroupId?: string | undefined;
24
20
  }>;
25
21
  declare const UpdateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
26
22
  type: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
@@ -30,21 +26,17 @@ declare const UpdateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
30
26
  }>>;
31
27
  fullName: import("zod").ZodOptional<import("zod").ZodString>;
32
28
  mail: import("zod").ZodOptional<import("zod").ZodString>;
33
- status: import("zod").ZodOptional<import("zod").ZodNativeEnum<{
34
- BOOKED: "BOOKED";
35
- PAID: "PAID";
36
- FREE: "FREE";
37
- }>>;
29
+ ticketGroupId: import("zod").ZodOptional<import("zod").ZodString>;
38
30
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
39
- type?: "STAFF" | "SPECTATOR" | "PARTICIPANT" | undefined;
31
+ type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
40
32
  fullName?: string | undefined;
41
33
  mail?: string | undefined;
42
- status?: "BOOKED" | "PAID" | "FREE" | undefined;
34
+ ticketGroupId?: string | undefined;
43
35
  }, {
44
- type?: "STAFF" | "SPECTATOR" | "PARTICIPANT" | undefined;
36
+ type?: "PARTICIPANT" | "STAFF" | "SPECTATOR" | undefined;
45
37
  fullName?: string | undefined;
46
38
  mail?: string | undefined;
47
- status?: "BOOKED" | "PAID" | "FREE" | undefined;
39
+ ticketGroupId?: string | undefined;
48
40
  }>>;
49
41
  export declare class UpdateTicketDto extends UpdateTicketDto_base {
50
42
  }
@@ -56,39 +48,29 @@ export declare const updateTicketResponseSchema: import("zod").ZodObject<{
56
48
  STAFF: "STAFF";
57
49
  SPECTATOR: "SPECTATOR";
58
50
  }>;
59
- status: import("zod").ZodNativeEnum<{
60
- BOOKED: "BOOKED";
61
- PAID: "PAID";
62
- FREE: "FREE";
63
- }>;
64
51
  fullName: import("zod").ZodString;
65
52
  mail: import("zod").ZodString;
66
- dni: import("zod").ZodString;
67
- seat: import("zod").ZodNullable<import("zod").ZodNumber>;
53
+ ticketGroupId: import("zod").ZodString;
68
54
  created_at: import("zod").ZodDate;
69
55
  updated_at: import("zod").ZodDate;
70
56
  }, "strip", import("zod").ZodTypeAny, {
71
57
  id: string;
72
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
58
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
73
59
  fullName: string;
74
60
  mail: string;
75
61
  eventId: string;
76
- status: "BOOKED" | "PAID" | "FREE";
77
- seat: number | null;
78
- dni: string;
79
62
  created_at: Date;
80
63
  updated_at: Date;
64
+ ticketGroupId: string;
81
65
  }, {
82
66
  id: string;
83
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
67
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
84
68
  fullName: string;
85
69
  mail: string;
86
70
  eventId: string;
87
- status: "BOOKED" | "PAID" | "FREE";
88
- seat: number | null;
89
- dni: string;
90
71
  created_at: Date;
91
72
  updated_at: Date;
73
+ ticketGroupId: string;
92
74
  }>;
93
75
  declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
94
76
  id: import("zod").ZodString;
@@ -98,39 +80,29 @@ declare const UpdateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
98
80
  STAFF: "STAFF";
99
81
  SPECTATOR: "SPECTATOR";
100
82
  }>;
101
- status: import("zod").ZodNativeEnum<{
102
- BOOKED: "BOOKED";
103
- PAID: "PAID";
104
- FREE: "FREE";
105
- }>;
106
83
  fullName: import("zod").ZodString;
107
84
  mail: import("zod").ZodString;
108
- dni: import("zod").ZodString;
109
- seat: import("zod").ZodNullable<import("zod").ZodNumber>;
85
+ ticketGroupId: import("zod").ZodString;
110
86
  created_at: import("zod").ZodString;
111
87
  updated_at: import("zod").ZodString;
112
88
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
113
89
  id: string;
114
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
90
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
115
91
  fullName: string;
116
92
  mail: string;
117
93
  eventId: string;
118
- status: "BOOKED" | "PAID" | "FREE";
119
- seat: number | null;
120
- dni: string;
121
94
  created_at: string;
122
95
  updated_at: string;
96
+ ticketGroupId: string;
123
97
  }, {
124
98
  id: string;
125
- type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
99
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
126
100
  fullName: string;
127
101
  mail: string;
128
102
  eventId: string;
129
- status: "BOOKED" | "PAID" | "FREE";
130
- seat: number | null;
131
- dni: string;
132
103
  created_at: string;
133
104
  updated_at: string;
105
+ ticketGroupId: string;
134
106
  }>>;
135
107
  export declare class UpdateTicketResponseDto extends UpdateTicketResponseDto_base {
136
108
  }
@@ -6,9 +6,9 @@ const ticket_dto_1 = require("./ticket.dto");
6
6
  exports.updateTicketSchema = ticket_dto_1.ticketSchema
7
7
  .pick({
8
8
  type: true,
9
- status: true,
10
9
  fullName: true,
11
10
  mail: true,
11
+ ticketGroupId: true,
12
12
  })
13
13
  .partial();
14
14
  class UpdateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateTicketSchema) {
@@ -0,0 +1,346 @@
1
+ import z from 'zod';
2
+ export declare const createTicketGroupSchema: z.ZodObject<Pick<{
3
+ id: z.ZodString;
4
+ amountTickets: z.ZodNumber;
5
+ status: z.ZodNativeEnum<{
6
+ BOOKED: "BOOKED";
7
+ PAID: "PAID";
8
+ FREE: "FREE";
9
+ }>;
10
+ eventId: z.ZodString;
11
+ created_at: z.ZodDate;
12
+ updated_at: z.ZodDate;
13
+ }, "eventId" | "status" | "amountTickets">, "strip", z.ZodTypeAny, {
14
+ eventId: string;
15
+ status: "BOOKED" | "PAID" | "FREE";
16
+ amountTickets: number;
17
+ }, {
18
+ eventId: string;
19
+ status: "BOOKED" | "PAID" | "FREE";
20
+ amountTickets: number;
21
+ }>;
22
+ declare const CreateTicketGroupDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
23
+ eventId: z.ZodString;
24
+ status: z.ZodNativeEnum<{
25
+ BOOKED: "BOOKED";
26
+ PAID: "PAID";
27
+ FREE: "FREE";
28
+ }>;
29
+ amountTickets: z.ZodNumber;
30
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
31
+ eventId: string;
32
+ status: "BOOKED" | "PAID" | "FREE";
33
+ amountTickets: number;
34
+ }, {
35
+ eventId: string;
36
+ status: "BOOKED" | "PAID" | "FREE";
37
+ amountTickets: number;
38
+ }>>;
39
+ export declare class CreateTicketGroupDto extends CreateTicketGroupDto_base {
40
+ }
41
+ export declare const createTicketGroupResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
42
+ id: z.ZodString;
43
+ amountTickets: z.ZodNumber;
44
+ status: z.ZodNativeEnum<{
45
+ BOOKED: "BOOKED";
46
+ PAID: "PAID";
47
+ FREE: "FREE";
48
+ }>;
49
+ eventId: z.ZodString;
50
+ created_at: z.ZodDate;
51
+ updated_at: z.ZodDate;
52
+ }, {
53
+ tickets: z.ZodArray<z.ZodObject<{
54
+ id: z.ZodString;
55
+ eventId: z.ZodString;
56
+ type: z.ZodNativeEnum<{
57
+ PARTICIPANT: "PARTICIPANT";
58
+ STAFF: "STAFF";
59
+ SPECTATOR: "SPECTATOR";
60
+ }>;
61
+ fullName: z.ZodString;
62
+ mail: z.ZodString;
63
+ ticketGroupId: z.ZodString;
64
+ created_at: z.ZodDate;
65
+ updated_at: z.ZodDate;
66
+ }, "strip", z.ZodTypeAny, {
67
+ id: string;
68
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
69
+ fullName: string;
70
+ mail: string;
71
+ eventId: string;
72
+ created_at: Date;
73
+ updated_at: Date;
74
+ ticketGroupId: string;
75
+ }, {
76
+ id: string;
77
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
78
+ fullName: string;
79
+ mail: string;
80
+ eventId: string;
81
+ created_at: Date;
82
+ updated_at: Date;
83
+ ticketGroupId: string;
84
+ }>, "many">;
85
+ event: z.ZodObject<{
86
+ id: z.ZodString;
87
+ name: z.ZodString;
88
+ date: z.ZodDate;
89
+ startingDate: z.ZodDate;
90
+ endingDate: z.ZodDate;
91
+ location: z.ZodString;
92
+ folderId: z.ZodNullable<z.ZodString>;
93
+ tagAssistedId: z.ZodString;
94
+ tagConfirmedId: z.ZodString;
95
+ active: z.ZodBoolean;
96
+ supraEventId: z.ZodNullable<z.ZodString>;
97
+ created_at: z.ZodDate;
98
+ updated_at: z.ZodDate;
99
+ }, "strip", z.ZodTypeAny, {
100
+ location: string;
101
+ id: string;
102
+ name: string;
103
+ date: Date;
104
+ startingDate: Date;
105
+ endingDate: Date;
106
+ created_at: Date;
107
+ updated_at: Date;
108
+ active: boolean;
109
+ folderId: string | null;
110
+ tagAssistedId: string;
111
+ tagConfirmedId: string;
112
+ supraEventId: string | null;
113
+ }, {
114
+ location: string;
115
+ id: string;
116
+ name: string;
117
+ date: Date;
118
+ startingDate: Date;
119
+ endingDate: Date;
120
+ created_at: Date;
121
+ updated_at: Date;
122
+ active: boolean;
123
+ folderId: string | null;
124
+ tagAssistedId: string;
125
+ tagConfirmedId: string;
126
+ supraEventId: string | null;
127
+ }>;
128
+ }>, "strip", z.ZodTypeAny, {
129
+ event: {
130
+ location: string;
131
+ id: string;
132
+ name: string;
133
+ date: Date;
134
+ startingDate: Date;
135
+ endingDate: Date;
136
+ created_at: Date;
137
+ updated_at: Date;
138
+ active: boolean;
139
+ folderId: string | null;
140
+ tagAssistedId: string;
141
+ tagConfirmedId: string;
142
+ supraEventId: string | null;
143
+ };
144
+ id: string;
145
+ eventId: string;
146
+ status: "BOOKED" | "PAID" | "FREE";
147
+ amountTickets: number;
148
+ created_at: Date;
149
+ updated_at: Date;
150
+ tickets: {
151
+ id: string;
152
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
153
+ fullName: string;
154
+ mail: string;
155
+ eventId: string;
156
+ created_at: Date;
157
+ updated_at: Date;
158
+ ticketGroupId: string;
159
+ }[];
160
+ }, {
161
+ event: {
162
+ location: string;
163
+ id: string;
164
+ name: string;
165
+ date: Date;
166
+ startingDate: Date;
167
+ endingDate: Date;
168
+ created_at: Date;
169
+ updated_at: Date;
170
+ active: boolean;
171
+ folderId: string | null;
172
+ tagAssistedId: string;
173
+ tagConfirmedId: string;
174
+ supraEventId: string | null;
175
+ };
176
+ id: string;
177
+ eventId: string;
178
+ status: "BOOKED" | "PAID" | "FREE";
179
+ amountTickets: number;
180
+ created_at: Date;
181
+ updated_at: Date;
182
+ tickets: {
183
+ id: string;
184
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
185
+ fullName: string;
186
+ mail: string;
187
+ eventId: string;
188
+ created_at: Date;
189
+ updated_at: Date;
190
+ ticketGroupId: string;
191
+ }[];
192
+ }>;
193
+ declare const CreateTicketGroupResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
194
+ id: z.ZodString;
195
+ amountTickets: z.ZodNumber;
196
+ status: z.ZodNativeEnum<{
197
+ BOOKED: "BOOKED";
198
+ PAID: "PAID";
199
+ FREE: "FREE";
200
+ }>;
201
+ eventId: z.ZodString;
202
+ created_at: z.ZodString;
203
+ updated_at: z.ZodString;
204
+ tickets: z.ZodArray<z.ZodObject<{
205
+ id: z.ZodString;
206
+ eventId: z.ZodString;
207
+ type: z.ZodNativeEnum<{
208
+ PARTICIPANT: "PARTICIPANT";
209
+ STAFF: "STAFF";
210
+ SPECTATOR: "SPECTATOR";
211
+ }>;
212
+ fullName: z.ZodString;
213
+ mail: z.ZodString;
214
+ ticketGroupId: z.ZodString;
215
+ created_at: z.ZodString;
216
+ updated_at: z.ZodString;
217
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
218
+ id: string;
219
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
220
+ fullName: string;
221
+ mail: string;
222
+ eventId: string;
223
+ created_at: string;
224
+ updated_at: string;
225
+ ticketGroupId: string;
226
+ }, {
227
+ id: string;
228
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
229
+ fullName: string;
230
+ mail: string;
231
+ eventId: string;
232
+ created_at: string;
233
+ updated_at: string;
234
+ ticketGroupId: string;
235
+ }>, "many">;
236
+ event: z.ZodObject<{
237
+ id: z.ZodString;
238
+ name: z.ZodString;
239
+ date: z.ZodString;
240
+ startingDate: z.ZodString;
241
+ endingDate: z.ZodString;
242
+ location: z.ZodString;
243
+ folderId: z.ZodNullable<z.ZodString>;
244
+ tagAssistedId: z.ZodString;
245
+ tagConfirmedId: z.ZodString;
246
+ active: z.ZodBoolean;
247
+ supraEventId: z.ZodNullable<z.ZodString>;
248
+ created_at: z.ZodString;
249
+ updated_at: z.ZodString;
250
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
251
+ location: string;
252
+ id: string;
253
+ name: string;
254
+ date: string;
255
+ startingDate: string;
256
+ endingDate: string;
257
+ created_at: string;
258
+ updated_at: string;
259
+ active: boolean;
260
+ folderId: string | null;
261
+ tagAssistedId: string;
262
+ tagConfirmedId: string;
263
+ supraEventId: string | null;
264
+ }, {
265
+ location: string;
266
+ id: string;
267
+ name: string;
268
+ date: string;
269
+ startingDate: string;
270
+ endingDate: string;
271
+ created_at: string;
272
+ updated_at: string;
273
+ active: boolean;
274
+ folderId: string | null;
275
+ tagAssistedId: string;
276
+ tagConfirmedId: string;
277
+ supraEventId: string | null;
278
+ }>;
279
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
280
+ event: {
281
+ location: string;
282
+ id: string;
283
+ name: string;
284
+ date: string;
285
+ startingDate: string;
286
+ endingDate: string;
287
+ created_at: string;
288
+ updated_at: string;
289
+ active: boolean;
290
+ folderId: string | null;
291
+ tagAssistedId: string;
292
+ tagConfirmedId: string;
293
+ supraEventId: string | null;
294
+ };
295
+ id: string;
296
+ eventId: string;
297
+ status: "BOOKED" | "PAID" | "FREE";
298
+ amountTickets: number;
299
+ created_at: string;
300
+ updated_at: string;
301
+ tickets: {
302
+ id: string;
303
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
304
+ fullName: string;
305
+ mail: string;
306
+ eventId: string;
307
+ created_at: string;
308
+ updated_at: string;
309
+ ticketGroupId: string;
310
+ }[];
311
+ }, {
312
+ event: {
313
+ location: string;
314
+ id: string;
315
+ name: string;
316
+ date: string;
317
+ startingDate: string;
318
+ endingDate: string;
319
+ created_at: string;
320
+ updated_at: string;
321
+ active: boolean;
322
+ folderId: string | null;
323
+ tagAssistedId: string;
324
+ tagConfirmedId: string;
325
+ supraEventId: string | null;
326
+ };
327
+ id: string;
328
+ eventId: string;
329
+ status: "BOOKED" | "PAID" | "FREE";
330
+ amountTickets: number;
331
+ created_at: string;
332
+ updated_at: string;
333
+ tickets: {
334
+ id: string;
335
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
336
+ fullName: string;
337
+ mail: string;
338
+ eventId: string;
339
+ created_at: string;
340
+ updated_at: string;
341
+ ticketGroupId: string;
342
+ }[];
343
+ }>>;
344
+ export declare class CreateTicketGroupResponseDto extends CreateTicketGroupResponseDto_base {
345
+ }
346
+ export {};
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CreateTicketGroupResponseDto = exports.createTicketGroupResponseSchema = exports.CreateTicketGroupDto = exports.createTicketGroupSchema = void 0;
7
+ const event_dto_1 = require("../../event/dto/event.dto");
8
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
9
+ const ticket_group_dto_1 = require("./ticket-group.dto");
10
+ const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
11
+ const zod_1 = __importDefault(require("zod"));
12
+ exports.createTicketGroupSchema = ticket_group_dto_1.ticketGroupSchema.pick({
13
+ eventId: true,
14
+ amountTickets: true,
15
+ status: true,
16
+ });
17
+ class CreateTicketGroupDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketGroupSchema) {
18
+ }
19
+ exports.CreateTicketGroupDto = CreateTicketGroupDto;
20
+ exports.createTicketGroupResponseSchema = ticket_group_dto_1.ticketGroupSchema.merge(zod_1.default.object({
21
+ tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
22
+ event: event_dto_1.eventSchema,
23
+ }));
24
+ class CreateTicketGroupResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketGroupResponseSchema) {
25
+ }
26
+ exports.CreateTicketGroupResponseDto = CreateTicketGroupResponseDto;
27
+ //# sourceMappingURL=create-ticket-group.dto.js.map