kcommons 1.0.11 → 1.0.14
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 +7 -1
- package/build/typings/includes/companyVendors.inlcude.js +1 -1
- package/build/typings/includes/department.include.js +1 -1
- package/build/typings/includes/itemCategory.include.d.ts +3 -0
- package/build/typings/includes/itemCategory.include.js +7 -0
- package/build/typings/includes/itemSubcategory.include.d.ts +3 -0
- package/build/typings/includes/itemSubcategory.include.js +7 -0
- package/build/typings/includes/offices.include.js +1 -1
- package/build/typings/includes/roles.include.js +1 -1
- package/build/typings/includes/storeInventory.include.js +1 -1
- package/build/typings/includes/user.include.js +1 -1
- package/build/typings/item/item_tax_preference.d.ts +2 -0
- package/build/typings/item/item_tax_preference.js +2 -0
- package/build/typings/item/item_uoms.d.ts +3 -5
- package/build/typings/item/item_uoms.js +48 -8
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -7,3 +7,4 @@ export * from "./typings/includes/department.include";
|
|
|
7
7
|
export * from "./typings/includes/offices.include";
|
|
8
8
|
export * from "./typings/includes/storeInventory.include";
|
|
9
9
|
export * from "./typings/includes/user.include";
|
|
10
|
+
export * from "./typings/includes/itemCategory.include";
|
package/build/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -20,3 +24,5 @@ __exportStar(require("./typings/includes/department.include"), exports);
|
|
|
20
24
|
__exportStar(require("./typings/includes/offices.include"), exports);
|
|
21
25
|
__exportStar(require("./typings/includes/storeInventory.include"), exports);
|
|
22
26
|
__exportStar(require("./typings/includes/user.include"), exports);
|
|
27
|
+
__exportStar(require("./typings/includes/itemCategory.include"), exports);
|
|
28
|
+
console.log("hello");
|
|
@@ -5,4 +5,4 @@ var CompanyVendorsInclude;
|
|
|
5
5
|
(function (CompanyVendorsInclude) {
|
|
6
6
|
CompanyVendorsInclude["COMPANY"] = "company";
|
|
7
7
|
CompanyVendorsInclude["VENDOR"] = "vendor";
|
|
8
|
-
})(CompanyVendorsInclude
|
|
8
|
+
})(CompanyVendorsInclude || (exports.CompanyVendorsInclude = CompanyVendorsInclude = {}));
|
|
@@ -5,4 +5,4 @@ var DepartmentInclude;
|
|
|
5
5
|
(function (DepartmentInclude) {
|
|
6
6
|
DepartmentInclude["subdepartments"] = "subdepartments";
|
|
7
7
|
DepartmentInclude["employees"] = "employees";
|
|
8
|
-
})(DepartmentInclude
|
|
8
|
+
})(DepartmentInclude || (exports.DepartmentInclude = DepartmentInclude = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ItemCategoryInclude = void 0;
|
|
4
|
+
var ItemCategoryInclude;
|
|
5
|
+
(function (ItemCategoryInclude) {
|
|
6
|
+
ItemCategoryInclude["subcategories"] = "subcategories";
|
|
7
|
+
})(ItemCategoryInclude || (exports.ItemCategoryInclude = ItemCategoryInclude = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ItemSubcategoryInclude = void 0;
|
|
4
|
+
var ItemSubcategoryInclude;
|
|
5
|
+
(function (ItemSubcategoryInclude) {
|
|
6
|
+
ItemSubcategoryInclude["subcategories"] = "subcategories";
|
|
7
|
+
})(ItemSubcategoryInclude = exports.ItemSubcategoryInclude || (exports.ItemSubcategoryInclude = {}));
|
|
@@ -4,4 +4,4 @@ exports.OfficeInclude = void 0;
|
|
|
4
4
|
var OfficeInclude;
|
|
5
5
|
(function (OfficeInclude) {
|
|
6
6
|
OfficeInclude["associated_stores"] = "associated_stores";
|
|
7
|
-
})(OfficeInclude
|
|
7
|
+
})(OfficeInclude || (exports.OfficeInclude = OfficeInclude = {}));
|
|
@@ -5,4 +5,4 @@ var StoreInventoryItemIncludes;
|
|
|
5
5
|
(function (StoreInventoryItemIncludes) {
|
|
6
6
|
StoreInventoryItemIncludes["item"] = "item";
|
|
7
7
|
StoreInventoryItemIncludes["store"] = "store";
|
|
8
|
-
})(StoreInventoryItemIncludes
|
|
8
|
+
})(StoreInventoryItemIncludes || (exports.StoreInventoryItemIncludes = StoreInventoryItemIncludes = {}));
|
|
@@ -8,4 +8,4 @@ var UserInclude;
|
|
|
8
8
|
UserInclude["assigned_offices"] = "assigned_offices";
|
|
9
9
|
UserInclude["assigned_stores"] = "assigned_stores";
|
|
10
10
|
UserInclude["assigned_roles"] = "assigned_roles";
|
|
11
|
-
})(UserInclude
|
|
11
|
+
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|
|
@@ -1,10 +1,50 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UOMS =
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
exports.UOMS = void 0;
|
|
4
|
+
exports.UOMS = [
|
|
5
|
+
{ full_form: "BAGS", short_form: "BAG" },
|
|
6
|
+
{ full_form: "BALE", short_form: "BAL" },
|
|
7
|
+
{ full_form: "BILLION OF UNITS", short_form: "BOU" },
|
|
8
|
+
{ full_form: "BOTTLES", short_form: "BTL" },
|
|
9
|
+
{ full_form: "BOX", short_form: "BOX" },
|
|
10
|
+
{ full_form: "BUCKLES", short_form: "BKL" },
|
|
11
|
+
{ full_form: "BUNCHES", short_form: "BUN" },
|
|
12
|
+
{ full_form: "BUNDLES", short_form: "BDL" },
|
|
13
|
+
{ full_form: "CANS", short_form: "CAN" },
|
|
14
|
+
{ full_form: "CARTONS", short_form: "CTN" },
|
|
15
|
+
{ full_form: "CENTI METERS", short_form: "CMS" },
|
|
16
|
+
{ full_form: "CUBIC CENTIMETERS", short_form: "CCM" },
|
|
17
|
+
{ full_form: "CUBIC METERS", short_form: "CBM" },
|
|
18
|
+
{ full_form: "DOZENS", short_form: "DOZ" },
|
|
19
|
+
{ full_form: "DRUMS", short_form: "DRM" },
|
|
20
|
+
{ full_form: "GRAMMES", short_form: "GMS" },
|
|
21
|
+
{ full_form: "GREAT GROSS", short_form: "GGK" },
|
|
22
|
+
{ full_form: "GROSS", short_form: "GRS" },
|
|
23
|
+
{ full_form: "GROSS YARDS", short_form: "GYD" },
|
|
24
|
+
{ full_form: "KILOGRAMS", short_form: "KGS" },
|
|
25
|
+
{ full_form: "KILOLITRE", short_form: "KLR" },
|
|
26
|
+
{ full_form: "KILOMETRE", short_form: "KME" },
|
|
27
|
+
{ full_form: "LITRES", short_form: "LTR" },
|
|
28
|
+
{ full_form: "METERS", short_form: "MTR" },
|
|
29
|
+
{ full_form: "METRIC TON", short_form: "MTS" },
|
|
30
|
+
{ full_form: "MILILITRE", short_form: "MLT" },
|
|
31
|
+
{ full_form: "NUMBERS", short_form: "NOS" },
|
|
32
|
+
{ full_form: "OTHERS", short_form: "OTH" },
|
|
33
|
+
{ full_form: "PACKS", short_form: "PAC" },
|
|
34
|
+
{ full_form: "PAIRS", short_form: "PRS" },
|
|
35
|
+
{ full_form: "PIECES", short_form: "PCS" },
|
|
36
|
+
{ full_form: "QUINTAL", short_form: "QTL" },
|
|
37
|
+
{ full_form: "ROLLS", short_form: "ROL" },
|
|
38
|
+
{ full_form: "SETS", short_form: "SET" },
|
|
39
|
+
{ full_form: "SQUARE FEET", short_form: "SQF" },
|
|
40
|
+
{ full_form: "SQUARE METERS", short_form: "SQM" },
|
|
41
|
+
{ full_form: "SQUARE YARDS", short_form: "SQY" },
|
|
42
|
+
{ full_form: "TABLETS", short_form: "TBS" },
|
|
43
|
+
{ full_form: "TEN GROSS", short_form: "TGM" },
|
|
44
|
+
{ full_form: "THOUSANDS", short_form: "THD" },
|
|
45
|
+
{ full_form: "TONNES", short_form: "TON" },
|
|
46
|
+
{ full_form: "TUBES", short_form: "TUB" },
|
|
47
|
+
{ full_form: "UNITS", short_form: "UNT" },
|
|
48
|
+
{ full_form: "US GALLONS", short_form: "UGS" },
|
|
49
|
+
{ full_form: "YARDS", short_form: "YDS" },
|
|
50
|
+
];
|