@jellyfin/sdk
Version:
A TypeScript SDK for Jellyfin.
70 lines (69 loc) • 2.36 kB
TypeScript
/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit the class manually.
*
* Jellyfin API
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
import type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import { type RequestArgs, BaseAPI } from '../base';
import type { ConfigImageTypes } from '../models';
/**
* TmdbApi - axios parameter creator
* @export
*/
export declare const TmdbApiAxiosParamCreator: (configuration?: Configuration) => {
/**
*
* @summary Gets the TMDb image configuration options.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
tmdbClientConfiguration: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* TmdbApi - functional programming interface
* @export
*/
export declare const TmdbApiFp: (configuration?: Configuration) => {
/**
*
* @summary Gets the TMDb image configuration options.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
tmdbClientConfiguration(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfigImageTypes>>;
};
/**
* TmdbApi - factory interface
* @export
*/
export declare const TmdbApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
*
* @summary Gets the TMDb image configuration options.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
tmdbClientConfiguration(options?: RawAxiosRequestConfig): AxiosPromise<ConfigImageTypes>;
};
/**
* TmdbApi - object-oriented interface
* @export
* @class TmdbApi
* @extends {BaseAPI}
*/
export declare class TmdbApi extends BaseAPI {
/**
*
* @summary Gets the TMDb image configuration options.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof TmdbApi
*/
tmdbClientConfiguration(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfigImageTypes, any>>;
}