@livdot-tech/contracts 1.3.0 → 1.3.2

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 (113) hide show
  1. package/dist/auth/index.d.mts +30 -132
  2. package/dist/auth/index.d.ts +30 -132
  3. package/dist/auth/index.js +1 -1
  4. package/dist/auth/index.mjs +1 -1
  5. package/dist/booking/index.d.mts +35 -183
  6. package/dist/booking/index.d.ts +35 -183
  7. package/dist/booking/index.js +1 -1
  8. package/dist/booking/index.mjs +1 -1
  9. package/dist/chunk-26JAML7N.js +2 -0
  10. package/dist/chunk-26JAML7N.js.map +1 -0
  11. package/dist/chunk-2HCYHD66.mjs +2 -0
  12. package/dist/chunk-2HCYHD66.mjs.map +1 -0
  13. package/dist/chunk-4YYJEPT6.js +2 -0
  14. package/dist/chunk-4YYJEPT6.js.map +1 -0
  15. package/dist/chunk-C7FWAE4X.js +2 -0
  16. package/dist/chunk-C7FWAE4X.js.map +1 -0
  17. package/dist/chunk-CWGSFDFC.mjs +2 -0
  18. package/dist/chunk-CWGSFDFC.mjs.map +1 -0
  19. package/dist/chunk-DAQYQHNR.js +2 -0
  20. package/dist/chunk-DAQYQHNR.js.map +1 -0
  21. package/dist/chunk-FE3AMYQL.mjs +2 -0
  22. package/dist/chunk-FE3AMYQL.mjs.map +1 -0
  23. package/dist/chunk-GKYB3J5L.js +2 -0
  24. package/dist/chunk-GKYB3J5L.js.map +1 -0
  25. package/dist/chunk-HKU2VYQL.mjs +2 -0
  26. package/dist/chunk-HKU2VYQL.mjs.map +1 -0
  27. package/dist/chunk-I62TAYOH.js +2 -0
  28. package/dist/chunk-I62TAYOH.js.map +1 -0
  29. package/dist/chunk-JY2QSZFF.mjs +2 -0
  30. package/dist/chunk-JY2QSZFF.mjs.map +1 -0
  31. package/dist/chunk-MIIRC5BK.mjs +2 -0
  32. package/dist/chunk-MIIRC5BK.mjs.map +1 -0
  33. package/dist/chunk-SA4F4CDG.mjs +2 -0
  34. package/dist/chunk-SA4F4CDG.mjs.map +1 -0
  35. package/dist/chunk-SOOB6WM6.mjs +2 -0
  36. package/dist/chunk-SOOB6WM6.mjs.map +1 -0
  37. package/dist/chunk-UNCRGZ3F.js +2 -0
  38. package/dist/chunk-UNCRGZ3F.js.map +1 -0
  39. package/dist/chunk-VPAZHULG.js +2 -0
  40. package/dist/chunk-VPAZHULG.js.map +1 -0
  41. package/dist/chunk-ZOBM5OSW.js +2 -0
  42. package/dist/chunk-ZOBM5OSW.js.map +1 -0
  43. package/dist/chunk-ZWWSPLKF.mjs +2 -0
  44. package/dist/chunk-ZWWSPLKF.mjs.map +1 -0
  45. package/dist/common/index.d.mts +6 -214
  46. package/dist/common/index.d.ts +6 -214
  47. package/dist/common/index.js +1 -1
  48. package/dist/common/index.mjs +1 -1
  49. package/dist/dispute/index.d.mts +12 -42
  50. package/dist/dispute/index.d.ts +12 -42
  51. package/dist/dispute/index.js +1 -1
  52. package/dist/dispute/index.mjs +1 -1
  53. package/dist/event/index.d.mts +773 -148
  54. package/dist/event/index.d.ts +773 -148
  55. package/dist/event/index.js +1 -1
  56. package/dist/event/index.mjs +1 -1
  57. package/dist/index.d.mts +2 -2
  58. package/dist/index.d.ts +2 -2
  59. package/dist/index.js +1 -1
  60. package/dist/index.mjs +1 -1
  61. package/dist/notification/index.d.mts +11 -41
  62. package/dist/notification/index.d.ts +11 -41
  63. package/dist/notification/index.js +1 -1
  64. package/dist/notification/index.mjs +1 -1
  65. package/dist/payment/index.d.mts +15 -67
  66. package/dist/payment/index.d.ts +15 -67
  67. package/dist/payment/index.js +1 -1
  68. package/dist/payment/index.mjs +1 -1
  69. package/dist/streaming/index.d.mts +8 -42
  70. package/dist/streaming/index.d.ts +8 -42
  71. package/dist/streaming/index.js +1 -1
  72. package/dist/streaming/index.mjs +1 -1
  73. package/dist/user/index.d.mts +184 -304
  74. package/dist/user/index.d.ts +184 -304
  75. package/dist/user/index.js +1 -1
  76. package/dist/user/index.mjs +1 -1
  77. package/package.json +6 -5
  78. package/dist/chunk-6GDUDLP2.js +0 -2
  79. package/dist/chunk-6GDUDLP2.js.map +0 -1
  80. package/dist/chunk-6UTUVCOM.mjs +0 -2
  81. package/dist/chunk-6UTUVCOM.mjs.map +0 -1
  82. package/dist/chunk-6ZN2TPBZ.js +0 -2
  83. package/dist/chunk-6ZN2TPBZ.js.map +0 -1
  84. package/dist/chunk-726BT6I5.js +0 -2
  85. package/dist/chunk-726BT6I5.js.map +0 -1
  86. package/dist/chunk-C2QIE2HZ.js +0 -2
  87. package/dist/chunk-C2QIE2HZ.js.map +0 -1
  88. package/dist/chunk-CIV62KPR.mjs +0 -2
  89. package/dist/chunk-CIV62KPR.mjs.map +0 -1
  90. package/dist/chunk-DF4E66H2.mjs +0 -2
  91. package/dist/chunk-DF4E66H2.mjs.map +0 -1
  92. package/dist/chunk-F663RS3D.js +0 -2
  93. package/dist/chunk-F663RS3D.js.map +0 -1
  94. package/dist/chunk-GY7PCU2T.js +0 -2
  95. package/dist/chunk-GY7PCU2T.js.map +0 -1
  96. package/dist/chunk-HI6UMYA4.mjs +0 -2
  97. package/dist/chunk-HI6UMYA4.mjs.map +0 -1
  98. package/dist/chunk-IJ2PAFAX.js +0 -2
  99. package/dist/chunk-IJ2PAFAX.js.map +0 -1
  100. package/dist/chunk-NSBUBEZK.mjs +0 -2
  101. package/dist/chunk-NSBUBEZK.mjs.map +0 -1
  102. package/dist/chunk-PHGWWUP2.mjs +0 -2
  103. package/dist/chunk-PHGWWUP2.mjs.map +0 -1
  104. package/dist/chunk-T7C4AYVD.mjs +0 -2
  105. package/dist/chunk-T7C4AYVD.mjs.map +0 -1
  106. package/dist/chunk-UDHBQDRU.js +0 -2
  107. package/dist/chunk-UDHBQDRU.js.map +0 -1
  108. package/dist/chunk-WCT4N7NS.mjs +0 -2
  109. package/dist/chunk-WCT4N7NS.mjs.map +0 -1
  110. package/dist/chunk-WEET4HBJ.mjs +0 -2
  111. package/dist/chunk-WEET4HBJ.mjs.map +0 -1
  112. package/dist/chunk-ZFINSMCH.js +0 -2
  113. package/dist/chunk-ZFINSMCH.js.map +0 -1
@@ -62,11 +62,37 @@ declare const EventCategory: {
62
62
  readonly OTHER: "OTHER";
63
63
  };
64
64
  type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
65
+ declare const RegistrationStatus: {
66
+ PENDING_PAYMENT: string;
67
+ ACTIVE: string;
68
+ CANCELLED: string;
69
+ REFUNDED: string;
70
+ EXPIRED: string;
71
+ };
72
+ type RegistrationStatus = (typeof RegistrationStatus)[keyof typeof RegistrationStatus];
73
+ declare const RegistrationScope: {
74
+ FREE_RSVP: string;
75
+ PAID_TICKET: string;
76
+ INVITE: string;
77
+ };
78
+ type RegistrationScope = (typeof RegistrationScope)[keyof typeof RegistrationScope];
79
+ declare const ViewerRegistrationView: {
80
+ ACTIVE: string;
81
+ PENDING: string;
82
+ NONE: string;
83
+ };
84
+ type ViewerRegistrationView = (typeof ViewerRegistrationView)[keyof typeof ViewerRegistrationView];
85
+ declare const MyEventsTabSchema: {
86
+ UPCOMING: string;
87
+ LIVE: string;
88
+ PAST: string;
89
+ };
90
+ type MyEventsTabSchema = (typeof MyEventsTabSchema)[keyof typeof MyEventsTabSchema];
65
91
 
66
92
  declare const CreateEventRequestSchema: z.ZodObject<{
67
93
  title: z.ZodString;
68
94
  description: z.ZodString;
69
- category: z.ZodNativeEnum<{
95
+ category: z.ZodEnum<{
70
96
  readonly ART: "ART";
71
97
  readonly TECHNOLOGY: "TECHNOLOGY";
72
98
  readonly SCIENCE: "SCIENCE";
@@ -93,15 +119,15 @@ declare const CreateEventRequestSchema: z.ZodObject<{
93
119
  readonly RELIGIOUS: "RELIGIOUS";
94
120
  readonly OTHER: "OTHER";
95
121
  }>;
96
- scheduledStartAt: z.ZodString;
97
- scheduledEndAt: z.ZodString;
122
+ scheduledStartAt: z.ZodISODateTime;
123
+ scheduledEndAt: z.ZodISODateTime;
98
124
  venueLocation: z.ZodString;
99
- visibility: z.ZodNativeEnum<{
125
+ visibility: z.ZodEnum<{
100
126
  readonly PUBLIC: "PUBLIC";
101
127
  readonly PRIVATE: "PRIVATE";
102
128
  readonly UNLISTED: "UNLISTED";
103
129
  }>;
104
- accessModel: z.ZodNativeEnum<{
130
+ accessModel: z.ZodEnum<{
105
131
  readonly FREE: "FREE";
106
132
  readonly PAID: "PAID";
107
133
  readonly SUBSCRIPTION: "SUBSCRIPTION";
@@ -111,45 +137,13 @@ declare const CreateEventRequestSchema: z.ZodObject<{
111
137
  timezone: z.ZodDefault<z.ZodString>;
112
138
  replayEnabled: z.ZodDefault<z.ZodBoolean>;
113
139
  retentionDays: z.ZodDefault<z.ZodNumber>;
114
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
140
+ tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
115
141
  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
- }>;
142
+ }, z.core.$strip>;
149
143
  declare const UpdateEventRequestSchema: z.ZodObject<{
150
144
  title: z.ZodOptional<z.ZodString>;
151
145
  description: z.ZodOptional<z.ZodString>;
152
- category: z.ZodOptional<z.ZodNativeEnum<{
146
+ category: z.ZodOptional<z.ZodEnum<{
153
147
  readonly ART: "ART";
154
148
  readonly TECHNOLOGY: "TECHNOLOGY";
155
149
  readonly SCIENCE: "SCIENCE";
@@ -176,15 +170,15 @@ declare const UpdateEventRequestSchema: z.ZodObject<{
176
170
  readonly RELIGIOUS: "RELIGIOUS";
177
171
  readonly OTHER: "OTHER";
178
172
  }>>;
179
- scheduledStartAt: z.ZodOptional<z.ZodString>;
180
- scheduledEndAt: z.ZodOptional<z.ZodString>;
173
+ scheduledStartAt: z.ZodOptional<z.ZodISODateTime>;
174
+ scheduledEndAt: z.ZodOptional<z.ZodISODateTime>;
181
175
  venueLocation: z.ZodOptional<z.ZodString>;
182
- visibility: z.ZodOptional<z.ZodNativeEnum<{
176
+ visibility: z.ZodOptional<z.ZodEnum<{
183
177
  readonly PUBLIC: "PUBLIC";
184
178
  readonly PRIVATE: "PRIVATE";
185
179
  readonly UNLISTED: "UNLISTED";
186
180
  }>>;
187
- accessModel: z.ZodOptional<z.ZodNativeEnum<{
181
+ accessModel: z.ZodOptional<z.ZodEnum<{
188
182
  readonly FREE: "FREE";
189
183
  readonly PAID: "PAID";
190
184
  readonly SUBSCRIPTION: "SUBSCRIPTION";
@@ -194,46 +188,14 @@ declare const UpdateEventRequestSchema: z.ZodObject<{
194
188
  timezone: z.ZodOptional<z.ZodDefault<z.ZodString>>;
195
189
  replayEnabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
196
190
  retentionDays: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
197
- tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
191
+ tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
198
192
  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
- }>;
193
+ }, z.core.$strip>;
232
194
  declare const EventResponseSchema: z.ZodObject<{
233
- id: z.ZodString;
195
+ id: z.ZodUUID;
234
196
  title: z.ZodString;
235
197
  description: z.ZodString;
236
- category: z.ZodNativeEnum<{
198
+ category: z.ZodEnum<{
237
199
  readonly ART: "ART";
238
200
  readonly TECHNOLOGY: "TECHNOLOGY";
239
201
  readonly SCIENCE: "SCIENCE";
@@ -260,17 +222,17 @@ declare const EventResponseSchema: z.ZodObject<{
260
222
  readonly RELIGIOUS: "RELIGIOUS";
261
223
  readonly OTHER: "OTHER";
262
224
  }>;
263
- coverImageUrl: z.ZodOptional<z.ZodString>;
225
+ coverImageUrl: z.ZodOptional<z.ZodURL>;
264
226
  venueLocation: z.ZodString;
265
- scheduledStartAt: z.ZodString;
266
- scheduledEndAt: z.ZodString;
227
+ scheduledStartAt: z.ZodISODateTime;
228
+ scheduledEndAt: z.ZodISODateTime;
267
229
  timezone: z.ZodString;
268
- visibility: z.ZodNativeEnum<{
230
+ visibility: z.ZodEnum<{
269
231
  readonly PUBLIC: "PUBLIC";
270
232
  readonly PRIVATE: "PRIVATE";
271
233
  readonly UNLISTED: "UNLISTED";
272
234
  }>;
273
- accessModel: z.ZodNativeEnum<{
235
+ accessModel: z.ZodEnum<{
274
236
  readonly FREE: "FREE";
275
237
  readonly PAID: "PAID";
276
238
  readonly SUBSCRIPTION: "SUBSCRIPTION";
@@ -278,7 +240,7 @@ declare const EventResponseSchema: z.ZodObject<{
278
240
  ticketPrice: z.ZodNumber;
279
241
  currency: z.ZodString;
280
242
  maxTickets: z.ZodOptional<z.ZodNumber>;
281
- eventState: z.ZodNativeEnum<{
243
+ eventState: z.ZodEnum<{
282
244
  readonly DRAFT: "DRAFT";
283
245
  readonly SCHEDULED: "SCHEDULED";
284
246
  readonly READY_FOR_TEST: "READY_FOR_TEST";
@@ -289,72 +251,735 @@ declare const EventResponseSchema: z.ZodObject<{
289
251
  readonly CANCELLED: "CANCELLED";
290
252
  readonly FAILED: "FAILED";
291
253
  }>;
292
- shareableUrl: z.ZodString;
293
- hostId: z.ZodString;
254
+ shareableUrl: z.ZodURL;
255
+ hostId: z.ZodUUID;
294
256
  isFeatured: z.ZodBoolean;
295
257
  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
- }>;
258
+ replayAvailableUntil: z.ZodOptional<z.ZodISODateTime>;
259
+ createdAt: z.ZodISODateTime;
260
+ updatedAt: z.ZodISODateTime;
261
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
262
+ liveStartedAt: z.ZodOptional<z.ZodISODateTime>;
263
+ liveEndedAt: z.ZodOptional<z.ZodISODateTime>;
264
+ }, z.core.$strip>;
265
+ declare const EventCardSchema: z.ZodObject<{
266
+ id: z.ZodUUID;
267
+ title: z.ZodString;
268
+ coverImageUrl: z.ZodNullable<z.ZodString>;
269
+ category: z.ZodEnum<{
270
+ readonly ART: "ART";
271
+ readonly TECHNOLOGY: "TECHNOLOGY";
272
+ readonly SCIENCE: "SCIENCE";
273
+ readonly TRAVEL: "TRAVEL";
274
+ readonly HISTORY: "HISTORY";
275
+ readonly LITERATURE: "LITERATURE";
276
+ readonly COOKING: "COOKING";
277
+ readonly FITNESS: "FITNESS";
278
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
279
+ readonly GARDENING: "GARDENING";
280
+ readonly EDUCATION: "EDUCATION";
281
+ readonly FASHION: "FASHION";
282
+ readonly MOVIES: "MOVIES";
283
+ readonly SPORTS: "SPORTS";
284
+ readonly POLITICS: "POLITICS";
285
+ readonly HEALTH: "HEALTH";
286
+ readonly GAMING: "GAMING";
287
+ readonly FINANCE: "FINANCE";
288
+ readonly NATURE: "NATURE";
289
+ readonly CONCERT: "CONCERT";
290
+ readonly FESTIVAL: "FESTIVAL";
291
+ readonly WEDDING: "WEDDING";
292
+ readonly CORPORATE: "CORPORATE";
293
+ readonly RELIGIOUS: "RELIGIOUS";
294
+ readonly OTHER: "OTHER";
295
+ }>;
296
+ scheduledStart: z.ZodISODateTime;
297
+ scheduledEnd: z.ZodISODateTime;
298
+ state: z.ZodEnum<{
299
+ readonly DRAFT: "DRAFT";
300
+ readonly SCHEDULED: "SCHEDULED";
301
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
302
+ readonly LIVE: "LIVE";
303
+ readonly ENDED: "ENDED";
304
+ readonly REPLAY_READY: "REPLAY_READY";
305
+ readonly ARCHIVED: "ARCHIVED";
306
+ readonly CANCELLED: "CANCELLED";
307
+ readonly FAILED: "FAILED";
308
+ }>;
309
+ accessModel: z.ZodEnum<{
310
+ readonly FREE: "FREE";
311
+ readonly PAID: "PAID";
312
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
313
+ }>;
314
+ ticketPrice: z.ZodNullable<z.ZodString>;
315
+ currency: z.ZodString;
316
+ isFeatured: z.ZodBoolean;
317
+ hostDisplayName: z.ZodNullable<z.ZodString>;
318
+ viewerCount: z.ZodNumber;
319
+ viewer: z.ZodObject<{
320
+ registration: z.ZodEnum<{
321
+ ACTIVE: string;
322
+ PENDING: string;
323
+ NONE: string;
324
+ }>;
325
+ progressPct: z.ZodOptional<z.ZodNumber>;
326
+ canResume: z.ZodOptional<z.ZodBoolean>;
327
+ }, z.core.$strip>;
328
+ }, z.core.$strip>;
329
+ declare const ViewerHomeResponseSchema: z.ZodObject<{
330
+ continueWatching: z.ZodArray<z.ZodObject<{
331
+ id: z.ZodUUID;
332
+ title: z.ZodString;
333
+ coverImageUrl: z.ZodNullable<z.ZodString>;
334
+ category: z.ZodEnum<{
335
+ readonly ART: "ART";
336
+ readonly TECHNOLOGY: "TECHNOLOGY";
337
+ readonly SCIENCE: "SCIENCE";
338
+ readonly TRAVEL: "TRAVEL";
339
+ readonly HISTORY: "HISTORY";
340
+ readonly LITERATURE: "LITERATURE";
341
+ readonly COOKING: "COOKING";
342
+ readonly FITNESS: "FITNESS";
343
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
344
+ readonly GARDENING: "GARDENING";
345
+ readonly EDUCATION: "EDUCATION";
346
+ readonly FASHION: "FASHION";
347
+ readonly MOVIES: "MOVIES";
348
+ readonly SPORTS: "SPORTS";
349
+ readonly POLITICS: "POLITICS";
350
+ readonly HEALTH: "HEALTH";
351
+ readonly GAMING: "GAMING";
352
+ readonly FINANCE: "FINANCE";
353
+ readonly NATURE: "NATURE";
354
+ readonly CONCERT: "CONCERT";
355
+ readonly FESTIVAL: "FESTIVAL";
356
+ readonly WEDDING: "WEDDING";
357
+ readonly CORPORATE: "CORPORATE";
358
+ readonly RELIGIOUS: "RELIGIOUS";
359
+ readonly OTHER: "OTHER";
360
+ }>;
361
+ scheduledStart: z.ZodISODateTime;
362
+ scheduledEnd: z.ZodISODateTime;
363
+ state: z.ZodEnum<{
364
+ readonly DRAFT: "DRAFT";
365
+ readonly SCHEDULED: "SCHEDULED";
366
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
367
+ readonly LIVE: "LIVE";
368
+ readonly ENDED: "ENDED";
369
+ readonly REPLAY_READY: "REPLAY_READY";
370
+ readonly ARCHIVED: "ARCHIVED";
371
+ readonly CANCELLED: "CANCELLED";
372
+ readonly FAILED: "FAILED";
373
+ }>;
374
+ accessModel: z.ZodEnum<{
375
+ readonly FREE: "FREE";
376
+ readonly PAID: "PAID";
377
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
378
+ }>;
379
+ ticketPrice: z.ZodNullable<z.ZodString>;
380
+ currency: z.ZodString;
381
+ isFeatured: z.ZodBoolean;
382
+ hostDisplayName: z.ZodNullable<z.ZodString>;
383
+ viewerCount: z.ZodNumber;
384
+ viewer: z.ZodObject<{
385
+ registration: z.ZodEnum<{
386
+ ACTIVE: string;
387
+ PENDING: string;
388
+ NONE: string;
389
+ }>;
390
+ progressPct: z.ZodOptional<z.ZodNumber>;
391
+ canResume: z.ZodOptional<z.ZodBoolean>;
392
+ }, z.core.$strip>;
393
+ }, z.core.$strip>>;
394
+ liveNow: z.ZodArray<z.ZodObject<{
395
+ id: z.ZodUUID;
396
+ title: z.ZodString;
397
+ coverImageUrl: z.ZodNullable<z.ZodString>;
398
+ category: z.ZodEnum<{
399
+ readonly ART: "ART";
400
+ readonly TECHNOLOGY: "TECHNOLOGY";
401
+ readonly SCIENCE: "SCIENCE";
402
+ readonly TRAVEL: "TRAVEL";
403
+ readonly HISTORY: "HISTORY";
404
+ readonly LITERATURE: "LITERATURE";
405
+ readonly COOKING: "COOKING";
406
+ readonly FITNESS: "FITNESS";
407
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
408
+ readonly GARDENING: "GARDENING";
409
+ readonly EDUCATION: "EDUCATION";
410
+ readonly FASHION: "FASHION";
411
+ readonly MOVIES: "MOVIES";
412
+ readonly SPORTS: "SPORTS";
413
+ readonly POLITICS: "POLITICS";
414
+ readonly HEALTH: "HEALTH";
415
+ readonly GAMING: "GAMING";
416
+ readonly FINANCE: "FINANCE";
417
+ readonly NATURE: "NATURE";
418
+ readonly CONCERT: "CONCERT";
419
+ readonly FESTIVAL: "FESTIVAL";
420
+ readonly WEDDING: "WEDDING";
421
+ readonly CORPORATE: "CORPORATE";
422
+ readonly RELIGIOUS: "RELIGIOUS";
423
+ readonly OTHER: "OTHER";
424
+ }>;
425
+ scheduledStart: z.ZodISODateTime;
426
+ scheduledEnd: z.ZodISODateTime;
427
+ state: z.ZodEnum<{
428
+ readonly DRAFT: "DRAFT";
429
+ readonly SCHEDULED: "SCHEDULED";
430
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
431
+ readonly LIVE: "LIVE";
432
+ readonly ENDED: "ENDED";
433
+ readonly REPLAY_READY: "REPLAY_READY";
434
+ readonly ARCHIVED: "ARCHIVED";
435
+ readonly CANCELLED: "CANCELLED";
436
+ readonly FAILED: "FAILED";
437
+ }>;
438
+ accessModel: z.ZodEnum<{
439
+ readonly FREE: "FREE";
440
+ readonly PAID: "PAID";
441
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
442
+ }>;
443
+ ticketPrice: z.ZodNullable<z.ZodString>;
444
+ currency: z.ZodString;
445
+ isFeatured: z.ZodBoolean;
446
+ hostDisplayName: z.ZodNullable<z.ZodString>;
447
+ viewerCount: z.ZodNumber;
448
+ viewer: z.ZodObject<{
449
+ registration: z.ZodEnum<{
450
+ ACTIVE: string;
451
+ PENDING: string;
452
+ NONE: string;
453
+ }>;
454
+ progressPct: z.ZodOptional<z.ZodNumber>;
455
+ canResume: z.ZodOptional<z.ZodBoolean>;
456
+ }, z.core.$strip>;
457
+ }, z.core.$strip>>;
458
+ featured: z.ZodNullable<z.ZodObject<{
459
+ id: z.ZodUUID;
460
+ title: z.ZodString;
461
+ coverImageUrl: z.ZodNullable<z.ZodString>;
462
+ category: z.ZodEnum<{
463
+ readonly ART: "ART";
464
+ readonly TECHNOLOGY: "TECHNOLOGY";
465
+ readonly SCIENCE: "SCIENCE";
466
+ readonly TRAVEL: "TRAVEL";
467
+ readonly HISTORY: "HISTORY";
468
+ readonly LITERATURE: "LITERATURE";
469
+ readonly COOKING: "COOKING";
470
+ readonly FITNESS: "FITNESS";
471
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
472
+ readonly GARDENING: "GARDENING";
473
+ readonly EDUCATION: "EDUCATION";
474
+ readonly FASHION: "FASHION";
475
+ readonly MOVIES: "MOVIES";
476
+ readonly SPORTS: "SPORTS";
477
+ readonly POLITICS: "POLITICS";
478
+ readonly HEALTH: "HEALTH";
479
+ readonly GAMING: "GAMING";
480
+ readonly FINANCE: "FINANCE";
481
+ readonly NATURE: "NATURE";
482
+ readonly CONCERT: "CONCERT";
483
+ readonly FESTIVAL: "FESTIVAL";
484
+ readonly WEDDING: "WEDDING";
485
+ readonly CORPORATE: "CORPORATE";
486
+ readonly RELIGIOUS: "RELIGIOUS";
487
+ readonly OTHER: "OTHER";
488
+ }>;
489
+ scheduledStart: z.ZodISODateTime;
490
+ scheduledEnd: z.ZodISODateTime;
491
+ state: z.ZodEnum<{
492
+ readonly DRAFT: "DRAFT";
493
+ readonly SCHEDULED: "SCHEDULED";
494
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
495
+ readonly LIVE: "LIVE";
496
+ readonly ENDED: "ENDED";
497
+ readonly REPLAY_READY: "REPLAY_READY";
498
+ readonly ARCHIVED: "ARCHIVED";
499
+ readonly CANCELLED: "CANCELLED";
500
+ readonly FAILED: "FAILED";
501
+ }>;
502
+ accessModel: z.ZodEnum<{
503
+ readonly FREE: "FREE";
504
+ readonly PAID: "PAID";
505
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
506
+ }>;
507
+ ticketPrice: z.ZodNullable<z.ZodString>;
508
+ currency: z.ZodString;
509
+ isFeatured: z.ZodBoolean;
510
+ hostDisplayName: z.ZodNullable<z.ZodString>;
511
+ viewerCount: z.ZodNumber;
512
+ viewer: z.ZodObject<{
513
+ registration: z.ZodEnum<{
514
+ ACTIVE: string;
515
+ PENDING: string;
516
+ NONE: string;
517
+ }>;
518
+ progressPct: z.ZodOptional<z.ZodNumber>;
519
+ canResume: z.ZodOptional<z.ZodBoolean>;
520
+ }, z.core.$strip>;
521
+ }, z.core.$strip>>;
522
+ upcoming: z.ZodArray<z.ZodObject<{
523
+ id: z.ZodUUID;
524
+ title: z.ZodString;
525
+ coverImageUrl: z.ZodNullable<z.ZodString>;
526
+ category: z.ZodEnum<{
527
+ readonly ART: "ART";
528
+ readonly TECHNOLOGY: "TECHNOLOGY";
529
+ readonly SCIENCE: "SCIENCE";
530
+ readonly TRAVEL: "TRAVEL";
531
+ readonly HISTORY: "HISTORY";
532
+ readonly LITERATURE: "LITERATURE";
533
+ readonly COOKING: "COOKING";
534
+ readonly FITNESS: "FITNESS";
535
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
536
+ readonly GARDENING: "GARDENING";
537
+ readonly EDUCATION: "EDUCATION";
538
+ readonly FASHION: "FASHION";
539
+ readonly MOVIES: "MOVIES";
540
+ readonly SPORTS: "SPORTS";
541
+ readonly POLITICS: "POLITICS";
542
+ readonly HEALTH: "HEALTH";
543
+ readonly GAMING: "GAMING";
544
+ readonly FINANCE: "FINANCE";
545
+ readonly NATURE: "NATURE";
546
+ readonly CONCERT: "CONCERT";
547
+ readonly FESTIVAL: "FESTIVAL";
548
+ readonly WEDDING: "WEDDING";
549
+ readonly CORPORATE: "CORPORATE";
550
+ readonly RELIGIOUS: "RELIGIOUS";
551
+ readonly OTHER: "OTHER";
552
+ }>;
553
+ scheduledStart: z.ZodISODateTime;
554
+ scheduledEnd: z.ZodISODateTime;
555
+ state: z.ZodEnum<{
556
+ readonly DRAFT: "DRAFT";
557
+ readonly SCHEDULED: "SCHEDULED";
558
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
559
+ readonly LIVE: "LIVE";
560
+ readonly ENDED: "ENDED";
561
+ readonly REPLAY_READY: "REPLAY_READY";
562
+ readonly ARCHIVED: "ARCHIVED";
563
+ readonly CANCELLED: "CANCELLED";
564
+ readonly FAILED: "FAILED";
565
+ }>;
566
+ accessModel: z.ZodEnum<{
567
+ readonly FREE: "FREE";
568
+ readonly PAID: "PAID";
569
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
570
+ }>;
571
+ ticketPrice: z.ZodNullable<z.ZodString>;
572
+ currency: z.ZodString;
573
+ isFeatured: z.ZodBoolean;
574
+ hostDisplayName: z.ZodNullable<z.ZodString>;
575
+ viewerCount: z.ZodNumber;
576
+ viewer: z.ZodObject<{
577
+ registration: z.ZodEnum<{
578
+ ACTIVE: string;
579
+ PENDING: string;
580
+ NONE: string;
581
+ }>;
582
+ progressPct: z.ZodOptional<z.ZodNumber>;
583
+ canResume: z.ZodOptional<z.ZodBoolean>;
584
+ }, z.core.$strip>;
585
+ }, z.core.$strip>>;
586
+ recommended: z.ZodArray<z.ZodObject<{
587
+ id: z.ZodUUID;
588
+ title: z.ZodString;
589
+ coverImageUrl: z.ZodNullable<z.ZodString>;
590
+ category: z.ZodEnum<{
591
+ readonly ART: "ART";
592
+ readonly TECHNOLOGY: "TECHNOLOGY";
593
+ readonly SCIENCE: "SCIENCE";
594
+ readonly TRAVEL: "TRAVEL";
595
+ readonly HISTORY: "HISTORY";
596
+ readonly LITERATURE: "LITERATURE";
597
+ readonly COOKING: "COOKING";
598
+ readonly FITNESS: "FITNESS";
599
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
600
+ readonly GARDENING: "GARDENING";
601
+ readonly EDUCATION: "EDUCATION";
602
+ readonly FASHION: "FASHION";
603
+ readonly MOVIES: "MOVIES";
604
+ readonly SPORTS: "SPORTS";
605
+ readonly POLITICS: "POLITICS";
606
+ readonly HEALTH: "HEALTH";
607
+ readonly GAMING: "GAMING";
608
+ readonly FINANCE: "FINANCE";
609
+ readonly NATURE: "NATURE";
610
+ readonly CONCERT: "CONCERT";
611
+ readonly FESTIVAL: "FESTIVAL";
612
+ readonly WEDDING: "WEDDING";
613
+ readonly CORPORATE: "CORPORATE";
614
+ readonly RELIGIOUS: "RELIGIOUS";
615
+ readonly OTHER: "OTHER";
616
+ }>;
617
+ scheduledStart: z.ZodISODateTime;
618
+ scheduledEnd: z.ZodISODateTime;
619
+ state: z.ZodEnum<{
620
+ readonly DRAFT: "DRAFT";
621
+ readonly SCHEDULED: "SCHEDULED";
622
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
623
+ readonly LIVE: "LIVE";
624
+ readonly ENDED: "ENDED";
625
+ readonly REPLAY_READY: "REPLAY_READY";
626
+ readonly ARCHIVED: "ARCHIVED";
627
+ readonly CANCELLED: "CANCELLED";
628
+ readonly FAILED: "FAILED";
629
+ }>;
630
+ accessModel: z.ZodEnum<{
631
+ readonly FREE: "FREE";
632
+ readonly PAID: "PAID";
633
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
634
+ }>;
635
+ ticketPrice: z.ZodNullable<z.ZodString>;
636
+ currency: z.ZodString;
637
+ isFeatured: z.ZodBoolean;
638
+ hostDisplayName: z.ZodNullable<z.ZodString>;
639
+ viewerCount: z.ZodNumber;
640
+ viewer: z.ZodObject<{
641
+ registration: z.ZodEnum<{
642
+ ACTIVE: string;
643
+ PENDING: string;
644
+ NONE: string;
645
+ }>;
646
+ progressPct: z.ZodOptional<z.ZodNumber>;
647
+ canResume: z.ZodOptional<z.ZodBoolean>;
648
+ }, z.core.$strip>;
649
+ }, z.core.$strip>>;
650
+ }, z.core.$strip>;
651
+ declare const PaginationCursorSchema: z.ZodObject<{
652
+ cursor: z.ZodOptional<z.ZodString>;
653
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
654
+ }, z.core.$strip>;
655
+ declare const SearchEventsQuerySchema: z.ZodObject<{
656
+ cursor: z.ZodOptional<z.ZodString>;
657
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
658
+ q: z.ZodOptional<z.ZodString>;
659
+ category: z.ZodOptional<z.ZodEnum<{
660
+ readonly ART: "ART";
661
+ readonly TECHNOLOGY: "TECHNOLOGY";
662
+ readonly SCIENCE: "SCIENCE";
663
+ readonly TRAVEL: "TRAVEL";
664
+ readonly HISTORY: "HISTORY";
665
+ readonly LITERATURE: "LITERATURE";
666
+ readonly COOKING: "COOKING";
667
+ readonly FITNESS: "FITNESS";
668
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
669
+ readonly GARDENING: "GARDENING";
670
+ readonly EDUCATION: "EDUCATION";
671
+ readonly FASHION: "FASHION";
672
+ readonly MOVIES: "MOVIES";
673
+ readonly SPORTS: "SPORTS";
674
+ readonly POLITICS: "POLITICS";
675
+ readonly HEALTH: "HEALTH";
676
+ readonly GAMING: "GAMING";
677
+ readonly FINANCE: "FINANCE";
678
+ readonly NATURE: "NATURE";
679
+ readonly CONCERT: "CONCERT";
680
+ readonly FESTIVAL: "FESTIVAL";
681
+ readonly WEDDING: "WEDDING";
682
+ readonly CORPORATE: "CORPORATE";
683
+ readonly RELIGIOUS: "RELIGIOUS";
684
+ readonly OTHER: "OTHER";
685
+ }>>;
686
+ state: z.ZodOptional<z.ZodEnum<{
687
+ readonly DRAFT: "DRAFT";
688
+ readonly SCHEDULED: "SCHEDULED";
689
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
690
+ readonly LIVE: "LIVE";
691
+ readonly ENDED: "ENDED";
692
+ readonly REPLAY_READY: "REPLAY_READY";
693
+ readonly ARCHIVED: "ARCHIVED";
694
+ readonly CANCELLED: "CANCELLED";
695
+ readonly FAILED: "FAILED";
696
+ }>>;
697
+ }, z.core.$strip>;
698
+ declare const PagedEventsResponseSchema: z.ZodObject<{
699
+ items: z.ZodArray<z.ZodObject<{
700
+ id: z.ZodUUID;
701
+ title: z.ZodString;
702
+ coverImageUrl: z.ZodNullable<z.ZodString>;
703
+ category: z.ZodEnum<{
704
+ readonly ART: "ART";
705
+ readonly TECHNOLOGY: "TECHNOLOGY";
706
+ readonly SCIENCE: "SCIENCE";
707
+ readonly TRAVEL: "TRAVEL";
708
+ readonly HISTORY: "HISTORY";
709
+ readonly LITERATURE: "LITERATURE";
710
+ readonly COOKING: "COOKING";
711
+ readonly FITNESS: "FITNESS";
712
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
713
+ readonly GARDENING: "GARDENING";
714
+ readonly EDUCATION: "EDUCATION";
715
+ readonly FASHION: "FASHION";
716
+ readonly MOVIES: "MOVIES";
717
+ readonly SPORTS: "SPORTS";
718
+ readonly POLITICS: "POLITICS";
719
+ readonly HEALTH: "HEALTH";
720
+ readonly GAMING: "GAMING";
721
+ readonly FINANCE: "FINANCE";
722
+ readonly NATURE: "NATURE";
723
+ readonly CONCERT: "CONCERT";
724
+ readonly FESTIVAL: "FESTIVAL";
725
+ readonly WEDDING: "WEDDING";
726
+ readonly CORPORATE: "CORPORATE";
727
+ readonly RELIGIOUS: "RELIGIOUS";
728
+ readonly OTHER: "OTHER";
729
+ }>;
730
+ scheduledStart: z.ZodISODateTime;
731
+ scheduledEnd: z.ZodISODateTime;
732
+ state: z.ZodEnum<{
733
+ readonly DRAFT: "DRAFT";
734
+ readonly SCHEDULED: "SCHEDULED";
735
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
736
+ readonly LIVE: "LIVE";
737
+ readonly ENDED: "ENDED";
738
+ readonly REPLAY_READY: "REPLAY_READY";
739
+ readonly ARCHIVED: "ARCHIVED";
740
+ readonly CANCELLED: "CANCELLED";
741
+ readonly FAILED: "FAILED";
742
+ }>;
743
+ accessModel: z.ZodEnum<{
744
+ readonly FREE: "FREE";
745
+ readonly PAID: "PAID";
746
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
747
+ }>;
748
+ ticketPrice: z.ZodNullable<z.ZodString>;
749
+ currency: z.ZodString;
750
+ isFeatured: z.ZodBoolean;
751
+ hostDisplayName: z.ZodNullable<z.ZodString>;
752
+ viewerCount: z.ZodNumber;
753
+ viewer: z.ZodObject<{
754
+ registration: z.ZodEnum<{
755
+ ACTIVE: string;
756
+ PENDING: string;
757
+ NONE: string;
758
+ }>;
759
+ progressPct: z.ZodOptional<z.ZodNumber>;
760
+ canResume: z.ZodOptional<z.ZodBoolean>;
761
+ }, z.core.$strip>;
762
+ }, z.core.$strip>>;
763
+ nextCursor: z.ZodNullable<z.ZodString>;
764
+ }, z.core.$strip>;
765
+ declare const RegisterForEventResponseSchema: z.ZodObject<{
766
+ registration: z.ZodObject<{
767
+ id: z.ZodUUID;
768
+ eventId: z.ZodUUID;
769
+ status: z.ZodEnum<{
770
+ PENDING_PAYMENT: string;
771
+ ACTIVE: string;
772
+ CANCELLED: string;
773
+ REFUNDED: string;
774
+ EXPIRED: string;
775
+ }>;
776
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
777
+ }, z.core.$strip>;
778
+ paymentIntent: z.ZodNullable<z.ZodObject<{
779
+ reference: z.ZodString;
780
+ amount: z.ZodString;
781
+ currency: z.ZodString;
782
+ checkoutUrl: z.ZodOptional<z.ZodURL>;
783
+ }, z.core.$strip>>;
784
+ }, z.core.$strip>;
785
+ declare const UpdateWatchProgressRequestSchema: z.ZodObject<{
786
+ positionSec: z.ZodNumber;
787
+ durationSec: z.ZodOptional<z.ZodNumber>;
788
+ }, z.core.$strip>;
789
+ declare const PlaybackResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
790
+ kind: z.ZodLiteral<"LIVE">;
791
+ playbackUrl: z.ZodURL;
792
+ token: z.ZodString;
793
+ expiresAt: z.ZodISODateTime;
794
+ }, z.core.$strip>, z.ZodObject<{
795
+ kind: z.ZodLiteral<"REPLAY">;
796
+ playbackUrl: z.ZodURL;
797
+ expiresAt: z.ZodISODateTime;
798
+ }, z.core.$strip>], "kind">;
799
+ declare const MyEventCardSchema: z.ZodObject<{
800
+ id: z.ZodUUID;
801
+ title: z.ZodString;
802
+ coverImageUrl: z.ZodNullable<z.ZodString>;
803
+ category: z.ZodEnum<{
804
+ readonly ART: "ART";
805
+ readonly TECHNOLOGY: "TECHNOLOGY";
806
+ readonly SCIENCE: "SCIENCE";
807
+ readonly TRAVEL: "TRAVEL";
808
+ readonly HISTORY: "HISTORY";
809
+ readonly LITERATURE: "LITERATURE";
810
+ readonly COOKING: "COOKING";
811
+ readonly FITNESS: "FITNESS";
812
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
813
+ readonly GARDENING: "GARDENING";
814
+ readonly EDUCATION: "EDUCATION";
815
+ readonly FASHION: "FASHION";
816
+ readonly MOVIES: "MOVIES";
817
+ readonly SPORTS: "SPORTS";
818
+ readonly POLITICS: "POLITICS";
819
+ readonly HEALTH: "HEALTH";
820
+ readonly GAMING: "GAMING";
821
+ readonly FINANCE: "FINANCE";
822
+ readonly NATURE: "NATURE";
823
+ readonly CONCERT: "CONCERT";
824
+ readonly FESTIVAL: "FESTIVAL";
825
+ readonly WEDDING: "WEDDING";
826
+ readonly CORPORATE: "CORPORATE";
827
+ readonly RELIGIOUS: "RELIGIOUS";
828
+ readonly OTHER: "OTHER";
829
+ }>;
830
+ scheduledStart: z.ZodISODateTime;
831
+ scheduledEnd: z.ZodISODateTime;
832
+ state: z.ZodEnum<{
833
+ readonly DRAFT: "DRAFT";
834
+ readonly SCHEDULED: "SCHEDULED";
835
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
836
+ readonly LIVE: "LIVE";
837
+ readonly ENDED: "ENDED";
838
+ readonly REPLAY_READY: "REPLAY_READY";
839
+ readonly ARCHIVED: "ARCHIVED";
840
+ readonly CANCELLED: "CANCELLED";
841
+ readonly FAILED: "FAILED";
842
+ }>;
843
+ accessModel: z.ZodEnum<{
844
+ readonly FREE: "FREE";
845
+ readonly PAID: "PAID";
846
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
847
+ }>;
848
+ ticketPrice: z.ZodNullable<z.ZodString>;
849
+ currency: z.ZodString;
850
+ isFeatured: z.ZodBoolean;
851
+ hostDisplayName: z.ZodNullable<z.ZodString>;
852
+ viewerCount: z.ZodNumber;
853
+ viewer: z.ZodObject<{
854
+ registration: z.ZodEnum<{
855
+ ACTIVE: string;
856
+ PENDING: string;
857
+ NONE: string;
858
+ }>;
859
+ progressPct: z.ZodOptional<z.ZodNumber>;
860
+ canResume: z.ZodOptional<z.ZodBoolean>;
861
+ }, z.core.$strip>;
862
+ startsInSec: z.ZodOptional<z.ZodNumber>;
863
+ liveViewerCount: z.ZodOptional<z.ZodNumber>;
864
+ liveStartedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
865
+ replayAvailableUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
866
+ replayDurationSec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
867
+ watchedPct: z.ZodOptional<z.ZodNumber>;
868
+ hasWatched: z.ZodOptional<z.ZodBoolean>;
869
+ }, z.core.$strip>;
870
+ declare const MyEventsResponseSchema: z.ZodObject<{
871
+ tab: z.ZodEnum<{
872
+ UPCOMING: string;
873
+ LIVE: string;
874
+ PAST: string;
875
+ }>;
876
+ items: z.ZodArray<z.ZodObject<{
877
+ id: z.ZodUUID;
878
+ title: z.ZodString;
879
+ coverImageUrl: z.ZodNullable<z.ZodString>;
880
+ category: z.ZodEnum<{
881
+ readonly ART: "ART";
882
+ readonly TECHNOLOGY: "TECHNOLOGY";
883
+ readonly SCIENCE: "SCIENCE";
884
+ readonly TRAVEL: "TRAVEL";
885
+ readonly HISTORY: "HISTORY";
886
+ readonly LITERATURE: "LITERATURE";
887
+ readonly COOKING: "COOKING";
888
+ readonly FITNESS: "FITNESS";
889
+ readonly PHOTOGRAPHY: "PHOTOGRAPHY";
890
+ readonly GARDENING: "GARDENING";
891
+ readonly EDUCATION: "EDUCATION";
892
+ readonly FASHION: "FASHION";
893
+ readonly MOVIES: "MOVIES";
894
+ readonly SPORTS: "SPORTS";
895
+ readonly POLITICS: "POLITICS";
896
+ readonly HEALTH: "HEALTH";
897
+ readonly GAMING: "GAMING";
898
+ readonly FINANCE: "FINANCE";
899
+ readonly NATURE: "NATURE";
900
+ readonly CONCERT: "CONCERT";
901
+ readonly FESTIVAL: "FESTIVAL";
902
+ readonly WEDDING: "WEDDING";
903
+ readonly CORPORATE: "CORPORATE";
904
+ readonly RELIGIOUS: "RELIGIOUS";
905
+ readonly OTHER: "OTHER";
906
+ }>;
907
+ scheduledStart: z.ZodISODateTime;
908
+ scheduledEnd: z.ZodISODateTime;
909
+ state: z.ZodEnum<{
910
+ readonly DRAFT: "DRAFT";
911
+ readonly SCHEDULED: "SCHEDULED";
912
+ readonly READY_FOR_TEST: "READY_FOR_TEST";
913
+ readonly LIVE: "LIVE";
914
+ readonly ENDED: "ENDED";
915
+ readonly REPLAY_READY: "REPLAY_READY";
916
+ readonly ARCHIVED: "ARCHIVED";
917
+ readonly CANCELLED: "CANCELLED";
918
+ readonly FAILED: "FAILED";
919
+ }>;
920
+ accessModel: z.ZodEnum<{
921
+ readonly FREE: "FREE";
922
+ readonly PAID: "PAID";
923
+ readonly SUBSCRIPTION: "SUBSCRIPTION";
924
+ }>;
925
+ ticketPrice: z.ZodNullable<z.ZodString>;
926
+ currency: z.ZodString;
927
+ isFeatured: z.ZodBoolean;
928
+ hostDisplayName: z.ZodNullable<z.ZodString>;
929
+ viewerCount: z.ZodNumber;
930
+ viewer: z.ZodObject<{
931
+ registration: z.ZodEnum<{
932
+ ACTIVE: string;
933
+ PENDING: string;
934
+ NONE: string;
935
+ }>;
936
+ progressPct: z.ZodOptional<z.ZodNumber>;
937
+ canResume: z.ZodOptional<z.ZodBoolean>;
938
+ }, z.core.$strip>;
939
+ startsInSec: z.ZodOptional<z.ZodNumber>;
940
+ liveViewerCount: z.ZodOptional<z.ZodNumber>;
941
+ liveStartedAt: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
942
+ replayAvailableUntil: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
943
+ replayDurationSec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
944
+ watchedPct: z.ZodOptional<z.ZodNumber>;
945
+ hasWatched: z.ZodOptional<z.ZodBoolean>;
946
+ }, z.core.$strip>>;
947
+ nextCursor: z.ZodNullable<z.ZodString>;
948
+ }, z.core.$strip>;
949
+ declare const MyEventsQuerySchema: z.ZodObject<{
950
+ tab: z.ZodEnum<{
951
+ UPCOMING: string;
952
+ LIVE: string;
953
+ PAST: string;
954
+ }>;
955
+ cursor: z.ZodOptional<z.ZodString>;
956
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
957
+ }, z.core.$strip>;
958
+ declare const StartViewingSessionResponseSchema: z.ZodObject<{
959
+ sessionId: z.ZodString;
960
+ }, z.core.$strip>;
961
+ declare const ViewingSessionHeartbeatResponseSchema: z.ZodObject<{
962
+ ok: z.ZodLiteral<true>;
963
+ }, z.core.$strip>;
964
+ declare const EndViewingSessionResponseSchema: z.ZodObject<{
965
+ durationSec: z.ZodNumber;
966
+ }, z.core.$strip>;
355
967
 
356
968
  type CreateEventRequest = z.infer<typeof CreateEventRequestSchema>;
357
969
  type UpdateEventRequest = z.infer<typeof UpdateEventRequestSchema>;
358
970
  type EventResponse = z.infer<typeof EventResponseSchema>;
971
+ type EventCard = z.infer<typeof EventCardSchema>;
972
+ type ViewerHomeResponse = z.infer<typeof ViewerHomeResponseSchema>;
973
+ type PaginationCursor = z.infer<typeof PaginationCursorSchema>;
974
+ type SearchEventsQuery = z.infer<typeof SearchEventsQuerySchema>;
975
+ type PagedEventsResponse = z.infer<typeof PagedEventsResponseSchema>;
976
+ type RegisterForEventResponse = z.infer<typeof RegisterForEventResponseSchema>;
977
+ type PlaybackResponse = z.infer<typeof PlaybackResponseSchema>;
978
+ type MyEventCard = z.infer<typeof MyEventCardSchema>;
979
+ type MyEventsResponse = z.infer<typeof MyEventsResponseSchema>;
980
+ type MyEventsQuery = z.infer<typeof MyEventsQuerySchema>;
981
+ type StartViewingSessionResponse = z.infer<typeof StartViewingSessionResponseSchema>;
982
+ type ViewingSessionHeartbeatResponse = z.infer<typeof ViewingSessionHeartbeatResponseSchema>;
983
+ type EndViewingSessionResponse = z.infer<typeof EndViewingSessionResponseSchema>;
359
984
 
360
- export { type CreateEventRequest, CreateEventRequestSchema, EventAccessModel, EventAllowListType, EventCategory, type EventResponse, EventResponseSchema, EventState, EventVisibility, type UpdateEventRequest, UpdateEventRequestSchema };
985
+ export { type CreateEventRequest, CreateEventRequestSchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, type EventCard, EventCardSchema, EventCategory, type EventResponse, EventResponseSchema, EventState, EventVisibility, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PaginationCursor, PaginationCursorSchema, type PlaybackResponse, PlaybackResponseSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema };