kcommons 9.51.1 → 9.52.1

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.
@@ -1,13 +1,14 @@
1
+ import { IOpenApprovalsBase } from "./common/openApprovals.typings";
1
2
  import { IPaginationFilters } from "./common/paginationFilters.typings";
2
3
  import { INestedCompany } from "./company.typings";
3
4
  import { INestedInventoryLog } from "./company/inventory/inventoryLogger.typings";
4
5
  import { INestedDepartment } from "./department.typings";
5
6
  import { IDocItem } from "./docItems.typings";
6
- import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
7
+ import { IEntityApprovalChainEntry, INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
7
8
  import { INestedIndent, INestedIndentItem } from "./indent.typings";
8
9
  import { INestedItem } from "./item.typings";
9
10
  import { INestedStoreLocation } from "./storeLocation.typings";
10
- import { INestedUser } from "./user.typings";
11
+ import { INestedUser, IUser } from "./user.typings";
11
12
  export declare enum MI_LIST_TYPES {
12
13
  ALL = "ALL",
13
14
  MY_APPROVALS = "MY_APPROVALS",
@@ -101,3 +102,11 @@ export interface IMIItems extends IDocItem {
101
102
  }
102
103
  export interface INestedMIItem extends Omit<IMIItems, "indent_item" | "item" | "company" | "parent_mi"> {
103
104
  }
105
+ export interface IMIApprovalByTokenPayload extends IOpenApprovalsBase {
106
+ mi_id: string;
107
+ }
108
+ export interface IOpenMIApprovalData {
109
+ miData: IMI;
110
+ userData: IUser;
111
+ entityApprovalChainEntry: IEntityApprovalChainEntry;
112
+ }
@@ -4,10 +4,11 @@ import { INestedIndent, INestedIndentItem } from "./indent.typings";
4
4
  import { INestedItem } from "./item.typings";
5
5
  import { INestedPurchaseLocation } from "./purchaseLocation.typings";
6
6
  import { INestedRFQItem } from "./rfq.typings";
7
- import { INestedUser } from "./user.typings";
8
- import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
7
+ import { INestedUser, IUser } from "./user.typings";
8
+ import { IEntityApprovalChainEntry, INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
9
9
  import { INestedStoreLocation } from "./storeLocation.typings";
10
10
  import { IPaginationFilters } from "./common/paginationFilters.typings";
11
+ import { IOpenApprovalsBase } from "./common/openApprovals.typings";
11
12
  export declare enum PR_LIST_TYPE {
12
13
  ALL = "ALL",
13
14
  MY_APPROVALS = "MY_APPROVALS",
@@ -120,3 +121,11 @@ export declare const PR_PRIORITY_TYPES: {
120
121
  MEDIUM: string;
121
122
  HIGH: string;
122
123
  };
124
+ export interface IPROpenApprovalByTokenPayload extends IOpenApprovalsBase {
125
+ pr_id: string;
126
+ }
127
+ export interface IOpenPRApprovalData {
128
+ prData: IPR;
129
+ userData: IUser;
130
+ entityApprovalChainEntry: IEntityApprovalChainEntry;
131
+ }
@@ -56,4 +56,3 @@ exports.PR_PRIORITY_TYPES = {
56
56
  MEDIUM: "Medium",
57
57
  HIGH: "High",
58
58
  };
59
- //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "9.51.1",
3
+ "version": "9.52.1",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",