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.04 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 { Addon } from './Addon'; import type { ImageSet } from './ImageSet'; import type { SupportedStreamingTypes } from './SupportedStreamingTypes'; /** * Details of a service. * @export * @interface Service */ export interface Service { /** * Id of the service. * @type {string} * @memberof Service */ id: string; /** * Name of the service. * @type {string} * @memberof Service */ name: string; /** * Link to the homepage of the service. * @type {string} * @memberof Service */ homePage: string; /** * Associated theme color hex code of the service. * @type {string} * @memberof Service */ themeColorCode: string; /** * * @type {ImageSet} * @memberof Service */ images: ImageSet; /** * * @type {SupportedStreamingTypes} * @memberof Service */ supportedStreamingTypes: SupportedStreamingTypes; /** * Map of id to details of the addons supported by the service in this country. * @type {{ [key: string]: Addon; }} * @memberof Service */ addons: { [key: string]: Addon; }; } /** * Check if a given object implements the Service interface. */ export declare function instanceOfService(value: object): boolean; export declare function ServiceFromJSON(json: any): Service; export declare function ServiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Service; export declare function ServiceToJSON(value?: Service | null): any;