UNPKG

streaming-availability

Version:

Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 59 countries!

60 lines (59 loc) 1.79 kB
/** * Streaming Availability API * Streaming Availability API allows getting streaming availability information of movies and series; and querying the list of available shows on streaming services such as Netflix, Disney+, Apple TV, Max and Hulu across 59 countries! * * The version of the OpenAPI document: 3.3.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { StreamingOption } from './StreamingOption'; /** * Details of an episode. * @export * @interface Episode */ export interface Episode { /** * Type of the item. Always "episode". * @type {string} * @memberof Episode */ type: EpisodeTypeEnum; /** * Title of the episode. * @type {string} * @memberof Episode */ title: string; /** * The year that the movie was released. * @type {number} * @memberof Episode */ year: number; /** * Country to streaming availability info mapping of a show. * @type {{ [key: string]: Array<StreamingOption>; }} * @memberof Episode */ streamingInfo: { [key: string]: Array<StreamingOption>; }; } /** * @export */ export declare const EpisodeTypeEnum: { readonly Episode: "episode"; }; export type EpisodeTypeEnum = typeof EpisodeTypeEnum[keyof typeof EpisodeTypeEnum]; /** * Check if a given object implements the Episode interface. */ export declare function instanceOfEpisode(value: object): boolean; export declare function EpisodeFromJSON(json: any): Episode; export declare function EpisodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Episode; export declare function EpisodeToJSON(value?: Episode | null): any;