@platform-modules/foreign-ministry 1.3.189 → 1.3.190
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 +15 -6
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -8
- package/dist/models/AppointmentRequestModel.d.ts +1 -0
- package/dist/models/AppointmentRequestModel.js +4 -0
- package/dist/models/HelpContentMappedCategoriesModel.d.ts +6 -0
- package/dist/models/{ProjectResourceUsersModel.js → HelpContentMappedCategoriesModel.js} +14 -19
- package/dist/models/HelpContentMappedTagsModel.d.ts +6 -0
- package/dist/models/HelpContentMappedTagsModel.js +34 -0
- package/dist/models/HelpContentTagsModel.d.ts +5 -0
- package/dist/models/HelpContentTagsModel.js +29 -0
- package/dist/models/MeetingRequestModel.d.ts +1 -0
- package/dist/models/MeetingRequestModel.js +4 -0
- package/dist/models/ProjectModel.d.ts +3 -9
- package/dist/models/ProjectModel.js +9 -39
- package/dist/models/questionTagsModel.d.ts +6 -0
- package/dist/models/questionTagsModel.js +34 -0
- package/package.json +1 -1
- package/src/index.ts +0 -8
- package/src/models/AppointmentRequestModel.ts +3 -0
- package/src/models/DiplomaticAcademyRequestModel.ts +80 -80
- package/src/models/LanguageCourseRequestModel.ts +67 -67
- package/src/models/LeaveConfigModel.ts +71 -71
- package/src/models/MeetingRequestModel.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/ProjectModel.ts +11 -41
- package/src/models/RegisterCandidateRequestModel.ts +183 -183
- package/src/models/SectionModel.ts +35 -35
- package/src/models/ServicesNotificationConfigsModel.ts +55 -55
- 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/ProjectContactsModel.d.ts +0 -10
- package/dist/models/ProjectContactsModel.js +0 -54
- package/dist/models/ProjectFaqModel.d.ts +0 -9
- package/dist/models/ProjectFaqModel.js +0 -49
- package/dist/models/ProjectFaqReactionsModel.d.ts +0 -8
- package/dist/models/ProjectFaqReactionsModel.js +0 -44
- package/dist/models/ProjectInvoicesModel.d.ts +0 -9
- package/dist/models/ProjectInvoicesModel.js +0 -49
- package/dist/models/ProjectMilestonesModel.d.ts +0 -15
- package/dist/models/ProjectMilestonesModel.js +0 -79
- package/dist/models/ProjectResourceUsersModel.d.ts +0 -7
- package/dist/models/ProjectResourcesModel.d.ts +0 -9
- package/dist/models/ProjectResourcesModel.js +0 -49
- package/dist/models/ProjectScopeModel.d.ts +0 -19
- package/dist/models/ProjectScopeModel.js +0 -49
- package/src/models/ProjectContactsModel.ts +0 -40
- package/src/models/ProjectFaqModel.ts +0 -35
- package/src/models/ProjectFaqReactionsModel.ts +0 -30
- package/src/models/ProjectInvoicesModel.ts +0 -35
- package/src/models/ProjectMilestonesModel.ts +0 -65
- package/src/models/ProjectResourceUsersModel.ts +0 -21
- package/src/models/ProjectResourcesModel.ts +0 -35
- package/src/models/ProjectScopeModel.ts +0 -46
- /package/src/models/{LeaveConfigGradesModel.Ts → LeaveConfigGradesModel.ts} +0 -0
package/.env
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
# DB_HOST=localhost
|
|
2
|
-
# DB_PORT=
|
|
2
|
+
# DB_PORT=5433
|
|
3
3
|
# DB_USER=postgres
|
|
4
|
-
# DB_PASS=
|
|
4
|
+
# DB_PASS=123
|
|
5
5
|
# DB_NAME=FM
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
DB_HOST=164.52.222.169
|
|
10
|
+
DB_PORT=5432
|
|
11
|
+
DB_USER=postgres_admin_user
|
|
12
|
+
DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
|
|
13
|
+
DB_NAME=FM
|
|
14
|
+
|
|
15
|
+
# DB_HOST=216.48.187.46
|
|
16
|
+
# DB_PORT=5432
|
|
17
|
+
# DB_USER=adminuser
|
|
18
|
+
# DB_PASS=postgres_caa_fm_qa_34567
|
|
19
|
+
# DB_NAME=FM_QA
|
package/dist/index.d.ts
CHANGED
|
@@ -291,14 +291,6 @@ export * from './models/GiftsModel';
|
|
|
291
291
|
export * from './models/GiftAttachmentModel';
|
|
292
292
|
export * from './models/ProjectModel';
|
|
293
293
|
export * from './models/TemplateModel';
|
|
294
|
-
export * from './models/ProjectScopeModel';
|
|
295
|
-
export * from './models/ProjectMilestonesModel';
|
|
296
|
-
export * from './models/ProjectInvoicesModel';
|
|
297
|
-
export * from './models/ProjectResourcesModel';
|
|
298
|
-
export * from './models/ProjectResourceUsersModel';
|
|
299
|
-
export * from './models/ProjectFaqModel';
|
|
300
|
-
export * from './models/ProjectFaqReactionsModel';
|
|
301
|
-
export * from './models/ProjectContactsModel';
|
|
302
294
|
export * from './models/EmployeeMilestonesModel';
|
|
303
295
|
export * from './models/EmployeeMilestoneDetailsModel';
|
|
304
296
|
export * from './models/MissionTravelPassportExpiryNotificationConfigModel';
|
package/dist/index.js
CHANGED
|
@@ -364,14 +364,6 @@ __exportStar(require("./models/GiftsModel"), exports);
|
|
|
364
364
|
__exportStar(require("./models/GiftAttachmentModel"), exports);
|
|
365
365
|
__exportStar(require("./models/ProjectModel"), exports);
|
|
366
366
|
__exportStar(require("./models/TemplateModel"), exports);
|
|
367
|
-
__exportStar(require("./models/ProjectScopeModel"), exports);
|
|
368
|
-
__exportStar(require("./models/ProjectMilestonesModel"), exports);
|
|
369
|
-
__exportStar(require("./models/ProjectInvoicesModel"), exports);
|
|
370
|
-
__exportStar(require("./models/ProjectResourcesModel"), exports);
|
|
371
|
-
__exportStar(require("./models/ProjectResourceUsersModel"), exports);
|
|
372
|
-
__exportStar(require("./models/ProjectFaqModel"), exports);
|
|
373
|
-
__exportStar(require("./models/ProjectFaqReactionsModel"), exports);
|
|
374
|
-
__exportStar(require("./models/ProjectContactsModel"), exports);
|
|
375
367
|
// Employee Milestones Models
|
|
376
368
|
__exportStar(require("./models/EmployeeMilestonesModel"), exports);
|
|
377
369
|
__exportStar(require("./models/EmployeeMilestoneDetailsModel"), exports);
|
|
@@ -39,6 +39,7 @@ export declare class AppointmentRequests extends BaseModel {
|
|
|
39
39
|
hall_id: number | null;
|
|
40
40
|
from_time: string | null;
|
|
41
41
|
to_time: string | null;
|
|
42
|
+
is_all_day: boolean | null;
|
|
42
43
|
description: string | null;
|
|
43
44
|
person_name: string | null;
|
|
44
45
|
contact_number: string | null;
|
|
@@ -98,6 +98,10 @@ __decorate([
|
|
|
98
98
|
(0, typeorm_1.Column)({ type: 'time', nullable: true }),
|
|
99
99
|
__metadata("design:type", Object)
|
|
100
100
|
], AppointmentRequests.prototype, "to_time", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false, nullable: true }),
|
|
103
|
+
__metadata("design:type", Object)
|
|
104
|
+
], AppointmentRequests.prototype, "is_all_day", void 0);
|
|
101
105
|
__decorate([
|
|
102
106
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
103
107
|
__metadata("design:type", Object)
|
|
@@ -9,31 +9,26 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.HelpContentMappedCategories = void 0;
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
|
-
let
|
|
16
|
-
constructor(
|
|
15
|
+
let HelpContentMappedCategories = class HelpContentMappedCategories extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(help_content_category_Id, help_content_Id) {
|
|
17
17
|
super();
|
|
18
|
-
this.
|
|
19
|
-
|
|
20
|
-
this.user_id = user_id ?? 0;
|
|
18
|
+
this.help_content_category_Id = help_content_category_Id,
|
|
19
|
+
this.help_content_Id = help_content_Id;
|
|
21
20
|
}
|
|
22
21
|
};
|
|
23
|
-
exports.
|
|
22
|
+
exports.HelpContentMappedCategories = HelpContentMappedCategories;
|
|
24
23
|
__decorate([
|
|
25
|
-
(0, typeorm_1.Column)({
|
|
24
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
26
25
|
__metadata("design:type", Number)
|
|
27
|
-
],
|
|
26
|
+
], HelpContentMappedCategories.prototype, "help_content_category_Id", void 0);
|
|
28
27
|
__decorate([
|
|
29
|
-
(0, typeorm_1.Column)({
|
|
28
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
30
29
|
__metadata("design:type", Number)
|
|
31
|
-
],
|
|
32
|
-
__decorate([
|
|
33
|
-
(0, typeorm_1.
|
|
34
|
-
__metadata("design:
|
|
35
|
-
],
|
|
36
|
-
exports.ProjectResourceUsers = ProjectResourceUsers = __decorate([
|
|
37
|
-
(0, typeorm_1.Entity)({ name: 'project_resource_users' }),
|
|
38
|
-
__metadata("design:paramtypes", [Number, Number, Number])
|
|
39
|
-
], ProjectResourceUsers);
|
|
30
|
+
], HelpContentMappedCategories.prototype, "help_content_Id", void 0);
|
|
31
|
+
exports.HelpContentMappedCategories = HelpContentMappedCategories = __decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'help_content_mapped_categories' }),
|
|
33
|
+
__metadata("design:paramtypes", [Number, Number])
|
|
34
|
+
], HelpContentMappedCategories);
|
|
@@ -0,0 +1,34 @@
|
|
|
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.HelpContentMappedTags = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let HelpContentMappedTags = class HelpContentMappedTags extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(help_content_tag_Id, help_content_Id) {
|
|
17
|
+
super();
|
|
18
|
+
this.help_content_tag_Id = help_content_tag_Id,
|
|
19
|
+
this.help_content_Id = help_content_Id;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.HelpContentMappedTags = HelpContentMappedTags;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], HelpContentMappedTags.prototype, "help_content_tag_Id", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], HelpContentMappedTags.prototype, "help_content_Id", void 0);
|
|
31
|
+
exports.HelpContentMappedTags = HelpContentMappedTags = __decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'help_content_mapped_tags' }),
|
|
33
|
+
__metadata("design:paramtypes", [Number, Number])
|
|
34
|
+
], HelpContentMappedTags);
|
|
@@ -0,0 +1,29 @@
|
|
|
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.HelpContentTags = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let HelpContentTags = class HelpContentTags extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(name) {
|
|
17
|
+
super();
|
|
18
|
+
this.name = name;
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
exports.HelpContentTags = HelpContentTags;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], HelpContentTags.prototype, "name", void 0);
|
|
26
|
+
exports.HelpContentTags = HelpContentTags = __decorate([
|
|
27
|
+
(0, typeorm_1.Entity)({ name: 'help_content_tags' }),
|
|
28
|
+
__metadata("design:paramtypes", [String])
|
|
29
|
+
], HelpContentTags);
|
|
@@ -52,6 +52,7 @@ export declare class MeetingRequests extends BaseModel {
|
|
|
52
52
|
meeting_date: string | null;
|
|
53
53
|
from_time: string | null;
|
|
54
54
|
to_time: string | null;
|
|
55
|
+
is_all_day: boolean | null;
|
|
55
56
|
hall_id: number | null;
|
|
56
57
|
other_resources_booking: OtherResourcesBooking | null;
|
|
57
58
|
comments: string | null;
|
|
@@ -114,6 +114,10 @@ __decorate([
|
|
|
114
114
|
(0, typeorm_1.Column)({ type: 'time', nullable: true }),
|
|
115
115
|
__metadata("design:type", Object)
|
|
116
116
|
], MeetingRequests.prototype, "to_time", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false, nullable: true }),
|
|
119
|
+
__metadata("design:type", Object)
|
|
120
|
+
], MeetingRequests.prototype, "is_all_day", void 0);
|
|
117
121
|
__decorate([
|
|
118
122
|
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
119
123
|
__metadata("design:type", Object)
|
|
@@ -1,15 +1,9 @@
|
|
|
1
1
|
import { BaseModel } from './BaseModel';
|
|
2
2
|
export declare class Projects extends BaseModel {
|
|
3
3
|
project_name: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
project_risks: string;
|
|
7
|
-
project_challenges: string;
|
|
8
|
-
project_description: string;
|
|
9
|
-
project_status: string;
|
|
10
|
-
roadmap_link: string;
|
|
4
|
+
project_purpose: string;
|
|
5
|
+
roadmap_link: string | null;
|
|
11
6
|
template_ids: number[] | null;
|
|
12
7
|
project_version: string;
|
|
13
|
-
|
|
14
|
-
constructor(project_name?: string, project_objective?: string, project_benefits?: string, project_risks?: string, project_challenges?: string, project_description?: string, project_status?: string, roadmap_link?: string | null, template_ids?: number[] | null, project_version?: string, no_of_phases?: number);
|
|
8
|
+
constructor(project_name?: string, project_purpose?: string, roadmap_link?: string | null, template_ids?: number[] | null, project_version?: string);
|
|
15
9
|
}
|
|
@@ -13,19 +13,13 @@ exports.Projects = void 0;
|
|
|
13
13
|
const typeorm_1 = require("typeorm");
|
|
14
14
|
const BaseModel_1 = require("./BaseModel");
|
|
15
15
|
let Projects = class Projects extends BaseModel_1.BaseModel {
|
|
16
|
-
constructor(project_name,
|
|
16
|
+
constructor(project_name, project_purpose, roadmap_link, template_ids, project_version) {
|
|
17
17
|
super();
|
|
18
18
|
this.project_name = project_name || '';
|
|
19
|
-
this.
|
|
20
|
-
this.
|
|
21
|
-
this.
|
|
22
|
-
this.project_challenges = project_challenges || '';
|
|
23
|
-
this.project_description = project_description || '';
|
|
24
|
-
this.project_status = project_status || '';
|
|
25
|
-
this.roadmap_link = roadmap_link || '';
|
|
26
|
-
this.template_ids = template_ids || [];
|
|
19
|
+
this.project_purpose = project_purpose || '';
|
|
20
|
+
this.roadmap_link = roadmap_link ?? null;
|
|
21
|
+
this.template_ids = template_ids ?? null;
|
|
27
22
|
this.project_version = project_version || '';
|
|
28
|
-
this.no_of_phases = no_of_phases ?? 0;
|
|
29
23
|
}
|
|
30
24
|
};
|
|
31
25
|
exports.Projects = Projects;
|
|
@@ -34,46 +28,22 @@ __decorate([
|
|
|
34
28
|
__metadata("design:type", String)
|
|
35
29
|
], Projects.prototype, "project_name", void 0);
|
|
36
30
|
__decorate([
|
|
37
|
-
(0, typeorm_1.Column)({ type: 'text'
|
|
38
|
-
__metadata("design:type", String)
|
|
39
|
-
], Projects.prototype, "project_objective", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
42
|
-
__metadata("design:type", String)
|
|
43
|
-
], Projects.prototype, "project_benefits", void 0);
|
|
44
|
-
__decorate([
|
|
45
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
46
|
-
__metadata("design:type", String)
|
|
47
|
-
], Projects.prototype, "project_risks", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
50
32
|
__metadata("design:type", String)
|
|
51
|
-
], Projects.prototype, "
|
|
33
|
+
], Projects.prototype, "project_purpose", void 0);
|
|
52
34
|
__decorate([
|
|
53
35
|
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
54
|
-
__metadata("design:type",
|
|
55
|
-
], Projects.prototype, "project_description", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], Projects.prototype, "project_status", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
62
|
-
__metadata("design:type", String)
|
|
36
|
+
__metadata("design:type", Object)
|
|
63
37
|
], Projects.prototype, "roadmap_link", void 0);
|
|
64
38
|
__decorate([
|
|
65
39
|
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
66
40
|
__metadata("design:type", Object)
|
|
67
41
|
], Projects.prototype, "template_ids", void 0);
|
|
68
42
|
__decorate([
|
|
69
|
-
(0, typeorm_1.Column)({ type: 'varchar', length: 100
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
70
44
|
__metadata("design:type", String)
|
|
71
45
|
], Projects.prototype, "project_version", void 0);
|
|
72
|
-
__decorate([
|
|
73
|
-
(0, typeorm_1.Column)({ type: 'int', default: 0, nullable: true }),
|
|
74
|
-
__metadata("design:type", Number)
|
|
75
|
-
], Projects.prototype, "no_of_phases", void 0);
|
|
76
46
|
exports.Projects = Projects = __decorate([
|
|
77
47
|
(0, typeorm_1.Entity)({ name: 'projects' }),
|
|
78
|
-
__metadata("design:paramtypes", [String, String,
|
|
48
|
+
__metadata("design:paramtypes", [String, String, Object, Object, String])
|
|
79
49
|
], Projects);
|
|
@@ -0,0 +1,34 @@
|
|
|
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.QuestionTags = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let QuestionTags = class QuestionTags extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(name, question_Id) {
|
|
17
|
+
super();
|
|
18
|
+
this.name = name,
|
|
19
|
+
this.question_Id = question_Id;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.QuestionTags = QuestionTags;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], QuestionTags.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ nullable: true }),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], QuestionTags.prototype, "question_Id", void 0);
|
|
31
|
+
exports.QuestionTags = QuestionTags = __decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'question_tags' }),
|
|
33
|
+
__metadata("design:paramtypes", [String, Number])
|
|
34
|
+
], QuestionTags);
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -302,14 +302,6 @@ export * from './models/GiftsModel';
|
|
|
302
302
|
export * from './models/GiftAttachmentModel';
|
|
303
303
|
export * from './models/ProjectModel';
|
|
304
304
|
export * from './models/TemplateModel';
|
|
305
|
-
export * from './models/ProjectScopeModel';
|
|
306
|
-
export * from './models/ProjectMilestonesModel';
|
|
307
|
-
export * from './models/ProjectInvoicesModel';
|
|
308
|
-
export * from './models/ProjectResourcesModel';
|
|
309
|
-
export * from './models/ProjectResourceUsersModel';
|
|
310
|
-
export * from './models/ProjectFaqModel';
|
|
311
|
-
export * from './models/ProjectFaqReactionsModel';
|
|
312
|
-
export * from './models/ProjectContactsModel';
|
|
313
305
|
|
|
314
306
|
// Employee Milestones Models
|
|
315
307
|
export * from './models/EmployeeMilestonesModel';
|
|
@@ -73,6 +73,9 @@ export class AppointmentRequests extends BaseModel {
|
|
|
73
73
|
@Column({ type: 'time', nullable: true })
|
|
74
74
|
to_time: string | null;
|
|
75
75
|
|
|
76
|
+
@Column({ type: 'boolean', default: false, nullable: true })
|
|
77
|
+
is_all_day: boolean | null;
|
|
78
|
+
|
|
76
79
|
@Column({ type: 'text', nullable: true })
|
|
77
80
|
description: string | null;
|
|
78
81
|
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import { Column, Entity } from "typeorm";
|
|
2
|
-
import { BaseModel } from './BaseModel';
|
|
3
|
-
|
|
4
|
-
export enum DiplomaticAcademyStatus {
|
|
5
|
-
SUBMITTED = "Submitted",
|
|
6
|
-
PENDING = "Pending",
|
|
7
|
-
ASSIGNED = "Assigned",
|
|
8
|
-
IN_PROGRESS = "In Progress",
|
|
9
|
-
APPROVED = "Approved",
|
|
10
|
-
REJECTED = "Rejected"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@Entity({ name: 'diplomatic_academy_requests' })
|
|
14
|
-
export class DiplomaticAcademyRequests extends BaseModel {
|
|
15
|
-
|
|
16
|
-
// Common columns
|
|
17
|
-
@Column({ type: 'int', nullable: true })
|
|
18
|
-
req_user_department_id: number | null;
|
|
19
|
-
|
|
20
|
-
@Column({ type: 'int', nullable: true })
|
|
21
|
-
req_user_section_id: number | null;
|
|
22
|
-
|
|
23
|
-
@Column({ type: 'int', nullable: true })
|
|
24
|
-
service_id: number | null;
|
|
25
|
-
|
|
26
|
-
@Column({ type: 'int', nullable: true })
|
|
27
|
-
sub_service_id: number | null;
|
|
28
|
-
|
|
29
|
-
@Column({ type: 'int', nullable: false })
|
|
30
|
-
user_id: number;
|
|
31
|
-
|
|
32
|
-
// Diplomatic Academy specific columns
|
|
33
|
-
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
34
|
-
course_name: string;
|
|
35
|
-
|
|
36
|
-
@Column({ type: 'jsonb', nullable: true })
|
|
37
|
-
cost_details: {
|
|
38
|
-
material_price?: number;
|
|
39
|
-
transportation?: number;
|
|
40
|
-
accommodation?: number;
|
|
41
|
-
allowances?: number;
|
|
42
|
-
food?: number;
|
|
43
|
-
present?: number;
|
|
44
|
-
} | null;
|
|
45
|
-
|
|
46
|
-
@Column({ type: 'int', nullable: false })
|
|
47
|
-
estimated_participants: number;
|
|
48
|
-
|
|
49
|
-
@Column({ type: 'date', nullable: false })
|
|
50
|
-
timeline_date_from: Date;
|
|
51
|
-
|
|
52
|
-
@Column({ type: 'date', nullable: false })
|
|
53
|
-
timeline_date_to: Date;
|
|
54
|
-
|
|
55
|
-
@Column({ type: 'time', nullable: true })
|
|
56
|
-
timeline_time_from: string | null;
|
|
57
|
-
|
|
58
|
-
@Column({ type: 'time', nullable: true })
|
|
59
|
-
timeline_time_to: string | null;
|
|
60
|
-
|
|
61
|
-
@Column({ type: 'jsonb', nullable: false })
|
|
62
|
-
participants_details: Array<{
|
|
63
|
-
full_name: string;
|
|
64
|
-
passport: string;
|
|
65
|
-
age: number;
|
|
66
|
-
qualifications: string;
|
|
67
|
-
experience: string;
|
|
68
|
-
institution: string;
|
|
69
|
-
}>;
|
|
70
|
-
|
|
71
|
-
@Column({ type: 'enum', enum: DiplomaticAcademyStatus, default: DiplomaticAcademyStatus.PENDING, nullable: false })
|
|
72
|
-
status: DiplomaticAcademyStatus;
|
|
73
|
-
|
|
74
|
-
@Column({ type: 'int', nullable: true })
|
|
75
|
-
course_id: number | null;
|
|
76
|
-
|
|
77
|
-
@Column({ type: 'varchar', nullable: true })
|
|
78
|
-
workflow_execution_id: string | null;
|
|
79
|
-
|
|
80
|
-
}
|
|
1
|
+
import { Column, Entity } from "typeorm";
|
|
2
|
+
import { BaseModel } from './BaseModel';
|
|
3
|
+
|
|
4
|
+
export enum DiplomaticAcademyStatus {
|
|
5
|
+
SUBMITTED = "Submitted",
|
|
6
|
+
PENDING = "Pending",
|
|
7
|
+
ASSIGNED = "Assigned",
|
|
8
|
+
IN_PROGRESS = "In Progress",
|
|
9
|
+
APPROVED = "Approved",
|
|
10
|
+
REJECTED = "Rejected"
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@Entity({ name: 'diplomatic_academy_requests' })
|
|
14
|
+
export class DiplomaticAcademyRequests extends BaseModel {
|
|
15
|
+
|
|
16
|
+
// Common columns
|
|
17
|
+
@Column({ type: 'int', nullable: true })
|
|
18
|
+
req_user_department_id: number | null;
|
|
19
|
+
|
|
20
|
+
@Column({ type: 'int', nullable: true })
|
|
21
|
+
req_user_section_id: number | null;
|
|
22
|
+
|
|
23
|
+
@Column({ type: 'int', nullable: true })
|
|
24
|
+
service_id: number | null;
|
|
25
|
+
|
|
26
|
+
@Column({ type: 'int', nullable: true })
|
|
27
|
+
sub_service_id: number | null;
|
|
28
|
+
|
|
29
|
+
@Column({ type: 'int', nullable: false })
|
|
30
|
+
user_id: number;
|
|
31
|
+
|
|
32
|
+
// Diplomatic Academy specific columns
|
|
33
|
+
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
34
|
+
course_name: string;
|
|
35
|
+
|
|
36
|
+
@Column({ type: 'jsonb', nullable: true })
|
|
37
|
+
cost_details: {
|
|
38
|
+
material_price?: number;
|
|
39
|
+
transportation?: number;
|
|
40
|
+
accommodation?: number;
|
|
41
|
+
allowances?: number;
|
|
42
|
+
food?: number;
|
|
43
|
+
present?: number;
|
|
44
|
+
} | null;
|
|
45
|
+
|
|
46
|
+
@Column({ type: 'int', nullable: false })
|
|
47
|
+
estimated_participants: number;
|
|
48
|
+
|
|
49
|
+
@Column({ type: 'date', nullable: false })
|
|
50
|
+
timeline_date_from: Date;
|
|
51
|
+
|
|
52
|
+
@Column({ type: 'date', nullable: false })
|
|
53
|
+
timeline_date_to: Date;
|
|
54
|
+
|
|
55
|
+
@Column({ type: 'time', nullable: true })
|
|
56
|
+
timeline_time_from: string | null;
|
|
57
|
+
|
|
58
|
+
@Column({ type: 'time', nullable: true })
|
|
59
|
+
timeline_time_to: string | null;
|
|
60
|
+
|
|
61
|
+
@Column({ type: 'jsonb', nullable: false })
|
|
62
|
+
participants_details: Array<{
|
|
63
|
+
full_name: string;
|
|
64
|
+
passport: string;
|
|
65
|
+
age: number;
|
|
66
|
+
qualifications: string;
|
|
67
|
+
experience: string;
|
|
68
|
+
institution: string;
|
|
69
|
+
}>;
|
|
70
|
+
|
|
71
|
+
@Column({ type: 'enum', enum: DiplomaticAcademyStatus, default: DiplomaticAcademyStatus.PENDING, nullable: false })
|
|
72
|
+
status: DiplomaticAcademyStatus;
|
|
73
|
+
|
|
74
|
+
@Column({ type: 'int', nullable: true })
|
|
75
|
+
course_id: number | null;
|
|
76
|
+
|
|
77
|
+
@Column({ type: 'varchar', nullable: true })
|
|
78
|
+
workflow_execution_id: string | null;
|
|
79
|
+
|
|
80
|
+
}
|