kcommons 17.4.2 → 17.5.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
@@ -151,6 +151,7 @@ export * from "./typings/kpis/company/vendor/companyVendorPurchaseFlow.typings";
151
151
  export * from "./typings/kpis/company/vendor/topCompanyVendorItems.typings";
152
152
  export * from "./typings/kpis/company/vendor/topCompanyVendorItemCategories.typings";
153
153
  export * from "./typings/kpis/company/vendor/companyVendornegotiationgain.typings";
154
+ export * from "./typings/kpis/company/vendorOnboardingRequest/vendorOnboardingRequestDashboard.typings";
154
155
  export * from "./typings/kpis/company/companyKpisCommons.typings";
155
156
  export * from "./typings/kpis/vendor/vendorKpisCommons.typings";
156
157
  export * from "./typings/kpis/company/testKpi.typings";
package/build/index.js CHANGED
@@ -182,6 +182,8 @@ __exportStar(require("./typings/kpis/company/vendor/companyVendorPurchaseFlow.ty
182
182
  __exportStar(require("./typings/kpis/company/vendor/topCompanyVendorItems.typings"), exports);
183
183
  __exportStar(require("./typings/kpis/company/vendor/topCompanyVendorItemCategories.typings"), exports);
184
184
  __exportStar(require("./typings/kpis/company/vendor/companyVendornegotiationgain.typings"), exports);
185
+ //vendor onboarding request KPIs
186
+ __exportStar(require("./typings/kpis/company/vendorOnboardingRequest/vendorOnboardingRequestDashboard.typings"), exports);
185
187
  // Common KPIs
186
188
  __exportStar(require("./typings/kpis/company/companyKpisCommons.typings"), exports);
187
189
  __exportStar(require("./typings/kpis/vendor/vendorKpisCommons.typings"), exports);
@@ -49,6 +49,10 @@ export interface IVendorOnboardingRequestFilters {
49
49
  status_array?: VENDOR_ONBOARDING_REQUEST_STATUS[];
50
50
  /**@deprecated use status_array insted */
51
51
  status?: VENDOR_ONBOARDING_REQUEST_STATUS | null;
52
+ is_pat_required?: boolean | null;
53
+ start_date?: string | null;
54
+ end_date?: string | null;
55
+ pat_status?: PRE_ASSESSMENT_FORM_STATUS | null;
52
56
  include?: VENDOR_ONBOARDING_REQUEST_INCLUDES[] | null;
53
57
  }
54
58
  export interface IVendorOnboardingRequestFiltersWithPagination extends IPaginationFilters, IVendorOnboardingRequestFilters {
@@ -84,6 +88,7 @@ export interface IVendorOnboardingRequest {
84
88
  invitation_sent_at: string | null;
85
89
  deleted_at: string | null;
86
90
  cancelled_at: string | null;
91
+ pat_answered_at: string | null;
87
92
  created_at: string;
88
93
  updated_at: string;
89
94
  company: INestedCompany | null;
@@ -86,6 +86,8 @@ export interface IEntityApprovalChainEntry {
86
86
  company_vendor_id?: string | null;
87
87
  ves_id?: string | null;
88
88
  company_distibutor_id?: string | null;
89
+ reason_for_adding_additional_approver: string | null;
90
+ approval_remark: string | null;
89
91
  deleted_at: string | null;
90
92
  is_deleted: boolean | null;
91
93
  created_at: string | null;
@@ -0,0 +1,12 @@
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;
12
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,28 @@
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;
12
+ }
13
+ export interface IVORTrendKPIDataUnit {
14
+ x: string;
15
+ y: number;
16
+ }
17
+ export interface IVORCategory {
18
+ vor_category: string;
19
+ requested_vors: number;
20
+ invited_vors: number;
21
+ }
22
+ export interface IVORTrendKPIResponse {
23
+ activeVOR: number;
24
+ patRequired: number;
25
+ patNotRequired: number;
26
+ parsedVor: IVORCategory[];
27
+ vorTrend: IVORTrendKPIDataUnit[];
28
+ }
@@ -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": "17.4.2",
3
+ "version": "17.5.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",