dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
13 lines (12 loc) • 637 B
TypeScript
import { IContext, IResponse } from '../../types';
import { IGenAiAgentRoute, IGenAiAgentRouteUpdateRequest } from '..';
export interface IUpdateAgentRouteApiResponse {
agent_route: IGenAiAgentRoute;
}
export interface IUpdateAgentRouteApiRequest {
parent_agent_uuid: string;
child_agent_uuid: string;
updates: IGenAiAgentRouteUpdateRequest;
}
export type UpdateAgentRouteResponse = IResponse<IUpdateAgentRouteApiResponse>;
export declare const updateAgentRoute: ({ httpClient }: IContext) => ({ parent_agent_uuid, child_agent_uuid, updates }: IUpdateAgentRouteApiRequest) => Promise<Readonly<UpdateAgentRouteResponse>>;