@livdot-tech/contracts 1.9.20 → 1.9.22
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 +23 -1
- package/dist/booking/index.d.ts +23 -1
- package/dist/booking/index.js +1 -1
- package/dist/booking/index.mjs +1 -1
- package/dist/chat/index.d.mts +97 -0
- package/dist/chat/index.d.ts +97 -0
- package/dist/chat/index.js +2 -0
- package/dist/chat/index.js.map +1 -0
- package/dist/chat/index.mjs +2 -0
- package/dist/chat/index.mjs.map +1 -0
- package/dist/chunk-5IA4SH4O.mjs +2 -0
- package/dist/chunk-5IA4SH4O.mjs.map +1 -0
- package/dist/chunk-7HBUII6V.js +2 -0
- package/dist/chunk-7HBUII6V.js.map +1 -0
- package/dist/chunk-AB423ZP4.js +2 -0
- package/dist/chunk-AB423ZP4.js.map +1 -0
- package/dist/chunk-EZFD2I7V.js +2 -0
- package/dist/chunk-EZFD2I7V.js.map +1 -0
- package/dist/chunk-GHFM22ZF.mjs +2 -0
- package/dist/chunk-GHFM22ZF.mjs.map +1 -0
- package/dist/chunk-GR74BEG3.js +2 -0
- package/dist/chunk-GR74BEG3.js.map +1 -0
- package/dist/chunk-JNU5CZVT.js +2 -0
- package/dist/chunk-JNU5CZVT.js.map +1 -0
- package/dist/chunk-JWVW5AP2.mjs +2 -0
- package/dist/chunk-JWVW5AP2.mjs.map +1 -0
- package/dist/chunk-LA63VYRR.js +2 -0
- package/dist/chunk-LA63VYRR.js.map +1 -0
- package/dist/chunk-PMTVFD4Q.mjs +2 -0
- package/dist/chunk-PMTVFD4Q.mjs.map +1 -0
- package/dist/chunk-QSHXY3NV.mjs +2 -0
- package/dist/chunk-QSHXY3NV.mjs.map +1 -0
- package/dist/chunk-R55PDQYI.mjs +2 -0
- package/dist/chunk-R55PDQYI.mjs.map +1 -0
- package/dist/chunk-T3BYBVTP.mjs +2 -0
- package/dist/chunk-T3BYBVTP.mjs.map +1 -0
- package/dist/chunk-YCHOYNMM.js +2 -0
- package/dist/chunk-YCHOYNMM.js.map +1 -0
- package/dist/event/index.d.mts +20 -0
- package/dist/event/index.d.ts +20 -0
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/host/index.d.mts +1102 -0
- package/dist/host/index.d.ts +1102 -0
- package/dist/host/index.js +2 -0
- package/dist/host/index.js.map +1 -0
- package/dist/host/index.mjs +2 -0
- package/dist/host/index.mjs.map +1 -0
- package/dist/index.d.mts +5 -930
- package/dist/index.d.ts +5 -930
- 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/notification/index.d.mts +12 -0
- package/dist/notification/index.d.ts +12 -0
- package/dist/notification/index.js +1 -1
- package/dist/notification/index.mjs +1 -1
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +36 -1
- package/dist/user/index.d.ts +36 -1
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-34PROUK4.js +0 -2
- package/dist/chunk-34PROUK4.js.map +0 -1
- package/dist/chunk-4544S7SF.js +0 -2
- package/dist/chunk-4544S7SF.js.map +0 -1
- package/dist/chunk-5XISW6DH.mjs +0 -2
- package/dist/chunk-5XISW6DH.mjs.map +0 -1
- package/dist/chunk-6J677OMF.mjs +0 -2
- package/dist/chunk-6J677OMF.mjs.map +0 -1
- package/dist/chunk-DIGMDWL4.js +0 -2
- package/dist/chunk-DIGMDWL4.js.map +0 -1
- package/dist/chunk-EJYBQ36M.mjs +0 -2
- package/dist/chunk-EJYBQ36M.mjs.map +0 -1
- package/dist/chunk-OEDCATQ5.js +0 -2
- package/dist/chunk-OEDCATQ5.js.map +0 -1
- package/dist/chunk-YY24TIOU.mjs +0 -2
- package/dist/chunk-YY24TIOU.mjs.map +0 -1
package/dist/auth/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunk6V6UXZSJ_js=require('../chunk-6V6UXZSJ.js');require('../chunk-
|
|
1
|
+
'use strict';var chunk6V6UXZSJ_js=require('../chunk-6V6UXZSJ.js');require('../chunk-GR74BEG3.js'),require('../chunk-3XLDX2QM.js'),require('../chunk-TO3WFEGT.js'),require('../chunk-7HBUII6V.js'),require('../chunk-244RJ2YJ.js'),require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.q}});Object.defineProperty(exports,"ConfirmPasswordSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.C}});Object.defineProperty(exports,"DisableMfaBodySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.I}});Object.defineProperty(exports,"EnableMfaBodySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.H}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.n}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.o}});Object.defineProperty(exports,"IdentityProvider",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.a}});Object.defineProperty(exports,"LinkRequiredReasonEnum",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.b}});Object.defineProperty(exports,"LinkRequiredResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.x}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.g}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.k}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.m}});Object.defineProperty(exports,"MFA_ACTIONS",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.E}});Object.defineProperty(exports,"MfaChallengeBodySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.J}});Object.defineProperty(exports,"MfaVerifyBodySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.K}});Object.defineProperty(exports,"OauthDirectTokenRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.u}});Object.defineProperty(exports,"OauthExchangeRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.t}});Object.defineProperty(exports,"OauthLinkCompleteEmailRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.B}});Object.defineProperty(exports,"OauthLinkCompleteRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.v}});Object.defineProperty(exports,"OauthLinkSendOtpRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.w}});Object.defineProperty(exports,"OauthLinkSendOtpResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.y}});Object.defineProperty(exports,"OauthResolveKind",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.c}});Object.defineProperty(exports,"OauthStartQuerySchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.r}});Object.defineProperty(exports,"OauthStartResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.s}});Object.defineProperty(exports,"PasswordSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.d}});Object.defineProperty(exports,"ProvidersListItemSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.z}});Object.defineProperty(exports,"ProvidersListResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.A}});Object.defineProperty(exports,"ReauthTokenResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.D}});Object.defineProperty(exports,"RecoveryCodeSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.G}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.l}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.e}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.f}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.i}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.p}});Object.defineProperty(exports,"TotpCodeSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.F}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.h}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunk6V6UXZSJ_js.j}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/auth/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{q as ChangePasswordRequestSchema,C as ConfirmPasswordSchema,I as DisableMfaBodySchema,H as EnableMfaBodySchema,n as ForgotPasswordRequestSchema,o as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,x as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,m as LogoutRequestSchema,E as MFA_ACTIONS,J as MfaChallengeBodySchema,K as MfaVerifyBodySchema,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,G as RecoveryCodeSchema,l as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,p as ResetPasswordRequestSchema,F as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-DWMOEKLB.mjs';import'../chunk-
|
|
1
|
+
export{q as ChangePasswordRequestSchema,C as ConfirmPasswordSchema,I as DisableMfaBodySchema,H as EnableMfaBodySchema,n as ForgotPasswordRequestSchema,o as ForgotPasswordResponseSchema,a as IdentityProvider,b as LinkRequiredReasonEnum,x as LinkRequiredResponseSchema,g as LoginRequestSchema,k as LoginResponseSchema,m as LogoutRequestSchema,E as MFA_ACTIONS,J as MfaChallengeBodySchema,K as MfaVerifyBodySchema,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,G as RecoveryCodeSchema,l as RefreshTokenRequestSchema,e as RegisterRequestSchema,f as RegisterResponseSchema,i as ResendOtpRequestSchema,p as ResetPasswordRequestSchema,F as TotpCodeSchema,h as VerifyOtpRequestSchema,j as VerifyOtpResponseSchema}from'../chunk-DWMOEKLB.mjs';import'../chunk-PMTVFD4Q.mjs';import'../chunk-5ENUSIHI.mjs';import'../chunk-6DKE37U5.mjs';import'../chunk-QSHXY3NV.mjs';import'../chunk-73FCZRSF.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/booking/index.d.mts
CHANGED
|
@@ -206,6 +206,13 @@ declare const JobLocation: {
|
|
|
206
206
|
readonly REMOTE: "REMOTE";
|
|
207
207
|
};
|
|
208
208
|
type JobLocation = (typeof JobLocation)[keyof typeof JobLocation];
|
|
209
|
+
/** Discover-jobs compensation bracket filter (NGN). */
|
|
210
|
+
declare const JobListingCompensationTier: {
|
|
211
|
+
readonly LOW: "LOW";
|
|
212
|
+
readonly MID: "MID";
|
|
213
|
+
readonly HIGH: "HIGH";
|
|
214
|
+
};
|
|
215
|
+
type JobListingCompensationTier = (typeof JobListingCompensationTier)[keyof typeof JobListingCompensationTier];
|
|
209
216
|
|
|
210
217
|
/** `POST /marketplace/bookings` */
|
|
211
218
|
declare const CreateMarketplaceBookingRequestSchema: z.ZodObject<{
|
|
@@ -437,6 +444,21 @@ declare const ListMarketplaceJobListingsQuerySchema: z.ZodObject<{
|
|
|
437
444
|
readonly ONSITE: "ONSITE";
|
|
438
445
|
readonly REMOTE: "REMOTE";
|
|
439
446
|
}>>;
|
|
447
|
+
search: z.ZodOptional<z.ZodString>;
|
|
448
|
+
roles: z.ZodOptional<z.ZodString>;
|
|
449
|
+
requiredDateFrom: z.ZodOptional<z.ZodString>;
|
|
450
|
+
requiredDateTo: z.ZodOptional<z.ZodString>;
|
|
451
|
+
minCompensation: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
452
|
+
maxCompensation: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
453
|
+
compensationTier: z.ZodOptional<z.ZodEnum<{
|
|
454
|
+
readonly LOW: "LOW";
|
|
455
|
+
readonly MID: "MID";
|
|
456
|
+
readonly HIGH: "HIGH";
|
|
457
|
+
}>>;
|
|
458
|
+
matchMyAvailability: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
459
|
+
true: "true";
|
|
460
|
+
false: "false";
|
|
461
|
+
}>>, z.ZodTransform<boolean, "true" | "false" | undefined>>;
|
|
440
462
|
pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
441
463
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
442
464
|
}, z.core.$strip>;
|
|
@@ -1385,4 +1407,4 @@ type BookingAuditAttachmentAddedDetails = z.infer<typeof BookingAuditAttachmentA
|
|
|
1385
1407
|
type AdminBookingAuditEntry = z.infer<typeof AdminBookingAuditEntrySchema>;
|
|
1386
1408
|
type AdminBookingAuditResponse = z.infer<typeof AdminBookingAuditResponseSchema>;
|
|
1387
1409
|
|
|
1388
|
-
export { 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 CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, 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 MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, SortOrder, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
|
|
1410
|
+
export { 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 CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, 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 MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, SortOrder, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
|
package/dist/booking/index.d.ts
CHANGED
|
@@ -206,6 +206,13 @@ declare const JobLocation: {
|
|
|
206
206
|
readonly REMOTE: "REMOTE";
|
|
207
207
|
};
|
|
208
208
|
type JobLocation = (typeof JobLocation)[keyof typeof JobLocation];
|
|
209
|
+
/** Discover-jobs compensation bracket filter (NGN). */
|
|
210
|
+
declare const JobListingCompensationTier: {
|
|
211
|
+
readonly LOW: "LOW";
|
|
212
|
+
readonly MID: "MID";
|
|
213
|
+
readonly HIGH: "HIGH";
|
|
214
|
+
};
|
|
215
|
+
type JobListingCompensationTier = (typeof JobListingCompensationTier)[keyof typeof JobListingCompensationTier];
|
|
209
216
|
|
|
210
217
|
/** `POST /marketplace/bookings` */
|
|
211
218
|
declare const CreateMarketplaceBookingRequestSchema: z.ZodObject<{
|
|
@@ -437,6 +444,21 @@ declare const ListMarketplaceJobListingsQuerySchema: z.ZodObject<{
|
|
|
437
444
|
readonly ONSITE: "ONSITE";
|
|
438
445
|
readonly REMOTE: "REMOTE";
|
|
439
446
|
}>>;
|
|
447
|
+
search: z.ZodOptional<z.ZodString>;
|
|
448
|
+
roles: z.ZodOptional<z.ZodString>;
|
|
449
|
+
requiredDateFrom: z.ZodOptional<z.ZodString>;
|
|
450
|
+
requiredDateTo: z.ZodOptional<z.ZodString>;
|
|
451
|
+
minCompensation: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
452
|
+
maxCompensation: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
453
|
+
compensationTier: z.ZodOptional<z.ZodEnum<{
|
|
454
|
+
readonly LOW: "LOW";
|
|
455
|
+
readonly MID: "MID";
|
|
456
|
+
readonly HIGH: "HIGH";
|
|
457
|
+
}>>;
|
|
458
|
+
matchMyAvailability: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
|
|
459
|
+
true: "true";
|
|
460
|
+
false: "false";
|
|
461
|
+
}>>, z.ZodTransform<boolean, "true" | "false" | undefined>>;
|
|
440
462
|
pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
441
463
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
442
464
|
}, z.core.$strip>;
|
|
@@ -1385,4 +1407,4 @@ type BookingAuditAttachmentAddedDetails = z.infer<typeof BookingAuditAttachmentA
|
|
|
1385
1407
|
type AdminBookingAuditEntry = z.infer<typeof AdminBookingAuditEntrySchema>;
|
|
1386
1408
|
type AdminBookingAuditResponse = z.infer<typeof AdminBookingAuditResponseSchema>;
|
|
1387
1409
|
|
|
1388
|
-
export { 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 CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, 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 MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, SortOrder, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
|
|
1410
|
+
export { 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 CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, type CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, type ConfirmBookingRequest, ConfirmBookingRequestSchema, type CreateBookingRequest, CreateBookingRequestSchema, type CreateJobListingRequest, CreateJobListingRequestSchema, type CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, type CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, type CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, type CreateMarketplaceReviewRequest, CreateMarketplaceReviewRequestSchema, type ForceCompleteMarketplaceBookingRequest, ForceCompleteMarketplaceBookingRequestSchema, type GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, HostIndicationOfInterestSortBy, type IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingCompensationTier, type JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, type ListHostMarketplaceIndicationsQuery, ListHostMarketplaceIndicationsQuerySchema, type ListHostMarketplaceJobListingsQuery, ListHostMarketplaceJobListingsQuerySchema, type ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, type ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, type ListMarketplaceHiringThreadsResponse, ListMarketplaceHiringThreadsResponseSchema, type ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, 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 MarketplaceReviewResponse, MarketplaceReviewResponseSchema, MessageDeliveryStatus, type PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, type PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, type ProducerRecentReview, ProducerRecentReviewSchema, type PublishMarketplaceJobListingResponse, PublishMarketplaceJobListingResponseSchema, type PublishReadyJobListing, PublishReadyJobListingSchema, SortOrder, type SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, type SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, type TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, type TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, type UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition };
|
package/dist/booking/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkAB423ZP4_js=require('../chunk-AB423ZP4.js'),chunkLA63VYRR_js=require('../chunk-LA63VYRR.js');require('../chunk-EAKBQ5VD.js');var chunkTO3WFEGT_js=require('../chunk-TO3WFEGT.js');require('../chunk-244RJ2YJ.js'),require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"AdminBookingAuditEntrySchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.ia}});Object.defineProperty(exports,"AdminBookingAuditResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.ja}});Object.defineProperty(exports,"BOOKING_TERMINAL_STATES",{enumerable:true,get:function(){return chunkAB423ZP4_js.a}});Object.defineProperty(exports,"BOOKING_TRANSITION_ACTORS",{enumerable:true,get:function(){return chunkAB423ZP4_js.c}});Object.defineProperty(exports,"BOOKING_TRANSITION_TARGETS_REQUIRING_REASON",{enumerable:true,get:function(){return chunkAB423ZP4_js.d}});Object.defineProperty(exports,"BookingAuditActorSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.ca}});Object.defineProperty(exports,"BookingAuditAttachmentAddedDetailsSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.ha}});Object.defineProperty(exports,"BookingAuditMessageSentDetailsSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.ga}});Object.defineProperty(exports,"BookingAuditRequestMetadataSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.da}});Object.defineProperty(exports,"BookingAuditSnapshotSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.ea}});Object.defineProperty(exports,"BookingAuditStateTransitionDetailsSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.fa}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.m}});Object.defineProperty(exports,"CancelMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.I}});Object.defineProperty(exports,"CancelMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.J}});Object.defineProperty(exports,"CompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.y}});Object.defineProperty(exports,"CompleteMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.A}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.l}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.k}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.n}});Object.defineProperty(exports,"CreateMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.t}});Object.defineProperty(exports,"CreateMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.v}});Object.defineProperty(exports,"CreateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.B}});Object.defineProperty(exports,"ForceCompleteMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.z}});Object.defineProperty(exports,"GetMarketplaceHiringThreadResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.X}});Object.defineProperty(exports,"HostIndicationOfInterestSortBy",{enumerable:true,get:function(){return chunkAB423ZP4_js.N}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.q}});Object.defineProperty(exports,"JobListingCompensationTier",{enumerable:true,get:function(){return chunkAB423ZP4_js.s}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.o}});Object.defineProperty(exports,"JobLocation",{enumerable:true,get:function(){return chunkAB423ZP4_js.r}});Object.defineProperty(exports,"ListHostMarketplaceIndicationsQuerySchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.P}});Object.defineProperty(exports,"ListHostMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.E}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesQuerySchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.V}});Object.defineProperty(exports,"ListMarketplaceHiringThreadMessagesResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.W}});Object.defineProperty(exports,"ListMarketplaceHiringThreadsResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.ba}});Object.defineProperty(exports,"ListMarketplaceJobListingsQuerySchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.D}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js._}});Object.defineProperty(exports,"MarkMarketplaceHiringThreadReadResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.$}});Object.defineProperty(exports,"MarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.u}});Object.defineProperty(exports,"MarketplaceHiringMessageAttachmentSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.T}});Object.defineProperty(exports,"MarketplaceHiringMessageSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.U}});Object.defineProperty(exports,"MarketplaceHiringThreadInboxItemSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.aa}});Object.defineProperty(exports,"MarketplaceHiringThreadSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.S}});Object.defineProperty(exports,"MarketplaceHostIndicationOfInterestInboxItemSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.Q}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestHostItemSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.M}});Object.defineProperty(exports,"MarketplaceIndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.L}});Object.defineProperty(exports,"MarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.H}});Object.defineProperty(exports,"MessageDeliveryStatus",{enumerable:true,get:function(){return chunkAB423ZP4_js.R}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.Y}});Object.defineProperty(exports,"PostMarketplaceHiringThreadMessageResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.Z}});Object.defineProperty(exports,"PublishMarketplaceJobListingResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.G}});Object.defineProperty(exports,"PublishReadyJobListingSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.F}});Object.defineProperty(exports,"SortOrder",{enumerable:true,get:function(){return chunkAB423ZP4_js.O}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.p}});Object.defineProperty(exports,"SubmitMarketplaceIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.K}});Object.defineProperty(exports,"TransitionMarketplaceBookingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.w}});Object.defineProperty(exports,"TransitionMarketplaceBookingResponseSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.x}});Object.defineProperty(exports,"UpdateMarketplaceJobListingRequestSchema",{enumerable:true,get:function(){return chunkAB423ZP4_js.C}});Object.defineProperty(exports,"VALID_BOOKING_TRANSITIONS",{enumerable:true,get:function(){return chunkAB423ZP4_js.b}});Object.defineProperty(exports,"bookingTransitionKey",{enumerable:true,get:function(){return chunkAB423ZP4_js.e}});Object.defineProperty(exports,"bookingTransitionRequiresReason",{enumerable:true,get:function(){return chunkAB423ZP4_js.j}});Object.defineProperty(exports,"canActorPerformBookingTransition",{enumerable:true,get:function(){return chunkAB423ZP4_js.i}});Object.defineProperty(exports,"getAllowedBookingTargetStates",{enumerable:true,get:function(){return chunkAB423ZP4_js.f}});Object.defineProperty(exports,"getBookingTransitionActors",{enumerable:true,get:function(){return chunkAB423ZP4_js.h}});Object.defineProperty(exports,"isValidBookingTransition",{enumerable:true,get:function(){return chunkAB423ZP4_js.g}});Object.defineProperty(exports,"BookingAuditAction",{enumerable:true,get:function(){return chunkLA63VYRR_js.g}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkLA63VYRR_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkLA63VYRR_js.e}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkLA63VYRR_js.b}});Object.defineProperty(exports,"BookingTransitionActor",{enumerable:true,get:function(){return chunkLA63VYRR_js.f}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkLA63VYRR_js.d}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkLA63VYRR_js.c}});Object.defineProperty(exports,"CreateMarketplaceReviewRequestSchema",{enumerable:true,get:function(){return chunkTO3WFEGT_js.a}});Object.defineProperty(exports,"MarketplaceReviewResponseSchema",{enumerable:true,get:function(){return chunkTO3WFEGT_js.b}});Object.defineProperty(exports,"ProducerRecentReviewSchema",{enumerable:true,get:function(){return chunkTO3WFEGT_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{ia as AdminBookingAuditEntrySchema,ja as AdminBookingAuditResponseSchema,a as BOOKING_TERMINAL_STATES,c as BOOKING_TRANSITION_ACTORS,d as BOOKING_TRANSITION_TARGETS_REQUIRING_REASON,ca as BookingAuditActorSchema,ha as BookingAuditAttachmentAddedDetailsSchema,ga as BookingAuditMessageSentDetailsSchema,da as BookingAuditRequestMetadataSchema,ea as BookingAuditSnapshotSchema,fa as BookingAuditStateTransitionDetailsSchema,m as BookingResponseSchema,I as CancelMarketplaceJobListingRequestSchema,J as CancelMarketplaceJobListingResponseSchema,y as CompleteMarketplaceBookingRequestSchema,A as CompleteMarketplaceBookingResponseSchema,l as ConfirmBookingRequestSchema,k as CreateBookingRequestSchema,n as CreateJobListingRequestSchema,t as CreateMarketplaceBookingRequestSchema,v as CreateMarketplaceBookingResponseSchema,B as CreateMarketplaceJobListingRequestSchema,z as ForceCompleteMarketplaceBookingRequestSchema,X as GetMarketplaceHiringThreadResponseSchema,N as HostIndicationOfInterestSortBy,q as IndicationOfInterestResponseSchema,s as JobListingCompensationTier,o as JobListingResponseSchema,r as JobLocation,P as ListHostMarketplaceIndicationsQuerySchema,E as ListHostMarketplaceJobListingsQuerySchema,V as ListMarketplaceHiringThreadMessagesQuerySchema,W as ListMarketplaceHiringThreadMessagesResponseSchema,ba as ListMarketplaceHiringThreadsResponseSchema,D as ListMarketplaceJobListingsQuerySchema,_ as MarkMarketplaceHiringThreadReadRequestSchema,$ as MarkMarketplaceHiringThreadReadResponseSchema,u as MarketplaceBookingResponseSchema,T as MarketplaceHiringMessageAttachmentSchema,U as MarketplaceHiringMessageSchema,aa as MarketplaceHiringThreadInboxItemSchema,S as MarketplaceHiringThreadSchema,Q as MarketplaceHostIndicationOfInterestInboxItemSchema,M as MarketplaceIndicationOfInterestHostItemSchema,L as MarketplaceIndicationOfInterestResponseSchema,H as MarketplaceJobListingResponseSchema,R as MessageDeliveryStatus,Y as PostMarketplaceHiringThreadMessageRequestSchema,Z as PostMarketplaceHiringThreadMessageResponseSchema,G as PublishMarketplaceJobListingResponseSchema,F as PublishReadyJobListingSchema,O as SortOrder,p as SubmitIndicationOfInterestRequestSchema,K as SubmitMarketplaceIndicationOfInterestRequestSchema,w as TransitionMarketplaceBookingRequestSchema,x as TransitionMarketplaceBookingResponseSchema,C as UpdateMarketplaceJobListingRequestSchema,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-R55PDQYI.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-JWVW5AP2.mjs';import'../chunk-ASVBPXYH.mjs';export{a as CreateMarketplaceReviewRequestSchema,b as MarketplaceReviewResponseSchema,c as ProducerRecentReviewSchema}from'../chunk-6DKE37U5.mjs';import'../chunk-73FCZRSF.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;
|
|
4
|
+
declare const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;
|
|
5
|
+
declare const CHAT_MODERATION_REASON_MAX_LENGTH = 200;
|
|
6
|
+
declare const ChatMessageUserSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
displayName: z.ZodString;
|
|
9
|
+
colorHex: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const ChatMessageSchema: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
body: z.ZodString;
|
|
14
|
+
createdAt: z.ZodISODateTime;
|
|
15
|
+
user: z.ZodObject<{
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
displayName: z.ZodString;
|
|
18
|
+
colorHex: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const ChatHistoryResponseSchema: z.ZodObject<{
|
|
23
|
+
totalCount: z.ZodNumber;
|
|
24
|
+
pageNumber: z.ZodNumber;
|
|
25
|
+
pageSize: z.ZodNumber;
|
|
26
|
+
totalPages: z.ZodNumber;
|
|
27
|
+
hasPreviousPage: z.ZodBoolean;
|
|
28
|
+
hasNextPage: z.ZodBoolean;
|
|
29
|
+
items: z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
body: z.ZodString;
|
|
32
|
+
createdAt: z.ZodISODateTime;
|
|
33
|
+
user: z.ZodObject<{
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
displayName: z.ZodString;
|
|
36
|
+
colorHex: z.ZodString;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
declare const PostChatMessageRequestSchema: z.ZodObject<{
|
|
42
|
+
body: z.ZodString;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
declare const ChatModerationDeleteRequestSchema: z.ZodObject<{
|
|
45
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
declare const ChatModerationMuteRequestSchema: z.ZodObject<{
|
|
48
|
+
until: z.ZodOptional<z.ZodISODateTime>;
|
|
49
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
/**
|
|
52
|
+
* Public-shape response for `POST /chat/mute`. `mutedUntil` is the source
|
|
53
|
+
* of truth (`null` = not muted). `mutedBy` is intentionally omitted —
|
|
54
|
+
* moderation metadata stays out of the response surface.
|
|
55
|
+
*/
|
|
56
|
+
declare const ChatMuteStateResponseSchema: z.ZodObject<{
|
|
57
|
+
eventId: z.ZodString;
|
|
58
|
+
mutedUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
declare const ChatCredentialsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"in-process">;
|
|
62
|
+
wsNamespace: z.ZodString;
|
|
63
|
+
token: z.ZodString;
|
|
64
|
+
eventRoomId: z.ZodString;
|
|
65
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
+
kind: z.ZodLiteral<"ivs">;
|
|
67
|
+
roomIdentifier: z.ZodString;
|
|
68
|
+
endpoint: z.ZodString;
|
|
69
|
+
token: z.ZodString;
|
|
70
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
71
|
+
}, z.core.$strip>], "kind">;
|
|
72
|
+
declare const InProcessChatCredentialsSchema: z.ZodObject<{
|
|
73
|
+
kind: z.ZodLiteral<"in-process">;
|
|
74
|
+
wsNamespace: z.ZodString;
|
|
75
|
+
token: z.ZodString;
|
|
76
|
+
eventRoomId: z.ZodString;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
declare const IvsChatCredentialsSchema: z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"ivs">;
|
|
80
|
+
roomIdentifier: z.ZodString;
|
|
81
|
+
endpoint: z.ZodString;
|
|
82
|
+
token: z.ZodString;
|
|
83
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
|
|
86
|
+
type ChatMessageUser = z.infer<typeof ChatMessageUserSchema>;
|
|
87
|
+
type ChatMessage = z.infer<typeof ChatMessageSchema>;
|
|
88
|
+
type ChatHistoryResponse = z.infer<typeof ChatHistoryResponseSchema>;
|
|
89
|
+
type PostChatMessageRequest = z.infer<typeof PostChatMessageRequestSchema>;
|
|
90
|
+
type ChatModerationDeleteRequest = z.infer<typeof ChatModerationDeleteRequestSchema>;
|
|
91
|
+
type ChatModerationMuteRequest = z.infer<typeof ChatModerationMuteRequestSchema>;
|
|
92
|
+
type ChatMuteStateResponse = z.infer<typeof ChatMuteStateResponseSchema>;
|
|
93
|
+
type ChatCredentialsResponse = z.infer<typeof ChatCredentialsResponseSchema>;
|
|
94
|
+
type IvsChatCredentials = z.infer<typeof IvsChatCredentialsSchema>;
|
|
95
|
+
type InProcessChatCredentials = z.infer<typeof InProcessChatCredentialsSchema>;
|
|
96
|
+
|
|
97
|
+
export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;
|
|
4
|
+
declare const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;
|
|
5
|
+
declare const CHAT_MODERATION_REASON_MAX_LENGTH = 200;
|
|
6
|
+
declare const ChatMessageUserSchema: z.ZodObject<{
|
|
7
|
+
id: z.ZodString;
|
|
8
|
+
displayName: z.ZodString;
|
|
9
|
+
colorHex: z.ZodString;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const ChatMessageSchema: z.ZodObject<{
|
|
12
|
+
id: z.ZodString;
|
|
13
|
+
body: z.ZodString;
|
|
14
|
+
createdAt: z.ZodISODateTime;
|
|
15
|
+
user: z.ZodObject<{
|
|
16
|
+
id: z.ZodString;
|
|
17
|
+
displayName: z.ZodString;
|
|
18
|
+
colorHex: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
21
|
+
}, z.core.$strip>;
|
|
22
|
+
declare const ChatHistoryResponseSchema: z.ZodObject<{
|
|
23
|
+
totalCount: z.ZodNumber;
|
|
24
|
+
pageNumber: z.ZodNumber;
|
|
25
|
+
pageSize: z.ZodNumber;
|
|
26
|
+
totalPages: z.ZodNumber;
|
|
27
|
+
hasPreviousPage: z.ZodBoolean;
|
|
28
|
+
hasNextPage: z.ZodBoolean;
|
|
29
|
+
items: z.ZodArray<z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
body: z.ZodString;
|
|
32
|
+
createdAt: z.ZodISODateTime;
|
|
33
|
+
user: z.ZodObject<{
|
|
34
|
+
id: z.ZodString;
|
|
35
|
+
displayName: z.ZodString;
|
|
36
|
+
colorHex: z.ZodString;
|
|
37
|
+
}, z.core.$strip>;
|
|
38
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
declare const PostChatMessageRequestSchema: z.ZodObject<{
|
|
42
|
+
body: z.ZodString;
|
|
43
|
+
}, z.core.$strip>;
|
|
44
|
+
declare const ChatModerationDeleteRequestSchema: z.ZodObject<{
|
|
45
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
46
|
+
}, z.core.$strict>;
|
|
47
|
+
declare const ChatModerationMuteRequestSchema: z.ZodObject<{
|
|
48
|
+
until: z.ZodOptional<z.ZodISODateTime>;
|
|
49
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
50
|
+
}, z.core.$strict>;
|
|
51
|
+
/**
|
|
52
|
+
* Public-shape response for `POST /chat/mute`. `mutedUntil` is the source
|
|
53
|
+
* of truth (`null` = not muted). `mutedBy` is intentionally omitted —
|
|
54
|
+
* moderation metadata stays out of the response surface.
|
|
55
|
+
*/
|
|
56
|
+
declare const ChatMuteStateResponseSchema: z.ZodObject<{
|
|
57
|
+
eventId: z.ZodString;
|
|
58
|
+
mutedUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
59
|
+
}, z.core.$strip>;
|
|
60
|
+
declare const ChatCredentialsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
61
|
+
kind: z.ZodLiteral<"in-process">;
|
|
62
|
+
wsNamespace: z.ZodString;
|
|
63
|
+
token: z.ZodString;
|
|
64
|
+
eventRoomId: z.ZodString;
|
|
65
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
+
kind: z.ZodLiteral<"ivs">;
|
|
67
|
+
roomIdentifier: z.ZodString;
|
|
68
|
+
endpoint: z.ZodString;
|
|
69
|
+
token: z.ZodString;
|
|
70
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
71
|
+
}, z.core.$strip>], "kind">;
|
|
72
|
+
declare const InProcessChatCredentialsSchema: z.ZodObject<{
|
|
73
|
+
kind: z.ZodLiteral<"in-process">;
|
|
74
|
+
wsNamespace: z.ZodString;
|
|
75
|
+
token: z.ZodString;
|
|
76
|
+
eventRoomId: z.ZodString;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
declare const IvsChatCredentialsSchema: z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"ivs">;
|
|
80
|
+
roomIdentifier: z.ZodString;
|
|
81
|
+
endpoint: z.ZodString;
|
|
82
|
+
token: z.ZodString;
|
|
83
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
|
|
86
|
+
type ChatMessageUser = z.infer<typeof ChatMessageUserSchema>;
|
|
87
|
+
type ChatMessage = z.infer<typeof ChatMessageSchema>;
|
|
88
|
+
type ChatHistoryResponse = z.infer<typeof ChatHistoryResponseSchema>;
|
|
89
|
+
type PostChatMessageRequest = z.infer<typeof PostChatMessageRequestSchema>;
|
|
90
|
+
type ChatModerationDeleteRequest = z.infer<typeof ChatModerationDeleteRequestSchema>;
|
|
91
|
+
type ChatModerationMuteRequest = z.infer<typeof ChatModerationMuteRequestSchema>;
|
|
92
|
+
type ChatMuteStateResponse = z.infer<typeof ChatMuteStateResponseSchema>;
|
|
93
|
+
type ChatCredentialsResponse = z.infer<typeof ChatCredentialsResponseSchema>;
|
|
94
|
+
type IvsChatCredentials = z.infer<typeof IvsChatCredentialsSchema>;
|
|
95
|
+
type InProcessChatCredentials = z.infer<typeof InProcessChatCredentialsSchema>;
|
|
96
|
+
|
|
97
|
+
export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkYCHOYNMM_js=require('../chunk-YCHOYNMM.js');require('../chunk-244RJ2YJ.js'),require('../chunk-DQG37GYU.js');Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MAX_LENGTH",{enumerable:true,get:function(){return chunkYCHOYNMM_js.b}});Object.defineProperty(exports,"CHAT_MESSAGE_BODY_MIN_LENGTH",{enumerable:true,get:function(){return chunkYCHOYNMM_js.a}});Object.defineProperty(exports,"CHAT_MODERATION_REASON_MAX_LENGTH",{enumerable:true,get:function(){return chunkYCHOYNMM_js.c}});Object.defineProperty(exports,"ChatCredentialsResponseSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.k}});Object.defineProperty(exports,"ChatHistoryResponseSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.f}});Object.defineProperty(exports,"ChatMessageSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.e}});Object.defineProperty(exports,"ChatMessageUserSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.d}});Object.defineProperty(exports,"ChatModerationDeleteRequestSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.h}});Object.defineProperty(exports,"ChatModerationMuteRequestSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.i}});Object.defineProperty(exports,"ChatMuteStateResponseSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.j}});Object.defineProperty(exports,"InProcessChatCredentialsSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.l}});Object.defineProperty(exports,"IvsChatCredentialsSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.m}});Object.defineProperty(exports,"PostChatMessageRequestSchema",{enumerable:true,get:function(){return chunkYCHOYNMM_js.g}});//# sourceMappingURL=index.js.map
|
|
2
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export{b as CHAT_MESSAGE_BODY_MAX_LENGTH,a as CHAT_MESSAGE_BODY_MIN_LENGTH,c as CHAT_MODERATION_REASON_MAX_LENGTH,k as ChatCredentialsResponseSchema,f as ChatHistoryResponseSchema,e as ChatMessageSchema,d as ChatMessageUserSchema,h as ChatModerationDeleteRequestSchema,i as ChatModerationMuteRequestSchema,j as ChatMuteStateResponseSchema,l as InProcessChatCredentialsSchema,m as IvsChatCredentialsSchema,g as PostChatMessageRequestSchema}from'../chunk-5IA4SH4O.mjs';import'../chunk-73FCZRSF.mjs';import'../chunk-KPEKHJVS.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {e}from'./chunk-KPEKHJVS.mjs';import t from'zod';var s=1,i=500,o=200,r=t.object({id:t.string(),displayName:t.string(),colorHex:t.string().regex(/^#[0-9A-Fa-f]{6}$/)}),a=t.object({id:t.string(),body:t.string(),createdAt:t.iso.datetime(),user:r,deletedAt:t.iso.datetime().optional()}),p=t.object({items:t.array(a),...e.shape}),d=t.object({body:t.string().trim().min(s).max(i)}),g=t.object({reason:t.string().trim().max(o).optional()}).strict(),l=t.object({until:t.iso.datetime().refine(n=>new Date(n).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:t.string().trim().max(o).optional()}).strict(),h=t.object({eventId:t.string(),mutedUntil:t.iso.datetime().nullable()}),x=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()})]),S=t.object({kind:t.literal("in-process"),wsNamespace:t.string(),token:t.string(),eventRoomId:t.string()}),b=t.object({kind:t.literal("ivs"),roomIdentifier:t.string(),endpoint:t.string(),token:t.string(),tokenTtlSeconds:t.number().int()});export{s as a,i as b,o as c,r as d,a as e,p as f,d as g,g as h,l as i,h as j,x as k,S as l,b as m};//# sourceMappingURL=chunk-5IA4SH4O.mjs.map
|
|
2
|
+
//# sourceMappingURL=chunk-5IA4SH4O.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/chat/chat.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"],"mappings":"wDAGO,IAAMA,CAAAA,CAA+B,CAAA,CAC/BC,CAAAA,CAA+B,GAAA,CAE/BC,CAAAA,CAAoC,GAAA,CAEpCC,CAAAA,CAAwBC,CAAAA,CAAE,MAAA,CAAO,CAC5C,EAAA,CAAIA,CAAAA,CAAE,MAAA,EAAO,CACb,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CACtB,SAAUA,CAAAA,CAAE,MAAA,EAAO,CAAE,KAAA,CAAM,mBAAmB,CAChD,CAAC,CAAA,CAEYC,EAAoBD,CAAAA,CAAE,MAAA,CAAO,CACxC,EAAA,CAAIA,CAAAA,CAAE,MAAA,EAAO,CACb,IAAA,CAAMA,CAAAA,CAAE,MAAA,EAAO,CACf,SAAA,CAAWA,CAAAA,CAAE,GAAA,CAAI,QAAA,EAAS,CAC1B,KAAMD,CAAAA,CACN,SAAA,CAAWC,CAAAA,CAAE,GAAA,CAAI,QAAA,EAAS,CAAE,QAAA,EAC9B,CAAC,CAAA,CAEYE,CAAAA,CAA4BF,CAAAA,CAAE,MAAA,CAAO,CAChD,KAAA,CAAOA,CAAAA,CAAE,KAAA,CAAMC,CAAiB,CAAA,CAChC,GAAGE,CAAAA,CAAyB,KAC9B,CAAC,CAAA,CAEYC,CAAAA,CAA+BJ,CAAAA,CAAE,MAAA,CAAO,CACnD,IAAA,CAAMA,CAAAA,CAAE,MAAA,EAAO,CAAE,IAAA,EAAK,CAAE,IAAIJ,CAA4B,CAAA,CAAE,GAAA,CAAIC,CAA4B,CAC5F,CAAC,CAAA,CAEYQ,CAAAA,CAAoCL,EAC9C,MAAA,CAAO,CACN,MAAA,CAAQA,CAAAA,CAAE,MAAA,EAAO,CAAE,IAAA,EAAK,CAAE,IAAIF,CAAiC,CAAA,CAAE,QAAA,EACnE,CAAC,CAAA,CACA,MAAA,EAAO,CAEGQ,CAAAA,CAAkCN,CAAAA,CAC5C,MAAA,CAAO,CAEN,KAAA,CAAOA,CAAAA,CAAE,GAAA,CACN,QAAA,GACA,MAAA,CAAQO,CAAAA,EAAU,IAAI,IAAA,CAAKA,CAAK,CAAA,CAAE,OAAA,EAAQ,CAAI,KAAK,GAAA,EAAI,CAAG,CACzD,OAAA,CAAS,kCACX,CAAC,CAAA,CACA,QAAA,GACH,MAAA,CAAQP,CAAAA,CAAE,MAAA,EAAO,CAAE,IAAA,EAAK,CAAE,GAAA,CAAIF,CAAiC,CAAA,CAAE,QAAA,EACnE,CAAC,CAAA,CACA,MAAA,EAAO,CAOGU,CAAAA,CAA8BR,EAAE,MAAA,CAAO,CAClD,OAAA,CAASA,CAAAA,CAAE,MAAA,EAAO,CAClB,UAAA,CAAYA,CAAAA,CAAE,IAAI,QAAA,EAAS,CAAE,QAAA,EAC/B,CAAC,CAAA,CAEYS,CAAAA,CAAgCT,CAAAA,CAAE,mBAAmB,MAAA,CAAQ,CACxEA,CAAAA,CAAE,MAAA,CAAO,CACP,IAAA,CAAMA,CAAAA,CAAE,OAAA,CAAQ,YAAY,CAAA,CAC5B,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CACtB,KAAA,CAAOA,CAAAA,CAAE,QAAO,CAChB,WAAA,CAAaA,CAAAA,CAAE,MAAA,EACjB,CAAC,CAAA,CACDA,CAAAA,CAAE,OAAO,CACP,IAAA,CAAMA,CAAAA,CAAE,OAAA,CAAQ,KAAK,CAAA,CACrB,cAAA,CAAgBA,CAAAA,CAAE,QAAO,CACzB,QAAA,CAAUA,CAAAA,CAAE,MAAA,EAAO,CACnB,KAAA,CAAOA,CAAAA,CAAE,MAAA,EAAO,CAChB,eAAA,CAAiBA,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,QAAA,EACpC,CAAC,CACH,CAAC,CAAA,CAEYU,CAAAA,CAAiCV,CAAAA,CAAE,MAAA,CAAO,CACrD,KAAMA,CAAAA,CAAE,OAAA,CAAQ,YAAY,CAAA,CAC5B,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CACtB,MAAOA,CAAAA,CAAE,MAAA,EAAO,CAChB,WAAA,CAAaA,CAAAA,CAAE,MAAA,EACjB,CAAC,EACYW,CAAAA,CAA2BX,CAAAA,CAAE,MAAA,CAAO,CAC/C,IAAA,CAAMA,CAAAA,CAAE,OAAA,CAAQ,KAAK,EACrB,cAAA,CAAgBA,CAAAA,CAAE,MAAA,EAAO,CACzB,QAAA,CAAUA,CAAAA,CAAE,MAAA,EAAO,CACnB,MAAOA,CAAAA,CAAE,MAAA,EAAO,CAChB,eAAA,CAAiBA,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAC9B,CAAC","file":"chunk-5IA4SH4O.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"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
'use strict';var chunkDQG37GYU_js=require('./chunk-DQG37GYU.js'),zod=require('zod');var X={TICKET_PURCHASE:"TICKET_PURCHASE",BOOKING_ESCROW:"BOOKING_ESCROW",ESCROW_RELEASE:"ESCROW_RELEASE",PLATFORM_FEE:"PLATFORM_FEE",PRODUCER_PAYOUT:"PRODUCER_PAYOUT",HOST_PAYOUT:"HOST_PAYOUT",REFUND:"REFUND"},$={PENDING:"PENDING",SUCCESS:"SUCCESS",FAILED:"FAILED",REVERSED:"REVERSED"},R={PENDING:"PENDING",PROCESSING:"PROCESSING",COMPLETED:"COMPLETED",FAILED:"FAILED"},E={REQUIRES_PAYMENT:"REQUIRES_PAYMENT",PROCESSING:"PROCESSING",SUCCEEDED:"SUCCEEDED",FAILED:"FAILED",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED"},m={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",EXPIRED:"EXPIRED",REFUNDED:"REFUNDED"},g={REGISTERED:"REGISTERED",PUBLIC:"PUBLIC",EMAIL_MATCH:"EMAIL_MATCH",DOMAIN_MATCH:"DOMAIN_MATCH",USER_ID_MATCH:"USER_ID_MATCH",PHONE_MATCH:"PHONE_MATCH",NOT_ON_ALLOWLIST:"NOT_ON_ALLOWLIST"},b={NONE:"NONE",PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",REFUNDED:"REFUNDED",CANCELLED:"CANCELLED"},J={PENDING:"PENDING",SETTLED:"SETTLED",WAIVED:"WAIVED",VOIDED:"VOIDED",REFUNDED:"REFUNDED"},l={BUY_TICKET:"BUY_TICKET",COMPLETE_PAYMENT:"COMPLETE_PAYMENT",WATCH_NOW:"WATCH_NOW",WATCH_REPLAY:"WATCH_REPLAY",REGISTER_FREE:"REGISTER_FREE",WAITLIST:"WAITLIST",UNAVAILABLE:"UNAVAILABLE",REPLAY_PROCESSING:"REPLAY_PROCESSING"};var o={INCLUDED:"INCLUDED",DISABLED:"DISABLED",PAID_SEPARATELY:"PAID_SEPARATELY"},p={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",UNLISTED:"UNLISTED"},r={FREE:"FREE",PAID:"PAID",SUBSCRIPTION:"SUBSCRIPTION"},d={SELF:"SELF",HIRE:"HIRE"},ee={EMAIL:"EMAIL",DOMAIN:"DOMAIN",PHONENUMBER:"PHONENUMBER",USERID:"USERID"},S={DRAFT:"DRAFT",SCHEDULED:"SCHEDULED",READY_FOR_TEST:"READY_FOR_TEST",LIVE:"LIVE",ENDED:"ENDED",REPLAY_READY:"REPLAY_READY",ARCHIVED:"ARCHIVED",CANCELLED:"CANCELLED",PAUSED:"PAUSED",FAILED:"FAILED"},a={ART:"ART",TECHNOLOGY:"TECHNOLOGY",SCIENCE:"SCIENCE",TRAVEL:"TRAVEL",HISTORY:"HISTORY",LITERATURE:"LITERATURE",COOKING:"COOKING",FITNESS:"FITNESS",PHOTOGRAPHY:"PHOTOGRAPHY",GARDENING:"GARDENING",EDUCATION:"EDUCATION",FASHION:"FASHION",MOVIES:"MOVIES",SPORTS:"SPORTS",POLITICS:"POLITICS",HEALTH:"HEALTH",GAMING:"GAMING",FINANCE:"FINANCE",NATURE:"NATURE",CONCERT:"CONCERT",FESTIVAL:"FESTIVAL",WEDDING:"WEDDING",CORPORATE:"CORPORATE",RELIGIOUS:"RELIGIOUS",OTHER:"OTHER"},I={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED",EXPIRED:"EXPIRED"},te={FREE_RSVP:"FREE_RSVP",PAID_TICKET:"PAID_TICKET",INVITE:"INVITE"},h={ACTIVE:"ACTIVE",PENDING:"PENDING",NONE:"NONE"},y={UPCOMING:"UPCOMING",LIVE:"LIVE",RECOMMENDED:"RECOMMENDED"},A={UPCOMING:"UPCOMING",LIVE:"LIVE",PAST:"PAST"},N={NGN:"NGN",USD:"USD",GBP:"GBP",EUR:"EUR"};var C=zod.z.object({title:zod.z.string().max(120),description:zod.z.string().max(2e3),category:zod.z.enum(a),scheduledStartAt:zod.z.iso.datetime(),scheduledEndAt:zod.z.iso.datetime(),venueLocation:zod.z.string(),visibility:zod.z.enum(p),accessModel:zod.z.enum(r),ticketPrice:zod.z.number().min(0).optional(),maxTickets:zod.z.number().min(1).optional(),timezone:zod.z.string().default("Africa/Lagos"),replayAccess:zod.z.enum(o),retentionDays:zod.z.number().default(30),tags:zod.z.array(zod.z.string()).optional(),geoRestrictions:zod.z.record(zod.z.string(),zod.z.any()).optional()}),re=C.partial(),D=zod.z.object({kind:zod.z.enum(l),price:zod.z.object({amount:zod.z.string(),currency:zod.z.string()}).optional()}),ce=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string(),category:zod.z.enum(a),coverImageUrl:zod.z.url().optional(),venueLocation:zod.z.string(),scheduledStartAt:zod.z.iso.datetime(),scheduledEndAt:zod.z.iso.datetime(),timezone:zod.z.string(),visibility:zod.z.enum(p),accessModel:zod.z.enum(r),ticketPrice:zod.z.number(),currency:zod.z.string(),maxTickets:zod.z.number().optional(),eventState:zod.z.enum(S),shareableUrl:zod.z.url(),hostId:zod.z.uuid(),isFeatured:zod.z.boolean(),replayAccess:zod.z.enum(o),replayAvailableUntil:zod.z.iso.datetime().optional(),createdAt:zod.z.iso.datetime(),updatedAt:zod.z.iso.datetime(),publishedAt:zod.z.iso.datetime().optional(),liveStartedAt:zod.z.iso.datetime().optional(),liveEndedAt:zod.z.iso.datetime().optional()}),n=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),coverImageUrl:zod.z.url().nullable(),category:zod.z.enum(a),scheduledStart:zod.z.iso.datetime(),scheduledEnd:zod.z.iso.datetime(),state:zod.z.enum(S),accessModel:zod.z.enum(r),ticketPrice:zod.z.string().nullable(),currency:zod.z.string(),isFeatured:zod.z.boolean(),hostDisplayName:zod.z.string().nullable(),viewerCount:zod.z.number().int().min(0),cta:D.optional(),durationMinutes:zod.z.number().int().nonnegative().nullable().optional(),viewer:zod.z.object({registration:zod.z.enum(h),progressPct:zod.z.number().min(0).max(100).optional(),canResume:zod.z.boolean().optional()})}),le=zod.z.object({continueWatching:zod.z.array(n),liveNow:zod.z.array(n),upcoming:zod.z.array(n),recommended:zod.z.array(n)}),pe=chunkDQG37GYU_js.d.extend({category:zod.z.enum(a).optional(),accessModel:zod.z.enum(r).optional(),section:zod.z.enum(y).optional(),q:zod.z.string().trim().max(80).optional().transform(i=>i&&i.length>0?i:void 0)}),x=zod.z.object({mode:zod.z.literal("AGGREGATE"),featured:n.nullable(),liveNow:zod.z.array(n),upcoming:zod.z.array(n),recommended:zod.z.array(n)}),f=chunkDQG37GYU_js.e.extend({mode:zod.z.literal("SECTION"),section:zod.z.enum(y),items:zod.z.array(n)}),ue=zod.z.discriminatedUnion("mode",[x,f]),Ee=chunkDQG37GYU_js.e.extend({items:zod.z.array(n)}),me=zod.z.object({callbackUrl:zod.z.url().optional()}),de=zod.z.object({registration:zod.z.object({id:zod.z.uuid(),eventId:zod.z.uuid(),status:zod.z.enum(I),expiresAt:zod.z.iso.datetime().nullable()}),paymentIntent:zod.z.object({reference:zod.z.string(),amount:zod.z.string(),currency:zod.z.string(),checkoutUrl:zod.z.url().optional()}).nullable()}),Se=zod.z.object({positionSec:zod.z.number().int().min(0).max(1440*60),durationSec:zod.z.number().int().min(1).optional()}),v=zod.z.object({kind:zod.z.literal("LIVE"),playbackUrl:zod.z.url(),token:zod.z.string(),expiresAt:zod.z.iso.datetime()}),L=zod.z.object({kind:zod.z.literal("REPLAY"),playbackUrl:zod.z.url(),expiresAt:zod.z.iso.datetime()}),ye=zod.z.discriminatedUnion("kind",[v,L]),O=n.extend({startsInSec:zod.z.number().int().optional(),liveViewerCount:zod.z.number().int().min(0).optional(),liveStartedAt:zod.z.iso.datetime().nullable().optional(),replayAvailableUntil:zod.z.iso.datetime().nullable().optional(),replayDurationSec:zod.z.number().int().min(0).nullable().optional(),watchedPct:zod.z.number().min(0).max(100).optional(),hasWatched:zod.z.boolean().optional()}),Ae=chunkDQG37GYU_js.e.extend({tab:zod.z.enum(A),items:zod.z.array(O)}),Re=chunkDQG37GYU_js.d.extend({tab:zod.z.enum(A),q:zod.z.string().trim().max(80).optional().transform(i=>i&&i.length>0?i:void 0)}),ge=zod.z.object({sessionId:zod.z.string()}),be=zod.z.object({ok:zod.z.literal(true)}),Ie=zod.z.object({durationSec:zod.z.number().int().min(0)}),T=zod.z.discriminatedUnion("access",[zod.z.object({access:zod.z.literal(o.INCLUDED),retentionDays:zod.z.number().int().min(1).max(365)}),zod.z.object({access:zod.z.literal(o.PAID_SEPARATELY),retentionDays:zod.z.number().int().min(1).max(365),price:zod.z.number().positive()}),zod.z.object({access:zod.z.literal(o.DISABLED)})]),U=zod.z.enum(N),_=zod.z.enum(a),P=zod.z.enum(p),M=zod.z.object({step:zod.z.literal(1),title:zod.z.string().min(3).max(120),description:zod.z.string().min(20).max(1200),category:_,scheduledStart:zod.z.iso.datetime(),durationMinutes:zod.z.number().int().min(5).max(720),coverImageUrl:zod.z.any().optional(),previewClipUrl:zod.z.any().optional(),tags:zod.z.array(zod.z.string().min(1).max(30)).max(10).optional(),location:zod.z.string().max(120).optional()}),k=zod.z.object({step:zod.z.literal(2),paid:zod.z.literal(false),visibility:P,guestEmails:zod.z.array(zod.z.email()).max(500).optional(),replay:T}),V=zod.z.object({step:zod.z.literal(2),paid:zod.z.literal(true),visibility:P,guestEmails:zod.z.array(zod.z.email()).max(500).optional(),ticketPrice:zod.z.number().positive(),ticketCurrency:U,ticketLimit:zod.z.number().int().positive().nullable(),replay:T}),j=zod.z.object({step:zod.z.literal(3),mode:zod.z.literal(d.SELF)}),G=zod.z.object({step:zod.z.literal(3),mode:zod.z.literal(d.HIRE),crewIds:zod.z.array(zod.z.uuid()).min(1).max(5),notes:zod.z.string().max(500).optional()}),F=zod.z.object({step:zod.z.literal(4)}),he=zod.z.object({deviceType:zod.z.string().max(50).optional()}),Ne=zod.z.object({streamEnabled:zod.z.boolean()}).strict(),Te=zod.z.union([M,k,V,j,G,F]);var Ue=zod.z.object({eventId:zod.z.uuid(),amount:zod.z.number().min(0)}),_e=zod.z.object({authorizationUrl:zod.z.url(),reference:zod.z.string(),accessCode:zod.z.string().optional()}),Me=zod.z.object({id:zod.z.uuid(),userId:zod.z.uuid(),amount:zod.z.number(),currency:zod.z.string(),payoutType:zod.z.string(),eventId:zod.z.uuid().optional(),bookingId:zod.z.uuid().optional(),payoutStatus:zod.z.enum(R),providerReference:zod.z.string().optional(),bankCode:zod.z.string().optional(),accountNumber:zod.z.string().optional(),accountName:zod.z.string().optional(),scheduledAt:zod.z.iso.datetime().optional(),processedAt:zod.z.iso.datetime().optional(),completedAt:zod.z.iso.datetime().optional(),failedAt:zod.z.iso.datetime().optional(),failureReason:zod.z.string().optional(),createdAt:zod.z.iso.datetime()}),ke=zod.z.object({reference:zod.z.string(),checkoutUrl:zod.z.url().nullable(),status:zod.z.enum(E),expiresAt:zod.z.iso.datetime()}),s=zod.z.string().regex(/^\d+(\.\d{1,2})?$/,"Must be a decimal with at most 2 fractional digits"),Ve=zod.z.object({reference:zod.z.string(),status:zod.z.enum(E),eventId:zod.z.uuid(),amount:s,currency:zod.z.string(),paidAt:zod.z.iso.datetime().nullable()}),je=zod.z.object({email:zod.z.email()}),H=zod.z.object({intent_id:zod.z.string().uuid(),user_id:zod.z.string().uuid(),event_id:zod.z.string().uuid()}).loose(),w=zod.z.object({authorization_code:zod.z.string(),bin:zod.z.string().nullish(),last4:zod.z.string().nullish(),exp_month:zod.z.string().nullish(),exp_year:zod.z.string().nullish(),channel:zod.z.string().nullish(),card_type:zod.z.string().nullish(),bank:zod.z.string().nullish(),country_code:zod.z.string().nullish(),brand:zod.z.string().nullish(),reusable:zod.z.boolean().nullish(),signature:zod.z.string().nullish(),account_name:zod.z.string().nullish(),receiver_bank_account_number:zod.z.string().nullish(),receiver_bank:zod.z.string().nullish()}).loose(),Y=zod.z.object({id:zod.z.number(),first_name:zod.z.string().nullish(),last_name:zod.z.string().nullish(),email:zod.z.email(),customer_code:zod.z.string(),phone:zod.z.string().nullish(),metadata:zod.z.unknown().nullish(),risk_action:zod.z.string().nullish(),international_format_phone:zod.z.string().nullish()}).loose(),W=zod.z.object({type:zod.z.string().nullish(),source:zod.z.string().nullish(),entry_point:zod.z.string().nullish(),identifier:zod.z.string().nullish()}).loose(),Ge=zod.z.object({event:zod.z.string(),data:zod.z.object({id:zod.z.number(),domain:zod.z.string().optional(),status:zod.z.string(),reference:zod.z.string(),amount:zod.z.number(),message:zod.z.string().nullish(),gateway_response:zod.z.string().nullish(),paid_at:zod.z.string().nullish(),paidAt:zod.z.string().nullish(),created_at:zod.z.string().nullish(),channel:zod.z.string().nullish(),currency:zod.z.string(),ip_address:zod.z.string().nullish(),fees:zod.z.number().nullish(),fees_breakdown:zod.z.unknown().nullish(),fees_split:zod.z.unknown().nullish(),log:zod.z.unknown().nullish(),order_id:zod.z.string().nullish(),requested_amount:zod.z.number().nullish(),pos_transaction_data:zod.z.unknown().nullish(),plan:zod.z.object({}).loose().optional(),subaccount:zod.z.object({}).loose().optional(),split:zod.z.object({}).loose().optional(),metadata:H,authorization:w.optional(),customer:Y.optional(),source:W.optional()}).loose()}).loose(),Fe=zod.z.object({qualified:zod.z.boolean(),reason:zod.z.enum(g)}),He=zod.z.object({reference:zod.z.null(),subtotal:s,platformFee:s,total:s,currency:zod.z.string().min(3).max(8),strategyId:zod.z.string(),expiresInSec:zod.z.number().int().positive()}),B=zod.z.object({kind:zod.z.literal("TRAILER"),trailerUrl:zod.z.url()}),q=zod.z.object({kind:zod.z.literal("SLATE"),slate:zod.z.object({title:zod.z.string(),hostDisplayName:zod.z.string().nullable(),scheduledStart:zod.z.iso.datetime()})}),K=zod.z.discriminatedUnion("kind",[B,q]),we=zod.z.object({id:zod.z.uuid(),title:zod.z.string(),description:zod.z.string().nullable(),coverImageUrl:zod.z.string().nullable(),category:zod.z.string(),scheduledStart:zod.z.iso.datetime(),scheduledEnd:zod.z.iso.datetime(),state:zod.z.string(),accessModel:zod.z.string(),visibility:zod.z.string(),ticketPrice:s.nullable(),replayAccess:zod.z.enum(o),replayAccessFee:s.nullable(),currency:zod.z.string(),isFeatured:zod.z.boolean(),hostDisplayName:zod.z.string().nullable(),hostBio:zod.z.string().nullable(),previewClipUrl:zod.z.string().nullable(),remainingTickets:zod.z.number().int().nullable(),liveStartedAt:zod.z.iso.datetime().nullable(),liveEndedAt:zod.z.iso.datetime().nullable(),replayAvailableInSec:zod.z.number().int().nonnegative().nullable(),ingestSubstate:zod.z.enum(["AWAITING_INGEST","STREAMING"]).nullable(),awaitingIngestContent:K.nullable(),viewer:zod.z.object({entitlement:zod.z.enum(b),purchaseCta:zod.z.enum(l),activeIntentReference:zod.z.string().optional(),requiresAccessCheck:zod.z.boolean().optional()})}),Ye=zod.z.object({url:zod.z.url(),expiresAt:zod.z.iso.datetime(),contentType:zod.z.string().min(1)}),z=zod.z.object({reference:zod.z.string(),amount:zod.z.string(),currency:zod.z.string(),checkoutUrl:zod.z.string().optional()}),Q=zod.z.object({id:zod.z.string(),eventId:zod.z.string(),status:zod.z.enum(m),source:zod.z.enum(m),amount:zod.z.string(),currency:zod.z.string(),paymentExpiresAt:zod.z.iso.datetime().nullable(),expiresAt:zod.z.iso.datetime().nullable(),paidAt:zod.z.iso.datetime().nullable()}),We=zod.z.object({replayPurchase:Q,payment:z.nullable()}),Be=zod.z.object({bankCode:zod.z.string().trim().regex(/^\d{3,10}$/,"bankCode must be a 3\u201310 digit numeric string"),accountNumber:zod.z.string().trim().regex(/^\d{10}$/,"accountNumber must be a 10-digit NUBAN")}),qe=zod.z.object({bankName:zod.z.string().nullable(),bankCode:zod.z.string().nullable(),accountNumberMasked:zod.z.string().nullable(),accountName:zod.z.string().nullable(),verifiedAt:zod.z.string().nullable(),updatedAt:zod.z.string().nullable()}),Ke=zod.z.object({pin:zod.z.string().trim().regex(/^\d{4,8}$/,"pin must be 4-8 digits")});exports.$=me;exports.A=Ve;exports.B=je;exports.C=Ge;exports.D=Fe;exports.E=He;exports.F=B;exports.G=q;exports.H=K;exports.I=we;exports.J=Ye;exports.K=z;exports.L=Q;exports.M=We;exports.N=Be;exports.O=qe;exports.P=Ke;exports.Q=C;exports.R=re;exports.S=D;exports.T=ce;exports.U=n;exports.V=le;exports.W=pe;exports.X=x;exports.Y=f;exports.Z=ue;exports._=Ee;exports.a=o;exports.aa=de;exports.b=p;exports.ba=Se;exports.c=r;exports.ca=v;exports.d=d;exports.da=L;exports.e=ee;exports.ea=ye;exports.f=S;exports.fa=O;exports.g=a;exports.ga=Ae;exports.h=I;exports.ha=Re;exports.i=te;exports.ia=ge;exports.j=h;exports.ja=be;exports.k=y;exports.ka=Ie;exports.l=A;exports.la=T;exports.m=N;exports.ma=U;exports.n=X;exports.na=_;exports.o=$;exports.oa=P;exports.p=R;exports.pa=he;exports.q=E;exports.qa=Ne;exports.r=m;exports.ra=Te;exports.s=g;exports.t=b;exports.u=J;exports.v=l;exports.w=Ue;exports.x=_e;exports.y=Me;exports.z=ke;//# sourceMappingURL=chunk-7HBUII6V.js.map
|
|
2
|
+
//# sourceMappingURL=chunk-7HBUII6V.js.map
|