dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
14 lines (13 loc) • 577 B
TypeScript
import { IResponse, IContext } from '../../types';
import { IGenAiAgentApiKey } from '..';
export interface IUpdateAgentKeyApiResponse {
api_key_info: IGenAiAgentApiKey;
}
export interface IUpdateAgentKeyApiRequest {
agent_uuid: string;
api_key_uuid: string;
name?: string;
enabled?: boolean;
}
export type UpdateAgentKeyResponse = IResponse<IUpdateAgentKeyApiResponse>;
export declare const updateAgentKey: ({ httpClient }: IContext) => ({ agent_uuid, api_key_uuid, name, enabled }: IUpdateAgentKeyApiRequest) => Promise<Readonly<UpdateAgentKeyResponse>>;