kcommons 18.9.23 → 18.10.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.
|
@@ -39,7 +39,6 @@ import { INestedLifecycleLogs } from "./common/lifecycleLogger.typings";
|
|
|
39
39
|
import { INestedVendorOnboardingRequest } from "./company/vendorOnboardingRequest/vendorOnboardingRequest.typing";
|
|
40
40
|
import { INestedVendorManagementBody } from "./company/masters/vendorManagementBody.typings";
|
|
41
41
|
import { INestedVendorOnboardingRequestCategory } from "./company/vendorOnboardingRequest/vendorOnboardingRequestCategory.typings";
|
|
42
|
-
import { DATE_TIME_UNITS } from "../constants/date.constants";
|
|
43
42
|
import { INestedItemManagementBody } from "./company/masters/itemManagementbody.typings";
|
|
44
43
|
import { INestedFormRolback } from "./vendor/vendorFormRollbackRemark.typings";
|
|
45
44
|
import { INestedCheckpoint } from "./company/masters/checkpoints.typings";
|
|
@@ -159,9 +158,7 @@ export interface ICompany extends IAddress {
|
|
|
159
158
|
id: string;
|
|
160
159
|
company_code: string;
|
|
161
160
|
trade_name: string;
|
|
162
|
-
max_users: number;
|
|
163
161
|
company_logo: string | null;
|
|
164
|
-
selected_price_plan: PRICING_PLANS;
|
|
165
162
|
created_at: string | null;
|
|
166
163
|
updated_at: string | null;
|
|
167
164
|
is_deleted: boolean;
|
|
@@ -182,18 +179,6 @@ export interface ICompany extends IAddress {
|
|
|
182
179
|
uaadhar?: string | null;
|
|
183
180
|
pancard?: string | null;
|
|
184
181
|
company_config_id: string | null;
|
|
185
|
-
vendor_onboarding_request_cancellation_cooldown_value: number | null;
|
|
186
|
-
vendor_onboarding_request_cancellation_cooldown_unit: DATE_TIME_UNITS | null;
|
|
187
|
-
company_vendor_cancellation_cooldown_value: number | null;
|
|
188
|
-
company_vendor_cancellation_cooldown_unit: DATE_TIME_UNITS | null;
|
|
189
|
-
allow_vor_approvals_when_pat_rolled_back: boolean;
|
|
190
|
-
allow_showing_sif_questions_as_per_role_code: boolean;
|
|
191
|
-
allow_company_vendor_approvals_when_svf_rolled_back: boolean;
|
|
192
|
-
disputed_mrn_resolution_method: COMPANY_CONFIG_MRN_DISPUTE_RESOLUTION_METHODS;
|
|
193
|
-
plugin_ids: string[];
|
|
194
|
-
company_vendor_additonal_info_fields_mapping_config: string;
|
|
195
|
-
allow_custom_whatsapp: boolean;
|
|
196
|
-
allow_custom_mailer: boolean;
|
|
197
182
|
company_config: INestedCompanyConfig | null;
|
|
198
183
|
vendor_onboarding_request_categories: INestedVendorOnboardingRequestCategory[] | null;
|
|
199
184
|
associated_purchase_locations?: null | INestedPurchaseLocation[];
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { DATE_TIME_UNITS } from "../constants/date.constants";
|
|
2
|
-
import { INestedCompany } from "./company.typings";
|
|
2
|
+
import { COMPANY_CONFIG_MRN_DISPUTE_RESOLUTION_METHODS, INestedCompany, PRICING_PLANS } from "./company.typings";
|
|
3
3
|
export declare enum COMPANY_PLUGINS {
|
|
4
|
-
|
|
4
|
+
ACCOUNT_PAYABLES_AUTOMATION_MODULE = "ACCOUNT_PAYABLES_AUTOMATION_MODULE",
|
|
5
5
|
AADHAAR_VERIFICATION = "AADHAAR_VERIFICATION",
|
|
6
6
|
CUSTOMER_MODULE = "CUSTOMER_MODULE"
|
|
7
7
|
}
|
|
8
8
|
export interface ICompanyConfig {
|
|
9
9
|
id: string;
|
|
10
|
-
selected_price_plan:
|
|
10
|
+
selected_price_plan: PRICING_PLANS;
|
|
11
11
|
max_users: number;
|
|
12
12
|
allow_vor_approvals_when_pat_rolled_back: boolean;
|
|
13
|
+
allow_showing_sif_questions_as_per_role_code: boolean;
|
|
13
14
|
allow_company_vendor_approvals_when_svf_rolled_back: boolean;
|
|
14
15
|
vendor_onboarding_request_cancellation_cooldown_value: number;
|
|
15
16
|
vendor_onboarding_request_cancellation_cooldown_unit: DATE_TIME_UNITS;
|
|
@@ -17,6 +18,9 @@ export interface ICompanyConfig {
|
|
|
17
18
|
company_vendor_cancellation_cooldown_unit: DATE_TIME_UNITS;
|
|
18
19
|
enabled_plugins: COMPANY_PLUGINS[];
|
|
19
20
|
company_vendor_additonal_info_fields_mapping_config: string;
|
|
21
|
+
disputed_mrn_resolution_method: COMPANY_CONFIG_MRN_DISPUTE_RESOLUTION_METHODS;
|
|
22
|
+
allow_custom_whatsapp: boolean;
|
|
23
|
+
allow_custom_mailer: boolean;
|
|
20
24
|
created_at: string;
|
|
21
25
|
updated_at: string;
|
|
22
26
|
company: INestedCompany | null;
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.COMPANY_CONFIG_INCLUDE = exports.COMPANY_PLUGINS = void 0;
|
|
4
4
|
var COMPANY_PLUGINS;
|
|
5
5
|
(function (COMPANY_PLUGINS) {
|
|
6
|
-
COMPANY_PLUGINS["
|
|
6
|
+
COMPANY_PLUGINS["ACCOUNT_PAYABLES_AUTOMATION_MODULE"] = "ACCOUNT_PAYABLES_AUTOMATION_MODULE";
|
|
7
7
|
COMPANY_PLUGINS["AADHAAR_VERIFICATION"] = "AADHAAR_VERIFICATION";
|
|
8
8
|
COMPANY_PLUGINS["CUSTOMER_MODULE"] = "CUSTOMER_MODULE";
|
|
9
9
|
})(COMPANY_PLUGINS || (exports.COMPANY_PLUGINS = COMPANY_PLUGINS = {}));
|