expo-backend-types 0.52.0-EXPO-343-Quique-Wolff.1 → 0.52.0-EXPO-343-Quique-Wolff.3
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 +10 -8
- package/dist/src/account/dto/get-me.dto.d.ts +20 -16
- package/dist/src/account/dto/update-global-filter.dto.d.ts +10 -8
- package/dist/src/event/dto/create-event.dto.d.ts +21 -4
- package/dist/src/event/dto/create-event.dto.js +1 -1
- package/dist/src/event/dto/event-tickets.dto.d.ts +33 -2
- package/dist/src/event/dto/event-tickets.dto.js +18 -8
- package/dist/src/event/dto/get-active-events.dto.d.ts +23 -3
- package/dist/src/event/dto/get-all-event.dto.d.ts +284 -240
- package/dist/src/event/dto/get-all-event.dto.js +3 -3
- package/dist/src/event/dto/get-all-statistics.dto.d.ts +373 -0
- package/dist/src/event/dto/get-all-statistics.dto.js +40 -0
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +159 -129
- package/dist/src/event/dto/get-by-id-event.dto.js +1 -1
- package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +303 -0
- package/dist/src/event/dto/get-statistics-by-id-event.dto.js +40 -0
- package/dist/src/event/dto/update-event.dto.d.ts +87 -47
- package/dist/src/event/dto/update-event.dto.js +2 -4
- package/dist/src/exports.d.ts +1 -0
- package/dist/src/exports.js +1 -0
- package/dist/src/i18n/es.d.ts +65 -1
- package/dist/src/i18n/es.js +67 -1
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/production/dto/create-production.dto.d.ts +41 -0
- package/dist/src/production/dto/create-production.dto.js +18 -0
- package/dist/src/production/dto/create-role.dto.d.ts +86 -0
- package/dist/src/production/dto/create-role.dto.js +16 -0
- package/dist/src/production/dto/delete-production.dto.d.ts +41 -0
- package/dist/src/production/dto/delete-production.dto.js +10 -0
- package/dist/src/production/dto/get-all-production.dto.d.ts +451 -0
- package/dist/src/production/dto/get-all-production.dto.js +21 -0
- package/dist/src/production/dto/production.dto.d.ts +20 -0
- package/dist/src/production/dto/production.dto.js +21 -0
- package/dist/src/production/dto/update-production.dto.d.ts +63 -0
- package/dist/src/production/dto/update-production.dto.js +19 -0
- package/dist/src/production/exports.d.ts +6 -0
- package/dist/src/production/exports.js +23 -0
- package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +80 -0
- package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +16 -0
- package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +563 -0
- package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +21 -0
- package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +27 -0
- package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +22 -0
- package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +390 -0
- package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +15 -0
- package/dist/src/production-affiliation-request/exports.d.ts +4 -0
- package/dist/src/production-affiliation-request/exports.js +21 -0
- package/dist/src/profile/dto/find-all-profile.dto.d.ts +14 -12
- package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +24 -20
- package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +10 -8
- package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +14 -12
- package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +14 -12
- package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +14 -12
- package/dist/src/tag/dto/create-tag.dto.d.ts +41 -9
- package/dist/src/tag/dto/create-tag.dto.js +6 -5
- package/dist/src/tag/dto/delete-tag.dto.d.ts +6 -4
- package/dist/src/tag/dto/find-all-tag.dto.d.ts +10 -8
- package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +10 -8
- package/dist/src/tag/dto/find-one-tag.dto.d.ts +6 -4
- package/dist/src/tag/dto/tag.dto.d.ts +6 -4
- package/dist/src/tag/dto/update-tag.dto.d.ts +7 -4
- package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +14 -12
- package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +14 -12
- package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +10 -8
- package/dist/types/prisma-schema/edge.js +32 -5
- package/dist/types/prisma-schema/index-browser.js +29 -2
- package/dist/types/prisma-schema/index.d.ts +11960 -6876
- package/dist/types/prisma-schema/index.js +32 -5
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +56 -4
- package/dist/types/prisma-schema/wasm.js +29 -2
- package/dist/types/schema.d.ts +785 -79
- package/package.json +2 -1
@@ -15,7 +15,7 @@ exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default
|
|
15
15
|
subEvents: zod_1.default.array(event_dto_1.eventSchema),
|
16
16
|
supraEvent: event_dto_1.eventSchema.nullable(),
|
17
17
|
eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
|
18
|
-
|
18
|
+
profileTags: zod_1.default.array(tag_dto_1.tagSchema.extend({ group: tag_group_dto_1.tagGroupSchema })),
|
19
19
|
tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
|
20
20
|
tagAssisted: tag_dto_1.tagSchema.extend({ group: tag_group_dto_1.tagGroupSchema }),
|
21
21
|
tagConfirmed: tag_dto_1.tagSchema.extend({ group: tag_group_dto_1.tagGroupSchema }),
|
@@ -0,0 +1,303 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const getStatisticsByIdSchema: 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
|
+
mainPictureUrl: z.ZodNullable<z.ZodString>;
|
10
|
+
bannerUrl: z.ZodNullable<z.ZodString>;
|
11
|
+
description: z.ZodNullable<z.ZodString>;
|
12
|
+
folderId: z.ZodNullable<z.ZodString>;
|
13
|
+
tagAssistedId: z.ZodString;
|
14
|
+
tagConfirmedId: z.ZodString;
|
15
|
+
active: z.ZodBoolean;
|
16
|
+
supraEventId: z.ZodNullable<z.ZodString>;
|
17
|
+
created_at: z.ZodDate;
|
18
|
+
updated_at: z.ZodDate;
|
19
|
+
}, {
|
20
|
+
tickets: z.ZodArray<z.ZodObject<{
|
21
|
+
id: z.ZodString;
|
22
|
+
eventId: z.ZodString;
|
23
|
+
type: z.ZodNativeEnum<{
|
24
|
+
PARTICIPANT: "PARTICIPANT";
|
25
|
+
STAFF: "STAFF";
|
26
|
+
SPECTATOR: "SPECTATOR";
|
27
|
+
}>;
|
28
|
+
fullName: z.ZodString;
|
29
|
+
mail: z.ZodString;
|
30
|
+
dni: z.ZodString;
|
31
|
+
seat: z.ZodNullable<z.ZodNumber>;
|
32
|
+
scanned: z.ZodBoolean;
|
33
|
+
scannedAt: z.ZodNullable<z.ZodDate>;
|
34
|
+
ticketGroupId: z.ZodNullable<z.ZodString>;
|
35
|
+
created_at: z.ZodDate;
|
36
|
+
updated_at: z.ZodDate;
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
38
|
+
id: string;
|
39
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
40
|
+
fullName: string;
|
41
|
+
mail: string;
|
42
|
+
eventId: string;
|
43
|
+
dni: string;
|
44
|
+
seat: number | null;
|
45
|
+
created_at: Date;
|
46
|
+
updated_at: Date;
|
47
|
+
scanned: boolean;
|
48
|
+
scannedAt: Date | null;
|
49
|
+
ticketGroupId: string | null;
|
50
|
+
}, {
|
51
|
+
id: string;
|
52
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
53
|
+
fullName: string;
|
54
|
+
mail: string;
|
55
|
+
eventId: string;
|
56
|
+
dni: string;
|
57
|
+
seat: number | null;
|
58
|
+
created_at: Date;
|
59
|
+
updated_at: Date;
|
60
|
+
scanned: boolean;
|
61
|
+
scannedAt: Date | null;
|
62
|
+
ticketGroupId: string | null;
|
63
|
+
}>, "many">;
|
64
|
+
eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
65
|
+
id: z.ZodString;
|
66
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
67
|
+
type: z.ZodNativeEnum<{
|
68
|
+
PARTICIPANT: "PARTICIPANT";
|
69
|
+
STAFF: "STAFF";
|
70
|
+
SPECTATOR: "SPECTATOR";
|
71
|
+
}>;
|
72
|
+
price: z.ZodNullable<z.ZodNumber>;
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
74
|
+
id: string;
|
75
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
76
|
+
amount: number | null;
|
77
|
+
price: number | null;
|
78
|
+
}, {
|
79
|
+
id: string;
|
80
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
81
|
+
amount: number | null;
|
82
|
+
price: number | null;
|
83
|
+
}>, {
|
84
|
+
id: string;
|
85
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
86
|
+
amount: number | null;
|
87
|
+
price: number | null;
|
88
|
+
}, {
|
89
|
+
id: string;
|
90
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
91
|
+
amount: number | null;
|
92
|
+
price: number | null;
|
93
|
+
}>, "many">;
|
94
|
+
}>, "strip", z.ZodTypeAny, {
|
95
|
+
description: string | null;
|
96
|
+
location: string;
|
97
|
+
id: string;
|
98
|
+
name: string;
|
99
|
+
date: Date;
|
100
|
+
startingDate: Date;
|
101
|
+
endingDate: Date;
|
102
|
+
created_at: Date;
|
103
|
+
updated_at: Date;
|
104
|
+
active: boolean;
|
105
|
+
tickets: {
|
106
|
+
id: string;
|
107
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
108
|
+
fullName: string;
|
109
|
+
mail: string;
|
110
|
+
eventId: string;
|
111
|
+
dni: string;
|
112
|
+
seat: number | null;
|
113
|
+
created_at: Date;
|
114
|
+
updated_at: Date;
|
115
|
+
scanned: boolean;
|
116
|
+
scannedAt: Date | null;
|
117
|
+
ticketGroupId: string | null;
|
118
|
+
}[];
|
119
|
+
mainPictureUrl: string | null;
|
120
|
+
bannerUrl: string | null;
|
121
|
+
folderId: string | null;
|
122
|
+
tagAssistedId: string;
|
123
|
+
tagConfirmedId: string;
|
124
|
+
supraEventId: string | null;
|
125
|
+
eventTickets: {
|
126
|
+
id: string;
|
127
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
128
|
+
amount: number | null;
|
129
|
+
price: number | null;
|
130
|
+
}[];
|
131
|
+
}, {
|
132
|
+
description: string | null;
|
133
|
+
location: string;
|
134
|
+
id: string;
|
135
|
+
name: string;
|
136
|
+
date: Date;
|
137
|
+
startingDate: Date;
|
138
|
+
endingDate: Date;
|
139
|
+
created_at: Date;
|
140
|
+
updated_at: Date;
|
141
|
+
active: boolean;
|
142
|
+
tickets: {
|
143
|
+
id: string;
|
144
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
145
|
+
fullName: string;
|
146
|
+
mail: string;
|
147
|
+
eventId: string;
|
148
|
+
dni: string;
|
149
|
+
seat: number | null;
|
150
|
+
created_at: Date;
|
151
|
+
updated_at: Date;
|
152
|
+
scanned: boolean;
|
153
|
+
scannedAt: Date | null;
|
154
|
+
ticketGroupId: string | null;
|
155
|
+
}[];
|
156
|
+
mainPictureUrl: string | null;
|
157
|
+
bannerUrl: string | null;
|
158
|
+
folderId: string | null;
|
159
|
+
tagAssistedId: string;
|
160
|
+
tagConfirmedId: string;
|
161
|
+
supraEventId: string | null;
|
162
|
+
eventTickets: {
|
163
|
+
id: string;
|
164
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
165
|
+
amount: number | null;
|
166
|
+
price: number | null;
|
167
|
+
}[];
|
168
|
+
}>;
|
169
|
+
export declare const getStatisticsByIdResponseSchema: z.ZodObject<{
|
170
|
+
maxTickets: z.ZodNumber;
|
171
|
+
emmitedTickets: z.ZodNumber;
|
172
|
+
emittedTicketsPercent: z.ZodNumber;
|
173
|
+
emmitedticketPerType: z.ZodRecord<z.ZodNativeEnum<{
|
174
|
+
PARTICIPANT: "PARTICIPANT";
|
175
|
+
STAFF: "STAFF";
|
176
|
+
SPECTATOR: "SPECTATOR";
|
177
|
+
}>, z.ZodNumber>;
|
178
|
+
totalIncome: z.ZodNumber;
|
179
|
+
maxTotalIncome: z.ZodNumber;
|
180
|
+
maxTicketPerType: z.ZodRecord<z.ZodNativeEnum<{
|
181
|
+
PARTICIPANT: "PARTICIPANT";
|
182
|
+
STAFF: "STAFF";
|
183
|
+
SPECTATOR: "SPECTATOR";
|
184
|
+
}>, z.ZodNumber>;
|
185
|
+
totalTicketsScanned: z.ZodNumber;
|
186
|
+
notScanned: z.ZodNumber;
|
187
|
+
attendancePercent: z.ZodNumber;
|
188
|
+
attendancePerHour: z.ZodArray<z.ZodNullable<z.ZodDate>, "many">;
|
189
|
+
avgAmountPerTicketGroup: z.ZodNullable<z.ZodNumber>;
|
190
|
+
heatMapDates: z.ZodArray<z.ZodObject<{
|
191
|
+
date: z.ZodString;
|
192
|
+
count: z.ZodNumber;
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
194
|
+
date: string;
|
195
|
+
count: number;
|
196
|
+
}, {
|
197
|
+
date: string;
|
198
|
+
count: number;
|
199
|
+
}>, "many">;
|
200
|
+
}, "strip", z.ZodTypeAny, {
|
201
|
+
totalIncome: number;
|
202
|
+
attendancePercent: number;
|
203
|
+
maxTickets: number;
|
204
|
+
emmitedTickets: number;
|
205
|
+
emittedTicketsPercent: number;
|
206
|
+
emmitedticketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
207
|
+
maxTotalIncome: number;
|
208
|
+
maxTicketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
209
|
+
totalTicketsScanned: number;
|
210
|
+
notScanned: number;
|
211
|
+
attendancePerHour: (Date | null)[];
|
212
|
+
avgAmountPerTicketGroup: number | null;
|
213
|
+
heatMapDates: {
|
214
|
+
date: string;
|
215
|
+
count: number;
|
216
|
+
}[];
|
217
|
+
}, {
|
218
|
+
totalIncome: number;
|
219
|
+
attendancePercent: number;
|
220
|
+
maxTickets: number;
|
221
|
+
emmitedTickets: number;
|
222
|
+
emittedTicketsPercent: number;
|
223
|
+
emmitedticketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
224
|
+
maxTotalIncome: number;
|
225
|
+
maxTicketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
226
|
+
totalTicketsScanned: number;
|
227
|
+
notScanned: number;
|
228
|
+
attendancePerHour: (Date | null)[];
|
229
|
+
avgAmountPerTicketGroup: number | null;
|
230
|
+
heatMapDates: {
|
231
|
+
date: string;
|
232
|
+
count: number;
|
233
|
+
}[];
|
234
|
+
}>;
|
235
|
+
declare const GetStatisticsByIdResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
236
|
+
maxTickets: z.ZodNumber;
|
237
|
+
emmitedTickets: z.ZodNumber;
|
238
|
+
emittedTicketsPercent: z.ZodNumber;
|
239
|
+
emmitedticketPerType: z.ZodRecord<z.ZodNativeEnum<{
|
240
|
+
PARTICIPANT: "PARTICIPANT";
|
241
|
+
STAFF: "STAFF";
|
242
|
+
SPECTATOR: "SPECTATOR";
|
243
|
+
}>, z.ZodNumber>;
|
244
|
+
totalIncome: z.ZodNumber;
|
245
|
+
maxTotalIncome: z.ZodNumber;
|
246
|
+
maxTicketPerType: z.ZodRecord<z.ZodNativeEnum<{
|
247
|
+
PARTICIPANT: "PARTICIPANT";
|
248
|
+
STAFF: "STAFF";
|
249
|
+
SPECTATOR: "SPECTATOR";
|
250
|
+
}>, z.ZodNumber>;
|
251
|
+
totalTicketsScanned: z.ZodNumber;
|
252
|
+
notScanned: z.ZodNumber;
|
253
|
+
attendancePercent: z.ZodNumber;
|
254
|
+
attendancePerHour: z.ZodArray<z.ZodNullable<z.ZodString>, "many">;
|
255
|
+
avgAmountPerTicketGroup: z.ZodNullable<z.ZodNumber>;
|
256
|
+
heatMapDates: z.ZodArray<z.ZodObject<{
|
257
|
+
date: z.ZodString;
|
258
|
+
count: z.ZodNumber;
|
259
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
260
|
+
date: string;
|
261
|
+
count: number;
|
262
|
+
}, {
|
263
|
+
date: string;
|
264
|
+
count: number;
|
265
|
+
}>, "many">;
|
266
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
267
|
+
totalIncome: number;
|
268
|
+
attendancePercent: number;
|
269
|
+
maxTickets: number;
|
270
|
+
emmitedTickets: number;
|
271
|
+
emittedTicketsPercent: number;
|
272
|
+
emmitedticketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
273
|
+
maxTotalIncome: number;
|
274
|
+
maxTicketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
275
|
+
totalTicketsScanned: number;
|
276
|
+
notScanned: number;
|
277
|
+
attendancePerHour: (string | null)[];
|
278
|
+
avgAmountPerTicketGroup: number | null;
|
279
|
+
heatMapDates: {
|
280
|
+
date: string;
|
281
|
+
count: number;
|
282
|
+
}[];
|
283
|
+
}, {
|
284
|
+
totalIncome: number;
|
285
|
+
attendancePercent: number;
|
286
|
+
maxTickets: number;
|
287
|
+
emmitedTickets: number;
|
288
|
+
emittedTicketsPercent: number;
|
289
|
+
emmitedticketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
290
|
+
maxTotalIncome: number;
|
291
|
+
maxTicketPerType: Partial<Record<"STAFF" | "SPECTATOR" | "PARTICIPANT", number>>;
|
292
|
+
totalTicketsScanned: number;
|
293
|
+
notScanned: number;
|
294
|
+
attendancePerHour: (string | null)[];
|
295
|
+
avgAmountPerTicketGroup: number | null;
|
296
|
+
heatMapDates: {
|
297
|
+
date: string;
|
298
|
+
count: number;
|
299
|
+
}[];
|
300
|
+
}>>;
|
301
|
+
export declare class GetStatisticsByIdResponseDto extends GetStatisticsByIdResponseDto_base {
|
302
|
+
}
|
303
|
+
export {};
|
@@ -0,0 +1,40 @@
|
|
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.GetStatisticsByIdResponseDto = exports.getStatisticsByIdResponseSchema = exports.getStatisticsByIdSchema = void 0;
|
7
|
+
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
8
|
+
const ticket_dto_1 = require("../../ticket/dto/ticket.dto");
|
9
|
+
const zod_1 = __importDefault(require("zod"));
|
10
|
+
const prisma_schema_1 = require("../../../types/prisma-schema/index.js");
|
11
|
+
const event_tickets_dto_1 = require("./event-tickets.dto");
|
12
|
+
const event_dto_1 = require("./event.dto");
|
13
|
+
exports.getStatisticsByIdSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
14
|
+
tickets: zod_1.default.array(ticket_dto_1.ticketSchema),
|
15
|
+
eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
|
16
|
+
}));
|
17
|
+
exports.getStatisticsByIdResponseSchema = zod_1.default.object({
|
18
|
+
maxTickets: zod_1.default.number(),
|
19
|
+
emmitedTickets: zod_1.default.number(),
|
20
|
+
emittedTicketsPercent: zod_1.default.number(),
|
21
|
+
emmitedticketPerType: zod_1.default.record(zod_1.default.nativeEnum(prisma_schema_1.TicketType), zod_1.default.number()),
|
22
|
+
totalIncome: zod_1.default.number(),
|
23
|
+
maxTotalIncome: zod_1.default.number(),
|
24
|
+
maxTicketPerType: zod_1.default.record(zod_1.default.nativeEnum(prisma_schema_1.TicketType), zod_1.default.number()),
|
25
|
+
totalTicketsScanned: zod_1.default.number(),
|
26
|
+
notScanned: zod_1.default.number(),
|
27
|
+
attendancePercent: zod_1.default.number(),
|
28
|
+
attendancePerHour: ticket_dto_1.ticketSchema.shape.scannedAt.array(),
|
29
|
+
avgAmountPerTicketGroup: zod_1.default.number().nullable(),
|
30
|
+
heatMapDates: zod_1.default
|
31
|
+
.object({
|
32
|
+
date: zod_1.default.string().date(),
|
33
|
+
count: zod_1.default.number(),
|
34
|
+
})
|
35
|
+
.array(),
|
36
|
+
});
|
37
|
+
class GetStatisticsByIdResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getStatisticsByIdResponseSchema) {
|
38
|
+
}
|
39
|
+
exports.GetStatisticsByIdResponseDto = GetStatisticsByIdResponseDto;
|
40
|
+
//# sourceMappingURL=get-statistics-by-id-event.dto.js.map
|
@@ -42,22 +42,31 @@ export declare const updateEventSchema: z.ZodObject<{
|
|
42
42
|
mainPictureUrl?: string | null | undefined;
|
43
43
|
bannerUrl?: string | null | undefined;
|
44
44
|
}>, "many">>;
|
45
|
-
eventTickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
46
|
-
|
45
|
+
eventTickets: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
|
46
|
+
id: z.ZodString;
|
47
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
48
|
+
type: z.ZodNativeEnum<{
|
47
49
|
PARTICIPANT: "PARTICIPANT";
|
48
50
|
STAFF: "STAFF";
|
49
51
|
SPECTATOR: "SPECTATOR";
|
50
|
-
}
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
price?: number | null | undefined;
|
52
|
+
}>;
|
53
|
+
price: z.ZodNullable<z.ZodNumber>;
|
54
|
+
}, "id">, "strip", z.ZodTypeAny, {
|
55
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
56
|
+
amount: number | null;
|
57
|
+
price: number | null;
|
57
58
|
}, {
|
58
|
-
type
|
59
|
-
amount
|
60
|
-
price
|
59
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
60
|
+
amount: number | null;
|
61
|
+
price: number | null;
|
62
|
+
}>, {
|
63
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
64
|
+
amount: number | null;
|
65
|
+
price: number | null;
|
66
|
+
}, {
|
67
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
68
|
+
amount: number | null;
|
69
|
+
price: number | null;
|
61
70
|
}>, "many">>;
|
62
71
|
}, "strip", z.ZodTypeAny, {
|
63
72
|
description?: string | null | undefined;
|
@@ -82,9 +91,9 @@ export declare const updateEventSchema: z.ZodObject<{
|
|
82
91
|
}[] | undefined;
|
83
92
|
tagsId?: string[] | undefined;
|
84
93
|
eventTickets?: {
|
85
|
-
type
|
86
|
-
amount
|
87
|
-
price
|
94
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
95
|
+
amount: number | null;
|
96
|
+
price: number | null;
|
88
97
|
}[] | undefined;
|
89
98
|
}, {
|
90
99
|
description?: string | null | undefined;
|
@@ -109,9 +118,9 @@ export declare const updateEventSchema: z.ZodObject<{
|
|
109
118
|
}[] | undefined;
|
110
119
|
tagsId?: string[] | undefined;
|
111
120
|
eventTickets?: {
|
112
|
-
type
|
113
|
-
amount
|
114
|
-
price
|
121
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
122
|
+
amount: number | null;
|
123
|
+
price: number | null;
|
115
124
|
}[] | undefined;
|
116
125
|
}>;
|
117
126
|
declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
@@ -156,22 +165,31 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
156
165
|
mainPictureUrl?: string | null | undefined;
|
157
166
|
bannerUrl?: string | null | undefined;
|
158
167
|
}>, "many">>;
|
159
|
-
eventTickets: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
160
|
-
|
168
|
+
eventTickets: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
|
169
|
+
id: z.ZodString;
|
170
|
+
amount: z.ZodNullable<z.ZodNumber>;
|
171
|
+
type: z.ZodNativeEnum<{
|
161
172
|
PARTICIPANT: "PARTICIPANT";
|
162
173
|
STAFF: "STAFF";
|
163
174
|
SPECTATOR: "SPECTATOR";
|
164
|
-
}
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
175
|
+
}>;
|
176
|
+
price: z.ZodNullable<z.ZodNumber>;
|
177
|
+
}, "id">, "strip", z.ZodTypeAny, {
|
178
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
179
|
+
amount: number | null;
|
180
|
+
price: number | null;
|
181
|
+
}, {
|
182
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
183
|
+
amount: number | null;
|
184
|
+
price: number | null;
|
185
|
+
}>, {
|
186
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
187
|
+
amount: number | null;
|
188
|
+
price: number | null;
|
171
189
|
}, {
|
172
|
-
type
|
173
|
-
amount
|
174
|
-
price
|
190
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
191
|
+
amount: number | null;
|
192
|
+
price: number | null;
|
175
193
|
}>, "many">>;
|
176
194
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
177
195
|
description?: string | null | undefined;
|
@@ -196,9 +214,9 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
196
214
|
}[] | undefined;
|
197
215
|
tagsId?: string[] | undefined;
|
198
216
|
eventTickets?: {
|
199
|
-
type
|
200
|
-
amount
|
201
|
-
price
|
217
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
218
|
+
amount: number | null;
|
219
|
+
price: number | null;
|
202
220
|
}[] | undefined;
|
203
221
|
}, {
|
204
222
|
description?: string | null | undefined;
|
@@ -223,9 +241,9 @@ declare const UpdateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
|
|
223
241
|
}[] | undefined;
|
224
242
|
tagsId?: string[] | undefined;
|
225
243
|
eventTickets?: {
|
226
|
-
type
|
227
|
-
amount
|
228
|
-
price
|
244
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
245
|
+
amount: number | null;
|
246
|
+
price: number | null;
|
229
247
|
}[] | undefined;
|
230
248
|
}>>;
|
231
249
|
export declare class UpdateEventDto extends UpdateEventDto_base {
|
@@ -257,6 +275,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
257
275
|
EVENT: "EVENT";
|
258
276
|
PARTICIPANT: "PARTICIPANT";
|
259
277
|
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
278
|
+
PRODUCTION_ROLE: "PRODUCTION_ROLE";
|
260
279
|
}>;
|
261
280
|
created_at: z.ZodDate;
|
262
281
|
updated_at: z.ZodDate;
|
@@ -286,7 +305,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
286
305
|
}>, "strip", z.ZodTypeAny, {
|
287
306
|
id: string;
|
288
307
|
name: string;
|
289
|
-
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
308
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
|
290
309
|
created_at: Date;
|
291
310
|
updated_at: Date;
|
292
311
|
groupId: string;
|
@@ -301,7 +320,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
301
320
|
}, {
|
302
321
|
id: string;
|
303
322
|
name: string;
|
304
|
-
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
323
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
|
305
324
|
created_at: Date;
|
306
325
|
updated_at: Date;
|
307
326
|
groupId: string;
|
@@ -314,7 +333,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
314
333
|
isExclusive: boolean;
|
315
334
|
};
|
316
335
|
}>;
|
317
|
-
eventTickets: z.ZodArray<z.ZodObject<{
|
336
|
+
eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
318
337
|
id: z.ZodString;
|
319
338
|
amount: z.ZodNullable<z.ZodNumber>;
|
320
339
|
type: z.ZodNativeEnum<{
|
@@ -333,6 +352,16 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
333
352
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
334
353
|
amount: number | null;
|
335
354
|
price: number | null;
|
355
|
+
}>, {
|
356
|
+
id: string;
|
357
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
358
|
+
amount: number | null;
|
359
|
+
price: number | null;
|
360
|
+
}, {
|
361
|
+
id: string;
|
362
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
363
|
+
amount: number | null;
|
364
|
+
price: number | null;
|
336
365
|
}>, "many">;
|
337
366
|
}>, "strip", z.ZodTypeAny, {
|
338
367
|
description: string | null;
|
@@ -360,7 +389,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
360
389
|
tagAssisted: {
|
361
390
|
id: string;
|
362
391
|
name: string;
|
363
|
-
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
392
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
|
364
393
|
created_at: Date;
|
365
394
|
updated_at: Date;
|
366
395
|
groupId: string;
|
@@ -399,7 +428,7 @@ export declare const updateEventResponseSchema: z.ZodObject<z.objectUtil.extendS
|
|
399
428
|
tagAssisted: {
|
400
429
|
id: string;
|
401
430
|
name: string;
|
402
|
-
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
431
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
|
403
432
|
created_at: Date;
|
404
433
|
updated_at: Date;
|
405
434
|
groupId: string;
|
@@ -439,6 +468,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
439
468
|
EVENT: "EVENT";
|
440
469
|
PARTICIPANT: "PARTICIPANT";
|
441
470
|
NOT_IN_SYSTEM: "NOT_IN_SYSTEM";
|
471
|
+
PRODUCTION_ROLE: "PRODUCTION_ROLE";
|
442
472
|
}>;
|
443
473
|
created_at: z.ZodString;
|
444
474
|
updated_at: z.ZodString;
|
@@ -467,7 +497,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
467
497
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
468
498
|
id: string;
|
469
499
|
name: string;
|
470
|
-
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
500
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
|
471
501
|
created_at: string;
|
472
502
|
updated_at: string;
|
473
503
|
groupId: string;
|
@@ -482,7 +512,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
482
512
|
}, {
|
483
513
|
id: string;
|
484
514
|
name: string;
|
485
|
-
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
515
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
|
486
516
|
created_at: string;
|
487
517
|
updated_at: string;
|
488
518
|
groupId: string;
|
@@ -495,7 +525,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
495
525
|
isExclusive: boolean;
|
496
526
|
};
|
497
527
|
}>;
|
498
|
-
eventTickets: z.ZodArray<z.ZodObject<{
|
528
|
+
eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
499
529
|
id: z.ZodString;
|
500
530
|
amount: z.ZodNullable<z.ZodNumber>;
|
501
531
|
type: z.ZodNativeEnum<{
|
@@ -504,7 +534,17 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
504
534
|
SPECTATOR: "SPECTATOR";
|
505
535
|
}>;
|
506
536
|
price: z.ZodNullable<z.ZodNumber>;
|
507
|
-
},
|
537
|
+
}, "strip", z.ZodTypeAny, {
|
538
|
+
id: string;
|
539
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
540
|
+
amount: number | null;
|
541
|
+
price: number | null;
|
542
|
+
}, {
|
543
|
+
id: string;
|
544
|
+
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
545
|
+
amount: number | null;
|
546
|
+
price: number | null;
|
547
|
+
}>, {
|
508
548
|
id: string;
|
509
549
|
type: "STAFF" | "SPECTATOR" | "PARTICIPANT";
|
510
550
|
amount: number | null;
|
@@ -541,7 +581,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
541
581
|
tagAssisted: {
|
542
582
|
id: string;
|
543
583
|
name: string;
|
544
|
-
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
584
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
|
545
585
|
created_at: string;
|
546
586
|
updated_at: string;
|
547
587
|
groupId: string;
|
@@ -580,7 +620,7 @@ declare const UpdateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
|
|
580
620
|
tagAssisted: {
|
581
621
|
id: string;
|
582
622
|
name: string;
|
583
|
-
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM";
|
623
|
+
type: "PARTICIPANT" | "PROFILE" | "EVENT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
|
584
624
|
created_at: string;
|
585
625
|
updated_at: string;
|
586
626
|
groupId: string;
|
@@ -39,11 +39,9 @@ exports.updateEventSchema = event_dto_1.eventSchema
|
|
39
39
|
.extend({
|
40
40
|
id: event_dto_1.eventSchema.shape.id.or(zod_1.default.literal('')),
|
41
41
|
})),
|
42
|
-
eventTickets: zod_1.default.array(event_tickets_dto_1.
|
43
|
-
.omit({
|
42
|
+
eventTickets: zod_1.default.array((0, event_tickets_dto_1.addEventTicketRefinements)(event_tickets_dto_1.baseEventTicketsSchema.omit({
|
44
43
|
id: true,
|
45
|
-
})
|
46
|
-
.partial()),
|
44
|
+
}))),
|
47
45
|
}))
|
48
46
|
.partial();
|
49
47
|
class UpdateEventDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.updateEventSchema) {
|
package/dist/src/exports.d.ts
CHANGED
@@ -10,6 +10,7 @@ export * from './mercadopago/exports';
|
|
10
10
|
export * from './message/exports';
|
11
11
|
export * from './mi-expo/exports';
|
12
12
|
export * from './otp/exports';
|
13
|
+
export * from './production/exports';
|
13
14
|
export * from './profile/exports';
|
14
15
|
export * from './schema/exports';
|
15
16
|
export * from './shared/dto-modification/zod-without-dates';
|
package/dist/src/exports.js
CHANGED
@@ -26,6 +26,7 @@ __exportStar(require("./mercadopago/exports"), exports);
|
|
26
26
|
__exportStar(require("./message/exports"), exports);
|
27
27
|
__exportStar(require("./mi-expo/exports"), exports);
|
28
28
|
__exportStar(require("./otp/exports"), exports);
|
29
|
+
__exportStar(require("./production/exports"), exports);
|
29
30
|
__exportStar(require("./profile/exports"), exports);
|
30
31
|
__exportStar(require("./schema/exports"), exports);
|
31
32
|
__exportStar(require("./shared/dto-modification/zod-without-dates"), exports);
|