dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
11 lines (10 loc) • 473 B
TypeScript
import { IResponse, IContext } from '../../types';
import { IAction } from '../../action';
export interface IShutdownDropletApiResponse {
action: IAction;
}
export interface IShutdownDropletApiRequest {
droplet_id: number;
}
export type ShutdownDropletResponse = IResponse<IShutdownDropletApiResponse>;
export declare const shutdownDroplet: ({ httpClient, }: IContext) => ({ droplet_id, }: IShutdownDropletApiRequest) => Promise<Readonly<ShutdownDropletResponse>>;