expo-backend-types 0.34.0-EXPO-319-ver-eventos-disponibles.6 → 0.34.0-EXPO-319-ver-eventos-disponibles.8
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/event/dto/get-by-id-event.dto.d.ts +112 -0
- package/dist/src/event/dto/get-by-id-event.dto.js +2 -0
- package/dist/src/mi-expo/dto/{my-events.dto.d.ts → get-invitations.dto.d.ts} +5 -16
- package/dist/src/mi-expo/dto/{my-events.dto.js → get-invitations.dto.js} +6 -10
- package/dist/src/mi-expo/exports.d.ts +1 -1
- package/dist/src/mi-expo/exports.js +1 -1
- package/dist/types/schema.d.ts +15 -6
- package/package.json +1 -1
@@ -186,6 +186,42 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
186
186
|
isExclusive: boolean;
|
187
187
|
};
|
188
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">;
|
189
225
|
}>, "strip", z.ZodTypeAny, {
|
190
226
|
location: string;
|
191
227
|
id: string;
|
@@ -252,6 +288,16 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
252
288
|
tagConfirmedId: string;
|
253
289
|
supraEventId: string | null;
|
254
290
|
} | 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
|
+
}[];
|
255
301
|
}, {
|
256
302
|
location: string;
|
257
303
|
id: string;
|
@@ -318,6 +364,16 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
318
364
|
tagConfirmedId: string;
|
319
365
|
supraEventId: string | null;
|
320
366
|
} | 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
|
+
}[];
|
321
377
|
}>;
|
322
378
|
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
323
379
|
id: z.ZodString;
|
@@ -504,6 +560,42 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
504
560
|
isExclusive: boolean;
|
505
561
|
};
|
506
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">;
|
507
599
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
508
600
|
location: string;
|
509
601
|
id: string;
|
@@ -570,6 +662,16 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
570
662
|
tagConfirmedId: string;
|
571
663
|
supraEventId: string | null;
|
572
664
|
} | 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
|
+
}[];
|
573
675
|
}, {
|
574
676
|
location: string;
|
575
677
|
id: string;
|
@@ -636,6 +738,16 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
636
738
|
tagConfirmedId: string;
|
637
739
|
supraEventId: string | null;
|
638
740
|
} | 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
|
+
}[];
|
639
751
|
}>>;
|
640
752
|
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
641
753
|
}
|
@@ -9,12 +9,14 @@ 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
10
|
const tag_group_dto_1 = require("../../tag-group/dto/tag-group.dto");
|
11
11
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
12
|
+
const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
|
12
13
|
const zod_1 = __importDefault(require("zod"));
|
13
14
|
exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
14
15
|
subEvents: zod_1.default.array(event_dto_1.eventSchema),
|
15
16
|
supraEvent: event_dto_1.eventSchema.nullable(),
|
16
17
|
eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
|
17
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),
|
18
20
|
}));
|
19
21
|
class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
|
20
22
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
export declare const
|
3
|
-
events: z.ZodArray<z.ZodObject<
|
2
|
+
export declare const getInvitationsResponseSchema: z.ZodObject<{
|
3
|
+
events: z.ZodArray<z.ZodObject<Pick<{
|
4
4
|
id: z.ZodString;
|
5
5
|
name: z.ZodString;
|
6
6
|
date: z.ZodDate;
|
@@ -14,9 +14,7 @@ export declare const myEventsResponseSchema: z.ZodObject<{
|
|
14
14
|
supraEventId: z.ZodNullable<z.ZodString>;
|
15
15
|
created_at: z.ZodDate;
|
16
16
|
updated_at: z.ZodDate;
|
17
|
-
}, "location" | "id" | "name" | "date" | "startingDate" | "endingDate" | "active">, {
|
18
|
-
haveTicket: z.ZodBoolean;
|
19
|
-
}>, "strip", z.ZodTypeAny, {
|
17
|
+
}, "location" | "id" | "name" | "date" | "startingDate" | "endingDate" | "active">, "strip", z.ZodTypeAny, {
|
20
18
|
location: string;
|
21
19
|
id: string;
|
22
20
|
name: string;
|
@@ -24,7 +22,6 @@ export declare const myEventsResponseSchema: z.ZodObject<{
|
|
24
22
|
startingDate: Date;
|
25
23
|
endingDate: Date;
|
26
24
|
active: boolean;
|
27
|
-
haveTicket: boolean;
|
28
25
|
}, {
|
29
26
|
location: string;
|
30
27
|
id: string;
|
@@ -33,7 +30,6 @@ export declare const myEventsResponseSchema: z.ZodObject<{
|
|
33
30
|
startingDate: Date;
|
34
31
|
endingDate: Date;
|
35
32
|
active: boolean;
|
36
|
-
haveTicket: boolean;
|
37
33
|
}>, "many">;
|
38
34
|
}, "strip", z.ZodTypeAny, {
|
39
35
|
events: {
|
@@ -44,7 +40,6 @@ export declare const myEventsResponseSchema: z.ZodObject<{
|
|
44
40
|
startingDate: Date;
|
45
41
|
endingDate: Date;
|
46
42
|
active: boolean;
|
47
|
-
haveTicket: boolean;
|
48
43
|
}[];
|
49
44
|
}, {
|
50
45
|
events: {
|
@@ -55,10 +50,9 @@ export declare const myEventsResponseSchema: z.ZodObject<{
|
|
55
50
|
startingDate: Date;
|
56
51
|
endingDate: Date;
|
57
52
|
active: boolean;
|
58
|
-
haveTicket: boolean;
|
59
53
|
}[];
|
60
54
|
}>;
|
61
|
-
declare const
|
55
|
+
declare const GetInvitationsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
62
56
|
events: z.ZodArray<z.ZodObject<{
|
63
57
|
location: z.ZodString;
|
64
58
|
id: z.ZodString;
|
@@ -67,7 +61,6 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
67
61
|
startingDate: z.ZodString;
|
68
62
|
endingDate: z.ZodString;
|
69
63
|
active: z.ZodBoolean;
|
70
|
-
haveTicket: z.ZodBoolean;
|
71
64
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
72
65
|
location: string;
|
73
66
|
id: string;
|
@@ -76,7 +69,6 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
76
69
|
startingDate: string;
|
77
70
|
endingDate: string;
|
78
71
|
active: boolean;
|
79
|
-
haveTicket: boolean;
|
80
72
|
}, {
|
81
73
|
location: string;
|
82
74
|
id: string;
|
@@ -85,7 +77,6 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
85
77
|
startingDate: string;
|
86
78
|
endingDate: string;
|
87
79
|
active: boolean;
|
88
|
-
haveTicket: boolean;
|
89
80
|
}>, "many">;
|
90
81
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
91
82
|
events: {
|
@@ -96,7 +87,6 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
96
87
|
startingDate: string;
|
97
88
|
endingDate: string;
|
98
89
|
active: boolean;
|
99
|
-
haveTicket: boolean;
|
100
90
|
}[];
|
101
91
|
}, {
|
102
92
|
events: {
|
@@ -107,9 +97,8 @@ declare const MyEventsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStat
|
|
107
97
|
startingDate: string;
|
108
98
|
endingDate: string;
|
109
99
|
active: boolean;
|
110
|
-
haveTicket: boolean;
|
111
100
|
}[];
|
112
101
|
}>>;
|
113
|
-
export declare class
|
102
|
+
export declare class GetInvitationsResponseDto extends GetInvitationsResponseDto_base {
|
114
103
|
}
|
115
104
|
export {};
|
@@ -3,13 +3,12 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
6
|
+
exports.GetInvitationsResponseDto = exports.getInvitationsResponseSchema = void 0;
|
7
7
|
const event_dto_1 = require("../../event/dto/event.dto");
|
8
8
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
9
|
const zod_1 = __importDefault(require("zod"));
|
10
|
-
exports.
|
11
|
-
events: zod_1.default.array(event_dto_1.eventSchema
|
12
|
-
.pick({
|
10
|
+
exports.getInvitationsResponseSchema = zod_1.default.object({
|
11
|
+
events: zod_1.default.array(event_dto_1.eventSchema.pick({
|
13
12
|
date: true,
|
14
13
|
startingDate: true,
|
15
14
|
endingDate: true,
|
@@ -17,12 +16,9 @@ exports.myEventsResponseSchema = zod_1.default.object({
|
|
17
16
|
location: true,
|
18
17
|
id: true,
|
19
18
|
active: true,
|
20
|
-
})
|
21
|
-
.extend({
|
22
|
-
haveTicket: zod_1.default.boolean(),
|
23
19
|
})),
|
24
20
|
});
|
25
|
-
class
|
21
|
+
class GetInvitationsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getInvitationsResponseSchema) {
|
26
22
|
}
|
27
|
-
exports.
|
28
|
-
//# sourceMappingURL=
|
23
|
+
exports.GetInvitationsResponseDto = GetInvitationsResponseDto;
|
24
|
+
//# sourceMappingURL=get-invitations.dto.js.map
|
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./dto/get-invitations.dto"), exports);
|
17
18
|
__exportStar(require("./dto/get-me.dto"), exports);
|
18
19
|
__exportStar(require("./dto/login-with-phone.dto"), exports);
|
19
20
|
__exportStar(require("./dto/login.dto"), exports);
|
20
|
-
__exportStar(require("./dto/my-events.dto"), exports);
|
21
21
|
__exportStar(require("./dto/update-me.dto"), exports);
|
22
22
|
//# sourceMappingURL=exports.js.map
|
package/dist/types/schema.d.ts
CHANGED
@@ -1183,14 +1183,14 @@ export interface paths {
|
|
1183
1183
|
patch: operations["MiExpoController_updateMe"];
|
1184
1184
|
trace?: never;
|
1185
1185
|
};
|
1186
|
-
"/mi-expo/
|
1186
|
+
"/mi-expo/invitations": {
|
1187
1187
|
parameters: {
|
1188
1188
|
query?: never;
|
1189
1189
|
header?: never;
|
1190
1190
|
path?: never;
|
1191
1191
|
cookie?: never;
|
1192
1192
|
};
|
1193
|
-
get: operations["
|
1193
|
+
get: operations["MiExpoController_invitations"];
|
1194
1194
|
put?: never;
|
1195
1195
|
post?: never;
|
1196
1196
|
delete?: never;
|
@@ -2023,6 +2023,16 @@ export interface components {
|
|
2023
2023
|
updated_at: string;
|
2024
2024
|
};
|
2025
2025
|
}[];
|
2026
|
+
tickets: {
|
2027
|
+
id: string;
|
2028
|
+
eventId: string;
|
2029
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
2030
|
+
status: "BOOKED" | "PAID" | "FREE";
|
2031
|
+
fullName: string;
|
2032
|
+
mail: string;
|
2033
|
+
created_at: string;
|
2034
|
+
updated_at: string;
|
2035
|
+
}[];
|
2026
2036
|
};
|
2027
2037
|
UpdateEventDto: {
|
2028
2038
|
name: string;
|
@@ -2979,7 +2989,7 @@ export interface components {
|
|
2979
2989
|
state: string;
|
2980
2990
|
};
|
2981
2991
|
};
|
2982
|
-
|
2992
|
+
GetInvitationsResponseDto: {
|
2983
2993
|
events: {
|
2984
2994
|
date: string;
|
2985
2995
|
startingDate: string;
|
@@ -2988,7 +2998,6 @@ export interface components {
|
|
2988
2998
|
location: string;
|
2989
2999
|
id: string;
|
2990
3000
|
active: boolean;
|
2991
|
-
haveTicket: boolean;
|
2992
3001
|
}[];
|
2993
3002
|
};
|
2994
3003
|
LoginMiExpoDto: {
|
@@ -5422,7 +5431,7 @@ export interface operations {
|
|
5422
5431
|
};
|
5423
5432
|
};
|
5424
5433
|
};
|
5425
|
-
|
5434
|
+
MiExpoController_invitations: {
|
5426
5435
|
parameters: {
|
5427
5436
|
query?: never;
|
5428
5437
|
header?: never;
|
@@ -5436,7 +5445,7 @@ export interface operations {
|
|
5436
5445
|
[name: string]: unknown;
|
5437
5446
|
};
|
5438
5447
|
content: {
|
5439
|
-
"application/json": components["schemas"]["
|
5448
|
+
"application/json": components["schemas"]["GetInvitationsResponseDto"];
|
5440
5449
|
};
|
5441
5450
|
};
|
5442
5451
|
};
|