kcommons 14.1.1 → 14.3.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/build/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/typings/asn.typings.d.ts +10 -0
- package/build/typings/asn.typings.js +4 -1
- package/build/typings/common/qr.typings.d.ts +11 -0
- package/build/typings/common/qr.typings.js +9 -0
- package/build/typings/company/masters/ves.typings.d.ts +15 -4
- package/build/typings/company/masters/ves.typings.js +2 -0
- package/build/typings/po.typings.d.ts +10 -0
- package/build/typings/po.typings.js +4 -1
- package/build/typings/user.typings.d.ts +3 -1
- package/build/typings/user.typings.js +1 -0
- package/build/utils/getContactPerson.util.spec.js +2 -0
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export * from "./typings/company/iad/iad.typings";
|
|
|
54
54
|
export * from "./typings/company/inventory/inventoryLogger.typings";
|
|
55
55
|
export * from "./typings/company/inventory/inventoryOverview.typings";
|
|
56
56
|
export * from "./typings/common/openApprovals.typings";
|
|
57
|
+
export * from "./typings/common/qr.typings";
|
|
57
58
|
export * from "./typings/invoices.typings";
|
|
58
59
|
export * from "./typings/vendor/vendorContactPeople.typings";
|
|
59
60
|
export * from "./typings/company/masters/vendorManagementBody.typings";
|
package/build/index.js
CHANGED
|
@@ -73,6 +73,7 @@ __exportStar(require("./typings/company/iad/iad.typings"), exports);
|
|
|
73
73
|
__exportStar(require("./typings/company/inventory/inventoryLogger.typings"), exports);
|
|
74
74
|
__exportStar(require("./typings/company/inventory/inventoryOverview.typings"), exports);
|
|
75
75
|
__exportStar(require("./typings/common/openApprovals.typings"), exports);
|
|
76
|
+
__exportStar(require("./typings/common/qr.typings"), exports);
|
|
76
77
|
__exportStar(require("./typings/invoices.typings"), exports);
|
|
77
78
|
__exportStar(require("./typings/vendor/vendorContactPeople.typings"), exports);
|
|
78
79
|
__exportStar(require("./typings/company/masters/vendorManagementBody.typings"), exports);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
2
|
+
import { IQRBaseData, QR_DOCUMENT_TYPE } from "./common/qr.typings";
|
|
2
3
|
import { INestedCompany } from "./company.typings";
|
|
3
4
|
import { INestedVES } from "./company/masters/ves.typings";
|
|
4
5
|
import { INestedEntityApprovalChainEntry } from "./entityApprovalChainEntry.typings";
|
|
@@ -9,6 +10,15 @@ import { INestedPOASNItemJunction } from "./poAsnJunctionItems.typings";
|
|
|
9
10
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
10
11
|
import { INestedUser } from "./user.typings";
|
|
11
12
|
import { INestedVendor } from "./vendor.typings";
|
|
13
|
+
export interface IASNQrData {
|
|
14
|
+
asn_id: string;
|
|
15
|
+
asn_no: string;
|
|
16
|
+
}
|
|
17
|
+
export declare abstract class _ASNQrData implements IASNQrData, IQRBaseData {
|
|
18
|
+
abstract qr_document_type: QR_DOCUMENT_TYPE.ASN;
|
|
19
|
+
abstract asn_id: string;
|
|
20
|
+
abstract asn_no: string;
|
|
21
|
+
}
|
|
12
22
|
export declare enum ASN_CANCELLED_BY_ENTITY {
|
|
13
23
|
COMPANY = "COMPANY",
|
|
14
24
|
VENDOR = "VENDOR"
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ASNPageLocation = exports.ASN_ITEM_INCLUDE = exports.ASN_HAND_DELIVERY_TRANSPORT_FIELD_PREFIX = exports.ASN_COURIER_TRANSPORT_FIELD_PREFIX = exports.ASN_AIR_TRANSPORT_FIELD_PREFIX = exports.ASN_SEA_TRANSPORT_FIELD_PREFIX = exports.ASN_RAIL_TRANSPORT_FIELD_PREFIX = exports.ASN_ROAD_TRANSPORT_FIELD_PREFIX = exports.ASN_MODE_OF_TRANSPORT_FIELDS = exports.ASN_INCLUDE = exports.IDENTIFICATION_DOCUMENT_TYPE = exports.COURIER_SERVICE_TYPE = exports.VEHICLE_TYPE = exports.MODE_OF_TRANSPORT = exports.SHIPMENT_TYPE = exports.ASN_STATUS = exports.ASN_CANCELLED_BY_ENTITY = void 0;
|
|
3
|
+
exports.ASNPageLocation = exports.ASN_ITEM_INCLUDE = exports.ASN_HAND_DELIVERY_TRANSPORT_FIELD_PREFIX = exports.ASN_COURIER_TRANSPORT_FIELD_PREFIX = exports.ASN_AIR_TRANSPORT_FIELD_PREFIX = exports.ASN_SEA_TRANSPORT_FIELD_PREFIX = exports.ASN_RAIL_TRANSPORT_FIELD_PREFIX = exports.ASN_ROAD_TRANSPORT_FIELD_PREFIX = exports.ASN_MODE_OF_TRANSPORT_FIELDS = exports.ASN_INCLUDE = exports.IDENTIFICATION_DOCUMENT_TYPE = exports.COURIER_SERVICE_TYPE = exports.VEHICLE_TYPE = exports.MODE_OF_TRANSPORT = exports.SHIPMENT_TYPE = exports.ASN_STATUS = exports.ASN_CANCELLED_BY_ENTITY = exports._ASNQrData = void 0;
|
|
4
|
+
class _ASNQrData {
|
|
5
|
+
}
|
|
6
|
+
exports._ASNQrData = _ASNQrData;
|
|
4
7
|
var ASN_CANCELLED_BY_ENTITY;
|
|
5
8
|
(function (ASN_CANCELLED_BY_ENTITY) {
|
|
6
9
|
ASN_CANCELLED_BY_ENTITY["COMPANY"] = "COMPANY";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { _ASNQrData } from "../asn.typings";
|
|
2
|
+
import { _POQrData } from "../po.typings";
|
|
3
|
+
export interface IQRBaseData {
|
|
4
|
+
qr_document_type: QR_DOCUMENT_TYPE;
|
|
5
|
+
}
|
|
6
|
+
export declare enum QR_DOCUMENT_TYPE {
|
|
7
|
+
ASN = "ASN",
|
|
8
|
+
VES = "VES",
|
|
9
|
+
PO = "PO"
|
|
10
|
+
}
|
|
11
|
+
export type IQRDataTypes = _ASNQrData | _POQrData;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QR_DOCUMENT_TYPE = void 0;
|
|
4
|
+
var QR_DOCUMENT_TYPE;
|
|
5
|
+
(function (QR_DOCUMENT_TYPE) {
|
|
6
|
+
QR_DOCUMENT_TYPE["ASN"] = "ASN";
|
|
7
|
+
QR_DOCUMENT_TYPE["VES"] = "VES";
|
|
8
|
+
QR_DOCUMENT_TYPE["PO"] = "PO";
|
|
9
|
+
})(QR_DOCUMENT_TYPE || (exports.QR_DOCUMENT_TYPE = QR_DOCUMENT_TYPE = {}));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { INestedASN } from "../../asn.typings";
|
|
1
|
+
import { IASN, INestedASN } from "../../asn.typings";
|
|
2
2
|
import { IPaginationFilters } from "../../common/paginationFilters.typings";
|
|
3
3
|
import { INestedCompany } from "../../company.typings";
|
|
4
4
|
import { INestedEntityApprovalChainEntry } from "../../entityApprovalChainEntry.typings";
|
|
5
|
-
import { INestedPo } from "../../po.typings";
|
|
5
|
+
import { INestedPo, IPurchaseOrder } from "../../po.typings";
|
|
6
6
|
import { INestedStoreLocation } from "../../storeLocation.typings";
|
|
7
7
|
import { INestedUser } from "../../user.typings";
|
|
8
8
|
import { INestedVESCheckpointTracking } from "../_junctions/vesCheckpointTracking.typings";
|
|
@@ -27,7 +27,8 @@ export declare enum VES_STATUS {
|
|
|
27
27
|
PENDING_APPROVAL = "PENDING_APPROVAL",
|
|
28
28
|
REQUESTED_AT_SHIPPING_LOCATION = "REQUESTED_AT_SHIPPING_LOCATION",
|
|
29
29
|
IN_TRANSIT = "IN_TRANSIT",
|
|
30
|
-
EXITED = "EXITED"
|
|
30
|
+
EXITED = "EXITED",
|
|
31
|
+
CANCELLED = "CANCELLED"
|
|
31
32
|
}
|
|
32
33
|
export declare enum VES_INCLUDE {
|
|
33
34
|
company = "company",
|
|
@@ -36,6 +37,7 @@ export declare enum VES_INCLUDE {
|
|
|
36
37
|
last_updated_by_user = "last_updated_by_user",
|
|
37
38
|
created_at_checkpoint = "created_at_checkpoint",
|
|
38
39
|
directed_to_checkpoint = "directed_to_checkpoint",
|
|
40
|
+
cancelled_by_user = "cancelled_by_user",
|
|
39
41
|
parent_po = "parent_po",
|
|
40
42
|
parent_asn = "parent_asn",
|
|
41
43
|
items = "items",
|
|
@@ -61,6 +63,7 @@ export interface IVES {
|
|
|
61
63
|
target_store_location_id: string;
|
|
62
64
|
last_updated_by_user_id: string;
|
|
63
65
|
created_by_user_id: string;
|
|
66
|
+
cancelled_by_user_id: string | null;
|
|
64
67
|
take_on_approval_by_user_id: string | null;
|
|
65
68
|
created_at_checkpoint_id: string;
|
|
66
69
|
directed_to_checkpoint_id: string;
|
|
@@ -68,12 +71,14 @@ export interface IVES {
|
|
|
68
71
|
parent_asn_id: string | null;
|
|
69
72
|
status: VES_STATUS;
|
|
70
73
|
remarks: string | null;
|
|
74
|
+
cancellation_remark: string | null;
|
|
71
75
|
driver_name: string;
|
|
72
76
|
driver_contact: string;
|
|
73
77
|
vehicle_no: string;
|
|
74
78
|
invoice_no: string;
|
|
75
79
|
was_sent_to_store_location_without_confirmation: boolean;
|
|
76
80
|
is_deleted: boolean;
|
|
81
|
+
cancelled_at: string | null;
|
|
77
82
|
deleted_at: string | null;
|
|
78
83
|
take_on_approval_at: string | null;
|
|
79
84
|
created_at: string;
|
|
@@ -81,6 +86,7 @@ export interface IVES {
|
|
|
81
86
|
company: INestedCompany | null;
|
|
82
87
|
target_store_location: INestedStoreLocation | null;
|
|
83
88
|
created_by_user: INestedUser | null;
|
|
89
|
+
cancelled_by_user: INestedUser | null;
|
|
84
90
|
last_updated_by_user: INestedUser | null;
|
|
85
91
|
take_on_approval_by_user: INestedUser | null;
|
|
86
92
|
created_at_checkpoint: INestedCheckpoint | null;
|
|
@@ -91,5 +97,10 @@ export interface IVES {
|
|
|
91
97
|
store_location_approval_chain: INestedEntityApprovalChainEntry[] | null;
|
|
92
98
|
checkpoint_trail: INestedVESCheckpointTracking[] | null;
|
|
93
99
|
}
|
|
94
|
-
export interface INestedVES extends Omit<IVES, "company" | "target_store_location" | "created_by_user" | "last_updated_by_user" | "take_on_approval_by_user" | "created_at_checkpoint" | "directed_to_checkpoint" | "parent_po" | "parent_asn" | "items" | "store_location_approval_chain" | "checkpoint_trail"> {
|
|
100
|
+
export interface INestedVES extends Omit<IVES, "company" | "target_store_location" | "created_by_user" | "last_updated_by_user" | "cancelled_by_user" | "take_on_approval_by_user" | "created_at_checkpoint" | "directed_to_checkpoint" | "parent_po" | "parent_asn" | "items" | "store_location_approval_chain" | "checkpoint_trail"> {
|
|
101
|
+
}
|
|
102
|
+
export interface IFetchDocumentForVESByDocumentNoResponse {
|
|
103
|
+
poData: IPurchaseOrder | null;
|
|
104
|
+
asnData: IASN | null;
|
|
105
|
+
document_type: VES_PARENT_DOCUMENT_TYPE;
|
|
95
106
|
}
|
|
@@ -25,6 +25,7 @@ var VES_STATUS;
|
|
|
25
25
|
VES_STATUS["REQUESTED_AT_SHIPPING_LOCATION"] = "REQUESTED_AT_SHIPPING_LOCATION";
|
|
26
26
|
VES_STATUS["IN_TRANSIT"] = "IN_TRANSIT";
|
|
27
27
|
VES_STATUS["EXITED"] = "EXITED";
|
|
28
|
+
VES_STATUS["CANCELLED"] = "CANCELLED";
|
|
28
29
|
})(VES_STATUS || (exports.VES_STATUS = VES_STATUS = {}));
|
|
29
30
|
var VES_INCLUDE;
|
|
30
31
|
(function (VES_INCLUDE) {
|
|
@@ -34,6 +35,7 @@ var VES_INCLUDE;
|
|
|
34
35
|
VES_INCLUDE["last_updated_by_user"] = "last_updated_by_user";
|
|
35
36
|
VES_INCLUDE["created_at_checkpoint"] = "created_at_checkpoint";
|
|
36
37
|
VES_INCLUDE["directed_to_checkpoint"] = "directed_to_checkpoint";
|
|
38
|
+
VES_INCLUDE["cancelled_by_user"] = "cancelled_by_user";
|
|
37
39
|
VES_INCLUDE["parent_po"] = "parent_po";
|
|
38
40
|
VES_INCLUDE["parent_asn"] = "parent_asn";
|
|
39
41
|
VES_INCLUDE["items"] = "items";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { INestedBOM } from "./bom.typings";
|
|
2
2
|
import { IOpenApprovalsBase } from "./common/openApprovals.typings";
|
|
3
3
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
4
|
+
import { IQRBaseData, QR_DOCUMENT_TYPE } from "./common/qr.typings";
|
|
4
5
|
import { INestedCompany } from "./company.typings";
|
|
5
6
|
import { INestedVES } from "./company/masters/ves.typings";
|
|
6
7
|
import { INestedCompanyVendors } from "./companyVendors.typings";
|
|
@@ -19,6 +20,15 @@ import { INestedQuote } from "./quote.typings";
|
|
|
19
20
|
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
20
21
|
import { INestedUser, IUser } from "./user.typings";
|
|
21
22
|
import { INestedVendor } from "./vendor.typings";
|
|
23
|
+
export interface IPOQrData {
|
|
24
|
+
po_id: string;
|
|
25
|
+
po_no: string;
|
|
26
|
+
}
|
|
27
|
+
export declare abstract class _POQrData implements IPOQrData, IQRBaseData {
|
|
28
|
+
abstract qr_document_type: QR_DOCUMENT_TYPE.PO;
|
|
29
|
+
abstract po_id: string;
|
|
30
|
+
abstract po_no: string;
|
|
31
|
+
}
|
|
22
32
|
export declare enum PO_LIST_TYPES {
|
|
23
33
|
ALL = "ALL",
|
|
24
34
|
MY_APPROVALS = "MY_APPROVALS",
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PO_BOM_INCLUDE = exports.PO_ITEM_INCLUDE = exports.PO_INCLUDE = exports.PO_ITEM_ASCENDENCE_TYPE = exports.PO_TYPE = exports.PO_STATUS = exports.COMPANY_VIEW_PO_TABS = exports.PO_LIST_TYPES = void 0;
|
|
3
|
+
exports.PO_BOM_INCLUDE = exports.PO_ITEM_INCLUDE = exports.PO_INCLUDE = exports.PO_ITEM_ASCENDENCE_TYPE = exports.PO_TYPE = exports.PO_STATUS = exports.COMPANY_VIEW_PO_TABS = exports.PO_LIST_TYPES = exports._POQrData = void 0;
|
|
4
|
+
class _POQrData {
|
|
5
|
+
}
|
|
6
|
+
exports._POQrData = _POQrData;
|
|
4
7
|
var PO_LIST_TYPES;
|
|
5
8
|
(function (PO_LIST_TYPES) {
|
|
6
9
|
PO_LIST_TYPES["ALL"] = "ALL";
|
|
@@ -179,9 +179,10 @@ export interface IUser {
|
|
|
179
179
|
ves_created_by_user: INestedVES[] | null;
|
|
180
180
|
ves_last_updated_by_user: INestedVES[] | null;
|
|
181
181
|
take_on_approval_for_ves: INestedVES[] | null;
|
|
182
|
+
ves_cancelled_by_user: INestedVES[] | null;
|
|
182
183
|
time_records_at_checkpoint: INestedVESCheckpointTracking[] | null;
|
|
183
184
|
}
|
|
184
|
-
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" | "ves_created_by_user" | "ves_last_updated_by_user" | "take_on_approval_for_ves" | "time_records_at_checkpoint"> {
|
|
185
|
+
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" | "ves_created_by_user" | "ves_last_updated_by_user" | "ves_cancelled_by_user" | "take_on_approval_for_ves" | "time_records_at_checkpoint"> {
|
|
185
186
|
}
|
|
186
187
|
export declare enum UserInclude {
|
|
187
188
|
subordinates = "subordinates",
|
|
@@ -294,6 +295,7 @@ export declare enum UserInclude {
|
|
|
294
295
|
checkpoints_last_updated_by_user = "checkpoints_last_updated_by_user",
|
|
295
296
|
ves_created_by_user = "ves_created_by_user",
|
|
296
297
|
ves_last_updated_by_user = "ves_last_updated_by_user",
|
|
298
|
+
ves_cancelled_by_user = "ves_cancelled_by_user",
|
|
297
299
|
take_on_approval_for_ves = "take_on_approval_for_ves",
|
|
298
300
|
time_records_at_checkpoint = "time_records_at_checkpoint"
|
|
299
301
|
}
|
|
@@ -115,6 +115,7 @@ var UserInclude;
|
|
|
115
115
|
UserInclude["checkpoints_last_updated_by_user"] = "checkpoints_last_updated_by_user";
|
|
116
116
|
UserInclude["ves_created_by_user"] = "ves_created_by_user";
|
|
117
117
|
UserInclude["ves_last_updated_by_user"] = "ves_last_updated_by_user";
|
|
118
|
+
UserInclude["ves_cancelled_by_user"] = "ves_cancelled_by_user";
|
|
118
119
|
UserInclude["take_on_approval_for_ves"] = "take_on_approval_for_ves";
|
|
119
120
|
UserInclude["time_records_at_checkpoint"] = "time_records_at_checkpoint";
|
|
120
121
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|
|
@@ -78,6 +78,7 @@ describe("Get Contact Person", () => {
|
|
|
78
78
|
ves_last_updated_by_user: null,
|
|
79
79
|
take_on_approval_for_ves: null,
|
|
80
80
|
time_records_at_checkpoint: null,
|
|
81
|
+
ves_cancelled_by_user: null,
|
|
81
82
|
};
|
|
82
83
|
const contact_person = {
|
|
83
84
|
id: "",
|
|
@@ -183,6 +184,7 @@ describe("Get Contact Person", () => {
|
|
|
183
184
|
ves_last_updated_by_user: null,
|
|
184
185
|
take_on_approval_for_ves: null,
|
|
185
186
|
time_records_at_checkpoint: null,
|
|
187
|
+
ves_cancelled_by_user: null,
|
|
186
188
|
};
|
|
187
189
|
const contact_person = {
|
|
188
190
|
id: "CP-001",
|