kcommons 9.32.4 → 9.34.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 CHANGED
@@ -74,6 +74,8 @@ export * from "./utils/getMediaName.util";
74
74
  export * from "./typings/verification_apis/pincode.typings";
75
75
  export * from "./typings/verification_apis/gstVerification.typings";
76
76
  export * from "./typings/verification_apis/udyamVerification.typings";
77
+ export * from "./typings/kpis/basKPIS.typings";
78
+ export * from "./typings/kpis/company/main/purchase/totalSavings.typings";
77
79
  export * from "./typings/kpis/company/companyKpisCommons.typings";
78
80
  export * from "./typings/kpis/vendor/vendorKpisCommons.typings";
79
81
  export * from "./typings/kpis/company/testKpi.typings";
package/build/index.js CHANGED
@@ -96,6 +96,10 @@ __exportStar(require("./utils/getMediaName.util"), exports);
96
96
  __exportStar(require("./typings/verification_apis/pincode.typings"), exports);
97
97
  __exportStar(require("./typings/verification_apis/gstVerification.typings"), exports);
98
98
  __exportStar(require("./typings/verification_apis/udyamVerification.typings"), exports);
99
+ // KPIs
100
+ __exportStar(require("./typings/kpis/basKPIS.typings"), exports);
101
+ // Main Dashboard KPIS
102
+ __exportStar(require("./typings/kpis/company/main/purchase/totalSavings.typings"), exports);
99
103
  // Common KPIs
100
104
  __exportStar(require("./typings/kpis/company/companyKpisCommons.typings"), exports);
101
105
  __exportStar(require("./typings/kpis/vendor/vendorKpisCommons.typings"), exports);
@@ -34,6 +34,7 @@ export interface IComparative {
34
34
  id: string;
35
35
  company_id: string;
36
36
  parent_rfq_id: string;
37
+ savings: number | null;
37
38
  sent_for_approval_by_user_id: string | null;
38
39
  status: COMPARATIVE_STATUS;
39
40
  is_negotiating: boolean;
@@ -0,0 +1,12 @@
1
+ export interface IBaseKPIProps {
2
+ company_id: string;
3
+ start_date?: string;
4
+ end_date?: string;
5
+ timeframe_type?: KPI_TIMEFRAME_TYPES;
6
+ }
7
+ export declare enum KPI_TIMEFRAME_TYPES {
8
+ DAILY = "DAILY",
9
+ WEEKLY = "WEEKLY",
10
+ MONTHLY = "MONTHLY",
11
+ YEARLY = "YEARLY"
12
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.KPI_TIMEFRAME_TYPES = void 0;
4
+ var KPI_TIMEFRAME_TYPES;
5
+ (function (KPI_TIMEFRAME_TYPES) {
6
+ KPI_TIMEFRAME_TYPES["DAILY"] = "DAILY";
7
+ KPI_TIMEFRAME_TYPES["WEEKLY"] = "WEEKLY";
8
+ KPI_TIMEFRAME_TYPES["MONTHLY"] = "MONTHLY";
9
+ KPI_TIMEFRAME_TYPES["YEARLY"] = "YEARLY";
10
+ })(KPI_TIMEFRAME_TYPES || (exports.KPI_TIMEFRAME_TYPES = KPI_TIMEFRAME_TYPES = {}));
11
+ // export interface IKPITimeframdeData {
12
+ // mode:,
13
+ // }
@@ -0,0 +1 @@
1
+ export * from "./totalSavings.typings";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./totalSavings.typings"), exports);
@@ -0,0 +1,6 @@
1
+ export interface ITotalSavingsKPIResponse {
2
+ data: {
3
+ x: string;
4
+ y: number;
5
+ }[];
6
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ export * from "./basKPIS.typings";
2
+ export * from "./company/main/purchase/totalSavings.typings";
3
+ export * from "./company/companyKpisCommons.typings";
4
+ export * from "./vendor/vendorKpisCommons.typings";
5
+ export * from "./company/testKpi.typings";
6
+ export * from "./company/purchase/testPuchaseKpi.typings";
7
+ export * from "./company/main/homeDashboard.typings";
8
+ export * from "./vendor/main/vHomeDashboardKpi.typings";
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ // Base
18
+ __exportStar(require("./basKPIS.typings"), exports);
19
+ // Main Dashboard KPIS
20
+ __exportStar(require("./company/main/purchase/totalSavings.typings"), exports);
21
+ // Common KPIs
22
+ __exportStar(require("./company/companyKpisCommons.typings"), exports);
23
+ __exportStar(require("./vendor/vendorKpisCommons.typings"), exports);
24
+ // Company KPIs
25
+ __exportStar(require("./company/testKpi.typings"), exports);
26
+ __exportStar(require("./company/purchase/testPuchaseKpi.typings"), exports);
27
+ __exportStar(require("./company/main/homeDashboard.typings"), exports);
28
+ // Vendor KPIs
29
+ __exportStar(require("./vendor/main/vHomeDashboardKpi.typings"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "9.32.4",
3
+ "version": "9.34.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",