kcommons 18.9.5 → 18.9.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.
@@ -321,6 +321,8 @@ export interface IPOMetafields {
321
321
  vendor_contact_details: INestedVendorUser | null;
322
322
  associated_vendor_quote_item_list: IAssoicatedVendorQuoteItemsForPO[] | null;
323
323
  associated_vendor_quote_items_custom_uoms: IPOAssociatedVendorQuoteItemCustomUOM[] | null;
324
+ supplier_invoice_data: INestedSupplierInvoice[] | null;
325
+ supplier_invoice_created_by_user_data: INestedUser | null;
324
326
  }
325
327
  export declare enum PO_METAFIELDS_INCLUDE {
326
328
  items_data = "items_data",
@@ -328,7 +330,8 @@ export declare enum PO_METAFIELDS_INCLUDE {
328
330
  vendor_contact_details = "vendor_contact_details",
329
331
  associated_vendor_quote_item_list = "associated_vendor_quote_item_list",
330
332
  associated_vendor_quote_items_custom_uoms = "associated_vendor_quote_items_custom_uoms",
331
- supplier_invoice_user_data = "supplier_invoice_user_data"
333
+ supplier_invoice_data = "supplier_invoice_data",
334
+ supplier_invoice_created_by_user_data = "supplier_invoice_created_by_user_data"
332
335
  }
333
336
  export interface IPOApprovalByTokenPayload extends IOpenApprovalsBase {
334
337
  po_id: string;
@@ -120,5 +120,6 @@ var PO_METAFIELDS_INCLUDE;
120
120
  PO_METAFIELDS_INCLUDE["vendor_contact_details"] = "vendor_contact_details";
121
121
  PO_METAFIELDS_INCLUDE["associated_vendor_quote_item_list"] = "associated_vendor_quote_item_list";
122
122
  PO_METAFIELDS_INCLUDE["associated_vendor_quote_items_custom_uoms"] = "associated_vendor_quote_items_custom_uoms";
123
- PO_METAFIELDS_INCLUDE["supplier_invoice_user_data"] = "supplier_invoice_user_data";
123
+ PO_METAFIELDS_INCLUDE["supplier_invoice_data"] = "supplier_invoice_data";
124
+ PO_METAFIELDS_INCLUDE["supplier_invoice_created_by_user_data"] = "supplier_invoice_created_by_user_data";
124
125
  })(PO_METAFIELDS_INCLUDE || (exports.PO_METAFIELDS_INCLUDE = PO_METAFIELDS_INCLUDE = {}));
@@ -6,7 +6,7 @@ import { INestedUser } from "./user.typings";
6
6
  import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
7
7
  import { INestedQALocation } from "./qualityAssessment.typings";
8
8
  import { INestedPOItem } from "./company/masters/po.typings";
9
- import { INestedSupplierInvoice } from "./supplierInvoice.typings";
9
+ import { ISupplierInvoice } from "./supplierInvoice.typings";
10
10
  export declare enum QCD_STATUS {
11
11
  DRAFT = "DRAFT",
12
12
  PENDING_APPROVAL = "PENDING_APPROVAL",
@@ -103,15 +103,10 @@ export interface IQCDItemFilters extends Partial<Pick<IQualityClearanceDocumentI
103
103
  export interface IQCDItemFiltersWithPagination extends IQCDItemFilters, IPaginationFilters {
104
104
  }
105
105
  export interface IQCDMetafields {
106
- supplier_invoice_data: IQCDSupplierInvoiceData | null;
106
+ supplier_invoice_data: ISupplierInvoice | null;
107
+ supplier_invoice_created_by_user_data: INestedUser | null;
107
108
  }
108
109
  export declare enum QCD_METAFIELDS_INCLUDE {
109
- supplier_invoice_data = "supplier_invoice__data"
110
- }
111
- export interface IQCDSupplierInvoiceData {
112
- associated_supplier_invoice: INestedSupplierInvoice;
113
- firstname: string | null;
114
- lastname: string | null;
115
- middlename: string | null;
116
- employee_code: string | null;
110
+ supplier_invoice_data = "supplier_invoice_data",
111
+ supplier_invoice_created_by_user_data = "supplier_invoice_created_by_user_data"
117
112
  }
@@ -37,5 +37,13 @@ var QCD_ITEM_INCLUDE;
37
37
  })(QCD_ITEM_INCLUDE || (exports.QCD_ITEM_INCLUDE = QCD_ITEM_INCLUDE = {}));
38
38
  var QCD_METAFIELDS_INCLUDE;
39
39
  (function (QCD_METAFIELDS_INCLUDE) {
40
- QCD_METAFIELDS_INCLUDE["supplier_invoice_data"] = "supplier_invoice__data";
40
+ QCD_METAFIELDS_INCLUDE["supplier_invoice_data"] = "supplier_invoice_data";
41
+ QCD_METAFIELDS_INCLUDE["supplier_invoice_created_by_user_data"] = "supplier_invoice_created_by_user_data";
41
42
  })(QCD_METAFIELDS_INCLUDE || (exports.QCD_METAFIELDS_INCLUDE = QCD_METAFIELDS_INCLUDE = {}));
43
+ // export interface IQCDSupplierInvoiceData {
44
+ // associated_supplier_invoice: INestedSupplierInvoice;
45
+ // firstname: string | null;
46
+ // lastname: string | null;
47
+ // middlename: string | null;
48
+ // employee_code: string | null;
49
+ // }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "18.9.5",
3
+ "version": "18.9.6",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",