@sortipei/api-contracts 0.2.7 → 0.2.8
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.
- package/dist/V1/api/ad.d.ts +34 -34
- package/dist/V1/api/event.d.ts +102 -102
- package/dist/V1/api/import-reminder.d.ts +9 -9
- package/dist/V1/api/organizer.d.ts +4 -4
- package/dist/V1/api/statistics.d.ts +74 -74
- package/dist/V1/external/partial-imported-event.d.ts +46 -46
- package/dist/api-contracts.js +30 -0
- package/dist/api-contracts.mjs +30 -0
- package/package.json +1 -1
package/dist/V1/api/ad.d.ts
CHANGED
|
@@ -9,23 +9,23 @@ export declare const MainAdDTOSchema: z.ZodObject<{
|
|
|
9
9
|
startTime: z.ZodString;
|
|
10
10
|
title: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
startTime: string;
|
|
13
|
+
endTime: string;
|
|
12
14
|
createdAt: string;
|
|
13
15
|
id: string & z.BRAND<"MainAdId">;
|
|
14
|
-
link: string | null;
|
|
15
|
-
startTime: string;
|
|
16
|
-
title: string;
|
|
17
16
|
imageUrl: string;
|
|
18
|
-
endTime: string;
|
|
19
17
|
isEnabled: boolean;
|
|
18
|
+
link: string | null;
|
|
19
|
+
title: string;
|
|
20
20
|
}, {
|
|
21
|
+
startTime: string;
|
|
22
|
+
endTime: string;
|
|
21
23
|
createdAt: string;
|
|
22
24
|
id: string;
|
|
23
|
-
link: string | null;
|
|
24
|
-
startTime: string;
|
|
25
|
-
title: string;
|
|
26
25
|
imageUrl: string;
|
|
27
|
-
endTime: string;
|
|
28
26
|
isEnabled: boolean;
|
|
27
|
+
link: string | null;
|
|
28
|
+
title: string;
|
|
29
29
|
}>;
|
|
30
30
|
export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
31
31
|
createdAt: z.ZodString;
|
|
@@ -37,19 +37,19 @@ export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
|
37
37
|
startTime: z.ZodString;
|
|
38
38
|
title: z.ZodString;
|
|
39
39
|
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
40
|
-
link: string | null;
|
|
41
40
|
startTime: string;
|
|
42
|
-
title: string;
|
|
43
|
-
imageUrl: string;
|
|
44
41
|
endTime: string;
|
|
42
|
+
imageUrl: string;
|
|
45
43
|
isEnabled: boolean;
|
|
46
|
-
}, {
|
|
47
44
|
link: string | null;
|
|
48
|
-
startTime: string;
|
|
49
45
|
title: string;
|
|
50
|
-
|
|
46
|
+
}, {
|
|
47
|
+
startTime: string;
|
|
51
48
|
endTime: string;
|
|
49
|
+
imageUrl: string;
|
|
52
50
|
isEnabled: boolean;
|
|
51
|
+
link: string | null;
|
|
52
|
+
title: string;
|
|
53
53
|
}>;
|
|
54
54
|
export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
55
55
|
createdAt: z.ZodString;
|
|
@@ -58,29 +58,29 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
58
58
|
imageUrl: z.ZodString;
|
|
59
59
|
isEnabled: z.ZodBoolean;
|
|
60
60
|
link: z.ZodNullable<z.ZodString>;
|
|
61
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
61
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
62
62
|
startTime: z.ZodString;
|
|
63
63
|
title: z.ZodString;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
regions: import('../../shared').Region[];
|
|
66
|
+
startTime: string;
|
|
67
|
+
endTime: string;
|
|
65
68
|
createdAt: string;
|
|
66
69
|
id: string & z.BRAND<"RegionalAdId">;
|
|
67
|
-
link: string | null;
|
|
68
|
-
regions: import("../../shared").Region[];
|
|
69
|
-
startTime: string;
|
|
70
|
-
title: string;
|
|
71
70
|
imageUrl: string;
|
|
72
|
-
endTime: string;
|
|
73
71
|
isEnabled: boolean;
|
|
72
|
+
link: string | null;
|
|
73
|
+
title: string;
|
|
74
74
|
}, {
|
|
75
|
+
regions: import('../../shared').Region[];
|
|
76
|
+
startTime: string;
|
|
77
|
+
endTime: string;
|
|
75
78
|
createdAt: string;
|
|
76
79
|
id: string;
|
|
77
|
-
link: string | null;
|
|
78
|
-
regions: import("../../shared").Region[];
|
|
79
|
-
startTime: string;
|
|
80
|
-
title: string;
|
|
81
80
|
imageUrl: string;
|
|
82
|
-
endTime: string;
|
|
83
81
|
isEnabled: boolean;
|
|
82
|
+
link: string | null;
|
|
83
|
+
title: string;
|
|
84
84
|
}>;
|
|
85
85
|
export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
86
86
|
createdAt: z.ZodString;
|
|
@@ -89,25 +89,25 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
|
89
89
|
imageUrl: z.ZodString;
|
|
90
90
|
isEnabled: z.ZodBoolean;
|
|
91
91
|
link: z.ZodNullable<z.ZodString>;
|
|
92
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
92
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
93
93
|
startTime: z.ZodString;
|
|
94
94
|
title: z.ZodString;
|
|
95
95
|
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
96
|
-
|
|
97
|
-
regions: import("../../shared").Region[];
|
|
96
|
+
regions: import('../../shared').Region[];
|
|
98
97
|
startTime: string;
|
|
99
|
-
title: string;
|
|
100
|
-
imageUrl: string;
|
|
101
98
|
endTime: string;
|
|
99
|
+
imageUrl: string;
|
|
102
100
|
isEnabled: boolean;
|
|
103
|
-
}, {
|
|
104
101
|
link: string | null;
|
|
105
|
-
regions: import("../../shared").Region[];
|
|
106
|
-
startTime: string;
|
|
107
102
|
title: string;
|
|
108
|
-
|
|
103
|
+
}, {
|
|
104
|
+
regions: import('../../shared').Region[];
|
|
105
|
+
startTime: string;
|
|
109
106
|
endTime: string;
|
|
107
|
+
imageUrl: string;
|
|
110
108
|
isEnabled: boolean;
|
|
109
|
+
link: string | null;
|
|
110
|
+
title: string;
|
|
111
111
|
}>;
|
|
112
112
|
export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
|
|
113
113
|
export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
|
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const GPSCoordinatesSchema: z.ZodObject<{
|
|
|
12
12
|
export declare const EventDTOSchema: z.ZodObject<{
|
|
13
13
|
adress: z.ZodString;
|
|
14
14
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
15
|
-
category: z.ZodNativeEnum<typeof import(
|
|
15
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
16
16
|
createdAt: z.ZodString;
|
|
17
17
|
description: z.ZodString;
|
|
18
18
|
externalSourceId: z.ZodNullable<z.ZodString>;
|
|
@@ -38,8 +38,8 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
38
38
|
isPromoted: z.ZodBoolean;
|
|
39
39
|
link: z.ZodNullable<z.ZodString>;
|
|
40
40
|
price: z.ZodNullable<z.ZodNumber>;
|
|
41
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
42
|
-
secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import(
|
|
41
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
42
|
+
secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
43
43
|
startTime: z.ZodString;
|
|
44
44
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
45
45
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -50,18 +50,23 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
50
50
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
52
|
id: string & z.BRAND<"OrganizerId">;
|
|
53
|
-
name: string;
|
|
54
53
|
imageUrl: string | null;
|
|
54
|
+
name: string;
|
|
55
55
|
}, {
|
|
56
56
|
id: string;
|
|
57
|
-
name: string;
|
|
58
57
|
imageUrl: string | null;
|
|
58
|
+
name: string;
|
|
59
59
|
}>, "many">;
|
|
60
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;
|
|
61
68
|
adress: string;
|
|
62
69
|
capacity: number | null;
|
|
63
|
-
category: import("../../shared").Category;
|
|
64
|
-
createdAt: string;
|
|
65
70
|
description: string;
|
|
66
71
|
externalSourceId: string | null;
|
|
67
72
|
finishTime: string | null;
|
|
@@ -70,7 +75,6 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
70
75
|
longitude: number;
|
|
71
76
|
};
|
|
72
77
|
hasHandicapAccess: boolean | null;
|
|
73
|
-
id: string & z.BRAND<"EventId">;
|
|
74
78
|
imageBlurHashes: string[];
|
|
75
79
|
imageUrls: string[];
|
|
76
80
|
isDisplayed: boolean;
|
|
@@ -78,24 +82,25 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
78
82
|
isOldTimes: boolean;
|
|
79
83
|
isPriceRange: boolean;
|
|
80
84
|
isPromoted: boolean;
|
|
81
|
-
link: string | null;
|
|
82
85
|
price: number | null;
|
|
83
|
-
|
|
84
|
-
secondaryCategory: import("../../shared").Category | null;
|
|
85
|
-
startTime: string;
|
|
86
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
86
87
|
thumbnailUrl: string | null;
|
|
87
88
|
ticketsUrl: string | null;
|
|
88
|
-
title: string;
|
|
89
89
|
organizers: {
|
|
90
90
|
id: string & z.BRAND<"OrganizerId">;
|
|
91
|
-
name: string;
|
|
92
91
|
imageUrl: string | null;
|
|
92
|
+
name: string;
|
|
93
93
|
}[];
|
|
94
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;
|
|
95
102
|
adress: string;
|
|
96
103
|
capacity: number | null;
|
|
97
|
-
category: import("../../shared").Category;
|
|
98
|
-
createdAt: string;
|
|
99
104
|
description: string;
|
|
100
105
|
externalSourceId: string | null;
|
|
101
106
|
finishTime: string | null;
|
|
@@ -104,7 +109,6 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
104
109
|
longitude: number;
|
|
105
110
|
};
|
|
106
111
|
hasHandicapAccess: boolean | null;
|
|
107
|
-
id: string;
|
|
108
112
|
imageBlurHashes: string[];
|
|
109
113
|
imageUrls: string[];
|
|
110
114
|
isDisplayed: boolean;
|
|
@@ -112,24 +116,20 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
112
116
|
isOldTimes: boolean;
|
|
113
117
|
isPriceRange: boolean;
|
|
114
118
|
isPromoted: boolean;
|
|
115
|
-
link: string | null;
|
|
116
119
|
price: number | null;
|
|
117
|
-
|
|
118
|
-
secondaryCategory: import("../../shared").Category | null;
|
|
119
|
-
startTime: string;
|
|
120
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
120
121
|
thumbnailUrl: string | null;
|
|
121
122
|
ticketsUrl: string | null;
|
|
122
|
-
title: string;
|
|
123
123
|
organizers: {
|
|
124
124
|
id: string;
|
|
125
|
-
name: string;
|
|
126
125
|
imageUrl: string | null;
|
|
126
|
+
name: string;
|
|
127
127
|
}[];
|
|
128
128
|
}>;
|
|
129
129
|
export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
130
130
|
adress: z.ZodString;
|
|
131
131
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
132
|
-
category: z.ZodNativeEnum<typeof import(
|
|
132
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
133
133
|
description: z.ZodString;
|
|
134
134
|
externalSourceId: z.ZodNullable<z.ZodString>;
|
|
135
135
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
@@ -144,65 +144,65 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
144
144
|
link: z.ZodNullable<z.ZodString>;
|
|
145
145
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
146
146
|
price: z.ZodNullable<z.ZodNumber>;
|
|
147
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
148
|
-
secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import(
|
|
147
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
148
|
+
secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
149
149
|
startTime: z.ZodString;
|
|
150
150
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
151
151
|
title: z.ZodString;
|
|
152
152
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
153
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;
|
|
154
160
|
adress: string;
|
|
155
161
|
capacity: number | null;
|
|
156
|
-
category: import("../../shared").Category;
|
|
157
162
|
description: string;
|
|
158
163
|
externalSourceId: string | null;
|
|
159
164
|
finishTime: string | null;
|
|
160
165
|
hasHandicapAccess: boolean | null;
|
|
161
|
-
id: string & z.BRAND<"EventId">;
|
|
162
166
|
imageBlurHashes: string[];
|
|
163
167
|
imageUrls: string[];
|
|
164
168
|
isDisplayed: boolean;
|
|
165
169
|
isExhibition: boolean;
|
|
166
170
|
isOldTimes: boolean;
|
|
167
171
|
isPriceRange: boolean;
|
|
168
|
-
link: string | null;
|
|
169
172
|
price: number | null;
|
|
170
|
-
|
|
171
|
-
secondaryCategory: import("../../shared").Category | null;
|
|
172
|
-
startTime: string;
|
|
173
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
173
174
|
thumbnailUrl: string | null;
|
|
174
175
|
ticketsUrl: string | null;
|
|
175
|
-
title: string;
|
|
176
176
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
177
177
|
}, {
|
|
178
|
+
regions: import('../../shared').Region[];
|
|
179
|
+
category: import('../../shared').Category;
|
|
180
|
+
startTime: string;
|
|
181
|
+
id: string;
|
|
182
|
+
link: string | null;
|
|
183
|
+
title: string;
|
|
178
184
|
adress: string;
|
|
179
185
|
capacity: number | null;
|
|
180
|
-
category: import("../../shared").Category;
|
|
181
186
|
description: string;
|
|
182
187
|
externalSourceId: string | null;
|
|
183
188
|
finishTime: string | null;
|
|
184
189
|
hasHandicapAccess: boolean | null;
|
|
185
|
-
id: string;
|
|
186
190
|
imageBlurHashes: string[];
|
|
187
191
|
imageUrls: string[];
|
|
188
192
|
isDisplayed: boolean;
|
|
189
193
|
isExhibition: boolean;
|
|
190
194
|
isOldTimes: boolean;
|
|
191
195
|
isPriceRange: boolean;
|
|
192
|
-
link: string | null;
|
|
193
196
|
price: number | null;
|
|
194
|
-
|
|
195
|
-
secondaryCategory: import("../../shared").Category | null;
|
|
196
|
-
startTime: string;
|
|
197
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
197
198
|
thumbnailUrl: string | null;
|
|
198
199
|
ticketsUrl: string | null;
|
|
199
|
-
title: string;
|
|
200
200
|
organizersIds: string[];
|
|
201
201
|
}>;
|
|
202
202
|
export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
203
203
|
adress: z.ZodString;
|
|
204
204
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
205
|
-
category: z.ZodNativeEnum<typeof import(
|
|
205
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
206
206
|
description: z.ZodString;
|
|
207
207
|
externalSourceId: z.ZodNullable<z.ZodString>;
|
|
208
208
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
@@ -217,16 +217,20 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
217
217
|
link: z.ZodNullable<z.ZodString>;
|
|
218
218
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
219
219
|
price: z.ZodNullable<z.ZodNumber>;
|
|
220
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
221
|
-
secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import(
|
|
220
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
221
|
+
secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
222
222
|
startTime: z.ZodString;
|
|
223
223
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
224
224
|
title: z.ZodString;
|
|
225
225
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
226
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;
|
|
227
232
|
adress: string;
|
|
228
233
|
capacity: number | null;
|
|
229
|
-
category: import("../../shared").Category;
|
|
230
234
|
description: string;
|
|
231
235
|
externalSourceId: string | null;
|
|
232
236
|
finishTime: string | null;
|
|
@@ -237,19 +241,19 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
237
241
|
isExhibition: boolean;
|
|
238
242
|
isOldTimes: boolean;
|
|
239
243
|
isPriceRange: boolean;
|
|
240
|
-
link: string | null;
|
|
241
244
|
price: number | null;
|
|
242
|
-
|
|
243
|
-
secondaryCategory: import("../../shared").Category | null;
|
|
244
|
-
startTime: string;
|
|
245
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
245
246
|
thumbnailUrl: string | null;
|
|
246
247
|
ticketsUrl: string | null;
|
|
247
|
-
title: string;
|
|
248
248
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
249
249
|
}, {
|
|
250
|
+
regions: import('../../shared').Region[];
|
|
251
|
+
category: import('../../shared').Category;
|
|
252
|
+
startTime: string;
|
|
253
|
+
link: string | null;
|
|
254
|
+
title: string;
|
|
250
255
|
adress: string;
|
|
251
256
|
capacity: number | null;
|
|
252
|
-
category: import("../../shared").Category;
|
|
253
257
|
description: string;
|
|
254
258
|
externalSourceId: string | null;
|
|
255
259
|
finishTime: string | null;
|
|
@@ -260,14 +264,10 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
260
264
|
isExhibition: boolean;
|
|
261
265
|
isOldTimes: boolean;
|
|
262
266
|
isPriceRange: boolean;
|
|
263
|
-
link: string | null;
|
|
264
267
|
price: number | null;
|
|
265
|
-
|
|
266
|
-
secondaryCategory: import("../../shared").Category | null;
|
|
267
|
-
startTime: string;
|
|
268
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
268
269
|
thumbnailUrl: string | null;
|
|
269
270
|
ticketsUrl: string | null;
|
|
270
|
-
title: string;
|
|
271
271
|
organizersIds: string[];
|
|
272
272
|
}>;
|
|
273
273
|
export declare const DisplayEventDTOSchema: z.ZodObject<{
|
|
@@ -310,7 +310,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
310
310
|
partialEventState: z.ZodObject<{
|
|
311
311
|
adress: z.ZodOptional<z.ZodString>;
|
|
312
312
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
313
|
-
category: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
313
|
+
category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
314
314
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
315
315
|
description: z.ZodOptional<z.ZodString>;
|
|
316
316
|
externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -336,8 +336,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
336
336
|
isPromoted: z.ZodOptional<z.ZodBoolean>;
|
|
337
337
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
338
338
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
339
|
-
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
340
|
-
secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import(
|
|
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
341
|
startTime: z.ZodOptional<z.ZodString>;
|
|
342
342
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
343
343
|
ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -348,18 +348,23 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
348
348
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
350
|
id: string & z.BRAND<"OrganizerId">;
|
|
351
|
-
name: string;
|
|
352
351
|
imageUrl: string | null;
|
|
352
|
+
name: string;
|
|
353
353
|
}, {
|
|
354
354
|
id: string;
|
|
355
|
-
name: string;
|
|
356
355
|
imageUrl: string | null;
|
|
356
|
+
name: string;
|
|
357
357
|
}>, "many">>;
|
|
358
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;
|
|
359
366
|
adress?: string | undefined;
|
|
360
367
|
capacity?: number | null | undefined;
|
|
361
|
-
category?: import("../../shared").Category | undefined;
|
|
362
|
-
createdAt?: string | undefined;
|
|
363
368
|
description?: string | undefined;
|
|
364
369
|
externalSourceId?: string | null | undefined;
|
|
365
370
|
finishTime?: string | null | undefined;
|
|
@@ -368,7 +373,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
368
373
|
longitude: number;
|
|
369
374
|
} | undefined;
|
|
370
375
|
hasHandicapAccess?: boolean | null | undefined;
|
|
371
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
372
376
|
imageBlurHashes?: string[] | undefined;
|
|
373
377
|
imageUrls?: string[] | undefined;
|
|
374
378
|
isDisplayed?: boolean | undefined;
|
|
@@ -376,24 +380,25 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
376
380
|
isOldTimes?: boolean | undefined;
|
|
377
381
|
isPriceRange?: boolean | undefined;
|
|
378
382
|
isPromoted?: boolean | undefined;
|
|
379
|
-
link?: string | null | undefined;
|
|
380
383
|
price?: number | null | undefined;
|
|
381
|
-
|
|
382
|
-
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
383
|
-
startTime?: string | undefined;
|
|
384
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
384
385
|
thumbnailUrl?: string | null | undefined;
|
|
385
386
|
ticketsUrl?: string | null | undefined;
|
|
386
|
-
title?: string | undefined;
|
|
387
387
|
organizers?: {
|
|
388
388
|
id: string & z.BRAND<"OrganizerId">;
|
|
389
|
-
name: string;
|
|
390
389
|
imageUrl: string | null;
|
|
390
|
+
name: string;
|
|
391
391
|
}[] | undefined;
|
|
392
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;
|
|
393
400
|
adress?: string | undefined;
|
|
394
401
|
capacity?: number | null | undefined;
|
|
395
|
-
category?: import("../../shared").Category | undefined;
|
|
396
|
-
createdAt?: string | undefined;
|
|
397
402
|
description?: string | undefined;
|
|
398
403
|
externalSourceId?: string | null | undefined;
|
|
399
404
|
finishTime?: string | null | undefined;
|
|
@@ -402,7 +407,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
402
407
|
longitude: number;
|
|
403
408
|
} | undefined;
|
|
404
409
|
hasHandicapAccess?: boolean | null | undefined;
|
|
405
|
-
id?: string | undefined;
|
|
406
410
|
imageBlurHashes?: string[] | undefined;
|
|
407
411
|
imageUrls?: string[] | undefined;
|
|
408
412
|
isDisplayed?: boolean | undefined;
|
|
@@ -410,30 +414,33 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
410
414
|
isOldTimes?: boolean | undefined;
|
|
411
415
|
isPriceRange?: boolean | undefined;
|
|
412
416
|
isPromoted?: boolean | undefined;
|
|
413
|
-
link?: string | null | undefined;
|
|
414
417
|
price?: number | null | undefined;
|
|
415
|
-
|
|
416
|
-
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
417
|
-
startTime?: string | undefined;
|
|
418
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
418
419
|
thumbnailUrl?: string | null | undefined;
|
|
419
420
|
ticketsUrl?: string | null | undefined;
|
|
420
|
-
title?: string | undefined;
|
|
421
421
|
organizers?: {
|
|
422
422
|
id: string;
|
|
423
|
-
name: string;
|
|
424
423
|
imageUrl: string | null;
|
|
424
|
+
name: string;
|
|
425
425
|
}[] | undefined;
|
|
426
426
|
}>;
|
|
427
427
|
source: z.ZodString;
|
|
428
428
|
userId: z.ZodString;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
|
+
userId: string;
|
|
430
431
|
createdAt: string;
|
|
431
432
|
id: string;
|
|
433
|
+
organizersNames: string[];
|
|
432
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;
|
|
433
442
|
adress?: string | undefined;
|
|
434
443
|
capacity?: number | null | undefined;
|
|
435
|
-
category?: import("../../shared").Category | undefined;
|
|
436
|
-
createdAt?: string | undefined;
|
|
437
444
|
description?: string | undefined;
|
|
438
445
|
externalSourceId?: string | null | undefined;
|
|
439
446
|
finishTime?: string | null | undefined;
|
|
@@ -442,7 +449,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
442
449
|
longitude: number;
|
|
443
450
|
} | undefined;
|
|
444
451
|
hasHandicapAccess?: boolean | null | undefined;
|
|
445
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
446
452
|
imageBlurHashes?: string[] | undefined;
|
|
447
453
|
imageUrls?: string[] | undefined;
|
|
448
454
|
isDisplayed?: boolean | undefined;
|
|
@@ -450,31 +456,32 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
450
456
|
isOldTimes?: boolean | undefined;
|
|
451
457
|
isPriceRange?: boolean | undefined;
|
|
452
458
|
isPromoted?: boolean | undefined;
|
|
453
|
-
link?: string | null | undefined;
|
|
454
459
|
price?: number | null | undefined;
|
|
455
|
-
|
|
456
|
-
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
457
|
-
startTime?: string | undefined;
|
|
460
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
458
461
|
thumbnailUrl?: string | null | undefined;
|
|
459
462
|
ticketsUrl?: string | null | undefined;
|
|
460
|
-
title?: string | undefined;
|
|
461
463
|
organizers?: {
|
|
462
464
|
id: string & z.BRAND<"OrganizerId">;
|
|
463
|
-
name: string;
|
|
464
465
|
imageUrl: string | null;
|
|
466
|
+
name: string;
|
|
465
467
|
}[] | undefined;
|
|
466
468
|
};
|
|
467
|
-
userId: string;
|
|
468
|
-
organizersNames: string[];
|
|
469
469
|
source: string;
|
|
470
470
|
}, {
|
|
471
|
+
userId: string;
|
|
471
472
|
createdAt: string;
|
|
472
473
|
id: string;
|
|
474
|
+
organizersNames: string[];
|
|
473
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;
|
|
474
483
|
adress?: string | undefined;
|
|
475
484
|
capacity?: number | null | undefined;
|
|
476
|
-
category?: import("../../shared").Category | undefined;
|
|
477
|
-
createdAt?: string | undefined;
|
|
478
485
|
description?: string | undefined;
|
|
479
486
|
externalSourceId?: string | null | undefined;
|
|
480
487
|
finishTime?: string | null | undefined;
|
|
@@ -483,7 +490,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
483
490
|
longitude: number;
|
|
484
491
|
} | undefined;
|
|
485
492
|
hasHandicapAccess?: boolean | null | undefined;
|
|
486
|
-
id?: string | undefined;
|
|
487
493
|
imageBlurHashes?: string[] | undefined;
|
|
488
494
|
imageUrls?: string[] | undefined;
|
|
489
495
|
isDisplayed?: boolean | undefined;
|
|
@@ -491,22 +497,16 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
491
497
|
isOldTimes?: boolean | undefined;
|
|
492
498
|
isPriceRange?: boolean | undefined;
|
|
493
499
|
isPromoted?: boolean | undefined;
|
|
494
|
-
link?: string | null | undefined;
|
|
495
500
|
price?: number | null | undefined;
|
|
496
|
-
|
|
497
|
-
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
498
|
-
startTime?: string | undefined;
|
|
501
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
499
502
|
thumbnailUrl?: string | null | undefined;
|
|
500
503
|
ticketsUrl?: string | null | undefined;
|
|
501
|
-
title?: string | undefined;
|
|
502
504
|
organizers?: {
|
|
503
505
|
id: string;
|
|
504
|
-
name: string;
|
|
505
506
|
imageUrl: string | null;
|
|
507
|
+
name: string;
|
|
506
508
|
}[] | undefined;
|
|
507
509
|
};
|
|
508
|
-
userId: string;
|
|
509
|
-
organizersNames: string[];
|
|
510
510
|
source: string;
|
|
511
511
|
}>;
|
|
512
512
|
export type ImportDTO = z.infer<typeof ImportDTOSchema>;
|
|
@@ -563,11 +563,11 @@ export declare const ExtractedDatesDTOSchema: z.ZodObject<{
|
|
|
563
563
|
startTime: z.ZodString;
|
|
564
564
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
565
565
|
}, "strip", z.ZodTypeAny, {
|
|
566
|
-
finishTime: string | null;
|
|
567
566
|
startTime: string;
|
|
568
|
-
}, {
|
|
569
567
|
finishTime: string | null;
|
|
568
|
+
}, {
|
|
570
569
|
startTime: string;
|
|
570
|
+
finishTime: string | null;
|
|
571
571
|
}>;
|
|
572
572
|
export type ExtractedDatesDTO = z.infer<typeof ExtractedDatesDTOSchema>;
|
|
573
573
|
//# sourceMappingURL=event.d.ts.map
|