UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

12 lines (11 loc) 496 B
import { IResponse, IContext } from '../../types'; import { IAction } from '../../action'; export interface IGetImageActionApiRequest { image_id: number; action_id: number; } export interface IGetImageActionApiResponse { action: IAction; } export type GetImageActionResponse = IResponse<IGetImageActionApiResponse>; export declare const getImageAction: ({ httpClient, }: IContext) => ({ image_id, action_id, }: IGetImageActionApiRequest) => Promise<Readonly<GetImageActionResponse>>;