import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * The status of whether or not the episode has been published to your channel. */ export declare const PutChannelEpisodesChannelEpisodeHashedIdPublishStatus: { readonly Draft: "draft"; readonly Published: "published"; readonly Scheduled: "scheduled"; }; /** * The status of whether or not the episode has been published to your channel. */ export type PutChannelEpisodesChannelEpisodeHashedIdPublishStatus = ClosedEnum; /** * The type of episode. This parameter only takes effect if podcasting is enabled for the channel. */ export declare const PutChannelEpisodesChannelEpisodeHashedIdEpisodeType: { readonly Full: "full"; readonly Trailer: "trailer"; readonly Bonus: "bonus"; }; /** * The type of episode. This parameter only takes effect if podcasting is enabled for the channel. */ export type PutChannelEpisodesChannelEpisodeHashedIdEpisodeType = ClosedEnum; export type PutChannelEpisodesChannelEpisodeHashedIdRequestBody = { /** * The episode's description or episode notes. */ description?: string | null | undefined; /** * The episode's title. If not provided, the channel episode uses the title of the media used to create it. */ title?: string | null | undefined; /** * The unique alphanumeric identifier for the media associated with this channel episode. */ mediaHashedId?: string | undefined; /** * The unique alphanumeric identifier for the live stream event associated with this channel episode. */ liveStreamEventHashedId?: string | undefined; /** * A short summary of the episode that is displayed when space is limited. */ summary?: string | null | undefined; /** * The status of whether or not the episode has been published to your channel. */ publishStatus?: PutChannelEpisodesChannelEpisodeHashedIdPublishStatus | undefined; /** * The date and time when the episode is scheduled to be published in UTC timezone. */ publishAt?: Date | undefined; /** * Additional notes for the episode. */ episodeNotes?: string | undefined; /** * The type of episode. This parameter only takes effect if podcasting is enabled for the channel. */ episodeType?: PutChannelEpisodesChannelEpisodeHashedIdEpisodeType | undefined; /** * The number of the episode. This parameter only takes effect if podcasting is enabled for the channel. */ episodeNumber?: number | undefined; /** * The season number of the episode. This parameter only takes effect if podcasting is enabled for the channel. */ seasonNumber?: number | undefined; /** * Whether the episode contains explicit content. This parameter only takes effect if podcasting is enabled for the channel. */ explicitContent?: boolean | undefined; /** * Whether to hide the episode from the podcast feed. This parameter only takes effect if podcasting is enabled for the channel. */ hideFromFeed?: boolean | undefined; }; export type PutChannelEpisodesChannelEpisodeHashedIdRequest = { /** * The hashed id of the Channel Episode */ channelEpisodeHashedId: string; requestBody?: PutChannelEpisodesChannelEpisodeHashedIdRequestBody | undefined; }; /** * A channel episode represents a media that has been added to a channel. Only published * * @remarks * episodes are displayed in a channel. */ export type PutChannelEpisodesChannelEpisodeHashedIdResponse = { /** * A unique alphanumeric identifier for the channel episode's channel. */ channelHashedId: string; /** * The date when the channel episode was originally created. */ created: Date; /** * A cursor for stable pagination based on current `sort_by` order. You can pass this to `cursor[before]` or `cursor[after]` as a parameter to fetch the records before or after this record in the same sort order. This is only populated if records were fetched with `cursor[enabled]`, or `cursor[before]` or `cursor[after]`. */ cursor?: string | null | undefined; /** * The channel episode's description or episode notes. */ description: string; /** * A short summary of the episode that is displayed when space is limited. */ summary: string; /** * A unique alphanumeric identifier for the channel episode. */ hashedId: string; /** * A unique alphanumeric identifier for the channel episode's media. */ mediaHashedId: string; /** * Whether the channel episode has been published or is still in draft form. */ published: boolean; /** * The date and time when the episode is scheduled to be published in UTC timezone (only present when publish_status is 'scheduled'). */ publishAt?: Date | undefined; /** * The title of the channel episode */ title: string | null; /** * The date when the channel was last updated. */ updated: Date; }; /** @internal */ export declare const PutChannelEpisodesChannelEpisodeHashedIdPublishStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PutChannelEpisodesChannelEpisodeHashedIdEpisodeType$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PutChannelEpisodesChannelEpisodeHashedIdRequestBody$Outbound = { description?: string | null | undefined; title?: string | null | undefined; media_hashed_id?: string | undefined; live_stream_event_hashed_id?: string | undefined; summary?: string | null | undefined; publish_status?: string | undefined; publish_at?: string | undefined; episode_notes?: string | undefined; episode_type?: string | undefined; episode_number?: number | undefined; season_number?: number | undefined; explicit_content?: boolean | undefined; hide_from_feed?: boolean | undefined; }; /** @internal */ export declare const PutChannelEpisodesChannelEpisodeHashedIdRequestBody$outboundSchema: z.ZodType; export declare function putChannelEpisodesChannelEpisodeHashedIdRequestBodyToJSON(putChannelEpisodesChannelEpisodeHashedIdRequestBody: PutChannelEpisodesChannelEpisodeHashedIdRequestBody): string; /** @internal */ export type PutChannelEpisodesChannelEpisodeHashedIdRequest$Outbound = { channelEpisodeHashedId: string; RequestBody?: PutChannelEpisodesChannelEpisodeHashedIdRequestBody$Outbound | undefined; }; /** @internal */ export declare const PutChannelEpisodesChannelEpisodeHashedIdRequest$outboundSchema: z.ZodType; export declare function putChannelEpisodesChannelEpisodeHashedIdRequestToJSON(putChannelEpisodesChannelEpisodeHashedIdRequest: PutChannelEpisodesChannelEpisodeHashedIdRequest): string; /** @internal */ export declare const PutChannelEpisodesChannelEpisodeHashedIdResponse$inboundSchema: z.ZodType; export declare function putChannelEpisodesChannelEpisodeHashedIdResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=putchannelepisodeschannelepisodehashedid.d.ts.map