@platform-modules/foreign-ministry 1.3.290 → 1.3.297
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/dist/data-source.js +50 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +77 -1
- package/dist/models/EmployeeOfMonthNominationApprovalModel.d.ts +22 -0
- package/dist/models/EmployeeOfMonthNominationApprovalModel.js +85 -0
- package/dist/models/EmployeeOfMonthNominationAttachmentModel.d.ts +10 -0
- package/dist/models/EmployeeOfMonthNominationAttachmentModel.js +48 -0
- package/dist/models/EmployeeOfMonthNominationChatModel.d.ts +18 -0
- package/dist/models/EmployeeOfMonthNominationChatModel.js +66 -0
- package/dist/models/EmployeeOfMonthNominationRequestModel.d.ts +32 -0
- package/dist/models/EmployeeOfMonthNominationRequestModel.js +77 -0
- package/dist/models/EmployeeOfMonthNominationWorkflowModel.d.ts +19 -0
- package/dist/models/EmployeeOfMonthNominationWorkflowModel.js +73 -0
- package/dist/models/EmployeeOfMonthSupportNominationApprovalModel.d.ts +22 -0
- package/dist/models/EmployeeOfMonthSupportNominationApprovalModel.js +85 -0
- package/dist/models/EmployeeOfMonthSupportNominationAttachmentModel.d.ts +10 -0
- package/dist/models/EmployeeOfMonthSupportNominationAttachmentModel.js +48 -0
- package/dist/models/EmployeeOfMonthSupportNominationChatModel.d.ts +18 -0
- package/dist/models/EmployeeOfMonthSupportNominationChatModel.js +66 -0
- package/dist/models/EmployeeOfMonthSupportNominationRequestModel.d.ts +27 -0
- package/dist/models/EmployeeOfMonthSupportNominationRequestModel.js +77 -0
- package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.d.ts +19 -0
- package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.js +73 -0
- package/dist/models/InitiatorEmployeeNominationApprovalModel.d.ts +22 -0
- package/dist/models/InitiatorEmployeeNominationApprovalModel.js +84 -0
- package/dist/models/InitiatorEmployeeNominationAttachmentModel.d.ts +11 -0
- package/dist/models/InitiatorEmployeeNominationAttachmentModel.js +52 -0
- package/dist/models/InitiatorEmployeeNominationChatModel.d.ts +18 -0
- package/dist/models/InitiatorEmployeeNominationChatModel.js +65 -0
- package/dist/models/InitiatorEmployeeNominationRequestModel.d.ts +51 -0
- package/dist/models/InitiatorEmployeeNominationRequestModel.js +95 -0
- package/dist/models/InitiatorEmployeeNominationWorkflowModel.d.ts +19 -0
- package/dist/models/InitiatorEmployeeNominationWorkflowModel.js +72 -0
- package/dist/models/InnovativeEmployeeNominationApprovalModel.d.ts +22 -0
- package/dist/models/InnovativeEmployeeNominationApprovalModel.js +84 -0
- package/dist/models/InnovativeEmployeeNominationAttachmentModel.d.ts +11 -0
- package/dist/models/InnovativeEmployeeNominationAttachmentModel.js +52 -0
- package/dist/models/InnovativeEmployeeNominationChatModel.d.ts +18 -0
- package/dist/models/InnovativeEmployeeNominationChatModel.js +65 -0
- package/dist/models/InnovativeEmployeeNominationRequestModel.d.ts +23 -0
- package/dist/models/InnovativeEmployeeNominationRequestModel.js +88 -0
- package/dist/models/InnovativeEmployeeNominationWorkflowModel.d.ts +19 -0
- package/dist/models/InnovativeEmployeeNominationWorkflowModel.js +72 -0
- package/dist/models/IpeGrievanceApprovalModel.d.ts +22 -0
- package/dist/models/IpeGrievanceApprovalModel.js +84 -0
- package/dist/models/IpeGrievanceAttachmentModel.d.ts +11 -0
- package/dist/models/IpeGrievanceAttachmentModel.js +52 -0
- package/dist/models/IpeGrievanceChatModel.d.ts +18 -0
- package/dist/models/IpeGrievanceChatModel.js +65 -0
- package/dist/models/IpeGrievanceRequestModel.d.ts +57 -0
- package/dist/models/IpeGrievanceRequestModel.js +178 -0
- package/dist/models/IpeGrievanceWorkflowModel.d.ts +19 -0
- package/dist/models/IpeGrievanceWorkflowModel.js +72 -0
- package/package.json +1 -1
- package/src/data-source.ts +50 -0
- package/src/index.ts +93 -0
- package/src/models/EmployeeOfMonthNominationApprovalModel.ts +57 -0
- package/src/models/EmployeeOfMonthNominationAttachmentModel.ts +26 -0
- package/src/models/EmployeeOfMonthNominationChatModel.ts +43 -0
- package/src/models/EmployeeOfMonthNominationRequestModel.ts +64 -0
- package/src/models/EmployeeOfMonthNominationWorkflowModel.ts +48 -0
- package/src/models/EmployeeOfMonthSupportNominationApprovalModel.ts +57 -0
- package/src/models/EmployeeOfMonthSupportNominationAttachmentModel.ts +26 -0
- package/src/models/EmployeeOfMonthSupportNominationChatModel.ts +43 -0
- package/src/models/EmployeeOfMonthSupportNominationRequestModel.ts +59 -0
- package/src/models/EmployeeOfMonthSupportNominationWorkflowModel.ts +48 -0
- package/src/models/InitiatorEmployeeNominationApprovalModel.ts +56 -0
- package/src/models/InitiatorEmployeeNominationAttachmentModel.ts +29 -0
- package/src/models/InitiatorEmployeeNominationChatModel.ts +42 -0
- package/src/models/InitiatorEmployeeNominationRequestModel.ts +74 -0
- package/src/models/InitiatorEmployeeNominationWorkflowModel.ts +47 -0
- package/src/models/InnovativeEmployeeNominationApprovalModel.ts +56 -0
- package/src/models/InnovativeEmployeeNominationAttachmentModel.ts +29 -0
- package/src/models/InnovativeEmployeeNominationChatModel.ts +42 -0
- package/src/models/InnovativeEmployeeNominationRequestModel.ts +59 -0
- package/src/models/InnovativeEmployeeNominationWorkflowModel.ts +47 -0
- package/src/models/IpeGrievanceApprovalModel.ts +56 -0
- package/src/models/IpeGrievanceAttachmentModel.ts +29 -0
- package/src/models/IpeGrievanceChatModel.ts +42 -0
- package/src/models/IpeGrievanceRequestModel.ts +139 -0
- package/src/models/IpeGrievanceWorkflowModel.ts +47 -0
- package/scripts/migration-employee-evaluation-approval-role-null.sql +0 -11
- package/scripts/migration-employee-evaluation-request-v2.sql +0 -63
- package/scripts/migration-evaluation-max-employees-per-request.sql +0 -2
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EmployeeOfMonthNominationWorkFlow = exports.EmployeeOfMonthNominationWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var EmployeeOfMonthNominationWorkFlowStatus;
|
|
16
|
+
(function (EmployeeOfMonthNominationWorkFlowStatus) {
|
|
17
|
+
EmployeeOfMonthNominationWorkFlowStatus["PENDING"] = "Pending";
|
|
18
|
+
EmployeeOfMonthNominationWorkFlowStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
EmployeeOfMonthNominationWorkFlowStatus["COMPLETED"] = "Completed";
|
|
20
|
+
EmployeeOfMonthNominationWorkFlowStatus["FAILED"] = "Failed";
|
|
21
|
+
})(EmployeeOfMonthNominationWorkFlowStatus || (exports.EmployeeOfMonthNominationWorkFlowStatus = EmployeeOfMonthNominationWorkFlowStatus = {}));
|
|
22
|
+
let EmployeeOfMonthNominationWorkFlow = class EmployeeOfMonthNominationWorkFlow extends BaseModel_1.BaseModel {
|
|
23
|
+
};
|
|
24
|
+
exports.EmployeeOfMonthNominationWorkFlow = EmployeeOfMonthNominationWorkFlow;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "request_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "sub_service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "user_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "role_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "department_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "section_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "task_name", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "description", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({
|
|
63
|
+
type: 'enum',
|
|
64
|
+
enum: EmployeeOfMonthNominationWorkFlowStatus,
|
|
65
|
+
enumName: 'eom_nomination_workflow_status_enum',
|
|
66
|
+
default: EmployeeOfMonthNominationWorkFlowStatus.PENDING,
|
|
67
|
+
nullable: false,
|
|
68
|
+
}),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "status", void 0);
|
|
71
|
+
exports.EmployeeOfMonthNominationWorkFlow = EmployeeOfMonthNominationWorkFlow = __decorate([
|
|
72
|
+
(0, typeorm_1.Entity)({ name: 'employee_of_month_nomination_workflows' })
|
|
73
|
+
], EmployeeOfMonthNominationWorkFlow);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum EmployeeOfMonthSupportNominationApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class EmployeeOfMonthSupportNominationApprovalDetails extends BaseModel {
|
|
9
|
+
request_id: number;
|
|
10
|
+
service_id: number | null;
|
|
11
|
+
sub_service_id: number | null;
|
|
12
|
+
level: number;
|
|
13
|
+
approver_role_id: number | null;
|
|
14
|
+
department_id: number | null;
|
|
15
|
+
section_id: number | null;
|
|
16
|
+
approver_user_id: number | null;
|
|
17
|
+
delegate_user_id: number | null;
|
|
18
|
+
approved_by: number | null;
|
|
19
|
+
comment: string;
|
|
20
|
+
approval_status: EmployeeOfMonthSupportNominationApprovalStatus;
|
|
21
|
+
is_allowed: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EmployeeOfMonthSupportNominationApprovalDetails = exports.EmployeeOfMonthSupportNominationApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var EmployeeOfMonthSupportNominationApprovalStatus;
|
|
16
|
+
(function (EmployeeOfMonthSupportNominationApprovalStatus) {
|
|
17
|
+
EmployeeOfMonthSupportNominationApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
EmployeeOfMonthSupportNominationApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
EmployeeOfMonthSupportNominationApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
EmployeeOfMonthSupportNominationApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(EmployeeOfMonthSupportNominationApprovalStatus || (exports.EmployeeOfMonthSupportNominationApprovalStatus = EmployeeOfMonthSupportNominationApprovalStatus = {}));
|
|
22
|
+
let EmployeeOfMonthSupportNominationApprovalDetails = class EmployeeOfMonthSupportNominationApprovalDetails extends BaseModel_1.BaseModel {
|
|
23
|
+
};
|
|
24
|
+
exports.EmployeeOfMonthSupportNominationApprovalDetails = EmployeeOfMonthSupportNominationApprovalDetails;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "request_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "sub_service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "level", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "approver_role_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "department_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "section_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "approver_user_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "delegate_user_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "approved_by", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true, default: '' }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "comment", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({
|
|
71
|
+
type: 'enum',
|
|
72
|
+
enum: EmployeeOfMonthSupportNominationApprovalStatus,
|
|
73
|
+
enumName: 'eom_support_nomination_approval_status_enum',
|
|
74
|
+
default: EmployeeOfMonthSupportNominationApprovalStatus.PENDING,
|
|
75
|
+
nullable: false,
|
|
76
|
+
}),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "approval_status", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
81
|
+
__metadata("design:type", Boolean)
|
|
82
|
+
], EmployeeOfMonthSupportNominationApprovalDetails.prototype, "is_allowed", void 0);
|
|
83
|
+
exports.EmployeeOfMonthSupportNominationApprovalDetails = EmployeeOfMonthSupportNominationApprovalDetails = __decorate([
|
|
84
|
+
(0, typeorm_1.Entity)({ name: 'employee_of_month_support_nomination_approvals' })
|
|
85
|
+
], EmployeeOfMonthSupportNominationApprovalDetails);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class EmployeeOfMonthSupportNominationRequestAttachment extends BaseModel {
|
|
3
|
+
request_id: number;
|
|
4
|
+
service_id: number | null;
|
|
5
|
+
sub_service_id: number | null;
|
|
6
|
+
file_url: string;
|
|
7
|
+
file_name: string | null;
|
|
8
|
+
file_type: string | null;
|
|
9
|
+
file_size: number | null;
|
|
10
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EmployeeOfMonthSupportNominationRequestAttachment = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let EmployeeOfMonthSupportNominationRequestAttachment = class EmployeeOfMonthSupportNominationRequestAttachment extends BaseModel_1.BaseModel {
|
|
16
|
+
};
|
|
17
|
+
exports.EmployeeOfMonthSupportNominationRequestAttachment = EmployeeOfMonthSupportNominationRequestAttachment;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], EmployeeOfMonthSupportNominationRequestAttachment.prototype, "request_id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], EmployeeOfMonthSupportNominationRequestAttachment.prototype, "service_id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], EmployeeOfMonthSupportNominationRequestAttachment.prototype, "sub_service_id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], EmployeeOfMonthSupportNominationRequestAttachment.prototype, "file_url", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], EmployeeOfMonthSupportNominationRequestAttachment.prototype, "file_name", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
40
|
+
__metadata("design:type", Object)
|
|
41
|
+
], EmployeeOfMonthSupportNominationRequestAttachment.prototype, "file_type", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'bigint', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], EmployeeOfMonthSupportNominationRequestAttachment.prototype, "file_size", void 0);
|
|
46
|
+
exports.EmployeeOfMonthSupportNominationRequestAttachment = EmployeeOfMonthSupportNominationRequestAttachment = __decorate([
|
|
47
|
+
(0, typeorm_1.Entity)({ name: 'employee_of_month_support_nomination_attachments' })
|
|
48
|
+
], EmployeeOfMonthSupportNominationRequestAttachment);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum EmployeeOfMonthSupportNominationMessageType {
|
|
3
|
+
TEXT = "text",
|
|
4
|
+
IMAGE = "image",
|
|
5
|
+
VIDEO = "video",
|
|
6
|
+
FILE = "file",
|
|
7
|
+
LINK = "link"
|
|
8
|
+
}
|
|
9
|
+
export declare class EmployeeOfMonthSupportNominationRequestChat extends BaseModel {
|
|
10
|
+
request_id: number;
|
|
11
|
+
service_id: number | null;
|
|
12
|
+
sub_service_id: number | null;
|
|
13
|
+
user_id: number;
|
|
14
|
+
role_id: number | null;
|
|
15
|
+
message: string;
|
|
16
|
+
message_type: EmployeeOfMonthSupportNominationMessageType;
|
|
17
|
+
status: string | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EmployeeOfMonthSupportNominationRequestChat = exports.EmployeeOfMonthSupportNominationMessageType = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var EmployeeOfMonthSupportNominationMessageType;
|
|
16
|
+
(function (EmployeeOfMonthSupportNominationMessageType) {
|
|
17
|
+
EmployeeOfMonthSupportNominationMessageType["TEXT"] = "text";
|
|
18
|
+
EmployeeOfMonthSupportNominationMessageType["IMAGE"] = "image";
|
|
19
|
+
EmployeeOfMonthSupportNominationMessageType["VIDEO"] = "video";
|
|
20
|
+
EmployeeOfMonthSupportNominationMessageType["FILE"] = "file";
|
|
21
|
+
EmployeeOfMonthSupportNominationMessageType["LINK"] = "link";
|
|
22
|
+
})(EmployeeOfMonthSupportNominationMessageType || (exports.EmployeeOfMonthSupportNominationMessageType = EmployeeOfMonthSupportNominationMessageType = {}));
|
|
23
|
+
let EmployeeOfMonthSupportNominationRequestChat = class EmployeeOfMonthSupportNominationRequestChat extends BaseModel_1.BaseModel {
|
|
24
|
+
};
|
|
25
|
+
exports.EmployeeOfMonthSupportNominationRequestChat = EmployeeOfMonthSupportNominationRequestChat;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], EmployeeOfMonthSupportNominationRequestChat.prototype, "request_id", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], EmployeeOfMonthSupportNominationRequestChat.prototype, "service_id", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], EmployeeOfMonthSupportNominationRequestChat.prototype, "sub_service_id", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], EmployeeOfMonthSupportNominationRequestChat.prototype, "user_id", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
44
|
+
__metadata("design:type", Object)
|
|
45
|
+
], EmployeeOfMonthSupportNominationRequestChat.prototype, "role_id", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: false }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], EmployeeOfMonthSupportNominationRequestChat.prototype, "message", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.Column)({
|
|
52
|
+
type: 'enum',
|
|
53
|
+
enum: EmployeeOfMonthSupportNominationMessageType,
|
|
54
|
+
enumName: 'eom_support_nomination_message_type_enum',
|
|
55
|
+
default: EmployeeOfMonthSupportNominationMessageType.TEXT,
|
|
56
|
+
nullable: false,
|
|
57
|
+
}),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], EmployeeOfMonthSupportNominationRequestChat.prototype, "message_type", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], EmployeeOfMonthSupportNominationRequestChat.prototype, "status", void 0);
|
|
64
|
+
exports.EmployeeOfMonthSupportNominationRequestChat = EmployeeOfMonthSupportNominationRequestChat = __decorate([
|
|
65
|
+
(0, typeorm_1.Entity)({ name: 'employee_of_month_support_nomination_chats' })
|
|
66
|
+
], EmployeeOfMonthSupportNominationRequestChat);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum EmployeeOfMonthSupportNominationRequestStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export type EomSupportNominationRatingScores = {
|
|
9
|
+
professional_ethics_teamwork: number;
|
|
10
|
+
additional_responsibilities_adaptability: number;
|
|
11
|
+
support_and_advice: number;
|
|
12
|
+
quality_efficiency_timeliness: number;
|
|
13
|
+
technical_skills: number;
|
|
14
|
+
};
|
|
15
|
+
export declare class EmployeeOfMonthSupportNominationRequests extends BaseModel {
|
|
16
|
+
req_user_department_id: number | null;
|
|
17
|
+
req_user_section_id: number | null;
|
|
18
|
+
service_id: number | null;
|
|
19
|
+
sub_service_id: number | null;
|
|
20
|
+
user_id: number;
|
|
21
|
+
job_number: string;
|
|
22
|
+
last_annual_assessment: string;
|
|
23
|
+
rating_scores: EomSupportNominationRatingScores;
|
|
24
|
+
status: EmployeeOfMonthSupportNominationRequestStatus;
|
|
25
|
+
workflow_execution_id: string | null;
|
|
26
|
+
comments: string | null;
|
|
27
|
+
}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EmployeeOfMonthSupportNominationRequests = exports.EmployeeOfMonthSupportNominationRequestStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var EmployeeOfMonthSupportNominationRequestStatus;
|
|
16
|
+
(function (EmployeeOfMonthSupportNominationRequestStatus) {
|
|
17
|
+
EmployeeOfMonthSupportNominationRequestStatus["PENDING"] = "Pending";
|
|
18
|
+
EmployeeOfMonthSupportNominationRequestStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
EmployeeOfMonthSupportNominationRequestStatus["APPROVED"] = "Approved";
|
|
20
|
+
EmployeeOfMonthSupportNominationRequestStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(EmployeeOfMonthSupportNominationRequestStatus || (exports.EmployeeOfMonthSupportNominationRequestStatus = EmployeeOfMonthSupportNominationRequestStatus = {}));
|
|
22
|
+
let EmployeeOfMonthSupportNominationRequests = class EmployeeOfMonthSupportNominationRequests extends BaseModel_1.BaseModel {
|
|
23
|
+
};
|
|
24
|
+
exports.EmployeeOfMonthSupportNominationRequests = EmployeeOfMonthSupportNominationRequests;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "req_user_department_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "req_user_section_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "sub_service_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "user_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 120, nullable: false }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "job_number", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "last_annual_assessment", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: false }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "rating_scores", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({
|
|
59
|
+
type: 'enum',
|
|
60
|
+
enum: EmployeeOfMonthSupportNominationRequestStatus,
|
|
61
|
+
enumName: 'eom_support_nomination_request_status_enum',
|
|
62
|
+
default: EmployeeOfMonthSupportNominationRequestStatus.PENDING,
|
|
63
|
+
nullable: false,
|
|
64
|
+
}),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "status", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
69
|
+
__metadata("design:type", Object)
|
|
70
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "workflow_execution_id", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
73
|
+
__metadata("design:type", Object)
|
|
74
|
+
], EmployeeOfMonthSupportNominationRequests.prototype, "comments", void 0);
|
|
75
|
+
exports.EmployeeOfMonthSupportNominationRequests = EmployeeOfMonthSupportNominationRequests = __decorate([
|
|
76
|
+
(0, typeorm_1.Entity)({ name: 'employee_of_month_support_nomination_requests' })
|
|
77
|
+
], EmployeeOfMonthSupportNominationRequests);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum EmployeeOfMonthSupportNominationWorkFlowStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
COMPLETED = "Completed",
|
|
6
|
+
FAILED = "Failed"
|
|
7
|
+
}
|
|
8
|
+
export declare class EmployeeOfMonthSupportNominationWorkFlow extends BaseModel {
|
|
9
|
+
request_id: number;
|
|
10
|
+
service_id: number | null;
|
|
11
|
+
sub_service_id: number | null;
|
|
12
|
+
user_id: number | null;
|
|
13
|
+
role_id: number | null;
|
|
14
|
+
department_id: number | null;
|
|
15
|
+
section_id: number | null;
|
|
16
|
+
task_name: string;
|
|
17
|
+
description: string | null;
|
|
18
|
+
status: EmployeeOfMonthSupportNominationWorkFlowStatus;
|
|
19
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.EmployeeOfMonthSupportNominationWorkFlow = exports.EmployeeOfMonthSupportNominationWorkFlowStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var EmployeeOfMonthSupportNominationWorkFlowStatus;
|
|
16
|
+
(function (EmployeeOfMonthSupportNominationWorkFlowStatus) {
|
|
17
|
+
EmployeeOfMonthSupportNominationWorkFlowStatus["PENDING"] = "Pending";
|
|
18
|
+
EmployeeOfMonthSupportNominationWorkFlowStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
EmployeeOfMonthSupportNominationWorkFlowStatus["COMPLETED"] = "Completed";
|
|
20
|
+
EmployeeOfMonthSupportNominationWorkFlowStatus["FAILED"] = "Failed";
|
|
21
|
+
})(EmployeeOfMonthSupportNominationWorkFlowStatus || (exports.EmployeeOfMonthSupportNominationWorkFlowStatus = EmployeeOfMonthSupportNominationWorkFlowStatus = {}));
|
|
22
|
+
let EmployeeOfMonthSupportNominationWorkFlow = class EmployeeOfMonthSupportNominationWorkFlow extends BaseModel_1.BaseModel {
|
|
23
|
+
};
|
|
24
|
+
exports.EmployeeOfMonthSupportNominationWorkFlow = EmployeeOfMonthSupportNominationWorkFlow;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "request_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "sub_service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
39
|
+
__metadata("design:type", Object)
|
|
40
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "user_id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "role_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "department_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "section_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "task_name", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "description", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({
|
|
63
|
+
type: 'enum',
|
|
64
|
+
enum: EmployeeOfMonthSupportNominationWorkFlowStatus,
|
|
65
|
+
enumName: 'eom_support_nomination_workflow_status_enum',
|
|
66
|
+
default: EmployeeOfMonthSupportNominationWorkFlowStatus.PENDING,
|
|
67
|
+
nullable: false,
|
|
68
|
+
}),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "status", void 0);
|
|
71
|
+
exports.EmployeeOfMonthSupportNominationWorkFlow = EmployeeOfMonthSupportNominationWorkFlow = __decorate([
|
|
72
|
+
(0, typeorm_1.Entity)({ name: 'employee_of_month_support_nomination_workflows' })
|
|
73
|
+
], EmployeeOfMonthSupportNominationWorkFlow);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare enum InitiatorEmployeeNominationApprovalStatus {
|
|
3
|
+
PENDING = "Pending",
|
|
4
|
+
IN_PROGRESS = "In Progress",
|
|
5
|
+
APPROVED = "Approved",
|
|
6
|
+
REJECTED = "Rejected"
|
|
7
|
+
}
|
|
8
|
+
export declare class InitiatorEmployeeNominationApprovalDetails extends BaseModel {
|
|
9
|
+
request_id: number;
|
|
10
|
+
service_id: number | null;
|
|
11
|
+
sub_service_id: number | null;
|
|
12
|
+
level: number;
|
|
13
|
+
approver_role_id: number | null;
|
|
14
|
+
department_id: number | null;
|
|
15
|
+
section_id: number | null;
|
|
16
|
+
approver_user_id: number | null;
|
|
17
|
+
delegate_user_id: number | null;
|
|
18
|
+
approved_by: number | null;
|
|
19
|
+
comment: string;
|
|
20
|
+
approval_status: InitiatorEmployeeNominationApprovalStatus;
|
|
21
|
+
is_allowed: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.InitiatorEmployeeNominationApprovalDetails = exports.InitiatorEmployeeNominationApprovalStatus = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
var InitiatorEmployeeNominationApprovalStatus;
|
|
16
|
+
(function (InitiatorEmployeeNominationApprovalStatus) {
|
|
17
|
+
InitiatorEmployeeNominationApprovalStatus["PENDING"] = "Pending";
|
|
18
|
+
InitiatorEmployeeNominationApprovalStatus["IN_PROGRESS"] = "In Progress";
|
|
19
|
+
InitiatorEmployeeNominationApprovalStatus["APPROVED"] = "Approved";
|
|
20
|
+
InitiatorEmployeeNominationApprovalStatus["REJECTED"] = "Rejected";
|
|
21
|
+
})(InitiatorEmployeeNominationApprovalStatus || (exports.InitiatorEmployeeNominationApprovalStatus = InitiatorEmployeeNominationApprovalStatus = {}));
|
|
22
|
+
let InitiatorEmployeeNominationApprovalDetails = class InitiatorEmployeeNominationApprovalDetails extends BaseModel_1.BaseModel {
|
|
23
|
+
};
|
|
24
|
+
exports.InitiatorEmployeeNominationApprovalDetails = InitiatorEmployeeNominationApprovalDetails;
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "request_id", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "service_id", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "sub_service_id", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: false }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "level", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
43
|
+
__metadata("design:type", Object)
|
|
44
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "approver_role_id", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
47
|
+
__metadata("design:type", Object)
|
|
48
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "department_id", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
51
|
+
__metadata("design:type", Object)
|
|
52
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "section_id", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
55
|
+
__metadata("design:type", Object)
|
|
56
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "approver_user_id", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
59
|
+
__metadata("design:type", Object)
|
|
60
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "delegate_user_id", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ type: 'integer', nullable: true }),
|
|
63
|
+
__metadata("design:type", Object)
|
|
64
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "approved_by", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true, default: '' }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "comment", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({
|
|
71
|
+
type: 'enum',
|
|
72
|
+
enum: InitiatorEmployeeNominationApprovalStatus,
|
|
73
|
+
default: InitiatorEmployeeNominationApprovalStatus.PENDING,
|
|
74
|
+
nullable: false,
|
|
75
|
+
}),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "approval_status", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true, nullable: false }),
|
|
80
|
+
__metadata("design:type", Boolean)
|
|
81
|
+
], InitiatorEmployeeNominationApprovalDetails.prototype, "is_allowed", void 0);
|
|
82
|
+
exports.InitiatorEmployeeNominationApprovalDetails = InitiatorEmployeeNominationApprovalDetails = __decorate([
|
|
83
|
+
(0, typeorm_1.Entity)({ name: 'initiator_employee_nomination_approvals' })
|
|
84
|
+
], InitiatorEmployeeNominationApprovalDetails);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class InitiatorEmployeeNominationRequestAttachment extends BaseModel {
|
|
3
|
+
request_id: number;
|
|
4
|
+
service_id: number | null;
|
|
5
|
+
sub_service_id: number | null;
|
|
6
|
+
file_url: string;
|
|
7
|
+
file_name: string | null;
|
|
8
|
+
file_type: string | null;
|
|
9
|
+
file_size: number | null;
|
|
10
|
+
chat_id: number | null;
|
|
11
|
+
}
|