kcommons 9.35.0 → 9.37.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 +1 -0
- package/build/index.js +1 -0
- package/build/typings/indent.typings.d.ts +1 -1
- package/build/typings/item.typings.d.ts +4 -4
- package/build/typings/item.typings.js +5 -4
- package/build/typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings.d.ts +12 -0
- package/build/typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings.js +2 -0
- package/build/typings/po.typings.d.ts +4 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export * from "./typings/kpis/company/main/purchase/totalSavings.typings";
|
|
|
79
79
|
export * from "./typings/kpis/company/main/purchase/purchaseTrend.typings";
|
|
80
80
|
export * from "./typings/kpis/company/main/purchase/avgVendorResponseRatePerRFQKPI.typings";
|
|
81
81
|
export * from "./typings/kpis/company/main/purchase/topProcurementCategories.typings";
|
|
82
|
+
export * from "./typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings";
|
|
82
83
|
export * from "./typings/kpis/company/companyKpisCommons.typings";
|
|
83
84
|
export * from "./typings/kpis/vendor/vendorKpisCommons.typings";
|
|
84
85
|
export * from "./typings/kpis/company/testKpi.typings";
|
package/build/index.js
CHANGED
|
@@ -103,6 +103,7 @@ __exportStar(require("./typings/kpis/company/main/purchase/totalSavings.typings"
|
|
|
103
103
|
__exportStar(require("./typings/kpis/company/main/purchase/purchaseTrend.typings"), exports);
|
|
104
104
|
__exportStar(require("./typings/kpis/company/main/purchase/avgVendorResponseRatePerRFQKPI.typings"), exports);
|
|
105
105
|
__exportStar(require("./typings/kpis/company/main/purchase/topProcurementCategories.typings"), exports);
|
|
106
|
+
__exportStar(require("./typings/kpis/company/main/vendors/topCategoryvendorDistribution.typings"), exports);
|
|
106
107
|
// Common KPIs
|
|
107
108
|
__exportStar(require("./typings/kpis/company/companyKpisCommons.typings"), exports);
|
|
108
109
|
__exportStar(require("./typings/kpis/vendor/vendorKpisCommons.typings"), exports);
|
|
@@ -21,7 +21,7 @@ export interface IIndent {
|
|
|
21
21
|
created_by_user_id: string;
|
|
22
22
|
target_store_location_id: string;
|
|
23
23
|
sent_to_store_location: boolean;
|
|
24
|
-
|
|
24
|
+
place_of_application: string | null;
|
|
25
25
|
custom_fields: string | null;
|
|
26
26
|
budget_code_id: string | null;
|
|
27
27
|
priority_date: string | null;
|
|
@@ -154,10 +154,10 @@ export declare const ITEM_TAX_PREFERENCE: {
|
|
|
154
154
|
EXEMPT: string;
|
|
155
155
|
NON_GST: string;
|
|
156
156
|
};
|
|
157
|
-
export declare
|
|
158
|
-
GOOD
|
|
159
|
-
SERVICE
|
|
160
|
-
}
|
|
157
|
+
export declare enum ITEM_TYPES {
|
|
158
|
+
GOOD = "GOOD",
|
|
159
|
+
SERVICE = "SERVICE"
|
|
160
|
+
}
|
|
161
161
|
export declare const UOMS: {
|
|
162
162
|
full_form: string;
|
|
163
163
|
short_form: string;
|
|
@@ -51,10 +51,11 @@ exports.ITEM_TAX_PREFERENCE = {
|
|
|
51
51
|
// Disable gst field
|
|
52
52
|
NON_GST: "Non-GST",
|
|
53
53
|
};
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
var ITEM_TYPES;
|
|
55
|
+
(function (ITEM_TYPES) {
|
|
56
|
+
ITEM_TYPES["GOOD"] = "GOOD";
|
|
57
|
+
ITEM_TYPES["SERVICE"] = "SERVICE";
|
|
58
|
+
})(ITEM_TYPES || (exports.ITEM_TYPES = ITEM_TYPES = {}));
|
|
58
59
|
exports.UOMS = [
|
|
59
60
|
{ full_form: "BAGS", short_form: "BAG" },
|
|
60
61
|
{ full_form: "BALE", short_form: "BAL" },
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IBaseKPIProps } from "../../../basKPIS.typings";
|
|
2
|
+
export interface ITopCategoryVendorDistributionKPIReq {
|
|
3
|
+
company_id: IBaseKPIProps["company_id"];
|
|
4
|
+
}
|
|
5
|
+
export interface ITopCategoryVendorDistributionKPIUnit {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
value: number;
|
|
9
|
+
}
|
|
10
|
+
export interface ITopCategoryVendorDistributionKPIRes {
|
|
11
|
+
data: ITopCategoryVendorDistributionKPIUnit[];
|
|
12
|
+
}
|
|
@@ -7,7 +7,7 @@ import { CONTACT_PERSON_TYPE, INestedContactPeople } from "./contactPeople.typin
|
|
|
7
7
|
import { ITaxRelatedItemInputs } from "./docItems.typings";
|
|
8
8
|
import { INestedDocumentTaxes } from "./documentTaxes.typings";
|
|
9
9
|
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
10
|
-
import { INestedItem } from "./item.typings";
|
|
10
|
+
import { INestedItem, ITEM_TYPES } from "./item.typings";
|
|
11
11
|
import { INestedPOASNItemJunction } from "./poAsnJunctionItems.typings";
|
|
12
12
|
import { INestedPurchaseLocation } from "./purchaseLocation.typings";
|
|
13
13
|
import { INestedQuote } from "./quote.typings";
|
|
@@ -138,6 +138,9 @@ export interface IPOItem extends ITaxRelatedItemInputs {
|
|
|
138
138
|
id: string;
|
|
139
139
|
company_id: string;
|
|
140
140
|
type: string;
|
|
141
|
+
item_type: ITEM_TYPES;
|
|
142
|
+
hsn_code: string | null;
|
|
143
|
+
sac_code: string | null;
|
|
141
144
|
parent_po_id: string | null;
|
|
142
145
|
parent_po_bom_id: string | null;
|
|
143
146
|
referenced_comparative_item_id: string | null;
|