@sortipei/api-contracts 0.1.37 → 0.1.38

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.
@@ -12,9 +12,10 @@ export declare const EventDTOSchema: z.ZodObject<{
12
12
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
13
13
  imageUrls: z.ZodArray<z.ZodString, "many">;
14
14
  isDisplayed: z.ZodBoolean;
15
+ isExhibition: z.ZodBoolean;
15
16
  isOldTimes: z.ZodBoolean;
16
- isPromoted: z.ZodBoolean;
17
17
  isPriceRange: z.ZodBoolean;
18
+ isPromoted: z.ZodBoolean;
18
19
  link: z.ZodNullable<z.ZodString>;
19
20
  price: z.ZodNullable<z.ZodNumber>;
20
21
  regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
@@ -48,9 +49,10 @@ export declare const EventDTOSchema: z.ZodObject<{
48
49
  imageBlurHashes: string[];
49
50
  imageUrls: string[];
50
51
  isDisplayed: boolean;
52
+ isExhibition: boolean;
51
53
  isOldTimes: boolean;
52
- isPromoted: boolean;
53
54
  isPriceRange: boolean;
55
+ isPromoted: boolean;
54
56
  link: string | null;
55
57
  price: number | null;
56
58
  regions: import("../../shared").Region[];
@@ -76,9 +78,10 @@ export declare const EventDTOSchema: z.ZodObject<{
76
78
  imageBlurHashes: string[];
77
79
  imageUrls: string[];
78
80
  isDisplayed: boolean;
81
+ isExhibition: boolean;
79
82
  isOldTimes: boolean;
80
- isPromoted: boolean;
81
83
  isPriceRange: boolean;
84
+ isPromoted: boolean;
82
85
  link: string | null;
83
86
  price: number | null;
84
87
  regions: import("../../shared").Region[];
@@ -104,6 +107,8 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
104
107
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
105
108
  imageUrls: z.ZodArray<z.ZodString, "many">;
106
109
  isDisplayed: z.ZodBoolean;
110
+ isExhibition: z.ZodBoolean;
111
+ isOldTimes: z.ZodBoolean;
107
112
  isPriceRange: z.ZodBoolean;
108
113
  link: z.ZodNullable<z.ZodString>;
109
114
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
@@ -125,6 +130,8 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
125
130
  imageBlurHashes: string[];
126
131
  imageUrls: string[];
127
132
  isDisplayed: boolean;
133
+ isExhibition: boolean;
134
+ isOldTimes: boolean;
128
135
  isPriceRange: boolean;
129
136
  link: string | null;
130
137
  price: number | null;
@@ -146,6 +153,8 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
146
153
  imageBlurHashes: string[];
147
154
  imageUrls: string[];
148
155
  isDisplayed: boolean;
156
+ isExhibition: boolean;
157
+ isOldTimes: boolean;
149
158
  isPriceRange: boolean;
150
159
  link: string | null;
151
160
  price: number | null;
@@ -168,6 +177,8 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
168
177
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
169
178
  imageUrls: z.ZodArray<z.ZodString, "many">;
170
179
  isDisplayed: z.ZodBoolean;
180
+ isExhibition: z.ZodBoolean;
181
+ isOldTimes: z.ZodBoolean;
171
182
  isPriceRange: z.ZodBoolean;
172
183
  link: z.ZodNullable<z.ZodString>;
173
184
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
@@ -188,6 +199,8 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
188
199
  imageBlurHashes: string[];
189
200
  imageUrls: string[];
190
201
  isDisplayed: boolean;
202
+ isExhibition: boolean;
203
+ isOldTimes: boolean;
191
204
  isPriceRange: boolean;
192
205
  link: string | null;
193
206
  price: number | null;
@@ -208,6 +221,8 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
208
221
  imageBlurHashes: string[];
209
222
  imageUrls: string[];
210
223
  isDisplayed: boolean;
224
+ isExhibition: boolean;
225
+ isOldTimes: boolean;
211
226
  isPriceRange: boolean;
212
227
  link: string | null;
213
228
  price: number | null;
@@ -268,9 +283,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
268
283
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
269
284
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
270
285
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
286
+ isExhibition: z.ZodOptional<z.ZodBoolean>;
271
287
  isOldTimes: z.ZodOptional<z.ZodBoolean>;
272
- isPromoted: z.ZodOptional<z.ZodBoolean>;
273
288
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
289
+ isPromoted: z.ZodOptional<z.ZodBoolean>;
274
290
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
291
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
276
292
  regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
@@ -304,9 +320,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
304
320
  imageBlurHashes?: string[] | undefined;
305
321
  imageUrls?: string[] | undefined;
306
322
  isDisplayed?: boolean | undefined;
323
+ isExhibition?: boolean | undefined;
307
324
  isOldTimes?: boolean | undefined;
308
- isPromoted?: boolean | undefined;
309
325
  isPriceRange?: boolean | undefined;
326
+ isPromoted?: boolean | undefined;
310
327
  link?: string | null | undefined;
311
328
  price?: number | null | undefined;
312
329
  regions?: import("../../shared").Region[] | undefined;
@@ -332,9 +349,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
332
349
  imageBlurHashes?: string[] | undefined;
333
350
  imageUrls?: string[] | undefined;
334
351
  isDisplayed?: boolean | undefined;
352
+ isExhibition?: boolean | undefined;
335
353
  isOldTimes?: boolean | undefined;
336
- isPromoted?: boolean | undefined;
337
354
  isPriceRange?: boolean | undefined;
355
+ isPromoted?: boolean | undefined;
338
356
  link?: string | null | undefined;
339
357
  price?: number | null | undefined;
340
358
  regions?: import("../../shared").Region[] | undefined;
@@ -367,9 +385,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
367
385
  imageBlurHashes?: string[] | undefined;
368
386
  imageUrls?: string[] | undefined;
369
387
  isDisplayed?: boolean | undefined;
388
+ isExhibition?: boolean | undefined;
370
389
  isOldTimes?: boolean | undefined;
371
- isPromoted?: boolean | undefined;
372
390
  isPriceRange?: boolean | undefined;
391
+ isPromoted?: boolean | undefined;
373
392
  link?: string | null | undefined;
374
393
  price?: number | null | undefined;
375
394
  regions?: import("../../shared").Region[] | undefined;
@@ -402,9 +421,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
402
421
  imageBlurHashes?: string[] | undefined;
403
422
  imageUrls?: string[] | undefined;
404
423
  isDisplayed?: boolean | undefined;
424
+ isExhibition?: boolean | undefined;
405
425
  isOldTimes?: boolean | undefined;
406
- isPromoted?: boolean | undefined;
407
426
  isPriceRange?: boolean | undefined;
427
+ isPromoted?: boolean | undefined;
408
428
  link?: string | null | undefined;
409
429
  price?: number | null | undefined;
410
430
  regions?: import("../../shared").Region[] | 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,MAAM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,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -13,9 +13,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
13
13
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
14
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
15
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
16
+ isExhibition: z.ZodOptional<z.ZodBoolean>;
16
17
  isOldTimes: z.ZodOptional<z.ZodBoolean>;
17
- isPromoted: z.ZodOptional<z.ZodBoolean>;
18
18
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
19
+ isPromoted: z.ZodOptional<z.ZodBoolean>;
19
20
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
21
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
22
  regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
@@ -49,9 +50,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
49
50
  imageBlurHashes?: string[] | undefined;
50
51
  imageUrls?: string[] | undefined;
51
52
  isDisplayed?: boolean | undefined;
53
+ isExhibition?: boolean | undefined;
52
54
  isOldTimes?: boolean | undefined;
53
- isPromoted?: boolean | undefined;
54
55
  isPriceRange?: boolean | undefined;
56
+ isPromoted?: boolean | undefined;
55
57
  link?: string | null | undefined;
56
58
  price?: number | null | undefined;
57
59
  regions?: import("../../shared").Region[] | undefined;
@@ -77,9 +79,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
77
79
  imageBlurHashes?: string[] | undefined;
78
80
  imageUrls?: string[] | undefined;
79
81
  isDisplayed?: boolean | undefined;
82
+ isExhibition?: boolean | undefined;
80
83
  isOldTimes?: boolean | undefined;
81
- isPromoted?: boolean | undefined;
82
84
  isPriceRange?: boolean | undefined;
85
+ isPromoted?: boolean | undefined;
83
86
  link?: string | null | undefined;
84
87
  price?: number | null | undefined;
85
88
  regions?: import("../../shared").Region[] | undefined;
@@ -112,9 +115,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
112
115
  imageBlurHashes?: string[] | undefined;
113
116
  imageUrls?: string[] | undefined;
114
117
  isDisplayed?: boolean | undefined;
118
+ isExhibition?: boolean | undefined;
115
119
  isOldTimes?: boolean | undefined;
116
- isPromoted?: boolean | undefined;
117
120
  isPriceRange?: boolean | undefined;
121
+ isPromoted?: boolean | undefined;
118
122
  link?: string | null | undefined;
119
123
  price?: number | null | undefined;
120
124
  regions?: import("../../shared").Region[] | undefined;
@@ -146,9 +150,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
146
150
  imageBlurHashes?: string[] | undefined;
147
151
  imageUrls?: string[] | undefined;
148
152
  isDisplayed?: boolean | undefined;
153
+ isExhibition?: boolean | undefined;
149
154
  isOldTimes?: boolean | undefined;
150
- isPromoted?: boolean | undefined;
151
155
  isPriceRange?: boolean | undefined;
156
+ isPromoted?: boolean | undefined;
152
157
  link?: string | null | undefined;
153
158
  price?: number | null | undefined;
154
159
  regions?: import("../../shared").Region[] | 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.37",
3
+ "version": "0.1.38",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",