dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
12 lines (11 loc) • 523 B
TypeScript
import { IResponse, IContext } from '../../types';
import { IAction } from '../../action';
export interface IGetDropletActionApiRequest {
action_id: string | number;
droplet_id: number;
}
export interface IGetDropletActionApiResponse {
action: IAction;
}
export type GetDropletActionResponse = IResponse<IGetDropletActionApiResponse>;
export declare const getDropletAction: ({ httpClient, }: IContext) => ({ action_id, droplet_id, }: IGetDropletActionApiRequest) => Promise<Readonly<GetDropletActionResponse>>;