import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient"; import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient"; import * as core from "../../../../core"; import type * as Square from "../../../index"; export declare namespace BankAccountsClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class BankAccountsClient { protected readonly _options: NormalizedClientOptionsWithAuth; constructor(options?: BankAccountsClient.Options); /** * Returns a list of [BankAccount](entity:BankAccount) objects linked to a Square account. * * @param {Square.ListBankAccountsRequest} request * @param {BankAccountsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.bankAccounts.list({ * cursor: "cursor", * limit: 1, * locationId: "location_id", * customerId: "customer_id" * }) */ list(request?: Square.ListBankAccountsRequest, requestOptions?: BankAccountsClient.RequestOptions): Promise>; /** * Store a bank account on file for a square account * * @param {Square.CreateBankAccountRequest} request * @param {BankAccountsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.bankAccounts.createBankAccount({ * idempotencyKey: "4e43559a-f0fd-47d3-9da2-7ea1f97d94be", * sourceId: "bnon:CA4SEHsQwr0rx6DbWLD5BQaqMnoYAQ", * customerId: "HM3B2D5JKGZ69359BTEHXM2V8M" * }) */ createBankAccount(request: Square.CreateBankAccountRequest, requestOptions?: BankAccountsClient.RequestOptions): core.HttpResponsePromise; private __createBankAccount; /** * Returns details of a [BankAccount](entity:BankAccount) identified by V1 bank account ID. * * @param {Square.GetByV1IdBankAccountsRequest} request * @param {BankAccountsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.bankAccounts.getByV1Id({ * v1BankAccountId: "v1_bank_account_id" * }) */ getByV1Id(request: Square.GetByV1IdBankAccountsRequest, requestOptions?: BankAccountsClient.RequestOptions): core.HttpResponsePromise; private __getByV1Id; /** * Retrieve details of a [BankAccount](entity:BankAccount) bank account linked to a Square account. * * @param {Square.GetBankAccountsRequest} request * @param {BankAccountsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.bankAccounts.get({ * bankAccountId: "bank_account_id" * }) */ get(request: Square.GetBankAccountsRequest, requestOptions?: BankAccountsClient.RequestOptions): core.HttpResponsePromise; private __get; /** * Disable a bank account. * * @param {Square.DisableBankAccountRequest} request * @param {BankAccountsClient.RequestOptions} requestOptions - Request-specific configuration. * * @example * await client.bankAccounts.disableBankAccount({ * bankAccountId: "bank_account_id" * }) */ disableBankAccount(request: Square.DisableBankAccountRequest, requestOptions?: BankAccountsClient.RequestOptions): core.HttpResponsePromise; private __disableBankAccount; }