kcommons 5.2.7 → 5.2.9

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,10 +1,16 @@
1
1
  import { INestedCompany } from "./company.typings";
2
+ import { INestedNegotiation } from "./negotiation.typings";
3
+ import { INestedPo } from "./po.typings";
2
4
  import { INestedRFQ } from "./rfq.typings";
3
5
  import { INestedVendor } from "./vendor.typings";
4
6
  import { INestedVendorGroups } from "./vendorGroup.typings";
5
7
  export declare enum CompanyVendorsInclude {
6
8
  COMPANY = "company",
7
- VENDOR = "vendor"
9
+ VENDOR = "vendor",
10
+ negotiations = "negotiations",
11
+ rfqs_sent = "rfqs_sent",
12
+ pos = "pos",
13
+ vendor_groups = "vendor_groups"
8
14
  }
9
15
  export interface ICompanyVendor {
10
16
  id: string;
@@ -22,6 +28,8 @@ export interface ICompanyVendor {
22
28
  vendor?: INestedVendor | null;
23
29
  rfqs_sent?: INestedRFQ[] | null;
24
30
  vendor_groups?: INestedVendorGroups[] | null;
31
+ negotiations?: INestedNegotiation[] | null;
32
+ pos?: INestedPo[] | null;
25
33
  }
26
- export interface INestedCompanyVendors extends Omit<ICompanyVendor, "company" | "vendor" | "rfqs_sent" | "vendor_groups"> {
34
+ export interface INestedCompanyVendors extends Omit<ICompanyVendor, "company" | "vendor" | "rfqs_sent" | "vendor_groups" | "negotiations" | "pos"> {
27
35
  }
@@ -5,4 +5,8 @@ var CompanyVendorsInclude;
5
5
  (function (CompanyVendorsInclude) {
6
6
  CompanyVendorsInclude["COMPANY"] = "company";
7
7
  CompanyVendorsInclude["VENDOR"] = "vendor";
8
+ CompanyVendorsInclude["negotiations"] = "negotiations";
9
+ CompanyVendorsInclude["rfqs_sent"] = "rfqs_sent";
10
+ CompanyVendorsInclude["pos"] = "pos";
11
+ CompanyVendorsInclude["vendor_groups"] = "vendor_groups";
8
12
  })(CompanyVendorsInclude = exports.CompanyVendorsInclude || (exports.CompanyVendorsInclude = {}));
@@ -7,6 +7,7 @@ import { INestedItem } from "./item.typings";
7
7
  import { INestedMI } from "./mi.typings";
8
8
  import { INestedNegotiation } from "./negotiation.typings";
9
9
  import { INestedOffice } from "./offices.typings";
10
+ import { INestedPo } from "./po.typings";
10
11
  import { INestedPR } from "./pr.typings";
11
12
  import { INestedPurchaseLocation } from "./purchaseLocation.typings";
12
13
  import { INestedRFQ } from "./rfq.typings";
@@ -56,8 +57,12 @@ export interface IUser {
56
57
  created_rfq_items?: null | INestedRFQ[];
57
58
  assigned_roles?: null | INestedRole[];
58
59
  negotiations?: null | INestedNegotiation[];
60
+ created_pos?: null | INestedPo[];
61
+ as_contact_person_for_pos?: null | INestedPo[];
62
+ pos_sent_for_approval?: null | INestedPo[];
63
+ pos_sent_to_vendors?: null | INestedPo[];
59
64
  }
60
- export interface INestedUser extends Omit<IUser, "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_contact_person_companies" | "as_contact_person_offices" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles"> {
65
+ export interface INestedUser extends Omit<IUser, "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_contact_person_companies" | "as_contact_person_offices" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors"> {
61
66
  }
62
67
  export declare enum UserInclude {
63
68
  as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
@@ -69,5 +74,10 @@ export declare enum UserInclude {
69
74
  head_for_departments = "head_for_departments",
70
75
  approved_items = "approved_items",
71
76
  approval_chains = "approval_chains",
72
- assigned_roles = "assigned_roles"
77
+ assigned_roles = "assigned_roles",
78
+ negotiations = "negotiations",
79
+ created_pos = "created_pos",
80
+ as_contact_person_for_pos = "as_contact_person_for_pos",
81
+ pos_sent_for_approval = "pos_sent_for_approval",
82
+ pos_sent_to_vendors = "pos_sent_to_vendors"
73
83
  }
@@ -14,4 +14,9 @@ var UserInclude;
14
14
  UserInclude["approved_items"] = "approved_items";
15
15
  UserInclude["approval_chains"] = "approval_chains";
16
16
  UserInclude["assigned_roles"] = "assigned_roles";
17
+ UserInclude["negotiations"] = "negotiations";
18
+ UserInclude["created_pos"] = "created_pos";
19
+ UserInclude["as_contact_person_for_pos"] = "as_contact_person_for_pos";
20
+ UserInclude["pos_sent_for_approval"] = "pos_sent_for_approval";
21
+ UserInclude["pos_sent_to_vendors"] = "pos_sent_to_vendors";
17
22
  })(UserInclude = exports.UserInclude || (exports.UserInclude = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "5.2.7",
3
+ "version": "5.2.9",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",