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.
49 lines (38 loc) • 1.14 kB
text/typescript
// Import the Search Options
import {
Account,
Bill,
CompanyInfo,
CreditMemo,
Customer,
Estimate,
Invoice,
InvoiceStatus,
Payment,
Preferences,
SearchOptions,
} from '../types';
// Setup the Invoice Options
export interface InvoiceOptions extends Options<Invoice> {
status?: InvoiceStatus;
}
// Setup the Estimate Options
export interface EstimateOptions extends Options<Estimate> {}
// Setup the Invoice Options
export interface CustomerOptions extends Options<Customer> {}
// Setup the Payment Options
export interface PaymentOptions extends Options<Payment> {}
// Setup the Account Options
export interface AccountOptions extends Options<Account> {}
// Setup the Credit Memo Options
export interface CreditMemoOptions extends Options<CreditMemo> {}
// Setup the Company Info Options
export interface CompanyInfoOptions extends Options<CompanyInfo> {}
// Setup the Preference Options
export interface PreferenceOptions extends Options<Preferences> {}
// Setup the Bill Options
export interface BillOptions extends Options<Bill> {}
// Export the Options
export interface Options<T> {
searchOptions?: SearchOptions<T>;
}