import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient";
import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient";
import * as core from "../../../../../../core";
import type * as Merge from "../../../../../index";
export declare namespace InvoicesClient {
    type Options = BaseClientOptions;
    interface RequestOptions extends BaseRequestOptions {
    }
}
export declare class InvoicesClient {
    protected readonly _options: NormalizedClientOptionsWithAuth<InvoicesClient.Options>;
    constructor(options: InvoicesClient.Options);
    /**
     * Returns a list of `Invoice` objects.
     *
     * @param {Merge.accounting.InvoicesListRequest} request
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.list({
     *         companyId: "company_id",
     *         contactId: "contact_id",
     *         createdAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         createdBefore: new Date("2024-01-15T09:30:00.000Z"),
     *         cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
     *         includeDeletedData: true,
     *         includeRemoteData: true,
     *         includeRemoteFields: true,
     *         includeShellData: true,
     *         issueDateAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         issueDateBefore: new Date("2024-01-15T09:30:00.000Z"),
     *         modifiedAfter: new Date("2024-01-15T09:30:00.000Z"),
     *         modifiedBefore: new Date("2024-01-15T09:30:00.000Z"),
     *         number: "number",
     *         pageSize: 1,
     *         remoteFields: "type",
     *         remoteId: "remote_id",
     *         showEnumOrigins: "type",
     *         status: "DRAFT",
     *         type: "ACCOUNTS_PAYABLE"
     *     })
     */
    list(request?: Merge.accounting.InvoicesListRequest, requestOptions?: InvoicesClient.RequestOptions): Promise<core.Page<Merge.accounting.Invoice, Merge.accounting.PaginatedInvoiceList>>;
    /**
     * Creates an `Invoice` object with the given values.
     *             Including a `PurchaseOrder` id in the `purchase_orders` property will generate an Accounts Payable Invoice from the specified Purchase Order(s).
     *
     *
     * @param {Merge.accounting.InvoiceEndpointRequest} request
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.create({
     *         isDebugMode: true,
     *         runAsync: true,
     *         model: {}
     *     })
     */
    create(request: Merge.accounting.InvoiceEndpointRequest, requestOptions?: InvoicesClient.RequestOptions): core.HttpResponsePromise<Merge.accounting.InvoiceResponse>;
    private __create;
    /**
     * Returns an `Invoice` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.accounting.InvoicesRetrieveRequest} request
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.retrieve("id", {
     *         includeRemoteData: true,
     *         includeRemoteFields: true,
     *         includeShellData: true,
     *         remoteFields: "type",
     *         showEnumOrigins: "type"
     *     })
     */
    retrieve(id: string, request?: Merge.accounting.InvoicesRetrieveRequest, requestOptions?: InvoicesClient.RequestOptions): core.HttpResponsePromise<Merge.accounting.Invoice>;
    private __retrieve;
    /**
     * Updates an `Invoice` object with the given `id`.
     *
     * @param {string} id
     * @param {Merge.accounting.PatchedInvoiceEndpointRequest} request
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.partialUpdate("id", {
     *         isDebugMode: true,
     *         runAsync: true,
     *         model: {}
     *     })
     */
    partialUpdate(id: string, request: Merge.accounting.PatchedInvoiceEndpointRequest, requestOptions?: InvoicesClient.RequestOptions): core.HttpResponsePromise<Merge.accounting.InvoiceResponse>;
    private __partialUpdate;
    /**
     * Creates multiple `Invoice` objects with the given values.
     *
     * @param {Merge.accounting.InvoiceBulkRequest} request
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.bulkCreate({
     *         batchItems: [{
     *                 itemId: "item_id",
     *                 payload: {}
     *             }]
     *     })
     */
    bulkCreate(request: Merge.accounting.InvoiceBulkRequest, requestOptions?: InvoicesClient.RequestOptions): core.HttpResponsePromise<Merge.accounting.AsyncBulkCreateResponse>;
    private __bulkCreate;
    /**
     * Returns the status and results of an `Invoice` bulk create batch.
     *
     * @param {string} batch_id
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.bulkRetrieve("batch_id")
     */
    bulkRetrieve(batch_id: string, requestOptions?: InvoicesClient.RequestOptions): core.HttpResponsePromise<Merge.accounting.BatchObjectsResponse>;
    private __bulkRetrieve;
    /**
     * Returns a list of `RemoteFieldClass` objects.
     *
     * @param {Merge.accounting.InvoicesLineItemsRemoteFieldClassesListRequest} request
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.lineItemsRemoteFieldClassesList({
     *         cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
     *         includeDeletedData: true,
     *         includeRemoteData: true,
     *         includeShellData: true,
     *         isCommonModelField: true,
     *         isCustom: true,
     *         pageSize: 1
     *     })
     */
    lineItemsRemoteFieldClassesList(request?: Merge.accounting.InvoicesLineItemsRemoteFieldClassesListRequest, requestOptions?: InvoicesClient.RequestOptions): Promise<core.Page<Merge.accounting.RemoteFieldClass, Merge.accounting.PaginatedRemoteFieldClassList>>;
    /**
     * Returns metadata for `Invoice` PATCHs.
     *
     * @param {string} id
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.metaPatchRetrieve("id")
     */
    metaPatchRetrieve(id: string, requestOptions?: InvoicesClient.RequestOptions): core.HttpResponsePromise<Merge.accounting.MetaResponse>;
    private __metaPatchRetrieve;
    /**
     * Returns metadata for `Invoice` POSTs.
     *
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.metaPostRetrieve()
     */
    metaPostRetrieve(requestOptions?: InvoicesClient.RequestOptions): core.HttpResponsePromise<Merge.accounting.MetaResponse>;
    private __metaPostRetrieve;
    /**
     * Returns a list of `RemoteFieldClass` objects.
     *
     * @param {Merge.accounting.InvoicesRemoteFieldClassesListRequest} request
     * @param {InvoicesClient.RequestOptions} requestOptions - Request-specific configuration.
     *
     * @example
     *     await client.accounting.invoices.remoteFieldClassesList({
     *         cursor: "cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw",
     *         includeDeletedData: true,
     *         includeRemoteData: true,
     *         includeShellData: true,
     *         isCommonModelField: true,
     *         isCustom: true,
     *         pageSize: 1
     *     })
     */
    remoteFieldClassesList(request?: Merge.accounting.InvoicesRemoteFieldClassesListRequest, requestOptions?: InvoicesClient.RequestOptions): Promise<core.Page<Merge.accounting.RemoteFieldClass, Merge.accounting.PaginatedRemoteFieldClassList>>;
}
