@livdot-tech/contracts 1.11.16 → 1.11.18
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/booking/index.d.mts +73 -1
- package/dist/booking/index.d.ts +73 -1
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chat/index.js +1 -1
- package/dist/chat/index.mjs +1 -1
- package/dist/{chunk-62J2YERL.js → chunk-25WNOA4F.js} +2 -2
- package/dist/{chunk-62J2YERL.js.map → chunk-25WNOA4F.js.map} +1 -1
- package/dist/{chunk-3GRU2QY2.mjs → chunk-5BJU6AZT.mjs} +2 -2
- package/dist/{chunk-3GRU2QY2.mjs.map → chunk-5BJU6AZT.mjs.map} +1 -1
- package/dist/{chunk-MADZSJ55.mjs → chunk-5VUOLH4C.mjs} +2 -2
- package/dist/{chunk-MADZSJ55.mjs.map → chunk-5VUOLH4C.mjs.map} +1 -1
- package/dist/{chunk-JDURRFYB.js → chunk-72SD46VJ.js} +2 -2
- package/dist/{chunk-JDURRFYB.js.map → chunk-72SD46VJ.js.map} +1 -1
- package/dist/{chunk-J3JVMRBC.js → chunk-CTDAR4DG.js} +2 -2
- package/dist/{chunk-J3JVMRBC.js.map → chunk-CTDAR4DG.js.map} +1 -1
- package/dist/{chunk-CEFLZP7Z.mjs → chunk-CTFMAZYM.mjs} +2 -2
- package/dist/{chunk-CEFLZP7Z.mjs.map → chunk-CTFMAZYM.mjs.map} +1 -1
- package/dist/chunk-DJQVVYZA.mjs +2 -0
- package/dist/chunk-DJQVVYZA.mjs.map +1 -0
- package/dist/{chunk-GES7ZVB4.mjs → chunk-EWAVQV4Y.mjs} +2 -2
- package/dist/{chunk-GES7ZVB4.mjs.map → chunk-EWAVQV4Y.mjs.map} +1 -1
- package/dist/{chunk-AHKBIVL2.js → chunk-GLHKOKK6.js} +2 -2
- package/dist/{chunk-AHKBIVL2.js.map → chunk-GLHKOKK6.js.map} +1 -1
- package/dist/{chunk-TH35UAKL.mjs → chunk-IIVGG46P.mjs} +2 -2
- package/dist/{chunk-TH35UAKL.mjs.map → chunk-IIVGG46P.mjs.map} +1 -1
- package/dist/{chunk-YSZFQCNZ.js → chunk-J7KH6FYN.js} +2 -2
- package/dist/{chunk-YSZFQCNZ.js.map → chunk-J7KH6FYN.js.map} +1 -1
- package/dist/chunk-JVL3OXA5.js +2 -0
- package/dist/chunk-JVL3OXA5.js.map +1 -0
- package/dist/{chunk-TIVS5L4Q.mjs → chunk-L4QDS3ET.mjs} +2 -2
- package/dist/{chunk-TIVS5L4Q.mjs.map → chunk-L4QDS3ET.mjs.map} +1 -1
- package/dist/{chunk-NZONR6QG.js → chunk-O3GYEMUB.js} +2 -2
- package/dist/{chunk-NZONR6QG.js.map → chunk-O3GYEMUB.js.map} +1 -1
- package/dist/{chunk-HUUFOX77.mjs → chunk-O4RMQ6ZJ.mjs} +2 -2
- package/dist/{chunk-HUUFOX77.mjs.map → chunk-O4RMQ6ZJ.mjs.map} +1 -1
- package/dist/{chunk-M3F2FI4M.mjs → chunk-OSBJQHJN.mjs} +2 -2
- package/dist/{chunk-M3F2FI4M.mjs.map → chunk-OSBJQHJN.mjs.map} +1 -1
- package/dist/{chunk-US4H7HB4.mjs → chunk-PLKRQ3Z3.mjs} +2 -2
- package/dist/{chunk-US4H7HB4.mjs.map → chunk-PLKRQ3Z3.mjs.map} +1 -1
- package/dist/{chunk-EYYN73UK.js → chunk-QZMRMFXE.js} +2 -2
- package/dist/{chunk-EYYN73UK.js.map → chunk-QZMRMFXE.js.map} +1 -1
- package/dist/{chunk-6SDVUWDK.js → chunk-RMOFKGOI.js} +2 -2
- package/dist/chunk-RMOFKGOI.js.map +1 -0
- package/dist/{chunk-U5WMJEXE.js → chunk-WMEFCQGU.js} +2 -2
- package/dist/{chunk-U5WMJEXE.js.map → chunk-WMEFCQGU.js.map} +1 -1
- package/dist/chunk-ZPTDZLEW.mjs +2 -0
- package/dist/chunk-ZPTDZLEW.mjs.map +1 -0
- package/dist/{chunk-RUNVE7DS.js → chunk-ZYLTIJXP.js} +2 -2
- package/dist/{chunk-RUNVE7DS.js.map → chunk-ZYLTIJXP.js.map} +1 -1
- package/dist/common/index.d.mts +10 -0
- package/dist/common/index.d.ts +10 -0
- package/dist/common/index.js +1 -1
- package/dist/common/index.mjs +1 -1
- package/dist/dispute/index.js +1 -1
- package/dist/dispute/index.mjs +1 -1
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/host/index.d.mts +5 -0
- package/dist/host/index.d.ts +5 -0
- package/dist/host/index.js +1 -1
- package/dist/host/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -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.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-6SDVUWDK.js.map +0 -1
- package/dist/chunk-AFHPPDY5.mjs +0 -2
- package/dist/chunk-AFHPPDY5.mjs.map +0 -1
- package/dist/chunk-VK3CYFOR.mjs +0 -2
- package/dist/chunk-VK3CYFOR.mjs.map +0 -1
- package/dist/chunk-Y7LGLL7F.js +0 -2
- package/dist/chunk-Y7LGLL7F.js.map +0 -1
package/dist/auth/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkWMEFCQGU_js=require('../chunk-WMEFCQGU.js');require('../chunk-25WNOA4F.js'),require('../chunk-QZMRMFXE.js'),require('../chunk-72SD46VJ.js'),require('../chunk-CTDAR4DG.js'),require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.s}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.E}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.K}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.J}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.p}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.q}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunkWMEFCQGU_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunkWMEFCQGU_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.z}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.o}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunkWMEFCQGU_js.G}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.L}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.M}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.w}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.v}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.D}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.x}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.y}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.A}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunkWMEFCQGU_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.t}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.u}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.B}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.C}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.F}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.I}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.n}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.r}});Object.defineProperty(exports,"SwitchProfileRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.l}});Object.defineProperty(exports,"SwitchProfileResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.m}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.H}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkWMEFCQGU_js.j}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/auth/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{s as ChangePasswordRequestSchema,E as ConfirmPasswordSchema,K as DisableMfaBodySchema,J as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,G as MFA_ACTIONS,L as MfaChallengeBodySchema,M as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,F as ReauthTokenResponseSchema,I as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,H as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-
|
|
1
|
+
export{s as ChangePasswordRequestSchema,E as ConfirmPasswordSchema,K as DisableMfaBodySchema,J as EnableMfaBodySchema,p as ForgotPasswordRequestSchema,q as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,z as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,o as LogoutRequestSchema,G as MFA_ACTIONS,L as MfaChallengeBodySchema,M as MfaVerifyBodySchema,w as OauthDirectTokenRequestSchema,v as OauthExchangeRequestSchema,D as OauthLinkCompleteEmailRequestSchema,x as OauthLinkCompleteRequestSchema,y as OauthLinkSendOtpRequestSchema,A as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,t as OauthStartQuerySchema,u as OauthStartResponseSchema,d as PasswordSchema,B as ProvidersListItemSchema,C as ProvidersListResponseSchema,F as ReauthTokenResponseSchema,I as RecoveryCodeSchema,n as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,r as ResetPasswordRequestSchema,l as SwitchProfileRequestSchema,m as SwitchProfileResponseSchema,H as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-CTFMAZYM.mjs';import'../chunk-O4RMQ6ZJ.mjs';import'../chunk-5BJU6AZT.mjs';import'../chunk-IIVGG46P.mjs';import'../chunk-PLKRQ3Z3.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/booking/index.d.mts
CHANGED
|
@@ -1837,6 +1837,27 @@ declare const UpdateEventCrewAssignmentRequestSchema: z.ZodObject<{
|
|
|
1837
1837
|
}>>;
|
|
1838
1838
|
notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1839
1839
|
}, z.core.$strip>;
|
|
1840
|
+
/** `POST /host/events/:eventId/crew-assignments/:id/replace` */
|
|
1841
|
+
declare const ReplaceEventCrewAssignmentRequestSchema: z.ZodObject<{
|
|
1842
|
+
producerId: z.ZodUUID;
|
|
1843
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1844
|
+
responsibilities: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
requirements: z.ZodOptional<z.ZodString>;
|
|
1846
|
+
compensation: z.ZodOptional<z.ZodObject<{
|
|
1847
|
+
amountMinor: z.ZodString;
|
|
1848
|
+
currency: z.ZodEnum<{
|
|
1849
|
+
readonly NGN: "NGN";
|
|
1850
|
+
readonly USD: "USD";
|
|
1851
|
+
readonly GBP: "GBP";
|
|
1852
|
+
readonly EUR: "EUR";
|
|
1853
|
+
}>;
|
|
1854
|
+
}, z.core.$strip>>;
|
|
1855
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
1856
|
+
readonly ONSITE: "ONSITE";
|
|
1857
|
+
readonly REMOTE: "REMOTE";
|
|
1858
|
+
}>>;
|
|
1859
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1860
|
+
}, z.core.$strip>;
|
|
1840
1861
|
declare const EventCrewAssignmentProducerSummarySchema: z.ZodObject<{
|
|
1841
1862
|
id: z.ZodUUID;
|
|
1842
1863
|
companyName: z.ZodString;
|
|
@@ -1991,6 +2012,55 @@ declare const AcceptEventCrewAssignmentResponseSchema: z.ZodObject<{
|
|
|
1991
2012
|
}, z.core.$strip>;
|
|
1992
2013
|
bookingId: z.ZodUUID;
|
|
1993
2014
|
}, z.core.$strip>;
|
|
2015
|
+
declare const ReplaceEventCrewAssignmentResponseSchema: z.ZodObject<{
|
|
2016
|
+
assignment: z.ZodObject<{
|
|
2017
|
+
id: z.ZodUUID;
|
|
2018
|
+
eventId: z.ZodUUID;
|
|
2019
|
+
hostId: z.ZodUUID;
|
|
2020
|
+
producerId: z.ZodUUID;
|
|
2021
|
+
role: z.ZodString;
|
|
2022
|
+
responsibilities: z.ZodString;
|
|
2023
|
+
requirements: z.ZodString;
|
|
2024
|
+
compensation: z.ZodObject<{
|
|
2025
|
+
amountMinor: z.ZodString;
|
|
2026
|
+
currency: z.ZodEnum<{
|
|
2027
|
+
readonly NGN: "NGN";
|
|
2028
|
+
readonly USD: "USD";
|
|
2029
|
+
readonly GBP: "GBP";
|
|
2030
|
+
readonly EUR: "EUR";
|
|
2031
|
+
}>;
|
|
2032
|
+
}, z.core.$strip>;
|
|
2033
|
+
location: z.ZodEnum<{
|
|
2034
|
+
readonly ONSITE: "ONSITE";
|
|
2035
|
+
readonly REMOTE: "REMOTE";
|
|
2036
|
+
}>;
|
|
2037
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
2038
|
+
state: z.ZodEnum<{
|
|
2039
|
+
readonly DRAFT: "DRAFT";
|
|
2040
|
+
readonly INVITED: "INVITED";
|
|
2041
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
2042
|
+
readonly REJECTED: "REJECTED";
|
|
2043
|
+
readonly CANCELLED: "CANCELLED";
|
|
2044
|
+
readonly EXPIRED: "EXPIRED";
|
|
2045
|
+
}>;
|
|
2046
|
+
bookingId: z.ZodNullable<z.ZodUUID>;
|
|
2047
|
+
invitedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2048
|
+
respondedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2049
|
+
rejectReason: z.ZodNullable<z.ZodString>;
|
|
2050
|
+
createdAt: z.ZodISODateTime;
|
|
2051
|
+
updatedAt: z.ZodISODateTime;
|
|
2052
|
+
producer: z.ZodOptional<z.ZodObject<{
|
|
2053
|
+
id: z.ZodUUID;
|
|
2054
|
+
companyName: z.ZodString;
|
|
2055
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
2056
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
2057
|
+
producerIsVerified: z.ZodBoolean;
|
|
2058
|
+
}, z.core.$strip>>;
|
|
2059
|
+
eventTitle: z.ZodOptional<z.ZodString>;
|
|
2060
|
+
eventScheduledStartLocal: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
2061
|
+
}, z.core.$strip>;
|
|
2062
|
+
replacedBookingId: z.ZodUUID;
|
|
2063
|
+
}, z.core.$strip>;
|
|
1994
2064
|
|
|
1995
2065
|
type CreateEventCrewAssignmentRequest = z.infer<typeof CreateEventCrewAssignmentRequestSchema>;
|
|
1996
2066
|
type UpdateEventCrewAssignmentRequest = z.infer<typeof UpdateEventCrewAssignmentRequestSchema>;
|
|
@@ -1998,5 +2068,7 @@ type EventCrewAssignmentResponse = z.infer<typeof EventCrewAssignmentResponseSch
|
|
|
1998
2068
|
type ListEventCrewAssignmentsResponse = z.infer<typeof ListEventCrewAssignmentsResponseSchema>;
|
|
1999
2069
|
type RejectEventCrewAssignmentRequest = z.infer<typeof RejectEventCrewAssignmentRequestSchema>;
|
|
2000
2070
|
type AcceptEventCrewAssignmentResponse = z.infer<typeof AcceptEventCrewAssignmentResponseSchema>;
|
|
2071
|
+
type ReplaceEventCrewAssignmentRequest = z.infer<typeof ReplaceEventCrewAssignmentRequestSchema>;
|
|
2072
|
+
type ReplaceEventCrewAssignmentResponse = z.infer<typeof ReplaceEventCrewAssignmentResponseSchema>;
|
|
2001
2073
|
|
|
2002
|
-
export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
|
|
2074
|
+
export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentRequest, ReplaceEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentResponse, ReplaceEventCrewAssignmentResponseSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
|
package/dist/booking/index.d.ts
CHANGED
|
@@ -1837,6 +1837,27 @@ declare const UpdateEventCrewAssignmentRequestSchema: z.ZodObject<{
|
|
|
1837
1837
|
}>>;
|
|
1838
1838
|
notes: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1839
1839
|
}, z.core.$strip>;
|
|
1840
|
+
/** `POST /host/events/:eventId/crew-assignments/:id/replace` */
|
|
1841
|
+
declare const ReplaceEventCrewAssignmentRequestSchema: z.ZodObject<{
|
|
1842
|
+
producerId: z.ZodUUID;
|
|
1843
|
+
role: z.ZodOptional<z.ZodString>;
|
|
1844
|
+
responsibilities: z.ZodOptional<z.ZodString>;
|
|
1845
|
+
requirements: z.ZodOptional<z.ZodString>;
|
|
1846
|
+
compensation: z.ZodOptional<z.ZodObject<{
|
|
1847
|
+
amountMinor: z.ZodString;
|
|
1848
|
+
currency: z.ZodEnum<{
|
|
1849
|
+
readonly NGN: "NGN";
|
|
1850
|
+
readonly USD: "USD";
|
|
1851
|
+
readonly GBP: "GBP";
|
|
1852
|
+
readonly EUR: "EUR";
|
|
1853
|
+
}>;
|
|
1854
|
+
}, z.core.$strip>>;
|
|
1855
|
+
location: z.ZodOptional<z.ZodEnum<{
|
|
1856
|
+
readonly ONSITE: "ONSITE";
|
|
1857
|
+
readonly REMOTE: "REMOTE";
|
|
1858
|
+
}>>;
|
|
1859
|
+
notes: z.ZodOptional<z.ZodString>;
|
|
1860
|
+
}, z.core.$strip>;
|
|
1840
1861
|
declare const EventCrewAssignmentProducerSummarySchema: z.ZodObject<{
|
|
1841
1862
|
id: z.ZodUUID;
|
|
1842
1863
|
companyName: z.ZodString;
|
|
@@ -1991,6 +2012,55 @@ declare const AcceptEventCrewAssignmentResponseSchema: z.ZodObject<{
|
|
|
1991
2012
|
}, z.core.$strip>;
|
|
1992
2013
|
bookingId: z.ZodUUID;
|
|
1993
2014
|
}, z.core.$strip>;
|
|
2015
|
+
declare const ReplaceEventCrewAssignmentResponseSchema: z.ZodObject<{
|
|
2016
|
+
assignment: z.ZodObject<{
|
|
2017
|
+
id: z.ZodUUID;
|
|
2018
|
+
eventId: z.ZodUUID;
|
|
2019
|
+
hostId: z.ZodUUID;
|
|
2020
|
+
producerId: z.ZodUUID;
|
|
2021
|
+
role: z.ZodString;
|
|
2022
|
+
responsibilities: z.ZodString;
|
|
2023
|
+
requirements: z.ZodString;
|
|
2024
|
+
compensation: z.ZodObject<{
|
|
2025
|
+
amountMinor: z.ZodString;
|
|
2026
|
+
currency: z.ZodEnum<{
|
|
2027
|
+
readonly NGN: "NGN";
|
|
2028
|
+
readonly USD: "USD";
|
|
2029
|
+
readonly GBP: "GBP";
|
|
2030
|
+
readonly EUR: "EUR";
|
|
2031
|
+
}>;
|
|
2032
|
+
}, z.core.$strip>;
|
|
2033
|
+
location: z.ZodEnum<{
|
|
2034
|
+
readonly ONSITE: "ONSITE";
|
|
2035
|
+
readonly REMOTE: "REMOTE";
|
|
2036
|
+
}>;
|
|
2037
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
2038
|
+
state: z.ZodEnum<{
|
|
2039
|
+
readonly DRAFT: "DRAFT";
|
|
2040
|
+
readonly INVITED: "INVITED";
|
|
2041
|
+
readonly ACCEPTED: "ACCEPTED";
|
|
2042
|
+
readonly REJECTED: "REJECTED";
|
|
2043
|
+
readonly CANCELLED: "CANCELLED";
|
|
2044
|
+
readonly EXPIRED: "EXPIRED";
|
|
2045
|
+
}>;
|
|
2046
|
+
bookingId: z.ZodNullable<z.ZodUUID>;
|
|
2047
|
+
invitedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2048
|
+
respondedAt: z.ZodNullable<z.ZodISODateTime>;
|
|
2049
|
+
rejectReason: z.ZodNullable<z.ZodString>;
|
|
2050
|
+
createdAt: z.ZodISODateTime;
|
|
2051
|
+
updatedAt: z.ZodISODateTime;
|
|
2052
|
+
producer: z.ZodOptional<z.ZodObject<{
|
|
2053
|
+
id: z.ZodUUID;
|
|
2054
|
+
companyName: z.ZodString;
|
|
2055
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
2056
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
2057
|
+
producerIsVerified: z.ZodBoolean;
|
|
2058
|
+
}, z.core.$strip>>;
|
|
2059
|
+
eventTitle: z.ZodOptional<z.ZodString>;
|
|
2060
|
+
eventScheduledStartLocal: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
2061
|
+
}, z.core.$strip>;
|
|
2062
|
+
replacedBookingId: z.ZodUUID;
|
|
2063
|
+
}, z.core.$strip>;
|
|
1994
2064
|
|
|
1995
2065
|
type CreateEventCrewAssignmentRequest = z.infer<typeof CreateEventCrewAssignmentRequestSchema>;
|
|
1996
2066
|
type UpdateEventCrewAssignmentRequest = z.infer<typeof UpdateEventCrewAssignmentRequestSchema>;
|
|
@@ -1998,5 +2068,7 @@ type EventCrewAssignmentResponse = z.infer<typeof EventCrewAssignmentResponseSch
|
|
|
1998
2068
|
type ListEventCrewAssignmentsResponse = z.infer<typeof ListEventCrewAssignmentsResponseSchema>;
|
|
1999
2069
|
type RejectEventCrewAssignmentRequest = z.infer<typeof RejectEventCrewAssignmentRequestSchema>;
|
|
2000
2070
|
type AcceptEventCrewAssignmentResponse = z.infer<typeof AcceptEventCrewAssignmentResponseSchema>;
|
|
2071
|
+
type ReplaceEventCrewAssignmentRequest = z.infer<typeof ReplaceEventCrewAssignmentRequestSchema>;
|
|
2072
|
+
type ReplaceEventCrewAssignmentResponse = z.infer<typeof ReplaceEventCrewAssignmentResponseSchema>;
|
|
2001
2073
|
|
|
2002
|
-
export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
|
|
2074
|
+
export { type AcceptEventCrewAssignmentResponse, AcceptEventCrewAssignmentResponseSchema, type AdminBookingAuditEntry, AdminBookingAuditEntrySchema, type AdminBookingAuditResponse, AdminBookingAuditResponseSchema, BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingAuditAction, BookingAuditActorSchema, type BookingAuditAttachmentAddedDetails, BookingAuditAttachmentAddedDetailsSchema, type BookingAuditMessageSentDetails, BookingAuditMessageSentDetailsSchema, BookingAuditRequestMetadataSchema, BookingAuditSnapshotSchema, type BookingAuditStateTransitionDetails, BookingAuditStateTransitionDetailsSchema, BookingOrigin, BookingPaymentStatus, type BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, type BookingTransitionKey, type CancelMarketplaceJobListingRequest, CancelMarketplaceJobListingRequestSchema, type CancelMarketplaceJobListingResponse, CancelMarketplaceJobListingResponseSchema, type CloseMarketplaceJobListingResponse, CloseMarketplaceJobListingResponseSchema, type CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateEventCrewAssignmentRequest, CreateEventCrewAssignmentRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, EventCrewAssignmentProducerSummarySchema, type EventCrewAssignmentResponse, EventCrewAssignmentResponseSchema, EventCrewAssignmentState, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListEventCrewAssignmentsResponse, ListEventCrewAssignmentsResponseSchema, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, type ListProducerJobsQuery, ListProducerJobsQuerySchema, type ListProducerMarketplaceIndicationsQuery, ListProducerMarketplaceIndicationsQuerySchema, type ListProducerReviewsQuery, ListProducerReviewsQuerySchema, type MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, type MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, type MarketplaceBookingResponse, MarketplaceBookingResponseSchema, type MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, type MarketplaceHiringThread, type MarketplaceHiringThreadInboxItem, MarketplaceHiringThreadInboxItemSchema, MarketplaceHiringThreadSchema, type MarketplaceHostIndicationOfInterestInboxItem, MarketplaceHostIndicationOfInterestInboxItemSchema, type MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, type MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, type MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, type MarketplaceProducerIndicationOfInterestInboxItem, MarketplaceProducerIndicationOfInterestInboxItemSchema, type MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type OpenMarketplaceJobListingResponse, OpenMarketplaceJobListingResponseSchema, type PagedProducerReviewsResponse, PagedProducerReviewsResponseSchema, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerJobRow, type ProducerJobRowKind, ProducerJobRowKindSchema, ProducerJobRowSchema, type ProducerJobRowStatus, ProducerJobRowStatusSchema, type ProducerJobsTab, type ProducerJobsTabCountsResponse, ProducerJobsTabCountsResponseSchema, type ProducerJobsTabResponse, ProducerJobsTabResponseSchema, ProducerJobsTabSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, type RejectEventCrewAssignmentRequest, RejectEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentRequest, ReplaceEventCrewAssignmentRequestSchema, type ReplaceEventCrewAssignmentResponse, ReplaceEventCrewAssignmentResponseSchema, SortOrder, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateEventCrewAssignmentRequest, UpdateEventCrewAssignmentRequestSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, type UploadMarketplaceHiringThreadAttachmentResponse, UploadMarketplaceHiringThreadAttachmentResponseSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
|
package/dist/booking/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunk6SDVUWDK_js=require('../chunk-6SDVUWDK.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunkJDURRFYB_js=require('../chunk-JDURRFYB.js');require('../chunk-NZONR6QG.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Ba}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.sa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ta}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunk6SDVUWDK_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunk6SDVUWDK_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunk6SDVUWDK_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ma}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ra}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.qa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.na}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.oa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.pa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.G}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.H}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.w}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.y}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.va}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.t}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.z}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.xa}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ya}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ua}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.x}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Z}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunk6SDVUWDK_js.N}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunk6SDVUWDK_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunk6SDVUWDK_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.za}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.C}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.X}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ea}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.B}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ia}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.R}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ba}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ca}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.s}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.V}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.da}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.U}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.F}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.S}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunk6SDVUWDK_js.T}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.J}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js._}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.$}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ha}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ja}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ga}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.la}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.ka}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.fa}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.E}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.D}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.Aa}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunk6SDVUWDK_js.O}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.u}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.v}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.wa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.A}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunk6SDVUWDK_js.aa}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunk6SDVUWDK_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunk6SDVUWDK_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunk6SDVUWDK_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunk6SDVUWDK_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunk6SDVUWDK_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunk6SDVUWDK_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunk6SDVUWDK_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunkJDURRFYB_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunkJDURRFYB_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkJDURRFYB_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunkJDURRFYB_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkJDURRFYB_js.c}});//# sourceMappingURL=index.js.map
|
|
1
|
+
'use strict';var chunkRMOFKGOI_js=require('../chunk-RMOFKGOI.js'),chunkFG6EV3WQ_js=require('../chunk-FG6EV3WQ.js');require('../chunk-EAKBQ5VD.js');var chunk72SD46VJ_js=require('../chunk-72SD46VJ.js');require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"AcceptEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Ca}});Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.sa}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ta}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkRMOFKGOI_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkRMOFKGOI_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkRMOFKGOI_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ma}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ra}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.qa}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.na}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.oa}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.pa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.G}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.H}});Object.defineProperty(exports,"CloseMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.I}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.w}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.y}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.k}});Object.defineProperty(exports,"CreateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.va}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.r}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.t}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.z}});Object.defineProperty(exports,"EventCrewAssignmentProducerSummarySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ya}});Object.defineProperty(exports,"EventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.za}});Object.defineProperty(exports,"EventCrewAssignmentState",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ua}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.x}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Z}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkRMOFKGOI_js.N}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkRMOFKGOI_js.q}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkRMOFKGOI_js.p}});Object.defineProperty(exports,"ListEventCrewAssignmentsResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Aa}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.C}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.X}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Y}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ea}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.B}});Object.defineProperty(exports,"ListProducerJobsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ia}});Object.defineProperty(exports,"ListProducerMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.R}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ba}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ca}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.s}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.V}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.W}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.da}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.U}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.F}});Object.defineProperty(exports,"MarketplaceProducerIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.S}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkRMOFKGOI_js.T}});Object.defineProperty(exports,"OpenMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.J}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js._}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.$}});Object.defineProperty(exports,"ProducerJobRowKindSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ha}});Object.defineProperty(exports,"ProducerJobRowSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ja}});Object.defineProperty(exports,"ProducerJobRowStatusSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ga}});Object.defineProperty(exports,"ProducerJobsTabCountsResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.la}});Object.defineProperty(exports,"ProducerJobsTabResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.ka}});Object.defineProperty(exports,"ProducerJobsTabSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.fa}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.E}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.D}});Object.defineProperty(exports,"RejectEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Ba}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.xa}});Object.defineProperty(exports,"ReplaceEventCrewAssignmentResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.Da}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkRMOFKGOI_js.O}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.u}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.v}});Object.defineProperty(exports,"UpdateEventCrewAssignmentRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.wa}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.A}});Object.defineProperty(exports,"UploadMarketplaceHiringThreadAttachmentResponseSchema",{enumerable:true,get:function(){return chunkRMOFKGOI_js.aa}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkRMOFKGOI_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkRMOFKGOI_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkRMOFKGOI_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkRMOFKGOI_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkRMOFKGOI_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkRMOFKGOI_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkRMOFKGOI_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkFG6EV3WQ_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.a}});Object.defineProperty(exports,"ListProducerReviewsQuerySchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.d}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.b}});Object.defineProperty(exports,"PagedProducerReviewsResponseSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.e}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunk72SD46VJ_js.c}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/booking/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{Ca as AcceptEventCrewAssignmentResponseSchema,sa as AdminBookingAuditEntrySchema,ta as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,ma as BookingAuditActorSchema,ra as BookingAuditAttachmentAddedDetailsSchema,qa as BookingAuditMessageSentDetailsSchema,na as BookingAuditRequestMetadataSchema,oa as BookingAuditSnapshotSchema,pa as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,G as CancelMarketplaceJobListingRequestSchema,H as CancelMarketplaceJobListingResponseSchema,I as CloseMarketplaceJobListingResponseSchema,w as CompleteMarketplaceBookingRequestSchema,y as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,va as CreateEventCrewAssignmentRequestSchema,n as CreateJobListingRequestSchema,r as CreateMarketplaceBookingRequestSchema,t as CreateMarketplaceBookingResponseSchema,z as CreateMarketplaceJobListingRequestSchema,ya as EventCrewAssignmentProducerSummarySchema,za as EventCrewAssignmentResponseSchema,ua as EventCrewAssignmentState,x as ForceCompleteMarketplaceBookingRequestSchema,Z as GetMarketplaceHiringThreadResponseSchema,N as HostIndicationOfInterestSortBy,q as JobListingCompensationTier,o as JobListingResponseSchema,p as JobLocation,Aa as ListEventCrewAssignmentsResponseSchema,P as ListHostMarketplaceIndicationsQuerySchema,C as ListHostMarketplaceJobListingsQuerySchema,X as ListMarketplaceHiringThreadMessagesQuerySchema,Y as ListMarketplaceHiringThreadMessagesResponseSchema,ea as ListMarketplaceHiringThreadsResponseSchema,B as ListMarketplaceJobListingsQuerySchema,ia as ListProducerJobsQuerySchema,R as ListProducerMarketplaceIndicationsQuerySchema,ba as MarkMarketplaceHiringThreadReadRequestSchema,ca as MarkMarketplaceHiringThreadReadResponseSchema,s as MarketplaceBookingResponseSchema,V as MarketplaceHiringMessageAttachmentSchema,W as MarketplaceHiringMessageSchema,da as MarketplaceHiringThreadInboxItemSchema,U as MarketplaceHiringThreadSchema,Q as MarketplaceHostIndicationOfInterestInboxItemSchema,M as MarketplaceIndicationOfInterestHostItemSchema,L as MarketplaceIndicationOfInterestResponseSchema,F as MarketplaceJobListingResponseSchema,S as MarketplaceProducerIndicationOfInterestInboxItemSchema,T as MessageDeliveryStatus,J as OpenMarketplaceJobListingResponseSchema,_ as PostMarketplaceHiringThreadMessageRequestSchema,$ as PostMarketplaceHiringThreadMessageResponseSchema,ha as ProducerJobRowKindSchema,ja as ProducerJobRowSchema,ga as ProducerJobRowStatusSchema,la as ProducerJobsTabCountsResponseSchema,ka as ProducerJobsTabResponseSchema,fa as ProducerJobsTabSchema,E as PublishMarketplaceJobListingResponseSchema,D as PublishReadyJobListingSchema,Ba as RejectEventCrewAssignmentRequestSchema,xa as ReplaceEventCrewAssignmentRequestSchema,Da as ReplaceEventCrewAssignmentResponseSchema,O as SortOrder,K as SubmitMarketplaceIndicationOfInterestRequestSchema,u as TransitionMarketplaceBookingRequestSchema,v as TransitionMarketplaceBookingResponseSchema,wa as UpdateEventCrewAssignmentRequestSchema,A as UpdateMarketplaceJobListingRequestSchema,aa as UploadMarketplaceHiringThreadAttachmentResponseSchema,b as VALID_BOOKING_TRANSITIONS,e as bookingTransitionKey,j as bookingTransitionRequiresReason,i as canActorPerformBookingTransition,f as getAllowedBookingTargetStates,h as getBookingTransitionActors,g as isValidBookingTransition}from'../chunk-DJQVVYZA.mjs';export{g as BookingAuditAction,a as BookingOrigin,e as BookingPaymentStatus,b as BookingState,f as BookingTransitionActor,d as IoiState,c as JobListingState}from'../chunk-B7B7YFFC.mjs';import'../chunk-ASVBPXYH.mjs';export{a as CreateMarketplaceReviewRequestSchema,d as ListProducerReviewsQuerySchema,b as MarketplaceReviewResponseSchema,e as PagedProducerReviewsResponseSchema,c as ProducerRecentReviewSchema}from'../chunk-IIVGG46P.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/chat/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkZYLTIJXP_js=require('../chunk-ZYLTIJXP.js');require('../chunk-O3GYEMUB.js');Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MAX_LENGTH",{enumerable:true,get:function(){return chunkZYLTIJXP_js.b}});Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MIN_LENGTH",{enumerable:true,get:function(){return chunkZYLTIJXP_js.a}});Object.defineProperty(exports,"CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS",{enumerable:true,get:function(){return chunkZYLTIJXP_js.d}});Object.defineProperty(exports,"CHAT_MODERATION_REASON_MAX_LENGTH",{enumerable:true,get:function(){return chunkZYLTIJXP_js.c}});Object.defineProperty(exports,"ChatCredentialsResponseSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.l}});Object.defineProperty(exports,"ChatHistoryResponseSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.g}});Object.defineProperty(exports,"ChatMessageSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.f}});Object.defineProperty(exports,"ChatMessageUserSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.e}});Object.defineProperty(exports,"ChatModerationDeleteRequestSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.i}});Object.defineProperty(exports,"ChatModerationMuteRequestSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.j}});Object.defineProperty(exports,"ChatMuteStateResponseSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.k}});Object.defineProperty(exports,"InProcessChatCredentialsSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.m}});Object.defineProperty(exports,"IvsChatCredentialsSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.n}});Object.defineProperty(exports,"PostChatMessageRequestSchema",{enumerable:true,get:function(){return chunkZYLTIJXP_js.h}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/chat/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as CHAT_MESSAGE_BODY_MAX_LENGTH,a as CHAT_MESSAGE_BODY_MIN_LENGTH,d as CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS,c as CHAT_MODERATION_REASON_MAX_LENGTH,l as ChatCredentialsResponseSchema,g as ChatHistoryResponseSchema,f as ChatMessageSchema,e as ChatMessageUserSchema,i as ChatModerationDeleteRequestSchema,j as ChatModerationMuteRequestSchema,k as ChatMuteStateResponseSchema,m as InProcessChatCredentialsSchema,n as IvsChatCredentialsSchema,h as PostChatMessageRequestSchema}from'../chunk-
|
|
1
|
+
export{b as CHAT_MESSAGE_BODY_MAX_LENGTH,a as CHAT_MESSAGE_BODY_MIN_LENGTH,d as CHAT_MESSAGE_VIDEO_OFFSET_MAX_SECONDS,c as CHAT_MODERATION_REASON_MAX_LENGTH,l as ChatCredentialsResponseSchema,g as ChatHistoryResponseSchema,f as ChatMessageSchema,e as ChatMessageUserSchema,i as ChatModerationDeleteRequestSchema,j as ChatModerationMuteRequestSchema,k as ChatMuteStateResponseSchema,m as InProcessChatCredentialsSchema,n as IvsChatCredentialsSchema,h as PostChatMessageRequestSchema}from'../chunk-5VUOLH4C.mjs';import'../chunk-L4QDS3ET.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
'use strict';var chunkQZMRMFXE_js=require('./chunk-QZMRMFXE.js'),chunkCTDAR4DG_js=require('./chunk-CTDAR4DG.js'),zod=require('zod');var u=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),businessName:zod.z.string(),totalEvents:zod.z.number(),totalSpent:zod.z.number(),averageRating:zod.z.number(),totalReviews:zod.z.number().int().nonnegative(),defaultCurrency:zod.z.string(),description:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkCTDAR4DG_js.g)),logoUrl:zod.z.url().optional(),hasPin:zod.z.boolean(),businessRegNumber:zod.z.string().optional(),taxId:zod.z.string().optional(),settlementBankCode:zod.z.string().optional(),settlementAccountNumber:zod.z.string().optional(),settlementAccountName:zod.z.string().optional(),paystackSubaccountCode:zod.z.string().optional(),createdAt:zod.z.iso.datetime()}),d=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),companyName:zod.z.string(),bio:zod.z.string(),yearsExperience:zod.z.number().optional(),experienceLevel:zod.z.enum(chunkQZMRMFXE_js.h),equipmentManifest:zod.z.array(zod.z.record(zod.z.string(),zod.z.any())),serviceCategories:zod.z.array(chunkQZMRMFXE_js.n),equipmentItems:zod.z.array(chunkQZMRMFXE_js.n),verificationStatus:zod.z.enum(chunkQZMRMFXE_js.g),averageRating:zod.z.number().positive().multipleOf(.01),totalReviews:zod.z.number(),completionRate:zod.z.number(),isAvailable:zod.z.boolean(),hasPin:zod.z.boolean(),createdAt:zod.z.iso.datetime()}),R=zod.z.object({id:zod.z.uuid(),email:zod.z.email().toLowerCase(),emailVerified:zod.z.boolean(),emailVerifiedAt:zod.z.iso.datetime().optional(),phoneNumber:zod.z.string().optional(),firstName:zod.z.string().optional(),lastName:zod.z.string().optional(),displayName:zod.z.string().optional(),avatarUrl:zod.z.url().optional(),role:zod.z.number().min(1).max(15),accountStatus:zod.z.enum(chunkQZMRMFXE_js.b),kycStatus:zod.z.enum(chunkQZMRMFXE_js.c),hostProfile:u.optional(),producerProfile:d.optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),eventCategory:zod.z.array(zod.z.enum(chunkCTDAR4DG_js.g)).optional()}),N=zod.z.object({firstName:zod.z.string().optional(),lastName:zod.z.string().optional(),displayName:zod.z.string().optional(),avatarUrl:zod.z.url().optional(),phoneNumber:zod.z.string().optional(),eventCategory:zod.z.array(zod.z.enum(chunkCTDAR4DG_js.g)).optional()}),v=zod.z.object({businessName:zod.z.string(),description:zod.z.string().optional(),logoUrl:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkCTDAR4DG_js.g)).min(1)}),C=zod.z.object({businessName:zod.z.string().min(1).max(120).optional(),description:zod.z.string().max(2e3).optional(),logoUrl:zod.z.string().optional(),category:zod.z.array(zod.z.enum(chunkCTDAR4DG_js.g)).min(1).optional(),businessRegNumber:zod.z.string().max(64).optional(),taxId:zod.z.string().max(64).optional()}),P=zod.z.object({companyName:zod.z.string(),bio:zod.z.string(),logoUrl:zod.z.string().optional(),serviceCategoryIds:zod.z.array(zod.z.uuid()).optional(),serviceCategoryCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),equipmentItemIds:zod.z.array(zod.z.uuid()).optional(),equipmentItemCodes:zod.z.array(zod.z.string().min(1).max(64)).optional(),yearsExperience:zod.z.number(),experienceLevel:zod.z.enum(chunkQZMRMFXE_js.h),minFee:zod.z.number(),maxFee:zod.z.number(),isAvailable:zod.z.boolean()}),E=zod.z.object({pin:zod.z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits"),currentPin:zod.z.string().trim().regex(/^\d{4,8}$/,"currentPin must be 4-8 digits").optional()}),g=new Set(["admin","support","livdot","host","producer","system","null","undefined","me","settings","viewer","auth","events","streaming","producers","marketplace","users"]),b=zod.z.string().trim().toLowerCase().min(3,"Display name must be at least 3 characters").max(30,"Display name must be at most 30 characters").regex(/^[a-z0-9_]+$/,"Display name may only contain lowercase letters, digits, and underscores").refine(r=>!g.has(r),{message:"This display name is reserved"}),j=zod.z.object({displayName:b}).strict(),A=zod.z.object({preferredCurrency:zod.z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),l=zod.z.enum([chunkQZMRMFXE_js.f.LIVE_ALERTS,chunkQZMRMFXE_js.f.RECOMMENDATIONS,chunkQZMRMFXE_js.f.EVENT_REMINDERS]),y=zod.z.object({category:l,enabled:zod.z.boolean()}),U=zod.z.object({preferences:zod.z.array(y).min(1).max(10).refine(r=>new Set(r.map(p=>p.category)).size===r.length,{message:"Duplicate category in preferences"})}).strict(),I=zod.z.object({category:zod.z.enum(chunkQZMRMFXE_js.e),message:zod.z.string().trim().min(10).max(2e3)}).strict(),q=zod.z.object({id:zod.z.uuid(),email:zod.z.email(),emailVerified:zod.z.boolean(),displayName:zod.z.string().nullable(),avatarUrl:zod.z.url().nullable(),roles:zod.z.number().int(),preferredCurrency:zod.z.string(),notificationsEnabledCount:zod.z.number().int(),hasPushDevice:zod.z.boolean()}),w=zod.z.object({preferences:zod.z.record(l,zod.z.boolean())}),D=zod.z.object({id:zod.z.uuid()});exports.a=u;exports.b=d;exports.c=R;exports.d=N;exports.e=v;exports.f=C;exports.g=P;exports.h=E;exports.i=g;exports.j=b;exports.k=j;exports.l=A;exports.m=y;exports.n=U;exports.o=I;exports.p=q;exports.q=w;exports.r=D;//# sourceMappingURL=chunk-25WNOA4F.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-25WNOA4F.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","PublicProducerListCategorySchema","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","UpdateHostProfileRequestSchema","CreateProducerProfileRequestSchema","SetProfilePinSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","USER_CATEGORY","NotificationCategory","NotificationPreferenceItemSchema","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"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eA,KAAAA,CAAE,OAAA,EACnB,CAAC,CAAA,CAEY4B,CAAAA,CAAwC5B,MAAE,MAAA,CAAO,CAC5D,YAAaA,KAAAA,CAAE,MAAA,CAAOmB,CAAAA,CAAenB,KAAAA,CAAE,OAAA,EAAS,CAClD,CAAC,CAAA,CAEY6B,EAA6B7B,KAAAA,CAAE,MAAA,CAAO,CACjD,EAAA,CAAIA,KAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-62J2YERL.js","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\nimport { PublicProducerListCategorySchema } from '../marketplace';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n /** Count of producer→host marketplace reviews reflected in `averageRating`. */\n totalReviews: z.number().int().nonnegative(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n hasPin: z.boolean(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n hasPin: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n role: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n});\n\nexport const UpdateHostProfileRequestSchema = z.object({\n businessName: z.string().min(1).max(120).optional(),\n description: z.string().max(2000).optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1).optional(),\n businessRegNumber: z.string().max(64).optional(),\n taxId: z.string().max(64).optional(),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceCategoryIds: z.array(z.uuid()).optional(),\n serviceCategoryCodes: z.array(z.string().min(1).max(64)).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n isAvailable: z.boolean(),\n});\n\nexport const SetProfilePinSchema = z.object({\n pin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'pin must be 4-8 digits'),\n currentPin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'currentPin must be 4-8 digits')\n .optional(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\nconst USER_CATEGORY = z.enum([\n NotificationCategory.LIVE_ALERTS,\n NotificationCategory.RECOMMENDATIONS,\n NotificationCategory.EVENT_REMINDERS,\n]);\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: USER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n hasPushDevice: z.boolean(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.record(USER_CATEGORY, z.boolean()),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","PublicProducerListCategorySchema","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","UpdateHostProfileRequestSchema","CreateProducerProfileRequestSchema","SetProfilePinSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","USER_CATEGORY","NotificationCategory","NotificationPreferenceItemSchema","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":"oIAYO,IAAMA,EAA4BC,KAAAA,CAAE,MAAA,CAAO,CAChD,EAAA,CAAIA,KAAAA,CAAE,MAAK,CACX,MAAA,CAAQA,MAAE,IAAA,EAAK,CACf,aAAcA,KAAAA,CAAE,MAAA,EAAO,CACvB,WAAA,CAAaA,KAAAA,CAAE,MAAA,GACf,UAAA,CAAYA,KAAAA,CAAE,QAAO,CACrB,aAAA,CAAeA,MAAE,MAAA,EAAO,CAExB,YAAA,CAAcA,KAAAA,CAAE,MAAA,EAAO,CAAE,KAAI,CAAE,WAAA,GAC/B,eAAA,CAAiBA,KAAAA,CAAE,QAAO,CAC1B,WAAA,CAAaA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,GACxB,QAAA,CAAUA,KAAAA,C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IAAA,GAASD,EAAM,MAAA,CAAQ,CAC9E,OAAA,CAAS,mCACX,CAAC,CACL,CAAC,CAAA,CACA,MAAA,GAEUE,CAAAA,CAA4BzB,KAAAA,CACtC,OAAO,CACN,QAAA,CAAUA,MAAE,IAAA,CAAK0B,kBAAgB,EACjC,OAAA,CAAS1B,KAAAA,CAAE,QAAO,CAAE,IAAA,GAAO,GAAA,CAAI,EAAE,CAAA,CAAE,GAAA,CAAI,GAAI,CAC7C,CAAC,CAAA,CACA,MAAA,GAEU2B,CAAAA,CAAyB3B,KAAAA,CAAE,OAAO,CAC7C,EAAA,CAAIA,KAAAA,CAAE,IAAA,EAAK,CACX,KAAA,CAAOA,MAAE,KAAA,EAAM,CACf,cAAeA,KAAAA,CAAE,OAAA,GACjB,WAAA,CAAaA,KAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACjC,UAAWA,KAAAA,CAAE,GAAA,GAAM,QAAA,EAAS,CAC5B,MAAOA,KAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CACtB,iBAAA,CAAmBA,MAAE,MAAA,EAAO,CAC5B,0BAA2BA,KAAAA,CAAE,MAAA,GAAS,GAAA,EAAI,CAC1C,aAAA,CAAeA,KAAAA,CAAE,OAAA,EACnB,CAAC,CAAA,CAEY4B,CAAAA,CAAwC5B,MAAE,MAAA,CAAO,CAC5D,YAAaA,KAAAA,CAAE,MAAA,CAAOmB,CAAAA,CAAenB,KAAAA,CAAE,OAAA,EAAS,CAClD,CAAC,CAAA,CAEY6B,EAA6B7B,KAAAA,CAAE,MAAA,CAAO,CACjD,EAAA,CAAIA,KAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-25WNOA4F.js","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\nimport { PublicProducerListCategorySchema } from '../marketplace';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n /** Count of producer→host marketplace reviews reflected in `averageRating`. */\n totalReviews: z.number().int().nonnegative(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n hasPin: z.boolean(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceCategories: z.array(PublicProducerListCategorySchema),\n equipmentItems: z.array(PublicProducerListCategorySchema),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n hasPin: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n role: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n});\n\nexport const UpdateHostProfileRequestSchema = z.object({\n businessName: z.string().min(1).max(120).optional(),\n description: z.string().max(2000).optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1).optional(),\n businessRegNumber: z.string().max(64).optional(),\n taxId: z.string().max(64).optional(),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceCategoryIds: z.array(z.uuid()).optional(),\n serviceCategoryCodes: z.array(z.string().min(1).max(64)).optional(),\n equipmentItemIds: z.array(z.uuid()).optional(),\n equipmentItemCodes: z.array(z.string().min(1).max(64)).optional(),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n isAvailable: z.boolean(),\n});\n\nexport const SetProfilePinSchema = z.object({\n pin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'pin must be 4-8 digits'),\n currentPin: z\n .string()\n .trim()\n .regex(/^\\d{4,8}$/, 'currentPin must be 4-8 digits')\n .optional(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\nconst USER_CATEGORY = z.enum([\n NotificationCategory.LIVE_ALERTS,\n NotificationCategory.RECOMMENDATIONS,\n NotificationCategory.EVENT_REMINDERS,\n]);\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: USER_CATEGORY,\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n hasPushDevice: z.boolean(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.record(USER_CATEGORY, z.boolean()),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {c as c$1}from'./chunk-
|
|
2
|
-
//# sourceMappingURL=chunk-
|
|
1
|
+
import {c as c$1}from'./chunk-IIVGG46P.mjs';import {g}from'./chunk-L4QDS3ET.mjs';import {z as z$1}from'zod';var o={NGN:"NGN"},I={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(),...g.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()}),T=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},U={ACTIVE:"ACTIVE",SUSPENDED:"SUSPENDED",BANNED:"BANNED",DELETED:"DELETED"},h={PENDING:"PENDING",SUBMITTED:"SUBMITTED",VERIFIED:"VERIFIED",REJECTED:"REJECTED"},L={TRUST:"TRUST",FINANCIAL:"FINANCIAL",LIVE_OPS:"LIVE_OPS",AUDIT:"AUDIT"},k={BUG:"BUG",IDEA:"IDEA",GENERAL:"GENERAL"},V={EVENT_REMINDERS:"EVENT_REMINDERS",LIVE_ALERTS:"LIVE_ALERTS",RECOMMENDATIONS:"RECOMMENDATIONS",JOB_INVITATIONS:"JOB_INVITATIONS",JOB_CONFIRMATIONS:"JOB_CONFIRMATIONS",MESSAGES:"MESSAGES",TICKET_PURCHASES:"TICKET_PURCHASES",CREW_UPDATES:"CREW_UPDATES"},l={PENDING:"PENDING",APPROVED:"APPROVED",REJECTED:"REJECTED",SUBMITTED:"SUBMITTED",SUSPENDED:"SUSPENDED"},p={BEGINNER:"BEGINNER",INTERMEDIATE:"INTERMEDIATE",EXPERT:"EXPERT"};var d=z$1.object({name:z$1.string().min(1).max(255),category:z$1.enum(i),notes:z$1.string().max(2e3).optional()}),S=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()}),b=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)}),_=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(d).optional(),portfolio:z$1.array(S).optional(),rateCard:z$1.array(b).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(y=>Object.keys(y).length>0,{message:"At least one field is required"}),F=z$1.object({verificationStatus:z$1.literal(l.SUBMITTED)}),w=z$1.object({view:z$1.literal("workspace").optional()});var f=z$1.string().trim().min(5,"Reason must be at least 5 characters"),J=z$1.object({notes:z$1.string().max(2e3).optional()}),E=z$1.object({reason:f,notes:z$1.string().max(2e3).optional()}),H=E,z=E;export{E as A,H as B,z as C,v as a,U as b,h as c,L as d,k as e,V as f,l as g,p as h,o as i,I as j,i as k,R as l,n as m,r as n,A as o,c as p,s as q,T as r,d as s,S as t,b as u,B as v,_ as w,F as x,w as y,J as z};//# sourceMappingURL=chunk-5BJU6AZT.mjs.map
|
|
2
|
+
//# sourceMappingURL=chunk-5BJU6AZT.mjs.map
|