@sortipei/api-contracts 0.1.32 → 0.1.34

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,17 +12,17 @@ export declare const MainAdDTOSchema: z.ZodObject<{
12
12
  endTime: string;
13
13
  createdAt: string;
14
14
  id: string & z.BRAND<"MainAdId">;
15
- link: string | null;
16
15
  imageUrl: string;
17
16
  isEnabled: boolean;
17
+ link: string | null;
18
18
  }, {
19
19
  startTime: string;
20
20
  endTime: string;
21
21
  createdAt: string;
22
22
  id: string;
23
- link: string | null;
24
23
  imageUrl: string;
25
24
  isEnabled: boolean;
25
+ link: string | null;
26
26
  }>;
27
27
  export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
28
28
  createdAt: z.ZodString;
@@ -35,15 +35,15 @@ export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
35
35
  }, "createdAt" | "id">, "strip", z.ZodTypeAny, {
36
36
  startTime: string;
37
37
  endTime: string;
38
- link: string | null;
39
38
  imageUrl: string;
40
39
  isEnabled: boolean;
40
+ link: string | null;
41
41
  }, {
42
42
  startTime: string;
43
43
  endTime: string;
44
- link: string | null;
45
44
  imageUrl: string;
46
45
  isEnabled: boolean;
46
+ link: string | null;
47
47
  }>;
48
48
  export declare const RegionalAdDTOSchema: z.ZodObject<{
49
49
  createdAt: z.ZodString;
@@ -55,23 +55,23 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
55
55
  regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
56
56
  startTime: z.ZodString;
57
57
  }, "strip", z.ZodTypeAny, {
58
+ regions: import("../../shared").Region[];
58
59
  startTime: string;
59
60
  endTime: string;
60
61
  createdAt: string;
61
62
  id: string & z.BRAND<"RegionalAdId">;
62
- link: string | null;
63
- regions: import("../../shared").Region[];
64
63
  imageUrl: string;
65
64
  isEnabled: boolean;
65
+ link: string | null;
66
66
  }, {
67
+ regions: import("../../shared").Region[];
67
68
  startTime: string;
68
69
  endTime: string;
69
70
  createdAt: string;
70
71
  id: string;
71
- link: string | null;
72
- regions: import("../../shared").Region[];
73
72
  imageUrl: string;
74
73
  isEnabled: boolean;
74
+ link: string | null;
75
75
  }>;
76
76
  export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
77
77
  createdAt: z.ZodString;
@@ -83,19 +83,19 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
83
83
  regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
84
84
  startTime: z.ZodString;
85
85
  }, "createdAt" | "id">, "strip", z.ZodTypeAny, {
86
+ regions: import("../../shared").Region[];
86
87
  startTime: string;
87
88
  endTime: string;
88
- link: string | null;
89
- regions: import("../../shared").Region[];
90
89
  imageUrl: string;
91
90
  isEnabled: boolean;
91
+ link: string | null;
92
92
  }, {
93
+ regions: import("../../shared").Region[];
93
94
  startTime: string;
94
95
  endTime: string;
95
- link: string | null;
96
- regions: import("../../shared").Region[];
97
96
  imageUrl: string;
98
97
  isEnabled: boolean;
98
+ link: string | null;
99
99
  }>;
100
100
  export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
101
101
  export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
@@ -26,64 +26,64 @@ export declare const EventDTOSchema: z.ZodObject<{
26
26
  imageUrl: z.ZodNullable<z.ZodString>;
27
27
  }, "strip", z.ZodTypeAny, {
28
28
  id: string & z.BRAND<"OrganizerId">;
29
- name: string;
30
29
  imageUrl: string | null;
30
+ name: string;
31
31
  }, {
32
32
  id: string;
33
- name: string;
34
33
  imageUrl: string | null;
34
+ name: string;
35
35
  }>, "many">;
36
36
  }, "strip", z.ZodTypeAny, {
37
+ regions: import("../../shared").Region[];
37
38
  category: import("../../shared").Category;
38
39
  startTime: string;
40
+ createdAt: string;
41
+ id: string & z.BRAND<"EventId">;
42
+ link: string | null;
39
43
  adress: string;
40
44
  capacity: number | null;
41
- createdAt: string;
42
45
  description: string;
43
46
  finishTime: string | null;
44
47
  hasHandicapAccess: boolean | null;
45
- id: string & z.BRAND<"EventId">;
46
48
  imageBlurHashes: string[];
47
49
  imageUrls: string[];
48
50
  isDisplayed: boolean;
49
51
  isPromoted: boolean;
50
52
  isPriceRange: boolean;
51
- link: string | null;
52
53
  price: number | null;
53
- regions: import("../../shared").Region[];
54
54
  title: string;
55
55
  thumbnailUrl: string | null;
56
56
  ticketsUrl: string | null;
57
57
  organizers: {
58
58
  id: string & z.BRAND<"OrganizerId">;
59
- name: string;
60
59
  imageUrl: string | null;
60
+ name: string;
61
61
  }[];
62
62
  }, {
63
+ regions: import("../../shared").Region[];
63
64
  category: import("../../shared").Category;
64
65
  startTime: string;
66
+ createdAt: string;
67
+ id: string;
68
+ link: string | null;
65
69
  adress: string;
66
70
  capacity: number | null;
67
- createdAt: string;
68
71
  description: string;
69
72
  finishTime: string | null;
70
73
  hasHandicapAccess: boolean | null;
71
- id: string;
72
74
  imageBlurHashes: string[];
73
75
  imageUrls: string[];
74
76
  isDisplayed: boolean;
75
77
  isPromoted: boolean;
76
78
  isPriceRange: boolean;
77
- link: string | null;
78
79
  price: number | null;
79
- regions: import("../../shared").Region[];
80
80
  title: string;
81
81
  thumbnailUrl: string | null;
82
82
  ticketsUrl: string | null;
83
83
  organizers: {
84
84
  id: string;
85
- name: string;
86
85
  imageUrl: string | null;
86
+ name: string;
87
87
  }[];
88
88
  }>;
89
89
  export declare const CreateEventDTOSchema: z.ZodObject<{
@@ -107,41 +107,41 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
107
107
  thumbnailUrl: z.ZodNullable<z.ZodString>;
108
108
  ticketsUrl: z.ZodNullable<z.ZodString>;
109
109
  }, "strip", z.ZodTypeAny, {
110
+ regions: import("../../shared").Region[];
110
111
  category: import("../../shared").Category;
111
112
  startTime: string;
113
+ id: string & z.BRAND<"EventId">;
114
+ link: string | null;
112
115
  adress: string;
113
116
  capacity: number | null;
114
117
  description: string;
115
118
  finishTime: string | null;
116
119
  hasHandicapAccess: boolean | null;
117
- id: string & z.BRAND<"EventId">;
118
120
  imageBlurHashes: string[];
119
121
  imageUrls: string[];
120
122
  isDisplayed: boolean;
121
123
  isPriceRange: boolean;
122
- link: string | null;
123
124
  price: number | null;
124
- regions: import("../../shared").Region[];
125
125
  title: string;
126
126
  thumbnailUrl: string | null;
127
127
  ticketsUrl: string | null;
128
128
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
129
129
  }, {
130
+ regions: import("../../shared").Region[];
130
131
  category: import("../../shared").Category;
131
132
  startTime: string;
133
+ id: string;
134
+ link: string | null;
132
135
  adress: string;
133
136
  capacity: number | null;
134
137
  description: string;
135
138
  finishTime: string | null;
136
139
  hasHandicapAccess: boolean | null;
137
- id: string;
138
140
  imageBlurHashes: string[];
139
141
  imageUrls: string[];
140
142
  isDisplayed: boolean;
141
143
  isPriceRange: boolean;
142
- link: string | null;
143
144
  price: number | null;
144
- regions: import("../../shared").Region[];
145
145
  title: string;
146
146
  thumbnailUrl: string | null;
147
147
  ticketsUrl: string | null;
@@ -168,8 +168,10 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
168
168
  thumbnailUrl: z.ZodNullable<z.ZodString>;
169
169
  ticketsUrl: z.ZodNullable<z.ZodString>;
170
170
  }, "id">, "strip", z.ZodTypeAny, {
171
+ regions: import("../../shared").Region[];
171
172
  category: import("../../shared").Category;
172
173
  startTime: string;
174
+ link: string | null;
173
175
  adress: string;
174
176
  capacity: number | null;
175
177
  description: string;
@@ -179,16 +181,16 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
179
181
  imageUrls: string[];
180
182
  isDisplayed: boolean;
181
183
  isPriceRange: boolean;
182
- link: string | null;
183
184
  price: number | null;
184
- regions: import("../../shared").Region[];
185
185
  title: string;
186
186
  thumbnailUrl: string | null;
187
187
  ticketsUrl: string | null;
188
188
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
189
189
  }, {
190
+ regions: import("../../shared").Region[];
190
191
  category: import("../../shared").Category;
191
192
  startTime: string;
193
+ link: string | null;
192
194
  adress: string;
193
195
  capacity: number | null;
194
196
  description: string;
@@ -198,9 +200,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
198
200
  imageUrls: string[];
199
201
  isDisplayed: boolean;
200
202
  isPriceRange: boolean;
201
- link: string | null;
202
203
  price: number | null;
203
- regions: import("../../shared").Region[];
204
204
  title: string;
205
205
  thumbnailUrl: string | null;
206
206
  ticketsUrl: string | null;
@@ -270,64 +270,64 @@ export declare const ImportDTOSchema: z.ZodObject<{
270
270
  imageUrl: z.ZodNullable<z.ZodString>;
271
271
  }, "strip", z.ZodTypeAny, {
272
272
  id: string & z.BRAND<"OrganizerId">;
273
- name: string;
274
273
  imageUrl: string | null;
274
+ name: string;
275
275
  }, {
276
276
  id: string;
277
- name: string;
278
277
  imageUrl: string | null;
278
+ name: string;
279
279
  }>, "many">>;
280
280
  }, "strip", z.ZodTypeAny, {
281
+ regions?: import("../../shared").Region[] | undefined;
281
282
  category?: import("../../shared").Category | undefined;
282
283
  startTime?: string | undefined;
284
+ createdAt?: string | undefined;
285
+ id?: (string & z.BRAND<"EventId">) | undefined;
286
+ link?: string | null | undefined;
283
287
  adress?: string | undefined;
284
288
  capacity?: number | null | undefined;
285
- createdAt?: string | undefined;
286
289
  description?: string | undefined;
287
290
  finishTime?: string | null | undefined;
288
291
  hasHandicapAccess?: boolean | null | undefined;
289
- id?: (string & z.BRAND<"EventId">) | undefined;
290
292
  imageBlurHashes?: string[] | undefined;
291
293
  imageUrls?: string[] | undefined;
292
294
  isDisplayed?: boolean | undefined;
293
295
  isPromoted?: boolean | undefined;
294
296
  isPriceRange?: boolean | undefined;
295
- link?: string | null | undefined;
296
297
  price?: number | null | undefined;
297
- regions?: import("../../shared").Region[] | undefined;
298
298
  title?: string | undefined;
299
299
  thumbnailUrl?: string | null | undefined;
300
300
  ticketsUrl?: string | null | undefined;
301
301
  organizers?: {
302
302
  id: string & z.BRAND<"OrganizerId">;
303
- name: string;
304
303
  imageUrl: string | null;
304
+ name: string;
305
305
  }[] | undefined;
306
306
  }, {
307
+ regions?: import("../../shared").Region[] | undefined;
307
308
  category?: import("../../shared").Category | undefined;
308
309
  startTime?: string | undefined;
310
+ createdAt?: string | undefined;
311
+ id?: string | undefined;
312
+ link?: string | null | undefined;
309
313
  adress?: string | undefined;
310
314
  capacity?: number | null | undefined;
311
- createdAt?: string | undefined;
312
315
  description?: string | undefined;
313
316
  finishTime?: string | null | undefined;
314
317
  hasHandicapAccess?: boolean | null | undefined;
315
- id?: string | undefined;
316
318
  imageBlurHashes?: string[] | undefined;
317
319
  imageUrls?: string[] | undefined;
318
320
  isDisplayed?: boolean | undefined;
319
321
  isPromoted?: boolean | undefined;
320
322
  isPriceRange?: boolean | undefined;
321
- link?: string | null | undefined;
322
323
  price?: number | null | undefined;
323
- regions?: import("../../shared").Region[] | undefined;
324
324
  title?: string | undefined;
325
325
  thumbnailUrl?: string | null | undefined;
326
326
  ticketsUrl?: string | null | undefined;
327
327
  organizers?: {
328
328
  id: string;
329
- name: string;
330
329
  imageUrl: string | null;
330
+ name: string;
331
331
  }[] | undefined;
332
332
  }>;
333
333
  source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
@@ -336,67 +336,67 @@ export declare const ImportDTOSchema: z.ZodObject<{
336
336
  userId: string;
337
337
  createdAt: string;
338
338
  id: string;
339
+ organizersNames: string[];
339
340
  partialEventState: {
341
+ regions?: import("../../shared").Region[] | undefined;
340
342
  category?: import("../../shared").Category | undefined;
341
343
  startTime?: string | undefined;
344
+ createdAt?: string | undefined;
345
+ id?: (string & z.BRAND<"EventId">) | undefined;
346
+ link?: string | null | undefined;
342
347
  adress?: string | undefined;
343
348
  capacity?: number | null | undefined;
344
- createdAt?: string | undefined;
345
349
  description?: string | undefined;
346
350
  finishTime?: string | null | undefined;
347
351
  hasHandicapAccess?: boolean | null | undefined;
348
- id?: (string & z.BRAND<"EventId">) | undefined;
349
352
  imageBlurHashes?: string[] | undefined;
350
353
  imageUrls?: string[] | undefined;
351
354
  isDisplayed?: boolean | undefined;
352
355
  isPromoted?: boolean | undefined;
353
356
  isPriceRange?: boolean | undefined;
354
- link?: string | null | undefined;
355
357
  price?: number | null | undefined;
356
- regions?: import("../../shared").Region[] | undefined;
357
358
  title?: string | undefined;
358
359
  thumbnailUrl?: string | null | undefined;
359
360
  ticketsUrl?: string | null | undefined;
360
361
  organizers?: {
361
362
  id: string & z.BRAND<"OrganizerId">;
362
- name: string;
363
363
  imageUrl: string | null;
364
+ name: string;
364
365
  }[] | undefined;
365
366
  };
366
- organizersNames: string[];
367
367
  source: "facebook" | "website";
368
368
  }, {
369
369
  userId: string;
370
370
  createdAt: string;
371
371
  id: string;
372
+ organizersNames: string[];
372
373
  partialEventState: {
374
+ regions?: import("../../shared").Region[] | undefined;
373
375
  category?: import("../../shared").Category | undefined;
374
376
  startTime?: string | undefined;
377
+ createdAt?: string | undefined;
378
+ id?: string | undefined;
379
+ link?: string | null | undefined;
375
380
  adress?: string | undefined;
376
381
  capacity?: number | null | undefined;
377
- createdAt?: string | undefined;
378
382
  description?: string | undefined;
379
383
  finishTime?: string | null | undefined;
380
384
  hasHandicapAccess?: boolean | null | undefined;
381
- id?: string | undefined;
382
385
  imageBlurHashes?: string[] | undefined;
383
386
  imageUrls?: string[] | undefined;
384
387
  isDisplayed?: boolean | undefined;
385
388
  isPromoted?: boolean | undefined;
386
389
  isPriceRange?: boolean | undefined;
387
- link?: string | null | undefined;
388
390
  price?: number | null | undefined;
389
- regions?: import("../../shared").Region[] | undefined;
390
391
  title?: string | undefined;
391
392
  thumbnailUrl?: string | null | undefined;
392
393
  ticketsUrl?: string | null | undefined;
393
394
  organizers?: {
394
395
  id: string;
395
- name: string;
396
396
  imageUrl: string | null;
397
+ name: string;
397
398
  }[] | undefined;
398
399
  };
399
- organizersNames: string[];
400
400
  source: "facebook" | "website";
401
401
  }>;
402
402
  export type ImportDTO = z.infer<typeof ImportDTOSchema>;
@@ -6,13 +6,13 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  id: string & z.BRAND<"OrganizerId">;
9
- name: string;
10
9
  imageUrl: string | null;
10
+ name: string;
11
11
  eventsIds: (string & z.BRAND<"EventId">)[];
12
12
  }, {
13
13
  id: string;
14
- name: string;
15
14
  imageUrl: string | null;
15
+ name: string;
16
16
  eventsIds: string[];
17
17
  }>;
18
18
  export declare const CreateOrganizerDTOSchema: z.ZodObject<{
@@ -21,12 +21,12 @@ export declare const CreateOrganizerDTOSchema: z.ZodObject<{
21
21
  name: z.ZodString;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  id: string & z.BRAND<"OrganizerId">;
24
- name: string;
25
24
  imageUrl: string | null;
25
+ name: string;
26
26
  }, {
27
27
  id: string;
28
- name: string;
29
28
  imageUrl: string | null;
29
+ name: string;
30
30
  }>;
31
31
  export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
32
32
  id: z.ZodBranded<z.ZodString, "OrganizerId">;