@livdot-tech/contracts 1.5.6 → 1.5.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.
Files changed (72) hide show
  1. package/dist/auth/index.d.mts +10 -1
  2. package/dist/auth/index.d.ts +10 -1
  3. package/dist/auth/index.js +1 -1
  4. package/dist/auth/index.mjs +1 -1
  5. package/dist/booking/index.d.mts +18 -116
  6. package/dist/booking/index.d.ts +18 -116
  7. package/dist/booking/index.js +1 -1
  8. package/dist/booking/index.mjs +1 -1
  9. package/dist/chunk-2SBD35GV.js +2 -0
  10. package/dist/chunk-2SBD35GV.js.map +1 -0
  11. package/dist/chunk-HDXG5AKS.mjs +2 -0
  12. package/dist/{chunk-XUOMVQVQ.mjs.map → chunk-HDXG5AKS.mjs.map} +1 -1
  13. package/dist/chunk-JCAWAKZN.mjs +2 -0
  14. package/dist/chunk-JCAWAKZN.mjs.map +1 -0
  15. package/dist/chunk-JXM7K5X5.js +2 -0
  16. package/dist/chunk-JXM7K5X5.js.map +1 -0
  17. package/dist/{chunk-2TQ3BI34.js → chunk-LEBP3RB5.js} +2 -2
  18. package/dist/{chunk-2TQ3BI34.js.map → chunk-LEBP3RB5.js.map} +1 -1
  19. package/dist/chunk-QGEYDED6.js +2 -0
  20. package/dist/chunk-QGEYDED6.js.map +1 -0
  21. package/dist/{chunk-PCFMRWWF.mjs → chunk-R6SQRDH7.mjs} +2 -2
  22. package/dist/chunk-R6SQRDH7.mjs.map +1 -0
  23. package/dist/{chunk-QK5JKCO4.js → chunk-TLH4NZ36.js} +2 -2
  24. package/dist/chunk-TLH4NZ36.js.map +1 -0
  25. package/dist/chunk-WQRHUUGO.mjs +2 -0
  26. package/dist/chunk-WQRHUUGO.mjs.map +1 -0
  27. package/dist/chunk-X7OLLQRF.mjs +2 -0
  28. package/dist/chunk-X7OLLQRF.mjs.map +1 -0
  29. package/dist/chunk-YYP6D3S5.js +2 -0
  30. package/dist/chunk-YYP6D3S5.js.map +1 -0
  31. package/dist/chunk-ZVAGI5CH.mjs +2 -0
  32. package/dist/chunk-ZVAGI5CH.mjs.map +1 -0
  33. package/dist/common/index.d.mts +28 -13
  34. package/dist/common/index.d.ts +28 -13
  35. package/dist/common/index.js +1 -1
  36. package/dist/common/index.mjs +1 -1
  37. package/dist/event/index.d.mts +195 -12
  38. package/dist/event/index.d.ts +195 -12
  39. package/dist/event/index.js +1 -1
  40. package/dist/event/index.mjs +1 -1
  41. package/dist/index.d.mts +339 -21
  42. package/dist/index.d.ts +339 -21
  43. package/dist/index.js +1 -1
  44. package/dist/index.js.map +1 -1
  45. package/dist/index.mjs +1 -1
  46. package/dist/index.mjs.map +1 -1
  47. package/dist/marketplace/index.d.mts +3 -61
  48. package/dist/marketplace/index.d.ts +3 -61
  49. package/dist/marketplace/index.js +1 -1
  50. package/dist/marketplace/index.mjs +1 -1
  51. package/dist/user/index.js +1 -1
  52. package/dist/user/index.mjs +1 -1
  53. package/package.json +1 -1
  54. package/dist/chunk-4QRK35KJ.js +0 -2
  55. package/dist/chunk-4QRK35KJ.js.map +0 -1
  56. package/dist/chunk-54FMKF33.js +0 -2
  57. package/dist/chunk-54FMKF33.js.map +0 -1
  58. package/dist/chunk-EGUWLSAA.mjs +0 -2
  59. package/dist/chunk-EGUWLSAA.mjs.map +0 -1
  60. package/dist/chunk-EJCFJL2F.mjs +0 -2
  61. package/dist/chunk-EJCFJL2F.mjs.map +0 -1
  62. package/dist/chunk-FE3AMYQL.mjs +0 -2
  63. package/dist/chunk-FE3AMYQL.mjs.map +0 -1
  64. package/dist/chunk-GKYB3J5L.js +0 -2
  65. package/dist/chunk-GKYB3J5L.js.map +0 -1
  66. package/dist/chunk-PCFMRWWF.mjs.map +0 -1
  67. package/dist/chunk-QK5JKCO4.js.map +0 -1
  68. package/dist/chunk-QLYUL2K5.mjs +0 -2
  69. package/dist/chunk-QLYUL2K5.mjs.map +0 -1
  70. package/dist/chunk-VRSJMPBY.js +0 -2
  71. package/dist/chunk-VRSJMPBY.js.map +0 -1
  72. package/dist/chunk-XUOMVQVQ.mjs +0 -2
package/dist/index.d.mts CHANGED
@@ -1,19 +1,17 @@
1
- export { ApiError, ApiResponse, ApiResponseSchema, PaginatedResponse, PaginationMeta, PaginationParams, PaginationParamsSchema, ResponseMessages } from './common/index.mjs';
2
- export { ChangePasswordRequest, ChangePasswordRequestSchema, CognitoTokenPayload, CognitoTokenPayloadSchema, ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, LinkRequiredResponse, LinkRequiredResponseSchema, LoginRequest, LoginRequestSchema, LoginResponse, LoginResponseSchema, LogoutRequestPayload, LogoutRequestSchema, OauthDirectTokenRequest, OauthDirectTokenRequestSchema, OauthExchangeRequest, OauthExchangeRequestSchema, OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, OauthStartQuery, OauthStartQuerySchema, OauthStartResponse, OauthStartResponseSchema, ProvidersListItem, ProvidersListItemSchema, ProvidersListResponse, ProvidersListResponseSchema, RefreshTokenRequest, RefreshTokenRequestSchema, RegisterRequest, RegisterRequestSchema, RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, ResetPasswordRequest, ResetPasswordRequestSchema, VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema } from './auth/index.mjs';
1
+ export { ApiError, ApiResponse, ApiResponseSchema, DEFAULT_PAGE_NUMBER, DEFAULT_PAGE_SIZE, MAX_PAGE_SIZE, PaginatedResponse, PaginationMeta, PaginationParams, PaginationParamsSchema, PaginationResponse, PaginationResponseSchema, ResponseMessages } from './common/index.mjs';
2
+ export { ChangePasswordRequest, ChangePasswordRequestSchema, CognitoTokenPayload, CognitoTokenPayloadSchema, ConfirmPassword, ConfirmPasswordSchema, ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, LinkRequiredResponse, LinkRequiredResponseSchema, LoginRequest, LoginRequestSchema, LoginResponse, LoginResponseSchema, LogoutRequestPayload, LogoutRequestSchema, OauthDirectTokenRequest, OauthDirectTokenRequestSchema, OauthExchangeRequest, OauthExchangeRequestSchema, OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, OauthStartQuery, OauthStartQuerySchema, OauthStartResponse, OauthStartResponseSchema, ProvidersListItem, ProvidersListItemSchema, ProvidersListResponse, ProvidersListResponseSchema, ReauthTokenResponse, ReauthTokenResponseSchema, RefreshTokenRequest, RefreshTokenRequestSchema, RegisterRequest, RegisterRequestSchema, RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, ResetPasswordRequest, ResetPasswordRequestSchema, VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema } from './auth/index.mjs';
3
3
  export { AccountStatus, AdminScopeCode, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, DisplayName, DisplayNameSchema, FeedbackCategory, HostProfileResponse, HostProfileResponseSchema, KycStatus, NotificationCategory, NotificationPreferenceItem, NotificationPreferenceItemSchema, NotificationPreferencesResponse, NotificationPreferencesResponseSchema, ProducerExperienceLevel, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, RESERVED_DISPLAY_NAMES, SendFeedbackRequest, SendFeedbackRequestSchema, SendFeedbackResponse, SendFeedbackResponseSchema, UpdateNotificationPreferencesRequest, UpdateNotificationPreferencesRequestSchema, UpdateUserRequest, UpdateUserRequestSchema, UpdateViewerCurrencyRequest, UpdateViewerCurrencyRequestSchema, UpdateViewerProfileRequest, UpdateViewerProfileRequestSchema, UserResponse, UserResponseSchema, UserRole, ViewerMeResponse, ViewerMeResponseSchema } from './user/index.mjs';
4
- export { CreateEventRequest, CreateEventRequestSchema, EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, EventCard, EventCardSchema, EventCategory, EventReplayAccess, EventResponse, EventResponseSchema, EventState, EventVisibility, LivePlayback, LivePlaybackSchema, MyEventCard, MyEventCardSchema, MyEventsQuery, MyEventsQuerySchema, MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, PagedEventsResponse, PagedEventsResponseSchema, PaginationCursor, PaginationCursorSchema, PlaybackResponse, PlaybackResponseSchema, RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, ReplayPlayback, ReplayPlaybackSchema, SearchEventsQuery, SearchEventsQuerySchema, StartViewingSessionResponse, StartViewingSessionResponseSchema, UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema } from './event/index.mjs';
5
- export { BookingOrigin, BookingPaymentStatus, BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, ListMarketplaceBookingsQuery, ListMarketplaceBookingsQuerySchema, ListMarketplaceBookingsResponse, ListMarketplaceBookingsResponseSchema, ListMarketplaceIndicationsOfInterestQuery, ListMarketplaceIndicationsOfInterestQuerySchema, ListMarketplaceIndicationsOfInterestResponse, ListMarketplaceIndicationsOfInterestResponseSchema, ListMarketplaceJobListingsMineQuery, ListMarketplaceJobListingsMineQuerySchema, ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, ListMarketplaceJobListingsResponse, ListMarketplaceJobListingsResponseSchema, MarketplaceBookingResponse, MarketplaceBookingResponseSchema, MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, MarketplaceListPaginationQuery, MarketplaceListPaginationQuerySchema, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema } from './booking/index.mjs';
4
+ export { AccessStarts, AccessStartsSchema, Category, CategorySchema, CreateEventRequest, CreateEventRequestSchema, Currency, CurrencySchema, EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, EventCard, EventCardSchema, EventCategory, EventProductionMode, EventReplayAccess, EventResponse, EventResponseSchema, EventState, EventVisibility, HostEventWizardPatch, HostEventWizardPatchSchema, LivePlayback, LivePlaybackSchema, MyEventCard, MyEventCardSchema, MyEventsQuery, MyEventsQuerySchema, MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, PagedEventsResponse, PagedEventsResponseSchema, PlaybackResponse, PlaybackResponseSchema, RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, Replay, ReplayPlayback, ReplayPlaybackSchema, ReplaySchema, SearchEventsQuery, SearchEventsQuerySchema, StartViewingSessionResponse, StartViewingSessionResponseSchema, SupportedCurrency, UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema, Visibility, VisibilitySchema } from './event/index.mjs';
5
+ export { BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingOrigin, BookingPaymentStatus, BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, BookingTransitionKey, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, MarketplaceBookingResponse, MarketplaceBookingResponseSchema, MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition } from './booking/index.mjs';
6
6
  export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.mjs';
7
7
  export { AccessCheckRequest, AccessCheckRequestSchema, AccessCheckResponse, AccessCheckResponseSchema, AccessReason, CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, InitiatePaymentRequest, InitiatePaymentRequestSchema, InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, PayoutResponse, PayoutResponseSchema, PayoutStatus, PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, PricingQuoteResponse, PricingQuoteResponseSchema, PurchaseStatusResponse, PurchaseStatusResponseSchema, ReceiptUrlResponse, ReceiptUrlResponseSchema, ReplayPurchasePayment, ReplayPurchasePaymentSchema, ReplayPurchaseResponse, ReplayPurchaseResponseSchema, ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema } from './payment/index.mjs';
8
- export { AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, GetProducerProfileQuery, GetProducerProfileQuerySchema, ListProducersQuery, ListProducersQuerySchema, ListProducersResponse, ListProducersResponseSchema, MarketplaceCurrency, ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, PublicProducerListCategory, PublicProducerListCategorySchema, PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, PublicProducerListItem, PublicProducerListItemSchema, PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, SubmitProducerForVerification, SubmitProducerForVerificationSchema, UpsertProducerWorkspaceProfile, UpsertProducerWorkspaceProfileSchema, WorkspaceEquipmentItemInput, WorkspaceEquipmentItemInputSchema, WorkspacePortfolioItemInput, WorkspacePortfolioItemInputSchema, WorkspaceRateCardItemInput, WorkspaceRateCardItemInputSchema } from './marketplace/index.mjs';
8
+ export { AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, GetProducerProfileQuery, GetProducerProfileQuerySchema, ListProducersQuery, ListProducersQuerySchema, MarketplaceCurrency, ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, PublicProducerListCategory, PublicProducerListCategorySchema, PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, PublicProducerListItem, PublicProducerListItemSchema, PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, SubmitProducerForVerification, SubmitProducerForVerificationSchema, UpsertProducerWorkspaceProfile, UpsertProducerWorkspaceProfileSchema, WorkspaceEquipmentItemInput, WorkspaceEquipmentItemInputSchema, WorkspacePortfolioItemInput, WorkspacePortfolioItemInputSchema, WorkspaceRateCardItemInput, WorkspaceRateCardItemInputSchema } from './marketplace/index.mjs';
9
9
  export { DisputeResponse, DisputeResponseSchema, DisputeStatus, DisputeType } from './dispute/index.mjs';
10
10
  export { NotificationChannel, NotificationPriority, NotificationResponse, NotificationResponseSchema, NotificationType } from './notification/index.mjs';
11
11
  export { JobInterestState } from './joblisting/index.mjs';
12
12
  export { ApiErrorCode } from './errors/index.mjs';
13
13
  import z from 'zod';
14
14
 
15
- declare const CHAT_HISTORY_DEFAULT_LIMIT = 50;
16
- declare const CHAT_HISTORY_MAX_LIMIT = 100;
17
15
  declare const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;
18
16
  declare const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;
19
17
  declare const CHAT_MODERATION_REASON_MAX_LENGTH = 200;
@@ -34,6 +32,12 @@ declare const ChatMessageSchema: z.ZodObject<{
34
32
  deletedAt: z.ZodOptional<z.ZodISODateTime>;
35
33
  }, z.core.$strip>;
36
34
  declare const ChatHistoryResponseSchema: z.ZodObject<{
35
+ totalCount: z.ZodNumber;
36
+ pageNumber: z.ZodNumber;
37
+ pageSize: z.ZodNumber;
38
+ totalPages: z.ZodNumber;
39
+ hasPreviousPage: z.ZodBoolean;
40
+ hasNextPage: z.ZodBoolean;
37
41
  items: z.ZodArray<z.ZodObject<{
38
42
  id: z.ZodString;
39
43
  body: z.ZodString;
@@ -45,11 +49,6 @@ declare const ChatHistoryResponseSchema: z.ZodObject<{
45
49
  }, z.core.$strip>;
46
50
  deletedAt: z.ZodOptional<z.ZodISODateTime>;
47
51
  }, z.core.$strip>>;
48
- nextCursor: z.ZodNullable<z.ZodString>;
49
- }, z.core.$strip>;
50
- declare const ChatHistoryQuerySchema: z.ZodObject<{
51
- cursor: z.ZodOptional<z.ZodString>;
52
- limit: z.ZodOptional<z.ZodDefault<z.ZodCoercedNumber<unknown>>>;
53
52
  }, z.core.$strip>;
54
53
  declare const PostChatMessageRequestSchema: z.ZodObject<{
55
54
  body: z.ZodString;
@@ -82,16 +81,30 @@ declare const ChatCredentialsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
82
81
  token: z.ZodString;
83
82
  tokenTtlSeconds: z.ZodNumber;
84
83
  }, z.core.$strip>], "kind">;
84
+ declare const InProcessChatCredentialsSchema: z.ZodObject<{
85
+ kind: z.ZodLiteral<"in-process">;
86
+ wsNamespace: z.ZodString;
87
+ token: z.ZodString;
88
+ eventRoomId: z.ZodString;
89
+ }, z.core.$strip>;
90
+ declare const IvsChatCredentialsSchema: z.ZodObject<{
91
+ kind: z.ZodLiteral<"ivs">;
92
+ roomIdentifier: z.ZodString;
93
+ endpoint: z.ZodString;
94
+ token: z.ZodString;
95
+ tokenTtlSeconds: z.ZodNumber;
96
+ }, z.core.$strip>;
85
97
 
86
98
  type ChatMessageUser = z.infer<typeof ChatMessageUserSchema>;
87
99
  type ChatMessage = z.infer<typeof ChatMessageSchema>;
88
100
  type ChatHistoryResponse = z.infer<typeof ChatHistoryResponseSchema>;
89
- type ChatHistoryQuery = z.infer<typeof ChatHistoryQuerySchema>;
90
101
  type PostChatMessageRequest = z.infer<typeof PostChatMessageRequestSchema>;
91
102
  type ChatModerationDeleteRequest = z.infer<typeof ChatModerationDeleteRequestSchema>;
92
103
  type ChatModerationMuteRequest = z.infer<typeof ChatModerationMuteRequestSchema>;
93
104
  type ChatMuteStateResponse = z.infer<typeof ChatMuteStateResponseSchema>;
94
105
  type ChatCredentialsResponse = z.infer<typeof ChatCredentialsResponseSchema>;
106
+ type IvsChatCredentials = z.infer<typeof IvsChatCredentialsSchema>;
107
+ type InProcessChatCredentials = z.infer<typeof InProcessChatCredentialsSchema>;
95
108
 
96
109
  declare const HOST_DATE_RANGE_PRESETS: readonly ["last7d", "last30d", "last90d"];
97
110
 
@@ -111,10 +124,6 @@ declare const HostEventsTabSchema: z.ZodEnum<{
111
124
  UPCOMING: "UPCOMING";
112
125
  DRAFTS: "DRAFTS";
113
126
  }>;
114
- declare const HostActivityListQuerySchema: z.ZodObject<{
115
- cursor: z.ZodOptional<z.ZodString>;
116
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
117
- }, z.core.$strip>;
118
127
  declare const HostSearchQuerySchema: z.ZodObject<{
119
128
  q: z.ZodString;
120
129
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -126,21 +135,330 @@ declare const HostEventPatchSchema: z.ZodObject<{
126
135
  ticketPrice: z.ZodOptional<z.ZodString>;
127
136
  }, z.core.$strip>;
128
137
  declare const HostEventsListQuerySchema: z.ZodObject<{
138
+ pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
139
+ pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
129
140
  tab: z.ZodEnum<{
130
141
  LIVE: "LIVE";
131
142
  ENDED: "ENDED";
132
143
  UPCOMING: "UPCOMING";
133
144
  DRAFTS: "DRAFTS";
134
145
  }>;
135
- cursor: z.ZodOptional<z.ZodString>;
136
- limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
146
+ }, z.core.$strip>;
147
+ declare const CancelEventSchema: z.ZodObject<{
148
+ reauthToken: z.ZodString;
149
+ }, z.core.$strip>;
150
+ declare const HostEventRowResponseSchema: z.ZodObject<{
151
+ eventId: z.ZodString;
152
+ title: z.ZodString;
153
+ date: z.ZodISODateTime;
154
+ ticketsSold: z.ZodNumber;
155
+ revenue: z.ZodObject<{
156
+ currency: z.ZodString;
157
+ value: z.ZodString;
158
+ }, z.core.$strip>;
159
+ status: z.ZodEnum<{
160
+ ACTIVE: "ACTIVE";
161
+ DRAFT: "DRAFT";
162
+ LIVE: "LIVE";
163
+ ENDED: "ENDED";
164
+ CANCELLED: "CANCELLED";
165
+ PAUSED: "PAUSED";
166
+ }>;
167
+ }, z.core.$strip>;
168
+ declare const HostEventsTabResponseSchema: z.ZodObject<{
169
+ totalCount: z.ZodNumber;
170
+ pageNumber: z.ZodNumber;
171
+ pageSize: z.ZodNumber;
172
+ totalPages: z.ZodNumber;
173
+ hasPreviousPage: z.ZodBoolean;
174
+ hasNextPage: z.ZodBoolean;
175
+ tab: z.ZodEnum<{
176
+ LIVE: "LIVE";
177
+ ENDED: "ENDED";
178
+ UPCOMING: "UPCOMING";
179
+ DRAFTS: "DRAFTS";
180
+ }>;
181
+ rows: z.ZodArray<z.ZodObject<{
182
+ eventId: z.ZodString;
183
+ title: z.ZodString;
184
+ date: z.ZodISODateTime;
185
+ ticketsSold: z.ZodNumber;
186
+ revenue: z.ZodObject<{
187
+ currency: z.ZodString;
188
+ value: z.ZodString;
189
+ }, z.core.$strip>;
190
+ status: z.ZodEnum<{
191
+ ACTIVE: "ACTIVE";
192
+ DRAFT: "DRAFT";
193
+ LIVE: "LIVE";
194
+ ENDED: "ENDED";
195
+ CANCELLED: "CANCELLED";
196
+ PAUSED: "PAUSED";
197
+ }>;
198
+ }, z.core.$strip>>;
199
+ }, z.core.$strip>;
200
+ declare const HostEventsTabCountsResponseSchema: z.ZodObject<{
201
+ upcoming: z.ZodNumber;
202
+ live: z.ZodNumber;
203
+ ended: z.ZodNumber;
204
+ drafts: z.ZodNumber;
205
+ }, z.core.$strip>;
206
+ declare const HostEventWizardStartSchema: z.ZodObject<{
207
+ title: z.ZodOptional<z.ZodString>;
208
+ }, z.core.$strip>;
209
+ declare const HostEventsListPagedQuerySchema: z.ZodObject<{
210
+ pageNumber: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
211
+ pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
212
+ tab: z.ZodEnum<{
213
+ LIVE: "LIVE";
214
+ ENDED: "ENDED";
215
+ UPCOMING: "UPCOMING";
216
+ DRAFTS: "DRAFTS";
217
+ }>;
218
+ }, z.core.$strip>;
219
+ declare const HostEventWizardStartResponseSchema: z.ZodObject<{
220
+ id: z.ZodUUID;
221
+ state: z.ZodLiteral<"DRAFT">;
222
+ wizardStep: z.ZodNullable<z.ZodNumber>;
223
+ }, z.core.$strip>;
224
+ declare const HostEventWizardStepResponseSchema: z.ZodObject<{
225
+ id: z.ZodUUID;
226
+ wizardStep: z.ZodNullable<z.ZodNumber>;
227
+ streamingVerified: z.ZodOptional<z.ZodBoolean>;
228
+ verificationToken: z.ZodOptional<z.ZodString>;
229
+ crewIds: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
230
+ }, z.core.$strip>;
231
+ declare const HostEventWizardPublishResponseSchema: z.ZodObject<{
232
+ id: z.ZodUUID;
233
+ state: z.ZodLiteral<"SCHEDULED">;
234
+ publishedAt: z.ZodNullable<z.ZodISODateTime>;
235
+ bookingIds: z.ZodArray<z.ZodUUID>;
236
+ }, z.core.$strip>;
237
+ declare const HostEventCancelResponseSchema: z.ZodObject<{
238
+ id: z.ZodUUID;
239
+ state: z.ZodLiteral<"CANCELLED">;
240
+ cancelledAt: z.ZodNullable<z.ZodISODateTime>;
241
+ }, z.core.$strip>;
242
+ declare const HostOverviewResponseSchema: z.ZodObject<{
243
+ range: z.ZodObject<{
244
+ start: z.ZodString;
245
+ end: z.ZodString;
246
+ preset: z.ZodOptional<z.ZodString>;
247
+ }, z.core.$strip>;
248
+ kpis: z.ZodObject<{
249
+ totalRevenue: z.ZodObject<{
250
+ currency: z.ZodLiteral<"NGN">;
251
+ value: z.ZodString;
252
+ deltaPct: z.ZodNullable<z.ZodNumber>;
253
+ }, z.core.$strip>;
254
+ upcomingEvents: z.ZodObject<{
255
+ count: z.ZodNumber;
256
+ nextStartsAt: z.ZodNullable<z.ZodString>;
257
+ }, z.core.$strip>;
258
+ liveNow: z.ZodObject<{
259
+ eventCount: z.ZodNumber;
260
+ totalViewers: z.ZodNumber;
261
+ }, z.core.$strip>;
262
+ totalViews: z.ZodObject<{
263
+ value: z.ZodNumber;
264
+ deltaPct: z.ZodNullable<z.ZodNumber>;
265
+ }, z.core.$strip>;
266
+ }, z.core.$strip>;
267
+ live: z.ZodArray<z.ZodObject<{
268
+ eventId: z.ZodUUID;
269
+ title: z.ZodString;
270
+ viewers: z.ZodNumber;
271
+ }, z.core.$strip>>;
272
+ upcoming: z.ZodArray<z.ZodObject<{
273
+ eventId: z.ZodUUID;
274
+ title: z.ZodString;
275
+ scheduledStart: z.ZodString;
276
+ canGoLive: z.ZodBoolean;
277
+ }, z.core.$strip>>;
278
+ activity: z.ZodArray<z.ZodObject<{
279
+ kind: z.ZodString;
280
+ subjectType: z.ZodEnum<{
281
+ Event: "Event";
282
+ Booking: "Booking";
283
+ PaymentIntent: "PaymentIntent";
284
+ ReplayPurchase: "ReplayPurchase";
285
+ }>;
286
+ subjectId: z.ZodString;
287
+ occurredAt: z.ZodNumber;
288
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
289
+ dedupeId: z.ZodString;
290
+ }, z.core.$strip>>;
291
+ }, z.core.$strip>;
292
+ declare const HostActivityListPageSchema: z.ZodObject<{
293
+ totalCount: z.ZodNumber;
294
+ pageNumber: z.ZodNumber;
295
+ pageSize: z.ZodNumber;
296
+ totalPages: z.ZodNumber;
297
+ hasPreviousPage: z.ZodBoolean;
298
+ hasNextPage: z.ZodBoolean;
299
+ items: z.ZodArray<z.ZodObject<{
300
+ kind: z.ZodString;
301
+ subjectType: z.ZodEnum<{
302
+ Event: "Event";
303
+ Booking: "Booking";
304
+ PaymentIntent: "PaymentIntent";
305
+ ReplayPurchase: "ReplayPurchase";
306
+ }>;
307
+ subjectId: z.ZodString;
308
+ occurredAt: z.ZodNumber;
309
+ payload: z.ZodRecord<z.ZodString, z.ZodUnknown>;
310
+ dedupeId: z.ZodString;
311
+ }, z.core.$strip>>;
312
+ }, z.core.$strip>;
313
+ declare const HostSearchHitSchema: z.ZodObject<{
314
+ eventId: z.ZodUUID;
315
+ title: z.ZodString;
316
+ scheduledStart: z.ZodString;
317
+ state: z.ZodString;
318
+ }, z.core.$strip>;
319
+ declare const HostSearchResponseSchema: z.ZodObject<{
320
+ hits: z.ZodArray<z.ZodObject<{
321
+ eventId: z.ZodUUID;
322
+ title: z.ZodString;
323
+ scheduledStart: z.ZodString;
324
+ state: z.ZodString;
325
+ }, z.core.$strip>>;
326
+ }, z.core.$strip>;
327
+ declare const HostNotificationsUnreadCountSchema: z.ZodObject<{
328
+ count: z.ZodNumber;
329
+ }, z.core.$strip>;
330
+ declare const HostEventsTabResponseClassSchema: z.ZodObject<{
331
+ totalCount: z.ZodNumber;
332
+ pageNumber: z.ZodNumber;
333
+ pageSize: z.ZodNumber;
334
+ totalPages: z.ZodNumber;
335
+ hasPreviousPage: z.ZodBoolean;
336
+ hasNextPage: z.ZodBoolean;
337
+ tab: z.ZodEnum<{
338
+ LIVE: "LIVE";
339
+ ENDED: "ENDED";
340
+ UPCOMING: "UPCOMING";
341
+ DRAFTS: "DRAFTS";
342
+ }>;
343
+ items: z.ZodArray<z.ZodObject<{
344
+ eventId: z.ZodString;
345
+ title: z.ZodString;
346
+ date: z.ZodISODateTime;
347
+ ticketsSold: z.ZodNumber;
348
+ revenue: z.ZodObject<{
349
+ currency: z.ZodString;
350
+ value: z.ZodString;
351
+ }, z.core.$strip>;
352
+ status: z.ZodEnum<{
353
+ ACTIVE: "ACTIVE";
354
+ DRAFT: "DRAFT";
355
+ LIVE: "LIVE";
356
+ ENDED: "ENDED";
357
+ CANCELLED: "CANCELLED";
358
+ PAUSED: "PAUSED";
359
+ }>;
360
+ }, z.core.$strip>>;
361
+ }, z.core.$strip>;
362
+ declare const HostEventFullResponseSchema: z.ZodObject<{
363
+ id: z.ZodUUID;
364
+ hostId: z.ZodUUID;
365
+ title: z.ZodString;
366
+ description: z.ZodNullable<z.ZodString>;
367
+ coverImageUrl: z.ZodNullable<z.ZodString>;
368
+ venueLocation: z.ZodNullable<z.ZodString>;
369
+ scheduledStart: z.ZodString;
370
+ scheduledEnd: z.ZodString;
371
+ timezone: z.ZodString;
372
+ expectedAudience: z.ZodNullable<z.ZodNumber>;
373
+ plannedDurationMinutes: z.ZodNullable<z.ZodNumber>;
374
+ visibility: z.ZodString;
375
+ accessModel: z.ZodString;
376
+ ticketPrice: z.ZodNullable<z.ZodString>;
377
+ currency: z.ZodString;
378
+ maxTickets: z.ZodNullable<z.ZodNumber>;
379
+ allowlistData: z.ZodArray<z.ZodString>;
380
+ replayAccess: z.ZodString;
381
+ replayAccessFee: z.ZodString;
382
+ retentionDays: z.ZodNumber;
383
+ replayAvailableUntil: z.ZodNullable<z.ZodString>;
384
+ shareableUrl: z.ZodNullable<z.ZodString>;
385
+ state: z.ZodString;
386
+ tags: z.ZodArray<z.ZodString>;
387
+ isFeatured: z.ZodBoolean;
388
+ createdAt: z.ZodString;
389
+ updatedAt: z.ZodString;
390
+ publishedAt: z.ZodNullable<z.ZodString>;
391
+ liveStartedAt: z.ZodNullable<z.ZodString>;
392
+ liveEndedAt: z.ZodNullable<z.ZodString>;
393
+ cancelledAt: z.ZodNullable<z.ZodString>;
394
+ cancelledReason: z.ZodNullable<z.ZodString>;
395
+ category: z.ZodString;
396
+ wizardStep: z.ZodNullable<z.ZodNumber>;
397
+ productionMode: z.ZodNullable<z.ZodString>;
398
+ productionNotes: z.ZodNullable<z.ZodString>;
399
+ }, z.core.$strip>;
400
+ declare const HostEventWizardCurrentResponseSchema: z.ZodObject<{
401
+ id: z.ZodUUID;
402
+ hostId: z.ZodUUID;
403
+ title: z.ZodString;
404
+ description: z.ZodNullable<z.ZodString>;
405
+ coverImageUrl: z.ZodNullable<z.ZodString>;
406
+ venueLocation: z.ZodNullable<z.ZodString>;
407
+ scheduledStart: z.ZodString;
408
+ scheduledEnd: z.ZodString;
409
+ timezone: z.ZodString;
410
+ expectedAudience: z.ZodNullable<z.ZodNumber>;
411
+ plannedDurationMinutes: z.ZodNullable<z.ZodNumber>;
412
+ visibility: z.ZodString;
413
+ accessModel: z.ZodString;
414
+ ticketPrice: z.ZodNullable<z.ZodString>;
415
+ currency: z.ZodString;
416
+ maxTickets: z.ZodNullable<z.ZodNumber>;
417
+ allowlistData: z.ZodArray<z.ZodString>;
418
+ replayAccess: z.ZodString;
419
+ replayAccessFee: z.ZodString;
420
+ retentionDays: z.ZodNumber;
421
+ replayAvailableUntil: z.ZodNullable<z.ZodString>;
422
+ shareableUrl: z.ZodNullable<z.ZodString>;
423
+ state: z.ZodString;
424
+ tags: z.ZodArray<z.ZodString>;
425
+ isFeatured: z.ZodBoolean;
426
+ createdAt: z.ZodString;
427
+ updatedAt: z.ZodString;
428
+ publishedAt: z.ZodNullable<z.ZodString>;
429
+ liveStartedAt: z.ZodNullable<z.ZodString>;
430
+ liveEndedAt: z.ZodNullable<z.ZodString>;
431
+ cancelledAt: z.ZodNullable<z.ZodString>;
432
+ cancelledReason: z.ZodNullable<z.ZodString>;
433
+ category: z.ZodString;
434
+ wizardStep: z.ZodNullable<z.ZodNumber>;
435
+ productionMode: z.ZodNullable<z.ZodString>;
436
+ productionNotes: z.ZodNullable<z.ZodString>;
437
+ crewIds: z.ZodArray<z.ZodUUID>;
137
438
  }, z.core.$strip>;
138
439
 
139
440
  type HostEventsTab = z.infer<typeof HostEventsTabSchema>;
140
441
  type HostOverviewQuery = z.infer<typeof HostOverviewQuerySchema>;
141
- type HostActivityListQuery = z.infer<typeof HostActivityListQuerySchema>;
142
442
  type HostSearchQuery = z.infer<typeof HostSearchQuerySchema>;
143
443
  type HostEventsListQuery = z.infer<typeof HostEventsListQuerySchema>;
144
444
  type HostEventPatch = z.infer<typeof HostEventPatchSchema>;
445
+ type CancelEvent = z.infer<typeof CancelEventSchema>;
446
+ type HostEventRowResponse = z.infer<typeof HostEventRowResponseSchema>;
447
+ type HostEventsTabResponse = z.infer<typeof HostEventsTabResponseSchema>;
448
+ type HostEventsTabCountsResponse = z.infer<typeof HostEventsTabCountsResponseSchema>;
449
+ type HostEventWizardStart = z.infer<typeof HostEventWizardStartSchema>;
450
+ type HostEventsListPagedQuery = z.infer<typeof HostEventsListPagedQuerySchema>;
451
+ type HostEventWizardStartResponse = z.infer<typeof HostEventWizardStartResponseSchema>;
452
+ type HostEventWizardStepResponse = z.infer<typeof HostEventWizardStepResponseSchema>;
453
+ type HostEventWizardPublishResponse = z.infer<typeof HostEventWizardPublishResponseSchema>;
454
+ type HostEventCancelResponse = z.infer<typeof HostEventCancelResponseSchema>;
455
+ type HostOverviewResponse = z.infer<typeof HostOverviewResponseSchema>;
456
+ type HostSearchResponse = z.infer<typeof HostSearchResponseSchema>;
457
+ type HostNotificationsUnreadCount = z.infer<typeof HostNotificationsUnreadCountSchema>;
458
+ type HostEventsTabResponseClass = z.infer<typeof HostEventsTabResponseClassSchema>;
459
+ type HostEventFullResponse = z.infer<typeof HostEventFullResponseSchema>;
460
+ type HostEventWizardCurrentResponse = z.infer<typeof HostEventWizardCurrentResponseSchema>;
461
+ type HostSearchHit = z.infer<typeof HostSearchHitSchema>;
462
+ type HostActivityListPage = z.infer<typeof HostActivityListPageSchema>;
145
463
 
146
- export { CHAT_HISTORY_DEFAULT_LIMIT, CHAT_HISTORY_MAX_LIMIT, CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryQuery, ChatHistoryQuerySchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, HOST_DATE_RANGE_PRESETS, type HostActivityListQuery, HostActivityListQuerySchema, type HostEventPatch, HostEventPatchSchema, type HostEventsListQuery, HostEventsListQuerySchema, type HostEventsTab, HostEventsTabSchema, type HostOverviewQuery, HostOverviewQuerySchema, type HostSearchQuery, HostSearchQuerySchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
464
+ export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type CancelEvent, CancelEventSchema, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, HOST_DATE_RANGE_PRESETS, type HostActivityListPage, HostActivityListPageSchema, type HostEventCancelResponse, HostEventCancelResponseSchema, type HostEventFullResponse, HostEventFullResponseSchema, type HostEventPatch, HostEventPatchSchema, type HostEventRowResponse, HostEventRowResponseSchema, type HostEventWizardCurrentResponse, HostEventWizardCurrentResponseSchema, type HostEventWizardPublishResponse, HostEventWizardPublishResponseSchema, type HostEventWizardStart, type HostEventWizardStartResponse, HostEventWizardStartResponseSchema, HostEventWizardStartSchema, type HostEventWizardStepResponse, HostEventWizardStepResponseSchema, type HostEventsListPagedQuery, HostEventsListPagedQuerySchema, type HostEventsListQuery, HostEventsListQuerySchema, type HostEventsTab, type HostEventsTabCountsResponse, HostEventsTabCountsResponseSchema, type HostEventsTabResponse, type HostEventsTabResponseClass, HostEventsTabResponseClassSchema, HostEventsTabResponseSchema, HostEventsTabSchema, type HostNotificationsUnreadCount, HostNotificationsUnreadCountSchema, type HostOverviewQuery, HostOverviewQuerySchema, type HostOverviewResponse, HostOverviewResponseSchema, type HostSearchHit, HostSearchHitSchema, type HostSearchQuery, HostSearchQuerySchema, type HostSearchResponse, HostSearchResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };