UNPKG

dots-wrapper

Version:

Digital Ocean v2 api wrapper - javascript - typescript - nodejs

8 lines (7 loc) 465 B
import { IContext, IResponse } from '../../types'; import { IGenAiAnthropicKey, IGenAiExternalApiKeyCreateRequest } from '..'; export interface ICreateAnthropicKeyApiResponse { anthropic_key: IGenAiAnthropicKey; } export type CreateAnthropicKeyResponse = IResponse<ICreateAnthropicKeyApiResponse>; export declare const createAnthropicKey: ({ httpClient }: IContext) => (data: IGenAiExternalApiKeyCreateRequest) => Promise<Readonly<CreateAnthropicKeyResponse>>;