UNPKG

quickbooks-api

Version:

A modular TypeScript SDK for seamless integration with Intuit QuickBooks APIs. Provides robust authentication handling and future-ready foundation for accounting, payments, and commerce operations.

32 lines (31 loc) 880 B
import { type Invoice, type Query } from '../../../types/types.js'; import { BaseQueryBuilder } from '../common/base-query-builder.js'; /** * The Invoice Query Builder */ export declare class InvoiceQueryBuilder extends BaseQueryBuilder<Invoice> { /** * Constructor * @param endpoint - The Endpoint * @param baseQuery - The Base Query */ constructor(endpoint: string, baseQuery: Query); /** * Where Due Date * @param date - The due date * @returns The Query Builder */ whereDueDate(date: Date): this; /** * Where Customer ID * @param customerId - The customer ID * @returns The Query Builder */ whereCustomerId(customerId: string): this; /** * Where Status * @param status - The status * @returns The Query Builder */ whereStatus(status: 'paid' | 'unpaid'): this; }