@sortipei/api-contracts 0.1.23 → 0.1.25
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/event.d.ts +49 -5
- package/dist/V1/api/event.d.ts.map +1 -1
- package/dist/V1/api/index.d.ts +1 -0
- package/dist/V1/api/index.d.ts.map +1 -1
- package/dist/V1/api/statistics.d.ts +16 -0
- package/dist/V1/api/statistics.d.ts.map +1 -0
- package/dist/V1/external/partial-imported-event.d.ts +18 -3
- package/dist/V1/external/partial-imported-event.d.ts.map +1 -1
- package/dist/api-contracts.js +18 -3
- package/dist/api-contracts.mjs +18 -3
- package/package.json +1 -1
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
3
3
|
adress: z.ZodString;
|
|
4
4
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
5
5
|
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
6
|
+
createdAt: z.ZodString;
|
|
6
7
|
description: z.ZodString;
|
|
7
8
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
8
9
|
hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -11,12 +12,14 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
11
12
|
imageUrls: z.ZodArray<z.ZodString, "many">;
|
|
12
13
|
isDisplayed: z.ZodBoolean;
|
|
13
14
|
isPromoted: z.ZodBoolean;
|
|
15
|
+
isPriceRange: z.ZodBoolean;
|
|
14
16
|
link: z.ZodNullable<z.ZodString>;
|
|
15
17
|
price: z.ZodNullable<z.ZodNumber>;
|
|
16
18
|
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
17
19
|
startTime: z.ZodString;
|
|
18
20
|
title: z.ZodString;
|
|
19
21
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
22
|
+
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
20
23
|
organizers: z.ZodArray<z.ZodObject<{
|
|
21
24
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
22
25
|
name: z.ZodString;
|
|
@@ -34,6 +37,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
34
37
|
adress: string;
|
|
35
38
|
capacity: number | null;
|
|
36
39
|
category: import('../../shared').Category;
|
|
40
|
+
createdAt: string;
|
|
37
41
|
description: string;
|
|
38
42
|
finishTime: string | null;
|
|
39
43
|
hasHandicapAccess: boolean | null;
|
|
@@ -42,12 +46,14 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
42
46
|
imageUrls: string[];
|
|
43
47
|
isDisplayed: boolean;
|
|
44
48
|
isPromoted: boolean;
|
|
49
|
+
isPriceRange: boolean;
|
|
45
50
|
link: string | null;
|
|
46
51
|
price: number | null;
|
|
47
52
|
regions: import('../../shared').Region[];
|
|
48
53
|
startTime: string;
|
|
49
54
|
title: string;
|
|
50
55
|
thumbnailUrl: string | null;
|
|
56
|
+
ticketsUrl: string | null;
|
|
51
57
|
organizers: {
|
|
52
58
|
id: string & z.BRAND<"OrganizerId">;
|
|
53
59
|
name: string;
|
|
@@ -57,6 +63,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
57
63
|
adress: string;
|
|
58
64
|
capacity: number | null;
|
|
59
65
|
category: import('../../shared').Category;
|
|
66
|
+
createdAt: string;
|
|
60
67
|
description: string;
|
|
61
68
|
finishTime: string | null;
|
|
62
69
|
hasHandicapAccess: boolean | null;
|
|
@@ -65,12 +72,14 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
65
72
|
imageUrls: string[];
|
|
66
73
|
isDisplayed: boolean;
|
|
67
74
|
isPromoted: boolean;
|
|
75
|
+
isPriceRange: boolean;
|
|
68
76
|
link: string | null;
|
|
69
77
|
price: number | null;
|
|
70
78
|
regions: import('../../shared').Region[];
|
|
71
79
|
startTime: string;
|
|
72
80
|
title: string;
|
|
73
81
|
thumbnailUrl: string | null;
|
|
82
|
+
ticketsUrl: string | null;
|
|
74
83
|
organizers: {
|
|
75
84
|
id: string;
|
|
76
85
|
name: string;
|
|
@@ -88,6 +97,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
88
97
|
imageBlurHashes: z.ZodArray<z.ZodString, "many">;
|
|
89
98
|
imageUrls: z.ZodArray<z.ZodString, "many">;
|
|
90
99
|
isDisplayed: z.ZodBoolean;
|
|
100
|
+
isPriceRange: z.ZodBoolean;
|
|
91
101
|
link: z.ZodNullable<z.ZodString>;
|
|
92
102
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
93
103
|
price: z.ZodNullable<z.ZodNumber>;
|
|
@@ -95,6 +105,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
95
105
|
startTime: z.ZodString;
|
|
96
106
|
title: z.ZodString;
|
|
97
107
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
108
|
+
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
98
109
|
}, "strip", z.ZodTypeAny, {
|
|
99
110
|
adress: string;
|
|
100
111
|
capacity: number | null;
|
|
@@ -106,12 +117,14 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
106
117
|
imageBlurHashes: string[];
|
|
107
118
|
imageUrls: string[];
|
|
108
119
|
isDisplayed: boolean;
|
|
120
|
+
isPriceRange: boolean;
|
|
109
121
|
link: string | null;
|
|
110
122
|
price: number | null;
|
|
111
123
|
regions: import('../../shared').Region[];
|
|
112
124
|
startTime: string;
|
|
113
125
|
title: string;
|
|
114
126
|
thumbnailUrl: string | null;
|
|
127
|
+
ticketsUrl: string | null;
|
|
115
128
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
116
129
|
}, {
|
|
117
130
|
adress: string;
|
|
@@ -124,12 +137,14 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
124
137
|
imageBlurHashes: string[];
|
|
125
138
|
imageUrls: string[];
|
|
126
139
|
isDisplayed: boolean;
|
|
140
|
+
isPriceRange: boolean;
|
|
127
141
|
link: string | null;
|
|
128
142
|
price: number | null;
|
|
129
143
|
regions: import('../../shared').Region[];
|
|
130
144
|
startTime: string;
|
|
131
145
|
title: string;
|
|
132
146
|
thumbnailUrl: string | null;
|
|
147
|
+
ticketsUrl: string | null;
|
|
133
148
|
organizersIds: string[];
|
|
134
149
|
}>;
|
|
135
150
|
export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
@@ -143,6 +158,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
143
158
|
imageBlurHashes: z.ZodArray<z.ZodString, "many">;
|
|
144
159
|
imageUrls: z.ZodArray<z.ZodString, "many">;
|
|
145
160
|
isDisplayed: z.ZodBoolean;
|
|
161
|
+
isPriceRange: z.ZodBoolean;
|
|
146
162
|
link: z.ZodNullable<z.ZodString>;
|
|
147
163
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
148
164
|
price: z.ZodNullable<z.ZodNumber>;
|
|
@@ -150,6 +166,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
150
166
|
startTime: z.ZodString;
|
|
151
167
|
title: z.ZodString;
|
|
152
168
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
169
|
+
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
153
170
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
154
171
|
adress: string;
|
|
155
172
|
capacity: number | null;
|
|
@@ -160,12 +177,14 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
160
177
|
imageBlurHashes: string[];
|
|
161
178
|
imageUrls: string[];
|
|
162
179
|
isDisplayed: boolean;
|
|
180
|
+
isPriceRange: boolean;
|
|
163
181
|
link: string | null;
|
|
164
182
|
price: number | null;
|
|
165
183
|
regions: import('../../shared').Region[];
|
|
166
184
|
startTime: string;
|
|
167
185
|
title: string;
|
|
168
186
|
thumbnailUrl: string | null;
|
|
187
|
+
ticketsUrl: string | null;
|
|
169
188
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
170
189
|
}, {
|
|
171
190
|
adress: string;
|
|
@@ -177,12 +196,14 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
177
196
|
imageBlurHashes: string[];
|
|
178
197
|
imageUrls: string[];
|
|
179
198
|
isDisplayed: boolean;
|
|
199
|
+
isPriceRange: boolean;
|
|
180
200
|
link: string | null;
|
|
181
201
|
price: number | null;
|
|
182
202
|
regions: import('../../shared').Region[];
|
|
183
203
|
startTime: string;
|
|
184
204
|
title: string;
|
|
185
205
|
thumbnailUrl: string | null;
|
|
206
|
+
ticketsUrl: string | null;
|
|
186
207
|
organizersIds: string[];
|
|
187
208
|
}>;
|
|
188
209
|
export declare const DisplayEventDTOSchema: z.ZodObject<{
|
|
@@ -226,6 +247,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
226
247
|
adress: z.ZodOptional<z.ZodString>;
|
|
227
248
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
228
249
|
category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
250
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
229
251
|
description: z.ZodOptional<z.ZodString>;
|
|
230
252
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
231
253
|
hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -234,12 +256,14 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
234
256
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
235
257
|
isDisplayed: z.ZodOptional<z.ZodBoolean>;
|
|
236
258
|
isPromoted: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
isPriceRange: z.ZodOptional<z.ZodBoolean>;
|
|
237
260
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
238
261
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
239
262
|
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
|
|
240
263
|
startTime: z.ZodOptional<z.ZodString>;
|
|
241
264
|
title: z.ZodOptional<z.ZodString>;
|
|
242
265
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
266
|
+
ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
243
267
|
organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
244
268
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
245
269
|
name: z.ZodString;
|
|
@@ -257,6 +281,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
257
281
|
adress?: string | undefined;
|
|
258
282
|
capacity?: number | null | undefined;
|
|
259
283
|
category?: import('../../shared').Category | undefined;
|
|
284
|
+
createdAt?: string | undefined;
|
|
260
285
|
description?: string | undefined;
|
|
261
286
|
finishTime?: string | null | undefined;
|
|
262
287
|
hasHandicapAccess?: boolean | null | undefined;
|
|
@@ -265,12 +290,14 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
265
290
|
imageUrls?: string[] | undefined;
|
|
266
291
|
isDisplayed?: boolean | undefined;
|
|
267
292
|
isPromoted?: boolean | undefined;
|
|
293
|
+
isPriceRange?: boolean | undefined;
|
|
268
294
|
link?: string | null | undefined;
|
|
269
295
|
price?: number | null | undefined;
|
|
270
296
|
regions?: import('../../shared').Region[] | undefined;
|
|
271
297
|
startTime?: string | undefined;
|
|
272
298
|
title?: string | undefined;
|
|
273
299
|
thumbnailUrl?: string | null | undefined;
|
|
300
|
+
ticketsUrl?: string | null | undefined;
|
|
274
301
|
organizers?: {
|
|
275
302
|
id: string & z.BRAND<"OrganizerId">;
|
|
276
303
|
name: string;
|
|
@@ -280,6 +307,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
280
307
|
adress?: string | undefined;
|
|
281
308
|
capacity?: number | null | undefined;
|
|
282
309
|
category?: import('../../shared').Category | undefined;
|
|
310
|
+
createdAt?: string | undefined;
|
|
283
311
|
description?: string | undefined;
|
|
284
312
|
finishTime?: string | null | undefined;
|
|
285
313
|
hasHandicapAccess?: boolean | null | undefined;
|
|
@@ -288,28 +316,31 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
288
316
|
imageUrls?: string[] | undefined;
|
|
289
317
|
isDisplayed?: boolean | undefined;
|
|
290
318
|
isPromoted?: boolean | undefined;
|
|
319
|
+
isPriceRange?: boolean | undefined;
|
|
291
320
|
link?: string | null | undefined;
|
|
292
321
|
price?: number | null | undefined;
|
|
293
322
|
regions?: import('../../shared').Region[] | undefined;
|
|
294
323
|
startTime?: string | undefined;
|
|
295
324
|
title?: string | undefined;
|
|
296
325
|
thumbnailUrl?: string | null | undefined;
|
|
326
|
+
ticketsUrl?: string | null | undefined;
|
|
297
327
|
organizers?: {
|
|
298
328
|
id: string;
|
|
299
329
|
name: string;
|
|
300
330
|
imageUrl: string | null;
|
|
301
331
|
}[] | undefined;
|
|
302
332
|
}>;
|
|
303
|
-
source: z.ZodLiteral<"facebook">;
|
|
333
|
+
source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
|
|
304
334
|
userId: z.ZodString;
|
|
305
335
|
}, "strip", z.ZodTypeAny, {
|
|
306
|
-
id: string;
|
|
307
336
|
createdAt: string;
|
|
337
|
+
id: string;
|
|
308
338
|
organizersNames: string[];
|
|
309
339
|
partialEventState: {
|
|
310
340
|
adress?: string | undefined;
|
|
311
341
|
capacity?: number | null | undefined;
|
|
312
342
|
category?: import('../../shared').Category | undefined;
|
|
343
|
+
createdAt?: string | undefined;
|
|
313
344
|
description?: string | undefined;
|
|
314
345
|
finishTime?: string | null | undefined;
|
|
315
346
|
hasHandicapAccess?: boolean | null | undefined;
|
|
@@ -318,28 +349,31 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
318
349
|
imageUrls?: string[] | undefined;
|
|
319
350
|
isDisplayed?: boolean | undefined;
|
|
320
351
|
isPromoted?: boolean | undefined;
|
|
352
|
+
isPriceRange?: boolean | undefined;
|
|
321
353
|
link?: string | null | undefined;
|
|
322
354
|
price?: number | null | undefined;
|
|
323
355
|
regions?: import('../../shared').Region[] | undefined;
|
|
324
356
|
startTime?: string | undefined;
|
|
325
357
|
title?: string | undefined;
|
|
326
358
|
thumbnailUrl?: string | null | undefined;
|
|
359
|
+
ticketsUrl?: string | null | undefined;
|
|
327
360
|
organizers?: {
|
|
328
361
|
id: string & z.BRAND<"OrganizerId">;
|
|
329
362
|
name: string;
|
|
330
363
|
imageUrl: string | null;
|
|
331
364
|
}[] | undefined;
|
|
332
365
|
};
|
|
333
|
-
source: "facebook";
|
|
366
|
+
source: "facebook" | "website";
|
|
334
367
|
userId: string;
|
|
335
368
|
}, {
|
|
336
|
-
id: string;
|
|
337
369
|
createdAt: string;
|
|
370
|
+
id: string;
|
|
338
371
|
organizersNames: string[];
|
|
339
372
|
partialEventState: {
|
|
340
373
|
adress?: string | undefined;
|
|
341
374
|
capacity?: number | null | undefined;
|
|
342
375
|
category?: import('../../shared').Category | undefined;
|
|
376
|
+
createdAt?: string | undefined;
|
|
343
377
|
description?: string | undefined;
|
|
344
378
|
finishTime?: string | null | undefined;
|
|
345
379
|
hasHandicapAccess?: boolean | null | undefined;
|
|
@@ -348,19 +382,21 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
348
382
|
imageUrls?: string[] | undefined;
|
|
349
383
|
isDisplayed?: boolean | undefined;
|
|
350
384
|
isPromoted?: boolean | undefined;
|
|
385
|
+
isPriceRange?: boolean | undefined;
|
|
351
386
|
link?: string | null | undefined;
|
|
352
387
|
price?: number | null | undefined;
|
|
353
388
|
regions?: import('../../shared').Region[] | undefined;
|
|
354
389
|
startTime?: string | undefined;
|
|
355
390
|
title?: string | undefined;
|
|
356
391
|
thumbnailUrl?: string | null | undefined;
|
|
392
|
+
ticketsUrl?: string | null | undefined;
|
|
357
393
|
organizers?: {
|
|
358
394
|
id: string;
|
|
359
395
|
name: string;
|
|
360
396
|
imageUrl: string | null;
|
|
361
397
|
}[] | undefined;
|
|
362
398
|
};
|
|
363
|
-
source: "facebook";
|
|
399
|
+
source: "facebook" | "website";
|
|
364
400
|
userId: string;
|
|
365
401
|
}>;
|
|
366
402
|
export type ImportDTO = z.infer<typeof ImportDTOSchema>;
|
|
@@ -405,4 +441,12 @@ export declare const EventFileUploadDTOSchema: z.ZodObject<{
|
|
|
405
441
|
};
|
|
406
442
|
}>;
|
|
407
443
|
export type EventFileUploadDTO = z.infer<typeof EventFileUploadDTOSchema>;
|
|
444
|
+
export declare const ImportFromUrlDTOSchema: z.ZodObject<{
|
|
445
|
+
url: z.ZodString;
|
|
446
|
+
}, "strip", z.ZodTypeAny, {
|
|
447
|
+
url: string;
|
|
448
|
+
}, {
|
|
449
|
+
url: string;
|
|
450
|
+
}>;
|
|
451
|
+
export type ImportFromUrlDTO = z.infer<typeof ImportFromUrlDTOSchema>;
|
|
408
452
|
//# 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,cAAc
|
|
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,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8BzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoB/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,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,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,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"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const GlobalStatsDTOSchema: z.ZodObject<{
|
|
3
|
+
currentFavoritesCount: z.ZodNumber;
|
|
4
|
+
totalFavoritesCount: z.ZodNumber;
|
|
5
|
+
usersCount: z.ZodNumber;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
currentFavoritesCount: number;
|
|
8
|
+
totalFavoritesCount: number;
|
|
9
|
+
usersCount: number;
|
|
10
|
+
}, {
|
|
11
|
+
currentFavoritesCount: number;
|
|
12
|
+
totalFavoritesCount: number;
|
|
13
|
+
usersCount: number;
|
|
14
|
+
}>;
|
|
15
|
+
export type GlobalStatsDTO = z.infer<typeof GlobalStatsDTOSchema>;
|
|
16
|
+
//# sourceMappingURL=statistics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../../../src/V1/api/statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;EAI/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -4,6 +4,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
4
4
|
adress: z.ZodOptional<z.ZodString>;
|
|
5
5
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
6
|
category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
7
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
7
8
|
description: z.ZodOptional<z.ZodString>;
|
|
8
9
|
finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
10
|
hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -12,12 +13,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
12
13
|
imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
13
14
|
isDisplayed: z.ZodOptional<z.ZodBoolean>;
|
|
14
15
|
isPromoted: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
isPriceRange: z.ZodOptional<z.ZodBoolean>;
|
|
15
17
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
19
|
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
|
|
18
20
|
startTime: z.ZodOptional<z.ZodString>;
|
|
19
21
|
title: z.ZodOptional<z.ZodString>;
|
|
20
22
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
24
|
organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
22
25
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
23
26
|
name: z.ZodString;
|
|
@@ -35,6 +38,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
35
38
|
adress?: string | undefined;
|
|
36
39
|
capacity?: number | null | undefined;
|
|
37
40
|
category?: import('../../shared').Category | undefined;
|
|
41
|
+
createdAt?: string | undefined;
|
|
38
42
|
description?: string | undefined;
|
|
39
43
|
finishTime?: string | null | undefined;
|
|
40
44
|
hasHandicapAccess?: boolean | null | undefined;
|
|
@@ -43,12 +47,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
43
47
|
imageUrls?: string[] | undefined;
|
|
44
48
|
isDisplayed?: boolean | undefined;
|
|
45
49
|
isPromoted?: boolean | undefined;
|
|
50
|
+
isPriceRange?: boolean | undefined;
|
|
46
51
|
link?: string | null | undefined;
|
|
47
52
|
price?: number | null | undefined;
|
|
48
53
|
regions?: import('../../shared').Region[] | undefined;
|
|
49
54
|
startTime?: string | undefined;
|
|
50
55
|
title?: string | undefined;
|
|
51
56
|
thumbnailUrl?: string | null | undefined;
|
|
57
|
+
ticketsUrl?: string | null | undefined;
|
|
52
58
|
organizers?: {
|
|
53
59
|
id: string & z.BRAND<"OrganizerId">;
|
|
54
60
|
name: string;
|
|
@@ -58,6 +64,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
58
64
|
adress?: string | undefined;
|
|
59
65
|
capacity?: number | null | undefined;
|
|
60
66
|
category?: import('../../shared').Category | undefined;
|
|
67
|
+
createdAt?: string | undefined;
|
|
61
68
|
description?: string | undefined;
|
|
62
69
|
finishTime?: string | null | undefined;
|
|
63
70
|
hasHandicapAccess?: boolean | null | undefined;
|
|
@@ -66,12 +73,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
66
73
|
imageUrls?: string[] | undefined;
|
|
67
74
|
isDisplayed?: boolean | undefined;
|
|
68
75
|
isPromoted?: boolean | undefined;
|
|
76
|
+
isPriceRange?: boolean | undefined;
|
|
69
77
|
link?: string | null | undefined;
|
|
70
78
|
price?: number | null | undefined;
|
|
71
79
|
regions?: import('../../shared').Region[] | undefined;
|
|
72
80
|
startTime?: string | undefined;
|
|
73
81
|
title?: string | undefined;
|
|
74
82
|
thumbnailUrl?: string | null | undefined;
|
|
83
|
+
ticketsUrl?: string | null | undefined;
|
|
75
84
|
organizers?: {
|
|
76
85
|
id: string;
|
|
77
86
|
name: string;
|
|
@@ -81,13 +90,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
81
90
|
token: z.ZodString;
|
|
82
91
|
userId: z.ZodString;
|
|
83
92
|
organizersNames: z.ZodArray<z.ZodString, "many">;
|
|
84
|
-
source: z.ZodLiteral<"facebook">;
|
|
93
|
+
source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
|
|
85
94
|
}, "strip", z.ZodTypeAny, {
|
|
86
95
|
organizersNames: string[];
|
|
87
96
|
partialEventState: {
|
|
88
97
|
adress?: string | undefined;
|
|
89
98
|
capacity?: number | null | undefined;
|
|
90
99
|
category?: import('../../shared').Category | undefined;
|
|
100
|
+
createdAt?: string | undefined;
|
|
91
101
|
description?: string | undefined;
|
|
92
102
|
finishTime?: string | null | undefined;
|
|
93
103
|
hasHandicapAccess?: boolean | null | undefined;
|
|
@@ -96,19 +106,21 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
96
106
|
imageUrls?: string[] | undefined;
|
|
97
107
|
isDisplayed?: boolean | undefined;
|
|
98
108
|
isPromoted?: boolean | undefined;
|
|
109
|
+
isPriceRange?: boolean | undefined;
|
|
99
110
|
link?: string | null | undefined;
|
|
100
111
|
price?: number | null | undefined;
|
|
101
112
|
regions?: import('../../shared').Region[] | undefined;
|
|
102
113
|
startTime?: string | undefined;
|
|
103
114
|
title?: string | undefined;
|
|
104
115
|
thumbnailUrl?: string | null | undefined;
|
|
116
|
+
ticketsUrl?: string | null | undefined;
|
|
105
117
|
organizers?: {
|
|
106
118
|
id: string & z.BRAND<"OrganizerId">;
|
|
107
119
|
name: string;
|
|
108
120
|
imageUrl: string | null;
|
|
109
121
|
}[] | undefined;
|
|
110
122
|
};
|
|
111
|
-
source: "facebook";
|
|
123
|
+
source: "facebook" | "website";
|
|
112
124
|
userId: string;
|
|
113
125
|
token: string;
|
|
114
126
|
}, {
|
|
@@ -117,6 +129,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
117
129
|
adress?: string | undefined;
|
|
118
130
|
capacity?: number | null | undefined;
|
|
119
131
|
category?: import('../../shared').Category | undefined;
|
|
132
|
+
createdAt?: string | undefined;
|
|
120
133
|
description?: string | undefined;
|
|
121
134
|
finishTime?: string | null | undefined;
|
|
122
135
|
hasHandicapAccess?: boolean | null | undefined;
|
|
@@ -125,19 +138,21 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
125
138
|
imageUrls?: string[] | undefined;
|
|
126
139
|
isDisplayed?: boolean | undefined;
|
|
127
140
|
isPromoted?: boolean | undefined;
|
|
141
|
+
isPriceRange?: boolean | undefined;
|
|
128
142
|
link?: string | null | undefined;
|
|
129
143
|
price?: number | null | undefined;
|
|
130
144
|
regions?: import('../../shared').Region[] | undefined;
|
|
131
145
|
startTime?: string | undefined;
|
|
132
146
|
title?: string | undefined;
|
|
133
147
|
thumbnailUrl?: string | null | undefined;
|
|
148
|
+
ticketsUrl?: string | null | undefined;
|
|
134
149
|
organizers?: {
|
|
135
150
|
id: string;
|
|
136
151
|
name: string;
|
|
137
152
|
imageUrl: string | null;
|
|
138
153
|
}[] | undefined;
|
|
139
154
|
};
|
|
140
|
-
source: "facebook";
|
|
155
|
+
source: "facebook" | "website";
|
|
141
156
|
userId: string;
|
|
142
157
|
token: string;
|
|
143
158
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
package/dist/api-contracts.js
CHANGED
|
@@ -4098,6 +4098,7 @@ const EventDTOSchema = z.object({
|
|
|
4098
4098
|
adress: StringSchema,
|
|
4099
4099
|
capacity: SafeNonNegativeIntegerSchema.nullable(),
|
|
4100
4100
|
category: CategorySchema,
|
|
4101
|
+
createdAt: z.string().datetime(),
|
|
4101
4102
|
description: StringSchema,
|
|
4102
4103
|
finishTime: z.string().datetime().nullable(),
|
|
4103
4104
|
hasHandicapAccess: z.boolean().nullable(),
|
|
@@ -4106,12 +4107,14 @@ const EventDTOSchema = z.object({
|
|
|
4106
4107
|
imageUrls: URLSchema.array(),
|
|
4107
4108
|
isDisplayed: z.boolean(),
|
|
4108
4109
|
isPromoted: z.boolean(),
|
|
4110
|
+
isPriceRange: z.boolean(),
|
|
4109
4111
|
link: URLSchema.nullable(),
|
|
4110
4112
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4111
4113
|
regions: RegionSchema.array(),
|
|
4112
4114
|
startTime: z.string().datetime(),
|
|
4113
4115
|
title: StringSchema,
|
|
4114
4116
|
thumbnailUrl: URLSchema.nullable(),
|
|
4117
|
+
ticketsUrl: URLSchema.nullable(),
|
|
4115
4118
|
organizers: z.object({
|
|
4116
4119
|
id: OrganizerIdSchema,
|
|
4117
4120
|
name: StringSchema,
|
|
@@ -4129,13 +4132,15 @@ const CreateEventDTOSchema = z.object({
|
|
|
4129
4132
|
imageBlurHashes: StringSchema.array(),
|
|
4130
4133
|
imageUrls: URLSchema.array(),
|
|
4131
4134
|
isDisplayed: z.boolean(),
|
|
4135
|
+
isPriceRange: z.boolean(),
|
|
4132
4136
|
link: URLSchema.nullable(),
|
|
4133
4137
|
organizersIds: OrganizerIdSchema.array().min(1),
|
|
4134
4138
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4135
4139
|
regions: RegionSchema.array(),
|
|
4136
4140
|
startTime: z.string().datetime(),
|
|
4137
4141
|
title: StringSchema,
|
|
4138
|
-
thumbnailUrl: URLSchema.nullable()
|
|
4142
|
+
thumbnailUrl: URLSchema.nullable(),
|
|
4143
|
+
ticketsUrl: URLSchema.nullable()
|
|
4139
4144
|
});
|
|
4140
4145
|
const UpdateEventDTOSchema = CreateEventDTOSchema.omit({
|
|
4141
4146
|
id: true
|
|
@@ -4165,13 +4170,16 @@ const ImportDTOSchema = z.object({
|
|
|
4165
4170
|
id: StringSchema,
|
|
4166
4171
|
organizersNames: StringSchema.array(),
|
|
4167
4172
|
partialEventState: EventDTOSchema.partial(),
|
|
4168
|
-
source: z.literal("facebook"),
|
|
4173
|
+
source: z.union([z.literal("facebook"), z.literal("website")]),
|
|
4169
4174
|
userId: StringSchema
|
|
4170
4175
|
});
|
|
4171
4176
|
const EventFileUploadDTOSchema = z.object({
|
|
4172
4177
|
imageUploadUrls: FileUploadDTOSchema.array(),
|
|
4173
4178
|
thumbnailUploadUrl: FileUploadDTOSchema
|
|
4174
4179
|
});
|
|
4180
|
+
const ImportFromUrlDTOSchema = z.object({
|
|
4181
|
+
url: URLSchema
|
|
4182
|
+
});
|
|
4175
4183
|
const OrganizerDTOSchema = z.object({
|
|
4176
4184
|
eventsIds: EventIdSchema.array(),
|
|
4177
4185
|
id: OrganizerIdSchema,
|
|
@@ -4192,6 +4200,11 @@ const constraints$1 = {
|
|
|
4192
4200
|
maxLength: 100
|
|
4193
4201
|
}
|
|
4194
4202
|
};
|
|
4203
|
+
const GlobalStatsDTOSchema = z.object({
|
|
4204
|
+
currentFavoritesCount: z.number(),
|
|
4205
|
+
totalFavoritesCount: z.number(),
|
|
4206
|
+
usersCount: z.number()
|
|
4207
|
+
});
|
|
4195
4208
|
const constraints = {
|
|
4196
4209
|
events: constraints$2,
|
|
4197
4210
|
organizers: constraints$1
|
|
@@ -4205,7 +4218,9 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4205
4218
|
EventDTOSchema,
|
|
4206
4219
|
EventFileUploadDTOSchema,
|
|
4207
4220
|
FileUploadDTOSchema,
|
|
4221
|
+
GlobalStatsDTOSchema,
|
|
4208
4222
|
ImportDTOSchema,
|
|
4223
|
+
ImportFromUrlDTOSchema,
|
|
4209
4224
|
OrganizerDTOSchema,
|
|
4210
4225
|
PromoteEventDTOSchema,
|
|
4211
4226
|
UpdateAppConfigurationDTOSchema,
|
|
@@ -4218,7 +4233,7 @@ const CreatePartialImportedEventDTOSchema = z.object({
|
|
|
4218
4233
|
token: StringSchema,
|
|
4219
4234
|
userId: StringSchema,
|
|
4220
4235
|
organizersNames: StringSchema.array(),
|
|
4221
|
-
source: z.literal("facebook")
|
|
4236
|
+
source: z.union([z.literal("facebook"), z.literal("website")])
|
|
4222
4237
|
});
|
|
4223
4238
|
const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4224
4239
|
__proto__: null,
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4096,6 +4096,7 @@ const EventDTOSchema = z.object({
|
|
|
4096
4096
|
adress: StringSchema,
|
|
4097
4097
|
capacity: SafeNonNegativeIntegerSchema.nullable(),
|
|
4098
4098
|
category: CategorySchema,
|
|
4099
|
+
createdAt: z.string().datetime(),
|
|
4099
4100
|
description: StringSchema,
|
|
4100
4101
|
finishTime: z.string().datetime().nullable(),
|
|
4101
4102
|
hasHandicapAccess: z.boolean().nullable(),
|
|
@@ -4104,12 +4105,14 @@ const EventDTOSchema = z.object({
|
|
|
4104
4105
|
imageUrls: URLSchema.array(),
|
|
4105
4106
|
isDisplayed: z.boolean(),
|
|
4106
4107
|
isPromoted: z.boolean(),
|
|
4108
|
+
isPriceRange: z.boolean(),
|
|
4107
4109
|
link: URLSchema.nullable(),
|
|
4108
4110
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4109
4111
|
regions: RegionSchema.array(),
|
|
4110
4112
|
startTime: z.string().datetime(),
|
|
4111
4113
|
title: StringSchema,
|
|
4112
4114
|
thumbnailUrl: URLSchema.nullable(),
|
|
4115
|
+
ticketsUrl: URLSchema.nullable(),
|
|
4113
4116
|
organizers: z.object({
|
|
4114
4117
|
id: OrganizerIdSchema,
|
|
4115
4118
|
name: StringSchema,
|
|
@@ -4127,13 +4130,15 @@ const CreateEventDTOSchema = z.object({
|
|
|
4127
4130
|
imageBlurHashes: StringSchema.array(),
|
|
4128
4131
|
imageUrls: URLSchema.array(),
|
|
4129
4132
|
isDisplayed: z.boolean(),
|
|
4133
|
+
isPriceRange: z.boolean(),
|
|
4130
4134
|
link: URLSchema.nullable(),
|
|
4131
4135
|
organizersIds: OrganizerIdSchema.array().min(1),
|
|
4132
4136
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4133
4137
|
regions: RegionSchema.array(),
|
|
4134
4138
|
startTime: z.string().datetime(),
|
|
4135
4139
|
title: StringSchema,
|
|
4136
|
-
thumbnailUrl: URLSchema.nullable()
|
|
4140
|
+
thumbnailUrl: URLSchema.nullable(),
|
|
4141
|
+
ticketsUrl: URLSchema.nullable()
|
|
4137
4142
|
});
|
|
4138
4143
|
const UpdateEventDTOSchema = CreateEventDTOSchema.omit({
|
|
4139
4144
|
id: true
|
|
@@ -4163,13 +4168,16 @@ const ImportDTOSchema = z.object({
|
|
|
4163
4168
|
id: StringSchema,
|
|
4164
4169
|
organizersNames: StringSchema.array(),
|
|
4165
4170
|
partialEventState: EventDTOSchema.partial(),
|
|
4166
|
-
source: z.literal("facebook"),
|
|
4171
|
+
source: z.union([z.literal("facebook"), z.literal("website")]),
|
|
4167
4172
|
userId: StringSchema
|
|
4168
4173
|
});
|
|
4169
4174
|
const EventFileUploadDTOSchema = z.object({
|
|
4170
4175
|
imageUploadUrls: FileUploadDTOSchema.array(),
|
|
4171
4176
|
thumbnailUploadUrl: FileUploadDTOSchema
|
|
4172
4177
|
});
|
|
4178
|
+
const ImportFromUrlDTOSchema = z.object({
|
|
4179
|
+
url: URLSchema
|
|
4180
|
+
});
|
|
4173
4181
|
const OrganizerDTOSchema = z.object({
|
|
4174
4182
|
eventsIds: EventIdSchema.array(),
|
|
4175
4183
|
id: OrganizerIdSchema,
|
|
@@ -4190,6 +4198,11 @@ const constraints$1 = {
|
|
|
4190
4198
|
maxLength: 100
|
|
4191
4199
|
}
|
|
4192
4200
|
};
|
|
4201
|
+
const GlobalStatsDTOSchema = z.object({
|
|
4202
|
+
currentFavoritesCount: z.number(),
|
|
4203
|
+
totalFavoritesCount: z.number(),
|
|
4204
|
+
usersCount: z.number()
|
|
4205
|
+
});
|
|
4193
4206
|
const constraints = {
|
|
4194
4207
|
events: constraints$2,
|
|
4195
4208
|
organizers: constraints$1
|
|
@@ -4203,7 +4216,9 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4203
4216
|
EventDTOSchema,
|
|
4204
4217
|
EventFileUploadDTOSchema,
|
|
4205
4218
|
FileUploadDTOSchema,
|
|
4219
|
+
GlobalStatsDTOSchema,
|
|
4206
4220
|
ImportDTOSchema,
|
|
4221
|
+
ImportFromUrlDTOSchema,
|
|
4207
4222
|
OrganizerDTOSchema,
|
|
4208
4223
|
PromoteEventDTOSchema,
|
|
4209
4224
|
UpdateAppConfigurationDTOSchema,
|
|
@@ -4216,7 +4231,7 @@ const CreatePartialImportedEventDTOSchema = z.object({
|
|
|
4216
4231
|
token: StringSchema,
|
|
4217
4232
|
userId: StringSchema,
|
|
4218
4233
|
organizersNames: StringSchema.array(),
|
|
4219
|
-
source: z.literal("facebook")
|
|
4234
|
+
source: z.union([z.literal("facebook"), z.literal("website")])
|
|
4220
4235
|
});
|
|
4221
4236
|
const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4222
4237
|
__proto__: null,
|