dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
12 lines (11 loc) • 505 B
TypeScript
import { IResponse, IContext } from '../../types';
import { IGenAiAgentApiKey } from '..';
export interface ICreateAgentKeyApiResponse {
api_key_info: IGenAiAgentApiKey;
}
export interface ICreateAgentKeyApiRequest {
agent_uuid: string;
name?: string;
}
export type CreateAgentKeyResponse = IResponse<ICreateAgentKeyApiResponse>;
export declare const createAgentKey: ({ httpClient }: IContext) => ({ agent_uuid, name }: ICreateAgentKeyApiRequest) => Promise<Readonly<CreateAgentKeyResponse>>;