steadybit
Version:
Command-line interface to interact with the Steadybit API
17 lines (16 loc) • 552 B
TypeScript
import { Response } from 'node-fetch';
export declare const options: {
maxRetries: number;
defaultWaitTime: number;
};
export interface ApiCallArguments {
path: string;
method: string;
queryParameters?: Record<string, string>;
body?: unknown;
timeout?: number;
expect2xx?: boolean;
redirect?: 'manual' | 'error';
fullyQualifiedUrl?: boolean;
}
export declare function executeApiCall({ method, path, queryParameters, body, timeout, expect2xx, redirect, fullyQualifiedUrl, }: ApiCallArguments): Promise<Response>;