kcommons 4.1.0 → 4.2.0

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.
package/build/index.d.ts CHANGED
@@ -19,4 +19,5 @@ export * from "./typings/item.typings";
19
19
  export * from "./constants/permission.constants";
20
20
  export * from "./constants/entityTypes.constants";
21
21
  export * from "./constants/documentStatus.typings";
22
+ export * from "./constants/form.constants";
22
23
  export * from "./typings/quote.typings";
package/build/index.js CHANGED
@@ -33,5 +33,6 @@ __exportStar(require("./typings/item.typings"), exports);
33
33
  __exportStar(require("./constants/permission.constants"), exports);
34
34
  __exportStar(require("./constants/entityTypes.constants"), exports);
35
35
  __exportStar(require("./constants/documentStatus.typings"), exports);
36
+ __exportStar(require("./constants/form.constants"), exports);
36
37
  //Vendor
37
38
  __exportStar(require("./typings/quote.typings"), exports);
@@ -0,0 +1,2 @@
1
+ export interface IDocumentTaxes {
2
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,6 @@
1
+ import { ICompany } from "./company.typings";
2
+ import { INestedRFQ } from "./rfq.typings";
3
+ import { IVendor } from "./vendor.typings";
1
4
  export declare enum QUOTE_STATUS {
2
5
  PENDING = "PENDING",
3
6
  QUOTED = "QUOTED"
@@ -14,3 +17,28 @@ export declare enum QUOTE_ITEM_INCLUDES {
14
17
  item = "item",
15
18
  parent_rfq_item = "parent_rfq_item"
16
19
  }
20
+ export interface IQuote {
21
+ id: string;
22
+ rfq_id: string;
23
+ vendor_id: string;
24
+ company_id: string;
25
+ quote_no: string;
26
+ is_quoted: true;
27
+ delivery_schedule?: string | null;
28
+ payment_terms?: string | null;
29
+ remarks?: string | null;
30
+ terms_and_conditions?: string | null;
31
+ quoted_at?: string | null;
32
+ is_deleted?: boolean | null;
33
+ deleted_at?: string | null;
34
+ created_at?: string | null;
35
+ updated_at?: string | null;
36
+ parent_rfq?: INestedRFQ[] | null;
37
+ vendor?: IVendor | null;
38
+ company?: ICompany | null;
39
+ quote_items?: IQuoteItems[] | null;
40
+ }
41
+ export interface IQuoteInputs extends Omit<IQuote, "id" | "quoted_at" | "is_deleted" | "deleted_at" | "created_at" | "updated_at"> {
42
+ }
43
+ export interface IQuoteItems {
44
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kcommons",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.js",