/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "./environments"; import * as core from "./core"; import { AccessTokens } from "./api/resources/accessTokens/client/Client"; import { ElectronicDeliveryConsents } from "./api/resources/electronicDeliveryConsents/client/Client"; import { Form1099Int } from "./api/resources/form1099Int/client/Client"; import { Form1099K } from "./api/resources/form1099K/client/Client"; import { Form1099Misc } from "./api/resources/form1099Misc/client/Client"; import { Form1099Nec } from "./api/resources/form1099Nec/client/Client"; import { FormW8BenE } from "./api/resources/formW8BenE/client/Client"; import { FormW8Ben } from "./api/resources/formW8Ben/client/Client"; import { FormW9 } from "./api/resources/formW9/client/Client"; import { Mailings } from "./api/resources/mailings/client/Client"; import { TaxTreaties } from "./api/resources/taxTreaties/client/Client"; import { TinVerifications } from "./api/resources/tinVerifications/client/Client"; import { Users } from "./api/resources/users/client/Client"; export declare namespace AboundClient { interface Options { environment?: core.Supplier; /** Specify a custom URL to connect the client to. */ baseUrl?: core.Supplier; apiKey: core.Supplier; fetcher?: core.FetchFunction; } 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; /** Additional headers to include in the request. */ headers?: Record; } } export declare class AboundClient { protected readonly _options: AboundClient.Options; protected _accessTokens: AccessTokens | undefined; protected _electronicDeliveryConsents: ElectronicDeliveryConsents | undefined; protected _form1099Int: Form1099Int | undefined; protected _form1099K: Form1099K | undefined; protected _form1099Misc: Form1099Misc | undefined; protected _form1099Nec: Form1099Nec | undefined; protected _formW8BenE: FormW8BenE | undefined; protected _formW8Ben: FormW8Ben | undefined; protected _formW9: FormW9 | undefined; protected _mailings: Mailings | undefined; protected _taxTreaties: TaxTreaties | undefined; protected _tinVerifications: TinVerifications | undefined; protected _users: Users | undefined; constructor(_options: AboundClient.Options); get accessTokens(): AccessTokens; get electronicDeliveryConsents(): ElectronicDeliveryConsents; get form1099Int(): Form1099Int; get form1099K(): Form1099K; get form1099Misc(): Form1099Misc; get form1099Nec(): Form1099Nec; get formW8BenE(): FormW8BenE; get formW8Ben(): FormW8Ben; get formW9(): FormW9; get mailings(): Mailings; get taxTreaties(): TaxTreaties; get tinVerifications(): TinVerifications; get users(): Users; }