kcommons 14.10.1 → 14.11.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.
|
@@ -49,6 +49,7 @@ import { INestedVES } from "./company/masters/ves.typings";
|
|
|
49
49
|
import { INestedQueueJob } from "./system/queueJob.typings";
|
|
50
50
|
import { INestedTermsAndConditions } from "./company/masters/termsAndConditions.typings";
|
|
51
51
|
import { INestedPaymentTerms } from "./company/masters/paymentTerms.typings";
|
|
52
|
+
import { INestedCompanyConfig } from "./companyConfig.typings";
|
|
52
53
|
export declare enum PRICING_PLANS {
|
|
53
54
|
BASIC = "BASIC",
|
|
54
55
|
GROWTH = "GROWTH",
|
|
@@ -108,7 +109,8 @@ export declare enum COMPANY_INCLUDE {
|
|
|
108
109
|
rollback_forms_sent_by_company = "rollback_forms_sent_by_company",
|
|
109
110
|
company_ves = "company_ves",
|
|
110
111
|
queue_jobs = "queue_jobs",
|
|
111
|
-
company_terms_and_conditions = "company_terms_and_conditions"
|
|
112
|
+
company_terms_and_conditions = "company_terms_and_conditions",
|
|
113
|
+
company_config = "company_config"
|
|
112
114
|
}
|
|
113
115
|
export interface ICompany extends IAddress {
|
|
114
116
|
id: string;
|
|
@@ -135,6 +137,7 @@ export interface ICompany extends IAddress {
|
|
|
135
137
|
cin?: string | null;
|
|
136
138
|
uaadhar?: string | null;
|
|
137
139
|
pancard?: string | null;
|
|
140
|
+
company_config_id: string | null;
|
|
138
141
|
vendor_onboarding_request_cancellation_cooldown_value: number | null;
|
|
139
142
|
vendor_onboarding_request_cancellation_cooldown_unit: DATE_TIME_UNITS | null;
|
|
140
143
|
company_vendor_cancellation_cooldown_value: number | null;
|
|
@@ -200,8 +203,9 @@ export interface ICompany extends IAddress {
|
|
|
200
203
|
queue_jobs: INestedQueueJob[] | null;
|
|
201
204
|
company_terms_and_conditions: INestedTermsAndConditions[] | null;
|
|
202
205
|
payment_terms: INestedPaymentTerms[] | null;
|
|
206
|
+
company_config: INestedCompanyConfig | null;
|
|
203
207
|
}
|
|
204
|
-
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"> {
|
|
208
|
+
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"> {
|
|
205
209
|
}
|
|
206
210
|
export interface ICompanyVendorAdditionalInfoMappingConfig {
|
|
207
211
|
additional_info_form_que_id: string;
|
|
@@ -61,6 +61,7 @@ var COMPANY_INCLUDE;
|
|
|
61
61
|
COMPANY_INCLUDE["company_ves"] = "company_ves";
|
|
62
62
|
COMPANY_INCLUDE["queue_jobs"] = "queue_jobs";
|
|
63
63
|
COMPANY_INCLUDE["company_terms_and_conditions"] = "company_terms_and_conditions";
|
|
64
|
+
COMPANY_INCLUDE["company_config"] = "company_config";
|
|
64
65
|
})(COMPANY_INCLUDE || (exports.COMPANY_INCLUDE = COMPANY_INCLUDE = {}));
|
|
65
66
|
// export interface IUpdateVendorOnboardingRequestCategoriesInputs
|
|
66
67
|
// extends Pick<ICompany, "vendor_onboarding_request_categories"> {}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { DATE_TIME_UNITS } from "../constants/date.constants";
|
|
2
|
+
import { INestedCompany } from "./company.typings";
|
|
3
|
+
export interface ICompanyConfig {
|
|
4
|
+
id: string;
|
|
5
|
+
selected_price_plan: string;
|
|
6
|
+
max_users: number;
|
|
7
|
+
allow_vor_approvals_when_pat_rolled_back: boolean;
|
|
8
|
+
allow_company_vendor_approvals_when_svf_rolled_back: boolean;
|
|
9
|
+
vendor_onboarding_request_cancellation_cooldown_value: number;
|
|
10
|
+
vendor_onboarding_request_cancellation_cooldown_unit: DATE_TIME_UNITS;
|
|
11
|
+
company_vendor_cancellation_cooldown_value: number;
|
|
12
|
+
company_vendor_cancellation_cooldown_unit: DATE_TIME_UNITS;
|
|
13
|
+
plugin_ids: string[];
|
|
14
|
+
company_vendor_additonal_info_fields_mapping_config: string;
|
|
15
|
+
created_at: string;
|
|
16
|
+
updated_at: string;
|
|
17
|
+
company: INestedCompany | null;
|
|
18
|
+
}
|
|
19
|
+
export interface INestedCompanyConfig extends Omit<ICompanyConfig, "company"> {
|
|
20
|
+
}
|
|
21
|
+
export declare enum COMPANY_CONFIG_INCLUDE {
|
|
22
|
+
company = "company"
|
|
23
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.COMPANY_CONFIG_INCLUDE = void 0;
|
|
4
|
+
var COMPANY_CONFIG_INCLUDE;
|
|
5
|
+
(function (COMPANY_CONFIG_INCLUDE) {
|
|
6
|
+
COMPANY_CONFIG_INCLUDE["company"] = "company";
|
|
7
|
+
})(COMPANY_CONFIG_INCLUDE || (exports.COMPANY_CONFIG_INCLUDE = COMPANY_CONFIG_INCLUDE = {}));
|