@sortipei/api-contracts 0.2.18 → 0.3.0

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.
@@ -2,291 +2,136 @@ import { z } from 'zod';
2
2
  export declare const GPSCoordinatesSchema: z.ZodObject<{
3
3
  latitude: z.ZodNumber;
4
4
  longitude: z.ZodNumber;
5
- }, "strip", z.ZodTypeAny, {
6
- latitude: number;
7
- longitude: number;
8
- }, {
9
- latitude: number;
10
- longitude: number;
11
- }>;
5
+ }, z.core.$strip>;
12
6
  export declare const EventDTOSchema: z.ZodObject<{
13
7
  adress: z.ZodString;
14
- capacity: z.ZodNullable<z.ZodNumber>;
15
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
16
- createdAt: z.ZodString;
8
+ capacity: z.ZodNullable<z.ZodFloat32>;
9
+ category: z.ZodEnum<typeof import('../../shared').Category>;
10
+ createdAt: z.ZodISODateTime;
17
11
  description: z.ZodString;
18
12
  externalSourceId: z.ZodNullable<z.ZodString>;
19
- finishTime: z.ZodNullable<z.ZodString>;
13
+ finishTime: z.ZodNullable<z.ZodISODateTime>;
20
14
  gpsCoordinates: z.ZodObject<{
21
15
  latitude: z.ZodNumber;
22
16
  longitude: z.ZodNumber;
23
- }, "strip", z.ZodTypeAny, {
24
- latitude: number;
25
- longitude: number;
26
- }, {
27
- latitude: number;
28
- longitude: number;
29
- }>;
17
+ }, z.core.$strip>;
30
18
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
31
- id: z.ZodBranded<z.ZodString, "EventId">;
32
- imageBlurHashes: z.ZodArray<z.ZodString, "many">;
33
- imageUrls: z.ZodArray<z.ZodString, "many">;
19
+ id: z.core.$ZodBranded<z.ZodUUID, "EventId", "out">;
20
+ imageBlurHashes: z.ZodArray<z.ZodString>;
21
+ imageUrls: z.ZodArray<z.ZodString>;
34
22
  isDisplayed: z.ZodBoolean;
35
23
  isExhibition: z.ZodBoolean;
36
24
  isOldTimes: z.ZodBoolean;
37
25
  isPriceRange: z.ZodBoolean;
38
26
  isPromoted: z.ZodBoolean;
39
27
  link: z.ZodNullable<z.ZodString>;
40
- price: z.ZodNullable<z.ZodNumber>;
41
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
42
- secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
43
- startTime: z.ZodString;
28
+ price: z.ZodNullable<z.ZodFloat32>;
29
+ promotionEnd: z.ZodNullable<z.ZodISODateTime>;
30
+ promotionStart: z.ZodNullable<z.ZodISODateTime>;
31
+ regions: z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>;
32
+ secondaryCategory: z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>;
33
+ startTime: z.ZodISODateTime;
44
34
  thumbnailUrl: z.ZodNullable<z.ZodString>;
45
35
  ticketsUrl: z.ZodNullable<z.ZodString>;
46
36
  title: z.ZodString;
47
37
  organizers: z.ZodArray<z.ZodObject<{
48
- id: z.ZodBranded<z.ZodString, "OrganizerId">;
38
+ id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
49
39
  name: z.ZodString;
50
40
  imageUrl: z.ZodNullable<z.ZodString>;
51
- }, "strip", z.ZodTypeAny, {
52
- id: string & z.BRAND<"OrganizerId">;
53
- imageUrl: string | null;
54
- name: string;
55
- }, {
56
- id: string;
57
- imageUrl: string | null;
58
- name: string;
59
- }>, "many">;
60
- }, "strip", z.ZodTypeAny, {
61
- regions: import('../../shared').Region[];
62
- category: import('../../shared').Category;
63
- startTime: string;
64
- createdAt: string;
65
- id: string & z.BRAND<"EventId">;
66
- link: string | null;
67
- title: string;
68
- adress: string;
69
- capacity: number | null;
70
- description: string;
71
- externalSourceId: string | null;
72
- finishTime: string | null;
73
- gpsCoordinates: {
74
- latitude: number;
75
- longitude: number;
76
- };
77
- hasHandicapAccess: boolean | null;
78
- imageBlurHashes: string[];
79
- imageUrls: string[];
80
- isDisplayed: boolean;
81
- isExhibition: boolean;
82
- isOldTimes: boolean;
83
- isPriceRange: boolean;
84
- isPromoted: boolean;
85
- price: number | null;
86
- secondaryCategory: import('../../shared').Category | null;
87
- thumbnailUrl: string | null;
88
- ticketsUrl: string | null;
89
- organizers: {
90
- id: string & z.BRAND<"OrganizerId">;
91
- imageUrl: string | null;
92
- name: string;
93
- }[];
94
- }, {
95
- regions: import('../../shared').Region[];
96
- category: import('../../shared').Category;
97
- startTime: string;
98
- createdAt: string;
99
- id: string;
100
- link: string | null;
101
- title: string;
102
- adress: string;
103
- capacity: number | null;
104
- description: string;
105
- externalSourceId: string | null;
106
- finishTime: string | null;
107
- gpsCoordinates: {
108
- latitude: number;
109
- longitude: number;
110
- };
111
- hasHandicapAccess: boolean | null;
112
- imageBlurHashes: string[];
113
- imageUrls: string[];
114
- isDisplayed: boolean;
115
- isExhibition: boolean;
116
- isOldTimes: boolean;
117
- isPriceRange: boolean;
118
- isPromoted: boolean;
119
- price: number | null;
120
- secondaryCategory: import('../../shared').Category | null;
121
- thumbnailUrl: string | null;
122
- ticketsUrl: string | null;
123
- organizers: {
124
- id: string;
125
- imageUrl: string | null;
126
- name: string;
127
- }[];
128
- }>;
41
+ }, z.core.$strip>>;
42
+ }, z.core.$strip>;
43
+ export declare const PublicEventDTOSchema: z.ZodObject<{
44
+ regions: z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>;
45
+ category: z.ZodEnum<typeof import('../../shared').Category>;
46
+ startTime: z.ZodISODateTime;
47
+ id: z.core.$ZodBranded<z.ZodUUID, "EventId", "out">;
48
+ createdAt: z.ZodISODateTime;
49
+ link: z.ZodNullable<z.ZodString>;
50
+ title: z.ZodString;
51
+ adress: z.ZodString;
52
+ description: z.ZodString;
53
+ gpsCoordinates: z.ZodObject<{
54
+ latitude: z.ZodNumber;
55
+ longitude: z.ZodNumber;
56
+ }, z.core.$strip>;
57
+ capacity: z.ZodNullable<z.ZodFloat32>;
58
+ finishTime: z.ZodNullable<z.ZodISODateTime>;
59
+ hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
60
+ imageBlurHashes: z.ZodArray<z.ZodString>;
61
+ imageUrls: z.ZodArray<z.ZodString>;
62
+ isDisplayed: z.ZodBoolean;
63
+ isExhibition: z.ZodBoolean;
64
+ isOldTimes: z.ZodBoolean;
65
+ isPriceRange: z.ZodBoolean;
66
+ isPromoted: z.ZodBoolean;
67
+ price: z.ZodNullable<z.ZodFloat32>;
68
+ secondaryCategory: z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>;
69
+ thumbnailUrl: z.ZodNullable<z.ZodString>;
70
+ ticketsUrl: z.ZodNullable<z.ZodString>;
71
+ organizers: z.ZodArray<z.ZodObject<{
72
+ id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
73
+ name: z.ZodString;
74
+ imageUrl: z.ZodNullable<z.ZodString>;
75
+ }, z.core.$strip>>;
76
+ }, z.core.$strip>;
129
77
  export declare const CreateEventDTOSchema: z.ZodObject<{
130
78
  adress: z.ZodString;
131
- capacity: z.ZodNullable<z.ZodNumber>;
132
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
79
+ capacity: z.ZodNullable<z.ZodFloat32>;
80
+ category: z.ZodEnum<typeof import('../../shared').Category>;
133
81
  description: z.ZodString;
134
82
  externalSourceId: z.ZodNullable<z.ZodString>;
135
- finishTime: z.ZodNullable<z.ZodString>;
83
+ finishTime: z.ZodNullable<z.ZodISODateTime>;
136
84
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
137
- id: z.ZodBranded<z.ZodString, "EventId">;
138
- imageBlurHashes: z.ZodArray<z.ZodString, "many">;
139
- imageUrls: z.ZodArray<z.ZodString, "many">;
85
+ id: z.core.$ZodBranded<z.ZodUUID, "EventId", "out">;
86
+ imageBlurHashes: z.ZodArray<z.ZodString>;
87
+ imageUrls: z.ZodArray<z.ZodString>;
140
88
  isDisplayed: z.ZodBoolean;
141
89
  isExhibition: z.ZodBoolean;
142
90
  isOldTimes: z.ZodBoolean;
143
91
  isPriceRange: z.ZodBoolean;
144
92
  link: z.ZodNullable<z.ZodString>;
145
- organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
146
- price: z.ZodNullable<z.ZodNumber>;
147
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
148
- secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
149
- startTime: z.ZodString;
93
+ organizersIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">>;
94
+ price: z.ZodNullable<z.ZodFloat32>;
95
+ promotionEnd: z.ZodNullable<z.ZodISODateTime>;
96
+ promotionStart: z.ZodNullable<z.ZodISODateTime>;
97
+ regions: z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>;
98
+ secondaryCategory: z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>;
99
+ startTime: z.ZodISODateTime;
150
100
  thumbnailUrl: z.ZodNullable<z.ZodString>;
151
- title: z.ZodString;
152
101
  ticketsUrl: z.ZodNullable<z.ZodString>;
153
- }, "strip", z.ZodTypeAny, {
154
- regions: import('../../shared').Region[];
155
- category: import('../../shared').Category;
156
- startTime: string;
157
- id: string & z.BRAND<"EventId">;
158
- link: string | null;
159
- title: string;
160
- adress: string;
161
- capacity: number | null;
162
- description: string;
163
- externalSourceId: string | null;
164
- finishTime: string | null;
165
- hasHandicapAccess: boolean | null;
166
- imageBlurHashes: string[];
167
- imageUrls: string[];
168
- isDisplayed: boolean;
169
- isExhibition: boolean;
170
- isOldTimes: boolean;
171
- isPriceRange: boolean;
172
- price: number | null;
173
- secondaryCategory: import('../../shared').Category | null;
174
- thumbnailUrl: string | null;
175
- ticketsUrl: string | null;
176
- organizersIds: (string & z.BRAND<"OrganizerId">)[];
177
- }, {
178
- regions: import('../../shared').Region[];
179
- category: import('../../shared').Category;
180
- startTime: string;
181
- id: string;
182
- link: string | null;
183
- title: string;
184
- adress: string;
185
- capacity: number | null;
186
- description: string;
187
- externalSourceId: string | null;
188
- finishTime: string | null;
189
- hasHandicapAccess: boolean | null;
190
- imageBlurHashes: string[];
191
- imageUrls: string[];
192
- isDisplayed: boolean;
193
- isExhibition: boolean;
194
- isOldTimes: boolean;
195
- isPriceRange: boolean;
196
- price: number | null;
197
- secondaryCategory: import('../../shared').Category | null;
198
- thumbnailUrl: string | null;
199
- ticketsUrl: string | null;
200
- organizersIds: string[];
201
- }>;
202
- export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
102
+ title: z.ZodString;
103
+ }, z.core.$strip>;
104
+ export declare const UpdateEventDTOSchema: z.ZodObject<{
105
+ regions: z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>;
106
+ category: z.ZodEnum<typeof import('../../shared').Category>;
107
+ startTime: z.ZodISODateTime;
108
+ link: z.ZodNullable<z.ZodString>;
109
+ title: z.ZodString;
203
110
  adress: z.ZodString;
204
- capacity: z.ZodNullable<z.ZodNumber>;
205
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
206
111
  description: z.ZodString;
112
+ capacity: z.ZodNullable<z.ZodFloat32>;
207
113
  externalSourceId: z.ZodNullable<z.ZodString>;
208
- finishTime: z.ZodNullable<z.ZodString>;
114
+ finishTime: z.ZodNullable<z.ZodISODateTime>;
209
115
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
210
- id: z.ZodBranded<z.ZodString, "EventId">;
211
- imageBlurHashes: z.ZodArray<z.ZodString, "many">;
212
- imageUrls: z.ZodArray<z.ZodString, "many">;
116
+ imageBlurHashes: z.ZodArray<z.ZodString>;
117
+ imageUrls: z.ZodArray<z.ZodString>;
213
118
  isDisplayed: z.ZodBoolean;
214
119
  isExhibition: z.ZodBoolean;
215
120
  isOldTimes: z.ZodBoolean;
216
121
  isPriceRange: z.ZodBoolean;
217
- link: z.ZodNullable<z.ZodString>;
218
- organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
219
- price: z.ZodNullable<z.ZodNumber>;
220
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
221
- secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
222
- startTime: z.ZodString;
122
+ price: z.ZodNullable<z.ZodFloat32>;
123
+ promotionEnd: z.ZodNullable<z.ZodISODateTime>;
124
+ promotionStart: z.ZodNullable<z.ZodISODateTime>;
125
+ secondaryCategory: z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>;
223
126
  thumbnailUrl: z.ZodNullable<z.ZodString>;
224
- title: z.ZodString;
225
127
  ticketsUrl: z.ZodNullable<z.ZodString>;
226
- }, "id">, "strip", z.ZodTypeAny, {
227
- regions: import('../../shared').Region[];
228
- category: import('../../shared').Category;
229
- startTime: string;
230
- link: string | null;
231
- title: string;
232
- adress: string;
233
- capacity: number | null;
234
- description: string;
235
- externalSourceId: string | null;
236
- finishTime: string | null;
237
- hasHandicapAccess: boolean | null;
238
- imageBlurHashes: string[];
239
- imageUrls: string[];
240
- isDisplayed: boolean;
241
- isExhibition: boolean;
242
- isOldTimes: boolean;
243
- isPriceRange: boolean;
244
- price: number | null;
245
- secondaryCategory: import('../../shared').Category | null;
246
- thumbnailUrl: string | null;
247
- ticketsUrl: string | null;
248
- organizersIds: (string & z.BRAND<"OrganizerId">)[];
249
- }, {
250
- regions: import('../../shared').Region[];
251
- category: import('../../shared').Category;
252
- startTime: string;
253
- link: string | null;
254
- title: string;
255
- adress: string;
256
- capacity: number | null;
257
- description: string;
258
- externalSourceId: string | null;
259
- finishTime: string | null;
260
- hasHandicapAccess: boolean | null;
261
- imageBlurHashes: string[];
262
- imageUrls: string[];
263
- isDisplayed: boolean;
264
- isExhibition: boolean;
265
- isOldTimes: boolean;
266
- isPriceRange: boolean;
267
- price: number | null;
268
- secondaryCategory: import('../../shared').Category | null;
269
- thumbnailUrl: string | null;
270
- ticketsUrl: string | null;
271
- organizersIds: string[];
272
- }>;
128
+ organizersIds: z.ZodArray<z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">>;
129
+ }, z.core.$strip>;
273
130
  export declare const DisplayEventDTOSchema: z.ZodObject<{
274
131
  isDisplayed: z.ZodBoolean;
275
- }, "strip", z.ZodTypeAny, {
276
- isDisplayed: boolean;
277
- }, {
278
- isDisplayed: boolean;
279
- }>;
280
- export declare const PromoteEventDTOSchema: z.ZodObject<{
281
- isPromoted: z.ZodBoolean;
282
- }, "strip", z.ZodTypeAny, {
283
- isPromoted: boolean;
284
- }, {
285
- isPromoted: boolean;
286
- }>;
132
+ }, z.core.$strip>;
287
133
  export type CreateEventDTO = z.infer<typeof CreateEventDTOSchema>;
288
134
  export type DisplayEventDTO = z.infer<typeof DisplayEventDTOSchema>;
289
- export type PromoteEventDTO = z.infer<typeof PromoteEventDTOSchema>;
290
135
  export type UpdateEventDTO = z.infer<typeof UpdateEventDTOSchema>;
291
136
  export type EventDTO = z.infer<typeof EventDTOSchema>;
292
137
  export declare const constraints: {
@@ -304,270 +149,69 @@ export declare const constraints: {
304
149
  };
305
150
  };
306
151
  export declare const ImportDTOSchema: z.ZodObject<{
307
- createdAt: z.ZodString;
152
+ createdAt: z.ZodISODateTime;
308
153
  id: z.ZodString;
309
- organizersNames: z.ZodArray<z.ZodString, "many">;
154
+ organizersNames: z.ZodArray<z.ZodString>;
310
155
  partialEventState: z.ZodObject<{
311
156
  adress: z.ZodOptional<z.ZodString>;
312
- capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
313
- category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
314
- createdAt: z.ZodOptional<z.ZodString>;
157
+ capacity: z.ZodOptional<z.ZodNullable<z.ZodFloat32>>;
158
+ category: z.ZodOptional<z.ZodEnum<typeof import('../../shared').Category>>;
159
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
315
160
  description: z.ZodOptional<z.ZodString>;
316
161
  externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
- finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
+ finishTime: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
318
163
  gpsCoordinates: z.ZodOptional<z.ZodObject<{
319
164
  latitude: z.ZodNumber;
320
165
  longitude: z.ZodNumber;
321
- }, "strip", z.ZodTypeAny, {
322
- latitude: number;
323
- longitude: number;
324
- }, {
325
- latitude: number;
326
- longitude: number;
327
- }>>;
166
+ }, z.core.$strip>>;
328
167
  hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
329
- id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
330
- imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
331
- imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
168
+ id: z.ZodOptional<z.core.$ZodBranded<z.ZodUUID, "EventId", "out">>;
169
+ imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString>>;
170
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString>>;
332
171
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
333
172
  isExhibition: z.ZodOptional<z.ZodBoolean>;
334
173
  isOldTimes: z.ZodOptional<z.ZodBoolean>;
335
174
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
336
175
  isPromoted: z.ZodOptional<z.ZodBoolean>;
337
176
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
338
- price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
339
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
340
- secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>>;
341
- startTime: z.ZodOptional<z.ZodString>;
177
+ price: z.ZodOptional<z.ZodNullable<z.ZodFloat32>>;
178
+ promotionEnd: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
179
+ promotionStart: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
180
+ regions: z.ZodOptional<z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>>;
181
+ secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodEnum<typeof import('../../shared').Category>>>;
182
+ startTime: z.ZodOptional<z.ZodISODateTime>;
342
183
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
184
  ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
344
185
  title: z.ZodOptional<z.ZodString>;
345
186
  organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
346
- id: z.ZodBranded<z.ZodString, "OrganizerId">;
187
+ id: z.core.$ZodBranded<z.ZodUUID, "OrganizerId", "out">;
347
188
  name: z.ZodString;
348
189
  imageUrl: z.ZodNullable<z.ZodString>;
349
- }, "strip", z.ZodTypeAny, {
350
- id: string & z.BRAND<"OrganizerId">;
351
- imageUrl: string | null;
352
- name: string;
353
- }, {
354
- id: string;
355
- imageUrl: string | null;
356
- name: string;
357
- }>, "many">>;
358
- }, "strip", z.ZodTypeAny, {
359
- regions?: import('../../shared').Region[] | undefined;
360
- category?: import('../../shared').Category | undefined;
361
- startTime?: string | undefined;
362
- createdAt?: string | undefined;
363
- id?: (string & z.BRAND<"EventId">) | undefined;
364
- link?: string | null | undefined;
365
- title?: string | undefined;
366
- adress?: string | undefined;
367
- capacity?: number | null | undefined;
368
- description?: string | undefined;
369
- externalSourceId?: string | null | undefined;
370
- finishTime?: string | null | undefined;
371
- gpsCoordinates?: {
372
- latitude: number;
373
- longitude: number;
374
- } | undefined;
375
- hasHandicapAccess?: boolean | null | undefined;
376
- imageBlurHashes?: string[] | undefined;
377
- imageUrls?: string[] | undefined;
378
- isDisplayed?: boolean | undefined;
379
- isExhibition?: boolean | undefined;
380
- isOldTimes?: boolean | undefined;
381
- isPriceRange?: boolean | undefined;
382
- isPromoted?: boolean | undefined;
383
- price?: number | null | undefined;
384
- secondaryCategory?: import('../../shared').Category | null | undefined;
385
- thumbnailUrl?: string | null | undefined;
386
- ticketsUrl?: string | null | undefined;
387
- organizers?: {
388
- id: string & z.BRAND<"OrganizerId">;
389
- imageUrl: string | null;
390
- name: string;
391
- }[] | undefined;
392
- }, {
393
- regions?: import('../../shared').Region[] | undefined;
394
- category?: import('../../shared').Category | undefined;
395
- startTime?: string | undefined;
396
- createdAt?: string | undefined;
397
- id?: string | undefined;
398
- link?: string | null | undefined;
399
- title?: string | undefined;
400
- adress?: string | undefined;
401
- capacity?: number | null | undefined;
402
- description?: string | undefined;
403
- externalSourceId?: string | null | undefined;
404
- finishTime?: string | null | undefined;
405
- gpsCoordinates?: {
406
- latitude: number;
407
- longitude: number;
408
- } | undefined;
409
- hasHandicapAccess?: boolean | null | undefined;
410
- imageBlurHashes?: string[] | undefined;
411
- imageUrls?: string[] | undefined;
412
- isDisplayed?: boolean | undefined;
413
- isExhibition?: boolean | undefined;
414
- isOldTimes?: boolean | undefined;
415
- isPriceRange?: boolean | undefined;
416
- isPromoted?: boolean | undefined;
417
- price?: number | null | undefined;
418
- secondaryCategory?: import('../../shared').Category | null | undefined;
419
- thumbnailUrl?: string | null | undefined;
420
- ticketsUrl?: string | null | undefined;
421
- organizers?: {
422
- id: string;
423
- imageUrl: string | null;
424
- name: string;
425
- }[] | undefined;
426
- }>;
190
+ }, z.core.$strip>>>;
191
+ }, z.core.$strip>;
427
192
  source: z.ZodString;
428
193
  userId: z.ZodString;
429
- }, "strip", z.ZodTypeAny, {
430
- userId: string;
431
- createdAt: string;
432
- id: string;
433
- organizersNames: string[];
434
- partialEventState: {
435
- regions?: import('../../shared').Region[] | undefined;
436
- category?: import('../../shared').Category | undefined;
437
- startTime?: string | undefined;
438
- createdAt?: string | undefined;
439
- id?: (string & z.BRAND<"EventId">) | undefined;
440
- link?: string | null | undefined;
441
- title?: string | undefined;
442
- adress?: string | undefined;
443
- capacity?: number | null | undefined;
444
- description?: string | undefined;
445
- externalSourceId?: string | null | undefined;
446
- finishTime?: string | null | undefined;
447
- gpsCoordinates?: {
448
- latitude: number;
449
- longitude: number;
450
- } | undefined;
451
- hasHandicapAccess?: boolean | null | undefined;
452
- imageBlurHashes?: string[] | undefined;
453
- imageUrls?: string[] | undefined;
454
- isDisplayed?: boolean | undefined;
455
- isExhibition?: boolean | undefined;
456
- isOldTimes?: boolean | undefined;
457
- isPriceRange?: boolean | undefined;
458
- isPromoted?: boolean | undefined;
459
- price?: number | null | undefined;
460
- secondaryCategory?: import('../../shared').Category | null | undefined;
461
- thumbnailUrl?: string | null | undefined;
462
- ticketsUrl?: string | null | undefined;
463
- organizers?: {
464
- id: string & z.BRAND<"OrganizerId">;
465
- imageUrl: string | null;
466
- name: string;
467
- }[] | undefined;
468
- };
469
- source: string;
470
- }, {
471
- userId: string;
472
- createdAt: string;
473
- id: string;
474
- organizersNames: string[];
475
- partialEventState: {
476
- regions?: import('../../shared').Region[] | undefined;
477
- category?: import('../../shared').Category | undefined;
478
- startTime?: string | undefined;
479
- createdAt?: string | undefined;
480
- id?: string | undefined;
481
- link?: string | null | undefined;
482
- title?: string | undefined;
483
- adress?: string | undefined;
484
- capacity?: number | null | undefined;
485
- description?: string | undefined;
486
- externalSourceId?: string | null | undefined;
487
- finishTime?: string | null | undefined;
488
- gpsCoordinates?: {
489
- latitude: number;
490
- longitude: number;
491
- } | undefined;
492
- hasHandicapAccess?: boolean | null | undefined;
493
- imageBlurHashes?: string[] | undefined;
494
- imageUrls?: string[] | undefined;
495
- isDisplayed?: boolean | undefined;
496
- isExhibition?: boolean | undefined;
497
- isOldTimes?: boolean | undefined;
498
- isPriceRange?: boolean | undefined;
499
- isPromoted?: boolean | undefined;
500
- price?: number | null | undefined;
501
- secondaryCategory?: import('../../shared').Category | null | undefined;
502
- thumbnailUrl?: string | null | undefined;
503
- ticketsUrl?: string | null | undefined;
504
- organizers?: {
505
- id: string;
506
- imageUrl: string | null;
507
- name: string;
508
- }[] | undefined;
509
- };
510
- source: string;
511
- }>;
194
+ }, z.core.$strip>;
512
195
  export type ImportDTO = z.infer<typeof ImportDTOSchema>;
513
196
  export declare const EventFileUploadDTOSchema: z.ZodObject<{
514
197
  imageUploadUrls: z.ZodArray<z.ZodObject<{
515
198
  publicUrl: z.ZodString;
516
199
  uploadUrl: z.ZodString;
517
- }, "strip", z.ZodTypeAny, {
518
- publicUrl: string;
519
- uploadUrl: string;
520
- }, {
521
- publicUrl: string;
522
- uploadUrl: string;
523
- }>, "many">;
200
+ }, z.core.$strip>>;
524
201
  thumbnailUploadUrl: z.ZodObject<{
525
202
  publicUrl: z.ZodString;
526
203
  uploadUrl: z.ZodString;
527
- }, "strip", z.ZodTypeAny, {
528
- publicUrl: string;
529
- uploadUrl: string;
530
- }, {
531
- publicUrl: string;
532
- uploadUrl: string;
533
- }>;
534
- }, "strip", z.ZodTypeAny, {
535
- imageUploadUrls: {
536
- publicUrl: string;
537
- uploadUrl: string;
538
- }[];
539
- thumbnailUploadUrl: {
540
- publicUrl: string;
541
- uploadUrl: string;
542
- };
543
- }, {
544
- imageUploadUrls: {
545
- publicUrl: string;
546
- uploadUrl: string;
547
- }[];
548
- thumbnailUploadUrl: {
549
- publicUrl: string;
550
- uploadUrl: string;
551
- };
552
- }>;
204
+ }, z.core.$strip>;
205
+ }, z.core.$strip>;
553
206
  export type EventFileUploadDTO = z.infer<typeof EventFileUploadDTOSchema>;
554
207
  export declare const ImportFromUrlDTOSchema: z.ZodObject<{
555
208
  url: z.ZodString;
556
- }, "strip", z.ZodTypeAny, {
557
- url: string;
558
- }, {
559
- url: string;
560
- }>;
209
+ }, z.core.$strip>;
561
210
  export type ImportFromUrlDTO = z.infer<typeof ImportFromUrlDTOSchema>;
562
211
  export declare const ExtractedDatesDTOSchema: z.ZodObject<{
563
- startTime: z.ZodString;
564
- finishTime: z.ZodNullable<z.ZodString>;
565
- }, "strip", z.ZodTypeAny, {
566
- startTime: string;
567
- finishTime: string | null;
568
- }, {
569
- startTime: string;
570
- finishTime: string | null;
571
- }>;
212
+ startTime: z.ZodISODateTime;
213
+ finishTime: z.ZodNullable<z.ZodISODateTime>;
214
+ }, z.core.$strip>;
572
215
  export type ExtractedDatesDTO = z.infer<typeof ExtractedDatesDTOSchema>;
216
+ export type PublicEventDTO = z.infer<typeof PublicEventDTOSchema>;
573
217
  //# sourceMappingURL=event.d.ts.map