UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

13 lines (12 loc) 604 B
import { IContext, IListResponse, IResponse } from '../../types'; import { IGenAiAgent } from '..'; export interface IListAgentsByOpenAIKeyApiResponse extends IListResponse { agents: IGenAiAgent[]; } export interface IListAgentsByOpenAIKeyApiRequest { key_uuid: string; page?: number; per_page?: number; } export type ListAgentsByOpenAIKeyResponse = IResponse<IListAgentsByOpenAIKeyApiResponse>; export declare const listAgentsByOpenAIKey: ({ httpClient }: IContext) => ({ key_uuid, page, per_page }: IListAgentsByOpenAIKeyApiRequest) => Promise<Readonly<ListAgentsByOpenAIKeyResponse>>;