@livdot-tech/contracts 1.6.6 → 1.6.8
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.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/{chunk-4WFVAXHI.mjs → chunk-36AMOB5T.mjs} +2 -2
- package/dist/{chunk-4WFVAXHI.mjs.map → chunk-36AMOB5T.mjs.map} +1 -1
- package/dist/chunk-BAJURKDI.mjs +2 -0
- package/dist/chunk-BAJURKDI.mjs.map +1 -0
- package/dist/{chunk-GG2XXZA5.mjs → chunk-DFUVVL4N.mjs} +2 -2
- package/dist/{chunk-GG2XXZA5.mjs.map → chunk-DFUVVL4N.mjs.map} +1 -1
- package/dist/chunk-IS7LFVNF.js +2 -0
- package/dist/chunk-IS7LFVNF.js.map +1 -0
- package/dist/chunk-JH2L3JHP.js +2 -0
- package/dist/chunk-JH2L3JHP.js.map +1 -0
- package/dist/{chunk-TASMVAYG.mjs → chunk-MME6Q6BF.mjs} +2 -2
- package/dist/chunk-MME6Q6BF.mjs.map +1 -0
- package/dist/chunk-NICKIAXD.mjs +2 -0
- package/dist/chunk-NICKIAXD.mjs.map +1 -0
- package/dist/chunk-OO26RPG4.js +2 -0
- package/dist/chunk-OO26RPG4.js.map +1 -0
- package/dist/{chunk-XSBPWLFH.js → chunk-PGF5G662.js} +2 -2
- package/dist/chunk-PGF5G662.js.map +1 -0
- package/dist/chunk-PLBAQBIM.mjs +2 -0
- package/dist/chunk-PLBAQBIM.mjs.map +1 -0
- package/dist/{chunk-HMVBX7N4.js → chunk-QNAYXLYH.js} +2 -2
- package/dist/{chunk-HMVBX7N4.js.map → chunk-QNAYXLYH.js.map} +1 -1
- package/dist/{chunk-JXZNFGAC.js → chunk-QTEQ5CQL.js} +2 -2
- package/dist/{chunk-JXZNFGAC.js.map → chunk-QTEQ5CQL.js.map} +1 -1
- package/dist/event/index.d.mts +5 -8
- package/dist/event/index.d.ts +5 -8
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/index.d.mts +204 -4
- package/dist/index.d.ts +204 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/marketplace/index.d.mts +27 -14
- package/dist/marketplace/index.d.ts +27 -14
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -1
- package/dist/notification/index.d.mts +17 -1
- package/dist/notification/index.d.ts +17 -1
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/user/index.d.mts +24 -3
- package/dist/user/index.d.ts +24 -3
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-22MTWH56.js +0 -2
- package/dist/chunk-22MTWH56.js.map +0 -1
- package/dist/chunk-2SBD35GV.js +0 -2
- package/dist/chunk-2SBD35GV.js.map +0 -1
- package/dist/chunk-63YFUPUT.mjs +0 -2
- package/dist/chunk-63YFUPUT.mjs.map +0 -1
- package/dist/chunk-BUNVUKD6.mjs +0 -2
- package/dist/chunk-BUNVUKD6.mjs.map +0 -1
- package/dist/chunk-EQVYSKSG.mjs +0 -2
- package/dist/chunk-EQVYSKSG.mjs.map +0 -1
- package/dist/chunk-NVVIAF7D.js +0 -2
- package/dist/chunk-NVVIAF7D.js.map +0 -1
- package/dist/chunk-TASMVAYG.mjs.map +0 -1
- package/dist/chunk-W2AXUTIW.js +0 -2
- package/dist/chunk-W2AXUTIW.js.map +0 -1
- package/dist/chunk-WQRHUUGO.mjs +0 -2
- package/dist/chunk-WQRHUUGO.mjs.map +0 -1
- package/dist/chunk-XSBPWLFH.js.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-BUNVUKD6.mjs';export{o as AccessCheckRequestSchema,q as AccessCheckResponseSchema,f as AccessReason,m as CreatePurchaseResponseSchema,i as CtaMode,g as EntitlementStatus,j as InitiatePaymentRequestSchema,k as InitiatePaymentResponseSchema,d as PaymentStatus,l as PayoutResponseSchema,c as PayoutStatus,p as PaystackWebhookSchema,h as PlatformChargeStatus,r as PricingQuoteResponseSchema,n as PurchaseStatusResponseSchema,t as ReceiptUrlResponseSchema,u as ReplayPurchasePaymentSchema,w as ReplayPurchaseResponseSchema,v as ReplayPurchaseRowSchema,e as ReplayPurchaseStatus,b as TransactionStatus,a as TransactionType,s as ViewerEventDetailResponseSchema}from'./chunk-MOKENPSM.mjs';export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'./chunk-MIIRC5BK.mjs';export{q as ChangePasswordRequestSchema,C as ConfirmPasswordSchema,n as ForgotPasswordRequestSchema,o as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,x as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,m as LogoutRequestSchema,u as OauthDirectTokenRequestSchema,t as OauthExchangeRequestSchema,B as OauthLinkCompleteEmailRequestSchema,v as OauthLinkCompleteRequestSchema,w as OauthLinkSendOtpRequestSchema,y as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,r as OauthStartQuerySchema,s as OauthStartResponseSchema,d as PasswordSchema,z as ProvidersListItemSchema,A as ProvidersListResponseSchema,D as ReauthTokenResponseSchema,l as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,p as ResetPasswordRequestSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'./chunk-4WFVAXHI.mjs';export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,h as DisplayNameSchema,a as HostProfileResponseSchema,k as NotificationPreferenceItemSchema,o as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,g as RESERVED_DISPLAY_NAMES,m as SendFeedbackRequestSchema,p as SendFeedbackResponseSchema,l as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,j as UpdateViewerCurrencyRequestSchema,i as UpdateViewerProfileRequestSchema,c as UserResponseSchema,n as ViewerMeResponseSchema}from'./chunk-63YFUPUT.mjs';export{g as BOOKING_TERMINAL_STATES,i as BOOKING_TRANSITION_ACTORS,j as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,a as BookingOrigin,e as BookingPaymentStatus,s as BookingResponseSchema,b as BookingState,f as BookingTransitionActor,D as CompleteMarketplaceBookingRequestSchema,E as CompleteMarketplaceBookingResponseSchema,r as ConfirmBookingRequestSchema,q as CreateBookingRequestSchema,t as CreateJobListingRequestSchema,y as CreateMarketplaceBookingRequestSchema,A as CreateMarketplaceBookingResponseSchema,F as CreateMarketplaceJobListingRequestSchema,S as GetMarketplaceHiringThreadResponseSchema,w as IndicationOfInterestResponseSchema,d as IoiState,u as JobListingResponseSchema,c as JobListingState,x as JobLocation,Q as ListMarketplaceHiringThreadMessagesQuerySchema,R as ListMarketplaceHiringThreadMessagesResponseSchema,H as ListMarketplaceJobListingsQuerySchema,V as MarkMarketplaceHiringThreadReadRequestSchema,W as MarkMarketplaceHiringThreadReadResponseSchema,z as MarketplaceBookingResponseSchema,O as MarketplaceHiringMessageAttachmentSchema,P as MarketplaceHiringMessageSchema,N as MarketplaceHiringThreadSchema,L as MarketplaceIndicationOfInterestHostItemSchema,K as MarketplaceIndicationOfInterestResponseSchema,I as MarketplaceJobListingResponseSchema,M as MessageDeliveryStatus,T as PostMarketplaceHiringThreadMessageRequestSchema,U as PostMarketplaceHiringThreadMessageResponseSchema,v as SubmitIndicationOfInterestRequestSchema,J as SubmitMarketplaceIndicationOfInterestRequestSchema,B as TransitionMarketplaceBookingRequestSchema,C as TransitionMarketplaceBookingResponseSchema,G as UpdateMarketplaceJobListingRequestSchema,h as VALID_BOOKING_TRANSITIONS,k as bookingTransitionKey,p as bookingTransitionRequiresReason,o as canActorPerformBookingTransition,l as getAllowedBookingTargetStates,n as getBookingTransitionActors,m as isValidBookingTransition}from'./chunk-GG2XXZA5.mjs';export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'./chunk-CWGSFDFC.mjs';export{a as ApiErrorCode}from'./chunk-SC6R26OW.mjs';export{J as AccessStartsSchema,H as CategorySchema,m as CreateEventRequestSchema,G as CurrencySchema,E as EndViewingSessionResponseSchema,c as EventAccessModel,e as EventAllowListType,p as EventCardSchema,g as EventCategory,d as EventProductionMode,a as EventReplayAccess,o as EventResponseSchema,f as EventState,b as EventVisibility,K as HostEventWizardPatchSchema,w as LivePlaybackSchema,z as MyEventCardSchema,B as MyEventsQuerySchema,A as MyEventsResponseSchema,k as MyEventsTabSchema,s as PagedEventsResponseSchema,y as PlaybackResponseSchema,t as RegisterForEventRequestSchema,u as RegisterForEventResponseSchema,i as RegistrationScope,h as RegistrationStatus,x as ReplayPlaybackSchema,F as ReplaySchema,r as SearchEventsQuerySchema,C as StartViewingSessionResponseSchema,l as SupportedCurrency,n as UpdateEventRequestSchema,v as UpdateWatchProgressRequestSchema,q as ViewerHomeResponseSchema,j as ViewerRegistrationView,D as ViewingSessionHeartbeatResponseSchema,I as VisibilitySchema}from'./chunk-TASMVAYG.mjs';import'./chunk-AZM7HX3M.mjs';export{a as JobInterestState}from'./chunk-GAZT5E62.mjs';export{q as AdminApproveProducerVerificationSchema,r as AdminProducerVerificationReasonBodySchema,s as AdminRejectProducerVerificationSchema,t as AdminSuspendProducerVerificationSchema,c as EquipmentCategory,p as GetProducerProfileQuerySchema,d as ListProducersQuerySchema,a as MarketplaceCurrency,m as ProducerProfileWorkspaceSchema,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode,o as SubmitProducerForVerificationSchema,n as UpsertProducerWorkspaceProfileSchema,j as WorkspaceEquipmentItemInputSchema,k as WorkspacePortfolioItemInputSchema,l as WorkspaceRateCardItemInputSchema}from'./chunk-WQRHUUGO.mjs';export{b as AccountStatus,d as AdminScopeCode,e as FeedbackCategory,c as KycStatus,f as NotificationCategory,h as ProducerExperienceLevel,g as ProducerVerificationStatus,a as UserRole}from'./chunk-EQVYSKSG.mjs';import {e,d as d$1}from'./chunk-X7OLLQRF.mjs';export{f as ApiResponseSchema,c as DEFAULT_PAGE_NUMBER,b as DEFAULT_PAGE_SIZE,a as MAX_PAGE_SIZE,d as PaginationParamsSchema,e as PaginationResponseSchema,g as ResponseMessages}from'./chunk-X7OLLQRF.mjs';import t from'zod';var m=1,p=500,s=200,u=t.object({id:t.string(),displayName:t.string(),colorHex:t.string().regex(/^#[0-9A-Fa-f]{6}$/)}),d=t.object({id:t.string(),body:t.string(),createdAt:t.iso.datetime(),user:u,deletedAt:t.iso.datetime().optional()}),po=t.object({items:t.array(d),...e.shape}),uo=t.object({body:t.string().trim().min(m).max(p)}),bo=t.object({reason:t.string().trim().max(s).optional()}).strict(),go=t.object({until:t.iso.datetime().refine(l=>new Date(l).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:t.string().trim().max(s).optional()}).strict(),ho=t.object({eventId:t.string(),mutedUntil:t.iso.datetime().nullable()}),So=t.discriminatedUnion("kind",[t.object({kind:t.literal("in-process"),wsNamespace:t.string(),token:t.string(),eventRoomId:t.string()}),t.object({kind:t.literal("ivs"),roomIdentifier:t.string(),endpoint:t.string(),token:t.string(),tokenTtlSeconds:t.number().int().positive()})]),xo=t.object({kind:t.literal("in-process"),wsNamespace:t.string(),token:t.string(),eventRoomId:t.string()}),vo=t.object({kind:t.literal("ivs"),roomIdentifier:t.string(),endpoint:t.string(),token:t.string(),tokenTtlSeconds:t.number().int()});var i=["last7d","last30d","last90d"];var Io=t.object({range:t.enum([...i,"custom"]).optional(),start:t.iso.datetime().optional(),end:t.iso.datetime().optional()}),o=t.enum(["UPCOMING","LIVE","ENDED","DRAFTS"]),Do=t.object({q:t.string().trim().min(2).max(120),limit:t.coerce.number().int().min(1).max(10).default(10)}),ko=t.object({title:t.string().min(1).max(120).optional(),description:t.string().max(2e3).optional(),coverImageUrl:t.any().nullable().optional(),ticketPrice:t.string().optional()}),No=t.object({tab:o,...d$1.shape}),wo=t.object({reauthToken:t.string().min(16)}),a=t.object({eventId:t.string(),title:t.string(),date:t.iso.datetime(),ticketsSold:t.number(),revenue:t.object({currency:t.string(),value:t.string()}),status:t.enum(["ACTIVE","PAUSED","LIVE","ENDED","DRAFT","CANCELLED"])}),Po=t.object({tab:o,rows:t.array(a),...e.shape}),Mo=t.object({upcoming:t.number(),live:t.number(),ended:t.number(),drafts:t.number()}),_o=t.object({title:t.string().min(3).max(120).optional()}),Lo=t.object({tab:o,...d$1.shape}),Uo=t.object({id:t.uuid(),state:t.literal("DRAFT"),wizardStep:t.number().int().min(1).max(5).nullable()}),zo=t.object({id:t.uuid(),wizardStep:t.number().int().min(1).max(5).nullable(),streamingVerified:t.boolean().optional(),verificationToken:t.string().optional(),crewIds:t.array(t.uuid()).optional()}),Go=t.object({id:t.uuid(),state:t.literal("SCHEDULED"),publishedAt:t.iso.datetime().nullable(),bookingIds:t.array(t.uuid())}),Oo=t.object({id:t.uuid(),state:t.literal("CANCELLED"),cancelledAt:t.iso.datetime().nullable()}),b=t.object({currency:t.literal("NGN"),value:t.string(),deltaPct:t.number().nullable()}),g=t.object({count:t.number().int(),nextStartsAt:t.string().nullable()}),h=t.object({eventCount:t.number().int(),totalViewers:t.number().int()}),S=t.object({value:t.number().int(),deltaPct:t.number().nullable()}),x=t.object({eventId:t.uuid(),title:t.string(),viewers:t.number().int()}),v=t.object({eventId:t.uuid(),title:t.string(),scheduledStart:t.string(),canGoLive:t.boolean()}),c=t.object({kind:t.string(),subjectType:t.enum(["Event","Booking","PaymentIntent","ReplayPurchase"]),subjectId:t.string(),occurredAt:t.number().int(),payload:t.record(t.string(),t.unknown()),dedupeId:t.string()}),Fo=t.object({range:t.object({start:t.string(),end:t.string(),preset:t.string().optional()}),kpis:t.object({totalRevenue:b,upcomingEvents:g,liveNow:h,totalViews:S}),live:t.array(x),upcoming:t.array(v),activity:t.array(c)}),Vo=t.object({items:t.array(c),...e.shape}),E=t.object({eventId:t.uuid(),title:t.string(),scheduledStart:t.string(),state:t.string()}),Wo=t.object({hits:t.array(E)}),qo=t.object({count:t.number().int()}),Ko=t.object({tab:o,items:t.array(a),...e.shape}),j=t.object({id:t.uuid(),hostId:t.uuid(),title:t.string(),description:t.string().nullable(),coverImageUrl:t.string().nullable(),venueLocation:t.string().nullable(),scheduledStart:t.string(),scheduledEnd:t.string(),timezone:t.string(),expectedAudience:t.number().int().nullable(),plannedDurationMinutes:t.number().int().nullable(),visibility:t.string(),accessModel:t.string(),ticketPrice:t.string().nullable(),currency:t.string(),maxTickets:t.number().int().nullable(),allowlistData:t.array(t.string()),replayAccess:t.string(),replayAccessFee:t.string(),retentionDays:t.number().int(),replayAvailableUntil:t.string().nullable(),shareableUrl:t.string().nullable(),state:t.string(),tags:t.array(t.string()),isFeatured:t.boolean(),createdAt:t.string(),updatedAt:t.string(),publishedAt:t.string().nullable(),liveStartedAt:t.string().nullable(),liveEndedAt:t.string().nullable(),cancelledAt:t.string().nullable(),cancelledReason:t.string().nullable(),category:t.string(),wizardStep:t.number().int().nullable(),productionMode:t.string().nullable(),productionNotes:t.string().nullable()}),Qo=j.extend({crewIds:t.array(t.uuid())});export{p as CHAT_MESSAGE_BODY_MAX_LENGTH,m as CHAT_MESSAGE_BODY_MIN_LENGTH,s as CHAT_MODERATION_REASON_MAX_LENGTH,wo as CancelEventSchema,So as ChatCredentialsResponseSchema,po as ChatHistoryResponseSchema,d as ChatMessageSchema,u as ChatMessageUserSchema,bo as ChatModerationDeleteRequestSchema,go as ChatModerationMuteRequestSchema,ho as ChatMuteStateResponseSchema,i as HOST_DATE_RANGE_PRESETS,Vo as HostActivityListPageSchema,Oo as HostEventCancelResponseSchema,j as HostEventFullResponseSchema,ko as HostEventPatchSchema,a as HostEventRowResponseSchema,Qo as HostEventWizardCurrentResponseSchema,Go as HostEventWizardPublishResponseSchema,Uo as HostEventWizardStartResponseSchema,_o as HostEventWizardStartSchema,zo as HostEventWizardStepResponseSchema,Lo as HostEventsListPagedQuerySchema,No as HostEventsListQuerySchema,Mo as HostEventsTabCountsResponseSchema,Ko as HostEventsTabResponseClassSchema,Po as HostEventsTabResponseSchema,o as HostEventsTabSchema,qo as HostNotificationsUnreadCountSchema,Io as HostOverviewQuerySchema,Fo as HostOverviewResponseSchema,E as HostSearchHitSchema,Do as HostSearchQuerySchema,Wo as HostSearchResponseSchema,xo as InProcessChatCredentialsSchema,vo as IvsChatCredentialsSchema,uo as PostChatMessageRequestSchema};//# sourceMappingURL=index.mjs.map
|
|
1
|
+
export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType,e as RegisterPushDeviceRequestSchema,f as RegisterPushDeviceResponseSchema}from'./chunk-PLBAQBIM.mjs';export{o as AccessCheckRequestSchema,q as AccessCheckResponseSchema,f as AccessReason,m as CreatePurchaseResponseSchema,i as CtaMode,g as EntitlementStatus,j as InitiatePaymentRequestSchema,k as InitiatePaymentResponseSchema,d as PaymentStatus,l as PayoutResponseSchema,c as PayoutStatus,p as PaystackWebhookSchema,h as PlatformChargeStatus,r as PricingQuoteResponseSchema,n as PurchaseStatusResponseSchema,t as ReceiptUrlResponseSchema,u as ReplayPurchasePaymentSchema,w as ReplayPurchaseResponseSchema,v as ReplayPurchaseRowSchema,e as ReplayPurchaseStatus,b as TransactionStatus,a as TransactionType,s as ViewerEventDetailResponseSchema}from'./chunk-MOKENPSM.mjs';export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'./chunk-MIIRC5BK.mjs';export{q as ChangePasswordRequestSchema,C as ConfirmPasswordSchema,n as ForgotPasswordRequestSchema,o as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,x as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,m as LogoutRequestSchema,u as OauthDirectTokenRequestSchema,t as OauthExchangeRequestSchema,B as OauthLinkCompleteEmailRequestSchema,v as OauthLinkCompleteRequestSchema,w as OauthLinkSendOtpRequestSchema,y as OauthLinkSendOtpResponseSchema,c as OauthResolveKind,r as OauthStartQuerySchema,s as OauthStartResponseSchema,d as PasswordSchema,z as ProvidersListItemSchema,A as ProvidersListResponseSchema,D as ReauthTokenResponseSchema,l as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,p as ResetPasswordRequestSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'./chunk-36AMOB5T.mjs';export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,h as DisplayNameSchema,a as HostProfileResponseSchema,k as NotificationPreferenceItemSchema,o as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,g as RESERVED_DISPLAY_NAMES,m as SendFeedbackRequestSchema,p as SendFeedbackResponseSchema,l as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,j as UpdateViewerCurrencyRequestSchema,i as UpdateViewerProfileRequestSchema,c as UserResponseSchema,n as ViewerMeResponseSchema}from'./chunk-NICKIAXD.mjs';export{b as AccountStatus,z as AdminApproveProducerVerificationSchema,A as AdminProducerVerificationReasonBodySchema,B as AdminRejectProducerVerificationSchema,d as AdminScopeCode,C as AdminSuspendProducerVerificationSchema,k as EquipmentCategory,e as FeedbackCategory,y as GetProducerProfileQuerySchema,c as KycStatus,l as ListProducersQuerySchema,i as MarketplaceCurrency,f as NotificationCategory,h as ProducerExperienceLevel,v as ProducerProfileWorkspaceSchema,g as ProducerVerificationStatus,n as PublicProducerListCategorySchema,m as PublicProducerListEquipmentItemSchema,r as PublicProducerListItemSchema,p as PublicProducerListPortfolioItemSchema,q as PublicProducerListRateCardItemSchema,j as ServiceCategoryCode,o as ServiceCategoryListResponseSchema,x as SubmitProducerForVerificationSchema,w as UpsertProducerWorkspaceProfileSchema,a as UserRole,s as WorkspaceEquipmentItemInputSchema,t as WorkspacePortfolioItemInputSchema,u as WorkspaceRateCardItemInputSchema}from'./chunk-BAJURKDI.mjs';export{g as BOOKING_TERMINAL_STATES,i as BOOKING_TRANSITION_ACTORS,j as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,a as BookingOrigin,e as BookingPaymentStatus,s as BookingResponseSchema,b as BookingState,f as BookingTransitionActor,D as CompleteMarketplaceBookingRequestSchema,E as CompleteMarketplaceBookingResponseSchema,r as ConfirmBookingRequestSchema,q as CreateBookingRequestSchema,t as CreateJobListingRequestSchema,y as CreateMarketplaceBookingRequestSchema,A as CreateMarketplaceBookingResponseSchema,F as CreateMarketplaceJobListingRequestSchema,S as GetMarketplaceHiringThreadResponseSchema,w as IndicationOfInterestResponseSchema,d as IoiState,u as JobListingResponseSchema,c as JobListingState,x as JobLocation,Q as ListMarketplaceHiringThreadMessagesQuerySchema,R as ListMarketplaceHiringThreadMessagesResponseSchema,H as ListMarketplaceJobListingsQuerySchema,V as MarkMarketplaceHiringThreadReadRequestSchema,W as MarkMarketplaceHiringThreadReadResponseSchema,z as MarketplaceBookingResponseSchema,O as MarketplaceHiringMessageAttachmentSchema,P as MarketplaceHiringMessageSchema,N as MarketplaceHiringThreadSchema,L as MarketplaceIndicationOfInterestHostItemSchema,K as MarketplaceIndicationOfInterestResponseSchema,I as MarketplaceJobListingResponseSchema,M as MessageDeliveryStatus,T as PostMarketplaceHiringThreadMessageRequestSchema,U as PostMarketplaceHiringThreadMessageResponseSchema,v as SubmitIndicationOfInterestRequestSchema,J as SubmitMarketplaceIndicationOfInterestRequestSchema,B as TransitionMarketplaceBookingRequestSchema,C as TransitionMarketplaceBookingResponseSchema,G as UpdateMarketplaceJobListingRequestSchema,h as VALID_BOOKING_TRANSITIONS,k as bookingTransitionKey,p as bookingTransitionRequiresReason,o as canActorPerformBookingTransition,l as getAllowedBookingTargetStates,n as getBookingTransitionActors,m as isValidBookingTransition}from'./chunk-DFUVVL4N.mjs';export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'./chunk-CWGSFDFC.mjs';export{a as ApiErrorCode}from'./chunk-SC6R26OW.mjs';export{J as AccessStartsSchema,H as CategorySchema,m as CreateEventRequestSchema,G as CurrencySchema,E as EndViewingSessionResponseSchema,c as EventAccessModel,e as EventAllowListType,p as EventCardSchema,g as EventCategory,d as EventProductionMode,a as EventReplayAccess,o as EventResponseSchema,f as EventState,b as EventVisibility,L as HostEventWizardPatchSchema,w as LivePlaybackSchema,z as MyEventCardSchema,B as MyEventsQuerySchema,A as MyEventsResponseSchema,k as MyEventsTabSchema,s as PagedEventsResponseSchema,y as PlaybackResponseSchema,t as RegisterForEventRequestSchema,u as RegisterForEventResponseSchema,i as RegistrationScope,h as RegistrationStatus,x as ReplayPlaybackSchema,F as ReplaySchema,r as SearchEventsQuerySchema,K as StartViewingSessionRequestSchema,C as StartViewingSessionResponseSchema,l as SupportedCurrency,n as UpdateEventRequestSchema,v as UpdateWatchProgressRequestSchema,q as ViewerHomeResponseSchema,j as ViewerRegistrationView,D as ViewingSessionHeartbeatResponseSchema,I as VisibilitySchema}from'./chunk-MME6Q6BF.mjs';import {e as e$1,d as d$1}from'./chunk-X7OLLQRF.mjs';export{f as ApiResponseSchema,c as DEFAULT_PAGE_NUMBER,b as DEFAULT_PAGE_SIZE,a as MAX_PAGE_SIZE,d as PaginationParamsSchema,e as PaginationResponseSchema,g as ResponseMessages}from'./chunk-X7OLLQRF.mjs';import'./chunk-AZM7HX3M.mjs';export{a as JobInterestState}from'./chunk-GAZT5E62.mjs';import e from'zod';var d=1,b=500,s=200,p=e.object({id:e.string(),displayName:e.string(),colorHex:e.string().regex(/^#[0-9A-Fa-f]{6}$/)}),g=e.object({id:e.string(),body:e.string(),createdAt:e.iso.datetime(),user:p,deletedAt:e.iso.datetime().optional()}),yo=e.object({items:e.array(g),...e$1.shape}),Io=e.object({body:e.string().trim().min(d).max(b)}),To=e.object({reason:e.string().trim().max(s).optional()}).strict(),Ho=e.object({until:e.iso.datetime().refine(u=>new Date(u).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:e.string().trim().max(s).optional()}).strict(),_o=e.object({eventId:e.string(),mutedUntil:e.iso.datetime().nullable()}),fo=e.discriminatedUnion("kind",[e.object({kind:e.literal("in-process"),wsNamespace:e.string(),token:e.string(),eventRoomId:e.string()}),e.object({kind:e.literal("ivs"),roomIdentifier:e.string(),endpoint:e.string(),token:e.string(),tokenTtlSeconds:e.number().int().positive()})]),Co=e.object({kind:e.literal("in-process"),wsNamespace:e.string(),token:e.string(),eventRoomId:e.string()}),No=e.object({kind:e.literal("ivs"),roomIdentifier:e.string(),endpoint:e.string(),token:e.string(),tokenTtlSeconds:e.number().int()});var i=["last7d","last30d","last90d"];var Go=e.object({range:e.enum([...i,"custom"]).optional(),start:e.iso.datetime().optional(),end:e.iso.datetime().optional()}),o=e.enum(["UPCOMING","LIVE","ENDED","DRAFTS"]),zo=e.object({q:e.string().trim().min(2).max(120),limit:e.coerce.number().int().min(1).max(10).default(10)}),Fo=e.object({title:e.string().min(1).max(120).optional(),description:e.string().max(2e3).optional(),coverImageUrl:e.any().nullable().optional(),ticketPrice:e.string().optional()}),Vo=e.object({tab:o,...d$1.shape}),Bo=e.object({reauthToken:e.string().min(16)}),c=e.object({eventId:e.string(),title:e.string(),date:e.iso.datetime(),ticketsSold:e.number(),revenue:e.object({currency:e.string(),value:e.string()}),status:e.enum(["ACTIVE","PAUSED","LIVE","ENDED","DRAFT","CANCELLED"])}),Ko=e.object({tab:o,rows:e.array(c),...e$1.shape}),qo=e.object({upcoming:e.number(),live:e.number(),ended:e.number(),drafts:e.number()}),Qo=e.object({title:e.string().min(3).max(120).optional()}),Yo=e.object({tab:o,...d$1.shape}),Zo=e.object({id:e.uuid(),state:e.literal("DRAFT"),wizardStep:e.number().int().min(1).max(5).nullable()}),Xo=e.object({id:e.uuid(),wizardStep:e.number().int().min(1).max(5).nullable(),streamingVerified:e.boolean().optional(),verificationToken:e.string().optional(),crewIds:e.array(e.uuid()).optional()}),$o=e.object({id:e.uuid(),state:e.literal("SCHEDULED"),publishedAt:e.iso.datetime().nullable(),bookingIds:e.array(e.uuid())}),Jo=e.object({id:e.uuid(),state:e.literal("CANCELLED"),cancelledAt:e.iso.datetime().nullable()}),S=e.object({currency:e.literal("NGN"),value:e.string(),deltaPct:e.number().nullable()}),E=e.object({count:e.number().int(),nextStartsAt:e.string().nullable()}),h=e.object({eventCount:e.number().int(),totalViewers:e.number().int()}),x=e.object({value:e.number().int(),deltaPct:e.number().nullable()}),v=e.object({eventId:e.uuid(),title:e.string(),viewers:e.number().int()}),R=e.object({eventId:e.uuid(),title:e.string(),scheduledStart:e.string(),canGoLive:e.boolean()}),l=e.object({kind:e.string(),subjectType:e.enum(["Event","Booking","PaymentIntent","ReplayPurchase"]),subjectId:e.string(),occurredAt:e.number().int(),payload:e.record(e.string(),e.unknown()),dedupeId:e.string()}),er=e.object({range:e.object({start:e.string(),end:e.string(),preset:e.string().optional()}),kpis:e.object({totalRevenue:S,upcomingEvents:E,liveNow:h,totalViews:x}),live:e.array(v),upcoming:e.array(R),activity:e.array(l)}),tr=e.object({items:e.array(l),...e$1.shape}),A=e.object({eventId:e.uuid(),title:e.string(),scheduledStart:e.string(),state:e.string()}),nr=e.object({hits:e.array(A)}),or=e.object({count:e.number().int()}),rr=e.object({tab:o,items:e.array(c),...e$1.shape}),j=e.object({id:e.uuid(),hostId:e.uuid(),title:e.string(),description:e.string().nullable(),coverImageUrl:e.string().nullable(),venueLocation:e.string().nullable(),scheduledStart:e.string(),scheduledEnd:e.string(),timezone:e.string(),expectedAudience:e.number().int().nullable(),plannedDurationMinutes:e.number().int().nullable(),visibility:e.string(),accessModel:e.string(),ticketPrice:e.string().nullable(),currency:e.string(),maxTickets:e.number().int().nullable(),allowlistData:e.array(e.string()),replayAccess:e.string(),replayAccessFee:e.string(),retentionDays:e.number().int(),replayAvailableUntil:e.string().nullable(),shareableUrl:e.string().nullable(),state:e.string(),tags:e.array(e.string()),isFeatured:e.boolean(),createdAt:e.string(),updatedAt:e.string(),publishedAt:e.string().nullable(),liveStartedAt:e.string().nullable(),liveEndedAt:e.string().nullable(),cancelledAt:e.string().nullable(),cancelledReason:e.string().nullable(),category:e.string(),wizardStep:e.number().int().nullable(),productionMode:e.string().nullable(),productionNotes:e.string().nullable()}),sr=j.extend({crewIds:e.array(e.uuid())}),y=e.enum(["EVENT_DETAILS","PRICING","CREW_ASSIGNED","STREAM_TESTED"]),I=e.enum(["PASS","WARN","FAIL"]),T=e.enum(["OPEN_WIZARD_STEP_1","OPEN_WIZARD_STEP_2","OPEN_WIZARD_STEP_3","OPEN_HIRE_CREW","RUN_STREAM_TEST"]),H=e.enum(["CHECKLIST_INCOMPLETE","BEFORE_WINDOW","AFTER_WINDOW","ALREADY_LIVE","NOT_OWNED"]),_=e.enum(["NOT_PROVISIONED","READY_FOR_TEST","LIVE"]),a=e.enum(["SELF","HIRE"]),f=e.object({id:y,label:e.string(),state:I,detail:e.string().optional(),cta:T.optional()}),m=e.object({progress:e.number().min(0).max(1),items:e.array(f),canGoLive:e.boolean(),blockReason:H.optional()}),ir=e.object({serverNow:e.iso.datetime(),event:e.object({id:e.string(),title:e.string(),description:e.string().nullable(),coverImageUrl:e.string().nullable(),scheduledStart:e.iso.datetime({local:true}),scheduledEnd:e.iso.datetime(),timezone:e.string(),accessModel:e.string(),ticketPrice:e.string().nullable(),currency:e.string(),shareableUrl:e.string().nullable(),state:e.string(),visibility:e.string(),productionMode:a.nullable(),goLiveEligibleAt:e.iso.datetime().nullable()}),ticketing:e.object({totalPayingCapacity:e.number().int().nullable(),ticketsSold:e.number().int(),revenue:e.string(),currency:e.string()}),audience:e.object({registered:e.number().int(),byCountry:e.record(e.string(),e.number().int()).nullable(),byTrafficSource:e.record(e.string(),e.number().int()).nullable()}),readiness:m,production:e.object({mode:a,crew:e.array(e.object({bookingId:e.string(),producerProfileId:e.string(),role:e.string().nullable(),state:e.string(),confirmedAt:e.iso.datetime().nullable()}))}),streaming:e.object({status:_,serverUrl:e.string().nullable(),streamKey:e.null(),lastStreamTestAt:e.iso.datetime().nullable(),testAvailableAt:e.iso.datetime().nullable()}),share:e.object({shareableUrl:e.string(),slug:e.string()})}),ar=m,cr=e.object({shareableUrl:e.string(),slug:e.string(),copyText:e.string(),channelLinks:e.object({twitter:e.string(),facebook:e.string(),email:e.string(),embed:e.string()}),qrCodeDataUrl:e.string()});export{b as CHAT_MESSAGE_BODY_MAX_LENGTH,d as CHAT_MESSAGE_BODY_MIN_LENGTH,s as CHAT_MODERATION_REASON_MAX_LENGTH,Bo as CancelEventSchema,fo as ChatCredentialsResponseSchema,yo as ChatHistoryResponseSchema,g as ChatMessageSchema,p as ChatMessageUserSchema,To as ChatModerationDeleteRequestSchema,Ho as ChatModerationMuteRequestSchema,_o as ChatMuteStateResponseSchema,i as HOST_DATE_RANGE_PRESETS,tr as HostActivityListPageSchema,Jo as HostEventCancelResponseSchema,ir as HostEventDashboardResponseSchema,j as HostEventFullResponseSchema,Fo as HostEventPatchSchema,m as HostEventReadinessBlockSchema,ar as HostEventReadinessResponseSchema,c as HostEventRowResponseSchema,cr as HostEventShareResponseSchema,sr as HostEventWizardCurrentResponseSchema,$o as HostEventWizardPublishResponseSchema,Zo as HostEventWizardStartResponseSchema,Qo as HostEventWizardStartSchema,Xo as HostEventWizardStepResponseSchema,Yo as HostEventsListPagedQuerySchema,Vo as HostEventsListQuerySchema,qo as HostEventsTabCountsResponseSchema,rr as HostEventsTabResponseClassSchema,Ko as HostEventsTabResponseSchema,o as HostEventsTabSchema,or as HostNotificationsUnreadCountSchema,Go as HostOverviewQuerySchema,er as HostOverviewResponseSchema,A as HostSearchHitSchema,zo as HostSearchQuerySchema,nr as HostSearchResponseSchema,Co as InProcessChatCredentialsSchema,No as IvsChatCredentialsSchema,Io as PostChatMessageRequestSchema,f as ReadinessItemSchema};//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/chat/chat.schemas.ts","../src/host/host.enums.ts","../src/host/host.schemas.ts"],"names":["CHAT_MESSAGE_BODY_MIN_LENGTH","CHAT_MESSAGE_BODY_MAX_LENGTH","CHAT_MODERATION_REASON_MAX_LENGTH","ChatMessageUserSchema","z","ChatMessageSchema","ChatHistoryResponseSchema","PaginationResponseSchema","PostChatMessageRequestSchema","ChatModerationDeleteRequestSchema","ChatModerationMuteRequestSchema","value","ChatMuteStateResponseSchema","ChatCredentialsResponseSchema","InProcessChatCredentialsSchema","IvsChatCredentialsSchema","HOST_DATE_RANGE_PRESETS","HostOverviewQuerySchema","HostEventsTabSchema","HostSearchQuerySchema","HostEventPatchSchema","HostEventsListQuerySchema","PaginationParamsSchema","CancelEventSchema","HostEventRowResponseSchema","HostEventsTabResponseSchema","HostEventsTabCountsResponseSchema","HostEventWizardStartSchema","HostEventsListPagedQuerySchema","HostEventWizardStartResponseSchema","HostEventWizardStepResponseSchema","HostEventWizardPublishResponseSchema","HostEventCancelResponseSchema","MoneyKpiSchema","UpcomingEventsKpiSchema","LiveNowKpiSchema","TotalViewsKpiSchema","LiveEventEntrySchema","UpcomingEventRailEntrySchema","HostActivityEntrySchema","HostOverviewResponseSchema","HostActivityListPageSchema","HostSearchHitSchema","HostSearchResponseSchema","HostNotificationsUnreadCountSchema","HostEventsTabResponseClassSchema","HostEventFullResponseSchema","HostEventWizardCurrentResponseSchema"],"mappings":"+vNAGO,IAAMA,CAAAA,CAA+B,EAC/BC,CAAAA,CAA+B,GAAA,CAE/BC,CAAAA,CAAoC,GAAA,CAEpCC,CAAAA,CAAwBC,CAAAA,CAAE,MAAA,CAAO,CAC5C,GAAIA,CAAAA,CAAE,MAAA,EAA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A,EAAE,MAAA,EAAO,CAAE,QAAA,EAAS,CACjC,gBAAiBA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,GAC5B,QAAA,CAAUA,CAAAA,CAAE,MAAA,EAAO,CACnB,UAAA,CAAYA,CAAAA,CAAE,MAAA,EAAO,CAAE,KAAI,CAAE,QAAA,EAAS,CACtC,cAAA,CAAgBA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,GAC3B,eAAA,CAAiBA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EAC9B,CAAC,CAAA,CAEY2C,GAAuCD,CAAAA,CAA4B,MAAA,CAAO,CACrF,OAAA,CAAS1C,EAAE,KAAA,CAAMA,CAAAA,CAAE,IAAA,EAAM,CAC3B,CAAC","file":"index.mjs","sourcesContent":["import z from 'zod';\nimport { PaginationResponseSchema } from '../common';\n\nexport const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;\nexport const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;\n\nexport const CHAT_MODERATION_REASON_MAX_LENGTH = 200;\n\nexport const ChatMessageUserSchema = z.object({\n id: z.string(),\n displayName: z.string(),\n colorHex: z.string().regex(/^#[0-9A-Fa-f]{6}$/),\n});\n\nexport const ChatMessageSchema = z.object({\n id: z.string(),\n body: z.string(),\n createdAt: z.iso.datetime(),\n user: ChatMessageUserSchema,\n deletedAt: z.iso.datetime().optional(),\n});\n\nexport const ChatHistoryResponseSchema = z.object({\n items: z.array(ChatMessageSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const PostChatMessageRequestSchema = z.object({\n body: z.string().trim().min(CHAT_MESSAGE_BODY_MIN_LENGTH).max(CHAT_MESSAGE_BODY_MAX_LENGTH),\n});\n\nexport const ChatModerationDeleteRequestSchema = z\n .object({\n reason: z.string().trim().max(CHAT_MODERATION_REASON_MAX_LENGTH).optional(),\n })\n .strict();\n\nexport const ChatModerationMuteRequestSchema = z\n .object({\n /** Optional explicit future timestamp. Omit for the ~1y indefinite default. */\n until: z.iso\n .datetime()\n .refine((value) => new Date(value).getTime() > Date.now(), {\n message: 'until must be a future timestamp',\n })\n .optional(),\n reason: z.string().trim().max(CHAT_MODERATION_REASON_MAX_LENGTH).optional(),\n })\n .strict();\n\n/**\n * Public-shape response for `POST /chat/mute`. `mutedUntil` is the source\n * of truth (`null` = not muted). `mutedBy` is intentionally omitted —\n * moderation metadata stays out of the response surface.\n */\nexport const ChatMuteStateResponseSchema = z.object({\n eventId: z.string(),\n mutedUntil: z.iso.datetime().nullable(),\n});\n\nexport const ChatCredentialsResponseSchema = z.discriminatedUnion('kind', [\n z.object({\n kind: z.literal('in-process'),\n wsNamespace: z.string(),\n token: z.string(),\n eventRoomId: z.string(),\n }),\n z.object({\n kind: z.literal('ivs'),\n roomIdentifier: z.string(),\n endpoint: z.string(),\n token: z.string(),\n tokenTtlSeconds: z.number().int().positive(),\n }),\n]);\n\nexport const InProcessChatCredentialsSchema = z.object({\n kind: z.literal('in-process'),\n wsNamespace: z.string(),\n token: z.string(),\n eventRoomId: z.string(),\n});\nexport const IvsChatCredentialsSchema = z.object({\n kind: z.literal('ivs'),\n roomIdentifier: z.string(),\n endpoint: z.string(),\n token: z.string(),\n tokenTtlSeconds: z.number().int(),\n});\n","export const HOST_DATE_RANGE_PRESETS = ['last7d', 'last30d', 'last90d'] as const;\n","import z from 'zod';\nimport { HOST_DATE_RANGE_PRESETS } from './host.enums';\nimport { PaginationParamsSchema, PaginationResponseSchema } from '../common';\n\nexport const HostOverviewQuerySchema = z.object({\n range: z.enum([...HOST_DATE_RANGE_PRESETS, 'custom'] as const).optional(),\n start: z.iso.datetime().optional(),\n end: z.iso.datetime().optional(),\n});\n\nexport const HostEventsTabSchema = z.enum(['UPCOMING', 'LIVE', 'ENDED', 'DRAFTS']);\n\nexport const HostSearchQuerySchema = z.object({\n q: z.string().trim().min(2).max(120),\n limit: z.coerce.number().int().min(1).max(10).default(10),\n});\n\nexport const HostEventPatchSchema = z.object({\n title: z.string().min(1).max(120).optional(),\n description: z.string().max(2000).optional(),\n coverImageUrl: z.any().nullable().optional(),\n ticketPrice: z.string().optional(),\n});\n\nexport const HostEventsListQuerySchema = z.object({\n tab: HostEventsTabSchema,\n ...PaginationParamsSchema.shape,\n});\n\nexport const CancelEventSchema = z.object({\n reauthToken: z.string().min(16),\n});\n\nexport const HostEventRowResponseSchema = z.object({\n eventId: z.string(),\n title: z.string(),\n date: z.iso.datetime(),\n ticketsSold: z.number(),\n revenue: z.object({\n currency: z.string(),\n value: z.string(),\n }),\n status: z.enum(['ACTIVE', 'PAUSED', 'LIVE', 'ENDED', 'DRAFT', 'CANCELLED']),\n});\n\nexport const HostEventsTabResponseSchema = z.object({\n tab: HostEventsTabSchema,\n rows: z.array(HostEventRowResponseSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const HostEventsTabCountsResponseSchema = z.object({\n upcoming: z.number(),\n live: z.number(),\n ended: z.number(),\n drafts: z.number(),\n});\n\nexport const HostEventWizardStartSchema = z.object({\n title: z.string().min(3).max(120).optional(),\n});\n\nexport const HostEventsListPagedQuerySchema = z.object({\n tab: HostEventsTabSchema,\n ...PaginationParamsSchema.shape,\n});\n\nexport const HostEventWizardStartResponseSchema = z.object({\n id: z.uuid(),\n state: z.literal('DRAFT'),\n wizardStep: z.number().int().min(1).max(5).nullable(),\n});\n\nexport const HostEventWizardStepResponseSchema = z.object({\n id: z.uuid(),\n wizardStep: z.number().int().min(1).max(5).nullable(),\n streamingVerified: z.boolean().optional(),\n verificationToken: z.string().optional(),\n crewIds: z.array(z.uuid()).optional(),\n});\n\nexport const HostEventWizardPublishResponseSchema = z.object({\n id: z.uuid(),\n state: z.literal('SCHEDULED'),\n publishedAt: z.iso.datetime().nullable(),\n bookingIds: z.array(z.uuid()),\n});\n\nexport const HostEventCancelResponseSchema = z.object({\n id: z.uuid(),\n state: z.literal('CANCELLED'),\n cancelledAt: z.iso.datetime().nullable(),\n});\n\nconst MoneyKpiSchema = z.object({\n currency: z.literal('NGN'),\n value: z.string(),\n deltaPct: z.number().nullable(),\n});\n\nconst UpcomingEventsKpiSchema = z.object({\n count: z.number().int(),\n nextStartsAt: z.string().nullable(),\n});\n\nconst LiveNowKpiSchema = z.object({\n eventCount: z.number().int(),\n totalViewers: z.number().int(),\n});\n\nconst TotalViewsKpiSchema = z.object({\n value: z.number().int(),\n deltaPct: z.number().nullable(),\n});\n\nconst LiveEventEntrySchema = z.object({\n eventId: z.uuid(),\n title: z.string(),\n viewers: z.number().int(),\n});\n\nconst UpcomingEventRailEntrySchema = z.object({\n eventId: z.uuid(),\n title: z.string(),\n scheduledStart: z.string(),\n canGoLive: z.boolean(),\n});\n\nconst HostActivityEntrySchema = z.object({\n kind: z.string(),\n subjectType: z.enum(['Event', 'Booking', 'PaymentIntent', 'ReplayPurchase']),\n subjectId: z.string(),\n occurredAt: z.number().int(),\n payload: z.record(z.string(), z.unknown()),\n dedupeId: z.string(),\n});\n\nexport const HostOverviewResponseSchema = z.object({\n range: z.object({\n start: z.string(),\n end: z.string(),\n preset: z.string().optional(),\n }),\n kpis: z.object({\n totalRevenue: MoneyKpiSchema,\n upcomingEvents: UpcomingEventsKpiSchema,\n liveNow: LiveNowKpiSchema,\n totalViews: TotalViewsKpiSchema,\n }),\n live: z.array(LiveEventEntrySchema),\n upcoming: z.array(UpcomingEventRailEntrySchema),\n activity: z.array(HostActivityEntrySchema),\n});\n\nexport const HostActivityListPageSchema = z.object({\n items: z.array(HostActivityEntrySchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const HostSearchHitSchema = z.object({\n eventId: z.uuid(),\n title: z.string(),\n scheduledStart: z.string(),\n state: z.string(),\n});\n\nexport const HostSearchResponseSchema = z.object({\n hits: z.array(HostSearchHitSchema),\n});\n\nexport const HostNotificationsUnreadCountSchema = z.object({\n count: z.number().int(),\n});\n\nexport const HostEventsTabResponseClassSchema = z.object({\n tab: HostEventsTabSchema,\n items: z.array(HostEventRowResponseSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const HostEventFullResponseSchema = z.object({\n id: z.uuid(),\n hostId: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n coverImageUrl: z.string().nullable(),\n venueLocation: z.string().nullable(),\n scheduledStart: z.string(),\n scheduledEnd: z.string(),\n timezone: z.string(),\n expectedAudience: z.number().int().nullable(),\n plannedDurationMinutes: z.number().int().nullable(),\n visibility: z.string(),\n accessModel: z.string(),\n ticketPrice: z.string().nullable(),\n currency: z.string(),\n maxTickets: z.number().int().nullable(),\n allowlistData: z.array(z.string()),\n replayAccess: z.string(),\n replayAccessFee: z.string(),\n retentionDays: z.number().int(),\n replayAvailableUntil: z.string().nullable(),\n shareableUrl: z.string().nullable(),\n state: z.string(),\n tags: z.array(z.string()),\n isFeatured: z.boolean(),\n createdAt: z.string(),\n updatedAt: z.string(),\n publishedAt: z.string().nullable(),\n liveStartedAt: z.string().nullable(),\n liveEndedAt: z.string().nullable(),\n cancelledAt: z.string().nullable(),\n cancelledReason: z.string().nullable(),\n category: z.string(),\n wizardStep: z.number().int().nullable(),\n productionMode: z.string().nullable(),\n productionNotes: z.string().nullable(),\n});\n\nexport const HostEventWizardCurrentResponseSchema = HostEventFullResponseSchema.extend({\n crewIds: z.array(z.uuid()),\n});\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/chat/chat.schemas.ts","../src/host/host.enums.ts","../src/host/host.schemas.ts"],"names":["CHAT_MESSAGE_BODY_MIN_LENGTH","CHAT_MESSAGE_BODY_MAX_LENGTH","CHAT_MODERATION_REASON_MAX_LENGTH","ChatMessageUserSchema","z","ChatMessageSchema","ChatHistoryResponseSchema","PaginationResponseSchema","PostChatMessageRequestSchema","ChatModerationDeleteRequestSchema","ChatModerationMuteRequestSchema","value","ChatMuteStateResponseSchema","ChatCredentialsResponseSchema","InProcessChatCredentialsSchema","IvsChatCredentialsSchema","HOST_DATE_RANGE_PRESETS","HostOverviewQuerySchema","HostEventsTabSchema","HostSearchQuerySchema","HostEventPatchSchema","HostEventsListQuerySchema","PaginationParamsSchema","CancelEventSchema","HostEventRowResponseSchema","HostEventsTabResponseSchema","HostEventsTabCountsResponseSchema","HostEventWizardStartSchema","HostEventsListPagedQuerySchema","HostEventWizardStartResponseSchema","HostEventWizardStepResponseSchema","HostEventWizardPublishResponseSchema","HostEventCancelResponseSchema","MoneyKpiSchema","UpcomingEventsKpiSchema","LiveNowKpiSchema","TotalViewsKpiSchema","LiveEventEntrySchema","UpcomingEventRailEntrySchema","HostActivityEntrySchema","HostOverviewResponseSchema","HostActivityListPageSchema","HostSearchHitSchema","HostSearchResponseSchema","HostNotificationsUnreadCountSchema","HostEventsTabResponseClassSchema","HostEventFullResponseSchema","HostEventWizardCurrentResponseSchema","ReadinessItemIdSchema","ReadinessItemStateSchema","ReadinessCtaSchema","ReadinessBlockReasonSchema","StreamingStatusSchema","ProductionModeSchema","ReadinessItemSchema","HostEventReadinessBlockSchema","HostEventDashboardResponseSchema","HostEventReadinessResponseSchema","HostEventShareResponseSchema"],"mappings":"43NAGO,IAAMA,CAAAA,CAA+B,EAC/BC,CAAAA,CAA+B,GAAA,CAE/BC,EAAoC,GAAA,CAEpCC,CAAAA,CAAwBC,EAAE,MAAA,CAAO,CAC5C,GAAIA,CAAAA,CAAE,MAAA,GACN,WAAA,CAAaA,CAAAA,CAAE,QAAO,CACtB,QAAA,CAAUA,EAAE,MAAA,EAAO,CAAE,MAAM,mBAAmB,CAChD,CAAC,CAAA,CAEYC,CAAAA,CAAoBD,EAAE,MAAA,CAAO,CACxC,GAAIA,CAAAA,CAAE,MAAA,GACN,IAAA,CAAMA,CAAAA,CAAE,QAAO,CACf,SAAA,CAAWA,CAAAA,CAAE,GAAA,CAAI,QAAA,EAAS,CAC1B,KAAMD,CAAAA,CACN,SAAA,CAAWC,EAAE,GAAA,CAAI,QAAA,GAAW,QAAA,EAC9B,CAAC,CAAA,CAEYE,EAAAA,CAA4BF,EAAE,MAAA,CAAO,CAChD,MAAOA,CAAAA,CAAE,KAAA,CAAMC,CAAiB,CAAA,CAChC,GA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,YAAA,CAAcA,CAAAA,CAAE,QAAO,CACvB,IAAA,CAAMA,EAAE,MAAA,EAAO,CACf,SAAUA,CAAAA,CAAE,MAAA,EAAO,CACnB,YAAA,CAAcA,CAAAA,CAAE,MAAA,CAAO,CACrB,OAAA,CAASA,CAAAA,CAAE,QAAO,CAClB,QAAA,CAAUA,EAAE,MAAA,EAAO,CACnB,MAAOA,CAAAA,CAAE,MAAA,GACT,KAAA,CAAOA,CAAAA,CAAE,QACX,CAAC,EACD,aAAA,CAAeA,CAAAA,CAAE,MAAA,EACnB,CAAC","file":"index.mjs","sourcesContent":["import z from 'zod';\nimport { PaginationResponseSchema } from '../common';\n\nexport const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;\nexport const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;\n\nexport const CHAT_MODERATION_REASON_MAX_LENGTH = 200;\n\nexport const ChatMessageUserSchema = z.object({\n id: z.string(),\n displayName: z.string(),\n colorHex: z.string().regex(/^#[0-9A-Fa-f]{6}$/),\n});\n\nexport const ChatMessageSchema = z.object({\n id: z.string(),\n body: z.string(),\n createdAt: z.iso.datetime(),\n user: ChatMessageUserSchema,\n deletedAt: z.iso.datetime().optional(),\n});\n\nexport const ChatHistoryResponseSchema = z.object({\n items: z.array(ChatMessageSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const PostChatMessageRequestSchema = z.object({\n body: z.string().trim().min(CHAT_MESSAGE_BODY_MIN_LENGTH).max(CHAT_MESSAGE_BODY_MAX_LENGTH),\n});\n\nexport const ChatModerationDeleteRequestSchema = z\n .object({\n reason: z.string().trim().max(CHAT_MODERATION_REASON_MAX_LENGTH).optional(),\n })\n .strict();\n\nexport const ChatModerationMuteRequestSchema = z\n .object({\n /** Optional explicit future timestamp. Omit for the ~1y indefinite default. */\n until: z.iso\n .datetime()\n .refine((value) => new Date(value).getTime() > Date.now(), {\n message: 'until must be a future timestamp',\n })\n .optional(),\n reason: z.string().trim().max(CHAT_MODERATION_REASON_MAX_LENGTH).optional(),\n })\n .strict();\n\n/**\n * Public-shape response for `POST /chat/mute`. `mutedUntil` is the source\n * of truth (`null` = not muted). `mutedBy` is intentionally omitted —\n * moderation metadata stays out of the response surface.\n */\nexport const ChatMuteStateResponseSchema = z.object({\n eventId: z.string(),\n mutedUntil: z.iso.datetime().nullable(),\n});\n\nexport const ChatCredentialsResponseSchema = z.discriminatedUnion('kind', [\n z.object({\n kind: z.literal('in-process'),\n wsNamespace: z.string(),\n token: z.string(),\n eventRoomId: z.string(),\n }),\n z.object({\n kind: z.literal('ivs'),\n roomIdentifier: z.string(),\n endpoint: z.string(),\n token: z.string(),\n tokenTtlSeconds: z.number().int().positive(),\n }),\n]);\n\nexport const InProcessChatCredentialsSchema = z.object({\n kind: z.literal('in-process'),\n wsNamespace: z.string(),\n token: z.string(),\n eventRoomId: z.string(),\n});\nexport const IvsChatCredentialsSchema = z.object({\n kind: z.literal('ivs'),\n roomIdentifier: z.string(),\n endpoint: z.string(),\n token: z.string(),\n tokenTtlSeconds: z.number().int(),\n});\n","export const HOST_DATE_RANGE_PRESETS = ['last7d', 'last30d', 'last90d'] as const;\n","import z from 'zod';\nimport { HOST_DATE_RANGE_PRESETS } from './host.enums';\nimport { PaginationParamsSchema, PaginationResponseSchema } from '../common';\n\nexport const HostOverviewQuerySchema = z.object({\n range: z.enum([...HOST_DATE_RANGE_PRESETS, 'custom'] as const).optional(),\n start: z.iso.datetime().optional(),\n end: z.iso.datetime().optional(),\n});\n\nexport const HostEventsTabSchema = z.enum(['UPCOMING', 'LIVE', 'ENDED', 'DRAFTS']);\n\nexport const HostSearchQuerySchema = z.object({\n q: z.string().trim().min(2).max(120),\n limit: z.coerce.number().int().min(1).max(10).default(10),\n});\n\nexport const HostEventPatchSchema = z.object({\n title: z.string().min(1).max(120).optional(),\n description: z.string().max(2000).optional(),\n coverImageUrl: z.any().nullable().optional(),\n ticketPrice: z.string().optional(),\n});\n\nexport const HostEventsListQuerySchema = z.object({\n tab: HostEventsTabSchema,\n ...PaginationParamsSchema.shape,\n});\n\nexport const CancelEventSchema = z.object({\n reauthToken: z.string().min(16),\n});\n\nexport const HostEventRowResponseSchema = z.object({\n eventId: z.string(),\n title: z.string(),\n date: z.iso.datetime(),\n ticketsSold: z.number(),\n revenue: z.object({\n currency: z.string(),\n value: z.string(),\n }),\n status: z.enum(['ACTIVE', 'PAUSED', 'LIVE', 'ENDED', 'DRAFT', 'CANCELLED']),\n});\n\nexport const HostEventsTabResponseSchema = z.object({\n tab: HostEventsTabSchema,\n rows: z.array(HostEventRowResponseSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const HostEventsTabCountsResponseSchema = z.object({\n upcoming: z.number(),\n live: z.number(),\n ended: z.number(),\n drafts: z.number(),\n});\n\nexport const HostEventWizardStartSchema = z.object({\n title: z.string().min(3).max(120).optional(),\n});\n\nexport const HostEventsListPagedQuerySchema = z.object({\n tab: HostEventsTabSchema,\n ...PaginationParamsSchema.shape,\n});\n\nexport const HostEventWizardStartResponseSchema = z.object({\n id: z.uuid(),\n state: z.literal('DRAFT'),\n wizardStep: z.number().int().min(1).max(5).nullable(),\n});\n\nexport const HostEventWizardStepResponseSchema = z.object({\n id: z.uuid(),\n wizardStep: z.number().int().min(1).max(5).nullable(),\n streamingVerified: z.boolean().optional(),\n verificationToken: z.string().optional(),\n crewIds: z.array(z.uuid()).optional(),\n});\n\nexport const HostEventWizardPublishResponseSchema = z.object({\n id: z.uuid(),\n state: z.literal('SCHEDULED'),\n publishedAt: z.iso.datetime().nullable(),\n bookingIds: z.array(z.uuid()),\n});\n\nexport const HostEventCancelResponseSchema = z.object({\n id: z.uuid(),\n state: z.literal('CANCELLED'),\n cancelledAt: z.iso.datetime().nullable(),\n});\n\nconst MoneyKpiSchema = z.object({\n currency: z.literal('NGN'),\n value: z.string(),\n deltaPct: z.number().nullable(),\n});\n\nconst UpcomingEventsKpiSchema = z.object({\n count: z.number().int(),\n nextStartsAt: z.string().nullable(),\n});\n\nconst LiveNowKpiSchema = z.object({\n eventCount: z.number().int(),\n totalViewers: z.number().int(),\n});\n\nconst TotalViewsKpiSchema = z.object({\n value: z.number().int(),\n deltaPct: z.number().nullable(),\n});\n\nconst LiveEventEntrySchema = z.object({\n eventId: z.uuid(),\n title: z.string(),\n viewers: z.number().int(),\n});\n\nconst UpcomingEventRailEntrySchema = z.object({\n eventId: z.uuid(),\n title: z.string(),\n scheduledStart: z.string(),\n canGoLive: z.boolean(),\n});\n\nconst HostActivityEntrySchema = z.object({\n kind: z.string(),\n subjectType: z.enum(['Event', 'Booking', 'PaymentIntent', 'ReplayPurchase']),\n subjectId: z.string(),\n occurredAt: z.number().int(),\n payload: z.record(z.string(), z.unknown()),\n dedupeId: z.string(),\n});\n\nexport const HostOverviewResponseSchema = z.object({\n range: z.object({\n start: z.string(),\n end: z.string(),\n preset: z.string().optional(),\n }),\n kpis: z.object({\n totalRevenue: MoneyKpiSchema,\n upcomingEvents: UpcomingEventsKpiSchema,\n liveNow: LiveNowKpiSchema,\n totalViews: TotalViewsKpiSchema,\n }),\n live: z.array(LiveEventEntrySchema),\n upcoming: z.array(UpcomingEventRailEntrySchema),\n activity: z.array(HostActivityEntrySchema),\n});\n\nexport const HostActivityListPageSchema = z.object({\n items: z.array(HostActivityEntrySchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const HostSearchHitSchema = z.object({\n eventId: z.uuid(),\n title: z.string(),\n scheduledStart: z.string(),\n state: z.string(),\n});\n\nexport const HostSearchResponseSchema = z.object({\n hits: z.array(HostSearchHitSchema),\n});\n\nexport const HostNotificationsUnreadCountSchema = z.object({\n count: z.number().int(),\n});\n\nexport const HostEventsTabResponseClassSchema = z.object({\n tab: HostEventsTabSchema,\n items: z.array(HostEventRowResponseSchema),\n ...PaginationResponseSchema.shape,\n});\n\nexport const HostEventFullResponseSchema = z.object({\n id: z.uuid(),\n hostId: z.uuid(),\n title: z.string(),\n description: z.string().nullable(),\n coverImageUrl: z.string().nullable(),\n venueLocation: z.string().nullable(),\n scheduledStart: z.string(),\n scheduledEnd: z.string(),\n timezone: z.string(),\n expectedAudience: z.number().int().nullable(),\n plannedDurationMinutes: z.number().int().nullable(),\n visibility: z.string(),\n accessModel: z.string(),\n ticketPrice: z.string().nullable(),\n currency: z.string(),\n maxTickets: z.number().int().nullable(),\n allowlistData: z.array(z.string()),\n replayAccess: z.string(),\n replayAccessFee: z.string(),\n retentionDays: z.number().int(),\n replayAvailableUntil: z.string().nullable(),\n shareableUrl: z.string().nullable(),\n state: z.string(),\n tags: z.array(z.string()),\n isFeatured: z.boolean(),\n createdAt: z.string(),\n updatedAt: z.string(),\n publishedAt: z.string().nullable(),\n liveStartedAt: z.string().nullable(),\n liveEndedAt: z.string().nullable(),\n cancelledAt: z.string().nullable(),\n cancelledReason: z.string().nullable(),\n category: z.string(),\n wizardStep: z.number().int().nullable(),\n productionMode: z.string().nullable(),\n productionNotes: z.string().nullable(),\n});\n\nexport const HostEventWizardCurrentResponseSchema = HostEventFullResponseSchema.extend({\n crewIds: z.array(z.uuid()),\n});\n\nconst ReadinessItemIdSchema = z.enum([\n 'EVENT_DETAILS',\n 'PRICING',\n 'CREW_ASSIGNED',\n 'STREAM_TESTED',\n]);\n\nconst ReadinessItemStateSchema = z.enum(['PASS', 'WARN', 'FAIL']);\n\nconst ReadinessCtaSchema = z.enum([\n 'OPEN_WIZARD_STEP_1',\n 'OPEN_WIZARD_STEP_2',\n 'OPEN_WIZARD_STEP_3',\n 'OPEN_HIRE_CREW',\n 'RUN_STREAM_TEST',\n]);\n\nconst ReadinessBlockReasonSchema = z.enum([\n 'CHECKLIST_INCOMPLETE',\n 'BEFORE_WINDOW',\n 'AFTER_WINDOW',\n 'ALREADY_LIVE',\n 'NOT_OWNED',\n]);\n\nconst StreamingStatusSchema = z.enum(['NOT_PROVISIONED', 'READY_FOR_TEST', 'LIVE']);\n\nconst ProductionModeSchema = z.enum(['SELF', 'HIRE']);\n\nexport const ReadinessItemSchema = z.object({\n id: ReadinessItemIdSchema,\n label: z.string(),\n state: ReadinessItemStateSchema,\n detail: z.string().optional(),\n cta: ReadinessCtaSchema.optional(),\n});\n\nexport const HostEventReadinessBlockSchema = z.object({\n progress: z.number().min(0).max(1),\n items: z.array(ReadinessItemSchema),\n canGoLive: z.boolean(),\n blockReason: ReadinessBlockReasonSchema.optional(),\n});\n\nexport const HostEventDashboardResponseSchema = z.object({\n serverNow: z.iso.datetime(),\n\n event: z.object({\n id: z.string(),\n title: z.string(),\n description: z.string().nullable(),\n coverImageUrl: z.string().nullable(),\n scheduledStart: z.iso.datetime({ local: true }),\n scheduledEnd: z.iso.datetime(),\n timezone: z.string(),\n accessModel: z.string(),\n ticketPrice: z.string().nullable(),\n currency: z.string(),\n shareableUrl: z.string().nullable(),\n state: z.string(),\n visibility: z.string(),\n productionMode: ProductionModeSchema.nullable(),\n goLiveEligibleAt: z.iso.datetime().nullable(),\n }),\n\n ticketing: z.object({\n totalPayingCapacity: z.number().int().nullable(),\n ticketsSold: z.number().int(),\n revenue: z.string(),\n currency: z.string(),\n }),\n\n audience: z.object({\n registered: z.number().int(),\n byCountry: z.record(z.string(), z.number().int()).nullable(),\n byTrafficSource: z.record(z.string(), z.number().int()).nullable(),\n }),\n\n readiness: HostEventReadinessBlockSchema,\n\n production: z.object({\n mode: ProductionModeSchema,\n crew: z.array(\n z.object({\n bookingId: z.string(),\n producerProfileId: z.string(),\n role: z.string().nullable(),\n state: z.string(),\n confirmedAt: z.iso.datetime().nullable(),\n }),\n ),\n }),\n\n streaming: z.object({\n status: StreamingStatusSchema,\n serverUrl: z.string().nullable(),\n streamKey: z.null(),\n lastStreamTestAt: z.iso.datetime().nullable(),\n testAvailableAt: z.iso.datetime().nullable(),\n }),\n\n share: z.object({\n shareableUrl: z.string(),\n slug: z.string(),\n }),\n});\n\nexport const HostEventReadinessResponseSchema = HostEventReadinessBlockSchema;\n\n// Share endpoint response\nexport const HostEventShareResponseSchema = z.object({\n shareableUrl: z.string(),\n slug: z.string(),\n copyText: z.string(),\n channelLinks: z.object({\n twitter: z.string(),\n facebook: z.string(),\n email: z.string(),\n embed: z.string(),\n }),\n qrCodeDataUrl: z.string(),\n});\n"]}
|
|
@@ -32,15 +32,7 @@ type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCatego
|
|
|
32
32
|
declare const ListProducersQuerySchema: z.ZodObject<{
|
|
33
33
|
pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
34
34
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
35
|
-
category: z.ZodOptional<z.
|
|
36
|
-
readonly SOUND: "sound";
|
|
37
|
-
readonly LIGHTING: "lighting";
|
|
38
|
-
readonly VIDEO: "video";
|
|
39
|
-
readonly STAGING: "staging";
|
|
40
|
-
readonly AV: "av";
|
|
41
|
-
readonly LOGISTICS: "logistics";
|
|
42
|
-
}>>;
|
|
43
|
-
location: z.ZodOptional<z.ZodString>;
|
|
35
|
+
category: z.ZodOptional<z.ZodString>;
|
|
44
36
|
minRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
45
37
|
maxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
46
38
|
availabilityDate: z.ZodOptional<z.ZodString>;
|
|
@@ -59,9 +51,17 @@ declare const PublicProducerListEquipmentItemSchema: z.ZodObject<{
|
|
|
59
51
|
notes: z.ZodNullable<z.ZodString>;
|
|
60
52
|
}, z.core.$strip>;
|
|
61
53
|
declare const PublicProducerListCategorySchema: z.ZodObject<{
|
|
54
|
+
id: z.ZodUUID;
|
|
62
55
|
code: z.ZodString;
|
|
63
56
|
label: z.ZodString;
|
|
64
57
|
}, z.core.$strip>;
|
|
58
|
+
declare const ServiceCategoryListResponseSchema: z.ZodObject<{
|
|
59
|
+
items: z.ZodArray<z.ZodObject<{
|
|
60
|
+
id: z.ZodUUID;
|
|
61
|
+
code: z.ZodString;
|
|
62
|
+
label: z.ZodString;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
65
|
declare const PublicProducerListPortfolioItemSchema: z.ZodObject<{
|
|
66
66
|
id: z.ZodUUID;
|
|
67
67
|
title: z.ZodString;
|
|
@@ -86,7 +86,6 @@ declare const PublicProducerListItemSchema: z.ZodObject<{
|
|
|
86
86
|
companyName: z.ZodNullable<z.ZodString>;
|
|
87
87
|
bio: z.ZodNullable<z.ZodString>;
|
|
88
88
|
yearsExperience: z.ZodNullable<z.ZodNumber>;
|
|
89
|
-
serviceAreas: z.ZodArray<z.ZodString>;
|
|
90
89
|
maxDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
91
90
|
isAvailable: z.ZodBoolean;
|
|
92
91
|
averageRating: z.ZodString;
|
|
@@ -105,7 +104,8 @@ declare const PublicProducerListItemSchema: z.ZodObject<{
|
|
|
105
104
|
}>;
|
|
106
105
|
notes: z.ZodNullable<z.ZodString>;
|
|
107
106
|
}, z.core.$strip>>;
|
|
108
|
-
|
|
107
|
+
serviceCategories: z.ZodArray<z.ZodObject<{
|
|
108
|
+
id: z.ZodUUID;
|
|
109
109
|
code: z.ZodString;
|
|
110
110
|
label: z.ZodString;
|
|
111
111
|
}, z.core.$strip>>;
|
|
@@ -117,6 +117,11 @@ declare const PublicProducerListItemSchema: z.ZodObject<{
|
|
|
117
117
|
externalUrl: z.ZodNullable<z.ZodURL>;
|
|
118
118
|
createdAt: z.ZodISODateTime;
|
|
119
119
|
}, z.core.$strip>>;
|
|
120
|
+
equipmentItems: z.ZodArray<z.ZodObject<{
|
|
121
|
+
id: z.ZodUUID;
|
|
122
|
+
code: z.ZodString;
|
|
123
|
+
label: z.ZodString;
|
|
124
|
+
}, z.core.$strip>>;
|
|
120
125
|
rateCard: z.ZodArray<z.ZodObject<{
|
|
121
126
|
id: z.ZodUUID;
|
|
122
127
|
label: z.ZodString;
|
|
@@ -136,6 +141,7 @@ type PublicProducerListCategory = z.infer<typeof PublicProducerListCategorySchem
|
|
|
136
141
|
type PublicProducerListPortfolioItem = z.infer<typeof PublicProducerListPortfolioItemSchema>;
|
|
137
142
|
type PublicProducerListRateCardItem = z.infer<typeof PublicProducerListRateCardItemSchema>;
|
|
138
143
|
type PublicProducerListItem = z.infer<typeof PublicProducerListItemSchema>;
|
|
144
|
+
type ServiceCategoryListResponse = z.infer<typeof ServiceCategoryListResponseSchema>;
|
|
139
145
|
|
|
140
146
|
/** Workspace equipment row (full manifest; public API uses the same shape). */
|
|
141
147
|
declare const WorkspaceEquipmentItemInputSchema: z.ZodObject<{
|
|
@@ -180,7 +186,6 @@ declare const ProducerProfileWorkspaceSchema: z.ZodObject<{
|
|
|
180
186
|
readonly EXPERT: "EXPERT";
|
|
181
187
|
}>;
|
|
182
188
|
yearsExperience: z.ZodNullable<z.ZodNumber>;
|
|
183
|
-
serviceAreas: z.ZodArray<z.ZodString>;
|
|
184
189
|
maxDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
185
190
|
availabilityCalendar: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
186
191
|
verificationStatus: z.ZodEnum<{
|
|
@@ -213,7 +218,8 @@ declare const ProducerProfileWorkspaceSchema: z.ZodObject<{
|
|
|
213
218
|
}>;
|
|
214
219
|
notes: z.ZodNullable<z.ZodString>;
|
|
215
220
|
}, z.core.$strip>>;
|
|
216
|
-
|
|
221
|
+
serviceCategories: z.ZodArray<z.ZodObject<{
|
|
222
|
+
id: z.ZodUUID;
|
|
217
223
|
code: z.ZodString;
|
|
218
224
|
label: z.ZodString;
|
|
219
225
|
}, z.core.$strip>>;
|
|
@@ -236,6 +242,11 @@ declare const ProducerProfileWorkspaceSchema: z.ZodObject<{
|
|
|
236
242
|
}, z.core.$strip>>;
|
|
237
243
|
createdAt: z.ZodISODateTime;
|
|
238
244
|
updatedAt: z.ZodISODateTime;
|
|
245
|
+
equipmentItems: z.ZodArray<z.ZodObject<{
|
|
246
|
+
id: z.ZodUUID;
|
|
247
|
+
code: z.ZodString;
|
|
248
|
+
label: z.ZodString;
|
|
249
|
+
}, z.core.$strip>>;
|
|
239
250
|
}, z.core.$strip>;
|
|
240
251
|
/** PATCH body for workspace profile updates (partial). */
|
|
241
252
|
declare const UpsertProducerWorkspaceProfileSchema: z.ZodObject<{
|
|
@@ -279,6 +290,8 @@ declare const UpsertProducerWorkspaceProfileSchema: z.ZodObject<{
|
|
|
279
290
|
}>>;
|
|
280
291
|
notes: z.ZodOptional<z.ZodString>;
|
|
281
292
|
}, z.core.$strip>>>;
|
|
293
|
+
equipmentItemIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
294
|
+
equipmentItemCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
282
295
|
categoryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
283
296
|
}, z.core.$strip>;
|
|
284
297
|
/** POST body for submit-for-verification (explicit intent for signing). */
|
|
@@ -326,4 +339,4 @@ type AdminProducerVerificationReasonBody = z.infer<typeof AdminProducerVerificat
|
|
|
326
339
|
type AdminRejectProducerVerification = z.infer<typeof AdminRejectProducerVerificationSchema>;
|
|
327
340
|
type AdminSuspendProducerVerification = z.infer<typeof AdminSuspendProducerVerificationSchema>;
|
|
328
341
|
|
|
329
|
-
export { type AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, type AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, type AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, type AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, type GetProducerProfileQuery, GetProducerProfileQuerySchema, type ListProducersQuery, ListProducersQuerySchema, MarketplaceCurrency, type ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, type PublicProducerListCategory, PublicProducerListCategorySchema, type PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, type PublicProducerListItem, PublicProducerListItemSchema, type PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, type PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, type SubmitProducerForVerification, SubmitProducerForVerificationSchema, type UpsertProducerWorkspaceProfile, UpsertProducerWorkspaceProfileSchema, type WorkspaceEquipmentItemInput, WorkspaceEquipmentItemInputSchema, type WorkspacePortfolioItemInput, WorkspacePortfolioItemInputSchema, type WorkspaceRateCardItemInput, WorkspaceRateCardItemInputSchema };
|
|
342
|
+
export { type AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, type AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, type AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, type AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, type GetProducerProfileQuery, GetProducerProfileQuerySchema, type ListProducersQuery, ListProducersQuerySchema, MarketplaceCurrency, type ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, type PublicProducerListCategory, PublicProducerListCategorySchema, type PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, type PublicProducerListItem, PublicProducerListItemSchema, type PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, type PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, type ServiceCategoryListResponse, ServiceCategoryListResponseSchema, type SubmitProducerForVerification, SubmitProducerForVerificationSchema, type UpsertProducerWorkspaceProfile, UpsertProducerWorkspaceProfileSchema, type WorkspaceEquipmentItemInput, WorkspaceEquipmentItemInputSchema, type WorkspacePortfolioItemInput, WorkspacePortfolioItemInputSchema, type WorkspaceRateCardItemInput, WorkspaceRateCardItemInputSchema };
|
|
@@ -32,15 +32,7 @@ type EquipmentCategory = (typeof EquipmentCategory)[keyof typeof EquipmentCatego
|
|
|
32
32
|
declare const ListProducersQuerySchema: z.ZodObject<{
|
|
33
33
|
pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
34
34
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
35
|
-
category: z.ZodOptional<z.
|
|
36
|
-
readonly SOUND: "sound";
|
|
37
|
-
readonly LIGHTING: "lighting";
|
|
38
|
-
readonly VIDEO: "video";
|
|
39
|
-
readonly STAGING: "staging";
|
|
40
|
-
readonly AV: "av";
|
|
41
|
-
readonly LOGISTICS: "logistics";
|
|
42
|
-
}>>;
|
|
43
|
-
location: z.ZodOptional<z.ZodString>;
|
|
35
|
+
category: z.ZodOptional<z.ZodString>;
|
|
44
36
|
minRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
45
37
|
maxRate: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
46
38
|
availabilityDate: z.ZodOptional<z.ZodString>;
|
|
@@ -59,9 +51,17 @@ declare const PublicProducerListEquipmentItemSchema: z.ZodObject<{
|
|
|
59
51
|
notes: z.ZodNullable<z.ZodString>;
|
|
60
52
|
}, z.core.$strip>;
|
|
61
53
|
declare const PublicProducerListCategorySchema: z.ZodObject<{
|
|
54
|
+
id: z.ZodUUID;
|
|
62
55
|
code: z.ZodString;
|
|
63
56
|
label: z.ZodString;
|
|
64
57
|
}, z.core.$strip>;
|
|
58
|
+
declare const ServiceCategoryListResponseSchema: z.ZodObject<{
|
|
59
|
+
items: z.ZodArray<z.ZodObject<{
|
|
60
|
+
id: z.ZodUUID;
|
|
61
|
+
code: z.ZodString;
|
|
62
|
+
label: z.ZodString;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
65
|
declare const PublicProducerListPortfolioItemSchema: z.ZodObject<{
|
|
66
66
|
id: z.ZodUUID;
|
|
67
67
|
title: z.ZodString;
|
|
@@ -86,7 +86,6 @@ declare const PublicProducerListItemSchema: z.ZodObject<{
|
|
|
86
86
|
companyName: z.ZodNullable<z.ZodString>;
|
|
87
87
|
bio: z.ZodNullable<z.ZodString>;
|
|
88
88
|
yearsExperience: z.ZodNullable<z.ZodNumber>;
|
|
89
|
-
serviceAreas: z.ZodArray<z.ZodString>;
|
|
90
89
|
maxDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
91
90
|
isAvailable: z.ZodBoolean;
|
|
92
91
|
averageRating: z.ZodString;
|
|
@@ -105,7 +104,8 @@ declare const PublicProducerListItemSchema: z.ZodObject<{
|
|
|
105
104
|
}>;
|
|
106
105
|
notes: z.ZodNullable<z.ZodString>;
|
|
107
106
|
}, z.core.$strip>>;
|
|
108
|
-
|
|
107
|
+
serviceCategories: z.ZodArray<z.ZodObject<{
|
|
108
|
+
id: z.ZodUUID;
|
|
109
109
|
code: z.ZodString;
|
|
110
110
|
label: z.ZodString;
|
|
111
111
|
}, z.core.$strip>>;
|
|
@@ -117,6 +117,11 @@ declare const PublicProducerListItemSchema: z.ZodObject<{
|
|
|
117
117
|
externalUrl: z.ZodNullable<z.ZodURL>;
|
|
118
118
|
createdAt: z.ZodISODateTime;
|
|
119
119
|
}, z.core.$strip>>;
|
|
120
|
+
equipmentItems: z.ZodArray<z.ZodObject<{
|
|
121
|
+
id: z.ZodUUID;
|
|
122
|
+
code: z.ZodString;
|
|
123
|
+
label: z.ZodString;
|
|
124
|
+
}, z.core.$strip>>;
|
|
120
125
|
rateCard: z.ZodArray<z.ZodObject<{
|
|
121
126
|
id: z.ZodUUID;
|
|
122
127
|
label: z.ZodString;
|
|
@@ -136,6 +141,7 @@ type PublicProducerListCategory = z.infer<typeof PublicProducerListCategorySchem
|
|
|
136
141
|
type PublicProducerListPortfolioItem = z.infer<typeof PublicProducerListPortfolioItemSchema>;
|
|
137
142
|
type PublicProducerListRateCardItem = z.infer<typeof PublicProducerListRateCardItemSchema>;
|
|
138
143
|
type PublicProducerListItem = z.infer<typeof PublicProducerListItemSchema>;
|
|
144
|
+
type ServiceCategoryListResponse = z.infer<typeof ServiceCategoryListResponseSchema>;
|
|
139
145
|
|
|
140
146
|
/** Workspace equipment row (full manifest; public API uses the same shape). */
|
|
141
147
|
declare const WorkspaceEquipmentItemInputSchema: z.ZodObject<{
|
|
@@ -180,7 +186,6 @@ declare const ProducerProfileWorkspaceSchema: z.ZodObject<{
|
|
|
180
186
|
readonly EXPERT: "EXPERT";
|
|
181
187
|
}>;
|
|
182
188
|
yearsExperience: z.ZodNullable<z.ZodNumber>;
|
|
183
|
-
serviceAreas: z.ZodArray<z.ZodString>;
|
|
184
189
|
maxDistanceKm: z.ZodNullable<z.ZodNumber>;
|
|
185
190
|
availabilityCalendar: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
186
191
|
verificationStatus: z.ZodEnum<{
|
|
@@ -213,7 +218,8 @@ declare const ProducerProfileWorkspaceSchema: z.ZodObject<{
|
|
|
213
218
|
}>;
|
|
214
219
|
notes: z.ZodNullable<z.ZodString>;
|
|
215
220
|
}, z.core.$strip>>;
|
|
216
|
-
|
|
221
|
+
serviceCategories: z.ZodArray<z.ZodObject<{
|
|
222
|
+
id: z.ZodUUID;
|
|
217
223
|
code: z.ZodString;
|
|
218
224
|
label: z.ZodString;
|
|
219
225
|
}, z.core.$strip>>;
|
|
@@ -236,6 +242,11 @@ declare const ProducerProfileWorkspaceSchema: z.ZodObject<{
|
|
|
236
242
|
}, z.core.$strip>>;
|
|
237
243
|
createdAt: z.ZodISODateTime;
|
|
238
244
|
updatedAt: z.ZodISODateTime;
|
|
245
|
+
equipmentItems: z.ZodArray<z.ZodObject<{
|
|
246
|
+
id: z.ZodUUID;
|
|
247
|
+
code: z.ZodString;
|
|
248
|
+
label: z.ZodString;
|
|
249
|
+
}, z.core.$strip>>;
|
|
239
250
|
}, z.core.$strip>;
|
|
240
251
|
/** PATCH body for workspace profile updates (partial). */
|
|
241
252
|
declare const UpsertProducerWorkspaceProfileSchema: z.ZodObject<{
|
|
@@ -279,6 +290,8 @@ declare const UpsertProducerWorkspaceProfileSchema: z.ZodObject<{
|
|
|
279
290
|
}>>;
|
|
280
291
|
notes: z.ZodOptional<z.ZodString>;
|
|
281
292
|
}, z.core.$strip>>>;
|
|
293
|
+
equipmentItemIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
294
|
+
equipmentItemCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
282
295
|
categoryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
283
296
|
}, z.core.$strip>;
|
|
284
297
|
/** POST body for submit-for-verification (explicit intent for signing). */
|
|
@@ -326,4 +339,4 @@ type AdminProducerVerificationReasonBody = z.infer<typeof AdminProducerVerificat
|
|
|
326
339
|
type AdminRejectProducerVerification = z.infer<typeof AdminRejectProducerVerificationSchema>;
|
|
327
340
|
type AdminSuspendProducerVerification = z.infer<typeof AdminSuspendProducerVerificationSchema>;
|
|
328
341
|
|
|
329
|
-
export { type AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, type AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, type AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, type AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, type GetProducerProfileQuery, GetProducerProfileQuerySchema, type ListProducersQuery, ListProducersQuerySchema, MarketplaceCurrency, type ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, type PublicProducerListCategory, PublicProducerListCategorySchema, type PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, type PublicProducerListItem, PublicProducerListItemSchema, type PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, type PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, type SubmitProducerForVerification, SubmitProducerForVerificationSchema, type UpsertProducerWorkspaceProfile, UpsertProducerWorkspaceProfileSchema, type WorkspaceEquipmentItemInput, WorkspaceEquipmentItemInputSchema, type WorkspacePortfolioItemInput, WorkspacePortfolioItemInputSchema, type WorkspaceRateCardItemInput, WorkspaceRateCardItemInputSchema };
|
|
342
|
+
export { type AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, type AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, type AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, type AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, type GetProducerProfileQuery, GetProducerProfileQuerySchema, type ListProducersQuery, ListProducersQuerySchema, MarketplaceCurrency, type ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, type PublicProducerListCategory, PublicProducerListCategorySchema, type PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, type PublicProducerListItem, PublicProducerListItemSchema, type PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, type PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, type ServiceCategoryListResponse, ServiceCategoryListResponseSchema, type SubmitProducerForVerification, SubmitProducerForVerificationSchema, type UpsertProducerWorkspaceProfile, UpsertProducerWorkspaceProfileSchema, type WorkspaceEquipmentItemInput, WorkspaceEquipmentItemInputSchema, type WorkspacePortfolioItemInput, WorkspacePortfolioItemInputSchema, type WorkspaceRateCardItemInput, WorkspaceRateCardItemInputSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkOO26RPG4_js=require('../chunk-OO26RPG4.js');require('../chunk-QGEYDED6.js');Object.defineProperty(exports,"AdminApproveProducerVerificationSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.z}});Object.defineProperty(exports,"AdminProducerVerificationReasonBodySchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.A}});Object.defineProperty(exports,"AdminRejectProducerVerificationSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.B}});Object.defineProperty(exports,"AdminSuspendProducerVerificationSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.C}});Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunkOO26RPG4_js.k}});Object.defineProperty(exports,"GetProducerProfileQuerySchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.y}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.l}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunkOO26RPG4_js.i}});Object.defineProperty(exports,"ProducerProfileWorkspaceSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.v}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.n}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.m}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.r}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.p}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.q}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunkOO26RPG4_js.j}});Object.defineProperty(exports,"ServiceCategoryListResponseSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.o}});Object.defineProperty(exports,"SubmitProducerForVerificationSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.x}});Object.defineProperty(exports,"UpsertProducerWorkspaceProfileSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.w}});Object.defineProperty(exports,"WorkspaceEquipmentItemInputSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.s}});Object.defineProperty(exports,"WorkspacePortfolioItemInputSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.t}});Object.defineProperty(exports,"WorkspaceRateCardItemInputSchema",{enumerable:true,get:function(){return chunkOO26RPG4_js.u}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{z as AdminApproveProducerVerificationSchema,A as AdminProducerVerificationReasonBodySchema,B as AdminRejectProducerVerificationSchema,C as AdminSuspendProducerVerificationSchema,k as EquipmentCategory,y as GetProducerProfileQuerySchema,l as ListProducersQuerySchema,i as MarketplaceCurrency,v as ProducerProfileWorkspaceSchema,n as PublicProducerListCategorySchema,m as PublicProducerListEquipmentItemSchema,r as PublicProducerListItemSchema,p as PublicProducerListPortfolioItemSchema,q as PublicProducerListRateCardItemSchema,j as ServiceCategoryCode,o as ServiceCategoryListResponseSchema,x as SubmitProducerForVerificationSchema,w as UpsertProducerWorkspaceProfileSchema,s as WorkspaceEquipmentItemInputSchema,t as WorkspacePortfolioItemInputSchema,u as WorkspaceRateCardItemInputSchema}from'../chunk-BAJURKDI.mjs';import'../chunk-X7OLLQRF.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -79,7 +79,23 @@ declare const NotificationResponseSchema: z.ZodObject<{
|
|
|
79
79
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
80
80
|
createdAt: z.ZodISODateTime;
|
|
81
81
|
}, z.core.$strip>;
|
|
82
|
+
declare const RegisterPushDeviceRequestSchema: z.ZodObject<{
|
|
83
|
+
expoPushToken: z.ZodString;
|
|
84
|
+
platform: z.ZodEnum<{
|
|
85
|
+
IOS: "IOS";
|
|
86
|
+
ANDROID: "ANDROID";
|
|
87
|
+
UNKNOWN: "UNKNOWN";
|
|
88
|
+
}>;
|
|
89
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
90
|
+
deviceLabel: z.ZodOptional<z.ZodString>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
declare const RegisterPushDeviceResponseSchema: z.ZodObject<{
|
|
93
|
+
deviceId: z.ZodString;
|
|
94
|
+
registeredAt: z.ZodISODateTime;
|
|
95
|
+
}, z.core.$strip>;
|
|
82
96
|
|
|
83
97
|
type NotificationResponse = z.infer<typeof NotificationResponseSchema>;
|
|
98
|
+
type RegisterPushDeviceRequest = z.infer<typeof RegisterPushDeviceRequestSchema>;
|
|
99
|
+
type RegisterPushDeviceResponse = z.infer<typeof RegisterPushDeviceResponseSchema>;
|
|
84
100
|
|
|
85
|
-
export { NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType };
|
|
101
|
+
export { NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType, type RegisterPushDeviceRequest, RegisterPushDeviceRequestSchema, type RegisterPushDeviceResponse, RegisterPushDeviceResponseSchema };
|
|
@@ -79,7 +79,23 @@ declare const NotificationResponseSchema: z.ZodObject<{
|
|
|
79
79
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
80
80
|
createdAt: z.ZodISODateTime;
|
|
81
81
|
}, z.core.$strip>;
|
|
82
|
+
declare const RegisterPushDeviceRequestSchema: z.ZodObject<{
|
|
83
|
+
expoPushToken: z.ZodString;
|
|
84
|
+
platform: z.ZodEnum<{
|
|
85
|
+
IOS: "IOS";
|
|
86
|
+
ANDROID: "ANDROID";
|
|
87
|
+
UNKNOWN: "UNKNOWN";
|
|
88
|
+
}>;
|
|
89
|
+
appVersion: z.ZodOptional<z.ZodString>;
|
|
90
|
+
deviceLabel: z.ZodOptional<z.ZodString>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
declare const RegisterPushDeviceResponseSchema: z.ZodObject<{
|
|
93
|
+
deviceId: z.ZodString;
|
|
94
|
+
registeredAt: z.ZodISODateTime;
|
|
95
|
+
}, z.core.$strip>;
|
|
82
96
|
|
|
83
97
|
type NotificationResponse = z.infer<typeof NotificationResponseSchema>;
|
|
98
|
+
type RegisterPushDeviceRequest = z.infer<typeof RegisterPushDeviceRequestSchema>;
|
|
99
|
+
type RegisterPushDeviceResponse = z.infer<typeof RegisterPushDeviceResponseSchema>;
|
|
84
100
|
|
|
85
|
-
export { NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType };
|
|
101
|
+
export { NotificationChannel, NotificationPriority, type NotificationResponse, NotificationResponseSchema, NotificationType, type RegisterPushDeviceRequest, RegisterPushDeviceRequestSchema, type RegisterPushDeviceResponse, RegisterPushDeviceResponseSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkJH2L3JHP_js=require('../chunk-JH2L3JHP.js');Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunkJH2L3JHP_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunkJH2L3JHP_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunkJH2L3JHP_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunkJH2L3JHP_js.c}});Object.defineProperty(exports,"RegisterPushDeviceRequestSchema",{enumerable:true,get:function(){return chunkJH2L3JHP_js.e}});Object.defineProperty(exports,"RegisterPushDeviceResponseSchema",{enumerable:true,get:function(){return chunkJH2L3JHP_js.f}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'../chunk-
|
|
1
|
+
export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType,e as RegisterPushDeviceRequestSchema,f as RegisterPushDeviceResponseSchema}from'../chunk-PLBAQBIM.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/user/index.d.mts
CHANGED
|
@@ -114,7 +114,16 @@ declare const ProducerProfileResponseSchema: z.ZodObject<{
|
|
|
114
114
|
readonly EXPERT: "EXPERT";
|
|
115
115
|
}>;
|
|
116
116
|
equipmentManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
117
|
-
|
|
117
|
+
serviceCategories: z.ZodArray<z.ZodObject<{
|
|
118
|
+
id: z.ZodUUID;
|
|
119
|
+
code: z.ZodString;
|
|
120
|
+
label: z.ZodString;
|
|
121
|
+
}, z.core.$strip>>;
|
|
122
|
+
equipmentItems: z.ZodArray<z.ZodObject<{
|
|
123
|
+
id: z.ZodUUID;
|
|
124
|
+
code: z.ZodString;
|
|
125
|
+
label: z.ZodString;
|
|
126
|
+
}, z.core.$strip>>;
|
|
118
127
|
verificationStatus: z.ZodEnum<{
|
|
119
128
|
readonly PENDING: "PENDING";
|
|
120
129
|
readonly APPROVED: "APPROVED";
|
|
@@ -208,7 +217,16 @@ declare const UserResponseSchema: z.ZodObject<{
|
|
|
208
217
|
readonly EXPERT: "EXPERT";
|
|
209
218
|
}>;
|
|
210
219
|
equipmentManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
211
|
-
|
|
220
|
+
serviceCategories: z.ZodArray<z.ZodObject<{
|
|
221
|
+
id: z.ZodUUID;
|
|
222
|
+
code: z.ZodString;
|
|
223
|
+
label: z.ZodString;
|
|
224
|
+
}, z.core.$strip>>;
|
|
225
|
+
equipmentItems: z.ZodArray<z.ZodObject<{
|
|
226
|
+
id: z.ZodUUID;
|
|
227
|
+
code: z.ZodString;
|
|
228
|
+
label: z.ZodString;
|
|
229
|
+
}, z.core.$strip>>;
|
|
212
230
|
verificationStatus: z.ZodEnum<{
|
|
213
231
|
readonly PENDING: "PENDING";
|
|
214
232
|
readonly APPROVED: "APPROVED";
|
|
@@ -296,7 +314,10 @@ declare const CreateProducerProfileRequestSchema: z.ZodObject<{
|
|
|
296
314
|
companyName: z.ZodString;
|
|
297
315
|
bio: z.ZodString;
|
|
298
316
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
299
|
-
|
|
317
|
+
serviceCategoryIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
318
|
+
serviceCategoryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
319
|
+
equipmentItemIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
320
|
+
equipmentItemCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
300
321
|
yearsExperience: z.ZodNumber;
|
|
301
322
|
experienceLevel: z.ZodEnum<{
|
|
302
323
|
readonly BEGINNER: "BEGINNER";
|
package/dist/user/index.d.ts
CHANGED
|
@@ -114,7 +114,16 @@ declare const ProducerProfileResponseSchema: z.ZodObject<{
|
|
|
114
114
|
readonly EXPERT: "EXPERT";
|
|
115
115
|
}>;
|
|
116
116
|
equipmentManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
117
|
-
|
|
117
|
+
serviceCategories: z.ZodArray<z.ZodObject<{
|
|
118
|
+
id: z.ZodUUID;
|
|
119
|
+
code: z.ZodString;
|
|
120
|
+
label: z.ZodString;
|
|
121
|
+
}, z.core.$strip>>;
|
|
122
|
+
equipmentItems: z.ZodArray<z.ZodObject<{
|
|
123
|
+
id: z.ZodUUID;
|
|
124
|
+
code: z.ZodString;
|
|
125
|
+
label: z.ZodString;
|
|
126
|
+
}, z.core.$strip>>;
|
|
118
127
|
verificationStatus: z.ZodEnum<{
|
|
119
128
|
readonly PENDING: "PENDING";
|
|
120
129
|
readonly APPROVED: "APPROVED";
|
|
@@ -208,7 +217,16 @@ declare const UserResponseSchema: z.ZodObject<{
|
|
|
208
217
|
readonly EXPERT: "EXPERT";
|
|
209
218
|
}>;
|
|
210
219
|
equipmentManifest: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
211
|
-
|
|
220
|
+
serviceCategories: z.ZodArray<z.ZodObject<{
|
|
221
|
+
id: z.ZodUUID;
|
|
222
|
+
code: z.ZodString;
|
|
223
|
+
label: z.ZodString;
|
|
224
|
+
}, z.core.$strip>>;
|
|
225
|
+
equipmentItems: z.ZodArray<z.ZodObject<{
|
|
226
|
+
id: z.ZodUUID;
|
|
227
|
+
code: z.ZodString;
|
|
228
|
+
label: z.ZodString;
|
|
229
|
+
}, z.core.$strip>>;
|
|
212
230
|
verificationStatus: z.ZodEnum<{
|
|
213
231
|
readonly PENDING: "PENDING";
|
|
214
232
|
readonly APPROVED: "APPROVED";
|
|
@@ -296,7 +314,10 @@ declare const CreateProducerProfileRequestSchema: z.ZodObject<{
|
|
|
296
314
|
companyName: z.ZodString;
|
|
297
315
|
bio: z.ZodString;
|
|
298
316
|
logoUrl: z.ZodOptional<z.ZodString>;
|
|
299
|
-
|
|
317
|
+
serviceCategoryIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
318
|
+
serviceCategoryCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
319
|
+
equipmentItemIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
320
|
+
equipmentItemCodes: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
300
321
|
yearsExperience: z.ZodNumber;
|
|
301
322
|
experienceLevel: z.ZodEnum<{
|
|
302
323
|
readonly BEGINNER: "BEGINNER";
|