expo-backend-types 0.34.0-EXPO-319-ver-eventos-disponibles.12 → 0.34.0-EXPO-322-ExpoBackend-Rol-de-expoTickets.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 (65) hide show
  1. package/dist/src/account/dto/account.dto.d.ts +4 -6
  2. package/dist/src/account/dto/create-account.dto.d.ts +8 -12
  3. package/dist/src/account/dto/get-global-filter.dto.d.ts +0 -1
  4. package/dist/src/account/dto/get-me.dto.d.ts +4 -6
  5. package/dist/src/account/dto/update-global-filter.dto.d.ts +4 -6
  6. package/dist/src/auth/dto/login.dto.d.ts +8 -11
  7. package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +0 -1
  8. package/dist/src/event/dto/get-all-event.dto.d.ts +0 -616
  9. package/dist/src/event/dto/get-all-event.dto.js +8 -29
  10. package/dist/src/event/dto/get-by-id-event.dto.d.ts +0 -307
  11. package/dist/src/event/dto/get-by-id-event.dto.js +0 -4
  12. package/dist/src/event/dto/update-event.dto.d.ts +0 -6
  13. package/dist/src/event/dto/update-event.dto.js +0 -1
  14. package/dist/src/i18n/es.d.ts +0 -13
  15. package/dist/src/i18n/es.js +0 -13
  16. package/dist/src/i18n/es.js.map +1 -1
  17. package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -16
  18. package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -20
  19. package/dist/src/mi-expo/dto/login.dto.d.ts +0 -21
  20. package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -16
  21. package/dist/src/mi-expo/exports.d.ts +0 -2
  22. package/dist/src/mi-expo/exports.js +0 -2
  23. package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -20
  24. package/dist/src/profile/dto/create-profile.dto.d.ts +0 -24
  25. package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -16
  26. package/dist/src/profile/dto/find-all-profile.dto.d.ts +0 -20
  27. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +0 -36
  28. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -16
  29. package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -16
  30. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -20
  31. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +1 -55
  32. package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -2
  33. package/dist/src/profile/dto/find-trash.dto.d.ts +0 -6
  34. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +0 -20
  35. package/dist/src/profile/dto/profile.dto.d.ts +0 -8
  36. package/dist/src/profile/dto/update-profile.dto.d.ts +0 -16
  37. package/dist/src/schema/profile.schema.d.ts +0 -8
  38. package/dist/src/schema/profile.schema.js +0 -2
  39. package/dist/src/tag/dto/massive-allocation.dto.d.ts +0 -20
  40. package/dist/src/tag/dto/massive-deallocation.dto.d.ts +0 -20
  41. package/dist/src/ticket/dto/create-ticket.dto.d.ts +4 -158
  42. package/dist/src/ticket/dto/create-ticket.dto.js +2 -10
  43. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -370
  44. package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -2
  45. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -370
  46. package/dist/src/ticket/dto/find-by-id-ticket.dto.js +0 -2
  47. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -370
  48. package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -2
  49. package/dist/src/ticket/exports.d.ts +0 -1
  50. package/dist/src/ticket/exports.js +0 -1
  51. package/dist/types/prisma-schema/edge.js +4 -7
  52. package/dist/types/prisma-schema/index-browser.js +1 -4
  53. package/dist/types/prisma-schema/index.d.ts +69 -557
  54. package/dist/types/prisma-schema/index.js +4 -7
  55. package/dist/types/prisma-schema/package.json +1 -1
  56. package/dist/types/prisma-schema/schema.prisma +2 -10
  57. package/dist/types/prisma-schema/wasm.js +1 -4
  58. package/dist/types/schema.d.ts +5 -400
  59. package/package.json +1 -1
  60. package/dist/src/mi-expo/dto/emit-ticket.dto.d.ts +0 -281
  61. package/dist/src/mi-expo/dto/emit-ticket.dto.js +0 -23
  62. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +0 -104
  63. package/dist/src/mi-expo/dto/get-invitations.dto.js +0 -24
  64. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +0 -331
  65. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.js +0 -19
@@ -25,12 +25,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
25
25
  profiles: z.ZodArray<z.ZodObject<{
26
26
  id: z.ZodString;
27
27
  shortId: z.ZodNumber;
28
- role: z.ZodDefault<z.ZodNativeEnum<{
29
- USER: "USER";
30
- ADMIN: "ADMIN";
31
- FORM: "FORM";
32
- MI_EXPO: "MI_EXPO";
33
- }>>;
34
28
  firstTimeMiExpo: z.ZodBoolean;
35
29
  username: z.ZodNullable<z.ZodString>;
36
30
  password: z.ZodNullable<z.ZodString>;
@@ -56,7 +50,6 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
56
50
  id: string;
57
51
  username: string | null;
58
52
  password: string | null;
59
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
60
53
  phoneNumber: string;
61
54
  secondaryPhoneNumber: string | null;
62
55
  fullName: string;
@@ -101,14 +94,12 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
101
94
  residenceLocationId: string | null;
102
95
  isInTrash: boolean;
103
96
  movedToTrashDate: Date | null;
104
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
105
97
  }>, "many">;
106
98
  }, "strip", z.ZodTypeAny, {
107
99
  profiles: {
108
100
  id: string;
109
101
  username: string | null;
110
102
  password: string | null;
111
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
112
103
  phoneNumber: string;
113
104
  secondaryPhoneNumber: string | null;
114
105
  fullName: string;
@@ -155,19 +146,12 @@ export declare const massiveAllocationResponseSchema: z.ZodObject<{
155
146
  residenceLocationId: string | null;
156
147
  isInTrash: boolean;
157
148
  movedToTrashDate: Date | null;
158
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
159
149
  }[];
160
150
  }>;
161
151
  declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
162
152
  profiles: z.ZodArray<z.ZodObject<{
163
153
  id: z.ZodString;
164
154
  shortId: z.ZodNumber;
165
- role: z.ZodDefault<z.ZodNativeEnum<{
166
- USER: "USER";
167
- ADMIN: "ADMIN";
168
- FORM: "FORM";
169
- MI_EXPO: "MI_EXPO";
170
- }>>;
171
155
  firstTimeMiExpo: z.ZodBoolean;
172
156
  username: z.ZodNullable<z.ZodString>;
173
157
  password: z.ZodNullable<z.ZodString>;
@@ -193,7 +177,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
193
177
  id: string;
194
178
  username: string | null;
195
179
  password: string | null;
196
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
197
180
  phoneNumber: string;
198
181
  secondaryPhoneNumber: string | null;
199
182
  fullName: string;
@@ -238,14 +221,12 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
238
221
  residenceLocationId: string | null;
239
222
  isInTrash: boolean;
240
223
  movedToTrashDate: string | null;
241
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
242
224
  }>, "many">;
243
225
  }, z.UnknownKeysParam, z.ZodTypeAny, {
244
226
  profiles: {
245
227
  id: string;
246
228
  username: string | null;
247
229
  password: string | null;
248
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
249
230
  phoneNumber: string;
250
231
  secondaryPhoneNumber: string | null;
251
232
  fullName: string;
@@ -292,7 +273,6 @@ declare const MassiveAllocationResponseDto_base: import("@anatine/zod-nestjs").Z
292
273
  residenceLocationId: string | null;
293
274
  isInTrash: boolean;
294
275
  movedToTrashDate: string | null;
295
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
296
276
  }[];
297
277
  }>>;
298
278
  export declare class MassiveAllocationResponseDto extends MassiveAllocationResponseDto_base {
@@ -25,12 +25,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
25
25
  profiles: z.ZodArray<z.ZodObject<{
26
26
  id: z.ZodString;
27
27
  shortId: z.ZodNumber;
28
- role: z.ZodDefault<z.ZodNativeEnum<{
29
- USER: "USER";
30
- ADMIN: "ADMIN";
31
- FORM: "FORM";
32
- MI_EXPO: "MI_EXPO";
33
- }>>;
34
28
  firstTimeMiExpo: z.ZodBoolean;
35
29
  username: z.ZodNullable<z.ZodString>;
36
30
  password: z.ZodNullable<z.ZodString>;
@@ -56,7 +50,6 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
56
50
  id: string;
57
51
  username: string | null;
58
52
  password: string | null;
59
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
60
53
  phoneNumber: string;
61
54
  secondaryPhoneNumber: string | null;
62
55
  fullName: string;
@@ -101,14 +94,12 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
101
94
  residenceLocationId: string | null;
102
95
  isInTrash: boolean;
103
96
  movedToTrashDate: Date | null;
104
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
105
97
  }>, "many">;
106
98
  }, "strip", z.ZodTypeAny, {
107
99
  profiles: {
108
100
  id: string;
109
101
  username: string | null;
110
102
  password: string | null;
111
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
112
103
  phoneNumber: string;
113
104
  secondaryPhoneNumber: string | null;
114
105
  fullName: string;
@@ -155,19 +146,12 @@ export declare const massiveDeallocationResponseSchema: z.ZodObject<{
155
146
  residenceLocationId: string | null;
156
147
  isInTrash: boolean;
157
148
  movedToTrashDate: Date | null;
158
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
159
149
  }[];
160
150
  }>;
161
151
  declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
162
152
  profiles: z.ZodArray<z.ZodObject<{
163
153
  id: z.ZodString;
164
154
  shortId: z.ZodNumber;
165
- role: z.ZodDefault<z.ZodNativeEnum<{
166
- USER: "USER";
167
- ADMIN: "ADMIN";
168
- FORM: "FORM";
169
- MI_EXPO: "MI_EXPO";
170
- }>>;
171
155
  firstTimeMiExpo: z.ZodBoolean;
172
156
  username: z.ZodNullable<z.ZodString>;
173
157
  password: z.ZodNullable<z.ZodString>;
@@ -193,7 +177,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
193
177
  id: string;
194
178
  username: string | null;
195
179
  password: string | null;
196
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
197
180
  phoneNumber: string;
198
181
  secondaryPhoneNumber: string | null;
199
182
  fullName: string;
@@ -238,14 +221,12 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
238
221
  residenceLocationId: string | null;
239
222
  isInTrash: boolean;
240
223
  movedToTrashDate: string | null;
241
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
242
224
  }>, "many">;
243
225
  }, z.UnknownKeysParam, z.ZodTypeAny, {
244
226
  profiles: {
245
227
  id: string;
246
228
  username: string | null;
247
229
  password: string | null;
248
- role: "USER" | "ADMIN" | "FORM" | "MI_EXPO";
249
230
  phoneNumber: string;
250
231
  secondaryPhoneNumber: string | null;
251
232
  fullName: string;
@@ -292,7 +273,6 @@ declare const MassiveDeallocationResponseDto_base: import("@anatine/zod-nestjs")
292
273
  residenceLocationId: string | null;
293
274
  isInTrash: boolean;
294
275
  movedToTrashDate: string | null;
295
- role?: "USER" | "ADMIN" | "FORM" | "MI_EXPO" | undefined;
296
276
  }[];
297
277
  }>>;
298
278
  export declare class MassiveDeallocationResponseDto extends MassiveDeallocationResponseDto_base {
@@ -1,4 +1,4 @@
1
- export declare const createTicketSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<Pick<{
1
+ export declare const createTicketSchema: import("zod").ZodObject<Pick<{
2
2
  id: import("zod").ZodString;
3
3
  eventId: import("zod").ZodString;
4
4
  type: import("zod").ZodNativeEnum<{
@@ -15,22 +15,18 @@ export declare const createTicketSchema: import("zod").ZodObject<import("zod").o
15
15
  mail: import("zod").ZodString;
16
16
  created_at: import("zod").ZodDate;
17
17
  updated_at: import("zod").ZodDate;
18
- }, "type" | "fullName" | "mail" | "eventId" | "status">, {
19
- profileId: import("zod").ZodOptional<import("zod").ZodString>;
20
- }>, "strip", import("zod").ZodTypeAny, {
18
+ }, "type" | "fullName" | "mail" | "eventId" | "status">, "strip", import("zod").ZodTypeAny, {
21
19
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
22
20
  fullName: string;
23
21
  mail: string;
24
22
  eventId: string;
25
23
  status: "BOOKED" | "PAID" | "FREE";
26
- profileId?: string | undefined;
27
24
  }, {
28
25
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
29
26
  fullName: string;
30
27
  mail: string;
31
28
  eventId: string;
32
29
  status: "BOOKED" | "PAID" | "FREE";
33
- profileId?: string | undefined;
34
30
  }>;
35
31
  declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<import("zod").ZodObject<{
36
32
  type: import("zod").ZodNativeEnum<{
@@ -46,25 +42,22 @@ declare const CreateTicketDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<i
46
42
  PAID: "PAID";
47
43
  FREE: "FREE";
48
44
  }>;
49
- profileId: import("zod").ZodOptional<import("zod").ZodString>;
50
45
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
51
46
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
52
47
  fullName: string;
53
48
  mail: string;
54
49
  eventId: string;
55
50
  status: "BOOKED" | "PAID" | "FREE";
56
- profileId?: string | undefined;
57
51
  }, {
58
52
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
59
53
  fullName: string;
60
54
  mail: string;
61
55
  eventId: string;
62
56
  status: "BOOKED" | "PAID" | "FREE";
63
- profileId?: string | undefined;
64
57
  }>>;
65
58
  export declare class CreateTicketDto extends CreateTicketDto_base {
66
59
  }
67
- export declare const createTicketResponseSchema: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
60
+ export declare const createTicketResponseSchema: import("zod").ZodObject<{
68
61
  id: import("zod").ZodString;
69
62
  eventId: import("zod").ZodString;
70
63
  type: import("zod").ZodNativeEnum<{
@@ -81,66 +74,7 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
81
74
  mail: import("zod").ZodString;
82
75
  created_at: import("zod").ZodDate;
83
76
  updated_at: import("zod").ZodDate;
84
- }, {
85
- event: import("zod").ZodObject<{
86
- id: import("zod").ZodString;
87
- name: import("zod").ZodString;
88
- date: import("zod").ZodDate;
89
- startingDate: import("zod").ZodDate;
90
- endingDate: import("zod").ZodDate;
91
- location: import("zod").ZodString;
92
- folderId: import("zod").ZodNullable<import("zod").ZodString>;
93
- tagAssistedId: import("zod").ZodString;
94
- tagConfirmedId: import("zod").ZodString;
95
- active: import("zod").ZodBoolean;
96
- supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
97
- created_at: import("zod").ZodDate;
98
- updated_at: import("zod").ZodDate;
99
- }, "strip", import("zod").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", import("zod").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
- };
77
+ }, "strip", import("zod").ZodTypeAny, {
144
78
  id: string;
145
79
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
146
80
  fullName: string;
@@ -150,21 +84,6 @@ export declare const createTicketResponseSchema: import("zod").ZodObject<import(
150
84
  created_at: Date;
151
85
  updated_at: Date;
152
86
  }, {
153
- event: {
154
- location: string;
155
- id: string;
156
- name: string;
157
- date: Date;
158
- startingDate: Date;
159
- endingDate: Date;
160
- created_at: Date;
161
- updated_at: Date;
162
- active: boolean;
163
- folderId: string | null;
164
- tagAssistedId: string;
165
- tagConfirmedId: string;
166
- supraEventId: string | null;
167
- };
168
87
  id: string;
169
88
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
170
89
  fullName: string;
@@ -191,65 +110,7 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
191
110
  mail: import("zod").ZodString;
192
111
  created_at: import("zod").ZodString;
193
112
  updated_at: import("zod").ZodString;
194
- event: import("zod").ZodObject<{
195
- id: import("zod").ZodString;
196
- name: import("zod").ZodString;
197
- date: import("zod").ZodString;
198
- startingDate: import("zod").ZodString;
199
- endingDate: import("zod").ZodString;
200
- location: import("zod").ZodString;
201
- folderId: import("zod").ZodNullable<import("zod").ZodString>;
202
- tagAssistedId: import("zod").ZodString;
203
- tagConfirmedId: import("zod").ZodString;
204
- active: import("zod").ZodBoolean;
205
- supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
206
- created_at: import("zod").ZodString;
207
- updated_at: import("zod").ZodString;
208
- }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
209
- location: string;
210
- id: string;
211
- name: string;
212
- date: string;
213
- startingDate: string;
214
- endingDate: string;
215
- created_at: string;
216
- updated_at: string;
217
- active: boolean;
218
- folderId: string | null;
219
- tagAssistedId: string;
220
- tagConfirmedId: string;
221
- supraEventId: string | null;
222
- }, {
223
- location: string;
224
- id: string;
225
- name: string;
226
- date: string;
227
- startingDate: string;
228
- endingDate: string;
229
- created_at: string;
230
- updated_at: string;
231
- active: boolean;
232
- folderId: string | null;
233
- tagAssistedId: string;
234
- tagConfirmedId: string;
235
- supraEventId: string | null;
236
- }>;
237
113
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
238
- event: {
239
- location: string;
240
- id: string;
241
- name: string;
242
- date: string;
243
- startingDate: string;
244
- endingDate: string;
245
- created_at: string;
246
- updated_at: string;
247
- active: boolean;
248
- folderId: string | null;
249
- tagAssistedId: string;
250
- tagConfirmedId: string;
251
- supraEventId: string | null;
252
- };
253
114
  id: string;
254
115
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
255
116
  fullName: string;
@@ -259,21 +120,6 @@ declare const CreateTicketResponseDto_base: import("@anatine/zod-nestjs").ZodDto
259
120
  created_at: string;
260
121
  updated_at: string;
261
122
  }, {
262
- event: {
263
- location: string;
264
- id: string;
265
- name: string;
266
- date: string;
267
- startingDate: string;
268
- endingDate: string;
269
- created_at: string;
270
- updated_at: string;
271
- active: boolean;
272
- folderId: string | null;
273
- tagAssistedId: string;
274
- tagConfirmedId: string;
275
- supraEventId: string | null;
276
- };
277
123
  id: string;
278
124
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
279
125
  fullName: string;
@@ -1,27 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CreateTicketResponseDto = exports.createTicketResponseSchema = exports.CreateTicketDto = exports.createTicketSchema = void 0;
4
- const event_dto_1 = require("../../event/dto/event.dto");
5
- const profile_schema_1 = require("../../schema/profile.schema");
6
4
  const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
7
5
  const ticket_dto_1 = require("./ticket.dto");
8
- exports.createTicketSchema = ticket_dto_1.ticketSchema
9
- .pick({
6
+ exports.createTicketSchema = ticket_dto_1.ticketSchema.pick({
10
7
  eventId: true,
11
8
  type: true,
12
9
  status: true,
13
10
  fullName: true,
14
11
  mail: true,
15
- })
16
- .extend({
17
- profileId: profile_schema_1.profileSchema.shape.id.optional(),
18
12
  });
19
13
  class CreateTicketDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketSchema) {
20
14
  }
21
15
  exports.CreateTicketDto = CreateTicketDto;
22
- exports.createTicketResponseSchema = ticket_dto_1.ticketSchema.extend({
23
- event: event_dto_1.eventSchema,
24
- });
16
+ exports.createTicketResponseSchema = ticket_dto_1.ticketSchema;
25
17
  class CreateTicketResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.createTicketResponseSchema) {
26
18
  }
27
19
  exports.CreateTicketResponseDto = CreateTicketResponseDto;