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!

63 lines (62 loc) 1.85 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 { StreamingType } from './StreamingType'; /** * A past or upcoming change in a catalog. * @export * @interface Change */ export interface Change { /** * Season number. Omitted if "target_type" is not "season"or "episode". * @type {number} * @memberof Change */ season?: number; /** * Episode number. Omitted if "target_type" is not "episode". * @type {number} * @memberof Change */ episode?: number; /** * Service id of the change. * @type {string} * @memberof Change */ service: string; /** * * @type {StreamingType} * @memberof Change */ streamingType: StreamingType; /** * Addon id, if the "streamingType" is "addon". Otherwise omitted. * @type {string} * @memberof Change */ addon?: string; /** * [Unix Time Stamp](https://www.unixtimestamp.com/) of the change. * @type {number} * @memberof Change */ time: number; } /** * Check if a given object implements the Change interface. */ export declare function instanceOfChange(value: object): boolean; export declare function ChangeFromJSON(json: any): Change; export declare function ChangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): Change; export declare function ChangeToJSON(value?: Change | null): any;