kcommons 9.17.0 → 9.18.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
@@ -73,9 +73,11 @@ export * from "./utils/getMediaName.util";
73
73
  export * from "./typings/verification_apis/pincode.typings";
74
74
  export * from "./typings/verification_apis/gstVerification.typings";
75
75
  export * from "./typings/kpis/company/companyKpisCommons.typings";
76
+ export * from "./typings/kpis/vendor/vendorKpisCommons.typings";
76
77
  export * from "./typings/kpis/company/testKpi.typings";
77
78
  export * from "./typings/kpis/company/purchase/testPuchaseKpi.typings";
78
79
  export * from "./typings/kpis/company/main/homeDashboard.typings";
80
+ export * from "./typings/kpis/vendor/main/vHomeDashboardKpi.typings";
79
81
  export * from "./typings/vendor/companyProfile.typings";
80
82
  export * from "./typings/company/rootEntityApproval/rootEntityApprovalChain.typings";
81
83
  export * from "./typings/company/rootEntityApproval/rootEntityApprovalConfig.typings";
package/build/index.js CHANGED
@@ -96,10 +96,13 @@ __exportStar(require("./typings/verification_apis/pincode.typings"), exports);
96
96
  __exportStar(require("./typings/verification_apis/gstVerification.typings"), exports);
97
97
  // Common KPIs
98
98
  __exportStar(require("./typings/kpis/company/companyKpisCommons.typings"), exports);
99
+ __exportStar(require("./typings/kpis/vendor/vendorKpisCommons.typings"), exports);
99
100
  // Company KPIs
100
101
  __exportStar(require("./typings/kpis/company/testKpi.typings"), exports);
101
102
  __exportStar(require("./typings/kpis/company/purchase/testPuchaseKpi.typings"), exports);
102
103
  __exportStar(require("./typings/kpis/company/main/homeDashboard.typings"), exports);
104
+ // Vendor KPIs
105
+ __exportStar(require("./typings/kpis/vendor/main/vHomeDashboardKpi.typings"), exports);
103
106
  // Vendor Panel typings
104
107
  __exportStar(require("./typings/vendor/companyProfile.typings"), exports);
105
108
  //Company Panel typings
@@ -0,0 +1,53 @@
1
+ import { IVendorCommonKPIFilters } from "../vendorKpisCommons.typings";
2
+ export interface IVRFQAnalyticsResponse {
3
+ total: number;
4
+ quoted: number;
5
+ pending: number;
6
+ negotiation: number;
7
+ }
8
+ export interface IVRFQAnalyticsKPIFilters extends IVendorCommonKPIFilters {
9
+ }
10
+ export interface IPOAnalyticsResponse {
11
+ accepted: number;
12
+ pending: number;
13
+ rejected: number;
14
+ }
15
+ export interface IPOAnalyticsKPIFilters extends IVendorCommonKPIFilters {
16
+ }
17
+ export interface ISalesAnalyticsResponse {
18
+ jan: number;
19
+ feb: number;
20
+ mar: number;
21
+ apr: number;
22
+ may: number;
23
+ jun: number;
24
+ jul: number;
25
+ aug: number;
26
+ sep: number;
27
+ oct: number;
28
+ nov: number;
29
+ dec: number;
30
+ }
31
+ export interface ISalesAnalyticsKPIFilters extends IVendorCommonKPIFilters {
32
+ }
33
+ export interface ITopCompany {
34
+ company_name: string;
35
+ orders: string;
36
+ value: string;
37
+ average_order_value: string;
38
+ }
39
+ export interface IVendorTopCompaniesKPIResponse {
40
+ top_companies: ITopCompany[];
41
+ }
42
+ export interface IVendorTopCompaniesKPIFilters extends IVendorCommonKPIFilters {
43
+ }
44
+ export interface IVendorTopItem {
45
+ item_name: string;
46
+ qty: string;
47
+ value: string;
48
+ }
49
+ export interface IVendorTopItemsKPIResponse {
50
+ top_items: IVendorTopItem[];
51
+ }
52
+ export interface IVendorTopItemsKPIFilters extends IVendorCommonKPIFilters {
53
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ export interface IVendorCommonKPIFilters {
2
+ start_date?: string;
3
+ end_date?: string;
4
+ vendor_id: string;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "9.17.0",
3
+ "version": "9.18.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",