@livdot-tech/contracts 1.6.6 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/dist/auth/index.js +1 -1
  2. package/dist/auth/index.mjs +1 -1
  3. package/dist/booking/index.js +1 -1
  4. package/dist/booking/index.mjs +1 -1
  5. package/dist/chunk-C2UM2XK7.mjs +2 -0
  6. package/dist/chunk-C2UM2XK7.mjs.map +1 -0
  7. package/dist/{chunk-4WFVAXHI.mjs → chunk-CMEKX44M.mjs} +2 -2
  8. package/dist/{chunk-4WFVAXHI.mjs.map → chunk-CMEKX44M.mjs.map} +1 -1
  9. package/dist/{chunk-GG2XXZA5.mjs → chunk-DFUVVL4N.mjs} +2 -2
  10. package/dist/{chunk-GG2XXZA5.mjs.map → chunk-DFUVVL4N.mjs.map} +1 -1
  11. package/dist/chunk-JH2L3JHP.js +2 -0
  12. package/dist/chunk-JH2L3JHP.js.map +1 -0
  13. package/dist/chunk-K3Q4GN6Y.js +2 -0
  14. package/dist/chunk-K3Q4GN6Y.js.map +1 -0
  15. package/dist/chunk-KLXQP7YG.js +2 -0
  16. package/dist/chunk-KLXQP7YG.js.map +1 -0
  17. package/dist/{chunk-TASMVAYG.mjs → chunk-MME6Q6BF.mjs} +2 -2
  18. package/dist/chunk-MME6Q6BF.mjs.map +1 -0
  19. package/dist/{chunk-XSBPWLFH.js → chunk-PGF5G662.js} +2 -2
  20. package/dist/chunk-PGF5G662.js.map +1 -0
  21. package/dist/chunk-PLBAQBIM.mjs +2 -0
  22. package/dist/chunk-PLBAQBIM.mjs.map +1 -0
  23. package/dist/chunk-PLCR4DRE.mjs +2 -0
  24. package/dist/chunk-PLCR4DRE.mjs.map +1 -0
  25. package/dist/{chunk-HMVBX7N4.js → chunk-QNAYXLYH.js} +2 -2
  26. package/dist/{chunk-HMVBX7N4.js.map → chunk-QNAYXLYH.js.map} +1 -1
  27. package/dist/{chunk-JXZNFGAC.js → chunk-VF2E3A6G.js} +2 -2
  28. package/dist/{chunk-JXZNFGAC.js.map → chunk-VF2E3A6G.js.map} +1 -1
  29. package/dist/event/index.d.mts +5 -8
  30. package/dist/event/index.d.ts +5 -8
  31. package/dist/event/index.js +1 -1
  32. package/dist/event/index.mjs +1 -1
  33. package/dist/index.d.mts +204 -4
  34. package/dist/index.d.ts +204 -4
  35. package/dist/index.js +1 -1
  36. package/dist/index.js.map +1 -1
  37. package/dist/index.mjs +1 -1
  38. package/dist/index.mjs.map +1 -1
  39. package/dist/marketplace/index.d.mts +15 -14
  40. package/dist/marketplace/index.d.ts +15 -14
  41. package/dist/marketplace/index.js +1 -1
  42. package/dist/marketplace/index.mjs +1 -1
  43. package/dist/notification/index.d.mts +17 -1
  44. package/dist/notification/index.d.ts +17 -1
  45. package/dist/notification/index.js +1 -1
  46. package/dist/notification/index.mjs +1 -1
  47. package/dist/user/index.d.mts +12 -3
  48. package/dist/user/index.d.ts +12 -3
  49. package/dist/user/index.js +1 -1
  50. package/dist/user/index.mjs +1 -1
  51. package/package.json +1 -1
  52. package/dist/chunk-22MTWH56.js +0 -2
  53. package/dist/chunk-22MTWH56.js.map +0 -1
  54. package/dist/chunk-2SBD35GV.js +0 -2
  55. package/dist/chunk-2SBD35GV.js.map +0 -1
  56. package/dist/chunk-63YFUPUT.mjs +0 -2
  57. package/dist/chunk-63YFUPUT.mjs.map +0 -1
  58. package/dist/chunk-BUNVUKD6.mjs +0 -2
  59. package/dist/chunk-BUNVUKD6.mjs.map +0 -1
  60. package/dist/chunk-EQVYSKSG.mjs +0 -2
  61. package/dist/chunk-EQVYSKSG.mjs.map +0 -1
  62. package/dist/chunk-NVVIAF7D.js +0 -2
  63. package/dist/chunk-NVVIAF7D.js.map +0 -1
  64. package/dist/chunk-TASMVAYG.mjs.map +0 -1
  65. package/dist/chunk-W2AXUTIW.js +0 -2
  66. package/dist/chunk-W2AXUTIW.js.map +0 -1
  67. package/dist/chunk-WQRHUUGO.mjs +0 -2
  68. package/dist/chunk-WQRHUUGO.mjs.map +0 -1
  69. package/dist/chunk-XSBPWLFH.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/auth/auth.enums.ts","../src/auth/auth.schemas.ts"],"names":["IdentityProvider","LinkRequiredReasonEnum","OauthResolveKind","PASSWORD_REGEX","PASSWORD_MESSAGE","PasswordSchema","z","RegisterRequestSchema","UserRole","RegisterResponseSchema","LoginRequestSchema","VerifyOtpRequestSchema","ResendOtpRequestSchema","VerifyOtpResponseSchema","LoginResponseSchema","RefreshTokenRequestSchema","LogoutRequestSchema","ForgotPasswordRequestSchema","ForgotPasswordResponseSchema","ResetPasswordRequestSchema","ChangePasswordRequestSchema","OauthStartQuerySchema","OauthStartResponseSchema","OauthExchangeRequestSchema","OauthDirectTokenRequestSchema","OauthLinkCompleteRequestSchema","v","OauthLinkSendOtpRequestSchema","LinkRequiredResponseSchema","OauthLinkSendOtpResponseSchema","ProvidersListItemSchema","ProvidersListResponseSchema","OauthLinkCompleteEmailRequestSchema","ConfirmPasswordSchema","ReauthTokenResponseSchema"],"mappings":"oFAAO,IAAMA,EAAmB,CAC9B,MAAA,CAAQ,QAAA,CACR,KAAA,CAAO,OAAA,CACP,QAAA,CAAU,UAAA,CACV,OAAA,CAAS,SACX,CAAA,CAEaC,CAAAA,CAAyB,CACpC,WAAA,CAAa,aAAA,CACb,UAAA,CAAY,eACd,CAAA,CAGaC,EAAmB,CAC9B,SAAA,CAAW,WAAA,CACX,SAAA,CAAW,YACX,aAAA,CAAe,eACjB,ECbA,IAAMC,EAAiB,IAAI,MAAA,CACzB,yFACF,CAAA,CAEMC,CAAAA,CACJ,gIAAA,CAEWC,CAAAA,CAAiBC,KAAAA,CAC3B,QAAO,CACP,GAAA,CAAI,CAAA,CAAGF,CAAgB,CAAA,CACvB,KAAA,CAAMD,CAAAA,CAAgBC,CAAgB,EAK5BG,CAAAA,CAAwBD,KAAAA,CAAE,MAAA,CAAO,CAC5C,KAAA,CAAOA,KA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E,EAAsC1B,KAAAA,CAAE,MAAA,CAAO,CAC1D,WAAA,CAAaA,MAAE,MAAA,EAAO,CAAE,GAAA,CAAI,EAAE,CAAA,CAAE,GAAA,CAAI,GAAG,CAAA,CACvC,MAAOA,KAAAA,CAAE,KAAA,EAAM,CAAE,GAAA,CAAI,GAAG,CAC1B,CAAC,CAAA,CAEY2B,CAAAA,CAAwB3B,MAAE,MAAA,CAAO,CAC5C,QAAA,CAAUD,CACZ,CAAC,CAAA,CAEY6B,CAAAA,CAA4B5B,KAAAA,CAAE,OAAO,CAChD,WAAA,CAAaA,KAAAA,CAAE,MAAA,GACf,SAAA,CAAWA,KAAAA,CAAE,GAAA,CAAI,QAAA,EACnB,CAAC","file":"chunk-JXZNFGAC.js","sourcesContent":["export const IdentityProvider = {\n GOOGLE: 'GOOGLE',\n APPLE: 'APPLE',\n FACEBOOK: 'FACEBOOK',\n TWITTER: 'TWITTER',\n} as const;\nexport type IdentityProvider = (typeof IdentityProvider)[keyof typeof IdentityProvider];\nexport const LinkRequiredReasonEnum = {\n EMAIL_MATCH: 'email_match',\n EMAIL_MISS: 'email_missing',\n} as const;\nexport type LinkRequiredReasonEnum =\n (typeof LinkRequiredReasonEnum)[keyof typeof LinkRequiredReasonEnum];\nexport const OauthResolveKind = {\n SIGNED_IN: 'signed_in',\n SIGNED_UP: 'signed_up',\n LINK_REQUIRED: 'link_required',\n} as const;\nexport type OauthResolveKind = (typeof OauthResolveKind)[keyof typeof OauthResolveKind];\n","import { z } from 'zod';\nimport { UserRole } from '../user';\nimport { IdentityProvider, LinkRequiredReasonEnum } from './auth.enums';\n\nconst PASSWORD_REGEX = new RegExp(\n '^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[ !\"#$%&\\'()*+,-./:;<=>?@[\\\\]^_`{|}~]).{8,}$',\n);\n\nconst PASSWORD_MESSAGE =\n 'Password must be at least 8 characters and include an uppercase letter, a lowercase letter, a number, and a special character.';\n\nexport const PasswordSchema = z\n .string()\n .min(8, PASSWORD_MESSAGE)\n .regex(PASSWORD_REGEX, PASSWORD_MESSAGE);\n\n/**\n * Zod schema for registration request.\n */\nexport const RegisterRequestSchema = z.object({\n email: z.email().toLowerCase(),\n password: PasswordSchema,\n firstName: z.string(),\n lastName: z.string(),\n role: z.enum(UserRole).optional(),\n});\n\n/**\n * Zod schema for registration response.\n */\nexport const RegisterResponseSchema = z.object({\n username: z.string(),\n reference: z.string(),\n role: z.enum(UserRole).optional(),\n});\n\n/**\n * Zod schema for login request.\n */\nexport const LoginRequestSchema = z.object({\n email: z.email().toLowerCase(),\n password: PasswordSchema,\n role: z.enum(UserRole).optional(),\n});\n\nexport const VerifyOtpRequestSchema = z.object({\n otp: z.string().length(4),\n reference: z.string(),\n type: z.enum(['registration', 'passwordReset']),\n});\n\nexport const ResendOtpRequestSchema = z.object({\n reference: z.string(),\n type: z.enum(['registration', 'passwordReset']),\n});\n\nexport const VerifyOtpResponseSchema = z.object({\n isValid: z.boolean(),\n message: z.string(),\n reference: z.string().optional(),\n});\n\n/**\n * Zod schema for login response.\n */\nexport const LoginResponseSchema = z.object({\n AccessToken: z.string(),\n RefreshToken: z.string(),\n IdToken: z.string(),\n ExpiresIn: z.number(),\n TokenType: z.literal('Bearer'),\n});\n\n/**\n * Zod schema for refresh token request.\n */\nexport const RefreshTokenRequestSchema = z.object({\n refreshToken: z.string(),\n});\n\nexport const LogoutRequestSchema = z.object({\n refreshToken: z.string(),\n accessToken: z.string(),\n});\n\n/**\n * Zod schema for forgot password request.\n */\nexport const ForgotPasswordRequestSchema = z.object({\n email: z.email().toLowerCase(),\n});\n\nexport const ForgotPasswordResponseSchema = z.object({\n destination: z.string(),\n deliveryMedium: z.string(),\n attributeName: z.string(),\n});\n\n/**\n * Zod schema for reset password request.\n */\nexport const ResetPasswordRequestSchema = z.object({\n token: z.string(),\n newPassword: PasswordSchema,\n});\n\n/**\n * Zod schema for change password request.\n */\nexport const ChangePasswordRequestSchema = z.object({\n currentPassword: PasswordSchema,\n newPassword: PasswordSchema,\n});\n\nexport const OauthStartQuerySchema = z.object({\n redirectTo: z.string().min(1).max(2048).optional(),\n});\n\nexport const OauthStartResponseSchema = z.object({\n authorizeUrl: z.url(),\n});\n\nexport const OauthExchangeRequestSchema = z.object({\n handoff: z.string().min(16).max(128),\n});\n\nexport const OauthDirectTokenRequestSchema = z.object({\n idToken: z.string().min(1).max(8192),\n nonce: z.string().min(8).max(256),\n authorizationCode: z.string().min(1).max(1024).optional(),\n user: z\n .object({\n name: z\n .object({\n firstName: z.string().max(128).nullable().optional(),\n lastName: z.string().max(128).nullable().optional(),\n })\n .optional(),\n })\n .optional(),\n});\n\nexport const OauthLinkCompleteRequestSchema = z\n .object({\n linkHandoff: z.string().min(16).max(128),\n password: PasswordSchema.optional(),\n otpReference: z.string().min(1).max(128).optional(),\n otp: z.string().length(4).optional(),\n })\n .refine(\n (v) => (v.password ? true : v.otpReference && v.otp),\n 'either `password` OR (`otpReference` AND `otp`) must be provided',\n );\n\nexport const OauthLinkSendOtpRequestSchema = z.object({\n linkHandoff: z.string().min(16).max(128),\n});\n\nexport const LinkRequiredResponseSchema = z.object({\n kind: z.literal('link_required'),\n reason: z.enum(LinkRequiredReasonEnum),\n linkHandoff: z.string(),\n maskedEmail: z.string(),\n hasPassword: z.boolean(),\n provider: z.enum(IdentityProvider),\n});\n\nexport const OauthLinkSendOtpResponseSchema = z.object({\n otpReference: z.string(),\n});\n\nexport const ProvidersListItemSchema = z.object({\n name: z.enum(IdentityProvider),\n enabled: z.boolean(),\n canSignUp: z.boolean(),\n});\n\nexport const ProvidersListResponseSchema = z.object({\n providers: z.array(ProvidersListItemSchema),\n});\n\nexport const OauthLinkCompleteEmailRequestSchema = z.object({\n linkHandoff: z.string().min(16).max(128),\n email: z.email().max(320),\n});\n\nexport const ConfirmPasswordSchema = z.object({\n password: PasswordSchema,\n});\n\nexport const ReauthTokenResponseSchema = z.object({\n reauthToken: z.string(),\n expiresAt: z.iso.datetime(), // ISO date string ;\n});\n"]}
1
+ {"version":3,"sources":["../src/auth/auth.enums.ts","../src/auth/auth.schemas.ts"],"names":["IdentityProvider","LinkRequiredReasonEnum","OauthResolveKind","PASSWORD_REGEX","PASSWORD_MESSAGE","PasswordSchema","z","RegisterRequestSchema","UserRole","RegisterResponseSchema","LoginRequestSchema","VerifyOtpRequestSchema","ResendOtpRequestSchema","VerifyOtpResponseSchema","LoginResponseSchema","RefreshTokenRequestSchema","LogoutRequestSchema","ForgotPasswordRequestSchema","ForgotPasswordResponseSchema","ResetPasswordRequestSchema","ChangePasswordRequestSchema","OauthStartQuerySchema","OauthStartResponseSchema","OauthExchangeRequestSchema","OauthDirectTokenRequestSchema","OauthLinkCompleteRequestSchema","v","OauthLinkSendOtpRequestSchema","LinkRequiredResponseSchema","OauthLinkSendOtpResponseSchema","ProvidersListItemSchema","ProvidersListResponseSchema","OauthLinkCompleteEmailRequestSchema","ConfirmPasswordSchema","ReauthTokenResponseSchema"],"mappings":"oFAAO,IAAMA,EAAmB,CAC9B,MAAA,CAAQ,QAAA,CACR,KAAA,CAAO,OAAA,CACP,QAAA,CAAU,UAAA,CACV,OAAA,CAAS,SACX,CAAA,CAEaC,CAAAA,CAAyB,CACpC,WAAA,CAAa,aAAA,CACb,UAAA,CAAY,eACd,CAAA,CAGaC,EAAmB,CAC9B,SAAA,CAAW,WAAA,CACX,SAAA,CAAW,YACX,aAAA,CAAe,eACjB,ECbA,IAAMC,EAAiB,IAAI,MAAA,CACzB,yFACF,CAAA,CAEMC,CAAAA,CACJ,gIAAA,CAEWC,CAAAA,CAAiBC,KAAAA,CAC3B,QAAO,CACP,GAAA,CAAI,CAAA,CAAGF,CAAgB,CAAA,CACvB,KAAA,CAAMD,CAAAA,CAAgBC,CAAgB,EAK5BG,CAAAA,CAAwBD,KAAAA,CAAE,MAAA,CAAO,CAC5C,KAAA,CAAOA,KAAAA,CAAE,KAAA,EAAM,CAAE,aAAY,CAC7B,QAAA,CAAUD,CAAAA,CACV,SAAA,C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,CAAE,GAAA,CAAI,EAAE,CAAA,CAAE,GAAA,CAAI,GAAG,CAAA,CACvC,MAAOA,KAAAA,CAAE,KAAA,EAAM,CAAE,GAAA,CAAI,GAAG,CAC1B,CAAC,CAAA,CAEY2B,CAAAA,CAAwB3B,MAAE,MAAA,CAAO,CAC5C,QAAA,CAAUD,CACZ,CAAC,CAAA,CAEY6B,CAAAA,CAA4B5B,KAAAA,CAAE,OAAO,CAChD,WAAA,CAAaA,KAAAA,CAAE,MAAA,GACf,SAAA,CAAWA,KAAAA,CAAE,GAAA,CAAI,QAAA,EACnB,CAAC","file":"chunk-VF2E3A6G.js","sourcesContent":["export const IdentityProvider = {\n GOOGLE: 'GOOGLE',\n APPLE: 'APPLE',\n FACEBOOK: 'FACEBOOK',\n TWITTER: 'TWITTER',\n} as const;\nexport type IdentityProvider = (typeof IdentityProvider)[keyof typeof IdentityProvider];\nexport const LinkRequiredReasonEnum = {\n EMAIL_MATCH: 'email_match',\n EMAIL_MISS: 'email_missing',\n} as const;\nexport type LinkRequiredReasonEnum =\n (typeof LinkRequiredReasonEnum)[keyof typeof LinkRequiredReasonEnum];\nexport const OauthResolveKind = {\n SIGNED_IN: 'signed_in',\n SIGNED_UP: 'signed_up',\n LINK_REQUIRED: 'link_required',\n} as const;\nexport type OauthResolveKind = (typeof OauthResolveKind)[keyof typeof OauthResolveKind];\n","import { z } from 'zod';\nimport { UserRole } from '../user';\nimport { IdentityProvider, LinkRequiredReasonEnum } from './auth.enums';\n\nconst PASSWORD_REGEX = new RegExp(\n '^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[ !\"#$%&\\'()*+,-./:;<=>?@[\\\\]^_`{|}~]).{8,}$',\n);\n\nconst PASSWORD_MESSAGE =\n 'Password must be at least 8 characters and include an uppercase letter, a lowercase letter, a number, and a special character.';\n\nexport const PasswordSchema = z\n .string()\n .min(8, PASSWORD_MESSAGE)\n .regex(PASSWORD_REGEX, PASSWORD_MESSAGE);\n\n/**\n * Zod schema for registration request.\n */\nexport const RegisterRequestSchema = z.object({\n email: z.email().toLowerCase(),\n password: PasswordSchema,\n firstName: z.string(),\n lastName: z.string(),\n role: z.enum(UserRole).optional(),\n});\n\n/**\n * Zod schema for registration response.\n */\nexport const RegisterResponseSchema = z.object({\n username: z.string(),\n reference: z.string(),\n role: z.enum(UserRole).optional(),\n});\n\n/**\n * Zod schema for login request.\n */\nexport const LoginRequestSchema = z.object({\n email: z.email().toLowerCase(),\n password: PasswordSchema,\n role: z.enum(UserRole).optional(),\n});\n\nexport const VerifyOtpRequestSchema = z.object({\n otp: z.string().length(4),\n reference: z.string(),\n type: z.enum(['registration', 'passwordReset']),\n});\n\nexport const ResendOtpRequestSchema = z.object({\n reference: z.string(),\n type: z.enum(['registration', 'passwordReset']),\n});\n\nexport const VerifyOtpResponseSchema = z.object({\n isValid: z.boolean(),\n message: z.string(),\n reference: z.string().optional(),\n});\n\n/**\n * Zod schema for login response.\n */\nexport const LoginResponseSchema = z.object({\n AccessToken: z.string(),\n RefreshToken: z.string(),\n IdToken: z.string(),\n ExpiresIn: z.number(),\n TokenType: z.literal('Bearer'),\n});\n\n/**\n * Zod schema for refresh token request.\n */\nexport const RefreshTokenRequestSchema = z.object({\n refreshToken: z.string(),\n});\n\nexport const LogoutRequestSchema = z.object({\n refreshToken: z.string(),\n accessToken: z.string(),\n});\n\n/**\n * Zod schema for forgot password request.\n */\nexport const ForgotPasswordRequestSchema = z.object({\n email: z.email().toLowerCase(),\n});\n\nexport const ForgotPasswordResponseSchema = z.object({\n destination: z.string(),\n deliveryMedium: z.string(),\n attributeName: z.string(),\n});\n\n/**\n * Zod schema for reset password request.\n */\nexport const ResetPasswordRequestSchema = z.object({\n token: z.string(),\n newPassword: PasswordSchema,\n});\n\n/**\n * Zod schema for change password request.\n */\nexport const ChangePasswordRequestSchema = z.object({\n currentPassword: PasswordSchema,\n newPassword: PasswordSchema,\n});\n\nexport const OauthStartQuerySchema = z.object({\n redirectTo: z.string().min(1).max(2048).optional(),\n});\n\nexport const OauthStartResponseSchema = z.object({\n authorizeUrl: z.url(),\n});\n\nexport const OauthExchangeRequestSchema = z.object({\n handoff: z.string().min(16).max(128),\n});\n\nexport const OauthDirectTokenRequestSchema = z.object({\n idToken: z.string().min(1).max(8192),\n nonce: z.string().min(8).max(256),\n authorizationCode: z.string().min(1).max(1024).optional(),\n user: z\n .object({\n name: z\n .object({\n firstName: z.string().max(128).nullable().optional(),\n lastName: z.string().max(128).nullable().optional(),\n })\n .optional(),\n })\n .optional(),\n});\n\nexport const OauthLinkCompleteRequestSchema = z\n .object({\n linkHandoff: z.string().min(16).max(128),\n password: PasswordSchema.optional(),\n otpReference: z.string().min(1).max(128).optional(),\n otp: z.string().length(4).optional(),\n })\n .refine(\n (v) => (v.password ? true : v.otpReference && v.otp),\n 'either `password` OR (`otpReference` AND `otp`) must be provided',\n );\n\nexport const OauthLinkSendOtpRequestSchema = z.object({\n linkHandoff: z.string().min(16).max(128),\n});\n\nexport const LinkRequiredResponseSchema = z.object({\n kind: z.literal('link_required'),\n reason: z.enum(LinkRequiredReasonEnum),\n linkHandoff: z.string(),\n maskedEmail: z.string(),\n hasPassword: z.boolean(),\n provider: z.enum(IdentityProvider),\n});\n\nexport const OauthLinkSendOtpResponseSchema = z.object({\n otpReference: z.string(),\n});\n\nexport const ProvidersListItemSchema = z.object({\n name: z.enum(IdentityProvider),\n enabled: z.boolean(),\n canSignUp: z.boolean(),\n});\n\nexport const ProvidersListResponseSchema = z.object({\n providers: z.array(ProvidersListItemSchema),\n});\n\nexport const OauthLinkCompleteEmailRequestSchema = z.object({\n linkHandoff: z.string().min(16).max(128),\n email: z.email().max(320),\n});\n\nexport const ConfirmPasswordSchema = z.object({\n password: PasswordSchema,\n});\n\nexport const ReauthTokenResponseSchema = z.object({\n reauthToken: z.string(),\n expiresAt: z.iso.datetime(), // ISO date string ;\n});\n"]}
@@ -1066,13 +1066,9 @@ declare const AccessStartsSchema: z.ZodEnum<{
1066
1066
  IMMEDIATELY: "IMMEDIATELY";
1067
1067
  AT_EVENT_START: "AT_EVENT_START";
1068
1068
  }>;
1069
- /**
1070
- * Single wizard PATCH body. The outer shape is a plain `z.union` (not
1071
- * `z.discriminatedUnion`) because steps 2 and 3 both branch on a second
1072
- * discriminator (`paid` and `mode`) and Zod v4 doesn't permit nested
1073
- * discriminator chaining in a single schema. The cost is slightly more
1074
- * expensive parse-time matching — acceptable for ~5 branches.
1075
- */
1069
+ declare const StartViewingSessionRequestSchema: z.ZodObject<{
1070
+ deviceType: z.ZodOptional<z.ZodString>;
1071
+ }, z.core.$strip>;
1076
1072
  declare const HostEventWizardPatchSchema: z.ZodUnion<readonly [z.ZodObject<{
1077
1073
  step: z.ZodLiteral<1>;
1078
1074
  title: z.ZodString;
@@ -1199,5 +1195,6 @@ type Visibility = z.infer<typeof VisibilitySchema>;
1199
1195
  type AccessStarts = z.infer<typeof AccessStartsSchema>;
1200
1196
  type HostEventWizardPatch = z.infer<typeof HostEventWizardPatchSchema>;
1201
1197
  type RegisterForEventRequest = z.infer<typeof RegisterForEventRequestSchema>;
1198
+ type StartViewingSessionRequest = z.infer<typeof StartViewingSessionRequestSchema>;
1202
1199
 
1203
- export { type AccessStarts, AccessStartsSchema, type Category, CategorySchema, type CreateEventRequest, CreateEventRequestSchema, type Currency, CurrencySchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, type EventCard, EventCardSchema, EventCategory, EventProductionMode, EventReplayAccess, type EventResponse, EventResponseSchema, EventState, EventVisibility, type HostEventWizardPatch, HostEventWizardPatchSchema, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PlaybackResponse, PlaybackResponseSchema, type RegisterForEventRequest, RegisterForEventRequestSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type Replay, type ReplayPlayback, ReplayPlaybackSchema, ReplaySchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, SupportedCurrency, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema, type Visibility, VisibilitySchema };
1200
+ export { type AccessStarts, AccessStartsSchema, type Category, CategorySchema, type CreateEventRequest, CreateEventRequestSchema, type Currency, CurrencySchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, type EventCard, EventCardSchema, EventCategory, EventProductionMode, EventReplayAccess, type EventResponse, EventResponseSchema, EventState, EventVisibility, type HostEventWizardPatch, HostEventWizardPatchSchema, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PlaybackResponse, PlaybackResponseSchema, type RegisterForEventRequest, RegisterForEventRequestSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type Replay, type ReplayPlayback, ReplayPlaybackSchema, ReplaySchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionRequest, StartViewingSessionRequestSchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, SupportedCurrency, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema, type Visibility, VisibilitySchema };
@@ -1066,13 +1066,9 @@ declare const AccessStartsSchema: z.ZodEnum<{
1066
1066
  IMMEDIATELY: "IMMEDIATELY";
1067
1067
  AT_EVENT_START: "AT_EVENT_START";
1068
1068
  }>;
1069
- /**
1070
- * Single wizard PATCH body. The outer shape is a plain `z.union` (not
1071
- * `z.discriminatedUnion`) because steps 2 and 3 both branch on a second
1072
- * discriminator (`paid` and `mode`) and Zod v4 doesn't permit nested
1073
- * discriminator chaining in a single schema. The cost is slightly more
1074
- * expensive parse-time matching — acceptable for ~5 branches.
1075
- */
1069
+ declare const StartViewingSessionRequestSchema: z.ZodObject<{
1070
+ deviceType: z.ZodOptional<z.ZodString>;
1071
+ }, z.core.$strip>;
1076
1072
  declare const HostEventWizardPatchSchema: z.ZodUnion<readonly [z.ZodObject<{
1077
1073
  step: z.ZodLiteral<1>;
1078
1074
  title: z.ZodString;
@@ -1199,5 +1195,6 @@ type Visibility = z.infer<typeof VisibilitySchema>;
1199
1195
  type AccessStarts = z.infer<typeof AccessStartsSchema>;
1200
1196
  type HostEventWizardPatch = z.infer<typeof HostEventWizardPatchSchema>;
1201
1197
  type RegisterForEventRequest = z.infer<typeof RegisterForEventRequestSchema>;
1198
+ type StartViewingSessionRequest = z.infer<typeof StartViewingSessionRequestSchema>;
1202
1199
 
1203
- export { type AccessStarts, AccessStartsSchema, type Category, CategorySchema, type CreateEventRequest, CreateEventRequestSchema, type Currency, CurrencySchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, type EventCard, EventCardSchema, EventCategory, EventProductionMode, EventReplayAccess, type EventResponse, EventResponseSchema, EventState, EventVisibility, type HostEventWizardPatch, HostEventWizardPatchSchema, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PlaybackResponse, PlaybackResponseSchema, type RegisterForEventRequest, RegisterForEventRequestSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type Replay, type ReplayPlayback, ReplayPlaybackSchema, ReplaySchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, SupportedCurrency, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema, type Visibility, VisibilitySchema };
1200
+ export { type AccessStarts, AccessStartsSchema, type Category, CategorySchema, type CreateEventRequest, CreateEventRequestSchema, type Currency, CurrencySchema, type EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, type EventCard, EventCardSchema, EventCategory, EventProductionMode, EventReplayAccess, type EventResponse, EventResponseSchema, EventState, EventVisibility, type HostEventWizardPatch, HostEventWizardPatchSchema, type LivePlayback, LivePlaybackSchema, type MyEventCard, MyEventCardSchema, type MyEventsQuery, MyEventsQuerySchema, type MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, type PagedEventsResponse, PagedEventsResponseSchema, type PlaybackResponse, PlaybackResponseSchema, type RegisterForEventRequest, RegisterForEventRequestSchema, type RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, type Replay, type ReplayPlayback, ReplayPlaybackSchema, ReplaySchema, type SearchEventsQuery, SearchEventsQuerySchema, type StartViewingSessionRequest, StartViewingSessionRequestSchema, type StartViewingSessionResponse, StartViewingSessionResponseSchema, SupportedCurrency, type UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, type ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, type ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema, type Visibility, VisibilitySchema };
@@ -1,2 +1,2 @@
1
- 'use strict';var chunkXSBPWLFH_js=require('../chunk-XSBPWLFH.js');require('../chunk-QGEYDED6.js');Object.defineProperty(exports,"AccessStartsSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.J}});Object.defineProperty(exports,"CategorySchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.H}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.m}});Object.defineProperty(exports,"CurrencySchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.G}});Object.defineProperty(exports,"EndViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.E}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkXSBPWLFH_js.c}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkXSBPWLFH_js.e}});Object.defineProperty(exports,"EventCardSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.p}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkXSBPWLFH_js.g}});Object.defineProperty(exports,"EventProductionMode",{enumerable:true,get:function(){return chunkXSBPWLFH_js.d}});Object.defineProperty(exports,"EventReplayAccess",{enumerable:true,get:function(){return chunkXSBPWLFH_js.a}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.o}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkXSBPWLFH_js.f}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkXSBPWLFH_js.b}});Object.defineProperty(exports,"HostEventWizardPatchSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.K}});Object.defineProperty(exports,"LivePlaybackSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.w}});Object.defineProperty(exports,"MyEventCardSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.z}});Object.defineProperty(exports,"MyEventsQuerySchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.B}});Object.defineProperty(exports,"MyEventsResponseSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.A}});Object.defineProperty(exports,"MyEventsTabSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.k}});Object.defineProperty(exports,"PagedEventsResponseSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.s}});Object.defineProperty(exports,"PlaybackResponseSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.y}});Object.defineProperty(exports,"RegisterForEventRequestSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.t}});Object.defineProperty(exports,"RegisterForEventResponseSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.u}});Object.defineProperty(exports,"RegistrationScope",{enumerable:true,get:function(){return chunkXSBPWLFH_js.i}});Object.defineProperty(exports,"RegistrationStatus",{enumerable:true,get:function(){return chunkXSBPWLFH_js.h}});Object.defineProperty(exports,"ReplayPlaybackSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.x}});Object.defineProperty(exports,"ReplaySchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.F}});Object.defineProperty(exports,"SearchEventsQuerySchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.r}});Object.defineProperty(exports,"StartViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.C}});Object.defineProperty(exports,"SupportedCurrency",{enumerable:true,get:function(){return chunkXSBPWLFH_js.l}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.n}});Object.defineProperty(exports,"UpdateWatchProgressRequestSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.v}});Object.defineProperty(exports,"ViewerHomeResponseSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.q}});Object.defineProperty(exports,"ViewerRegistrationView",{enumerable:true,get:function(){return chunkXSBPWLFH_js.j}});Object.defineProperty(exports,"ViewingSessionHeartbeatResponseSchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.D}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunkXSBPWLFH_js.I}});//# sourceMappingURL=index.js.map
1
+ 'use strict';var chunkPGF5G662_js=require('../chunk-PGF5G662.js');require('../chunk-QGEYDED6.js');Object.defineProperty(exports,"AccessStartsSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.J}});Object.defineProperty(exports,"CategorySchema",{enumerable:true,get:function(){return chunkPGF5G662_js.H}});Object.defineProperty(exports,"CreateEventRequestSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.m}});Object.defineProperty(exports,"CurrencySchema",{enumerable:true,get:function(){return chunkPGF5G662_js.G}});Object.defineProperty(exports,"EndViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.E}});Object.defineProperty(exports,"EventAccessModel",{enumerable:true,get:function(){return chunkPGF5G662_js.c}});Object.defineProperty(exports,"EventAllowListType",{enumerable:true,get:function(){return chunkPGF5G662_js.e}});Object.defineProperty(exports,"EventCardSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.p}});Object.defineProperty(exports,"EventCategory",{enumerable:true,get:function(){return chunkPGF5G662_js.g}});Object.defineProperty(exports,"EventProductionMode",{enumerable:true,get:function(){return chunkPGF5G662_js.d}});Object.defineProperty(exports,"EventReplayAccess",{enumerable:true,get:function(){return chunkPGF5G662_js.a}});Object.defineProperty(exports,"EventResponseSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.o}});Object.defineProperty(exports,"EventState",{enumerable:true,get:function(){return chunkPGF5G662_js.f}});Object.defineProperty(exports,"EventVisibility",{enumerable:true,get:function(){return chunkPGF5G662_js.b}});Object.defineProperty(exports,"HostEventWizardPatchSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.L}});Object.defineProperty(exports,"LivePlaybackSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.w}});Object.defineProperty(exports,"MyEventCardSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.z}});Object.defineProperty(exports,"MyEventsQuerySchema",{enumerable:true,get:function(){return chunkPGF5G662_js.B}});Object.defineProperty(exports,"MyEventsResponseSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.A}});Object.defineProperty(exports,"MyEventsTabSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.k}});Object.defineProperty(exports,"PagedEventsResponseSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.s}});Object.defineProperty(exports,"PlaybackResponseSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.y}});Object.defineProperty(exports,"RegisterForEventRequestSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.t}});Object.defineProperty(exports,"RegisterForEventResponseSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.u}});Object.defineProperty(exports,"RegistrationScope",{enumerable:true,get:function(){return chunkPGF5G662_js.i}});Object.defineProperty(exports,"RegistrationStatus",{enumerable:true,get:function(){return chunkPGF5G662_js.h}});Object.defineProperty(exports,"ReplayPlaybackSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.x}});Object.defineProperty(exports,"ReplaySchema",{enumerable:true,get:function(){return chunkPGF5G662_js.F}});Object.defineProperty(exports,"SearchEventsQuerySchema",{enumerable:true,get:function(){return chunkPGF5G662_js.r}});Object.defineProperty(exports,"StartViewingSessionRequestSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.K}});Object.defineProperty(exports,"StartViewingSessionResponseSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.C}});Object.defineProperty(exports,"SupportedCurrency",{enumerable:true,get:function(){return chunkPGF5G662_js.l}});Object.defineProperty(exports,"UpdateEventRequestSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.n}});Object.defineProperty(exports,"UpdateWatchProgressRequestSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.v}});Object.defineProperty(exports,"ViewerHomeResponseSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.q}});Object.defineProperty(exports,"ViewerRegistrationView",{enumerable:true,get:function(){return chunkPGF5G662_js.j}});Object.defineProperty(exports,"ViewingSessionHeartbeatResponseSchema",{enumerable:true,get:function(){return chunkPGF5G662_js.D}});Object.defineProperty(exports,"VisibilitySchema",{enumerable:true,get:function(){return chunkPGF5G662_js.I}});//# sourceMappingURL=index.js.map
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- export{J as AccessStartsSchema,H as CategorySchema,m as CreateEventRequestSchema,G as CurrencySchema,E as EndViewingSessionResponseSchema,c as EventAccessModel,e as EventAllowListType,p as EventCardSchema,g as EventCategory,d as EventProductionMode,a as EventReplayAccess,o as EventResponseSchema,f as EventState,b as EventVisibility,K as HostEventWizardPatchSchema,w as LivePlaybackSchema,z as MyEventCardSchema,B as MyEventsQuerySchema,A as MyEventsResponseSchema,k as MyEventsTabSchema,s as PagedEventsResponseSchema,y as PlaybackResponseSchema,t as RegisterForEventRequestSchema,u as RegisterForEventResponseSchema,i as RegistrationScope,h as RegistrationStatus,x as ReplayPlaybackSchema,F as ReplaySchema,r as SearchEventsQuerySchema,C as StartViewingSessionResponseSchema,l as SupportedCurrency,n as UpdateEventRequestSchema,v as UpdateWatchProgressRequestSchema,q as ViewerHomeResponseSchema,j as ViewerRegistrationView,D as ViewingSessionHeartbeatResponseSchema,I as VisibilitySchema}from'../chunk-TASMVAYG.mjs';import'../chunk-X7OLLQRF.mjs';//# sourceMappingURL=index.mjs.map
1
+ export{J as AccessStartsSchema,H as CategorySchema,m as CreateEventRequestSchema,G as CurrencySchema,E as EndViewingSessionResponseSchema,c as EventAccessModel,e as EventAllowListType,p as EventCardSchema,g as EventCategory,d as EventProductionMode,a as EventReplayAccess,o as EventResponseSchema,f as EventState,b as EventVisibility,L as HostEventWizardPatchSchema,w as LivePlaybackSchema,z as MyEventCardSchema,B as MyEventsQuerySchema,A as MyEventsResponseSchema,k as MyEventsTabSchema,s as PagedEventsResponseSchema,y as PlaybackResponseSchema,t as RegisterForEventRequestSchema,u as RegisterForEventResponseSchema,i as RegistrationScope,h as RegistrationStatus,x as ReplayPlaybackSchema,F as ReplaySchema,r as SearchEventsQuerySchema,K as StartViewingSessionRequestSchema,C as StartViewingSessionResponseSchema,l as SupportedCurrency,n as UpdateEventRequestSchema,v as UpdateWatchProgressRequestSchema,q as ViewerHomeResponseSchema,j as ViewerRegistrationView,D as ViewingSessionHeartbeatResponseSchema,I as VisibilitySchema}from'../chunk-MME6Q6BF.mjs';import'../chunk-X7OLLQRF.mjs';//# sourceMappingURL=index.mjs.map
2
2
  //# sourceMappingURL=index.mjs.map
package/dist/index.d.mts CHANGED
@@ -1,13 +1,13 @@
1
1
  export { ApiError, ApiResponse, ApiResponseSchema, DEFAULT_PAGE_NUMBER, DEFAULT_PAGE_SIZE, MAX_PAGE_SIZE, PaginatedResponse, PaginationMeta, PaginationParams, PaginationParamsSchema, PaginationResponse, PaginationResponseSchema, ResponseMessages } from './common/index.mjs';
2
2
  export { ChangePasswordRequest, ChangePasswordRequestSchema, ConfirmPassword, ConfirmPasswordSchema, ForgotPasswordRequest, ForgotPasswordRequestSchema, ForgotPasswordResponseSchema, IdentityProvider, LinkRequiredReasonEnum, LinkRequiredResponse, LinkRequiredResponseSchema, LoginRequest, LoginRequestSchema, LoginResponse, LoginResponseSchema, LogoutRequestPayload, LogoutRequestSchema, OauthDirectTokenRequest, OauthDirectTokenRequestSchema, OauthExchangeRequest, OauthExchangeRequestSchema, OauthLinkCompleteEmailRequest, OauthLinkCompleteEmailRequestSchema, OauthLinkCompleteRequest, OauthLinkCompleteRequestSchema, OauthLinkSendOtpRequest, OauthLinkSendOtpRequestSchema, OauthLinkSendOtpResponse, OauthLinkSendOtpResponseSchema, OauthResolveKind, OauthStartQuery, OauthStartQuerySchema, OauthStartResponse, OauthStartResponseSchema, PasswordSchema, ProvidersListItem, ProvidersListItemSchema, ProvidersListResponse, ProvidersListResponseSchema, ReauthTokenResponse, ReauthTokenResponseSchema, RefreshTokenRequest, RefreshTokenRequestSchema, RegisterRequest, RegisterRequestSchema, RegisterResponsePayload, RegisterResponseSchema, ResendOtpRequestSchema, ResetPasswordRequest, ResetPasswordRequestSchema, VerifyOtpRequest, VerifyOtpRequestSchema, VerifyOtpResponseSchema } from './auth/index.mjs';
3
3
  export { AccountStatus, AdminScopeCode, CreateHostProfileRequest, CreateHostProfileRequestSchema, CreateProducerProfileRequest, CreateProducerProfileRequestSchema, DisplayName, DisplayNameSchema, FeedbackCategory, HostProfileResponse, HostProfileResponseSchema, KycStatus, NotificationCategory, NotificationPreferenceItem, NotificationPreferenceItemSchema, NotificationPreferencesResponse, NotificationPreferencesResponseSchema, ProducerExperienceLevel, ProducerProfileResponse, ProducerProfileResponseSchema, ProducerVerificationStatus, RESERVED_DISPLAY_NAMES, SendFeedbackRequest, SendFeedbackRequestSchema, SendFeedbackResponse, SendFeedbackResponseSchema, UpdateNotificationPreferencesRequest, UpdateNotificationPreferencesRequestSchema, UpdateUserRequest, UpdateUserRequestSchema, UpdateViewerCurrencyRequest, UpdateViewerCurrencyRequestSchema, UpdateViewerProfileRequest, UpdateViewerProfileRequestSchema, UserResponse, UserResponseSchema, UserRole, ViewerMeResponse, ViewerMeResponseSchema } from './user/index.mjs';
4
- export { AccessStarts, AccessStartsSchema, Category, CategorySchema, CreateEventRequest, CreateEventRequestSchema, Currency, CurrencySchema, EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, EventCard, EventCardSchema, EventCategory, EventProductionMode, EventReplayAccess, EventResponse, EventResponseSchema, EventState, EventVisibility, HostEventWizardPatch, HostEventWizardPatchSchema, LivePlayback, LivePlaybackSchema, MyEventCard, MyEventCardSchema, MyEventsQuery, MyEventsQuerySchema, MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, PagedEventsResponse, PagedEventsResponseSchema, PlaybackResponse, PlaybackResponseSchema, RegisterForEventRequest, RegisterForEventRequestSchema, RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, Replay, ReplayPlayback, ReplayPlaybackSchema, ReplaySchema, SearchEventsQuery, SearchEventsQuerySchema, StartViewingSessionResponse, StartViewingSessionResponseSchema, SupportedCurrency, UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema, Visibility, VisibilitySchema } from './event/index.mjs';
4
+ export { AccessStarts, AccessStartsSchema, Category, CategorySchema, CreateEventRequest, CreateEventRequestSchema, Currency, CurrencySchema, EndViewingSessionResponse, EndViewingSessionResponseSchema, EventAccessModel, EventAllowListType, EventCard, EventCardSchema, EventCategory, EventProductionMode, EventReplayAccess, EventResponse, EventResponseSchema, EventState, EventVisibility, HostEventWizardPatch, HostEventWizardPatchSchema, LivePlayback, LivePlaybackSchema, MyEventCard, MyEventCardSchema, MyEventsQuery, MyEventsQuerySchema, MyEventsResponse, MyEventsResponseSchema, MyEventsTabSchema, PagedEventsResponse, PagedEventsResponseSchema, PlaybackResponse, PlaybackResponseSchema, RegisterForEventRequest, RegisterForEventRequestSchema, RegisterForEventResponse, RegisterForEventResponseSchema, RegistrationScope, RegistrationStatus, Replay, ReplayPlayback, ReplayPlaybackSchema, ReplaySchema, SearchEventsQuery, SearchEventsQuerySchema, StartViewingSessionRequest, StartViewingSessionRequestSchema, StartViewingSessionResponse, StartViewingSessionResponseSchema, SupportedCurrency, UpdateEventRequest, UpdateEventRequestSchema, UpdateWatchProgressRequestSchema, ViewerHomeResponse, ViewerHomeResponseSchema, ViewerRegistrationView, ViewingSessionHeartbeatResponse, ViewingSessionHeartbeatResponseSchema, Visibility, VisibilitySchema } from './event/index.mjs';
5
5
  export { BOOKING_TERMINAL_STATES, BOOKING_TRANSITION_ACTORS, BOOKING_TRANSITION_TARGETS_REQUIRING_REASON, BookingOrigin, BookingPaymentStatus, BookingResponse, BookingResponseSchema, BookingState, BookingTransitionActor, BookingTransitionKey, CompleteMarketplaceBookingRequest, CompleteMarketplaceBookingRequestSchema, CompleteMarketplaceBookingResponse, CompleteMarketplaceBookingResponseSchema, ConfirmBookingRequest, ConfirmBookingRequestSchema, CreateBookingRequest, CreateBookingRequestSchema, CreateJobListingRequest, CreateJobListingRequestSchema, CreateMarketplaceBookingRequest, CreateMarketplaceBookingRequestSchema, CreateMarketplaceBookingResponse, CreateMarketplaceBookingResponseSchema, CreateMarketplaceJobListingRequest, CreateMarketplaceJobListingRequestSchema, GetMarketplaceHiringThreadResponse, GetMarketplaceHiringThreadResponseSchema, IndicationOfInterestResponse, IndicationOfInterestResponseSchema, IoiState, JobListingResponse, JobListingResponseSchema, JobListingState, JobLocation, ListMarketplaceHiringThreadMessagesQuery, ListMarketplaceHiringThreadMessagesQuerySchema, ListMarketplaceHiringThreadMessagesResponse, ListMarketplaceHiringThreadMessagesResponseSchema, ListMarketplaceJobListingsQuery, ListMarketplaceJobListingsQuerySchema, MarkMarketplaceHiringThreadReadRequest, MarkMarketplaceHiringThreadReadRequestSchema, MarkMarketplaceHiringThreadReadResponse, MarkMarketplaceHiringThreadReadResponseSchema, MarketplaceBookingResponse, MarketplaceBookingResponseSchema, MarketplaceHiringMessage, MarketplaceHiringMessageAttachmentSchema, MarketplaceHiringMessageSchema, MarketplaceHiringThread, MarketplaceHiringThreadSchema, MarketplaceIndicationOfInterestHostItem, MarketplaceIndicationOfInterestHostItemSchema, MarketplaceIndicationOfInterestResponse, MarketplaceIndicationOfInterestResponseSchema, MarketplaceJobListingResponse, MarketplaceJobListingResponseSchema, MessageDeliveryStatus, PostMarketplaceHiringThreadMessageRequest, PostMarketplaceHiringThreadMessageRequestSchema, PostMarketplaceHiringThreadMessageResponse, PostMarketplaceHiringThreadMessageResponseSchema, SubmitIndicationOfInterestRequest, SubmitIndicationOfInterestRequestSchema, SubmitMarketplaceIndicationOfInterestRequest, SubmitMarketplaceIndicationOfInterestRequestSchema, TransitionMarketplaceBookingRequest, TransitionMarketplaceBookingRequestSchema, TransitionMarketplaceBookingResponse, TransitionMarketplaceBookingResponseSchema, UpdateMarketplaceJobListingRequest, UpdateMarketplaceJobListingRequestSchema, VALID_BOOKING_TRANSITIONS, bookingTransitionKey, bookingTransitionRequiresReason, canActorPerformBookingTransition, getAllowedBookingTargetStates, getBookingTransitionActors, isValidBookingTransition } from './booking/index.mjs';
6
6
  export { IngestCredentialsResponse, IngestCredentialsResponseSchema, IngestProtocol, PlaybackTokenResponse, PlaybackTokenResponseSchema, StreamStatus, TelemetryReportRequest, TelemetryReportRequestSchema } from './streaming/index.mjs';
7
7
  export { AccessCheckRequest, AccessCheckRequestSchema, AccessCheckResponse, AccessCheckResponseSchema, AccessReason, CreatePurchaseResponse, CreatePurchaseResponseSchema, CtaMode, EntitlementStatus, InitiatePaymentRequest, InitiatePaymentRequestSchema, InitiatePaymentResponse, InitiatePaymentResponseSchema, PaymentStatus, PayoutResponse, PayoutResponseSchema, PayoutStatus, PaystackWebhook, PaystackWebhookSchema, PlatformChargeStatus, PricingQuoteResponse, PricingQuoteResponseSchema, PurchaseStatusResponse, PurchaseStatusResponseSchema, ReceiptUrlResponse, ReceiptUrlResponseSchema, ReplayPurchasePayment, ReplayPurchasePaymentSchema, ReplayPurchaseResponse, ReplayPurchaseResponseSchema, ReplayPurchaseRow, ReplayPurchaseRowSchema, ReplayPurchaseStatus, TransactionStatus, TransactionType, ViewerEventDetailResponseSchema } from './payment/index.mjs';
8
- export { AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, GetProducerProfileQuery, GetProducerProfileQuerySchema, ListProducersQuery, ListProducersQuerySchema, MarketplaceCurrency, ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, PublicProducerListCategory, PublicProducerListCategorySchema, PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, PublicProducerListItem, PublicProducerListItemSchema, PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, SubmitProducerForVerification, SubmitProducerForVerificationSchema, UpsertProducerWorkspaceProfile, UpsertProducerWorkspaceProfileSchema, WorkspaceEquipmentItemInput, WorkspaceEquipmentItemInputSchema, WorkspacePortfolioItemInput, WorkspacePortfolioItemInputSchema, WorkspaceRateCardItemInput, WorkspaceRateCardItemInputSchema } from './marketplace/index.mjs';
8
+ export { AdminApproveProducerVerification, AdminApproveProducerVerificationSchema, AdminProducerVerificationReasonBody, AdminProducerVerificationReasonBodySchema, AdminRejectProducerVerification, AdminRejectProducerVerificationSchema, AdminSuspendProducerVerification, AdminSuspendProducerVerificationSchema, EquipmentCategory, GetProducerProfileQuery, GetProducerProfileQuerySchema, ListProducersQuery, ListProducersQuerySchema, MarketplaceCurrency, ProducerProfileWorkspace, ProducerProfileWorkspaceSchema, PublicProducerListCategory, PublicProducerListCategorySchema, PublicProducerListEquipmentItem, PublicProducerListEquipmentItemSchema, PublicProducerListItem, PublicProducerListItemSchema, PublicProducerListPortfolioItem, PublicProducerListPortfolioItemSchema, PublicProducerListRateCardItem, PublicProducerListRateCardItemSchema, ServiceCategoryCode, ServiceCategoryListResponse, ServiceCategoryListResponseSchema, 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
- export { NotificationChannel, NotificationPriority, NotificationResponse, NotificationResponseSchema, NotificationType } from './notification/index.mjs';
10
+ export { NotificationChannel, NotificationPriority, NotificationResponse, NotificationResponseSchema, NotificationType, RegisterPushDeviceRequest, RegisterPushDeviceRequestSchema, RegisterPushDeviceResponse, RegisterPushDeviceResponseSchema } from './notification/index.mjs';
11
11
  export { JobInterestState } from './joblisting/index.mjs';
12
12
  export { ApiErrorCode } from './errors/index.mjs';
13
13
  import z from 'zod';
@@ -436,6 +436,201 @@ declare const HostEventWizardCurrentResponseSchema: z.ZodObject<{
436
436
  productionNotes: z.ZodNullable<z.ZodString>;
437
437
  crewIds: z.ZodArray<z.ZodUUID>;
438
438
  }, z.core.$strip>;
439
+ declare const ReadinessItemSchema: z.ZodObject<{
440
+ id: z.ZodEnum<{
441
+ EVENT_DETAILS: "EVENT_DETAILS";
442
+ PRICING: "PRICING";
443
+ CREW_ASSIGNED: "CREW_ASSIGNED";
444
+ STREAM_TESTED: "STREAM_TESTED";
445
+ }>;
446
+ label: z.ZodString;
447
+ state: z.ZodEnum<{
448
+ PASS: "PASS";
449
+ WARN: "WARN";
450
+ FAIL: "FAIL";
451
+ }>;
452
+ detail: z.ZodOptional<z.ZodString>;
453
+ cta: z.ZodOptional<z.ZodEnum<{
454
+ OPEN_WIZARD_STEP_1: "OPEN_WIZARD_STEP_1";
455
+ OPEN_WIZARD_STEP_2: "OPEN_WIZARD_STEP_2";
456
+ OPEN_WIZARD_STEP_3: "OPEN_WIZARD_STEP_3";
457
+ OPEN_HIRE_CREW: "OPEN_HIRE_CREW";
458
+ RUN_STREAM_TEST: "RUN_STREAM_TEST";
459
+ }>>;
460
+ }, z.core.$strip>;
461
+ declare const HostEventReadinessBlockSchema: z.ZodObject<{
462
+ progress: z.ZodNumber;
463
+ items: z.ZodArray<z.ZodObject<{
464
+ id: z.ZodEnum<{
465
+ EVENT_DETAILS: "EVENT_DETAILS";
466
+ PRICING: "PRICING";
467
+ CREW_ASSIGNED: "CREW_ASSIGNED";
468
+ STREAM_TESTED: "STREAM_TESTED";
469
+ }>;
470
+ label: z.ZodString;
471
+ state: z.ZodEnum<{
472
+ PASS: "PASS";
473
+ WARN: "WARN";
474
+ FAIL: "FAIL";
475
+ }>;
476
+ detail: z.ZodOptional<z.ZodString>;
477
+ cta: z.ZodOptional<z.ZodEnum<{
478
+ OPEN_WIZARD_STEP_1: "OPEN_WIZARD_STEP_1";
479
+ OPEN_WIZARD_STEP_2: "OPEN_WIZARD_STEP_2";
480
+ OPEN_WIZARD_STEP_3: "OPEN_WIZARD_STEP_3";
481
+ OPEN_HIRE_CREW: "OPEN_HIRE_CREW";
482
+ RUN_STREAM_TEST: "RUN_STREAM_TEST";
483
+ }>>;
484
+ }, z.core.$strip>>;
485
+ canGoLive: z.ZodBoolean;
486
+ blockReason: z.ZodOptional<z.ZodEnum<{
487
+ CHECKLIST_INCOMPLETE: "CHECKLIST_INCOMPLETE";
488
+ BEFORE_WINDOW: "BEFORE_WINDOW";
489
+ AFTER_WINDOW: "AFTER_WINDOW";
490
+ ALREADY_LIVE: "ALREADY_LIVE";
491
+ NOT_OWNED: "NOT_OWNED";
492
+ }>>;
493
+ }, z.core.$strip>;
494
+ declare const HostEventDashboardResponseSchema: z.ZodObject<{
495
+ serverNow: z.ZodISODateTime;
496
+ event: z.ZodObject<{
497
+ id: z.ZodString;
498
+ title: z.ZodString;
499
+ description: z.ZodNullable<z.ZodString>;
500
+ coverImageUrl: z.ZodNullable<z.ZodString>;
501
+ scheduledStart: z.ZodISODateTime;
502
+ scheduledEnd: z.ZodISODateTime;
503
+ timezone: z.ZodString;
504
+ accessModel: z.ZodString;
505
+ ticketPrice: z.ZodNullable<z.ZodString>;
506
+ currency: z.ZodString;
507
+ shareableUrl: z.ZodNullable<z.ZodString>;
508
+ state: z.ZodString;
509
+ visibility: z.ZodString;
510
+ productionMode: z.ZodNullable<z.ZodEnum<{
511
+ SELF: "SELF";
512
+ HIRE: "HIRE";
513
+ }>>;
514
+ goLiveEligibleAt: z.ZodNullable<z.ZodISODateTime>;
515
+ }, z.core.$strip>;
516
+ ticketing: z.ZodObject<{
517
+ totalPayingCapacity: z.ZodNullable<z.ZodNumber>;
518
+ ticketsSold: z.ZodNumber;
519
+ revenue: z.ZodString;
520
+ currency: z.ZodString;
521
+ }, z.core.$strip>;
522
+ audience: z.ZodObject<{
523
+ registered: z.ZodNumber;
524
+ byCountry: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>;
525
+ byTrafficSource: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodNumber>>;
526
+ }, z.core.$strip>;
527
+ readiness: z.ZodObject<{
528
+ progress: z.ZodNumber;
529
+ items: z.ZodArray<z.ZodObject<{
530
+ id: z.ZodEnum<{
531
+ EVENT_DETAILS: "EVENT_DETAILS";
532
+ PRICING: "PRICING";
533
+ CREW_ASSIGNED: "CREW_ASSIGNED";
534
+ STREAM_TESTED: "STREAM_TESTED";
535
+ }>;
536
+ label: z.ZodString;
537
+ state: z.ZodEnum<{
538
+ PASS: "PASS";
539
+ WARN: "WARN";
540
+ FAIL: "FAIL";
541
+ }>;
542
+ detail: z.ZodOptional<z.ZodString>;
543
+ cta: z.ZodOptional<z.ZodEnum<{
544
+ OPEN_WIZARD_STEP_1: "OPEN_WIZARD_STEP_1";
545
+ OPEN_WIZARD_STEP_2: "OPEN_WIZARD_STEP_2";
546
+ OPEN_WIZARD_STEP_3: "OPEN_WIZARD_STEP_3";
547
+ OPEN_HIRE_CREW: "OPEN_HIRE_CREW";
548
+ RUN_STREAM_TEST: "RUN_STREAM_TEST";
549
+ }>>;
550
+ }, z.core.$strip>>;
551
+ canGoLive: z.ZodBoolean;
552
+ blockReason: z.ZodOptional<z.ZodEnum<{
553
+ CHECKLIST_INCOMPLETE: "CHECKLIST_INCOMPLETE";
554
+ BEFORE_WINDOW: "BEFORE_WINDOW";
555
+ AFTER_WINDOW: "AFTER_WINDOW";
556
+ ALREADY_LIVE: "ALREADY_LIVE";
557
+ NOT_OWNED: "NOT_OWNED";
558
+ }>>;
559
+ }, z.core.$strip>;
560
+ production: z.ZodObject<{
561
+ mode: z.ZodEnum<{
562
+ SELF: "SELF";
563
+ HIRE: "HIRE";
564
+ }>;
565
+ crew: z.ZodArray<z.ZodObject<{
566
+ bookingId: z.ZodString;
567
+ producerProfileId: z.ZodString;
568
+ role: z.ZodNullable<z.ZodString>;
569
+ state: z.ZodString;
570
+ confirmedAt: z.ZodNullable<z.ZodISODateTime>;
571
+ }, z.core.$strip>>;
572
+ }, z.core.$strip>;
573
+ streaming: z.ZodObject<{
574
+ status: z.ZodEnum<{
575
+ READY_FOR_TEST: "READY_FOR_TEST";
576
+ LIVE: "LIVE";
577
+ NOT_PROVISIONED: "NOT_PROVISIONED";
578
+ }>;
579
+ serverUrl: z.ZodNullable<z.ZodString>;
580
+ streamKey: z.ZodNull;
581
+ lastStreamTestAt: z.ZodNullable<z.ZodISODateTime>;
582
+ testAvailableAt: z.ZodNullable<z.ZodISODateTime>;
583
+ }, z.core.$strip>;
584
+ share: z.ZodObject<{
585
+ shareableUrl: z.ZodString;
586
+ slug: z.ZodString;
587
+ }, z.core.$strip>;
588
+ }, z.core.$strip>;
589
+ declare const HostEventReadinessResponseSchema: z.ZodObject<{
590
+ progress: z.ZodNumber;
591
+ items: z.ZodArray<z.ZodObject<{
592
+ id: z.ZodEnum<{
593
+ EVENT_DETAILS: "EVENT_DETAILS";
594
+ PRICING: "PRICING";
595
+ CREW_ASSIGNED: "CREW_ASSIGNED";
596
+ STREAM_TESTED: "STREAM_TESTED";
597
+ }>;
598
+ label: z.ZodString;
599
+ state: z.ZodEnum<{
600
+ PASS: "PASS";
601
+ WARN: "WARN";
602
+ FAIL: "FAIL";
603
+ }>;
604
+ detail: z.ZodOptional<z.ZodString>;
605
+ cta: z.ZodOptional<z.ZodEnum<{
606
+ OPEN_WIZARD_STEP_1: "OPEN_WIZARD_STEP_1";
607
+ OPEN_WIZARD_STEP_2: "OPEN_WIZARD_STEP_2";
608
+ OPEN_WIZARD_STEP_3: "OPEN_WIZARD_STEP_3";
609
+ OPEN_HIRE_CREW: "OPEN_HIRE_CREW";
610
+ RUN_STREAM_TEST: "RUN_STREAM_TEST";
611
+ }>>;
612
+ }, z.core.$strip>>;
613
+ canGoLive: z.ZodBoolean;
614
+ blockReason: z.ZodOptional<z.ZodEnum<{
615
+ CHECKLIST_INCOMPLETE: "CHECKLIST_INCOMPLETE";
616
+ BEFORE_WINDOW: "BEFORE_WINDOW";
617
+ AFTER_WINDOW: "AFTER_WINDOW";
618
+ ALREADY_LIVE: "ALREADY_LIVE";
619
+ NOT_OWNED: "NOT_OWNED";
620
+ }>>;
621
+ }, z.core.$strip>;
622
+ declare const HostEventShareResponseSchema: z.ZodObject<{
623
+ shareableUrl: z.ZodString;
624
+ slug: z.ZodString;
625
+ copyText: z.ZodString;
626
+ channelLinks: z.ZodObject<{
627
+ twitter: z.ZodString;
628
+ facebook: z.ZodString;
629
+ email: z.ZodString;
630
+ embed: z.ZodString;
631
+ }, z.core.$strip>;
632
+ qrCodeDataUrl: z.ZodString;
633
+ }, z.core.$strip>;
439
634
 
440
635
  type HostEventsTab = z.infer<typeof HostEventsTabSchema>;
441
636
  type HostOverviewQuery = z.infer<typeof HostOverviewQuerySchema>;
@@ -460,5 +655,10 @@ type HostEventFullResponse = z.infer<typeof HostEventFullResponseSchema>;
460
655
  type HostEventWizardCurrentResponse = z.infer<typeof HostEventWizardCurrentResponseSchema>;
461
656
  type HostSearchHit = z.infer<typeof HostSearchHitSchema>;
462
657
  type HostActivityListPage = z.infer<typeof HostActivityListPageSchema>;
658
+ type ReadinessItem = z.infer<typeof ReadinessItemSchema>;
659
+ type HostEventReadinessBlock = z.infer<typeof HostEventReadinessBlockSchema>;
660
+ type HostEventDashboardResponse = z.infer<typeof HostEventDashboardResponseSchema>;
661
+ type HostEventReadinessResponse = z.infer<typeof HostEventReadinessResponseSchema>;
662
+ type HostEventShareResponse = z.infer<typeof HostEventShareResponseSchema>;
463
663
 
464
- export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type CancelEvent, CancelEventSchema, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, HOST_DATE_RANGE_PRESETS, type HostActivityListPage, HostActivityListPageSchema, type HostEventCancelResponse, HostEventCancelResponseSchema, type HostEventFullResponse, HostEventFullResponseSchema, type HostEventPatch, HostEventPatchSchema, type HostEventRowResponse, HostEventRowResponseSchema, type HostEventWizardCurrentResponse, HostEventWizardCurrentResponseSchema, type HostEventWizardPublishResponse, HostEventWizardPublishResponseSchema, type HostEventWizardStart, type HostEventWizardStartResponse, HostEventWizardStartResponseSchema, HostEventWizardStartSchema, type HostEventWizardStepResponse, HostEventWizardStepResponseSchema, type HostEventsListPagedQuery, HostEventsListPagedQuerySchema, type HostEventsListQuery, HostEventsListQuerySchema, type HostEventsTab, type HostEventsTabCountsResponse, HostEventsTabCountsResponseSchema, type HostEventsTabResponse, type HostEventsTabResponseClass, HostEventsTabResponseClassSchema, HostEventsTabResponseSchema, HostEventsTabSchema, type HostNotificationsUnreadCount, HostNotificationsUnreadCountSchema, type HostOverviewQuery, HostOverviewQuerySchema, type HostOverviewResponse, HostOverviewResponseSchema, type HostSearchHit, HostSearchHitSchema, type HostSearchQuery, HostSearchQuerySchema, type HostSearchResponse, HostSearchResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema };
664
+ export { CHAT_MESSAGE_BODY_MAX_LENGTH, CHAT_MESSAGE_BODY_MIN_LENGTH, CHAT_MODERATION_REASON_MAX_LENGTH, type CancelEvent, CancelEventSchema, type ChatCredentialsResponse, ChatCredentialsResponseSchema, type ChatHistoryResponse, ChatHistoryResponseSchema, type ChatMessage, ChatMessageSchema, type ChatMessageUser, ChatMessageUserSchema, type ChatModerationDeleteRequest, ChatModerationDeleteRequestSchema, type ChatModerationMuteRequest, ChatModerationMuteRequestSchema, type ChatMuteStateResponse, ChatMuteStateResponseSchema, HOST_DATE_RANGE_PRESETS, type HostActivityListPage, HostActivityListPageSchema, type HostEventCancelResponse, HostEventCancelResponseSchema, type HostEventDashboardResponse, HostEventDashboardResponseSchema, type HostEventFullResponse, HostEventFullResponseSchema, type HostEventPatch, HostEventPatchSchema, type HostEventReadinessBlock, HostEventReadinessBlockSchema, type HostEventReadinessResponse, HostEventReadinessResponseSchema, type HostEventRowResponse, HostEventRowResponseSchema, type HostEventShareResponse, HostEventShareResponseSchema, type HostEventWizardCurrentResponse, HostEventWizardCurrentResponseSchema, type HostEventWizardPublishResponse, HostEventWizardPublishResponseSchema, type HostEventWizardStart, type HostEventWizardStartResponse, HostEventWizardStartResponseSchema, HostEventWizardStartSchema, type HostEventWizardStepResponse, HostEventWizardStepResponseSchema, type HostEventsListPagedQuery, HostEventsListPagedQuerySchema, type HostEventsListQuery, HostEventsListQuerySchema, type HostEventsTab, type HostEventsTabCountsResponse, HostEventsTabCountsResponseSchema, type HostEventsTabResponse, type HostEventsTabResponseClass, HostEventsTabResponseClassSchema, HostEventsTabResponseSchema, HostEventsTabSchema, type HostNotificationsUnreadCount, HostNotificationsUnreadCountSchema, type HostOverviewQuery, HostOverviewQuerySchema, type HostOverviewResponse, HostOverviewResponseSchema, type HostSearchHit, HostSearchHitSchema, type HostSearchQuery, HostSearchQuerySchema, type HostSearchResponse, HostSearchResponseSchema, type InProcessChatCredentials, InProcessChatCredentialsSchema, type IvsChatCredentials, IvsChatCredentialsSchema, type PostChatMessageRequest, PostChatMessageRequestSchema, type ReadinessItem, ReadinessItemSchema };