expo-backend-types 0.35.0-EXPO-323-Enviar-mail-ticket.2 → 0.35.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.
- package/dist/src/account/dto/account.dto.d.ts +4 -6
- package/dist/src/account/dto/create-account.dto.d.ts +8 -12
- package/dist/src/account/dto/get-global-filter.dto.d.ts +0 -1
- package/dist/src/account/dto/get-me.dto.d.ts +4 -6
- package/dist/src/account/dto/update-global-filter.dto.d.ts +4 -6
- package/dist/src/auth/dto/login.dto.d.ts +8 -11
- package/dist/src/comment/dto/get-by-profile-comment.dto.d.ts +0 -1
- package/dist/src/event/dto/create-event.dto.d.ts +10 -10
- package/dist/src/event/dto/event-tickets.dto.d.ts +3 -3
- package/dist/src/event/dto/event-tickets.dto.js +2 -5
- package/dist/src/event/dto/get-active-events.dto.d.ts +14 -14
- package/dist/src/event/dto/get-all-event.dto.d.ts +0 -616
- package/dist/src/event/dto/get-all-event.dto.js +8 -29
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +10 -317
- package/dist/src/event/dto/get-by-id-event.dto.js +0 -4
- package/dist/src/event/dto/update-event.dto.d.ts +20 -26
- package/dist/src/event/dto/update-event.dto.js +0 -1
- package/dist/src/i18n/es.d.ts +0 -24
- package/dist/src/i18n/es.js +0 -24
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-me.dto.d.ts +0 -18
- package/dist/src/mi-expo/dto/login-with-phone.dto.d.ts +0 -22
- package/dist/src/mi-expo/dto/login.dto.d.ts +0 -23
- package/dist/src/mi-expo/dto/update-me.dto.d.ts +0 -18
- package/dist/src/mi-expo/exports.d.ts +0 -1
- package/dist/src/mi-expo/exports.js +0 -1
- package/dist/src/otp/dto/verify-otp.dto.d.ts +0 -22
- package/dist/src/profile/dto/create-profile.dto.d.ts +0 -28
- package/dist/src/profile/dto/delete-profile.dto.d.ts +0 -18
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +0 -22
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +0 -40
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +0 -18
- package/dist/src/profile/dto/find-by-phone-number.dto.d.ts +0 -18
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +0 -22
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +1 -57
- package/dist/src/profile/dto/find-by-tags-profile.dto.js +0 -2
- package/dist/src/profile/dto/find-trash.dto.d.ts +0 -7
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +0 -22
- package/dist/src/profile/dto/profile.dto.d.ts +0 -9
- package/dist/src/profile/dto/update-profile.dto.d.ts +0 -18
- package/dist/src/schema/profile.schema.d.ts +0 -9
- package/dist/src/schema/profile.schema.js +0 -2
- package/dist/src/tag/dto/massive-allocation.dto.d.ts +0 -22
- package/dist/src/tag/dto/massive-deallocation.dto.d.ts +0 -22
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +4 -158
- package/dist/src/ticket/dto/create-ticket.dto.js +2 -10
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -372
- package/dist/src/ticket/dto/find-by-event-ticket.dto.js +0 -2
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -372
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +0 -2
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -372
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +0 -2
- package/dist/src/ticket/exports.d.ts +0 -1
- package/dist/src/ticket/exports.js +0 -1
- package/dist/types/prisma-schema/edge.js +3 -6
- package/dist/types/prisma-schema/index-browser.js +0 -3
- package/dist/types/prisma-schema/index.d.ts +47 -586
- package/dist/types/prisma-schema/index.js +3 -6
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +1 -9
- package/dist/types/prisma-schema/wasm.js +0 -3
- package/dist/types/schema.d.ts +10 -398
- package/package.json +2 -3
- package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +0 -104
- package/dist/src/mi-expo/dto/get-invitations.dto.js +0 -24
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +0 -331
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.js +0 -19
- package/dist/src/ticket/dto/send-email.dto.d.ts +0 -18
- package/dist/src/ticket/dto/send-email.dto.js +0 -15
@@ -5,41 +5,20 @@ 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");
|
9
8
|
const event_dto_1 = require("./event.dto");
|
10
9
|
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");
|
13
10
|
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
|
-
}));
|
38
11
|
exports.getAllEventsResponseSchema = zod_1.default.object({
|
39
12
|
folders: zod_1.default.array(event_folder_dto_1.eventFolderSchema.merge(zod_1.default.object({
|
40
|
-
events: zod_1.default.array(
|
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),
|
41
21
|
}))),
|
42
|
-
withoutFolder: zod_1.default.array(eventWithAllThings),
|
43
22
|
});
|
44
23
|
class GetAllEventsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllEventsResponseSchema) {
|
45
24
|
}
|
@@ -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.
|
105
|
+
amount: z.ZodNumber;
|
106
106
|
type: z.ZodNativeEnum<{
|
107
107
|
PARTICIPANT: "PARTICIPANT";
|
108
108
|
STAFF: "STAFF";
|
@@ -112,116 +112,14 @@ 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;
|
116
116
|
price: number | null;
|
117
117
|
}, {
|
118
118
|
id: string;
|
119
119
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
120
|
-
amount: number
|
120
|
+
amount: number;
|
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">;
|
225
123
|
}>, "strip", z.ZodTypeAny, {
|
226
124
|
location: string;
|
227
125
|
id: string;
|
@@ -232,22 +130,6 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
232
130
|
created_at: Date;
|
233
131
|
updated_at: Date;
|
234
132
|
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
|
-
}[];
|
251
133
|
folderId: string | null;
|
252
134
|
tagAssistedId: string;
|
253
135
|
tagConfirmedId: string;
|
@@ -270,7 +152,7 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
270
152
|
eventTickets: {
|
271
153
|
id: string;
|
272
154
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
273
|
-
amount: number
|
155
|
+
amount: number;
|
274
156
|
price: number | null;
|
275
157
|
}[];
|
276
158
|
supraEvent: {
|
@@ -288,16 +170,6 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
288
170
|
tagConfirmedId: string;
|
289
171
|
supraEventId: string | null;
|
290
172
|
} | 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
|
-
}[];
|
301
173
|
}, {
|
302
174
|
location: string;
|
303
175
|
id: string;
|
@@ -308,22 +180,6 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
308
180
|
created_at: Date;
|
309
181
|
updated_at: Date;
|
310
182
|
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
|
-
}[];
|
327
183
|
folderId: string | null;
|
328
184
|
tagAssistedId: string;
|
329
185
|
tagConfirmedId: string;
|
@@ -346,7 +202,7 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
346
202
|
eventTickets: {
|
347
203
|
id: string;
|
348
204
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
349
|
-
amount: number
|
205
|
+
amount: number;
|
350
206
|
price: number | null;
|
351
207
|
}[];
|
352
208
|
supraEvent: {
|
@@ -364,16 +220,6 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
364
220
|
tagConfirmedId: string;
|
365
221
|
supraEventId: string | null;
|
366
222
|
} | 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
|
-
}[];
|
377
223
|
}>;
|
378
224
|
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
379
225
|
id: z.ZodString;
|
@@ -477,7 +323,7 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
477
323
|
}>>;
|
478
324
|
eventTickets: z.ZodArray<z.ZodObject<{
|
479
325
|
id: z.ZodString;
|
480
|
-
amount: z.
|
326
|
+
amount: z.ZodNumber;
|
481
327
|
type: z.ZodNativeEnum<{
|
482
328
|
PARTICIPANT: "PARTICIPANT";
|
483
329
|
STAFF: "STAFF";
|
@@ -487,115 +333,14 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
487
333
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
488
334
|
id: string;
|
489
335
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
490
|
-
amount: number
|
336
|
+
amount: number;
|
491
337
|
price: number | null;
|
492
338
|
}, {
|
493
339
|
id: string;
|
494
340
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
495
|
-
amount: number
|
341
|
+
amount: number;
|
496
342
|
price: number | null;
|
497
343
|
}>, "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">;
|
599
344
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
600
345
|
location: string;
|
601
346
|
id: string;
|
@@ -606,22 +351,6 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
606
351
|
created_at: string;
|
607
352
|
updated_at: string;
|
608
353
|
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
|
-
}[];
|
625
354
|
folderId: string | null;
|
626
355
|
tagAssistedId: string;
|
627
356
|
tagConfirmedId: string;
|
@@ -644,7 +373,7 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
644
373
|
eventTickets: {
|
645
374
|
id: string;
|
646
375
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
647
|
-
amount: number
|
376
|
+
amount: number;
|
648
377
|
price: number | null;
|
649
378
|
}[];
|
650
379
|
supraEvent: {
|
@@ -662,16 +391,6 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
662
391
|
tagConfirmedId: string;
|
663
392
|
supraEventId: string | null;
|
664
393
|
} | 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
|
-
}[];
|
675
394
|
}, {
|
676
395
|
location: string;
|
677
396
|
id: string;
|
@@ -682,22 +401,6 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
682
401
|
created_at: string;
|
683
402
|
updated_at: string;
|
684
403
|
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
|
-
}[];
|
701
404
|
folderId: string | null;
|
702
405
|
tagAssistedId: string;
|
703
406
|
tagConfirmedId: string;
|
@@ -720,7 +423,7 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
720
423
|
eventTickets: {
|
721
424
|
id: string;
|
722
425
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
723
|
-
amount: number
|
426
|
+
amount: number;
|
724
427
|
price: number | null;
|
725
428
|
}[];
|
726
429
|
supraEvent: {
|
@@ -738,16 +441,6 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
738
441
|
tagConfirmedId: string;
|
739
442
|
supraEventId: string | null;
|
740
443
|
} | 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
|
-
}[];
|
751
444
|
}>>;
|
752
445
|
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
753
446
|
}
|
@@ -7,16 +7,12 @@ 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");
|
11
10
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
12
|
-
const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
|
13
11
|
const zod_1 = __importDefault(require("zod"));
|
14
12
|
exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
15
13
|
subEvents: zod_1.default.array(event_dto_1.eventSchema),
|
16
14
|
supraEvent: event_dto_1.eventSchema.nullable(),
|
17
15
|
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),
|
20
16
|
}));
|
21
17
|
class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
|
22
18
|
}
|
@@ -14,7 +14,6 @@ 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">;
|
18
17
|
subEvents: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Pick<{
|
19
18
|
id: z.ZodString;
|
20
19
|
name: z.ZodString;
|
@@ -48,7 +47,7 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
48
47
|
}>, "many">;
|
49
48
|
eventTickets: z.ZodArray<z.ZodObject<Omit<{
|
50
49
|
id: z.ZodString;
|
51
|
-
amount: z.
|
50
|
+
amount: z.ZodNumber;
|
52
51
|
type: z.ZodNativeEnum<{
|
53
52
|
PARTICIPANT: "PARTICIPANT";
|
54
53
|
STAFF: "STAFF";
|
@@ -57,11 +56,11 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
57
56
|
price: z.ZodNullable<z.ZodNumber>;
|
58
57
|
}, "id">, "strip", z.ZodTypeAny, {
|
59
58
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
60
|
-
amount: number
|
59
|
+
amount: number;
|
61
60
|
price: number | null;
|
62
61
|
}, {
|
63
62
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
64
|
-
amount: number
|
63
|
+
amount: number;
|
65
64
|
price: number | null;
|
66
65
|
}>, "many">;
|
67
66
|
}>, "strip", z.ZodTypeAny, {
|
@@ -79,10 +78,9 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
79
78
|
startingDate: Date;
|
80
79
|
endingDate: Date;
|
81
80
|
}[];
|
82
|
-
tagsId: string[];
|
83
81
|
eventTickets: {
|
84
82
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
85
|
-
amount: number
|
83
|
+
amount: number;
|
86
84
|
price: number | null;
|
87
85
|
}[];
|
88
86
|
}, {
|
@@ -100,10 +98,9 @@ export declare const updateEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
|
|
100
98
|
startingDate: Date;
|
101
99
|
endingDate: Date;
|
102
100
|
}[];
|
103
|
-
tagsId: string[];
|
104
101
|
eventTickets: {
|
105
102
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
106
|
-
amount: number
|
103
|
+
amount: number;
|
107
104
|
price: number | null;
|
108
105
|
}[];
|
109
106
|
}>;
|
@@ -114,7 +111,6 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
114
111
|
startingDate: z.ZodString;
|
115
112
|
endingDate: z.ZodString;
|
116
113
|
folderId: z.ZodNullable<z.ZodString>;
|
117
|
-
tagsId: z.ZodArray<z.ZodString, "many">;
|
118
114
|
subEvents: z.ZodArray<z.ZodObject<{
|
119
115
|
location: z.ZodString;
|
120
116
|
name: z.ZodString;
|
@@ -143,15 +139,15 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
143
139
|
STAFF: "STAFF";
|
144
140
|
SPECTATOR: "SPECTATOR";
|
145
141
|
}>;
|
146
|
-
amount: z.
|
142
|
+
amount: z.ZodNumber;
|
147
143
|
price: z.ZodNullable<z.ZodNumber>;
|
148
144
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
149
145
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
150
|
-
amount: number
|
146
|
+
amount: number;
|
151
147
|
price: number | null;
|
152
148
|
}, {
|
153
149
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
154
|
-
amount: number
|
150
|
+
amount: number;
|
155
151
|
price: number | null;
|
156
152
|
}>, "many">;
|
157
153
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -169,10 +165,9 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
169
165
|
startingDate: string;
|
170
166
|
endingDate: string;
|
171
167
|
}[];
|
172
|
-
tagsId: string[];
|
173
168
|
eventTickets: {
|
174
169
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
175
|
-
amount: number
|
170
|
+
amount: number;
|
176
171
|
price: number | null;
|
177
172
|
}[];
|
178
173
|
}, {
|
@@ -190,10 +185,9 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
190
185
|
startingDate: string;
|
191
186
|
endingDate: string;
|
192
187
|
}[];
|
193
|
-
tagsId: string[];
|
194
188
|
eventTickets: {
|
195
189
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
196
|
-
amount: number
|
190
|
+
amount: number;
|
197
191
|
price: number | null;
|
198
192
|
}[];
|
199
193
|
}>>;
|
@@ -282,7 +276,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
282
276
|
}>;
|
283
277
|
eventTickets: z.ZodArray<z.ZodObject<{
|
284
278
|
id: z.ZodString;
|
285
|
-
amount: z.
|
279
|
+
amount: z.ZodNumber;
|
286
280
|
type: z.ZodNativeEnum<{
|
287
281
|
PARTICIPANT: "PARTICIPANT";
|
288
282
|
STAFF: "STAFF";
|
@@ -292,12 +286,12 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
292
286
|
}, "strip", z.ZodTypeAny, {
|
293
287
|
id: string;
|
294
288
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
295
|
-
amount: number
|
289
|
+
amount: number;
|
296
290
|
price: number | null;
|
297
291
|
}, {
|
298
292
|
id: string;
|
299
293
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
300
|
-
amount: number
|
294
|
+
amount: number;
|
301
295
|
price: number | null;
|
302
296
|
}>, "many">;
|
303
297
|
}>, "strip", z.ZodTypeAny, {
|
@@ -317,7 +311,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
317
311
|
eventTickets: {
|
318
312
|
id: string;
|
319
313
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
320
|
-
amount: number
|
314
|
+
amount: number;
|
321
315
|
price: number | null;
|
322
316
|
}[];
|
323
317
|
tagAssisted: {
|
@@ -353,7 +347,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
353
347
|
eventTickets: {
|
354
348
|
id: string;
|
355
349
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
356
|
-
amount: number
|
350
|
+
amount: number;
|
357
351
|
price: number | null;
|
358
352
|
}[];
|
359
353
|
tagAssisted: {
|
@@ -454,7 +448,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
454
448
|
}>;
|
455
449
|
eventTickets: z.ZodArray<z.ZodObject<{
|
456
450
|
id: z.ZodString;
|
457
|
-
amount: z.
|
451
|
+
amount: z.ZodNumber;
|
458
452
|
type: z.ZodNativeEnum<{
|
459
453
|
PARTICIPANT: "PARTICIPANT";
|
460
454
|
STAFF: "STAFF";
|
@@ -464,12 +458,12 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
464
458
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
465
459
|
id: string;
|
466
460
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
467
|
-
amount: number
|
461
|
+
amount: number;
|
468
462
|
price: number | null;
|
469
463
|
}, {
|
470
464
|
id: string;
|
471
465
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
472
|
-
amount: number
|
466
|
+
amount: number;
|
473
467
|
price: number | null;
|
474
468
|
}>, "many">;
|
475
469
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
@@ -489,7 +483,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
489
483
|
eventTickets: {
|
490
484
|
id: string;
|
491
485
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
492
|
-
amount: number
|
486
|
+
amount: number;
|
493
487
|
price: number | null;
|
494
488
|
}[];
|
495
489
|
tagAssisted: {
|
@@ -525,7 +519,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
525
519
|
eventTickets: {
|
526
520
|
id: string;
|
527
521
|
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
528
|
-
amount: number
|
522
|
+
amount: number;
|
529
523
|
price: number | null;
|
530
524
|
}[];
|
531
525
|
tagAssisted: {
|