import type { BaseClientOptions, BaseIdempotentRequestOptions, BaseRequestOptions } from "../../../../BaseClient.js"; import * as core from "../../../../core/index.js"; import * as BasisTheory from "../../../index.js"; export declare namespace Proxies { interface Options extends BaseClientOptions { } interface RequestOptions extends BaseRequestOptions { } interface IdempotentRequestOptions extends RequestOptions, BaseIdempotentRequestOptions { } } export declare class Proxies { protected readonly _options: Proxies.Options; constructor(_options?: Proxies.Options); /** * @param {BasisTheory.ProxiesListRequest} request * @param {Proxies.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.proxies.list() */ list(request?: BasisTheory.ProxiesListRequest, requestOptions?: Proxies.RequestOptions): Promise>; /** * @param {BasisTheory.CreateProxyRequest} request * @param {Proxies.IdempotentRequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * * @example * await client.proxies.create({ * name: "name", * destinationUrl: "destination_url" * }) */ create(request: BasisTheory.CreateProxyRequest, requestOptions?: Proxies.IdempotentRequestOptions): core.HttpResponsePromise; private __create; /** * @param {string} id * @param {Proxies.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.proxies.get("id") */ get(id: string, requestOptions?: Proxies.RequestOptions): core.HttpResponsePromise; private __get; /** * @param {string} id * @param {BasisTheory.UpdateProxyRequest} request * @param {Proxies.IdempotentRequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.proxies.update("id", { * name: "name", * destinationUrl: "destination_url" * }) */ update(id: string, request: BasisTheory.UpdateProxyRequest, requestOptions?: Proxies.IdempotentRequestOptions): core.HttpResponsePromise; private __update; /** * @param {string} id * @param {Proxies.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.proxies.delete("id") */ delete(id: string, requestOptions?: Proxies.RequestOptions): core.HttpResponsePromise; private __delete; /** * @param {string} id * @param {BasisTheory.PatchProxyRequest} request * @param {Proxies.IdempotentRequestOptions} requestOptions - Request-specific configuration. * * @throws {@link BasisTheory.BadRequestError} * @throws {@link BasisTheory.UnauthorizedError} * @throws {@link BasisTheory.ForbiddenError} * @throws {@link BasisTheory.NotFoundError} * * @example * await client.proxies.patch("id") */ patch(id: string, request?: BasisTheory.PatchProxyRequest, requestOptions?: Proxies.IdempotentRequestOptions): core.HttpResponsePromise; private __patch; protected _getCustomAuthorizationHeaders(): Promise>; }