@livdot-tech/contracts 1.4.2 → 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.
- package/dist/auth/index.js +1 -1
- package/dist/auth/index.mjs +1 -1
- package/dist/chunk-2TQ3BI34.js +2 -0
- package/dist/chunk-2TQ3BI34.js.map +1 -0
- package/dist/chunk-54FMKF33.js +2 -0
- package/dist/chunk-54FMKF33.js.map +1 -0
- package/dist/{chunk-JH4NWBFP.js → chunk-5ROSQD5N.js} +2 -2
- package/dist/{chunk-JH4NWBFP.js.map → chunk-5ROSQD5N.js.map} +1 -1
- package/dist/chunk-C3LOLFNN.js +2 -0
- package/dist/chunk-C3LOLFNN.js.map +1 -0
- package/dist/{chunk-J46D3YKA.mjs → chunk-CBORZPGZ.mjs} +2 -2
- package/dist/{chunk-J46D3YKA.mjs.map → chunk-CBORZPGZ.mjs.map} +1 -1
- package/dist/chunk-EGUWLSAA.mjs +2 -0
- package/dist/chunk-EGUWLSAA.mjs.map +1 -0
- package/dist/chunk-EJCFJL2F.mjs +2 -0
- package/dist/chunk-EJCFJL2F.mjs.map +1 -0
- package/dist/chunk-EQVYSKSG.mjs +2 -0
- package/dist/chunk-EQVYSKSG.mjs.map +1 -0
- package/dist/chunk-HZF6DJHM.js +2 -0
- package/dist/chunk-HZF6DJHM.js.map +1 -0
- package/dist/chunk-MRWDLMMZ.mjs +2 -0
- package/dist/chunk-MRWDLMMZ.mjs.map +1 -0
- package/dist/chunk-VGS23C2E.mjs +2 -0
- package/dist/chunk-VGS23C2E.mjs.map +1 -0
- package/dist/chunk-VRSJMPBY.js +2 -0
- package/dist/chunk-VRSJMPBY.js.map +1 -0
- package/dist/chunk-W2AXUTIW.js +2 -0
- package/dist/chunk-W2AXUTIW.js.map +1 -0
- package/dist/chunk-XUOMVQVQ.mjs +2 -0
- package/dist/chunk-XUOMVQVQ.mjs.map +1 -0
- package/dist/errors/index.d.mts +2 -0
- package/dist/errors/index.d.ts +2 -0
- package/dist/errors/index.js +1 -1
- package/dist/errors/index.mjs +1 -1
- package/dist/event/index.d.mts +22 -4
- package/dist/event/index.d.ts +22 -4
- package/dist/event/index.js +1 -1
- package/dist/event/index.mjs +1 -1
- package/dist/index.d.mts +88 -5
- package/dist/index.d.ts +88 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/marketplace/index.d.mts +29 -1
- package/dist/marketplace/index.d.ts +29 -1
- package/dist/marketplace/index.js +1 -1
- package/dist/marketplace/index.mjs +1 -1
- package/dist/payment/index.d.mts +81 -1
- package/dist/payment/index.d.ts +81 -1
- package/dist/payment/index.js +1 -1
- package/dist/payment/index.mjs +1 -1
- package/dist/user/index.d.mts +80 -1
- package/dist/user/index.d.ts +80 -1
- package/dist/user/index.js +1 -1
- package/dist/user/index.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-2N4M7ZID.mjs +0 -2
- package/dist/chunk-2N4M7ZID.mjs.map +0 -1
- package/dist/chunk-5BXYTOQW.js +0 -2
- package/dist/chunk-5BXYTOQW.js.map +0 -1
- package/dist/chunk-ACXVPMYP.mjs +0 -2
- package/dist/chunk-ACXVPMYP.mjs.map +0 -1
- package/dist/chunk-FSQX27QM.mjs +0 -2
- package/dist/chunk-FSQX27QM.mjs.map +0 -1
- package/dist/chunk-HDCQKBMZ.js +0 -2
- package/dist/chunk-HDCQKBMZ.js.map +0 -1
- package/dist/chunk-JT7SH43N.js +0 -2
- package/dist/chunk-JT7SH43N.js.map +0 -1
- package/dist/chunk-LNIXM4TD.mjs +0 -2
- package/dist/chunk-LNIXM4TD.mjs.map +0 -1
- package/dist/chunk-PI4KQRG6.js +0 -2
- package/dist/chunk-PI4KQRG6.js.map +0 -1
- package/dist/chunk-QIDNKMGT.mjs +0 -2
- package/dist/chunk-QIDNKMGT.mjs.map +0 -1
- package/dist/chunk-SKUIUOTZ.js +0 -2
- package/dist/chunk-SKUIUOTZ.js.map +0 -1
- package/dist/chunk-VSYDI3WD.js +0 -2
- package/dist/chunk-VSYDI3WD.js.map +0 -1
- package/dist/chunk-ZWZOFVZ3.mjs +0 -2
- package/dist/chunk-ZWZOFVZ3.mjs.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/user/user.enums.ts"],"names":["UserRole","AccountStatus","KycStatus","AdminScopeCode","FeedbackCategory","NotificationCategory","ProducerVerificationStatus","ProducerExperienceLevel"],"mappings":"aAAO,IAAMA,EAAW,CACtB,IAAA,CAAM,CAAA,CACN,QAAA,CAAU,EACV,MAAA,CAAQ,CACV,CAAA,CAGaC,CAAAA,CAAgB,CAC3B,MAAA,CAAQ,QAAA,CACR,UAAW,WAAA,CACX,MAAA,CAAQ,SACR,OAAA,CAAS,SACX,CAAA,CAGaC,CAAAA,CAAY,CACvB,OAAA,CAAS,SAAA,CACT,SAAA,CAAW,WAAA,CACX,SAAU,UAAA,CACV,QAAA,CAAU,UACZ,CAAA,CAMaC,EAAiB,CAC5B,KAAA,CAAO,QACP,SAAA,CAAW,WAAA,CACX,SAAU,UAAA,CACV,KAAA,CAAO,OACT,CAAA,CAGaC,EAAmB,CAC9B,GAAA,CAAK,KAAA,CACL,IAAA,CAAM,OACN,OAAA,CAAS,SACX,CAAA,CAGaC,CAAAA,CAAuB,CAClC,eAAA,CAAiB,iBAAA,CACjB,YAAa,aAAA,CACb,eAAA,CAAiB,iBACnB,CAAA,CAGaC,CAAAA,CAA6B,CACxC,OAAA,CAAS,UACT,QAAA,CAAU,UAAA,CACV,QAAA,CAAU,UAAA,CACV,UAAW,WAAA,CACX,SAAA,CAAW,WACb,CAAA,CAIaC,EAA0B,CACrC,QAAA,CAAU,WACV,YAAA,CAAc,cAAA,CACd,OAAQ,QACV","file":"chunk-W2AXUTIW.js","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 FeedbackCategory = {\n BUG: 'BUG',\n IDEA: 'IDEA',\n GENERAL: 'GENERAL',\n} as const;\nexport type FeedbackCategory = (typeof FeedbackCategory)[keyof typeof FeedbackCategory];\n\nexport const NotificationCategory = {\n EVENT_REMINDERS: 'EVENT_REMINDERS',\n LIVE_ALERTS: 'LIVE_ALERTS',\n RECOMMENDATIONS: 'RECOMMENDATIONS',\n} as const;\nexport type NotificationCategory = (typeof NotificationCategory)[keyof typeof NotificationCategory];\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"]}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import {g as g$1,h as h$1,c,b,f as f$1,e}from'./chunk-EQVYSKSG.mjs';import {f}from'./chunk-EJCFJL2F.mjs';import {z}from'zod';var p=z.object({id:z.uuid(),userId:z.uuid(),businessName:z.string(),totalEvents:z.number(),totalSpent:z.number(),averageRating:z.number(),defaultCurrency:z.string(),description:z.string().optional(),category:z.array(z.enum(f)),logoUrl:z.url().optional(),businessRegNumber:z.string().optional(),taxId:z.string().optional(),settlementBankCode:z.string().optional(),settlementAccountNumber:z.string().optional(),settlementAccountName:z.string().optional(),paystackSubaccountCode:z.string().optional(),createdAt:z.iso.datetime()}),u=z.object({id:z.uuid(),userId:z.uuid(),companyName:z.string(),bio:z.string(),yearsExperience:z.number().optional(),experienceLevel:z.enum(h$1),equipmentManifest:z.array(z.record(z.string(),z.any())),serviceAreas:z.array(z.string()),verificationStatus:z.enum(g$1),averageRating:z.number().positive().multipleOf(.01),totalReviews:z.number(),completionRate:z.number(),isAvailable:z.boolean(),createdAt:z.iso.datetime()}),x=z.object({id:z.uuid(),email:z.email().toLowerCase(),emailVerified:z.boolean(),emailVerifiedAt:z.iso.datetime().optional(),phoneNumber:z.string().optional(),firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),role:z.number().min(1).max(15),accountStatus:z.enum(b),kycStatus:z.enum(c),hostProfile:p.optional(),producerProfile:u.optional(),createdAt:z.iso.datetime(),updatedAt:z.iso.datetime()}),S=z.object({firstName:z.string().optional(),lastName:z.string().optional(),displayName:z.string().optional(),avatarUrl:z.url().optional(),phoneNumber:z.string().optional(),eventCategory:z.array(z.enum(f)).optional()}),h=z.object({businessName:z.string(),description:z.string().optional(),logoUrl:z.string().optional(),category:z.array(z.enum(f)).min(1),pin:z.string().length(5)}),N=z.object({companyName:z.string(),bio:z.string(),logoUrl:z.string().optional(),serviceAreas:z.array(z.string()),yearsExperience:z.number(),experienceLevel:z.enum(h$1),minFee:z.number(),maxFee:z.number(),pin:z.string(),isAvailable:z.boolean()}),d=new Set(["admin","support","livdot","host","producer","system","null","undefined","me","settings","viewer","auth","events","streaming","producers","marketplace","users"]),g=z.string().trim().toLowerCase().min(3,"Display name must be at least 3 characters").max(30,"Display name must be at most 30 characters").regex(/^[a-z0-9_]+$/,"Display name may only contain lowercase letters, digits, and underscores").refine(t=>!d.has(t),{message:"This display name is reserved"}),v=z.object({displayName:g}).strict(),R=z.object({preferredCurrency:z.string().trim().toUpperCase().length(3).regex(/^[A-Z]{3}$/)}).strict(),m=z.object({category:z.enum(f$1),enabled:z.boolean()}),C=z.object({preferences:z.array(m).min(1).max(10).refine(t=>new Set(t.map(l=>l.category)).size===t.length,{message:"Duplicate category in preferences"})}).strict(),A=z.object({category:z.enum(e),message:z.string().trim().min(10).max(2e3)}).strict(),P=z.object({id:z.uuid(),email:z.email(),emailVerified:z.boolean(),displayName:z.string().nullable(),avatarUrl:z.url().nullable(),roles:z.number().int(),preferredCurrency:z.string(),notificationsEnabledCount:z.number().int()}),j=z.object({preferences:z.array(m)}),U=z.object({id:z.uuid()});export{p as a,u as b,x as c,S as d,h as e,N as f,d as g,g as h,v as i,R as j,m as k,C as l,A as m,P as n,j as o,U as p};//# sourceMappingURL=chunk-XUOMVQVQ.mjs.map
|
|
2
|
+
//# sourceMappingURL=chunk-XUOMVQVQ.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/user/user.schemas.ts"],"names":["HostProfileResponseSchema","z","EventCategory","ProducerProfileResponseSchema","ProducerExperienceLevel","ProducerVerificationStatus","UserResponseSchema","AccountStatus","KycStatus","UpdateUserRequestSchema","CreateHostProfileRequestSchema","CreateProducerProfileRequestSchema","RESERVED_DISPLAY_NAMES","DisplayNameSchema","v","UpdateViewerProfileRequestSchema","UpdateViewerCurrencyRequestSchema","NotificationPreferenceItemSchema","NotificationCategory","UpdateNotificationPreferencesRequestSchema","items","i","SendFeedbackRequestSchema","FeedbackCategory","ViewerMeResponseSchema","NotificationPreferencesResponseSchema","SendFeedbackResponseSchema"],"mappings":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IA,CAAAA,CAAE,IAAA,EACR,CAAC","file":"chunk-XUOMVQVQ.mjs","sourcesContent":["import { z } from 'zod';\nimport {\n AccountStatus,\n FeedbackCategory,\n KycStatus,\n NotificationCategory,\n ProducerExperienceLevel,\n ProducerVerificationStatus,\n} from './user.enums';\nimport { EventCategory } from '../event';\n\nexport const HostProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n businessName: z.string(),\n totalEvents: z.number(),\n totalSpent: z.number(),\n averageRating: z.number(),\n defaultCurrency: z.string(),\n description: z.string().optional(),\n category: z.array(z.enum(EventCategory)),\n logoUrl: z.url().optional(),\n businessRegNumber: z.string().optional(),\n taxId: z.string().optional(),\n settlementBankCode: z.string().optional(),\n settlementAccountNumber: z.string().optional(),\n settlementAccountName: z.string().optional(),\n paystackSubaccountCode: z.string().optional(),\n createdAt: z.iso.datetime(),\n});\n\nexport const ProducerProfileResponseSchema = z.object({\n id: z.uuid(),\n userId: z.uuid(),\n companyName: z.string(),\n bio: z.string(),\n yearsExperience: z.number().optional(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n equipmentManifest: z.array(z.record(z.string(), z.any())),\n serviceAreas: z.array(z.string()),\n verificationStatus: z.enum(ProducerVerificationStatus),\n averageRating: z.number().positive().multipleOf(0.01),\n totalReviews: z.number(),\n completionRate: z.number(),\n isAvailable: z.boolean(),\n createdAt: z.iso.datetime(),\n});\n\nexport const UserResponseSchema = z.object({\n id: z.uuid(),\n email: z.email().toLowerCase(),\n emailVerified: z.boolean(),\n emailVerifiedAt: z.iso.datetime().optional(),\n phoneNumber: z.string().optional(),\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n role: z.number().min(1).max(15),\n accountStatus: z.enum(AccountStatus),\n kycStatus: z.enum(KycStatus),\n hostProfile: HostProfileResponseSchema.optional(),\n producerProfile: ProducerProfileResponseSchema.optional(),\n createdAt: z.iso.datetime(),\n updatedAt: z.iso.datetime(),\n});\n\nexport const UpdateUserRequestSchema = z.object({\n firstName: z.string().optional(),\n lastName: z.string().optional(),\n displayName: z.string().optional(),\n avatarUrl: z.url().optional(),\n phoneNumber: z.string().optional(),\n eventCategory: z.array(z.enum(EventCategory)).optional(),\n});\n\nexport const CreateHostProfileRequestSchema = z.object({\n businessName: z.string(),\n description: z.string().optional(),\n logoUrl: z.string().optional(),\n category: z.array(z.enum(EventCategory)).min(1),\n pin: z.string().length(5),\n});\n\nexport const CreateProducerProfileRequestSchema = z.object({\n companyName: z.string(),\n bio: z.string(),\n logoUrl: z.string().optional(),\n serviceAreas: z.array(z.string()),\n yearsExperience: z.number(),\n experienceLevel: z.enum(ProducerExperienceLevel),\n minFee: z.number(),\n maxFee: z.number(),\n pin: z.string(),\n isAvailable: z.boolean(),\n});\n\nexport const RESERVED_DISPLAY_NAMES: ReadonlySet<string> = new Set([\n 'admin',\n 'support',\n 'livdot',\n 'host',\n 'producer',\n 'system',\n 'null',\n 'undefined',\n 'me',\n 'settings',\n 'viewer',\n 'auth',\n 'events',\n 'streaming',\n 'producers',\n 'marketplace',\n 'users',\n]);\n\n/** Handle constraints — see viewer-settings.md §3.1. */\nexport const DisplayNameSchema = z\n .string()\n .trim()\n .toLowerCase()\n .min(3, 'Display name must be at least 3 characters')\n .max(30, 'Display name must be at most 30 characters')\n .regex(/^[a-z0-9_]+$/, 'Display name may only contain lowercase letters, digits, and underscores')\n .refine((v) => !RESERVED_DISPLAY_NAMES.has(v), {\n message: 'This display name is reserved',\n });\n\nexport const UpdateViewerProfileRequestSchema = z\n .object({\n displayName: DisplayNameSchema,\n })\n .strict();\n\nexport const UpdateViewerCurrencyRequestSchema = z\n .object({\n preferredCurrency: z\n .string()\n .trim()\n .toUpperCase()\n .length(3)\n .regex(/^[A-Z]{3}$/),\n })\n .strict();\n\nexport const NotificationPreferenceItemSchema = z.object({\n category: z.enum(NotificationCategory),\n enabled: z.boolean(),\n});\n\nexport const UpdateNotificationPreferencesRequestSchema = z\n .object({\n preferences: z\n .array(NotificationPreferenceItemSchema)\n .min(1)\n .max(10)\n .refine((items) => new Set(items.map((i) => i.category)).size === items.length, {\n message: 'Duplicate category in preferences',\n }),\n })\n .strict();\n\nexport const SendFeedbackRequestSchema = z\n .object({\n category: z.enum(FeedbackCategory),\n message: z.string().trim().min(10).max(2000),\n })\n .strict();\n\nexport const ViewerMeResponseSchema = z.object({\n id: z.uuid(),\n email: z.email(),\n emailVerified: z.boolean(),\n displayName: z.string().nullable(),\n avatarUrl: z.url().nullable(),\n roles: z.number().int(),\n preferredCurrency: z.string(),\n notificationsEnabledCount: z.number().int(),\n});\n\nexport const NotificationPreferencesResponseSchema = z.object({\n preferences: z.array(NotificationPreferenceItemSchema),\n});\n\nexport const SendFeedbackResponseSchema = z.object({\n id: z.uuid(),\n});\n"]}
|
package/dist/errors/index.d.mts
CHANGED
|
@@ -18,6 +18,8 @@ declare const ApiErrorCode: {
|
|
|
18
18
|
readonly PRODUCER_PROFILE_NOT_FOUND: "user/producer-profile-not-found";
|
|
19
19
|
readonly PRODUCER_PROFILE_ALREADY_EXISTS: "user/producer-profile-already-exists";
|
|
20
20
|
readonly PRODUCER_NOT_VERIFIED: "user/producer-not-verified";
|
|
21
|
+
readonly INVALID_STATE_TRANSITION: "marketplace/invalid-state-transition";
|
|
22
|
+
readonly REASON_REQUIRED: "marketplace/reason-required";
|
|
21
23
|
readonly ACCOUNT_SUSPENDED: "user/account-suspended";
|
|
22
24
|
readonly KYC_REQUIRED: "user/kyc-required";
|
|
23
25
|
readonly EVENT_NOT_FOUND: "event/event-not-found";
|
package/dist/errors/index.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ declare const ApiErrorCode: {
|
|
|
18
18
|
readonly PRODUCER_PROFILE_NOT_FOUND: "user/producer-profile-not-found";
|
|
19
19
|
readonly PRODUCER_PROFILE_ALREADY_EXISTS: "user/producer-profile-already-exists";
|
|
20
20
|
readonly PRODUCER_NOT_VERIFIED: "user/producer-not-verified";
|
|
21
|
+
readonly INVALID_STATE_TRANSITION: "marketplace/invalid-state-transition";
|
|
22
|
+
readonly REASON_REQUIRED: "marketplace/reason-required";
|
|
21
23
|
readonly ACCOUNT_SUSPENDED: "user/account-suspended";
|
|
22
24
|
readonly KYC_REQUIRED: "user/kyc-required";
|
|
23
25
|
readonly EVENT_NOT_FOUND: "event/event-not-found";
|
package/dist/errors/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkHZF6DJHM_js=require('../chunk-HZF6DJHM.js');Object.defineProperty(exports,"ApiErrorCode",{enumerable:true,get:function(){return chunkHZF6DJHM_js.a}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/errors/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{a as ApiErrorCode}from'../chunk-
|
|
1
|
+
export{a as ApiErrorCode}from'../chunk-VGS23C2E.mjs';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/event/index.d.mts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const EventReplayAccess: {
|
|
4
|
+
readonly INCLUDED: "INCLUDED";
|
|
5
|
+
readonly DISABLED: "DISABLED";
|
|
6
|
+
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
7
|
+
};
|
|
8
|
+
type EventReplayAccess = (typeof EventReplayAccess)[keyof typeof EventReplayAccess];
|
|
3
9
|
declare const EventVisibility: {
|
|
4
10
|
readonly PUBLIC: "PUBLIC";
|
|
5
11
|
readonly PRIVATE: "PRIVATE";
|
|
@@ -135,7 +141,11 @@ declare const CreateEventRequestSchema: z.ZodObject<{
|
|
|
135
141
|
ticketPrice: z.ZodOptional<z.ZodNumber>;
|
|
136
142
|
maxTickets: z.ZodOptional<z.ZodNumber>;
|
|
137
143
|
timezone: z.ZodDefault<z.ZodString>;
|
|
138
|
-
|
|
144
|
+
replayAccess: z.ZodEnum<{
|
|
145
|
+
readonly INCLUDED: "INCLUDED";
|
|
146
|
+
readonly DISABLED: "DISABLED";
|
|
147
|
+
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
148
|
+
}>;
|
|
139
149
|
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
140
150
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
151
|
geoRestrictions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -186,7 +196,11 @@ declare const UpdateEventRequestSchema: z.ZodObject<{
|
|
|
186
196
|
ticketPrice: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
187
197
|
maxTickets: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
188
198
|
timezone: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
189
|
-
|
|
199
|
+
replayAccess: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
readonly INCLUDED: "INCLUDED";
|
|
201
|
+
readonly DISABLED: "DISABLED";
|
|
202
|
+
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
203
|
+
}>>;
|
|
190
204
|
retentionDays: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
191
205
|
tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
192
206
|
geoRestrictions: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -254,7 +268,11 @@ declare const EventResponseSchema: z.ZodObject<{
|
|
|
254
268
|
shareableUrl: z.ZodURL;
|
|
255
269
|
hostId: z.ZodUUID;
|
|
256
270
|
isFeatured: z.ZodBoolean;
|
|
257
|
-
|
|
271
|
+
replayAccess: z.ZodEnum<{
|
|
272
|
+
readonly INCLUDED: "INCLUDED";
|
|
273
|
+
readonly DISABLED: "DISABLED";
|
|
274
|
+
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
275
|
+
}>;
|
|
258
276
|
replayAvailableUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
259
277
|
createdAt: z.ZodISODateTime;
|
|
260
278
|
updatedAt: z.ZodISODateTime;
|
|
@@ -995,4 +1013,4 @@ type EndViewingSessionResponse = z.infer<typeof EndViewingSessionResponseSchema>
|
|
|
995
1013
|
type LivePlayback = z.infer<typeof LivePlaybackSchema>;
|
|
996
1014
|
type ReplayPlayback = z.infer<typeof ReplayPlaybackSchema>;
|
|
997
1015
|
|
|
998
|
-
export { type CreateEventRequest, CreateEventRequestSchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, type EventCard, EventCardSchema, EventCategory, type EventResponse, EventResponseSchema, EventState, EventVisibility, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PaginationCursor, PaginationCursorSchema, type PlaybackResponse, PlaybackResponseSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type ReplayPlayback, ReplayPlaybackSchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema };
|
|
1016
|
+
export { type CreateEventRequest, CreateEventRequestSchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, type EventCard, EventCardSchema, EventCategory, EventReplayAccess, type EventResponse, EventResponseSchema, EventState, EventVisibility, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PaginationCursor, PaginationCursorSchema, type PlaybackResponse, PlaybackResponseSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type ReplayPlayback, ReplayPlaybackSchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema };
|
package/dist/event/index.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
declare const EventReplayAccess: {
|
|
4
|
+
readonly INCLUDED: "INCLUDED";
|
|
5
|
+
readonly DISABLED: "DISABLED";
|
|
6
|
+
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
7
|
+
};
|
|
8
|
+
type EventReplayAccess = (typeof EventReplayAccess)[keyof typeof EventReplayAccess];
|
|
3
9
|
declare const EventVisibility: {
|
|
4
10
|
readonly PUBLIC: "PUBLIC";
|
|
5
11
|
readonly PRIVATE: "PRIVATE";
|
|
@@ -135,7 +141,11 @@ declare const CreateEventRequestSchema: z.ZodObject<{
|
|
|
135
141
|
ticketPrice: z.ZodOptional<z.ZodNumber>;
|
|
136
142
|
maxTickets: z.ZodOptional<z.ZodNumber>;
|
|
137
143
|
timezone: z.ZodDefault<z.ZodString>;
|
|
138
|
-
|
|
144
|
+
replayAccess: z.ZodEnum<{
|
|
145
|
+
readonly INCLUDED: "INCLUDED";
|
|
146
|
+
readonly DISABLED: "DISABLED";
|
|
147
|
+
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
148
|
+
}>;
|
|
139
149
|
retentionDays: z.ZodDefault<z.ZodNumber>;
|
|
140
150
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
141
151
|
geoRestrictions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -186,7 +196,11 @@ declare const UpdateEventRequestSchema: z.ZodObject<{
|
|
|
186
196
|
ticketPrice: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
187
197
|
maxTickets: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
188
198
|
timezone: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
189
|
-
|
|
199
|
+
replayAccess: z.ZodOptional<z.ZodEnum<{
|
|
200
|
+
readonly INCLUDED: "INCLUDED";
|
|
201
|
+
readonly DISABLED: "DISABLED";
|
|
202
|
+
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
203
|
+
}>>;
|
|
190
204
|
retentionDays: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
191
205
|
tags: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
192
206
|
geoRestrictions: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
@@ -254,7 +268,11 @@ declare const EventResponseSchema: z.ZodObject<{
|
|
|
254
268
|
shareableUrl: z.ZodURL;
|
|
255
269
|
hostId: z.ZodUUID;
|
|
256
270
|
isFeatured: z.ZodBoolean;
|
|
257
|
-
|
|
271
|
+
replayAccess: z.ZodEnum<{
|
|
272
|
+
readonly INCLUDED: "INCLUDED";
|
|
273
|
+
readonly DISABLED: "DISABLED";
|
|
274
|
+
readonly PAID_SEPARATELY: "PAID_SEPARATELY";
|
|
275
|
+
}>;
|
|
258
276
|
replayAvailableUntil: z.ZodOptional<z.ZodISODateTime>;
|
|
259
277
|
createdAt: z.ZodISODateTime;
|
|
260
278
|
updatedAt: z.ZodISODateTime;
|
|
@@ -995,4 +1013,4 @@ type EndViewingSessionResponse = z.infer<typeof EndViewingSessionResponseSchema>
|
|
|
995
1013
|
type LivePlayback = z.infer<typeof LivePlaybackSchema>;
|
|
996
1014
|
type ReplayPlayback = z.infer<typeof ReplayPlaybackSchema>;
|
|
997
1015
|
|
|
998
|
-
export { type CreateEventRequest, CreateEventRequestSchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, type EventCard, EventCardSchema, EventCategory, type EventResponse, EventResponseSchema, EventState, EventVisibility, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PaginationCursor, PaginationCursorSchema, type PlaybackResponse, PlaybackResponseSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type ReplayPlayback, ReplayPlaybackSchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema };
|
|
1016
|
+
export { type CreateEventRequest, CreateEventRequestSchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, type EventCard, EventCardSchema, EventCategory, EventReplayAccess, type EventResponse, EventResponseSchema, EventState, EventVisibility, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PaginationCursor, PaginationCursorSchema, type PlaybackResponse, PlaybackResponseSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type ReplayPlayback, ReplayPlaybackSchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema };
|
package/dist/event/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkVRSJMPBY_js=require('../chunk-VRSJMPBY.js');Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.k}});Object.defineProperty(exports,"EndViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.C}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkVRSJMPBY_js.c}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkVRSJMPBY_js.d}});Object.defineProperty(exports,"EventCardSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.n}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkVRSJMPBY_js.f}});Object.defineProperty(exports,"EventReplayAccess",{enumerable:true,get:function(){return chunkVRSJMPBY_js.a}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.m}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkVRSJMPBY_js.e}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkVRSJMPBY_js.b}});Object.defineProperty(exports,"LivePlaybackSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.u}});Object.defineProperty(exports,"MyEventCardSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.x}});Object.defineProperty(exports,"MyEventsQuerySchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.z}});Object.defineProperty(exports,"MyEventsResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.y}});Object.defineProperty(exports,"MyEventsTabSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.j}});Object.defineProperty(exports,"PagedEventsResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.r}});Object.defineProperty(exports,"PaginationCursorSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.p}});Object.defineProperty(exports,"PlaybackResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.w}});Object.defineProperty(exports,"RegisterForEventResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.s}});Object.defineProperty(exports,"RegistrationScope",{enumerable:true,get:function(){return chunkVRSJMPBY_js.h}});Object.defineProperty(exports,"RegistrationStatus",{enumerable:true,get:function(){return chunkVRSJMPBY_js.g}});Object.defineProperty(exports,"ReplayPlaybackSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.v}});Object.defineProperty(exports,"SearchEventsQuerySchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.q}});Object.defineProperty(exports,"StartViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.A}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.l}});Object.defineProperty(exports,"UpdateWatchProgressRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.t}});Object.defineProperty(exports,"ViewerHomeResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.o}});Object.defineProperty(exports,"ViewerRegistrationView",{enumerable:true,get:function(){return chunkVRSJMPBY_js.i}});Object.defineProperty(exports,"ViewingSessionHeartbeatResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.B}});//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/event/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{
|
|
1
|
+
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';//# sourceMappingURL=index.mjs.map
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,96 @@
|
|
|
1
1
|
export { ApiError, ApiResponse, ApiResponseSchema, PaginatedResponse, PaginationMeta, PaginationParams, PaginationParamsSchema, ResponseMessages } from './common/index.mjs';
|
|
2
2
|
export { ChangePasswordRequest, ChangePasswordRequestSchema, CognitoTokenPayload, CognitoTokenPayloadSchema, ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, LoginRequest, LoginRequestSchema, LoginResponse, LoginResponseSchema, LogoutRequestPayload, LogoutRequestSchema, RefreshTokenRequest, RefreshTokenRequestSchema, RegisterRequest, RegisterRequestSchema, RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, ResetPasswordRequest, ResetPasswordRequestSchema, VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema } from './auth/index.mjs';
|
|
3
|
-
export { AccountStatus, AdminScopeCode, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerExperienceLevel, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, UpdateUserRequest, UpdateUserRequestSchema, UserResponse, UserResponseSchema, UserRole } from './user/index.mjs';
|
|
4
|
-
export { CreateEventRequest, CreateEventRequestSchema, EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, EventCard, EventCardSchema, EventCategory, 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';
|
|
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
5
|
export { BookingOrigin, BookingPaymentStatus, BookingResponse, BookingResponseSchema, BookingState, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema } from './booking/index.mjs';
|
|
6
6
|
export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.mjs';
|
|
7
|
-
export { AccessCheckRequest, AccessCheckRequestSchema, AccessCheckResponse, AccessCheckResponseSchema, AccessReason, CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, InitiatePaymentRequest, InitiatePaymentRequestSchema, InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, PayoutResponse, PayoutResponseSchema, PayoutStatus, PaystackWebhook, PaystackWebhookSchema, PricingQuoteResponse, PricingQuoteResponseSchema, PurchaseStatusResponse, PurchaseStatusResponseSchema, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema } from './payment/index.mjs';
|
|
8
|
-
export { 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';
|
|
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';
|
|
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
|
-
import 'zod';
|
|
13
|
+
import z from 'zod';
|
|
14
|
+
|
|
15
|
+
declare const CHAT_HISTORY_DEFAULT_LIMIT = 50;
|
|
16
|
+
declare const CHAT_HISTORY_MAX_LIMIT = 100;
|
|
17
|
+
declare const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;
|
|
18
|
+
declare const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;
|
|
19
|
+
declare const CHAT_MODERATION_REASON_MAX_LENGTH = 200;
|
|
20
|
+
declare const ChatMessageUserSchema: z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
displayName: z.ZodString;
|
|
23
|
+
colorHex: z.ZodString;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const ChatMessageSchema: z.ZodObject<{
|
|
26
|
+
id: z.ZodString;
|
|
27
|
+
body: z.ZodString;
|
|
28
|
+
createdAt: z.ZodISODateTime;
|
|
29
|
+
user: z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
displayName: z.ZodString;
|
|
32
|
+
colorHex: z.ZodString;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const ChatHistoryResponseSchema: z.ZodObject<{
|
|
37
|
+
items: z.ZodArray<z.ZodObject<{
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
body: z.ZodString;
|
|
40
|
+
createdAt: z.ZodISODateTime;
|
|
41
|
+
user: z.ZodObject<{
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
displayName: z.ZodString;
|
|
44
|
+
colorHex: z.ZodString;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
47
|
+
}, 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
|
+
}, z.core.$strip>;
|
|
54
|
+
declare const PostChatMessageRequestSchema: z.ZodObject<{
|
|
55
|
+
body: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
declare const ChatModerationDeleteRequestSchema: z.ZodObject<{
|
|
58
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
declare const ChatModerationMuteRequestSchema: z.ZodObject<{
|
|
61
|
+
until: z.ZodOptional<z.ZodISODateTime>;
|
|
62
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
63
|
+
}, z.core.$strict>;
|
|
64
|
+
/**
|
|
65
|
+
* Public-shape response for `POST /chat/mute`. `mutedUntil` is the source
|
|
66
|
+
* of truth (`null` = not muted). `mutedBy` is intentionally omitted —
|
|
67
|
+
* moderation metadata stays out of the response surface.
|
|
68
|
+
*/
|
|
69
|
+
declare const ChatMuteStateResponseSchema: z.ZodObject<{
|
|
70
|
+
eventId: z.ZodString;
|
|
71
|
+
mutedUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
declare const ChatCredentialsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
+
kind: z.ZodLiteral<"in-process">;
|
|
75
|
+
wsNamespace: z.ZodString;
|
|
76
|
+
token: z.ZodString;
|
|
77
|
+
eventRoomId: z.ZodString;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"ivs">;
|
|
80
|
+
roomIdentifier: z.ZodString;
|
|
81
|
+
endpoint: z.ZodString;
|
|
82
|
+
token: z.ZodString;
|
|
83
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>], "kind">;
|
|
85
|
+
|
|
86
|
+
type ChatMessageUser = z.infer<typeof ChatMessageUserSchema>;
|
|
87
|
+
type ChatMessage = z.infer<typeof ChatMessageSchema>;
|
|
88
|
+
type ChatHistoryResponse = z.infer<typeof ChatHistoryResponseSchema>;
|
|
89
|
+
type ChatHistoryQuery = z.infer<typeof ChatHistoryQuerySchema>;
|
|
90
|
+
type PostChatMessageRequest = z.infer<typeof PostChatMessageRequestSchema>;
|
|
91
|
+
type ChatModerationDeleteRequest = z.infer<typeof ChatModerationDeleteRequestSchema>;
|
|
92
|
+
type ChatModerationMuteRequest = z.infer<typeof ChatModerationMuteRequestSchema>;
|
|
93
|
+
type ChatMuteStateResponse = z.infer<typeof ChatMuteStateResponseSchema>;
|
|
94
|
+
type ChatCredentialsResponse = z.infer<typeof ChatCredentialsResponseSchema>;
|
|
95
|
+
|
|
96
|
+
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, type PostChatMessageRequest, PostChatMessageRequestSchema };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,13 +1,96 @@
|
|
|
1
1
|
export { ApiError, ApiResponse, ApiResponseSchema, PaginatedResponse, PaginationMeta, PaginationParams, PaginationParamsSchema, ResponseMessages } from './common/index.js';
|
|
2
2
|
export { ChangePasswordRequest, ChangePasswordRequestSchema, CognitoTokenPayload, CognitoTokenPayloadSchema, ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, LoginRequest, LoginRequestSchema, LoginResponse, LoginResponseSchema, LogoutRequestPayload, LogoutRequestSchema, RefreshTokenRequest, RefreshTokenRequestSchema, RegisterRequest, RegisterRequestSchema, RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, ResetPasswordRequest, ResetPasswordRequestSchema, VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema } from './auth/index.js';
|
|
3
|
-
export { AccountStatus, AdminScopeCode, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, HostProfileResponse, HostProfileResponseSchema, KycStatus, ProducerExperienceLevel, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, UpdateUserRequest, UpdateUserRequestSchema, UserResponse, UserResponseSchema, UserRole } from './user/index.js';
|
|
4
|
-
export { CreateEventRequest, CreateEventRequestSchema, EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, EventCard, EventCardSchema, EventCategory, 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.js';
|
|
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.js';
|
|
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.js';
|
|
5
5
|
export { BookingOrigin, BookingPaymentStatus, BookingResponse, BookingResponseSchema, BookingState, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema } from './booking/index.js';
|
|
6
6
|
export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.js';
|
|
7
|
-
export { AccessCheckRequest, AccessCheckRequestSchema, AccessCheckResponse, AccessCheckResponseSchema, AccessReason, CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, InitiatePaymentRequest, InitiatePaymentRequestSchema, InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, PayoutResponse, PayoutResponseSchema, PayoutStatus, PaystackWebhook, PaystackWebhookSchema, PricingQuoteResponse, PricingQuoteResponseSchema, PurchaseStatusResponse, PurchaseStatusResponseSchema, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema } from './payment/index.js';
|
|
8
|
-
export { 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.js';
|
|
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.js';
|
|
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.js';
|
|
9
9
|
export { DisputeResponse, DisputeResponseSchema, DisputeStatus, DisputeType } from './dispute/index.js';
|
|
10
10
|
export { NotificationChannel, NotificationPriority, NotificationResponse, NotificationResponseSchema, NotificationType } from './notification/index.js';
|
|
11
11
|
export { JobInterestState } from './joblisting/index.js';
|
|
12
12
|
export { ApiErrorCode } from './errors/index.js';
|
|
13
|
-
import 'zod';
|
|
13
|
+
import z from 'zod';
|
|
14
|
+
|
|
15
|
+
declare const CHAT_HISTORY_DEFAULT_LIMIT = 50;
|
|
16
|
+
declare const CHAT_HISTORY_MAX_LIMIT = 100;
|
|
17
|
+
declare const CHAT_MESSAGE_BODY_MIN_LENGTH = 1;
|
|
18
|
+
declare const CHAT_MESSAGE_BODY_MAX_LENGTH = 500;
|
|
19
|
+
declare const CHAT_MODERATION_REASON_MAX_LENGTH = 200;
|
|
20
|
+
declare const ChatMessageUserSchema: z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
displayName: z.ZodString;
|
|
23
|
+
colorHex: z.ZodString;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
declare const ChatMessageSchema: z.ZodObject<{
|
|
26
|
+
id: z.ZodString;
|
|
27
|
+
body: z.ZodString;
|
|
28
|
+
createdAt: z.ZodISODateTime;
|
|
29
|
+
user: z.ZodObject<{
|
|
30
|
+
id: z.ZodString;
|
|
31
|
+
displayName: z.ZodString;
|
|
32
|
+
colorHex: z.ZodString;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
35
|
+
}, z.core.$strip>;
|
|
36
|
+
declare const ChatHistoryResponseSchema: z.ZodObject<{
|
|
37
|
+
items: z.ZodArray<z.ZodObject<{
|
|
38
|
+
id: z.ZodString;
|
|
39
|
+
body: z.ZodString;
|
|
40
|
+
createdAt: z.ZodISODateTime;
|
|
41
|
+
user: z.ZodObject<{
|
|
42
|
+
id: z.ZodString;
|
|
43
|
+
displayName: z.ZodString;
|
|
44
|
+
colorHex: z.ZodString;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
deletedAt: z.ZodOptional<z.ZodISODateTime>;
|
|
47
|
+
}, 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
|
+
}, z.core.$strip>;
|
|
54
|
+
declare const PostChatMessageRequestSchema: z.ZodObject<{
|
|
55
|
+
body: z.ZodString;
|
|
56
|
+
}, z.core.$strip>;
|
|
57
|
+
declare const ChatModerationDeleteRequestSchema: z.ZodObject<{
|
|
58
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, z.core.$strict>;
|
|
60
|
+
declare const ChatModerationMuteRequestSchema: z.ZodObject<{
|
|
61
|
+
until: z.ZodOptional<z.ZodISODateTime>;
|
|
62
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
63
|
+
}, z.core.$strict>;
|
|
64
|
+
/**
|
|
65
|
+
* Public-shape response for `POST /chat/mute`. `mutedUntil` is the source
|
|
66
|
+
* of truth (`null` = not muted). `mutedBy` is intentionally omitted —
|
|
67
|
+
* moderation metadata stays out of the response surface.
|
|
68
|
+
*/
|
|
69
|
+
declare const ChatMuteStateResponseSchema: z.ZodObject<{
|
|
70
|
+
eventId: z.ZodString;
|
|
71
|
+
mutedUntil: z.ZodNullable<z.ZodISODateTime>;
|
|
72
|
+
}, z.core.$strip>;
|
|
73
|
+
declare const ChatCredentialsResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
74
|
+
kind: z.ZodLiteral<"in-process">;
|
|
75
|
+
wsNamespace: z.ZodString;
|
|
76
|
+
token: z.ZodString;
|
|
77
|
+
eventRoomId: z.ZodString;
|
|
78
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
79
|
+
kind: z.ZodLiteral<"ivs">;
|
|
80
|
+
roomIdentifier: z.ZodString;
|
|
81
|
+
endpoint: z.ZodString;
|
|
82
|
+
token: z.ZodString;
|
|
83
|
+
tokenTtlSeconds: z.ZodNumber;
|
|
84
|
+
}, z.core.$strip>], "kind">;
|
|
85
|
+
|
|
86
|
+
type ChatMessageUser = z.infer<typeof ChatMessageUserSchema>;
|
|
87
|
+
type ChatMessage = z.infer<typeof ChatMessageSchema>;
|
|
88
|
+
type ChatHistoryResponse = z.infer<typeof ChatHistoryResponseSchema>;
|
|
89
|
+
type ChatHistoryQuery = z.infer<typeof ChatHistoryQuerySchema>;
|
|
90
|
+
type PostChatMessageRequest = z.infer<typeof PostChatMessageRequestSchema>;
|
|
91
|
+
type ChatModerationDeleteRequest = z.infer<typeof ChatModerationDeleteRequestSchema>;
|
|
92
|
+
type ChatModerationMuteRequest = z.infer<typeof ChatModerationMuteRequestSchema>;
|
|
93
|
+
type ChatMuteStateResponse = z.infer<typeof ChatMuteStateResponseSchema>;
|
|
94
|
+
type ChatCredentialsResponse = z.infer<typeof ChatCredentialsResponseSchema>;
|
|
95
|
+
|
|
96
|
+
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, type PostChatMessageRequest, PostChatMessageRequestSchema };
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
'use strict';var chunk5BXYTOQW_js=require('./chunk-5BXYTOQW.js'),chunk4YYJEPT6_js=require('./chunk-4YYJEPT6.js'),chunkC7FWAE4X_js=require('./chunk-C7FWAE4X.js'),chunkHDCQKBMZ_js=require('./chunk-HDCQKBMZ.js'),chunkJH4NWBFP_js=require('./chunk-JH4NWBFP.js'),chunkSKUIUOTZ_js=require('./chunk-SKUIUOTZ.js'),chunkPI4KQRG6_js=require('./chunk-PI4KQRG6.js'),chunkVPAZHULG_js=require('./chunk-VPAZHULG.js'),chunkGKYB3J5L_js=require('./chunk-GKYB3J5L.js'),chunkZOBM5OSW_js=require('./chunk-ZOBM5OSW.js'),chunkJT7SH43N_js=require('./chunk-JT7SH43N.js'),chunkVSYDI3WD_js=require('./chunk-VSYDI3WD.js'),chunkUZZ46ZPG_js=require('./chunk-UZZ46ZPG.js');Object.defineProperty(exports,"EquipmentCategory",{enumerable:true,get:function(){return chunk5BXYTOQW_js.c}});Object.defineProperty(exports,"GetProducerProfileQuerySchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.q}});Object.defineProperty(exports,"ListProducersQuerySchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.d}});Object.defineProperty(exports,"ListProducersResponseSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.j}});Object.defineProperty(exports,"MarketplaceCurrency",{enumerable:true,get:function(){return chunk5BXYTOQW_js.a}});Object.defineProperty(exports,"ProducerProfileWorkspaceSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.n}});Object.defineProperty(exports,"PublicProducerListCategorySchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.f}});Object.defineProperty(exports,"PublicProducerListEquipmentItemSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.e}});Object.defineProperty(exports,"PublicProducerListItemSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.i}});Object.defineProperty(exports,"PublicProducerListPortfolioItemSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.g}});Object.defineProperty(exports,"PublicProducerListRateCardItemSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.h}});Object.defineProperty(exports,"ServiceCategoryCode",{enumerable:true,get:function(){return chunk5BXYTOQW_js.b}});Object.defineProperty(exports,"SubmitProducerForVerificationSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.p}});Object.defineProperty(exports,"UpsertProducerWorkspaceProfileSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.o}});Object.defineProperty(exports,"WorkspaceEquipmentItemInputSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.k}});Object.defineProperty(exports,"WorkspacePortfolioItemInputSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.l}});Object.defineProperty(exports,"WorkspaceRateCardItemInputSchema",{enumerable:true,get:function(){return chunk5BXYTOQW_js.m}});Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunk4YYJEPT6_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunk4YYJEPT6_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunk4YYJEPT6_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunk4YYJEPT6_js.c}});Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunkC7FWAE4X_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunkC7FWAE4X_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.e}});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}});Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.m}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.n}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunkJH4NWBFP_js.f}});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}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkVPAZHULG_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkVPAZHULG_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.i}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkVPAZHULG_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.c}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.k}});Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkGKYB3J5L_js.c}});Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkZOBM5OSW_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkZOBM5OSW_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkZOBM5OSW_js.a}});Object.defineProperty(exports,"ApiErrorCode",{enumerable:true,get:function(){return chunkJT7SH43N_js.a}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.j}});Object.defineProperty(exports,"EndViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.B}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkVSYDI3WD_js.b}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkVSYDI3WD_js.c}});Object.defineProperty(exports,"EventCardSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.m}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkVSYDI3WD_js.e}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.l}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkVSYDI3WD_js.d}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkVSYDI3WD_js.a}});Object.defineProperty(exports,"LivePlaybackSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.t}});Object.defineProperty(exports,"MyEventCardSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.w}});Object.defineProperty(exports,"MyEventsQuerySchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.y}});Object.defineProperty(exports,"MyEventsResponseSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.x}});Object.defineProperty(exports,"MyEventsTabSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.i}});Object.defineProperty(exports,"PagedEventsResponseSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.q}});Object.defineProperty(exports,"PaginationCursorSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.o}});Object.defineProperty(exports,"PlaybackResponseSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.v}});Object.defineProperty(exports,"RegisterForEventResponseSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.r}});Object.defineProperty(exports,"RegistrationScope",{enumerable:true,get:function(){return chunkVSYDI3WD_js.g}});Object.defineProperty(exports,"RegistrationStatus",{enumerable:true,get:function(){return chunkVSYDI3WD_js.f}});Object.defineProperty(exports,"ReplayPlaybackSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.u}});Object.defineProperty(exports,"SearchEventsQuerySchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.p}});Object.defineProperty(exports,"StartViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.z}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.k}});Object.defineProperty(exports,"UpdateWatchProgressRequestSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.s}});Object.defineProperty(exports,"ViewerHomeResponseSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.n}});Object.defineProperty(exports,"ViewerRegistrationView",{enumerable:true,get:function(){return chunkVSYDI3WD_js.h}});Object.defineProperty(exports,"ViewingSessionHeartbeatResponseSchema",{enumerable:true,get:function(){return chunkVSYDI3WD_js.A}});Object.defineProperty(exports,"JobInterestState",{enumerable:true,get:function(){return chunkUZZ46ZPG_js.a}});//# sourceMappingURL=index.js.map
|
|
1
|
+
'use strict';var chunk54FMKF33_js=require('./chunk-54FMKF33.js'),chunk4YYJEPT6_js=require('./chunk-4YYJEPT6.js'),chunkC3LOLFNN_js=require('./chunk-C3LOLFNN.js'),chunkC7FWAE4X_js=require('./chunk-C7FWAE4X.js'),chunk5ROSQD5N_js=require('./chunk-5ROSQD5N.js'),chunk2TQ3BI34_js=require('./chunk-2TQ3BI34.js'),chunkW2AXUTIW_js=require('./chunk-W2AXUTIW.js'),chunkVPAZHULG_js=require('./chunk-VPAZHULG.js'),chunkGKYB3J5L_js=require('./chunk-GKYB3J5L.js'),chunkZOBM5OSW_js=require('./chunk-ZOBM5OSW.js'),chunkHZF6DJHM_js=require('./chunk-HZF6DJHM.js'),chunkVRSJMPBY_js=require('./chunk-VRSJMPBY.js'),chunkUZZ46ZPG_js=require('./chunk-UZZ46ZPG.js'),t=require('zod');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var t__default=/*#__PURE__*/_interopDefault(t);var r=50,n=100,s=1,i=500,e=200,a=t__default.default.object({id:t__default.default.string(),displayName:t__default.default.string(),colorHex:t__default.default.string().regex(/^#[0-9A-Fa-f]{6}$/)}),m=t__default.default.object({id:t__default.default.string(),body:t__default.default.string(),createdAt:t__default.default.iso.datetime(),user:a,deletedAt:t__default.default.iso.datetime().optional()}),Xe=t__default.default.object({items:t__default.default.array(m),nextCursor:t__default.default.string().nullable()}),Be=t__default.default.object({cursor:t__default.default.string().optional(),limit:t__default.default.coerce.number().int().min(1).max(n).default(r).optional()}),Fe=t__default.default.object({body:t__default.default.string().trim().min(s).max(i)}),ze=t__default.default.object({reason:t__default.default.string().trim().max(e).optional()}).strict(),Pe=t__default.default.object({until:t__default.default.iso.datetime().refine(o=>new Date(o).getTime()>Date.now(),{message:"until must be a future timestamp"}).optional(),reason:t__default.default.string().trim().max(e).optional()}).strict(),Qe=t__default.default.object({eventId:t__default.default.string(),mutedUntil:t__default.default.iso.datetime().nullable()}),$e=t__default.default.discriminatedUnion("kind",[t__default.default.object({kind:t__default.default.literal("in-process"),wsNamespace:t__default.default.string(),token:t__default.default.string(),eventRoomId:t__default.default.string()}),t__default.default.object({kind:t__default.default.literal("ivs"),roomIdentifier:t__default.default.string(),endpoint:t__default.default.string(),token:t__default.default.string(),tokenTtlSeconds:t__default.default.number().int().positive()})]);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}});Object.defineProperty(exports,"NotificationChannel",{enumerable:true,get:function(){return chunk4YYJEPT6_js.b}});Object.defineProperty(exports,"NotificationPriority",{enumerable:true,get:function(){return chunk4YYJEPT6_js.a}});Object.defineProperty(exports,"NotificationResponseSchema",{enumerable:true,get:function(){return chunk4YYJEPT6_js.d}});Object.defineProperty(exports,"NotificationType",{enumerable:true,get:function(){return chunk4YYJEPT6_js.c}});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}});Object.defineProperty(exports,"IngestCredentialsResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.d}});Object.defineProperty(exports,"IngestProtocol",{enumerable:true,get:function(){return chunkC7FWAE4X_js.b}});Object.defineProperty(exports,"PlaybackTokenResponseSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.c}});Object.defineProperty(exports,"StreamStatus",{enumerable:true,get:function(){return chunkC7FWAE4X_js.a}});Object.defineProperty(exports,"TelemetryReportRequestSchema",{enumerable:true,get:function(){return chunkC7FWAE4X_js.e}});Object.defineProperty(exports,"ChangePasswordRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.m}});Object.defineProperty(exports,"CognitoTokenPayloadSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.n}});Object.defineProperty(exports,"ForgotPasswordRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.j}});Object.defineProperty(exports,"ForgotPasswordResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.k}});Object.defineProperty(exports,"LoginRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.c}});Object.defineProperty(exports,"LoginResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.g}});Object.defineProperty(exports,"LogoutRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.i}});Object.defineProperty(exports,"RefreshTokenRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.h}});Object.defineProperty(exports,"RegisterRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.a}});Object.defineProperty(exports,"RegisterResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.b}});Object.defineProperty(exports,"ResendOtpRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.e}});Object.defineProperty(exports,"ResetPasswordRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.l}});Object.defineProperty(exports,"VerifyOtpRequestSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.d}});Object.defineProperty(exports,"VerifyOtpResponseSchema",{enumerable:true,get:function(){return chunk5ROSQD5N_js.f}});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}});Object.defineProperty(exports,"BookingOrigin",{enumerable:true,get:function(){return chunkVPAZHULG_js.a}});Object.defineProperty(exports,"BookingPaymentStatus",{enumerable:true,get:function(){return chunkVPAZHULG_js.e}});Object.defineProperty(exports,"BookingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.h}});Object.defineProperty(exports,"BookingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.b}});Object.defineProperty(exports,"ConfirmBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.g}});Object.defineProperty(exports,"CreateBookingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.f}});Object.defineProperty(exports,"CreateJobListingRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.i}});Object.defineProperty(exports,"IndicationOfInterestResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.l}});Object.defineProperty(exports,"IoiState",{enumerable:true,get:function(){return chunkVPAZHULG_js.d}});Object.defineProperty(exports,"JobListingResponseSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.j}});Object.defineProperty(exports,"JobListingState",{enumerable:true,get:function(){return chunkVPAZHULG_js.c}});Object.defineProperty(exports,"SubmitIndicationOfInterestRequestSchema",{enumerable:true,get:function(){return chunkVPAZHULG_js.k}});Object.defineProperty(exports,"ApiResponseSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.a}});Object.defineProperty(exports,"PaginationParamsSchema",{enumerable:true,get:function(){return chunkGKYB3J5L_js.b}});Object.defineProperty(exports,"ResponseMessages",{enumerable:true,get:function(){return chunkGKYB3J5L_js.c}});Object.defineProperty(exports,"DisputeResponseSchema",{enumerable:true,get:function(){return chunkZOBM5OSW_js.c}});Object.defineProperty(exports,"DisputeStatus",{enumerable:true,get:function(){return chunkZOBM5OSW_js.b}});Object.defineProperty(exports,"DisputeType",{enumerable:true,get:function(){return chunkZOBM5OSW_js.a}});Object.defineProperty(exports,"ApiErrorCode",{enumerable:true,get:function(){return chunkHZF6DJHM_js.a}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.k}});Object.defineProperty(exports,"EndViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.C}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkVRSJMPBY_js.c}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkVRSJMPBY_js.d}});Object.defineProperty(exports,"EventCardSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.n}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkVRSJMPBY_js.f}});Object.defineProperty(exports,"EventReplayAccess",{enumerable:true,get:function(){return chunkVRSJMPBY_js.a}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.m}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkVRSJMPBY_js.e}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkVRSJMPBY_js.b}});Object.defineProperty(exports,"LivePlaybackSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.u}});Object.defineProperty(exports,"MyEventCardSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.x}});Object.defineProperty(exports,"MyEventsQuerySchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.z}});Object.defineProperty(exports,"MyEventsResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.y}});Object.defineProperty(exports,"MyEventsTabSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.j}});Object.defineProperty(exports,"PagedEventsResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.r}});Object.defineProperty(exports,"PaginationCursorSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.p}});Object.defineProperty(exports,"PlaybackResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.w}});Object.defineProperty(exports,"RegisterForEventResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.s}});Object.defineProperty(exports,"RegistrationScope",{enumerable:true,get:function(){return chunkVRSJMPBY_js.h}});Object.defineProperty(exports,"RegistrationStatus",{enumerable:true,get:function(){return chunkVRSJMPBY_js.g}});Object.defineProperty(exports,"ReplayPlaybackSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.v}});Object.defineProperty(exports,"SearchEventsQuerySchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.q}});Object.defineProperty(exports,"StartViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.A}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.l}});Object.defineProperty(exports,"UpdateWatchProgressRequestSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.t}});Object.defineProperty(exports,"ViewerHomeResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.o}});Object.defineProperty(exports,"ViewerRegistrationView",{enumerable:true,get:function(){return chunkVRSJMPBY_js.i}});Object.defineProperty(exports,"ViewingSessionHeartbeatResponseSchema",{enumerable:true,get:function(){return chunkVRSJMPBY_js.B}});Object.defineProperty(exports,"JobInterestState",{enumerable:true,get:function(){return chunkUZZ46ZPG_js.a}});exports.CHAT_HISTORY_DEFAULT_LIMIT=r;exports.CHAT_HISTORY_MAX_LIMIT=n;exports.CHAT_MESSAGE_BODY_MAX_LENGTH=i;exports.CHAT_MESSAGE_BODY_MIN_LENGTH=s;exports.CHAT_MODERATION_REASON_MAX_LENGTH=e;exports.ChatCredentialsResponseSchema=$e;exports.ChatHistoryQuerySchema=Be;exports.ChatHistoryResponseSchema=Xe;exports.ChatMessageSchema=m;exports.ChatMessageUserSchema=a;exports.ChatModerationDeleteRequestSchema=ze;exports.ChatModerationMuteRequestSchema=Pe;exports.ChatMuteStateResponseSchema=Qe;exports.PostChatMessageRequestSchema=Fe;//# sourceMappingURL=index.js.map
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
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","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MAAA,EAAO,CAChB,WAAA,CAAaA,mBAAE,MAAA,EACjB,CAAC,CAAA,CACDA,kBAAAA,CAAE,MAAA,CAAO,CACP,IAAA,CAAMA,kBAAAA,CAAE,OAAA,CAAQ,KAAK,CAAA,CACrB,cAAA,CAAgBA,kBAAAA,CAAE,MAAA,EAAO,CACzB,SAAUA,kBAAAA,CAAE,MAAA,EAAO,CACnB,KAAA,CAAOA,kBAAAA,CAAE,MAAA,EAAO,CAChB,eAAA,CAAiBA,kBAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,QAAA,EACpC,CAAC,CACH,CAAC","file":"index.js","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"]}
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{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-
|
|
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
|