@sortipei/api-contracts 0.2.4 → 0.2.6
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 +71 -60
- package/dist/V1/api/event.d.ts.map +1 -1
- package/dist/V1/api/import-reminder.d.ts +52 -0
- package/dist/V1/api/import-reminder.d.ts.map +1 -0
- package/dist/V1/api/index.d.ts +1 -0
- package/dist/V1/api/index.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/flavors.d.ts +3 -0
- package/dist/flavors.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;
|
|
15
14
|
id: string & z.BRAND<"MainAdId">;
|
|
16
15
|
imageUrl: string;
|
|
17
|
-
isEnabled: boolean;
|
|
18
|
-
link: string | null;
|
|
19
16
|
title: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
link: string | null;
|
|
19
|
+
isEnabled: boolean;
|
|
20
20
|
}, {
|
|
21
21
|
startTime: string;
|
|
22
22
|
endTime: string;
|
|
23
|
-
createdAt: string;
|
|
24
23
|
id: string;
|
|
25
24
|
imageUrl: string;
|
|
26
|
-
isEnabled: boolean;
|
|
27
|
-
link: string | null;
|
|
28
25
|
title: string;
|
|
26
|
+
createdAt: string;
|
|
27
|
+
link: string | null;
|
|
28
|
+
isEnabled: boolean;
|
|
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
|
+
}, "id" | "createdAt">, "strip", z.ZodTypeAny, {
|
|
40
40
|
startTime: string;
|
|
41
41
|
endTime: string;
|
|
42
42
|
imageUrl: string;
|
|
43
|
-
isEnabled: boolean;
|
|
44
|
-
link: string | null;
|
|
45
43
|
title: string;
|
|
44
|
+
link: string | null;
|
|
45
|
+
isEnabled: boolean;
|
|
46
46
|
}, {
|
|
47
47
|
startTime: string;
|
|
48
48
|
endTime: string;
|
|
49
49
|
imageUrl: string;
|
|
50
|
-
isEnabled: boolean;
|
|
51
|
-
link: string | null;
|
|
52
50
|
title: string;
|
|
51
|
+
link: string | null;
|
|
52
|
+
isEnabled: boolean;
|
|
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
65
|
startTime: string;
|
|
67
66
|
endTime: string;
|
|
68
|
-
|
|
67
|
+
regions: import("../../shared").Region[];
|
|
69
68
|
id: string & z.BRAND<"RegionalAdId">;
|
|
70
69
|
imageUrl: string;
|
|
71
|
-
isEnabled: boolean;
|
|
72
|
-
link: string | null;
|
|
73
70
|
title: string;
|
|
71
|
+
createdAt: string;
|
|
72
|
+
link: string | null;
|
|
73
|
+
isEnabled: boolean;
|
|
74
74
|
}, {
|
|
75
|
-
regions: import('../../shared').Region[];
|
|
76
75
|
startTime: string;
|
|
77
76
|
endTime: string;
|
|
78
|
-
|
|
77
|
+
regions: import("../../shared").Region[];
|
|
79
78
|
id: string;
|
|
80
79
|
imageUrl: string;
|
|
81
|
-
isEnabled: boolean;
|
|
82
|
-
link: string | null;
|
|
83
80
|
title: string;
|
|
81
|
+
createdAt: string;
|
|
82
|
+
link: string | null;
|
|
83
|
+
isEnabled: boolean;
|
|
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
|
-
}, "
|
|
96
|
-
regions: import('../../shared').Region[];
|
|
95
|
+
}, "id" | "createdAt">, "strip", z.ZodTypeAny, {
|
|
97
96
|
startTime: string;
|
|
98
97
|
endTime: string;
|
|
98
|
+
regions: import("../../shared").Region[];
|
|
99
99
|
imageUrl: string;
|
|
100
|
-
isEnabled: boolean;
|
|
101
|
-
link: string | null;
|
|
102
100
|
title: string;
|
|
101
|
+
link: string | null;
|
|
102
|
+
isEnabled: boolean;
|
|
103
103
|
}, {
|
|
104
|
-
regions: import('../../shared').Region[];
|
|
105
104
|
startTime: string;
|
|
106
105
|
endTime: string;
|
|
106
|
+
regions: import("../../shared").Region[];
|
|
107
107
|
imageUrl: string;
|
|
108
|
-
isEnabled: boolean;
|
|
109
|
-
link: string | null;
|
|
110
108
|
title: string;
|
|
109
|
+
link: string | null;
|
|
110
|
+
isEnabled: boolean;
|
|
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,15 +58,14 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
58
58
|
name: string;
|
|
59
59
|
}>, "many">;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
|
|
62
|
-
category: import('../../shared').Category;
|
|
61
|
+
category: import("../../shared").Category;
|
|
63
62
|
startTime: string;
|
|
64
|
-
|
|
63
|
+
regions: import("../../shared").Region[];
|
|
65
64
|
id: string & z.BRAND<"EventId">;
|
|
66
|
-
link: string | null;
|
|
67
65
|
title: string;
|
|
68
66
|
adress: string;
|
|
69
67
|
capacity: number | null;
|
|
68
|
+
createdAt: string;
|
|
70
69
|
description: string;
|
|
71
70
|
externalSourceId: string | null;
|
|
72
71
|
finishTime: string | null;
|
|
@@ -82,8 +81,9 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
82
81
|
isOldTimes: boolean;
|
|
83
82
|
isPriceRange: boolean;
|
|
84
83
|
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,15 +92,14 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
92
92
|
name: string;
|
|
93
93
|
}[];
|
|
94
94
|
}, {
|
|
95
|
-
|
|
96
|
-
category: import('../../shared').Category;
|
|
95
|
+
category: import("../../shared").Category;
|
|
97
96
|
startTime: string;
|
|
98
|
-
|
|
97
|
+
regions: import("../../shared").Region[];
|
|
99
98
|
id: string;
|
|
100
|
-
link: string | null;
|
|
101
99
|
title: string;
|
|
102
100
|
adress: string;
|
|
103
101
|
capacity: number | null;
|
|
102
|
+
createdAt: string;
|
|
104
103
|
description: string;
|
|
105
104
|
externalSourceId: string | null;
|
|
106
105
|
finishTime: string | null;
|
|
@@ -116,8 +115,9 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
116
115
|
isOldTimes: boolean;
|
|
117
116
|
isPriceRange: boolean;
|
|
118
117
|
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,18 +144,17 @@ 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
|
-
|
|
155
|
-
category: import('../../shared').Category;
|
|
154
|
+
category: import("../../shared").Category;
|
|
156
155
|
startTime: string;
|
|
156
|
+
regions: import("../../shared").Region[];
|
|
157
157
|
id: string & z.BRAND<"EventId">;
|
|
158
|
-
link: string | null;
|
|
159
158
|
title: string;
|
|
160
159
|
adress: string;
|
|
161
160
|
capacity: number | null;
|
|
@@ -169,17 +168,17 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
169
168
|
isExhibition: boolean;
|
|
170
169
|
isOldTimes: boolean;
|
|
171
170
|
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
|
-
|
|
179
|
-
category: import('../../shared').Category;
|
|
178
|
+
category: import("../../shared").Category;
|
|
180
179
|
startTime: string;
|
|
180
|
+
regions: import("../../shared").Region[];
|
|
181
181
|
id: string;
|
|
182
|
-
link: string | null;
|
|
183
182
|
title: string;
|
|
184
183
|
adress: string;
|
|
185
184
|
capacity: number | null;
|
|
@@ -193,8 +192,9 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
193
192
|
isExhibition: boolean;
|
|
194
193
|
isOldTimes: boolean;
|
|
195
194
|
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,17 +217,16 @@ 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
|
-
|
|
228
|
-
category: import('../../shared').Category;
|
|
227
|
+
category: import("../../shared").Category;
|
|
229
228
|
startTime: string;
|
|
230
|
-
|
|
229
|
+
regions: import("../../shared").Region[];
|
|
231
230
|
title: string;
|
|
232
231
|
adress: string;
|
|
233
232
|
capacity: number | null;
|
|
@@ -241,16 +240,16 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
241
240
|
isExhibition: boolean;
|
|
242
241
|
isOldTimes: boolean;
|
|
243
242
|
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
|
-
|
|
251
|
-
category: import('../../shared').Category;
|
|
250
|
+
category: import("../../shared").Category;
|
|
252
251
|
startTime: string;
|
|
253
|
-
|
|
252
|
+
regions: import("../../shared").Region[];
|
|
254
253
|
title: string;
|
|
255
254
|
adress: string;
|
|
256
255
|
capacity: number | null;
|
|
@@ -264,8 +263,9 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
264
263
|
isExhibition: boolean;
|
|
265
264
|
isOldTimes: boolean;
|
|
266
265
|
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,15 +356,14 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
356
356
|
name: string;
|
|
357
357
|
}>, "many">>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
|
|
360
|
-
category?: import('../../shared').Category | undefined;
|
|
359
|
+
category?: import("../../shared").Category | undefined;
|
|
361
360
|
startTime?: string | undefined;
|
|
362
|
-
|
|
361
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
363
362
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
364
|
-
link?: string | null | undefined;
|
|
365
363
|
title?: string | undefined;
|
|
366
364
|
adress?: string | undefined;
|
|
367
365
|
capacity?: number | null | undefined;
|
|
366
|
+
createdAt?: string | undefined;
|
|
368
367
|
description?: string | undefined;
|
|
369
368
|
externalSourceId?: string | null | undefined;
|
|
370
369
|
finishTime?: string | null | undefined;
|
|
@@ -380,8 +379,9 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
380
379
|
isOldTimes?: boolean | undefined;
|
|
381
380
|
isPriceRange?: boolean | undefined;
|
|
382
381
|
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,15 +390,14 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
390
390
|
name: string;
|
|
391
391
|
}[] | undefined;
|
|
392
392
|
}, {
|
|
393
|
-
|
|
394
|
-
category?: import('../../shared').Category | undefined;
|
|
393
|
+
category?: import("../../shared").Category | undefined;
|
|
395
394
|
startTime?: string | undefined;
|
|
396
|
-
|
|
395
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
397
396
|
id?: string | undefined;
|
|
398
|
-
link?: string | null | undefined;
|
|
399
397
|
title?: string | undefined;
|
|
400
398
|
adress?: string | undefined;
|
|
401
399
|
capacity?: number | null | undefined;
|
|
400
|
+
createdAt?: string | undefined;
|
|
402
401
|
description?: string | undefined;
|
|
403
402
|
externalSourceId?: string | null | undefined;
|
|
404
403
|
finishTime?: string | null | undefined;
|
|
@@ -414,8 +413,9 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
414
413
|
isOldTimes?: boolean | undefined;
|
|
415
414
|
isPriceRange?: boolean | undefined;
|
|
416
415
|
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,19 +428,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
428
428
|
userId: z.ZodString;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
430
|
userId: string;
|
|
431
|
-
createdAt: string;
|
|
432
431
|
id: string;
|
|
432
|
+
createdAt: string;
|
|
433
433
|
organizersNames: string[];
|
|
434
434
|
partialEventState: {
|
|
435
|
-
|
|
436
|
-
category?: import('../../shared').Category | undefined;
|
|
435
|
+
category?: import("../../shared").Category | undefined;
|
|
437
436
|
startTime?: string | undefined;
|
|
438
|
-
|
|
437
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
439
438
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
440
|
-
link?: string | null | undefined;
|
|
441
439
|
title?: string | undefined;
|
|
442
440
|
adress?: string | undefined;
|
|
443
441
|
capacity?: number | null | undefined;
|
|
442
|
+
createdAt?: string | undefined;
|
|
444
443
|
description?: string | undefined;
|
|
445
444
|
externalSourceId?: string | null | undefined;
|
|
446
445
|
finishTime?: string | null | undefined;
|
|
@@ -456,8 +455,9 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
456
455
|
isOldTimes?: boolean | undefined;
|
|
457
456
|
isPriceRange?: boolean | undefined;
|
|
458
457
|
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,19 +469,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
469
469
|
source: string;
|
|
470
470
|
}, {
|
|
471
471
|
userId: string;
|
|
472
|
-
createdAt: string;
|
|
473
472
|
id: string;
|
|
473
|
+
createdAt: string;
|
|
474
474
|
organizersNames: string[];
|
|
475
475
|
partialEventState: {
|
|
476
|
-
|
|
477
|
-
category?: import('../../shared').Category | undefined;
|
|
476
|
+
category?: import("../../shared").Category | undefined;
|
|
478
477
|
startTime?: string | undefined;
|
|
479
|
-
|
|
478
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
480
479
|
id?: string | undefined;
|
|
481
|
-
link?: string | null | undefined;
|
|
482
480
|
title?: string | undefined;
|
|
483
481
|
adress?: string | undefined;
|
|
484
482
|
capacity?: number | null | undefined;
|
|
483
|
+
createdAt?: string | undefined;
|
|
485
484
|
description?: string | undefined;
|
|
486
485
|
externalSourceId?: string | null | undefined;
|
|
487
486
|
finishTime?: string | null | undefined;
|
|
@@ -497,8 +496,9 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
497
496
|
isOldTimes?: boolean | undefined;
|
|
498
497
|
isPriceRange?: boolean | undefined;
|
|
499
498
|
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?: {
|
|
@@ -559,4 +559,15 @@ export declare const ImportFromUrlDTOSchema: z.ZodObject<{
|
|
|
559
559
|
url: string;
|
|
560
560
|
}>;
|
|
561
561
|
export type ImportFromUrlDTO = z.infer<typeof ImportFromUrlDTOSchema>;
|
|
562
|
+
export declare const ExtractedDatesDTOSchema: z.ZodObject<{
|
|
563
|
+
startTime: z.ZodString;
|
|
564
|
+
finishTime: z.ZodNullable<z.ZodString>;
|
|
565
|
+
}, "strip", z.ZodTypeAny, {
|
|
566
|
+
startTime: string;
|
|
567
|
+
finishTime: string | null;
|
|
568
|
+
}, {
|
|
569
|
+
startTime: string;
|
|
570
|
+
finishTime: string | null;
|
|
571
|
+
}>;
|
|
572
|
+
export type ExtractedDatesDTO = z.infer<typeof ExtractedDatesDTOSchema>;
|
|
562
573
|
//# sourceMappingURL=event.d.ts.map
|
|
@@ -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,oBAAoB;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;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
|
|
3
|
+
export type ImportReminderFrequency = z.infer<typeof ImportReminderFrequencySchema>;
|
|
4
|
+
export declare const ImportReminderDTOSchema: z.ZodObject<{
|
|
5
|
+
frequency: z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>;
|
|
6
|
+
id: z.ZodBranded<z.ZodString, "ImportReminderId">;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
url: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
id: string & z.BRAND<"ImportReminderId">;
|
|
11
|
+
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
12
|
+
title: string;
|
|
13
|
+
url: string;
|
|
14
|
+
}, {
|
|
15
|
+
id: string;
|
|
16
|
+
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
17
|
+
title: string;
|
|
18
|
+
url: string;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const CreateImportReminderDTOSchema: z.ZodObject<{
|
|
21
|
+
frequency: z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>;
|
|
22
|
+
id: z.ZodBranded<z.ZodString, "ImportReminderId">;
|
|
23
|
+
title: z.ZodString;
|
|
24
|
+
url: z.ZodString;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
id: string & z.BRAND<"ImportReminderId">;
|
|
27
|
+
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
28
|
+
title: string;
|
|
29
|
+
url: string;
|
|
30
|
+
}, {
|
|
31
|
+
id: string;
|
|
32
|
+
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
33
|
+
title: string;
|
|
34
|
+
url: string;
|
|
35
|
+
}>;
|
|
36
|
+
export declare const UpdateImportReminderDTOSchema: z.ZodObject<{
|
|
37
|
+
frequency: z.ZodOptional<z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>>;
|
|
38
|
+
title: z.ZodOptional<z.ZodString>;
|
|
39
|
+
url: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
frequency?: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS" | undefined;
|
|
42
|
+
title?: string | undefined;
|
|
43
|
+
url?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
frequency?: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS" | undefined;
|
|
46
|
+
title?: string | undefined;
|
|
47
|
+
url?: string | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
export type ImportReminderDTO = z.infer<typeof ImportReminderDTOSchema>;
|
|
50
|
+
export type CreateImportReminderDTO = z.infer<typeof CreateImportReminderDTOSchema>;
|
|
51
|
+
export type UpdateImportReminderDTO = z.infer<typeof UpdateImportReminderDTOSchema>;
|
|
52
|
+
//# sourceMappingURL=import-reminder.d.ts.map
|
|
@@ -0,0 +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,6BAA6B,+DAA6D,CAAC;AACxG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,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"}
|
package/dist/V1/api/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,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">)[];
|
|
8
9
|
id: string & z.BRAND<"OrganizerId">;
|
|
9
10
|
imageUrl: string | null;
|
|
10
11
|
name: string;
|
|
11
|
-
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
12
12
|
}, {
|
|
13
|
+
eventsIds: string[];
|
|
13
14
|
id: string;
|
|
14
15
|
imageUrl: string | null;
|
|
15
16
|
name: string;
|
|
16
|
-
eventsIds: string[];
|
|
17
17
|
}>;
|
|
18
18
|
export declare const CreateOrganizerDTOSchema: z.ZodObject<{
|
|
19
19
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|