@novo-learning/novo-sdk
Version:
SDK for the Novolanguage Speech Analysis API
14 lines (13 loc) • 1.28 kB
TypeScript
import { Configuration } from "./configuration";
import { RequestArgs } from "./base";
import { AxiosInstance, AxiosResponse } from 'axios';
export declare const DUMMY_BASE_URL = "https://example.com";
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
export declare const toPathString: (url: URL) => string;
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;