kcommons 8.1.3 → 9.1.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/constants/statuses.constants.d.ts +3 -1
- package/build/constants/statuses.constants.js +2 -0
- package/build/index.d.ts +2 -0
- package/build/index.js +2 -0
- package/build/typings/company/istd/istd.typings.d.ts +91 -0
- package/build/typings/company/istd/istd.typings.js +35 -0
- package/build/typings/company/istd/istdItems.typings.d.ts +38 -0
- package/build/typings/company/istd/istdItems.typings.js +9 -0
- package/build/typings/company.typings.d.ts +5 -1
- package/build/typings/item.typings.d.ts +5 -2
- package/build/typings/item.typings.js +1 -0
- package/build/typings/storeLocation.typings.d.ts +7 -2
- package/build/typings/storeLocation.typings.js +2 -0
- package/build/typings/user.typings.d.ts +21 -2
- package/build/typings/user.typings.js +9 -0
- package/package.json +1 -1
|
@@ -23,4 +23,6 @@ var STATUSES;
|
|
|
23
23
|
STATUSES["REJECTED_BY_VENDOR"] = "REJECTED_BY_VENDOR";
|
|
24
24
|
STATUSES["PROCESSING"] = "PROCESSING";
|
|
25
25
|
STATUSES["PROCESSED"] = "PROCESSED";
|
|
26
|
+
STATUSES["REQUESTED"] = "REQUESTED";
|
|
27
|
+
STATUSES["TERMINATED"] = "TERMINATED";
|
|
26
28
|
})(STATUSES || (exports.STATUSES = STATUSES = {}));
|
package/build/index.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ export * from "./typings/companySepcificVendorItems.typings";
|
|
|
44
44
|
export * from "./typings/poAsnJunctionItems.typings";
|
|
45
45
|
export * from "./typings/contactPeople.typings";
|
|
46
46
|
export * from "./typings/companyItemVendorVersion.typings";
|
|
47
|
+
export * from "./typings/company/istd/istd.typings";
|
|
48
|
+
export * from "./typings/company/istd/istdItems.typings";
|
|
47
49
|
export * from "./constants/permission.constants";
|
|
48
50
|
export * from "./constants/entityTypes.constants";
|
|
49
51
|
export * from "./constants/statuses.constants";
|
package/build/index.js
CHANGED
|
@@ -61,6 +61,8 @@ __exportStar(require("./typings/companySepcificVendorItems.typings"), exports);
|
|
|
61
61
|
__exportStar(require("./typings/poAsnJunctionItems.typings"), exports);
|
|
62
62
|
__exportStar(require("./typings/contactPeople.typings"), exports);
|
|
63
63
|
__exportStar(require("./typings/companyItemVendorVersion.typings"), exports);
|
|
64
|
+
__exportStar(require("./typings/company/istd/istd.typings"), exports);
|
|
65
|
+
__exportStar(require("./typings/company/istd/istdItems.typings"), exports);
|
|
64
66
|
// Constants
|
|
65
67
|
__exportStar(require("./constants/permission.constants"), exports);
|
|
66
68
|
__exportStar(require("./constants/entityTypes.constants"), exports);
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { IPaginationFilters } from "../../common/paginationFilters.typings";
|
|
2
|
+
import { INestedCompany } from "../../company.typings";
|
|
3
|
+
import { INestedStoreLocation } from "../../storeLocation.typings";
|
|
4
|
+
import { INestedUser } from "../../user.typings";
|
|
5
|
+
import { INestedISTDItem } from "./istdItems.typings";
|
|
6
|
+
export declare enum ISTD_STATUS_FOR_SOURCE {
|
|
7
|
+
DRAFT = "DRAFT",
|
|
8
|
+
PENDING_APPROVAL = "PENDING APPROVAL",
|
|
9
|
+
APPROVED = "APPROVED",
|
|
10
|
+
REQUESTED = "REQUESTED",
|
|
11
|
+
PROCESSED = "PROCESSED",
|
|
12
|
+
TERMINATED = "TERMINATED"
|
|
13
|
+
}
|
|
14
|
+
export declare enum ISTD_STATUS_FOR_DEST {
|
|
15
|
+
REQUESTED = "REQUESTED",
|
|
16
|
+
PENDING_APPROVAL = "PENDING APPROVAL",
|
|
17
|
+
APPROVED = "APPROVED",
|
|
18
|
+
PROCESSED = "PROCESSED"
|
|
19
|
+
}
|
|
20
|
+
export declare enum ISTD_INCLUDE {
|
|
21
|
+
company = "company",
|
|
22
|
+
created_by = "created_by",
|
|
23
|
+
last_updated_by = "last_updated_by",
|
|
24
|
+
source_contact_person = "source_contact_person",
|
|
25
|
+
dest_contact_person = "dest_contact_person",
|
|
26
|
+
sent_for_source_approval_by = "sent_for_source_approval_by",
|
|
27
|
+
sent_for_dest_approval_by = "sent_for_dest_approval_by",
|
|
28
|
+
source_store_location = "source_store_location",
|
|
29
|
+
dest_store_location = "dest_store_location",
|
|
30
|
+
terminated_by = "terminated_by",
|
|
31
|
+
items = "items",
|
|
32
|
+
sent_to_dest_store_by = "sent_to_dest_store_by",
|
|
33
|
+
marked_as_processed_by = "marked_as_processed_by"
|
|
34
|
+
}
|
|
35
|
+
export interface IISTD {
|
|
36
|
+
id: string;
|
|
37
|
+
istd_code: string;
|
|
38
|
+
company_id: string;
|
|
39
|
+
source_contact_person_id: string | null;
|
|
40
|
+
dest_contact_person_id: string | null;
|
|
41
|
+
created_by_id: string;
|
|
42
|
+
last_updated_by_id: string;
|
|
43
|
+
required_by_date: string | null;
|
|
44
|
+
status_at_source: ISTD_STATUS_FOR_SOURCE;
|
|
45
|
+
status_at_dest: ISTD_STATUS_FOR_DEST | null;
|
|
46
|
+
source_store_location_id: string;
|
|
47
|
+
dest_store_location_id: string;
|
|
48
|
+
note: string | null;
|
|
49
|
+
attachment_link: string | null;
|
|
50
|
+
marked_as_processed_by_id: string | null;
|
|
51
|
+
marked_as_processed_by_at: Date | null;
|
|
52
|
+
termination_remark: string | null;
|
|
53
|
+
terminated_by_id: string | null;
|
|
54
|
+
terminated_at: string | null;
|
|
55
|
+
sent_for_source_approval_at: string | null;
|
|
56
|
+
sent_for_source_approval_by_id: string | null;
|
|
57
|
+
sent_for_dest_approval_at: string | null;
|
|
58
|
+
sent_for_dest_approval_by_id: string | null;
|
|
59
|
+
sent_to_dest_store_by_id: string | null;
|
|
60
|
+
sent_to_dest_store_at: string | null;
|
|
61
|
+
is_deleted: boolean;
|
|
62
|
+
deleted_at: string | null;
|
|
63
|
+
created_at: string;
|
|
64
|
+
updated_at: string;
|
|
65
|
+
items: INestedISTDItem[] | null;
|
|
66
|
+
company: INestedCompany | null;
|
|
67
|
+
created_by: INestedUser | null;
|
|
68
|
+
last_updated_by: INestedUser | null;
|
|
69
|
+
source_contact_person: INestedUser | null;
|
|
70
|
+
dest_contact_person: INestedUser | null;
|
|
71
|
+
sent_for_source_approval_by: INestedUser | null;
|
|
72
|
+
sent_for_dest_approval_by: INestedUser | null;
|
|
73
|
+
source_store_location: INestedStoreLocation | null;
|
|
74
|
+
dest_store_location: INestedStoreLocation | null;
|
|
75
|
+
terminated_by: INestedUser | null;
|
|
76
|
+
}
|
|
77
|
+
export interface INestedISTD extends Omit<IISTD, "items" | "company" | "created_by" | "last_updated_by" | "source_contact_person" | "dest_contact_person" | "sent_for_source_approval_by" | "sent_for_dest_approval_by" | "source_store_location" | "dest_store_location" | "terminated_by" | "sent_to_dest_store_by" | "marked_as_processed_by"> {
|
|
78
|
+
}
|
|
79
|
+
export interface IISTDFilter {
|
|
80
|
+
company_id?: string | null;
|
|
81
|
+
source_contact_person_id?: string | null;
|
|
82
|
+
dest_contact_person_id?: string | null;
|
|
83
|
+
created_by_id?: string | null;
|
|
84
|
+
last_updated_by_id?: string | null;
|
|
85
|
+
terminated_by_id?: string | null;
|
|
86
|
+
sent_to_dest_store_by?: string | null;
|
|
87
|
+
marked_as_processed_by?: string | null;
|
|
88
|
+
is_deleted?: boolean | null;
|
|
89
|
+
}
|
|
90
|
+
export interface IISTDFiltersWithPagination extends IISTDFilter, IPaginationFilters {
|
|
91
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ISTD_INCLUDE = exports.ISTD_STATUS_FOR_DEST = exports.ISTD_STATUS_FOR_SOURCE = void 0;
|
|
4
|
+
var ISTD_STATUS_FOR_SOURCE;
|
|
5
|
+
(function (ISTD_STATUS_FOR_SOURCE) {
|
|
6
|
+
ISTD_STATUS_FOR_SOURCE["DRAFT"] = "DRAFT";
|
|
7
|
+
ISTD_STATUS_FOR_SOURCE["PENDING_APPROVAL"] = "PENDING APPROVAL";
|
|
8
|
+
ISTD_STATUS_FOR_SOURCE["APPROVED"] = "APPROVED";
|
|
9
|
+
ISTD_STATUS_FOR_SOURCE["REQUESTED"] = "REQUESTED";
|
|
10
|
+
ISTD_STATUS_FOR_SOURCE["PROCESSED"] = "PROCESSED";
|
|
11
|
+
ISTD_STATUS_FOR_SOURCE["TERMINATED"] = "TERMINATED";
|
|
12
|
+
})(ISTD_STATUS_FOR_SOURCE || (exports.ISTD_STATUS_FOR_SOURCE = ISTD_STATUS_FOR_SOURCE = {}));
|
|
13
|
+
var ISTD_STATUS_FOR_DEST;
|
|
14
|
+
(function (ISTD_STATUS_FOR_DEST) {
|
|
15
|
+
ISTD_STATUS_FOR_DEST["REQUESTED"] = "REQUESTED";
|
|
16
|
+
ISTD_STATUS_FOR_DEST["PENDING_APPROVAL"] = "PENDING APPROVAL";
|
|
17
|
+
ISTD_STATUS_FOR_DEST["APPROVED"] = "APPROVED";
|
|
18
|
+
ISTD_STATUS_FOR_DEST["PROCESSED"] = "PROCESSED";
|
|
19
|
+
})(ISTD_STATUS_FOR_DEST || (exports.ISTD_STATUS_FOR_DEST = ISTD_STATUS_FOR_DEST = {}));
|
|
20
|
+
var ISTD_INCLUDE;
|
|
21
|
+
(function (ISTD_INCLUDE) {
|
|
22
|
+
ISTD_INCLUDE["company"] = "company";
|
|
23
|
+
ISTD_INCLUDE["created_by"] = "created_by";
|
|
24
|
+
ISTD_INCLUDE["last_updated_by"] = "last_updated_by";
|
|
25
|
+
ISTD_INCLUDE["source_contact_person"] = "source_contact_person";
|
|
26
|
+
ISTD_INCLUDE["dest_contact_person"] = "dest_contact_person";
|
|
27
|
+
ISTD_INCLUDE["sent_for_source_approval_by"] = "sent_for_source_approval_by";
|
|
28
|
+
ISTD_INCLUDE["sent_for_dest_approval_by"] = "sent_for_dest_approval_by";
|
|
29
|
+
ISTD_INCLUDE["source_store_location"] = "source_store_location";
|
|
30
|
+
ISTD_INCLUDE["dest_store_location"] = "dest_store_location";
|
|
31
|
+
ISTD_INCLUDE["terminated_by"] = "terminated_by";
|
|
32
|
+
ISTD_INCLUDE["items"] = "items";
|
|
33
|
+
ISTD_INCLUDE["sent_to_dest_store_by"] = "sent_to_dest_store_by";
|
|
34
|
+
ISTD_INCLUDE["marked_as_processed_by"] = "marked_as_processed_by";
|
|
35
|
+
})(ISTD_INCLUDE || (exports.ISTD_INCLUDE = ISTD_INCLUDE = {}));
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IPaginationFilters } from "../../common/paginationFilters.typings";
|
|
2
|
+
import { INestedCompany } from "../../company.typings";
|
|
3
|
+
import { INestedItem } from "../../item.typings";
|
|
4
|
+
import { INestedISTD } from "./istd.typings";
|
|
5
|
+
export declare enum ISTD_ITEM_INCLUDE {
|
|
6
|
+
company = "company",
|
|
7
|
+
parent_istd = "parent_istd",
|
|
8
|
+
item = "item"
|
|
9
|
+
}
|
|
10
|
+
export interface IISTDItem {
|
|
11
|
+
id: string;
|
|
12
|
+
company_id: string;
|
|
13
|
+
parent_istd_id: string;
|
|
14
|
+
item_id: string;
|
|
15
|
+
item_name: string;
|
|
16
|
+
code_sku: string;
|
|
17
|
+
uom: string;
|
|
18
|
+
requested_quantity: number;
|
|
19
|
+
accepted_quantity: number | null;
|
|
20
|
+
item_description: string | null;
|
|
21
|
+
is_deleted: boolean;
|
|
22
|
+
deleted_at: string | null;
|
|
23
|
+
created_at: string;
|
|
24
|
+
updated_at: string;
|
|
25
|
+
company: INestedCompany | null;
|
|
26
|
+
parent_istd: INestedISTD | null;
|
|
27
|
+
item: INestedItem | null;
|
|
28
|
+
}
|
|
29
|
+
export interface INestedISTDItem extends Omit<IISTDItem, "company" | "parent_istd" | "item"> {
|
|
30
|
+
}
|
|
31
|
+
export interface IISTDItemFilters {
|
|
32
|
+
company_id?: string | null;
|
|
33
|
+
item_id?: string | null;
|
|
34
|
+
parent_istd_id?: string | null;
|
|
35
|
+
is_deleted?: boolean | null;
|
|
36
|
+
}
|
|
37
|
+
export interface IISTDItemFiltersWIthPagination extends IISTDItemFilters, IPaginationFilters {
|
|
38
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ISTD_ITEM_INCLUDE = void 0;
|
|
4
|
+
var ISTD_ITEM_INCLUDE;
|
|
5
|
+
(function (ISTD_ITEM_INCLUDE) {
|
|
6
|
+
ISTD_ITEM_INCLUDE["company"] = "company";
|
|
7
|
+
ISTD_ITEM_INCLUDE["parent_istd"] = "parent_istd";
|
|
8
|
+
ISTD_ITEM_INCLUDE["item"] = "item";
|
|
9
|
+
})(ISTD_ITEM_INCLUDE || (exports.ISTD_ITEM_INCLUDE = ISTD_ITEM_INCLUDE = {}));
|
|
@@ -33,6 +33,8 @@ import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
|
33
33
|
import { INestedPOASNItemJunction } from "./poAsnJunctionItems.typings";
|
|
34
34
|
import { INestedContactPeople } from "./contactPeople.typings";
|
|
35
35
|
import { INestedCompanyItemVendorVersion } from "./companyItemVendorVersion.typings";
|
|
36
|
+
import { INestedISTD } from "./company/istd/istd.typings";
|
|
37
|
+
import { INestedISTDItem } from "./company/istd/istdItems.typings";
|
|
36
38
|
export declare enum PRICING_PLANS {
|
|
37
39
|
BASIC = "BASIC",
|
|
38
40
|
GROWTH = "GROWTH",
|
|
@@ -158,6 +160,8 @@ export interface ICompany extends IAddress {
|
|
|
158
160
|
company_item_vendor_versions: INestedCompanyItemVendorVersion[] | null;
|
|
159
161
|
item_manager_user: INestedUser | null;
|
|
160
162
|
vendor_manager_user: INestedUser | null;
|
|
163
|
+
istds: INestedISTD[] | null;
|
|
164
|
+
istd_items: INestedISTDItem[] | null;
|
|
161
165
|
}
|
|
162
|
-
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" | "company_proxy" | "extra_questions" | "extra_question_ans" | "extra_core_related_questions" | "company_specific_vendor_items" | "po_asn_items_junction" | "company_contact_people" | "company_item_vendor_versions" | "item_manager_user" | "vendor_manager_user"> {
|
|
166
|
+
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" | "company_proxy" | "extra_questions" | "extra_question_ans" | "extra_core_related_questions" | "company_specific_vendor_items" | "po_asn_items_junction" | "company_contact_people" | "company_item_vendor_versions" | "item_manager_user" | "vendor_manager_user" | "istds" | "istd_items"> {
|
|
163
167
|
}
|
|
@@ -16,6 +16,7 @@ import { INestedQuoteItems } from "./quote.typings";
|
|
|
16
16
|
import { INestedInventoryItem } from "./storeInventory.typings";
|
|
17
17
|
import { INestedUser } from "./user.typings";
|
|
18
18
|
import { IPaginationFilters } from "./common/paginationFilters.typings";
|
|
19
|
+
import { INestedISTDItem } from "./company/istd/istdItems.typings";
|
|
19
20
|
export interface IItemFilters {
|
|
20
21
|
name?: string;
|
|
21
22
|
company_id?: string;
|
|
@@ -53,7 +54,8 @@ export declare enum ITEM_INCLUDE {
|
|
|
53
54
|
used_in_po_asn_item_junction = "used_in_po_asn_item_junction",
|
|
54
55
|
vendor_item_versions = "vendor_item_versions",
|
|
55
56
|
last_updated_by = "last_updated_by",
|
|
56
|
-
approval_chain = "approval_chain"
|
|
57
|
+
approval_chain = "approval_chain",
|
|
58
|
+
used_in_istd_items = "used_in_istd_items"
|
|
57
59
|
}
|
|
58
60
|
export interface IItem {
|
|
59
61
|
id: string;
|
|
@@ -124,8 +126,9 @@ export interface IItem {
|
|
|
124
126
|
vendor_item_versions: INestedCompanyItemVendorVersion[] | null;
|
|
125
127
|
approval_chain: INestedRootEntityApprovalChainEntry[] | null;
|
|
126
128
|
last_updated_by: INestedUser | null;
|
|
129
|
+
used_in_istd_items: INestedISTDItem[] | null;
|
|
127
130
|
}
|
|
128
|
-
export interface INestedItem extends Omit<IItem, "inventory_entries" | "approved_by" | "item_category" | "item_subcategory" | "company" | "used_in_indent_items" | "used_in_mi_items" | "used_in_pr_items" | "used_in_quote_items" | "used_in_grn_items" | "used_in_mrn_items" | "used_in_bom_items" | "used_in_comparative_items" | "previous_purchase_vendor" | "least_purchase_vendor" | "dealing_company_vendors" | "used_in_po_asn_item_junction" | "vendor_item_versions"> {
|
|
131
|
+
export interface INestedItem extends Omit<IItem, "inventory_entries" | "approved_by" | "item_category" | "item_subcategory" | "company" | "used_in_indent_items" | "used_in_mi_items" | "used_in_pr_items" | "used_in_quote_items" | "used_in_grn_items" | "used_in_mrn_items" | "used_in_bom_items" | "used_in_comparative_items" | "previous_purchase_vendor" | "least_purchase_vendor" | "dealing_company_vendors" | "used_in_po_asn_item_junction" | "vendor_item_versions" | "used_in_istd_items"> {
|
|
129
132
|
}
|
|
130
133
|
export declare const ITEM_CLASSIFICATION: {
|
|
131
134
|
DIRECT: string;
|
|
@@ -31,6 +31,7 @@ var ITEM_INCLUDE;
|
|
|
31
31
|
ITEM_INCLUDE["vendor_item_versions"] = "vendor_item_versions";
|
|
32
32
|
ITEM_INCLUDE["last_updated_by"] = "last_updated_by";
|
|
33
33
|
ITEM_INCLUDE["approval_chain"] = "approval_chain";
|
|
34
|
+
ITEM_INCLUDE["used_in_istd_items"] = "used_in_istd_items";
|
|
34
35
|
})(ITEM_INCLUDE || (exports.ITEM_INCLUDE = ITEM_INCLUDE = {}));
|
|
35
36
|
exports.ITEM_CLASSIFICATION = {
|
|
36
37
|
DIRECT: "Direct",
|
|
@@ -17,6 +17,7 @@ import { INestedRole } from "./roles.typings";
|
|
|
17
17
|
import { INestedInventoryItem } from "./storeInventory.typings";
|
|
18
18
|
import { INestedUser } from "./user.typings";
|
|
19
19
|
import { IAddress } from "./common/address.typings";
|
|
20
|
+
import { INestedISTD } from "./company/istd/istd.typings";
|
|
20
21
|
export interface IStoreLocationFilters {
|
|
21
22
|
name?: string;
|
|
22
23
|
company_id?: string;
|
|
@@ -55,8 +56,10 @@ export interface IStoreLocation extends IAddress {
|
|
|
55
56
|
as_shipping_location_for_pos?: null | INestedPo[];
|
|
56
57
|
as_shipping_location_for_grns?: null | INestedGRN[];
|
|
57
58
|
as_shipping_location_for_asns?: null | INestedASN[];
|
|
59
|
+
as_source_store_location_for_istds?: INestedISTD[] | null;
|
|
60
|
+
as_dest_store_location_for_istds?: INestedISTD[] | null;
|
|
58
61
|
}
|
|
59
|
-
export interface INestedStoreLocation extends Omit<IStoreLocation, "company" | "store_incharge" | "approval_configs" | "inventory_entries" | "departments" | "roles" | "indents" | "mis" | "mrns" | "as_shipping_location_for_rfqs" | "as_shipping_location_for_quotes" | "target_offices" | "served_by_gates" | "served_by_purchase_locations" | "as_shipping_location_for_pos" | "as_shipping_location_for_grns" | "as_shipping_location_for_asns"> {
|
|
62
|
+
export interface INestedStoreLocation extends Omit<IStoreLocation, "company" | "store_incharge" | "approval_configs" | "inventory_entries" | "departments" | "roles" | "indents" | "mis" | "mrns" | "as_shipping_location_for_rfqs" | "as_shipping_location_for_quotes" | "target_offices" | "served_by_gates" | "served_by_purchase_locations" | "as_shipping_location_for_pos" | "as_shipping_location_for_grns" | "as_shipping_location_for_asns" | "as_source_store_location_for_istds" | "as_dest_store_location_for_istds"> {
|
|
60
63
|
}
|
|
61
64
|
export declare enum StoreLocationInclude {
|
|
62
65
|
company = "company",
|
|
@@ -75,5 +78,7 @@ export declare enum StoreLocationInclude {
|
|
|
75
78
|
served_by_purchase_locations = "served_by_purchase_locations",
|
|
76
79
|
as_shipping_location_for_pos = "as_shipping_location_for_pos",
|
|
77
80
|
as_shipping_location_for_grns = "as_shipping_location_for_grns",
|
|
78
|
-
as_shipping_location_for_asns = "as_shipping_location_for_asns"
|
|
81
|
+
as_shipping_location_for_asns = "as_shipping_location_for_asns",
|
|
82
|
+
as_source_store_location_for_istds = "as_source_store_location_for_istds",
|
|
83
|
+
as_dest_store_location_for_istds = "as_dest_store_location_for_istds"
|
|
79
84
|
}
|
|
@@ -20,4 +20,6 @@ var StoreLocationInclude;
|
|
|
20
20
|
StoreLocationInclude["as_shipping_location_for_pos"] = "as_shipping_location_for_pos";
|
|
21
21
|
StoreLocationInclude["as_shipping_location_for_grns"] = "as_shipping_location_for_grns";
|
|
22
22
|
StoreLocationInclude["as_shipping_location_for_asns"] = "as_shipping_location_for_asns";
|
|
23
|
+
StoreLocationInclude["as_source_store_location_for_istds"] = "as_source_store_location_for_istds";
|
|
24
|
+
StoreLocationInclude["as_dest_store_location_for_istds"] = "as_dest_store_location_for_istds";
|
|
23
25
|
})(StoreLocationInclude || (exports.StoreLocationInclude = StoreLocationInclude = {}));
|
|
@@ -30,6 +30,7 @@ import { INestedCompanyItemVendorVersion } from "./companyItemVendorVersion.typi
|
|
|
30
30
|
import { INestedRootEntityApprovalConfig } from "./company/rootEntityApproval/rootEntityApprovalConfig.typings";
|
|
31
31
|
import { INestedRootEntityApprovalChainEntry } from "./company/rootEntityApproval/rootEntityApprovalEntries.typings";
|
|
32
32
|
import { INestedRootEntityApprovalChain } from "./company/rootEntityApproval/rootEntityApprovalChain.typings";
|
|
33
|
+
import { INestedISTD } from "./company/istd/istd.typings";
|
|
33
34
|
export interface IUser {
|
|
34
35
|
id: string;
|
|
35
36
|
is_enabled?: boolean | null;
|
|
@@ -111,8 +112,17 @@ export interface IUser {
|
|
|
111
112
|
last_updated_root_entity_approval_chain: INestedRootEntityApprovalChain[] | null;
|
|
112
113
|
items_last_updated_by_user: INestedItem[] | null;
|
|
113
114
|
copmany_vendors_last_updated_by_user: INestedCompanyVendors[] | null;
|
|
115
|
+
created_istds: INestedISTD[] | null;
|
|
116
|
+
last_updated_istds: INestedISTD[] | null;
|
|
117
|
+
source_contact_person_for_istd: INestedISTD[] | null;
|
|
118
|
+
dest_contact_person_for_istd: INestedISTD[] | null;
|
|
119
|
+
istds_sent_for_source_approval: INestedISTD[] | null;
|
|
120
|
+
istds_sent_for_dest_approval: INestedISTD[] | null;
|
|
121
|
+
istds_sent_for_dest_store: INestedISTD[] | null;
|
|
122
|
+
istds_marked_as_processed: INestedISTD[] | null;
|
|
123
|
+
istds_terminated: INestedISTD[] | null;
|
|
114
124
|
}
|
|
115
|
-
export interface INestedUser extends Omit<IUser, "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" | "as_contact_person_for_grns" | "as_contact_person_for_mrns" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "pr_sent_for_approval" | "last_updated_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications" | "approved_company_vendors" | "created_extra_quesstions" | "updated_extra_quesstions" | "answered_questions" | "created_extra_core_question_for_companies" | "updated_extra_core_question_for_companies" | "created_contact_people" | "updated_contact_people" | "last_updated_company_item_vendor_version" | "as_item_approver_for_company" | "as_vendor_approver_for_company" | "last_updated_root_entity_approval_config" | "as_part_of_root_entity_approval_chain_entries" | "as_part_of_root_entity_approval_chain" | "last_updated_root_entity_approval_chain" | "items_last_updated_by_user" | "copmany_vendors_last_updated_by_user"> {
|
|
125
|
+
export interface INestedUser extends Omit<IUser, "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" | "as_contact_person_for_grns" | "as_contact_person_for_mrns" | "owned_companies" | "head_for_departments" | "approved_items" | "approval_chains" | "created_indents" | "created_mis" | "created_prs" | "pr_sent_for_approval" | "last_updated_prs" | "created_rfqs" | "entity_approval_chains" | "rfqs_sent_for_approval" | "rfqs_sent_to_vendors" | "created_rfq_items" | "assigned_roles" | "negotiations" | "created_pos" | "as_contact_person_for_pos" | "pos_sent_for_approval" | "pos_sent_to_vendors" | "grns_sent_for_approval" | "grns_sent_to_store" | "mrns_sent_for_approval" | "created_boms" | "last_updated_boms" | "created_vendor_groups" | "last_updated_vendor_groups" | "comparatives_sent_for_approval" | "user_notifications" | "approved_company_vendors" | "created_extra_quesstions" | "updated_extra_quesstions" | "answered_questions" | "created_extra_core_question_for_companies" | "updated_extra_core_question_for_companies" | "created_contact_people" | "updated_contact_people" | "last_updated_company_item_vendor_version" | "as_item_approver_for_company" | "as_vendor_approver_for_company" | "last_updated_root_entity_approval_config" | "as_part_of_root_entity_approval_chain_entries" | "as_part_of_root_entity_approval_chain" | "last_updated_root_entity_approval_chain" | "items_last_updated_by_user" | "copmany_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"> {
|
|
116
126
|
}
|
|
117
127
|
export declare enum UserInclude {
|
|
118
128
|
as_incharge_in_purchase_locations = "as_incharge_in_purchase_locations",
|
|
@@ -162,7 +172,16 @@ export declare enum UserInclude {
|
|
|
162
172
|
as_part_of_root_entity_approval_chain = "as_part_of_root_entity_approval_chain",
|
|
163
173
|
last_updated_root_entity_approval_chain = "last_updated_root_entity_approval_chain",
|
|
164
174
|
items_last_updated_by_user = "items_last_updated_by_user",
|
|
165
|
-
copmany_vendors_last_updated_by_user = "copmany_vendors_last_updated_by_user"
|
|
175
|
+
copmany_vendors_last_updated_by_user = "copmany_vendors_last_updated_by_user",
|
|
176
|
+
created_istds = "created_istds",
|
|
177
|
+
last_updated_istds = "last_updated_istds",
|
|
178
|
+
source_contact_person_for_istd = "source_contact_person_for_istd",
|
|
179
|
+
dest_contact_person_for_istd = "dest_contact_person_for_istd",
|
|
180
|
+
istds_sent_for_source_approval = "istds_sent_for_source_approval",
|
|
181
|
+
istds_sent_for_dest_approval = "istds_sent_for_dest_approval",
|
|
182
|
+
istds_sent_for_dest_store = "istds_sent_for_dest_store",
|
|
183
|
+
istds_marked_as_processed = "istds_marked_as_processed",
|
|
184
|
+
istds_terminated = "istds_terminated"
|
|
166
185
|
}
|
|
167
186
|
export interface IUserFilters {
|
|
168
187
|
name?: string;
|
|
@@ -54,4 +54,13 @@ var UserInclude;
|
|
|
54
54
|
UserInclude["last_updated_root_entity_approval_chain"] = "last_updated_root_entity_approval_chain";
|
|
55
55
|
UserInclude["items_last_updated_by_user"] = "items_last_updated_by_user";
|
|
56
56
|
UserInclude["copmany_vendors_last_updated_by_user"] = "copmany_vendors_last_updated_by_user";
|
|
57
|
+
UserInclude["created_istds"] = "created_istds";
|
|
58
|
+
UserInclude["last_updated_istds"] = "last_updated_istds";
|
|
59
|
+
UserInclude["source_contact_person_for_istd"] = "source_contact_person_for_istd";
|
|
60
|
+
UserInclude["dest_contact_person_for_istd"] = "dest_contact_person_for_istd";
|
|
61
|
+
UserInclude["istds_sent_for_source_approval"] = "istds_sent_for_source_approval";
|
|
62
|
+
UserInclude["istds_sent_for_dest_approval"] = "istds_sent_for_dest_approval";
|
|
63
|
+
UserInclude["istds_sent_for_dest_store"] = "istds_sent_for_dest_store";
|
|
64
|
+
UserInclude["istds_marked_as_processed"] = "istds_marked_as_processed";
|
|
65
|
+
UserInclude["istds_terminated"] = "istds_terminated";
|
|
57
66
|
})(UserInclude || (exports.UserInclude = UserInclude = {}));
|