@sortipei/api-contracts 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/V1/api/ad.d.ts +34 -34
- package/dist/V1/api/event.d.ts +102 -102
- package/dist/V1/api/import-reminder.d.ts +9 -9
- package/dist/V1/api/organizer.d.ts +4 -4
- package/dist/V1/api/statistics.d.ts +74 -74
- package/dist/V1/external/partial-imported-event.d.ts +46 -46
- package/dist/api-contracts.js +30 -0
- package/dist/api-contracts.mjs +30 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
3
3
|
partialEventState: z.ZodObject<{
|
|
4
4
|
adress: z.ZodOptional<z.ZodString>;
|
|
5
5
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
|
-
category: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
6
|
+
category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
7
7
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
8
8
|
description: z.ZodOptional<z.ZodString>;
|
|
9
9
|
externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -29,8 +29,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
29
29
|
isPromoted: z.ZodOptional<z.ZodBoolean>;
|
|
30
30
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
|
-
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
33
|
-
secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import(
|
|
32
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
|
|
33
|
+
secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>>;
|
|
34
34
|
startTime: z.ZodOptional<z.ZodString>;
|
|
35
35
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
36
|
ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -41,18 +41,23 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
41
41
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
id: string & z.BRAND<"OrganizerId">;
|
|
44
|
-
name: string;
|
|
45
44
|
imageUrl: string | null;
|
|
45
|
+
name: string;
|
|
46
46
|
}, {
|
|
47
47
|
id: string;
|
|
48
|
-
name: string;
|
|
49
48
|
imageUrl: string | null;
|
|
49
|
+
name: string;
|
|
50
50
|
}>, "many">>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
53
|
+
category?: import('../../shared').Category | undefined;
|
|
54
|
+
startTime?: string | undefined;
|
|
55
|
+
createdAt?: string | undefined;
|
|
56
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
57
|
+
link?: string | null | undefined;
|
|
58
|
+
title?: string | undefined;
|
|
52
59
|
adress?: string | undefined;
|
|
53
60
|
capacity?: number | null | undefined;
|
|
54
|
-
category?: import("../../shared").Category | undefined;
|
|
55
|
-
createdAt?: string | undefined;
|
|
56
61
|
description?: string | undefined;
|
|
57
62
|
externalSourceId?: string | null | undefined;
|
|
58
63
|
finishTime?: string | null | undefined;
|
|
@@ -61,7 +66,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
61
66
|
longitude: number;
|
|
62
67
|
} | undefined;
|
|
63
68
|
hasHandicapAccess?: boolean | null | undefined;
|
|
64
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
65
69
|
imageBlurHashes?: string[] | undefined;
|
|
66
70
|
imageUrls?: string[] | undefined;
|
|
67
71
|
isDisplayed?: boolean | undefined;
|
|
@@ -69,24 +73,25 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
69
73
|
isOldTimes?: boolean | undefined;
|
|
70
74
|
isPriceRange?: boolean | undefined;
|
|
71
75
|
isPromoted?: boolean | undefined;
|
|
72
|
-
link?: string | null | undefined;
|
|
73
76
|
price?: number | null | undefined;
|
|
74
|
-
|
|
75
|
-
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
76
|
-
startTime?: string | undefined;
|
|
77
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
77
78
|
thumbnailUrl?: string | null | undefined;
|
|
78
79
|
ticketsUrl?: string | null | undefined;
|
|
79
|
-
title?: string | undefined;
|
|
80
80
|
organizers?: {
|
|
81
81
|
id: string & z.BRAND<"OrganizerId">;
|
|
82
|
-
name: string;
|
|
83
82
|
imageUrl: string | null;
|
|
83
|
+
name: string;
|
|
84
84
|
}[] | undefined;
|
|
85
85
|
}, {
|
|
86
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
87
|
+
category?: import('../../shared').Category | undefined;
|
|
88
|
+
startTime?: string | undefined;
|
|
89
|
+
createdAt?: string | undefined;
|
|
90
|
+
id?: string | undefined;
|
|
91
|
+
link?: string | null | undefined;
|
|
92
|
+
title?: string | undefined;
|
|
86
93
|
adress?: string | undefined;
|
|
87
94
|
capacity?: number | null | undefined;
|
|
88
|
-
category?: import("../../shared").Category | undefined;
|
|
89
|
-
createdAt?: string | undefined;
|
|
90
95
|
description?: string | undefined;
|
|
91
96
|
externalSourceId?: string | null | undefined;
|
|
92
97
|
finishTime?: string | null | undefined;
|
|
@@ -95,7 +100,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
95
100
|
longitude: number;
|
|
96
101
|
} | undefined;
|
|
97
102
|
hasHandicapAccess?: boolean | null | undefined;
|
|
98
|
-
id?: string | undefined;
|
|
99
103
|
imageBlurHashes?: string[] | undefined;
|
|
100
104
|
imageUrls?: string[] | undefined;
|
|
101
105
|
isDisplayed?: boolean | undefined;
|
|
@@ -103,18 +107,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
103
107
|
isOldTimes?: boolean | undefined;
|
|
104
108
|
isPriceRange?: boolean | undefined;
|
|
105
109
|
isPromoted?: boolean | undefined;
|
|
106
|
-
link?: string | null | undefined;
|
|
107
110
|
price?: number | null | undefined;
|
|
108
|
-
|
|
109
|
-
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
110
|
-
startTime?: string | undefined;
|
|
111
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
111
112
|
thumbnailUrl?: string | null | undefined;
|
|
112
113
|
ticketsUrl?: string | null | undefined;
|
|
113
|
-
title?: string | undefined;
|
|
114
114
|
organizers?: {
|
|
115
115
|
id: string;
|
|
116
|
-
name: string;
|
|
117
116
|
imageUrl: string | null;
|
|
117
|
+
name: string;
|
|
118
118
|
}[] | undefined;
|
|
119
119
|
}>;
|
|
120
120
|
token: z.ZodString;
|
|
@@ -122,11 +122,18 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
122
122
|
organizersNames: z.ZodArray<z.ZodString, "many">;
|
|
123
123
|
source: z.ZodString;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
userId: string;
|
|
126
|
+
organizersNames: string[];
|
|
125
127
|
partialEventState: {
|
|
128
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
129
|
+
category?: import('../../shared').Category | undefined;
|
|
130
|
+
startTime?: string | undefined;
|
|
131
|
+
createdAt?: string | undefined;
|
|
132
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
133
|
+
link?: string | null | undefined;
|
|
134
|
+
title?: string | undefined;
|
|
126
135
|
adress?: string | undefined;
|
|
127
136
|
capacity?: number | null | undefined;
|
|
128
|
-
category?: import("../../shared").Category | undefined;
|
|
129
|
-
createdAt?: string | undefined;
|
|
130
137
|
description?: string | undefined;
|
|
131
138
|
externalSourceId?: string | null | undefined;
|
|
132
139
|
finishTime?: string | null | undefined;
|
|
@@ -135,7 +142,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
135
142
|
longitude: number;
|
|
136
143
|
} | undefined;
|
|
137
144
|
hasHandicapAccess?: boolean | null | undefined;
|
|
138
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
139
145
|
imageBlurHashes?: string[] | undefined;
|
|
140
146
|
imageUrls?: string[] | undefined;
|
|
141
147
|
isDisplayed?: boolean | undefined;
|
|
@@ -143,30 +149,31 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
143
149
|
isOldTimes?: boolean | undefined;
|
|
144
150
|
isPriceRange?: boolean | undefined;
|
|
145
151
|
isPromoted?: boolean | undefined;
|
|
146
|
-
link?: string | null | undefined;
|
|
147
152
|
price?: number | null | undefined;
|
|
148
|
-
|
|
149
|
-
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
150
|
-
startTime?: string | undefined;
|
|
153
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
151
154
|
thumbnailUrl?: string | null | undefined;
|
|
152
155
|
ticketsUrl?: string | null | undefined;
|
|
153
|
-
title?: string | undefined;
|
|
154
156
|
organizers?: {
|
|
155
157
|
id: string & z.BRAND<"OrganizerId">;
|
|
156
|
-
name: string;
|
|
157
158
|
imageUrl: string | null;
|
|
159
|
+
name: string;
|
|
158
160
|
}[] | undefined;
|
|
159
161
|
};
|
|
162
|
+
source: string;
|
|
160
163
|
token: string;
|
|
164
|
+
}, {
|
|
161
165
|
userId: string;
|
|
162
166
|
organizersNames: string[];
|
|
163
|
-
source: string;
|
|
164
|
-
}, {
|
|
165
167
|
partialEventState: {
|
|
168
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
169
|
+
category?: import('../../shared').Category | undefined;
|
|
170
|
+
startTime?: string | undefined;
|
|
171
|
+
createdAt?: string | undefined;
|
|
172
|
+
id?: string | undefined;
|
|
173
|
+
link?: string | null | undefined;
|
|
174
|
+
title?: string | undefined;
|
|
166
175
|
adress?: string | undefined;
|
|
167
176
|
capacity?: number | null | undefined;
|
|
168
|
-
category?: import("../../shared").Category | undefined;
|
|
169
|
-
createdAt?: string | undefined;
|
|
170
177
|
description?: string | undefined;
|
|
171
178
|
externalSourceId?: string | null | undefined;
|
|
172
179
|
finishTime?: string | null | undefined;
|
|
@@ -175,7 +182,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
175
182
|
longitude: number;
|
|
176
183
|
} | undefined;
|
|
177
184
|
hasHandicapAccess?: boolean | null | undefined;
|
|
178
|
-
id?: string | undefined;
|
|
179
185
|
imageBlurHashes?: string[] | undefined;
|
|
180
186
|
imageUrls?: string[] | undefined;
|
|
181
187
|
isDisplayed?: boolean | undefined;
|
|
@@ -183,24 +189,18 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
183
189
|
isOldTimes?: boolean | undefined;
|
|
184
190
|
isPriceRange?: boolean | undefined;
|
|
185
191
|
isPromoted?: boolean | undefined;
|
|
186
|
-
link?: string | null | undefined;
|
|
187
192
|
price?: number | null | undefined;
|
|
188
|
-
|
|
189
|
-
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
190
|
-
startTime?: string | undefined;
|
|
193
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
191
194
|
thumbnailUrl?: string | null | undefined;
|
|
192
195
|
ticketsUrl?: string | null | undefined;
|
|
193
|
-
title?: string | undefined;
|
|
194
196
|
organizers?: {
|
|
195
197
|
id: string;
|
|
196
|
-
name: string;
|
|
197
198
|
imageUrl: string | null;
|
|
199
|
+
name: string;
|
|
198
200
|
}[] | undefined;
|
|
199
201
|
};
|
|
200
|
-
token: string;
|
|
201
|
-
userId: string;
|
|
202
|
-
organizersNames: string[];
|
|
203
202
|
source: string;
|
|
203
|
+
token: string;
|
|
204
204
|
}>;
|
|
205
205
|
export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
|
|
206
206
|
//# sourceMappingURL=partial-imported-event.d.ts.map
|
package/dist/api-contracts.js
CHANGED
|
@@ -4203,6 +4203,14 @@ const StatisticSchema = z.discriminatedUnion("type", [
|
|
|
4203
4203
|
OrganizerDisplayedStatisticSchema,
|
|
4204
4204
|
RegionFilterAppliedStatisticSchema
|
|
4205
4205
|
]);
|
|
4206
|
+
var ImportReminderFrequency = /* @__PURE__ */ ((ImportReminderFrequency2) => {
|
|
4207
|
+
ImportReminderFrequency2["TWO_DAYS"] = "TWO_DAYS";
|
|
4208
|
+
ImportReminderFrequency2["FOUR_DAYS"] = "FOUR_DAYS";
|
|
4209
|
+
ImportReminderFrequency2["ONE_WEEK"] = "ONE_WEEK";
|
|
4210
|
+
ImportReminderFrequency2["TWO_WEEKS"] = "TWO_WEEKS";
|
|
4211
|
+
return ImportReminderFrequency2;
|
|
4212
|
+
})(ImportReminderFrequency || {});
|
|
4213
|
+
const ImportReminderFrequencySchema = z.nativeEnum(ImportReminderFrequency);
|
|
4206
4214
|
const EventIdSchema = UUIDSchema.brand("EventId");
|
|
4207
4215
|
const createEventId = (id = crypto.randomUUID()) => EventIdSchema.parse(id);
|
|
4208
4216
|
const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
|
|
@@ -4213,6 +4221,8 @@ const MainAdIdSchema = UUIDSchema.brand("MainAdId");
|
|
|
4213
4221
|
const createMainAdId = (id = crypto.randomUUID()) => MainAdIdSchema.parse(id);
|
|
4214
4222
|
const RegionalAdIdSchema = UUIDSchema.brand("RegionalAdId");
|
|
4215
4223
|
const createRegionalAdId = (id = crypto.randomUUID()) => RegionalAdIdSchema.parse(id);
|
|
4224
|
+
const ImportReminderIdSchema = UUIDSchema.brand("ImportReminderId");
|
|
4225
|
+
const createImportReminderId = (id = crypto.randomUUID()) => ImportReminderIdSchema.parse(id);
|
|
4216
4226
|
const MainAdDTOSchema = z.object({
|
|
4217
4227
|
createdAt: StringSchema.datetime(),
|
|
4218
4228
|
endTime: StringSchema,
|
|
@@ -4353,6 +4363,18 @@ const EventFileUploadDTOSchema = z.object({
|
|
|
4353
4363
|
const ImportFromUrlDTOSchema = z.object({
|
|
4354
4364
|
url: URLSchema
|
|
4355
4365
|
});
|
|
4366
|
+
const ExtractedDatesDTOSchema = z.object({
|
|
4367
|
+
startTime: z.string().datetime(),
|
|
4368
|
+
finishTime: z.string().datetime().nullable()
|
|
4369
|
+
});
|
|
4370
|
+
const ImportReminderDTOSchema = z.object({
|
|
4371
|
+
frequency: ImportReminderFrequencySchema,
|
|
4372
|
+
id: ImportReminderIdSchema,
|
|
4373
|
+
title: StringSchema,
|
|
4374
|
+
url: URLSchema
|
|
4375
|
+
});
|
|
4376
|
+
const CreateImportReminderDTOSchema = ImportReminderDTOSchema;
|
|
4377
|
+
const UpdateImportReminderDTOSchema = ImportReminderDTOSchema.omit({ id: true }).partial();
|
|
4356
4378
|
const OrganizerDTOSchema = z.object({
|
|
4357
4379
|
eventsIds: EventIdSchema.array(),
|
|
4358
4380
|
id: OrganizerIdSchema,
|
|
@@ -4419,16 +4441,19 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4419
4441
|
AdStatDTOSchema,
|
|
4420
4442
|
AppConfigurationDTOSchema,
|
|
4421
4443
|
CreateEventDTOSchema,
|
|
4444
|
+
CreateImportReminderDTOSchema,
|
|
4422
4445
|
CreateOrganizerDTOSchema,
|
|
4423
4446
|
DisplayEventDTOSchema,
|
|
4424
4447
|
EventDTOSchema,
|
|
4425
4448
|
EventFileUploadDTOSchema,
|
|
4426
4449
|
EventStatisticsDTOSchema,
|
|
4450
|
+
ExtractedDatesDTOSchema,
|
|
4427
4451
|
FileUploadDTOSchema,
|
|
4428
4452
|
GPSCoordinatesSchema,
|
|
4429
4453
|
GlobalStatsDTOSchema,
|
|
4430
4454
|
ImportDTOSchema,
|
|
4431
4455
|
ImportFromUrlDTOSchema,
|
|
4456
|
+
ImportReminderDTOSchema,
|
|
4432
4457
|
MainAdDTOSchema,
|
|
4433
4458
|
OrganizerDTOSchema,
|
|
4434
4459
|
PromoteEventDTOSchema,
|
|
@@ -4437,6 +4462,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4437
4462
|
TopEventDTOSchema,
|
|
4438
4463
|
UpdateAppConfigurationDTOSchema,
|
|
4439
4464
|
UpdateEventDTOSchema,
|
|
4465
|
+
UpdateImportReminderDTOSchema,
|
|
4440
4466
|
UpdateMainAdDTOSchema,
|
|
4441
4467
|
UpdateOrganizerDTOSchema,
|
|
4442
4468
|
UpdateRegionalAdDTOSchema,
|
|
@@ -4475,6 +4501,9 @@ exports.EventSeeMoreClickedStatisticsSchema = EventSeeMoreClickedStatisticsSchem
|
|
|
4475
4501
|
exports.EventSharedStatisticSchema = EventSharedStatisticSchema;
|
|
4476
4502
|
exports.EventTicketsClickedStatisticsSchema = EventTicketsClickedStatisticsSchema;
|
|
4477
4503
|
exports.FreeFilterAppliedStatisticSchema = FreeFilterAppliedStatisticSchema;
|
|
4504
|
+
exports.ImportReminderFrequency = ImportReminderFrequency;
|
|
4505
|
+
exports.ImportReminderFrequencySchema = ImportReminderFrequencySchema;
|
|
4506
|
+
exports.ImportReminderIdSchema = ImportReminderIdSchema;
|
|
4478
4507
|
exports.MainAdIdSchema = MainAdIdSchema;
|
|
4479
4508
|
exports.OldTimesFilterAppliedStatisticSchema = OldTimesFilterAppliedStatisticSchema;
|
|
4480
4509
|
exports.OrganizerDisplayedStatisticSchema = OrganizerDisplayedStatisticSchema;
|
|
@@ -4492,6 +4521,7 @@ exports.UUIDSchema = UUIDSchema;
|
|
|
4492
4521
|
exports.UserIdSchema = UserIdSchema;
|
|
4493
4522
|
exports.V1 = index;
|
|
4494
4523
|
exports.createEventId = createEventId;
|
|
4524
|
+
exports.createImportReminderId = createImportReminderId;
|
|
4495
4525
|
exports.createMainAdId = createMainAdId;
|
|
4496
4526
|
exports.createOrganizerId = createOrganizerId;
|
|
4497
4527
|
exports.createRegionalAdId = createRegionalAdId;
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4201,6 +4201,14 @@ const StatisticSchema = z.discriminatedUnion("type", [
|
|
|
4201
4201
|
OrganizerDisplayedStatisticSchema,
|
|
4202
4202
|
RegionFilterAppliedStatisticSchema
|
|
4203
4203
|
]);
|
|
4204
|
+
var ImportReminderFrequency = /* @__PURE__ */ ((ImportReminderFrequency2) => {
|
|
4205
|
+
ImportReminderFrequency2["TWO_DAYS"] = "TWO_DAYS";
|
|
4206
|
+
ImportReminderFrequency2["FOUR_DAYS"] = "FOUR_DAYS";
|
|
4207
|
+
ImportReminderFrequency2["ONE_WEEK"] = "ONE_WEEK";
|
|
4208
|
+
ImportReminderFrequency2["TWO_WEEKS"] = "TWO_WEEKS";
|
|
4209
|
+
return ImportReminderFrequency2;
|
|
4210
|
+
})(ImportReminderFrequency || {});
|
|
4211
|
+
const ImportReminderFrequencySchema = z.nativeEnum(ImportReminderFrequency);
|
|
4204
4212
|
const EventIdSchema = UUIDSchema.brand("EventId");
|
|
4205
4213
|
const createEventId = (id = crypto.randomUUID()) => EventIdSchema.parse(id);
|
|
4206
4214
|
const OrganizerIdSchema = UUIDSchema.brand("OrganizerId");
|
|
@@ -4211,6 +4219,8 @@ const MainAdIdSchema = UUIDSchema.brand("MainAdId");
|
|
|
4211
4219
|
const createMainAdId = (id = crypto.randomUUID()) => MainAdIdSchema.parse(id);
|
|
4212
4220
|
const RegionalAdIdSchema = UUIDSchema.brand("RegionalAdId");
|
|
4213
4221
|
const createRegionalAdId = (id = crypto.randomUUID()) => RegionalAdIdSchema.parse(id);
|
|
4222
|
+
const ImportReminderIdSchema = UUIDSchema.brand("ImportReminderId");
|
|
4223
|
+
const createImportReminderId = (id = crypto.randomUUID()) => ImportReminderIdSchema.parse(id);
|
|
4214
4224
|
const MainAdDTOSchema = z.object({
|
|
4215
4225
|
createdAt: StringSchema.datetime(),
|
|
4216
4226
|
endTime: StringSchema,
|
|
@@ -4351,6 +4361,18 @@ const EventFileUploadDTOSchema = z.object({
|
|
|
4351
4361
|
const ImportFromUrlDTOSchema = z.object({
|
|
4352
4362
|
url: URLSchema
|
|
4353
4363
|
});
|
|
4364
|
+
const ExtractedDatesDTOSchema = z.object({
|
|
4365
|
+
startTime: z.string().datetime(),
|
|
4366
|
+
finishTime: z.string().datetime().nullable()
|
|
4367
|
+
});
|
|
4368
|
+
const ImportReminderDTOSchema = z.object({
|
|
4369
|
+
frequency: ImportReminderFrequencySchema,
|
|
4370
|
+
id: ImportReminderIdSchema,
|
|
4371
|
+
title: StringSchema,
|
|
4372
|
+
url: URLSchema
|
|
4373
|
+
});
|
|
4374
|
+
const CreateImportReminderDTOSchema = ImportReminderDTOSchema;
|
|
4375
|
+
const UpdateImportReminderDTOSchema = ImportReminderDTOSchema.omit({ id: true }).partial();
|
|
4354
4376
|
const OrganizerDTOSchema = z.object({
|
|
4355
4377
|
eventsIds: EventIdSchema.array(),
|
|
4356
4378
|
id: OrganizerIdSchema,
|
|
@@ -4417,16 +4439,19 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4417
4439
|
AdStatDTOSchema,
|
|
4418
4440
|
AppConfigurationDTOSchema,
|
|
4419
4441
|
CreateEventDTOSchema,
|
|
4442
|
+
CreateImportReminderDTOSchema,
|
|
4420
4443
|
CreateOrganizerDTOSchema,
|
|
4421
4444
|
DisplayEventDTOSchema,
|
|
4422
4445
|
EventDTOSchema,
|
|
4423
4446
|
EventFileUploadDTOSchema,
|
|
4424
4447
|
EventStatisticsDTOSchema,
|
|
4448
|
+
ExtractedDatesDTOSchema,
|
|
4425
4449
|
FileUploadDTOSchema,
|
|
4426
4450
|
GPSCoordinatesSchema,
|
|
4427
4451
|
GlobalStatsDTOSchema,
|
|
4428
4452
|
ImportDTOSchema,
|
|
4429
4453
|
ImportFromUrlDTOSchema,
|
|
4454
|
+
ImportReminderDTOSchema,
|
|
4430
4455
|
MainAdDTOSchema,
|
|
4431
4456
|
OrganizerDTOSchema,
|
|
4432
4457
|
PromoteEventDTOSchema,
|
|
@@ -4435,6 +4460,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4435
4460
|
TopEventDTOSchema,
|
|
4436
4461
|
UpdateAppConfigurationDTOSchema,
|
|
4437
4462
|
UpdateEventDTOSchema,
|
|
4463
|
+
UpdateImportReminderDTOSchema,
|
|
4438
4464
|
UpdateMainAdDTOSchema,
|
|
4439
4465
|
UpdateOrganizerDTOSchema,
|
|
4440
4466
|
UpdateRegionalAdDTOSchema,
|
|
@@ -4474,6 +4500,9 @@ export {
|
|
|
4474
4500
|
EventSharedStatisticSchema,
|
|
4475
4501
|
EventTicketsClickedStatisticsSchema,
|
|
4476
4502
|
FreeFilterAppliedStatisticSchema,
|
|
4503
|
+
ImportReminderFrequency,
|
|
4504
|
+
ImportReminderFrequencySchema,
|
|
4505
|
+
ImportReminderIdSchema,
|
|
4477
4506
|
MainAdIdSchema,
|
|
4478
4507
|
OldTimesFilterAppliedStatisticSchema,
|
|
4479
4508
|
OrganizerDisplayedStatisticSchema,
|
|
@@ -4491,6 +4520,7 @@ export {
|
|
|
4491
4520
|
UserIdSchema,
|
|
4492
4521
|
index as V1,
|
|
4493
4522
|
createEventId,
|
|
4523
|
+
createImportReminderId,
|
|
4494
4524
|
createMainAdId,
|
|
4495
4525
|
createOrganizerId,
|
|
4496
4526
|
createRegionalAdId,
|