UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

11 lines (10 loc) 419 B
import { IResponse, IContext } from '../../types'; import { IGenAiAgent } from '..'; export interface IGetAgentApiResponse { agent: IGenAiAgent; } export interface IGetAgentApiRequest { agent_uuid: string; } export type GetAgentResponse = IResponse<IGetAgentApiResponse>; export declare const getAgent: ({ httpClient }: IContext) => ({ agent_uuid }: IGetAgentApiRequest) => Promise<Readonly<GetAgentResponse>>;