kcommons 9.54.0 → 9.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.d.ts +7 -4
- package/build/index.js +7 -5
- package/build/typings/kpis/company/item/itemSpecific/issuanceVsProcurementRatio.typings.d.ts +9 -0
- package/build/typings/kpis/company/item/itemSpecific/issuanceVsProcurementRatio.typings.js +2 -0
- package/build/typings/kpis/company/item/itemSpecific/itemDashboardKPICards.typings.d.ts +29 -0
- package/build/typings/kpis/company/item/itemSpecific/itemDashboardKPICards.typings.js +2 -0
- package/build/typings/kpis/company/item/itemSpecific/itemPurchaseTrend.typings.d.ts +11 -0
- package/build/typings/kpis/company/item/itemSpecific/itemPurchaseTrend.typings.js +2 -0
- package/build/typings/kpis/company/item/itemSpecific/stockTrend.typings.d.ts +12 -0
- package/build/typings/kpis/company/item/itemSpecific/stockTrend.typings.js +2 -0
- package/build/typings/kpis/company/item/mainDashboard/inventoryAndItemDetailsKpi.typings.d.ts +15 -0
- package/build/typings/kpis/company/item/mainDashboard/inventoryAndItemDetailsKpi.typings.js +2 -0
- package/build/typings/kpis/company/item/mainDashboard/mainItemDashboardSummaryKPI.typings.d.ts +9 -0
- package/build/typings/kpis/company/item/mainDashboard/mainItemDashboardSummaryKPI.typings.js +2 -0
- package/build/typings/kpis/company/item/mainDashboard/purchaseVSIssuanceKPI.typings.d.ts +21 -0
- package/build/typings/kpis/company/item/mainDashboard/purchaseVSIssuanceKPI.typings.js +9 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -86,10 +86,13 @@ export * from "./typings/kpis/company/main/purchase/purchaseTrend.typings";
|
|
|
86
86
|
export * from "./typings/kpis/company/main/purchase/avgVendorResponseRatePerRFQKPI.typings";
|
|
87
87
|
export * from "./typings/kpis/company/main/purchase/topProcurementCategories.typings";
|
|
88
88
|
export * from "./typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings";
|
|
89
|
-
export * from "./typings/kpis/company/item/itemDashboardKPICards.typings";
|
|
90
|
-
export * from "./typings/kpis/company/item/issuanceVsProcurementRatio.typings";
|
|
91
|
-
export * from "./typings/kpis/company/item/itemPurchaseTrend.typings";
|
|
92
|
-
export * from "./typings/kpis/company/item/stockTrend.typings";
|
|
89
|
+
export * from "./typings/kpis/company/item/itemSpecific/itemDashboardKPICards.typings";
|
|
90
|
+
export * from "./typings/kpis/company/item/itemSpecific/issuanceVsProcurementRatio.typings";
|
|
91
|
+
export * from "./typings/kpis/company/item/itemSpecific/itemPurchaseTrend.typings";
|
|
92
|
+
export * from "./typings/kpis/company/item/itemSpecific/stockTrend.typings";
|
|
93
|
+
export * from "./typings/kpis/company/item/mainDashboard/inventoryAndItemDetailsKpi.typings";
|
|
94
|
+
export * from "./typings/kpis/company/item/mainDashboard/purchaseVSIssuanceKPI.typings";
|
|
95
|
+
export * from "./typings/kpis/company/item/mainDashboard/mainItemDashboardSummaryKPI.typings";
|
|
93
96
|
export * from "./typings/kpis/company/vendor/totalBusiness.typings";
|
|
94
97
|
export * from "./typings/kpis/company/vendor/companyVendorPurchaseFlow.typings";
|
|
95
98
|
export * from "./typings/kpis/company/vendor/topCompanyVendorItems.typings";
|
package/build/index.js
CHANGED
|
@@ -113,10 +113,13 @@ __exportStar(require("./typings/kpis/company/main/purchase/avgVendorResponseRate
|
|
|
113
113
|
__exportStar(require("./typings/kpis/company/main/purchase/topProcurementCategories.typings"), exports);
|
|
114
114
|
__exportStar(require("./typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings"), exports);
|
|
115
115
|
// Item Dashboard KPIs
|
|
116
|
-
__exportStar(require("./typings/kpis/company/item/itemDashboardKPICards.typings"), exports);
|
|
117
|
-
__exportStar(require("./typings/kpis/company/item/issuanceVsProcurementRatio.typings"), exports);
|
|
118
|
-
__exportStar(require("./typings/kpis/company/item/itemPurchaseTrend.typings"), exports);
|
|
119
|
-
__exportStar(require("./typings/kpis/company/item/stockTrend.typings"), exports);
|
|
116
|
+
__exportStar(require("./typings/kpis/company/item/itemSpecific/itemDashboardKPICards.typings"), exports);
|
|
117
|
+
__exportStar(require("./typings/kpis/company/item/itemSpecific/issuanceVsProcurementRatio.typings"), exports);
|
|
118
|
+
__exportStar(require("./typings/kpis/company/item/itemSpecific/itemPurchaseTrend.typings"), exports);
|
|
119
|
+
__exportStar(require("./typings/kpis/company/item/itemSpecific/stockTrend.typings"), exports);
|
|
120
|
+
__exportStar(require("./typings/kpis/company/item/mainDashboard/inventoryAndItemDetailsKpi.typings"), exports);
|
|
121
|
+
__exportStar(require("./typings/kpis/company/item/mainDashboard/purchaseVSIssuanceKPI.typings"), exports);
|
|
122
|
+
__exportStar(require("./typings/kpis/company/item/mainDashboard/mainItemDashboardSummaryKPI.typings"), exports);
|
|
120
123
|
// Company Vendor Dashboard KPIs
|
|
121
124
|
__exportStar(require("./typings/kpis/company/vendor/totalBusiness.typings"), exports);
|
|
122
125
|
__exportStar(require("./typings/kpis/company/vendor/companyVendorPurchaseFlow.typings"), exports);
|
|
@@ -126,7 +129,6 @@ __exportStar(require("./typings/kpis/company/vendor/companyVendornegotiationgain
|
|
|
126
129
|
// Common KPIs
|
|
127
130
|
__exportStar(require("./typings/kpis/company/companyKpisCommons.typings"), exports);
|
|
128
131
|
__exportStar(require("./typings/kpis/vendor/vendorKpisCommons.typings"), exports);
|
|
129
|
-
``;
|
|
130
132
|
// Company KPIs
|
|
131
133
|
__exportStar(require("./typings/kpis/company/testKpi.typings"), exports);
|
|
132
134
|
__exportStar(require("./typings/kpis/company/purchase/testPuchaseKpi.typings"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IBaseKPIFilters } from "../../../basKPIS.typings";
|
|
2
|
+
export interface IIssuanceVsProcurementRatioReq extends IBaseKPIFilters {
|
|
3
|
+
item_id: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IItemIssuanceVsProcurementRatioData {
|
|
6
|
+
percentage: number;
|
|
7
|
+
issued_qty: number;
|
|
8
|
+
procured_qty: number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { IBaseKPIFilters } from "../../../basKPIS.typings";
|
|
2
|
+
export interface IItemDashboardKPICardsReq extends IBaseKPIFilters {
|
|
3
|
+
item_id: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IItemDashboardKPICardsData {
|
|
6
|
+
price_trend: {
|
|
7
|
+
avg_price: number;
|
|
8
|
+
item_name: string;
|
|
9
|
+
uom: string;
|
|
10
|
+
increment_in_last_6_months: number;
|
|
11
|
+
increment_in_last_year: number;
|
|
12
|
+
count_of_pos: number;
|
|
13
|
+
};
|
|
14
|
+
total_purchase: {
|
|
15
|
+
value: number;
|
|
16
|
+
};
|
|
17
|
+
supplying_vendors: {
|
|
18
|
+
no_of_vendors: number;
|
|
19
|
+
};
|
|
20
|
+
previous_purchase_price: {
|
|
21
|
+
value: number | null;
|
|
22
|
+
po_no: string | null;
|
|
23
|
+
purchased_on: string | null;
|
|
24
|
+
po_id: string | null;
|
|
25
|
+
};
|
|
26
|
+
total_available_stock: {
|
|
27
|
+
count: number;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IBaseKPIFilters } from "../../../basKPIS.typings";
|
|
2
|
+
export interface IItemPurchaseTrendReqFilters extends IBaseKPIFilters {
|
|
3
|
+
item_id: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IItemPurchaseTrendData {
|
|
6
|
+
data: {
|
|
7
|
+
values: number[];
|
|
8
|
+
labels: string[];
|
|
9
|
+
average: number;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IBaseKPIFilters } from "../../../basKPIS.typings";
|
|
2
|
+
export interface IItemStockTrendKPIReqFilters extends IBaseKPIFilters {
|
|
3
|
+
item_id: string;
|
|
4
|
+
}
|
|
5
|
+
export interface IItemStockTrendKPIUnit {
|
|
6
|
+
label: string;
|
|
7
|
+
stock_purchased: number;
|
|
8
|
+
stock_issued: number;
|
|
9
|
+
}
|
|
10
|
+
export interface IItemStockTrendKPIData {
|
|
11
|
+
data: IItemStockTrendKPIUnit[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IItem } from "../../../../item.typings";
|
|
2
|
+
import { IBaseKPIFilters } from "../../../basKPIS.typings";
|
|
3
|
+
export interface IInventoryAndItemDetailsKPIReqFilters extends Pick<IBaseKPIFilters, "company_id"> {
|
|
4
|
+
item_id: string;
|
|
5
|
+
}
|
|
6
|
+
export interface IInventoryDataUnit {
|
|
7
|
+
store_location_name: string;
|
|
8
|
+
available_stock: number;
|
|
9
|
+
}
|
|
10
|
+
export interface IInventoryAndItemDetailsKPIResponse {
|
|
11
|
+
stock_info: IInventoryDataUnit[];
|
|
12
|
+
item_data: IItem;
|
|
13
|
+
total_purchased_qty: number;
|
|
14
|
+
total_available_qty: number;
|
|
15
|
+
}
|
package/build/typings/kpis/company/item/mainDashboard/mainItemDashboardSummaryKPI.typings.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IBaseKPIFilters } from "../../../basKPIS.typings";
|
|
2
|
+
export interface IMainItemDashboardSummaryKPIReqFilters extends Pick<IBaseKPIFilters, "company_id"> {
|
|
3
|
+
}
|
|
4
|
+
export interface IMainItemDashboardSummaryKPIResponse {
|
|
5
|
+
total_procurement_value: number | null;
|
|
6
|
+
total_items: number | null;
|
|
7
|
+
total_categories: number | null;
|
|
8
|
+
total_boms: number | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IBaseKPIFilters } from "../../../basKPIS.typings";
|
|
2
|
+
export declare enum PURCHASE_VS_ISSUANCE_GRAPH_TYPE {
|
|
3
|
+
PURCHASE = "PURCHASE",
|
|
4
|
+
ISSUANCE = "ISSUANCE",
|
|
5
|
+
COMBINED = "COMBINED"
|
|
6
|
+
}
|
|
7
|
+
export interface IPurchaseVsIssuanceKPIFilters extends IBaseKPIFilters {
|
|
8
|
+
item_id: string;
|
|
9
|
+
chartType: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ILineChartdata {
|
|
12
|
+
x: string;
|
|
13
|
+
y: number;
|
|
14
|
+
}
|
|
15
|
+
export interface IPurchaseVsIssuanceKPIResUnit {
|
|
16
|
+
label: string;
|
|
17
|
+
data: ILineChartdata[];
|
|
18
|
+
}
|
|
19
|
+
export interface IPurchasevsIssuanceKPIResponse {
|
|
20
|
+
data: IPurchaseVsIssuanceKPIResUnit[];
|
|
21
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PURCHASE_VS_ISSUANCE_GRAPH_TYPE = void 0;
|
|
4
|
+
var PURCHASE_VS_ISSUANCE_GRAPH_TYPE;
|
|
5
|
+
(function (PURCHASE_VS_ISSUANCE_GRAPH_TYPE) {
|
|
6
|
+
PURCHASE_VS_ISSUANCE_GRAPH_TYPE["PURCHASE"] = "PURCHASE";
|
|
7
|
+
PURCHASE_VS_ISSUANCE_GRAPH_TYPE["ISSUANCE"] = "ISSUANCE";
|
|
8
|
+
PURCHASE_VS_ISSUANCE_GRAPH_TYPE["COMBINED"] = "COMBINED";
|
|
9
|
+
})(PURCHASE_VS_ISSUANCE_GRAPH_TYPE || (exports.PURCHASE_VS_ISSUANCE_GRAPH_TYPE = PURCHASE_VS_ISSUANCE_GRAPH_TYPE = {}));
|