kcommons 18.4.2 → 18.5.1
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 +1 -0
- package/build/index.js +1 -0
- package/build/typings/company/masters/po.typings.d.ts +2 -1
- package/build/typings/company/masters/po.typings.js +1 -0
- package/build/typings/company.typings.d.ts +5 -2
- package/build/typings/company.typings.js +1 -0
- package/build/typings/plugins/erp.plugins.d.ts +2 -1
- package/build/typings/plugins/erp.plugins.js +1 -0
- package/build/typings/system/erpPluginsMetadata.typings.d.ts +14 -0
- package/build/typings/system/erpPluginsMetadata.typings.js +7 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ export * from "./typings/vendorQuoteItems.typings";
|
|
|
84
84
|
export * from "./typings/customUOM.typings";
|
|
85
85
|
export * from "./typings/system/queueJob.typings";
|
|
86
86
|
export * from "./typings/system/erpPluginConfigCompany.typings";
|
|
87
|
+
export * from "./typings/system/erpPluginsMetadata.typings";
|
|
87
88
|
export * from "./typings/common/address.typings";
|
|
88
89
|
export * from "./typings/common/paginationFilters.typings";
|
|
89
90
|
export * from "./typings/common/uploadMedia.typings";
|
package/build/index.js
CHANGED
|
@@ -105,6 +105,7 @@ __exportStar(require("./typings/customUOM.typings"), exports);
|
|
|
105
105
|
// System
|
|
106
106
|
__exportStar(require("./typings/system/queueJob.typings"), exports);
|
|
107
107
|
__exportStar(require("./typings/system/erpPluginConfigCompany.typings"), exports);
|
|
108
|
+
__exportStar(require("./typings/system/erpPluginsMetadata.typings"), exports);
|
|
108
109
|
// Commons
|
|
109
110
|
__exportStar(require("./typings/common/address.typings"), exports);
|
|
110
111
|
__exportStar(require("./typings/common/paginationFilters.typings"), exports);
|
|
@@ -67,7 +67,8 @@ export declare enum PO_STATUS {
|
|
|
67
67
|
export declare enum PO_TYPE {
|
|
68
68
|
DIRECT = "DIRECT",
|
|
69
69
|
ASCENDENT_OF_COMPARATIVE = "ASCENDENT_OF_COMPARATIVE",
|
|
70
|
-
EXCEL = "EXCEL"
|
|
70
|
+
EXCEL = "EXCEL",
|
|
71
|
+
ERP = "ERP"
|
|
71
72
|
}
|
|
72
73
|
export declare enum PO_ITEM_ASCENDENCE_TYPE {
|
|
73
74
|
DIRECT = "DIRECT",
|
|
@@ -46,6 +46,7 @@ var PO_TYPE;
|
|
|
46
46
|
PO_TYPE["DIRECT"] = "DIRECT";
|
|
47
47
|
PO_TYPE["ASCENDENT_OF_COMPARATIVE"] = "ASCENDENT_OF_COMPARATIVE";
|
|
48
48
|
PO_TYPE["EXCEL"] = "EXCEL";
|
|
49
|
+
PO_TYPE["ERP"] = "ERP";
|
|
49
50
|
})(PO_TYPE || (exports.PO_TYPE = PO_TYPE = {}));
|
|
50
51
|
var PO_ITEM_ASCENDENCE_TYPE;
|
|
51
52
|
(function (PO_ITEM_ASCENDENCE_TYPE) {
|
|
@@ -61,6 +61,7 @@ import { INestedRFQQuestionnaireAnswer } from "./common/configurableForms/rfqQue
|
|
|
61
61
|
import { INestedCustomer } from "./customer.typings";
|
|
62
62
|
import { INestedCompanyCustomerCategory } from "./companyCustomerCategory.typings";
|
|
63
63
|
import { INestedCustomerManagementBody } from "./company/masters/customerManagementBody.typings";
|
|
64
|
+
import { INestedERPPluginMetadata } from "./system/erpPluginsMetadata.typings";
|
|
64
65
|
export declare enum PRICING_PLANS {
|
|
65
66
|
BASIC = "BASIC",
|
|
66
67
|
GROWTH = "GROWTH",
|
|
@@ -137,7 +138,8 @@ export declare enum COMPANY_INCLUDE {
|
|
|
137
138
|
rfq_questionnaire_answers = "rfq_questionnaire_answers",
|
|
138
139
|
company_customer_categories = "company_customer_categories",
|
|
139
140
|
associated_customer = "associated_customer",
|
|
140
|
-
customer_management_bodies = "customer_management_bodies"
|
|
141
|
+
customer_management_bodies = "customer_management_bodies",
|
|
142
|
+
erp_plugings_metadata = "erp_plugings_metadata"
|
|
141
143
|
}
|
|
142
144
|
export interface ICompany extends IAddress {
|
|
143
145
|
id: string;
|
|
@@ -247,8 +249,9 @@ export interface ICompany extends IAddress {
|
|
|
247
249
|
company_customer_categories: INestedCompanyCustomerCategory[] | null;
|
|
248
250
|
associated_customer: INestedCustomer[] | null;
|
|
249
251
|
customer_management_bodies: INestedCustomerManagementBody[] | null;
|
|
252
|
+
erp_plugings_metadata: INestedERPPluginMetadata[] | null;
|
|
250
253
|
}
|
|
251
|
-
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" | "extra_question_ans" | "extra_core_related_questions" | "company_specific_vendor_items" | "po_asn_items_junction" | "company_contact_people" | "company_item_vendor_versions" | "istds" | "istd_items" | "inventory_logs" | "invoices" | "logs" | "vendor_onboarding_requests" | "vendor_management_bodies" | "item_management_bodies" | "rollback_forms_sent_by_company" | "company_checkpoints" | "company_ves" | "queue_jobs" | "company_terms_and_conditions" | "company_config" | "erp_plugins" | "company_temporary_worker_form" | "extra_questions" | "is_deleted" | "payment_terms" | "po_grn_items_junction" | "vendor_onboarding_request_categories" | "company_amended_po_items" | "sub_pos" | "sub_po_items" | "item_questionnaire" | "rfq_questionnaire" | "rfq_questionnaire_answers" | "company_customer_categories" | "associated_customer" | "customer_management_bodies"> {
|
|
254
|
+
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" | "extra_question_ans" | "extra_core_related_questions" | "company_specific_vendor_items" | "po_asn_items_junction" | "company_contact_people" | "company_item_vendor_versions" | "istds" | "istd_items" | "inventory_logs" | "invoices" | "logs" | "vendor_onboarding_requests" | "vendor_management_bodies" | "item_management_bodies" | "rollback_forms_sent_by_company" | "company_checkpoints" | "company_ves" | "queue_jobs" | "company_terms_and_conditions" | "company_config" | "erp_plugins" | "company_temporary_worker_form" | "extra_questions" | "is_deleted" | "payment_terms" | "po_grn_items_junction" | "vendor_onboarding_request_categories" | "company_amended_po_items" | "sub_pos" | "sub_po_items" | "item_questionnaire" | "rfq_questionnaire" | "rfq_questionnaire_answers" | "company_customer_categories" | "associated_customer" | "customer_management_bodies" | "erp_plugings_metadata"> {
|
|
252
255
|
}
|
|
253
256
|
export interface ICompanyVendorAdditionalInfoMappingConfig {
|
|
254
257
|
additional_info_form_que_id: string;
|
|
@@ -79,6 +79,7 @@ var COMPANY_INCLUDE;
|
|
|
79
79
|
COMPANY_INCLUDE["company_customer_categories"] = "company_customer_categories";
|
|
80
80
|
COMPANY_INCLUDE["associated_customer"] = "associated_customer";
|
|
81
81
|
COMPANY_INCLUDE["customer_management_bodies"] = "customer_management_bodies";
|
|
82
|
+
COMPANY_INCLUDE["erp_plugings_metadata"] = "erp_plugings_metadata";
|
|
82
83
|
})(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
|
|
83
84
|
// export interface IUpdateVendorOnboardingRequestCategoriesInputs
|
|
84
85
|
// extends Pick<ICompany, "vendor_onboarding_request_categories"> {}
|
|
@@ -4,4 +4,5 @@ exports.ERP_PLUGINS = void 0;
|
|
|
4
4
|
var ERP_PLUGINS;
|
|
5
5
|
(function (ERP_PLUGINS) {
|
|
6
6
|
ERP_PLUGINS["CREATE_VENDOR_IN_ERP"] = "CREATE_VENDOR_IN_ERP";
|
|
7
|
+
ERP_PLUGINS["FETCH_PO_AND_CREATE_IN_KRAYA"] = "FETCH_PO_AND_CREATE_IN_KRAYA";
|
|
7
8
|
})(ERP_PLUGINS || (exports.ERP_PLUGINS = ERP_PLUGINS = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { INestedCompany } from "../company.typings";
|
|
2
|
+
export interface IErpPluginsMetadata {
|
|
3
|
+
id: string;
|
|
4
|
+
company_id: string;
|
|
5
|
+
po_last_synced_with_erp_at: string;
|
|
6
|
+
company: INestedCompany | null;
|
|
7
|
+
created_at: string;
|
|
8
|
+
updated_at: string;
|
|
9
|
+
}
|
|
10
|
+
export interface INestedERPPluginMetadata extends Omit<IErpPluginsMetadata, "company"> {
|
|
11
|
+
}
|
|
12
|
+
export declare enum ERP_PLUGINS_METADATA_INCLUDE {
|
|
13
|
+
company = "company"
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ERP_PLUGINS_METADATA_INCLUDE = void 0;
|
|
4
|
+
var ERP_PLUGINS_METADATA_INCLUDE;
|
|
5
|
+
(function (ERP_PLUGINS_METADATA_INCLUDE) {
|
|
6
|
+
ERP_PLUGINS_METADATA_INCLUDE["company"] = "company";
|
|
7
|
+
})(ERP_PLUGINS_METADATA_INCLUDE || (exports.ERP_PLUGINS_METADATA_INCLUDE = ERP_PLUGINS_METADATA_INCLUDE = {}));
|