import { ApplePayClient } from "./api/resources/applePay/client/Client"; import { BankAccountsClient } from "./api/resources/bankAccounts/client/Client"; import { BookingsClient } from "./api/resources/bookings/client/Client"; import { CardsClient } from "./api/resources/cards/client/Client"; import { CashDrawersClient } from "./api/resources/cashDrawers/client/Client"; import { CatalogClient } from "./api/resources/catalog/client/Client"; import { ChannelsClient } from "./api/resources/channels/client/Client"; import { CheckoutClient } from "./api/resources/checkout/client/Client"; import { CustomersClient } from "./api/resources/customers/client/Client"; import { DevicesClient } from "./api/resources/devices/client/Client"; import { DisputesClient } from "./api/resources/disputes/client/Client"; import { EmployeesClient } from "./api/resources/employees/client/Client"; import { EventsClient } from "./api/resources/events/client/Client"; import { GiftCardsClient } from "./api/resources/giftCards/client/Client"; import { InventoryClient } from "./api/resources/inventory/client/Client"; import { InvoicesClient } from "./api/resources/invoices/client/Client"; import { LaborClient } from "./api/resources/labor/client/Client"; import { LocationsClient } from "./api/resources/locations/client/Client"; import { LoyaltyClient } from "./api/resources/loyalty/client/Client"; import { MerchantsClient } from "./api/resources/merchants/client/Client"; import { OAuthClient } from "./api/resources/oAuth/client/Client"; import { OrdersClient } from "./api/resources/orders/client/Client"; import { PaymentsClient } from "./api/resources/payments/client/Client"; import { PayoutsClient } from "./api/resources/payouts/client/Client"; import { RefundsClient } from "./api/resources/refunds/client/Client"; import { ReportingClient } from "./api/resources/reporting/client/Client"; import { SitesClient } from "./api/resources/sites/client/Client"; import { SnippetsClient } from "./api/resources/snippets/client/Client"; import { SubscriptionsClient } from "./api/resources/subscriptions/client/Client"; import { TeamClient } from "./api/resources/team/client/Client"; import { TeamMembersClient } from "./api/resources/teamMembers/client/Client"; import { TerminalClient } from "./api/resources/terminal/client/Client"; import { TransferOrdersClient } from "./api/resources/transferOrders/client/Client"; import { V1TransactionsClient } from "./api/resources/v1Transactions/client/Client"; import { VendorsClient } from "./api/resources/vendors/client/Client"; import { WebhooksClient } from "./api/resources/webhooks/client/Client"; import type { BaseClientOptions, BaseRequestOptions } from "./BaseClient"; import { type NormalizedClientOptionsWithAuth } from "./BaseClient"; import * as core from "./core"; export declare namespace SquareClient { type Options = BaseClientOptions; interface RequestOptions extends BaseRequestOptions { } } export declare class SquareClient { protected readonly _options: NormalizedClientOptionsWithAuth; protected _oAuth: OAuthClient | undefined; protected _v1Transactions: V1TransactionsClient | undefined; protected _applePay: ApplePayClient | undefined; protected _bankAccounts: BankAccountsClient | undefined; protected _bookings: BookingsClient | undefined; protected _cards: CardsClient | undefined; protected _catalog: CatalogClient | undefined; protected _channels: ChannelsClient | undefined; protected _customers: CustomersClient | undefined; protected _devices: DevicesClient | undefined; protected _disputes: DisputesClient | undefined; protected _employees: EmployeesClient | undefined; protected _events: EventsClient | undefined; protected _giftCards: GiftCardsClient | undefined; protected _inventory: InventoryClient | undefined; protected _invoices: InvoicesClient | undefined; protected _labor: LaborClient | undefined; protected _locations: LocationsClient | undefined; protected _loyalty: LoyaltyClient | undefined; protected _merchants: MerchantsClient | undefined; protected _checkout: CheckoutClient | undefined; protected _orders: OrdersClient | undefined; protected _payments: PaymentsClient | undefined; protected _payouts: PayoutsClient | undefined; protected _refunds: RefundsClient | undefined; protected _sites: SitesClient | undefined; protected _snippets: SnippetsClient | undefined; protected _subscriptions: SubscriptionsClient | undefined; protected _teamMembers: TeamMembersClient | undefined; protected _team: TeamClient | undefined; protected _terminal: TerminalClient | undefined; protected _transferOrders: TransferOrdersClient | undefined; protected _vendors: VendorsClient | undefined; protected _reporting: ReportingClient | undefined; protected _cashDrawers: CashDrawersClient | undefined; protected _webhooks: WebhooksClient | undefined; constructor(options?: SquareClient.Options); get oAuth(): OAuthClient; get v1Transactions(): V1TransactionsClient; get applePay(): ApplePayClient; get bankAccounts(): BankAccountsClient; get bookings(): BookingsClient; get cards(): CardsClient; get catalog(): CatalogClient; get channels(): ChannelsClient; get customers(): CustomersClient; get devices(): DevicesClient; get disputes(): DisputesClient; get employees(): EmployeesClient; get events(): EventsClient; get giftCards(): GiftCardsClient; get inventory(): InventoryClient; get invoices(): InvoicesClient; get labor(): LaborClient; get locations(): LocationsClient; get loyalty(): LoyaltyClient; get merchants(): MerchantsClient; get checkout(): CheckoutClient; get orders(): OrdersClient; get payments(): PaymentsClient; get payouts(): PayoutsClient; get refunds(): RefundsClient; get sites(): SitesClient; get snippets(): SnippetsClient; get subscriptions(): SubscriptionsClient; get teamMembers(): TeamMembersClient; get team(): TeamClient; get terminal(): TerminalClient; get transferOrders(): TransferOrdersClient; get vendors(): VendorsClient; get reporting(): ReportingClient; get cashDrawers(): CashDrawersClient; get webhooks(): WebhooksClient; /** * Make a passthrough request using the SDK's configured auth, retry, logging, etc. * This is useful for making requests to endpoints not yet supported in the SDK. * The input can be a URL string, URL object, or Request object. Relative paths are resolved against the configured base URL. * * @param {Request | string | URL} input - The URL, path, or Request object. * @param {RequestInit} init - Standard fetch RequestInit options. * @param {core.PassthroughRequest.RequestOptions} requestOptions - Per-request overrides (timeout, retries, headers, abort signal). * @returns {Promise} A standard Response object. */ fetch(input: Request | string | URL, init?: RequestInit, requestOptions?: core.PassthroughRequest.RequestOptions): Promise; }