@livdot-tech/contracts 1.0.0 → 1.2.0
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/auth/index.d.mts +235 -0
- package/dist/auth/index.d.ts +235 -0
- package/dist/auth/index.js +2 -0
- package/dist/auth/index.js.map +1 -0
- package/dist/auth/index.mjs +2 -0
- package/dist/auth/index.mjs.map +1 -0
- package/dist/booking/index.d.mts +313 -0
- package/dist/booking/index.d.ts +313 -0
- package/dist/booking/index.js +2 -0
- package/dist/booking/index.js.map +1 -0
- package/dist/booking/index.mjs +2 -0
- package/dist/booking/index.mjs.map +1 -0
- package/dist/chunk-6UTUVCOM.mjs +2 -0
- package/dist/chunk-6UTUVCOM.mjs.map +1 -0
- package/dist/chunk-6ZN2TPBZ.js +2 -0
- package/dist/chunk-6ZN2TPBZ.js.map +1 -0
- package/dist/chunk-726BT6I5.js +2 -0
- package/dist/chunk-726BT6I5.js.map +1 -0
- package/dist/chunk-C2QIE2HZ.js +2 -0
- package/dist/chunk-C2QIE2HZ.js.map +1 -0
- package/dist/chunk-CIV62KPR.mjs +2 -0
- package/dist/chunk-CIV62KPR.mjs.map +1 -0
- package/dist/chunk-DF4E66H2.mjs +2 -0
- package/dist/chunk-DF4E66H2.mjs.map +1 -0
- package/dist/chunk-F663RS3D.js +2 -0
- package/dist/chunk-F663RS3D.js.map +1 -0
- package/dist/chunk-FSQX27QM.mjs +2 -0
- package/dist/chunk-FSQX27QM.mjs.map +1 -0
- package/dist/chunk-GY7PCU2T.js +2 -0
- package/dist/chunk-GY7PCU2T.js.map +1 -0
- package/dist/chunk-HI6UMYA4.mjs +2 -0
- package/dist/chunk-HI6UMYA4.mjs.map +1 -0
- package/dist/chunk-HIY5BNTM.mjs +2 -0
- package/dist/chunk-HIY5BNTM.mjs.map +1 -0
- package/dist/chunk-IJ2PAFAX.js +2 -0
- package/dist/chunk-IJ2PAFAX.js.map +1 -0
- package/dist/chunk-JT7SH43N.js +2 -0
- package/dist/chunk-JT7SH43N.js.map +1 -0
- package/dist/chunk-L6NHN3V2.js +2 -0
- package/dist/chunk-L6NHN3V2.js.map +1 -0
- package/dist/chunk-NSBUBEZK.mjs +2 -0
- package/dist/chunk-NSBUBEZK.mjs.map +1 -0
- package/dist/chunk-PHGWWUP2.mjs +2 -0
- package/dist/chunk-PHGWWUP2.mjs.map +1 -0
- package/dist/chunk-T7C4AYVD.mjs +2 -0
- package/dist/chunk-T7C4AYVD.mjs.map +1 -0
- package/dist/chunk-UDHBQDRU.js +2 -0
- package/dist/chunk-UDHBQDRU.js.map +1 -0
- package/dist/chunk-UZZ46ZPG.js +2 -0
- package/dist/chunk-UZZ46ZPG.js.map +1 -0
- package/dist/chunk-WEET4HBJ.mjs +2 -0
- package/dist/chunk-WEET4HBJ.mjs.map +1 -0
- package/dist/chunk-Y5QIEJG2.mjs +2 -0
- package/dist/chunk-Y5QIEJG2.mjs.map +1 -0
- package/dist/chunk-ZFINSMCH.js +2 -0
- package/dist/chunk-ZFINSMCH.js.map +1 -0
- package/dist/common/index.d.mts +315 -0
- package/dist/common/index.d.ts +315 -0
- package/dist/common/index.js +2 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/index.mjs +2 -0
- package/dist/common/index.mjs.map +1 -0
- package/dist/dispute/index.d.mts +79 -0
- package/dist/dispute/index.d.ts +79 -0
- package/dist/dispute/index.js +2 -0
- package/dist/dispute/index.js.map +1 -0
- package/dist/dispute/index.mjs +2 -0
- package/dist/dispute/index.mjs.map +1 -0
- package/dist/errors/index.d.mts +67 -0
- package/dist/errors/index.d.ts +67 -0
- package/dist/errors/index.js +2 -0
- package/dist/errors/index.js.map +1 -0
- package/dist/errors/index.mjs +2 -0
- package/dist/errors/index.mjs.map +1 -0
- package/dist/event/index.d.mts +360 -0
- package/dist/event/index.d.ts +360 -0
- package/dist/event/index.js +2 -0
- package/dist/event/index.js.map +1 -0
- package/dist/event/index.mjs +2 -0
- package/dist/event/index.mjs.map +1 -0
- package/dist/index.d.mts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -0
- package/dist/joblisting/index.d.mts +13 -0
- package/dist/joblisting/index.d.ts +13 -0
- package/dist/joblisting/index.js +2 -0
- package/dist/joblisting/index.js.map +1 -0
- package/dist/joblisting/index.mjs +2 -0
- package/dist/joblisting/index.mjs.map +1 -0
- package/dist/notification/index.d.mts +113 -0
- package/dist/notification/index.d.ts +113 -0
- package/dist/notification/index.js +2 -0
- package/dist/notification/index.js.map +1 -0
- package/dist/notification/index.mjs +2 -0
- package/dist/notification/index.mjs.map +1 -0
- package/dist/payment/index.d.mts +119 -0
- package/dist/payment/index.d.ts +119 -0
- package/dist/payment/index.js +2 -0
- package/dist/payment/index.js.map +1 -0
- package/dist/payment/index.mjs +2 -0
- package/dist/payment/index.mjs.map +1 -0
- package/dist/streaming/index.d.mts +79 -0
- package/dist/streaming/index.d.ts +79 -0
- package/dist/streaming/index.js +2 -0
- package/dist/streaming/index.js.map +1 -0
- package/dist/streaming/index.mjs +2 -0
- package/dist/streaming/index.mjs.map +1 -0
- package/dist/user/index.d.mts +427 -0
- package/dist/user/index.d.ts +427 -0
- package/dist/user/index.js +2 -0
- package/dist/user/index.js.map +1 -0
- package/dist/user/index.mjs +2 -0
- package/dist/user/index.mjs.map +1 -0
- package/package.json +27 -5
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const EventVisibility: {
|
|
4
|
+
readonly PUBLIC: "PUBLIC";
|
|
5
|
+
readonly PRIVATE: "PRIVATE";
|
|
6
|
+
readonly UNLISTED: "UNLISTED";
|
|
7
|
+
};
|
|
8
|
+
type EventVisibility = (typeof EventVisibility)[keyof typeof EventVisibility];
|
|
9
|
+
declare const EventAccessModel: {
|
|
10
|
+
readonly FREE: "FREE";
|
|
11
|
+
readonly PAID: "PAID";
|
|
12
|
+
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
13
|
+
};
|
|
14
|
+
type EventAccessModel = (typeof EventAccessModel)[keyof typeof EventAccessModel];
|
|
15
|
+
/**
|
|
16
|
+
* Enum for event allow list type.
|
|
17
|
+
*/
|
|
18
|
+
declare const EventAllowListType: {
|
|
19
|
+
readonly EMAIL: "EMAIL";
|
|
20
|
+
readonly DOMAIN: "DOMAIN";
|
|
21
|
+
readonly PHONENUMBER: "PHONENUMBER";
|
|
22
|
+
readonly USERID: "USERID";
|
|
23
|
+
};
|
|
24
|
+
type EventAllowListType = (typeof EventAllowListType)[keyof typeof EventAllowListType];
|
|
25
|
+
declare const EventState: {
|
|
26
|
+
readonly DRAFT: "DRAFT";
|
|
27
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
28
|
+
readonly READY_FOR_TEST: "READY_FOR_TEST";
|
|
29
|
+
readonly LIVE: "LIVE";
|
|
30
|
+
readonly ENDED: "ENDED";
|
|
31
|
+
readonly REPLAY_READY: "REPLAY_READY";
|
|
32
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
33
|
+
readonly CANCELLED: "CANCELLED";
|
|
34
|
+
readonly FAILED: "FAILED";
|
|
35
|
+
};
|
|
36
|
+
type EventState = (typeof EventState)[keyof typeof EventState];
|
|
37
|
+
declare const EventCategory: {
|
|
38
|
+
readonly ART: "ART";
|
|
39
|
+
readonly TECHNOLOGY: "TECHNOLOGY";
|
|
40
|
+
readonly SCIENCE: "SCIENCE";
|
|
41
|
+
readonly TRAVEL: "TRAVEL";
|
|
42
|
+
readonly HISTORY: "HISTORY";
|
|
43
|
+
readonly LITERATURE: "LITERATURE";
|
|
44
|
+
readonly COOKING: "COOKING";
|
|
45
|
+
readonly FITNESS: "FITNESS";
|
|
46
|
+
readonly PHOTOGRAPHY: "PHOTOGRAPHY";
|
|
47
|
+
readonly GARDENING: "GARDENING";
|
|
48
|
+
readonly EDUCATION: "EDUCATION";
|
|
49
|
+
readonly FASHION: "FASHION";
|
|
50
|
+
readonly MOVIES: "MOVIES";
|
|
51
|
+
readonly SPORTS: "SPORTS";
|
|
52
|
+
readonly POLITICS: "POLITICS";
|
|
53
|
+
readonly HEALTH: "HEALTH";
|
|
54
|
+
readonly GAMING: "GAMING";
|
|
55
|
+
readonly FINANCE: "FINANCE";
|
|
56
|
+
readonly NATURE: "NATURE";
|
|
57
|
+
readonly CONCERT: "CONCERT";
|
|
58
|
+
readonly FESTIVAL: "FESTIVAL";
|
|
59
|
+
readonly WEDDING: "WEDDING";
|
|
60
|
+
readonly CORPORATE: "CORPORATE";
|
|
61
|
+
readonly RELIGIOUS: "RELIGIOUS";
|
|
62
|
+
readonly OTHER: "OTHER";
|
|
63
|
+
};
|
|
64
|
+
type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
|
|
65
|
+
|
|
66
|
+
declare const CreateEventRequestSchema: z.ZodObject<{
|
|
67
|
+
title: z.ZodString;
|
|
68
|
+
description: z.ZodString;
|
|
69
|
+
category: z.ZodNativeEnum<{
|
|
70
|
+
readonly ART: "ART";
|
|
71
|
+
readonly TECHNOLOGY: "TECHNOLOGY";
|
|
72
|
+
readonly SCIENCE: "SCIENCE";
|
|
73
|
+
readonly TRAVEL: "TRAVEL";
|
|
74
|
+
readonly HISTORY: "HISTORY";
|
|
75
|
+
readonly LITERATURE: "LITERATURE";
|
|
76
|
+
readonly COOKING: "COOKING";
|
|
77
|
+
readonly FITNESS: "FITNESS";
|
|
78
|
+
readonly PHOTOGRAPHY: "PHOTOGRAPHY";
|
|
79
|
+
readonly GARDENING: "GARDENING";
|
|
80
|
+
readonly EDUCATION: "EDUCATION";
|
|
81
|
+
readonly FASHION: "FASHION";
|
|
82
|
+
readonly MOVIES: "MOVIES";
|
|
83
|
+
readonly SPORTS: "SPORTS";
|
|
84
|
+
readonly POLITICS: "POLITICS";
|
|
85
|
+
readonly HEALTH: "HEALTH";
|
|
86
|
+
readonly GAMING: "GAMING";
|
|
87
|
+
readonly FINANCE: "FINANCE";
|
|
88
|
+
readonly NATURE: "NATURE";
|
|
89
|
+
readonly CONCERT: "CONCERT";
|
|
90
|
+
readonly FESTIVAL: "FESTIVAL";
|
|
91
|
+
readonly WEDDING: "WEDDING";
|
|
92
|
+
readonly CORPORATE: "CORPORATE";
|
|
93
|
+
readonly RELIGIOUS: "RELIGIOUS";
|
|
94
|
+
readonly OTHER: "OTHER";
|
|
95
|
+
}>;
|
|
96
|
+
scheduledStartAt: z.ZodString;
|
|
97
|
+
scheduledEndAt: z.ZodString;
|
|
98
|
+
venueLocation: z.ZodString;
|
|
99
|
+
visibility: z.ZodNativeEnum<{
|
|
100
|
+
readonly PUBLIC: "PUBLIC";
|
|
101
|
+
readonly PRIVATE: "PRIVATE";
|
|
102
|
+
readonly UNLISTED: "UNLISTED";
|
|
103
|
+
}>;
|
|
104
|
+
accessModel: z.ZodNativeEnum<{
|
|
105
|
+
readonly FREE: "FREE";
|
|
106
|
+
readonly PAID: "PAID";
|
|
107
|
+
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
108
|
+
}>;
|
|
109
|
+
ticketPrice: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
maxTickets: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
timezone: z.ZodDefault<z.ZodString>;
|
|
112
|
+
replayEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
113
|
+
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
114
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
115
|
+
geoRestrictions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
116
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
|
+
title: string;
|
|
118
|
+
description: string;
|
|
119
|
+
category: "ART" | "TECHNOLOGY" | "SCIENCE" | "TRAVEL" | "HISTORY" | "LITERATURE" | "COOKING" | "FITNESS" | "PHOTOGRAPHY" | "GARDENING" | "EDUCATION" | "FASHION" | "MOVIES" | "SPORTS" | "POLITICS" | "HEALTH" | "GAMING" | "FINANCE" | "NATURE" | "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER";
|
|
120
|
+
scheduledStartAt: string;
|
|
121
|
+
scheduledEndAt: string;
|
|
122
|
+
venueLocation: string;
|
|
123
|
+
visibility: "PUBLIC" | "PRIVATE" | "UNLISTED";
|
|
124
|
+
accessModel: "FREE" | "PAID" | "SUBSCRIPTION";
|
|
125
|
+
timezone: string;
|
|
126
|
+
replayEnabled: boolean;
|
|
127
|
+
retentionDays: number;
|
|
128
|
+
ticketPrice?: number | undefined;
|
|
129
|
+
maxTickets?: number | undefined;
|
|
130
|
+
tags?: string[] | undefined;
|
|
131
|
+
geoRestrictions?: Record<string, any> | undefined;
|
|
132
|
+
}, {
|
|
133
|
+
title: string;
|
|
134
|
+
description: string;
|
|
135
|
+
category: "ART" | "TECHNOLOGY" | "SCIENCE" | "TRAVEL" | "HISTORY" | "LITERATURE" | "COOKING" | "FITNESS" | "PHOTOGRAPHY" | "GARDENING" | "EDUCATION" | "FASHION" | "MOVIES" | "SPORTS" | "POLITICS" | "HEALTH" | "GAMING" | "FINANCE" | "NATURE" | "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER";
|
|
136
|
+
scheduledStartAt: string;
|
|
137
|
+
scheduledEndAt: string;
|
|
138
|
+
venueLocation: string;
|
|
139
|
+
visibility: "PUBLIC" | "PRIVATE" | "UNLISTED";
|
|
140
|
+
accessModel: "FREE" | "PAID" | "SUBSCRIPTION";
|
|
141
|
+
ticketPrice?: number | undefined;
|
|
142
|
+
maxTickets?: number | undefined;
|
|
143
|
+
timezone?: string | undefined;
|
|
144
|
+
replayEnabled?: boolean | undefined;
|
|
145
|
+
retentionDays?: number | undefined;
|
|
146
|
+
tags?: string[] | undefined;
|
|
147
|
+
geoRestrictions?: Record<string, any> | undefined;
|
|
148
|
+
}>;
|
|
149
|
+
declare const UpdateEventRequestSchema: z.ZodObject<{
|
|
150
|
+
title: z.ZodOptional<z.ZodString>;
|
|
151
|
+
description: z.ZodOptional<z.ZodString>;
|
|
152
|
+
category: z.ZodOptional<z.ZodNativeEnum<{
|
|
153
|
+
readonly ART: "ART";
|
|
154
|
+
readonly TECHNOLOGY: "TECHNOLOGY";
|
|
155
|
+
readonly SCIENCE: "SCIENCE";
|
|
156
|
+
readonly TRAVEL: "TRAVEL";
|
|
157
|
+
readonly HISTORY: "HISTORY";
|
|
158
|
+
readonly LITERATURE: "LITERATURE";
|
|
159
|
+
readonly COOKING: "COOKING";
|
|
160
|
+
readonly FITNESS: "FITNESS";
|
|
161
|
+
readonly PHOTOGRAPHY: "PHOTOGRAPHY";
|
|
162
|
+
readonly GARDENING: "GARDENING";
|
|
163
|
+
readonly EDUCATION: "EDUCATION";
|
|
164
|
+
readonly FASHION: "FASHION";
|
|
165
|
+
readonly MOVIES: "MOVIES";
|
|
166
|
+
readonly SPORTS: "SPORTS";
|
|
167
|
+
readonly POLITICS: "POLITICS";
|
|
168
|
+
readonly HEALTH: "HEALTH";
|
|
169
|
+
readonly GAMING: "GAMING";
|
|
170
|
+
readonly FINANCE: "FINANCE";
|
|
171
|
+
readonly NATURE: "NATURE";
|
|
172
|
+
readonly CONCERT: "CONCERT";
|
|
173
|
+
readonly FESTIVAL: "FESTIVAL";
|
|
174
|
+
readonly WEDDING: "WEDDING";
|
|
175
|
+
readonly CORPORATE: "CORPORATE";
|
|
176
|
+
readonly RELIGIOUS: "RELIGIOUS";
|
|
177
|
+
readonly OTHER: "OTHER";
|
|
178
|
+
}>>;
|
|
179
|
+
scheduledStartAt: z.ZodOptional<z.ZodString>;
|
|
180
|
+
scheduledEndAt: z.ZodOptional<z.ZodString>;
|
|
181
|
+
venueLocation: z.ZodOptional<z.ZodString>;
|
|
182
|
+
visibility: z.ZodOptional<z.ZodNativeEnum<{
|
|
183
|
+
readonly PUBLIC: "PUBLIC";
|
|
184
|
+
readonly PRIVATE: "PRIVATE";
|
|
185
|
+
readonly UNLISTED: "UNLISTED";
|
|
186
|
+
}>>;
|
|
187
|
+
accessModel: z.ZodOptional<z.ZodNativeEnum<{
|
|
188
|
+
readonly FREE: "FREE";
|
|
189
|
+
readonly PAID: "PAID";
|
|
190
|
+
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
191
|
+
}>>;
|
|
192
|
+
ticketPrice: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
193
|
+
maxTickets: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
194
|
+
timezone: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
195
|
+
replayEnabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
196
|
+
retentionDays: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
197
|
+
tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
198
|
+
geoRestrictions: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
199
|
+
}, "strip", z.ZodTypeAny, {
|
|
200
|
+
title?: string | undefined;
|
|
201
|
+
description?: string | undefined;
|
|
202
|
+
category?: "ART" | "TECHNOLOGY" | "SCIENCE" | "TRAVEL" | "HISTORY" | "LITERATURE" | "COOKING" | "FITNESS" | "PHOTOGRAPHY" | "GARDENING" | "EDUCATION" | "FASHION" | "MOVIES" | "SPORTS" | "POLITICS" | "HEALTH" | "GAMING" | "FINANCE" | "NATURE" | "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER" | undefined;
|
|
203
|
+
scheduledStartAt?: string | undefined;
|
|
204
|
+
scheduledEndAt?: string | undefined;
|
|
205
|
+
venueLocation?: string | undefined;
|
|
206
|
+
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
207
|
+
accessModel?: "FREE" | "PAID" | "SUBSCRIPTION" | undefined;
|
|
208
|
+
ticketPrice?: number | undefined;
|
|
209
|
+
maxTickets?: number | undefined;
|
|
210
|
+
timezone?: string | undefined;
|
|
211
|
+
replayEnabled?: boolean | undefined;
|
|
212
|
+
retentionDays?: number | undefined;
|
|
213
|
+
tags?: string[] | undefined;
|
|
214
|
+
geoRestrictions?: Record<string, any> | undefined;
|
|
215
|
+
}, {
|
|
216
|
+
title?: string | undefined;
|
|
217
|
+
description?: string | undefined;
|
|
218
|
+
category?: "ART" | "TECHNOLOGY" | "SCIENCE" | "TRAVEL" | "HISTORY" | "LITERATURE" | "COOKING" | "FITNESS" | "PHOTOGRAPHY" | "GARDENING" | "EDUCATION" | "FASHION" | "MOVIES" | "SPORTS" | "POLITICS" | "HEALTH" | "GAMING" | "FINANCE" | "NATURE" | "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER" | undefined;
|
|
219
|
+
scheduledStartAt?: string | undefined;
|
|
220
|
+
scheduledEndAt?: string | undefined;
|
|
221
|
+
venueLocation?: string | undefined;
|
|
222
|
+
visibility?: "PUBLIC" | "PRIVATE" | "UNLISTED" | undefined;
|
|
223
|
+
accessModel?: "FREE" | "PAID" | "SUBSCRIPTION" | undefined;
|
|
224
|
+
ticketPrice?: number | undefined;
|
|
225
|
+
maxTickets?: number | undefined;
|
|
226
|
+
timezone?: string | undefined;
|
|
227
|
+
replayEnabled?: boolean | undefined;
|
|
228
|
+
retentionDays?: number | undefined;
|
|
229
|
+
tags?: string[] | undefined;
|
|
230
|
+
geoRestrictions?: Record<string, any> | undefined;
|
|
231
|
+
}>;
|
|
232
|
+
declare const EventResponseSchema: z.ZodObject<{
|
|
233
|
+
id: z.ZodString;
|
|
234
|
+
title: z.ZodString;
|
|
235
|
+
description: z.ZodString;
|
|
236
|
+
category: z.ZodNativeEnum<{
|
|
237
|
+
readonly ART: "ART";
|
|
238
|
+
readonly TECHNOLOGY: "TECHNOLOGY";
|
|
239
|
+
readonly SCIENCE: "SCIENCE";
|
|
240
|
+
readonly TRAVEL: "TRAVEL";
|
|
241
|
+
readonly HISTORY: "HISTORY";
|
|
242
|
+
readonly LITERATURE: "LITERATURE";
|
|
243
|
+
readonly COOKING: "COOKING";
|
|
244
|
+
readonly FITNESS: "FITNESS";
|
|
245
|
+
readonly PHOTOGRAPHY: "PHOTOGRAPHY";
|
|
246
|
+
readonly GARDENING: "GARDENING";
|
|
247
|
+
readonly EDUCATION: "EDUCATION";
|
|
248
|
+
readonly FASHION: "FASHION";
|
|
249
|
+
readonly MOVIES: "MOVIES";
|
|
250
|
+
readonly SPORTS: "SPORTS";
|
|
251
|
+
readonly POLITICS: "POLITICS";
|
|
252
|
+
readonly HEALTH: "HEALTH";
|
|
253
|
+
readonly GAMING: "GAMING";
|
|
254
|
+
readonly FINANCE: "FINANCE";
|
|
255
|
+
readonly NATURE: "NATURE";
|
|
256
|
+
readonly CONCERT: "CONCERT";
|
|
257
|
+
readonly FESTIVAL: "FESTIVAL";
|
|
258
|
+
readonly WEDDING: "WEDDING";
|
|
259
|
+
readonly CORPORATE: "CORPORATE";
|
|
260
|
+
readonly RELIGIOUS: "RELIGIOUS";
|
|
261
|
+
readonly OTHER: "OTHER";
|
|
262
|
+
}>;
|
|
263
|
+
coverImageUrl: z.ZodOptional<z.ZodString>;
|
|
264
|
+
venueLocation: z.ZodString;
|
|
265
|
+
scheduledStartAt: z.ZodString;
|
|
266
|
+
scheduledEndAt: z.ZodString;
|
|
267
|
+
timezone: z.ZodString;
|
|
268
|
+
visibility: z.ZodNativeEnum<{
|
|
269
|
+
readonly PUBLIC: "PUBLIC";
|
|
270
|
+
readonly PRIVATE: "PRIVATE";
|
|
271
|
+
readonly UNLISTED: "UNLISTED";
|
|
272
|
+
}>;
|
|
273
|
+
accessModel: z.ZodNativeEnum<{
|
|
274
|
+
readonly FREE: "FREE";
|
|
275
|
+
readonly PAID: "PAID";
|
|
276
|
+
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
277
|
+
}>;
|
|
278
|
+
ticketPrice: z.ZodNumber;
|
|
279
|
+
currency: z.ZodString;
|
|
280
|
+
maxTickets: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
eventState: z.ZodNativeEnum<{
|
|
282
|
+
readonly DRAFT: "DRAFT";
|
|
283
|
+
readonly SCHEDULED: "SCHEDULED";
|
|
284
|
+
readonly READY_FOR_TEST: "READY_FOR_TEST";
|
|
285
|
+
readonly LIVE: "LIVE";
|
|
286
|
+
readonly ENDED: "ENDED";
|
|
287
|
+
readonly REPLAY_READY: "REPLAY_READY";
|
|
288
|
+
readonly ARCHIVED: "ARCHIVED";
|
|
289
|
+
readonly CANCELLED: "CANCELLED";
|
|
290
|
+
readonly FAILED: "FAILED";
|
|
291
|
+
}>;
|
|
292
|
+
shareableUrl: z.ZodString;
|
|
293
|
+
hostId: z.ZodString;
|
|
294
|
+
isFeatured: z.ZodBoolean;
|
|
295
|
+
replayEnabled: z.ZodBoolean;
|
|
296
|
+
replayAvailableUntil: z.ZodOptional<z.ZodString>;
|
|
297
|
+
createdAt: z.ZodString;
|
|
298
|
+
updatedAt: z.ZodString;
|
|
299
|
+
publishedAt: z.ZodOptional<z.ZodString>;
|
|
300
|
+
liveStartedAt: z.ZodOptional<z.ZodString>;
|
|
301
|
+
liveEndedAt: z.ZodOptional<z.ZodString>;
|
|
302
|
+
}, "strip", z.ZodTypeAny, {
|
|
303
|
+
title: string;
|
|
304
|
+
id: string;
|
|
305
|
+
createdAt: string;
|
|
306
|
+
updatedAt: string;
|
|
307
|
+
description: string;
|
|
308
|
+
category: "ART" | "TECHNOLOGY" | "SCIENCE" | "TRAVEL" | "HISTORY" | "LITERATURE" | "COOKING" | "FITNESS" | "PHOTOGRAPHY" | "GARDENING" | "EDUCATION" | "FASHION" | "MOVIES" | "SPORTS" | "POLITICS" | "HEALTH" | "GAMING" | "FINANCE" | "NATURE" | "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER";
|
|
309
|
+
scheduledStartAt: string;
|
|
310
|
+
scheduledEndAt: string;
|
|
311
|
+
venueLocation: string;
|
|
312
|
+
visibility: "PUBLIC" | "PRIVATE" | "UNLISTED";
|
|
313
|
+
accessModel: "FREE" | "PAID" | "SUBSCRIPTION";
|
|
314
|
+
ticketPrice: number;
|
|
315
|
+
timezone: string;
|
|
316
|
+
replayEnabled: boolean;
|
|
317
|
+
currency: string;
|
|
318
|
+
eventState: "DRAFT" | "SCHEDULED" | "READY_FOR_TEST" | "LIVE" | "ENDED" | "REPLAY_READY" | "ARCHIVED" | "CANCELLED" | "FAILED";
|
|
319
|
+
shareableUrl: string;
|
|
320
|
+
hostId: string;
|
|
321
|
+
isFeatured: boolean;
|
|
322
|
+
maxTickets?: number | undefined;
|
|
323
|
+
coverImageUrl?: string | undefined;
|
|
324
|
+
replayAvailableUntil?: string | undefined;
|
|
325
|
+
publishedAt?: string | undefined;
|
|
326
|
+
liveStartedAt?: string | undefined;
|
|
327
|
+
liveEndedAt?: string | undefined;
|
|
328
|
+
}, {
|
|
329
|
+
title: string;
|
|
330
|
+
id: string;
|
|
331
|
+
createdAt: string;
|
|
332
|
+
updatedAt: string;
|
|
333
|
+
description: string;
|
|
334
|
+
category: "ART" | "TECHNOLOGY" | "SCIENCE" | "TRAVEL" | "HISTORY" | "LITERATURE" | "COOKING" | "FITNESS" | "PHOTOGRAPHY" | "GARDENING" | "EDUCATION" | "FASHION" | "MOVIES" | "SPORTS" | "POLITICS" | "HEALTH" | "GAMING" | "FINANCE" | "NATURE" | "CONCERT" | "FESTIVAL" | "WEDDING" | "CORPORATE" | "RELIGIOUS" | "OTHER";
|
|
335
|
+
scheduledStartAt: string;
|
|
336
|
+
scheduledEndAt: string;
|
|
337
|
+
venueLocation: string;
|
|
338
|
+
visibility: "PUBLIC" | "PRIVATE" | "UNLISTED";
|
|
339
|
+
accessModel: "FREE" | "PAID" | "SUBSCRIPTION";
|
|
340
|
+
ticketPrice: number;
|
|
341
|
+
timezone: string;
|
|
342
|
+
replayEnabled: boolean;
|
|
343
|
+
currency: string;
|
|
344
|
+
eventState: "DRAFT" | "SCHEDULED" | "READY_FOR_TEST" | "LIVE" | "ENDED" | "REPLAY_READY" | "ARCHIVED" | "CANCELLED" | "FAILED";
|
|
345
|
+
shareableUrl: string;
|
|
346
|
+
hostId: string;
|
|
347
|
+
isFeatured: boolean;
|
|
348
|
+
maxTickets?: number | undefined;
|
|
349
|
+
coverImageUrl?: string | undefined;
|
|
350
|
+
replayAvailableUntil?: string | undefined;
|
|
351
|
+
publishedAt?: string | undefined;
|
|
352
|
+
liveStartedAt?: string | undefined;
|
|
353
|
+
liveEndedAt?: string | undefined;
|
|
354
|
+
}>;
|
|
355
|
+
|
|
356
|
+
type CreateEventRequest = z.infer<typeof CreateEventRequestSchema>;
|
|
357
|
+
type UpdateEventRequest = z.infer<typeof UpdateEventRequestSchema>;
|
|
358
|
+
type EventResponse = z.infer<typeof EventResponseSchema>;
|
|
359
|
+
|
|
360
|
+
export { type CreateEventRequest, CreateEventRequestSchema, EventAccessModel, EventAllowListType, EventCategory, type EventResponse, EventResponseSchema, EventState, EventVisibility, type UpdateEventRequest, UpdateEventRequestSchema };
|