/* tslint:disable */ /* eslint-disable */ /** * Jellyfin API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 10.8.9 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import * as runtime from '../runtime'; import type { ConfigImageTypes, } from '../models'; import { ConfigImageTypesFromJSON, ConfigImageTypesToJSON, } from '../models'; /** * */ export class TmdbApi extends runtime.BaseAPI { /** * Gets the TMDb image configuration options. */ async tmdbClientConfigurationRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { const queryParameters: any = {}; const headerParameters: runtime.HTTPHeaders = {}; if (this.configuration && this.configuration.apiKey) { headerParameters["Authorization"] = this.configuration.apiKey("Authorization"); // CustomAuthentication authentication } const response = await this.request({ path: `/Tmdb/ClientConfiguration`, method: 'GET', headers: headerParameters, query: queryParameters, }, initOverrides); return new runtime.JSONApiResponse(response, (jsonValue) => ConfigImageTypesFromJSON(jsonValue)); } /** * Gets the TMDb image configuration options. */ async tmdbClientConfiguration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { const response = await this.tmdbClientConfigurationRaw(initOverrides); return await response.value(); } }