kcommons 9.2.10 → 9.2.12

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,5 +1,6 @@
1
1
  import { IPaginationFilters } from "../../common/paginationFilters.typings";
2
2
  import { INestedCompany } from "../../company.typings";
3
+ import { INestedEntityApprovalChainEntry } from "../../entityApprovalChainEntry.typings";
3
4
  import { INestedStoreLocation } from "../../storeLocation.typings";
4
5
  import { INestedUser } from "../../user.typings";
5
6
  import { INestedISTDItem } from "./istdItems.typings";
@@ -34,7 +35,8 @@ export declare enum ISTD_INCLUDE {
34
35
  terminated_by = "terminated_by",
35
36
  items = "items",
36
37
  sent_to_dest_store_by = "sent_to_dest_store_by",
37
- marked_as_processed_by = "marked_as_processed_by"
38
+ marked_as_processed_by = "marked_as_processed_by",
39
+ approval_chain = "approval_chain"
38
40
  }
39
41
  export interface IISTD {
40
42
  id: string;
@@ -77,8 +79,9 @@ export interface IISTD {
77
79
  source_store_location: INestedStoreLocation | null;
78
80
  dest_store_location: INestedStoreLocation | null;
79
81
  terminated_by: INestedUser | null;
82
+ approval_chain: INestedEntityApprovalChainEntry[] | null;
80
83
  }
81
- export interface INestedISTD extends Omit<IISTD, "items" | "company" | "created_by" | "last_updated_by" | "source_contact_person" | "dest_contact_person" | "sent_for_source_approval_by" | "sent_for_dest_approval_by" | "source_store_location" | "dest_store_location" | "terminated_by" | "sent_to_dest_store_by" | "marked_as_processed_by"> {
84
+ export interface INestedISTD extends Omit<IISTD, "items" | "company" | "created_by" | "last_updated_by" | "source_contact_person" | "dest_contact_person" | "sent_for_source_approval_by" | "sent_for_dest_approval_by" | "source_store_location" | "dest_store_location" | "terminated_by" | "sent_to_dest_store_by" | "marked_as_processed_by" | "approval_chain"> {
82
85
  }
83
86
  export interface IISTDFilter {
84
87
  source_contact_person_id?: string | null;
@@ -37,4 +37,5 @@ var ISTD_INCLUDE;
37
37
  ISTD_INCLUDE["items"] = "items";
38
38
  ISTD_INCLUDE["sent_to_dest_store_by"] = "sent_to_dest_store_by";
39
39
  ISTD_INCLUDE["marked_as_processed_by"] = "marked_as_processed_by";
40
+ ISTD_INCLUDE["approval_chain"] = "approval_chain";
40
41
  })(ISTD_INCLUDE || (exports.ISTD_INCLUDE = ISTD_INCLUDE = {}));
@@ -1,4 +1,5 @@
1
1
  import { INestedCompany } from "./company.typings";
2
+ import { INestedISTD } from "./company/istd/istd.typings";
2
3
  import { INestedComparative } from "./comparative.typings";
3
4
  import { INestedGRN } from "./grn.typings";
4
5
  import { INestedIndent } from "./indent.typings";
@@ -20,7 +21,8 @@ export declare enum ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES {
20
21
  comparative = "comparative",
21
22
  po = "po",
22
23
  grn = "grn",
23
- mrn = "mrn"
24
+ mrn = "mrn",
25
+ istd = "istd"
24
26
  }
25
27
  export interface IEntityApprovalChainEntry {
26
28
  id: string;
@@ -37,6 +39,7 @@ export interface IEntityApprovalChainEntry {
37
39
  po_id?: string;
38
40
  mrn_id?: string;
39
41
  grn_id?: string;
42
+ istd_id?: string;
40
43
  deleted_at: string | null;
41
44
  is_deleted: boolean | null;
42
45
  created_at: string | null;
@@ -52,6 +55,7 @@ export interface IEntityApprovalChainEntry {
52
55
  po?: INestedPo | null;
53
56
  grn?: INestedGRN | null;
54
57
  mrn?: INestedMRN | null;
58
+ istd?: INestedISTD | null;
55
59
  }
56
- export interface INestedEntityApprovalChainEntry extends Omit<IEntityApprovalChainEntry, "company" | "user" | "role" | "indent" | "mi" | "pr" | "rfq" | "comparative" | "po" | "grn" | "mrn"> {
60
+ export interface INestedEntityApprovalChainEntry extends Omit<IEntityApprovalChainEntry, "company" | "user" | "role" | "indent" | "mi" | "pr" | "rfq" | "comparative" | "po" | "grn" | "mrn" | "istd"> {
57
61
  }
@@ -14,4 +14,5 @@ var ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES;
14
14
  ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["po"] = "po";
15
15
  ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["grn"] = "grn";
16
16
  ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["mrn"] = "mrn";
17
+ ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES["istd"] = "istd";
17
18
  })(ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES || (exports.ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES = ENTITY_APPROVAL_CHAIN_ENTRY_INCLUDES = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "9.2.10",
3
+ "version": "9.2.12",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",