expo-backend-types 0.52.0 → 0.53.0-EXPO-360-Tato-Bores.1

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.
Files changed (48) hide show
  1. package/dist/src/event/dto/create-event.dto.d.ts +68 -2
  2. package/dist/src/event/dto/create-event.dto.js +6 -0
  3. package/dist/src/event/dto/delete-banner-event.dto.d.ts +18 -0
  4. package/dist/src/event/dto/delete-banner-event.dto.js +12 -0
  5. package/dist/src/event/dto/delete-event.dto.d.ts +18 -0
  6. package/dist/src/event/dto/delete-main-picture-event.dto.d.ts +18 -0
  7. package/dist/src/event/dto/delete-main-picture-event.dto.js +12 -0
  8. package/dist/src/event/dto/event.dto.d.ts +9 -0
  9. package/dist/src/event/dto/event.dto.js +13 -0
  10. package/dist/src/event/dto/get-active-events.dto.d.ts +30 -0
  11. package/dist/src/event/dto/get-all-event.dto.d.ts +264 -0
  12. package/dist/src/event/dto/get-all-statistics.dto.d.ts +9 -0
  13. package/dist/src/event/dto/get-by-id-event.dto.d.ts +96 -0
  14. package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +9 -0
  15. package/dist/src/event/dto/toggle-active-event.dto.d.ts +9 -0
  16. package/dist/src/event/dto/update-banner-event.dto.d.ts +33 -0
  17. package/dist/src/event/dto/update-banner-event.dto.js +18 -0
  18. package/dist/src/event/dto/update-event.dto.d.ts +185 -135
  19. package/dist/src/event/dto/update-event.dto.js +9 -1
  20. package/dist/src/event/dto/update-main-picture-event.dto.d.ts +33 -0
  21. package/dist/src/event/dto/update-main-picture-event.dto.js +18 -0
  22. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +42 -0
  23. package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +30 -0
  24. package/dist/src/i18n/es.d.ts +7 -0
  25. package/dist/src/i18n/es.js +7 -0
  26. package/dist/src/i18n/es.js.map +1 -1
  27. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +3 -0
  28. package/dist/src/profile/dto/delete-image-profile.dto.d.ts +18 -0
  29. package/dist/src/profile/dto/delete-image-profile.dto.js +12 -0
  30. package/dist/src/profile/dto/update-image-profile.dto.d.ts +33 -0
  31. package/dist/src/profile/dto/update-image-profile.dto.js +18 -0
  32. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +30 -0
  33. package/dist/src/ticket/dto/create-ticket.dto.d.ts +30 -0
  34. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +3 -0
  35. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +3 -0
  36. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +42 -0
  37. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +3 -0
  38. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +42 -0
  39. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +30 -0
  40. package/dist/types/prisma-schema/edge.js +6 -3
  41. package/dist/types/prisma-schema/index-browser.js +3 -0
  42. package/dist/types/prisma-schema/index.d.ts +244 -1
  43. package/dist/types/prisma-schema/index.js +6 -3
  44. package/dist/types/prisma-schema/package.json +1 -1
  45. package/dist/types/prisma-schema/schema.prisma +9 -6
  46. package/dist/types/prisma-schema/wasm.js +3 -0
  47. package/dist/types/schema.d.ts +397 -77
  48. package/package.json +1 -1
@@ -6,6 +6,9 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
6
6
  startingDate: z.ZodDate;
7
7
  endingDate: z.ZodDate;
8
8
  location: z.ZodString;
9
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
10
+ bannerUrl: z.ZodNullable<z.ZodString>;
11
+ description: z.ZodNullable<z.ZodString>;
9
12
  folderId: z.ZodNullable<z.ZodString>;
10
13
  tagAssistedId: z.ZodString;
11
14
  tagConfirmedId: z.ZodString;
@@ -13,7 +16,7 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
13
16
  supraEventId: z.ZodNullable<z.ZodString>;
14
17
  created_at: z.ZodDate;
15
18
  updated_at: z.ZodDate;
16
- }, "location" | "name" | "date" | "startingDate" | "endingDate" | "folderId">, {
19
+ }, "description" | "location" | "name" | "date" | "startingDate" | "endingDate" | "mainPictureUrl" | "bannerUrl" | "folderId">, {
17
20
  subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
18
21
  id: z.ZodString;
19
22
  name: z.ZodString;
@@ -21,6 +24,9 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
21
24
  startingDate: z.ZodDate;
22
25
  endingDate: z.ZodDate;
23
26
  location: z.ZodString;
27
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
28
+ bannerUrl: z.ZodNullable<z.ZodString>;
29
+ description: z.ZodNullable<z.ZodString>;
24
30
  folderId: z.ZodNullable<z.ZodString>;
25
31
  tagAssistedId: z.ZodString;
26
32
  tagConfirmedId: z.ZodString;
@@ -28,18 +34,24 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
28
34
  supraEventId: z.ZodNullable<z.ZodString>;
29
35
  created_at: z.ZodDate;
30
36
  updated_at: z.ZodDate;
31
- }, "location" | "name" | "date" | "startingDate" | "endingDate">, "strip", z.ZodTypeAny, {
37
+ }, "description" | "location" | "name" | "date" | "startingDate" | "endingDate" | "mainPictureUrl" | "bannerUrl">, "strip", z.ZodTypeAny, {
38
+ description: string | null;
32
39
  location: string;
33
40
  name: string;
34
41
  date: Date;
35
42
  startingDate: Date;
36
43
  endingDate: Date;
44
+ mainPictureUrl: string | null;
45
+ bannerUrl: string | null;
37
46
  }, {
47
+ description: string | null;
38
48
  location: string;
39
49
  name: string;
40
50
  date: Date;
41
51
  startingDate: Date;
42
52
  endingDate: Date;
53
+ mainPictureUrl: string | null;
54
+ bannerUrl: string | null;
43
55
  }>, "many">>;
44
56
  tagsId: z.ZodArray<z.ZodString, "many">;
45
57
  eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
@@ -69,11 +81,14 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
69
81
  price: number | null;
70
82
  }>, "many">;
71
83
  }>, "strip", z.ZodTypeAny, {
84
+ description: string | null;
72
85
  location: string;
73
86
  name: string;
74
87
  date: Date;
75
88
  startingDate: Date;
76
89
  endingDate: Date;
90
+ mainPictureUrl: string | null;
91
+ bannerUrl: string | null;
77
92
  folderId: string | null;
78
93
  tagsId: string[];
79
94
  eventTickets: {
@@ -82,18 +97,24 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
82
97
  price: number | null;
83
98
  }[];
84
99
  subEvents?: {
100
+ description: string | null;
85
101
  location: string;
86
102
  name: string;
87
103
  date: Date;
88
104
  startingDate: Date;
89
105
  endingDate: Date;
106
+ mainPictureUrl: string | null;
107
+ bannerUrl: string | null;
90
108
  }[] | undefined;
91
109
  }, {
110
+ description: string | null;
92
111
  location: string;
93
112
  name: string;
94
113
  date: Date;
95
114
  startingDate: Date;
96
115
  endingDate: Date;
116
+ mainPictureUrl: string | null;
117
+ bannerUrl: string | null;
97
118
  folderId: string | null;
98
119
  tagsId: string[];
99
120
  eventTickets: {
@@ -102,38 +123,53 @@ export declare const createEventSchema: z.ZodObject<z.objectUtil.extendShape<Pic
102
123
  price: number | null;
103
124
  }[];
104
125
  subEvents?: {
126
+ description: string | null;
105
127
  location: string;
106
128
  name: string;
107
129
  date: Date;
108
130
  startingDate: Date;
109
131
  endingDate: Date;
132
+ mainPictureUrl: string | null;
133
+ bannerUrl: string | null;
110
134
  }[] | undefined;
111
135
  }>;
112
136
  declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
137
+ description: z.ZodNullable<z.ZodString>;
113
138
  location: z.ZodString;
114
139
  name: z.ZodString;
115
140
  date: z.ZodString;
116
141
  startingDate: z.ZodString;
117
142
  endingDate: z.ZodString;
143
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
144
+ bannerUrl: z.ZodNullable<z.ZodString>;
118
145
  folderId: z.ZodNullable<z.ZodString>;
119
146
  subEvents: z.ZodOptional<z.ZodArray<z.ZodObject<{
147
+ description: z.ZodNullable<z.ZodString>;
120
148
  location: z.ZodString;
121
149
  name: z.ZodString;
122
150
  date: z.ZodString;
123
151
  startingDate: z.ZodString;
124
152
  endingDate: z.ZodString;
153
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
154
+ bannerUrl: z.ZodNullable<z.ZodString>;
125
155
  }, z.UnknownKeysParam, z.ZodTypeAny, {
156
+ description: string | null;
126
157
  location: string;
127
158
  name: string;
128
159
  date: string;
129
160
  startingDate: string;
130
161
  endingDate: string;
162
+ mainPictureUrl: string | null;
163
+ bannerUrl: string | null;
131
164
  }, {
165
+ description: string | null;
132
166
  location: string;
133
167
  name: string;
134
168
  date: string;
135
169
  startingDate: string;
136
170
  endingDate: string;
171
+ mainPictureUrl: string | null;
172
+ bannerUrl: string | null;
137
173
  }>, "many">>;
138
174
  tagsId: z.ZodArray<z.ZodString, "many">;
139
175
  eventTickets: z.ZodArray<z.ZodEffects<z.ZodObject<Omit<{
@@ -163,11 +199,14 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
163
199
  price: number | null;
164
200
  }>, "many">;
165
201
  }, z.UnknownKeysParam, z.ZodTypeAny, {
202
+ description: string | null;
166
203
  location: string;
167
204
  name: string;
168
205
  date: string;
169
206
  startingDate: string;
170
207
  endingDate: string;
208
+ mainPictureUrl: string | null;
209
+ bannerUrl: string | null;
171
210
  folderId: string | null;
172
211
  tagsId: string[];
173
212
  eventTickets: {
@@ -176,18 +215,24 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
176
215
  price: number | null;
177
216
  }[];
178
217
  subEvents?: {
218
+ description: string | null;
179
219
  location: string;
180
220
  name: string;
181
221
  date: string;
182
222
  startingDate: string;
183
223
  endingDate: string;
224
+ mainPictureUrl: string | null;
225
+ bannerUrl: string | null;
184
226
  }[] | undefined;
185
227
  }, {
228
+ description: string | null;
186
229
  location: string;
187
230
  name: string;
188
231
  date: string;
189
232
  startingDate: string;
190
233
  endingDate: string;
234
+ mainPictureUrl: string | null;
235
+ bannerUrl: string | null;
191
236
  folderId: string | null;
192
237
  tagsId: string[];
193
238
  eventTickets: {
@@ -196,11 +241,14 @@ declare const CreateEventDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.
196
241
  price: number | null;
197
242
  }[];
198
243
  subEvents?: {
244
+ description: string | null;
199
245
  location: string;
200
246
  name: string;
201
247
  date: string;
202
248
  startingDate: string;
203
249
  endingDate: string;
250
+ mainPictureUrl: string | null;
251
+ bannerUrl: string | null;
204
252
  }[] | undefined;
205
253
  }>>;
206
254
  export declare class CreateEventDto extends CreateEventDto_base {
@@ -212,6 +260,9 @@ export declare const createEventResponseSchema: z.ZodObject<{
212
260
  startingDate: z.ZodDate;
213
261
  endingDate: z.ZodDate;
214
262
  location: z.ZodString;
263
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
264
+ bannerUrl: z.ZodNullable<z.ZodString>;
265
+ description: z.ZodNullable<z.ZodString>;
215
266
  folderId: z.ZodNullable<z.ZodString>;
216
267
  tagAssistedId: z.ZodString;
217
268
  tagConfirmedId: z.ZodString;
@@ -220,6 +271,7 @@ export declare const createEventResponseSchema: z.ZodObject<{
220
271
  created_at: z.ZodDate;
221
272
  updated_at: z.ZodDate;
222
273
  }, "strip", z.ZodTypeAny, {
274
+ description: string | null;
223
275
  location: string;
224
276
  id: string;
225
277
  name: string;
@@ -229,11 +281,14 @@ export declare const createEventResponseSchema: z.ZodObject<{
229
281
  created_at: Date;
230
282
  updated_at: Date;
231
283
  active: boolean;
284
+ mainPictureUrl: string | null;
285
+ bannerUrl: string | null;
232
286
  folderId: string | null;
233
287
  tagAssistedId: string;
234
288
  tagConfirmedId: string;
235
289
  supraEventId: string | null;
236
290
  }, {
291
+ description: string | null;
237
292
  location: string;
238
293
  id: string;
239
294
  name: string;
@@ -243,6 +298,8 @@ export declare const createEventResponseSchema: z.ZodObject<{
243
298
  created_at: Date;
244
299
  updated_at: Date;
245
300
  active: boolean;
301
+ mainPictureUrl: string | null;
302
+ bannerUrl: string | null;
246
303
  folderId: string | null;
247
304
  tagAssistedId: string;
248
305
  tagConfirmedId: string;
@@ -255,6 +312,9 @@ declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
255
312
  startingDate: z.ZodString;
256
313
  endingDate: z.ZodString;
257
314
  location: z.ZodString;
315
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
316
+ bannerUrl: z.ZodNullable<z.ZodString>;
317
+ description: z.ZodNullable<z.ZodString>;
258
318
  folderId: z.ZodNullable<z.ZodString>;
259
319
  tagAssistedId: z.ZodString;
260
320
  tagConfirmedId: z.ZodString;
@@ -263,6 +323,7 @@ declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
263
323
  created_at: z.ZodString;
264
324
  updated_at: z.ZodString;
265
325
  }, z.UnknownKeysParam, z.ZodTypeAny, {
326
+ description: string | null;
266
327
  location: string;
267
328
  id: string;
268
329
  name: string;
@@ -272,11 +333,14 @@ declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
272
333
  created_at: string;
273
334
  updated_at: string;
274
335
  active: boolean;
336
+ mainPictureUrl: string | null;
337
+ bannerUrl: string | null;
275
338
  folderId: string | null;
276
339
  tagAssistedId: string;
277
340
  tagConfirmedId: string;
278
341
  supraEventId: string | null;
279
342
  }, {
343
+ description: string | null;
280
344
  location: string;
281
345
  id: string;
282
346
  name: string;
@@ -286,6 +350,8 @@ declare const CreateEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
286
350
  created_at: string;
287
351
  updated_at: string;
288
352
  active: boolean;
353
+ mainPictureUrl: string | null;
354
+ bannerUrl: string | null;
289
355
  folderId: string | null;
290
356
  tagAssistedId: string;
291
357
  tagConfirmedId: string;
@@ -17,6 +17,9 @@ exports.createEventSchema = event_dto_1.eventSchema
17
17
  endingDate: true,
18
18
  location: true,
19
19
  folderId: true,
20
+ mainPictureUrl: true,
21
+ bannerUrl: true,
22
+ description: true,
20
23
  })
21
24
  .merge(zod_1.default.object({
22
25
  subEvents: zod_1.default
@@ -26,6 +29,9 @@ exports.createEventSchema = event_dto_1.eventSchema
26
29
  startingDate: true,
27
30
  endingDate: true,
28
31
  location: true,
32
+ mainPictureUrl: true,
33
+ bannerUrl: true,
34
+ description: true,
29
35
  }))
30
36
  .optional(),
31
37
  tagsId: zod_1.default.array(tag_dto_1.tagSchema.shape.id),
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export declare const deleteBannerEventResponseSchema: z.ZodObject<{
3
+ message: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ message: string;
6
+ }, {
7
+ message: string;
8
+ }>;
9
+ declare const DeleteBannerEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
+ message: z.ZodString;
11
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
12
+ message: string;
13
+ }, {
14
+ message: string;
15
+ }>>;
16
+ export declare class DeleteBannerEventResponseDto extends DeleteBannerEventResponseDto_base {
17
+ }
18
+ export {};
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteBannerEventResponseDto = exports.deleteBannerEventResponseSchema = void 0;
4
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
+ const zod_1 = require("zod");
6
+ exports.deleteBannerEventResponseSchema = zod_1.z.object({
7
+ message: zod_1.z.string(),
8
+ });
9
+ class DeleteBannerEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteBannerEventResponseSchema) {
10
+ }
11
+ exports.DeleteBannerEventResponseDto = DeleteBannerEventResponseDto;
12
+ //# sourceMappingURL=delete-banner-event.dto.js.map
@@ -5,6 +5,9 @@ export declare const deleteEventResponseSchema: import("zod").ZodObject<{
5
5
  startingDate: import("zod").ZodDate;
6
6
  endingDate: import("zod").ZodDate;
7
7
  location: import("zod").ZodString;
8
+ mainPictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
9
+ bannerUrl: import("zod").ZodNullable<import("zod").ZodString>;
10
+ description: import("zod").ZodNullable<import("zod").ZodString>;
8
11
  folderId: import("zod").ZodNullable<import("zod").ZodString>;
9
12
  tagAssistedId: import("zod").ZodString;
10
13
  tagConfirmedId: import("zod").ZodString;
@@ -13,6 +16,7 @@ export declare const deleteEventResponseSchema: import("zod").ZodObject<{
13
16
  created_at: import("zod").ZodDate;
14
17
  updated_at: import("zod").ZodDate;
15
18
  }, "strip", import("zod").ZodTypeAny, {
19
+ description: string | null;
16
20
  location: string;
17
21
  id: string;
18
22
  name: string;
@@ -22,11 +26,14 @@ export declare const deleteEventResponseSchema: import("zod").ZodObject<{
22
26
  created_at: Date;
23
27
  updated_at: Date;
24
28
  active: boolean;
29
+ mainPictureUrl: string | null;
30
+ bannerUrl: string | null;
25
31
  folderId: string | null;
26
32
  tagAssistedId: string;
27
33
  tagConfirmedId: string;
28
34
  supraEventId: string | null;
29
35
  }, {
36
+ description: string | null;
30
37
  location: string;
31
38
  id: string;
32
39
  name: string;
@@ -36,6 +43,8 @@ export declare const deleteEventResponseSchema: import("zod").ZodObject<{
36
43
  created_at: Date;
37
44
  updated_at: Date;
38
45
  active: boolean;
46
+ mainPictureUrl: string | null;
47
+ bannerUrl: string | null;
39
48
  folderId: string | null;
40
49
  tagAssistedId: string;
41
50
  tagConfirmedId: string;
@@ -48,6 +57,9 @@ declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
48
57
  startingDate: import("zod").ZodString;
49
58
  endingDate: import("zod").ZodString;
50
59
  location: import("zod").ZodString;
60
+ mainPictureUrl: import("zod").ZodNullable<import("zod").ZodString>;
61
+ bannerUrl: import("zod").ZodNullable<import("zod").ZodString>;
62
+ description: import("zod").ZodNullable<import("zod").ZodString>;
51
63
  folderId: import("zod").ZodNullable<import("zod").ZodString>;
52
64
  tagAssistedId: import("zod").ZodString;
53
65
  tagConfirmedId: import("zod").ZodString;
@@ -56,6 +68,7 @@ declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
56
68
  created_at: import("zod").ZodString;
57
69
  updated_at: import("zod").ZodString;
58
70
  }, import("zod").UnknownKeysParam, import("zod").ZodTypeAny, {
71
+ description: string | null;
59
72
  location: string;
60
73
  id: string;
61
74
  name: string;
@@ -65,11 +78,14 @@ declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
65
78
  created_at: string;
66
79
  updated_at: string;
67
80
  active: boolean;
81
+ mainPictureUrl: string | null;
82
+ bannerUrl: string | null;
68
83
  folderId: string | null;
69
84
  tagAssistedId: string;
70
85
  tagConfirmedId: string;
71
86
  supraEventId: string | null;
72
87
  }, {
88
+ description: string | null;
73
89
  location: string;
74
90
  id: string;
75
91
  name: string;
@@ -79,6 +95,8 @@ declare const DeleteEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoS
79
95
  created_at: string;
80
96
  updated_at: string;
81
97
  active: boolean;
98
+ mainPictureUrl: string | null;
99
+ bannerUrl: string | null;
82
100
  folderId: string | null;
83
101
  tagAssistedId: string;
84
102
  tagConfirmedId: string;
@@ -0,0 +1,18 @@
1
+ import { z } from 'zod';
2
+ export declare const deleteMainPictureEventResponseSchema: z.ZodObject<{
3
+ message: z.ZodString;
4
+ }, "strip", z.ZodTypeAny, {
5
+ message: string;
6
+ }, {
7
+ message: string;
8
+ }>;
9
+ declare const DeleteMainPictureEventResponseDto_base: import("@anatine/zod-nestjs").ZodDtoStatic<z.ZodObject<{
10
+ message: z.ZodString;
11
+ }, z.UnknownKeysParam, z.ZodTypeAny, {
12
+ message: string;
13
+ }, {
14
+ message: string;
15
+ }>>;
16
+ export declare class DeleteMainPictureEventResponseDto extends DeleteMainPictureEventResponseDto_base {
17
+ }
18
+ export {};
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteMainPictureEventResponseDto = exports.deleteMainPictureEventResponseSchema = void 0;
4
+ const create_zod_dto_without_date_1 = require("../../shared/dto-modification/create-zod-dto-without-date");
5
+ const zod_1 = require("zod");
6
+ exports.deleteMainPictureEventResponseSchema = zod_1.z.object({
7
+ message: zod_1.z.string(),
8
+ });
9
+ class DeleteMainPictureEventResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.deleteMainPictureEventResponseSchema) {
10
+ }
11
+ exports.DeleteMainPictureEventResponseDto = DeleteMainPictureEventResponseDto;
12
+ //# sourceMappingURL=delete-main-picture-event.dto.js.map
@@ -6,6 +6,9 @@ export declare const eventSchema: z.ZodObject<{
6
6
  startingDate: z.ZodDate;
7
7
  endingDate: z.ZodDate;
8
8
  location: z.ZodString;
9
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
10
+ bannerUrl: z.ZodNullable<z.ZodString>;
11
+ description: z.ZodNullable<z.ZodString>;
9
12
  folderId: z.ZodNullable<z.ZodString>;
10
13
  tagAssistedId: z.ZodString;
11
14
  tagConfirmedId: z.ZodString;
@@ -14,6 +17,7 @@ export declare const eventSchema: z.ZodObject<{
14
17
  created_at: z.ZodDate;
15
18
  updated_at: z.ZodDate;
16
19
  }, "strip", z.ZodTypeAny, {
20
+ description: string | null;
17
21
  location: string;
18
22
  id: string;
19
23
  name: string;
@@ -23,11 +27,14 @@ export declare const eventSchema: z.ZodObject<{
23
27
  created_at: Date;
24
28
  updated_at: Date;
25
29
  active: boolean;
30
+ mainPictureUrl: string | null;
31
+ bannerUrl: string | null;
26
32
  folderId: string | null;
27
33
  tagAssistedId: string;
28
34
  tagConfirmedId: string;
29
35
  supraEventId: string | null;
30
36
  }, {
37
+ description: string | null;
31
38
  location: string;
32
39
  id: string;
33
40
  name: string;
@@ -37,6 +44,8 @@ export declare const eventSchema: z.ZodObject<{
37
44
  created_at: Date;
38
45
  updated_at: Date;
39
46
  active: boolean;
47
+ mainPictureUrl: string | null;
48
+ bannerUrl: string | null;
40
49
  folderId: string | null;
41
50
  tagAssistedId: string;
42
51
  tagConfirmedId: string;
@@ -21,6 +21,19 @@ exports.eventSchema = zod_1.z.object({
21
21
  invalid_type_error: (0, translate_1.translate)('model.event.endingDate.invalid'),
22
22
  }),
23
23
  location: zod_1.z.string().min(1, (0, translate_1.translate)('model.event.location.required')),
24
+ mainPictureUrl: zod_1.z
25
+ .string()
26
+ .url({
27
+ message: (0, translate_1.translate)('model.event.eventPictureUrl.invalid'),
28
+ })
29
+ .nullable(),
30
+ bannerUrl: zod_1.z
31
+ .string()
32
+ .url({
33
+ message: (0, translate_1.translate)('model.event.eventBannerUrl.invalid'),
34
+ })
35
+ .nullable(),
36
+ description: zod_1.z.string().nullable(),
24
37
  folderId: event_folder_dto_1.eventFolderSchema.shape.id.nullable(),
25
38
  tagAssistedId: tag_dto_1.tagSchema.shape.id,
26
39
  tagConfirmedId: tag_dto_1.tagSchema.shape.id,
@@ -7,6 +7,9 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
7
7
  startingDate: z.ZodDate;
8
8
  endingDate: z.ZodDate;
9
9
  location: z.ZodString;
10
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
11
+ bannerUrl: z.ZodNullable<z.ZodString>;
12
+ description: z.ZodNullable<z.ZodString>;
10
13
  folderId: z.ZodNullable<z.ZodString>;
11
14
  tagAssistedId: z.ZodString;
12
15
  tagConfirmedId: z.ZodString;
@@ -46,6 +49,7 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
46
49
  price: number | null;
47
50
  }>, "many">;
48
51
  }>, "strip", z.ZodTypeAny, {
52
+ description: string | null;
49
53
  location: string;
50
54
  id: string;
51
55
  name: string;
@@ -55,6 +59,8 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
55
59
  created_at: Date;
56
60
  updated_at: Date;
57
61
  active: boolean;
62
+ mainPictureUrl: string | null;
63
+ bannerUrl: string | null;
58
64
  folderId: string | null;
59
65
  tagAssistedId: string;
60
66
  tagConfirmedId: string;
@@ -66,6 +72,7 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
66
72
  price: number | null;
67
73
  }[];
68
74
  }, {
75
+ description: string | null;
69
76
  location: string;
70
77
  id: string;
71
78
  name: string;
@@ -75,6 +82,8 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
75
82
  created_at: Date;
76
83
  updated_at: Date;
77
84
  active: boolean;
85
+ mainPictureUrl: string | null;
86
+ bannerUrl: string | null;
78
87
  folderId: string | null;
79
88
  tagAssistedId: string;
80
89
  tagConfirmedId: string;
@@ -88,6 +97,7 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
88
97
  }>, "many">;
89
98
  }, "strip", z.ZodTypeAny, {
90
99
  events: {
100
+ description: string | null;
91
101
  location: string;
92
102
  id: string;
93
103
  name: string;
@@ -97,6 +107,8 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
97
107
  created_at: Date;
98
108
  updated_at: Date;
99
109
  active: boolean;
110
+ mainPictureUrl: string | null;
111
+ bannerUrl: string | null;
100
112
  folderId: string | null;
101
113
  tagAssistedId: string;
102
114
  tagConfirmedId: string;
@@ -110,6 +122,7 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
110
122
  }[];
111
123
  }, {
112
124
  events: {
125
+ description: string | null;
113
126
  location: string;
114
127
  id: string;
115
128
  name: string;
@@ -119,6 +132,8 @@ export declare const getActiveEventsResponseSchema: z.ZodObject<{
119
132
  created_at: Date;
120
133
  updated_at: Date;
121
134
  active: boolean;
135
+ mainPictureUrl: string | null;
136
+ bannerUrl: string | null;
122
137
  folderId: string | null;
123
138
  tagAssistedId: string;
124
139
  tagConfirmedId: string;
@@ -139,6 +154,9 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
139
154
  startingDate: z.ZodString;
140
155
  endingDate: z.ZodString;
141
156
  location: z.ZodString;
157
+ mainPictureUrl: z.ZodNullable<z.ZodString>;
158
+ bannerUrl: z.ZodNullable<z.ZodString>;
159
+ description: z.ZodNullable<z.ZodString>;
142
160
  folderId: z.ZodNullable<z.ZodString>;
143
161
  tagAssistedId: z.ZodString;
144
162
  tagConfirmedId: z.ZodString;
@@ -177,6 +195,7 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
177
195
  price: number | null;
178
196
  }>, "many">;
179
197
  }, z.UnknownKeysParam, z.ZodTypeAny, {
198
+ description: string | null;
180
199
  location: string;
181
200
  id: string;
182
201
  name: string;
@@ -186,6 +205,8 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
186
205
  created_at: string;
187
206
  updated_at: string;
188
207
  active: boolean;
208
+ mainPictureUrl: string | null;
209
+ bannerUrl: string | null;
189
210
  folderId: string | null;
190
211
  tagAssistedId: string;
191
212
  tagConfirmedId: string;
@@ -197,6 +218,7 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
197
218
  price: number | null;
198
219
  }[];
199
220
  }, {
221
+ description: string | null;
200
222
  location: string;
201
223
  id: string;
202
224
  name: string;
@@ -206,6 +228,8 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
206
228
  created_at: string;
207
229
  updated_at: string;
208
230
  active: boolean;
231
+ mainPictureUrl: string | null;
232
+ bannerUrl: string | null;
209
233
  folderId: string | null;
210
234
  tagAssistedId: string;
211
235
  tagConfirmedId: string;
@@ -219,6 +243,7 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
219
243
  }>, "many">;
220
244
  }, z.UnknownKeysParam, z.ZodTypeAny, {
221
245
  events: {
246
+ description: string | null;
222
247
  location: string;
223
248
  id: string;
224
249
  name: string;
@@ -228,6 +253,8 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
228
253
  created_at: string;
229
254
  updated_at: string;
230
255
  active: boolean;
256
+ mainPictureUrl: string | null;
257
+ bannerUrl: string | null;
231
258
  folderId: string | null;
232
259
  tagAssistedId: string;
233
260
  tagConfirmedId: string;
@@ -241,6 +268,7 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
241
268
  }[];
242
269
  }, {
243
270
  events: {
271
+ description: string | null;
244
272
  location: string;
245
273
  id: string;
246
274
  name: string;
@@ -250,6 +278,8 @@ declare const GetActiveEventsResponseDto_base: import("@anatine/zod-nestjs").Zod
250
278
  created_at: string;
251
279
  updated_at: string;
252
280
  active: boolean;
281
+ mainPictureUrl: string | null;
282
+ bannerUrl: string | null;
253
283
  folderId: string | null;
254
284
  tagAssistedId: string;
255
285
  tagConfirmedId: string;