kcommons 5.24.3 → 5.24.5

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.
@@ -24,6 +24,7 @@ import { INestedUser } from "./user.typings";
24
24
  import { IAddress } from "./common/address.typings";
25
25
  import { INestedVendor } from "./vendor.typings";
26
26
  import { INestedVendorGroups } from "./vendorGroup.typings";
27
+ import { INestedCompanyProxy } from "./companyProxy.typings";
27
28
  export declare enum COMPANY_INCLUDE {
28
29
  associated_purchase_locations = "associated_purchase_locations",
29
30
  associated_vendors = "associated_vendors",
@@ -58,7 +59,8 @@ export declare enum COMPANY_INCLUDE {
58
59
  company_bom_items = "company_bom_items",
59
60
  company_comparatives = "company_comparatives",
60
61
  company_comparative_items = "company_comparative_items",
61
- company_notifications = "company_notifications"
62
+ company_notifications = "company_notifications",
63
+ company_proxy = "company_proxy"
62
64
  }
63
65
  export interface ICompany extends IAddress {
64
66
  id: string;
@@ -116,6 +118,7 @@ export interface ICompany extends IAddress {
116
118
  company_comparatives: INestedComparative[] | null;
117
119
  company_comparative_items: INestedComparativeItem[] | null;
118
120
  company_notifications: INestedNotification[] | null;
121
+ company_proxy: INestedCompanyProxy | null;
119
122
  }
120
- export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications"> {
123
+ export interface INestedCompany extends Omit<ICompany, "associated_purchase_locations" | "associated_vendors" | "associated_permissions" | "associated_roles" | "approval_configs" | "subdepartments" | "subcategories" | "categories" | "items" | "offices" | "stores" | "employees" | "departments" | "vendor_groups" | "company_indents" | "indent_items" | "company_mis" | "mi_items" | "company_prs" | "pr_items" | "company_rfqs" | "company_quotes" | "entity_approval_chain_entries" | "company_negotiations" | "company_pos" | "company_grns" | "company_grns_items" | "company_mrns" | "company_mrns_items" | "company_boms" | "company_bom_items" | "company_comparatives" | "company_comparative_items" | "company_notifications" | "company_proxy"> {
121
124
  }
@@ -37,4 +37,5 @@ var COMPANY_INCLUDE;
37
37
  COMPANY_INCLUDE["company_comparatives"] = "company_comparatives";
38
38
  COMPANY_INCLUDE["company_comparative_items"] = "company_comparative_items";
39
39
  COMPANY_INCLUDE["company_notifications"] = "company_notifications";
40
+ COMPANY_INCLUDE["company_proxy"] = "company_proxy";
40
41
  })(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
@@ -0,0 +1,11 @@
1
+ import { INestedCompany } from "./company.typings";
2
+ export declare enum COMPANY_PROXY_INCLUDE {
3
+ company = "company"
4
+ }
5
+ export interface ICompanyProxy {
6
+ id: string;
7
+ company_id: string;
8
+ company: INestedCompany | null;
9
+ }
10
+ export interface INestedCompanyProxy extends Omit<ICompanyProxy, "company"> {
11
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.COMPANY_PROXY_INCLUDE = void 0;
4
+ var COMPANY_PROXY_INCLUDE;
5
+ (function (COMPANY_PROXY_INCLUDE) {
6
+ COMPANY_PROXY_INCLUDE["company"] = "company";
7
+ })(COMPANY_PROXY_INCLUDE || (exports.COMPANY_PROXY_INCLUDE = COMPANY_PROXY_INCLUDE = {}));
@@ -56,6 +56,7 @@ export interface IItem {
56
56
  item_description: string | null;
57
57
  item_image?: string;
58
58
  sac_code?: string;
59
+ brand?: string;
59
60
  is_enabled: boolean;
60
61
  is_deleted?: boolean;
61
62
  is_approved?: boolean;
@@ -4,6 +4,7 @@ import { INestedNotification } from "./notifications.typings";
4
4
  import { INestedQuote } from "./quote.typings";
5
5
  import { INestedRFQ } from "./rfq.typings";
6
6
  import { IAddress } from "./common/address.typings";
7
+ import { INestedVendorProxy } from "./vendorProxy.typints";
7
8
  export interface IVendor extends IAddress {
8
9
  id: string;
9
10
  gst_no?: string | null;
@@ -41,15 +42,17 @@ export interface IVendor extends IAddress {
41
42
  negotiations: INestedNegotiation[] | null;
42
43
  as_additional_in_rfqs: INestedRFQ[] | null;
43
44
  vendor_notifications: INestedNotification[] | null;
45
+ vendor_proxy: INestedVendorProxy | null;
44
46
  }
45
- export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "vendor_notifications"> {
47
+ export interface INestedVendor extends Omit<IVendor, "quotes" | "associated_companies" | "negotiations" | "as_additional_in_rfqs" | "vendor_notifications" | "vendor_proxy"> {
46
48
  }
47
49
  export declare enum VENDOR_INCLUDE {
48
50
  quotes = "quotes",
49
51
  associated_companies = "associated_companies",
50
52
  negotiations = "negotiations",
51
53
  as_additional_in_rfqs = "as_additional_in_rfqs",
52
- vendor_notifications = "vendor_notifications"
54
+ vendor_notifications = "vendor_notifications",
55
+ vendor_proxy = "vendor_proxy"
53
56
  }
54
57
  export interface IVENDOR_TOKEN_PAYLOAD {
55
58
  id: string;
@@ -8,6 +8,7 @@ var VENDOR_INCLUDE;
8
8
  VENDOR_INCLUDE["negotiations"] = "negotiations";
9
9
  VENDOR_INCLUDE["as_additional_in_rfqs"] = "as_additional_in_rfqs";
10
10
  VENDOR_INCLUDE["vendor_notifications"] = "vendor_notifications";
11
+ VENDOR_INCLUDE["vendor_proxy"] = "vendor_proxy";
11
12
  // pos = "pos",
12
13
  })(VENDOR_INCLUDE || (exports.VENDOR_INCLUDE = VENDOR_INCLUDE = {}));
13
14
  // for GST-Core activities Types
@@ -0,0 +1,11 @@
1
+ import { IVendor } from "./vendor.typings";
2
+ export declare enum VENDOR_PROXY_INCLUDE {
3
+ vendor = "vendor"
4
+ }
5
+ export interface IVendorProxy {
6
+ id: string;
7
+ vendor_id: string;
8
+ vendor: IVendor | null;
9
+ }
10
+ export interface INestedVendorProxy extends Omit<IVendorProxy, "vendor"> {
11
+ }
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VENDOR_PROXY_INCLUDE = void 0;
4
+ var VENDOR_PROXY_INCLUDE;
5
+ (function (VENDOR_PROXY_INCLUDE) {
6
+ VENDOR_PROXY_INCLUDE["vendor"] = "vendor";
7
+ })(VENDOR_PROXY_INCLUDE || (exports.VENDOR_PROXY_INCLUDE = VENDOR_PROXY_INCLUDE = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "5.24.3",
3
+ "version": "5.24.5",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",