archetecture security fix

This commit is contained in:
root
2026-06-11 03:22:12 -04:00
parent 6def9993da
commit 9483750161
3126 changed files with 177194 additions and 37211 deletions
+46
View File
@@ -0,0 +1,46 @@
interface InvoiceData {
invoiceNumber: string;
issueDate: string;
dueDate: string | null;
company: {
name: string;
email: string;
phone?: string | null;
address?: any;
};
subscription?: {
plan: string;
billingPeriod: string;
currentPeriodStart?: string | null;
currentPeriodEnd?: string | null;
currency: string;
};
amount: number;
currency: string;
status: string;
paymentProvider: string;
transactionId?: string | null;
paidAt?: string | null;
lineItems?: Array<{
description: string;
amount: number;
currency: string;
quantity?: number;
unitAmount?: number;
periodStart?: string | null;
periodEnd?: string | null;
}>;
totals?: {
subtotalAmount: number;
discountAmount: number;
creditAmount: number;
taxAmount: number;
totalAmount: number;
amountPaid: number;
amountDue: number;
};
}
export declare function generateInvoicePdf(data: InvoiceData): Promise<Buffer>;
export declare function buildInvoiceNumber(invoiceId: string, createdAt: Date): string;
export {};
//# sourceMappingURL=invoicePdfService.d.ts.map