kcommons 13.18.2 → 13.18.3
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/constants/companyRoutes.constants.d.ts +12 -0
- package/build/constants/companyRoutes.constants.js +12 -0
- package/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/typings/company/masters/checkpoints.typings.d.ts +40 -0
- package/build/typings/company/masters/checkpoints.typings.js +15 -0
- package/build/typings/company/vendorOnboardingRequest/vendorOnboardingRequest.typing.d.ts +2 -2
- package/build/typings/company.typings.d.ts +3 -1
- package/build/typings/settings/form/extraForm.typings.d.ts +4 -1
- package/build/typings/settings/form/extraFormAns.typings.d.ts +1 -1
- package/build/typings/user.typings.d.ts +7 -2
- package/build/typings/user.typings.js +2 -0
- package/build/utils/getContactPerson.util.spec.js +4 -0
- package/package.json +1 -1
|
@@ -110,6 +110,8 @@ export declare enum COMPANY_ROUTE_IDS {
|
|
|
110
110
|
CMP_VDR_DISC = "CMP_VDR_DISC",
|
|
111
111
|
CMP_VDR_GRPS = "CMP_VDR_GRPS",
|
|
112
112
|
CMP_VDR_ONB_REQ = "CMP_VDR_ONB_REQ",
|
|
113
|
+
CHKPT_VIEW = "CHKPT_VIEW",
|
|
114
|
+
CHKPT_LST = "CHKPT_LST",
|
|
113
115
|
OPN_CMPNY_VDR_APPR = "OPN_CMPNY_VDR_APPR",
|
|
114
116
|
OPN_IND_APPR = "OPN_IND_APPR",
|
|
115
117
|
OPN_MI_APPR = "OPN_MI_APPR",
|
|
@@ -314,6 +316,16 @@ export declare const companyNavConfig: {
|
|
|
314
316
|
id: COMPANY_ROUTE_IDS;
|
|
315
317
|
};
|
|
316
318
|
};
|
|
319
|
+
checkpoint: {
|
|
320
|
+
list: {
|
|
321
|
+
route: string;
|
|
322
|
+
id: COMPANY_ROUTE_IDS;
|
|
323
|
+
};
|
|
324
|
+
view: {
|
|
325
|
+
route: (checkpoint_id: string) => string;
|
|
326
|
+
id: COMPANY_ROUTE_IDS;
|
|
327
|
+
};
|
|
328
|
+
};
|
|
317
329
|
};
|
|
318
330
|
approvals: {
|
|
319
331
|
standard: {
|
|
@@ -106,6 +106,8 @@ var COMPANY_ROUTE_IDS;
|
|
|
106
106
|
COMPANY_ROUTE_IDS["CMP_VDR_DISC"] = "CMP_VDR_DISC";
|
|
107
107
|
COMPANY_ROUTE_IDS["CMP_VDR_GRPS"] = "CMP_VDR_GRPS";
|
|
108
108
|
COMPANY_ROUTE_IDS["CMP_VDR_ONB_REQ"] = "CMP_VDR_ONB_REQ";
|
|
109
|
+
COMPANY_ROUTE_IDS["CHKPT_VIEW"] = "CHKPT_VIEW";
|
|
110
|
+
COMPANY_ROUTE_IDS["CHKPT_LST"] = "CHKPT_LST";
|
|
109
111
|
// For Open Approvals
|
|
110
112
|
COMPANY_ROUTE_IDS["OPN_CMPNY_VDR_APPR"] = "OPN_CMPNY_VDR_APPR";
|
|
111
113
|
COMPANY_ROUTE_IDS["OPN_IND_APPR"] = "OPN_IND_APPR";
|
|
@@ -321,6 +323,16 @@ exports.companyNavConfig = {
|
|
|
321
323
|
id: COMPANY_ROUTE_IDS.ITM_MGMT,
|
|
322
324
|
},
|
|
323
325
|
},
|
|
326
|
+
checkpoint: {
|
|
327
|
+
list: {
|
|
328
|
+
route: `/company/checkpoints?route_id=${COMPANY_ROUTE_IDS.CHKPT_LST}`,
|
|
329
|
+
id: COMPANY_ROUTE_IDS.CHKPT_LST,
|
|
330
|
+
},
|
|
331
|
+
view: {
|
|
332
|
+
route: (checkpoint_id) => `/company/checkpoints/${checkpoint_id}?route_id=${COMPANY_ROUTE_IDS.CHKPT_VIEW}`,
|
|
333
|
+
id: COMPANY_ROUTE_IDS.CHKPT_VIEW,
|
|
334
|
+
},
|
|
335
|
+
},
|
|
324
336
|
},
|
|
325
337
|
approvals: {
|
|
326
338
|
standard: {
|
package/build/index.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from "./typings/approvalChain.typings";
|
|
|
11
11
|
export * from "./typings/approvalConfig.typings";
|
|
12
12
|
export * from "./typings/storeLocation.typings";
|
|
13
13
|
export * from "./typings/purchaseLocation.typings";
|
|
14
|
+
export * from "./typings/company/masters/checkpoints.typings";
|
|
14
15
|
export * from "./typings/indent.typings";
|
|
15
16
|
export * from "./typings/mi.typings";
|
|
16
17
|
export * from "./typings/pr.typings";
|
package/build/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __exportStar(require("./typings/approvalChain.typings"), exports);
|
|
|
30
30
|
__exportStar(require("./typings/approvalConfig.typings"), exports);
|
|
31
31
|
__exportStar(require("./typings/storeLocation.typings"), exports);
|
|
32
32
|
__exportStar(require("./typings/purchaseLocation.typings"), exports);
|
|
33
|
+
__exportStar(require("./typings/company/masters/checkpoints.typings"), exports);
|
|
33
34
|
__exportStar(require("./typings/indent.typings"), exports);
|
|
34
35
|
__exportStar(require("./typings/mi.typings"), exports);
|
|
35
36
|
__exportStar(require("./typings/pr.typings"), exports);
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IPaginationFilters } from "../../common/paginationFilters.typings";
|
|
2
|
+
import { INestedCompany } from "../../company.typings";
|
|
3
|
+
import { INestedUser } from "../../user.typings";
|
|
4
|
+
export interface ICheckpointFilters extends Partial<Pick<ICheckpoints, "is_enabled" | "checkpoint_role">> {
|
|
5
|
+
name?: string;
|
|
6
|
+
created_by_logged_in_user?: boolean;
|
|
7
|
+
include?: CHECKPOINT_INCLUDE[];
|
|
8
|
+
}
|
|
9
|
+
export interface ICheckpointFiltersWithPagination extends ICheckpointFilters, IPaginationFilters {
|
|
10
|
+
}
|
|
11
|
+
export interface ICheckpoints {
|
|
12
|
+
id: string;
|
|
13
|
+
checkpoint_name: string;
|
|
14
|
+
checkpoint_code: string;
|
|
15
|
+
description: string | null;
|
|
16
|
+
checkpoint_role: CHECKPOINT_ROLE;
|
|
17
|
+
company_id: string;
|
|
18
|
+
created_by_user_id: string;
|
|
19
|
+
last_updated_by_user_id: string;
|
|
20
|
+
is_enabled: boolean;
|
|
21
|
+
is_deleted: boolean;
|
|
22
|
+
deleted_at: string | null;
|
|
23
|
+
created_at: string;
|
|
24
|
+
updated_at: string;
|
|
25
|
+
company: INestedCompany | null;
|
|
26
|
+
created_by_user: INestedUser | null;
|
|
27
|
+
last_updated_by_user: INestedUser | null;
|
|
28
|
+
}
|
|
29
|
+
export interface INestedCheckpoint extends Omit<ICheckpoints, "company" | "created_by_user" | "last_updated_by_user"> {
|
|
30
|
+
}
|
|
31
|
+
/** --- ENUMS--- */
|
|
32
|
+
export declare enum CHECKPOINT_INCLUDE {
|
|
33
|
+
company = "company",
|
|
34
|
+
created_by_user = "created_by_user",
|
|
35
|
+
last_updated_by_user = "last_updated_by_user"
|
|
36
|
+
}
|
|
37
|
+
export declare enum CHECKPOINT_ROLE {
|
|
38
|
+
ENTRY = "ENTRY",
|
|
39
|
+
EXIT = "EXIT"
|
|
40
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CHECKPOINT_ROLE = exports.CHECKPOINT_INCLUDE = void 0;
|
|
4
|
+
/** --- ENUMS--- */
|
|
5
|
+
var CHECKPOINT_INCLUDE;
|
|
6
|
+
(function (CHECKPOINT_INCLUDE) {
|
|
7
|
+
CHECKPOINT_INCLUDE["company"] = "company";
|
|
8
|
+
CHECKPOINT_INCLUDE["created_by_user"] = "created_by_user";
|
|
9
|
+
CHECKPOINT_INCLUDE["last_updated_by_user"] = "last_updated_by_user";
|
|
10
|
+
})(CHECKPOINT_INCLUDE || (exports.CHECKPOINT_INCLUDE = CHECKPOINT_INCLUDE = {}));
|
|
11
|
+
var CHECKPOINT_ROLE;
|
|
12
|
+
(function (CHECKPOINT_ROLE) {
|
|
13
|
+
CHECKPOINT_ROLE["ENTRY"] = "ENTRY";
|
|
14
|
+
CHECKPOINT_ROLE["EXIT"] = "EXIT";
|
|
15
|
+
})(CHECKPOINT_ROLE || (exports.CHECKPOINT_ROLE = CHECKPOINT_ROLE = {}));
|
|
@@ -4,7 +4,7 @@ import { INestedCompany } from "../../company.typings";
|
|
|
4
4
|
import { INestedCompanyVendors } from "../../companyVendors.typings";
|
|
5
5
|
import { INestedDepartment } from "../../department.typings";
|
|
6
6
|
import { IEntityApprovalChainEntry, INestedEntityApprovalChainEntry } from "../../entityApprovalChainEntry.typings";
|
|
7
|
-
import {
|
|
7
|
+
import { IExtraFormAnswerInput, INestedExtraFormAnswerEntitys } from "../../settings/form/extraFormAns.typings";
|
|
8
8
|
import { INestedUser, IUser } from "../../user.typings";
|
|
9
9
|
import { IVendorInputs } from "../../vendor.typings";
|
|
10
10
|
import { INestedVendorManagementBody } from "../masters/vendorManagementBody.typings";
|
|
@@ -107,7 +107,7 @@ export interface IOpenVendorOnboardingRequestApprovalData {
|
|
|
107
107
|
entityApprovalChainEntry: IEntityApprovalChainEntry;
|
|
108
108
|
}
|
|
109
109
|
export interface IVendorPATFormSubmit {
|
|
110
|
-
submittedExtraFormAns:
|
|
110
|
+
submittedExtraFormAns: IExtraFormAnswerInput[] | null;
|
|
111
111
|
submittedAnsForVednroCoreField: IVendorInputs | null;
|
|
112
112
|
}
|
|
113
113
|
export interface IPREASSESSMENT_FORM_LINK_TOKEN_PAYLOAD {
|
|
@@ -44,6 +44,7 @@ import { DATE_TIME_UNITS } from "../constants/date.constants";
|
|
|
44
44
|
import { INestedItemManagementBody } from "./company/masters/itemManagementbody.typings";
|
|
45
45
|
import { INestedPOGRNItemJunction } from "./poGrnJunctionItems.typings";
|
|
46
46
|
import { INestedFormRolback } from "./vendor/vendorFormRollbackRemark.typings";
|
|
47
|
+
import { INestedCheckpoint } from "./company/masters/checkpoints.typings";
|
|
47
48
|
export declare enum PRICING_PLANS {
|
|
48
49
|
BASIC = "BASIC",
|
|
49
50
|
GROWTH = "GROWTH",
|
|
@@ -187,8 +188,9 @@ export interface ICompany extends IAddress {
|
|
|
187
188
|
vendor_management_bodies: INestedVendorManagementBody[] | null;
|
|
188
189
|
item_management_bodies: INestedItemManagementBody[] | null;
|
|
189
190
|
rollback_forms_sent_by_company: INestedFormRolback[] | null;
|
|
191
|
+
company_checkpoints: INestedCheckpoint[] | null;
|
|
190
192
|
}
|
|
191
|
-
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"> {
|
|
193
|
+
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"> {
|
|
192
194
|
}
|
|
193
195
|
export interface ICompanyVendorAdditionalInfoMappingConfig {
|
|
194
196
|
additional_info_form_que_id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IEXtraFormAnswers } from "./extraFormAns.typings";
|
|
1
|
+
import { IExtraFormAnswerInput, IEXtraFormAnswers } from "./extraFormAns.typings";
|
|
2
2
|
import { IExtraFormQuestions } from "./extraFormQues.typings";
|
|
3
3
|
export interface IExtraFormQueAnsUnit {
|
|
4
4
|
question: IExtraFormQuestions;
|
|
@@ -21,3 +21,6 @@ export interface IPATFormQuesAnsReq {
|
|
|
21
21
|
export interface IVendorComplianceFormQueAnsReqForVendor {
|
|
22
22
|
company_id: string;
|
|
23
23
|
}
|
|
24
|
+
export interface ISubmitExtraFormAnswersReq {
|
|
25
|
+
answers: IExtraFormAnswerInput[];
|
|
26
|
+
}
|
|
@@ -43,7 +43,7 @@ export interface IEXtraFormAnswers {
|
|
|
43
43
|
}
|
|
44
44
|
export interface INestedExtraFormAnswerEntitys extends Omit<IEXtraFormAnswers, "parent_que" | "company" | "user" | "vendor" | "vendor_onboarding_request" | "scores" | "company_vendor"> {
|
|
45
45
|
}
|
|
46
|
-
export interface
|
|
46
|
+
export interface IExtraFormAnswerInput extends Pick<IEXtraFormAnswers, "parent_que_id" | "date_ans" | "text_ans" | "yes_no_ans" | "keywords_ans" | "selected_opts_ans" | "upload_link" | "metadata"> {
|
|
47
47
|
}
|
|
48
48
|
/** @description This is the type of response which will include all the core question related answers */
|
|
49
49
|
export interface IExtraCoreFormAnswers {
|
|
@@ -40,6 +40,7 @@ import { INestedQuote } from "./quote.typings";
|
|
|
40
40
|
import { INestedASN } from "./asn.typings";
|
|
41
41
|
import { INestedInvoice } from "./invoices.typings";
|
|
42
42
|
import { INestedFormRolback } from "./vendor/vendorFormRollbackRemark.typings";
|
|
43
|
+
import { INestedCheckpoint } from "./company/masters/checkpoints.typings";
|
|
43
44
|
export interface IUser {
|
|
44
45
|
id: string;
|
|
45
46
|
is_enabled?: boolean | null;
|
|
@@ -171,8 +172,10 @@ export interface IUser {
|
|
|
171
172
|
created_indents: INestedIndent | null;
|
|
172
173
|
rollback_forms_by_user: INestedFormRolback | null;
|
|
173
174
|
asns_sent_to_vendor_by_user: INestedASN[] | null;
|
|
175
|
+
checkpoints_created_by_user: INestedCheckpoint[] | null;
|
|
176
|
+
checkpoints_last_updated_by_user: INestedCheckpoint[] | null;
|
|
174
177
|
}
|
|
175
|
-
export interface INestedUser extends Omit<IUser, "updated_at" | "created_at" | "deleted_at" | "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_incharge_in_gates" | "as_contact_person_companies" | "as_contact_person_offices" | "as_contact_person_gates" | "owned_companies" | "head_for_departments" | "created_item_subcategories" | "last_updated_item_subcategories" | "head_for_departments" | "approval_chains" | "indents_created_for_user" | "created_mis" | "mis_issued_for_user" | "mis_sent_for_approval" | "mis_issued" | "mis_last_updated" | "created_prs" | "pr_sent_for_approval" | "pr_sent_to_purchase_location" | "last_updated_prs" | "created_rfqs" | "entity_approval_chains" | "as_contact_person_for_rfqs" | "as_contact_person_for_quotes" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "negotiations" | "created_pos" | "last_updated_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "created_grns" | "last_updated_grns" | "as_contact_person_for_grns" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "as_contact_person_for_mrns" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications" | "created_extra_quesstions" | "updated_extra_quesstions" | "answered_questions" | "created_extra_core_question_for_companies" | "updated_extra_core_question_for_companies" | "cancelled_asns" | "created_contact_people" | "updated_contact_people" | "last_updated_company_item_vendor_version" | "items_last_updated_by_user" | "company_vendors_last_updated_by_user" | "created_istds" | "last_updated_istds" | "source_contact_person_for_istd" | "dest_contact_person_for_istd" | "istds_sent_for_source_approval" | "istds_sent_for_dest_approval" | "istds_sent_for_dest_store" | "istds_marked_as_processed" | "istds_terminated" | "created_payment_terms" | "created_iads" | "user_last_updated_iads" | "as_approver_for_iads" | "iads_terminated_by_user" | "finalised_iads" | "assigned_roles" | "initiated_inventory_logs" | "logs" | "vendor_onboarding_requests_created_by_user" | "vendor_onboarding_requests_last_updated" | "vendor_onboarding_requests_sent_for_approval" | "invitation_sent_for_vendor_onboarding_requests" | "created_vendor_management_bodies" | "last_updated_vendor_management_bodies" | "head_of_vendor_management_bodies" | "cancelled_vendor_onboarding_requests" | "company_vendor_created_by_user" | "company_vendors_last_updated_by_user" | "sent_for_approval_company_vendors" | "sent_questions_to_company_vendors" | "cancelled_company_vendors" | "created_vendor_onboarding_request_categories" | "last_updated_vendor_onboarding_request_categories" | "created_item_management_bodies" | "last_updated_item_management_bodies" | "as_head_of_item_management_bodies" | "created_items" | "items_sent_for_approval" | "cancelled_items" | "invoices_marked_as_paid_or_rejected" | "onboarded_company_vendors" | "created_indents" | "rollback_forms_by_user" | "asns_sent_to_vendor_by_user"> {
|
|
178
|
+
export interface INestedUser extends Omit<IUser, "updated_at" | "created_at" | "deleted_at" | "reporting_to" | "active_company" | "active_role" | "subordinates" | "otps" | "as_incharge_in_purchase_locations" | "as_incharge_in_store_locations" | "as_incharge_in_offices" | "as_incharge_in_gates" | "as_contact_person_companies" | "as_contact_person_offices" | "as_contact_person_gates" | "owned_companies" | "head_for_departments" | "created_item_subcategories" | "last_updated_item_subcategories" | "head_for_departments" | "approval_chains" | "indents_created_for_user" | "created_mis" | "mis_issued_for_user" | "mis_sent_for_approval" | "mis_issued" | "mis_last_updated" | "created_prs" | "pr_sent_for_approval" | "pr_sent_to_purchase_location" | "last_updated_prs" | "created_rfqs" | "entity_approval_chains" | "as_contact_person_for_rfqs" | "as_contact_person_for_quotes" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "negotiations" | "created_pos" | "last_updated_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "created_grns" | "last_updated_grns" | "as_contact_person_for_grns" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "as_contact_person_for_mrns" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications" | "created_extra_quesstions" | "updated_extra_quesstions" | "answered_questions" | "created_extra_core_question_for_companies" | "updated_extra_core_question_for_companies" | "cancelled_asns" | "created_contact_people" | "updated_contact_people" | "last_updated_company_item_vendor_version" | "items_last_updated_by_user" | "company_vendors_last_updated_by_user" | "created_istds" | "last_updated_istds" | "source_contact_person_for_istd" | "dest_contact_person_for_istd" | "istds_sent_for_source_approval" | "istds_sent_for_dest_approval" | "istds_sent_for_dest_store" | "istds_marked_as_processed" | "istds_terminated" | "created_payment_terms" | "created_iads" | "user_last_updated_iads" | "as_approver_for_iads" | "iads_terminated_by_user" | "finalised_iads" | "assigned_roles" | "initiated_inventory_logs" | "logs" | "vendor_onboarding_requests_created_by_user" | "vendor_onboarding_requests_last_updated" | "vendor_onboarding_requests_sent_for_approval" | "invitation_sent_for_vendor_onboarding_requests" | "created_vendor_management_bodies" | "last_updated_vendor_management_bodies" | "head_of_vendor_management_bodies" | "cancelled_vendor_onboarding_requests" | "company_vendor_created_by_user" | "company_vendors_last_updated_by_user" | "sent_for_approval_company_vendors" | "sent_questions_to_company_vendors" | "cancelled_company_vendors" | "created_vendor_onboarding_request_categories" | "last_updated_vendor_onboarding_request_categories" | "created_item_management_bodies" | "last_updated_item_management_bodies" | "as_head_of_item_management_bodies" | "created_items" | "items_sent_for_approval" | "cancelled_items" | "invoices_marked_as_paid_or_rejected" | "onboarded_company_vendors" | "created_indents" | "rollback_forms_by_user" | "asns_sent_to_vendor_by_user" | "checkpoints_created_by_user" | "checkpoints_last_updated_by_user"> {
|
|
176
179
|
}
|
|
177
180
|
export declare enum UserInclude {
|
|
178
181
|
subordinates = "subordinates",
|
|
@@ -280,7 +283,9 @@ export declare enum UserInclude {
|
|
|
280
283
|
invoices_marked_as_paid_or_rejected = "invoices_marked_as_paid_or_rejected",
|
|
281
284
|
onboarded_company_vendors = "onboarded_company_vendors",
|
|
282
285
|
rollback_forms_by_user = "rollback_forms_by_user",
|
|
283
|
-
asns_sent_to_vendor_by_user = "asns_sent_to_vendor_by_user"
|
|
286
|
+
asns_sent_to_vendor_by_user = "asns_sent_to_vendor_by_user",
|
|
287
|
+
checkpoints_created_by_user = "checkpoints_created_by_user",
|
|
288
|
+
checkpoints_last_updated_by_user = "checkpoints_last_updated_by_user"
|
|
284
289
|
}
|
|
285
290
|
export interface IUserFilters {
|
|
286
291
|
name?: string | null;
|
|
@@ -111,4 +111,6 @@ var UserInclude;
|
|
|
111
111
|
UserInclude["onboarded_company_vendors"] = "onboarded_company_vendors";
|
|
112
112
|
UserInclude["rollback_forms_by_user"] = "rollback_forms_by_user";
|
|
113
113
|
UserInclude["asns_sent_to_vendor_by_user"] = "asns_sent_to_vendor_by_user";
|
|
114
|
+
UserInclude["checkpoints_created_by_user"] = "checkpoints_created_by_user";
|
|
115
|
+
UserInclude["checkpoints_last_updated_by_user"] = "checkpoints_last_updated_by_user";
|
|
114
116
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|
|
@@ -72,6 +72,8 @@ describe("Get Contact Person", () => {
|
|
|
72
72
|
created_indents: null,
|
|
73
73
|
rollback_forms_by_user: null,
|
|
74
74
|
asns_sent_to_vendor_by_user: null,
|
|
75
|
+
checkpoints_created_by_user: null,
|
|
76
|
+
checkpoints_last_updated_by_user: null,
|
|
75
77
|
};
|
|
76
78
|
const contact_person = {
|
|
77
79
|
id: "",
|
|
@@ -171,6 +173,8 @@ describe("Get Contact Person", () => {
|
|
|
171
173
|
created_indents: null,
|
|
172
174
|
rollback_forms_by_user: null,
|
|
173
175
|
asns_sent_to_vendor_by_user: null,
|
|
176
|
+
checkpoints_created_by_user: null,
|
|
177
|
+
checkpoints_last_updated_by_user: null,
|
|
174
178
|
};
|
|
175
179
|
const contact_person = {
|
|
176
180
|
id: "CP-001",
|