dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
12 lines (11 loc) • 548 B
TypeScript
import { IContext, IResponse } from '../../types';
import { IGenAiAgentApiKey } from '..';
export interface IRegenerateAgentKeyApiResponse {
api_key_info: IGenAiAgentApiKey;
}
export interface IRegenerateAgentKeyApiRequest {
agent_uuid: string;
api_key_uuid: string;
}
export type RegenerateAgentKeyResponse = IResponse<IRegenerateAgentKeyApiResponse>;
export declare const regenerateAgentKey: ({ httpClient }: IContext) => ({ agent_uuid, api_key_uuid }: IRegenerateAgentKeyApiRequest) => Promise<Readonly<RegenerateAgentKeyResponse>>;