@springtree/eva-core
Version:
The EVA core typings
47 lines (37 loc) • 844 B
TypeScript
declare module EVA.BI.Reporting {
export interface GetDailyStats {
}
export interface GetDailyStatsResponse {
Orders: number;
Exported: number;
Shipped: number;
Products: number;
Error: EVA.Core.ServiceError;
}
export interface GetOrderCounts {
StartDate?: string;
EndDate?: string;
}
export interface GetOrderCountsResponse {
Days: DayWithCount[];
Error: EVA.Core.ServiceError;
}
export interface DayWithCount {
Day?: string;
Count: number;
}
export interface GetPopularProducts {
StartDate?: string;
EndDate?: string;
Amount: number;
}
export interface GetPopularProductsResponse {
Products: ProductWithCount[];
Error: EVA.Core.ServiceError;
}
export interface ProductWithCount {
ID: number;
Name: string;
Count: number;
}
}