UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

15 lines (14 loc) 541 B
import { IResponse, IContext } from '../../types'; import { IGenAiAgent } from '..'; export interface IUpdateAgentApiResponse { agent: IGenAiAgent; } export interface IUpdateAgentApiRequest { agent_uuid: string; name?: string; instruction?: string; description?: string; tags?: string[]; } export type UpdateAgentResponse = IResponse<IUpdateAgentApiResponse>; export declare const updateAgent: ({ httpClient }: IContext) => ({ agent_uuid, ...body }: IUpdateAgentApiRequest) => Promise<Readonly<UpdateAgentResponse>>;