@livdot-tech/contracts 1.3.0 → 1.3.1
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 +30 -132
- package/dist/auth/index.d.ts +30 -132
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/booking/index.d.mts +35 -183
- package/dist/booking/index.d.ts +35 -183
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chunk-24RINR6F.mjs +2 -0
- package/dist/chunk-24RINR6F.mjs.map +1 -0
- package/dist/chunk-4YYJEPT6.js +2 -0
- package/dist/chunk-4YYJEPT6.js.map +1 -0
- package/dist/chunk-C7FWAE4X.js +2 -0
- package/dist/chunk-C7FWAE4X.js.map +1 -0
- package/dist/chunk-CWGSFDFC.mjs +2 -0
- package/dist/chunk-CWGSFDFC.mjs.map +1 -0
- package/dist/chunk-DAQYQHNR.js +2 -0
- package/dist/chunk-DAQYQHNR.js.map +1 -0
- package/dist/chunk-DKCDBAZM.js +2 -0
- package/dist/chunk-DKCDBAZM.js.map +1 -0
- package/dist/chunk-FE3AMYQL.mjs +2 -0
- package/dist/chunk-FE3AMYQL.mjs.map +1 -0
- package/dist/chunk-GKYB3J5L.js +2 -0
- package/dist/chunk-GKYB3J5L.js.map +1 -0
- package/dist/chunk-MIIRC5BK.mjs +2 -0
- package/dist/chunk-MIIRC5BK.mjs.map +1 -0
- package/dist/chunk-MTV3P67L.js +2 -0
- package/dist/chunk-MTV3P67L.js.map +1 -0
- package/dist/chunk-QWCVJYX2.mjs +2 -0
- package/dist/chunk-QWCVJYX2.mjs.map +1 -0
- package/dist/chunk-SA4F4CDG.mjs +2 -0
- package/dist/chunk-SA4F4CDG.mjs.map +1 -0
- package/dist/chunk-SOOB6WM6.mjs +2 -0
- package/dist/chunk-SOOB6WM6.mjs.map +1 -0
- package/dist/chunk-T4UIJFC3.mjs +2 -0
- package/dist/chunk-T4UIJFC3.mjs.map +1 -0
- package/dist/chunk-VPAZHULG.js +2 -0
- package/dist/chunk-VPAZHULG.js.map +1 -0
- package/dist/chunk-ZOBM5OSW.js +2 -0
- package/dist/chunk-ZOBM5OSW.js.map +1 -0
- package/dist/chunk-ZWKP6KMZ.js +2 -0
- package/dist/chunk-ZWKP6KMZ.js.map +1 -0
- package/dist/chunk-ZWWSPLKF.mjs +2 -0
- package/dist/chunk-ZWWSPLKF.mjs.map +1 -0
- package/dist/common/index.d.mts +6 -214
- package/dist/common/index.d.ts +6 -214
- package/dist/common/index.js +1 -1
- package/dist/common/index.mjs +1 -1
- package/dist/dispute/index.d.mts +12 -42
- package/dist/dispute/index.d.ts +12 -42
- package/dist/dispute/index.js +1 -1
- package/dist/dispute/index.mjs +1 -1
- package/dist/event/index.d.mts +31 -147
- package/dist/event/index.d.ts +31 -147
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/notification/index.d.mts +11 -41
- package/dist/notification/index.d.ts +11 -41
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/payment/index.d.mts +15 -67
- package/dist/payment/index.d.ts +15 -67
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/streaming/index.d.mts +8 -42
- package/dist/streaming/index.d.ts +8 -42
- package/dist/streaming/index.js +1 -1
- package/dist/streaming/index.mjs +1 -1
- package/dist/user/index.d.mts +184 -304
- package/dist/user/index.d.ts +184 -304
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +6 -5
- package/dist/chunk-6GDUDLP2.js +0 -2
- package/dist/chunk-6GDUDLP2.js.map +0 -1
- package/dist/chunk-6UTUVCOM.mjs +0 -2
- package/dist/chunk-6UTUVCOM.mjs.map +0 -1
- package/dist/chunk-6ZN2TPBZ.js +0 -2
- package/dist/chunk-6ZN2TPBZ.js.map +0 -1
- package/dist/chunk-726BT6I5.js +0 -2
- package/dist/chunk-726BT6I5.js.map +0 -1
- package/dist/chunk-C2QIE2HZ.js +0 -2
- package/dist/chunk-C2QIE2HZ.js.map +0 -1
- package/dist/chunk-CIV62KPR.mjs +0 -2
- package/dist/chunk-CIV62KPR.mjs.map +0 -1
- package/dist/chunk-DF4E66H2.mjs +0 -2
- package/dist/chunk-DF4E66H2.mjs.map +0 -1
- package/dist/chunk-F663RS3D.js +0 -2
- package/dist/chunk-F663RS3D.js.map +0 -1
- package/dist/chunk-GY7PCU2T.js +0 -2
- package/dist/chunk-GY7PCU2T.js.map +0 -1
- package/dist/chunk-HI6UMYA4.mjs +0 -2
- package/dist/chunk-HI6UMYA4.mjs.map +0 -1
- package/dist/chunk-IJ2PAFAX.js +0 -2
- package/dist/chunk-IJ2PAFAX.js.map +0 -1
- package/dist/chunk-NSBUBEZK.mjs +0 -2
- package/dist/chunk-NSBUBEZK.mjs.map +0 -1
- package/dist/chunk-PHGWWUP2.mjs +0 -2
- package/dist/chunk-PHGWWUP2.mjs.map +0 -1
- package/dist/chunk-T7C4AYVD.mjs +0 -2
- package/dist/chunk-T7C4AYVD.mjs.map +0 -1
- package/dist/chunk-UDHBQDRU.js +0 -2
- package/dist/chunk-UDHBQDRU.js.map +0 -1
- package/dist/chunk-WCT4N7NS.mjs +0 -2
- package/dist/chunk-WCT4N7NS.mjs.map +0 -1
- package/dist/chunk-WEET4HBJ.mjs +0 -2
- package/dist/chunk-WEET4HBJ.mjs.map +0 -1
- package/dist/chunk-ZFINSMCH.js +0 -2
- package/dist/chunk-ZFINSMCH.js.map +0 -1
package/dist/event/index.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];
|
|
|
66
66
|
declare const CreateEventRequestSchema: z.ZodObject<{
|
|
67
67
|
title: z.ZodString;
|
|
68
68
|
description: z.ZodString;
|
|
69
|
-
category: z.
|
|
69
|
+
category: z.ZodEnum<{
|
|
70
70
|
readonly ART: "ART";
|
|
71
71
|
readonly TECHNOLOGY: "TECHNOLOGY";
|
|
72
72
|
readonly SCIENCE: "SCIENCE";
|
|
@@ -93,15 +93,15 @@ declare const CreateEventRequestSchema: z.ZodObject<{
|
|
|
93
93
|
readonly RELIGIOUS: "RELIGIOUS";
|
|
94
94
|
readonly OTHER: "OTHER";
|
|
95
95
|
}>;
|
|
96
|
-
scheduledStartAt: z.
|
|
97
|
-
scheduledEndAt: z.
|
|
96
|
+
scheduledStartAt: z.ZodISODateTime;
|
|
97
|
+
scheduledEndAt: z.ZodISODateTime;
|
|
98
98
|
venueLocation: z.ZodString;
|
|
99
|
-
visibility: z.
|
|
99
|
+
visibility: z.ZodEnum<{
|
|
100
100
|
readonly PUBLIC: "PUBLIC";
|
|
101
101
|
readonly PRIVATE: "PRIVATE";
|
|
102
102
|
readonly UNLISTED: "UNLISTED";
|
|
103
103
|
}>;
|
|
104
|
-
accessModel: z.
|
|
104
|
+
accessModel: z.ZodEnum<{
|
|
105
105
|
readonly FREE: "FREE";
|
|
106
106
|
readonly PAID: "PAID";
|
|
107
107
|
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
@@ -111,45 +111,13 @@ declare const CreateEventRequestSchema: z.ZodObject<{
|
|
|
111
111
|
timezone: z.ZodDefault<z.ZodString>;
|
|
112
112
|
replayEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
113
113
|
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
114
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString
|
|
114
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
115
115
|
geoRestrictions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
116
|
-
},
|
|
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
|
-
}>;
|
|
116
|
+
}, z.core.$strip>;
|
|
149
117
|
declare const UpdateEventRequestSchema: z.ZodObject<{
|
|
150
118
|
title: z.ZodOptional<z.ZodString>;
|
|
151
119
|
description: z.ZodOptional<z.ZodString>;
|
|
152
|
-
category: z.ZodOptional<z.
|
|
120
|
+
category: z.ZodOptional<z.ZodEnum<{
|
|
153
121
|
readonly ART: "ART";
|
|
154
122
|
readonly TECHNOLOGY: "TECHNOLOGY";
|
|
155
123
|
readonly SCIENCE: "SCIENCE";
|
|
@@ -176,15 +144,15 @@ declare const UpdateEventRequestSchema: z.ZodObject<{
|
|
|
176
144
|
readonly RELIGIOUS: "RELIGIOUS";
|
|
177
145
|
readonly OTHER: "OTHER";
|
|
178
146
|
}>>;
|
|
179
|
-
scheduledStartAt: z.ZodOptional<z.
|
|
180
|
-
scheduledEndAt: z.ZodOptional<z.
|
|
147
|
+
scheduledStartAt: z.ZodOptional<z.ZodISODateTime>;
|
|
148
|
+
scheduledEndAt: z.ZodOptional<z.ZodISODateTime>;
|
|
181
149
|
venueLocation: z.ZodOptional<z.ZodString>;
|
|
182
|
-
visibility: z.ZodOptional<z.
|
|
150
|
+
visibility: z.ZodOptional<z.ZodEnum<{
|
|
183
151
|
readonly PUBLIC: "PUBLIC";
|
|
184
152
|
readonly PRIVATE: "PRIVATE";
|
|
185
153
|
readonly UNLISTED: "UNLISTED";
|
|
186
154
|
}>>;
|
|
187
|
-
accessModel: z.ZodOptional<z.
|
|
155
|
+
accessModel: z.ZodOptional<z.ZodEnum<{
|
|
188
156
|
readonly FREE: "FREE";
|
|
189
157
|
readonly PAID: "PAID";
|
|
190
158
|
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
@@ -194,46 +162,14 @@ declare const UpdateEventRequestSchema: z.ZodObject<{
|
|
|
194
162
|
timezone: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
195
163
|
replayEnabled: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
196
164
|
retentionDays: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
197
|
-
tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString
|
|
165
|
+
tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
198
166
|
geoRestrictions: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
199
|
-
},
|
|
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
|
-
}>;
|
|
167
|
+
}, z.core.$strip>;
|
|
232
168
|
declare const EventResponseSchema: z.ZodObject<{
|
|
233
|
-
id: z.
|
|
169
|
+
id: z.ZodUUID;
|
|
234
170
|
title: z.ZodString;
|
|
235
171
|
description: z.ZodString;
|
|
236
|
-
category: z.
|
|
172
|
+
category: z.ZodEnum<{
|
|
237
173
|
readonly ART: "ART";
|
|
238
174
|
readonly TECHNOLOGY: "TECHNOLOGY";
|
|
239
175
|
readonly SCIENCE: "SCIENCE";
|
|
@@ -260,17 +196,17 @@ declare const EventResponseSchema: z.ZodObject<{
|
|
|
260
196
|
readonly RELIGIOUS: "RELIGIOUS";
|
|
261
197
|
readonly OTHER: "OTHER";
|
|
262
198
|
}>;
|
|
263
|
-
coverImageUrl: z.ZodOptional<z.
|
|
199
|
+
coverImageUrl: z.ZodOptional<z.ZodURL>;
|
|
264
200
|
venueLocation: z.ZodString;
|
|
265
|
-
scheduledStartAt: z.
|
|
266
|
-
scheduledEndAt: z.
|
|
201
|
+
scheduledStartAt: z.ZodISODateTime;
|
|
202
|
+
scheduledEndAt: z.ZodISODateTime;
|
|
267
203
|
timezone: z.ZodString;
|
|
268
|
-
visibility: z.
|
|
204
|
+
visibility: z.ZodEnum<{
|
|
269
205
|
readonly PUBLIC: "PUBLIC";
|
|
270
206
|
readonly PRIVATE: "PRIVATE";
|
|
271
207
|
readonly UNLISTED: "UNLISTED";
|
|
272
208
|
}>;
|
|
273
|
-
accessModel: z.
|
|
209
|
+
accessModel: z.ZodEnum<{
|
|
274
210
|
readonly FREE: "FREE";
|
|
275
211
|
readonly PAID: "PAID";
|
|
276
212
|
readonly SUBSCRIPTION: "SUBSCRIPTION";
|
|
@@ -278,7 +214,7 @@ declare const EventResponseSchema: z.ZodObject<{
|
|
|
278
214
|
ticketPrice: z.ZodNumber;
|
|
279
215
|
currency: z.ZodString;
|
|
280
216
|
maxTickets: z.ZodOptional<z.ZodNumber>;
|
|
281
|
-
eventState: z.
|
|
217
|
+
eventState: z.ZodEnum<{
|
|
282
218
|
readonly DRAFT: "DRAFT";
|
|
283
219
|
readonly SCHEDULED: "SCHEDULED";
|
|
284
220
|
readonly READY_FOR_TEST: "READY_FOR_TEST";
|
|
@@ -289,69 +225,17 @@ declare const EventResponseSchema: z.ZodObject<{
|
|
|
289
225
|
readonly CANCELLED: "CANCELLED";
|
|
290
226
|
readonly FAILED: "FAILED";
|
|
291
227
|
}>;
|
|
292
|
-
shareableUrl: z.
|
|
293
|
-
hostId: z.
|
|
228
|
+
shareableUrl: z.ZodURL;
|
|
229
|
+
hostId: z.ZodUUID;
|
|
294
230
|
isFeatured: z.ZodBoolean;
|
|
295
231
|
replayEnabled: z.ZodBoolean;
|
|
296
|
-
replayAvailableUntil: z.ZodOptional<z.
|
|
297
|
-
createdAt: z.
|
|
298
|
-
updatedAt: z.
|
|
299
|
-
publishedAt: z.ZodOptional<z.
|
|
300
|
-
liveStartedAt: z.ZodOptional<z.
|
|
301
|
-
liveEndedAt: z.ZodOptional<z.
|
|
302
|
-
},
|
|
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
|
-
}>;
|
|
232
|
+
replayAvailableUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
233
|
+
createdAt: z.ZodISODateTime;
|
|
234
|
+
updatedAt: z.ZodISODateTime;
|
|
235
|
+
publishedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
236
|
+
liveStartedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
237
|
+
liveEndedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
238
|
+
}, z.core.$strip>;
|
|
355
239
|
|
|
356
240
|
type CreateEventRequest = z.infer<typeof CreateEventRequestSchema>;
|
|
357
241
|
type UpdateEventRequest = z.infer<typeof UpdateEventRequestSchema>;
|
package/dist/event/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkZWKP6KMZ_js=require('../chunk-ZWKP6KMZ.js');Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.f}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.b}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.c}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.e}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.h}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.d}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.a}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.g}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/event/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{f as CreateEventRequestSchema,b as EventAccessModel,c as EventAllowListType,e as EventCategory,h as EventResponseSchema,d as EventState,a as EventVisibility,g as UpdateEventRequestSchema}from'../chunk-
|
|
1
|
+
export{f as CreateEventRequestSchema,b as EventAccessModel,c as EventAllowListType,e as EventCategory,h as EventResponseSchema,d as EventState,a as EventVisibility,g as UpdateEventRequestSchema}from'../chunk-QWCVJYX2.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ApiError, ApiResponse, ApiResponseSchema, PaginatedResponse, PaginationMeta, PaginationParams, PaginationParamsSchema, ResponseMessages } from './common/index.mjs';
|
|
2
2
|
export { ChangePasswordRequest, ChangePasswordRequestSchema, CognitoTokenPayload, CognitoTokenPayloadSchema, ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, LoginRequest, LoginRequestSchema, LoginResponse, LoginResponseSchema, LogoutRequestPayload, LogoutRequestSchema, RefreshTokenRequest, RefreshTokenRequestSchema, RegisterRequest, RegisterRequestSchema, RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, ResetPasswordRequest, ResetPasswordRequestSchema, VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema } from './auth/index.mjs';
|
|
3
|
-
export { AccountStatus, AdminScopeCode, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, UpdateUserRequest, UpdateUserRequestSchema, UserResponse, UserResponseSchema, UserRole } from './user/index.mjs';
|
|
3
|
+
export { AccountStatus, AdminScopeCode, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerExperienceLevel, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, UpdateUserRequest, UpdateUserRequestSchema, UserResponse, UserResponseSchema, UserRole } from './user/index.mjs';
|
|
4
4
|
export { CreateEventRequest, CreateEventRequestSchema, EventAccessModel, EventAllowListType, EventCategory, EventResponse, EventResponseSchema, EventState, EventVisibility, UpdateEventRequest, UpdateEventRequestSchema } from './event/index.mjs';
|
|
5
5
|
export { BookingOrigin, BookingPaymentStatus, BookingResponse, BookingResponseSchema, BookingState, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema } from './booking/index.mjs';
|
|
6
6
|
export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { ApiError, ApiResponse, ApiResponseSchema, PaginatedResponse, PaginationMeta, PaginationParams, PaginationParamsSchema, ResponseMessages } from './common/index.js';
|
|
2
2
|
export { ChangePasswordRequest, ChangePasswordRequestSchema, CognitoTokenPayload, CognitoTokenPayloadSchema, ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, LoginRequest, LoginRequestSchema, LoginResponse, LoginResponseSchema, LogoutRequestPayload, LogoutRequestSchema, RefreshTokenRequest, RefreshTokenRequestSchema, RegisterRequest, RegisterRequestSchema, RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, ResetPasswordRequest, ResetPasswordRequestSchema, VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema } from './auth/index.js';
|
|
3
|
-
export { AccountStatus, AdminScopeCode, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, UpdateUserRequest, UpdateUserRequestSchema, UserResponse, UserResponseSchema, UserRole } from './user/index.js';
|
|
3
|
+
export { AccountStatus, AdminScopeCode, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerExperienceLevel, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, UpdateUserRequest, UpdateUserRequestSchema, UserResponse, UserResponseSchema, UserRole } from './user/index.js';
|
|
4
4
|
export { CreateEventRequest, CreateEventRequestSchema, EventAccessModel, EventAllowListType, EventCategory, EventResponse, EventResponseSchema, EventState, EventVisibility, UpdateEventRequest, UpdateEventRequestSchema } from './event/index.js';
|
|
5
5
|
export { BookingOrigin, BookingPaymentStatus, BookingResponse, BookingResponseSchema, BookingState, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema } from './booking/index.js';
|
|
6
6
|
export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.js';
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk4YYJEPT6_js=require('./chunk-4YYJEPT6.js'),chunkDAQYQHNR_js=require('./chunk-DAQYQHNR.js'),chunkC7FWAE4X_js=require('./chunk-C7FWAE4X.js'),chunkMTV3P67L_js=require('./chunk-MTV3P67L.js'),chunkDKCDBAZM_js=require('./chunk-DKCDBAZM.js'),chunkVPAZHULG_js=require('./chunk-VPAZHULG.js'),chunkGKYB3J5L_js=require('./chunk-GKYB3J5L.js'),chunkZOBM5OSW_js=require('./chunk-ZOBM5OSW.js'),chunkZWKP6KMZ_js=require('./chunk-ZWKP6KMZ.js'),chunkJT7SH43N_js=require('./chunk-JT7SH43N.js'),chunkUZZ46ZPG_js=require('./chunk-UZZ46ZPG.js');Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunk4YYJEPT6_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunk4YYJEPT6_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunk4YYJEPT6_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunk4YYJEPT6_js.c}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.d}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.e}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkDAQYQHNR_js.f}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkDAQYQHNR_js.c}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkDAQYQHNR_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkDAQYQHNR_js.a}});Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunkC7FWAE4X_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunkC7FWAE4X_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.e}});Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.m}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.n}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkMTV3P67L_js.f}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkDKCDBAZM_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkDKCDBAZM_js.d}});Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunkDKCDBAZM_js.k}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunkDKCDBAZM_js.l}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunkDKCDBAZM_js.g}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkDKCDBAZM_js.c}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkDKCDBAZM_js.f}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunkDKCDBAZM_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkDKCDBAZM_js.e}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunkDKCDBAZM_js.j}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunkDKCDBAZM_js.i}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkDKCDBAZM_js.a}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkVPAZHULG_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkVPAZHULG_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.i}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkVPAZHULG_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.c}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.k}});Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkGKYB3J5L_js.c}});Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkZOBM5OSW_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkZOBM5OSW_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkZOBM5OSW_js.a}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.f}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.b}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.c}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.e}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.h}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.d}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.a}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkZWKP6KMZ_js.g}});Object.defineProperty(exports,"ApiErrorCode",{enumerable:true,get:function(){return chunkJT7SH43N_js.a}});Object.defineProperty(exports,"JobInterestState",{enumerable:true,get:function(){return chunkUZZ46ZPG_js.a}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-
|
|
1
|
+
export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-SA4F4CDG.mjs';export{d as InitiatePaymentRequestSchema,e as InitiatePaymentResponseSchema,f as PayoutResponseSchema,c as PayoutStatus,b as TransactionStatus,a as TransactionType}from'./chunk-ZWWSPLKF.mjs';export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'./chunk-MIIRC5BK.mjs';export{m as ChangePasswordRequestSchema,n as CognitoTokenPayloadSchema,j as ForgotPasswordRequestSchema,k as ForgotPasswordResponseSchema,c as LoginRequestSchema,g as LoginResponseSchema,i as LogoutRequestSchema,h as RefreshTokenRequestSchema,a as RegisterRequestSchema,b as RegisterResponseSchema,e as ResendOtpRequestSchema,l as ResetPasswordRequestSchema,d as VerifyOtpRequestSchema,f as VerifyOtpResponseSchema}from'./chunk-T4UIJFC3.mjs';export{b as AccountStatus,d as AdminScopeCode,k as CreateHostProfileRequestSchema,l as CreateProducerProfileRequestSchema,g as HostProfileResponseSchema,c as KycStatus,f as ProducerExperienceLevel,h as ProducerProfileResponseSchema,e as ProducerVerificationStatus,j as UpdateUserRequestSchema,i as UserResponseSchema,a as UserRole}from'./chunk-24RINR6F.mjs';export{a as BookingOrigin,e as BookingPaymentStatus,h as BookingResponseSchema,b as BookingState,g as ConfirmBookingRequestSchema,f as CreateBookingRequestSchema,i as CreateJobListingRequestSchema,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,k as SubmitIndicationOfInterestRequestSchema}from'./chunk-SOOB6WM6.mjs';export{a as ApiResponseSchema,b as PaginationParamsSchema,c as ResponseMessages}from'./chunk-FE3AMYQL.mjs';export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'./chunk-CWGSFDFC.mjs';export{f as CreateEventRequestSchema,b as EventAccessModel,c as EventAllowListType,e as EventCategory,h as EventResponseSchema,d as EventState,a as EventVisibility,g as UpdateEventRequestSchema}from'./chunk-QWCVJYX2.mjs';export{a as ApiErrorCode}from'./chunk-FSQX27QM.mjs';export{a as JobInterestState}from'./chunk-Y5QIEJG2.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -35,9 +35,9 @@ declare const NotificationType: {
|
|
|
35
35
|
type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
|
|
36
36
|
|
|
37
37
|
declare const NotificationResponseSchema: z.ZodObject<{
|
|
38
|
-
id: z.
|
|
39
|
-
userId: z.
|
|
40
|
-
type: z.
|
|
38
|
+
id: z.ZodUUID;
|
|
39
|
+
userId: z.ZodUUID;
|
|
40
|
+
type: z.ZodEnum<{
|
|
41
41
|
readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
|
|
42
42
|
readonly BOOKING_ACCEPTED: "BOOKING_ACCEPTED";
|
|
43
43
|
readonly BOOKING_REJECTED: "BOOKING_REJECTED";
|
|
@@ -57,56 +57,26 @@ declare const NotificationResponseSchema: z.ZodObject<{
|
|
|
57
57
|
}>;
|
|
58
58
|
title: z.ZodString;
|
|
59
59
|
body: z.ZodString;
|
|
60
|
-
actionUrl: z.ZodOptional<z.
|
|
60
|
+
actionUrl: z.ZodOptional<z.ZodURL>;
|
|
61
61
|
actionType: z.ZodOptional<z.ZodString>;
|
|
62
|
-
channels: z.ZodArray<z.
|
|
62
|
+
channels: z.ZodArray<z.ZodEnum<{
|
|
63
63
|
readonly IN_APP: "IN_APP";
|
|
64
64
|
readonly EMAIL: "EMAIL";
|
|
65
65
|
readonly SMS: "SMS";
|
|
66
66
|
readonly PUSH: "PUSH";
|
|
67
|
-
}
|
|
67
|
+
}>>;
|
|
68
68
|
isRead: z.ZodBoolean;
|
|
69
|
-
readAt: z.ZodOptional<z.
|
|
70
|
-
deliveredAt: z.ZodOptional<z.
|
|
71
|
-
priority: z.
|
|
69
|
+
readAt: z.ZodOptional<z.ZodISODateTime>;
|
|
70
|
+
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
71
|
+
priority: z.ZodEnum<{
|
|
72
72
|
readonly LOW: "LOW";
|
|
73
73
|
readonly NORMAL: "NORMAL";
|
|
74
74
|
readonly HIGH: "HIGH";
|
|
75
75
|
readonly URGENT: "URGENT";
|
|
76
76
|
}>;
|
|
77
77
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
78
|
-
createdAt: z.
|
|
79
|
-
},
|
|
80
|
-
type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
|
|
81
|
-
title: string;
|
|
82
|
-
id: string;
|
|
83
|
-
userId: string;
|
|
84
|
-
createdAt: string;
|
|
85
|
-
body: string;
|
|
86
|
-
channels: ("EMAIL" | "IN_APP" | "SMS" | "PUSH")[];
|
|
87
|
-
isRead: boolean;
|
|
88
|
-
priority: "LOW" | "NORMAL" | "HIGH" | "URGENT";
|
|
89
|
-
actionUrl?: string | undefined;
|
|
90
|
-
actionType?: string | undefined;
|
|
91
|
-
readAt?: string | undefined;
|
|
92
|
-
deliveredAt?: string | undefined;
|
|
93
|
-
metadata?: Record<string, any> | undefined;
|
|
94
|
-
}, {
|
|
95
|
-
type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
|
|
96
|
-
title: string;
|
|
97
|
-
id: string;
|
|
98
|
-
userId: string;
|
|
99
|
-
createdAt: string;
|
|
100
|
-
body: string;
|
|
101
|
-
channels: ("EMAIL" | "IN_APP" | "SMS" | "PUSH")[];
|
|
102
|
-
isRead: boolean;
|
|
103
|
-
priority: "LOW" | "NORMAL" | "HIGH" | "URGENT";
|
|
104
|
-
actionUrl?: string | undefined;
|
|
105
|
-
actionType?: string | undefined;
|
|
106
|
-
readAt?: string | undefined;
|
|
107
|
-
deliveredAt?: string | undefined;
|
|
108
|
-
metadata?: Record<string, any> | undefined;
|
|
109
|
-
}>;
|
|
78
|
+
createdAt: z.ZodISODateTime;
|
|
79
|
+
}, z.core.$strip>;
|
|
110
80
|
|
|
111
81
|
type NotificationResponse = z.infer<typeof NotificationResponseSchema>;
|
|
112
82
|
|
|
@@ -35,9 +35,9 @@ declare const NotificationType: {
|
|
|
35
35
|
type NotificationType = (typeof NotificationType)[keyof typeof NotificationType];
|
|
36
36
|
|
|
37
37
|
declare const NotificationResponseSchema: z.ZodObject<{
|
|
38
|
-
id: z.
|
|
39
|
-
userId: z.
|
|
40
|
-
type: z.
|
|
38
|
+
id: z.ZodUUID;
|
|
39
|
+
userId: z.ZodUUID;
|
|
40
|
+
type: z.ZodEnum<{
|
|
41
41
|
readonly BOOKING_REQUESTED: "BOOKING_REQUESTED";
|
|
42
42
|
readonly BOOKING_ACCEPTED: "BOOKING_ACCEPTED";
|
|
43
43
|
readonly BOOKING_REJECTED: "BOOKING_REJECTED";
|
|
@@ -57,56 +57,26 @@ declare const NotificationResponseSchema: z.ZodObject<{
|
|
|
57
57
|
}>;
|
|
58
58
|
title: z.ZodString;
|
|
59
59
|
body: z.ZodString;
|
|
60
|
-
actionUrl: z.ZodOptional<z.
|
|
60
|
+
actionUrl: z.ZodOptional<z.ZodURL>;
|
|
61
61
|
actionType: z.ZodOptional<z.ZodString>;
|
|
62
|
-
channels: z.ZodArray<z.
|
|
62
|
+
channels: z.ZodArray<z.ZodEnum<{
|
|
63
63
|
readonly IN_APP: "IN_APP";
|
|
64
64
|
readonly EMAIL: "EMAIL";
|
|
65
65
|
readonly SMS: "SMS";
|
|
66
66
|
readonly PUSH: "PUSH";
|
|
67
|
-
}
|
|
67
|
+
}>>;
|
|
68
68
|
isRead: z.ZodBoolean;
|
|
69
|
-
readAt: z.ZodOptional<z.
|
|
70
|
-
deliveredAt: z.ZodOptional<z.
|
|
71
|
-
priority: z.
|
|
69
|
+
readAt: z.ZodOptional<z.ZodISODateTime>;
|
|
70
|
+
deliveredAt: z.ZodOptional<z.ZodISODateTime>;
|
|
71
|
+
priority: z.ZodEnum<{
|
|
72
72
|
readonly LOW: "LOW";
|
|
73
73
|
readonly NORMAL: "NORMAL";
|
|
74
74
|
readonly HIGH: "HIGH";
|
|
75
75
|
readonly URGENT: "URGENT";
|
|
76
76
|
}>;
|
|
77
77
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
78
|
-
createdAt: z.
|
|
79
|
-
},
|
|
80
|
-
type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
|
|
81
|
-
title: string;
|
|
82
|
-
id: string;
|
|
83
|
-
userId: string;
|
|
84
|
-
createdAt: string;
|
|
85
|
-
body: string;
|
|
86
|
-
channels: ("EMAIL" | "IN_APP" | "SMS" | "PUSH")[];
|
|
87
|
-
isRead: boolean;
|
|
88
|
-
priority: "LOW" | "NORMAL" | "HIGH" | "URGENT";
|
|
89
|
-
actionUrl?: string | undefined;
|
|
90
|
-
actionType?: string | undefined;
|
|
91
|
-
readAt?: string | undefined;
|
|
92
|
-
deliveredAt?: string | undefined;
|
|
93
|
-
metadata?: Record<string, any> | undefined;
|
|
94
|
-
}, {
|
|
95
|
-
type: "BOOKING_REQUESTED" | "BOOKING_ACCEPTED" | "BOOKING_REJECTED" | "BOOKING_CONFIRMED" | "BOOKING_CANCELLED" | "BOOKING_COMPLETED" | "PAYMENT_RECEIVED" | "PAYOUT_PROCESSED" | "EVENT_GOING_LIVE" | "EVENT_CANCELLED" | "DISPUTE_OPENED" | "DISPUTE_RESOLVED" | "KYC_APPROVED" | "KYC_REJECTED" | "PRODUCER_VERIFIED" | "JOB_LISTING_NEW_INTEREST";
|
|
96
|
-
title: string;
|
|
97
|
-
id: string;
|
|
98
|
-
userId: string;
|
|
99
|
-
createdAt: string;
|
|
100
|
-
body: string;
|
|
101
|
-
channels: ("EMAIL" | "IN_APP" | "SMS" | "PUSH")[];
|
|
102
|
-
isRead: boolean;
|
|
103
|
-
priority: "LOW" | "NORMAL" | "HIGH" | "URGENT";
|
|
104
|
-
actionUrl?: string | undefined;
|
|
105
|
-
actionType?: string | undefined;
|
|
106
|
-
readAt?: string | undefined;
|
|
107
|
-
deliveredAt?: string | undefined;
|
|
108
|
-
metadata?: Record<string, any> | undefined;
|
|
109
|
-
}>;
|
|
78
|
+
createdAt: z.ZodISODateTime;
|
|
79
|
+
}, z.core.$strip>;
|
|
110
80
|
|
|
111
81
|
type NotificationResponse = z.infer<typeof NotificationResponseSchema>;
|
|
112
82
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk4YYJEPT6_js=require('../chunk-4YYJEPT6.js');Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunk4YYJEPT6_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunk4YYJEPT6_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunk4YYJEPT6_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunk4YYJEPT6_js.c}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'../chunk-
|
|
1
|
+
export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'../chunk-SA4F4CDG.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/payment/index.d.mts
CHANGED
|
@@ -26,37 +26,23 @@ declare const PayoutStatus: {
|
|
|
26
26
|
type PayoutStatus = (typeof PayoutStatus)[keyof typeof PayoutStatus];
|
|
27
27
|
|
|
28
28
|
declare const InitiatePaymentRequestSchema: z.ZodObject<{
|
|
29
|
-
eventId: z.
|
|
29
|
+
eventId: z.ZodUUID;
|
|
30
30
|
amount: z.ZodNumber;
|
|
31
|
-
},
|
|
32
|
-
eventId: string;
|
|
33
|
-
amount: number;
|
|
34
|
-
}, {
|
|
35
|
-
eventId: string;
|
|
36
|
-
amount: number;
|
|
37
|
-
}>;
|
|
31
|
+
}, z.core.$strip>;
|
|
38
32
|
declare const InitiatePaymentResponseSchema: z.ZodObject<{
|
|
39
|
-
authorizationUrl: z.
|
|
33
|
+
authorizationUrl: z.ZodURL;
|
|
40
34
|
reference: z.ZodString;
|
|
41
35
|
accessCode: z.ZodOptional<z.ZodString>;
|
|
42
|
-
},
|
|
43
|
-
reference: string;
|
|
44
|
-
authorizationUrl: string;
|
|
45
|
-
accessCode?: string | undefined;
|
|
46
|
-
}, {
|
|
47
|
-
reference: string;
|
|
48
|
-
authorizationUrl: string;
|
|
49
|
-
accessCode?: string | undefined;
|
|
50
|
-
}>;
|
|
36
|
+
}, z.core.$strip>;
|
|
51
37
|
declare const PayoutResponseSchema: z.ZodObject<{
|
|
52
|
-
id: z.
|
|
53
|
-
userId: z.
|
|
38
|
+
id: z.ZodUUID;
|
|
39
|
+
userId: z.ZodUUID;
|
|
54
40
|
amount: z.ZodNumber;
|
|
55
41
|
currency: z.ZodString;
|
|
56
42
|
payoutType: z.ZodString;
|
|
57
|
-
eventId: z.ZodOptional<z.
|
|
58
|
-
bookingId: z.ZodOptional<z.
|
|
59
|
-
payoutStatus: z.
|
|
43
|
+
eventId: z.ZodOptional<z.ZodUUID>;
|
|
44
|
+
bookingId: z.ZodOptional<z.ZodUUID>;
|
|
45
|
+
payoutStatus: z.ZodEnum<{
|
|
60
46
|
readonly PENDING: "PENDING";
|
|
61
47
|
readonly PROCESSING: "PROCESSING";
|
|
62
48
|
readonly COMPLETED: "COMPLETED";
|
|
@@ -66,51 +52,13 @@ declare const PayoutResponseSchema: z.ZodObject<{
|
|
|
66
52
|
bankCode: z.ZodOptional<z.ZodString>;
|
|
67
53
|
accountNumber: z.ZodOptional<z.ZodString>;
|
|
68
54
|
accountName: z.ZodOptional<z.ZodString>;
|
|
69
|
-
scheduledAt: z.ZodOptional<z.
|
|
70
|
-
processedAt: z.ZodOptional<z.
|
|
71
|
-
completedAt: z.ZodOptional<z.
|
|
72
|
-
failedAt: z.ZodOptional<z.
|
|
55
|
+
scheduledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
56
|
+
processedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
57
|
+
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
58
|
+
failedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
73
59
|
failureReason: z.ZodOptional<z.ZodString>;
|
|
74
|
-
createdAt: z.
|
|
75
|
-
},
|
|
76
|
-
id: string;
|
|
77
|
-
userId: string;
|
|
78
|
-
createdAt: string;
|
|
79
|
-
currency: string;
|
|
80
|
-
amount: number;
|
|
81
|
-
payoutType: string;
|
|
82
|
-
payoutStatus: "PENDING" | "FAILED" | "PROCESSING" | "COMPLETED";
|
|
83
|
-
eventId?: string | undefined;
|
|
84
|
-
completedAt?: string | undefined;
|
|
85
|
-
bookingId?: string | undefined;
|
|
86
|
-
providerReference?: string | undefined;
|
|
87
|
-
bankCode?: string | undefined;
|
|
88
|
-
accountNumber?: string | undefined;
|
|
89
|
-
accountName?: string | undefined;
|
|
90
|
-
scheduledAt?: string | undefined;
|
|
91
|
-
processedAt?: string | undefined;
|
|
92
|
-
failedAt?: string | undefined;
|
|
93
|
-
failureReason?: string | undefined;
|
|
94
|
-
}, {
|
|
95
|
-
id: string;
|
|
96
|
-
userId: string;
|
|
97
|
-
createdAt: string;
|
|
98
|
-
currency: string;
|
|
99
|
-
amount: number;
|
|
100
|
-
payoutType: string;
|
|
101
|
-
payoutStatus: "PENDING" | "FAILED" | "PROCESSING" | "COMPLETED";
|
|
102
|
-
eventId?: string | undefined;
|
|
103
|
-
completedAt?: string | undefined;
|
|
104
|
-
bookingId?: string | undefined;
|
|
105
|
-
providerReference?: string | undefined;
|
|
106
|
-
bankCode?: string | undefined;
|
|
107
|
-
accountNumber?: string | undefined;
|
|
108
|
-
accountName?: string | undefined;
|
|
109
|
-
scheduledAt?: string | undefined;
|
|
110
|
-
processedAt?: string | undefined;
|
|
111
|
-
failedAt?: string | undefined;
|
|
112
|
-
failureReason?: string | undefined;
|
|
113
|
-
}>;
|
|
60
|
+
createdAt: z.ZodISODateTime;
|
|
61
|
+
}, z.core.$strip>;
|
|
114
62
|
|
|
115
63
|
type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
|
|
116
64
|
type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
|