kcommons 11.3.0 → 11.4.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/package.json +1 -1
- package/build/constants/document.constants.d.ts +0 -5
- package/build/constants/document.constants.js +0 -9
- package/build/constants/documentStatus.typings.d.ts +0 -22
- package/build/constants/documentStatus.typings.js +0 -26
- package/build/templates/notifications/po.notifications.d.ts +0 -0
- package/build/templates/notifications/po.notifications.js +0 -1
- package/build/templates/notifications/quote.notifications.d.ts +0 -9
- package/build/templates/notifications/quote.notifications.js +0 -31
- package/build/templates/notifications/rfq.notifications.d.ts +0 -7
- package/build/templates/notifications/rfq.notifications.js +0 -35
- package/build/typings/approvals/approvalChain.typings.d.ts +0 -5
- package/build/typings/approvals/approvalChain.typings.js +0 -9
- package/build/typings/common/commonAPIFilters.typings.d.ts +0 -4
- package/build/typings/common/commonAPIFilters.typings.js +0 -2
- package/build/typings/common/logger.typings.d.ts +0 -29
- package/build/typings/common/logger.typings.js +0 -18
- package/build/typings/companyProxy.typings.d.ts +0 -11
- package/build/typings/companyProxy.typings.js +0 -7
- package/build/typings/companyVendorItems.typings.d.ts +0 -6
- package/build/typings/companyVendorItems.typings.js +0 -2
- package/build/typings/dept-type/deptType.typings.d.ts +0 -5
- package/build/typings/dept-type/deptType.typings.js +0 -8
- package/build/typings/extraCoreRelatedQuestionsForCompany.typing.d.ts +0 -28
- package/build/typings/extraCoreRelatedQuestionsForCompany.typing.js +0 -10
- package/build/typings/includes/approvalChain.include.d.ts +0 -3
- package/build/typings/includes/approvalChain.include.js +0 -7
- package/build/typings/includes/companyVendors.inlcude.d.ts +0 -4
- package/build/typings/includes/companyVendors.inlcude.js +0 -8
- package/build/typings/includes/department.include.d.ts +0 -4
- package/build/typings/includes/department.include.js +0 -8
- package/build/typings/includes/indent.include.d.ts +0 -4
- package/build/typings/includes/indent.include.js +0 -8
- package/build/typings/includes/itemCategory.include.d.ts +0 -3
- package/build/typings/includes/itemCategory.include.js +0 -7
- package/build/typings/includes/itemSubcategory.include.d.ts +0 -3
- package/build/typings/includes/itemSubcategory.include.js +0 -7
- package/build/typings/includes/mi.includes.d.ts +0 -4
- package/build/typings/includes/mi.includes.js +0 -8
- package/build/typings/includes/offices.include.d.ts +0 -7
- package/build/typings/includes/offices.include.js +0 -11
- package/build/typings/includes/pr.include.d.ts +0 -5
- package/build/typings/includes/pr.include.js +0 -9
- package/build/typings/includes/purchaseLocation.include.d.ts +0 -6
- package/build/typings/includes/purchaseLocation.include.js +0 -10
- package/build/typings/includes/roles.include.d.ts +0 -6
- package/build/typings/includes/roles.include.js +0 -10
- package/build/typings/includes/storeInventory.include.d.ts +0 -4
- package/build/typings/includes/storeInventory.include.js +0 -8
- package/build/typings/includes/storeLocation.include.d.ts +0 -8
- package/build/typings/includes/storeLocation.include.js +0 -12
- package/build/typings/includes/user.include.d.ts +0 -13
- package/build/typings/includes/user.include.js +0 -17
- package/build/typings/indent/indent.typings.d.ts +0 -7
- package/build/typings/indent/indent.typings.js +0 -11
- package/build/typings/indent/indent_priority.d.ts +0 -5
- package/build/typings/indent/indent_priority.js +0 -9
- package/build/typings/item/item_classification.d.ts +0 -4
- package/build/typings/item/item_classification.js +0 -7
- package/build/typings/item/item_tax_preference.d.ts +0 -6
- package/build/typings/item/item_tax_preference.js +0 -13
- package/build/typings/item/item_types.d.ts +0 -4
- package/build/typings/item/item_types.js +0 -7
- package/build/typings/item/item_uoms.d.ts +0 -4
- package/build/typings/item/item_uoms.js +0 -50
- package/build/typings/kpis/company/index.d.ts +0 -1
- package/build/typings/kpis/company/index.js +0 -17
- package/build/typings/kpis/company/item/issuanceVsProcurementRatio.typings.d.ts +0 -9
- package/build/typings/kpis/company/item/issuanceVsProcurementRatio.typings.js +0 -2
- package/build/typings/kpis/company/item/itemDashboardKPICards.typings.d.ts +0 -29
- package/build/typings/kpis/company/item/itemDashboardKPICards.typings.js +0 -2
- package/build/typings/kpis/company/item/itemPurchaseTrend.typings.d.ts +0 -11
- package/build/typings/kpis/company/item/itemPurchaseTrend.typings.js +0 -2
- package/build/typings/kpis/company/item/itempriceTrend.typings.d.ts +0 -11
- package/build/typings/kpis/company/item/itempriceTrend.typings.js +0 -2
- package/build/typings/kpis/company/item/stockTrend.typings.d.ts +0 -12
- package/build/typings/kpis/company/item/stockTrend.typings.js +0 -2
- package/build/typings/kpis/company/main/purchase/index.d.ts +0 -1
- package/build/typings/kpis/company/main/purchase/index.js +0 -17
- package/build/typings/kpis/company/vendor/topvendorItems.typings.d.ts +0 -13
- package/build/typings/kpis/company/vendor/topvendorItems.typings.js +0 -2
- package/build/typings/kpis/index.d.ts +0 -8
- package/build/typings/kpis/index.js +0 -29
- package/build/typings/mi/mi.typings.d.ts +0 -7
- package/build/typings/mi/mi.typings.js +0 -11
- package/build/typings/pr/pr_priority.d.ts +0 -13
- package/build/typings/pr/pr_priority.js +0 -18
- package/build/typings/rfq/rfq.typings.d.ts +0 -13
- package/build/typings/rfq/rfq.typings.js +0 -18
- package/build/typings/settings/configForm.typings.d.ts +0 -65
- package/build/typings/settings/configForm.typings.js +0 -24
- package/build/typings/settings/form/configForm.typings.d.ts +0 -74
- package/build/typings/settings/form/configForm.typings.js +0 -25
- package/build/typings/storeInventory.include.d.ts +0 -4
- package/build/typings/storeInventory.include.js +0 -8
- package/build/typings/storeInventory.typings.d.ts +0 -33
- package/build/typings/storeInventory.typings.js +0 -8
- package/build/typings/taxes.typings.d.ts +0 -5
- package/build/typings/taxes.typings.js +0 -2
- package/build/typings/utils/address.typings.d.ts +0 -8
- package/build/typings/utils/address.typings.js +0 -2
- package/build/typings/vendorProxy.typints.d.ts +0 -11
- package/build/typings/vendorProxy.typints.js +0 -7
- package/build/utils/convertPricingToINS.util.d.ts +0 -3
- package/build/utils/convertPricingToINS.util.js +0 -26
- /package/build/typings/company/settings/{CompanySettings.typings.d.ts → companySettings.typings.d.ts} +0 -0
- /package/build/typings/company/settings/{CompanySettings.typings.js → companySettings.typings.js} +0 -0
package/package.json
CHANGED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DOCUMENT_LIST_TYPE = void 0;
|
|
4
|
-
var DOCUMENT_LIST_TYPE;
|
|
5
|
-
(function (DOCUMENT_LIST_TYPE) {
|
|
6
|
-
DOCUMENT_LIST_TYPE["MY_APPROVALS"] = "MY_APPROVALS";
|
|
7
|
-
DOCUMENT_LIST_TYPE["CREATED_BY_ME"] = "CREATED_BY_ME";
|
|
8
|
-
DOCUMENT_LIST_TYPE["ALL"] = "ALL";
|
|
9
|
-
})(DOCUMENT_LIST_TYPE || (exports.DOCUMENT_LIST_TYPE = DOCUMENT_LIST_TYPE = {}));
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare enum STATUSES {
|
|
2
|
-
DRAFT = "DRAFT",
|
|
3
|
-
PENDING_APPROVAL = "PENDING APPROVAL",
|
|
4
|
-
APPROVED = "APPROVED",
|
|
5
|
-
REJECTED = "REJECTED",
|
|
6
|
-
CLOSED = "CLOSED",
|
|
7
|
-
ISSUED = "ISSUED",
|
|
8
|
-
SENT_TO_VENDORS = "SENt_TO_VENDORS",
|
|
9
|
-
COMPARATIVE = "COMPARATIVE",
|
|
10
|
-
PO = "PO",
|
|
11
|
-
SENT_TO_STORE = "SENT TO STORE",
|
|
12
|
-
SENT_TO_PURCHASE = "SENT TO PURCHASE",
|
|
13
|
-
PENDING = "PENDING",
|
|
14
|
-
QUOTED = "QUOTED",
|
|
15
|
-
CANCELLED = "CANCELLED",
|
|
16
|
-
ACCEPTED = "ACCEPTED",
|
|
17
|
-
DISPATCHED = "DISPATCHED",
|
|
18
|
-
DELIVERED = "DELIVERED",
|
|
19
|
-
REJECTED_BY_VENDOR = "REJECTED_BY_VENDOR",
|
|
20
|
-
PROCESSING = "PROCESSING",
|
|
21
|
-
PROCESSED = "PROCESSED",
|
|
22
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.STATUSES = void 0;
|
|
4
|
-
var STATUSES;
|
|
5
|
-
(function (STATUSES) {
|
|
6
|
-
STATUSES["DRAFT"] = "DRAFT";
|
|
7
|
-
STATUSES["PENDING_APPROVAL"] = "PENDING APPROVAL";
|
|
8
|
-
STATUSES["APPROVED"] = "APPROVED";
|
|
9
|
-
STATUSES["REJECTED"] = "REJECTED";
|
|
10
|
-
STATUSES["CLOSED"] = "CLOSED";
|
|
11
|
-
STATUSES["ISSUED"] = "ISSUED";
|
|
12
|
-
STATUSES["SENT_TO_VENDORS"] = "SENt_TO_VENDORS";
|
|
13
|
-
STATUSES["COMPARATIVE"] = "COMPARATIVE";
|
|
14
|
-
STATUSES["PO"] = "PO";
|
|
15
|
-
STATUSES["SENT_TO_STORE"] = "SENT TO STORE";
|
|
16
|
-
STATUSES["SENT_TO_PURCHASE"] = "SENT TO PURCHASE";
|
|
17
|
-
STATUSES["PENDING"] = "PENDING";
|
|
18
|
-
STATUSES["QUOTED"] = "QUOTED";
|
|
19
|
-
STATUSES["CANCELLED"] = "CANCELLED";
|
|
20
|
-
STATUSES["ACCEPTED"] = "ACCEPTED";
|
|
21
|
-
STATUSES["DISPATCHED"] = "DISPATCHED";
|
|
22
|
-
STATUSES["DELIVERED"] = "DELIVERED";
|
|
23
|
-
STATUSES["REJECTED_BY_VENDOR"] = "REJECTED_BY_VENDOR";
|
|
24
|
-
STATUSES["PROCESSING"] = "PROCESSING";
|
|
25
|
-
STATUSES["PROCESSED"] = "PROCESSED";
|
|
26
|
-
})(STATUSES || (exports.STATUSES = STATUSES = {}));
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { INotificationTemplate } from "../../typings/notifications.typings";
|
|
2
|
-
export declare const QUOTE_NOTIFICATION_TEMPLATES: {
|
|
3
|
-
/** For company to notify that the vendor has quoted */
|
|
4
|
-
vendorHasQuoted(comparative_id: string, vendor_trade_name: string, rfq_no: string): INotificationTemplate;
|
|
5
|
-
/** Notification to person of the company who sent the RFQ to vendors stating that the vendor has updated his RFQ */
|
|
6
|
-
vendorUpdatedQuote(comparative_id: string, vendor_trade_name: string, rfq_no: string): INotificationTemplate;
|
|
7
|
-
/** For vendor to notify new negotiation message has been received from company */
|
|
8
|
-
companyInitiatedNegotiation(company_trade_name: string, rfq_no: string, quote_id: string): INotificationTemplate;
|
|
9
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QUOTE_NOTIFICATION_TEMPLATES = void 0;
|
|
4
|
-
const companyRoutes_constants_1 = require("../../constants/companyRoutes.constants");
|
|
5
|
-
const vendorRoutes_constants_1 = require("../../constants/vendorRoutes.constants");
|
|
6
|
-
exports.QUOTE_NOTIFICATION_TEMPLATES = {
|
|
7
|
-
/** For company to notify that the vendor has quoted */
|
|
8
|
-
vendorHasQuoted(comparative_id, vendor_trade_name, rfq_no) {
|
|
9
|
-
return {
|
|
10
|
-
title: `New Quote Received`,
|
|
11
|
-
description: `${vendor_trade_name} has quoted on ${rfq_no}`,
|
|
12
|
-
action_link: companyRoutes_constants_1.companyNavConfig.purchase.comparative.view.route(comparative_id),
|
|
13
|
-
};
|
|
14
|
-
},
|
|
15
|
-
/** Notification to person of the company who sent the RFQ to vendors stating that the vendor has updated his RFQ */
|
|
16
|
-
vendorUpdatedQuote(comparative_id, vendor_trade_name, rfq_no) {
|
|
17
|
-
return {
|
|
18
|
-
title: `Vendor Updated Quote`,
|
|
19
|
-
description: `${vendor_trade_name} has updated their quote on ${rfq_no}`,
|
|
20
|
-
action_link: companyRoutes_constants_1.companyNavConfig.purchase.comparative.view.route(comparative_id),
|
|
21
|
-
};
|
|
22
|
-
},
|
|
23
|
-
/** For vendor to notify new negotiation message has been received from company */
|
|
24
|
-
companyInitiatedNegotiation(company_trade_name, rfq_no, quote_id) {
|
|
25
|
-
return {
|
|
26
|
-
title: `Negotiation request received`,
|
|
27
|
-
description: `${company_trade_name} has asked for negotiation on ${rfq_no}`,
|
|
28
|
-
action_link: vendorRoutes_constants_1.vendorNavRoutes.purchase.quotes.view(quote_id),
|
|
29
|
-
};
|
|
30
|
-
},
|
|
31
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { INotificationTemplate } from "../../typings/notifications.typings";
|
|
2
|
-
export declare const RFQ_NOTIFICATION_TEMPLATES: {
|
|
3
|
-
rfqApproved: (rfq_id: string, rfq_no: string) => INotificationTemplate;
|
|
4
|
-
chanceForApproval: (rfq_id: string, rfq_no: string, name: string) => INotificationTemplate;
|
|
5
|
-
rfqRejection: (rfq_id: string, rfq_no: string, rejectedBy: string) => INotificationTemplate;
|
|
6
|
-
rfqRequestToVendor: (quote_id: string, company_name: string, rfq_no: string) => INotificationTemplate;
|
|
7
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RFQ_NOTIFICATION_TEMPLATES = void 0;
|
|
4
|
-
const companyRoutes_constants_1 = require("../../constants/companyRoutes.constants");
|
|
5
|
-
const vendorRoutes_constants_1 = require("../../constants/vendorRoutes.constants");
|
|
6
|
-
exports.RFQ_NOTIFICATION_TEMPLATES = {
|
|
7
|
-
rfqApproved: (rfq_id, rfq_no) => {
|
|
8
|
-
return {
|
|
9
|
-
action_link: companyRoutes_constants_1.companyNavConfig.purchase.rfq.view.route(rfq_id),
|
|
10
|
-
description: `${rfq_no} has been approved and is ready to send to vendors`,
|
|
11
|
-
title: "RFQ Send to Vendor",
|
|
12
|
-
};
|
|
13
|
-
},
|
|
14
|
-
chanceForApproval: (rfq_id, rfq_no, name) => {
|
|
15
|
-
return {
|
|
16
|
-
action_link: companyRoutes_constants_1.companyNavConfig.purchase.rfq.view.route(rfq_id),
|
|
17
|
-
description: `Please approve the RFQ ${rfq_no}`,
|
|
18
|
-
title: `${name} requested for approval on ${rfq_no}`,
|
|
19
|
-
};
|
|
20
|
-
},
|
|
21
|
-
rfqRejection: (rfq_id, rfq_no, rejectedBy) => {
|
|
22
|
-
return {
|
|
23
|
-
action_link: companyRoutes_constants_1.companyNavConfig.purchase.rfq.view.route(rfq_id),
|
|
24
|
-
description: `${rfq_no} has been rejeted by ${rejectedBy}.`,
|
|
25
|
-
title: `RFQ ${rfq_no} rejected`,
|
|
26
|
-
};
|
|
27
|
-
},
|
|
28
|
-
rfqRequestToVendor: (quote_id, company_name, rfq_no) => {
|
|
29
|
-
return {
|
|
30
|
-
action_link: vendorRoutes_constants_1.vendorNavRoutes.purchase.quotes.edit(quote_id),
|
|
31
|
-
title: `Quotation Request`,
|
|
32
|
-
description: `${company_name} has requested to quote on ${rfq_no}`,
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApprovalAction = void 0;
|
|
4
|
-
var ApprovalAction;
|
|
5
|
-
(function (ApprovalAction) {
|
|
6
|
-
ApprovalAction["APPROVED"] = "APPROVED";
|
|
7
|
-
ApprovalAction["REJECTED"] = "REJECTED";
|
|
8
|
-
ApprovalAction["CANCELLED"] = "CANCELLED";
|
|
9
|
-
})(ApprovalAction = exports.ApprovalAction || (exports.ApprovalAction = {}));
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { INestedCompany } from "../company.typings";
|
|
2
|
-
import { INestedUser } from "../user.typings";
|
|
3
|
-
export declare enum LOGS_ENTITY_TYPE {
|
|
4
|
-
INDENT = "INDENT"
|
|
5
|
-
}
|
|
6
|
-
export declare enum LOG_ACTIONS {
|
|
7
|
-
CREATED = "CREATED",
|
|
8
|
-
EDITED = "EDITED",
|
|
9
|
-
DELETED = "DELETED"
|
|
10
|
-
}
|
|
11
|
-
export declare enum LOGS_INCLUDE {
|
|
12
|
-
user = "user",
|
|
13
|
-
company = "company"
|
|
14
|
-
}
|
|
15
|
-
export interface ILogs {
|
|
16
|
-
id: string;
|
|
17
|
-
company_id: string;
|
|
18
|
-
user_id: string;
|
|
19
|
-
entity_type: string;
|
|
20
|
-
entity_id: string;
|
|
21
|
-
action: string;
|
|
22
|
-
json_snapshot: string;
|
|
23
|
-
updated_at: string;
|
|
24
|
-
created_at: string;
|
|
25
|
-
user: INestedUser | null;
|
|
26
|
-
company: INestedCompany | null;
|
|
27
|
-
}
|
|
28
|
-
export interface INestedLogs extends Omit<ILogs, "user" | "company"> {
|
|
29
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LOGS_INCLUDE = exports.LOG_ACTIONS = exports.LOGS_ENTITY_TYPE = void 0;
|
|
4
|
-
var LOGS_ENTITY_TYPE;
|
|
5
|
-
(function (LOGS_ENTITY_TYPE) {
|
|
6
|
-
LOGS_ENTITY_TYPE["INDENT"] = "INDENT";
|
|
7
|
-
})(LOGS_ENTITY_TYPE || (exports.LOGS_ENTITY_TYPE = LOGS_ENTITY_TYPE = {}));
|
|
8
|
-
var LOG_ACTIONS;
|
|
9
|
-
(function (LOG_ACTIONS) {
|
|
10
|
-
LOG_ACTIONS["CREATED"] = "CREATED";
|
|
11
|
-
LOG_ACTIONS["EDITED"] = "EDITED";
|
|
12
|
-
LOG_ACTIONS["DELETED"] = "DELETED";
|
|
13
|
-
})(LOG_ACTIONS || (exports.LOG_ACTIONS = LOG_ACTIONS = {}));
|
|
14
|
-
var LOGS_INCLUDE;
|
|
15
|
-
(function (LOGS_INCLUDE) {
|
|
16
|
-
LOGS_INCLUDE["user"] = "user";
|
|
17
|
-
LOGS_INCLUDE["company"] = "company";
|
|
18
|
-
})(LOGS_INCLUDE || (exports.LOGS_INCLUDE = LOGS_INCLUDE = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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 = {}));
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { INestedCompany } from "./company.typings";
|
|
2
|
-
import { INestedCoreRelatedQuestion } from "./extraCoreRelatedQuestions.typings";
|
|
3
|
-
import { INestedUser } from "./user.typings";
|
|
4
|
-
export declare enum EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE {
|
|
5
|
-
company = "company",
|
|
6
|
-
core_related_question = "core_related_question",
|
|
7
|
-
created_by = "created_by",
|
|
8
|
-
updated_by = "updated_by"
|
|
9
|
-
}
|
|
10
|
-
export interface IExtraCoreRelatedQuestionsForCompanies {
|
|
11
|
-
id: string;
|
|
12
|
-
company_que_text: string;
|
|
13
|
-
company_id: string;
|
|
14
|
-
extra_core_related_question_id: string;
|
|
15
|
-
created_by_id: string;
|
|
16
|
-
updated_by_id: string;
|
|
17
|
-
is_enabled: boolean;
|
|
18
|
-
is_deleted: boolean;
|
|
19
|
-
deleted_at: Date;
|
|
20
|
-
created_at: Date;
|
|
21
|
-
updated_at: Date;
|
|
22
|
-
company: INestedCompany | null;
|
|
23
|
-
core_related_question: INestedCoreRelatedQuestion | null;
|
|
24
|
-
created_by: INestedUser | null;
|
|
25
|
-
updated_by: INestedUser | null;
|
|
26
|
-
}
|
|
27
|
-
export interface INestedExtraCoreRelatedQuestionsForCompanyEntiy extends Omit<IExtraCoreRelatedQuestionsForCompanies, "company" | "core_related_question" | "created_by" | "updated_by"> {
|
|
28
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE = void 0;
|
|
4
|
-
var EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE;
|
|
5
|
-
(function (EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE) {
|
|
6
|
-
EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["company"] = "company";
|
|
7
|
-
EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["core_related_question"] = "core_related_question";
|
|
8
|
-
EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["created_by"] = "created_by";
|
|
9
|
-
EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE["updated_by"] = "updated_by";
|
|
10
|
-
})(EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE || (exports.EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE = EXTRA_CORE_RELATED_QUESTIONS_FOR_COMPANY_INCLUDE = {}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApprovalConfigInlcude = void 0;
|
|
4
|
-
var ApprovalConfigInlcude;
|
|
5
|
-
(function (ApprovalConfigInlcude) {
|
|
6
|
-
ApprovalConfigInlcude["approval_chain"] = "approval_chain";
|
|
7
|
-
})(ApprovalConfigInlcude = exports.ApprovalConfigInlcude || (exports.ApprovalConfigInlcude = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CompanyVendorsInclude = void 0;
|
|
4
|
-
var CompanyVendorsInclude;
|
|
5
|
-
(function (CompanyVendorsInclude) {
|
|
6
|
-
CompanyVendorsInclude["COMPANY"] = "company";
|
|
7
|
-
CompanyVendorsInclude["VENDOR"] = "vendor";
|
|
8
|
-
})(CompanyVendorsInclude = exports.CompanyVendorsInclude || (exports.CompanyVendorsInclude = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DepartmentInclude = void 0;
|
|
4
|
-
var DepartmentInclude;
|
|
5
|
-
(function (DepartmentInclude) {
|
|
6
|
-
DepartmentInclude["subdepartments"] = "subdepartments";
|
|
7
|
-
DepartmentInclude["roles"] = "roles";
|
|
8
|
-
})(DepartmentInclude = exports.DepartmentInclude || (exports.DepartmentInclude = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IndentInclude = void 0;
|
|
4
|
-
var IndentInclude;
|
|
5
|
-
(function (IndentInclude) {
|
|
6
|
-
IndentInclude["items"] = "items";
|
|
7
|
-
IndentInclude["approval_chain"] = "approval_chain";
|
|
8
|
-
})(IndentInclude = exports.IndentInclude || (exports.IndentInclude = {}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ItemCategoryInclude = void 0;
|
|
4
|
-
var ItemCategoryInclude;
|
|
5
|
-
(function (ItemCategoryInclude) {
|
|
6
|
-
ItemCategoryInclude["subcategories"] = "subcategories";
|
|
7
|
-
})(ItemCategoryInclude = exports.ItemCategoryInclude || (exports.ItemCategoryInclude = {}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ItemSubcategoryInclude = void 0;
|
|
4
|
-
var ItemSubcategoryInclude;
|
|
5
|
-
(function (ItemSubcategoryInclude) {
|
|
6
|
-
ItemSubcategoryInclude["subcategories"] = "subcategories";
|
|
7
|
-
})(ItemSubcategoryInclude = exports.ItemSubcategoryInclude || (exports.ItemSubcategoryInclude = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MI_INCLUDE = void 0;
|
|
4
|
-
var MI_INCLUDE;
|
|
5
|
-
(function (MI_INCLUDE) {
|
|
6
|
-
MI_INCLUDE["items"] = "items";
|
|
7
|
-
MI_INCLUDE["approval_chain"] = "approval_chain";
|
|
8
|
-
})((MI_INCLUDE = exports.MI_INCLUDE || (exports.MI_INCLUDE = {})));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare enum OfficeInclude {
|
|
2
|
-
associated_roles = "associated_roles",
|
|
3
|
-
approval_configs = "approval_configs",
|
|
4
|
-
departments = "departments",
|
|
5
|
-
served_by_store_locations = "served_by_store_locations",
|
|
6
|
-
associated_purchase_locations = "associated_purchase_locations"
|
|
7
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OfficeInclude = void 0;
|
|
4
|
-
var OfficeInclude;
|
|
5
|
-
(function (OfficeInclude) {
|
|
6
|
-
OfficeInclude["associated_roles"] = "associated_roles";
|
|
7
|
-
OfficeInclude["approval_configs"] = "approval_configs";
|
|
8
|
-
OfficeInclude["departments"] = "departments";
|
|
9
|
-
OfficeInclude["served_by_store_locations"] = "served_by_store_locations";
|
|
10
|
-
OfficeInclude["associated_purchase_locations"] = "associated_purchase_locations";
|
|
11
|
-
})(OfficeInclude = exports.OfficeInclude || (exports.OfficeInclude = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.etc = exports.PR_INCLUDE = void 0;
|
|
4
|
-
var PR_INCLUDE;
|
|
5
|
-
(function (PR_INCLUDE) {
|
|
6
|
-
PR_INCLUDE["items"] = "items";
|
|
7
|
-
PR_INCLUDE["approval_chain"] = "approval_chain";
|
|
8
|
-
})((PR_INCLUDE = exports.PR_INCLUDE || (exports.PR_INCLUDE = {})));
|
|
9
|
-
exports.etc = "hello";
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PurchaseLocationInclude = void 0;
|
|
4
|
-
var PurchaseLocationInclude;
|
|
5
|
-
(function (PurchaseLocationInclude) {
|
|
6
|
-
PurchaseLocationInclude["departments"] = "departments";
|
|
7
|
-
PurchaseLocationInclude["roles"] = "roles";
|
|
8
|
-
PurchaseLocationInclude["associated_offices"] = "associated_offices";
|
|
9
|
-
PurchaseLocationInclude["target_store_locations"] = "target_store_locations";
|
|
10
|
-
})(PurchaseLocationInclude = exports.PurchaseLocationInclude || (exports.PurchaseLocationInclude = {}));
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RolesInclude = void 0;
|
|
4
|
-
var RolesInclude;
|
|
5
|
-
(function (RolesInclude) {
|
|
6
|
-
RolesInclude["permissions"] = "permissions";
|
|
7
|
-
RolesInclude["assigned_active_users"] = "assigned_active_users";
|
|
8
|
-
RolesInclude["approval_chains"] = "approval_chains";
|
|
9
|
-
RolesInclude["assigned_users"] = "assigned_users";
|
|
10
|
-
})(RolesInclude = exports.RolesInclude || (exports.RolesInclude = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StoreInventoryItemIncludes = void 0;
|
|
4
|
-
var StoreInventoryItemIncludes;
|
|
5
|
-
(function (StoreInventoryItemIncludes) {
|
|
6
|
-
StoreInventoryItemIncludes["item"] = "item";
|
|
7
|
-
StoreInventoryItemIncludes["store"] = "store";
|
|
8
|
-
})(StoreInventoryItemIncludes = exports.StoreInventoryItemIncludes || (exports.StoreInventoryItemIncludes = {}));
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare enum StoreLocationInclude {
|
|
2
|
-
approval_configs = "approval_configs",
|
|
3
|
-
inventory_entries = "inventory_entries",
|
|
4
|
-
departments = "departments",
|
|
5
|
-
roles = "roles",
|
|
6
|
-
target_offices = "target_offices",
|
|
7
|
-
served_by_purchase_locations = "served_by_purchase_locations"
|
|
8
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StoreLocationInclude = void 0;
|
|
4
|
-
var StoreLocationInclude;
|
|
5
|
-
(function (StoreLocationInclude) {
|
|
6
|
-
StoreLocationInclude["approval_configs"] = "approval_configs";
|
|
7
|
-
StoreLocationInclude["inventory_entries"] = "inventory_entries";
|
|
8
|
-
StoreLocationInclude["departments"] = "departments";
|
|
9
|
-
StoreLocationInclude["roles"] = "roles";
|
|
10
|
-
StoreLocationInclude["target_offices"] = "target_offices";
|
|
11
|
-
StoreLocationInclude["served_by_purchase_locations"] = "served_by_purchase_locations";
|
|
12
|
-
})(StoreLocationInclude = exports.StoreLocationInclude || (exports.StoreLocationInclude = {}));
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum UserInclude {
|
|
2
|
-
subordinates = "subordinates",
|
|
3
|
-
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
4
|
-
as_incharge_in_store_locations = "as_incharge_in_store_locations",
|
|
5
|
-
as_incharge_in_offices = "as_incharge_in_offices",
|
|
6
|
-
as_contact_person_companies = "as_contact_person_companies",
|
|
7
|
-
as_contact_person_offices = "as_contact_person_offices",
|
|
8
|
-
owned_companies = "owned_companies",
|
|
9
|
-
head_for_departments = "head_for_departments",
|
|
10
|
-
approved_items = "approved_items",
|
|
11
|
-
approval_chains = "approval_chains",
|
|
12
|
-
assigned_roles = "assigned_roles"
|
|
13
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UserInclude = void 0;
|
|
4
|
-
var UserInclude;
|
|
5
|
-
(function (UserInclude) {
|
|
6
|
-
UserInclude["subordinates"] = "subordinates";
|
|
7
|
-
UserInclude["as_incharge_in_purchase_locations"] = "as_incharge_in_purchase_locations";
|
|
8
|
-
UserInclude["as_incharge_in_store_locations"] = "as_incharge_in_store_locations";
|
|
9
|
-
UserInclude["as_incharge_in_offices"] = "as_incharge_in_offices";
|
|
10
|
-
UserInclude["as_contact_person_companies"] = "as_contact_person_companies";
|
|
11
|
-
UserInclude["as_contact_person_offices"] = "as_contact_person_offices";
|
|
12
|
-
UserInclude["owned_companies"] = "owned_companies";
|
|
13
|
-
UserInclude["head_for_departments"] = "head_for_departments";
|
|
14
|
-
UserInclude["approved_items"] = "approved_items";
|
|
15
|
-
UserInclude["approval_chains"] = "approval_chains";
|
|
16
|
-
UserInclude["assigned_roles"] = "assigned_roles";
|
|
17
|
-
})(UserInclude = exports.UserInclude || (exports.UserInclude = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IndentStatus = void 0;
|
|
4
|
-
var IndentStatus;
|
|
5
|
-
(function (IndentStatus) {
|
|
6
|
-
IndentStatus["DRAFT"] = "DRAFT";
|
|
7
|
-
IndentStatus["PENDING_APPROVAL"] = "PENDING APPROVAL";
|
|
8
|
-
IndentStatus["APPROVED"] = "APPROVED";
|
|
9
|
-
IndentStatus["REJECTED"] = "REJECTED";
|
|
10
|
-
IndentStatus["SENT_TO_STORE"] = "SENT TO STORE";
|
|
11
|
-
})(IndentStatus = exports.IndentStatus || (exports.IndentStatus = {}));
|