kcommons 18.12.1 → 18.12.2

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
@@ -172,6 +172,8 @@ export * from "./typings/kpis/company/vendor/companyVendorPurchaseFlow.typings";
172
172
  export * from "./typings/kpis/company/vendor/topCompanyVendorItems.typings";
173
173
  export * from "./typings/kpis/company/vendor/topCompanyVendorItemCategories.typings";
174
174
  export * from "./typings/kpis/company/vendor/companyVendornegotiationgain.typings";
175
+ export * from "./typings/kpis/company/vendor/companyVendorDashboard.typings";
176
+ export * from "./typings/kpis/company/vendor/companyVendorOnboardingTrend.typings";
175
177
  export * from "./typings/kpis/company/vendorOnboardingRequest/vendorOnboardingRequestDashboard.typings";
176
178
  export * from "./typings/kpis/company/companyKpisCommons.typings";
177
179
  export * from "./typings/kpis/vendor/vendorKpisCommons.typings";
package/build/index.js CHANGED
@@ -203,6 +203,8 @@ __exportStar(require("./typings/kpis/company/vendor/companyVendorPurchaseFlow.ty
203
203
  __exportStar(require("./typings/kpis/company/vendor/topCompanyVendorItems.typings"), exports);
204
204
  __exportStar(require("./typings/kpis/company/vendor/topCompanyVendorItemCategories.typings"), exports);
205
205
  __exportStar(require("./typings/kpis/company/vendor/companyVendornegotiationgain.typings"), exports);
206
+ __exportStar(require("./typings/kpis/company/vendor/companyVendorDashboard.typings"), exports);
207
+ __exportStar(require("./typings/kpis/company/vendor/companyVendorOnboardingTrend.typings"), exports);
206
208
  //vendor onboarding request KPIs
207
209
  __exportStar(require("./typings/kpis/company/vendorOnboardingRequest/vendorOnboardingRequestDashboard.typings"), exports);
208
210
  // Common KPIs
@@ -55,6 +55,7 @@ export interface IVendorOnboardingRequestFilters {
55
55
  name?: string | null;
56
56
  list_type?: VENDOR_ONBOARDING_REQUEST_LIST_TYPE;
57
57
  status_array?: VENDOR_ONBOARDING_REQUEST_STATUS[];
58
+ is_pre_assessment_form_sent?: boolean | null;
58
59
  /**@deprecated use status_array insted */
59
60
  status?: VENDOR_ONBOARDING_REQUEST_STATUS | null;
60
61
  is_pat_required?: boolean | null;
@@ -80,6 +80,7 @@ export interface ICompanyVendorFilters {
80
80
  name?: string;
81
81
  ids?: string[];
82
82
  item_categories?: string[];
83
+ has_erp_vendor_code?: boolean | null;
83
84
  pending_approval_step?: number | null;
84
85
  /** @deprecated Use status_array instead*/
85
86
  status?: COMPANY_VENDOR_STATUS;
@@ -1,12 +1,11 @@
1
- export interface IVORAnalyticsKPIResponse {
2
- PATSendToVendor: number;
3
- PATAnswered: number;
4
- pending: number;
5
- approved: number;
6
- cancelled: number;
7
- invited: number;
8
- }
9
- export interface ITodaysVORData {
10
- patAnsweredToday: number;
11
- todaysVendorOnboardingRequest: number;
1
+ export interface IVendorOnboardingKPIResponse {
2
+ pat_required_not_sent: number;
3
+ pending_send_for_approval: number;
4
+ company_vendors_pending_approval: number;
5
+ company_vendors_onboarded: number;
6
+ company_vendors_onboarded_and_synced: number;
7
+ vor_cancelled: number;
8
+ company_vendors_cancelled: number;
9
+ company_vendors_pending_onboarding: number;
10
+ company_vendors_onboarded_not_synced: number;
12
11
  }
@@ -0,0 +1,8 @@
1
+ export interface ICompanyVendorOnboardingTrendKPIDataUnit {
2
+ x: string;
3
+ y: number;
4
+ }
5
+ export interface ICompanyVendorOnboardingTrendKPIResponse {
6
+ is_erp_vendor_sync_enabled: boolean;
7
+ trend: ICompanyVendorOnboardingTrendKPIDataUnit[];
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -16,8 +16,8 @@ export interface IVORTrendKPIDataUnit {
16
16
  }
17
17
  export interface IVORCategory {
18
18
  vor_category: string;
19
- requested_vors: number;
20
- invited_vors: number;
19
+ onboarded_vendors: number;
20
+ ongoing_vendors: number;
21
21
  }
22
22
  export interface IVORTrendKPIResponse {
23
23
  activeVOR: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "18.12.1",
3
+ "version": "18.12.2",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",