@livdot-tech/contracts 1.10.2 → 1.10.4
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.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/{chunk-Y3GCX2TR.js → chunk-3K52TZLX.js} +2 -2
- package/dist/{chunk-Y3GCX2TR.js.map → chunk-3K52TZLX.js.map} +1 -1
- package/dist/{chunk-RK5OLL5B.js → chunk-5HZC3KL7.js} +2 -2
- package/dist/chunk-5HZC3KL7.js.map +1 -0
- package/dist/chunk-725D6CRY.js +2 -0
- package/dist/chunk-725D6CRY.js.map +1 -0
- package/dist/{chunk-ZKQRUTEW.js → chunk-7L65KZUM.js} +2 -2
- package/dist/chunk-7L65KZUM.js.map +1 -0
- package/dist/{chunk-EQ3TWNQ4.mjs → chunk-DE5YOU4E.mjs} +2 -2
- package/dist/{chunk-EQ3TWNQ4.mjs.map → chunk-DE5YOU4E.mjs.map} +1 -1
- package/dist/{chunk-GHFM22ZF.mjs → chunk-GLC4IFD3.mjs} +2 -2
- package/dist/chunk-GLC4IFD3.mjs.map +1 -0
- package/dist/chunk-KATK7GAZ.mjs +2 -0
- package/dist/chunk-KATK7GAZ.mjs.map +1 -0
- package/dist/chunk-NS2BEIGW.mjs +2 -0
- package/dist/chunk-NS2BEIGW.mjs.map +1 -0
- package/dist/chunk-O2PHSU4I.mjs +2 -0
- package/dist/chunk-O2PHSU4I.mjs.map +1 -0
- package/dist/chunk-TZ7OL7SF.mjs +2 -0
- package/dist/chunk-TZ7OL7SF.mjs.map +1 -0
- package/dist/chunk-UQVQE4W4.js +2 -0
- package/dist/chunk-UQVQE4W4.js.map +1 -0
- package/dist/{chunk-DWMOEKLB.mjs → chunk-UTRS2VQ2.mjs} +2 -2
- package/dist/{chunk-DWMOEKLB.mjs.map → chunk-UTRS2VQ2.mjs.map} +1 -1
- package/dist/{chunk-6V6UXZSJ.js → chunk-W6XZS6LZ.js} +2 -2
- package/dist/{chunk-6V6UXZSJ.js.map → chunk-W6XZS6LZ.js.map} +1 -1
- package/dist/{chunk-JNU5CZVT.js → chunk-YC6IPGNY.js} +2 -2
- package/dist/chunk-YC6IPGNY.js.map +1 -0
- package/dist/dispute/index.d.mts +11 -1
- package/dist/dispute/index.d.ts +11 -1
- package/dist/dispute/index.js +1 -1
- package/dist/dispute/index.mjs +1 -1
- package/dist/event/index.d.mts +182 -1
- package/dist/event/index.d.ts +182 -1
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/host/index.d.mts +31 -2
- package/dist/host/index.d.ts +31 -2
- package/dist/host/index.js +1 -1
- package/dist/host/index.mjs +1 -1
- package/dist/index.d.mts +3 -3
- package/dist/index.d.ts +3 -3
- 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.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +12 -0
- package/dist/user/index.d.ts +12 -0
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-3XLDX2QM.js +0 -2
- package/dist/chunk-3XLDX2QM.js.map +0 -1
- package/dist/chunk-4JPHGCGI.mjs +0 -2
- package/dist/chunk-4JPHGCGI.mjs.map +0 -1
- package/dist/chunk-5ENUSIHI.mjs +0 -2
- package/dist/chunk-5ENUSIHI.mjs.map +0 -1
- package/dist/chunk-7BM7S4JR.mjs +0 -2
- package/dist/chunk-7BM7S4JR.mjs.map +0 -1
- package/dist/chunk-GHFM22ZF.mjs.map +0 -1
- package/dist/chunk-JNU5CZVT.js.map +0 -1
- package/dist/chunk-PFQ2PK5A.mjs +0 -2
- package/dist/chunk-PFQ2PK5A.mjs.map +0 -1
- package/dist/chunk-QVP3RJFZ.js +0 -2
- package/dist/chunk-QVP3RJFZ.js.map +0 -1
- package/dist/chunk-RK5OLL5B.js.map +0 -1
- package/dist/chunk-ZKQRUTEW.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk725D6CRY_js=require('../chunk-725D6CRY.js');require('../chunk-TO3WFEGT.js'),require('../chunk-244RJ2YJ.js'),require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"AdminApproveProducerVerificationSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.z}});Object.defineProperty(exports,"AdminProducerVerificationReasonBodySchema",{enumerable:true,get:function(){return chunk725D6CRY_js.A}});Object.defineProperty(exports,"AdminRejectProducerVerificationSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.B}});Object.defineProperty(exports,"AdminSuspendProducerVerificationSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.C}});Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunk725D6CRY_js.k}});Object.defineProperty(exports,"GetProducerProfileQuerySchema",{enumerable:true,get:function(){return chunk725D6CRY_js.y}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunk725D6CRY_js.l}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunk725D6CRY_js.i}});Object.defineProperty(exports,"ProducerProfileWorkspaceSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.v}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunk725D6CRY_js.n}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.m}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.r}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.p}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.q}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunk725D6CRY_js.j}});Object.defineProperty(exports,"ServiceCategoryListResponseSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.o}});Object.defineProperty(exports,"SubmitProducerForVerificationSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.x}});Object.defineProperty(exports,"UpsertProducerWorkspaceProfileSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.w}});Object.defineProperty(exports,"WorkspaceEquipmentItemInputSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.s}});Object.defineProperty(exports,"WorkspacePortfolioItemInputSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.t}});Object.defineProperty(exports,"WorkspaceRateCardItemInputSchema",{enumerable:true,get:function(){return chunk725D6CRY_js.u}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{z as AdminApproveProducerVerificationSchema,A as AdminProducerVerificationReasonBodySchema,B as AdminRejectProducerVerificationSchema,C as AdminSuspendProducerVerificationSchema,k as EquipmentCategory,y as GetProducerProfileQuerySchema,l as ListProducersQuerySchema,i as MarketplaceCurrency,v as ProducerProfileWorkspaceSchema,n as PublicProducerListCategorySchema,m as PublicProducerListEquipmentItemSchema,r as PublicProducerListItemSchema,p as PublicProducerListPortfolioItemSchema,q as PublicProducerListRateCardItemSchema,j as ServiceCategoryCode,o as ServiceCategoryListResponseSchema,x as SubmitProducerForVerificationSchema,w as UpsertProducerWorkspaceProfileSchema,s as WorkspaceEquipmentItemInputSchema,t as WorkspacePortfolioItemInputSchema,u as WorkspaceRateCardItemInputSchema}from'../chunk-
|
|
1
|
+
export{z as AdminApproveProducerVerificationSchema,A as AdminProducerVerificationReasonBodySchema,B as AdminRejectProducerVerificationSchema,C as AdminSuspendProducerVerificationSchema,k as EquipmentCategory,y as GetProducerProfileQuerySchema,l as ListProducersQuerySchema,i as MarketplaceCurrency,v as ProducerProfileWorkspaceSchema,n as PublicProducerListCategorySchema,m as PublicProducerListEquipmentItemSchema,r as PublicProducerListItemSchema,p as PublicProducerListPortfolioItemSchema,q as PublicProducerListRateCardItemSchema,j as ServiceCategoryCode,o as ServiceCategoryListResponseSchema,x as SubmitProducerForVerificationSchema,w as UpsertProducerWorkspaceProfileSchema,s as WorkspaceEquipmentItemInputSchema,t as WorkspacePortfolioItemInputSchema,u as WorkspaceRateCardItemInputSchema}from'../chunk-NS2BEIGW.mjs';import'../chunk-6DKE37U5.mjs';import'../chunk-73FCZRSF.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -180,6 +180,31 @@ declare const MarkNotificationReadResponseSchema: z.ZodObject<{
|
|
|
180
180
|
declare const MarkAllNotificationsReadResponseSchema: z.ZodObject<{
|
|
181
181
|
markedCount: z.ZodNumber;
|
|
182
182
|
}, z.core.$strip>;
|
|
183
|
+
declare const HostNotificationPreferenceItemSchema: z.ZodObject<{
|
|
184
|
+
category: z.ZodEnum<{
|
|
185
|
+
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
186
|
+
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
187
|
+
MESSAGES: "MESSAGES";
|
|
188
|
+
}>;
|
|
189
|
+
enabled: z.ZodBoolean;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
declare const HostNotificationPreferencesResponseSchema: z.ZodObject<{
|
|
192
|
+
preferences: z.ZodRecord<z.ZodEnum<{
|
|
193
|
+
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
194
|
+
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
195
|
+
MESSAGES: "MESSAGES";
|
|
196
|
+
}>, z.ZodBoolean>;
|
|
197
|
+
}, z.core.$strip>;
|
|
198
|
+
declare const UpdateHostNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
199
|
+
preferences: z.ZodArray<z.ZodObject<{
|
|
200
|
+
category: z.ZodEnum<{
|
|
201
|
+
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
202
|
+
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
203
|
+
MESSAGES: "MESSAGES";
|
|
204
|
+
}>;
|
|
205
|
+
enabled: z.ZodBoolean;
|
|
206
|
+
}, z.core.$strip>>;
|
|
207
|
+
}, z.core.$strip>;
|
|
183
208
|
|
|
184
209
|
type NotificationResponse = z.infer<typeof NotificationResponseSchema>;
|
|
185
210
|
type ListNotificationsQuery = z.infer<typeof ListNotificationsQuerySchema>;
|
|
@@ -189,5 +214,8 @@ type MarkNotificationReadResponse = z.infer<typeof MarkNotificationReadResponseS
|
|
|
189
214
|
type MarkAllNotificationsReadResponse = z.infer<typeof MarkAllNotificationsReadResponseSchema>;
|
|
190
215
|
type RegisterPushDeviceRequest = z.infer<typeof RegisterPushDeviceRequestSchema>;
|
|
191
216
|
type RegisterPushDeviceResponse = z.infer<typeof RegisterPushDeviceResponseSchema>;
|
|
217
|
+
type HostNotificationPreferenceItem = z.infer<typeof HostNotificationPreferenceItemSchema>;
|
|
218
|
+
type UpdateHostNotificationPreferencesRequest = z.infer<typeof UpdateHostNotificationPreferencesRequestSchema>;
|
|
219
|
+
type HostNotificationPreferencesResponse = z.infer<typeof HostNotificationPreferencesResponseSchema>;
|
|
192
220
|
|
|
193
|
-
export { 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 };
|
|
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 };
|
|
@@ -180,6 +180,31 @@ declare const MarkNotificationReadResponseSchema: z.ZodObject<{
|
|
|
180
180
|
declare const MarkAllNotificationsReadResponseSchema: z.ZodObject<{
|
|
181
181
|
markedCount: z.ZodNumber;
|
|
182
182
|
}, z.core.$strip>;
|
|
183
|
+
declare const HostNotificationPreferenceItemSchema: z.ZodObject<{
|
|
184
|
+
category: z.ZodEnum<{
|
|
185
|
+
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
186
|
+
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
187
|
+
MESSAGES: "MESSAGES";
|
|
188
|
+
}>;
|
|
189
|
+
enabled: z.ZodBoolean;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
declare const HostNotificationPreferencesResponseSchema: z.ZodObject<{
|
|
192
|
+
preferences: z.ZodRecord<z.ZodEnum<{
|
|
193
|
+
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
194
|
+
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
195
|
+
MESSAGES: "MESSAGES";
|
|
196
|
+
}>, z.ZodBoolean>;
|
|
197
|
+
}, z.core.$strip>;
|
|
198
|
+
declare const UpdateHostNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
199
|
+
preferences: z.ZodArray<z.ZodObject<{
|
|
200
|
+
category: z.ZodEnum<{
|
|
201
|
+
JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
202
|
+
JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
203
|
+
MESSAGES: "MESSAGES";
|
|
204
|
+
}>;
|
|
205
|
+
enabled: z.ZodBoolean;
|
|
206
|
+
}, z.core.$strip>>;
|
|
207
|
+
}, z.core.$strip>;
|
|
183
208
|
|
|
184
209
|
type NotificationResponse = z.infer<typeof NotificationResponseSchema>;
|
|
185
210
|
type ListNotificationsQuery = z.infer<typeof ListNotificationsQuerySchema>;
|
|
@@ -189,5 +214,8 @@ type MarkNotificationReadResponse = z.infer<typeof MarkNotificationReadResponseS
|
|
|
189
214
|
type MarkAllNotificationsReadResponse = z.infer<typeof MarkAllNotificationsReadResponseSchema>;
|
|
190
215
|
type RegisterPushDeviceRequest = z.infer<typeof RegisterPushDeviceRequestSchema>;
|
|
191
216
|
type RegisterPushDeviceResponse = z.infer<typeof RegisterPushDeviceResponseSchema>;
|
|
217
|
+
type HostNotificationPreferenceItem = z.infer<typeof HostNotificationPreferenceItemSchema>;
|
|
218
|
+
type UpdateHostNotificationPreferencesRequest = z.infer<typeof UpdateHostNotificationPreferencesRequestSchema>;
|
|
219
|
+
type HostNotificationPreferencesResponse = z.infer<typeof HostNotificationPreferencesResponseSchema>;
|
|
192
220
|
|
|
193
|
-
export { 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 };
|
|
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 };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkYC6IPGNY_js=require('../chunk-YC6IPGNY.js');require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"HostNotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.l}});Object.defineProperty(exports,"HostNotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.m}});Object.defineProperty(exports,"ListNotificationsQuerySchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.g}});Object.defineProperty(exports,"ListNotificationsResponseSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.h}});Object.defineProperty(exports,"MarkAllNotificationsReadResponseSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.k}});Object.defineProperty(exports,"MarkNotificationReadResponseSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.j}});Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunkYC6IPGNY_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunkYC6IPGNY_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunkYC6IPGNY_js.c}});Object.defineProperty(exports,"NotificationsUnreadCountResponseSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.i}});Object.defineProperty(exports,"RegisterPushDeviceRequestSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.e}});Object.defineProperty(exports,"RegisterPushDeviceResponseSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.f}});Object.defineProperty(exports,"UpdateHostNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunkYC6IPGNY_js.n}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{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,e as RegisterPushDeviceRequestSchema,f as RegisterPushDeviceResponseSchema}from'../chunk-
|
|
1
|
+
export{l as HostNotificationPreferenceItemSchema,m 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,e as RegisterPushDeviceRequestSchema,f as RegisterPushDeviceResponseSchema,n as UpdateHostNotificationPreferencesRequestSchema}from'../chunk-GLC4IFD3.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/payment/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkUQVQE4W4_js=require('../chunk-UQVQE4W4.js');require('../chunk-244RJ2YJ.js'),require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"AccessCheckRequestSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.C}});Object.defineProperty(exports,"AccessCheckResponseSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.E}});Object.defineProperty(exports,"AccessReason",{enumerable:true,get:function(){return chunkUQVQE4W4_js.t}});Object.defineProperty(exports,"AwaitingIngestSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.I}});Object.defineProperty(exports,"CreatePurchaseResponseSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.A}});Object.defineProperty(exports,"CtaMode",{enumerable:true,get:function(){return chunkUQVQE4W4_js.w}});Object.defineProperty(exports,"EntitlementStatus",{enumerable:true,get:function(){return chunkUQVQE4W4_js.u}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.x}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.y}});Object.defineProperty(exports,"PaymentStatus",{enumerable:true,get:function(){return chunkUQVQE4W4_js.r}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.z}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkUQVQE4W4_js.q}});Object.defineProperty(exports,"PaystackWebhookSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.D}});Object.defineProperty(exports,"PlatformChargeStatus",{enumerable:true,get:function(){return chunkUQVQE4W4_js.v}});Object.defineProperty(exports,"PricingQuoteResponseSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.F}});Object.defineProperty(exports,"PurchaseStatusResponseSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.B}});Object.defineProperty(exports,"ReceiptUrlResponseSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.K}});Object.defineProperty(exports,"ReplayPurchasePaymentSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.L}});Object.defineProperty(exports,"ReplayPurchaseResponseSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.N}});Object.defineProperty(exports,"ReplayPurchaseRowSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.M}});Object.defineProperty(exports,"ReplayPurchaseStatus",{enumerable:true,get:function(){return chunkUQVQE4W4_js.s}});Object.defineProperty(exports,"RequestWithdrawalBodySchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.Q}});Object.defineProperty(exports,"SettlementAccountViewSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.P}});Object.defineProperty(exports,"SlateSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.H}});Object.defineProperty(exports,"TrailerSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.G}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkUQVQE4W4_js.p}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkUQVQE4W4_js.o}});Object.defineProperty(exports,"UpdateSettlementBodySchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.O}});Object.defineProperty(exports,"ViewerEventDetailResponseSchema",{enumerable:true,get:function(){return chunkUQVQE4W4_js.J}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/payment/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{C as AccessCheckRequestSchema,E as AccessCheckResponseSchema,t as AccessReason,I as AwaitingIngestSchema,A as CreatePurchaseResponseSchema,w as CtaMode,u as EntitlementStatus,x as InitiatePaymentRequestSchema,y as InitiatePaymentResponseSchema,r as PaymentStatus,z as PayoutResponseSchema,q as PayoutStatus,D as PaystackWebhookSchema,v as PlatformChargeStatus,F as PricingQuoteResponseSchema,B as PurchaseStatusResponseSchema,K as ReceiptUrlResponseSchema,L as ReplayPurchasePaymentSchema,N as ReplayPurchaseResponseSchema,M as ReplayPurchaseRowSchema,s as ReplayPurchaseStatus,Q as RequestWithdrawalBodySchema,P as SettlementAccountViewSchema,H as SlateSchema,G as TrailerSchema,p as TransactionStatus,o as TransactionType,O as UpdateSettlementBodySchema,J as ViewerEventDetailResponseSchema}from'../chunk-
|
|
1
|
+
export{C as AccessCheckRequestSchema,E as AccessCheckResponseSchema,t as AccessReason,I as AwaitingIngestSchema,A as CreatePurchaseResponseSchema,w as CtaMode,u as EntitlementStatus,x as InitiatePaymentRequestSchema,y as InitiatePaymentResponseSchema,r as PaymentStatus,z as PayoutResponseSchema,q as PayoutStatus,D as PaystackWebhookSchema,v as PlatformChargeStatus,F as PricingQuoteResponseSchema,B as PurchaseStatusResponseSchema,K as ReceiptUrlResponseSchema,L as ReplayPurchasePaymentSchema,N as ReplayPurchaseResponseSchema,M as ReplayPurchaseRowSchema,s as ReplayPurchaseStatus,Q as RequestWithdrawalBodySchema,P as SettlementAccountViewSchema,H as SlateSchema,G as TrailerSchema,p as TransactionStatus,o as TransactionType,O as UpdateSettlementBodySchema,J as ViewerEventDetailResponseSchema}from'../chunk-TZ7OL7SF.mjs';import'../chunk-73FCZRSF.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/user/index.d.mts
CHANGED
|
@@ -40,6 +40,9 @@ declare const NotificationCategory: {
|
|
|
40
40
|
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
41
41
|
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
42
42
|
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
43
|
+
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
44
|
+
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
45
|
+
readonly MESSAGES: "MESSAGES";
|
|
43
46
|
};
|
|
44
47
|
type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];
|
|
45
48
|
declare const ProducerVerificationStatus: {
|
|
@@ -410,6 +413,9 @@ declare const NotificationPreferenceItemSchema: z.ZodObject<{
|
|
|
410
413
|
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
411
414
|
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
412
415
|
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
416
|
+
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
417
|
+
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
418
|
+
readonly MESSAGES: "MESSAGES";
|
|
413
419
|
}>;
|
|
414
420
|
enabled: z.ZodBoolean;
|
|
415
421
|
}, z.core.$strip>;
|
|
@@ -419,6 +425,9 @@ declare const UpdateNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
|
419
425
|
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
420
426
|
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
421
427
|
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
428
|
+
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
429
|
+
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
430
|
+
readonly MESSAGES: "MESSAGES";
|
|
422
431
|
}>;
|
|
423
432
|
enabled: z.ZodBoolean;
|
|
424
433
|
}, z.core.$strip>>;
|
|
@@ -447,6 +456,9 @@ declare const NotificationPreferencesResponseSchema: z.ZodObject<{
|
|
|
447
456
|
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
448
457
|
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
449
458
|
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
459
|
+
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
460
|
+
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
461
|
+
readonly MESSAGES: "MESSAGES";
|
|
450
462
|
}>, z.ZodBoolean>;
|
|
451
463
|
}, z.core.$strip>;
|
|
452
464
|
declare const SendFeedbackResponseSchema: z.ZodObject<{
|
package/dist/user/index.d.ts
CHANGED
|
@@ -40,6 +40,9 @@ declare const NotificationCategory: {
|
|
|
40
40
|
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
41
41
|
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
42
42
|
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
43
|
+
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
44
|
+
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
45
|
+
readonly MESSAGES: "MESSAGES";
|
|
43
46
|
};
|
|
44
47
|
type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];
|
|
45
48
|
declare const ProducerVerificationStatus: {
|
|
@@ -410,6 +413,9 @@ declare const NotificationPreferenceItemSchema: z.ZodObject<{
|
|
|
410
413
|
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
411
414
|
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
412
415
|
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
416
|
+
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
417
|
+
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
418
|
+
readonly MESSAGES: "MESSAGES";
|
|
413
419
|
}>;
|
|
414
420
|
enabled: z.ZodBoolean;
|
|
415
421
|
}, z.core.$strip>;
|
|
@@ -419,6 +425,9 @@ declare const UpdateNotificationPreferencesRequestSchema: z.ZodObject<{
|
|
|
419
425
|
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
420
426
|
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
421
427
|
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
428
|
+
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
429
|
+
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
430
|
+
readonly MESSAGES: "MESSAGES";
|
|
422
431
|
}>;
|
|
423
432
|
enabled: z.ZodBoolean;
|
|
424
433
|
}, z.core.$strip>>;
|
|
@@ -447,6 +456,9 @@ declare const NotificationPreferencesResponseSchema: z.ZodObject<{
|
|
|
447
456
|
readonly EVENT_REMINDERS: "EVENT_REMINDERS";
|
|
448
457
|
readonly LIVE_ALERTS: "LIVE_ALERTS";
|
|
449
458
|
readonly RECOMMENDATIONS: "RECOMMENDATIONS";
|
|
459
|
+
readonly JOB_INVITATIONS: "JOB_INVITATIONS";
|
|
460
|
+
readonly JOB_CONFIRMATIONS: "JOB_CONFIRMATIONS";
|
|
461
|
+
readonly MESSAGES: "MESSAGES";
|
|
450
462
|
}>, z.ZodBoolean>;
|
|
451
463
|
}, z.core.$strip>;
|
|
452
464
|
declare const SendFeedbackResponseSchema: z.ZodObject<{
|
package/dist/user/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk3K52TZLX_js=require('../chunk-3K52TZLX.js'),chunk725D6CRY_js=require('../chunk-725D6CRY.js');require('../chunk-TO3WFEGT.js'),require('../chunk-UQVQE4W4.js'),require('../chunk-244RJ2YJ.js'),require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.e}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.g}});Object.defineProperty(exports,"DisplayNameSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.j}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.a}});Object.defineProperty(exports,"NotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.m}});Object.defineProperty(exports,"NotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.q}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.b}});Object.defineProperty(exports,"RESERVED_DISPLAY_NAMES",{enumerable:true,get:function(){return chunk3K52TZLX_js.i}});Object.defineProperty(exports,"SendFeedbackRequestSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.o}});Object.defineProperty(exports,"SendFeedbackResponseSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.r}});Object.defineProperty(exports,"SetProfilePinSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.h}});Object.defineProperty(exports,"UpdateHostProfileRequestSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.f}});Object.defineProperty(exports,"UpdateNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.n}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.d}});Object.defineProperty(exports,"UpdateViewerCurrencyRequestSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.l}});Object.defineProperty(exports,"UpdateViewerProfileRequestSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.k}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.c}});Object.defineProperty(exports,"ViewerMeResponseSchema",{enumerable:true,get:function(){return chunk3K52TZLX_js.p}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunk725D6CRY_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunk725D6CRY_js.d}});Object.defineProperty(exports,"FeedbackCategory",{enumerable:true,get:function(){return chunk725D6CRY_js.e}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunk725D6CRY_js.c}});Object.defineProperty(exports,"NotificationCategory",{enumerable:true,get:function(){return chunk725D6CRY_js.f}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunk725D6CRY_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunk725D6CRY_js.g}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunk725D6CRY_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-DE5YOU4E.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-NS2BEIGW.mjs';import'../chunk-6DKE37U5.mjs';import'../chunk-TZ7OL7SF.mjs';import'../chunk-73FCZRSF.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/package.json
CHANGED
package/dist/chunk-3XLDX2QM.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
'use strict';var chunkTO3WFEGT_js=require('./chunk-TO3WFEGT.js'),chunkDQG37GYU_js=require('./chunk-DQG37GYU.js'),zod=require('zod');var o={NGN:"NGN"},S={SOUND:"sound",LIGHTING:"lighting",VIDEO:"video",STAGING:"staging",AV:"av",LOGISTICS:"logistics"},i={AUDIO:"audio",VIDEO:"video",LIGHTING:"lighting",STAGING:"staging",POWER:"power",OTHER:"other"};var R=zod.z.object({category:zod.z.string().optional(),minRate:zod.z.coerce.number().int().min(0).optional(),maxRate:zod.z.coerce.number().int().min(0).optional(),availabilityDate:zod.z.string().optional(),search:zod.z.string().trim().min(2).max(100).optional(),...chunkDQG37GYU_js.d.shape}),n=zod.z.object({id:zod.z.uuid(),name:zod.z.string(),category:zod.z.enum(i),notes:zod.z.string().nullable()}),r=zod.z.object({id:zod.z.uuid(),code:zod.z.string(),label:zod.z.string()}),A=zod.z.object({items:zod.z.array(r)}),c=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string().nullable(),mediaUrl:zod.z.url().nullable(),externalUrl:zod.z.url().nullable(),createdAt:zod.z.iso.datetime()}),s=zod.z.object({id:zod.z.uuid(),label:zod.z.string(),amount:zod.z.string(),currency:zod.z.enum(o),notes:zod.z.string().nullable()}),D=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),displayName:zod.z.string(),avatarUrl:zod.z.url().nullable(),producerIsVerified:zod.z.boolean(),companyName:zod.z.string().nullable(),bio:zod.z.string().nullable(),yearsExperience:zod.z.number().int().nullable(),maxDistanceKm:zod.z.number().int().nullable(),isAvailable:zod.z.boolean(),averageRating:zod.z.string(),totalReviews:zod.z.number().int(),completionRate:zod.z.string(),equipmentManifest:zod.z.array(n),serviceCategories:zod.z.array(r),portfolio:zod.z.array(c),equipmentItems:zod.z.array(r),rateCard:zod.z.array(s),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),recentReviews:zod.z.array(chunkTO3WFEGT_js.c).optional()});var v={HOST:1,PRODUCER:2,VIEWER:4},h={ACTIVE:"ACTIVE",SUSPENDED:"SUSPENDED",BANNED:"BANNED",DELETED:"DELETED"},L={PENDING:"PENDING",SUBMITTED:"SUBMITTED",VERIFIED:"VERIFIED",REJECTED:"REJECTED"},k={TRUST:"TRUST",FINANCIAL:"FINANCIAL",LIVE_OPS:"LIVE_OPS",AUDIT:"AUDIT"},U={BUG:"BUG",IDEA:"IDEA",GENERAL:"GENERAL"},V={EVENT_REMINDERS:"EVENT_REMINDERS",LIVE_ALERTS:"LIVE_ALERTS",RECOMMENDATIONS:"RECOMMENDATIONS"},l={PENDING:"PENDING",APPROVED:"APPROVED",REJECTED:"REJECTED",SUBMITTED:"SUBMITTED",SUSPENDED:"SUSPENDED"},p={BEGINNER:"BEGINNER",INTERMEDIATE:"INTERMEDIATE",EXPERT:"EXPERT"};var E=zod.z.object({name:zod.z.string().min(1).max(255),category:zod.z.enum(i),notes:zod.z.string().max(2e3).optional()}),b=zod.z.object({title:zod.z.string().min(1).max(255),description:zod.z.string().max(2e3).optional(),mediaUrl:zod.z.url().optional(),externalUrl:zod.z.url().optional()}),f=zod.z.object({label:zod.z.string().min(1).max(255),amount:zod.z.number().min(0),currency:zod.z.enum(o).default(o.NGN),notes:zod.z.string().max(2e3).optional()}),B=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),companyName:zod.z.string(),bio:zod.z.string(),logoUrl:zod.z.url().nullable(),experienceLevel:zod.z.enum(p),yearsExperience:zod.z.number().int().nullable(),maxDistanceKm:zod.z.number().int().nullable(),availabilityCalendar:zod.z.record(zod.z.string(),zod.z.unknown()).nullable(),verificationStatus:zod.z.enum(l),verificationReason:zod.z.string().nullable(),verifiedAt:zod.z.iso.datetime().nullable(),visibleInMarketplace:zod.z.boolean(),isAvailable:zod.z.boolean(),defaultCurrency:zod.z.enum(o),averageRating:zod.z.number(),totalReviews:zod.z.number().int(),completionRate:zod.z.number(),hasPin:zod.z.boolean(),equipmentManifest:zod.z.array(n),serviceCategories:zod.z.array(r),portfolio:zod.z.array(c),rateCard:zod.z.array(s),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),equipmentItems:zod.z.array(r)}),w=zod.z.object({companyName:zod.z.string().min(1).max(120).optional(),bio:zod.z.string().min(1).max(2e3).optional(),logoUrl:zod.z.url().nullable().optional(),experienceLevel:zod.z.enum(p).optional(),yearsExperience:zod.z.number().int().min(0).optional(),serviceAreas:zod.z.array(zod.z.string()).optional(),maxDistanceKm:zod.z.number().int().min(0).nullable().optional(),availabilityCalendar:zod.z.record(zod.z.string(),zod.z.unknown()).nullable().optional(),isAvailable:zod.z.boolean().optional(),visibleInMarketplace:zod.z.boolean().optional(),equipmentManifest:zod.z.array(E).optional(),portfolio:zod.z.array(b).optional(),rateCard:zod.z.array(f).optional(),equipmentItemIds:zod.z.array(zod.z.uuid()).optional(),equipmentItemCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),categoryCodes:zod.z.array(zod.z.string()).optional()}).refine(d=>Object.keys(d).length>0,{message:"At least one field is required"}),F=zod.z.object({verificationStatus:zod.z.literal(l.SUBMITTED)}),K=zod.z.object({view:zod.z.literal("workspace").optional()});var g=zod.z.string().trim().min(5,"Reason must be at least 5 characters"),H=zod.z.object({notes:zod.z.string().max(2e3).optional()}),y=zod.z.object({reason:g,notes:zod.z.string().max(2e3).optional()}),J=y,z=y;exports.A=y;exports.B=J;exports.C=z;exports.a=v;exports.b=h;exports.c=L;exports.d=k;exports.e=U;exports.f=V;exports.g=l;exports.h=p;exports.i=o;exports.j=S;exports.k=i;exports.l=R;exports.m=n;exports.n=r;exports.o=A;exports.p=c;exports.q=s;exports.r=D;exports.s=E;exports.t=b;exports.u=f;exports.v=B;exports.w=w;exports.x=F;exports.y=K;exports.z=H;//# sourceMappingURL=chunk-3XLDX2QM.js.map
|
|
2
|
-
//# sourceMappingURL=chunk-3XLDX2QM.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/marketplace/marketplace.enums.ts","../src/marketplace/marketplace.schemas.ts","../src/user/user.enums.ts","../src/marketplace/workspace.schemas.ts","../src/marketplace/verification.schemas.ts"],"names":["MarketplaceCurrency","ServiceCategoryCode","EquipmentCategory","ListProducersQuerySchema","z","PaginationParamsSchema","PublicProducerListEquipmentItemSchema","PublicProducerListCategorySchema","ServiceCategoryListResponseSchema","PublicProducerListPortfolioItemSchema","PublicProducerListRateCardItemSchema","PublicProducerListItemSchema","ProducerRecentReviewSchema","UserRole","AccountStatus","KycStatus","AdminScopeCode","FeedbackCategory","NotificationCategory","ProducerVerificationStatus","ProducerExperienceLevel","WorkspaceEquipmentItemInputSchema","WorkspacePortfolioItemInputSchema","WorkspaceRateCardItemInputSchema","ProducerProfileWorkspaceSchema","UpsertProducerWorkspaceProfileSchema","data","SubmitProducerForVerificationSchema","GetProducerProfileQuerySchema","verificationReasonSchema","AdminApproveProducerVerificationSchema","AdminProducerVerificationReasonBodySchema","AdminRejectProducerVerificationSchema","AdminSuspendProducerVerificationSchema"],"mappings":"oIACO,IAAMA,CAAAA,CAAsB,CACjC,GAAA,CAAK,KACP,CAAA,CAOaC,EAAsB,CACjC,KAAA,CAAO,OAAA,CACP,QAAA,CAAU,UAAA,CACV,KAAA,CAAO,QACP,OAAA,CAAS,SAAA,CACT,EAAA,CAAI,IAAA,CACJ,SAAA,CAAW,WACb,EAIaC,CAAAA,CAAoB,CAC/B,KAAA,CAAO,OAAA,CACP,KAAA,CAAO,OAAA,CACP,SAAU,UAAA,CACV,OAAA,CAAS,SAAA,CACT,KAAA,CAAO,OAAA,CACP,KAAA,CAAO,OACT,ECvBO,IAAMC,EAA2BC,KAAAA,CAAE,MAAA,CAAO,CAC/C,QAAA,CAAUA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CAC9B,OAAA,CAASA,KAAAA,CAAE,MAAA,CAAO,MAAA,EAAO,CAAE,KAAI,CAAE,GAAA,CAAI,CAAC,CAAA,CAAE,QAAA,EAAS,CACjD,QAASA,KAAAA,CAAE,MAAA,CAAO,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,IAAI,CAAC,CAAA,CAAE,QAAA,EAAS,CACj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AAA,CAAyCF","file":"chunk-3XLDX2QM.js","sourcesContent":["/** ISO 4217 codes supported on marketplace rate cards. */\nexport const MarketplaceCurrency = {\n NGN: 'NGN',\n} as const;\nexport type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];\n\n/**\n * Known service category codes for producer capability filters.\n * Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.\n */\nexport const ServiceCategoryCode = {\n SOUND: 'sound',\n LIGHTING: 'lighting',\n VIDEO: 'video',\n STAGING: 'staging',\n AV: 'av',\n LOGISTICS: 'logistics',\n} as const;\nexport type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];\n\n/** Equipment manifest categories on public producer listings. */\nexport const EquipmentCategory = {\n AUDIO: 'audio',\n VIDEO: 'video',\n LIGHTING: 'lighting',\n STAGING: 'staging',\n POWER: 'power',\n OTHER: 'other',\n} as const;\nexport type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];\n","import { z } from 'zod';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport { PaginationParamsSchema } from '../common';\nimport { ProducerRecentReviewSchema } from '../booking/review.schemas';\n\nexport const ListProducersQuerySchema = z.object({\n category: z.string().optional(),\n minRate: z.coerce.number().int().min(0).optional(),\n maxRate: z.coerce.number().int().min(0).optional(),\n availabilityDate: z.string().optional(),\n /** Case-insensitive match on name, company, role/skill, or equipment */\n search: z.string().trim().min(2).max(100).optional(),\n ...PaginationParamsSchema.shape,\n});\n\nexport const PublicProducerListEquipmentItemSchema = z.object({\n id: z.uuid(),\n name: z.string(),\n category: z.enum(EquipmentCategory),\n notes: z.string().nullable(),\n});\n\nexport const PublicProducerListCategorySchema = z.object({\n id: z.uuid(),\n code: z.string(),\n label: z.string(),\n});\n\nexport const ServiceCategoryListResponseSchema = z.object({\n items: z.array(PublicProducerListCategorySchema),\n});\n\nexport const PublicProducerListPortfolioItemSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n mediaUrl: z.url().nullable(),\n externalUrl: z.url().nullable(),\n createdAt: z.iso.datetime(),\n});\n\nexport const PublicProducerListRateCardItemSchema = z.object({\n id: z.uuid(),\n label: z.string(),\n amount: z.string(),\n currency: z.enum(MarketplaceCurrency),\n notes: z.string().nullable(),\n});\n\n/** One element of `ListProducersResponse.producers`. */\nexport const PublicProducerListItemSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n displayName: z.string(),\n avatarUrl: z.url().nullable(),\n producerIsVerified: z.boolean(),\n companyName: z.string().nullable(),\n bio: z.string().nullable(),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n isAvailable: z.boolean(),\n averageRating: z.string(),\n totalReviews: z.number().int(),\n completionRate: z.string(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n recentReviews: z.array(ProducerRecentReviewSchema).optional(),\n});\n","export const UserRole = {\n HOST: 1,\n PRODUCER: 2,\n VIEWER: 4,\n} as const;\nexport type UserRole = (typeof UserRole)[keyof typeof UserRole];\n\nexport const AccountStatus = {\n ACTIVE: 'ACTIVE',\n SUSPENDED: 'SUSPENDED',\n BANNED: 'BANNED',\n DELETED: 'DELETED',\n} as const;\nexport type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];\n\nexport const KycStatus = {\n PENDING: 'PENDING',\n SUBMITTED: 'SUBMITTED',\n VERIFIED: 'VERIFIED',\n REJECTED: 'REJECTED',\n} as const;\nexport type KycStatus = (typeof KycStatus)[keyof typeof KycStatus];\n\n/**\n * Enum for admin scope codes.\n */\nexport const AdminScopeCode = {\n TRUST: 'TRUST',\n FINANCIAL: 'FINANCIAL',\n LIVE_OPS: 'LIVE_OPS',\n AUDIT: 'AUDIT',\n} as const;\nexport type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];\n\nexport const FeedbackCategory = {\n BUG: 'BUG',\n IDEA: 'IDEA',\n GENERAL: 'GENERAL',\n} as const;\nexport type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];\n\nexport const NotificationCategory = {\n EVENT_REMINDERS: 'EVENT_REMINDERS',\n LIVE_ALERTS: 'LIVE_ALERTS',\n RECOMMENDATIONS: 'RECOMMENDATIONS',\n} as const;\nexport type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];\n\nexport const ProducerVerificationStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n REJECTED: 'REJECTED',\n SUBMITTED: 'SUBMITTED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type ProducerVerificationStatus =\n (typeof ProducerVerificationStatus)[keyof typeof ProducerVerificationStatus];\n\nexport const ProducerExperienceLevel = {\n BEGINNER: 'BEGINNER',\n INTERMEDIATE: 'INTERMEDIATE',\n EXPERT: 'EXPERT',\n} as const;\nexport type ProducerExperienceLevel =\n (typeof ProducerExperienceLevel)[keyof typeof ProducerExperienceLevel];\n","import { z } from 'zod';\nimport { ProducerExperienceLevel, ProducerVerificationStatus } from '../user/user.enums';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport {\n PublicProducerListCategorySchema,\n PublicProducerListEquipmentItemSchema,\n PublicProducerListPortfolioItemSchema,\n PublicProducerListRateCardItemSchema,\n} from './marketplace.schemas';\n\n/** Workspace equipment row (full manifest; public API uses the same shape). */\nexport const WorkspaceEquipmentItemInputSchema = z.object({\n name: z.string().min(1).max(255),\n category: z.enum(EquipmentCategory),\n notes: z.string().max(2000).optional(),\n});\n\nexport const WorkspacePortfolioItemInputSchema = z.object({\n title: z.string().min(1).max(255),\n description: z.string().max(2000).optional(),\n mediaUrl: z.url().optional(),\n externalUrl: z.url().optional(),\n});\n\nexport const WorkspaceRateCardItemInputSchema = z.object({\n label: z.string().min(1).max(255),\n amount: z.number().min(0),\n currency: z.enum(MarketplaceCurrency).default(MarketplaceCurrency.NGN),\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Authenticated producer workspace profile (owner view).\n * Includes verification workflow fields and raw availability; never returned on public routes.\n */\nexport const ProducerProfileWorkspaceSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.url().nullable(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable(),\n verificationStatus: z.enum(ProducerVerificationStatus),\n verificationReason: z.string().nullable(),\n verifiedAt: z.iso.datetime().nullable(),\n visibleInMarketplace: z.boolean(),\n isAvailable: z.boolean(),\n defaultCurrency: z.enum(MarketplaceCurrency),\n averageRating: z.number(),\n totalReviews: z.number().int(),\n completionRate: z.number(),\n hasPin: z.boolean(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n});\n\n/** PATCH body for workspace profile updates (partial). */\nexport const UpsertProducerWorkspaceProfileSchema = z\n .object({\n companyName: z.string().min(1).max(120).optional(),\n bio: z.string().min(1).max(2000).optional(),\n logoUrl: z.url().nullable().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel).optional(),\n yearsExperience: z.number().int().min(0).optional(),\n serviceAreas: z.array(z.string()).optional(),\n maxDistanceKm: z.number().int().min(0).nullable().optional(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable().optional(),\n isAvailable: z.boolean().optional(),\n visibleInMarketplace: z.boolean().optional(),\n equipmentManifest: z.array(WorkspaceEquipmentItemInputSchema).optional(),\n portfolio: z.array(WorkspacePortfolioItemInputSchema).optional(),\n rateCard: z.array(WorkspaceRateCardItemInputSchema).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n categoryCodes: z.array(z.string()).optional(),\n })\n .refine((data) => Object.keys(data).length > 0, {\n message: 'At least one field is required',\n });\n\n/** POST body for submit-for-verification (explicit intent for signing). */\nexport const SubmitProducerForVerificationSchema = z.object({\n verificationStatus: z.literal(ProducerVerificationStatus.SUBMITTED),\n});\n\n/** Query for `GET /users/me/producer-profile` — `view=workspace` returns owner workspace shape. */\nexport const GetProducerProfileQuerySchema = z.object({\n view: z.literal('workspace').optional(),\n});\n","import { z } from 'zod';\n\nconst verificationReasonSchema = z.string().trim().min(5, 'Reason must be at least 5 characters');\n\n/** Admin approves a submitted producer (SUBMITTED → APPROVED) or reinstates (SUSPENDED → APPROVED). */\nexport const AdminApproveProducerVerificationSchema = z.object({\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Shared body for admin actions that require a decision reason.\n * `reason` → producer-facing verificationReason + audit; `notes` → optional internal admin context.\n */\nexport const AdminProducerVerificationReasonBodySchema = z.object({\n reason: verificationReasonSchema,\n notes: z.string().max(2000).optional(),\n});\n\n/** Admin rejects a submitted producer (SUBMITTED → REJECTED). */\nexport const AdminRejectProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n\n/** Admin suspends an approved producer (APPROVED → SUSPENDED). */\nexport const AdminSuspendProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n"]}
|
package/dist/chunk-4JPHGCGI.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {n as n$1}from'./chunk-7BM7S4JR.mjs';import {e as e$1}from'./chunk-KPEKHJVS.mjs';import {z}from'zod';var n={SERVICE_NOT_DELIVERED:"SERVICE_NOT_DELIVERED",QUALITY_ISSUE:"QUALITY_ISSUE",PAYMENT_DISPUTE:"PAYMENT_DISPUTE",CANCELLATION_DISPUTE:"CANCELLATION_DISPUTE",OTHER:"OTHER"},s={OPEN:"OPEN",UNDER_REVIEW:"UNDER_REVIEW",RESOLVED:"RESOLVED",CLOSED:"CLOSED"};var l=z.object({id:z.uuid(),transactionId:z.uuid(),eventId:z.uuid().optional(),bookingId:z.uuid().optional(),userId:z.uuid(),disputeType:z.enum(n),reason:z.string(),amountInDispute:z.number(),disputeStatus:z.enum(s),resolution:z.string().optional(),reportedAt:z.iso.datetime(),slaDeadline:z.iso.datetime(),resolvedAt:z.iso.datetime().optional(),createdAt:z.iso.datetime()}),r=500,p=z.enum(["EVENT_DID_NOT_RUN","POOR_QUALITY","ACCESS_ISSUE","OTHER"]),e=z.enum(["OPEN","RESOLVED_CUSTOMER","RESOLVED_HOST","EXPIRED"]),a=z.enum(["REFUNDED","DENIED","PARTIAL_REFUND"]),u=z.enum(n$1),I=z.object({entitlementKind:u,reason:p,detail:z.string().trim().min(1).max(r).optional()}).strict(),m=z.object({id:z.uuid(),entitlementId:z.string(),eventId:z.uuid(),userId:z.uuid(),reason:p,detail:z.string().nullable(),state:e,resolvedAt:z.iso.datetime().nullable(),resolutionOutcome:a.nullable(),correlationId:z.string(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}).strict(),R=z.object({state:e.optional(),pageNumber:z.coerce.number().int().min(1).optional(),pageSize:z.coerce.number().int().min(1).max(100).optional()}).strict(),T=z.object({state:e.optional(),eventId:z.uuid().optional(),pageNumber:z.coerce.number().int().min(1).optional(),pageSize:z.coerce.number().int().min(1).max(100).optional()}).strict(),O=z.object({outcome:a,refundId:z.string().min(1).max(100).optional(),resolutionNote:z.string().trim().max(500).optional()}).strict(),x=z.object({items:z.array(m),...e$1.shape}).strict();export{n as a,s as b,l as c,r as d,p as e,e as f,a as g,I as h,m as i,R as j,T as k,O as l,x as m};//# sourceMappingURL=chunk-4JPHGCGI.mjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-4JPHGCGI.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/dispute/dispute.enums.ts","../src/dispute/dispute.schemas.ts"],"names":["DisputeType","DisputeStatus","DisputeResponseSchema","z","DISPUTE_DETAIL_MAX_LENGTH","DisputeReasonSchema","DisputeStateSchema","DisputeOutcomeSchema","EntitlementKindSchema","EntitlementKind","OpenDisputeRequestSchema","AdminDisputeResponseSchema","MyDisputesQuerySchema","AdminDisputesQuerySchema","ResolveDisputeRequestSchema","PagedDisputesResponseSchema","PaginationResponseSchema"],"mappings":"4GAAO,IAAMA,EAAc,CACzB,qBAAA,CAAuB,wBACvB,aAAA,CAAe,eAAA,CACf,gBAAiB,iBAAA,CACjB,oBAAA,CAAsB,sBAAA,CACtB,KAAA,CAAO,OACT,CAAA,CAGaC,CAAAA,CAAgB,CAC3B,IAAA,CAAM,MAAA,CACN,aAAc,cAAA,CACd,QAAA,CAAU,UAAA,CACV,MAAA,CAAQ,QACV,MCTaC,CAAAA,CAAwBC,CAAAA,CAAE,OAAO,CAC5C,EAAA,CAAIA,EAAE,IAAA,EAAK,CACX,cAAeA,CAAAA,CAAE,IAAA,GACjB,OAAA,CAASA,CAAAA,CAAE,IAAA,EAAK,CAAE,UAAS,CAC3B,SAAA,CAAWA,EAAE,IAAA,EAAK,CAAE,UAAS,CAC7B,MAAA,CAAQA,CAAAA,CAAE,IAAA,GACV,WAAA,CAAaA,CAAAA,CAAE,KAAKH,CAAW,CAAA,CAC/B,OAAQG,CAAAA,CAAE,MAAA,EAAO,CACjB,eAAA,CAAiBA,EAAE,MAAA,EAAO,CAC1B,cAAeA,CAAAA,CAAE,IAAA,CAAKF,CAAa,CAAA,CACnC,UAAA,CAAYE,EAAE,MAAA,EAAO,CAAE,UAAS,CAChC,UAAA,CAAYA,EAAE,GAAA,CAAI,QAAA,GAClB,WAAA,CAAaA,CAAAA,CAAE,GAAA,CAAI,QAAA,GACnB,UAAA,CAAYA,CAAAA,CAAE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QUALITY_ISSUE: 'QUALITY_ISSUE',\n PAYMENT_DISPUTE: 'PAYMENT_DISPUTE',\n CANCELLATION_DISPUTE: 'CANCELLATION_DISPUTE',\n OTHER: 'OTHER',\n} as const;\nexport type DisputeType = (typeof DisputeType)[keyof typeof DisputeType];\n\nexport const DisputeStatus = {\n OPEN: 'OPEN',\n UNDER_REVIEW: 'UNDER_REVIEW',\n RESOLVED: 'RESOLVED',\n CLOSED: 'CLOSED',\n} as const;\nexport type DisputeStatus = (typeof DisputeStatus)[keyof typeof DisputeStatus];\n","import { z } from 'zod';\nimport { DisputeType, DisputeStatus } from './dispute.enums';\nimport { EntitlementKind } from '../event';\nimport { PaginationResponseSchema } from '../common';\n\nexport const DisputeResponseSchema = z.object({\n id: z.uuid(),\n transactionId: z.uuid(),\n eventId: z.uuid().optional(),\n bookingId: z.uuid().optional(),\n userId: z.uuid(),\n disputeType: z.enum(DisputeType),\n reason: z.string(),\n amountInDispute: z.number(),\n disputeStatus: z.enum(DisputeStatus),\n resolution: z.string().optional(),\n reportedAt: z.iso.datetime(),\n slaDeadline: z.iso.datetime(),\n resolvedAt: z.iso.datetime().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const DISPUTE_DETAIL_MAX_LENGTH = 500;\n\nexport const DisputeReasonSchema = z.enum([\n 'EVENT_DID_NOT_RUN',\n 'POOR_QUALITY',\n 'ACCESS_ISSUE',\n 'OTHER',\n]);\n\n// Mirrors Prisma `DisputeState` enum.\nexport const DisputeStateSchema = z.enum(['OPEN', 'RESOLVED_CUSTOMER', 'RESOLVED_HOST', 'EXPIRED']);\n\n// Mirrors Prisma `DisputeOutcome` enum.\nexport const DisputeOutcomeSchema = z.enum(['REFUNDED', 'DENIED', 'PARTIAL_REFUND']);\n\nconst EntitlementKindSchema = z.enum(EntitlementKind);\n\nexport const OpenDisputeRequestSchema = z\n .object({\n entitlementKind: EntitlementKindSchema,\n reason: DisputeReasonSchema,\n detail: z.string().trim().min(1).max(DISPUTE_DETAIL_MAX_LENGTH).optional(),\n })\n .strict();\n\nexport const AdminDisputeResponseSchema = z\n .object({\n id: z.uuid(),\n entitlementId: z.string(),\n eventId: z.uuid(),\n userId: z.uuid(),\n reason: DisputeReasonSchema,\n detail: z.string().nullable(),\n state: DisputeStateSchema,\n resolvedAt: z.iso.datetime().nullable(),\n resolutionOutcome: DisputeOutcomeSchema.nullable(),\n correlationId: z.string(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n })\n .strict();\n\nexport const MyDisputesQuerySchema = z\n .object({\n state: DisputeStateSchema.optional(),\n pageNumber: z.coerce.number().int().min(1).optional(),\n pageSize: z.coerce.number().int().min(1).max(100).optional(),\n })\n .strict();\n\nexport const AdminDisputesQuerySchema = z\n .object({\n state: DisputeStateSchema.optional(),\n eventId: z.uuid().optional(),\n pageNumber: z.coerce.number().int().min(1).optional(),\n pageSize: z.coerce.number().int().min(1).max(100).optional(),\n })\n .strict();\n\nexport const ResolveDisputeRequestSchema = z\n .object({\n outcome: DisputeOutcomeSchema,\n refundId: z.string().min(1).max(100).optional(),\n resolutionNote: z.string().trim().max(500).optional(),\n })\n .strict();\n\nexport const PagedDisputesResponseSchema = z\n .object({\n items: z.array(AdminDisputeResponseSchema),\n ...PaginationResponseSchema.shape,\n })\n .strict();\n"]}
|
package/dist/chunk-5ENUSIHI.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {c as c$1}from'./chunk-6DKE37U5.mjs';import {d}from'./chunk-KPEKHJVS.mjs';import {z as z$1}from'zod';var o={NGN:"NGN"},S={SOUND:"sound",LIGHTING:"lighting",VIDEO:"video",STAGING:"staging",AV:"av",LOGISTICS:"logistics"},i={AUDIO:"audio",VIDEO:"video",LIGHTING:"lighting",STAGING:"staging",POWER:"power",OTHER:"other"};var R=z$1.object({category:z$1.string().optional(),minRate:z$1.coerce.number().int().min(0).optional(),maxRate:z$1.coerce.number().int().min(0).optional(),availabilityDate:z$1.string().optional(),search:z$1.string().trim().min(2).max(100).optional(),...d.shape}),n=z$1.object({id:z$1.uuid(),name:z$1.string(),category:z$1.enum(i),notes:z$1.string().nullable()}),r=z$1.object({id:z$1.uuid(),code:z$1.string(),label:z$1.string()}),A=z$1.object({items:z$1.array(r)}),c=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string().nullable(),mediaUrl:z$1.url().nullable(),externalUrl:z$1.url().nullable(),createdAt:z$1.iso.datetime()}),s=z$1.object({id:z$1.uuid(),label:z$1.string(),amount:z$1.string(),currency:z$1.enum(o),notes:z$1.string().nullable()}),D=z$1.object({id:z$1.uuid(),userId:z$1.uuid(),displayName:z$1.string(),avatarUrl:z$1.url().nullable(),producerIsVerified:z$1.boolean(),companyName:z$1.string().nullable(),bio:z$1.string().nullable(),yearsExperience:z$1.number().int().nullable(),maxDistanceKm:z$1.number().int().nullable(),isAvailable:z$1.boolean(),averageRating:z$1.string(),totalReviews:z$1.number().int(),completionRate:z$1.string(),equipmentManifest:z$1.array(n),serviceCategories:z$1.array(r),portfolio:z$1.array(c),equipmentItems:z$1.array(r),rateCard:z$1.array(s),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),recentReviews:z$1.array(c$1).optional()});var v={HOST:1,PRODUCER:2,VIEWER:4},h={ACTIVE:"ACTIVE",SUSPENDED:"SUSPENDED",BANNED:"BANNED",DELETED:"DELETED"},L={PENDING:"PENDING",SUBMITTED:"SUBMITTED",VERIFIED:"VERIFIED",REJECTED:"REJECTED"},k={TRUST:"TRUST",FINANCIAL:"FINANCIAL",LIVE_OPS:"LIVE_OPS",AUDIT:"AUDIT"},U={BUG:"BUG",IDEA:"IDEA",GENERAL:"GENERAL"},V={EVENT_REMINDERS:"EVENT_REMINDERS",LIVE_ALERTS:"LIVE_ALERTS",RECOMMENDATIONS:"RECOMMENDATIONS"},l={PENDING:"PENDING",APPROVED:"APPROVED",REJECTED:"REJECTED",SUBMITTED:"SUBMITTED",SUSPENDED:"SUSPENDED"},p={BEGINNER:"BEGINNER",INTERMEDIATE:"INTERMEDIATE",EXPERT:"EXPERT"};var E=z$1.object({name:z$1.string().min(1).max(255),category:z$1.enum(i),notes:z$1.string().max(2e3).optional()}),b=z$1.object({title:z$1.string().min(1).max(255),description:z$1.string().max(2e3).optional(),mediaUrl:z$1.url().optional(),externalUrl:z$1.url().optional()}),f=z$1.object({label:z$1.string().min(1).max(255),amount:z$1.number().min(0),currency:z$1.enum(o).default(o.NGN),notes:z$1.string().max(2e3).optional()}),B=z$1.object({id:z$1.uuid(),userId:z$1.uuid(),companyName:z$1.string(),bio:z$1.string(),logoUrl:z$1.url().nullable(),experienceLevel:z$1.enum(p),yearsExperience:z$1.number().int().nullable(),maxDistanceKm:z$1.number().int().nullable(),availabilityCalendar:z$1.record(z$1.string(),z$1.unknown()).nullable(),verificationStatus:z$1.enum(l),verificationReason:z$1.string().nullable(),verifiedAt:z$1.iso.datetime().nullable(),visibleInMarketplace:z$1.boolean(),isAvailable:z$1.boolean(),defaultCurrency:z$1.enum(o),averageRating:z$1.number(),totalReviews:z$1.number().int(),completionRate:z$1.number(),hasPin:z$1.boolean(),equipmentManifest:z$1.array(n),serviceCategories:z$1.array(r),portfolio:z$1.array(c),rateCard:z$1.array(s),createdAt:z$1.iso.datetime(),updatedAt:z$1.iso.datetime(),equipmentItems:z$1.array(r)}),w=z$1.object({companyName:z$1.string().min(1).max(120).optional(),bio:z$1.string().min(1).max(2e3).optional(),logoUrl:z$1.url().nullable().optional(),experienceLevel:z$1.enum(p).optional(),yearsExperience:z$1.number().int().min(0).optional(),serviceAreas:z$1.array(z$1.string()).optional(),maxDistanceKm:z$1.number().int().min(0).nullable().optional(),availabilityCalendar:z$1.record(z$1.string(),z$1.unknown()).nullable().optional(),isAvailable:z$1.boolean().optional(),visibleInMarketplace:z$1.boolean().optional(),equipmentManifest:z$1.array(E).optional(),portfolio:z$1.array(b).optional(),rateCard:z$1.array(f).optional(),equipmentItemIds:z$1.array(z$1.uuid()).optional(),equipmentItemCodes:z$1.array(z$1.string().min(1).max(64)).optional(),categoryCodes:z$1.array(z$1.string()).optional()}).refine(d=>Object.keys(d).length>0,{message:"At least one field is required"}),F=z$1.object({verificationStatus:z$1.literal(l.SUBMITTED)}),K=z$1.object({view:z$1.literal("workspace").optional()});var g=z$1.string().trim().min(5,"Reason must be at least 5 characters"),H=z$1.object({notes:z$1.string().max(2e3).optional()}),y=z$1.object({reason:g,notes:z$1.string().max(2e3).optional()}),J=y,z=y;export{y as A,J as B,z as C,v as a,h as b,L as c,k as d,U as e,V as f,l as g,p as h,o as i,S as j,i as k,R as l,n as m,r as n,A as o,c as p,s as q,D as r,E as s,b as t,f as u,B as v,w,F as x,K as y,H as z};//# sourceMappingURL=chunk-5ENUSIHI.mjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-5ENUSIHI.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/marketplace/marketplace.enums.ts","../src/marketplace/marketplace.schemas.ts","../src/user/user.enums.ts","../src/marketplace/workspace.schemas.ts","../src/marketplace/verification.schemas.ts"],"names":["MarketplaceCurrency","ServiceCategoryCode","EquipmentCategory","ListProducersQuerySchema","z","PaginationParamsSchema","PublicProducerListEquipmentItemSchema","PublicProducerListCategorySchema","ServiceCategoryListResponseSchema","PublicProducerListPortfolioItemSchema","PublicProducerListRateCardItemSchema","PublicProducerListItemSchema","ProducerRecentReviewSchema","UserRole","AccountStatus","KycStatus","AdminScopeCode","FeedbackCategory","NotificationCategory","ProducerVerificationStatus","ProducerExperienceLevel","WorkspaceEquipmentItemInputSchema","WorkspacePortfolioItemInputSchema","WorkspaceRateCardItemInputSchema","ProducerProfileWorkspaceSchema","UpsertProducerWorkspaceProfileSchema","data","SubmitProducerForVerificationSchema","GetProducerProfileQuerySchema","verificationReasonSchema","AdminApproveProducerVerificationSchema","AdminProducerVerificationReasonBodySchema","AdminRejectProducerVerificationSchema","AdminSuspendProducerVerificationSchema"],"mappings":"4GACO,IAAMA,CAAAA,CAAsB,C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A,CAAE,OAAA,CAAQe,CAAAA,CAA2B,SAAS,CACpE,CAAC,CAAA,CAGYS,CAAAA,CAAgCxB,GAAAA,CAAE,MAAA,CAAO,CACpD,IAAA,CAAMA,GAAAA,CAAE,QAAQ,WAAW,CAAA,CAAE,QAAA,EAC/B,CAAC,EC9FD,IAAMyB,CAAAA,CAA2BzB,GAAAA,CAAE,QAAO,CAAE,IAAA,EAAK,CAAE,GAAA,CAAI,CAAA,CAAG,sCAAsC,CAAA,CAGnF0B,CAAAA,CAAyC1B,GAAAA,CAAE,MAAA,CAAO,CAC7D,KAAA,CAAOA,GAAAA,CAAE,MAAA,GAAS,GAAA,CAAI,GAAI,CAAA,CAAE,QAAA,EAC9B,CAAC,EAMY2B,CAAAA,CAA4C3B,GAAAA,CAAE,MAAA,CAAO,CAChE,MAAA,CAAQyB,CAAAA,CACR,MAAOzB,GAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,CAAI,GAAI,CAAA,CAAE,QAAA,EAC9B,CAAC,CAAA,CAGY4B,CAAAA,CAAwCD,CAAAA,CAGxCE,CAAAA,CAAyCF","file":"chunk-5ENUSIHI.mjs","sourcesContent":["/** ISO 4217 codes supported on marketplace rate cards. */\nexport const MarketplaceCurrency = {\n NGN: 'NGN',\n} as const;\nexport type MarketplaceCurrency = (typeof MarketplaceCurrency)[keyof typeof MarketplaceCurrency];\n\n/**\n * Known service category codes for producer capability filters.\n * Additional codes may exist in the catalog; listing responses use `z.string()` for `code`.\n */\nexport const ServiceCategoryCode = {\n SOUND: 'sound',\n LIGHTING: 'lighting',\n VIDEO: 'video',\n STAGING: 'staging',\n AV: 'av',\n LOGISTICS: 'logistics',\n} as const;\nexport type ServiceCategoryCode = (typeof ServiceCategoryCode)[keyof typeof ServiceCategoryCode];\n\n/** Equipment manifest categories on public producer listings. */\nexport const EquipmentCategory = {\n AUDIO: 'audio',\n VIDEO: 'video',\n LIGHTING: 'lighting',\n STAGING: 'staging',\n POWER: 'power',\n OTHER: 'other',\n} as const;\nexport type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCategory];\n","import { z } from 'zod';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport { PaginationParamsSchema } from '../common';\nimport { ProducerRecentReviewSchema } from '../booking/review.schemas';\n\nexport const ListProducersQuerySchema = z.object({\n category: z.string().optional(),\n minRate: z.coerce.number().int().min(0).optional(),\n maxRate: z.coerce.number().int().min(0).optional(),\n availabilityDate: z.string().optional(),\n /** Case-insensitive match on name, company, role/skill, or equipment */\n search: z.string().trim().min(2).max(100).optional(),\n ...PaginationParamsSchema.shape,\n});\n\nexport const PublicProducerListEquipmentItemSchema = z.object({\n id: z.uuid(),\n name: z.string(),\n category: z.enum(EquipmentCategory),\n notes: z.string().nullable(),\n});\n\nexport const PublicProducerListCategorySchema = z.object({\n id: z.uuid(),\n code: z.string(),\n label: z.string(),\n});\n\nexport const ServiceCategoryListResponseSchema = z.object({\n items: z.array(PublicProducerListCategorySchema),\n});\n\nexport const PublicProducerListPortfolioItemSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n mediaUrl: z.url().nullable(),\n externalUrl: z.url().nullable(),\n createdAt: z.iso.datetime(),\n});\n\nexport const PublicProducerListRateCardItemSchema = z.object({\n id: z.uuid(),\n label: z.string(),\n amount: z.string(),\n currency: z.enum(MarketplaceCurrency),\n notes: z.string().nullable(),\n});\n\n/** One element of `ListProducersResponse.producers`. */\nexport const PublicProducerListItemSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n displayName: z.string(),\n avatarUrl: z.url().nullable(),\n producerIsVerified: z.boolean(),\n companyName: z.string().nullable(),\n bio: z.string().nullable(),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n isAvailable: z.boolean(),\n averageRating: z.string(),\n totalReviews: z.number().int(),\n completionRate: z.string(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n recentReviews: z.array(ProducerRecentReviewSchema).optional(),\n});\n","export const UserRole = {\n HOST: 1,\n PRODUCER: 2,\n VIEWER: 4,\n} as const;\nexport type UserRole = (typeof UserRole)[keyof typeof UserRole];\n\nexport const AccountStatus = {\n ACTIVE: 'ACTIVE',\n SUSPENDED: 'SUSPENDED',\n BANNED: 'BANNED',\n DELETED: 'DELETED',\n} as const;\nexport type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];\n\nexport const KycStatus = {\n PENDING: 'PENDING',\n SUBMITTED: 'SUBMITTED',\n VERIFIED: 'VERIFIED',\n REJECTED: 'REJECTED',\n} as const;\nexport type KycStatus = (typeof KycStatus)[keyof typeof KycStatus];\n\n/**\n * Enum for admin scope codes.\n */\nexport const AdminScopeCode = {\n TRUST: 'TRUST',\n FINANCIAL: 'FINANCIAL',\n LIVE_OPS: 'LIVE_OPS',\n AUDIT: 'AUDIT',\n} as const;\nexport type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];\n\nexport const FeedbackCategory = {\n BUG: 'BUG',\n IDEA: 'IDEA',\n GENERAL: 'GENERAL',\n} as const;\nexport type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];\n\nexport const NotificationCategory = {\n EVENT_REMINDERS: 'EVENT_REMINDERS',\n LIVE_ALERTS: 'LIVE_ALERTS',\n RECOMMENDATIONS: 'RECOMMENDATIONS',\n} as const;\nexport type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];\n\nexport const ProducerVerificationStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n REJECTED: 'REJECTED',\n SUBMITTED: 'SUBMITTED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type ProducerVerificationStatus =\n (typeof ProducerVerificationStatus)[keyof typeof ProducerVerificationStatus];\n\nexport const ProducerExperienceLevel = {\n BEGINNER: 'BEGINNER',\n INTERMEDIATE: 'INTERMEDIATE',\n EXPERT: 'EXPERT',\n} as const;\nexport type ProducerExperienceLevel =\n (typeof ProducerExperienceLevel)[keyof typeof ProducerExperienceLevel];\n","import { z } from 'zod';\nimport { ProducerExperienceLevel, ProducerVerificationStatus } from '../user/user.enums';\nimport { EquipmentCategory, MarketplaceCurrency } from './marketplace.enums';\nimport {\n PublicProducerListCategorySchema,\n PublicProducerListEquipmentItemSchema,\n PublicProducerListPortfolioItemSchema,\n PublicProducerListRateCardItemSchema,\n} from './marketplace.schemas';\n\n/** Workspace equipment row (full manifest; public API uses the same shape). */\nexport const WorkspaceEquipmentItemInputSchema = z.object({\n name: z.string().min(1).max(255),\n category: z.enum(EquipmentCategory),\n notes: z.string().max(2000).optional(),\n});\n\nexport const WorkspacePortfolioItemInputSchema = z.object({\n title: z.string().min(1).max(255),\n description: z.string().max(2000).optional(),\n mediaUrl: z.url().optional(),\n externalUrl: z.url().optional(),\n});\n\nexport const WorkspaceRateCardItemInputSchema = z.object({\n label: z.string().min(1).max(255),\n amount: z.number().min(0),\n currency: z.enum(MarketplaceCurrency).default(MarketplaceCurrency.NGN),\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Authenticated producer workspace profile (owner view).\n * Includes verification workflow fields and raw availability; never returned on public routes.\n */\nexport const ProducerProfileWorkspaceSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.url().nullable(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n yearsExperience: z.number().int().nullable(),\n maxDistanceKm: z.number().int().nullable(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable(),\n verificationStatus: z.enum(ProducerVerificationStatus),\n verificationReason: z.string().nullable(),\n verifiedAt: z.iso.datetime().nullable(),\n visibleInMarketplace: z.boolean(),\n isAvailable: z.boolean(),\n defaultCurrency: z.enum(MarketplaceCurrency),\n averageRating: z.number(),\n totalReviews: z.number().int(),\n completionRate: z.number(),\n hasPin: z.boolean(),\n equipmentManifest: z.array(PublicProducerListEquipmentItemSchema),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n portfolio: z.array(PublicProducerListPortfolioItemSchema),\n rateCard: z.array(PublicProducerListRateCardItemSchema),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n});\n\n/** PATCH body for workspace profile updates (partial). */\nexport const UpsertProducerWorkspaceProfileSchema = z\n .object({\n companyName: z.string().min(1).max(120).optional(),\n bio: z.string().min(1).max(2000).optional(),\n logoUrl: z.url().nullable().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel).optional(),\n yearsExperience: z.number().int().min(0).optional(),\n serviceAreas: z.array(z.string()).optional(),\n maxDistanceKm: z.number().int().min(0).nullable().optional(),\n availabilityCalendar: z.record(z.string(), z.unknown()).nullable().optional(),\n isAvailable: z.boolean().optional(),\n visibleInMarketplace: z.boolean().optional(),\n equipmentManifest: z.array(WorkspaceEquipmentItemInputSchema).optional(),\n portfolio: z.array(WorkspacePortfolioItemInputSchema).optional(),\n rateCard: z.array(WorkspaceRateCardItemInputSchema).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n categoryCodes: z.array(z.string()).optional(),\n })\n .refine((data) => Object.keys(data).length > 0, {\n message: 'At least one field is required',\n });\n\n/** POST body for submit-for-verification (explicit intent for signing). */\nexport const SubmitProducerForVerificationSchema = z.object({\n verificationStatus: z.literal(ProducerVerificationStatus.SUBMITTED),\n});\n\n/** Query for `GET /users/me/producer-profile` — `view=workspace` returns owner workspace shape. */\nexport const GetProducerProfileQuerySchema = z.object({\n view: z.literal('workspace').optional(),\n});\n","import { z } from 'zod';\n\nconst verificationReasonSchema = z.string().trim().min(5, 'Reason must be at least 5 characters');\n\n/** Admin approves a submitted producer (SUBMITTED → APPROVED) or reinstates (SUSPENDED → APPROVED). */\nexport const AdminApproveProducerVerificationSchema = z.object({\n notes: z.string().max(2000).optional(),\n});\n\n/**\n * Shared body for admin actions that require a decision reason.\n * `reason` → producer-facing verificationReason + audit; `notes` → optional internal admin context.\n */\nexport const AdminProducerVerificationReasonBodySchema = z.object({\n reason: verificationReasonSchema,\n notes: z.string().max(2000).optional(),\n});\n\n/** Admin rejects a submitted producer (SUBMITTED → REJECTED). */\nexport const AdminRejectProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n\n/** Admin suspends an approved producer (APPROVED → SUSPENDED). */\nexport const AdminSuspendProducerVerificationSchema = AdminProducerVerificationReasonBodySchema;\n"]}
|
package/dist/chunk-7BM7S4JR.mjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import {d as d$1,e}from'./chunk-KPEKHJVS.mjs';import {z as z$1}from'zod';var oe={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"},ie={PENDING:"PENDING",SUCCESS:"SUCCESS",FAILED:"FAILED",REVERSED:"REVERSED"},I={PENDING:"PENDING",PROCESSING:"PROCESSING",COMPLETED:"COMPLETED",FAILED:"FAILED"},S={REQUIRES_PAYMENT:"REQUIRES_PAYMENT",PROCESSING:"PROCESSING",SUCCEEDED:"SUCCEEDED",FAILED:"FAILED",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED"},y={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",EXPIRED:"EXPIRED",REFUNDED:"REFUNDED"},h={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"},se={PENDING:"PENDING",SETTLED:"SETTLED",WAIVED:"WAIVED",VOIDED:"VOIDED",REFUNDED:"REFUNDED"},m={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 a={INCLUDED:"INCLUDED",DISABLED:"DISABLED",PAID_SEPARATELY:"PAID_SEPARATELY"},d={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",UNLISTED:"UNLISTED"},l={FREE:"FREE",PAID:"PAID",SUBSCRIPTION:"SUBSCRIPTION"},g={SELF:"SELF",HIRE:"HIRE"},re={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"},r={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"},T={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED",EXPIRED:"EXPIRED"},ce={FREE_RSVP:"FREE_RSVP",PAID_TICKET:"PAID_TICKET",INVITE:"INVITE"},x={ACTIVE:"ACTIVE",PENDING:"PENDING",NONE:"NONE"},b={UPCOMING:"UPCOMING",LIVE:"LIVE",RECOMMENDED:"RECOMMENDED"},R={UPCOMING:"UPCOMING",LIVE:"LIVE",PAST:"PAST"},N={NGN:"NGN",USD:"USD",GBP:"GBP",EUR:"EUR"},le={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(r),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(a),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()}),Se=f.partial(),v=z$1.object({kind:z$1.enum(m),price:z$1.object({amount:z$1.string(),currency:z$1.string()}).optional()}),ye=z$1.object({id:z$1.uuid(),title:z$1.string(),description:z$1.string(),category:z$1.enum(r),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(a),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(r),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:v.optional(),durationMinutes:z$1.number().int().nonnegative().nullable().optional(),viewer:z$1.object({registration:z$1.enum(x),progressPct:z$1.number().min(0).max(100).optional(),canResume:z$1.boolean().optional()})}),ge=z$1.object({continueWatching:z$1.array(i),liveNow:z$1.array(i),upcoming:z$1.array(i),recommended:z$1.array(i)}),Ae=d$1.extend({category:z$1.enum(r).optional(),accessModel:z$1.enum(l).optional(),section:z$1.enum(b).optional(),q:z$1.string().trim().max(80).optional().transform(n=>n&&n.length>0?n:void 0)}),L=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=e.extend({mode:z$1.literal("SECTION"),section:z$1.enum(b),items:z$1.array(i)}),be=z$1.discriminatedUnion("mode",[L,O]),Re=e.extend({items:z$1.array(i)}),Ie=z$1.object({callbackUrl:z$1.url().optional()}),he=z$1.object({registration:z$1.object({id:z$1.uuid(),eventId:z$1.uuid(),status:z$1.enum(T),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()}),Pe=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()}),M=z$1.object({kind:z$1.literal("REPLAY"),playbackUrl:z$1.url(),expiresAt:z$1.iso.datetime()}),Te=z$1.discriminatedUnion("kind",[U,M]),_=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()}),xe=e.extend({tab:z$1.enum(R),items:z$1.array(_)}),Ne=d$1.extend({tab:z$1.enum(R),q:z$1.string().trim().max(80).optional().transform(n=>n&&n.length>0?n:void 0)}),Ce=z$1.object({sessionId:z$1.string()}),De=z$1.object({ok:z$1.literal(true)}),fe=z$1.object({durationSec:z$1.number().int().min(0)}),C=z$1.discriminatedUnion("access",[z$1.object({access:z$1.literal(a.INCLUDED),retentionDays:z$1.number().int().min(1).max(365)}),z$1.object({access:z$1.literal(a.PAID_SEPARATELY),retentionDays:z$1.number().int().min(1).max(365),price:z$1.number().positive()}),z$1.object({access:z$1.literal(a.DISABLED)})]),k=z$1.enum(N),j=z$1.enum(r),D=z$1.enum(d),V=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:j,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()}),G=z$1.object({step:z$1.literal(2),paid:z$1.literal(false),visibility:D,guestEmails:z$1.array(z$1.email()).max(500).optional(),replay:C}),H=z$1.object({step:z$1.literal(2),paid:z$1.literal(true),visibility:D,guestEmails:z$1.array(z$1.email()).max(500).optional(),ticketPrice:z$1.number().positive(),ticketCurrency:k,ticketLimit:z$1.number().int().positive().nullable(),replay:C}),F=z$1.object({step:z$1.literal(3),mode:z$1.literal(g.SELF)}),w=z$1.object({step:z$1.literal(3),mode:z$1.literal(g.HIRE),crewIds:z$1.array(z$1.uuid()).min(1).max(5),notes:z$1.string().max(500).optional()}),Y=z$1.object({step:z$1.literal(4)}),ve=z$1.object({deviceType:z$1.string().max(50).optional()}),Le=z$1.object({streamEnabled:z$1.boolean()}).strict(),Oe=z$1.union([V,G,H,F,w,Y]),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"),Ue=z$1.object({from:s,to:s,eventId:z$1.uuid().optional(),currency:u.optional()}).strict(),Me=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()}).strict(),_e=z$1.object({from:s,to:s,granularity:z$1.enum(["daily","weekly"]),currency:u.optional()}).strict(),ke=z$1.object({from:s,to:s,currency:u,grossMinor:o,refundsMinor:o,netMinor:o,availableMinor:o,pendingMinor:o}).strict(),B=z$1.object({eventId:z$1.uuid(),eventTitle:z$1.string(),currency:u,grossMinor:o,refundsMinor:o,netMinor:o,firstActivityAt:s,lastActivityAt:s}).strict(),je=z$1.object({items:z$1.array(B),...e.shape}).strict(),W=z$1.object({date:s,grossMinor:o,refundsMinor:o,netMinor:o}).strict(),Ve=z$1.object({granularity:z$1.enum(["daily","weekly"]),currency:u,points:z$1.array(W)}).strict(),q=z$1.enum(["ALL","LIVE","UPCOMING","PAST"]),K=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(r),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()}),Ge=d$1.extend({status:q.default("ALL"),category:z$1.enum(r).optional(),q:z$1.string().trim().max(100).optional().transform(n=>n&&n.length>0?n:void 0)}),He=e.extend({items:z$1.array(K)}),Fe=z$1.object({playbackUrl:z$1.url(),token:z$1.string(),expiresAt:z$1.iso.datetime()});var $e=z$1.object({eventId:z$1.uuid(),amount:z$1.number().min(0)}),Xe=z$1.object({authorizationUrl:z$1.url(),reference:z$1.string(),accessCode:z$1.string().optional()}),Je=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(I),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()}),Ze=z$1.object({reference:z$1.string(),checkoutUrl:z$1.url().nullable(),status:z$1.enum(S),expiresAt:z$1.iso.datetime()}),p=z$1.string().regex(/^\d+(\.\d{1,2})?$/,"Must be a decimal with at most 2 fractional digits"),et=z$1.object({reference:z$1.string(),status:z$1.enum(S),eventId:z$1.uuid(),amount:p,currency:z$1.string(),paidAt:z$1.iso.datetime().nullable()}),tt=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(),Q=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(),$=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(),X=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(),nt=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:Q.optional(),customer:$.optional(),source:X.optional()}).loose()}).loose(),ot=z$1.object({qualified:z$1.boolean(),reason:z$1.enum(h)}),it=z$1.object({reference:z$1.null(),subtotal:p,platformFee:p,total:p,currency:z$1.string().min(3).max(8),strategyId:z$1.string(),expiresInSec:z$1.number().int().positive()}),J=z$1.object({kind:z$1.literal("TRAILER"),trailerUrl:z$1.url()}),Z=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()})}),ee=z$1.discriminatedUnion("kind",[J,Z]),st=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:p.nullable(),replayAccess:z$1.enum(a),replayAccessFee:p.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:ee.nullable(),viewer:z$1.object({entitlement:z$1.enum(P),purchaseCta:z$1.enum(m),activeIntentReference:z$1.string().optional(),requiresAccessCheck:z$1.boolean().optional()})}),at=z$1.object({url:z$1.url(),expiresAt:z$1.iso.datetime(),contentType:z$1.string().min(1)}),te=z$1.object({reference:z$1.string(),amount:z$1.string(),currency:z$1.string(),checkoutUrl:z$1.string().optional()}),ne=z$1.object({id:z$1.string(),eventId:z$1.string(),status:z$1.enum(y),source:z$1.enum(y),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()}),rt=z$1.object({replayPurchase:ne,payment:te.nullable()}),ct=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")}),lt=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()}),ut=z$1.object({pin:z$1.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits")});export{Re as $,Ze as A,Ve as Aa,et as B,q as Ba,tt as C,K as Ca,nt as D,Ge as Da,ot as E,He as Ea,it as F,Fe as Fa,J as G,Z as H,ee as I,st as J,at as K,te as L,ne as M,rt as N,ct as O,lt as P,ut as Q,f as R,Se as S,v as T,ye as U,i as V,ge as W,Ae as X,L as Y,O as Z,be as _,a,Ie as aa,d as b,he as ba,l as c,Pe as ca,g as d,U as da,re as e,M as ea,A as f,Te as fa,r as g,_ as ga,T as h,xe as ha,ce as i,Ne as ia,x as j,Ce as ja,b as k,De as ka,R as l,fe as la,N as m,C as ma,le as n,k as na,oe as o,j as oa,ie as p,D as pa,I as q,ve as qa,S as r,Le as ra,y as s,Oe as sa,h as t,Ue as ta,P as u,Me as ua,se as v,_e as va,m as w,ke as wa,$e as x,B as xa,Xe as y,je as ya,Je as z,W as za};//# sourceMappingURL=chunk-7BM7S4JR.mjs.map
|
|
2
|
-
//# sourceMappingURL=chunk-7BM7S4JR.mjs.map
|