@sortipei/api-contracts 0.1.6 → 0.1.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.
Files changed (37) hide show
  1. package/dist/V1/api/event.d.ts +300 -0
  2. package/dist/V1/api/event.d.ts.map +1 -0
  3. package/dist/V1/api/index.d.ts +21 -0
  4. package/dist/V1/api/index.d.ts.map +1 -0
  5. package/dist/V1/api/organizer.d.ts +42 -0
  6. package/dist/V1/api/organizer.d.ts.map +1 -0
  7. package/{src/V1/external/index.ts → dist/V1/external/index.d.ts} +1 -0
  8. package/dist/V1/external/index.d.ts.map +1 -0
  9. package/dist/V1/external/partial-imported-event.d.ts +112 -0
  10. package/dist/V1/external/partial-imported-event.d.ts.map +1 -0
  11. package/{src/V1/index.ts → dist/V1/index.d.ts} +1 -1
  12. package/dist/V1/index.d.ts.map +1 -0
  13. package/dist/api-contracts.mjs +4197 -0
  14. package/dist/errors.d.ts +4 -0
  15. package/dist/errors.d.ts.map +1 -0
  16. package/dist/flavors.d.ts +8 -0
  17. package/dist/flavors.d.ts.map +1 -0
  18. package/{src/index.ts → dist/index.d.ts} +1 -1
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/shared/event.d.ts +9 -0
  21. package/dist/shared/event.d.ts.map +1 -0
  22. package/{src/shared/index.ts → dist/shared/index.d.ts} +1 -0
  23. package/dist/shared/index.d.ts.map +1 -0
  24. package/dist/shared/schemas.d.ts +9 -0
  25. package/dist/shared/schemas.d.ts.map +1 -0
  26. package/package.json +6 -3
  27. package/.eslintrc.cjs +0 -3
  28. package/src/V1/api/event.ts +0 -96
  29. package/src/V1/api/index.ts +0 -9
  30. package/src/V1/api/organizer.ts +0 -27
  31. package/src/V1/external/partial-imported-event.ts +0 -11
  32. package/src/errors.ts +0 -3
  33. package/src/flavors.ts +0 -12
  34. package/src/shared/event.ts +0 -10
  35. package/src/shared/schemas.ts +0 -18
  36. package/tsconfig.json +0 -21
  37. package/vite.config.ts +0 -15
@@ -0,0 +1,300 @@
1
+ import { z } from 'zod';
2
+ export declare const EventDTOSchema: z.ZodObject<{
3
+ capacity: z.ZodNullable<z.ZodNumber>;
4
+ description: z.ZodString;
5
+ finishTime: z.ZodNullable<z.ZodString>;
6
+ hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
7
+ id: z.ZodBranded<z.ZodString, "EventId">;
8
+ imageUrls: z.ZodArray<z.ZodString, "many">;
9
+ isDisplayed: z.ZodBoolean;
10
+ isPromoted: z.ZodBoolean;
11
+ link: z.ZodNullable<z.ZodString>;
12
+ price: z.ZodNullable<z.ZodNumber>;
13
+ region: z.ZodNativeEnum<typeof import('../../shared').Region>;
14
+ startTime: z.ZodString;
15
+ title: z.ZodString;
16
+ organizers: z.ZodArray<z.ZodObject<{
17
+ id: z.ZodBranded<z.ZodString, "OrganizerId">;
18
+ name: z.ZodString;
19
+ }, "strip", z.ZodTypeAny, {
20
+ id: string & z.BRAND<"OrganizerId">;
21
+ name: string;
22
+ }, {
23
+ id: string;
24
+ name: string;
25
+ }>, "many">;
26
+ }, "strip", z.ZodTypeAny, {
27
+ capacity: number | null;
28
+ description: string;
29
+ finishTime: string | null;
30
+ hasHandicapAccess: boolean | null;
31
+ id: string & z.BRAND<"EventId">;
32
+ imageUrls: string[];
33
+ isDisplayed: boolean;
34
+ isPromoted: boolean;
35
+ link: string | null;
36
+ price: number | null;
37
+ region: import('../../shared').Region;
38
+ startTime: string;
39
+ title: string;
40
+ organizers: {
41
+ id: string & z.BRAND<"OrganizerId">;
42
+ name: string;
43
+ }[];
44
+ }, {
45
+ capacity: number | null;
46
+ description: string;
47
+ finishTime: string | null;
48
+ hasHandicapAccess: boolean | null;
49
+ id: string;
50
+ imageUrls: string[];
51
+ isDisplayed: boolean;
52
+ isPromoted: boolean;
53
+ link: string | null;
54
+ price: number | null;
55
+ region: import('../../shared').Region;
56
+ startTime: string;
57
+ title: string;
58
+ organizers: {
59
+ id: string;
60
+ name: string;
61
+ }[];
62
+ }>;
63
+ export declare const CreateEventDTOSchema: z.ZodObject<{
64
+ capacity: z.ZodNullable<z.ZodNumber>;
65
+ description: z.ZodString;
66
+ finishTime: z.ZodNullable<z.ZodString>;
67
+ hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
68
+ id: z.ZodBranded<z.ZodString, "EventId">;
69
+ imageUrls: z.ZodArray<z.ZodString, "many">;
70
+ isDisplayed: z.ZodBoolean;
71
+ link: z.ZodNullable<z.ZodString>;
72
+ organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
73
+ price: z.ZodNullable<z.ZodNumber>;
74
+ region: z.ZodNativeEnum<typeof import('../../shared').Region>;
75
+ startTime: z.ZodString;
76
+ title: z.ZodString;
77
+ }, "strip", z.ZodTypeAny, {
78
+ capacity: number | null;
79
+ description: string;
80
+ finishTime: string | null;
81
+ hasHandicapAccess: boolean | null;
82
+ id: string & z.BRAND<"EventId">;
83
+ imageUrls: string[];
84
+ isDisplayed: boolean;
85
+ link: string | null;
86
+ price: number | null;
87
+ region: import('../../shared').Region;
88
+ startTime: string;
89
+ title: string;
90
+ organizersIds: (string & z.BRAND<"OrganizerId">)[];
91
+ }, {
92
+ capacity: number | null;
93
+ description: string;
94
+ finishTime: string | null;
95
+ hasHandicapAccess: boolean | null;
96
+ id: string;
97
+ imageUrls: string[];
98
+ isDisplayed: boolean;
99
+ link: string | null;
100
+ price: number | null;
101
+ region: import('../../shared').Region;
102
+ startTime: string;
103
+ title: string;
104
+ organizersIds: string[];
105
+ }>;
106
+ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
107
+ capacity: z.ZodNullable<z.ZodNumber>;
108
+ description: z.ZodString;
109
+ finishTime: z.ZodNullable<z.ZodString>;
110
+ hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
111
+ id: z.ZodBranded<z.ZodString, "EventId">;
112
+ imageUrls: z.ZodArray<z.ZodString, "many">;
113
+ isDisplayed: z.ZodBoolean;
114
+ link: z.ZodNullable<z.ZodString>;
115
+ organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
116
+ price: z.ZodNullable<z.ZodNumber>;
117
+ region: z.ZodNativeEnum<typeof import('../../shared').Region>;
118
+ startTime: z.ZodString;
119
+ title: z.ZodString;
120
+ }, "id">, "strip", z.ZodTypeAny, {
121
+ capacity: number | null;
122
+ description: string;
123
+ finishTime: string | null;
124
+ hasHandicapAccess: boolean | null;
125
+ imageUrls: string[];
126
+ isDisplayed: boolean;
127
+ link: string | null;
128
+ price: number | null;
129
+ region: import('../../shared').Region;
130
+ startTime: string;
131
+ title: string;
132
+ organizersIds: (string & z.BRAND<"OrganizerId">)[];
133
+ }, {
134
+ capacity: number | null;
135
+ description: string;
136
+ finishTime: string | null;
137
+ hasHandicapAccess: boolean | null;
138
+ imageUrls: string[];
139
+ isDisplayed: boolean;
140
+ link: string | null;
141
+ price: number | null;
142
+ region: import('../../shared').Region;
143
+ startTime: string;
144
+ title: string;
145
+ organizersIds: string[];
146
+ }>;
147
+ export declare const DisplayEventDTOSchema: z.ZodObject<{
148
+ isDisplayed: z.ZodBoolean;
149
+ }, "strip", z.ZodTypeAny, {
150
+ isDisplayed: boolean;
151
+ }, {
152
+ isDisplayed: boolean;
153
+ }>;
154
+ export declare const PromoteEventDTOSchema: z.ZodObject<{
155
+ isPromoted: z.ZodBoolean;
156
+ }, "strip", z.ZodTypeAny, {
157
+ isPromoted: boolean;
158
+ }, {
159
+ isPromoted: boolean;
160
+ }>;
161
+ export declare const EventFileUploadsDTOSchema: z.ZodArray<z.ZodObject<{
162
+ publicUrl: z.ZodString;
163
+ uploadUrl: z.ZodString;
164
+ }, "strip", z.ZodTypeAny, {
165
+ publicUrl: string;
166
+ uploadUrl: string;
167
+ }, {
168
+ publicUrl: string;
169
+ uploadUrl: string;
170
+ }>, "many">;
171
+ export type CreateEventDTO = z.infer<typeof CreateEventDTOSchema>;
172
+ export type UpdateEventDTO = z.infer<typeof UpdateEventDTOSchema>;
173
+ export type DisplayEventDTO = z.infer<typeof DisplayEventDTOSchema>;
174
+ export type PromoteEventDTO = z.infer<typeof PromoteEventDTOSchema>;
175
+ export type EventFileUploadsDTO = z.infer<typeof EventFileUploadsDTOSchema>;
176
+ export type EventDTO = z.infer<typeof EventDTOSchema>;
177
+ export declare const constraints: {
178
+ description: {
179
+ minLength: number;
180
+ maxLength: number;
181
+ };
182
+ title: {
183
+ minLength: number;
184
+ maxLength: number;
185
+ };
186
+ };
187
+ export declare const ImportDTOSchema: z.ZodObject<{
188
+ id: z.ZodString;
189
+ userId: z.ZodString;
190
+ createdAt: z.ZodString;
191
+ partialEventState: z.ZodObject<{
192
+ capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
193
+ description: z.ZodOptional<z.ZodString>;
194
+ finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
+ hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
196
+ id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
197
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
198
+ isDisplayed: z.ZodOptional<z.ZodBoolean>;
199
+ isPromoted: z.ZodOptional<z.ZodBoolean>;
200
+ link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
201
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
202
+ region: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Region>>;
203
+ startTime: z.ZodOptional<z.ZodString>;
204
+ title: z.ZodOptional<z.ZodString>;
205
+ organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
206
+ id: z.ZodBranded<z.ZodString, "OrganizerId">;
207
+ name: z.ZodString;
208
+ }, "strip", z.ZodTypeAny, {
209
+ id: string & z.BRAND<"OrganizerId">;
210
+ name: string;
211
+ }, {
212
+ id: string;
213
+ name: string;
214
+ }>, "many">>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ capacity?: number | null | undefined;
217
+ description?: string | undefined;
218
+ finishTime?: string | null | undefined;
219
+ hasHandicapAccess?: boolean | null | undefined;
220
+ id?: (string & z.BRAND<"EventId">) | undefined;
221
+ imageUrls?: string[] | undefined;
222
+ isDisplayed?: boolean | undefined;
223
+ isPromoted?: boolean | undefined;
224
+ link?: string | null | undefined;
225
+ price?: number | null | undefined;
226
+ region?: import('../../shared').Region | undefined;
227
+ startTime?: string | undefined;
228
+ title?: string | undefined;
229
+ organizers?: {
230
+ id: string & z.BRAND<"OrganizerId">;
231
+ name: string;
232
+ }[] | undefined;
233
+ }, {
234
+ capacity?: number | null | undefined;
235
+ description?: string | undefined;
236
+ finishTime?: string | null | undefined;
237
+ hasHandicapAccess?: boolean | null | undefined;
238
+ id?: string | undefined;
239
+ imageUrls?: string[] | undefined;
240
+ isDisplayed?: boolean | undefined;
241
+ isPromoted?: boolean | undefined;
242
+ link?: string | null | undefined;
243
+ price?: number | null | undefined;
244
+ region?: import('../../shared').Region | undefined;
245
+ startTime?: string | undefined;
246
+ title?: string | undefined;
247
+ organizers?: {
248
+ id: string;
249
+ name: string;
250
+ }[] | undefined;
251
+ }>;
252
+ }, "strip", z.ZodTypeAny, {
253
+ id: string;
254
+ userId: string;
255
+ createdAt: string;
256
+ partialEventState: {
257
+ capacity?: number | null | undefined;
258
+ description?: string | undefined;
259
+ finishTime?: string | null | undefined;
260
+ hasHandicapAccess?: boolean | null | undefined;
261
+ id?: (string & z.BRAND<"EventId">) | undefined;
262
+ imageUrls?: string[] | undefined;
263
+ isDisplayed?: boolean | undefined;
264
+ isPromoted?: boolean | undefined;
265
+ link?: string | null | undefined;
266
+ price?: number | null | undefined;
267
+ region?: import('../../shared').Region | undefined;
268
+ startTime?: string | undefined;
269
+ title?: string | undefined;
270
+ organizers?: {
271
+ id: string & z.BRAND<"OrganizerId">;
272
+ name: string;
273
+ }[] | undefined;
274
+ };
275
+ }, {
276
+ id: string;
277
+ userId: string;
278
+ createdAt: string;
279
+ partialEventState: {
280
+ capacity?: number | null | undefined;
281
+ description?: string | undefined;
282
+ finishTime?: string | null | undefined;
283
+ hasHandicapAccess?: boolean | null | undefined;
284
+ id?: string | undefined;
285
+ imageUrls?: string[] | undefined;
286
+ isDisplayed?: boolean | undefined;
287
+ isPromoted?: boolean | undefined;
288
+ link?: string | null | undefined;
289
+ price?: number | null | undefined;
290
+ region?: import('../../shared').Region | undefined;
291
+ startTime?: string | undefined;
292
+ title?: string | undefined;
293
+ organizers?: {
294
+ id: string;
295
+ name: string;
296
+ }[] | undefined;
297
+ };
298
+ }>;
299
+ export type ImportDTO = z.infer<typeof ImportDTOSchema>;
300
+ //# sourceMappingURL=event.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;WAK5B,CAAC;AAEX,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;AACpE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAE5E,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;;;;CASvB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,21 @@
1
+ export * from './event';
2
+ export * from './organizer';
3
+ export declare const constraints: {
4
+ events: {
5
+ description: {
6
+ minLength: number;
7
+ maxLength: number;
8
+ };
9
+ title: {
10
+ minLength: number;
11
+ maxLength: number;
12
+ };
13
+ };
14
+ organizers: {
15
+ name: {
16
+ minLength: number;
17
+ maxLength: number;
18
+ };
19
+ };
20
+ };
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAI5B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
@@ -0,0 +1,42 @@
1
+ import { z } from 'zod';
2
+ export declare const OrganizerDTOSchema: z.ZodObject<{
3
+ eventsIds: z.ZodArray<z.ZodBranded<z.ZodString, "EventId">, "many">;
4
+ id: z.ZodBranded<z.ZodString, "OrganizerId">;
5
+ name: z.ZodString;
6
+ }, "strip", z.ZodTypeAny, {
7
+ id: string & z.BRAND<"OrganizerId">;
8
+ name: string;
9
+ eventsIds: (string & z.BRAND<"EventId">)[];
10
+ }, {
11
+ id: string;
12
+ name: string;
13
+ eventsIds: string[];
14
+ }>;
15
+ export declare const CreateOrganizerDTOSchema: z.ZodObject<{
16
+ id: z.ZodBranded<z.ZodString, "OrganizerId">;
17
+ name: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ id: string & z.BRAND<"OrganizerId">;
20
+ name: string;
21
+ }, {
22
+ id: string;
23
+ name: string;
24
+ }>;
25
+ export declare const UpdateOrganizerDTOSchema: z.ZodObject<Omit<{
26
+ id: z.ZodBranded<z.ZodString, "OrganizerId">;
27
+ name: z.ZodString;
28
+ }, "id">, "strip", z.ZodTypeAny, {
29
+ name: string;
30
+ }, {
31
+ name: string;
32
+ }>;
33
+ export type CreateOrganizerDTO = z.infer<typeof CreateOrganizerDTOSchema>;
34
+ export type UpdateOrganizerDTO = z.infer<typeof UpdateOrganizerDTOSchema>;
35
+ export type OrganizerDTO = z.infer<typeof OrganizerDTOSchema>;
36
+ export declare const constraints: {
37
+ name: {
38
+ minLength: number;
39
+ maxLength: number;
40
+ };
41
+ };
42
+ //# sourceMappingURL=organizer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organizer.d.ts","sourceRoot":"","sources":["../../../src/V1/api/organizer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI7B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;EAA8C,CAAC;AAEpF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC"}
@@ -1 +1,2 @@
1
1
  export * from './partial-imported-event';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/external/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,112 @@
1
+ import { z } from 'zod';
2
+ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
3
+ partialEventState: z.ZodObject<{
4
+ capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5
+ description: z.ZodOptional<z.ZodString>;
6
+ finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
8
+ id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
9
+ imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
+ isDisplayed: z.ZodOptional<z.ZodBoolean>;
11
+ isPromoted: z.ZodOptional<z.ZodBoolean>;
12
+ link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ region: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Region>>;
15
+ startTime: z.ZodOptional<z.ZodString>;
16
+ title: z.ZodOptional<z.ZodString>;
17
+ organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
18
+ id: z.ZodBranded<z.ZodString, "OrganizerId">;
19
+ name: z.ZodString;
20
+ }, "strip", z.ZodTypeAny, {
21
+ id: string & z.BRAND<"OrganizerId">;
22
+ name: string;
23
+ }, {
24
+ id: string;
25
+ name: string;
26
+ }>, "many">>;
27
+ }, "strip", z.ZodTypeAny, {
28
+ capacity?: number | null | undefined;
29
+ description?: string | undefined;
30
+ finishTime?: string | null | undefined;
31
+ hasHandicapAccess?: boolean | null | undefined;
32
+ id?: (string & z.BRAND<"EventId">) | undefined;
33
+ imageUrls?: string[] | undefined;
34
+ isDisplayed?: boolean | undefined;
35
+ isPromoted?: boolean | undefined;
36
+ link?: string | null | undefined;
37
+ price?: number | null | undefined;
38
+ region?: import('../../shared').Region | undefined;
39
+ startTime?: string | undefined;
40
+ title?: string | undefined;
41
+ organizers?: {
42
+ id: string & z.BRAND<"OrganizerId">;
43
+ name: string;
44
+ }[] | undefined;
45
+ }, {
46
+ capacity?: number | null | undefined;
47
+ description?: string | undefined;
48
+ finishTime?: string | null | undefined;
49
+ hasHandicapAccess?: boolean | null | undefined;
50
+ id?: string | undefined;
51
+ imageUrls?: string[] | undefined;
52
+ isDisplayed?: boolean | undefined;
53
+ isPromoted?: boolean | undefined;
54
+ link?: string | null | undefined;
55
+ price?: number | null | undefined;
56
+ region?: import('../../shared').Region | undefined;
57
+ startTime?: string | undefined;
58
+ title?: string | undefined;
59
+ organizers?: {
60
+ id: string;
61
+ name: string;
62
+ }[] | undefined;
63
+ }>;
64
+ token: z.ZodString;
65
+ userId: z.ZodString;
66
+ }, "strip", z.ZodTypeAny, {
67
+ userId: string;
68
+ partialEventState: {
69
+ capacity?: number | null | undefined;
70
+ description?: string | undefined;
71
+ finishTime?: string | null | undefined;
72
+ hasHandicapAccess?: boolean | null | undefined;
73
+ id?: (string & z.BRAND<"EventId">) | undefined;
74
+ imageUrls?: string[] | undefined;
75
+ isDisplayed?: boolean | undefined;
76
+ isPromoted?: boolean | undefined;
77
+ link?: string | null | undefined;
78
+ price?: number | null | undefined;
79
+ region?: import('../../shared').Region | undefined;
80
+ startTime?: string | undefined;
81
+ title?: string | undefined;
82
+ organizers?: {
83
+ id: string & z.BRAND<"OrganizerId">;
84
+ name: string;
85
+ }[] | undefined;
86
+ };
87
+ token: string;
88
+ }, {
89
+ userId: string;
90
+ partialEventState: {
91
+ capacity?: number | null | undefined;
92
+ description?: string | undefined;
93
+ finishTime?: string | null | undefined;
94
+ hasHandicapAccess?: boolean | null | undefined;
95
+ id?: string | undefined;
96
+ imageUrls?: string[] | undefined;
97
+ isDisplayed?: boolean | undefined;
98
+ isPromoted?: boolean | undefined;
99
+ link?: string | null | undefined;
100
+ price?: number | null | undefined;
101
+ region?: import('../../shared').Region | undefined;
102
+ startTime?: string | undefined;
103
+ title?: string | undefined;
104
+ organizers?: {
105
+ id: string;
106
+ name: string;
107
+ }[] | undefined;
108
+ };
109
+ token: string;
110
+ }>;
111
+ export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
112
+ //# sourceMappingURL=partial-imported-event.d.ts.map
@@ -0,0 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import * as api from './api';
2
2
  import * as external from './external';
3
-
4
3
  export { api, external };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/V1/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,GAAG,MAAM,OAAO,CAAC;AAC7B,OAAO,KAAK,QAAQ,MAAM,YAAY,CAAC;AAEvC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC"}