@sortipei/api-contracts 0.1.24 → 0.1.25

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,6 +12,7 @@ export declare const EventDTOSchema: z.ZodObject<{
12
12
  imageUrls: z.ZodArray<z.ZodString, "many">;
13
13
  isDisplayed: z.ZodBoolean;
14
14
  isPromoted: z.ZodBoolean;
15
+ isPriceRange: z.ZodBoolean;
15
16
  link: z.ZodNullable<z.ZodString>;
16
17
  price: z.ZodNullable<z.ZodNumber>;
17
18
  regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
@@ -45,6 +46,7 @@ export declare const EventDTOSchema: z.ZodObject<{
45
46
  imageUrls: string[];
46
47
  isDisplayed: boolean;
47
48
  isPromoted: boolean;
49
+ isPriceRange: boolean;
48
50
  link: string | null;
49
51
  price: number | null;
50
52
  regions: import('../../shared').Region[];
@@ -70,6 +72,7 @@ export declare const EventDTOSchema: z.ZodObject<{
70
72
  imageUrls: string[];
71
73
  isDisplayed: boolean;
72
74
  isPromoted: boolean;
75
+ isPriceRange: boolean;
73
76
  link: string | null;
74
77
  price: number | null;
75
78
  regions: import('../../shared').Region[];
@@ -94,6 +97,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
94
97
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
95
98
  imageUrls: z.ZodArray<z.ZodString, "many">;
96
99
  isDisplayed: z.ZodBoolean;
100
+ isPriceRange: z.ZodBoolean;
97
101
  link: z.ZodNullable<z.ZodString>;
98
102
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
99
103
  price: z.ZodNullable<z.ZodNumber>;
@@ -113,6 +117,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
113
117
  imageBlurHashes: string[];
114
118
  imageUrls: string[];
115
119
  isDisplayed: boolean;
120
+ isPriceRange: boolean;
116
121
  link: string | null;
117
122
  price: number | null;
118
123
  regions: import('../../shared').Region[];
@@ -132,6 +137,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
132
137
  imageBlurHashes: string[];
133
138
  imageUrls: string[];
134
139
  isDisplayed: boolean;
140
+ isPriceRange: boolean;
135
141
  link: string | null;
136
142
  price: number | null;
137
143
  regions: import('../../shared').Region[];
@@ -152,6 +158,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
152
158
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
153
159
  imageUrls: z.ZodArray<z.ZodString, "many">;
154
160
  isDisplayed: z.ZodBoolean;
161
+ isPriceRange: z.ZodBoolean;
155
162
  link: z.ZodNullable<z.ZodString>;
156
163
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
157
164
  price: z.ZodNullable<z.ZodNumber>;
@@ -170,6 +177,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
170
177
  imageBlurHashes: string[];
171
178
  imageUrls: string[];
172
179
  isDisplayed: boolean;
180
+ isPriceRange: boolean;
173
181
  link: string | null;
174
182
  price: number | null;
175
183
  regions: import('../../shared').Region[];
@@ -188,6 +196,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
188
196
  imageBlurHashes: string[];
189
197
  imageUrls: string[];
190
198
  isDisplayed: boolean;
199
+ isPriceRange: boolean;
191
200
  link: string | null;
192
201
  price: number | null;
193
202
  regions: import('../../shared').Region[];
@@ -247,6 +256,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
247
256
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
248
257
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
249
258
  isPromoted: z.ZodOptional<z.ZodBoolean>;
259
+ isPriceRange: z.ZodOptional<z.ZodBoolean>;
250
260
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
261
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
252
262
  regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
@@ -280,6 +290,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
280
290
  imageUrls?: string[] | undefined;
281
291
  isDisplayed?: boolean | undefined;
282
292
  isPromoted?: boolean | undefined;
293
+ isPriceRange?: boolean | undefined;
283
294
  link?: string | null | undefined;
284
295
  price?: number | null | undefined;
285
296
  regions?: import('../../shared').Region[] | undefined;
@@ -305,6 +316,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
305
316
  imageUrls?: string[] | undefined;
306
317
  isDisplayed?: boolean | undefined;
307
318
  isPromoted?: boolean | undefined;
319
+ isPriceRange?: boolean | undefined;
308
320
  link?: string | null | undefined;
309
321
  price?: number | null | undefined;
310
322
  regions?: import('../../shared').Region[] | undefined;
@@ -337,6 +349,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
337
349
  imageUrls?: string[] | undefined;
338
350
  isDisplayed?: boolean | undefined;
339
351
  isPromoted?: boolean | undefined;
352
+ isPriceRange?: boolean | undefined;
340
353
  link?: string | null | undefined;
341
354
  price?: number | null | undefined;
342
355
  regions?: import('../../shared').Region[] | undefined;
@@ -369,6 +382,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
369
382
  imageUrls?: string[] | undefined;
370
383
  isDisplayed?: boolean | undefined;
371
384
  isPromoted?: boolean | undefined;
385
+ isPriceRange?: boolean | undefined;
372
386
  link?: string | null | undefined;
373
387
  price?: number | null | undefined;
374
388
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,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,6 +13,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
13
13
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
14
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
15
15
  isPromoted: z.ZodOptional<z.ZodBoolean>;
16
+ isPriceRange: z.ZodOptional<z.ZodBoolean>;
16
17
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
18
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
19
  regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
@@ -46,6 +47,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
46
47
  imageUrls?: string[] | undefined;
47
48
  isDisplayed?: boolean | undefined;
48
49
  isPromoted?: boolean | undefined;
50
+ isPriceRange?: boolean | undefined;
49
51
  link?: string | null | undefined;
50
52
  price?: number | null | undefined;
51
53
  regions?: import('../../shared').Region[] | undefined;
@@ -71,6 +73,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
71
73
  imageUrls?: string[] | undefined;
72
74
  isDisplayed?: boolean | undefined;
73
75
  isPromoted?: boolean | undefined;
76
+ isPriceRange?: boolean | undefined;
74
77
  link?: string | null | undefined;
75
78
  price?: number | null | undefined;
76
79
  regions?: import('../../shared').Region[] | undefined;
@@ -103,6 +106,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
103
106
  imageUrls?: string[] | undefined;
104
107
  isDisplayed?: boolean | undefined;
105
108
  isPromoted?: boolean | undefined;
109
+ isPriceRange?: boolean | undefined;
106
110
  link?: string | null | undefined;
107
111
  price?: number | null | undefined;
108
112
  regions?: import('../../shared').Region[] | undefined;
@@ -134,6 +138,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
134
138
  imageUrls?: string[] | undefined;
135
139
  isDisplayed?: boolean | undefined;
136
140
  isPromoted?: boolean | undefined;
141
+ isPriceRange?: boolean | undefined;
137
142
  link?: string | null | undefined;
138
143
  price?: number | null | undefined;
139
144
  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"}
@@ -4107,6 +4107,7 @@ const EventDTOSchema = z.object({
4107
4107
  imageUrls: URLSchema.array(),
4108
4108
  isDisplayed: z.boolean(),
4109
4109
  isPromoted: z.boolean(),
4110
+ isPriceRange: z.boolean(),
4110
4111
  link: URLSchema.nullable(),
4111
4112
  price: SafeNonNegativeFloatSchema.nullable(),
4112
4113
  regions: RegionSchema.array(),
@@ -4131,6 +4132,7 @@ const CreateEventDTOSchema = z.object({
4131
4132
  imageBlurHashes: StringSchema.array(),
4132
4133
  imageUrls: URLSchema.array(),
4133
4134
  isDisplayed: z.boolean(),
4135
+ isPriceRange: z.boolean(),
4134
4136
  link: URLSchema.nullable(),
4135
4137
  organizersIds: OrganizerIdSchema.array().min(1),
4136
4138
  price: SafeNonNegativeFloatSchema.nullable(),
@@ -4105,6 +4105,7 @@ const EventDTOSchema = z.object({
4105
4105
  imageUrls: URLSchema.array(),
4106
4106
  isDisplayed: z.boolean(),
4107
4107
  isPromoted: z.boolean(),
4108
+ isPriceRange: z.boolean(),
4108
4109
  link: URLSchema.nullable(),
4109
4110
  price: SafeNonNegativeFloatSchema.nullable(),
4110
4111
  regions: RegionSchema.array(),
@@ -4129,6 +4130,7 @@ const CreateEventDTOSchema = z.object({
4129
4130
  imageBlurHashes: StringSchema.array(),
4130
4131
  imageUrls: URLSchema.array(),
4131
4132
  isDisplayed: z.boolean(),
4133
+ isPriceRange: z.boolean(),
4132
4134
  link: URLSchema.nullable(),
4133
4135
  organizersIds: OrganizerIdSchema.array().min(1),
4134
4136
  price: SafeNonNegativeFloatSchema.nullable(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.1.24",
3
+ "version": "0.1.25",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",