@livdot-tech/contracts 1.10.8 → 1.10.10
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 +33 -1
- package/dist/auth/index.d.ts +33 -1
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/booking/index.d.mts +73 -32
- package/dist/booking/index.d.ts +73 -32
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat/index.mjs +1 -1
- package/dist/chunk-6H4NYHH4.js +2 -0
- package/dist/chunk-6H4NYHH4.js.map +1 -0
- package/dist/chunk-7H6A4YYD.mjs +2 -0
- package/dist/chunk-7H6A4YYD.mjs.map +1 -0
- package/dist/{chunk-ZTFSP2ZQ.js → chunk-A3IKOGAK.js} +2 -2
- package/dist/chunk-A3IKOGAK.js.map +1 -0
- package/dist/{chunk-ETFQEH55.js → chunk-CCZSH6ME.js} +2 -2
- package/dist/{chunk-ETFQEH55.js.map → chunk-CCZSH6ME.js.map} +1 -1
- package/dist/chunk-CKQCXUKQ.mjs +2 -0
- package/dist/chunk-CKQCXUKQ.mjs.map +1 -0
- package/dist/chunk-I6HPDLZN.js +2 -0
- package/dist/chunk-I6HPDLZN.js.map +1 -0
- package/dist/chunk-IUX4KIIB.js +2 -0
- package/dist/chunk-IUX4KIIB.js.map +1 -0
- package/dist/chunk-JAXYGUGV.mjs +2 -0
- package/dist/{chunk-TYWI6DUG.mjs.map → chunk-JAXYGUGV.mjs.map} +1 -1
- package/dist/{chunk-SXTCI5FT.mjs → chunk-JGSCE4ZN.mjs} +2 -2
- package/dist/chunk-JGSCE4ZN.mjs.map +1 -0
- package/dist/chunk-LJKS4LZM.mjs +2 -0
- package/dist/chunk-LJKS4LZM.mjs.map +1 -0
- package/dist/chunk-LO5G3F5R.js +2 -0
- package/dist/chunk-LO5G3F5R.js.map +1 -0
- package/dist/{chunk-7RT42BX4.mjs → chunk-Q6R2XA6P.mjs} +2 -2
- package/dist/{chunk-7RT42BX4.mjs.map → chunk-Q6R2XA6P.mjs.map} +1 -1
- package/dist/{chunk-7YS6PWN2.js → chunk-RHTD5JVD.js} +2 -2
- package/dist/{chunk-7YS6PWN2.js.map → chunk-RHTD5JVD.js.map} +1 -1
- package/dist/chunk-RJM6V6QI.mjs +2 -0
- package/dist/chunk-RJM6V6QI.mjs.map +1 -0
- package/dist/chunk-SRR4VCQI.js +2 -0
- package/dist/chunk-SRR4VCQI.js.map +1 -0
- package/dist/chunk-VMOQFNTN.mjs +2 -0
- package/dist/chunk-VMOQFNTN.mjs.map +1 -0
- package/dist/chunk-XUOEYI5V.js +2 -0
- package/dist/chunk-XUOEYI5V.js.map +1 -0
- package/dist/chunk-YJA2B2Q3.mjs +2 -0
- package/dist/chunk-YJA2B2Q3.mjs.map +1 -0
- package/dist/chunk-YTLWHVXO.js +2 -0
- package/dist/chunk-YTLWHVXO.js.map +1 -0
- package/dist/chunk-ZIL43F6X.mjs +2 -0
- package/dist/chunk-ZIL43F6X.mjs.map +1 -0
- package/dist/common/index.d.mts +11 -1
- package/dist/common/index.d.ts +11 -1
- package/dist/common/index.js +1 -1
- package/dist/common/index.mjs +1 -1
- package/dist/dispute/index.js +1 -1
- package/dist/dispute/index.mjs +1 -1
- package/dist/event/index.d.mts +293 -37
- package/dist/event/index.d.ts +293 -37
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/host/index.d.mts +189 -32
- package/dist/host/index.d.ts +189 -32
- package/dist/host/index.js +1 -1
- package/dist/host/index.mjs +1 -1
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -1
- package/dist/notification/index.d.mts +29 -1
- package/dist/notification/index.d.ts +29 -1
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/payment/index.d.mts +1 -27
- package/dist/payment/index.d.ts +1 -27
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +11 -18
- package/dist/user/index.d.ts +11 -18
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3SHK4ITU.mjs +0 -2
- package/dist/chunk-3SHK4ITU.mjs.map +0 -1
- package/dist/chunk-3WTCAK7N.mjs +0 -2
- package/dist/chunk-3WTCAK7N.mjs.map +0 -1
- package/dist/chunk-77LGN2JF.mjs +0 -2
- package/dist/chunk-77LGN2JF.mjs.map +0 -1
- package/dist/chunk-CXAGRSLF.js +0 -2
- package/dist/chunk-CXAGRSLF.js.map +0 -1
- package/dist/chunk-DZGS3V6J.mjs +0 -2
- package/dist/chunk-DZGS3V6J.mjs.map +0 -1
- package/dist/chunk-G5GZSJ2W.js +0 -2
- package/dist/chunk-G5GZSJ2W.js.map +0 -1
- package/dist/chunk-HV4RKWLR.mjs +0 -2
- package/dist/chunk-HV4RKWLR.mjs.map +0 -1
- package/dist/chunk-JSRHSYSZ.js +0 -2
- package/dist/chunk-JSRHSYSZ.js.map +0 -1
- package/dist/chunk-KPZJSJXV.js +0 -2
- package/dist/chunk-KPZJSJXV.js.map +0 -1
- package/dist/chunk-OMZGPS3Z.mjs +0 -2
- package/dist/chunk-OMZGPS3Z.mjs.map +0 -1
- package/dist/chunk-OZH3L7VZ.mjs +0 -2
- package/dist/chunk-OZH3L7VZ.mjs.map +0 -1
- package/dist/chunk-QBFGU5IU.js +0 -2
- package/dist/chunk-QBFGU5IU.js.map +0 -1
- package/dist/chunk-RGF7ST6H.mjs +0 -2
- package/dist/chunk-RGF7ST6H.mjs.map +0 -1
- package/dist/chunk-SXTCI5FT.mjs.map +0 -1
- package/dist/chunk-TYWI6DUG.mjs +0 -2
- package/dist/chunk-UI6KNLNA.js +0 -2
- package/dist/chunk-UI6KNLNA.js.map +0 -1
- package/dist/chunk-WL5TJRQ5.js +0 -2
- package/dist/chunk-WL5TJRQ5.js.map +0 -1
- package/dist/chunk-ZCZEJEWV.js +0 -2
- package/dist/chunk-ZCZEJEWV.js.map +0 -1
- package/dist/chunk-ZTFSP2ZQ.js.map +0 -1
|
@@ -181,6 +181,14 @@ declare const MarkAllNotificationsReadResponseSchema: z.ZodObject<{
|
|
|
181
181
|
markedCount: z.ZodNumber;
|
|
182
182
|
}, z.core.$strip>;
|
|
183
183
|
declare const HostNotificationPreferenceItemSchema: z.ZodObject<{
|
|
184
|
+
category: z.ZodEnum<{
|
|
185
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
186
|
+
TICKET_PURCHASES: "TICKET_PURCHASES";
|
|
187
|
+
CREW_UPDATES: "CREW_UPDATES";
|
|
188
|
+
}>;
|
|
189
|
+
enabled: z.ZodBoolean;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
declare const ProducerNotificationPreferenceItemSchema: z.ZodObject<{
|
|
184
192
|
category: z.ZodEnum<{
|
|
185
193
|
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
186
194
|
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
@@ -189,6 +197,13 @@ declare const HostNotificationPreferenceItemSchema: z.ZodObject<{
|
|
|
189
197
|
enabled: z.ZodBoolean;
|
|
190
198
|
}, z.core.$strip>;
|
|
191
199
|
declare const HostNotificationPreferencesResponseSchema: z.ZodObject<{
|
|
200
|
+
preferences: z.ZodRecord<z.ZodEnum<{
|
|
201
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
202
|
+
TICKET_PURCHASES: "TICKET_PURCHASES";
|
|
203
|
+
CREW_UPDATES: "CREW_UPDATES";
|
|
204
|
+
}>, z.ZodBoolean>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
declare const ProducerNotificationPreferencesResponseSchema: z.ZodObject<{
|
|
192
207
|
preferences: z.ZodRecord<z.ZodEnum<{
|
|
193
208
|
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
194
209
|
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
@@ -196,6 +211,16 @@ declare const HostNotificationPreferencesResponseSchema: z.ZodObject<{
|
|
|
196
211
|
}>, z.ZodBoolean>;
|
|
197
212
|
}, z.core.$strip>;
|
|
198
213
|
declare const UpdateHostNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
214
|
+
preferences: z.ZodArray<z.ZodObject<{
|
|
215
|
+
category: z.ZodEnum<{
|
|
216
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
217
|
+
TICKET_PURCHASES: "TICKET_PURCHASES";
|
|
218
|
+
CREW_UPDATES: "CREW_UPDATES";
|
|
219
|
+
}>;
|
|
220
|
+
enabled: z.ZodBoolean;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
declare const UpdateProducerNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
199
224
|
preferences: z.ZodArray<z.ZodObject<{
|
|
200
225
|
category: z.ZodEnum<{
|
|
201
226
|
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
@@ -215,7 +240,10 @@ type MarkAllNotificationsReadResponse = z.infer<typeof MarkAllNotificationsReadR
|
|
|
215
240
|
type RegisterPushDeviceRequest = z.infer<typeof RegisterPushDeviceRequestSchema>;
|
|
216
241
|
type RegisterPushDeviceResponse = z.infer<typeof RegisterPushDeviceResponseSchema>;
|
|
217
242
|
type HostNotificationPreferenceItem = z.infer<typeof HostNotificationPreferenceItemSchema>;
|
|
243
|
+
type UpdateProducerNotificationPreferencesRequest = z.infer<typeof UpdateProducerNotificationPreferencesRequestSchema>;
|
|
244
|
+
type ProducerNotificationPreferencesResponse = z.infer<typeof ProducerNotificationPreferencesResponseSchema>;
|
|
245
|
+
type ProducerNotificationPreferenceItem = z.infer<typeof ProducerNotificationPreferenceItemSchema>;
|
|
218
246
|
type UpdateHostNotificationPreferencesRequest = z.infer<typeof UpdateHostNotificationPreferencesRequestSchema>;
|
|
219
247
|
type HostNotificationPreferencesResponse = z.infer<typeof HostNotificationPreferencesResponseSchema>;
|
|
220
248
|
|
|
221
|
-
export { type HostNotificationPreferenceItem, HostNotificationPreferenceItemSchema, type HostNotificationPreferencesResponse, HostNotificationPreferencesResponseSchema, type ListNotificationsQuery, ListNotificationsQuerySchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type MarkAllNotificationsReadResponse, MarkAllNotificationsReadResponseSchema, type MarkNotificationReadResponse, MarkNotificationReadResponseSchema, NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType, type NotificationsUnreadCountResponse, NotificationsUnreadCountResponseSchema, type RegisterPushDeviceRequest, RegisterPushDeviceRequestSchema, type RegisterPushDeviceResponse, RegisterPushDeviceResponseSchema, type UpdateHostNotificationPreferencesRequest, UpdateHostNotificationPreferencesRequestSchema };
|
|
249
|
+
export { type HostNotificationPreferenceItem, HostNotificationPreferenceItemSchema, type HostNotificationPreferencesResponse, HostNotificationPreferencesResponseSchema, type ListNotificationsQuery, ListNotificationsQuerySchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type MarkAllNotificationsReadResponse, MarkAllNotificationsReadResponseSchema, type MarkNotificationReadResponse, MarkNotificationReadResponseSchema, NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType, type NotificationsUnreadCountResponse, NotificationsUnreadCountResponseSchema, type ProducerNotificationPreferenceItem, ProducerNotificationPreferenceItemSchema, type ProducerNotificationPreferencesResponse, ProducerNotificationPreferencesResponseSchema, type RegisterPushDeviceRequest, RegisterPushDeviceRequestSchema, type RegisterPushDeviceResponse, RegisterPushDeviceResponseSchema, type UpdateHostNotificationPreferencesRequest, UpdateHostNotificationPreferencesRequestSchema, type UpdateProducerNotificationPreferencesRequest, UpdateProducerNotificationPreferencesRequestSchema };
|
|
@@ -181,6 +181,14 @@ declare const MarkAllNotificationsReadResponseSchema: z.ZodObject<{
|
|
|
181
181
|
markedCount: z.ZodNumber;
|
|
182
182
|
}, z.core.$strip>;
|
|
183
183
|
declare const HostNotificationPreferenceItemSchema: z.ZodObject<{
|
|
184
|
+
category: z.ZodEnum<{
|
|
185
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
186
|
+
TICKET_PURCHASES: "TICKET_PURCHASES";
|
|
187
|
+
CREW_UPDATES: "CREW_UPDATES";
|
|
188
|
+
}>;
|
|
189
|
+
enabled: z.ZodBoolean;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
declare const ProducerNotificationPreferenceItemSchema: z.ZodObject<{
|
|
184
192
|
category: z.ZodEnum<{
|
|
185
193
|
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
186
194
|
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
@@ -189,6 +197,13 @@ declare const HostNotificationPreferenceItemSchema: z.ZodObject<{
|
|
|
189
197
|
enabled: z.ZodBoolean;
|
|
190
198
|
}, z.core.$strip>;
|
|
191
199
|
declare const HostNotificationPreferencesResponseSchema: z.ZodObject<{
|
|
200
|
+
preferences: z.ZodRecord<z.ZodEnum<{
|
|
201
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
202
|
+
TICKET_PURCHASES: "TICKET_PURCHASES";
|
|
203
|
+
CREW_UPDATES: "CREW_UPDATES";
|
|
204
|
+
}>, z.ZodBoolean>;
|
|
205
|
+
}, z.core.$strip>;
|
|
206
|
+
declare const ProducerNotificationPreferencesResponseSchema: z.ZodObject<{
|
|
192
207
|
preferences: z.ZodRecord<z.ZodEnum<{
|
|
193
208
|
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
194
209
|
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
@@ -196,6 +211,16 @@ declare const HostNotificationPreferencesResponseSchema: z.ZodObject<{
|
|
|
196
211
|
}>, z.ZodBoolean>;
|
|
197
212
|
}, z.core.$strip>;
|
|
198
213
|
declare const UpdateHostNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
214
|
+
preferences: z.ZodArray<z.ZodObject<{
|
|
215
|
+
category: z.ZodEnum<{
|
|
216
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
217
|
+
TICKET_PURCHASES: "TICKET_PURCHASES";
|
|
218
|
+
CREW_UPDATES: "CREW_UPDATES";
|
|
219
|
+
}>;
|
|
220
|
+
enabled: z.ZodBoolean;
|
|
221
|
+
}, z.core.$strip>>;
|
|
222
|
+
}, z.core.$strip>;
|
|
223
|
+
declare const UpdateProducerNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
199
224
|
preferences: z.ZodArray<z.ZodObject<{
|
|
200
225
|
category: z.ZodEnum<{
|
|
201
226
|
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
@@ -215,7 +240,10 @@ type MarkAllNotificationsReadResponse = z.infer<typeof MarkAllNotificationsReadR
|
|
|
215
240
|
type RegisterPushDeviceRequest = z.infer<typeof RegisterPushDeviceRequestSchema>;
|
|
216
241
|
type RegisterPushDeviceResponse = z.infer<typeof RegisterPushDeviceResponseSchema>;
|
|
217
242
|
type HostNotificationPreferenceItem = z.infer<typeof HostNotificationPreferenceItemSchema>;
|
|
243
|
+
type UpdateProducerNotificationPreferencesRequest = z.infer<typeof UpdateProducerNotificationPreferencesRequestSchema>;
|
|
244
|
+
type ProducerNotificationPreferencesResponse = z.infer<typeof ProducerNotificationPreferencesResponseSchema>;
|
|
245
|
+
type ProducerNotificationPreferenceItem = z.infer<typeof ProducerNotificationPreferenceItemSchema>;
|
|
218
246
|
type UpdateHostNotificationPreferencesRequest = z.infer<typeof UpdateHostNotificationPreferencesRequestSchema>;
|
|
219
247
|
type HostNotificationPreferencesResponse = z.infer<typeof HostNotificationPreferencesResponseSchema>;
|
|
220
248
|
|
|
221
|
-
export { type HostNotificationPreferenceItem, HostNotificationPreferenceItemSchema, type HostNotificationPreferencesResponse, HostNotificationPreferencesResponseSchema, type ListNotificationsQuery, ListNotificationsQuerySchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type MarkAllNotificationsReadResponse, MarkAllNotificationsReadResponseSchema, type MarkNotificationReadResponse, MarkNotificationReadResponseSchema, NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType, type NotificationsUnreadCountResponse, NotificationsUnreadCountResponseSchema, type RegisterPushDeviceRequest, RegisterPushDeviceRequestSchema, type RegisterPushDeviceResponse, RegisterPushDeviceResponseSchema, type UpdateHostNotificationPreferencesRequest, UpdateHostNotificationPreferencesRequestSchema };
|
|
249
|
+
export { type HostNotificationPreferenceItem, HostNotificationPreferenceItemSchema, type HostNotificationPreferencesResponse, HostNotificationPreferencesResponseSchema, type ListNotificationsQuery, ListNotificationsQuerySchema, type ListNotificationsResponse, ListNotificationsResponseSchema, type MarkAllNotificationsReadResponse, MarkAllNotificationsReadResponseSchema, type MarkNotificationReadResponse, MarkNotificationReadResponseSchema, NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType, type NotificationsUnreadCountResponse, NotificationsUnreadCountResponseSchema, type ProducerNotificationPreferenceItem, ProducerNotificationPreferenceItemSchema, type ProducerNotificationPreferencesResponse, ProducerNotificationPreferencesResponseSchema, type RegisterPushDeviceRequest, RegisterPushDeviceRequestSchema, type RegisterPushDeviceResponse, RegisterPushDeviceResponseSchema, type UpdateHostNotificationPreferencesRequest, UpdateHostNotificationPreferencesRequestSchema, type UpdateProducerNotificationPreferencesRequest, UpdateProducerNotificationPreferencesRequestSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkI6HPDLZN_js=require('../chunk-I6HPDLZN.js');require('../chunk-XUOEYI5V.js'),require('../chunk-A3IKOGAK.js'),require('../chunk-TO3WFEGT.js'),require('../chunk-SRR4VCQI.js'),require('../chunk-6H4NYHH4.js');Object.defineProperty(exports,"HostNotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.l}});Object.defineProperty(exports,"HostNotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.n}});Object.defineProperty(exports,"ListNotificationsQuerySchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.g}});Object.defineProperty(exports,"ListNotificationsResponseSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.h}});Object.defineProperty(exports,"MarkAllNotificationsReadResponseSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.k}});Object.defineProperty(exports,"MarkNotificationReadResponseSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.j}});Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunkI6HPDLZN_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunkI6HPDLZN_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunkI6HPDLZN_js.c}});Object.defineProperty(exports,"NotificationsUnreadCountResponseSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.i}});Object.defineProperty(exports,"ProducerNotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.m}});Object.defineProperty(exports,"ProducerNotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.o}});Object.defineProperty(exports,"RegisterPushDeviceRequestSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.e}});Object.defineProperty(exports,"RegisterPushDeviceResponseSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.f}});Object.defineProperty(exports,"UpdateHostNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.p}});Object.defineProperty(exports,"UpdateProducerNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunkI6HPDLZN_js.q}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{l as HostNotificationPreferenceItemSchema,
|
|
1
|
+
export{l as HostNotificationPreferenceItemSchema,n as HostNotificationPreferencesResponseSchema,g as ListNotificationsQuerySchema,h as ListNotificationsResponseSchema,k as MarkAllNotificationsReadResponseSchema,j as MarkNotificationReadResponseSchema,b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType,i as NotificationsUnreadCountResponseSchema,m as ProducerNotificationPreferenceItemSchema,o as ProducerNotificationPreferencesResponseSchema,e as RegisterPushDeviceRequestSchema,f as RegisterPushDeviceResponseSchema,p as UpdateHostNotificationPreferencesRequestSchema,q as UpdateProducerNotificationPreferencesRequestSchema}from'../chunk-CKQCXUKQ.mjs';import'../chunk-ZIL43F6X.mjs';import'../chunk-JGSCE4ZN.mjs';import'../chunk-6DKE37U5.mjs';import'../chunk-LJKS4LZM.mjs';import'../chunk-YJA2B2Q3.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/payment/index.d.mts
CHANGED
|
@@ -87,31 +87,6 @@ declare const InitiatePaymentResponseSchema: z.ZodObject<{
|
|
|
87
87
|
reference: z.ZodString;
|
|
88
88
|
accessCode: z.ZodOptional<z.ZodString>;
|
|
89
89
|
}, z.core.$strip>;
|
|
90
|
-
declare const PayoutResponseSchema: z.ZodObject<{
|
|
91
|
-
id: z.ZodUUID;
|
|
92
|
-
userId: z.ZodUUID;
|
|
93
|
-
amount: z.ZodNumber;
|
|
94
|
-
currency: z.ZodString;
|
|
95
|
-
payoutType: z.ZodString;
|
|
96
|
-
eventId: z.ZodOptional<z.ZodUUID>;
|
|
97
|
-
bookingId: z.ZodOptional<z.ZodUUID>;
|
|
98
|
-
payoutStatus: z.ZodEnum<{
|
|
99
|
-
readonly PENDING: "PENDING";
|
|
100
|
-
readonly PROCESSING: "PROCESSING";
|
|
101
|
-
readonly COMPLETED: "COMPLETED";
|
|
102
|
-
readonly FAILED: "FAILED";
|
|
103
|
-
}>;
|
|
104
|
-
providerReference: z.ZodOptional<z.ZodString>;
|
|
105
|
-
bankCode: z.ZodOptional<z.ZodString>;
|
|
106
|
-
accountNumber: z.ZodOptional<z.ZodString>;
|
|
107
|
-
accountName: z.ZodOptional<z.ZodString>;
|
|
108
|
-
scheduledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
109
|
-
processedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
110
|
-
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
111
|
-
failedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
112
|
-
failureReason: z.ZodOptional<z.ZodString>;
|
|
113
|
-
createdAt: z.ZodISODateTime;
|
|
114
|
-
}, z.core.$strip>;
|
|
115
90
|
declare const CreatePurchaseResponseSchema: z.ZodObject<{
|
|
116
91
|
reference: z.ZodString;
|
|
117
92
|
checkoutUrl: z.ZodNullable<z.ZodURL>;
|
|
@@ -397,7 +372,6 @@ declare const RequestWithdrawalBodySchema: z.ZodObject<{
|
|
|
397
372
|
|
|
398
373
|
type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
|
|
399
374
|
type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
|
|
400
|
-
type PayoutResponse = z.infer<typeof PayoutResponseSchema>;
|
|
401
375
|
type CreatePurchaseResponse = z.infer<typeof CreatePurchaseResponseSchema>;
|
|
402
376
|
type PurchaseStatusResponse = z.infer<typeof PurchaseStatusResponseSchema>;
|
|
403
377
|
type AccessCheckRequest = z.infer<typeof AccessCheckRequestSchema>;
|
|
@@ -412,4 +386,4 @@ type UpdateSettlementBody = z.infer<typeof UpdateSettlementBodySchema>;
|
|
|
412
386
|
type SettlementAccountView = z.infer<typeof SettlementAccountViewSchema>;
|
|
413
387
|
type RequestWithdrawalBody = z.infer<typeof RequestWithdrawalBodySchema>;
|
|
414
388
|
|
|
415
|
-
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus,
|
|
389
|
+
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, type RequestWithdrawalBody, RequestWithdrawalBodySchema, type SettlementAccountView, SettlementAccountViewSchema, SlateSchema, TrailerSchema, TransactionStatus, TransactionType, type UpdateSettlementBody, UpdateSettlementBodySchema, ViewerEventDetailResponseSchema };
|
package/dist/payment/index.d.ts
CHANGED
|
@@ -87,31 +87,6 @@ declare const InitiatePaymentResponseSchema: z.ZodObject<{
|
|
|
87
87
|
reference: z.ZodString;
|
|
88
88
|
accessCode: z.ZodOptional<z.ZodString>;
|
|
89
89
|
}, z.core.$strip>;
|
|
90
|
-
declare const PayoutResponseSchema: z.ZodObject<{
|
|
91
|
-
id: z.ZodUUID;
|
|
92
|
-
userId: z.ZodUUID;
|
|
93
|
-
amount: z.ZodNumber;
|
|
94
|
-
currency: z.ZodString;
|
|
95
|
-
payoutType: z.ZodString;
|
|
96
|
-
eventId: z.ZodOptional<z.ZodUUID>;
|
|
97
|
-
bookingId: z.ZodOptional<z.ZodUUID>;
|
|
98
|
-
payoutStatus: z.ZodEnum<{
|
|
99
|
-
readonly PENDING: "PENDING";
|
|
100
|
-
readonly PROCESSING: "PROCESSING";
|
|
101
|
-
readonly COMPLETED: "COMPLETED";
|
|
102
|
-
readonly FAILED: "FAILED";
|
|
103
|
-
}>;
|
|
104
|
-
providerReference: z.ZodOptional<z.ZodString>;
|
|
105
|
-
bankCode: z.ZodOptional<z.ZodString>;
|
|
106
|
-
accountNumber: z.ZodOptional<z.ZodString>;
|
|
107
|
-
accountName: z.ZodOptional<z.ZodString>;
|
|
108
|
-
scheduledAt: z.ZodOptional<z.ZodISODateTime>;
|
|
109
|
-
processedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
110
|
-
completedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
111
|
-
failedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
112
|
-
failureReason: z.ZodOptional<z.ZodString>;
|
|
113
|
-
createdAt: z.ZodISODateTime;
|
|
114
|
-
}, z.core.$strip>;
|
|
115
90
|
declare const CreatePurchaseResponseSchema: z.ZodObject<{
|
|
116
91
|
reference: z.ZodString;
|
|
117
92
|
checkoutUrl: z.ZodNullable<z.ZodURL>;
|
|
@@ -397,7 +372,6 @@ declare const RequestWithdrawalBodySchema: z.ZodObject<{
|
|
|
397
372
|
|
|
398
373
|
type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
|
|
399
374
|
type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
|
|
400
|
-
type PayoutResponse = z.infer<typeof PayoutResponseSchema>;
|
|
401
375
|
type CreatePurchaseResponse = z.infer<typeof CreatePurchaseResponseSchema>;
|
|
402
376
|
type PurchaseStatusResponse = z.infer<typeof PurchaseStatusResponseSchema>;
|
|
403
377
|
type AccessCheckRequest = z.infer<typeof AccessCheckRequestSchema>;
|
|
@@ -412,4 +386,4 @@ type UpdateSettlementBody = z.infer<typeof UpdateSettlementBodySchema>;
|
|
|
412
386
|
type SettlementAccountView = z.infer<typeof SettlementAccountViewSchema>;
|
|
413
387
|
type RequestWithdrawalBody = z.infer<typeof RequestWithdrawalBodySchema>;
|
|
414
388
|
|
|
415
|
-
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus,
|
|
389
|
+
export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, AwaitingIngestSchema, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, type RequestWithdrawalBody, RequestWithdrawalBodySchema, type SettlementAccountView, SettlementAccountViewSchema, SlateSchema, TrailerSchema, TransactionStatus, TransactionType, type UpdateSettlementBody, UpdateSettlementBodySchema, ViewerEventDetailResponseSchema };
|
package/dist/payment/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkSRR4VCQI_js=require('../chunk-SRR4VCQI.js');require('../chunk-6H4NYHH4.js');Object.defineProperty(exports,"AccessCheckRequestSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.A}});Object.defineProperty(exports,"AccessCheckResponseSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.C}});Object.defineProperty(exports,"AccessReason",{enumerable:true,get:function(){return chunkSRR4VCQI_js.s}});Object.defineProperty(exports,"AwaitingIngestSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.G}});Object.defineProperty(exports,"CreatePurchaseResponseSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.y}});Object.defineProperty(exports,"CtaMode",{enumerable:true,get:function(){return chunkSRR4VCQI_js.v}});Object.defineProperty(exports,"EntitlementStatus",{enumerable:true,get:function(){return chunkSRR4VCQI_js.t}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.w}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.x}});Object.defineProperty(exports,"PaymentStatus",{enumerable:true,get:function(){return chunkSRR4VCQI_js.q}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkSRR4VCQI_js.p}});Object.defineProperty(exports,"PaystackWebhookSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.B}});Object.defineProperty(exports,"PlatformChargeStatus",{enumerable:true,get:function(){return chunkSRR4VCQI_js.u}});Object.defineProperty(exports,"PricingQuoteResponseSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.D}});Object.defineProperty(exports,"PurchaseStatusResponseSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.z}});Object.defineProperty(exports,"ReceiptUrlResponseSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.I}});Object.defineProperty(exports,"ReplayPurchasePaymentSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.J}});Object.defineProperty(exports,"ReplayPurchaseResponseSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.L}});Object.defineProperty(exports,"ReplayPurchaseRowSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.K}});Object.defineProperty(exports,"ReplayPurchaseStatus",{enumerable:true,get:function(){return chunkSRR4VCQI_js.r}});Object.defineProperty(exports,"RequestWithdrawalBodySchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.O}});Object.defineProperty(exports,"SettlementAccountViewSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.N}});Object.defineProperty(exports,"SlateSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.F}});Object.defineProperty(exports,"TrailerSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.E}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkSRR4VCQI_js.o}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkSRR4VCQI_js.n}});Object.defineProperty(exports,"UpdateSettlementBodySchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.M}});Object.defineProperty(exports,"ViewerEventDetailResponseSchema",{enumerable:true,get:function(){return chunkSRR4VCQI_js.H}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/payment/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{A as AccessCheckRequestSchema,C as AccessCheckResponseSchema,s as AccessReason,G as AwaitingIngestSchema,y as CreatePurchaseResponseSchema,v as CtaMode,t as EntitlementStatus,w as InitiatePaymentRequestSchema,x as InitiatePaymentResponseSchema,q as PaymentStatus,p as PayoutStatus,B as PaystackWebhookSchema,u as PlatformChargeStatus,D as PricingQuoteResponseSchema,z as PurchaseStatusResponseSchema,I as ReceiptUrlResponseSchema,J as ReplayPurchasePaymentSchema,L as ReplayPurchaseResponseSchema,K as ReplayPurchaseRowSchema,r as ReplayPurchaseStatus,O as RequestWithdrawalBodySchema,N as SettlementAccountViewSchema,F as SlateSchema,E as TrailerSchema,o as TransactionStatus,n as TransactionType,M as UpdateSettlementBodySchema,H as ViewerEventDetailResponseSchema}from'../chunk-LJKS4LZM.mjs';import'../chunk-YJA2B2Q3.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/user/index.d.mts
CHANGED
|
@@ -43,6 +43,8 @@ declare const NotificationCategory: {
|
|
|
43
43
|
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
44
44
|
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
45
45
|
readonly MESSAGES: "MESSAGES";
|
|
46
|
+
readonly TICKET_PURCHASES: "TICKET_PURCHASES";
|
|
47
|
+
readonly CREW_UPDATES: "CREW_UPDATES";
|
|
46
48
|
};
|
|
47
49
|
type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];
|
|
48
50
|
declare const ProducerVerificationStatus: {
|
|
@@ -410,24 +412,18 @@ declare const UpdateViewerCurrencyRequestSchema: z.ZodObject<{
|
|
|
410
412
|
}, z.core.$strict>;
|
|
411
413
|
declare const NotificationPreferenceItemSchema: z.ZodObject<{
|
|
412
414
|
category: z.ZodEnum<{
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
417
|
-
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
418
|
-
readonly MESSAGES: "MESSAGES";
|
|
415
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
416
|
+
LIVE_ALERTS: "LIVE_ALERTS";
|
|
417
|
+
RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
419
418
|
}>;
|
|
420
419
|
enabled: z.ZodBoolean;
|
|
421
420
|
}, z.core.$strip>;
|
|
422
421
|
declare const UpdateNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
423
422
|
preferences: z.ZodArray<z.ZodObject<{
|
|
424
423
|
category: z.ZodEnum<{
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
429
|
-
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
430
|
-
readonly MESSAGES: "MESSAGES";
|
|
424
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
425
|
+
LIVE_ALERTS: "LIVE_ALERTS";
|
|
426
|
+
RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
431
427
|
}>;
|
|
432
428
|
enabled: z.ZodBoolean;
|
|
433
429
|
}, z.core.$strip>>;
|
|
@@ -453,12 +449,9 @@ declare const ViewerMeResponseSchema: z.ZodObject<{
|
|
|
453
449
|
}, z.core.$strip>;
|
|
454
450
|
declare const NotificationPreferencesResponseSchema: z.ZodObject<{
|
|
455
451
|
preferences: z.ZodRecord<z.ZodEnum<{
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
460
|
-
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
461
|
-
readonly MESSAGES: "MESSAGES";
|
|
452
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
453
|
+
LIVE_ALERTS: "LIVE_ALERTS";
|
|
454
|
+
RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
462
455
|
}>, z.ZodBoolean>;
|
|
463
456
|
}, z.core.$strip>;
|
|
464
457
|
declare const SendFeedbackResponseSchema: z.ZodObject<{
|
package/dist/user/index.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ declare const NotificationCategory: {
|
|
|
43
43
|
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
44
44
|
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
45
45
|
readonly MESSAGES: "MESSAGES";
|
|
46
|
+
readonly TICKET_PURCHASES: "TICKET_PURCHASES";
|
|
47
|
+
readonly CREW_UPDATES: "CREW_UPDATES";
|
|
46
48
|
};
|
|
47
49
|
type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];
|
|
48
50
|
declare const ProducerVerificationStatus: {
|
|
@@ -410,24 +412,18 @@ declare const UpdateViewerCurrencyRequestSchema: z.ZodObject<{
|
|
|
410
412
|
}, z.core.$strict>;
|
|
411
413
|
declare const NotificationPreferenceItemSchema: z.ZodObject<{
|
|
412
414
|
category: z.ZodEnum<{
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
417
|
-
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
418
|
-
readonly MESSAGES: "MESSAGES";
|
|
415
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
416
|
+
LIVE_ALERTS: "LIVE_ALERTS";
|
|
417
|
+
RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
419
418
|
}>;
|
|
420
419
|
enabled: z.ZodBoolean;
|
|
421
420
|
}, z.core.$strip>;
|
|
422
421
|
declare const UpdateNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
423
422
|
preferences: z.ZodArray<z.ZodObject<{
|
|
424
423
|
category: z.ZodEnum<{
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
429
|
-
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
430
|
-
readonly MESSAGES: "MESSAGES";
|
|
424
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
425
|
+
LIVE_ALERTS: "LIVE_ALERTS";
|
|
426
|
+
RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
431
427
|
}>;
|
|
432
428
|
enabled: z.ZodBoolean;
|
|
433
429
|
}, z.core.$strip>>;
|
|
@@ -453,12 +449,9 @@ declare const ViewerMeResponseSchema: z.ZodObject<{
|
|
|
453
449
|
}, z.core.$strip>;
|
|
454
450
|
declare const NotificationPreferencesResponseSchema: z.ZodObject<{
|
|
455
451
|
preferences: z.ZodRecord<z.ZodEnum<{
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
460
|
-
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
461
|
-
readonly MESSAGES: "MESSAGES";
|
|
452
|
+
EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
453
|
+
LIVE_ALERTS: "LIVE_ALERTS";
|
|
454
|
+
RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
462
455
|
}>, z.ZodBoolean>;
|
|
463
456
|
}, z.core.$strip>;
|
|
464
457
|
declare const SendFeedbackResponseSchema: z.ZodObject<{
|
package/dist/user/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkXUOEYI5V_js=require('../chunk-XUOEYI5V.js'),chunkA3IKOGAK_js=require('../chunk-A3IKOGAK.js');require('../chunk-TO3WFEGT.js'),require('../chunk-SRR4VCQI.js'),require('../chunk-6H4NYHH4.js');Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.e}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.g}});Object.defineProperty(exports,"DisplayNameSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.j}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.a}});Object.defineProperty(exports,"NotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.m}});Object.defineProperty(exports,"NotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.q}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.b}});Object.defineProperty(exports,"RESERVED_DISPLAY_NAMES",{enumerable:true,get:function(){return chunkXUOEYI5V_js.i}});Object.defineProperty(exports,"SendFeedbackRequestSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.o}});Object.defineProperty(exports,"SendFeedbackResponseSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.r}});Object.defineProperty(exports,"SetProfilePinSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.h}});Object.defineProperty(exports,"UpdateHostProfileRequestSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.f}});Object.defineProperty(exports,"UpdateNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.n}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.d}});Object.defineProperty(exports,"UpdateViewerCurrencyRequestSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.l}});Object.defineProperty(exports,"UpdateViewerProfileRequestSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.k}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.c}});Object.defineProperty(exports,"ViewerMeResponseSchema",{enumerable:true,get:function(){return chunkXUOEYI5V_js.p}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkA3IKOGAK_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkA3IKOGAK_js.d}});Object.defineProperty(exports,"FeedbackCategory",{enumerable:true,get:function(){return chunkA3IKOGAK_js.e}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkA3IKOGAK_js.c}});Object.defineProperty(exports,"NotificationCategory",{enumerable:true,get:function(){return chunkA3IKOGAK_js.f}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkA3IKOGAK_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkA3IKOGAK_js.g}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkA3IKOGAK_js.a}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/user/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{e as CreateHostProfileRequestSchema,g as CreateProducerProfileRequestSchema,j as DisplayNameSchema,a as HostProfileResponseSchema,m as NotificationPreferenceItemSchema,q as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,i as RESERVED_DISPLAY_NAMES,o as SendFeedbackRequestSchema,r as SendFeedbackResponseSchema,h as SetProfilePinSchema,f as UpdateHostProfileRequestSchema,n as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,l as UpdateViewerCurrencyRequestSchema,k as UpdateViewerProfileRequestSchema,c as UserResponseSchema,p as ViewerMeResponseSchema}from'../chunk-
|
|
1
|
+
export{e as CreateHostProfileRequestSchema,g as CreateProducerProfileRequestSchema,j as DisplayNameSchema,a as HostProfileResponseSchema,m as NotificationPreferenceItemSchema,q as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,i as RESERVED_DISPLAY_NAMES,o as SendFeedbackRequestSchema,r as SendFeedbackResponseSchema,h as SetProfilePinSchema,f as UpdateHostProfileRequestSchema,n as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,l as UpdateViewerCurrencyRequestSchema,k as UpdateViewerProfileRequestSchema,c as UserResponseSchema,p as ViewerMeResponseSchema}from'../chunk-ZIL43F6X.mjs';export{b as AccountStatus,d as AdminScopeCode,e as FeedbackCategory,c as KycStatus,f as NotificationCategory,h as ProducerExperienceLevel,g as ProducerVerificationStatus,a as UserRole}from'../chunk-JGSCE4ZN.mjs';import'../chunk-6DKE37U5.mjs';import'../chunk-LJKS4LZM.mjs';import'../chunk-YJA2B2Q3.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
package/dist/chunk-3SHK4ITU.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {g as g$2,n,h as h$1,c,b as b$1,f,e}from'./chunk-SXTCI5FT.mjs';import {g as g$1}from'./chunk-3WTCAK7N.mjs';import {z}from'zod';var p=z.object({id:z.uuid(),userId:z.uuid(),businessName:z.string(),totalEvents:z.number(),totalSpent:z.number(),averageRating:z.number(),defaultCurrency:z.string(),description:z.string().optional(),category:z.array(z.enum(g$1)),logoUrl:z.url().optional(),hasPin:z.boolean(),businessRegNumber:z.string().optional(),taxId:z.string().optional(),settlementBankCode:z.string().optional(),settlementAccountNumber:z.string().optional(),settlementAccountName:z.string().optional(),paystackSubaccountCode:z.string().optional(),createdAt:z.iso.datetime()}),u=z.object({id:z.uuid(),userId:z.uuid(),companyName:z.string(),bio:z.string(),yearsExperience:z.number().optional(),experienceLevel:z.enum(h$1),equipmentManifest:z.array(z.record(z.string(),z.any())),serviceCategories:z.array(n),equipmentItems:z.array(n),verificationStatus:z.enum(g$2),averageRating:z.number().positive().multipleOf(.01),totalReviews:z.number(),completionRate:z.number(),isAvailable:z.boolean(),hasPin:z.boolean(),createdAt:z.iso.datetime()}),h=z.object({id:z.uuid(),email:z.email().toLowerCase(),emailVerified:z.boolean(),emailVerifiedAt:z.iso.datetime().optional(),phoneNumber:z.string().optional(),firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),role:z.number().min(1).max(15),accountStatus:z.enum(b$1),kycStatus:z.enum(c),hostProfile:p.optional(),producerProfile:u.optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime(),eventCategory:z.array(z.enum(g$1)).optional()}),v=z.object({firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),phoneNumber:z.string().optional(),eventCategory:z.array(z.enum(g$1)).optional()}),N=z.object({businessName:z.string(),description:z.string().optional(),logoUrl:z.string().optional(),category:z.array(z.enum(g$1)).min(1)}),P=z.object({businessName:z.string().min(1).max(120).optional(),description:z.string().max(2e3).optional(),logoUrl:z.string().optional(),category:z.array(z.enum(g$1)).min(1).optional(),businessRegNumber:z.string().max(64).optional(),taxId:z.string().max(64).optional()}),C=z.object({companyName:z.string(),bio:z.string(),logoUrl:z.string().optional(),serviceCategoryIds:z.array(z.uuid()).optional(),serviceCategoryCodes:z.array(z.string().min(1).max(64)).optional(),equipmentItemIds:z.array(z.uuid()).optional(),equipmentItemCodes:z.array(z.string().min(1).max(64)).optional(),yearsExperience:z.number(),experienceLevel:z.enum(h$1),minFee:z.number(),maxFee:z.number(),isAvailable:z.boolean()}),R=z.object({pin:z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits"),currentPin:z.string().trim().regex(/^\d{4,8}$/,"currentPin must be 4-8 digits").optional()}),d=new Set(["admin","support","livdot","host","producer","system","null","undefined","me","settings","viewer","auth","events","streaming","producers","marketplace","users"]),g=z.string().trim().toLowerCase().min(3,"Display name must be at least 3 characters").max(30,"Display name must be at most 30 characters").regex(/^[a-z0-9_]+$/,"Display name may only contain lowercase letters, digits, and underscores").refine(r=>!d.has(r),{message:"This display name is reserved"}),j=z.object({displayName:g}).strict(),U=z.object({preferredCurrency:z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),b=z.object({category:z.enum(f),enabled:z.boolean()}),A=z.object({preferences:z.array(b).min(1).max(10).refine(r=>new Set(r.map(l=>l.category)).size===r.length,{message:"Duplicate category in preferences"})}).strict(),q=z.object({category:z.enum(e),message:z.string().trim().min(10).max(2e3)}).strict(),I=z.object({id:z.uuid(),email:z.email(),emailVerified:z.boolean(),displayName:z.string().nullable(),avatarUrl:z.url().nullable(),roles:z.number().int(),preferredCurrency:z.string(),notificationsEnabledCount:z.number().int(),hasPushDevice:z.boolean()}),w=z.object({preferences:z.record(z.enum(f),z.boolean())}),E=z.object({id:z.uuid()});export{p as a,u as b,h as c,v as d,N as e,P as f,C as g,R as h,d as i,g as j,j as k,U as l,b as m,A as n,q as o,I as p,w as q,E as r};//# sourceMappingURL=chunk-3SHK4ITU.mjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-3SHK4ITU.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","PublicProducerListCategorySchema","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","UpdateHostProfileRequestSchema","CreateProducerProfileRequestSchema","SetProfilePinSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","NotificationPreferenceItemSchema","NotificationCategory","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":"sIAYO,IAAMA,EAA4BC,CAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,CAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,EAAE,IAAA,EAAK,CACf,aAAcA,CAAAA,CAAE,MAAA,EAAO,CACvB,WAAA,CAAaA,CAAAA,CAAE,MAAA,GACf,UAAA,CAAYA,CAAAA,CAAE,QAAO,CACrB,aAAA,CAAeA,EAAE,MAAA,EAAO,CACxB,gBAAiBA,CAAAA,CAAE,MAAA,GACnB,WAAA,CAAaA,CAAAA,CAAE,QAAO,CAAE,QAAA,GACxB,QAAA,CAAUA,CAAAA,CAAE,KAAA,CAAMA,CAAAA,CAAE,IAAA,CAAKC,GAAa,CAAC,CAAA,CACvC,OAAA,CAASD,EAAE,GAAA,EAAI,CAAE,UAAS,CAC1B,MAAA,CAAQA,EAAE,OAAA,EAAQ,CAClB,kBAAmBA,CAAAA,CAAE,MAAA,GAAS,QAAA,EAAS,CACvC,MAAOA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAC3B,kBAAA,CAAoBA,EAAE,MAAA,EAAO,CAAE,UAAS,CACxC,uBAAA,CAAyBA,EAAE,MAAA,EAAO,CAAE,UAAS,CAC7C,qBAAA,CAAuBA,EAAE,MAAA,EAAO,CAAE,UAAS,CAC3C,sBAAA,CAAwBA,EAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAC5C,SAAA,CAAWA,CAAAA,CA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AAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAC1C,cAAeA,CAAAA,CAAE,OAAA,EACnB,CAAC,CAAA,CAEY2B,CAAAA,CAAwC3B,EAAE,MAAA,CAAO,CAC5D,YAAaA,CAAAA,CAAE,MAAA,CAAOA,EAAE,IAAA,CAAKoB,CAAoB,CAAA,CAAGpB,CAAAA,CAAE,OAAA,EAAS,CACjE,CAAC,CAAA,CAEY4B,EAA6B5B,CAAAA,CAAE,MAAA,CAAO,CACjD,EAAA,CAAIA,CAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-3SHK4ITU.mjs","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\nimport { PublicProducerListCategorySchema } from '../marketplace';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n hasPin: z.boolean(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n hasPin: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n role: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n});\n\nexport const UpdateHostProfileRequestSchema = z.object({\n businessName: z.string().min(1).max(120).optional(),\n description: z.string().max(2000).optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1).optional(),\n businessRegNumber: z.string().max(64).optional(),\n taxId: z.string().max(64).optional(),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceCategoryIds: z.array(z.uuid()).optional(),\n serviceCategoryCodes: z.array(z.string().min(1).max(64)).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n isAvailable: z.boolean(),\n});\n\nexport const SetProfilePinSchema = z.object({\n pin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'pin must be 4-8 digits'),\n currentPin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'currentPin must be 4-8 digits')\n .optional(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: z.enum(NotificationCategory),\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n hasPushDevice: z.boolean(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.record(z.enum(NotificationCategory), z.boolean()),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
|
package/dist/chunk-3WTCAK7N.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {e,f as f$1,d as d$1}from'./chunk-RGF7ST6H.mjs';import {z as z$1}from'zod';var ce={TICKET_PURCHASE:"TICKET_PURCHASE",BOOKING_ESCROW:"BOOKING_ESCROW",ESCROW_RELEASE:"ESCROW_RELEASE",PLATFORM_FEE:"PLATFORM_FEE",PRODUCER_PAYOUT:"PRODUCER_PAYOUT",HOST_PAYOUT:"HOST_PAYOUT",REFUND:"REFUND"},le={PENDING:"PENDING",SUCCESS:"SUCCESS",FAILED:"FAILED",REVERSED:"REVERSED"},x={PENDING:"PENDING",PROCESSING:"PROCESSING",COMPLETED:"COMPLETED",FAILED:"FAILED"},S={REQUIRES_PAYMENT:"REQUIRES_PAYMENT",PROCESSING:"PROCESSING",SUCCEEDED:"SUCCEEDED",FAILED:"FAILED",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED"},g={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",EXPIRED:"EXPIRED",REFUNDED:"REFUNDED"},T={REGISTERED:"REGISTERED",PUBLIC:"PUBLIC",EMAIL_MATCH:"EMAIL_MATCH",DOMAIN_MATCH:"DOMAIN_MATCH",USER_ID_MATCH:"USER_ID_MATCH",PHONE_MATCH:"PHONE_MATCH",NOT_ON_ALLOWLIST:"NOT_ON_ALLOWLIST"},P={NONE:"NONE",PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",REFUNDED:"REFUNDED",CANCELLED:"CANCELLED"},ue={PENDING:"PENDING",SETTLED:"SETTLED",WAIVED:"WAIVED",VOIDED:"VOIDED",REFUNDED:"REFUNDED"},E={BUY_TICKET:"BUY_TICKET",COMPLETE_PAYMENT:"COMPLETE_PAYMENT",WATCH_NOW:"WATCH_NOW",WATCH_REPLAY:"WATCH_REPLAY",REGISTER_FREE:"REGISTER_FREE",WAITLIST:"WAITLIST",UNAVAILABLE:"UNAVAILABLE",REPLAY_PROCESSING:"REPLAY_PROCESSING"};var r={INCLUDED:"INCLUDED",DISABLED:"DISABLED",PAID_SEPARATELY:"PAID_SEPARATELY"},d={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",UNLISTED:"UNLISTED"},l={FREE:"FREE",PAID:"PAID",SUBSCRIPTION:"SUBSCRIPTION"},b={SELF:"SELF",HIRE:"HIRE"},pe={EMAIL:"EMAIL",DOMAIN:"DOMAIN",PHONENUMBER:"PHONENUMBER",USERID:"USERID"},A={DRAFT:"DRAFT",SCHEDULED:"SCHEDULED",READY_FOR_TEST:"READY_FOR_TEST",LIVE:"LIVE",ENDED:"ENDED",REPLAY_READY:"REPLAY_READY",ARCHIVED:"ARCHIVED",CANCELLED:"CANCELLED",PAUSED:"PAUSED",FAILED:"FAILED"},a={ART:"ART",TECHNOLOGY:"TECHNOLOGY",SCIENCE:"SCIENCE",TRAVEL:"TRAVEL",HISTORY:"HISTORY",LITERATURE:"LITERATURE",COOKING:"COOKING",FITNESS:"FITNESS",PHOTOGRAPHY:"PHOTOGRAPHY",GARDENING:"GARDENING",EDUCATION:"EDUCATION",FASHION:"FASHION",MOVIES:"MOVIES",SPORTS:"SPORTS",POLITICS:"POLITICS",HEALTH:"HEALTH",GAMING:"GAMING",FINANCE:"FINANCE",NATURE:"NATURE",CONCERT:"CONCERT",FESTIVAL:"FESTIVAL",WEDDING:"WEDDING",CORPORATE:"CORPORATE",RELIGIOUS:"RELIGIOUS",OTHER:"OTHER"},D={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED",EXPIRED:"EXPIRED"},Ee={FREE_RSVP:"FREE_RSVP",PAID_TICKET:"PAID_TICKET",INVITE:"INVITE"},v={ACTIVE:"ACTIVE",PENDING:"PENDING",NONE:"NONE"},R={UPCOMING:"UPCOMING",LIVE:"LIVE",RECOMMENDED:"RECOMMENDED"},h={UPCOMING:"UPCOMING",LIVE:"LIVE",PAST:"PAST"},de={REGISTRATION:"REGISTRATION",REPLAY_PURCHASE:"REPLAY_PURCHASE"};var f=z$1.object({title:z$1.string().max(120),description:z$1.string().max(2e3),category:z$1.enum(a),scheduledStartAt:z$1.iso.datetime(),scheduledEndAt:z$1.iso.datetime(),venueLocation:z$1.string(),visibility:z$1.enum(d),accessModel:z$1.enum(l),ticketPrice:z$1.number().min(0).optional(),maxTickets:z$1.number().min(1).optional(),timezone:z$1.string().default("Africa/Lagos"),replayAccess:z$1.enum(r),retentionDays:z$1.number().default(30),tags:z$1.array(z$1.string()).optional(),geoRestrictions:z$1.record(z$1.string(),z$1.any()).optional()}),Re=f.partial(),L=z$1.object({kind:z$1.enum(E),price:z$1.object({amount:z$1.string(),currency:z$1.string()}).optional()}),he=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string(),category:z$1.enum(a),coverImageUrl:z$1.url().optional(),venueLocation:z$1.string(),scheduledStartAt:z$1.iso.datetime(),scheduledEndAt:z$1.iso.datetime(),timezone:z$1.string(),visibility:z$1.enum(d),accessModel:z$1.enum(l),ticketPrice:z$1.number(),currency:z$1.string(),maxTickets:z$1.number().optional(),eventState:z$1.enum(A),shareableUrl:z$1.url(),hostId:z$1.uuid(),isFeatured:z$1.boolean(),replayAccess:z$1.enum(r),replayAvailableUntil:z$1.iso.datetime().optional(),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),publishedAt:z$1.iso.datetime().optional(),liveStartedAt:z$1.iso.datetime().optional(),liveEndedAt:z$1.iso.datetime().optional()}),i=z$1.object({id:z$1.uuid(),title:z$1.string(),coverImageUrl:z$1.url().nullable(),category:z$1.enum(a),scheduledStart:z$1.iso.datetime(),scheduledEnd:z$1.iso.datetime(),state:z$1.enum(A),accessModel:z$1.enum(l),ticketPrice:z$1.string().nullable(),currency:z$1.string(),isFeatured:z$1.boolean(),hostDisplayName:z$1.string().nullable(),viewerCount:z$1.number().int().min(0),cta:L.optional(),durationMinutes:z$1.number().int().nonnegative().nullable().optional(),viewer:z$1.object({registration:z$1.enum(v),progressPct:z$1.number().min(0).max(100).optional(),canResume:z$1.boolean().optional()})}),Ie=z$1.object({continueWatching:z$1.array(i),liveNow:z$1.array(i),upcoming:z$1.array(i),recommended:z$1.array(i)}),xe=e.extend({category:z$1.enum(a).optional(),accessModel:z$1.enum(l).optional(),section:z$1.enum(R).optional(),q:z$1.string().trim().max(80).optional().transform(n=>n&&n.length>0?n:void 0)}),M=z$1.object({mode:z$1.literal("AGGREGATE"),featured:i.nullable(),liveNow:z$1.array(i),upcoming:z$1.array(i),recommended:z$1.array(i)}),O=f$1.extend({mode:z$1.literal("SECTION"),section:z$1.enum(R),items:z$1.array(i)}),Te=z$1.discriminatedUnion("mode",[M,O]),Pe=f$1.extend({items:z$1.array(i)}),De=z$1.object({callbackUrl:z$1.url().optional()}),ve=z$1.object({registration:z$1.object({id:z$1.uuid(),eventId:z$1.uuid(),status:z$1.enum(D),expiresAt:z$1.iso.datetime().nullable()}),paymentIntent:z$1.object({reference:z$1.string(),amount:z$1.string(),currency:z$1.string(),checkoutUrl:z$1.url().optional()}).nullable()}),Ce=z$1.object({positionSec:z$1.number().int().min(0).max(1440*60),durationSec:z$1.number().int().min(1).optional()}),U=z$1.object({kind:z$1.literal("LIVE"),playbackUrl:z$1.url(),token:z$1.string(),expiresAt:z$1.iso.datetime()}),j=z$1.object({kind:z$1.literal("REPLAY"),playbackUrl:z$1.url(),expiresAt:z$1.iso.datetime()}),Ne=z$1.discriminatedUnion("kind",[U,j]),k=i.extend({startsInSec:z$1.number().int().optional(),liveViewerCount:z$1.number().int().min(0).optional(),liveStartedAt:z$1.iso.datetime().nullable().optional(),replayAvailableUntil:z$1.iso.datetime().nullable().optional(),replayDurationSec:z$1.number().int().min(0).nullable().optional(),watchedPct:z$1.number().min(0).max(100).optional(),hasWatched:z$1.boolean().optional()}),fe=f$1.extend({tab:z$1.enum(h),items:z$1.array(k)}),Le=e.extend({tab:z$1.enum(h),q:z$1.string().trim().max(80).optional().transform(n=>n&&n.length>0?n:void 0)}),Me=z$1.object({sessionId:z$1.string()}),Oe=z$1.object({ok:z$1.literal(true)}),Ue=z$1.object({durationSec:z$1.number().int().min(0)}),C=z$1.discriminatedUnion("access",[z$1.object({access:z$1.literal(r.INCLUDED),retentionDays:z$1.number().int().min(1).max(365)}),z$1.object({access:z$1.literal(r.PAID_SEPARATELY),retentionDays:z$1.number().int().min(1).max(365),price:z$1.number().positive()}),z$1.object({access:z$1.literal(r.DISABLED)})]),_=z$1.enum(d$1),V=z$1.enum(a),N=z$1.enum(d),H=z$1.object({step:z$1.literal(1),title:z$1.string().min(3).max(120),description:z$1.string().min(20).max(1200),category:V,scheduledStart:z$1.iso.datetime(),durationMinutes:z$1.number().int().min(5).max(720),coverImageUrl:z$1.any().optional(),previewClipUrl:z$1.any().optional(),tags:z$1.array(z$1.string().min(1).max(30)).max(10).optional(),location:z$1.string().max(120).optional()}),w=z$1.object({step:z$1.literal(2),paid:z$1.literal(false),visibility:N,guestEmails:z$1.array(z$1.email()).max(500).optional(),replay:C}),Y=z$1.object({step:z$1.literal(2),paid:z$1.literal(true),visibility:N,guestEmails:z$1.array(z$1.email()).max(500).optional(),ticketPrice:z$1.number().positive(),ticketCurrency:_,ticketLimit:z$1.number().int().positive().nullable(),replay:C}),G=z$1.object({step:z$1.literal(3),mode:z$1.literal(b.SELF)}),F=z$1.object({step:z$1.literal(3),mode:z$1.literal(b.HIRE),crewIds:z$1.array(z$1.uuid()).min(1).max(5),notes:z$1.string().max(500).optional()}),B=z$1.object({step:z$1.literal(4)}),je=z$1.object({deviceType:z$1.string().max(50).optional()}),ke=z$1.object({streamEnabled:z$1.boolean()}).strict(),_e=z$1.union([H,w,Y,G,F,B]),o=z$1.string().regex(/^-?\d+$/),u=z$1.string().min(3).max(8),s=z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"must be YYYY-MM-DD"),Ve=z$1.object({from:s,to:s,eventId:z$1.uuid().optional(),currency:u.optional()}).strict(),He=z$1.object({from:s,to:s,currency:u.optional(),pageNumber:z$1.coerce.number().int().min(1).optional(),pageSize:z$1.coerce.number().int().min(1).max(100).optional(),search:z$1.string().trim().min(1).max(100).optional()}).strict(),we=z$1.object({from:s,to:s,granularity:z$1.enum(["daily","weekly"]),currency:u.optional()}).strict(),Ye=z$1.object({from:s,to:s,currency:u,grossMinor:o,refundsMinor:o,netMinor:o,availableMinor:o,pendingMinor:o,ticketsSold:z$1.number().int().nonnegative(),avgTicketPriceMinor:z$1.string(),previousPeriodDelta:z$1.object({percentage:z$1.number().nullable(),currency:z$1.string(),grossMinor:z$1.string()}),revenueSplit:z$1.object({hostShareMinor:z$1.string(),platformFeeMinor:z$1.string(),crewSalariesMinor:z$1.string()})}).strict(),W=z$1.object({eventId:z$1.uuid(),eventTitle:z$1.string(),currency:u,grossMinor:o,refundsMinor:o,netMinor:o,firstActivityAt:s,lastActivityAt:s,ticketsSold:z$1.number().int().nonnegative(),status:z$1.enum(["COMPLETED","LIVE","SCHEDULED"])}).strict(),Ge=z$1.object({items:z$1.array(W),...f$1.shape}).strict(),q=z$1.object({date:s,grossMinor:o,refundsMinor:o,netMinor:o}).strict(),Fe=z$1.object({granularity:z$1.enum(["daily","weekly"]),currency:u,points:z$1.array(q)}).strict(),K=z$1.enum(["ALL","LIVE","UPCOMING","PAST"]),Q=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string().nullable(),coverImageUrl:z$1.url().nullable(),category:z$1.enum(a),accessModel:z$1.enum(l),ticketPrice:z$1.string().nullable(),currency:z$1.string(),isFeatured:z$1.boolean(),scheduledStart:z$1.iso.datetime(),hostDisplayName:z$1.string().nullable()}),Be=e.extend({status:K.default("ALL"),category:z$1.enum(a).optional(),q:z$1.string().trim().max(100).optional().transform(n=>n&&n.length>0?n:void 0)}),We=f$1.extend({items:z$1.array(Q)}),qe=z$1.object({playbackUrl:z$1.url(),token:z$1.string(),expiresAt:z$1.iso.datetime()}),Ke=z$1.object({retentionDays:z$1.number().int().min(1).max(90)}),Qe=z$1.object({eventId:z$1.uuid(),liveEndedAt:z$1.iso.datetime(),retentionDays:z$1.number().int().min(1).max(90),replayAvailableUntil:z$1.iso.datetime()}),ze=z$1.object({granularity:z$1.enum(["daily"]).optional().default("daily"),from:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional()}),z=z$1.object({date:z$1.string(),ticketsSold:z$1.number().int().nonnegative(),revenueMinor:z$1.string()}),$e=z$1.object({eventId:z$1.uuid(),granularity:z$1.enum(["daily"]),from:z$1.string(),to:z$1.string(),currency:z$1.string(),points:z$1.array(z)}),$=z$1.object({from:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"from must be YYYY-MM-DD").optional(),to:z$1.string().regex(/^\d{4}-\d{2}-\d{2}$/,"to must be YYYY-MM-DD").optional()}),y=z$1.object({count:z$1.number().int().nonnegative(),pct:z$1.number().min(0).max(1)}),Xe=z$1.object({from:z$1.iso.datetime(),to:z$1.iso.datetime(),currency:z$1.string(),summary:z$1.object({totalViewers:z$1.number().int().nonnegative(),uniqueViewers:z$1.number().int().nonnegative(),liveSpenders:z$1.number().int().nonnegative(),casualViewers:z$1.number().int().nonnegative()}),segments:z$1.object({newViewers:y,returningViewers:y,highValueBuyers:y,casualViewers:y}),revenuePerViewer:z$1.object({lowSpenders:z$1.number().int().nonnegative(),midSpenders:z$1.number().int().nonnegative(),highSpenders:z$1.number().int().nonnegative()})}),Je=z$1.object({limit:z$1.coerce.number().int().min(1).max(50).optional().default(10)}),X=z$1.object({userId:z$1.uuid(),displayName:z$1.string(),avatarKey:z$1.string().nullable(),totalSpendMinor:z$1.string(),eventCount:z$1.number().int().nonnegative()}),Ze=z$1.object({currency:z$1.string(),items:z$1.array(X)}),J=z$1.object({kind:z$1.enum(["TICKET_SOLD","REPLAY_SOLD"]),subjectType:z$1.enum(["Event","PaymentIntent","ReplayPurchase","Booking"]),subjectId:z$1.string(),occurredAt:z$1.number(),payload:z$1.record(z$1.string(),z$1.unknown())}),et=z$1.object({items:z$1.array(J),...f$1.shape}),tt=z$1.object({from:z$1.iso.datetime(),to:z$1.iso.datetime(),items:z$1.array(z$1.object({country:z$1.string(),viewerCount:z$1.number().int().nonnegative()}))}),nt=z$1.object({from:z$1.iso.datetime(),to:z$1.iso.datetime(),items:z$1.array(z$1.object({deviceType:z$1.string(),viewerCount:z$1.number().int().nonnegative()}))}),ot=z$1.object({from:z$1.iso.datetime(),to:z$1.iso.datetime(),granularity:z$1.enum(["daily"]),points:z$1.array(z$1.object({date:z$1.string(),viewers:z$1.number().int().nonnegative()}))}),it=$.extend({granularity:z$1.enum(["daily"]).optional().default("daily")});var Et=z$1.object({eventId:z$1.uuid(),amount:z$1.number().min(0)}),dt=z$1.object({authorizationUrl:z$1.url(),reference:z$1.string(),accessCode:z$1.string().optional()}),yt=z$1.object({id:z$1.uuid(),userId:z$1.uuid(),amount:z$1.number(),currency:z$1.string(),payoutType:z$1.string(),eventId:z$1.uuid().optional(),bookingId:z$1.uuid().optional(),payoutStatus:z$1.enum(x),providerReference:z$1.string().optional(),bankCode:z$1.string().optional(),accountNumber:z$1.string().optional(),accountName:z$1.string().optional(),scheduledAt:z$1.iso.datetime().optional(),processedAt:z$1.iso.datetime().optional(),completedAt:z$1.iso.datetime().optional(),failedAt:z$1.iso.datetime().optional(),failureReason:z$1.string().optional(),createdAt:z$1.iso.datetime()}),St=z$1.object({reference:z$1.string(),checkoutUrl:z$1.url().nullable(),status:z$1.enum(S),expiresAt:z$1.iso.datetime()}),m=z$1.string().regex(/^\d+(\.\d{1,2})?$/,"Must be a decimal with at most 2 fractional digits"),gt=z$1.object({reference:z$1.string(),status:z$1.enum(S),eventId:z$1.uuid(),amount:m,currency:z$1.string(),paidAt:z$1.iso.datetime().nullable()}),bt=z$1.object({email:z$1.email()}),Z=z$1.object({intent_id:z$1.string().uuid(),user_id:z$1.string().uuid(),event_id:z$1.string().uuid()}).loose(),ee=z$1.object({authorization_code:z$1.string(),bin:z$1.string().nullish(),last4:z$1.string().nullish(),exp_month:z$1.string().nullish(),exp_year:z$1.string().nullish(),channel:z$1.string().nullish(),card_type:z$1.string().nullish(),bank:z$1.string().nullish(),country_code:z$1.string().nullish(),brand:z$1.string().nullish(),reusable:z$1.boolean().nullish(),signature:z$1.string().nullish(),account_name:z$1.string().nullish(),receiver_bank_account_number:z$1.string().nullish(),receiver_bank:z$1.string().nullish()}).loose(),te=z$1.object({id:z$1.number(),first_name:z$1.string().nullish(),last_name:z$1.string().nullish(),email:z$1.email(),customer_code:z$1.string(),phone:z$1.string().nullish(),metadata:z$1.unknown().nullish(),risk_action:z$1.string().nullish(),international_format_phone:z$1.string().nullish()}).loose(),ne=z$1.object({type:z$1.string().nullish(),source:z$1.string().nullish(),entry_point:z$1.string().nullish(),identifier:z$1.string().nullish()}).loose(),At=z$1.object({event:z$1.string(),data:z$1.object({id:z$1.number(),domain:z$1.string().optional(),status:z$1.string(),reference:z$1.string(),amount:z$1.number(),message:z$1.string().nullish(),gateway_response:z$1.string().nullish(),paid_at:z$1.string().nullish(),paidAt:z$1.string().nullish(),created_at:z$1.string().nullish(),channel:z$1.string().nullish(),currency:z$1.string(),ip_address:z$1.string().nullish(),fees:z$1.number().nullish(),fees_breakdown:z$1.unknown().nullish(),fees_split:z$1.unknown().nullish(),log:z$1.unknown().nullish(),order_id:z$1.string().nullish(),requested_amount:z$1.number().nullish(),pos_transaction_data:z$1.unknown().nullish(),plan:z$1.object({}).loose().optional(),subaccount:z$1.object({}).loose().optional(),split:z$1.object({}).loose().optional(),metadata:Z,authorization:ee.optional(),customer:te.optional(),source:ne.optional()}).loose()}).loose(),Rt=z$1.object({qualified:z$1.boolean(),reason:z$1.enum(T)}),ht=z$1.object({reference:z$1.null(),subtotal:m,platformFee:m,total:m,currency:z$1.string().min(3).max(8),strategyId:z$1.string(),expiresInSec:z$1.number().int().positive()}),oe=z$1.object({kind:z$1.literal("TRAILER"),trailerUrl:z$1.url()}),ie=z$1.object({kind:z$1.literal("SLATE"),slate:z$1.object({title:z$1.string(),hostDisplayName:z$1.string().nullable(),scheduledStart:z$1.iso.datetime()})}),se=z$1.discriminatedUnion("kind",[oe,ie]),It=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string().nullable(),coverImageUrl:z$1.string().nullable(),category:z$1.string(),scheduledStart:z$1.iso.datetime(),scheduledEnd:z$1.iso.datetime(),state:z$1.string(),accessModel:z$1.string(),visibility:z$1.string(),ticketPrice:m.nullable(),replayAccess:z$1.enum(r),replayAccessFee:m.nullable(),currency:z$1.string(),isFeatured:z$1.boolean(),hostDisplayName:z$1.string().nullable(),hostBio:z$1.string().nullable(),previewClipUrl:z$1.string().nullable(),remainingTickets:z$1.number().int().nullable(),liveStartedAt:z$1.iso.datetime().nullable(),liveEndedAt:z$1.iso.datetime().nullable(),replayAvailableInSec:z$1.number().int().nonnegative().nullable(),ingestSubstate:z$1.enum(["AWAITING_INGEST","STREAMING"]).nullable(),awaitingIngestContent:se.nullable(),viewer:z$1.object({entitlement:z$1.enum(P),purchaseCta:z$1.enum(E),activeIntentReference:z$1.string().optional(),requiresAccessCheck:z$1.boolean().optional()})}),xt=z$1.object({url:z$1.url(),expiresAt:z$1.iso.datetime(),contentType:z$1.string().min(1)}),re=z$1.object({reference:z$1.string(),amount:z$1.string(),currency:z$1.string(),checkoutUrl:z$1.string().optional()}),ae=z$1.object({id:z$1.string(),eventId:z$1.string(),status:z$1.enum(g),source:z$1.enum(g),amount:z$1.string(),currency:z$1.string(),paymentExpiresAt:z$1.iso.datetime().nullable(),expiresAt:z$1.iso.datetime().nullable(),paidAt:z$1.iso.datetime().nullable()}),Tt=z$1.object({replayPurchase:ae,payment:re.nullable()}),Pt=z$1.object({bankCode:z$1.string().trim().regex(/^\d{3,10}$/,"bankCode must be a 3\u201310 digit numeric string"),accountNumber:z$1.string().trim().regex(/^\d{10}$/,"accountNumber must be a 10-digit NUBAN")}),Dt=z$1.object({bankName:z$1.string().nullable(),bankCode:z$1.string().nullable(),accountNumberMasked:z$1.string().nullable(),accountName:z$1.string().nullable(),verifiedAt:z$1.string().nullable(),updatedAt:z$1.string().nullable()}),vt=z$1.object({pin:z$1.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits")});export{De as $,gt as A,K as Aa,bt as B,Q as Ba,At as C,Be as Ca,Rt as D,We as Da,ht as E,qe as Ea,oe as F,Ke as Fa,ie as G,Qe as Ga,se as H,ze as Ha,It as I,z as Ia,xt as J,$e as Ja,re as K,$ as Ka,ae as L,Xe as La,Tt as M,Je as Ma,Pt as N,Ze as Na,Dt as O,et as Oa,vt as P,tt as Pa,f as Q,nt as Qa,Re as R,ot as Ra,L as S,it as Sa,he as T,i as U,Ie as V,xe as W,M as X,O as Y,Te as Z,Pe as _,r as a,ve as aa,d as b,Ce as ba,l as c,U as ca,b as d,j as da,pe as e,Ne as ea,A as f,k as fa,a as g,fe as ga,D as h,Le as ha,Ee as i,Me as ia,v as j,Oe as ja,R as k,Ue as ka,h as l,C as la,de as m,_ as ma,ce as n,V as na,le as o,N as oa,x as p,je as pa,S as q,ke as qa,g as r,_e as ra,T as s,Ve as sa,P as t,He as ta,ue as u,we as ua,E as v,Ye as va,Et as w,W as wa,dt as x,Ge as xa,yt as y,q as ya,St as z,Fe as za};//# sourceMappingURL=chunk-3WTCAK7N.mjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-3WTCAK7N.mjs.map
|