expo-backend-types 0.51.0 → 0.52.0-EXPO-343-Quique-Wolff.2
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/get-global-filter.dto.d.ts +8 -10
- package/dist/src/account/dto/get-me.dto.d.ts +16 -20
- package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -10
- package/dist/src/event/dto/create-event.dto.d.ts +72 -23
- package/dist/src/event/dto/create-event.dto.js +7 -1
- package/dist/src/event/dto/delete-banner-event.dto.d.ts +18 -0
- package/dist/src/event/dto/delete-banner-event.dto.js +12 -0
- package/dist/src/event/dto/delete-event.dto.d.ts +18 -0
- package/dist/src/event/dto/delete-main-picture-event.dto.d.ts +18 -0
- package/dist/src/event/dto/delete-main-picture-event.dto.js +12 -0
- package/dist/src/event/dto/event-tickets.dto.d.ts +2 -33
- package/dist/src/event/dto/event-tickets.dto.js +8 -18
- package/dist/src/event/dto/event.dto.d.ts +9 -0
- package/dist/src/event/dto/event.dto.js +13 -0
- package/dist/src/event/dto/get-active-events.dto.d.ts +33 -23
- package/dist/src/event/dto/get-all-event.dto.d.ts +504 -284
- package/dist/src/event/dto/get-all-event.dto.js +3 -3
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +225 -159
- package/dist/src/event/dto/get-by-id-event.dto.js +1 -1
- package/dist/src/event/dto/toggle-active-event.dto.d.ts +9 -0
- package/dist/src/event/dto/update-banner-event.dto.d.ts +33 -0
- package/dist/src/event/dto/update-banner-event.dto.js +18 -0
- package/dist/src/event/dto/update-event.dto.d.ts +230 -220
- package/dist/src/event/dto/update-event.dto.js +13 -3
- package/dist/src/event/dto/update-main-picture-event.dto.d.ts +33 -0
- package/dist/src/event/dto/update-main-picture-event.dto.js +18 -0
- package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +42 -0
- package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +30 -0
- package/dist/src/exports.d.ts +0 -1
- package/dist/src/exports.js +0 -1
- package/dist/src/i18n/es.d.ts +8 -65
- package/dist/src/i18n/es.js +8 -67
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +3 -0
- package/dist/src/profile/dto/delete-image-profile.dto.d.ts +18 -0
- package/dist/src/profile/dto/delete-image-profile.dto.js +12 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -14
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -24
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -10
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -14
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -14
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -14
- package/dist/src/profile/dto/update-image-profile.dto.d.ts +33 -0
- package/dist/src/profile/dto/update-image-profile.dto.js +18 -0
- package/dist/src/tag/dto/create-tag.dto.d.ts +9 -41
- package/dist/src/tag/dto/create-tag.dto.js +5 -6
- package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -6
- package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -10
- package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -10
- package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -6
- package/dist/src/tag/dto/tag.dto.d.ts +4 -6
- package/dist/src/tag/dto/update-tag.dto.d.ts +4 -7
- package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -14
- package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -14
- package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -10
- package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +30 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +3 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +3 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +42 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +3 -0
- package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +42 -0
- package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +30 -0
- package/dist/types/prisma-schema/edge.js +8 -32
- package/dist/types/prisma-schema/index-browser.js +5 -29
- package/dist/types/prisma-schema/index.d.ts +7078 -11454
- package/dist/types/prisma-schema/index.js +8 -32
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +13 -60
- package/dist/types/prisma-schema/wasm.js +5 -29
- package/dist/types/schema.d.ts +463 -849
- package/package.json +1 -2
- package/dist/src/event/dto/get-all-statistics.dto.d.ts +0 -364
- package/dist/src/event/dto/get-all-statistics.dto.js +0 -40
- package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +0 -294
- package/dist/src/event/dto/get-statistics-by-id-event.dto.js +0 -40
- package/dist/src/production/dto/create-production.dto.d.ts +0 -41
- package/dist/src/production/dto/create-production.dto.js +0 -18
- package/dist/src/production/dto/create-role.dto.d.ts +0 -86
- package/dist/src/production/dto/create-role.dto.js +0 -16
- package/dist/src/production/dto/delete-production.dto.d.ts +0 -41
- package/dist/src/production/dto/delete-production.dto.js +0 -10
- package/dist/src/production/dto/get-all-production.dto.d.ts +0 -451
- package/dist/src/production/dto/get-all-production.dto.js +0 -21
- package/dist/src/production/dto/production.dto.d.ts +0 -20
- package/dist/src/production/dto/production.dto.js +0 -21
- package/dist/src/production/dto/update-production.dto.d.ts +0 -63
- package/dist/src/production/dto/update-production.dto.js +0 -19
- package/dist/src/production/exports.d.ts +0 -6
- package/dist/src/production/exports.js +0 -23
- package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +0 -80
- package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +0 -16
- package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -563
- package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +0 -21
- package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +0 -27
- package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +0 -22
- package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -390
- package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +0 -15
- package/dist/src/production-affiliation-request/exports.d.ts +0 -4
- package/dist/src/production-affiliation-request/exports.js +0 -21
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "expo-backend-types",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.52.0-EXPO-343-Quique-Wolff.2",
|
4
4
|
"description": "",
|
5
5
|
"author": "Expo",
|
6
6
|
"private": false,
|
@@ -44,7 +44,6 @@
|
|
44
44
|
"devDependencies": {
|
45
45
|
"@arethetypeswrong/cli": "^0.17.3",
|
46
46
|
"@changesets/cli": "^2.27.7",
|
47
|
-
"@date-fns/tz": "^1.2.0",
|
48
47
|
"@nestjs/cli": "^11.0.5",
|
49
48
|
"@nestjs/common": "^11.0.12",
|
50
49
|
"@nestjs/config": "^4.0.2",
|
@@ -1,364 +0,0 @@
|
|
1
|
-
import z from 'zod';
|
2
|
-
export declare const getAllStatisticsSchema: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
3
|
-
id: z.ZodString;
|
4
|
-
name: z.ZodString;
|
5
|
-
date: z.ZodDate;
|
6
|
-
startingDate: z.ZodDate;
|
7
|
-
endingDate: z.ZodDate;
|
8
|
-
location: z.ZodString;
|
9
|
-
folderId: z.ZodNullable<z.ZodString>;
|
10
|
-
tagAssistedId: z.ZodString;
|
11
|
-
tagConfirmedId: z.ZodString;
|
12
|
-
active: z.ZodBoolean;
|
13
|
-
supraEventId: z.ZodNullable<z.ZodString>;
|
14
|
-
created_at: z.ZodDate;
|
15
|
-
updated_at: z.ZodDate;
|
16
|
-
}, {
|
17
|
-
tickets: z.ZodArray<z.ZodObject<{
|
18
|
-
id: z.ZodString;
|
19
|
-
eventId: z.ZodString;
|
20
|
-
type: z.ZodNativeEnum<{
|
21
|
-
PARTICIPANT: "PARTICIPANT";
|
22
|
-
STAFF: "STAFF";
|
23
|
-
SPECTATOR: "SPECTATOR";
|
24
|
-
}>;
|
25
|
-
fullName: z.ZodString;
|
26
|
-
mail: z.ZodString;
|
27
|
-
dni: z.ZodString;
|
28
|
-
seat: z.ZodNullable<z.ZodNumber>;
|
29
|
-
scanned: z.ZodBoolean;
|
30
|
-
scannedAt: z.ZodNullable<z.ZodDate>;
|
31
|
-
ticketGroupId: z.ZodNullable<z.ZodString>;
|
32
|
-
created_at: z.ZodDate;
|
33
|
-
updated_at: z.ZodDate;
|
34
|
-
}, "strip", z.ZodTypeAny, {
|
35
|
-
id: string;
|
36
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
37
|
-
fullName: string;
|
38
|
-
mail: string;
|
39
|
-
eventId: string;
|
40
|
-
dni: string;
|
41
|
-
seat: number | null;
|
42
|
-
created_at: Date;
|
43
|
-
updated_at: Date;
|
44
|
-
scanned: boolean;
|
45
|
-
scannedAt: Date | null;
|
46
|
-
ticketGroupId: string | null;
|
47
|
-
}, {
|
48
|
-
id: string;
|
49
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
50
|
-
fullName: string;
|
51
|
-
mail: string;
|
52
|
-
eventId: string;
|
53
|
-
dni: string;
|
54
|
-
seat: number | null;
|
55
|
-
created_at: Date;
|
56
|
-
updated_at: Date;
|
57
|
-
scanned: boolean;
|
58
|
-
scannedAt: Date | null;
|
59
|
-
ticketGroupId: string | null;
|
60
|
-
}>, "many">;
|
61
|
-
eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
62
|
-
id: z.ZodString;
|
63
|
-
amount: z.ZodNullable<z.ZodNumber>;
|
64
|
-
type: z.ZodNativeEnum<{
|
65
|
-
PARTICIPANT: "PARTICIPANT";
|
66
|
-
STAFF: "STAFF";
|
67
|
-
SPECTATOR: "SPECTATOR";
|
68
|
-
}>;
|
69
|
-
price: z.ZodNullable<z.ZodNumber>;
|
70
|
-
}, "strip", z.ZodTypeAny, {
|
71
|
-
id: string;
|
72
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
73
|
-
amount: number | null;
|
74
|
-
price: number | null;
|
75
|
-
}, {
|
76
|
-
id: string;
|
77
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
78
|
-
amount: number | null;
|
79
|
-
price: number | null;
|
80
|
-
}>, {
|
81
|
-
id: string;
|
82
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
83
|
-
amount: number | null;
|
84
|
-
price: number | null;
|
85
|
-
}, {
|
86
|
-
id: string;
|
87
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
88
|
-
amount: number | null;
|
89
|
-
price: number | null;
|
90
|
-
}>, "many">;
|
91
|
-
ticketGroups: z.ZodArray<z.ZodObject<{
|
92
|
-
id: z.ZodString;
|
93
|
-
amountTickets: z.ZodNumber;
|
94
|
-
status: z.ZodNativeEnum<{
|
95
|
-
BOOKED: "BOOKED";
|
96
|
-
PAID: "PAID";
|
97
|
-
FREE: "FREE";
|
98
|
-
}>;
|
99
|
-
eventId: z.ZodString;
|
100
|
-
created_at: z.ZodDate;
|
101
|
-
updated_at: z.ZodDate;
|
102
|
-
}, "strip", z.ZodTypeAny, {
|
103
|
-
id: string;
|
104
|
-
eventId: string;
|
105
|
-
status: "BOOKED" | "PAID" | "FREE";
|
106
|
-
amountTickets: number;
|
107
|
-
created_at: Date;
|
108
|
-
updated_at: Date;
|
109
|
-
}, {
|
110
|
-
id: string;
|
111
|
-
eventId: string;
|
112
|
-
status: "BOOKED" | "PAID" | "FREE";
|
113
|
-
amountTickets: number;
|
114
|
-
created_at: Date;
|
115
|
-
updated_at: Date;
|
116
|
-
}>, "many">;
|
117
|
-
}>, "strip", z.ZodTypeAny, {
|
118
|
-
location: string;
|
119
|
-
id: string;
|
120
|
-
name: string;
|
121
|
-
date: Date;
|
122
|
-
startingDate: Date;
|
123
|
-
endingDate: Date;
|
124
|
-
created_at: Date;
|
125
|
-
updated_at: Date;
|
126
|
-
active: boolean;
|
127
|
-
tickets: {
|
128
|
-
id: string;
|
129
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
130
|
-
fullName: string;
|
131
|
-
mail: string;
|
132
|
-
eventId: string;
|
133
|
-
dni: string;
|
134
|
-
seat: number | null;
|
135
|
-
created_at: Date;
|
136
|
-
updated_at: Date;
|
137
|
-
scanned: boolean;
|
138
|
-
scannedAt: Date | null;
|
139
|
-
ticketGroupId: string | null;
|
140
|
-
}[];
|
141
|
-
folderId: string | null;
|
142
|
-
tagAssistedId: string;
|
143
|
-
tagConfirmedId: string;
|
144
|
-
supraEventId: string | null;
|
145
|
-
eventTickets: {
|
146
|
-
id: string;
|
147
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
148
|
-
amount: number | null;
|
149
|
-
price: number | null;
|
150
|
-
}[];
|
151
|
-
ticketGroups: {
|
152
|
-
id: string;
|
153
|
-
eventId: string;
|
154
|
-
status: "BOOKED" | "PAID" | "FREE";
|
155
|
-
amountTickets: number;
|
156
|
-
created_at: Date;
|
157
|
-
updated_at: Date;
|
158
|
-
}[];
|
159
|
-
}, {
|
160
|
-
location: string;
|
161
|
-
id: string;
|
162
|
-
name: string;
|
163
|
-
date: Date;
|
164
|
-
startingDate: Date;
|
165
|
-
endingDate: Date;
|
166
|
-
created_at: Date;
|
167
|
-
updated_at: Date;
|
168
|
-
active: boolean;
|
169
|
-
tickets: {
|
170
|
-
id: string;
|
171
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
172
|
-
fullName: string;
|
173
|
-
mail: string;
|
174
|
-
eventId: string;
|
175
|
-
dni: string;
|
176
|
-
seat: number | null;
|
177
|
-
created_at: Date;
|
178
|
-
updated_at: Date;
|
179
|
-
scanned: boolean;
|
180
|
-
scannedAt: Date | null;
|
181
|
-
ticketGroupId: string | null;
|
182
|
-
}[];
|
183
|
-
folderId: string | null;
|
184
|
-
tagAssistedId: string;
|
185
|
-
tagConfirmedId: string;
|
186
|
-
supraEventId: string | null;
|
187
|
-
eventTickets: {
|
188
|
-
id: string;
|
189
|
-
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
190
|
-
amount: number | null;
|
191
|
-
price: number | null;
|
192
|
-
}[];
|
193
|
-
ticketGroups: {
|
194
|
-
id: string;
|
195
|
-
eventId: string;
|
196
|
-
status: "BOOKED" | "PAID" | "FREE";
|
197
|
-
amountTickets: number;
|
198
|
-
created_at: Date;
|
199
|
-
updated_at: Date;
|
200
|
-
}[];
|
201
|
-
}>, "many">;
|
202
|
-
export declare const getAllStatisticsResponseSchema: z.ZodObject<{
|
203
|
-
totalIncome: z.ZodNumber;
|
204
|
-
emailByPurchasedTickets: z.ZodArray<z.ZodObject<{
|
205
|
-
mail: z.ZodString;
|
206
|
-
ticketsPurchased: z.ZodNumber;
|
207
|
-
}, "strip", z.ZodTypeAny, {
|
208
|
-
mail: string;
|
209
|
-
ticketsPurchased: number;
|
210
|
-
}, {
|
211
|
-
mail: string;
|
212
|
-
ticketsPurchased: number;
|
213
|
-
}>, "many">;
|
214
|
-
attendancePercent: z.ZodNumber;
|
215
|
-
maxTicketPerTypeAll: z.ZodRecord<z.ZodNativeEnum<{
|
216
|
-
PARTICIPANT: "PARTICIPANT";
|
217
|
-
STAFF: "STAFF";
|
218
|
-
SPECTATOR: "SPECTATOR";
|
219
|
-
}>, z.ZodNumber>;
|
220
|
-
emmitedticketPerTypeAll: z.ZodRecord<z.ZodNativeEnum<{
|
221
|
-
PARTICIPANT: "PARTICIPANT";
|
222
|
-
STAFF: "STAFF";
|
223
|
-
SPECTATOR: "SPECTATOR";
|
224
|
-
}>, z.ZodNumber>;
|
225
|
-
eventDataIndividual: z.ZodArray<z.ZodObject<{
|
226
|
-
id: z.ZodString;
|
227
|
-
name: z.ZodString;
|
228
|
-
price: z.ZodNullable<z.ZodNumber>;
|
229
|
-
purchasePercent: z.ZodNumber;
|
230
|
-
spectatorEventTicket: z.ZodNullable<z.ZodNumber>;
|
231
|
-
spectatorTicketsSold: z.ZodNumber;
|
232
|
-
}, "strip", z.ZodTypeAny, {
|
233
|
-
id: string;
|
234
|
-
name: string;
|
235
|
-
price: number | null;
|
236
|
-
purchasePercent: number;
|
237
|
-
spectatorEventTicket: number | null;
|
238
|
-
spectatorTicketsSold: number;
|
239
|
-
}, {
|
240
|
-
id: string;
|
241
|
-
name: string;
|
242
|
-
price: number | null;
|
243
|
-
purchasePercent: number;
|
244
|
-
spectatorEventTicket: number | null;
|
245
|
-
spectatorTicketsSold: number;
|
246
|
-
}>, "many">;
|
247
|
-
}, "strip", z.ZodTypeAny, {
|
248
|
-
totalIncome: number;
|
249
|
-
emailByPurchasedTickets: {
|
250
|
-
mail: string;
|
251
|
-
ticketsPurchased: number;
|
252
|
-
}[];
|
253
|
-
attendancePercent: number;
|
254
|
-
maxTicketPerTypeAll: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
255
|
-
emmitedticketPerTypeAll: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
256
|
-
eventDataIndividual: {
|
257
|
-
id: string;
|
258
|
-
name: string;
|
259
|
-
price: number | null;
|
260
|
-
purchasePercent: number;
|
261
|
-
spectatorEventTicket: number | null;
|
262
|
-
spectatorTicketsSold: number;
|
263
|
-
}[];
|
264
|
-
}, {
|
265
|
-
totalIncome: number;
|
266
|
-
emailByPurchasedTickets: {
|
267
|
-
mail: string;
|
268
|
-
ticketsPurchased: number;
|
269
|
-
}[];
|
270
|
-
attendancePercent: number;
|
271
|
-
maxTicketPerTypeAll: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
272
|
-
emmitedticketPerTypeAll: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
273
|
-
eventDataIndividual: {
|
274
|
-
id: string;
|
275
|
-
name: string;
|
276
|
-
price: number | null;
|
277
|
-
purchasePercent: number;
|
278
|
-
spectatorEventTicket: number | null;
|
279
|
-
spectatorTicketsSold: number;
|
280
|
-
}[];
|
281
|
-
}>;
|
282
|
-
declare const GetAllStatisticsResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
283
|
-
totalIncome: z.ZodNumber;
|
284
|
-
emailByPurchasedTickets: z.ZodArray<z.ZodObject<{
|
285
|
-
mail: z.ZodString;
|
286
|
-
ticketsPurchased: z.ZodNumber;
|
287
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
288
|
-
mail: string;
|
289
|
-
ticketsPurchased: number;
|
290
|
-
}, {
|
291
|
-
mail: string;
|
292
|
-
ticketsPurchased: number;
|
293
|
-
}>, "many">;
|
294
|
-
attendancePercent: z.ZodNumber;
|
295
|
-
maxTicketPerTypeAll: z.ZodRecord<z.ZodNativeEnum<{
|
296
|
-
PARTICIPANT: "PARTICIPANT";
|
297
|
-
STAFF: "STAFF";
|
298
|
-
SPECTATOR: "SPECTATOR";
|
299
|
-
}>, z.ZodNumber>;
|
300
|
-
emmitedticketPerTypeAll: z.ZodRecord<z.ZodNativeEnum<{
|
301
|
-
PARTICIPANT: "PARTICIPANT";
|
302
|
-
STAFF: "STAFF";
|
303
|
-
SPECTATOR: "SPECTATOR";
|
304
|
-
}>, z.ZodNumber>;
|
305
|
-
eventDataIndividual: z.ZodArray<z.ZodObject<{
|
306
|
-
id: z.ZodString;
|
307
|
-
name: z.ZodString;
|
308
|
-
price: z.ZodNullable<z.ZodNumber>;
|
309
|
-
purchasePercent: z.ZodNumber;
|
310
|
-
spectatorEventTicket: z.ZodNullable<z.ZodNumber>;
|
311
|
-
spectatorTicketsSold: z.ZodNumber;
|
312
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
313
|
-
id: string;
|
314
|
-
name: string;
|
315
|
-
price: number | null;
|
316
|
-
purchasePercent: number;
|
317
|
-
spectatorEventTicket: number | null;
|
318
|
-
spectatorTicketsSold: number;
|
319
|
-
}, {
|
320
|
-
id: string;
|
321
|
-
name: string;
|
322
|
-
price: number | null;
|
323
|
-
purchasePercent: number;
|
324
|
-
spectatorEventTicket: number | null;
|
325
|
-
spectatorTicketsSold: number;
|
326
|
-
}>, "many">;
|
327
|
-
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
328
|
-
totalIncome: number;
|
329
|
-
emailByPurchasedTickets: {
|
330
|
-
mail: string;
|
331
|
-
ticketsPurchased: number;
|
332
|
-
}[];
|
333
|
-
attendancePercent: number;
|
334
|
-
maxTicketPerTypeAll: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
335
|
-
emmitedticketPerTypeAll: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
336
|
-
eventDataIndividual: {
|
337
|
-
id: string;
|
338
|
-
name: string;
|
339
|
-
price: number | null;
|
340
|
-
purchasePercent: number;
|
341
|
-
spectatorEventTicket: number | null;
|
342
|
-
spectatorTicketsSold: number;
|
343
|
-
}[];
|
344
|
-
}, {
|
345
|
-
totalIncome: number;
|
346
|
-
emailByPurchasedTickets: {
|
347
|
-
mail: string;
|
348
|
-
ticketsPurchased: number;
|
349
|
-
}[];
|
350
|
-
attendancePercent: number;
|
351
|
-
maxTicketPerTypeAll: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
352
|
-
emmitedticketPerTypeAll: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
353
|
-
eventDataIndividual: {
|
354
|
-
id: string;
|
355
|
-
name: string;
|
356
|
-
price: number | null;
|
357
|
-
purchasePercent: number;
|
358
|
-
spectatorEventTicket: number | null;
|
359
|
-
spectatorTicketsSold: number;
|
360
|
-
}[];
|
361
|
-
}>>;
|
362
|
-
export declare class GetAllStatisticsResponseDto extends GetAllStatisticsResponseDto_base {
|
363
|
-
}
|
364
|
-
export {};
|
@@ -1,40 +0,0 @@
|
|
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.GetAllStatisticsResponseDto = exports.getAllStatisticsResponseSchema = exports.getAllStatisticsSchema = void 0;
|
7
|
-
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
-
const ticket_group_dto_1 = require("../../ticket-group/dto/ticket-group.dto");
|
9
|
-
const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
|
10
|
-
const zod_1 = __importDefault(require("zod"));
|
11
|
-
const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
|
12
|
-
const event_tickets_dto_1 = require("./event-tickets.dto");
|
13
|
-
const event_dto_1 = require("./event.dto");
|
14
|
-
exports.getAllStatisticsSchema = zod_1.default.array(event_dto_1.eventSchema.merge(zod_1.default.object({
|
15
|
-
tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
|
16
|
-
eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
|
17
|
-
ticketGroups: zod_1.default.array(ticket_group_dto_1.ticketGroupSchema),
|
18
|
-
})));
|
19
|
-
exports.getAllStatisticsResponseSchema = zod_1.default.object({
|
20
|
-
totalIncome: zod_1.default.number(),
|
21
|
-
emailByPurchasedTickets: zod_1.default.array(zod_1.default.object({
|
22
|
-
mail: zod_1.default.string().email(),
|
23
|
-
ticketsPurchased: zod_1.default.number().int(),
|
24
|
-
})),
|
25
|
-
attendancePercent: zod_1.default.number(),
|
26
|
-
maxTicketPerTypeAll: zod_1.default.record(zod_1.default.nativeEnum(prisma_schema_1.TicketType), zod_1.default.number()),
|
27
|
-
emmitedticketPerTypeAll: zod_1.default.record(zod_1.default.nativeEnum(prisma_schema_1.TicketType), zod_1.default.number()),
|
28
|
-
eventDataIndividual: zod_1.default.array(zod_1.default.object({
|
29
|
-
id: event_dto_1.eventSchema.shape.id,
|
30
|
-
name: zod_1.default.string(),
|
31
|
-
price: zod_1.default.number().nullable(),
|
32
|
-
purchasePercent: zod_1.default.number(),
|
33
|
-
spectatorEventTicket: zod_1.default.number().nullable(),
|
34
|
-
spectatorTicketsSold: zod_1.default.number(),
|
35
|
-
})),
|
36
|
-
});
|
37
|
-
class GetAllStatisticsResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getAllStatisticsResponseSchema) {
|
38
|
-
}
|
39
|
-
exports.GetAllStatisticsResponseDto = GetAllStatisticsResponseDto;
|
40
|
-
//# sourceMappingURL=get-all-statistics.dto.js.map
|