kcommons 18.13.10 → 18.13.12

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
@@ -92,6 +92,7 @@ export * from "./typings/approvalComments.typings";
92
92
  export * from "./typings/integrations/erp/vendorDuplicityCheck.typings";
93
93
  export * from "./typings/entityApprovalChainEntryLog.typings";
94
94
  export * from "./typings/vendorLogs.typings";
95
+ export * from "./typings/tatReport.typings";
95
96
  export * from "./typings/system/queueJob.typings";
96
97
  export * from "./typings/system/erpPluginConfigCompany.typings";
97
98
  export * from "./typings/system/erpPluginsMetadata.typings";
package/build/index.js CHANGED
@@ -112,6 +112,7 @@ __exportStar(require("./typings/approvalComments.typings"), exports);
112
112
  __exportStar(require("./typings/integrations/erp/vendorDuplicityCheck.typings"), exports);
113
113
  __exportStar(require("./typings/entityApprovalChainEntryLog.typings"), exports);
114
114
  __exportStar(require("./typings/vendorLogs.typings"), exports);
115
+ __exportStar(require("./typings/tatReport.typings"), exports);
115
116
  // System
116
117
  __exportStar(require("./typings/system/queueJob.typings"), exports);
117
118
  __exportStar(require("./typings/system/erpPluginConfigCompany.typings"), exports);
@@ -65,7 +65,9 @@ export interface IVendorOnboardingRequestFilters {
65
65
  is_pat_required?: boolean | null;
66
66
  start_date?: string | null;
67
67
  end_date?: string | null;
68
+ /**@deprecated use pat_status_array insted */
68
69
  pat_status?: PRE_ASSESSMENT_FORM_STATUS | null;
70
+ pat_status_array?: PRE_ASSESSMENT_FORM_STATUS[] | null;
69
71
  include?: VENDOR_ONBOARDING_REQUEST_INCLUDES[] | null;
70
72
  pending_approval_step?: number | null;
71
73
  metafields_include?: VENDOR_ONBOARDING_REQUEST_METAFIELDS_INCLUDE[] | null;
@@ -0,0 +1,52 @@
1
+ export interface IExecutiveSummary {
2
+ totalVendorsOnboarded: number;
3
+ averageTAT: number;
4
+ medianTAT: number;
5
+ targetTAT: number;
6
+ percentCompletedWithinTAT: number;
7
+ percentBreachedTAT: number;
8
+ longestTAT: number;
9
+ numberCurrentlyPending: number;
10
+ }
11
+ export interface IVendorBasicInfo {
12
+ vendorTradename: string;
13
+ vendorCode: string;
14
+ vendorCategory: string;
15
+ initiatedBy: string;
16
+ initiatedOn: string;
17
+ onboardedBy: string;
18
+ onboardedOn: string;
19
+ }
20
+ export interface IStageInfo {
21
+ timeTaken: number;
22
+ owner: string[];
23
+ }
24
+ export interface IVendorStages {
25
+ stage1Initiator: IStageInfo;
26
+ stage2Vendor: IStageInfo;
27
+ stage3Initiator: IStageInfo;
28
+ stage4QAApproval: IStageInfo;
29
+ stage5MDMApproval: IStageInfo;
30
+ stage6PurchaseApproval: IStageInfo;
31
+ stage7FinanceApproval: IStageInfo;
32
+ stage8MDMApproval: IStageInfo;
33
+ stage9SyncToERP: IStageInfo;
34
+ stage10Onboard: IStageInfo;
35
+ }
36
+ export interface ITATAndSLA {
37
+ overallTAT: number;
38
+ slaTargetTAT: number;
39
+ slaStatus: "Within SLA" | "Breached";
40
+ delayExcessTAT: number | null;
41
+ vendorTAT: number;
42
+ internalTAT: number;
43
+ }
44
+ export interface IVendorDataGrouped {
45
+ basicInfo: IVendorBasicInfo;
46
+ stages: IVendorStages | null;
47
+ tatAndSla: ITATAndSLA | null;
48
+ }
49
+ export interface ITATReport {
50
+ executiveSummary: IExecutiveSummary;
51
+ vendors: IVendorDataGrouped[];
52
+ }
@@ -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": "18.13.10",
3
+ "version": "18.13.12",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",