qbo-mcp-ts
Version:
TypeScript QuickBooks Online MCP Server with enhanced features and dual transport support
40 lines • 1.1 kB
TypeScript
/**
* Natural language date parser for accounting queries
*/
export declare class DateParser {
/**
* Parse natural language date string to ISO date
*/
static parse(input: string): string;
/**
* Parse date range from natural language
*/
static parseRange(input: string): {
start: string;
end: string;
};
/**
* Get fiscal year dates (customize based on company settings)
*/
static getFiscalYear(year?: number, fiscalYearStart?: number): {
start: string;
end: string;
};
/**
* Format date for display
*/
static formatDisplay(date: string | Date, formatStr?: string): string;
/**
* Calculate days between dates
*/
static daysBetween(start: string | Date, end: string | Date): number;
/**
* Check if date is overdue
*/
static isOverdue(date: string | Date): boolean;
/**
* Add business days to a date (excluding weekends)
*/
static addBusinessDays(date: string | Date, days: number): string;
}
//# sourceMappingURL=date-parser.d.ts.map