dots-wrapper
Version:
Digital Ocean v2 api wrapper - javascript - typescript - nodejs
12 lines (11 loc) • 599 B
TypeScript
import { IContext, IResponse } from '../../types';
import { IGenAiAnthropicKey, IGenAiExternalApiKeyUpdateRequest } from '..';
export interface IUpdateAnthropicKeyApiResponse {
anthropic_key: IGenAiAnthropicKey;
}
export interface IUpdateAnthropicKeyApiRequest {
key_uuid: string;
updates: IGenAiExternalApiKeyUpdateRequest;
}
export type UpdateAnthropicKeyResponse = IResponse<IUpdateAnthropicKeyApiResponse>;
export declare const updateAnthropicKey: ({ httpClient }: IContext) => ({ key_uuid, updates }: IUpdateAnthropicKeyApiRequest) => Promise<Readonly<UpdateAnthropicKeyResponse>>;