kcommons 5.27.10 → 5.27.11
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.
|
@@ -65,7 +65,8 @@ export declare enum IndentInclude {
|
|
|
65
65
|
}
|
|
66
66
|
export interface IIndentItem extends IDocItem {
|
|
67
67
|
indent_id: string;
|
|
68
|
-
|
|
68
|
+
pending_quantity: number;
|
|
69
|
+
processing_quantity: number;
|
|
69
70
|
}
|
|
70
71
|
export interface INestedIndentItem extends Omit<IIndentItem, "company" | "item" | "parent_indent"> {
|
|
71
72
|
}
|
|
@@ -2,7 +2,8 @@ import { INestedApprovalChainEntry } from "./approvalChain.typings";
|
|
|
2
2
|
import { INestedCompany } from "./company.typings";
|
|
3
3
|
import { INestedDepartment } from "./department.typings";
|
|
4
4
|
import { IDocItem } from "./docItems.typings";
|
|
5
|
-
import { INestedIndent } from "./indent.typings";
|
|
5
|
+
import { INestedIndent, INestedIndentItem } from "./indent.typings";
|
|
6
|
+
import { INestedItem } from "./item.typings";
|
|
6
7
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
7
8
|
import { INestedUser } from "./user.typings";
|
|
8
9
|
export interface IMI {
|
|
@@ -48,9 +49,16 @@ export declare enum MI_INCLUDE {
|
|
|
48
49
|
items = "items",
|
|
49
50
|
store_location = "store_location"
|
|
50
51
|
}
|
|
52
|
+
export declare enum MI_ITEM_INCLUDE {
|
|
53
|
+
indent_item = "indent_item",
|
|
54
|
+
item = "item"
|
|
55
|
+
}
|
|
51
56
|
export interface IMIItems extends IDocItem {
|
|
52
57
|
mi_id: string;
|
|
53
58
|
quantity: number;
|
|
59
|
+
parent_indent_item_id: string | null;
|
|
60
|
+
indent_item: INestedIndentItem | null;
|
|
61
|
+
item: INestedItem | null;
|
|
54
62
|
}
|
|
55
|
-
export interface INestedMIItem extends IMIItems {
|
|
63
|
+
export interface INestedMIItem extends Omit<IMIItems, "indent_item" | "item"> {
|
|
56
64
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MI_INCLUDE = exports.MI_STATUS = void 0;
|
|
3
|
+
exports.MI_ITEM_INCLUDE = exports.MI_INCLUDE = exports.MI_STATUS = void 0;
|
|
4
4
|
var MI_STATUS;
|
|
5
5
|
(function (MI_STATUS) {
|
|
6
6
|
MI_STATUS["DRAFT"] = "DRAFT";
|
|
@@ -19,3 +19,9 @@ var MI_INCLUDE;
|
|
|
19
19
|
MI_INCLUDE["items"] = "items";
|
|
20
20
|
MI_INCLUDE["store_location"] = "store_location";
|
|
21
21
|
})(MI_INCLUDE || (exports.MI_INCLUDE = MI_INCLUDE = {}));
|
|
22
|
+
// MI Item Typings
|
|
23
|
+
var MI_ITEM_INCLUDE;
|
|
24
|
+
(function (MI_ITEM_INCLUDE) {
|
|
25
|
+
MI_ITEM_INCLUDE["indent_item"] = "indent_item";
|
|
26
|
+
MI_ITEM_INCLUDE["item"] = "item";
|
|
27
|
+
})(MI_ITEM_INCLUDE || (exports.MI_ITEM_INCLUDE = MI_ITEM_INCLUDE = {}));
|