@platform-modules/foreign-ministry 1.3.153 → 1.3.155

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.
Files changed (29) hide show
  1. package/.env +5 -10
  2. package/dist/models/LMSExternalCourseParticipationRequestModel.d.ts +2 -0
  3. package/dist/models/LMSExternalCourseParticipationRequestModel.js +8 -0
  4. package/dist/models/ProfileUpdateRequestsModel.d.ts +7 -0
  5. package/dist/models/ProfileUpdateRequestsModel.js +28 -0
  6. package/dist/models/user.d.ts +1 -0
  7. package/dist/models/user.js +4 -0
  8. package/package.json +21 -21
  9. package/src/index.ts +303 -303
  10. package/src/models/DiplomaticAcademyRequestModel.ts +80 -80
  11. package/src/models/DocumentTranslationRequestModel.ts +54 -54
  12. package/src/models/LMSExternalCourseParticipationRequestModel.ts +6 -0
  13. package/src/models/LanguageCourseRequestModel.ts +67 -67
  14. package/src/models/LeaveConfigModel.ts +71 -71
  15. package/src/models/MissionTravelApprovalModel.ts +101 -101
  16. package/src/models/MissionTravelAttachmentModel.ts +56 -56
  17. package/src/models/MissionTravelChatModel.ts +52 -52
  18. package/src/models/MissionTravelPersonModel.ts +105 -105
  19. package/src/models/MissionTravelWorkflowModel.ts +54 -54
  20. package/src/models/ProfileUpdateRequestsModel.ts +22 -0
  21. package/src/models/ProjectModel.ts +35 -35
  22. package/src/models/SectionModel.ts +35 -35
  23. package/src/models/ServicesNotificationConfigsModel.ts +55 -55
  24. package/src/models/TemplateModel.ts +30 -30
  25. package/src/models/user.ts +3 -0
  26. package/dist/models/MissionTravelClassConfigModel.d.ts +0 -10
  27. package/dist/models/MissionTravelClassConfigModel.js +0 -50
  28. package/dist/models/MissionTravelPerdiemModel.d.ts +0 -10
  29. package/dist/models/MissionTravelPerdiemModel.js +0 -54
package/.env CHANGED
@@ -1,10 +1,5 @@
1
- # DB_HOST=localhost
2
- # DB_PORT=5432
3
- # DB_USER=postgres
4
- # DB_PASS=stevejobs
5
- # DB_NAME=FM
6
-
7
- DB_HOST = 164.52.222.169
8
- DB_USER = postgres_admin_user
9
- DB_PASS = pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
10
- DB_NAME= FM
1
+ DB_HOST=localhost
2
+ DB_PORT=5432
3
+ DB_USER=postgres
4
+ DB_PASS=Fa@123
5
+ DB_NAME=FM
@@ -24,4 +24,6 @@ export declare class LMSExternalCourseParticipationRequests extends BaseModel {
24
24
  cost: number | null;
25
25
  currency_type: string | null;
26
26
  comment: string | null;
27
+ includePoliticalOpinion: string | null;
28
+ course_id: number | null;
27
29
  }
@@ -91,6 +91,14 @@ __decorate([
91
91
  (0, typeorm_1.Column)({ type: 'text', nullable: true }),
92
92
  __metadata("design:type", Object)
93
93
  ], LMSExternalCourseParticipationRequests.prototype, "comment", void 0);
94
+ __decorate([
95
+ (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true, name: 'include_political_opinion' }),
96
+ __metadata("design:type", Object)
97
+ ], LMSExternalCourseParticipationRequests.prototype, "includePoliticalOpinion", void 0);
98
+ __decorate([
99
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
100
+ __metadata("design:type", Object)
101
+ ], LMSExternalCourseParticipationRequests.prototype, "course_id", void 0);
94
102
  exports.LMSExternalCourseParticipationRequests = LMSExternalCourseParticipationRequests = __decorate([
95
103
  (0, typeorm_1.Entity)({ name: 'lms_external_course_participation_requests' })
96
104
  ], LMSExternalCourseParticipationRequests);
@@ -159,4 +159,11 @@ export declare class ProfileUpdateRequests extends BaseModel {
159
159
  educational_institute: string | null;
160
160
  qualification: string | null;
161
161
  education_country: number | null;
162
+ blood_group: string | null;
163
+ language_preferences: string | null;
164
+ section: number | null;
165
+ extension_number: string | null;
166
+ civil_employee_id: string | null;
167
+ civil_id_expiry_date: Date | null;
168
+ address: string | null;
162
169
  }
@@ -476,6 +476,34 @@ __decorate([
476
476
  (0, typeorm_1.Column)({ type: 'int', nullable: true }),
477
477
  __metadata("design:type", Object)
478
478
  ], ProfileUpdateRequests.prototype, "education_country", void 0);
479
+ __decorate([
480
+ (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
481
+ __metadata("design:type", Object)
482
+ ], ProfileUpdateRequests.prototype, "blood_group", void 0);
483
+ __decorate([
484
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
485
+ __metadata("design:type", Object)
486
+ ], ProfileUpdateRequests.prototype, "language_preferences", void 0);
487
+ __decorate([
488
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
489
+ __metadata("design:type", Object)
490
+ ], ProfileUpdateRequests.prototype, "section", void 0);
491
+ __decorate([
492
+ (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
493
+ __metadata("design:type", Object)
494
+ ], ProfileUpdateRequests.prototype, "extension_number", void 0);
495
+ __decorate([
496
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
497
+ __metadata("design:type", Object)
498
+ ], ProfileUpdateRequests.prototype, "civil_employee_id", void 0);
499
+ __decorate([
500
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
501
+ __metadata("design:type", Object)
502
+ ], ProfileUpdateRequests.prototype, "civil_id_expiry_date", void 0);
503
+ __decorate([
504
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
505
+ __metadata("design:type", Object)
506
+ ], ProfileUpdateRequests.prototype, "address", void 0);
479
507
  exports.ProfileUpdateRequests = ProfileUpdateRequests = __decorate([
480
508
  (0, typeorm_1.Entity)({ name: 'user_profile_update_requests' })
481
509
  ], ProfileUpdateRequests);
@@ -35,6 +35,7 @@ export declare class User extends BaseModel {
35
35
  fax_number?: string;
36
36
  diplomatic_name?: string;
37
37
  civil_employee_id?: number;
38
+ civil_id_expiry_date?: Date;
38
39
  qualification?: string;
39
40
  father_name?: string;
40
41
  spouse_name?: string;
@@ -205,6 +205,10 @@ __decorate([
205
205
  (0, typeorm_1.Column)({ nullable: true }),
206
206
  __metadata("design:type", Number)
207
207
  ], User.prototype, "civil_employee_id", void 0);
208
+ __decorate([
209
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
210
+ __metadata("design:type", Date)
211
+ ], User.prototype, "civil_id_expiry_date", void 0);
208
212
  __decorate([
209
213
  (0, typeorm_1.Column)({ nullable: true }),
210
214
  __metadata("design:type", String)
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.3.153",
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
- }
3
+ "version": "1.3.155",
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
24
  }