kcommons 9.45.0 → 9.46.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/common/openApprovals.typings.d.ts +4 -0
- package/build/typings/common/openApprovals.typings.js +2 -0
- package/build/typings/indent.typings.d.ts +11 -2
- package/build/typings/po.typings.d.ts +2 -3
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export * from "./typings/company/istd/istdItems.typings";
|
|
|
47
47
|
export * from "./typings/company/iad/iad.typings";
|
|
48
48
|
export * from "./typings/company/inventory/inventoryLogger.typings";
|
|
49
49
|
export * from "./typings/company/inventory/inventoryOverview.typings";
|
|
50
|
+
export * from "./typings/common/openApprovals.typings";
|
|
50
51
|
export * from "./typings/common/address.typings";
|
|
51
52
|
export * from "./typings/common/paginationFilters.typings";
|
|
52
53
|
export * from "./typings/common/uploadMedia.typings";
|
package/build/index.js
CHANGED
|
@@ -64,6 +64,7 @@ __exportStar(require("./typings/company/istd/istdItems.typings"), exports);
|
|
|
64
64
|
__exportStar(require("./typings/company/iad/iad.typings"), exports);
|
|
65
65
|
__exportStar(require("./typings/company/inventory/inventoryLogger.typings"), exports);
|
|
66
66
|
__exportStar(require("./typings/company/inventory/inventoryOverview.typings"), exports);
|
|
67
|
+
__exportStar(require("./typings/common/openApprovals.typings"), exports);
|
|
67
68
|
// Commons
|
|
68
69
|
__exportStar(require("./typings/common/address.typings"), exports);
|
|
69
70
|
__exportStar(require("./typings/common/paginationFilters.typings"), exports);
|
|
@@ -5,9 +5,10 @@ import { INestedItem } from "./item.typings";
|
|
|
5
5
|
import { INestedMI, INestedMIItem } from "./mi.typings";
|
|
6
6
|
import { INestedPR, INestedPrItem } from "./pr.typings";
|
|
7
7
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
8
|
-
import { INestedUser } from "./user.typings";
|
|
9
|
-
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
8
|
+
import { INestedUser, IUser } from "./user.typings";
|
|
9
|
+
import { IEntityApprovalChainEntry, INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
10
10
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
11
|
+
import { IOpenApprovalsBase } from "./common/openApprovals.typings";
|
|
11
12
|
export declare enum INDENT_LIST_TYPE {
|
|
12
13
|
MY_APPROVALS = "MY_APPROVALS",
|
|
13
14
|
CREATED_BY_ME = "CREATED_BY_ME",
|
|
@@ -109,3 +110,11 @@ export interface IIndentItem extends IDocItem {
|
|
|
109
110
|
}
|
|
110
111
|
export interface INestedIndentItem extends Omit<IIndentItem, "company" | "item" | "parent_indent" | "mi_items" | "pr_items"> {
|
|
111
112
|
}
|
|
113
|
+
export interface IIndentApprovalByTokenPayload extends IOpenApprovalsBase {
|
|
114
|
+
indent_id: string;
|
|
115
|
+
}
|
|
116
|
+
export interface IOpenIndentApprovalData {
|
|
117
|
+
indentData: IIndent;
|
|
118
|
+
userData: IUser;
|
|
119
|
+
entityApprovalChainEntry: IEntityApprovalChainEntry;
|
|
120
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { INestedBOM } from "./bom.typings";
|
|
2
|
+
import { IOpenApprovalsBase } from "./common/openApprovals.typings";
|
|
2
3
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
3
4
|
import { INestedCompany } from "./company.typings";
|
|
4
5
|
import { INestedCompanyVendors } from "./companyVendors.typings";
|
|
@@ -189,9 +190,7 @@ export interface IPOBom {
|
|
|
189
190
|
}
|
|
190
191
|
export interface INestedPOBom extends Omit<IPOBom, "parent_po" | "bom" | "referenced_po_items"> {
|
|
191
192
|
}
|
|
192
|
-
export interface IPOApprovalByTokenPayload {
|
|
193
|
-
user_id: string;
|
|
194
|
-
role_id: string;
|
|
193
|
+
export interface IPOApprovalByTokenPayload extends IOpenApprovalsBase {
|
|
195
194
|
po_id: string;
|
|
196
195
|
}
|
|
197
196
|
export interface IOpenPOApprovalData {
|