kcommons 9.51.0 → 9.51.1

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 CHANGED
@@ -94,6 +94,7 @@ export * from "./typings/kpis/company/vendor/totalBusiness.typings";
94
94
  export * from "./typings/kpis/company/vendor/companyVendorPurchaseFlow.typings";
95
95
  export * from "./typings/kpis/company/vendor/topCompanyVendorItems.typings";
96
96
  export * from "./typings/kpis/company/vendor/topCompanyVendorItemCategories.typings";
97
+ export * from "./typings/kpis/company/vendor/companyVendornegotiationgain.typings";
97
98
  export * from "./typings/kpis/company/companyKpisCommons.typings";
98
99
  export * from "./typings/kpis/vendor/vendorKpisCommons.typings";
99
100
  export * from "./typings/kpis/company/testKpi.typings";
package/build/index.js CHANGED
@@ -122,6 +122,7 @@ __exportStar(require("./typings/kpis/company/vendor/totalBusiness.typings"), exp
122
122
  __exportStar(require("./typings/kpis/company/vendor/companyVendorPurchaseFlow.typings"), exports);
123
123
  __exportStar(require("./typings/kpis/company/vendor/topCompanyVendorItems.typings"), exports);
124
124
  __exportStar(require("./typings/kpis/company/vendor/topCompanyVendorItemCategories.typings"), exports);
125
+ __exportStar(require("./typings/kpis/company/vendor/companyVendornegotiationgain.typings"), exports);
125
126
  // Common KPIs
126
127
  __exportStar(require("./typings/kpis/company/companyKpisCommons.typings"), exports);
127
128
  __exportStar(require("./typings/kpis/vendor/vendorKpisCommons.typings"), exports);
@@ -1,5 +1,5 @@
1
1
  import { IBaseKPIFilters } from "../../basKPIS.typings";
2
- export interface ICompanyVendorPurchaseFlowKPIFilters extends IBaseKPIFilters {
2
+ export interface ICompanyVendorPurchaseFlowKPIFilters extends Pick<IBaseKPIFilters, "company_id"> {
3
3
  vendor_id: string;
4
4
  }
5
5
  export interface ICompanyVendorPurchaseFlowKPIResponse {
@@ -0,0 +1,13 @@
1
+ import { IBaseKPIFilters } from "../../basKPIS.typings";
2
+ export interface ICompanyVendorNegotiationGainKPIFilters extends Pick<IBaseKPIFilters, "company_id"> {
3
+ vendor_id: string;
4
+ }
5
+ export interface IRecentNegotiatedRFQData {
6
+ rfq_no: string;
7
+ savings: number | null;
8
+ }
9
+ export interface ICompanyVendorNegotiationGainKPIResponse {
10
+ avg_negotiation_gain_percentage: number | null;
11
+ total_amount_saved: number | null;
12
+ recent_negotiated_rfqs: IRecentNegotiatedRFQData[];
13
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  import { IBaseKPIFilters } from "../../basKPIS.typings";
2
- export interface ITotalBusinessWithVendorKPIFilters extends IBaseKPIFilters {
2
+ export interface ITotalBusinessWithVendorKPIFilters extends Pick<IBaseKPIFilters, "company_id"> {
3
3
  company_vendor_id: string;
4
4
  }
5
5
  export interface ITotalBusinessWithVendorKPIResponse {
@@ -48,6 +48,8 @@ export interface IQuote {
48
48
  company_id: string;
49
49
  quote_no: string;
50
50
  is_quoted: boolean;
51
+ initial_total?: number | null;
52
+ initial_subtotal?: number | null;
51
53
  total?: number | null;
52
54
  subtotal?: number | null;
53
55
  delivery_by_date: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "9.51.0",
3
+ "version": "9.51.1",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",