UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

13 lines (12 loc) 576 B
import { IContext, IListResponse, IResponse } from '../../types'; import { IGenAiAgentRoute } from '..'; export interface IListAgentRoutesApiResponse extends IListResponse { routes: IGenAiAgentRoute[]; } export interface IListAgentRoutesApiRequest { agent_uuid: string; page?: number; per_page?: number; } export type ListAgentRoutesResponse = IResponse<IListAgentRoutesApiResponse>; export declare const listAgentRoutes: ({ httpClient }: IContext) => ({ agent_uuid, page, per_page }: IListAgentRoutesApiRequest) => Promise<Readonly<ListAgentRoutesResponse>>;