@sortipei/api-contracts 0.1.25 → 0.1.27

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,12 +2,22 @@ import { z } from 'zod';
2
2
  export declare const EventDTOSchema: z.ZodObject<{
3
3
  adress: z.ZodString;
4
4
  capacity: z.ZodNullable<z.ZodNumber>;
5
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
5
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
6
6
  createdAt: z.ZodString;
7
7
  description: z.ZodString;
8
8
  finishTime: z.ZodNullable<z.ZodString>;
9
9
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
10
10
  id: z.ZodBranded<z.ZodString, "EventId">;
11
+ gpsCoordinates: z.ZodObject<{
12
+ latitude: z.ZodNumber;
13
+ longitude: z.ZodNumber;
14
+ }, "strip", z.ZodTypeAny, {
15
+ latitude: number;
16
+ longitude: number;
17
+ }, {
18
+ latitude: number;
19
+ longitude: number;
20
+ }>;
11
21
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
12
22
  imageUrls: z.ZodArray<z.ZodString, "many">;
13
23
  isDisplayed: z.ZodBoolean;
@@ -15,7 +25,7 @@ export declare const EventDTOSchema: z.ZodObject<{
15
25
  isPriceRange: z.ZodBoolean;
16
26
  link: z.ZodNullable<z.ZodString>;
17
27
  price: z.ZodNullable<z.ZodNumber>;
18
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
28
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
19
29
  startTime: z.ZodString;
20
30
  title: z.ZodString;
21
31
  thumbnailUrl: z.ZodNullable<z.ZodString>;
@@ -36,12 +46,16 @@ export declare const EventDTOSchema: z.ZodObject<{
36
46
  }, "strip", z.ZodTypeAny, {
37
47
  adress: string;
38
48
  capacity: number | null;
39
- category: import('../../shared').Category;
49
+ category: import("../../shared").Category;
40
50
  createdAt: string;
41
51
  description: string;
42
52
  finishTime: string | null;
43
53
  hasHandicapAccess: boolean | null;
44
54
  id: string & z.BRAND<"EventId">;
55
+ gpsCoordinates: {
56
+ latitude: number;
57
+ longitude: number;
58
+ };
45
59
  imageBlurHashes: string[];
46
60
  imageUrls: string[];
47
61
  isDisplayed: boolean;
@@ -49,7 +63,7 @@ export declare const EventDTOSchema: z.ZodObject<{
49
63
  isPriceRange: boolean;
50
64
  link: string | null;
51
65
  price: number | null;
52
- regions: import('../../shared').Region[];
66
+ regions: import("../../shared").Region[];
53
67
  startTime: string;
54
68
  title: string;
55
69
  thumbnailUrl: string | null;
@@ -62,12 +76,16 @@ export declare const EventDTOSchema: z.ZodObject<{
62
76
  }, {
63
77
  adress: string;
64
78
  capacity: number | null;
65
- category: import('../../shared').Category;
79
+ category: import("../../shared").Category;
66
80
  createdAt: string;
67
81
  description: string;
68
82
  finishTime: string | null;
69
83
  hasHandicapAccess: boolean | null;
70
84
  id: string;
85
+ gpsCoordinates: {
86
+ latitude: number;
87
+ longitude: number;
88
+ };
71
89
  imageBlurHashes: string[];
72
90
  imageUrls: string[];
73
91
  isDisplayed: boolean;
@@ -75,7 +93,7 @@ export declare const EventDTOSchema: z.ZodObject<{
75
93
  isPriceRange: boolean;
76
94
  link: string | null;
77
95
  price: number | null;
78
- regions: import('../../shared').Region[];
96
+ regions: import("../../shared").Region[];
79
97
  startTime: string;
80
98
  title: string;
81
99
  thumbnailUrl: string | null;
@@ -89,7 +107,7 @@ export declare const EventDTOSchema: z.ZodObject<{
89
107
  export declare const CreateEventDTOSchema: z.ZodObject<{
90
108
  adress: z.ZodString;
91
109
  capacity: z.ZodNullable<z.ZodNumber>;
92
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
110
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
93
111
  description: z.ZodString;
94
112
  finishTime: z.ZodNullable<z.ZodString>;
95
113
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
@@ -101,7 +119,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
101
119
  link: z.ZodNullable<z.ZodString>;
102
120
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
103
121
  price: z.ZodNullable<z.ZodNumber>;
104
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
122
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
105
123
  startTime: z.ZodString;
106
124
  title: z.ZodString;
107
125
  thumbnailUrl: z.ZodNullable<z.ZodString>;
@@ -109,7 +127,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
109
127
  }, "strip", z.ZodTypeAny, {
110
128
  adress: string;
111
129
  capacity: number | null;
112
- category: import('../../shared').Category;
130
+ category: import("../../shared").Category;
113
131
  description: string;
114
132
  finishTime: string | null;
115
133
  hasHandicapAccess: boolean | null;
@@ -120,7 +138,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
120
138
  isPriceRange: boolean;
121
139
  link: string | null;
122
140
  price: number | null;
123
- regions: import('../../shared').Region[];
141
+ regions: import("../../shared").Region[];
124
142
  startTime: string;
125
143
  title: string;
126
144
  thumbnailUrl: string | null;
@@ -129,7 +147,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
129
147
  }, {
130
148
  adress: string;
131
149
  capacity: number | null;
132
- category: import('../../shared').Category;
150
+ category: import("../../shared").Category;
133
151
  description: string;
134
152
  finishTime: string | null;
135
153
  hasHandicapAccess: boolean | null;
@@ -140,7 +158,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
140
158
  isPriceRange: boolean;
141
159
  link: string | null;
142
160
  price: number | null;
143
- regions: import('../../shared').Region[];
161
+ regions: import("../../shared").Region[];
144
162
  startTime: string;
145
163
  title: string;
146
164
  thumbnailUrl: string | null;
@@ -150,7 +168,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
150
168
  export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
151
169
  adress: z.ZodString;
152
170
  capacity: z.ZodNullable<z.ZodNumber>;
153
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
171
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
154
172
  description: z.ZodString;
155
173
  finishTime: z.ZodNullable<z.ZodString>;
156
174
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
@@ -162,7 +180,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
162
180
  link: z.ZodNullable<z.ZodString>;
163
181
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
164
182
  price: z.ZodNullable<z.ZodNumber>;
165
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
183
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
166
184
  startTime: z.ZodString;
167
185
  title: z.ZodString;
168
186
  thumbnailUrl: z.ZodNullable<z.ZodString>;
@@ -170,7 +188,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
170
188
  }, "id">, "strip", z.ZodTypeAny, {
171
189
  adress: string;
172
190
  capacity: number | null;
173
- category: import('../../shared').Category;
191
+ category: import("../../shared").Category;
174
192
  description: string;
175
193
  finishTime: string | null;
176
194
  hasHandicapAccess: boolean | null;
@@ -180,7 +198,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
180
198
  isPriceRange: boolean;
181
199
  link: string | null;
182
200
  price: number | null;
183
- regions: import('../../shared').Region[];
201
+ regions: import("../../shared").Region[];
184
202
  startTime: string;
185
203
  title: string;
186
204
  thumbnailUrl: string | null;
@@ -189,7 +207,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
189
207
  }, {
190
208
  adress: string;
191
209
  capacity: number | null;
192
- category: import('../../shared').Category;
210
+ category: import("../../shared").Category;
193
211
  description: string;
194
212
  finishTime: string | null;
195
213
  hasHandicapAccess: boolean | null;
@@ -199,7 +217,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
199
217
  isPriceRange: boolean;
200
218
  link: string | null;
201
219
  price: number | null;
202
- regions: import('../../shared').Region[];
220
+ regions: import("../../shared").Region[];
203
221
  startTime: string;
204
222
  title: string;
205
223
  thumbnailUrl: string | null;
@@ -246,12 +264,22 @@ export declare const ImportDTOSchema: z.ZodObject<{
246
264
  partialEventState: z.ZodObject<{
247
265
  adress: z.ZodOptional<z.ZodString>;
248
266
  capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
249
- category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
267
+ category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
250
268
  createdAt: z.ZodOptional<z.ZodString>;
251
269
  description: z.ZodOptional<z.ZodString>;
252
270
  finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
253
271
  hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
254
272
  id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
273
+ gpsCoordinates: z.ZodOptional<z.ZodObject<{
274
+ latitude: z.ZodNumber;
275
+ longitude: z.ZodNumber;
276
+ }, "strip", z.ZodTypeAny, {
277
+ latitude: number;
278
+ longitude: number;
279
+ }, {
280
+ latitude: number;
281
+ longitude: number;
282
+ }>>;
255
283
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
256
284
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
257
285
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
@@ -259,7 +287,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
259
287
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
260
288
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
261
289
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
262
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
290
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
263
291
  startTime: z.ZodOptional<z.ZodString>;
264
292
  title: z.ZodOptional<z.ZodString>;
265
293
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -280,12 +308,16 @@ export declare const ImportDTOSchema: z.ZodObject<{
280
308
  }, "strip", z.ZodTypeAny, {
281
309
  adress?: string | undefined;
282
310
  capacity?: number | null | undefined;
283
- category?: import('../../shared').Category | undefined;
311
+ category?: import("../../shared").Category | undefined;
284
312
  createdAt?: string | undefined;
285
313
  description?: string | undefined;
286
314
  finishTime?: string | null | undefined;
287
315
  hasHandicapAccess?: boolean | null | undefined;
288
316
  id?: (string & z.BRAND<"EventId">) | undefined;
317
+ gpsCoordinates?: {
318
+ latitude: number;
319
+ longitude: number;
320
+ } | undefined;
289
321
  imageBlurHashes?: string[] | undefined;
290
322
  imageUrls?: string[] | undefined;
291
323
  isDisplayed?: boolean | undefined;
@@ -293,7 +325,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
293
325
  isPriceRange?: boolean | undefined;
294
326
  link?: string | null | undefined;
295
327
  price?: number | null | undefined;
296
- regions?: import('../../shared').Region[] | undefined;
328
+ regions?: import("../../shared").Region[] | undefined;
297
329
  startTime?: string | undefined;
298
330
  title?: string | undefined;
299
331
  thumbnailUrl?: string | null | undefined;
@@ -306,12 +338,16 @@ export declare const ImportDTOSchema: z.ZodObject<{
306
338
  }, {
307
339
  adress?: string | undefined;
308
340
  capacity?: number | null | undefined;
309
- category?: import('../../shared').Category | undefined;
341
+ category?: import("../../shared").Category | undefined;
310
342
  createdAt?: string | undefined;
311
343
  description?: string | undefined;
312
344
  finishTime?: string | null | undefined;
313
345
  hasHandicapAccess?: boolean | null | undefined;
314
346
  id?: string | undefined;
347
+ gpsCoordinates?: {
348
+ latitude: number;
349
+ longitude: number;
350
+ } | undefined;
315
351
  imageBlurHashes?: string[] | undefined;
316
352
  imageUrls?: string[] | undefined;
317
353
  isDisplayed?: boolean | undefined;
@@ -319,7 +355,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
319
355
  isPriceRange?: boolean | undefined;
320
356
  link?: string | null | undefined;
321
357
  price?: number | null | undefined;
322
- regions?: import('../../shared').Region[] | undefined;
358
+ regions?: import("../../shared").Region[] | undefined;
323
359
  startTime?: string | undefined;
324
360
  title?: string | undefined;
325
361
  thumbnailUrl?: string | null | undefined;
@@ -339,12 +375,16 @@ export declare const ImportDTOSchema: z.ZodObject<{
339
375
  partialEventState: {
340
376
  adress?: string | undefined;
341
377
  capacity?: number | null | undefined;
342
- category?: import('../../shared').Category | undefined;
378
+ category?: import("../../shared").Category | undefined;
343
379
  createdAt?: string | undefined;
344
380
  description?: string | undefined;
345
381
  finishTime?: string | null | undefined;
346
382
  hasHandicapAccess?: boolean | null | undefined;
347
383
  id?: (string & z.BRAND<"EventId">) | undefined;
384
+ gpsCoordinates?: {
385
+ latitude: number;
386
+ longitude: number;
387
+ } | undefined;
348
388
  imageBlurHashes?: string[] | undefined;
349
389
  imageUrls?: string[] | undefined;
350
390
  isDisplayed?: boolean | undefined;
@@ -352,7 +392,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
352
392
  isPriceRange?: boolean | undefined;
353
393
  link?: string | null | undefined;
354
394
  price?: number | null | undefined;
355
- regions?: import('../../shared').Region[] | undefined;
395
+ regions?: import("../../shared").Region[] | undefined;
356
396
  startTime?: string | undefined;
357
397
  title?: string | undefined;
358
398
  thumbnailUrl?: string | null | undefined;
@@ -372,12 +412,16 @@ export declare const ImportDTOSchema: z.ZodObject<{
372
412
  partialEventState: {
373
413
  adress?: string | undefined;
374
414
  capacity?: number | null | undefined;
375
- category?: import('../../shared').Category | undefined;
415
+ category?: import("../../shared").Category | undefined;
376
416
  createdAt?: string | undefined;
377
417
  description?: string | undefined;
378
418
  finishTime?: string | null | undefined;
379
419
  hasHandicapAccess?: boolean | null | undefined;
380
420
  id?: string | undefined;
421
+ gpsCoordinates?: {
422
+ latitude: number;
423
+ longitude: number;
424
+ } | undefined;
381
425
  imageBlurHashes?: string[] | undefined;
382
426
  imageUrls?: string[] | undefined;
383
427
  isDisplayed?: boolean | undefined;
@@ -385,7 +429,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
385
429
  isPriceRange?: boolean | undefined;
386
430
  link?: string | null | undefined;
387
431
  price?: number | null | undefined;
388
- regions?: import('../../shared').Region[] | undefined;
432
+ regions?: import("../../shared").Region[] | undefined;
389
433
  startTime?: string | undefined;
390
434
  title?: string | undefined;
391
435
  thumbnailUrl?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AA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OSchema: z.ZodObject<{
3
3
  partialEventState: z.ZodObject<{
4
4
  adress: z.ZodOptional<z.ZodString>;
5
5
  capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6
- category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
6
+ category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
7
7
  createdAt: z.ZodOptional<z.ZodString>;
8
8
  description: z.ZodOptional<z.ZodString>;
9
9
  finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
10
  hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
11
  id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
12
+ gpsCoordinates: z.ZodOptional<z.ZodObject<{
13
+ latitude: z.ZodNumber;
14
+ longitude: z.ZodNumber;
15
+ }, "strip", z.ZodTypeAny, {
16
+ latitude: number;
17
+ longitude: number;
18
+ }, {
19
+ latitude: number;
20
+ longitude: number;
21
+ }>>;
12
22
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13
23
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
24
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
@@ -16,7 +26,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
16
26
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
17
27
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
28
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
29
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
20
30
  startTime: z.ZodOptional<z.ZodString>;
21
31
  title: z.ZodOptional<z.ZodString>;
22
32
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -37,12 +47,16 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
37
47
  }, "strip", z.ZodTypeAny, {
38
48
  adress?: string | undefined;
39
49
  capacity?: number | null | undefined;
40
- category?: import('../../shared').Category | undefined;
50
+ category?: import("../../shared").Category | undefined;
41
51
  createdAt?: string | undefined;
42
52
  description?: string | undefined;
43
53
  finishTime?: string | null | undefined;
44
54
  hasHandicapAccess?: boolean | null | undefined;
45
55
  id?: (string & z.BRAND<"EventId">) | undefined;
56
+ gpsCoordinates?: {
57
+ latitude: number;
58
+ longitude: number;
59
+ } | undefined;
46
60
  imageBlurHashes?: string[] | undefined;
47
61
  imageUrls?: string[] | undefined;
48
62
  isDisplayed?: boolean | undefined;
@@ -50,7 +64,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
50
64
  isPriceRange?: boolean | undefined;
51
65
  link?: string | null | undefined;
52
66
  price?: number | null | undefined;
53
- regions?: import('../../shared').Region[] | undefined;
67
+ regions?: import("../../shared").Region[] | undefined;
54
68
  startTime?: string | undefined;
55
69
  title?: string | undefined;
56
70
  thumbnailUrl?: string | null | undefined;
@@ -63,12 +77,16 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
63
77
  }, {
64
78
  adress?: string | undefined;
65
79
  capacity?: number | null | undefined;
66
- category?: import('../../shared').Category | undefined;
80
+ category?: import("../../shared").Category | undefined;
67
81
  createdAt?: string | undefined;
68
82
  description?: string | undefined;
69
83
  finishTime?: string | null | undefined;
70
84
  hasHandicapAccess?: boolean | null | undefined;
71
85
  id?: string | undefined;
86
+ gpsCoordinates?: {
87
+ latitude: number;
88
+ longitude: number;
89
+ } | undefined;
72
90
  imageBlurHashes?: string[] | undefined;
73
91
  imageUrls?: string[] | undefined;
74
92
  isDisplayed?: boolean | undefined;
@@ -76,7 +94,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
76
94
  isPriceRange?: boolean | undefined;
77
95
  link?: string | null | undefined;
78
96
  price?: number | null | undefined;
79
- regions?: import('../../shared').Region[] | undefined;
97
+ regions?: import("../../shared").Region[] | undefined;
80
98
  startTime?: string | undefined;
81
99
  title?: string | undefined;
82
100
  thumbnailUrl?: string | null | undefined;
@@ -96,12 +114,16 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
96
114
  partialEventState: {
97
115
  adress?: string | undefined;
98
116
  capacity?: number | null | undefined;
99
- category?: import('../../shared').Category | undefined;
117
+ category?: import("../../shared").Category | undefined;
100
118
  createdAt?: string | undefined;
101
119
  description?: string | undefined;
102
120
  finishTime?: string | null | undefined;
103
121
  hasHandicapAccess?: boolean | null | undefined;
104
122
  id?: (string & z.BRAND<"EventId">) | undefined;
123
+ gpsCoordinates?: {
124
+ latitude: number;
125
+ longitude: number;
126
+ } | undefined;
105
127
  imageBlurHashes?: string[] | undefined;
106
128
  imageUrls?: string[] | undefined;
107
129
  isDisplayed?: boolean | undefined;
@@ -109,7 +131,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
109
131
  isPriceRange?: boolean | undefined;
110
132
  link?: string | null | undefined;
111
133
  price?: number | null | undefined;
112
- regions?: import('../../shared').Region[] | undefined;
134
+ regions?: import("../../shared").Region[] | undefined;
113
135
  startTime?: string | undefined;
114
136
  title?: string | undefined;
115
137
  thumbnailUrl?: string | null | undefined;
@@ -128,12 +150,16 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
128
150
  partialEventState: {
129
151
  adress?: string | undefined;
130
152
  capacity?: number | null | undefined;
131
- category?: import('../../shared').Category | undefined;
153
+ category?: import("../../shared").Category | undefined;
132
154
  createdAt?: string | undefined;
133
155
  description?: string | undefined;
134
156
  finishTime?: string | null | undefined;
135
157
  hasHandicapAccess?: boolean | null | undefined;
136
158
  id?: string | undefined;
159
+ gpsCoordinates?: {
160
+ latitude: number;
161
+ longitude: number;
162
+ } | undefined;
137
163
  imageBlurHashes?: string[] | undefined;
138
164
  imageUrls?: string[] | undefined;
139
165
  isDisplayed?: boolean | undefined;
@@ -141,7 +167,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
141
167
  isPriceRange?: boolean | undefined;
142
168
  link?: string | null | undefined;
143
169
  price?: number | null | undefined;
144
- regions?: import('../../shared').Region[] | undefined;
170
+ regions?: import("../../shared").Region[] | undefined;
145
171
  startTime?: string | undefined;
146
172
  title?: string | undefined;
147
173
  thumbnailUrl?: string | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
1
+ {"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.1.25",
3
+ "version": "0.1.27",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",