@platform-modules/foreign-ministry 1.3.315 → 1.3.316
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.
|
@@ -69,8 +69,9 @@ __decorate([
|
|
|
69
69
|
__metadata("design:type", Object)
|
|
70
70
|
], SlaRequest.prototype, "request_obj", void 0);
|
|
71
71
|
exports.SlaRequest = SlaRequest = __decorate([
|
|
72
|
-
(0, typeorm_1.Entity)({ name: "sla_requests" })
|
|
73
|
-
|
|
72
|
+
(0, typeorm_1.Entity)({ name: "sla_requests" })
|
|
73
|
+
// @Index("uq_sla_requests_request_id", ["request_id"])
|
|
74
|
+
,
|
|
74
75
|
(0, typeorm_1.Index)("idx_sla_requests_user_id", ["user_id"]),
|
|
75
76
|
(0, typeorm_1.Index)("idx_sla_requests_service_subservice", ["service_id", "sub_service_id"]),
|
|
76
77
|
(0, typeorm_1.Index)("idx_sla_requests_workflow_execution_id", ["workflow_execution_id"]),
|
package/package.json
CHANGED
|
@@ -5,107 +5,58 @@ import { BaseModel } from "./BaseModel";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
@Entity({ name: "sla_approval" })
|
|
8
|
-
|
|
9
8
|
@Index("idx_sla_approval_request_id", ["request_id"])
|
|
10
|
-
|
|
11
9
|
@Index("idx_sla_approval_source_approval_id", ["source_approval_id"])
|
|
12
|
-
|
|
13
10
|
@Index("idx_sla_approval_service_subservice", ["service_id", "sub_service_id"])
|
|
14
|
-
|
|
15
11
|
@Index("idx_sla_approval_approval_status", ["approval_status"])
|
|
16
|
-
|
|
17
12
|
@Index("idx_sla_approval_level", ["level"])
|
|
18
|
-
|
|
19
13
|
@Index("idx_sla_approval_approver_user_id", ["approver_user_id"])
|
|
20
|
-
|
|
21
14
|
@Index("idx_sla_approval_delegate_user_id", ["delegate_user_id"])
|
|
22
|
-
|
|
23
15
|
@Index("idx_sla_approval_request_level", ["request_id", "level"])
|
|
24
|
-
|
|
25
16
|
@Index("idx_sla_approval_svc_sub_status", ["service_id", "sub_service_id", "approval_status"])
|
|
26
17
|
|
|
27
18
|
export class ServiceSlaApproval extends BaseModel {
|
|
28
19
|
|
|
29
20
|
@Column({ type: "int" })
|
|
30
|
-
|
|
31
21
|
request_id: number;
|
|
32
22
|
|
|
33
|
-
|
|
34
|
-
|
|
35
23
|
@Column({ type: "int" })
|
|
36
|
-
|
|
37
24
|
source_approval_id: number;
|
|
38
25
|
|
|
39
|
-
|
|
40
|
-
|
|
41
26
|
@Column({ type: "int", nullable: true })
|
|
42
|
-
|
|
43
27
|
service_id: number | null;
|
|
44
28
|
|
|
45
|
-
|
|
46
|
-
|
|
47
29
|
@Column({ type: "int", nullable: true })
|
|
48
|
-
|
|
49
30
|
sub_service_id: number | null;
|
|
50
31
|
|
|
51
|
-
|
|
52
|
-
|
|
53
32
|
@Column({ type: "varchar", length: 64 })
|
|
54
|
-
|
|
55
33
|
approval_status: string;
|
|
56
34
|
|
|
57
|
-
|
|
58
|
-
|
|
59
35
|
@Column({ type: "int" })
|
|
60
|
-
|
|
61
36
|
level: number;
|
|
62
37
|
|
|
63
|
-
|
|
64
|
-
|
|
65
38
|
@Column({ type: "int", nullable: true })
|
|
66
|
-
|
|
67
39
|
approver_role_id: number | null;
|
|
68
40
|
|
|
69
|
-
|
|
70
|
-
|
|
71
41
|
@Column({ type: "int", nullable: true })
|
|
72
|
-
|
|
73
42
|
department_id: number | null;
|
|
74
43
|
|
|
75
|
-
|
|
76
|
-
|
|
77
44
|
@Column({ type: "int", nullable: true })
|
|
78
|
-
|
|
79
45
|
section_id: number | null;
|
|
80
46
|
|
|
81
|
-
|
|
82
|
-
|
|
83
47
|
@Column({ type: "int", nullable: true })
|
|
84
|
-
|
|
85
48
|
approver_user_id: number | null;
|
|
86
49
|
|
|
87
|
-
|
|
88
|
-
|
|
89
50
|
@Column({ type: "int", nullable: true })
|
|
90
|
-
|
|
91
51
|
delegate_user_id: number | null;
|
|
92
52
|
|
|
93
|
-
|
|
94
|
-
|
|
95
53
|
@Column({ type: "int", nullable: true })
|
|
96
|
-
|
|
97
54
|
approved_by: number | null;
|
|
98
55
|
|
|
99
|
-
|
|
100
|
-
|
|
101
56
|
@Column({ type: "varchar", length: 500, nullable: true, default: "" })
|
|
102
|
-
|
|
103
57
|
comment: string;
|
|
104
58
|
|
|
105
|
-
|
|
106
|
-
|
|
107
59
|
@Column({ type: "boolean", default: true, nullable: false })
|
|
108
|
-
|
|
109
60
|
is_allowed: boolean;
|
|
110
61
|
|
|
111
62
|
}
|