UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

13 lines (12 loc) 596 B
import { IContext, IListResponse, IResponse } from '../../types'; import { IGenAiAgentVersion } from '..'; export interface IListAgentVersionsApiResponse extends IListResponse { versions: IGenAiAgentVersion[]; } export interface IListAgentVersionsApiRequest { agent_uuid: string; page?: number; per_page?: number; } export type ListAgentVersionsResponse = IResponse<IListAgentVersionsApiResponse>; export declare const listAgentVersions: ({ httpClient }: IContext) => ({ agent_uuid, page, per_page }: IListAgentVersionsApiRequest) => Promise<Readonly<ListAgentVersionsResponse>>;