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.
18 lines (13 loc) • 493 B
text/typescript
// Imports
import { Range, type DeepKeys } from '../types';
// Export the Search Options
export interface SearchOptions<T> {
/** The page number to fetch */
page?: number;
/** The Quickbooks API only allows fetching maximum results of 200 */
maxResults?: Range<1, 201>;
/** @deprecated Minor Versions 1 - 74 Will be removed on July 30, 2025*/
minorVersion?: `${Range<1, 76>}`;
/** The field to order the results by */
orderBy?: { field: DeepKeys<T>; direction: 'ASC' | 'DESC' };
}