/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { channelsChannelEpisodesList } from "../funcs/channelsChannelEpisodesList.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "../models/operations/index.js"; import { unwrapAsync } from "../types/fp.js"; export class ChannelsChannelEpisodes extends ClientSDK { /** * List Channel Episodes by Channel * * @remarks * Lists Channel Episodes belonging to the channel passed in the path. * * ## Requires api token with one of the following permissions * ``` * Read all folder and media data * ``` */ async list( request: operations.GetChannelsChannelHashedIdChannelEpisodesRequest, options?: RequestOptions, ): Promise< Array > { return unwrapAsync(channelsChannelEpisodesList( this, request, options, )); } }