kcommons 9.0.0 → 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/typings/company/istd/istd.typings.d.ts +2 -2
- 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
|
@@ -32,7 +32,7 @@ export declare enum ISTD_INCLUDE {
|
|
|
32
32
|
sent_to_dest_store_by = "sent_to_dest_store_by",
|
|
33
33
|
marked_as_processed_by = "marked_as_processed_by"
|
|
34
34
|
}
|
|
35
|
-
export interface
|
|
35
|
+
export interface IISTD {
|
|
36
36
|
id: string;
|
|
37
37
|
istd_code: string;
|
|
38
38
|
company_id: string;
|
|
@@ -74,7 +74,7 @@ export interface ISTD {
|
|
|
74
74
|
dest_store_location: INestedStoreLocation | null;
|
|
75
75
|
terminated_by: INestedUser | null;
|
|
76
76
|
}
|
|
77
|
-
export interface INestedISTD extends Omit<
|
|
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
78
|
}
|
|
79
79
|
export interface IISTDFilter {
|
|
80
80
|
company_id?: string | null;
|
|
@@ -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 = {}));
|