@platform-modules/foreign-ministry 1.3.319 → 1.3.321
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/.env +12 -5
- package/dist/models/ChildrensEducationRequestModel.d.ts +1 -0
- package/dist/models/ChildrensEducationRequestModel.js +4 -0
- package/dist/models/EmbassyEvaluationWorkflowModel.d.ts +1 -2
- package/dist/models/EmbassyEvaluationWorkflowModel.js +2 -6
- package/dist/models/EmployeeOfMonthNominationWorkflowModel.d.ts +1 -2
- package/dist/models/EmployeeOfMonthNominationWorkflowModel.js +2 -6
- package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.d.ts +1 -2
- package/dist/models/EmployeeOfMonthSupportNominationWorkflowModel.js +2 -6
- package/dist/models/InitiatorEmployeeNominationWorkflowModel.d.ts +1 -2
- package/dist/models/InitiatorEmployeeNominationWorkflowModel.js +3 -7
- package/dist/models/InnovativeEmployeeNominationWorkflowModel.d.ts +1 -2
- package/dist/models/InnovativeEmployeeNominationWorkflowModel.js +3 -7
- package/dist/models/IpeGrievanceWorkflowModel.d.ts +1 -2
- package/dist/models/IpeGrievanceWorkflowModel.js +3 -7
- package/dist/models/MedicalExpensesRequestModel.d.ts +1 -0
- package/dist/models/MedicalExpensesRequestModel.js +4 -0
- package/dist/models/RecruitmentDomesticWorkersRequestModel.d.ts +1 -0
- package/dist/models/RecruitmentDomesticWorkersRequestModel.js +4 -0
- package/dist/models/TransferAllowanceRequestModel.d.ts +1 -0
- package/dist/models/TransferAllowanceRequestModel.js +4 -0
- package/dist/models/TransferSalaryBankAccountRequestModel.d.ts +1 -0
- package/dist/models/TransferSalaryBankAccountRequestModel.js +4 -0
- package/package.json +24 -24
- package/src/data-source.ts +686 -686
- package/src/index.ts +598 -598
- package/src/models/ChildrensEducationRequestModel.ts +3 -0
- package/src/models/DiplomaticAcademyRequestModel.ts +80 -80
- package/src/models/DocumentationFileModel.ts +40 -40
- package/src/models/EmbassyEvaluationCycleModel.ts +38 -38
- package/src/models/EmbassyEvaluationRequestModel.ts +59 -59
- package/src/models/EmbassyEvaluationWorkflowModel.ts +2 -5
- package/src/models/EmployeeEvaluationAnswerModel.ts +26 -26
- package/src/models/EmployeeOfMonthNominationWorkflowModel.ts +2 -5
- package/src/models/EmployeeOfMonthSupportNominationWorkflowModel.ts +47 -50
- package/src/models/EvaluationEligibilitySettingModel.ts +51 -51
- package/src/models/EvaluationFormModel.ts +44 -44
- package/src/models/InitiatorEmployeeNominationWorkflowModel.ts +2 -5
- package/src/models/InnovativeEmployeeNominationWorkflowModel.ts +2 -5
- package/src/models/IpeGrievanceWorkflowModel.ts +2 -5
- package/src/models/LMSExternalEntityTrainedPersonModel.ts +45 -45
- package/src/models/LanguageCourseRequestModel.ts +67 -67
- package/src/models/LeaveConfigModel.ts +71 -71
- package/src/models/MedicalExpensesRequestModel.ts +3 -0
- package/src/models/MissionTravelApprovalModel.ts +101 -101
- package/src/models/MissionTravelAttachmentModel.ts +56 -56
- package/src/models/MissionTravelChatModel.ts +52 -52
- package/src/models/MissionTravelPersonModel.ts +105 -105
- package/src/models/MissionTravelWorkflowModel.ts +54 -54
- package/src/models/ProjectContactsModel.ts +51 -51
- package/src/models/ProjectFaqModel.ts +36 -36
- package/src/models/ProjectInvoicesModel.ts +41 -41
- package/src/models/ProjectModel.ts +75 -75
- package/src/models/ProjectTasksModel.ts +75 -75
- package/src/models/RecruitmentDomesticWorkersRequestModel.ts +3 -0
- package/src/models/SectionModel.ts +35 -35
- package/src/models/ServiceSlaApprovalModel.ts +63 -63
- package/src/models/ServicesNotificationConfigsModel.ts +55 -55
- package/src/models/TransferAllowanceRequestModel.ts +3 -0
- package/src/models/TransferSalaryBankAccountRequestModel.ts +3 -0
- package/dist/models/EmbassyEvaluationDepartmentSettingModel.d.ts +0 -14
- package/dist/models/EmbassyEvaluationDepartmentSettingModel.js +0 -56
- package/dist/models/EvaluationMastersModel.d.ts +0 -16
- package/dist/models/EvaluationMastersModel.js +0 -67
- package/dist/models/EvaluationQuestionMasterModel.d.ts +0 -10
- package/dist/models/EvaluationQuestionMasterModel.js +0 -42
- package/dist/models/EvaluationSectionMasterModel.d.ts +0 -7
- package/dist/models/EvaluationSectionMasterModel.js +0 -36
- package/dist/models/EvaluationWorkflowModel.d.ts +0 -60
- package/dist/models/EvaluationWorkflowModel.js +0 -215
- package/dist/models/IneligibleForEvaluationModel.d.ts +0 -8
- package/dist/models/IneligibleForEvaluationModel.js +0 -44
- package/dist/models/MissionTravelClassConfigModel.d.ts +0 -10
- package/dist/models/MissionTravelClassConfigModel.js +0 -50
- package/dist/models/MissionTravelPerdiemModel.d.ts +0 -10
- package/dist/models/MissionTravelPerdiemModel.js +0 -54
- package/dist/models/UuidAuditModel.d.ts +0 -9
- package/dist/models/UuidAuditModel.js +0 -41
package/.env
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
# DB_HOST=localhost
|
|
2
2
|
# DB_PORT=5432
|
|
3
3
|
# DB_USER=postgres
|
|
4
|
-
# DB_PASS=
|
|
4
|
+
# DB_PASS=Fa@123
|
|
5
5
|
# DB_NAME=FM
|
|
6
6
|
|
|
7
|
-
DB_HOST
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
DB_HOST=164.52.222.169
|
|
8
|
+
DB_PORT=5432
|
|
9
|
+
DB_USER=postgres_admin_user
|
|
10
|
+
DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
11
|
+
DB_NAME=FM
|
|
12
|
+
|
|
13
|
+
# DB_HOST=216.48.187.46
|
|
14
|
+
# DB_PORT=5432
|
|
15
|
+
# DB_USER=adminuser
|
|
16
|
+
# DB_PASS=postgres_caa_fm_qa_34567
|
|
17
|
+
# DB_NAME=FM_QA
|
|
@@ -57,6 +57,10 @@ __decorate([
|
|
|
57
57
|
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
58
58
|
__metadata("design:type", Object)
|
|
59
59
|
], ChildrensEducationRequests.prototype, "workflow_execution_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], ChildrensEducationRequests.prototype, "mc_location", void 0);
|
|
60
64
|
exports.ChildrensEducationRequests = ChildrensEducationRequests = __decorate([
|
|
61
65
|
(0, typeorm_1.Entity)({ name: 'childrens_education_requests' })
|
|
62
66
|
], ChildrensEducationRequests);
|
|
@@ -13,7 +13,6 @@ export declare class EmbassyEvaluationWorkFlow extends BaseModel {
|
|
|
13
13
|
role_id: number | null;
|
|
14
14
|
department_id: number | null;
|
|
15
15
|
section_id: number | null;
|
|
16
|
-
|
|
17
|
-
description: string | null;
|
|
16
|
+
content: string;
|
|
18
17
|
status: EmbassyEvaluationWorkFlowStatus;
|
|
19
18
|
}
|
|
@@ -51,13 +51,9 @@ __decorate([
|
|
|
51
51
|
__metadata("design:type", Object)
|
|
52
52
|
], EmbassyEvaluationWorkFlow.prototype, "section_id", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
55
55
|
__metadata("design:type", String)
|
|
56
|
-
], EmbassyEvaluationWorkFlow.prototype, "
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
|
-
__metadata("design:type", Object)
|
|
60
|
-
], EmbassyEvaluationWorkFlow.prototype, "description", void 0);
|
|
56
|
+
], EmbassyEvaluationWorkFlow.prototype, "content", void 0);
|
|
61
57
|
__decorate([
|
|
62
58
|
(0, typeorm_1.Column)({
|
|
63
59
|
type: 'enum',
|
|
@@ -13,7 +13,6 @@ export declare class EmployeeOfMonthNominationWorkFlow extends BaseModel {
|
|
|
13
13
|
role_id: number | null;
|
|
14
14
|
department_id: number | null;
|
|
15
15
|
section_id: number | null;
|
|
16
|
-
|
|
17
|
-
description: string | null;
|
|
16
|
+
content: string;
|
|
18
17
|
status: EmployeeOfMonthNominationWorkFlowStatus;
|
|
19
18
|
}
|
|
@@ -51,13 +51,9 @@ __decorate([
|
|
|
51
51
|
__metadata("design:type", Object)
|
|
52
52
|
], EmployeeOfMonthNominationWorkFlow.prototype, "section_id", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
55
55
|
__metadata("design:type", String)
|
|
56
|
-
], EmployeeOfMonthNominationWorkFlow.prototype, "
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
|
-
__metadata("design:type", Object)
|
|
60
|
-
], EmployeeOfMonthNominationWorkFlow.prototype, "description", void 0);
|
|
56
|
+
], EmployeeOfMonthNominationWorkFlow.prototype, "content", void 0);
|
|
61
57
|
__decorate([
|
|
62
58
|
(0, typeorm_1.Column)({
|
|
63
59
|
type: 'enum',
|
|
@@ -14,7 +14,6 @@ export declare class EmployeeOfMonthSupportNominationWorkFlow extends BaseModel
|
|
|
14
14
|
role_id: number | null;
|
|
15
15
|
department_id: number | null;
|
|
16
16
|
section_id: number | null;
|
|
17
|
-
|
|
18
|
-
description: string | null;
|
|
17
|
+
content: string;
|
|
19
18
|
status: string;
|
|
20
19
|
}
|
|
@@ -50,13 +50,9 @@ __decorate([
|
|
|
50
50
|
__metadata("design:type", Object)
|
|
51
51
|
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "section_id", void 0);
|
|
52
52
|
__decorate([
|
|
53
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
53
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
54
54
|
__metadata("design:type", String)
|
|
55
|
-
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
58
|
-
__metadata("design:type", Object)
|
|
59
|
-
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "description", void 0);
|
|
55
|
+
], EmployeeOfMonthSupportNominationWorkFlow.prototype, "content", void 0);
|
|
60
56
|
__decorate([
|
|
61
57
|
(0, typeorm_1.Column)({
|
|
62
58
|
type: 'varchar',
|
|
@@ -13,7 +13,6 @@ export declare class InitiatorEmployeeNominationWorkFlow extends BaseModel {
|
|
|
13
13
|
role_id: number | null;
|
|
14
14
|
department_id: number | null;
|
|
15
15
|
section_id: number | null;
|
|
16
|
-
|
|
17
|
-
description: string | null;
|
|
16
|
+
content: string;
|
|
18
17
|
status: InitiatorEmployeeNominationWorkFlowStatus;
|
|
19
18
|
}
|
|
@@ -51,13 +51,9 @@ __decorate([
|
|
|
51
51
|
__metadata("design:type", Object)
|
|
52
52
|
], InitiatorEmployeeNominationWorkFlow.prototype, "section_id", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
55
|
-
__metadata("design:type",
|
|
56
|
-
], InitiatorEmployeeNominationWorkFlow.prototype, "
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
|
-
__metadata("design:type", Object)
|
|
60
|
-
], InitiatorEmployeeNominationWorkFlow.prototype, "description", void 0);
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], InitiatorEmployeeNominationWorkFlow.prototype, "content", void 0);
|
|
61
57
|
__decorate([
|
|
62
58
|
(0, typeorm_1.Column)({
|
|
63
59
|
type: 'enum',
|
|
@@ -13,7 +13,6 @@ export declare class InnovativeEmployeeNominationWorkFlow extends BaseModel {
|
|
|
13
13
|
role_id: number | null;
|
|
14
14
|
department_id: number | null;
|
|
15
15
|
section_id: number | null;
|
|
16
|
-
|
|
17
|
-
description: string | null;
|
|
16
|
+
content: string;
|
|
18
17
|
status: InnovativeEmployeeNominationWorkFlowStatus;
|
|
19
18
|
}
|
|
@@ -51,13 +51,9 @@ __decorate([
|
|
|
51
51
|
__metadata("design:type", Object)
|
|
52
52
|
], InnovativeEmployeeNominationWorkFlow.prototype, "section_id", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
55
|
-
__metadata("design:type",
|
|
56
|
-
], InnovativeEmployeeNominationWorkFlow.prototype, "
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
|
-
__metadata("design:type", Object)
|
|
60
|
-
], InnovativeEmployeeNominationWorkFlow.prototype, "description", void 0);
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], InnovativeEmployeeNominationWorkFlow.prototype, "content", void 0);
|
|
61
57
|
__decorate([
|
|
62
58
|
(0, typeorm_1.Column)({
|
|
63
59
|
type: 'enum',
|
|
@@ -13,7 +13,6 @@ export declare class IpeGrievanceWorkFlow extends BaseModel {
|
|
|
13
13
|
role_id: number | null;
|
|
14
14
|
department_id: number | null;
|
|
15
15
|
section_id: number | null;
|
|
16
|
-
|
|
17
|
-
description: string | null;
|
|
16
|
+
content: string;
|
|
18
17
|
status: IpeGrievanceWorkFlowStatus;
|
|
19
18
|
}
|
|
@@ -51,13 +51,9 @@ __decorate([
|
|
|
51
51
|
__metadata("design:type", Object)
|
|
52
52
|
], IpeGrievanceWorkFlow.prototype, "section_id", void 0);
|
|
53
53
|
__decorate([
|
|
54
|
-
(0, typeorm_1.Column)({ type: 'varchar', length:
|
|
55
|
-
__metadata("design:type",
|
|
56
|
-
], IpeGrievanceWorkFlow.prototype, "
|
|
57
|
-
__decorate([
|
|
58
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
59
|
-
__metadata("design:type", Object)
|
|
60
|
-
], IpeGrievanceWorkFlow.prototype, "description", void 0);
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], IpeGrievanceWorkFlow.prototype, "content", void 0);
|
|
61
57
|
__decorate([
|
|
62
58
|
(0, typeorm_1.Column)({
|
|
63
59
|
type: 'enum',
|
|
@@ -57,6 +57,10 @@ __decorate([
|
|
|
57
57
|
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
58
58
|
__metadata("design:type", Object)
|
|
59
59
|
], MedicalExpensesRequests.prototype, "workflow_execution_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], MedicalExpensesRequests.prototype, "mc_location", void 0);
|
|
60
64
|
exports.MedicalExpensesRequests = MedicalExpensesRequests = __decorate([
|
|
61
65
|
(0, typeorm_1.Entity)({ name: 'medical_expenses_requests' })
|
|
62
66
|
], MedicalExpensesRequests);
|
|
@@ -57,6 +57,10 @@ __decorate([
|
|
|
57
57
|
(0, typeorm_1.Column)({ type: 'varchar', nullable: true }),
|
|
58
58
|
__metadata("design:type", Object)
|
|
59
59
|
], RecruitmentDomesticWorkersRequests.prototype, "workflow_execution_id", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
62
|
+
__metadata("design:type", Object)
|
|
63
|
+
], RecruitmentDomesticWorkersRequests.prototype, "mc_location", void 0);
|
|
60
64
|
exports.RecruitmentDomesticWorkersRequests = RecruitmentDomesticWorkersRequests = __decorate([
|
|
61
65
|
(0, typeorm_1.Entity)({ name: 'recruitment_domestic_workers_requests' })
|
|
62
66
|
], RecruitmentDomesticWorkersRequests);
|
|
@@ -85,6 +85,10 @@ __decorate([
|
|
|
85
85
|
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
86
86
|
__metadata("design:type", Object)
|
|
87
87
|
], TransferAllowanceRequests.prototype, "mission_type", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
90
|
+
__metadata("design:type", Object)
|
|
91
|
+
], TransferAllowanceRequests.prototype, "mc_location", void 0);
|
|
88
92
|
exports.TransferAllowanceRequests = TransferAllowanceRequests = __decorate([
|
|
89
93
|
(0, typeorm_1.Entity)({ name: 'transfer_allowance_requests' })
|
|
90
94
|
], TransferAllowanceRequests);
|
|
@@ -85,6 +85,10 @@ __decorate([
|
|
|
85
85
|
(0, typeorm_1.Column)({ type: 'decimal', precision: 8, scale: 2, nullable: true }),
|
|
86
86
|
__metadata("design:type", Object)
|
|
87
87
|
], TransferSalaryBankAccountRequests.prototype, "percentage_of_salary", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
90
|
+
__metadata("design:type", Object)
|
|
91
|
+
], TransferSalaryBankAccountRequests.prototype, "mc_location", void 0);
|
|
88
92
|
exports.TransferSalaryBankAccountRequests = TransferSalaryBankAccountRequests = __decorate([
|
|
89
93
|
(0, typeorm_1.Entity)({ name: 'transfer_salary_bank_account_requests' })
|
|
90
94
|
], TransferSalaryBankAccountRequests);
|
package/package.json
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@platform-modules/foreign-ministry",
|
|
3
|
-
"version": "1.3.
|
|
4
|
-
"main": "dist/index.js",
|
|
5
|
-
"types": "dist/index.d.ts",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"build": "tsc",
|
|
8
|
-
"dev": "ts-node src/scripts.ts"
|
|
9
|
-
},
|
|
10
|
-
"publishConfig": {
|
|
11
|
-
"access": "public"
|
|
12
|
-
},
|
|
13
|
-
"dependencies": {
|
|
14
|
-
"moment-timezone": "^0.6.0",
|
|
15
|
-
"pg": "^8.16.0",
|
|
16
|
-
"typeorm": "^0.3.17"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@types/moment-timezone": "^0.5.30",
|
|
20
|
-
"dotenv": "^16.5.0",
|
|
21
|
-
"ts-node": "^10.9.2",
|
|
22
|
-
"typescript": "^5.2.0"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@platform-modules/foreign-ministry",
|
|
3
|
+
"version": "1.3.321",
|
|
4
|
+
"main": "dist/index.js",
|
|
5
|
+
"types": "dist/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build": "tsc",
|
|
8
|
+
"dev": "ts-node src/scripts.ts"
|
|
9
|
+
},
|
|
10
|
+
"publishConfig": {
|
|
11
|
+
"access": "public"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"moment-timezone": "^0.6.0",
|
|
15
|
+
"pg": "^8.16.0",
|
|
16
|
+
"typeorm": "^0.3.17"
|
|
17
|
+
},
|
|
18
|
+
"devDependencies": {
|
|
19
|
+
"@types/moment-timezone": "^0.5.30",
|
|
20
|
+
"dotenv": "^16.5.0",
|
|
21
|
+
"ts-node": "^10.9.2",
|
|
22
|
+
"typescript": "^5.2.0"
|
|
23
|
+
}
|
|
24
|
+
}
|