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 PostChannelsChannelHashedIdChannelEpisodesPublishStatus: { 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 PostChannelsChannelHashedIdChannelEpisodesPublishStatus = ClosedEnum; /** * The episode type for your podcast. This parameter only takes effect if podcasting is enabled for the channel. */ export declare const PostChannelsChannelHashedIdChannelEpisodesEpisodeType: { readonly Full: "full"; readonly Trailer: "trailer"; readonly Bonus: "bonus"; }; /** * The episode type for your podcast. This parameter only takes effect if podcasting is enabled for the channel. */ export type PostChannelsChannelHashedIdChannelEpisodesEpisodeType = ClosedEnum; export type PostChannelsChannelHashedIdChannelEpisodesRequestBody = { /** * The alphanumeric hashed ID of the media to be added as a channel episode. */ mediaId?: string | undefined; /** * The episode's title. If not provided, the channel episode uses the title of the media used to create it. */ title?: string | undefined; /** * The episode's description or episode notes. */ description?: string | undefined; /** * A short summary of the episode that is displayed when space is limited. */ summary?: string | undefined; /** * The status of whether or not the episode has been published to your channel. */ publishStatus?: PostChannelsChannelHashedIdChannelEpisodesPublishStatus | undefined; /** * The date and time when the episode should be published in UTC timezone. Required when publish_status is 'scheduled'. Must be a valid ISO8601 timestamp in UTC (ending with 'Z'). Can only be provided when publish_status is 'scheduled.' */ publishAt?: Date | undefined; /** * The episode type for your podcast. This parameter only takes effect if podcasting is enabled for the channel. */ episodeType?: PostChannelsChannelHashedIdChannelEpisodesEpisodeType | undefined; /** * The episode number for this episode in your podcast. This parameter only takes effect if podcasting is enabled for the channel. */ episodeNumber?: number | undefined; /** * The season number for this episode in your podcast. This parameter only takes effect if podcasting is enabled for the channel. */ seasonNumber?: number | undefined; /** * Whether this episode contains explicit content. This parameter only takes effect if podcasting is enabled for the channel. */ explicitContent?: boolean | undefined; /** * Whether or not to hide this episode from your podcast feed. Set to true to hide the episode, false to show the episode. This parameter only takes effect if podcasting is enabled for the channel. */ hideFromFeed?: boolean | undefined; }; export type PostChannelsChannelHashedIdChannelEpisodesRequest = { /** * The hashed ID of the channel to add the episode to. */ channelHashedId: string; requestBody: PostChannelsChannelHashedIdChannelEpisodesRequestBody; }; /** * A channel episode represents a media that has been added to a channel. Only published * * @remarks * episodes are displayed in a channel. */ export type PostChannelsChannelHashedIdChannelEpisodesResponse = { /** * 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 PostChannelsChannelHashedIdChannelEpisodesPublishStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const PostChannelsChannelHashedIdChannelEpisodesEpisodeType$outboundSchema: z.ZodNativeEnum; /** @internal */ export type PostChannelsChannelHashedIdChannelEpisodesRequestBody$Outbound = { media_id?: string | undefined; title?: string | undefined; description?: string | undefined; summary?: string | undefined; publish_status?: string | undefined; publish_at?: 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 PostChannelsChannelHashedIdChannelEpisodesRequestBody$outboundSchema: z.ZodType; export declare function postChannelsChannelHashedIdChannelEpisodesRequestBodyToJSON(postChannelsChannelHashedIdChannelEpisodesRequestBody: PostChannelsChannelHashedIdChannelEpisodesRequestBody): string; /** @internal */ export type PostChannelsChannelHashedIdChannelEpisodesRequest$Outbound = { channelHashedId: string; RequestBody: PostChannelsChannelHashedIdChannelEpisodesRequestBody$Outbound; }; /** @internal */ export declare const PostChannelsChannelHashedIdChannelEpisodesRequest$outboundSchema: z.ZodType; export declare function postChannelsChannelHashedIdChannelEpisodesRequestToJSON(postChannelsChannelHashedIdChannelEpisodesRequest: PostChannelsChannelHashedIdChannelEpisodesRequest): string; /** @internal */ export declare const PostChannelsChannelHashedIdChannelEpisodesResponse$inboundSchema: z.ZodType; export declare function postChannelsChannelHashedIdChannelEpisodesResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=postchannelschannelhashedidchannelepisodes.d.ts.map