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