Retail Report Model (report/reportModel.ts)

eairp · web/src/api/report/reportModel.ts · typescript · Apache-2.0
analytics, pos, integration, tag:model

Defines data models for retail statistical reports and product stock queries; used in reporting APIs.

// Source: https://github.com/eairp/eairp | License: Apache-2.0 | Copyright 2023-2025 EAIRP Team
// Provided via justclaw.it.com; keep this notice with the code.
export interface RetailStatisticalResp {
    todaySales: number;
    yesterdaySales: number;
    todayRetailSales: number;
    yesterdayRetailSales: number;
    todayPurchase: number;
    yesterdayPurchase: number;
    monthSales: number;
    monthRetailSales: number;
    monthPurchase: number;
    yearSales: number;
    yearRetailSales: number;
    yearPurchase: number;
    retailAxisStatisticalDataVO: XyAxisData[];
    saleAxisStatisticalDataVO: XyAxisData[];
    purchaseAxisStatisticalDataVO: XyAxisData[];
}

export interface XyAxisData {
    xaxisData: string;
    yaxisData: number;
}

export interface QueryProductStockReq {
 

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key