@sortipei/api-contracts 0.2.6 → 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 +28 -28
- package/dist/V1/api/event.d.ts +60 -60
- package/dist/V1/api/import-reminder.d.ts +9 -11
- package/dist/V1/api/import-reminder.d.ts.map +1 -1
- package/dist/V1/api/organizer.d.ts +2 -2
- package/dist/V1/api/statistics.d.ts +106 -106
- package/dist/V1/external/partial-imported-event.d.ts +23 -23
- package/dist/api-contracts.js +30 -0
- package/dist/api-contracts.mjs +30 -0
- package/dist/flavors.d.ts.map +1 -1
- package/dist/shared/import-reminder.d.ts +9 -0
- package/dist/shared/import-reminder.d.ts.map +1 -0
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/V1/api/ad.d.ts
CHANGED
|
@@ -11,21 +11,21 @@ export declare const MainAdDTOSchema: z.ZodObject<{
|
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
startTime: string;
|
|
13
13
|
endTime: string;
|
|
14
|
+
createdAt: string;
|
|
14
15
|
id: string & z.BRAND<"MainAdId">;
|
|
15
16
|
imageUrl: string;
|
|
16
|
-
title: string;
|
|
17
|
-
createdAt: string;
|
|
18
|
-
link: string | null;
|
|
19
17
|
isEnabled: boolean;
|
|
18
|
+
link: string | null;
|
|
19
|
+
title: string;
|
|
20
20
|
}, {
|
|
21
21
|
startTime: string;
|
|
22
22
|
endTime: string;
|
|
23
|
+
createdAt: string;
|
|
23
24
|
id: string;
|
|
24
25
|
imageUrl: string;
|
|
25
|
-
title: string;
|
|
26
|
-
createdAt: string;
|
|
27
|
-
link: string | null;
|
|
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;
|
|
@@ -36,20 +36,20 @@ export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
|
36
36
|
link: z.ZodNullable<z.ZodString>;
|
|
37
37
|
startTime: z.ZodString;
|
|
38
38
|
title: z.ZodString;
|
|
39
|
-
}, "
|
|
39
|
+
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
40
40
|
startTime: string;
|
|
41
41
|
endTime: string;
|
|
42
42
|
imageUrl: string;
|
|
43
|
-
title: string;
|
|
44
|
-
link: string | null;
|
|
45
43
|
isEnabled: boolean;
|
|
44
|
+
link: string | null;
|
|
45
|
+
title: string;
|
|
46
46
|
}, {
|
|
47
47
|
startTime: string;
|
|
48
48
|
endTime: string;
|
|
49
49
|
imageUrl: string;
|
|
50
|
-
title: string;
|
|
51
|
-
link: string | null;
|
|
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[];
|
|
65
66
|
startTime: string;
|
|
66
67
|
endTime: string;
|
|
67
|
-
|
|
68
|
+
createdAt: string;
|
|
68
69
|
id: string & z.BRAND<"RegionalAdId">;
|
|
69
70
|
imageUrl: string;
|
|
70
|
-
title: string;
|
|
71
|
-
createdAt: string;
|
|
72
|
-
link: string | null;
|
|
73
71
|
isEnabled: boolean;
|
|
72
|
+
link: string | null;
|
|
73
|
+
title: string;
|
|
74
74
|
}, {
|
|
75
|
+
regions: import('../../shared').Region[];
|
|
75
76
|
startTime: string;
|
|
76
77
|
endTime: string;
|
|
77
|
-
|
|
78
|
+
createdAt: string;
|
|
78
79
|
id: string;
|
|
79
80
|
imageUrl: string;
|
|
80
|
-
title: string;
|
|
81
|
-
createdAt: string;
|
|
82
|
-
link: string | null;
|
|
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
|
+
regions: import('../../shared').Region[];
|
|
96
97
|
startTime: string;
|
|
97
98
|
endTime: string;
|
|
98
|
-
regions: import("../../shared").Region[];
|
|
99
99
|
imageUrl: string;
|
|
100
|
-
title: string;
|
|
101
|
-
link: string | null;
|
|
102
100
|
isEnabled: boolean;
|
|
101
|
+
link: string | null;
|
|
102
|
+
title: string;
|
|
103
103
|
}, {
|
|
104
|
+
regions: import('../../shared').Region[];
|
|
104
105
|
startTime: string;
|
|
105
106
|
endTime: string;
|
|
106
|
-
regions: import("../../shared").Region[];
|
|
107
107
|
imageUrl: string;
|
|
108
|
-
title: string;
|
|
109
|
-
link: string | null;
|
|
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>;
|
|
@@ -58,14 +58,15 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
58
58
|
name: string;
|
|
59
59
|
}>, "many">;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
|
|
61
|
+
regions: import('../../shared').Region[];
|
|
62
|
+
category: import('../../shared').Category;
|
|
62
63
|
startTime: string;
|
|
63
|
-
|
|
64
|
+
createdAt: string;
|
|
64
65
|
id: string & z.BRAND<"EventId">;
|
|
66
|
+
link: string | null;
|
|
65
67
|
title: string;
|
|
66
68
|
adress: string;
|
|
67
69
|
capacity: number | null;
|
|
68
|
-
createdAt: string;
|
|
69
70
|
description: string;
|
|
70
71
|
externalSourceId: string | null;
|
|
71
72
|
finishTime: string | null;
|
|
@@ -81,9 +82,8 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
81
82
|
isOldTimes: boolean;
|
|
82
83
|
isPriceRange: boolean;
|
|
83
84
|
isPromoted: boolean;
|
|
84
|
-
link: string | null;
|
|
85
85
|
price: number | null;
|
|
86
|
-
secondaryCategory: import(
|
|
86
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
87
87
|
thumbnailUrl: string | null;
|
|
88
88
|
ticketsUrl: string | null;
|
|
89
89
|
organizers: {
|
|
@@ -92,14 +92,15 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
92
92
|
name: string;
|
|
93
93
|
}[];
|
|
94
94
|
}, {
|
|
95
|
-
|
|
95
|
+
regions: import('../../shared').Region[];
|
|
96
|
+
category: import('../../shared').Category;
|
|
96
97
|
startTime: string;
|
|
97
|
-
|
|
98
|
+
createdAt: string;
|
|
98
99
|
id: string;
|
|
100
|
+
link: string | null;
|
|
99
101
|
title: string;
|
|
100
102
|
adress: string;
|
|
101
103
|
capacity: number | null;
|
|
102
|
-
createdAt: string;
|
|
103
104
|
description: string;
|
|
104
105
|
externalSourceId: string | null;
|
|
105
106
|
finishTime: string | null;
|
|
@@ -115,9 +116,8 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
115
116
|
isOldTimes: boolean;
|
|
116
117
|
isPriceRange: boolean;
|
|
117
118
|
isPromoted: boolean;
|
|
118
|
-
link: string | null;
|
|
119
119
|
price: number | null;
|
|
120
|
-
secondaryCategory: import(
|
|
120
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
121
121
|
thumbnailUrl: string | null;
|
|
122
122
|
ticketsUrl: string | null;
|
|
123
123
|
organizers: {
|
|
@@ -129,7 +129,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
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,17 +144,18 @@ 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
|
-
|
|
154
|
+
regions: import('../../shared').Region[];
|
|
155
|
+
category: import('../../shared').Category;
|
|
155
156
|
startTime: string;
|
|
156
|
-
regions: import("../../shared").Region[];
|
|
157
157
|
id: string & z.BRAND<"EventId">;
|
|
158
|
+
link: string | null;
|
|
158
159
|
title: string;
|
|
159
160
|
adress: string;
|
|
160
161
|
capacity: number | null;
|
|
@@ -168,17 +169,17 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
168
169
|
isExhibition: boolean;
|
|
169
170
|
isOldTimes: boolean;
|
|
170
171
|
isPriceRange: boolean;
|
|
171
|
-
link: string | null;
|
|
172
172
|
price: number | null;
|
|
173
|
-
secondaryCategory: import(
|
|
173
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
174
174
|
thumbnailUrl: string | null;
|
|
175
175
|
ticketsUrl: string | null;
|
|
176
176
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
177
177
|
}, {
|
|
178
|
-
|
|
178
|
+
regions: import('../../shared').Region[];
|
|
179
|
+
category: import('../../shared').Category;
|
|
179
180
|
startTime: string;
|
|
180
|
-
regions: import("../../shared").Region[];
|
|
181
181
|
id: string;
|
|
182
|
+
link: string | null;
|
|
182
183
|
title: string;
|
|
183
184
|
adress: string;
|
|
184
185
|
capacity: number | null;
|
|
@@ -192,9 +193,8 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
192
193
|
isExhibition: boolean;
|
|
193
194
|
isOldTimes: boolean;
|
|
194
195
|
isPriceRange: boolean;
|
|
195
|
-
link: string | null;
|
|
196
196
|
price: number | null;
|
|
197
|
-
secondaryCategory: import(
|
|
197
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
198
198
|
thumbnailUrl: string | null;
|
|
199
199
|
ticketsUrl: string | null;
|
|
200
200
|
organizersIds: string[];
|
|
@@ -202,7 +202,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
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,17 @@ 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
|
-
|
|
227
|
+
regions: import('../../shared').Region[];
|
|
228
|
+
category: import('../../shared').Category;
|
|
228
229
|
startTime: string;
|
|
229
|
-
|
|
230
|
+
link: string | null;
|
|
230
231
|
title: string;
|
|
231
232
|
adress: string;
|
|
232
233
|
capacity: number | null;
|
|
@@ -240,16 +241,16 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
240
241
|
isExhibition: boolean;
|
|
241
242
|
isOldTimes: boolean;
|
|
242
243
|
isPriceRange: boolean;
|
|
243
|
-
link: string | null;
|
|
244
244
|
price: number | null;
|
|
245
|
-
secondaryCategory: import(
|
|
245
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
246
246
|
thumbnailUrl: string | null;
|
|
247
247
|
ticketsUrl: string | null;
|
|
248
248
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
249
249
|
}, {
|
|
250
|
-
|
|
250
|
+
regions: import('../../shared').Region[];
|
|
251
|
+
category: import('../../shared').Category;
|
|
251
252
|
startTime: string;
|
|
252
|
-
|
|
253
|
+
link: string | null;
|
|
253
254
|
title: string;
|
|
254
255
|
adress: string;
|
|
255
256
|
capacity: number | null;
|
|
@@ -263,9 +264,8 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
263
264
|
isExhibition: boolean;
|
|
264
265
|
isOldTimes: boolean;
|
|
265
266
|
isPriceRange: boolean;
|
|
266
|
-
link: string | null;
|
|
267
267
|
price: number | null;
|
|
268
|
-
secondaryCategory: import(
|
|
268
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
269
269
|
thumbnailUrl: string | null;
|
|
270
270
|
ticketsUrl: string | null;
|
|
271
271
|
organizersIds: string[];
|
|
@@ -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>>;
|
|
@@ -356,14 +356,15 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
356
356
|
name: string;
|
|
357
357
|
}>, "many">>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
|
|
359
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
360
|
+
category?: import('../../shared').Category | undefined;
|
|
360
361
|
startTime?: string | undefined;
|
|
361
|
-
|
|
362
|
+
createdAt?: string | undefined;
|
|
362
363
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
364
|
+
link?: string | null | undefined;
|
|
363
365
|
title?: string | undefined;
|
|
364
366
|
adress?: string | undefined;
|
|
365
367
|
capacity?: number | null | undefined;
|
|
366
|
-
createdAt?: string | undefined;
|
|
367
368
|
description?: string | undefined;
|
|
368
369
|
externalSourceId?: string | null | undefined;
|
|
369
370
|
finishTime?: string | null | undefined;
|
|
@@ -379,9 +380,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
379
380
|
isOldTimes?: boolean | undefined;
|
|
380
381
|
isPriceRange?: boolean | undefined;
|
|
381
382
|
isPromoted?: boolean | undefined;
|
|
382
|
-
link?: string | null | undefined;
|
|
383
383
|
price?: number | null | undefined;
|
|
384
|
-
secondaryCategory?: import(
|
|
384
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
385
385
|
thumbnailUrl?: string | null | undefined;
|
|
386
386
|
ticketsUrl?: string | null | undefined;
|
|
387
387
|
organizers?: {
|
|
@@ -390,14 +390,15 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
390
390
|
name: string;
|
|
391
391
|
}[] | undefined;
|
|
392
392
|
}, {
|
|
393
|
-
|
|
393
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
394
|
+
category?: import('../../shared').Category | undefined;
|
|
394
395
|
startTime?: string | undefined;
|
|
395
|
-
|
|
396
|
+
createdAt?: string | undefined;
|
|
396
397
|
id?: string | undefined;
|
|
398
|
+
link?: string | null | undefined;
|
|
397
399
|
title?: string | undefined;
|
|
398
400
|
adress?: string | undefined;
|
|
399
401
|
capacity?: number | null | undefined;
|
|
400
|
-
createdAt?: string | undefined;
|
|
401
402
|
description?: string | undefined;
|
|
402
403
|
externalSourceId?: string | null | undefined;
|
|
403
404
|
finishTime?: string | null | undefined;
|
|
@@ -413,9 +414,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
413
414
|
isOldTimes?: boolean | undefined;
|
|
414
415
|
isPriceRange?: boolean | undefined;
|
|
415
416
|
isPromoted?: boolean | undefined;
|
|
416
|
-
link?: string | null | undefined;
|
|
417
417
|
price?: number | null | undefined;
|
|
418
|
-
secondaryCategory?: import(
|
|
418
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
419
419
|
thumbnailUrl?: string | null | undefined;
|
|
420
420
|
ticketsUrl?: string | null | undefined;
|
|
421
421
|
organizers?: {
|
|
@@ -428,18 +428,19 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
428
428
|
userId: z.ZodString;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
430
|
userId: string;
|
|
431
|
-
id: string;
|
|
432
431
|
createdAt: string;
|
|
432
|
+
id: string;
|
|
433
433
|
organizersNames: string[];
|
|
434
434
|
partialEventState: {
|
|
435
|
-
|
|
435
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
436
|
+
category?: import('../../shared').Category | undefined;
|
|
436
437
|
startTime?: string | undefined;
|
|
437
|
-
|
|
438
|
+
createdAt?: string | undefined;
|
|
438
439
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
440
|
+
link?: string | null | undefined;
|
|
439
441
|
title?: string | undefined;
|
|
440
442
|
adress?: string | undefined;
|
|
441
443
|
capacity?: number | null | undefined;
|
|
442
|
-
createdAt?: string | undefined;
|
|
443
444
|
description?: string | undefined;
|
|
444
445
|
externalSourceId?: string | null | undefined;
|
|
445
446
|
finishTime?: string | null | undefined;
|
|
@@ -455,9 +456,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
455
456
|
isOldTimes?: boolean | undefined;
|
|
456
457
|
isPriceRange?: boolean | undefined;
|
|
457
458
|
isPromoted?: boolean | undefined;
|
|
458
|
-
link?: string | null | undefined;
|
|
459
459
|
price?: number | null | undefined;
|
|
460
|
-
secondaryCategory?: import(
|
|
460
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
461
461
|
thumbnailUrl?: string | null | undefined;
|
|
462
462
|
ticketsUrl?: string | null | undefined;
|
|
463
463
|
organizers?: {
|
|
@@ -469,18 +469,19 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
469
469
|
source: string;
|
|
470
470
|
}, {
|
|
471
471
|
userId: string;
|
|
472
|
-
id: string;
|
|
473
472
|
createdAt: string;
|
|
473
|
+
id: string;
|
|
474
474
|
organizersNames: string[];
|
|
475
475
|
partialEventState: {
|
|
476
|
-
|
|
476
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
477
|
+
category?: import('../../shared').Category | undefined;
|
|
477
478
|
startTime?: string | undefined;
|
|
478
|
-
|
|
479
|
+
createdAt?: string | undefined;
|
|
479
480
|
id?: string | undefined;
|
|
481
|
+
link?: string | null | undefined;
|
|
480
482
|
title?: string | undefined;
|
|
481
483
|
adress?: string | undefined;
|
|
482
484
|
capacity?: number | null | undefined;
|
|
483
|
-
createdAt?: string | undefined;
|
|
484
485
|
description?: string | undefined;
|
|
485
486
|
externalSourceId?: string | null | undefined;
|
|
486
487
|
finishTime?: string | null | undefined;
|
|
@@ -496,9 +497,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
496
497
|
isOldTimes?: boolean | undefined;
|
|
497
498
|
isPriceRange?: boolean | undefined;
|
|
498
499
|
isPromoted?: boolean | undefined;
|
|
499
|
-
link?: string | null | undefined;
|
|
500
500
|
price?: number | null | undefined;
|
|
501
|
-
secondaryCategory?: import(
|
|
501
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
502
502
|
thumbnailUrl?: string | null | undefined;
|
|
503
503
|
ticketsUrl?: string | null | undefined;
|
|
504
504
|
organizers?: {
|
|
@@ -1,50 +1,48 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const ImportReminderFrequencySchema: z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>;
|
|
3
|
-
export type ImportReminderFrequency = z.infer<typeof ImportReminderFrequencySchema>;
|
|
4
2
|
export declare const ImportReminderDTOSchema: z.ZodObject<{
|
|
5
|
-
frequency: z.
|
|
3
|
+
frequency: z.ZodNativeEnum<typeof import('../../shared').ImportReminderFrequency>;
|
|
6
4
|
id: z.ZodBranded<z.ZodString, "ImportReminderId">;
|
|
7
5
|
title: z.ZodString;
|
|
8
6
|
url: z.ZodString;
|
|
9
7
|
}, "strip", z.ZodTypeAny, {
|
|
10
8
|
id: string & z.BRAND<"ImportReminderId">;
|
|
11
|
-
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
12
9
|
title: string;
|
|
13
10
|
url: string;
|
|
11
|
+
frequency: import('../../shared').ImportReminderFrequency;
|
|
14
12
|
}, {
|
|
15
13
|
id: string;
|
|
16
|
-
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
17
14
|
title: string;
|
|
18
15
|
url: string;
|
|
16
|
+
frequency: import('../../shared').ImportReminderFrequency;
|
|
19
17
|
}>;
|
|
20
18
|
export declare const CreateImportReminderDTOSchema: z.ZodObject<{
|
|
21
|
-
frequency: z.
|
|
19
|
+
frequency: z.ZodNativeEnum<typeof import('../../shared').ImportReminderFrequency>;
|
|
22
20
|
id: z.ZodBranded<z.ZodString, "ImportReminderId">;
|
|
23
21
|
title: z.ZodString;
|
|
24
22
|
url: z.ZodString;
|
|
25
23
|
}, "strip", z.ZodTypeAny, {
|
|
26
24
|
id: string & z.BRAND<"ImportReminderId">;
|
|
27
|
-
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
28
25
|
title: string;
|
|
29
26
|
url: string;
|
|
27
|
+
frequency: import('../../shared').ImportReminderFrequency;
|
|
30
28
|
}, {
|
|
31
29
|
id: string;
|
|
32
|
-
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
33
30
|
title: string;
|
|
34
31
|
url: string;
|
|
32
|
+
frequency: import('../../shared').ImportReminderFrequency;
|
|
35
33
|
}>;
|
|
36
34
|
export declare const UpdateImportReminderDTOSchema: z.ZodObject<{
|
|
37
|
-
frequency: z.ZodOptional<z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>>;
|
|
38
35
|
title: z.ZodOptional<z.ZodString>;
|
|
39
36
|
url: z.ZodOptional<z.ZodString>;
|
|
37
|
+
frequency: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').ImportReminderFrequency>>;
|
|
40
38
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
frequency?: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS" | undefined;
|
|
42
39
|
title?: string | undefined;
|
|
43
40
|
url?: string | undefined;
|
|
41
|
+
frequency?: import('../../shared').ImportReminderFrequency | undefined;
|
|
44
42
|
}, {
|
|
45
|
-
frequency?: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS" | undefined;
|
|
46
43
|
title?: string | undefined;
|
|
47
44
|
url?: string | undefined;
|
|
45
|
+
frequency?: import('../../shared').ImportReminderFrequency | undefined;
|
|
48
46
|
}>;
|
|
49
47
|
export type ImportReminderDTO = z.infer<typeof ImportReminderDTOSchema>;
|
|
50
48
|
export type CreateImportReminderDTO = z.infer<typeof CreateImportReminderDTOSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"import-reminder.d.ts","sourceRoot":"","sources":["../../../src/V1/api/import-reminder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"import-reminder.d.ts","sourceRoot":"","sources":["../../../src/V1/api/import-reminder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAA0B,CAAC;AAErE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAAuD,CAAC;AAElG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
|
@@ -5,15 +5,15 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
|
|
|
5
5
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
9
8
|
id: string & z.BRAND<"OrganizerId">;
|
|
10
9
|
imageUrl: string | null;
|
|
11
10
|
name: string;
|
|
11
|
+
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
12
12
|
}, {
|
|
13
|
-
eventsIds: string[];
|
|
14
13
|
id: string;
|
|
15
14
|
imageUrl: string | null;
|
|
16
15
|
name: string;
|
|
16
|
+
eventsIds: string[];
|
|
17
17
|
}>;
|
|
18
18
|
export declare const CreateOrganizerDTOSchema: z.ZodObject<{
|
|
19
19
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|