expo-backend-types 0.33.0-EXPO-308-auth.1 → 0.33.0-EXPO-308-auth.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/event/dto/create-event.dto.d.ts +115 -2
- package/dist/src/event/dto/create-event.dto.js +8 -0
- package/dist/src/event/dto/delete-event.dto.d.ts +18 -0
- package/dist/src/event/dto/event-tickets.dto.d.ts +21 -0
- package/dist/src/event/dto/event-tickets.dto.js +21 -0
- package/dist/src/event/dto/event.dto.d.ts +9 -0
- package/dist/src/event/dto/event.dto.js +9 -0
- package/dist/src/event/dto/get-active-events.dto.d.ts +247 -0
- package/dist/src/event/dto/get-active-events.dto.js +19 -0
- package/dist/src/event/dto/get-all-event.dto.d.ts +424 -160
- package/dist/src/event/dto/get-by-id-event.dto.d.ts +208 -48
- package/dist/src/event/dto/get-by-id-event.dto.js +2 -0
- package/dist/src/event/dto/toggle-active-event.dto.d.ts +43 -0
- package/dist/src/event/dto/toggle-active-event.dto.js +6 -0
- package/dist/src/event/dto/update-event.dto.d.ts +193 -22
- package/dist/src/event/dto/update-event.dto.js +9 -0
- package/dist/src/event/exports.d.ts +3 -0
- package/dist/src/event/exports.js +3 -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 +2 -0
- package/dist/src/exports.js +2 -0
- package/dist/src/i18n/es.d.ts +88 -0
- package/dist/src/i18n/es.js +88 -0
- package/dist/src/i18n/es.js.map +1 -1
- package/dist/src/message/dto/template.dto.d.ts +2 -2
- package/dist/src/ticket/constants.d.ts +16 -0
- package/dist/src/ticket/constants.js +272 -0
- package/dist/src/ticket/dto/create-ticket.dto.d.ts +134 -0
- package/dist/src/ticket/dto/create-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/delete-ticket.dto.d.ts +75 -0
- package/dist/src/ticket/dto/delete-ticket.dto.js +10 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +201 -0
- package/dist/src/ticket/dto/find-all-tickets.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +201 -0
- package/dist/src/ticket/dto/find-by-event-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +201 -0
- package/dist/src/ticket/dto/find-by-id-ticket.dto.js +20 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +201 -0
- package/dist/src/ticket/dto/find-by-mail-ticket.dto.js +23 -0
- package/dist/src/ticket/dto/find-ticket.dto.d.ts +75 -0
- package/dist/src/ticket/dto/find-ticket.dto.js +10 -0
- package/dist/src/ticket/dto/generate-pdf.dto.d.ts +7 -0
- package/dist/src/ticket/dto/generate-pdf.dto.js +13 -0
- package/dist/src/ticket/dto/ticket.dto.d.ts +76 -0
- package/dist/src/ticket/dto/ticket.dto.js +29 -0
- package/dist/src/ticket/dto/update-ticket.dto.d.ts +125 -0
- package/dist/src/ticket/dto/update-ticket.dto.js +21 -0
- package/dist/src/ticket/exports.d.ts +10 -0
- package/dist/src/ticket/exports.js +27 -0
- package/dist/types/prisma-schema/edge.js +42 -4
- package/dist/types/prisma-schema/index-browser.js +39 -1
- package/dist/types/prisma-schema/index.d.ts +4552 -366
- package/dist/types/prisma-schema/index.js +42 -4
- package/dist/types/prisma-schema/package.json +1 -1
- package/dist/types/prisma-schema/schema.prisma +57 -5
- package/dist/types/prisma-schema/wasm.js +39 -1
- package/dist/types/schema.d.ts +734 -12
- package/package.json +13 -3
@@ -3,10 +3,13 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
3
3
|
id: z.ZodString;
|
4
4
|
name: z.ZodString;
|
5
5
|
date: z.ZodDate;
|
6
|
+
startingDate: z.ZodDate;
|
7
|
+
endingDate: z.ZodDate;
|
6
8
|
location: z.ZodString;
|
7
9
|
folderId: z.ZodNullable<z.ZodString>;
|
8
10
|
tagAssistedId: z.ZodString;
|
9
11
|
tagConfirmedId: z.ZodString;
|
12
|
+
active: z.ZodBoolean;
|
10
13
|
supraEventId: z.ZodNullable<z.ZodString>;
|
11
14
|
created_at: z.ZodDate;
|
12
15
|
updated_at: z.ZodDate;
|
@@ -15,10 +18,13 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
15
18
|
id: z.ZodString;
|
16
19
|
name: z.ZodString;
|
17
20
|
date: z.ZodDate;
|
21
|
+
startingDate: z.ZodDate;
|
22
|
+
endingDate: z.ZodDate;
|
18
23
|
location: z.ZodString;
|
19
24
|
folderId: z.ZodNullable<z.ZodString>;
|
20
25
|
tagAssistedId: z.ZodString;
|
21
26
|
tagConfirmedId: z.ZodString;
|
27
|
+
active: z.ZodBoolean;
|
22
28
|
supraEventId: z.ZodNullable<z.ZodString>;
|
23
29
|
created_at: z.ZodDate;
|
24
30
|
updated_at: z.ZodDate;
|
@@ -27,8 +33,11 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
27
33
|
id: string;
|
28
34
|
name: string;
|
29
35
|
date: Date;
|
36
|
+
startingDate: Date;
|
37
|
+
endingDate: Date;
|
30
38
|
created_at: Date;
|
31
39
|
updated_at: Date;
|
40
|
+
active: boolean;
|
32
41
|
folderId: string | null;
|
33
42
|
tagAssistedId: string;
|
34
43
|
tagConfirmedId: string;
|
@@ -38,8 +47,11 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
38
47
|
id: string;
|
39
48
|
name: string;
|
40
49
|
date: Date;
|
50
|
+
startingDate: Date;
|
51
|
+
endingDate: Date;
|
41
52
|
created_at: Date;
|
42
53
|
updated_at: Date;
|
54
|
+
active: boolean;
|
43
55
|
folderId: string | null;
|
44
56
|
tagAssistedId: string;
|
45
57
|
tagConfirmedId: string;
|
@@ -49,10 +61,13 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
49
61
|
id: z.ZodString;
|
50
62
|
name: z.ZodString;
|
51
63
|
date: z.ZodDate;
|
64
|
+
startingDate: z.ZodDate;
|
65
|
+
endingDate: z.ZodDate;
|
52
66
|
location: z.ZodString;
|
53
67
|
folderId: z.ZodNullable<z.ZodString>;
|
54
68
|
tagAssistedId: z.ZodString;
|
55
69
|
tagConfirmedId: z.ZodString;
|
70
|
+
active: z.ZodBoolean;
|
56
71
|
supraEventId: z.ZodNullable<z.ZodString>;
|
57
72
|
created_at: z.ZodDate;
|
58
73
|
updated_at: z.ZodDate;
|
@@ -61,8 +76,11 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
61
76
|
id: string;
|
62
77
|
name: string;
|
63
78
|
date: Date;
|
79
|
+
startingDate: Date;
|
80
|
+
endingDate: Date;
|
64
81
|
created_at: Date;
|
65
82
|
updated_at: Date;
|
83
|
+
active: boolean;
|
66
84
|
folderId: string | null;
|
67
85
|
tagAssistedId: string;
|
68
86
|
tagConfirmedId: string;
|
@@ -72,92 +90,148 @@ export declare const getByIdEventResponseSchema: z.ZodObject<z.objectUtil.extend
|
|
72
90
|
id: string;
|
73
91
|
name: string;
|
74
92
|
date: Date;
|
93
|
+
startingDate: Date;
|
94
|
+
endingDate: Date;
|
75
95
|
created_at: Date;
|
76
96
|
updated_at: Date;
|
97
|
+
active: boolean;
|
77
98
|
folderId: string | null;
|
78
99
|
tagAssistedId: string;
|
79
100
|
tagConfirmedId: string;
|
80
101
|
supraEventId: string | null;
|
81
102
|
}>>;
|
103
|
+
eventTickets: z.ZodArray<z.ZodObject<{
|
104
|
+
id: z.ZodString;
|
105
|
+
amount: z.ZodNumber;
|
106
|
+
type: z.ZodNativeEnum<{
|
107
|
+
PARTICIPANT: "PARTICIPANT";
|
108
|
+
STAFF: "STAFF";
|
109
|
+
SPECTATOR: "SPECTATOR";
|
110
|
+
}>;
|
111
|
+
price: z.ZodNullable<z.ZodNumber>;
|
112
|
+
}, "strip", z.ZodTypeAny, {
|
113
|
+
id: string;
|
114
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
115
|
+
amount: number;
|
116
|
+
price: number | null;
|
117
|
+
}, {
|
118
|
+
id: string;
|
119
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
120
|
+
amount: number;
|
121
|
+
price: number | null;
|
122
|
+
}>, "many">;
|
82
123
|
}>, "strip", z.ZodTypeAny, {
|
83
124
|
location: string;
|
84
125
|
id: string;
|
85
126
|
name: string;
|
86
127
|
date: Date;
|
128
|
+
startingDate: Date;
|
129
|
+
endingDate: Date;
|
87
130
|
created_at: Date;
|
88
131
|
updated_at: Date;
|
89
|
-
|
132
|
+
active: boolean;
|
133
|
+
folderId: string | null;
|
134
|
+
tagAssistedId: string;
|
135
|
+
tagConfirmedId: string;
|
136
|
+
supraEventId: string | null;
|
137
|
+
subEvents: {
|
90
138
|
location: string;
|
91
139
|
id: string;
|
92
140
|
name: string;
|
93
141
|
date: Date;
|
142
|
+
startingDate: Date;
|
143
|
+
endingDate: Date;
|
94
144
|
created_at: Date;
|
95
145
|
updated_at: Date;
|
146
|
+
active: boolean;
|
96
147
|
folderId: string | null;
|
97
148
|
tagAssistedId: string;
|
98
149
|
tagConfirmedId: string;
|
99
150
|
supraEventId: string | null;
|
100
|
-
}
|
101
|
-
|
151
|
+
}[];
|
152
|
+
eventTickets: {
|
153
|
+
id: string;
|
154
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
155
|
+
amount: number;
|
156
|
+
price: number | null;
|
157
|
+
}[];
|
158
|
+
supraEvent: {
|
102
159
|
location: string;
|
103
160
|
id: string;
|
104
161
|
name: string;
|
105
162
|
date: Date;
|
163
|
+
startingDate: Date;
|
164
|
+
endingDate: Date;
|
106
165
|
created_at: Date;
|
107
166
|
updated_at: Date;
|
167
|
+
active: boolean;
|
108
168
|
folderId: string | null;
|
109
169
|
tagAssistedId: string;
|
110
170
|
tagConfirmedId: string;
|
111
171
|
supraEventId: string | null;
|
112
|
-
}
|
113
|
-
folderId: string | null;
|
114
|
-
tagAssistedId: string;
|
115
|
-
tagConfirmedId: string;
|
116
|
-
supraEventId: string | null;
|
172
|
+
} | null;
|
117
173
|
}, {
|
118
174
|
location: string;
|
119
175
|
id: string;
|
120
176
|
name: string;
|
121
177
|
date: Date;
|
178
|
+
startingDate: Date;
|
179
|
+
endingDate: Date;
|
122
180
|
created_at: Date;
|
123
181
|
updated_at: Date;
|
124
|
-
|
182
|
+
active: boolean;
|
183
|
+
folderId: string | null;
|
184
|
+
tagAssistedId: string;
|
185
|
+
tagConfirmedId: string;
|
186
|
+
supraEventId: string | null;
|
187
|
+
subEvents: {
|
125
188
|
location: string;
|
126
189
|
id: string;
|
127
190
|
name: string;
|
128
191
|
date: Date;
|
192
|
+
startingDate: Date;
|
193
|
+
endingDate: Date;
|
129
194
|
created_at: Date;
|
130
195
|
updated_at: Date;
|
196
|
+
active: boolean;
|
131
197
|
folderId: string | null;
|
132
198
|
tagAssistedId: string;
|
133
199
|
tagConfirmedId: string;
|
134
200
|
supraEventId: string | null;
|
135
|
-
}
|
136
|
-
|
201
|
+
}[];
|
202
|
+
eventTickets: {
|
203
|
+
id: string;
|
204
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
205
|
+
amount: number;
|
206
|
+
price: number | null;
|
207
|
+
}[];
|
208
|
+
supraEvent: {
|
137
209
|
location: string;
|
138
210
|
id: string;
|
139
211
|
name: string;
|
140
212
|
date: Date;
|
213
|
+
startingDate: Date;
|
214
|
+
endingDate: Date;
|
141
215
|
created_at: Date;
|
142
216
|
updated_at: Date;
|
217
|
+
active: boolean;
|
143
218
|
folderId: string | null;
|
144
219
|
tagAssistedId: string;
|
145
220
|
tagConfirmedId: string;
|
146
221
|
supraEventId: string | null;
|
147
|
-
}
|
148
|
-
folderId: string | null;
|
149
|
-
tagAssistedId: string;
|
150
|
-
tagConfirmedId: string;
|
151
|
-
supraEventId: string | null;
|
222
|
+
} | null;
|
152
223
|
}>;
|
153
224
|
declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
|
154
225
|
id: z.ZodString;
|
155
226
|
name: z.ZodString;
|
156
227
|
date: z.ZodString;
|
228
|
+
startingDate: z.ZodString;
|
229
|
+
endingDate: z.ZodString;
|
157
230
|
location: z.ZodString;
|
158
231
|
folderId: z.ZodNullable<z.ZodString>;
|
159
232
|
tagAssistedId: z.ZodString;
|
160
233
|
tagConfirmedId: z.ZodString;
|
234
|
+
active: z.ZodBoolean;
|
161
235
|
supraEventId: z.ZodNullable<z.ZodString>;
|
162
236
|
created_at: z.ZodString;
|
163
237
|
updated_at: z.ZodString;
|
@@ -165,10 +239,13 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
165
239
|
id: z.ZodString;
|
166
240
|
name: z.ZodString;
|
167
241
|
date: z.ZodString;
|
242
|
+
startingDate: z.ZodString;
|
243
|
+
endingDate: z.ZodString;
|
168
244
|
location: z.ZodString;
|
169
245
|
folderId: z.ZodNullable<z.ZodString>;
|
170
246
|
tagAssistedId: z.ZodString;
|
171
247
|
tagConfirmedId: z.ZodString;
|
248
|
+
active: z.ZodBoolean;
|
172
249
|
supraEventId: z.ZodNullable<z.ZodString>;
|
173
250
|
created_at: z.ZodString;
|
174
251
|
updated_at: z.ZodString;
|
@@ -177,8 +254,11 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
177
254
|
id: string;
|
178
255
|
name: string;
|
179
256
|
date: string;
|
257
|
+
startingDate: string;
|
258
|
+
endingDate: string;
|
180
259
|
created_at: string;
|
181
260
|
updated_at: string;
|
261
|
+
active: boolean;
|
182
262
|
folderId: string | null;
|
183
263
|
tagAssistedId: string;
|
184
264
|
tagConfirmedId: string;
|
@@ -188,8 +268,11 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
188
268
|
id: string;
|
189
269
|
name: string;
|
190
270
|
date: string;
|
271
|
+
startingDate: string;
|
272
|
+
endingDate: string;
|
191
273
|
created_at: string;
|
192
274
|
updated_at: string;
|
275
|
+
active: boolean;
|
193
276
|
folderId: string | null;
|
194
277
|
tagAssistedId: string;
|
195
278
|
tagConfirmedId: string;
|
@@ -199,10 +282,13 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
199
282
|
id: z.ZodString;
|
200
283
|
name: z.ZodString;
|
201
284
|
date: z.ZodString;
|
285
|
+
startingDate: z.ZodString;
|
286
|
+
endingDate: z.ZodString;
|
202
287
|
location: z.ZodString;
|
203
288
|
folderId: z.ZodNullable<z.ZodString>;
|
204
289
|
tagAssistedId: z.ZodString;
|
205
290
|
tagConfirmedId: z.ZodString;
|
291
|
+
active: z.ZodBoolean;
|
206
292
|
supraEventId: z.ZodNullable<z.ZodString>;
|
207
293
|
created_at: z.ZodString;
|
208
294
|
updated_at: z.ZodString;
|
@@ -211,8 +297,11 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
211
297
|
id: string;
|
212
298
|
name: string;
|
213
299
|
date: string;
|
300
|
+
startingDate: string;
|
301
|
+
endingDate: string;
|
214
302
|
created_at: string;
|
215
303
|
updated_at: string;
|
304
|
+
active: boolean;
|
216
305
|
folderId: string | null;
|
217
306
|
tagAssistedId: string;
|
218
307
|
tagConfirmedId: string;
|
@@ -222,83 +311,136 @@ declare const GetByIdEventResponseDto_base: import("@anatine/zod-nestjs").ZodDto
|
|
222
311
|
id: string;
|
223
312
|
name: string;
|
224
313
|
date: string;
|
314
|
+
startingDate: string;
|
315
|
+
endingDate: string;
|
225
316
|
created_at: string;
|
226
317
|
updated_at: string;
|
318
|
+
active: boolean;
|
227
319
|
folderId: string | null;
|
228
320
|
tagAssistedId: string;
|
229
321
|
tagConfirmedId: string;
|
230
322
|
supraEventId: string | null;
|
231
323
|
}>>;
|
324
|
+
eventTickets: z.ZodArray<z.ZodObject<{
|
325
|
+
id: z.ZodString;
|
326
|
+
amount: z.ZodNumber;
|
327
|
+
type: z.ZodNativeEnum<{
|
328
|
+
PARTICIPANT: "PARTICIPANT";
|
329
|
+
STAFF: "STAFF";
|
330
|
+
SPECTATOR: "SPECTATOR";
|
331
|
+
}>;
|
332
|
+
price: z.ZodNullable<z.ZodNumber>;
|
333
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
334
|
+
id: string;
|
335
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
336
|
+
amount: number;
|
337
|
+
price: number | null;
|
338
|
+
}, {
|
339
|
+
id: string;
|
340
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
341
|
+
amount: number;
|
342
|
+
price: number | null;
|
343
|
+
}>, "many">;
|
232
344
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
233
345
|
location: string;
|
234
346
|
id: string;
|
235
347
|
name: string;
|
236
348
|
date: string;
|
349
|
+
startingDate: string;
|
350
|
+
endingDate: string;
|
237
351
|
created_at: string;
|
238
352
|
updated_at: string;
|
239
|
-
|
353
|
+
active: boolean;
|
354
|
+
folderId: string | null;
|
355
|
+
tagAssistedId: string;
|
356
|
+
tagConfirmedId: string;
|
357
|
+
supraEventId: string | null;
|
358
|
+
subEvents: {
|
240
359
|
location: string;
|
241
360
|
id: string;
|
242
361
|
name: string;
|
243
362
|
date: string;
|
363
|
+
startingDate: string;
|
364
|
+
endingDate: string;
|
244
365
|
created_at: string;
|
245
366
|
updated_at: string;
|
367
|
+
active: boolean;
|
246
368
|
folderId: string | null;
|
247
369
|
tagAssistedId: string;
|
248
370
|
tagConfirmedId: string;
|
249
371
|
supraEventId: string | null;
|
250
|
-
}
|
251
|
-
|
372
|
+
}[];
|
373
|
+
eventTickets: {
|
374
|
+
id: string;
|
375
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
376
|
+
amount: number;
|
377
|
+
price: number | null;
|
378
|
+
}[];
|
379
|
+
supraEvent: {
|
252
380
|
location: string;
|
253
381
|
id: string;
|
254
382
|
name: string;
|
255
383
|
date: string;
|
384
|
+
startingDate: string;
|
385
|
+
endingDate: string;
|
256
386
|
created_at: string;
|
257
387
|
updated_at: string;
|
388
|
+
active: boolean;
|
258
389
|
folderId: string | null;
|
259
390
|
tagAssistedId: string;
|
260
391
|
tagConfirmedId: string;
|
261
392
|
supraEventId: string | null;
|
262
|
-
}
|
263
|
-
folderId: string | null;
|
264
|
-
tagAssistedId: string;
|
265
|
-
tagConfirmedId: string;
|
266
|
-
supraEventId: string | null;
|
393
|
+
} | null;
|
267
394
|
}, {
|
268
395
|
location: string;
|
269
396
|
id: string;
|
270
397
|
name: string;
|
271
398
|
date: string;
|
399
|
+
startingDate: string;
|
400
|
+
endingDate: string;
|
272
401
|
created_at: string;
|
273
402
|
updated_at: string;
|
274
|
-
|
403
|
+
active: boolean;
|
404
|
+
folderId: string | null;
|
405
|
+
tagAssistedId: string;
|
406
|
+
tagConfirmedId: string;
|
407
|
+
supraEventId: string | null;
|
408
|
+
subEvents: {
|
275
409
|
location: string;
|
276
410
|
id: string;
|
277
411
|
name: string;
|
278
412
|
date: string;
|
413
|
+
startingDate: string;
|
414
|
+
endingDate: string;
|
279
415
|
created_at: string;
|
280
416
|
updated_at: string;
|
417
|
+
active: boolean;
|
281
418
|
folderId: string | null;
|
282
419
|
tagAssistedId: string;
|
283
420
|
tagConfirmedId: string;
|
284
421
|
supraEventId: string | null;
|
285
|
-
}
|
286
|
-
|
422
|
+
}[];
|
423
|
+
eventTickets: {
|
424
|
+
id: string;
|
425
|
+
type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
|
426
|
+
amount: number;
|
427
|
+
price: number | null;
|
428
|
+
}[];
|
429
|
+
supraEvent: {
|
287
430
|
location: string;
|
288
431
|
id: string;
|
289
432
|
name: string;
|
290
433
|
date: string;
|
434
|
+
startingDate: string;
|
435
|
+
endingDate: string;
|
291
436
|
created_at: string;
|
292
437
|
updated_at: string;
|
438
|
+
active: boolean;
|
293
439
|
folderId: string | null;
|
294
440
|
tagAssistedId: string;
|
295
441
|
tagConfirmedId: string;
|
296
442
|
supraEventId: string | null;
|
297
|
-
}
|
298
|
-
folderId: string | null;
|
299
|
-
tagAssistedId: string;
|
300
|
-
tagConfirmedId: string;
|
301
|
-
supraEventId: string | null;
|
443
|
+
} | null;
|
302
444
|
}>>;
|
303
445
|
export declare class GetByIdEventResponseDto extends GetByIdEventResponseDto_base {
|
304
446
|
}
|
@@ -306,10 +448,13 @@ export declare const getBySupraEventResponseSchema: z.ZodArray<z.ZodObject<z.obj
|
|
306
448
|
id: z.ZodString;
|
307
449
|
name: z.ZodString;
|
308
450
|
date: z.ZodDate;
|
451
|
+
startingDate: z.ZodDate;
|
452
|
+
endingDate: z.ZodDate;
|
309
453
|
location: z.ZodString;
|
310
454
|
folderId: z.ZodNullable<z.ZodString>;
|
311
455
|
tagAssistedId: z.ZodString;
|
312
456
|
tagConfirmedId: z.ZodString;
|
457
|
+
active: z.ZodBoolean;
|
313
458
|
supraEventId: z.ZodNullable<z.ZodString>;
|
314
459
|
created_at: z.ZodDate;
|
315
460
|
updated_at: z.ZodDate;
|
@@ -373,8 +518,15 @@ export declare const getBySupraEventResponseSchema: z.ZodArray<z.ZodObject<z.obj
|
|
373
518
|
id: string;
|
374
519
|
name: string;
|
375
520
|
date: Date;
|
521
|
+
startingDate: Date;
|
522
|
+
endingDate: Date;
|
376
523
|
created_at: Date;
|
377
524
|
updated_at: Date;
|
525
|
+
active: boolean;
|
526
|
+
folderId: string | null;
|
527
|
+
tagAssistedId: string;
|
528
|
+
tagConfirmedId: string;
|
529
|
+
supraEventId: string | null;
|
378
530
|
tagAssisted: {
|
379
531
|
id: string;
|
380
532
|
name: string;
|
@@ -391,17 +543,20 @@ export declare const getBySupraEventResponseSchema: z.ZodArray<z.ZodObject<z.obj
|
|
391
543
|
updated_at: Date;
|
392
544
|
groupId: string;
|
393
545
|
};
|
394
|
-
folderId: string | null;
|
395
|
-
tagAssistedId: string;
|
396
|
-
tagConfirmedId: string;
|
397
|
-
supraEventId: string | null;
|
398
546
|
}, {
|
399
547
|
location: string;
|
400
548
|
id: string;
|
401
549
|
name: string;
|
402
550
|
date: Date;
|
551
|
+
startingDate: Date;
|
552
|
+
endingDate: Date;
|
403
553
|
created_at: Date;
|
404
554
|
updated_at: Date;
|
555
|
+
active: boolean;
|
556
|
+
folderId: string | null;
|
557
|
+
tagAssistedId: string;
|
558
|
+
tagConfirmedId: string;
|
559
|
+
supraEventId: string | null;
|
405
560
|
tagAssisted: {
|
406
561
|
id: string;
|
407
562
|
name: string;
|
@@ -418,19 +573,18 @@ export declare const getBySupraEventResponseSchema: z.ZodArray<z.ZodObject<z.obj
|
|
418
573
|
updated_at: Date;
|
419
574
|
groupId: string;
|
420
575
|
};
|
421
|
-
folderId: string | null;
|
422
|
-
tagAssistedId: string;
|
423
|
-
tagConfirmedId: string;
|
424
|
-
supraEventId: string | null;
|
425
576
|
}>, "many">;
|
426
577
|
declare const GetBySupraEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodArray<z.ZodObject<{
|
427
578
|
id: z.ZodString;
|
428
579
|
name: z.ZodString;
|
429
580
|
date: z.ZodString;
|
581
|
+
startingDate: z.ZodString;
|
582
|
+
endingDate: z.ZodString;
|
430
583
|
location: z.ZodString;
|
431
584
|
folderId: z.ZodNullable<z.ZodString>;
|
432
585
|
tagAssistedId: z.ZodString;
|
433
586
|
tagConfirmedId: z.ZodString;
|
587
|
+
active: z.ZodBoolean;
|
434
588
|
supraEventId: z.ZodNullable<z.ZodString>;
|
435
589
|
created_at: z.ZodString;
|
436
590
|
updated_at: z.ZodString;
|
@@ -493,8 +647,15 @@ declare const GetBySupraEventResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
493
647
|
id: string;
|
494
648
|
name: string;
|
495
649
|
date: string;
|
650
|
+
startingDate: string;
|
651
|
+
endingDate: string;
|
496
652
|
created_at: string;
|
497
653
|
updated_at: string;
|
654
|
+
active: boolean;
|
655
|
+
folderId: string | null;
|
656
|
+
tagAssistedId: string;
|
657
|
+
tagConfirmedId: string;
|
658
|
+
supraEventId: string | null;
|
498
659
|
tagAssisted: {
|
499
660
|
id: string;
|
500
661
|
name: string;
|
@@ -511,17 +672,20 @@ declare const GetBySupraEventResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
511
672
|
updated_at: string;
|
512
673
|
groupId: string;
|
513
674
|
};
|
514
|
-
folderId: string | null;
|
515
|
-
tagAssistedId: string;
|
516
|
-
tagConfirmedId: string;
|
517
|
-
supraEventId: string | null;
|
518
675
|
}, {
|
519
676
|
location: string;
|
520
677
|
id: string;
|
521
678
|
name: string;
|
522
679
|
date: string;
|
680
|
+
startingDate: string;
|
681
|
+
endingDate: string;
|
523
682
|
created_at: string;
|
524
683
|
updated_at: string;
|
684
|
+
active: boolean;
|
685
|
+
folderId: string | null;
|
686
|
+
tagAssistedId: string;
|
687
|
+
tagConfirmedId: string;
|
688
|
+
supraEventId: string | null;
|
525
689
|
tagAssisted: {
|
526
690
|
id: string;
|
527
691
|
name: string;
|
@@ -538,10 +702,6 @@ declare const GetBySupraEventResponseDto_base: import("@anatine/zod-nestjs").Zod
|
|
538
702
|
updated_at: string;
|
539
703
|
groupId: string;
|
540
704
|
};
|
541
|
-
folderId: string | null;
|
542
|
-
tagAssistedId: string;
|
543
|
-
tagConfirmedId: string;
|
544
|
-
supraEventId: string | null;
|
545
705
|
}>, "many">>;
|
546
706
|
export declare class GetBySupraEventResponseDto extends GetBySupraEventResponseDto_base {
|
547
707
|
}
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
6
|
exports.GetBySupraEventResponseDto = exports.getBySupraEventResponseSchema = exports.GetByIdEventResponseDto = exports.getByIdEventResponseSchema = void 0;
|
7
|
+
const event_tickets_dto_1 = require("./event-tickets.dto");
|
7
8
|
const event_dto_1 = require("./event.dto");
|
8
9
|
const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
|
9
10
|
const tag_dto_1 = require("../../tag/dto/tag.dto");
|
@@ -11,6 +12,7 @@ const zod_1 = __importDefault(require("zod"));
|
|
11
12
|
exports.getByIdEventResponseSchema = event_dto_1.eventSchema.merge(zod_1.default.object({
|
12
13
|
subEvents: zod_1.default.array(event_dto_1.eventSchema),
|
13
14
|
supraEvent: event_dto_1.eventSchema.nullable(),
|
15
|
+
eventTickets: zod_1.default.array(event_tickets_dto_1.eventTicketsSchema),
|
14
16
|
}));
|
15
17
|
class GetByIdEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.getByIdEventResponseSchema) {
|
16
18
|
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
export declare const toggleActiveResponseSchema: import("zod").ZodObject<{
|
2
|
+
id: import("zod").ZodString;
|
3
|
+
name: import("zod").ZodString;
|
4
|
+
date: import("zod").ZodDate;
|
5
|
+
startingDate: import("zod").ZodDate;
|
6
|
+
endingDate: import("zod").ZodDate;
|
7
|
+
location: import("zod").ZodString;
|
8
|
+
folderId: import("zod").ZodNullable<import("zod").ZodString>;
|
9
|
+
tagAssistedId: import("zod").ZodString;
|
10
|
+
tagConfirmedId: import("zod").ZodString;
|
11
|
+
active: import("zod").ZodBoolean;
|
12
|
+
supraEventId: import("zod").ZodNullable<import("zod").ZodString>;
|
13
|
+
created_at: import("zod").ZodDate;
|
14
|
+
updated_at: import("zod").ZodDate;
|
15
|
+
}, "strip", import("zod").ZodTypeAny, {
|
16
|
+
location: string;
|
17
|
+
id: string;
|
18
|
+
name: string;
|
19
|
+
date: Date;
|
20
|
+
startingDate: Date;
|
21
|
+
endingDate: Date;
|
22
|
+
created_at: Date;
|
23
|
+
updated_at: Date;
|
24
|
+
active: boolean;
|
25
|
+
folderId: string | null;
|
26
|
+
tagAssistedId: string;
|
27
|
+
tagConfirmedId: string;
|
28
|
+
supraEventId: string | null;
|
29
|
+
}, {
|
30
|
+
location: string;
|
31
|
+
id: string;
|
32
|
+
name: string;
|
33
|
+
date: Date;
|
34
|
+
startingDate: Date;
|
35
|
+
endingDate: Date;
|
36
|
+
created_at: Date;
|
37
|
+
updated_at: Date;
|
38
|
+
active: boolean;
|
39
|
+
folderId: string | null;
|
40
|
+
tagAssistedId: string;
|
41
|
+
tagConfirmedId: string;
|
42
|
+
supraEventId: string | null;
|
43
|
+
}>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.toggleActiveResponseSchema = void 0;
|
4
|
+
const event_dto_1 = require("./event.dto");
|
5
|
+
exports.toggleActiveResponseSchema = event_dto_1.eventSchema;
|
6
|
+
//# sourceMappingURL=toggle-active-event.dto.js.map
|