UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

11 lines (10 loc) 508 B
import { IResponse, IContext } from '../../types'; import { IAction } from '../../action'; export interface IConvertImageToSnapshotApiResponse { action: IAction; } export interface IConvertImageToSnapshotApiRequest { image_id: number; } export type ConvertImageToSnapshotRes = IResponse<IConvertImageToSnapshotApiResponse>; export declare const convertImageToSnapshot: ({ httpClient, }: IContext) => ({ image_id, }: IConvertImageToSnapshotApiRequest) => Promise<Readonly<ConvertImageToSnapshotRes>>;