@kintone/dts-gen
Version:
Types for kintone js api and Types generating tools
18 lines (17 loc) • 569 B
TypeScript
import type { AxiosInstance, AxiosRequestConfig } from "axios";
export interface NewInstanceInput {
baseUrl: string;
username: string | null;
password: string | null;
oAuthToken: string | null;
apiToken: string | null;
proxy: string | null;
basicAuthPassword: string | null;
basicAuthUsername: string | null;
}
export declare const AxiosUtils: {
newAxiosInstance: (input: NewInstanceInput) => AxiosInstance;
};
export declare const VisibleForTesting: {
newAxiosInstanceInternal: (config: AxiosRequestConfig) => AxiosInstance;
};