kcommons 14.11.1 → 14.12.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/classes/asnWrapper.class.d.ts +2 -2
- package/build/constants/companyRoutes.constants.d.ts +1 -1
- package/build/index.d.ts +3 -2
- package/build/index.js +3 -2
- package/build/typings/asn.typings.d.ts +2 -2
- package/build/typings/bom.typings.d.ts +1 -1
- package/build/typings/company/masters/paymentTerms.typings.d.ts +1 -1
- package/build/typings/{po.typings.d.ts → company/masters/po.typings.d.ts} +29 -21
- package/build/typings/{po.typings.js → company/masters/po.typings.js} +5 -1
- package/build/typings/{poAsnJunctionItems.typings.d.ts → company/masters/poAsnJunctionItems.typings.d.ts} +3 -3
- package/build/typings/{poGrnJunctionItems.typings.d.ts → company/masters/poGrnJunctionItems.typings.d.ts} +3 -3
- package/build/typings/company/masters/poMetafields.typings.d.ts +7 -0
- package/build/typings/company/masters/poMetafields.typings.js +10 -0
- package/build/typings/company/masters/termsAndConditions.typings.d.ts +1 -1
- package/build/typings/company/masters/ves.typings.d.ts +1 -1
- package/build/typings/company.typings.d.ts +3 -3
- package/build/typings/companyVendors.typings.d.ts +1 -1
- package/build/typings/comparative.typings.d.ts +1 -1
- package/build/typings/contactPeople.typings.d.ts +1 -1
- package/build/typings/documentTaxes.typings.d.ts +1 -1
- package/build/typings/entityApprovalChainEntry.typings.d.ts +1 -1
- package/build/typings/grn.typings.d.ts +2 -2
- package/build/typings/invoices.typings.d.ts +1 -1
- package/build/typings/item.typings.d.ts +4 -4
- package/build/typings/purchaseLocation.typings.d.ts +1 -1
- package/build/typings/quote.typings.d.ts +1 -1
- package/build/typings/storeLocation.typings.d.ts +1 -1
- package/build/typings/user.typings.d.ts +1 -1
- package/build/typings/vendor.typings.d.ts +1 -1
- package/package.json +1 -1
- package/build/typings/company/settings/termsAndConditions.typings.d.ts +0 -37
- package/build/typings/company/settings/termsAndConditions.typings.js +0 -10
- package/build/typings/vendor/vendorFormRollback.typings.d.ts +0 -35
- package/build/typings/vendor/vendorFormRollback.typings.js +0 -14
- /package/build/typings/{poAsnJunctionItems.typings.js → company/masters/poAsnJunctionItems.typings.js} +0 -0
- /package/build/typings/{poGrnJunctionItems.typings.js → company/masters/poGrnJunctionItems.typings.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IASNItem } from "../typings/asn.typings";
|
|
2
2
|
import { INestedGRNItem } from "../typings/grn.typings";
|
|
3
|
-
import { INestedPOItem } from "../typings/po.typings";
|
|
4
|
-
import { INestedPOGRNItemJunction } from "../typings/poGrnJunctionItems.typings";
|
|
3
|
+
import { INestedPOItem } from "../typings/company/masters/po.typings";
|
|
4
|
+
import { INestedPOGRNItemJunction } from "../typings/company/masters/poGrnJunctionItems.typings";
|
|
5
5
|
export declare class ASNItemWrapper implements IASNItem {
|
|
6
6
|
constructor(partial: IASNItem);
|
|
7
7
|
po_asn_item_junction_id: string;
|
|
@@ -5,7 +5,7 @@ import { GRN_TABS } from "../typings/grn.typings";
|
|
|
5
5
|
import { INDENT_TABS } from "../typings/indent.typings";
|
|
6
6
|
import { MI_SOURCE } from "../typings/mi.typings";
|
|
7
7
|
import { MRN_TABS } from "../typings/mrn.typings";
|
|
8
|
-
import { COMPANY_VIEW_PO_TABS } from "../typings/po.typings";
|
|
8
|
+
import { COMPANY_VIEW_PO_TABS } from "../typings/company/masters/po.typings";
|
|
9
9
|
import { PR_SOURCE } from "../typings/pr.typings";
|
|
10
10
|
import { RFQ_TABS } from "../typings/rfq.typings";
|
|
11
11
|
export declare enum COMPANY_ROUTE_IDS {
|
package/build/index.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export * from "./typings/vendorGroup.typings";
|
|
|
23
23
|
export * from "./typings/item.typings";
|
|
24
24
|
export * from "./typings/documentTaxes.typings";
|
|
25
25
|
export * from "./typings/docItems.typings";
|
|
26
|
-
export * from "./typings/po.typings";
|
|
26
|
+
export * from "./typings/company/masters/po.typings";
|
|
27
27
|
export * from "./typings/comparative.typings";
|
|
28
28
|
export * from "./typings/gate.typings";
|
|
29
29
|
export * from "./typings/grn.typings";
|
|
@@ -45,7 +45,8 @@ export * from "./typings/settings/form/extraFormAns.typings";
|
|
|
45
45
|
export * from "./typings/extraCoreRelatedQuestions.typings";
|
|
46
46
|
export * from "./typings/extraCoreRelatedQuestionsForCompany.typings";
|
|
47
47
|
export * from "./typings/companySepcificVendorItems.typings";
|
|
48
|
-
export * from "./typings/poAsnJunctionItems.typings";
|
|
48
|
+
export * from "./typings/company/masters/poAsnJunctionItems.typings";
|
|
49
|
+
export * from "./typings/company/masters/poGrnJunctionItems.typings";
|
|
49
50
|
export * from "./typings/contactPeople.typings";
|
|
50
51
|
export * from "./typings/companyItemVendorVersion.typings";
|
|
51
52
|
export * from "./typings/company/istd/istd.typings";
|
package/build/index.js
CHANGED
|
@@ -42,7 +42,7 @@ __exportStar(require("./typings/vendorGroup.typings"), exports);
|
|
|
42
42
|
__exportStar(require("./typings/item.typings"), exports);
|
|
43
43
|
__exportStar(require("./typings/documentTaxes.typings"), exports);
|
|
44
44
|
__exportStar(require("./typings/docItems.typings"), exports);
|
|
45
|
-
__exportStar(require("./typings/po.typings"), exports);
|
|
45
|
+
__exportStar(require("./typings/company/masters/po.typings"), exports);
|
|
46
46
|
__exportStar(require("./typings/comparative.typings"), exports);
|
|
47
47
|
__exportStar(require("./typings/gate.typings"), exports);
|
|
48
48
|
__exportStar(require("./typings/grn.typings"), exports);
|
|
@@ -64,7 +64,8 @@ __exportStar(require("./typings/settings/form/extraFormAns.typings"), exports);
|
|
|
64
64
|
__exportStar(require("./typings/extraCoreRelatedQuestions.typings"), exports);
|
|
65
65
|
__exportStar(require("./typings/extraCoreRelatedQuestionsForCompany.typings"), exports);
|
|
66
66
|
__exportStar(require("./typings/companySepcificVendorItems.typings"), exports);
|
|
67
|
-
__exportStar(require("./typings/poAsnJunctionItems.typings"), exports);
|
|
67
|
+
__exportStar(require("./typings/company/masters/poAsnJunctionItems.typings"), exports);
|
|
68
|
+
__exportStar(require("./typings/company/masters/poGrnJunctionItems.typings"), exports);
|
|
68
69
|
__exportStar(require("./typings/contactPeople.typings"), exports);
|
|
69
70
|
__exportStar(require("./typings/companyItemVendorVersion.typings"), exports);
|
|
70
71
|
__exportStar(require("./typings/company/istd/istd.typings"), exports);
|
|
@@ -4,11 +4,11 @@ import { INestedVES } from "./company/masters/ves.typings";
|
|
|
4
4
|
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
5
5
|
import { INestedGRN, INestedGRNItem } from "./grn.typings";
|
|
6
6
|
import { INestedItem } from "./item.typings";
|
|
7
|
-
import { INestedPo } from "./po.typings";
|
|
8
|
-
import { INestedPOASNItemJunction } from "./poAsnJunctionItems.typings";
|
|
7
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
9
8
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
10
9
|
import { INestedUser } from "./user.typings";
|
|
11
10
|
import { INestedVendor } from "./vendor.typings";
|
|
11
|
+
import { INestedPOASNItemJunction } from "./company/masters/poAsnJunctionItems.typings";
|
|
12
12
|
export declare enum ASN_CANCELLED_BY_ENTITY {
|
|
13
13
|
COMPANY = "COMPANY",
|
|
14
14
|
VENDOR = "VENDOR"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
2
2
|
import { INestedCompany } from "./company.typings";
|
|
3
3
|
import { INestedItem } from "./item.typings";
|
|
4
|
-
import { INestedPOBom } from "./po.typings";
|
|
4
|
+
import { INestedPOBom } from "./company/masters/po.typings";
|
|
5
5
|
import { INestedRFQBOM } from "./rfq.typings";
|
|
6
6
|
import { INestedUser } from "./user.typings";
|
|
7
7
|
export interface IBOMFilters {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IPaginationFilters } from "../../common/paginationFilters.typings";
|
|
2
2
|
import { INestedCompany } from "../../company.typings";
|
|
3
|
-
import { INestedPo } from "
|
|
3
|
+
import { INestedPo } from "./po.typings";
|
|
4
4
|
import { INestedUser } from "../../user.typings";
|
|
5
5
|
export declare enum PAYMENT_TERM_INCLUDE {
|
|
6
6
|
company = "company",
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { INestedBOM } from "
|
|
2
|
-
import { IOpenApprovalsBase } from "
|
|
3
|
-
import { IPaginationFilters } from "
|
|
4
|
-
import { INestedCompany } from "
|
|
5
|
-
import { INestedVES } from "./
|
|
6
|
-
import { INestedTermsAndConditions } from "./
|
|
7
|
-
import { INestedCompanyVendors } from "
|
|
8
|
-
import { INestedComparative, INestedComparativeItem } from "
|
|
9
|
-
import { CONTACT_PERSON_TYPE, INestedContactPeople } from "
|
|
10
|
-
import { ITaxRelatedItemInputs } from "
|
|
11
|
-
import { INestedDocumentTaxes } from "
|
|
12
|
-
import { IEntityApprovalChainEntry, INestedEntityApprovalChainEntry } from "
|
|
13
|
-
import { INestedGRN } from "
|
|
14
|
-
import { INestedInvoice } from "
|
|
15
|
-
import { INestedItem, ITEM_TYPES } from "
|
|
1
|
+
import { INestedBOM } from "../../bom.typings";
|
|
2
|
+
import { IOpenApprovalsBase } from "../../common/openApprovals.typings";
|
|
3
|
+
import { IPaginationFilters } from "../../common/paginationFilters.typings";
|
|
4
|
+
import { INestedCompany } from "../../company.typings";
|
|
5
|
+
import { INestedVES } from "./ves.typings";
|
|
6
|
+
import { INestedTermsAndConditions } from "./termsAndConditions.typings";
|
|
7
|
+
import { INestedCompanyVendors } from "../../companyVendors.typings";
|
|
8
|
+
import { INestedComparative, INestedComparativeItem } from "../../comparative.typings";
|
|
9
|
+
import { CONTACT_PERSON_TYPE, INestedContactPeople } from "../../contactPeople.typings";
|
|
10
|
+
import { ITaxRelatedItemInputs } from "../../docItems.typings";
|
|
11
|
+
import { INestedDocumentTaxes } from "../../documentTaxes.typings";
|
|
12
|
+
import { IEntityApprovalChainEntry, INestedEntityApprovalChainEntry } from "../../entityApprovalChainEntry.typings";
|
|
13
|
+
import { INestedGRN } from "../../grn.typings";
|
|
14
|
+
import { INestedInvoice } from "../../invoices.typings";
|
|
15
|
+
import { INestedItem, ITEM_TYPES } from "../../item.typings";
|
|
16
16
|
import { INestedPOASNItemJunction } from "./poAsnJunctionItems.typings";
|
|
17
17
|
import { INestedPOGRNItemJunction } from "./poGrnJunctionItems.typings";
|
|
18
|
-
import { INestedPurchaseLocation } from "
|
|
19
|
-
import { INestedQuote } from "
|
|
20
|
-
import { INestedStoreLocation } from "
|
|
21
|
-
import { INestedUser, IUser } from "
|
|
22
|
-
import { INestedVendor } from "
|
|
18
|
+
import { INestedPurchaseLocation } from "../../purchaseLocation.typings";
|
|
19
|
+
import { INestedQuote } from "../../quote.typings";
|
|
20
|
+
import { INestedStoreLocation } from "../../storeLocation.typings";
|
|
21
|
+
import { INestedUser, IUser } from "../../user.typings";
|
|
22
|
+
import { INestedVendor } from "../../vendor.typings";
|
|
23
23
|
export declare enum PO_LIST_TYPES {
|
|
24
24
|
ALL = "ALL",
|
|
25
25
|
CREATED_BY_ME = "CREATED_BY_ME",
|
|
@@ -74,6 +74,7 @@ export interface IPOFilters {
|
|
|
74
74
|
list_type?: PO_LIST_TYPES;
|
|
75
75
|
user?: IUser;
|
|
76
76
|
include?: PO_INCLUDE[];
|
|
77
|
+
metafields_include?: PO_METAFIELDS_INCLUDE[];
|
|
77
78
|
}
|
|
78
79
|
export interface IPOFiltersWithPagination extends IPOFilters, IPaginationFilters {
|
|
79
80
|
}
|
|
@@ -146,8 +147,9 @@ export interface IPurchaseOrder {
|
|
|
146
147
|
child_ves: INestedVES[] | null;
|
|
147
148
|
tnc: INestedTermsAndConditions | null;
|
|
148
149
|
pt: INestedPo | null;
|
|
150
|
+
metafields: IPOMetafields | null;
|
|
149
151
|
}
|
|
150
|
-
export interface INestedPo extends Omit<IPurchaseOrder, "company" | "purchase_location" | "shipping_store_location" | "created_by_user" | "last_updated_by_user" | "company_vendor" | "contact_person" | "external_contact_person" | "sent_for_approval_by" | "sent_to_vendor_by" | "parent_quote" | "comparative" | "items" | "boms" | "approval_chain" | "taxes" | "vendor" | "least_purchase_price_items" | "previous_purchase_price_items" | "invoices" | "po_grn_items_junctions" | "directly_created_grns" | "child_ves" | "tnc" | "
|
|
152
|
+
export interface INestedPo extends Omit<IPurchaseOrder, "company" | "purchase_location" | "shipping_store_location" | "created_by_user" | "last_updated_by_user" | "company_vendor" | "contact_person" | "external_contact_person" | "sent_for_approval_by" | "sent_to_vendor_by" | "parent_quote" | "comparative" | "items" | "boms" | "approval_chain" | "taxes" | "vendor" | "least_purchase_price_items" | "previous_purchase_price_items" | "invoices" | "po_grn_items_junctions" | "directly_created_grns" | "child_ves" | "tnc" | "metafields"> {
|
|
151
153
|
}
|
|
152
154
|
export declare enum PO_INCLUDE {
|
|
153
155
|
invoices = "invoices",
|
|
@@ -227,6 +229,12 @@ export interface IPOBom {
|
|
|
227
229
|
}
|
|
228
230
|
export interface INestedPOBom extends Omit<IPOBom, "parent_po" | "bom" | "referenced_po_items"> {
|
|
229
231
|
}
|
|
232
|
+
export interface IPOMetafields {
|
|
233
|
+
items_data: INestedItem[] | null;
|
|
234
|
+
}
|
|
235
|
+
export declare enum PO_METAFIELDS_INCLUDE {
|
|
236
|
+
items_data = "items_data"
|
|
237
|
+
}
|
|
230
238
|
export interface IPOApprovalByTokenPayload extends IOpenApprovalsBase {
|
|
231
239
|
po_id: string;
|
|
232
240
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PO_BOM_INCLUDE = exports.PO_ITEM_INCLUDE = exports.PO_INCLUDE = exports.PO_ITEM_ASCENDENCE_TYPE = exports.PO_TYPE = exports.PO_STATUS = exports.COMPANY_VIEW_PO_TABS = exports.PO_LIST_TYPES = void 0;
|
|
3
|
+
exports.PO_METAFIELDS_INCLUDE = exports.PO_BOM_INCLUDE = exports.PO_ITEM_INCLUDE = exports.PO_INCLUDE = exports.PO_ITEM_ASCENDENCE_TYPE = exports.PO_TYPE = exports.PO_STATUS = exports.COMPANY_VIEW_PO_TABS = exports.PO_LIST_TYPES = void 0;
|
|
4
4
|
var PO_LIST_TYPES;
|
|
5
5
|
(function (PO_LIST_TYPES) {
|
|
6
6
|
PO_LIST_TYPES["ALL"] = "ALL";
|
|
@@ -94,3 +94,7 @@ var PO_BOM_INCLUDE;
|
|
|
94
94
|
PO_BOM_INCLUDE["bom"] = "bom";
|
|
95
95
|
PO_BOM_INCLUDE["referenced_po_items"] = "referenced_po_items";
|
|
96
96
|
})(PO_BOM_INCLUDE || (exports.PO_BOM_INCLUDE = PO_BOM_INCLUDE = {}));
|
|
97
|
+
var PO_METAFIELDS_INCLUDE;
|
|
98
|
+
(function (PO_METAFIELDS_INCLUDE) {
|
|
99
|
+
PO_METAFIELDS_INCLUDE["items_data"] = "items_data";
|
|
100
|
+
})(PO_METAFIELDS_INCLUDE || (exports.PO_METAFIELDS_INCLUDE = PO_METAFIELDS_INCLUDE = {}));
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { INestedASNItem } from "./asn.typings";
|
|
2
|
-
import { INestedCompany } from "./company.typings";
|
|
3
|
-
import { INestedItem } from "./item.typings";
|
|
4
1
|
import { INestedPo } from "./po.typings";
|
|
2
|
+
import { INestedASNItem } from "../../asn.typings";
|
|
3
|
+
import { INestedCompany } from "../../company.typings";
|
|
4
|
+
import { INestedItem } from "../../item.typings";
|
|
5
5
|
export declare enum PO_ASN_ITEM_JUNCTION_INCLUDE {
|
|
6
6
|
company = "company",
|
|
7
7
|
item = "item",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { INestedCompany } from "
|
|
2
|
-
import { INestedGRNItem } from "
|
|
3
|
-
import { INestedItem } from "
|
|
1
|
+
import { INestedCompany } from "../../company.typings";
|
|
2
|
+
import { INestedGRNItem } from "../../grn.typings";
|
|
3
|
+
import { INestedItem } from "../../item.typings";
|
|
4
4
|
import { INestedPo } from "./po.typings";
|
|
5
5
|
export declare enum PO_GRN_ITEMS_JUNCTION_INCLUDE {
|
|
6
6
|
parent_po = "parent_po",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PO_METAFIELDS_INCLUDE = void 0;
|
|
4
|
+
var PO_METAFIELDS_INCLUDE;
|
|
5
|
+
(function (PO_METAFIELDS_INCLUDE) {
|
|
6
|
+
PO_METAFIELDS_INCLUDE["items_data"] = "items_data";
|
|
7
|
+
})(
|
|
8
|
+
PO_METAFIELDS_INCLUDE ||
|
|
9
|
+
(exports.PO_METAFIELDS_INCLUDE = PO_METAFIELDS_INCLUDE = {})
|
|
10
|
+
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { INestedUser } from "../../user.typings";
|
|
2
2
|
import { IPaginationFilters } from "../../common/paginationFilters.typings";
|
|
3
3
|
import { INestedCompany } from "../../company.typings";
|
|
4
|
-
import { INestedPo } from "
|
|
4
|
+
import { INestedPo } from "./po.typings";
|
|
5
5
|
export interface ITermsAndConditions {
|
|
6
6
|
id: string;
|
|
7
7
|
tnc_title: string;
|
|
@@ -3,7 +3,7 @@ import { IPaginationFilters } from "../../common/paginationFilters.typings";
|
|
|
3
3
|
import { INestedCompany } from "../../company.typings";
|
|
4
4
|
import { INestedEntityApprovalChainEntry } from "../../entityApprovalChainEntry.typings";
|
|
5
5
|
import { IGRN } from "../../grn.typings";
|
|
6
|
-
import { INestedPo, IPurchaseOrder } from "
|
|
6
|
+
import { INestedPo, IPurchaseOrder } from "./po.typings";
|
|
7
7
|
import { INestedStoreLocation } from "../../storeLocation.typings";
|
|
8
8
|
import { INestedUser } from "../../user.typings";
|
|
9
9
|
import { INestedVendor } from "../../vendor.typings";
|
|
@@ -13,7 +13,7 @@ import { INestedMRN, INestedMRNItem } from "./mrn.typings";
|
|
|
13
13
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
14
14
|
import { INestedNotification } from "./notifications.typings";
|
|
15
15
|
import { INestedOffice } from "./offices.typings";
|
|
16
|
-
import { INestedPo } from "./po.typings";
|
|
16
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
17
17
|
import { INestedPR, INestedPrItem } from "./pr.typings";
|
|
18
18
|
import { INestedPurchaseLocation } from "./purchaseLocation.typings";
|
|
19
19
|
import { INestedQuote } from "./quote.typings";
|
|
@@ -29,7 +29,6 @@ import { INestedExtraFormAnswerEntitys } from "./settings/form/extraFormAns.typi
|
|
|
29
29
|
import { INestedExtraCoreRelatedQuestionsForCompanyEntiy } from "./extraCoreRelatedQuestionsForCompany.typings";
|
|
30
30
|
import { INestedCompanySpecificVendorItemVersion } from "./companySepcificVendorItems.typings";
|
|
31
31
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
32
|
-
import { INestedPOASNItemJunction } from "./poAsnJunctionItems.typings";
|
|
33
32
|
import { INestedContactPeople } from "./contactPeople.typings";
|
|
34
33
|
import { INestedCompanyItemVendorVersion } from "./companyItemVendorVersion.typings";
|
|
35
34
|
import { INestedISTD } from "./company/istd/istd.typings";
|
|
@@ -42,7 +41,6 @@ import { INestedVendorManagementBody } from "./company/masters/vendorManagementB
|
|
|
42
41
|
import { INestedVendorOnboardingRequestCategory } from "./company/vendorOnboardingRequest/vendorOnboardingRequestCategory.typings";
|
|
43
42
|
import { DATE_TIME_UNITS } from "../constants/date.constants";
|
|
44
43
|
import { INestedItemManagementBody } from "./company/masters/itemManagementbody.typings";
|
|
45
|
-
import { INestedPOGRNItemJunction } from "./poGrnJunctionItems.typings";
|
|
46
44
|
import { INestedFormRolback } from "./vendor/vendorFormRollbackRemark.typings";
|
|
47
45
|
import { INestedCheckpoint } from "./company/masters/checkpoints.typings";
|
|
48
46
|
import { INestedVES } from "./company/masters/ves.typings";
|
|
@@ -50,6 +48,8 @@ import { INestedQueueJob } from "./system/queueJob.typings";
|
|
|
50
48
|
import { INestedTermsAndConditions } from "./company/masters/termsAndConditions.typings";
|
|
51
49
|
import { INestedPaymentTerms } from "./company/masters/paymentTerms.typings";
|
|
52
50
|
import { INestedCompanyConfig } from "./companyConfig.typings";
|
|
51
|
+
import { INestedPOASNItemJunction } from "./company/masters/poAsnJunctionItems.typings";
|
|
52
|
+
import { INestedPOGRNItemJunction } from "./company/masters/poGrnJunctionItems.typings";
|
|
53
53
|
export declare enum PRICING_PLANS {
|
|
54
54
|
BASIC = "BASIC",
|
|
55
55
|
GROWTH = "GROWTH",
|
|
@@ -9,7 +9,7 @@ import { INestedInvoice } from "./invoices.typings";
|
|
|
9
9
|
import { INestedItem } from "./item.typings";
|
|
10
10
|
import { INestedItemCategory } from "./itemCategory.typings";
|
|
11
11
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
12
|
-
import { INestedPo } from "./po.typings";
|
|
12
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
13
13
|
import { INestedRFQ } from "./rfq.typings";
|
|
14
14
|
import { INestedExtraFormAnswerEntitys } from "./settings/form/extraFormAns.typings";
|
|
15
15
|
import { INestedUser, IUser } from "./user.typings";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { INestedCompany } from "./company.typings";
|
|
2
2
|
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
3
3
|
import { INestedItem } from "./item.typings";
|
|
4
|
-
import { INestedPo, INestedPOItem } from "./po.typings";
|
|
4
|
+
import { INestedPo, INestedPOItem } from "./company/masters/po.typings";
|
|
5
5
|
import { INestedQuote, INestedQuoteItems } from "./quote.typings";
|
|
6
6
|
import { INestedRFQ } from "./rfq.typings";
|
|
7
7
|
import { INestedUser } from "./user.typings";
|
|
@@ -2,7 +2,7 @@ import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
|
2
2
|
import { INestedCompany } from "./company.typings";
|
|
3
3
|
import { INestedIndent } from "./indent.typings";
|
|
4
4
|
import { INestedMI } from "./mi.typings";
|
|
5
|
-
import { INestedPo } from "./po.typings";
|
|
5
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
6
6
|
import { INestedUser } from "./user.typings";
|
|
7
7
|
export declare enum CONTACT_PEOPLE_INCLUDE {
|
|
8
8
|
created_by_user = "created_by_user",
|
|
@@ -11,7 +11,7 @@ import { INestedIndent } from "./indent.typings";
|
|
|
11
11
|
import { INestedItem } from "./item.typings";
|
|
12
12
|
import { INestedMI } from "./mi.typings";
|
|
13
13
|
import { INestedMRN } from "./mrn.typings";
|
|
14
|
-
import { INestedPo } from "./po.typings";
|
|
14
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
15
15
|
import { INestedPR } from "./pr.typings";
|
|
16
16
|
import { INestedRFQ } from "./rfq.typings";
|
|
17
17
|
import { INestedRole } from "./roles.typings";
|
|
@@ -9,10 +9,10 @@ import { INestedDepartment } from "./department.typings";
|
|
|
9
9
|
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
10
10
|
import { INestedItem } from "./item.typings";
|
|
11
11
|
import { INestedMRN, INestedMRNItem } from "./mrn.typings";
|
|
12
|
-
import { INestedPo } from "./po.typings";
|
|
13
|
-
import { INestedPOGRNItemJunction } from "./poGrnJunctionItems.typings";
|
|
12
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
14
13
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
15
14
|
import { INestedUser } from "./user.typings";
|
|
15
|
+
import { INestedPOGRNItemJunction } from "./company/masters/poGrnJunctionItems.typings";
|
|
16
16
|
export declare enum GRN_LIST_TYPES {
|
|
17
17
|
ALL = "ALL",
|
|
18
18
|
CREATED_BY_ME = "CREATED_BY_ME",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
2
2
|
import { INestedCompany } from "./company.typings";
|
|
3
3
|
import { INestedCompanyVendors } from "./companyVendors.typings";
|
|
4
|
-
import { INestedPo } from "./po.typings";
|
|
4
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
5
5
|
import { INestedUser } from "./user.typings";
|
|
6
6
|
import { INestedVendor } from "./vendor.typings";
|
|
7
7
|
export declare enum INVOICE_STATUS {
|
|
@@ -9,7 +9,6 @@ import { INestedItemCategory } from "./itemCategory.typings";
|
|
|
9
9
|
import { INestedItemSubcategory } from "./itemSubcategory.typings";
|
|
10
10
|
import { INestedMIItem } from "./mi.typings";
|
|
11
11
|
import { INestedMRNItem } from "./mrn.typings";
|
|
12
|
-
import { INestedPOASNItemJunction } from "./poAsnJunctionItems.typings";
|
|
13
12
|
import { INestedPrItem } from "./pr.typings";
|
|
14
13
|
import { INestedQuoteItems } from "./quote.typings";
|
|
15
14
|
import { INestedInventoryItem } from "./company/inventory/storeInventory.typings";
|
|
@@ -17,13 +16,14 @@ import { INestedUser } from "./user.typings";
|
|
|
17
16
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
18
17
|
import { INestedISTDItem } from "./company/istd/istdItems.typings";
|
|
19
18
|
import { INestedInventoryLog } from "./company/inventory/inventoryLogger.typings";
|
|
20
|
-
import { INestedPo } from "./po.typings";
|
|
19
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
21
20
|
import { INestedRFQItem } from "./rfq.typings";
|
|
22
21
|
import { INestedItemManagementBody } from "./company/masters/itemManagementbody.typings";
|
|
23
22
|
import { IEntityApprovalChainEntry, INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
24
23
|
import { IOpenApprovalsBase } from "./common/openApprovals.typings";
|
|
25
|
-
import { INestedPOGRNItemJunction } from "./poGrnJunctionItems.typings";
|
|
26
24
|
import { INestedVESItem } from "./company/masters/vesItem.typings";
|
|
25
|
+
import { INestedPOASNItemJunction } from "./company/masters/poAsnJunctionItems.typings";
|
|
26
|
+
import { INestedPOGRNItemJunction } from "./company/masters/poGrnJunctionItems.typings";
|
|
27
27
|
export interface IOpenItemApprovalsTokenVerificationResponse {
|
|
28
28
|
itemData: IItem;
|
|
29
29
|
entityApprovalChainEntry: IEntityApprovalChainEntry;
|
|
@@ -174,7 +174,7 @@ export interface IItem {
|
|
|
174
174
|
cancelled_by_user: INestedUser | null;
|
|
175
175
|
used_in_ves_items: INestedVESItem[] | null;
|
|
176
176
|
}
|
|
177
|
-
export interface INestedItem extends Omit<IItem, "inventory_entries" | "item_category" | "item_subcategory" | "company" | "used_in_rfq_items" | "used_in_indent_items" | "used_in_mi_items" | "used_in_pr_items" | "used_in_quote_items" | "used_in_grn_items" | "used_in_mrn_items" | "used_in_bom_items" | "used_in_comparative_items" | "previous_purchase_vendor" | "least_purchase_vendor" | "dealing_company_vendors" | "used_in_po_asn_item_junction" | "used_in_po_grn_item_junction" | "vendor_item_versions" | "used_in_istd_items" | "used_in_iads" | "used_in_inventory_logs" | "previous_purchase_po" | "least_purchase_po" | "parent_item_management_body" | "
|
|
177
|
+
export interface INestedItem extends Omit<IItem, "inventory_entries" | "created_by_user" | "sent_for_approval_by" | "item_category" | "item_subcategory" | "company" | "used_in_rfq_items" | "used_in_indent_items" | "used_in_mi_items" | "used_in_pr_items" | "used_in_quote_items" | "used_in_grn_items" | "used_in_mrn_items" | "used_in_bom_items" | "used_in_comparative_items" | "previous_purchase_vendor" | "least_purchase_vendor" | "dealing_company_vendors" | "used_in_po_asn_item_junction" | "used_in_po_grn_item_junction" | "vendor_item_versions" | "last_updated_by" | "used_in_istd_items" | "used_in_iads" | "used_in_inventory_logs" | "previous_purchase_po" | "least_purchase_po" | "parent_item_management_body" | "approval_chain" | "cancelled_by_user" | "used_in_ves_items"> {
|
|
178
178
|
}
|
|
179
179
|
export declare const ITEM_CLASSIFICATION: {
|
|
180
180
|
DIRECT: string;
|
|
@@ -2,7 +2,7 @@ import { INestedApprovalConfig } from "./approvalConfig.typings";
|
|
|
2
2
|
import { INestedCompany } from "./company.typings";
|
|
3
3
|
import { INestedDepartment } from "./department.typings";
|
|
4
4
|
import { INestedOffice } from "./offices.typings";
|
|
5
|
-
import { INestedPo } from "./po.typings";
|
|
5
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
6
6
|
import { INestedPR } from "./pr.typings";
|
|
7
7
|
import { INestedRole } from "./roles.typings";
|
|
8
8
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
@@ -5,7 +5,7 @@ import { ITaxRelatedItemInputs } from "./docItems.typings";
|
|
|
5
5
|
import { INestedDocumentTaxes } from "./documentTaxes.typings";
|
|
6
6
|
import { INestedItem } from "./item.typings";
|
|
7
7
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
8
|
-
import { INestedPo } from "./po.typings";
|
|
8
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
9
9
|
import { INestedRFQ, INestedRFQItem } from "./rfq.typings";
|
|
10
10
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
11
11
|
import { INestedUser } from "./user.typings";
|
|
@@ -9,7 +9,7 @@ import { INestedIndent } from "./indent.typings";
|
|
|
9
9
|
import { INestedMI } from "./mi.typings";
|
|
10
10
|
import { INestedMRN } from "./mrn.typings";
|
|
11
11
|
import { INestedOffice } from "./offices.typings";
|
|
12
|
-
import { INestedPo } from "./po.typings";
|
|
12
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
13
13
|
import { INestedPurchaseLocation } from "./purchaseLocation.typings";
|
|
14
14
|
import { INestedQuote } from "./quote.typings";
|
|
15
15
|
import { INestedRFQ } from "./rfq.typings";
|
|
@@ -15,7 +15,7 @@ import { INestedMI } from "./mi.typings";
|
|
|
15
15
|
import { INestedMRN } from "./mrn.typings";
|
|
16
16
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
17
17
|
import { INestedOffice } from "./offices.typings";
|
|
18
|
-
import { INestedPo } from "./po.typings";
|
|
18
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
19
19
|
import { INestedPR } from "./pr.typings";
|
|
20
20
|
import { INestedPurchaseLocation } from "./purchaseLocation.typings";
|
|
21
21
|
import { INestedRFQ } from "./rfq.typings";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { INestedCompany } from "./company.typings";
|
|
2
2
|
import { INestedNegotiation } from "./negotiation.typings";
|
|
3
3
|
import { INestedNotification } from "./notifications.typings";
|
|
4
|
-
import { INestedPo } from "./po.typings";
|
|
4
|
+
import { INestedPo } from "./company/masters/po.typings";
|
|
5
5
|
import { INestedQuote } from "./quote.typings";
|
|
6
6
|
import { INestedRFQ } from "./rfq.typings";
|
|
7
7
|
import { IAddress } from "./common/address.typings";
|
package/package.json
CHANGED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { INestedUser } from "../../user.typings";
|
|
2
|
-
import { IPaginationFilters } from "../../common/paginationFilters.typings";
|
|
3
|
-
import { INestedCompany } from "../../company.typings";
|
|
4
|
-
import { INestedPo } from "../../po.typings";
|
|
5
|
-
export interface ITermsAndConditions {
|
|
6
|
-
id: string;
|
|
7
|
-
tnc_title: string;
|
|
8
|
-
tnc_content: string;
|
|
9
|
-
company_id: string;
|
|
10
|
-
created_by_user_id: string;
|
|
11
|
-
last_updated_by_user_id: string | null;
|
|
12
|
-
is_enabled: boolean;
|
|
13
|
-
is_deleted: boolean;
|
|
14
|
-
deleted_at: Date | null;
|
|
15
|
-
created_at: Date;
|
|
16
|
-
updated_at: Date;
|
|
17
|
-
company: INestedCompany | null;
|
|
18
|
-
created_by_user: INestedUser | null;
|
|
19
|
-
last_updated_by_user: INestedUser | null;
|
|
20
|
-
used_in_pos?: INestedPo[] | null;
|
|
21
|
-
}
|
|
22
|
-
export interface INestedTermsAndConditions extends Omit<ITermsAndConditions, "company" | "created_by_user" | "last_updated_by_user" | "used_in_pos"> {
|
|
23
|
-
}
|
|
24
|
-
export declare enum TermsAndConditionsInclude {
|
|
25
|
-
company = "company",
|
|
26
|
-
created_by_user = "created_by_user",
|
|
27
|
-
last_updated_by_user = "last_updated_by_user",
|
|
28
|
-
used_in_pos = "used_in_pos"
|
|
29
|
-
}
|
|
30
|
-
export interface ITermsAndConditionsFilters extends Partial<Pick<ITermsAndConditions, "is_enabled">> {
|
|
31
|
-
name?: string | null;
|
|
32
|
-
tnc_title?: string | null;
|
|
33
|
-
tnc_content?: string | null;
|
|
34
|
-
include?: TermsAndConditionsInclude[] | null;
|
|
35
|
-
}
|
|
36
|
-
export interface ITermsAndconditionsFiltersWithPagination extends IPaginationFilters, ITermsAndConditionsFilters {
|
|
37
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TermsAndConditionsInclude = void 0;
|
|
4
|
-
var TermsAndConditionsInclude;
|
|
5
|
-
(function (TermsAndConditionsInclude) {
|
|
6
|
-
TermsAndConditionsInclude["company"] = "company";
|
|
7
|
-
TermsAndConditionsInclude["created_by_user"] = "created_by_user";
|
|
8
|
-
TermsAndConditionsInclude["last_updated_by_user"] = "last_updated_by_user";
|
|
9
|
-
TermsAndConditionsInclude["used_in_pos"] = "used_in_pos";
|
|
10
|
-
})(TermsAndConditionsInclude || (exports.TermsAndConditionsInclude = TermsAndConditionsInclude = {}));
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { IPaginationFilters } from "../common/paginationFilters.typings";
|
|
2
|
-
import { INestedCompany } from "../company.typings";
|
|
3
|
-
import { INestedUser } from "../user.typings";
|
|
4
|
-
import { INestedVendor } from "../vendor.typings";
|
|
5
|
-
export interface IVendorFormRollbackRemarkFilters {
|
|
6
|
-
sent_by_company_id?: String;
|
|
7
|
-
include?: VENDOR_FORM_ROLLBACK_REMARK_INCLUDE[];
|
|
8
|
-
}
|
|
9
|
-
export interface IVendorFormRollbackRemarkFiltersWithPagination extends IPaginationFilters, IVendorFormRollbackRemarkFilters {
|
|
10
|
-
}
|
|
11
|
-
export declare enum VENDOR_FORM_ROLLBACK_REMARK_INCLUDE {
|
|
12
|
-
rollback_by_user = "rollback_by_user",
|
|
13
|
-
sent_by_company = "sent_by_company",
|
|
14
|
-
sent_to_vendor = "sent_to_vendor"
|
|
15
|
-
}
|
|
16
|
-
export declare enum FORM_TYPE {
|
|
17
|
-
VENDOR_PAT = "VENDOR_PRE_ASSESSMENT",
|
|
18
|
-
VENDOR_SVF = "VENDOR_SELF_VERIFICATION"
|
|
19
|
-
}
|
|
20
|
-
export interface IVendorFormRollbackrRemark {
|
|
21
|
-
id: string;
|
|
22
|
-
remark: string;
|
|
23
|
-
response_at: string | null;
|
|
24
|
-
form_type: string;
|
|
25
|
-
rollback_by_user_id: string;
|
|
26
|
-
sent_by_company_id: string;
|
|
27
|
-
sent_to_vendor_id: string;
|
|
28
|
-
created_at: string;
|
|
29
|
-
update_at: string;
|
|
30
|
-
rollback_by_user: INestedUser | null;
|
|
31
|
-
sent_by_company: INestedCompany | null;
|
|
32
|
-
sent_to_vendor: INestedVendor | null;
|
|
33
|
-
}
|
|
34
|
-
export interface INestedFormRolback extends Omit<IVendorFormRollbackRemarkFilters, "rollback_by_user" | "sent_by_company" | "sent_to_vendor"> {
|
|
35
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FORM_TYPE = exports.VENDOR_FORM_ROLLBACK_REMARK_INCLUDE = void 0;
|
|
4
|
-
var VENDOR_FORM_ROLLBACK_REMARK_INCLUDE;
|
|
5
|
-
(function (VENDOR_FORM_ROLLBACK_REMARK_INCLUDE) {
|
|
6
|
-
VENDOR_FORM_ROLLBACK_REMARK_INCLUDE["rollback_by_user"] = "rollback_by_user";
|
|
7
|
-
VENDOR_FORM_ROLLBACK_REMARK_INCLUDE["sent_by_company"] = "sent_by_company";
|
|
8
|
-
VENDOR_FORM_ROLLBACK_REMARK_INCLUDE["sent_to_vendor"] = "sent_to_vendor";
|
|
9
|
-
})(VENDOR_FORM_ROLLBACK_REMARK_INCLUDE || (exports.VENDOR_FORM_ROLLBACK_REMARK_INCLUDE = VENDOR_FORM_ROLLBACK_REMARK_INCLUDE = {}));
|
|
10
|
-
var FORM_TYPE;
|
|
11
|
-
(function (FORM_TYPE) {
|
|
12
|
-
FORM_TYPE["VENDOR_PAT"] = "VENDOR_PRE_ASSESSMENT";
|
|
13
|
-
FORM_TYPE["VENDOR_SVF"] = "VENDOR_SELF_VERIFICATION";
|
|
14
|
-
})(FORM_TYPE || (exports.FORM_TYPE = FORM_TYPE = {}));
|
|
File without changes
|
|
File without changes
|