archetecture security fix
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user