@platform-modules/foreign-ministry 1.3.141 → 1.3.143
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 +6 -15
- package/dist/data-source.js +2 -12
- package/dist/index.d.ts +1 -10
- package/dist/index.js +2 -23
- package/dist/models/MissionTravelClassConfigModel.d.ts +10 -0
- package/dist/models/MissionTravelClassConfigModel.js +50 -0
- package/dist/models/MissionTravelPerdiemModel.d.ts +10 -0
- package/dist/models/MissionTravelPerdiemModel.js +54 -0
- package/dist/models/ProjectModel.d.ts +9 -0
- package/dist/models/ProjectModel.js +49 -0
- package/package.json +1 -1
- package/src/data-source.ts +2 -12
- package/src/index.ts +1 -12
- package/src/models/DocumentTranslationRequestModel.ts +54 -54
- package/src/models/LeaveConfigModel.ts +71 -71
- 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 +35 -0
- package/src/models/RegisterCandidateRequestModel.ts +177 -177
- package/src/models/SectionModel.ts +35 -35
- package/src/models/ServicesNotificationConfigsModel.ts +55 -55
- package/dist/models/AppointmentApprovalModel.d.ts +0 -22
- package/dist/models/AppointmentApprovalModel.js +0 -84
- package/dist/models/AppointmentAttachmentModel.d.ts +0 -11
- package/dist/models/AppointmentAttachmentModel.js +0 -52
- package/dist/models/AppointmentAttendeeModel.d.ts +0 -14
- package/dist/models/AppointmentAttendeeModel.js +0 -47
- package/dist/models/AppointmentChatModel.d.ts +0 -19
- package/dist/models/AppointmentChatModel.js +0 -77
- package/dist/models/AppointmentRequestModel.d.ts +0 -47
- package/dist/models/AppointmentRequestModel.js +0 -126
- package/dist/models/AppointmentWorkflowModel.d.ts +0 -17
- package/dist/models/AppointmentWorkflowModel.js +0 -62
- package/dist/models/HelpContentMappedCategoriesModel.d.ts +0 -6
- package/dist/models/HelpContentMappedCategoriesModel.js +0 -34
- package/dist/models/HelpContentMappedTagsModel.d.ts +0 -6
- package/dist/models/HelpContentMappedTagsModel.js +0 -34
- package/dist/models/HelpContentTagsModel.d.ts +0 -5
- package/dist/models/HelpContentTagsModel.js +0 -29
- package/dist/models/questionTagsModel.d.ts +0 -6
- package/dist/models/questionTagsModel.js +0 -34
- package/src/models/AppointmentApprovalModel.ts +0 -57
- package/src/models/AppointmentAttachmentModel.ts +0 -30
- package/src/models/AppointmentAttendeeModel.ts +0 -28
- package/src/models/AppointmentChatModel.ts +0 -64
- package/src/models/AppointmentRequestModel.ts +0 -93
- package/src/models/AppointmentWorkflowModel.ts +0 -39
- /package/src/models/{LeaveConfigGradesModel.ts → LeaveConfigGradesModel.Ts} +0 -0
package/.env
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
# DB_HOST=localhost
|
|
2
|
-
# DB_PORT=
|
|
2
|
+
# DB_PORT=5432
|
|
3
3
|
# DB_USER=postgres
|
|
4
|
-
# DB_PASS=
|
|
4
|
+
# DB_PASS=stevejobs
|
|
5
5
|
# DB_NAME=FM
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
|
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
|
package/dist/data-source.js
CHANGED
|
@@ -170,12 +170,6 @@ const MeetingAttachmentModel_1 = require("./models/MeetingAttachmentModel");
|
|
|
170
170
|
const MeetingChatModel_1 = require("./models/MeetingChatModel");
|
|
171
171
|
const MeetingWorkflowModel_1 = require("./models/MeetingWorkflowModel");
|
|
172
172
|
const MeetingAttendeeModel_1 = require("./models/MeetingAttendeeModel");
|
|
173
|
-
const AppointmentRequestModel_1 = require("./models/AppointmentRequestModel");
|
|
174
|
-
const AppointmentApprovalModel_1 = require("./models/AppointmentApprovalModel");
|
|
175
|
-
const AppointmentAttachmentModel_1 = require("./models/AppointmentAttachmentModel");
|
|
176
|
-
const AppointmentChatModel_1 = require("./models/AppointmentChatModel");
|
|
177
|
-
const AppointmentWorkflowModel_1 = require("./models/AppointmentWorkflowModel");
|
|
178
|
-
const AppointmentAttendeeModel_1 = require("./models/AppointmentAttendeeModel");
|
|
179
173
|
const HallRequestModel_1 = require("./models/HallRequestModel");
|
|
180
174
|
const HallApprovalModel_1 = require("./models/HallApprovalModel");
|
|
181
175
|
const HallAttachmentModel_1 = require("./models/HallAttachmentModel");
|
|
@@ -184,6 +178,7 @@ const HallWorkflowModel_1 = require("./models/HallWorkflowModel");
|
|
|
184
178
|
const HallMasterModel_1 = require("./models/HallMasterModel");
|
|
185
179
|
const HallHistoryModel_1 = require("./models/HallHistoryModel");
|
|
186
180
|
const GiftsModel_1 = require("./models/GiftsModel");
|
|
181
|
+
const ProjectModel_1 = require("./models/ProjectModel");
|
|
187
182
|
const GiftAttachmentModel_1 = require("./models/GiftAttachmentModel");
|
|
188
183
|
exports.AppDataSource = new typeorm_1.DataSource({
|
|
189
184
|
type: 'postgres',
|
|
@@ -360,12 +355,6 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
360
355
|
MeetingChatModel_1.MeetingRequestChat,
|
|
361
356
|
MeetingWorkflowModel_1.MeetingWorkFlow,
|
|
362
357
|
MeetingAttendeeModel_1.MeetingAttendees,
|
|
363
|
-
AppointmentRequestModel_1.AppointmentRequests,
|
|
364
|
-
AppointmentApprovalModel_1.AppointmentApprovalDetails,
|
|
365
|
-
AppointmentAttachmentModel_1.AppointmentRequestAttachment,
|
|
366
|
-
AppointmentChatModel_1.AppointmentRequestChat,
|
|
367
|
-
AppointmentWorkflowModel_1.AppointmentWorkFlow,
|
|
368
|
-
AppointmentAttendeeModel_1.AppointmentAttendees,
|
|
369
358
|
HallRequestModel_1.HallRequests,
|
|
370
359
|
HallApprovalModel_1.HallApprovalDetails,
|
|
371
360
|
HallAttachmentModel_1.HallRequestAttachment,
|
|
@@ -375,5 +364,6 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
375
364
|
HallHistoryModel_1.HallHistory,
|
|
376
365
|
GiftsModel_1.Gifts,
|
|
377
366
|
GiftAttachmentModel_1.GiftAttachments,
|
|
367
|
+
ProjectModel_1.Projects,
|
|
378
368
|
],
|
|
379
369
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -260,16 +260,6 @@ export * from './models/MeetingAttachmentModel';
|
|
|
260
260
|
export * from './models/MeetingChatModel';
|
|
261
261
|
export * from './models/MeetingWorkflowModel';
|
|
262
262
|
export * from './models/MeetingAttendeeModel';
|
|
263
|
-
export { AppointmentRequests } from './models/AppointmentRequestModel';
|
|
264
|
-
export { AppointmentApprovalDetails } from './models/AppointmentApprovalModel';
|
|
265
|
-
export { AppointmentRequestAttachment } from './models/AppointmentAttachmentModel';
|
|
266
|
-
export { AppointmentRequestChat } from './models/AppointmentChatModel';
|
|
267
|
-
export { AppointmentWorkFlow } from './models/AppointmentWorkflowModel';
|
|
268
|
-
export { AppointmentAttendees } from './models/AppointmentAttendeeModel';
|
|
269
|
-
export { AppointmentApprovalStatus } from './models/AppointmentApprovalModel';
|
|
270
|
-
export { AppointmentAttendeeStatus } from './models/AppointmentAttendeeModel';
|
|
271
|
-
export { AppointmentMessageType } from './models/AppointmentChatModel';
|
|
272
|
-
export { AppointmentWorkFlowStatus } from './models/AppointmentWorkflowModel';
|
|
273
263
|
export * from './models/HallRequestModel';
|
|
274
264
|
export * from './models/HallApprovalModel';
|
|
275
265
|
export * from './models/HallAttachmentModel';
|
|
@@ -279,6 +269,7 @@ export * from './models/HallMasterModel';
|
|
|
279
269
|
export * from './models/HallHistoryModel';
|
|
280
270
|
export * from './models/GiftsModel';
|
|
281
271
|
export * from './models/GiftAttachmentModel';
|
|
272
|
+
export * from './models/ProjectModel';
|
|
282
273
|
export * from './models/EmployeeMilestonesModel';
|
|
283
274
|
export * from './models/EmployeeMilestoneDetailsModel';
|
|
284
275
|
export * from './models/MissionTravelPassportExpiryNotificationConfigModel';
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.ServicesNotificationTriggerType = exports.
|
|
17
|
+
exports.ServicesNotificationTriggerType = exports.TravelClass = exports.MissionTravelWorkFlowStatus = exports.MissionTravelApprovalStatus = exports.AllowanceRatio = exports.DecisionType = exports.MissionType = exports.MissionTravelStatus = exports.GatePassMessageType = exports.GatePassWorkFlowStatus = exports.GatePassApprovalStatus = exports.GatePassType = exports.GatePassRequestStatus = exports.SecurityDeptMessageType = exports.SecurityDeptAccessType = exports.SecurityDeptRequestStatus = exports.RetiredCardMessageType = exports.RetiredCardWorkFlowStatus = exports.RetiredCardApprovalStatus = exports.RetiredCardAccessType = exports.RetiredCardRequestStatus = exports.TitleCategory = exports.ProfileUpdateRequestStatus = exports.StayAfterHoursTransactionStatus = exports.StayAfterHoursTransaction = exports.StayAfterHoursBalance = exports.EarlyCheckoutTransactionStatus = exports.EarlyCheckoutTransaction = exports.EarlyCheckoutFrequency = exports.EarlyCheckoutConfiguration = exports.EarlyCheckoutBalance = exports.LeaveTransactionStatus = exports.LeaveTransaction = exports.LeaveConfigurationGrades = exports.enumFrequency = exports.LeaveConfiguration = exports.ParcelDepartmentCategory = exports.RegisterCandidateExperienceActivity = void 0;
|
|
18
18
|
__exportStar(require("./models/user"), exports);
|
|
19
19
|
__exportStar(require("./models/role"), exports);
|
|
20
20
|
__exportStar(require("./models/user-sessions"), exports);
|
|
@@ -320,28 +320,6 @@ __exportStar(require("./models/MeetingAttachmentModel"), exports);
|
|
|
320
320
|
__exportStar(require("./models/MeetingChatModel"), exports);
|
|
321
321
|
__exportStar(require("./models/MeetingWorkflowModel"), exports);
|
|
322
322
|
__exportStar(require("./models/MeetingAttendeeModel"), exports);
|
|
323
|
-
// Appointment Models (export entities only to avoid name collisions)
|
|
324
|
-
var AppointmentRequestModel_1 = require("./models/AppointmentRequestModel");
|
|
325
|
-
Object.defineProperty(exports, "AppointmentRequests", { enumerable: true, get: function () { return AppointmentRequestModel_1.AppointmentRequests; } });
|
|
326
|
-
var AppointmentApprovalModel_1 = require("./models/AppointmentApprovalModel");
|
|
327
|
-
Object.defineProperty(exports, "AppointmentApprovalDetails", { enumerable: true, get: function () { return AppointmentApprovalModel_1.AppointmentApprovalDetails; } });
|
|
328
|
-
var AppointmentAttachmentModel_1 = require("./models/AppointmentAttachmentModel");
|
|
329
|
-
Object.defineProperty(exports, "AppointmentRequestAttachment", { enumerable: true, get: function () { return AppointmentAttachmentModel_1.AppointmentRequestAttachment; } });
|
|
330
|
-
var AppointmentChatModel_1 = require("./models/AppointmentChatModel");
|
|
331
|
-
Object.defineProperty(exports, "AppointmentRequestChat", { enumerable: true, get: function () { return AppointmentChatModel_1.AppointmentRequestChat; } });
|
|
332
|
-
var AppointmentWorkflowModel_1 = require("./models/AppointmentWorkflowModel");
|
|
333
|
-
Object.defineProperty(exports, "AppointmentWorkFlow", { enumerable: true, get: function () { return AppointmentWorkflowModel_1.AppointmentWorkFlow; } });
|
|
334
|
-
var AppointmentAttendeeModel_1 = require("./models/AppointmentAttendeeModel");
|
|
335
|
-
Object.defineProperty(exports, "AppointmentAttendees", { enumerable: true, get: function () { return AppointmentAttendeeModel_1.AppointmentAttendees; } });
|
|
336
|
-
// Appointment enums / types
|
|
337
|
-
var AppointmentApprovalModel_2 = require("./models/AppointmentApprovalModel");
|
|
338
|
-
Object.defineProperty(exports, "AppointmentApprovalStatus", { enumerable: true, get: function () { return AppointmentApprovalModel_2.AppointmentApprovalStatus; } });
|
|
339
|
-
var AppointmentAttendeeModel_2 = require("./models/AppointmentAttendeeModel");
|
|
340
|
-
Object.defineProperty(exports, "AppointmentAttendeeStatus", { enumerable: true, get: function () { return AppointmentAttendeeModel_2.AppointmentAttendeeStatus; } });
|
|
341
|
-
var AppointmentChatModel_2 = require("./models/AppointmentChatModel");
|
|
342
|
-
Object.defineProperty(exports, "AppointmentMessageType", { enumerable: true, get: function () { return AppointmentChatModel_2.AppointmentMessageType; } });
|
|
343
|
-
var AppointmentWorkflowModel_2 = require("./models/AppointmentWorkflowModel");
|
|
344
|
-
Object.defineProperty(exports, "AppointmentWorkFlowStatus", { enumerable: true, get: function () { return AppointmentWorkflowModel_2.AppointmentWorkFlowStatus; } });
|
|
345
323
|
// Hall Models
|
|
346
324
|
__exportStar(require("./models/HallRequestModel"), exports);
|
|
347
325
|
__exportStar(require("./models/HallApprovalModel"), exports);
|
|
@@ -352,6 +330,7 @@ __exportStar(require("./models/HallMasterModel"), exports);
|
|
|
352
330
|
__exportStar(require("./models/HallHistoryModel"), exports);
|
|
353
331
|
__exportStar(require("./models/GiftsModel"), exports);
|
|
354
332
|
__exportStar(require("./models/GiftAttachmentModel"), exports);
|
|
333
|
+
__exportStar(require("./models/ProjectModel"), exports);
|
|
355
334
|
// Employee Milestones Models
|
|
356
335
|
__exportStar(require("./models/EmployeeMilestonesModel"), exports);
|
|
357
336
|
__exportStar(require("./models/EmployeeMilestoneDetailsModel"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
import { TravelClass } from './MissionTravelPersonModel';
|
|
3
|
+
export declare class MissionTravelClassConfig extends BaseModel {
|
|
4
|
+
grade: number | null;
|
|
5
|
+
position: string | null;
|
|
6
|
+
travel_class: TravelClass;
|
|
7
|
+
is_active: boolean;
|
|
8
|
+
description: string | null;
|
|
9
|
+
constructor(grade: number | null, position: string | null, travel_class: TravelClass, description: string | null);
|
|
10
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.MissionTravelClassConfig = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
const MissionTravelPersonModel_1 = require("./MissionTravelPersonModel");
|
|
16
|
+
let MissionTravelClassConfig = class MissionTravelClassConfig extends BaseModel_1.BaseModel {
|
|
17
|
+
constructor(grade, position, travel_class, description) {
|
|
18
|
+
super();
|
|
19
|
+
this.grade = grade;
|
|
20
|
+
this.position = position;
|
|
21
|
+
this.travel_class = travel_class;
|
|
22
|
+
this.description = description;
|
|
23
|
+
this.is_active = true;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.MissionTravelClassConfig = MissionTravelClassConfig;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
|
+
__metadata("design:type", Object)
|
|
30
|
+
], MissionTravelClassConfig.prototype, "grade", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], MissionTravelClassConfig.prototype, "position", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'enum', enum: MissionTravelPersonModel_1.TravelClass, nullable: false }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], MissionTravelClassConfig.prototype, "travel_class", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], MissionTravelClassConfig.prototype, "is_active", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], MissionTravelClassConfig.prototype, "description", void 0);
|
|
47
|
+
exports.MissionTravelClassConfig = MissionTravelClassConfig = __decorate([
|
|
48
|
+
(0, typeorm_1.Entity)({ name: 'mission_travel_class_config' }),
|
|
49
|
+
__metadata("design:paramtypes", [Object, Object, String, Object])
|
|
50
|
+
], MissionTravelClassConfig);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class MissionTravelPerdiem extends BaseModel {
|
|
3
|
+
grade: number;
|
|
4
|
+
perdiem_amount: number;
|
|
5
|
+
currency: string | null;
|
|
6
|
+
effective_from: Date | null;
|
|
7
|
+
effective_to: Date | null;
|
|
8
|
+
is_active: boolean;
|
|
9
|
+
constructor(grade: number, perdiem_amount: number, currency: string | null, effective_from: Date | null, effective_to: Date | null);
|
|
10
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.MissionTravelPerdiem = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let MissionTravelPerdiem = class MissionTravelPerdiem extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(grade, perdiem_amount, currency, effective_from, effective_to) {
|
|
17
|
+
super();
|
|
18
|
+
this.grade = grade;
|
|
19
|
+
this.perdiem_amount = perdiem_amount;
|
|
20
|
+
this.currency = currency;
|
|
21
|
+
this.effective_from = effective_from;
|
|
22
|
+
this.effective_to = effective_to;
|
|
23
|
+
this.is_active = true;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.MissionTravelPerdiem = MissionTravelPerdiem;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: false }),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], MissionTravelPerdiem.prototype, "grade", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'decimal', precision: 10, scale: 2, nullable: false }),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], MissionTravelPerdiem.prototype, "perdiem_amount", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], MissionTravelPerdiem.prototype, "currency", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
41
|
+
__metadata("design:type", Object)
|
|
42
|
+
], MissionTravelPerdiem.prototype, "effective_from", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], MissionTravelPerdiem.prototype, "effective_to", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: true }),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], MissionTravelPerdiem.prototype, "is_active", void 0);
|
|
51
|
+
exports.MissionTravelPerdiem = MissionTravelPerdiem = __decorate([
|
|
52
|
+
(0, typeorm_1.Entity)({ name: 'mission_travel_perdiem' }),
|
|
53
|
+
__metadata("design:paramtypes", [Number, Number, Object, Object, Object])
|
|
54
|
+
], MissionTravelPerdiem);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class Projects extends BaseModel {
|
|
3
|
+
project_name: string;
|
|
4
|
+
project_purpose: string;
|
|
5
|
+
roadmap_link: string | null;
|
|
6
|
+
template_ids: number[] | null;
|
|
7
|
+
project_version: string;
|
|
8
|
+
constructor(project_name?: string, project_purpose?: string, roadmap_link?: string | null, template_ids?: number[] | null, project_version?: string);
|
|
9
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
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.Projects = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let Projects = class Projects extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(project_name, project_purpose, roadmap_link, template_ids, project_version) {
|
|
17
|
+
super();
|
|
18
|
+
this.project_name = project_name || '';
|
|
19
|
+
this.project_purpose = project_purpose || '';
|
|
20
|
+
this.roadmap_link = roadmap_link ?? null;
|
|
21
|
+
this.template_ids = template_ids ?? null;
|
|
22
|
+
this.project_version = project_version || '';
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
exports.Projects = Projects;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], Projects.prototype, "project_name", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'text' }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], Projects.prototype, "project_purpose", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], Projects.prototype, "roadmap_link", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
40
|
+
__metadata("design:type", Object)
|
|
41
|
+
], Projects.prototype, "template_ids", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100 }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], Projects.prototype, "project_version", void 0);
|
|
46
|
+
exports.Projects = Projects = __decorate([
|
|
47
|
+
(0, typeorm_1.Entity)({ name: 'projects' }),
|
|
48
|
+
__metadata("design:paramtypes", [String, String, Object, Object, String])
|
|
49
|
+
], Projects);
|
package/package.json
CHANGED
package/src/data-source.ts
CHANGED
|
@@ -176,12 +176,6 @@ import { MeetingRequestAttachment } from './models/MeetingAttachmentModel';
|
|
|
176
176
|
import { MeetingRequestChat } from './models/MeetingChatModel';
|
|
177
177
|
import { MeetingWorkFlow } from './models/MeetingWorkflowModel';
|
|
178
178
|
import { MeetingAttendees } from './models/MeetingAttendeeModel';
|
|
179
|
-
import { AppointmentRequests } from './models/AppointmentRequestModel';
|
|
180
|
-
import { AppointmentApprovalDetails } from './models/AppointmentApprovalModel';
|
|
181
|
-
import { AppointmentRequestAttachment } from './models/AppointmentAttachmentModel';
|
|
182
|
-
import { AppointmentRequestChat } from './models/AppointmentChatModel';
|
|
183
|
-
import { AppointmentWorkFlow } from './models/AppointmentWorkflowModel';
|
|
184
|
-
import { AppointmentAttendees } from './models/AppointmentAttendeeModel';
|
|
185
179
|
import { HallRequests } from './models/HallRequestModel';
|
|
186
180
|
import { HallApprovalDetails } from './models/HallApprovalModel';
|
|
187
181
|
import { HallRequestAttachment } from './models/HallAttachmentModel';
|
|
@@ -190,6 +184,7 @@ import { HallWorkFlow } from './models/HallWorkflowModel';
|
|
|
190
184
|
import { HallMaster } from './models/HallMasterModel';
|
|
191
185
|
import { HallHistory } from './models/HallHistoryModel';
|
|
192
186
|
import { Gifts } from './models/GiftsModel';
|
|
187
|
+
import { Projects } from './models/ProjectModel';
|
|
193
188
|
import { GiftAttachments } from './models/GiftAttachmentModel';
|
|
194
189
|
|
|
195
190
|
|
|
@@ -368,12 +363,6 @@ export const AppDataSource = new DataSource({
|
|
|
368
363
|
MeetingRequestChat,
|
|
369
364
|
MeetingWorkFlow,
|
|
370
365
|
MeetingAttendees,
|
|
371
|
-
AppointmentRequests,
|
|
372
|
-
AppointmentApprovalDetails,
|
|
373
|
-
AppointmentRequestAttachment,
|
|
374
|
-
AppointmentRequestChat,
|
|
375
|
-
AppointmentWorkFlow,
|
|
376
|
-
AppointmentAttendees,
|
|
377
366
|
HallRequests,
|
|
378
367
|
HallApprovalDetails,
|
|
379
368
|
HallRequestAttachment,
|
|
@@ -383,5 +372,6 @@ export const AppDataSource = new DataSource({
|
|
|
383
372
|
HallHistory,
|
|
384
373
|
Gifts,
|
|
385
374
|
GiftAttachments,
|
|
375
|
+
Projects,
|
|
386
376
|
],
|
|
387
377
|
});
|
package/src/index.ts
CHANGED
|
@@ -267,18 +267,6 @@ export * from './models/MeetingAttachmentModel';
|
|
|
267
267
|
export * from './models/MeetingChatModel';
|
|
268
268
|
export * from './models/MeetingWorkflowModel';
|
|
269
269
|
export * from './models/MeetingAttendeeModel';
|
|
270
|
-
// Appointment Models (export entities only to avoid name collisions)
|
|
271
|
-
export { AppointmentRequests } from './models/AppointmentRequestModel';
|
|
272
|
-
export { AppointmentApprovalDetails } from './models/AppointmentApprovalModel';
|
|
273
|
-
export { AppointmentRequestAttachment } from './models/AppointmentAttachmentModel';
|
|
274
|
-
export { AppointmentRequestChat } from './models/AppointmentChatModel';
|
|
275
|
-
export { AppointmentWorkFlow } from './models/AppointmentWorkflowModel';
|
|
276
|
-
export { AppointmentAttendees } from './models/AppointmentAttendeeModel';
|
|
277
|
-
// Appointment enums / types
|
|
278
|
-
export { AppointmentApprovalStatus } from './models/AppointmentApprovalModel';
|
|
279
|
-
export { AppointmentAttendeeStatus } from './models/AppointmentAttendeeModel';
|
|
280
|
-
export { AppointmentMessageType } from './models/AppointmentChatModel';
|
|
281
|
-
export { AppointmentWorkFlowStatus } from './models/AppointmentWorkflowModel';
|
|
282
270
|
// Hall Models
|
|
283
271
|
export * from './models/HallRequestModel';
|
|
284
272
|
export * from './models/HallApprovalModel';
|
|
@@ -290,6 +278,7 @@ export * from './models/HallMasterModel';
|
|
|
290
278
|
export * from './models/HallHistoryModel';
|
|
291
279
|
export * from './models/GiftsModel';
|
|
292
280
|
export * from './models/GiftAttachmentModel';
|
|
281
|
+
export * from './models/ProjectModel';
|
|
293
282
|
|
|
294
283
|
// Employee Milestones Models
|
|
295
284
|
export * from './models/EmployeeMilestonesModel';
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { Column, Entity } from "typeorm";
|
|
2
|
-
import { BaseModel } from './BaseModel';
|
|
3
|
-
|
|
4
|
-
export enum DocumentTranslationStatus {
|
|
5
|
-
SUBMITTED = "Submitted",
|
|
6
|
-
PENDING = "Pending",
|
|
7
|
-
ASSIGNED = "Assigned",
|
|
8
|
-
IN_PROGRESS = "In Progress",
|
|
9
|
-
APPROVED = "Approved",
|
|
10
|
-
REJECTED = "Rejected"
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export enum DocumentClassificationType {
|
|
14
|
-
NORMAL = "Normal",
|
|
15
|
-
CONFIDENTIAL = "Confidential"
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@Entity({ name: 'document_translation_requests' })
|
|
19
|
-
export class DocumentTranslationRequests extends BaseModel {
|
|
20
|
-
|
|
21
|
-
// Common columns
|
|
22
|
-
@Column({ type: 'int', nullable: true })
|
|
23
|
-
req_user_department_id: number | null;
|
|
24
|
-
|
|
25
|
-
@Column({ type: 'int', nullable: true })
|
|
26
|
-
req_user_section_id: number | null;
|
|
27
|
-
|
|
28
|
-
@Column({ type: 'int', nullable: true })
|
|
29
|
-
service_id: number | null;
|
|
30
|
-
|
|
31
|
-
@Column({ type: 'int', nullable: true })
|
|
32
|
-
sub_service_id: number | null;
|
|
33
|
-
|
|
34
|
-
@Column({ type: 'int', nullable: false })
|
|
35
|
-
user_id: number;
|
|
36
|
-
|
|
37
|
-
// Document Translation specific columns
|
|
38
|
-
@Column({ type: 'varchar', length: 255, nullable: false })
|
|
39
|
-
document_type: string;
|
|
40
|
-
|
|
41
|
-
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
42
|
-
document_name: string;
|
|
43
|
-
|
|
44
|
-
@Column({ type: 'enum', enum: DocumentClassificationType, nullable: false })
|
|
45
|
-
document_classification: DocumentClassificationType;
|
|
46
|
-
|
|
47
|
-
@Column({ type: 'enum', enum: DocumentTranslationStatus, default: DocumentTranslationStatus.PENDING, nullable: false })
|
|
48
|
-
status: DocumentTranslationStatus;
|
|
49
|
-
|
|
50
|
-
@Column({ type: 'varchar', nullable: true })
|
|
51
|
-
workflow_execution_id: string | null;
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
1
|
+
import { Column, Entity } from "typeorm";
|
|
2
|
+
import { BaseModel } from './BaseModel';
|
|
3
|
+
|
|
4
|
+
export enum DocumentTranslationStatus {
|
|
5
|
+
SUBMITTED = "Submitted",
|
|
6
|
+
PENDING = "Pending",
|
|
7
|
+
ASSIGNED = "Assigned",
|
|
8
|
+
IN_PROGRESS = "In Progress",
|
|
9
|
+
APPROVED = "Approved",
|
|
10
|
+
REJECTED = "Rejected"
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export enum DocumentClassificationType {
|
|
14
|
+
NORMAL = "Normal",
|
|
15
|
+
CONFIDENTIAL = "Confidential"
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@Entity({ name: 'document_translation_requests' })
|
|
19
|
+
export class DocumentTranslationRequests extends BaseModel {
|
|
20
|
+
|
|
21
|
+
// Common columns
|
|
22
|
+
@Column({ type: 'int', nullable: true })
|
|
23
|
+
req_user_department_id: number | null;
|
|
24
|
+
|
|
25
|
+
@Column({ type: 'int', nullable: true })
|
|
26
|
+
req_user_section_id: number | null;
|
|
27
|
+
|
|
28
|
+
@Column({ type: 'int', nullable: true })
|
|
29
|
+
service_id: number | null;
|
|
30
|
+
|
|
31
|
+
@Column({ type: 'int', nullable: true })
|
|
32
|
+
sub_service_id: number | null;
|
|
33
|
+
|
|
34
|
+
@Column({ type: 'int', nullable: false })
|
|
35
|
+
user_id: number;
|
|
36
|
+
|
|
37
|
+
// Document Translation specific columns
|
|
38
|
+
@Column({ type: 'varchar', length: 255, nullable: false })
|
|
39
|
+
document_type: string;
|
|
40
|
+
|
|
41
|
+
@Column({ type: 'varchar', length: 500, nullable: false })
|
|
42
|
+
document_name: string;
|
|
43
|
+
|
|
44
|
+
@Column({ type: 'enum', enum: DocumentClassificationType, nullable: false })
|
|
45
|
+
document_classification: DocumentClassificationType;
|
|
46
|
+
|
|
47
|
+
@Column({ type: 'enum', enum: DocumentTranslationStatus, default: DocumentTranslationStatus.PENDING, nullable: false })
|
|
48
|
+
status: DocumentTranslationStatus;
|
|
49
|
+
|
|
50
|
+
@Column({ type: 'varchar', nullable: true })
|
|
51
|
+
workflow_execution_id: string | null;
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|