@sortipei/api-contracts 0.1.31 → 0.1.33
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 +14 -14
- package/dist/V1/api/event.d.ts +64 -64
- package/dist/V1/api/index.d.ts +1 -1
- package/dist/V1/api/index.d.ts.map +1 -1
- package/dist/V1/api/organizer.d.ts +4 -4
- package/dist/V1/api/statistics.d.ts +495 -0
- package/dist/V1/api/statistics.d.ts.map +1 -1
- package/dist/V1/external/partial-imported-event.d.ts +32 -32
- package/dist/api-contracts.js +126 -0
- package/dist/api-contracts.mjs +126 -0
- package/dist/shared/stats.d.ts +154 -445
- package/dist/shared/stats.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/V1/api/stats.d.ts +0 -4
- package/dist/V1/api/stats.d.ts.map +0 -1
package/dist/V1/api/ad.d.ts
CHANGED
|
@@ -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;
|
|
@@ -52,26 +52,26 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
52
52
|
imageUrl: z.ZodString;
|
|
53
53
|
isEnabled: z.ZodBoolean;
|
|
54
54
|
link: z.ZodNullable<z.ZodString>;
|
|
55
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
55
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
56
56
|
startTime: z.ZodString;
|
|
57
57
|
}, "strip", z.ZodTypeAny, {
|
|
58
58
|
startTime: string;
|
|
59
59
|
endTime: string;
|
|
60
60
|
createdAt: string;
|
|
61
61
|
id: string & z.BRAND<"RegionalAdId">;
|
|
62
|
-
link: string | null;
|
|
63
|
-
regions: import("../../shared").Region[];
|
|
64
62
|
imageUrl: string;
|
|
65
63
|
isEnabled: boolean;
|
|
64
|
+
link: string | null;
|
|
65
|
+
regions: import('../../shared').Region[];
|
|
66
66
|
}, {
|
|
67
67
|
startTime: string;
|
|
68
68
|
endTime: string;
|
|
69
69
|
createdAt: string;
|
|
70
70
|
id: string;
|
|
71
|
-
link: string | null;
|
|
72
|
-
regions: import("../../shared").Region[];
|
|
73
71
|
imageUrl: string;
|
|
74
72
|
isEnabled: boolean;
|
|
73
|
+
link: string | null;
|
|
74
|
+
regions: import('../../shared').Region[];
|
|
75
75
|
}>;
|
|
76
76
|
export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
77
77
|
createdAt: z.ZodString;
|
|
@@ -80,22 +80,22 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
|
80
80
|
imageUrl: z.ZodString;
|
|
81
81
|
isEnabled: z.ZodBoolean;
|
|
82
82
|
link: z.ZodNullable<z.ZodString>;
|
|
83
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
83
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
84
84
|
startTime: z.ZodString;
|
|
85
85
|
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
86
86
|
startTime: string;
|
|
87
87
|
endTime: string;
|
|
88
|
-
link: string | null;
|
|
89
|
-
regions: import("../../shared").Region[];
|
|
90
88
|
imageUrl: string;
|
|
91
89
|
isEnabled: boolean;
|
|
90
|
+
link: string | null;
|
|
91
|
+
regions: import('../../shared').Region[];
|
|
92
92
|
}, {
|
|
93
93
|
startTime: string;
|
|
94
94
|
endTime: string;
|
|
95
|
-
link: string | null;
|
|
96
|
-
regions: import("../../shared").Region[];
|
|
97
95
|
imageUrl: string;
|
|
98
96
|
isEnabled: boolean;
|
|
97
|
+
link: string | null;
|
|
98
|
+
regions: import('../../shared').Region[];
|
|
99
99
|
}>;
|
|
100
100
|
export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
|
|
101
101
|
export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
|
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const EventDTOSchema: z.ZodObject<{
|
|
3
3
|
adress: z.ZodString;
|
|
4
4
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
5
|
-
category: z.ZodNativeEnum<typeof import(
|
|
5
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
6
6
|
createdAt: z.ZodString;
|
|
7
7
|
description: z.ZodString;
|
|
8
8
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
@@ -15,7 +15,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
15
15
|
isPriceRange: z.ZodBoolean;
|
|
16
16
|
link: z.ZodNullable<z.ZodString>;
|
|
17
17
|
price: z.ZodNullable<z.ZodNumber>;
|
|
18
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
18
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
19
19
|
startTime: z.ZodString;
|
|
20
20
|
title: z.ZodString;
|
|
21
21
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -26,70 +26,70 @@ 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
|
-
category: import(
|
|
37
|
+
category: import('../../shared').Category;
|
|
38
38
|
startTime: string;
|
|
39
|
+
createdAt: string;
|
|
40
|
+
id: string & z.BRAND<"EventId">;
|
|
41
|
+
link: string | null;
|
|
42
|
+
regions: import('../../shared').Region[];
|
|
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
|
-
category: import(
|
|
63
|
+
category: import('../../shared').Category;
|
|
64
64
|
startTime: string;
|
|
65
|
+
createdAt: string;
|
|
66
|
+
id: string;
|
|
67
|
+
link: string | null;
|
|
68
|
+
regions: import('../../shared').Region[];
|
|
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<{
|
|
90
90
|
adress: z.ZodString;
|
|
91
91
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
92
|
-
category: z.ZodNativeEnum<typeof import(
|
|
92
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
93
93
|
description: z.ZodString;
|
|
94
94
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
95
95
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -101,47 +101,47 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
101
101
|
link: z.ZodNullable<z.ZodString>;
|
|
102
102
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
103
103
|
price: z.ZodNullable<z.ZodNumber>;
|
|
104
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
104
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
105
105
|
startTime: z.ZodString;
|
|
106
106
|
title: z.ZodString;
|
|
107
107
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
108
108
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
109
109
|
}, "strip", z.ZodTypeAny, {
|
|
110
|
-
category: import(
|
|
110
|
+
category: import('../../shared').Category;
|
|
111
111
|
startTime: string;
|
|
112
|
+
id: string & z.BRAND<"EventId">;
|
|
113
|
+
link: string | null;
|
|
114
|
+
regions: import('../../shared').Region[];
|
|
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
|
-
category: import(
|
|
130
|
+
category: import('../../shared').Category;
|
|
131
131
|
startTime: string;
|
|
132
|
+
id: string;
|
|
133
|
+
link: string | null;
|
|
134
|
+
regions: import('../../shared').Region[];
|
|
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;
|
|
@@ -150,7 +150,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
150
150
|
export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
151
151
|
adress: z.ZodString;
|
|
152
152
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
153
|
-
category: z.ZodNativeEnum<typeof import(
|
|
153
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
154
154
|
description: z.ZodString;
|
|
155
155
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
156
156
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -162,14 +162,16 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
162
162
|
link: z.ZodNullable<z.ZodString>;
|
|
163
163
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
164
164
|
price: z.ZodNullable<z.ZodNumber>;
|
|
165
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
165
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
166
166
|
startTime: z.ZodString;
|
|
167
167
|
title: z.ZodString;
|
|
168
168
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
169
169
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
170
170
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
171
|
-
category: import(
|
|
171
|
+
category: import('../../shared').Category;
|
|
172
172
|
startTime: string;
|
|
173
|
+
link: string | null;
|
|
174
|
+
regions: import('../../shared').Region[];
|
|
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
|
-
category: import(
|
|
190
|
+
category: import('../../shared').Category;
|
|
191
191
|
startTime: string;
|
|
192
|
+
link: string | null;
|
|
193
|
+
regions: import('../../shared').Region[];
|
|
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;
|
|
@@ -246,7 +246,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
246
246
|
partialEventState: z.ZodObject<{
|
|
247
247
|
adress: z.ZodOptional<z.ZodString>;
|
|
248
248
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
249
|
-
category: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
249
|
+
category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
250
250
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
251
251
|
description: z.ZodOptional<z.ZodString>;
|
|
252
252
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -259,7 +259,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
259
259
|
isPriceRange: z.ZodOptional<z.ZodBoolean>;
|
|
260
260
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
261
261
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
262
|
-
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
262
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
|
|
263
263
|
startTime: z.ZodOptional<z.ZodString>;
|
|
264
264
|
title: z.ZodOptional<z.ZodString>;
|
|
265
265
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -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
|
-
category?: import(
|
|
281
|
+
category?: import('../../shared').Category | undefined;
|
|
282
282
|
startTime?: string | undefined;
|
|
283
|
+
createdAt?: string | undefined;
|
|
284
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
285
|
+
link?: string | null | undefined;
|
|
286
|
+
regions?: import('../../shared').Region[] | 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
|
-
category?: import(
|
|
307
|
+
category?: import('../../shared').Category | undefined;
|
|
308
308
|
startTime?: string | undefined;
|
|
309
|
+
createdAt?: string | undefined;
|
|
310
|
+
id?: string | undefined;
|
|
311
|
+
link?: string | null | undefined;
|
|
312
|
+
regions?: import('../../shared').Region[] | 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: {
|
|
340
|
-
category?: import(
|
|
341
|
+
category?: import('../../shared').Category | undefined;
|
|
341
342
|
startTime?: string | undefined;
|
|
343
|
+
createdAt?: string | undefined;
|
|
344
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
345
|
+
link?: string | null | undefined;
|
|
346
|
+
regions?: import('../../shared').Region[] | 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: {
|
|
373
|
-
category?: import(
|
|
374
|
+
category?: import('../../shared').Category | undefined;
|
|
374
375
|
startTime?: string | undefined;
|
|
376
|
+
createdAt?: string | undefined;
|
|
377
|
+
id?: string | undefined;
|
|
378
|
+
link?: string | null | undefined;
|
|
379
|
+
regions?: import('../../shared').Region[] | 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>;
|
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,
|
|
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"}
|
|
@@ -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">;
|