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