import { type PagedList } from '../../models/accountingData/index.js'; import { type BaseRequestBuilder, type Guid, type RequestConfiguration, type RequestInformation, type RequestsMetadata } from '@microsoft/kiota-abstractions'; /** * Builds and executes requests for operations under /v2/accountingData */ export interface AccountingDataRequestBuilder extends BaseRequestBuilder { /** * Delivers a paginated overview of finalized accounting transactions, including invoices, credits, and their cancellations and corrections. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} * @throws {ErrorResponse} error when the service returns a 404 status code */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * Delivers a paginated overview of finalized accounting transactions, including invoices, credits, and their cancellations and corrections. * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Delivers a paginated overview of finalized accounting transactions, including invoices, credits, and their cancellations and corrections. */ export interface AccountingDataRequestBuilderGetQueryParameters { /** * Gets the unique identifier for the firm. */ companyId?: Guid; /** * If true, exports total sums in the currency of the departure country */ exportCurrencyInDepartureCountry?: boolean; /** * Filters documents starting from a specific date and time */ from?: Date; /** * Number of the page of items to fetch. */ pageNumber?: number; /** * Size of the page that is specified by `pageNumber`. */ pageSize?: number; /** * Filters documents up to a specific date and time */ to?: Date; /** * Specifies the type of document. 0 = Invoice, 1 = Credit, 2 = Invoice correction, 3 = Invoice cancellation, 4 = credit cancellation, 5 = invoice correction cancellation */ type?: number; } /** * Uri template for the request builder. */ export declare const AccountingDataRequestBuilderUriTemplate = "{+baseurl}/v2/accountingData{?companyId*,exportCurrencyInDepartureCountry*,from*,pageNumber*,pageSize*,to*,type*}"; /** * Metadata for all the requests in the request builder. */ export declare const AccountingDataRequestBuilderRequestsMetadata: RequestsMetadata; //# sourceMappingURL=index.d.ts.map