kcommons 9.34.0 → 9.36.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 +4 -0
- package/build/index.js +4 -0
- package/build/typings/kpis/basKPIS.typings.d.ts +2 -3
- package/build/typings/kpis/company/main/purchase/avgVendorResponseRatePerRFQKPI.typings.d.ts +15 -0
- package/build/typings/kpis/company/main/purchase/avgVendorResponseRatePerRFQKPI.typings.js +2 -0
- package/build/typings/kpis/company/main/purchase/purchaseTrend.typings.d.ts +10 -0
- package/build/typings/kpis/company/main/purchase/purchaseTrend.typings.js +2 -0
- package/build/typings/kpis/company/main/purchase/topProcurementCategories.typings.d.ts +11 -0
- package/build/typings/kpis/company/main/purchase/topProcurementCategories.typings.js +2 -0
- package/build/typings/kpis/company/main/purchase/totalSavings.typings.d.ts +8 -4
- package/build/typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings.d.ts +12 -0
- package/build/typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings.js +2 -0
- package/build/typings/po.typings.d.ts +2 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -76,6 +76,10 @@ export * from "./typings/verification_apis/gstVerification.typings";
|
|
|
76
76
|
export * from "./typings/verification_apis/udyamVerification.typings";
|
|
77
77
|
export * from "./typings/kpis/basKPIS.typings";
|
|
78
78
|
export * from "./typings/kpis/company/main/purchase/totalSavings.typings";
|
|
79
|
+
export * from "./typings/kpis/company/main/purchase/purchaseTrend.typings";
|
|
80
|
+
export * from "./typings/kpis/company/main/purchase/avgVendorResponseRatePerRFQKPI.typings";
|
|
81
|
+
export * from "./typings/kpis/company/main/purchase/topProcurementCategories.typings";
|
|
82
|
+
export * from "./typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings";
|
|
79
83
|
export * from "./typings/kpis/company/companyKpisCommons.typings";
|
|
80
84
|
export * from "./typings/kpis/vendor/vendorKpisCommons.typings";
|
|
81
85
|
export * from "./typings/kpis/company/testKpi.typings";
|
package/build/index.js
CHANGED
|
@@ -100,6 +100,10 @@ __exportStar(require("./typings/verification_apis/udyamVerification.typings"), e
|
|
|
100
100
|
__exportStar(require("./typings/kpis/basKPIS.typings"), exports);
|
|
101
101
|
// Main Dashboard KPIS
|
|
102
102
|
__exportStar(require("./typings/kpis/company/main/purchase/totalSavings.typings"), exports);
|
|
103
|
+
__exportStar(require("./typings/kpis/company/main/purchase/purchaseTrend.typings"), exports);
|
|
104
|
+
__exportStar(require("./typings/kpis/company/main/purchase/avgVendorResponseRatePerRFQKPI.typings"), exports);
|
|
105
|
+
__exportStar(require("./typings/kpis/company/main/purchase/topProcurementCategories.typings"), exports);
|
|
106
|
+
__exportStar(require("./typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings"), exports);
|
|
103
107
|
// Common KPIs
|
|
104
108
|
__exportStar(require("./typings/kpis/company/companyKpisCommons.typings"), exports);
|
|
105
109
|
__exportStar(require("./typings/kpis/vendor/vendorKpisCommons.typings"), exports);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IBaseKPIProps } from "../../../basKPIS.typings";
|
|
2
|
+
export interface IAvgVendorResponseRatePerRFQKPIUnit {
|
|
3
|
+
xlabel: string;
|
|
4
|
+
rfqs: number;
|
|
5
|
+
quotes: number;
|
|
6
|
+
}
|
|
7
|
+
export interface IMetaFieldForAvgVendorResponseRAteKPI {
|
|
8
|
+
avgVendorContactedPerRFQ: number;
|
|
9
|
+
}
|
|
10
|
+
export interface IAvgVendorResponseRatePerRFQKPIResponse {
|
|
11
|
+
data: IAvgVendorResponseRatePerRFQKPIUnit[];
|
|
12
|
+
meta: IMetaFieldForAvgVendorResponseRAteKPI;
|
|
13
|
+
}
|
|
14
|
+
export interface IAvgVendorResponseRatePerRFQKPIReq extends IBaseKPIProps {
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IBaseKPIProps } from "../../../basKPIS.typings";
|
|
2
|
+
export interface IPurchaseTrendKPIDataUnit {
|
|
3
|
+
x: string;
|
|
4
|
+
y: number;
|
|
5
|
+
}
|
|
6
|
+
export interface IPurchaseTrendKPIResponse {
|
|
7
|
+
data: IPurchaseTrendKPIDataUnit[];
|
|
8
|
+
}
|
|
9
|
+
export interface IPurchaseTrendKPIReq extends IBaseKPIProps {
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IBaseKPIProps } from "../../../basKPIS.typings";
|
|
2
|
+
export interface ITopProcurementCategoriesKPIReq extends IBaseKPIProps {
|
|
3
|
+
}
|
|
4
|
+
export interface ITopProcurementCategoriesKPIUnit {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
value: number;
|
|
8
|
+
}
|
|
9
|
+
export interface ITopProcurementCategoriesKPIRes {
|
|
10
|
+
data: ITopProcurementCategoriesKPIUnit[];
|
|
11
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
|
+
import { IBaseKPIProps } from "../../../basKPIS.typings";
|
|
2
|
+
export interface ITotalSavingsKPIDataUnit {
|
|
3
|
+
x: string;
|
|
4
|
+
y: number;
|
|
5
|
+
}
|
|
1
6
|
export interface ITotalSavingsKPIResponse {
|
|
2
|
-
data:
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
}[];
|
|
7
|
+
data: ITotalSavingsKPIDataUnit[];
|
|
8
|
+
}
|
|
9
|
+
export interface ITotalSavingsKPIReq extends IBaseKPIProps {
|
|
6
10
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IBaseKPIProps } from "../../../basKPIS.typings";
|
|
2
|
+
export interface ITopCategoryVendorDistributionKPIReq {
|
|
3
|
+
company_id: IBaseKPIProps["company_id"];
|
|
4
|
+
}
|
|
5
|
+
export interface ITopCategoryVendorDistributionKPIUnit {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
export interface ITopCategoryVendorDistributionKPIRes {
|
|
11
|
+
data: ITopCategoryVendorDistributionKPIUnit[];
|
|
12
|
+
}
|
|
@@ -81,9 +81,10 @@ export interface IPurchaseOrder {
|
|
|
81
81
|
delivery_schedule: string | null;
|
|
82
82
|
payment_terms: string | null;
|
|
83
83
|
remark: string | null;
|
|
84
|
+
is_deleted: boolean | null;
|
|
85
|
+
accepted_or_rejected_by_vendor_at: string | null;
|
|
84
86
|
sent_for_approval_at: string | null;
|
|
85
87
|
sent_to_vendor_at: string | null;
|
|
86
|
-
is_deleted: boolean | null;
|
|
87
88
|
deleted_at: string | null;
|
|
88
89
|
created_at: string;
|
|
89
90
|
updated_at: string;
|