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
+70
View File
@@ -0,0 +1,70 @@
export declare function getSummary(companyId: string, period: string): Promise<{
totalReservations: any;
activeVehicles: any;
totalRevenue: any;
totalCustomers: any;
period: string;
}>;
export declare function getDashboard(companyId: string): Promise<{
kpis: {
totalBookings: any;
activeVehicles: any;
monthlyRevenue: any;
totalCustomers: any;
bookingsChange: number;
vehiclesChange: number;
revenueChange: number;
customersChange: number;
};
recentReservations: {
id: any;
bookingRef: any;
customerName: string;
vehicleName: string;
startDate: any;
endDate: any;
status: any;
totalAmount: any;
}[];
sourceBreakdown: {
source: any;
count: any;
revenue: any;
}[];
subscription: {
status: any;
planName: any;
trialEndsAt: any;
} | null;
}>;
export declare function getSources(companyId: string): Promise<any>;
export declare function getReport(companyId: string, query: {
from?: string;
to?: string;
format: string;
period?: string;
}): Promise<{
report: {
summary: {
totalReservations: any;
totalRentalRevenue: any;
totalDiscounts: any;
totalInsurance: any;
totalAdditionalDrivers: any;
totalPricingRulesAdj: any;
totalDeposits: any;
totalCollected: any;
averageRentalDays: number;
};
rows: any;
period: {
startDate: Date;
endDate: Date;
};
};
startDate: Date;
endDate: Date;
format: string;
csv: string | null;
}>;
//# sourceMappingURL=analytics.service.d.ts.map