/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "./environments"; import * as core from "./core"; import { Numbers } from "./api/resources/numbers/client/Client"; import { Calls } from "./api/resources/calls/client/Client"; import { Usage } from "./api/resources/usage/client/Client"; import { Actions } from "./api/resources/actions/client/Client"; import { Agents } from "./api/resources/agents/client/Client"; import { Voices } from "./api/resources/voices/client/Client"; import { Webhooks } from "./api/resources/webhooks/client/Client"; import { Prompts } from "./api/resources/prompts/client/Client"; import { VectorDatabases } from "./api/resources/vectorDatabases/client/Client"; import { AccountConnections } from "./api/resources/accountConnections/client/Client"; export declare namespace VocodeClient { interface Options { environment?: core.Supplier; token?: core.Supplier; } interface RequestOptions { /** The maximum time to wait for a response in seconds. */ timeoutInSeconds?: number; /** The number of times to retry the request. Defaults to 2. */ maxRetries?: number; /** A hook to abort the request. */ abortSignal?: AbortSignal; } } export declare class VocodeClient { protected readonly _options: VocodeClient.Options; constructor(_options?: VocodeClient.Options); /** * Endpoint that serves Prometheus metrics. * * @param {VocodeClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.metricsMetricsGet() */ metricsMetricsGet(requestOptions?: VocodeClient.RequestOptions): Promise; protected _numbers: Numbers | undefined; get numbers(): Numbers; protected _calls: Calls | undefined; get calls(): Calls; protected _usage: Usage | undefined; get usage(): Usage; protected _actions: Actions | undefined; get actions(): Actions; protected _agents: Agents | undefined; get agents(): Agents; protected _voices: Voices | undefined; get voices(): Voices; protected _webhooks: Webhooks | undefined; get webhooks(): Webhooks; protected _prompts: Prompts | undefined; get prompts(): Prompts; protected _vectorDatabases: VectorDatabases | undefined; get vectorDatabases(): VectorDatabases; protected _accountConnections: AccountConnections | undefined; get accountConnections(): AccountConnections; protected _getAuthorizationHeader(): Promise; }