@livdot-tech/contracts 1.4.3 → 1.5.0

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 (64) hide show
  1. package/dist/auth/index.js +1 -1
  2. package/dist/auth/index.mjs +1 -1
  3. package/dist/chunk-2TQ3BI34.js +2 -0
  4. package/dist/chunk-2TQ3BI34.js.map +1 -0
  5. package/dist/{chunk-P7DO3CDH.js → chunk-54FMKF33.js} +2 -2
  6. package/dist/{chunk-P7DO3CDH.js.map → chunk-54FMKF33.js.map} +1 -1
  7. package/dist/{chunk-JH4NWBFP.js → chunk-5ROSQD5N.js} +2 -2
  8. package/dist/{chunk-JH4NWBFP.js.map → chunk-5ROSQD5N.js.map} +1 -1
  9. package/dist/chunk-C3LOLFNN.js +2 -0
  10. package/dist/chunk-C3LOLFNN.js.map +1 -0
  11. package/dist/{chunk-J46D3YKA.mjs → chunk-CBORZPGZ.mjs} +2 -2
  12. package/dist/{chunk-J46D3YKA.mjs.map → chunk-CBORZPGZ.mjs.map} +1 -1
  13. package/dist/chunk-EGUWLSAA.mjs +2 -0
  14. package/dist/{chunk-G55BEBMB.mjs.map → chunk-EGUWLSAA.mjs.map} +1 -1
  15. package/dist/chunk-EJCFJL2F.mjs +2 -0
  16. package/dist/chunk-EJCFJL2F.mjs.map +1 -0
  17. package/dist/chunk-EQVYSKSG.mjs +2 -0
  18. package/dist/chunk-EQVYSKSG.mjs.map +1 -0
  19. package/dist/chunk-MRWDLMMZ.mjs +2 -0
  20. package/dist/chunk-MRWDLMMZ.mjs.map +1 -0
  21. package/dist/chunk-VRSJMPBY.js +2 -0
  22. package/dist/chunk-VRSJMPBY.js.map +1 -0
  23. package/dist/chunk-W2AXUTIW.js +2 -0
  24. package/dist/chunk-W2AXUTIW.js.map +1 -0
  25. package/dist/chunk-XUOMVQVQ.mjs +2 -0
  26. package/dist/chunk-XUOMVQVQ.mjs.map +1 -0
  27. package/dist/event/index.d.mts +22 -4
  28. package/dist/event/index.d.ts +22 -4
  29. package/dist/event/index.js +1 -1
  30. package/dist/event/index.mjs +1 -1
  31. package/dist/index.d.mts +87 -4
  32. package/dist/index.d.ts +87 -4
  33. package/dist/index.js +1 -1
  34. package/dist/index.js.map +1 -1
  35. package/dist/index.mjs +1 -1
  36. package/dist/index.mjs.map +1 -1
  37. package/dist/marketplace/index.js +1 -1
  38. package/dist/marketplace/index.mjs +1 -1
  39. package/dist/payment/index.d.mts +81 -1
  40. package/dist/payment/index.d.ts +81 -1
  41. package/dist/payment/index.js +1 -1
  42. package/dist/payment/index.mjs +1 -1
  43. package/dist/user/index.d.mts +80 -1
  44. package/dist/user/index.d.ts +80 -1
  45. package/dist/user/index.js +1 -1
  46. package/dist/user/index.mjs +1 -1
  47. package/package.json +1 -1
  48. package/dist/chunk-2N4M7ZID.mjs +0 -2
  49. package/dist/chunk-2N4M7ZID.mjs.map +0 -1
  50. package/dist/chunk-ACXVPMYP.mjs +0 -2
  51. package/dist/chunk-ACXVPMYP.mjs.map +0 -1
  52. package/dist/chunk-G55BEBMB.mjs +0 -2
  53. package/dist/chunk-HDCQKBMZ.js +0 -2
  54. package/dist/chunk-HDCQKBMZ.js.map +0 -1
  55. package/dist/chunk-PI4KQRG6.js +0 -2
  56. package/dist/chunk-PI4KQRG6.js.map +0 -1
  57. package/dist/chunk-QIDNKMGT.mjs +0 -2
  58. package/dist/chunk-QIDNKMGT.mjs.map +0 -1
  59. package/dist/chunk-SKUIUOTZ.js +0 -2
  60. package/dist/chunk-SKUIUOTZ.js.map +0 -1
  61. package/dist/chunk-VSYDI3WD.js +0 -2
  62. package/dist/chunk-VSYDI3WD.js.map +0 -1
  63. package/dist/chunk-ZWZOFVZ3.mjs +0 -2
  64. package/dist/chunk-ZWZOFVZ3.mjs.map +0 -1
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export{r as AdminApproveProducerVerificationSchema,s as AdminProducerVerificationReasonBodySchema,t as AdminRejectProducerVerificationSchema,u as AdminSuspendProducerVerificationSchema,c as EquipmentCategory,q as GetProducerProfileQuerySchema,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,n as ProducerProfileWorkspaceSchema,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode,p as SubmitProducerForVerificationSchema,o as UpsertProducerWorkspaceProfileSchema,k as WorkspaceEquipmentItemInputSchema,l as WorkspacePortfolioItemInputSchema,m as WorkspaceRateCardItemInputSchema}from'./chunk-G55BEBMB.mjs';export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-SA4F4CDG.mjs';export{m as AccessCheckRequestSchema,o as AccessCheckResponseSchema,e as AccessReason,k as CreatePurchaseResponseSchema,g as CtaMode,f as EntitlementStatus,h as InitiatePaymentRequestSchema,i as InitiatePaymentResponseSchema,d as PaymentStatus,j as PayoutResponseSchema,c as PayoutStatus,n as PaystackWebhookSchema,p as PricingQuoteResponseSchema,l as PurchaseStatusResponseSchema,b as TransactionStatus,a as TransactionType,q as ViewerEventDetailResponseSchema}from'./chunk-QIDNKMGT.mjs';export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'./chunk-MIIRC5BK.mjs';export{m as ChangePasswordRequestSchema,n as CognitoTokenPayloadSchema,j as ForgotPasswordRequestSchema,k as ForgotPasswordResponseSchema,c as LoginRequestSchema,g as LoginResponseSchema,i as LogoutRequestSchema,h as RefreshTokenRequestSchema,a as RegisterRequestSchema,b as RegisterResponseSchema,e as ResendOtpRequestSchema,l as ResetPasswordRequestSchema,d as VerifyOtpRequestSchema,f as VerifyOtpResponseSchema}from'./chunk-J46D3YKA.mjs';export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,a as HostProfileResponseSchema,b as ProducerProfileResponseSchema,d as UpdateUserRequestSchema,c as UserResponseSchema}from'./chunk-ZWZOFVZ3.mjs';export{b as AccountStatus,d as AdminScopeCode,c as KycStatus,f as ProducerExperienceLevel,e as ProducerVerificationStatus,a as UserRole}from'./chunk-ACXVPMYP.mjs';export{a as BookingOrigin,e as BookingPaymentStatus,h as BookingResponseSchema,b as BookingState,g as ConfirmBookingRequestSchema,f as CreateBookingRequestSchema,i as CreateJobListingRequestSchema,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,k as SubmitIndicationOfInterestRequestSchema}from'./chunk-SOOB6WM6.mjs';export{a as ApiResponseSchema,b as PaginationParamsSchema,c as ResponseMessages}from'./chunk-FE3AMYQL.mjs';export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'./chunk-CWGSFDFC.mjs';export{a as ApiErrorCode}from'./chunk-VGS23C2E.mjs';export{j as CreateEventRequestSchema,B as EndViewingSessionResponseSchema,b as EventAccessModel,c as EventAllowListType,m as EventCardSchema,e as EventCategory,l as EventResponseSchema,d as EventState,a as EventVisibility,t as LivePlaybackSchema,w as MyEventCardSchema,y as MyEventsQuerySchema,x as MyEventsResponseSchema,i as MyEventsTabSchema,q as PagedEventsResponseSchema,o as PaginationCursorSchema,v as PlaybackResponseSchema,r as RegisterForEventResponseSchema,g as RegistrationScope,f as RegistrationStatus,u as ReplayPlaybackSchema,p as SearchEventsQuerySchema,z as StartViewingSessionResponseSchema,k as UpdateEventRequestSchema,s as UpdateWatchProgressRequestSchema,n as ViewerHomeResponseSchema,h as ViewerRegistrationView,A as ViewingSessionHeartbeatResponseSchema}from'./chunk-2N4M7ZID.mjs';export{a as JobInterestState}from'./chunk-Y5QIEJG2.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{r as AdminApproveProducerVerificationSchema,s as AdminProducerVerificationReasonBodySchema,t as AdminRejectProducerVerificationSchema,u as AdminSuspendProducerVerificationSchema,c as EquipmentCategory,q as GetProducerProfileQuerySchema,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,n as ProducerProfileWorkspaceSchema,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode,p as SubmitProducerForVerificationSchema,o as UpsertProducerWorkspaceProfileSchema,k as WorkspaceEquipmentItemInputSchema,l as WorkspacePortfolioItemInputSchema,m as WorkspaceRateCardItemInputSchema}from'./chunk-EGUWLSAA.mjs';export{b as NotificationChannel,a as NotificationPriority,d as NotificationResponseSchema,c as NotificationType}from'./chunk-SA4F4CDG.mjs';export{o as AccessCheckRequestSchema,q as AccessCheckResponseSchema,f as AccessReason,m as CreatePurchaseResponseSchema,i as CtaMode,g as EntitlementStatus,j as InitiatePaymentRequestSchema,k as InitiatePaymentResponseSchema,d as PaymentStatus,l as PayoutResponseSchema,c as PayoutStatus,p as PaystackWebhookSchema,h as PlatformChargeStatus,r as PricingQuoteResponseSchema,n as PurchaseStatusResponseSchema,t as ReceiptUrlResponseSchema,u as ReplayPurchasePaymentSchema,w as ReplayPurchaseResponseSchema,v as ReplayPurchaseRowSchema,e as ReplayPurchaseStatus,b as TransactionStatus,a as TransactionType,s as ViewerEventDetailResponseSchema}from'./chunk-MRWDLMMZ.mjs';export{d as IngestCredentialsResponseSchema,b as IngestProtocol,c as PlaybackTokenResponseSchema,a as StreamStatus,e as TelemetryReportRequestSchema}from'./chunk-MIIRC5BK.mjs';export{m as ChangePasswordRequestSchema,n as CognitoTokenPayloadSchema,j as ForgotPasswordRequestSchema,k as ForgotPasswordResponseSchema,c as LoginRequestSchema,g as LoginResponseSchema,i as LogoutRequestSchema,h as RefreshTokenRequestSchema,a as RegisterRequestSchema,b as RegisterResponseSchema,e as ResendOtpRequestSchema,l as ResetPasswordRequestSchema,d as VerifyOtpRequestSchema,f as VerifyOtpResponseSchema}from'./chunk-CBORZPGZ.mjs';export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,h as DisplayNameSchema,a as HostProfileResponseSchema,k as NotificationPreferenceItemSchema,o as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,g as RESERVED_DISPLAY_NAMES,m as SendFeedbackRequestSchema,p as SendFeedbackResponseSchema,l as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,j as UpdateViewerCurrencyRequestSchema,i as UpdateViewerProfileRequestSchema,c as UserResponseSchema,n as ViewerMeResponseSchema}from'./chunk-XUOMVQVQ.mjs';export{b as AccountStatus,d as AdminScopeCode,e as FeedbackCategory,c as KycStatus,f as NotificationCategory,h as ProducerExperienceLevel,g as ProducerVerificationStatus,a as UserRole}from'./chunk-EQVYSKSG.mjs';export{a as BookingOrigin,e as BookingPaymentStatus,h as BookingResponseSchema,b as BookingState,g as ConfirmBookingRequestSchema,f as CreateBookingRequestSchema,i as CreateJobListingRequestSchema,l as IndicationOfInterestResponseSchema,d as IoiState,j as JobListingResponseSchema,c as JobListingState,k as SubmitIndicationOfInterestRequestSchema}from'./chunk-SOOB6WM6.mjs';export{a as ApiResponseSchema,b as PaginationParamsSchema,c as ResponseMessages}from'./chunk-FE3AMYQL.mjs';export{c as DisputeResponseSchema,b as DisputeStatus,a as DisputeType}from'./chunk-CWGSFDFC.mjs';export{a as ApiErrorCode}from'./chunk-VGS23C2E.mjs';export{k as CreateEventRequestSchema,C as EndViewingSessionResponseSchema,c as EventAccessModel,d as EventAllowListType,n as EventCardSchema,f as EventCategory,a as EventReplayAccess,m as EventResponseSchema,e as EventState,b as EventVisibility,u as LivePlaybackSchema,x as MyEventCardSchema,z as MyEventsQuerySchema,y as MyEventsResponseSchema,j as MyEventsTabSchema,r as PagedEventsResponseSchema,p as PaginationCursorSchema,w as PlaybackResponseSchema,s as RegisterForEventResponseSchema,h as RegistrationScope,g as RegistrationStatus,v as ReplayPlaybackSchema,q as SearchEventsQuerySchema,A as StartViewingSessionResponseSchema,l as UpdateEventRequestSchema,t as UpdateWatchProgressRequestSchema,o as ViewerHomeResponseSchema,i as ViewerRegistrationView,B as ViewingSessionHeartbeatResponseSchema}from'./chunk-EJCFJL2F.mjs';export{a as JobInterestState}from'./chunk-Y5QIEJG2.mjs';import t from'zod';var r=50,n=100,s=1,i=500,e=200,a=t.object({id:t.string(),displayName:t.string(),colorHex:t.string().regex(/^#[0-9A-Fa-f]{6}$/)}),m=t.object({id:t.string(),body:t.string(),createdAt:t.iso.datetime(),user:a,deletedAt:t.iso.datetime().optional()}),Xe=t.object({items:t.array(m),nextCursor:t.string().nullable()}),Be=t.object({cursor:t.string().optional(),limit:t.coerce.number().int().min(1).max(n).default(r).optional()}),Fe=t.object({body:t.string().trim().min(s).max(i)}),ze=t.object({reason:t.string().trim().max(e).optional()}).strict(),Pe=t.object({until:t.iso.datetime().refine(o=>new Date(o).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:t.string().trim().max(e).optional()}).strict(),Qe=t.object({eventId:t.string(),mutedUntil:t.iso.datetime().nullable()}),$e=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()})]);export{r as CHAT_HISTORY_DEFAULT_LIMIT,n as CHAT_HISTORY_MAX_LIMIT,i as CHAT_MESSAGE_BODY_MAX_LENGTH,s as CHAT_MESSAGE_BODY_MIN_LENGTH,e as CHAT_MODERATION_REASON_MAX_LENGTH,$e as ChatCredentialsResponseSchema,Be as ChatHistoryQuerySchema,Xe as ChatHistoryResponseSchema,m as ChatMessageSchema,a as ChatMessageUserSchema,ze as ChatModerationDeleteRequestSchema,Pe as ChatModerationMuteRequestSchema,Qe as ChatMuteStateResponseSchema,Fe as PostChatMessageRequestSchema};//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
1
+ {"version":3,"sources":["../src/chat/chat.schemas.ts"],"names":["CHAT_HISTORY_DEFAULT_LIMIT","CHAT_HISTORY_MAX_LIMIT","CHAT_MESSAGE_BODY_MIN_LENGTH","CHAT_MESSAGE_BODY_MAX_LENGTH","CHAT_MODERATION_REASON_MAX_LENGTH","ChatMessageUserSchema","z","ChatMessageSchema","ChatHistoryResponseSchema","ChatHistoryQuerySchema","PostChatMessageRequestSchema","ChatModerationDeleteRequestSchema","ChatModerationMuteRequestSchema","value","ChatMuteStateResponseSchema","ChatCredentialsResponseSchema"],"mappings":"m9IAEO,IAAMA,CAAAA,CAA6B,EAAA,CAC7BC,CAAAA,CAAyB,GAAA,CAEzBC,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,QAAA,CAAUA,CAAAA,CAAE,MAAA,GAAS,KAAA,CAAM,mBAAmB,CAChD,CAAC,CAAA,CAEYC,CAAAA,CAAoBD,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,IAAA,CAAMD,CAAAA,CACN,SAAA,CAAWC,CAAAA,CAAE,GAAA,CAAI,QAAA,EAAS,CAAE,QAAA,EAC9B,CAAC,EAEYE,EAAAA,CAA4BF,CAAAA,CAAE,MAAA,CAAO,CAChD,KAAA,CAAOA,CAAAA,CAAE,KAAA,CAAMC,CAAiB,CAAA,CAChC,UAAA,CAAYD,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,EACzB,CAAC,CAAA,CAEYG,E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C/B,CAAC,CAAA,CAEYS,EAAAA,CAAgCT,CAAAA,CAAE,kBAAA,CAAmB,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,MAAA,EAAO,CAChB,WAAA,CAAaA,EAAE,MAAA,EACjB,CAAC,CAAA,CACDA,CAAAA,CAAE,MAAA,CAAO,CACP,IAAA,CAAMA,CAAAA,CAAE,OAAA,CAAQ,KAAK,CAAA,CACrB,cAAA,CAAgBA,CAAAA,CAAE,MAAA,EAAO,CACzB,SAAUA,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","file":"index.mjs","sourcesContent":["import z from 'zod';\n\nexport const CHAT_HISTORY_DEFAULT_LIMIT = 50;\nexport const CHAT_HISTORY_MAX_LIMIT = 100;\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 nextCursor: z.string().nullable(),\n});\n\nexport const ChatHistoryQuerySchema = z.object({\n cursor: z.string().optional(),\n limit: z.coerce\n .number()\n .int()\n .min(1)\n .max(CHAT_HISTORY_MAX_LIMIT)\n .default(CHAT_HISTORY_DEFAULT_LIMIT)\n .optional(),\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"]}
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkP7DO3CDH_js=require('../chunk-P7DO3CDH.js');require('../chunk-PI4KQRG6.js');Object.defineProperty(exports,"AdminApproveProducerVerificationSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.r}});Object.defineProperty(exports,"AdminProducerVerificationReasonBodySchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.s}});Object.defineProperty(exports,"AdminRejectProducerVerificationSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.t}});Object.defineProperty(exports,"AdminSuspendProducerVerificationSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.u}});Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunkP7DO3CDH_js.c}});Object.defineProperty(exports,"GetProducerProfileQuerySchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.q}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.d}});Object.defineProperty(exports,"ListProducersResponseSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.j}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunkP7DO3CDH_js.a}});Object.defineProperty(exports,"ProducerProfileWorkspaceSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.n}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.f}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.e}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.i}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.g}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.h}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunkP7DO3CDH_js.b}});Object.defineProperty(exports,"SubmitProducerForVerificationSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.p}});Object.defineProperty(exports,"UpsertProducerWorkspaceProfileSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.o}});Object.defineProperty(exports,"WorkspaceEquipmentItemInputSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.k}});Object.defineProperty(exports,"WorkspacePortfolioItemInputSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.l}});Object.defineProperty(exports,"WorkspaceRateCardItemInputSchema",{enumerable:true,get:function(){return chunkP7DO3CDH_js.m}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunk54FMKF33_js=require('../chunk-54FMKF33.js');require('../chunk-W2AXUTIW.js');Object.defineProperty(exports,"AdminApproveProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.r}});Object.defineProperty(exports,"AdminProducerVerificationReasonBodySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.s}});Object.defineProperty(exports,"AdminRejectProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.t}});Object.defineProperty(exports,"AdminSuspendProducerVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.u}});Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunk54FMKF33_js.c}});Object.defineProperty(exports,"GetProducerProfileQuerySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.q}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.d}});Object.defineProperty(exports,"ListProducersResponseSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.j}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunk54FMKF33_js.a}});Object.defineProperty(exports,"ProducerProfileWorkspaceSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.n}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunk54FMKF33_js.f}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.e}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.i}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.g}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.h}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunk54FMKF33_js.b}});Object.defineProperty(exports,"SubmitProducerForVerificationSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.p}});Object.defineProperty(exports,"UpsertProducerWorkspaceProfileSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.o}});Object.defineProperty(exports,"WorkspaceEquipmentItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.k}});Object.defineProperty(exports,"WorkspacePortfolioItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.l}});Object.defineProperty(exports,"WorkspaceRateCardItemInputSchema",{enumerable:true,get:function(){return chunk54FMKF33_js.m}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{r as AdminApproveProducerVerificationSchema,s as AdminProducerVerificationReasonBodySchema,t as AdminRejectProducerVerificationSchema,u as AdminSuspendProducerVerificationSchema,c as EquipmentCategory,q as GetProducerProfileQuerySchema,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,n as ProducerProfileWorkspaceSchema,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode,p as SubmitProducerForVerificationSchema,o as UpsertProducerWorkspaceProfileSchema,k as WorkspaceEquipmentItemInputSchema,l as WorkspacePortfolioItemInputSchema,m as WorkspaceRateCardItemInputSchema}from'../chunk-G55BEBMB.mjs';import'../chunk-ACXVPMYP.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{r as AdminApproveProducerVerificationSchema,s as AdminProducerVerificationReasonBodySchema,t as AdminRejectProducerVerificationSchema,u as AdminSuspendProducerVerificationSchema,c as EquipmentCategory,q as GetProducerProfileQuerySchema,d as ListProducersQuerySchema,j as ListProducersResponseSchema,a as MarketplaceCurrency,n as ProducerProfileWorkspaceSchema,f as PublicProducerListCategorySchema,e as PublicProducerListEquipmentItemSchema,i as PublicProducerListItemSchema,g as PublicProducerListPortfolioItemSchema,h as PublicProducerListRateCardItemSchema,b as ServiceCategoryCode,p as SubmitProducerForVerificationSchema,o as UpsertProducerWorkspaceProfileSchema,k as WorkspaceEquipmentItemInputSchema,l as WorkspacePortfolioItemInputSchema,m as WorkspaceRateCardItemInputSchema}from'../chunk-EGUWLSAA.mjs';import'../chunk-EQVYSKSG.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -33,6 +33,13 @@ declare const PaymentStatus: {
33
33
  readonly REFUNDED: "REFUNDED";
34
34
  };
35
35
  type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
36
+ declare const ReplayPurchaseStatus: {
37
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
38
+ readonly ACTIVE: "ACTIVE";
39
+ readonly EXPIRED: "EXPIRED";
40
+ readonly REFUNDED: "REFUNDED";
41
+ };
42
+ type ReplayPurchaseStatus = (typeof ReplayPurchaseStatus)[keyof typeof ReplayPurchaseStatus];
36
43
  declare const AccessReason: {
37
44
  readonly REGISTERED: "REGISTERED";
38
45
  readonly PUBLIC: "PUBLIC";
@@ -51,6 +58,14 @@ declare const EntitlementStatus: {
51
58
  readonly CANCELLED: "CANCELLED";
52
59
  };
53
60
  type EntitlementStatus = (typeof EntitlementStatus)[keyof typeof EntitlementStatus];
61
+ declare const PlatformChargeStatus: {
62
+ readonly PENDING: "PENDING";
63
+ readonly SETTLED: "SETTLED";
64
+ readonly WAIVED: "WAIVED";
65
+ readonly VOIDED: "VOIDED";
66
+ readonly REFUNDED: "REFUNDED";
67
+ };
68
+ type PlatformChargeStatus = (typeof PlatformChargeStatus)[keyof typeof PlatformChargeStatus];
54
69
  declare const CtaMode: {
55
70
  readonly BUY_TICKET: "BUY_TICKET";
56
71
  readonly COMPLETE_PAYMENT: "COMPLETE_PAYMENT";
@@ -201,6 +216,67 @@ declare const ViewerEventDetailResponseSchema: z.ZodObject<{
201
216
  requiresAccessCheck: z.ZodOptional<z.ZodBoolean>;
202
217
  }, z.core.$strip>;
203
218
  }, z.core.$strip>;
219
+ declare const ReceiptUrlResponseSchema: z.ZodObject<{
220
+ url: z.ZodURL;
221
+ expiresAt: z.ZodISODateTime;
222
+ contentType: z.ZodString;
223
+ }, z.core.$strip>;
224
+ declare const ReplayPurchasePaymentSchema: z.ZodObject<{
225
+ reference: z.ZodString;
226
+ amount: z.ZodString;
227
+ currency: z.ZodString;
228
+ checkoutUrl: z.ZodOptional<z.ZodString>;
229
+ }, z.core.$strip>;
230
+ declare const ReplayPurchaseRowSchema: z.ZodObject<{
231
+ id: z.ZodString;
232
+ eventId: z.ZodString;
233
+ status: z.ZodEnum<{
234
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
235
+ readonly ACTIVE: "ACTIVE";
236
+ readonly EXPIRED: "EXPIRED";
237
+ readonly REFUNDED: "REFUNDED";
238
+ }>;
239
+ source: z.ZodEnum<{
240
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
241
+ readonly ACTIVE: "ACTIVE";
242
+ readonly EXPIRED: "EXPIRED";
243
+ readonly REFUNDED: "REFUNDED";
244
+ }>;
245
+ amount: z.ZodString;
246
+ currency: z.ZodString;
247
+ paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
248
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
249
+ paidAt: z.ZodNullable<z.ZodISODateTime>;
250
+ }, z.core.$strip>;
251
+ declare const ReplayPurchaseResponseSchema: z.ZodObject<{
252
+ replayPurchase: z.ZodObject<{
253
+ id: z.ZodString;
254
+ eventId: z.ZodString;
255
+ status: z.ZodEnum<{
256
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
257
+ readonly ACTIVE: "ACTIVE";
258
+ readonly EXPIRED: "EXPIRED";
259
+ readonly REFUNDED: "REFUNDED";
260
+ }>;
261
+ source: z.ZodEnum<{
262
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
263
+ readonly ACTIVE: "ACTIVE";
264
+ readonly EXPIRED: "EXPIRED";
265
+ readonly REFUNDED: "REFUNDED";
266
+ }>;
267
+ amount: z.ZodString;
268
+ currency: z.ZodString;
269
+ paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
270
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
271
+ paidAt: z.ZodNullable<z.ZodISODateTime>;
272
+ }, z.core.$strip>;
273
+ payment: z.ZodNullable<z.ZodObject<{
274
+ reference: z.ZodString;
275
+ amount: z.ZodString;
276
+ currency: z.ZodString;
277
+ checkoutUrl: z.ZodOptional<z.ZodString>;
278
+ }, z.core.$strip>>;
279
+ }, z.core.$strip>;
204
280
 
205
281
  type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
206
282
  type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
@@ -211,5 +287,9 @@ type AccessCheckRequest = z.infer<typeof AccessCheckRequestSchema>;
211
287
  type PaystackWebhook = z.infer<typeof PaystackWebhookSchema>;
212
288
  type AccessCheckResponse = z.infer<typeof AccessCheckResponseSchema>;
213
289
  type PricingQuoteResponse = z.infer<typeof PricingQuoteResponseSchema>;
290
+ type ReceiptUrlResponse = z.infer<typeof ReceiptUrlResponseSchema>;
291
+ type ReplayPurchasePayment = z.infer<typeof ReplayPurchasePaymentSchema>;
292
+ type ReplayPurchaseRow = z.infer<typeof ReplayPurchaseRowSchema>;
293
+ type ReplayPurchaseResponse = z.infer<typeof ReplayPurchaseResponseSchema>;
214
294
 
215
- export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, type PayoutResponse, PayoutResponseSchema, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema };
295
+ export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, type PayoutResponse, PayoutResponseSchema, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema };
@@ -33,6 +33,13 @@ declare const PaymentStatus: {
33
33
  readonly REFUNDED: "REFUNDED";
34
34
  };
35
35
  type PaymentStatus = (typeof PaymentStatus)[keyof typeof PaymentStatus];
36
+ declare const ReplayPurchaseStatus: {
37
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
38
+ readonly ACTIVE: "ACTIVE";
39
+ readonly EXPIRED: "EXPIRED";
40
+ readonly REFUNDED: "REFUNDED";
41
+ };
42
+ type ReplayPurchaseStatus = (typeof ReplayPurchaseStatus)[keyof typeof ReplayPurchaseStatus];
36
43
  declare const AccessReason: {
37
44
  readonly REGISTERED: "REGISTERED";
38
45
  readonly PUBLIC: "PUBLIC";
@@ -51,6 +58,14 @@ declare const EntitlementStatus: {
51
58
  readonly CANCELLED: "CANCELLED";
52
59
  };
53
60
  type EntitlementStatus = (typeof EntitlementStatus)[keyof typeof EntitlementStatus];
61
+ declare const PlatformChargeStatus: {
62
+ readonly PENDING: "PENDING";
63
+ readonly SETTLED: "SETTLED";
64
+ readonly WAIVED: "WAIVED";
65
+ readonly VOIDED: "VOIDED";
66
+ readonly REFUNDED: "REFUNDED";
67
+ };
68
+ type PlatformChargeStatus = (typeof PlatformChargeStatus)[keyof typeof PlatformChargeStatus];
54
69
  declare const CtaMode: {
55
70
  readonly BUY_TICKET: "BUY_TICKET";
56
71
  readonly COMPLETE_PAYMENT: "COMPLETE_PAYMENT";
@@ -201,6 +216,67 @@ declare const ViewerEventDetailResponseSchema: z.ZodObject<{
201
216
  requiresAccessCheck: z.ZodOptional<z.ZodBoolean>;
202
217
  }, z.core.$strip>;
203
218
  }, z.core.$strip>;
219
+ declare const ReceiptUrlResponseSchema: z.ZodObject<{
220
+ url: z.ZodURL;
221
+ expiresAt: z.ZodISODateTime;
222
+ contentType: z.ZodString;
223
+ }, z.core.$strip>;
224
+ declare const ReplayPurchasePaymentSchema: z.ZodObject<{
225
+ reference: z.ZodString;
226
+ amount: z.ZodString;
227
+ currency: z.ZodString;
228
+ checkoutUrl: z.ZodOptional<z.ZodString>;
229
+ }, z.core.$strip>;
230
+ declare const ReplayPurchaseRowSchema: z.ZodObject<{
231
+ id: z.ZodString;
232
+ eventId: z.ZodString;
233
+ status: z.ZodEnum<{
234
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
235
+ readonly ACTIVE: "ACTIVE";
236
+ readonly EXPIRED: "EXPIRED";
237
+ readonly REFUNDED: "REFUNDED";
238
+ }>;
239
+ source: z.ZodEnum<{
240
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
241
+ readonly ACTIVE: "ACTIVE";
242
+ readonly EXPIRED: "EXPIRED";
243
+ readonly REFUNDED: "REFUNDED";
244
+ }>;
245
+ amount: z.ZodString;
246
+ currency: z.ZodString;
247
+ paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
248
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
249
+ paidAt: z.ZodNullable<z.ZodISODateTime>;
250
+ }, z.core.$strip>;
251
+ declare const ReplayPurchaseResponseSchema: z.ZodObject<{
252
+ replayPurchase: z.ZodObject<{
253
+ id: z.ZodString;
254
+ eventId: z.ZodString;
255
+ status: z.ZodEnum<{
256
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
257
+ readonly ACTIVE: "ACTIVE";
258
+ readonly EXPIRED: "EXPIRED";
259
+ readonly REFUNDED: "REFUNDED";
260
+ }>;
261
+ source: z.ZodEnum<{
262
+ readonly PENDING_PAYMENT: "PENDING_PAYMENT";
263
+ readonly ACTIVE: "ACTIVE";
264
+ readonly EXPIRED: "EXPIRED";
265
+ readonly REFUNDED: "REFUNDED";
266
+ }>;
267
+ amount: z.ZodString;
268
+ currency: z.ZodString;
269
+ paymentExpiresAt: z.ZodNullable<z.ZodISODateTime>;
270
+ expiresAt: z.ZodNullable<z.ZodISODateTime>;
271
+ paidAt: z.ZodNullable<z.ZodISODateTime>;
272
+ }, z.core.$strip>;
273
+ payment: z.ZodNullable<z.ZodObject<{
274
+ reference: z.ZodString;
275
+ amount: z.ZodString;
276
+ currency: z.ZodString;
277
+ checkoutUrl: z.ZodOptional<z.ZodString>;
278
+ }, z.core.$strip>>;
279
+ }, z.core.$strip>;
204
280
 
205
281
  type InitiatePaymentRequest = z.infer<typeof InitiatePaymentRequestSchema>;
206
282
  type InitiatePaymentResponse = z.infer<typeof InitiatePaymentResponseSchema>;
@@ -211,5 +287,9 @@ type AccessCheckRequest = z.infer<typeof AccessCheckRequestSchema>;
211
287
  type PaystackWebhook = z.infer<typeof PaystackWebhookSchema>;
212
288
  type AccessCheckResponse = z.infer<typeof AccessCheckResponseSchema>;
213
289
  type PricingQuoteResponse = z.infer<typeof PricingQuoteResponseSchema>;
290
+ type ReceiptUrlResponse = z.infer<typeof ReceiptUrlResponseSchema>;
291
+ type ReplayPurchasePayment = z.infer<typeof ReplayPurchasePaymentSchema>;
292
+ type ReplayPurchaseRow = z.infer<typeof ReplayPurchaseRowSchema>;
293
+ type ReplayPurchaseResponse = z.infer<typeof ReplayPurchaseResponseSchema>;
214
294
 
215
- export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, type PayoutResponse, PayoutResponseSchema, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema };
295
+ export { type AccessCheckRequest, AccessCheckRequestSchema, type AccessCheckResponse, AccessCheckResponseSchema, AccessReason, type CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, type InitiatePaymentRequest, InitiatePaymentRequestSchema, type InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, type PayoutResponse, PayoutResponseSchema, PayoutStatus, type PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, type PricingQuoteResponse, PricingQuoteResponseSchema, type PurchaseStatusResponse, PurchaseStatusResponseSchema, type ReceiptUrlResponse, ReceiptUrlResponseSchema, type ReplayPurchasePayment, ReplayPurchasePaymentSchema, type ReplayPurchaseResponse, ReplayPurchaseResponseSchema, type ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkHDCQKBMZ_js=require('../chunk-HDCQKBMZ.js');Object.defineProperty(exports,"AccessCheckRequestSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.m}});Object.defineProperty(exports,"AccessCheckResponseSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.o}});Object.defineProperty(exports,"AccessReason",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.e}});Object.defineProperty(exports,"CreatePurchaseResponseSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.k}});Object.defineProperty(exports,"CtaMode",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.g}});Object.defineProperty(exports,"EntitlementStatus",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.f}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.h}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.i}});Object.defineProperty(exports,"PaymentStatus",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.d}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.j}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.c}});Object.defineProperty(exports,"PaystackWebhookSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.n}});Object.defineProperty(exports,"PricingQuoteResponseSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.p}});Object.defineProperty(exports,"PurchaseStatusResponseSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.l}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.a}});Object.defineProperty(exports,"ViewerEventDetailResponseSchema",{enumerable:true,get:function(){return chunkHDCQKBMZ_js.q}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkC3LOLFNN_js=require('../chunk-C3LOLFNN.js');Object.defineProperty(exports,"AccessCheckRequestSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.o}});Object.defineProperty(exports,"AccessCheckResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.q}});Object.defineProperty(exports,"AccessReason",{enumerable:true,get:function(){return chunkC3LOLFNN_js.f}});Object.defineProperty(exports,"CreatePurchaseResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.m}});Object.defineProperty(exports,"CtaMode",{enumerable:true,get:function(){return chunkC3LOLFNN_js.i}});Object.defineProperty(exports,"EntitlementStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.g}});Object.defineProperty(exports,"InitiatePaymentRequestSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.j}});Object.defineProperty(exports,"InitiatePaymentResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.k}});Object.defineProperty(exports,"PaymentStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.d}});Object.defineProperty(exports,"PayoutResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.l}});Object.defineProperty(exports,"PayoutStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.c}});Object.defineProperty(exports,"PaystackWebhookSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.p}});Object.defineProperty(exports,"PlatformChargeStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.h}});Object.defineProperty(exports,"PricingQuoteResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.r}});Object.defineProperty(exports,"PurchaseStatusResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.n}});Object.defineProperty(exports,"ReceiptUrlResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.t}});Object.defineProperty(exports,"ReplayPurchasePaymentSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.u}});Object.defineProperty(exports,"ReplayPurchaseResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.w}});Object.defineProperty(exports,"ReplayPurchaseRowSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.v}});Object.defineProperty(exports,"ReplayPurchaseStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.e}});Object.defineProperty(exports,"TransactionStatus",{enumerable:true,get:function(){return chunkC3LOLFNN_js.b}});Object.defineProperty(exports,"TransactionType",{enumerable:true,get:function(){return chunkC3LOLFNN_js.a}});Object.defineProperty(exports,"ViewerEventDetailResponseSchema",{enumerable:true,get:function(){return chunkC3LOLFNN_js.s}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{m as AccessCheckRequestSchema,o as AccessCheckResponseSchema,e as AccessReason,k as CreatePurchaseResponseSchema,g as CtaMode,f as EntitlementStatus,h as InitiatePaymentRequestSchema,i as InitiatePaymentResponseSchema,d as PaymentStatus,j as PayoutResponseSchema,c as PayoutStatus,n as PaystackWebhookSchema,p as PricingQuoteResponseSchema,l as PurchaseStatusResponseSchema,b as TransactionStatus,a as TransactionType,q as ViewerEventDetailResponseSchema}from'../chunk-QIDNKMGT.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{o as AccessCheckRequestSchema,q as AccessCheckResponseSchema,f as AccessReason,m as CreatePurchaseResponseSchema,i as CtaMode,g as EntitlementStatus,j as InitiatePaymentRequestSchema,k as InitiatePaymentResponseSchema,d as PaymentStatus,l as PayoutResponseSchema,c as PayoutStatus,p as PaystackWebhookSchema,h as PlatformChargeStatus,r as PricingQuoteResponseSchema,n as PurchaseStatusResponseSchema,t as ReceiptUrlResponseSchema,u as ReplayPurchasePaymentSchema,w as ReplayPurchaseResponseSchema,v as ReplayPurchaseRowSchema,e as ReplayPurchaseStatus,b as TransactionStatus,a as TransactionType,s as ViewerEventDetailResponseSchema}from'../chunk-MRWDLMMZ.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
@@ -30,6 +30,18 @@ declare const AdminScopeCode: {
30
30
  readonly AUDIT: "AUDIT";
31
31
  };
32
32
  type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];
33
+ declare const FeedbackCategory: {
34
+ readonly BUG: "BUG";
35
+ readonly IDEA: "IDEA";
36
+ readonly GENERAL: "GENERAL";
37
+ };
38
+ type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];
39
+ declare const NotificationCategory: {
40
+ readonly EVENT_REMINDERS: "EVENT_REMINDERS";
41
+ readonly LIVE_ALERTS: "LIVE_ALERTS";
42
+ readonly RECOMMENDATIONS: "RECOMMENDATIONS";
43
+ };
44
+ type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];
33
45
  declare const ProducerVerificationStatus: {
34
46
  readonly PENDING: "PENDING";
35
47
  readonly APPROVED: "APPROVED";
@@ -296,6 +308,64 @@ declare const CreateProducerProfileRequestSchema: z.ZodObject<{
296
308
  pin: z.ZodString;
297
309
  isAvailable: z.ZodBoolean;
298
310
  }, z.core.$strip>;
311
+ declare const RESERVED_DISPLAY_NAMES: ReadonlySet<string>;
312
+ /** Handle constraints — see viewer-settings.md §3.1. */
313
+ declare const DisplayNameSchema: z.ZodString;
314
+ declare const UpdateViewerProfileRequestSchema: z.ZodObject<{
315
+ displayName: z.ZodString;
316
+ }, z.core.$strict>;
317
+ declare const UpdateViewerCurrencyRequestSchema: z.ZodObject<{
318
+ preferredCurrency: z.ZodString;
319
+ }, z.core.$strict>;
320
+ declare const NotificationPreferenceItemSchema: z.ZodObject<{
321
+ category: z.ZodEnum<{
322
+ readonly EVENT_REMINDERS: "EVENT_REMINDERS";
323
+ readonly LIVE_ALERTS: "LIVE_ALERTS";
324
+ readonly RECOMMENDATIONS: "RECOMMENDATIONS";
325
+ }>;
326
+ enabled: z.ZodBoolean;
327
+ }, z.core.$strip>;
328
+ declare const UpdateNotificationPreferencesRequestSchema: z.ZodObject<{
329
+ preferences: z.ZodArray<z.ZodObject<{
330
+ category: z.ZodEnum<{
331
+ readonly EVENT_REMINDERS: "EVENT_REMINDERS";
332
+ readonly LIVE_ALERTS: "LIVE_ALERTS";
333
+ readonly RECOMMENDATIONS: "RECOMMENDATIONS";
334
+ }>;
335
+ enabled: z.ZodBoolean;
336
+ }, z.core.$strip>>;
337
+ }, z.core.$strict>;
338
+ declare const SendFeedbackRequestSchema: z.ZodObject<{
339
+ category: z.ZodEnum<{
340
+ readonly BUG: "BUG";
341
+ readonly IDEA: "IDEA";
342
+ readonly GENERAL: "GENERAL";
343
+ }>;
344
+ message: z.ZodString;
345
+ }, z.core.$strict>;
346
+ declare const ViewerMeResponseSchema: z.ZodObject<{
347
+ id: z.ZodUUID;
348
+ email: z.ZodEmail;
349
+ emailVerified: z.ZodBoolean;
350
+ displayName: z.ZodNullable<z.ZodString>;
351
+ avatarUrl: z.ZodNullable<z.ZodURL>;
352
+ roles: z.ZodNumber;
353
+ preferredCurrency: z.ZodString;
354
+ notificationsEnabledCount: z.ZodNumber;
355
+ }, z.core.$strip>;
356
+ declare const NotificationPreferencesResponseSchema: z.ZodObject<{
357
+ preferences: z.ZodArray<z.ZodObject<{
358
+ category: z.ZodEnum<{
359
+ readonly EVENT_REMINDERS: "EVENT_REMINDERS";
360
+ readonly LIVE_ALERTS: "LIVE_ALERTS";
361
+ readonly RECOMMENDATIONS: "RECOMMENDATIONS";
362
+ }>;
363
+ enabled: z.ZodBoolean;
364
+ }, z.core.$strip>>;
365
+ }, z.core.$strip>;
366
+ declare const SendFeedbackResponseSchema: z.ZodObject<{
367
+ id: z.ZodUUID;
368
+ }, z.core.$strip>;
299
369
 
300
370
  type UserResponse = z.infer<typeof UserResponseSchema>;
301
371
  type UpdateUserRequest = z.infer<typeof UpdateUserRequestSchema>;
@@ -303,5 +373,14 @@ type CreateHostProfileRequest = z.infer<typeof CreateHostProfileRequestSchema>;
303
373
  type HostProfileResponse = z.infer<typeof HostProfileResponseSchema>;
304
374
  type CreateProducerProfileRequest = z.infer<typeof CreateProducerProfileRequestSchema>;
305
375
  type ProducerProfileResponse = z.infer<typeof ProducerProfileResponseSchema>;
376
+ type DisplayName = z.infer<typeof DisplayNameSchema>;
377
+ type UpdateViewerProfileRequest = z.infer<typeof UpdateViewerProfileRequestSchema>;
378
+ type UpdateViewerCurrencyRequest = z.infer<typeof UpdateViewerCurrencyRequestSchema>;
379
+ type NotificationPreferenceItem = z.infer<typeof NotificationPreferenceItemSchema>;
380
+ type SendFeedbackRequest = z.infer<typeof SendFeedbackRequestSchema>;
381
+ type SendFeedbackResponse = z.infer<typeof SendFeedbackResponseSchema>;
382
+ type ViewerMeResponse = z.infer<typeof ViewerMeResponseSchema>;
383
+ type NotificationPreferencesResponse = z.infer<typeof NotificationPreferencesResponseSchema>;
384
+ type UpdateNotificationPreferencesRequest = z.infer<typeof UpdateNotificationPreferencesRequestSchema>;
306
385
 
307
- export { AccountStatus, AdminScopeCode, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerExperienceLevel, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, type UpdateUserRequest, UpdateUserRequestSchema, type UserResponse, UserResponseSchema, UserRole };
386
+ export { AccountStatus, AdminScopeCode, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type DisplayName, DisplayNameSchema, FeedbackCategory, type HostProfileResponse, HostProfileResponseSchema, KycStatus, NotificationCategory, type NotificationPreferenceItem, NotificationPreferenceItemSchema, type NotificationPreferencesResponse, NotificationPreferencesResponseSchema, ProducerExperienceLevel, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, RESERVED_DISPLAY_NAMES, type SendFeedbackRequest, SendFeedbackRequestSchema, type SendFeedbackResponse, SendFeedbackResponseSchema, type UpdateNotificationPreferencesRequest, UpdateNotificationPreferencesRequestSchema, type UpdateUserRequest, UpdateUserRequestSchema, type UpdateViewerCurrencyRequest, UpdateViewerCurrencyRequestSchema, type UpdateViewerProfileRequest, UpdateViewerProfileRequestSchema, type UserResponse, UserResponseSchema, UserRole, type ViewerMeResponse, ViewerMeResponseSchema };
@@ -30,6 +30,18 @@ declare const AdminScopeCode: {
30
30
  readonly AUDIT: "AUDIT";
31
31
  };
32
32
  type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];
33
+ declare const FeedbackCategory: {
34
+ readonly BUG: "BUG";
35
+ readonly IDEA: "IDEA";
36
+ readonly GENERAL: "GENERAL";
37
+ };
38
+ type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];
39
+ declare const NotificationCategory: {
40
+ readonly EVENT_REMINDERS: "EVENT_REMINDERS";
41
+ readonly LIVE_ALERTS: "LIVE_ALERTS";
42
+ readonly RECOMMENDATIONS: "RECOMMENDATIONS";
43
+ };
44
+ type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];
33
45
  declare const ProducerVerificationStatus: {
34
46
  readonly PENDING: "PENDING";
35
47
  readonly APPROVED: "APPROVED";
@@ -296,6 +308,64 @@ declare const CreateProducerProfileRequestSchema: z.ZodObject<{
296
308
  pin: z.ZodString;
297
309
  isAvailable: z.ZodBoolean;
298
310
  }, z.core.$strip>;
311
+ declare const RESERVED_DISPLAY_NAMES: ReadonlySet<string>;
312
+ /** Handle constraints — see viewer-settings.md §3.1. */
313
+ declare const DisplayNameSchema: z.ZodString;
314
+ declare const UpdateViewerProfileRequestSchema: z.ZodObject<{
315
+ displayName: z.ZodString;
316
+ }, z.core.$strict>;
317
+ declare const UpdateViewerCurrencyRequestSchema: z.ZodObject<{
318
+ preferredCurrency: z.ZodString;
319
+ }, z.core.$strict>;
320
+ declare const NotificationPreferenceItemSchema: z.ZodObject<{
321
+ category: z.ZodEnum<{
322
+ readonly EVENT_REMINDERS: "EVENT_REMINDERS";
323
+ readonly LIVE_ALERTS: "LIVE_ALERTS";
324
+ readonly RECOMMENDATIONS: "RECOMMENDATIONS";
325
+ }>;
326
+ enabled: z.ZodBoolean;
327
+ }, z.core.$strip>;
328
+ declare const UpdateNotificationPreferencesRequestSchema: z.ZodObject<{
329
+ preferences: z.ZodArray<z.ZodObject<{
330
+ category: z.ZodEnum<{
331
+ readonly EVENT_REMINDERS: "EVENT_REMINDERS";
332
+ readonly LIVE_ALERTS: "LIVE_ALERTS";
333
+ readonly RECOMMENDATIONS: "RECOMMENDATIONS";
334
+ }>;
335
+ enabled: z.ZodBoolean;
336
+ }, z.core.$strip>>;
337
+ }, z.core.$strict>;
338
+ declare const SendFeedbackRequestSchema: z.ZodObject<{
339
+ category: z.ZodEnum<{
340
+ readonly BUG: "BUG";
341
+ readonly IDEA: "IDEA";
342
+ readonly GENERAL: "GENERAL";
343
+ }>;
344
+ message: z.ZodString;
345
+ }, z.core.$strict>;
346
+ declare const ViewerMeResponseSchema: z.ZodObject<{
347
+ id: z.ZodUUID;
348
+ email: z.ZodEmail;
349
+ emailVerified: z.ZodBoolean;
350
+ displayName: z.ZodNullable<z.ZodString>;
351
+ avatarUrl: z.ZodNullable<z.ZodURL>;
352
+ roles: z.ZodNumber;
353
+ preferredCurrency: z.ZodString;
354
+ notificationsEnabledCount: z.ZodNumber;
355
+ }, z.core.$strip>;
356
+ declare const NotificationPreferencesResponseSchema: z.ZodObject<{
357
+ preferences: z.ZodArray<z.ZodObject<{
358
+ category: z.ZodEnum<{
359
+ readonly EVENT_REMINDERS: "EVENT_REMINDERS";
360
+ readonly LIVE_ALERTS: "LIVE_ALERTS";
361
+ readonly RECOMMENDATIONS: "RECOMMENDATIONS";
362
+ }>;
363
+ enabled: z.ZodBoolean;
364
+ }, z.core.$strip>>;
365
+ }, z.core.$strip>;
366
+ declare const SendFeedbackResponseSchema: z.ZodObject<{
367
+ id: z.ZodUUID;
368
+ }, z.core.$strip>;
299
369
 
300
370
  type UserResponse = z.infer<typeof UserResponseSchema>;
301
371
  type UpdateUserRequest = z.infer<typeof UpdateUserRequestSchema>;
@@ -303,5 +373,14 @@ type CreateHostProfileRequest = z.infer<typeof CreateHostProfileRequestSchema>;
303
373
  type HostProfileResponse = z.infer<typeof HostProfileResponseSchema>;
304
374
  type CreateProducerProfileRequest = z.infer<typeof CreateProducerProfileRequestSchema>;
305
375
  type ProducerProfileResponse = z.infer<typeof ProducerProfileResponseSchema>;
376
+ type DisplayName = z.infer<typeof DisplayNameSchema>;
377
+ type UpdateViewerProfileRequest = z.infer<typeof UpdateViewerProfileRequestSchema>;
378
+ type UpdateViewerCurrencyRequest = z.infer<typeof UpdateViewerCurrencyRequestSchema>;
379
+ type NotificationPreferenceItem = z.infer<typeof NotificationPreferenceItemSchema>;
380
+ type SendFeedbackRequest = z.infer<typeof SendFeedbackRequestSchema>;
381
+ type SendFeedbackResponse = z.infer<typeof SendFeedbackResponseSchema>;
382
+ type ViewerMeResponse = z.infer<typeof ViewerMeResponseSchema>;
383
+ type NotificationPreferencesResponse = z.infer<typeof NotificationPreferencesResponseSchema>;
384
+ type UpdateNotificationPreferencesRequest = z.infer<typeof UpdateNotificationPreferencesRequestSchema>;
306
385
 
307
- export { AccountStatus, AdminScopeCode, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerExperienceLevel, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, type UpdateUserRequest, UpdateUserRequestSchema, type UserResponse, UserResponseSchema, UserRole };
386
+ export { AccountStatus, AdminScopeCode, type CreateHostProfileRequest, CreateHostProfileRequestSchema, type CreateProducerProfileRequest, CreateProducerProfileRequestSchema, type DisplayName, DisplayNameSchema, FeedbackCategory, type HostProfileResponse, HostProfileResponseSchema, KycStatus, NotificationCategory, type NotificationPreferenceItem, NotificationPreferenceItemSchema, type NotificationPreferencesResponse, NotificationPreferencesResponseSchema, ProducerExperienceLevel, type ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, RESERVED_DISPLAY_NAMES, type SendFeedbackRequest, SendFeedbackRequestSchema, type SendFeedbackResponse, SendFeedbackResponseSchema, type UpdateNotificationPreferencesRequest, UpdateNotificationPreferencesRequestSchema, type UpdateUserRequest, UpdateUserRequestSchema, type UpdateViewerCurrencyRequest, UpdateViewerCurrencyRequestSchema, type UpdateViewerProfileRequest, UpdateViewerProfileRequestSchema, type UserResponse, UserResponseSchema, UserRole, type ViewerMeResponse, ViewerMeResponseSchema };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkSKUIUOTZ_js=require('../chunk-SKUIUOTZ.js'),chunkPI4KQRG6_js=require('../chunk-PI4KQRG6.js');require('../chunk-VSYDI3WD.js');Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunkSKUIUOTZ_js.e}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunkSKUIUOTZ_js.f}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunkSKUIUOTZ_js.a}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunkSKUIUOTZ_js.b}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunkSKUIUOTZ_js.d}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunkSKUIUOTZ_js.c}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkPI4KQRG6_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkPI4KQRG6_js.d}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkPI4KQRG6_js.c}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkPI4KQRG6_js.f}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkPI4KQRG6_js.e}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkPI4KQRG6_js.a}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunk2TQ3BI34_js=require('../chunk-2TQ3BI34.js'),chunkW2AXUTIW_js=require('../chunk-W2AXUTIW.js');require('../chunk-VRSJMPBY.js');Object.defineProperty(exports,"CreateHostProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.e}});Object.defineProperty(exports,"CreateProducerProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.f}});Object.defineProperty(exports,"DisplayNameSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.h}});Object.defineProperty(exports,"HostProfileResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.a}});Object.defineProperty(exports,"NotificationPreferenceItemSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.k}});Object.defineProperty(exports,"NotificationPreferencesResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.o}});Object.defineProperty(exports,"ProducerProfileResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.b}});Object.defineProperty(exports,"RESERVED_DISPLAY_NAMES",{enumerable:true,get:function(){return chunk2TQ3BI34_js.g}});Object.defineProperty(exports,"SendFeedbackRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.m}});Object.defineProperty(exports,"SendFeedbackResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.p}});Object.defineProperty(exports,"UpdateNotificationPreferencesRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.l}});Object.defineProperty(exports,"UpdateUserRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.d}});Object.defineProperty(exports,"UpdateViewerCurrencyRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.j}});Object.defineProperty(exports,"UpdateViewerProfileRequestSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.i}});Object.defineProperty(exports,"UserResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.c}});Object.defineProperty(exports,"ViewerMeResponseSchema",{enumerable:true,get:function(){return chunk2TQ3BI34_js.n}});Object.defineProperty(exports,"AccountStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.b}});Object.defineProperty(exports,"AdminScopeCode",{enumerable:true,get:function(){return chunkW2AXUTIW_js.d}});Object.defineProperty(exports,"FeedbackCategory",{enumerable:true,get:function(){return chunkW2AXUTIW_js.e}});Object.defineProperty(exports,"KycStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.c}});Object.defineProperty(exports,"NotificationCategory",{enumerable:true,get:function(){return chunkW2AXUTIW_js.f}});Object.defineProperty(exports,"ProducerExperienceLevel",{enumerable:true,get:function(){return chunkW2AXUTIW_js.h}});Object.defineProperty(exports,"ProducerVerificationStatus",{enumerable:true,get:function(){return chunkW2AXUTIW_js.g}});Object.defineProperty(exports,"UserRole",{enumerable:true,get:function(){return chunkW2AXUTIW_js.a}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,a as HostProfileResponseSchema,b as ProducerProfileResponseSchema,d as UpdateUserRequestSchema,c as UserResponseSchema}from'../chunk-ZWZOFVZ3.mjs';export{b as AccountStatus,d as AdminScopeCode,c as KycStatus,f as ProducerExperienceLevel,e as ProducerVerificationStatus,a as UserRole}from'../chunk-ACXVPMYP.mjs';import'../chunk-2N4M7ZID.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{e as CreateHostProfileRequestSchema,f as CreateProducerProfileRequestSchema,h as DisplayNameSchema,a as HostProfileResponseSchema,k as NotificationPreferenceItemSchema,o as NotificationPreferencesResponseSchema,b as ProducerProfileResponseSchema,g as RESERVED_DISPLAY_NAMES,m as SendFeedbackRequestSchema,p as SendFeedbackResponseSchema,l as UpdateNotificationPreferencesRequestSchema,d as UpdateUserRequestSchema,j as UpdateViewerCurrencyRequestSchema,i as UpdateViewerProfileRequestSchema,c as UserResponseSchema,n as ViewerMeResponseSchema}from'../chunk-XUOMVQVQ.mjs';export{b as AccountStatus,d as AdminScopeCode,e as FeedbackCategory,c as KycStatus,f as NotificationCategory,h as ProducerExperienceLevel,g as ProducerVerificationStatus,a as UserRole}from'../chunk-EQVYSKSG.mjs';import'../chunk-EJCFJL2F.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livdot-tech/contracts",
3
- "version": "1.4.3",
3
+ "version": "1.5.0",
4
4
  "description": "Shared API contracts for the LivDot platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -1,2 +0,0 @@
1
- import {z}from'zod';var a={PUBLIC:"PUBLIC",PRIVATE:"PRIVATE",UNLISTED:"UNLISTED"},n={FREE:"FREE",PAID:"PAID",SUBSCRIPTION:"SUBSCRIPTION"},y={EMAIL:"EMAIL",DOMAIN:"DOMAIN",PHONENUMBER:"PHONENUMBER",USERID:"USERID"},i={DRAFT:"DRAFT",SCHEDULED:"SCHEDULED",READY_FOR_TEST:"READY_FOR_TEST",LIVE:"LIVE",ENDED:"ENDED",REPLAY_READY:"REPLAY_READY",ARCHIVED:"ARCHIVED",CANCELLED:"CANCELLED",FAILED:"FAILED"},o={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"},s={PENDING_PAYMENT:"PENDING_PAYMENT",ACTIVE:"ACTIVE",CANCELLED:"CANCELLED",REFUNDED:"REFUNDED",EXPIRED:"EXPIRED"},A={FREE_RSVP:"FREE_RSVP",PAID_TICKET:"PAID_TICKET",INVITE:"INVITE"},E={ACTIVE:"ACTIVE",PENDING:"PENDING",NONE:"NONE"},r={UPCOMING:"UPCOMING",LIVE:"LIVE",PAST:"PAST"};var c=50,l=20,p=z.object({title:z.string().max(120),description:z.string().max(2e3),category:z.enum(o),scheduledStartAt:z.iso.datetime(),scheduledEndAt:z.iso.datetime(),venueLocation:z.string(),visibility:z.enum(a),accessModel:z.enum(n),ticketPrice:z.number().min(0).optional(),maxTickets:z.number().min(1).optional(),timezone:z.string().default("Africa/Lagos"),replayEnabled:z.boolean().default(true),retentionDays:z.number().default(30),tags:z.array(z.string()).optional(),geoRestrictions:z.record(z.string(),z.any()).optional()}),T=p.partial(),g=z.object({id:z.uuid(),title:z.string(),description:z.string(),category:z.enum(o),coverImageUrl:z.url().optional(),venueLocation:z.string(),scheduledStartAt:z.iso.datetime(),scheduledEndAt:z.iso.datetime(),timezone:z.string(),visibility:z.enum(a),accessModel:z.enum(n),ticketPrice:z.number(),currency:z.string(),maxTickets:z.number().optional(),eventState:z.enum(i),shareableUrl:z.url(),hostId:z.uuid(),isFeatured:z.boolean(),replayEnabled:z.boolean(),replayAvailableUntil:z.iso.datetime().optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime(),publishedAt:z.iso.datetime().optional(),liveStartedAt:z.iso.datetime().optional(),liveEndedAt:z.iso.datetime().optional()}),t=z.object({id:z.uuid(),title:z.string(),coverImageUrl:z.string().nullable(),category:z.enum(o),scheduledStart:z.iso.datetime(),scheduledEnd:z.iso.datetime(),state:z.enum(i),accessModel:z.enum(n),ticketPrice:z.string().nullable(),currency:z.string(),isFeatured:z.boolean(),hostDisplayName:z.string().nullable(),viewerCount:z.number().int().min(0),viewer:z.object({registration:z.enum(E),progressPct:z.number().min(0).max(100).optional(),canResume:z.boolean().optional()})}),N=z.object({continueWatching:z.array(t),liveNow:z.array(t),featured:t.nullable(),upcoming:z.array(t),recommended:z.array(t)}),m=z.object({cursor:z.string().optional(),limit:z.coerce.number().int().min(1).max(c).default(l)}),v=m.extend({q:z.string().trim().min(1).max(120).optional(),category:z.enum(o).optional(),state:z.enum(i).optional()}),x=z.object({items:z.array(t),nextCursor:z.string().nullable()}),C=z.object({registration:z.object({id:z.uuid(),eventId:z.uuid(),status:z.enum(s),expiresAt:z.iso.datetime().nullable()}),paymentIntent:z.object({reference:z.string(),amount:z.string(),currency:z.string(),checkoutUrl:z.url().optional()}).nullable()}),D=z.object({positionSec:z.number().int().min(0).max(1440*60),durationSec:z.number().int().min(1).optional()}),u=z.object({kind:z.literal("LIVE"),playbackUrl:z.url(),token:z.string(),expiresAt:z.iso.datetime()}),S=z.object({kind:z.literal("REPLAY"),playbackUrl:z.url(),expiresAt:z.iso.datetime()}),P=z.discriminatedUnion("kind",[u,S]),d=t.extend({startsInSec:z.number().int().optional(),liveViewerCount:z.number().int().min(0).optional(),liveStartedAt:z.iso.datetime().nullable().optional(),replayAvailableUntil:z.iso.datetime().nullable().optional(),replayDurationSec:z.number().int().min(0).nullable().optional(),watchedPct:z.number().min(0).max(100).optional(),hasWatched:z.boolean().optional()}),L=z.object({tab:z.enum(r),items:z.array(d),nextCursor:z.string().nullable()}),O=z.object({tab:z.enum(r),cursor:z.string().optional(),limit:z.coerce.number().int().min(1).max(c).default(l)}),V=z.object({sessionId:z.string()}),h=z.object({ok:z.literal(true)}),f=z.object({durationSec:z.number().int().min(0)});export{h as A,f as B,a,n as b,y as c,i as d,o as e,s as f,A as g,E as h,r as i,p as j,T as k,g as l,t as m,N as n,m as o,v as p,x as q,C as r,D as s,u as t,S as u,P as v,d as w,L as x,O as y,V as z};//# sourceMappingURL=chunk-2N4M7ZID.mjs.map
2
- //# sourceMappingURL=chunk-2N4M7ZID.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/event/event.enums.ts","../src/event/event.schemas.ts"],"names":["EventVisibility","EventAccessModel","EventAllowListType","EventState","EventCategory","RegistrationStatus","RegistrationScope","ViewerRegistrationView","MyEventsTabSchema","MAX_PAGE_SIZE","DEFAULT_PAGE_SIZE","CreateEventRequestSchema","z","UpdateEventRequestSchema","EventResponseSchema","EventCardSchema","ViewerHomeResponseSchema","PaginationCursorSchema","SearchEventsQuerySchema","PagedEventsResponseSchema","RegisterForEventResponseSchema","UpdateWatchProgressRequestSchema","LivePlaybackSchema","ReplayPlaybackSchema","PlaybackResponseSchema","MyEventCardSchema","MyEventsResponseSchema","MyEventsQuerySchema","StartViewingSessionResponseSchema","ViewingSessionHeartbeatResponseSchema","EndViewingSessionResponseSchema"],"mappings":"oBAAO,IAAMA,CAAAA,CAAkB,CAC7B,MAAA,CAAQ,QAAA,CACR,OAAA,CAAS,UACT,QAAA,CAAU,UACZ,CAAA,CAGaC,CAAAA,CAAmB,CAC9B,IAAA,CAAM,OACN,IAAA,CAAM,MAAA,CACN,YAAA,CAAc,cAChB,CAAA,CAMaC,CAAAA,CAAqB,CAChC,KAAA,CAAO,OAAA,CACP,MAAA,CAAQ,QAAA,CACR,WAAA,CAAa,aAAA,CACb,OAAQ,QACV,CAAA,CAGaC,CAAAA,CAAa,CACxB,KAAA,CAAO,OAAA,CACP,UAAW,WAAA,CACX,cAAA,CAAgB,gBAAA,CAChB,IAAA,CAAM,MAAA,CACN,KAAA,CAAO,QACP,YAAA,CAAc,cAAA,CACd,QAAA,CAAU,UAAA,CACV,SAAA,CAAW,WAAA,CACX,MAAA,CAAQ,QACV,CAAA,CAGaC,CAAAA,CAAgB,CAC3B,GAAA,CAAK,KAAA,CACL,UAAA,CAAY,aACZ,OAAA,CAAS,SAAA,CACT,MAAA,CAAQ,QAAA,CACR,OAAA,CAAS,SAAA,CACT,WAAY,YAAA,CACZ,OAAA,CAAS,SAAA,CACT,OAAA,CAAS,SAAA,CACT,WAAA,CAAa,cACb,SAAA,CAAW,WAAA,CACX,SAAA,CAAW,WAAA,CACX,OAAA,CAAS,SAAA,CACT,OAAQ,QAAA,CACR,MAAA,CAAQ,QAAA,CACR,QAAA,CAAU,UAAA,CACV,MAAA,CAAQ,SACR,MAAA,CAAQ,QAAA,CACR,OAAA,CAAS,SAAA,CACT,MAAA,CAAQ,QAAA,CACR,QAAS,SAAA,CACT,QAAA,CAAU,UAAA,CACV,OAAA,CAAS,SAAA,CACT,SAAA,CAAW,YACX,SAAA,CAAW,WAAA,CACX,KAAA,CAAO,OACT,CAAA,CAGaC,CAAAA,CAAqB,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A,CAAOI,CAAAA,CAAE,MAAMa,CAAiB,CAAA,CAChC,UAAA,CAAYb,CAAAA,CAAE,MAAA,EAAO,CAAE,UACzB,CAAC,CAAA,CAEYe,CAAAA,CAAsBf,CAAAA,CAAE,MAAA,CAAO,CAC1C,GAAA,CAAKA,CAAAA,CAAE,IAAA,CAAKJ,CAAiB,CAAA,CAC7B,MAAA,CAAQI,CAAAA,CAAE,QAAO,CAAE,QAAA,EAAS,CAC5B,KAAA,CAAOA,CAAAA,CAAE,MAAA,CAAO,QAAO,CAAE,GAAA,EAAI,CAAE,GAAA,CAAI,CAAC,CAAA,CAAE,IAAIH,CAAa,CAAA,CAAE,OAAA,CAAQC,CAAiB,CACpF,CAAC,CAAA,CAEYkB,CAAAA,CAAoChB,CAAAA,CAAE,MAAA,CAAO,CACxD,SAAA,CAAWA,CAAAA,CAAE,MAAA,EACf,CAAC,CAAA,CAEYiB,CAAAA,CAAwCjB,CAAAA,CAAE,MAAA,CAAO,CAC5D,GAAIA,CAAAA,CAAE,OAAA,CAAQ,IAAI,CACpB,CAAC,CAAA,CAEYkB,EAAkClB,CAAAA,CAAE,MAAA,CAAO,CACtD,WAAA,CAAaA,CAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,GAAA,CAAI,CAAC,CACrC,CAAC","file":"chunk-2N4M7ZID.mjs","sourcesContent":["export const EventVisibility = {\n PUBLIC: 'PUBLIC',\n PRIVATE: 'PRIVATE',\n UNLISTED: 'UNLISTED',\n} as const;\nexport type EventVisibility = (typeof EventVisibility)[keyof typeof EventVisibility];\n\nexport const EventAccessModel = {\n FREE: 'FREE',\n PAID: 'PAID',\n SUBSCRIPTION: 'SUBSCRIPTION',\n} as const;\nexport type EventAccessModel = (typeof EventAccessModel)[keyof typeof EventAccessModel];\n\n/**\n * Enum for event allow list type.\n */\nexport const EventAllowListType = {\n EMAIL: 'EMAIL',\n DOMAIN: 'DOMAIN',\n PHONENUMBER: 'PHONENUMBER',\n USERID: 'USERID',\n} as const;\nexport type EventAllowListType = (typeof EventAllowListType)[keyof typeof EventAllowListType];\n\nexport const EventState = {\n DRAFT: 'DRAFT',\n SCHEDULED: 'SCHEDULED',\n READY_FOR_TEST: 'READY_FOR_TEST',\n LIVE: 'LIVE',\n ENDED: 'ENDED',\n REPLAY_READY: 'REPLAY_READY',\n ARCHIVED: 'ARCHIVED',\n CANCELLED: 'CANCELLED',\n FAILED: 'FAILED',\n} as const;\nexport type EventState = (typeof EventState)[keyof typeof EventState];\n\nexport const EventCategory = {\n ART: 'ART',\n TECHNOLOGY: 'TECHNOLOGY',\n SCIENCE: 'SCIENCE',\n TRAVEL: 'TRAVEL',\n HISTORY: 'HISTORY',\n LITERATURE: 'LITERATURE',\n COOKING: 'COOKING',\n FITNESS: 'FITNESS',\n PHOTOGRAPHY: 'PHOTOGRAPHY',\n GARDENING: 'GARDENING',\n EDUCATION: 'EDUCATION',\n FASHION: 'FASHION',\n MOVIES: 'MOVIES',\n SPORTS: 'SPORTS',\n POLITICS: 'POLITICS',\n HEALTH: 'HEALTH',\n GAMING: 'GAMING',\n FINANCE: 'FINANCE',\n NATURE: 'NATURE',\n CONCERT: 'CONCERT',\n FESTIVAL: 'FESTIVAL',\n WEDDING: 'WEDDING',\n CORPORATE: 'CORPORATE',\n RELIGIOUS: 'RELIGIOUS',\n OTHER: 'OTHER',\n} as const;\nexport type EventCategory = (typeof EventCategory)[keyof typeof EventCategory];\n\nexport const RegistrationStatus = {\n PENDING_PAYMENT: 'PENDING_PAYMENT',\n ACTIVE: 'ACTIVE',\n CANCELLED: 'CANCELLED',\n REFUNDED: 'REFUNDED',\n EXPIRED: 'EXPIRED',\n};\nexport type RegistrationStatus = (typeof RegistrationStatus)[keyof typeof RegistrationStatus];\nexport const RegistrationScope = {\n FREE_RSVP: 'FREE_RSVP',\n PAID_TICKET: 'PAID_TICKET',\n INVITE: 'INVITE',\n};\nexport type RegistrationScope = (typeof RegistrationScope)[keyof typeof RegistrationScope];\n\nexport const ViewerRegistrationView = {\n ACTIVE: 'ACTIVE',\n PENDING: 'PENDING',\n NONE: 'NONE',\n};\nexport type ViewerRegistrationView =\n (typeof ViewerRegistrationView)[keyof typeof ViewerRegistrationView];\n\nexport const MyEventsTabSchema = {\n UPCOMING: 'UPCOMING',\n LIVE: 'LIVE',\n PAST: 'PAST',\n};\nexport type MyEventsTabSchema = (typeof MyEventsTabSchema)[keyof typeof MyEventsTabSchema];\n","import { z } from 'zod';\nimport {\n EventCategory,\n EventVisibility,\n EventAccessModel,\n EventState,\n ViewerRegistrationView,\n RegistrationStatus,\n MyEventsTabSchema,\n} from './event.enums';\n\nconst MAX_PAGE_SIZE = 50;\nconst DEFAULT_PAGE_SIZE = 20;\n\nexport const CreateEventRequestSchema = z.object({\n title: z.string().max(120),\n description: z.string().max(2000),\n category: z.enum(EventCategory),\n scheduledStartAt: z.iso.datetime(),\n scheduledEndAt: z.iso.datetime(),\n venueLocation: z.string(),\n visibility: z.enum(EventVisibility),\n accessModel: z.enum(EventAccessModel),\n ticketPrice: z.number().min(0).optional(),\n maxTickets: z.number().min(1).optional(),\n timezone: z.string().default('Africa/Lagos'),\n replayEnabled: z.boolean().default(true),\n retentionDays: z.number().default(30),\n tags: z.array(z.string()).optional(),\n geoRestrictions: z.record(z.string(), z.any()).optional(),\n});\n\nexport const UpdateEventRequestSchema = CreateEventRequestSchema.partial();\n\nexport const EventResponseSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n description: z.string(),\n category: z.enum(EventCategory),\n coverImageUrl: z.url().optional(),\n venueLocation: z.string(),\n scheduledStartAt: z.iso.datetime(),\n scheduledEndAt: z.iso.datetime(),\n timezone: z.string(),\n visibility: z.enum(EventVisibility),\n accessModel: z.enum(EventAccessModel),\n ticketPrice: z.number(),\n currency: z.string(),\n maxTickets: z.number().optional(),\n eventState: z.enum(EventState),\n shareableUrl: z.url(),\n hostId: z.uuid(),\n isFeatured: z.boolean(),\n replayEnabled: z.boolean(),\n replayAvailableUntil: z.iso.datetime().optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n publishedAt: z.iso.datetime().optional(),\n liveStartedAt: z.iso.datetime().optional(),\n liveEndedAt: z.iso.datetime().optional(),\n});\n\nexport const EventCardSchema = z.object({\n id: z.uuid(),\n title: z.string(),\n coverImageUrl: z.string().nullable(),\n category: z.enum(EventCategory),\n scheduledStart: z.iso.datetime(),\n scheduledEnd: z.iso.datetime(),\n state: z.enum(EventState),\n accessModel: z.enum(EventAccessModel),\n ticketPrice: z.string().nullable(),\n currency: z.string(),\n isFeatured: z.boolean(),\n hostDisplayName: z.string().nullable(),\n viewerCount: z.number().int().min(0),\n viewer: z.object({\n registration: z.enum(ViewerRegistrationView),\n progressPct: z.number().min(0).max(100).optional(),\n canResume: z.boolean().optional(),\n }),\n});\n\nexport const ViewerHomeResponseSchema = z.object({\n continueWatching: z.array(EventCardSchema),\n liveNow: z.array(EventCardSchema),\n featured: EventCardSchema.nullable(),\n upcoming: z.array(EventCardSchema),\n recommended: z.array(EventCardSchema),\n});\n\nexport const PaginationCursorSchema = z.object({\n cursor: z.string().optional(),\n limit: z.coerce.number().int().min(1).max(MAX_PAGE_SIZE).default(DEFAULT_PAGE_SIZE),\n});\n\nexport const SearchEventsQuerySchema = PaginationCursorSchema.extend({\n q: z.string().trim().min(1).max(120).optional(),\n category: z.enum(EventCategory).optional(),\n state: z.enum(EventState).optional(),\n});\n\nexport const PagedEventsResponseSchema = z.object({\n items: z.array(EventCardSchema),\n nextCursor: z.string().nullable(),\n});\n\nexport const RegisterForEventResponseSchema = z.object({\n registration: z.object({\n id: z.uuid(),\n eventId: z.uuid(),\n status: z.enum(RegistrationStatus),\n expiresAt: z.iso.datetime().nullable(),\n }),\n paymentIntent: z\n .object({\n reference: z.string(),\n amount: z.string(),\n currency: z.string(),\n checkoutUrl: z.url().optional(),\n })\n .nullable(),\n});\n\nexport const UpdateWatchProgressRequestSchema = z.object({\n positionSec: z\n .number()\n .int()\n .min(0)\n .max(24 * 60 * 60),\n durationSec: z.number().int().min(1).optional(),\n});\n\nexport const LivePlaybackSchema = z.object({\n kind: z.literal('LIVE'),\n playbackUrl: z.url(),\n token: z.string(),\n expiresAt: z.iso.datetime(),\n});\n\nexport const ReplayPlaybackSchema = z.object({\n kind: z.literal('REPLAY'),\n playbackUrl: z.url(),\n expiresAt: z.iso.datetime(),\n});\n\n// Union schema for runtime validation (e.g. ZodValidationPipe)\nexport const PlaybackResponseSchema = z.discriminatedUnion('kind', [\n LivePlaybackSchema,\n ReplayPlaybackSchema,\n]);\n\nexport const MyEventCardSchema = EventCardSchema.extend({\n // Upcoming\n startsInSec: z.number().int().optional(),\n // Live\n liveViewerCount: z.number().int().min(0).optional(),\n liveStartedAt: z.iso.datetime().nullable().optional(),\n // Past\n replayAvailableUntil: z.iso.datetime().nullable().optional(),\n replayDurationSec: z.number().int().min(0).nullable().optional(),\n watchedPct: z.number().min(0).max(100).optional(),\n hasWatched: z.boolean().optional(),\n});\n\nexport const MyEventsResponseSchema = z.object({\n tab: z.enum(MyEventsTabSchema),\n items: z.array(MyEventCardSchema),\n nextCursor: z.string().nullable(),\n});\n\nexport const MyEventsQuerySchema = z.object({\n tab: z.enum(MyEventsTabSchema),\n cursor: z.string().optional(),\n limit: z.coerce.number().int().min(1).max(MAX_PAGE_SIZE).default(DEFAULT_PAGE_SIZE),\n});\n\nexport const StartViewingSessionResponseSchema = z.object({\n sessionId: z.string(),\n});\n\nexport const ViewingSessionHeartbeatResponseSchema = z.object({\n ok: z.literal(true),\n});\n\nexport const EndViewingSessionResponseSchema = z.object({\n durationSec: z.number().int().min(0),\n});\n"]}
@@ -1,2 +0,0 @@
1
- var e={HOST:1,PRODUCER:2,VIEWER:4},t={ACTIVE:"ACTIVE",SUSPENDED:"SUSPENDED",BANNED:"BANNED",DELETED:"DELETED"},o={PENDING:"PENDING",SUBMITTED:"SUBMITTED",VERIFIED:"VERIFIED",REJECTED:"REJECTED"},E={TRUST:"TRUST",FINANCIAL:"FINANCIAL",LIVE_OPS:"LIVE_OPS",AUDIT:"AUDIT"},c={PENDING:"PENDING",APPROVED:"APPROVED",REJECTED:"REJECTED",SUBMITTED:"SUBMITTED",SUSPENDED:"SUSPENDED"},r={BEGINNER:"BEGINNER",INTERMEDIATE:"INTERMEDIATE",EXPERT:"EXPERT"};export{e as a,t as b,o as c,E as d,c as e,r as f};//# sourceMappingURL=chunk-ACXVPMYP.mjs.map
2
- //# sourceMappingURL=chunk-ACXVPMYP.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/user/user.enums.ts"],"names":["UserRole","AccountStatus","KycStatus","AdminScopeCode","ProducerVerificationStatus","ProducerExperienceLevel"],"mappings":"AAAO,IAAMA,CAAAA,CAAW,CACtB,IAAA,CAAM,CAAA,CACN,QAAA,CAAU,CAAA,CACV,MAAA,CAAQ,CACV,CAAA,CAGaC,CAAAA,CAAgB,CAC3B,MAAA,CAAQ,QAAA,CACR,SAAA,CAAW,WAAA,CACX,MAAA,CAAQ,QAAA,CACR,OAAA,CAAS,SACX,CAAA,CAGaC,CAAAA,CAAY,CACvB,OAAA,CAAS,SAAA,CACT,SAAA,CAAW,WAAA,CACX,QAAA,CAAU,UAAA,CACV,SAAU,UACZ,CAAA,CAMaC,CAAAA,CAAiB,CAC5B,KAAA,CAAO,OAAA,CACP,SAAA,CAAW,WAAA,CACX,QAAA,CAAU,UAAA,CACV,KAAA,CAAO,OACT,CAAA,CAGaC,CAAAA,CAA6B,CACxC,OAAA,CAAS,SAAA,CACT,QAAA,CAAU,UAAA,CACV,QAAA,CAAU,UAAA,CACV,SAAA,CAAW,WAAA,CACX,SAAA,CAAW,WACb,CAAA,CAIaC,CAAAA,CAA0B,CACrC,QAAA,CAAU,UAAA,CACV,YAAA,CAAc,cAAA,CACd,OAAQ,QACV","file":"chunk-ACXVPMYP.mjs","sourcesContent":["export const UserRole = {\n HOST: 1,\n PRODUCER: 2,\n VIEWER: 4,\n} as const;\nexport type UserRole = (typeof UserRole)[keyof typeof UserRole];\n\nexport const AccountStatus = {\n ACTIVE: 'ACTIVE',\n SUSPENDED: 'SUSPENDED',\n BANNED: 'BANNED',\n DELETED: 'DELETED',\n} as const;\nexport type AccountStatus = (typeof AccountStatus)[keyof typeof AccountStatus];\n\nexport const KycStatus = {\n PENDING: 'PENDING',\n SUBMITTED: 'SUBMITTED',\n VERIFIED: 'VERIFIED',\n REJECTED: 'REJECTED',\n} as const;\nexport type KycStatus = (typeof KycStatus)[keyof typeof KycStatus];\n\n/**\n * Enum for admin scope codes.\n */\nexport const AdminScopeCode = {\n TRUST: 'TRUST',\n FINANCIAL: 'FINANCIAL',\n LIVE_OPS: 'LIVE_OPS',\n AUDIT: 'AUDIT',\n} as const;\nexport type AdminScopeCode = (typeof AdminScopeCode)[keyof typeof AdminScopeCode];\n\nexport const ProducerVerificationStatus = {\n PENDING: 'PENDING',\n APPROVED: 'APPROVED',\n REJECTED: 'REJECTED',\n SUBMITTED: 'SUBMITTED',\n SUSPENDED: 'SUSPENDED',\n} as const;\nexport type ProducerVerificationStatus =\n (typeof ProducerVerificationStatus)[keyof typeof ProducerVerificationStatus];\n\nexport const ProducerExperienceLevel = {\n BEGINNER: 'BEGINNER',\n INTERMEDIATE: 'INTERMEDIATE',\n EXPERT: 'EXPERT',\n} as const;\nexport type ProducerExperienceLevel =\n (typeof ProducerExperienceLevel)[keyof typeof ProducerExperienceLevel];\n"]}