/** * This file was auto-generated by Fern from our API Definition. */ import * as environments from "../../../../environments"; import * as core from "../../../../core"; import * as Abound from "../../../index"; export declare namespace ElectronicDeliveryConsents { 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 ElectronicDeliveryConsents { protected readonly _options: ElectronicDeliveryConsents.Options; constructor(_options: ElectronicDeliveryConsents.Options); /** * Returns a list of Electronic Delivery Consents. * * @param {Abound.EDeliveryConsentListRequest} request * @param {ElectronicDeliveryConsents.RequestOptions} requestOptions - Request-specific configuration. * * @throws {@link Abound.types.BadRequestErrorSchema} * @throws {@link Abound.types.UnauthorizedErrorSchema} * @throws {@link Abound.types.NotFoundErrorSchema} * @throws {@link Abound.types.InternalServerErrorSchema} * * @example * await client.electronicDeliveryConsents.list() */ list(request?: Abound.EDeliveryConsentListRequest, requestOptions?: ElectronicDeliveryConsents.RequestOptions): Promise; protected _getAuthorizationHeader(): Promise; }