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!

73 lines (72 loc) 2.1 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 { Episode } from './Episode'; import type { StreamingOption } from './StreamingOption'; /** * Details of a season. * @export * @interface Season */ export interface Season { /** * Type of the item. Always "season". * @type {string} * @memberof Season */ type: SeasonTypeEnum; /** * Title of the season. * @type {string} * @memberof Season */ title: string; /** * The first year that the season aired. * @type {number} * @memberof Season */ firstAirYear: number; /** * The last year that the season aired. * @type {number} * @memberof Season */ lastAirYear: number; /** * Country to streaming availability info mapping of a show. * @type {{ [key: string]: Array<StreamingOption>; }} * @memberof Season */ streamingInfo: { [key: string]: Array<StreamingOption>; }; /** * Array of the episodes belong to the season. * @type {Array<Episode>} * @memberof Season */ episodes: Array<Episode>; } /** * @export */ export declare const SeasonTypeEnum: { readonly Season: "season"; }; export type SeasonTypeEnum = typeof SeasonTypeEnum[keyof typeof SeasonTypeEnum]; /** * Check if a given object implements the Season interface. */ export declare function instanceOfSeason(value: object): boolean; export declare function SeasonFromJSON(json: any): Season; export declare function SeasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): Season; export declare function SeasonToJSON(value?: Season | null): any;