kcommons 18.19.5 → 18.19.6

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.
@@ -16,6 +16,7 @@ import { INestedPOGRNItemJunction } from "./company/masters/poGrnJunctionItems.t
16
16
  import { INestedSupplierInvoice } from "./supplierInvoice.typings";
17
17
  import { INestedQualityClearanceDocument, INestedQualityClearanceDocumentItem } from "./qcd.typings";
18
18
  import { INestedEntityApprovalChainEntryLog } from "./entityApprovalChainEntryLog.typings";
19
+ import { INestedVendor } from "./vendor.typings";
19
20
  export declare enum GRN_LIST_TYPES {
20
21
  ALL = "ALL",
21
22
  CREATED_BY_ME = "CREATED_BY_ME",
@@ -77,6 +78,7 @@ export interface IGRNFilters {
77
78
  status_array?: GRN_STATUS[];
78
79
  include?: GRN_INCLUDE[];
79
80
  metafields_include?: GRN_METAFIELDS_INCLUDE[];
81
+ for_creating_mrn?: boolean;
80
82
  }
81
83
  export declare enum GRN_STATUS {
82
84
  DRAFT = "DRAFT",
@@ -214,12 +216,14 @@ export interface IGRNMetafields {
214
216
  vendor_quote_item_custom_uom_data: IGRNVendorQuoteItemCustomUOM[] | null;
215
217
  supplier_invoice_user_data: INestedUser | null;
216
218
  approval_logs: INestedEntityApprovalChainEntryLog[] | null;
219
+ vendor: INestedVendor | null;
217
220
  }
218
221
  export declare enum GRN_METAFIELDS_INCLUDE {
219
222
  items_data = "items_data",
220
223
  vendor_quote_item_custom_uom_data = "vendor_quote_item_custom_uom_data",
221
224
  supplier_invoice_user_data = "supplier_invoice_user_data",
222
- approval_logs = "approval_logs"
225
+ approval_logs = "approval_logs",
226
+ vendor = "vendor"
223
227
  }
224
228
  export interface IGRNVendorQuoteItemCustomUOM {
225
229
  quote_item_id: string | null;
@@ -87,4 +87,5 @@ var GRN_METAFIELDS_INCLUDE;
87
87
  GRN_METAFIELDS_INCLUDE["vendor_quote_item_custom_uom_data"] = "vendor_quote_item_custom_uom_data";
88
88
  GRN_METAFIELDS_INCLUDE["supplier_invoice_user_data"] = "supplier_invoice_user_data";
89
89
  GRN_METAFIELDS_INCLUDE["approval_logs"] = "approval_logs";
90
+ GRN_METAFIELDS_INCLUDE["vendor"] = "vendor";
90
91
  })(GRN_METAFIELDS_INCLUDE || (exports.GRN_METAFIELDS_INCLUDE = GRN_METAFIELDS_INCLUDE = {}));
@@ -24,6 +24,7 @@ export interface ISupplierInvoiceFiltersWithPaginationForVendor extends ISupplie
24
24
  }
25
25
  export interface ISupplierInvoiceFiltersForCompany extends Partial<Pick<ISupplierInvoice, "company_vendor_id">>, ISupplierInvoiceFiltersBase {
26
26
  for_creating_gi?: boolean;
27
+ for_creating_ves?: boolean;
27
28
  }
28
29
  export interface ISupplierInvoiceFiltersWithPaginationForCompany extends ISupplierInvoiceFiltersForCompany, IPaginationFilters {
29
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "18.19.5",
3
+ "version": "18.19.6",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",