kcommons 5.9.4 → 5.9.6
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.
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { INestedApprovalChainEntry } from "./approvalChain.typings";
|
|
2
|
+
import { INestedCompany } from "./company.typings";
|
|
3
|
+
import { INestedDepartment } from "./department.typings";
|
|
2
4
|
import { IDocItem } from "./docItems.typings";
|
|
5
|
+
import { INestedMI } from "./mi.typings";
|
|
6
|
+
import { INestedPR } from "./pr.typings";
|
|
7
|
+
import { INestedStoreLocation } from "./storeLocation.typings";
|
|
8
|
+
import { INestedUser } from "./user.typings";
|
|
3
9
|
export interface IIndent {
|
|
4
10
|
id: string;
|
|
5
11
|
company_id: string;
|
|
@@ -21,6 +27,12 @@ export interface IIndent {
|
|
|
21
27
|
created_at: Date;
|
|
22
28
|
updated_at: Date;
|
|
23
29
|
items?: INestedIndentItem[] | null;
|
|
30
|
+
department?: INestedDepartment | null;
|
|
31
|
+
company?: INestedCompany | null;
|
|
32
|
+
created_by_user?: INestedUser | null;
|
|
33
|
+
target_store_location?: INestedStoreLocation | null;
|
|
34
|
+
corresponding_mis?: INestedMI[] | null;
|
|
35
|
+
prs?: INestedPR[] | null;
|
|
24
36
|
approval_chain?: INestedApprovalChainEntry[] | null;
|
|
25
37
|
}
|
|
26
38
|
export interface INestedIndent extends Omit<IIndent, "department" | "company" | "budget_code" | "created_by_user" | "target_store_location" | "items" | "approval_chain" | "corresponding_mis" | "prs"> {
|
|
@@ -39,6 +51,12 @@ export declare const INDENT_PRIORITY_TYPES: {
|
|
|
39
51
|
};
|
|
40
52
|
export declare enum IndentInclude {
|
|
41
53
|
items = "items",
|
|
54
|
+
department = "department",
|
|
55
|
+
company = "company",
|
|
56
|
+
created_by_user = "created_by_user",
|
|
57
|
+
target_store_location = "target_store_location",
|
|
58
|
+
corresponding_mis = "corresponding_mis",
|
|
59
|
+
prs = "prs",
|
|
42
60
|
approval_chain = "approval_chain"
|
|
43
61
|
}
|
|
44
62
|
export interface IIndentItem extends IDocItem {
|
|
@@ -17,5 +17,11 @@ exports.INDENT_PRIORITY_TYPES = {
|
|
|
17
17
|
var IndentInclude;
|
|
18
18
|
(function (IndentInclude) {
|
|
19
19
|
IndentInclude["items"] = "items";
|
|
20
|
+
IndentInclude["department"] = "department";
|
|
21
|
+
IndentInclude["company"] = "company";
|
|
22
|
+
IndentInclude["created_by_user"] = "created_by_user";
|
|
23
|
+
IndentInclude["target_store_location"] = "target_store_location";
|
|
24
|
+
IndentInclude["corresponding_mis"] = "corresponding_mis";
|
|
25
|
+
IndentInclude["prs"] = "prs";
|
|
20
26
|
IndentInclude["approval_chain"] = "approval_chain";
|
|
21
27
|
})(IndentInclude || (exports.IndentInclude = IndentInclude = {}));
|
|
@@ -12,9 +12,10 @@ export interface IOffice extends IAddress {
|
|
|
12
12
|
office_code: string;
|
|
13
13
|
company_id: string;
|
|
14
14
|
created_by_id: string;
|
|
15
|
+
office_incharge_id: string | null;
|
|
15
16
|
is_deleted: boolean;
|
|
16
17
|
is_enabled: boolean;
|
|
17
|
-
primary_contact_person_id
|
|
18
|
+
primary_contact_person_id: string | null;
|
|
18
19
|
deleted_at?: string;
|
|
19
20
|
created_at: string;
|
|
20
21
|
updated_at: string;
|