UNPKG

cvat-sdk

Version:

CVAT SDK is a Javascript library. It provides you access to Javascript functions and objects that simplify server interaction and provide additional functionality like data validation and serialization.

126 lines (125 loc) 4 kB
import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; export declare const SchemaApiAxiosParamCreator: (configuration?: Configuration) => { schemaRetrieve: (lang?: SchemaRetrieveLangEnum, scheme?: SchemaRetrieveSchemeEnum, options?: RawAxiosRequestConfig) => Promise<RequestArgs>; }; export declare const SchemaApiFp: (configuration?: Configuration) => { schemaRetrieve(lang?: SchemaRetrieveLangEnum, scheme?: SchemaRetrieveSchemeEnum, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>; }; export declare const SchemaApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { schemaRetrieve(requestParameters?: SchemaApiSchemaRetrieveRequest, options?: RawAxiosRequestConfig): AxiosPromise<object>; }; export interface SchemaApiSchemaRetrieveRequest { readonly lang?: SchemaRetrieveLangEnum; readonly scheme?: SchemaRetrieveSchemeEnum; } export declare class SchemaApi extends BaseAPI { schemaRetrieve(requestParameters?: SchemaApiSchemaRetrieveRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>; } export declare const SchemaRetrieveLangEnum: { readonly Af: "af"; readonly Ar: "ar"; readonly ArDz: "ar-dz"; readonly Ast: "ast"; readonly Az: "az"; readonly Be: "be"; readonly Bg: "bg"; readonly Bn: "bn"; readonly Br: "br"; readonly Bs: "bs"; readonly Ca: "ca"; readonly Ckb: "ckb"; readonly Cs: "cs"; readonly Cy: "cy"; readonly Da: "da"; readonly De: "de"; readonly Dsb: "dsb"; readonly El: "el"; readonly En: "en"; readonly EnAu: "en-au"; readonly EnGb: "en-gb"; readonly Eo: "eo"; readonly Es: "es"; readonly EsAr: "es-ar"; readonly EsCo: "es-co"; readonly EsMx: "es-mx"; readonly EsNi: "es-ni"; readonly EsVe: "es-ve"; readonly Et: "et"; readonly Eu: "eu"; readonly Fa: "fa"; readonly Fi: "fi"; readonly Fr: "fr"; readonly Fy: "fy"; readonly Ga: "ga"; readonly Gd: "gd"; readonly Gl: "gl"; readonly He: "he"; readonly Hi: "hi"; readonly Hr: "hr"; readonly Hsb: "hsb"; readonly Hu: "hu"; readonly Hy: "hy"; readonly Ia: "ia"; readonly Id: "id"; readonly Ig: "ig"; readonly Io: "io"; readonly Is: "is"; readonly It: "it"; readonly Ja: "ja"; readonly Ka: "ka"; readonly Kab: "kab"; readonly Kk: "kk"; readonly Km: "km"; readonly Kn: "kn"; readonly Ko: "ko"; readonly Ky: "ky"; readonly Lb: "lb"; readonly Lt: "lt"; readonly Lv: "lv"; readonly Mk: "mk"; readonly Ml: "ml"; readonly Mn: "mn"; readonly Mr: "mr"; readonly Ms: "ms"; readonly My: "my"; readonly Nb: "nb"; readonly Ne: "ne"; readonly Nl: "nl"; readonly Nn: "nn"; readonly Os: "os"; readonly Pa: "pa"; readonly Pl: "pl"; readonly Pt: "pt"; readonly PtBr: "pt-br"; readonly Ro: "ro"; readonly Ru: "ru"; readonly Sk: "sk"; readonly Sl: "sl"; readonly Sq: "sq"; readonly Sr: "sr"; readonly SrLatn: "sr-latn"; readonly Sv: "sv"; readonly Sw: "sw"; readonly Ta: "ta"; readonly Te: "te"; readonly Tg: "tg"; readonly Th: "th"; readonly Tk: "tk"; readonly Tr: "tr"; readonly Tt: "tt"; readonly Udm: "udm"; readonly Uk: "uk"; readonly Ur: "ur"; readonly Uz: "uz"; readonly Vi: "vi"; readonly ZhHans: "zh-hans"; readonly ZhHant: "zh-hant"; }; export type SchemaRetrieveLangEnum = typeof SchemaRetrieveLangEnum[keyof typeof SchemaRetrieveLangEnum]; export declare const SchemaRetrieveSchemeEnum: { readonly Json: "json"; readonly Yaml: "yaml"; }; export type SchemaRetrieveSchemeEnum = typeof SchemaRetrieveSchemeEnum[keyof typeof SchemaRetrieveSchemeEnum];