UNPKG

@jellyfin/sdk

Version:
70 lines (69 loc) 2.28 kB
/** * 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 { UtcTimeResponse } from '../models'; /** * TimeSyncApi - axios parameter creator * @export */ export declare const TimeSyncApiAxiosParamCreator: (configuration?: Configuration) => { /** * * @summary Gets the current UTC time. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUtcTime: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>; }; /** * TimeSyncApi - functional programming interface * @export */ export declare const TimeSyncApiFp: (configuration?: Configuration) => { /** * * @summary Gets the current UTC time. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUtcTime(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UtcTimeResponse>>; }; /** * TimeSyncApi - factory interface * @export */ export declare const TimeSyncApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * * @summary Gets the current UTC time. * @param {*} [options] Override http request option. * @throws {RequiredError} */ getUtcTime(options?: RawAxiosRequestConfig): AxiosPromise<UtcTimeResponse>; }; /** * TimeSyncApi - object-oriented interface * @export * @class TimeSyncApi * @extends {BaseAPI} */ export declare class TimeSyncApi extends BaseAPI { /** * * @summary Gets the current UTC time. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof TimeSyncApi */ getUtcTime(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UtcTimeResponse, any>>; }