@platform-modules/foreign-ministry 1.3.136 → 1.3.138
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 +4 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/models/HallHistoryModel.d.ts +10 -0
- package/dist/models/HallHistoryModel.js +54 -0
- package/dist/models/HallMasterModel.d.ts +6 -0
- package/dist/models/HallMasterModel.js +34 -0
- package/dist/models/MeetingRequestModel.d.ts +1 -0
- package/dist/models/MeetingRequestModel.js +4 -0
- package/package.json +1 -1
- package/src/data-source.ts +371 -367
- package/src/index.ts +287 -284
- package/src/models/HallHistoryModel.ts +41 -0
- package/src/models/HallMasterModel.ts +18 -0
- package/src/models/MeetingRequestModel.ts +3 -0
package/dist/data-source.js
CHANGED
|
@@ -175,6 +175,8 @@ const HallApprovalModel_1 = require("./models/HallApprovalModel");
|
|
|
175
175
|
const HallAttachmentModel_1 = require("./models/HallAttachmentModel");
|
|
176
176
|
const HallChatModel_1 = require("./models/HallChatModel");
|
|
177
177
|
const HallWorkflowModel_1 = require("./models/HallWorkflowModel");
|
|
178
|
+
const HallMasterModel_1 = require("./models/HallMasterModel");
|
|
179
|
+
const HallHistoryModel_1 = require("./models/HallHistoryModel");
|
|
178
180
|
exports.AppDataSource = new typeorm_1.DataSource({
|
|
179
181
|
type: 'postgres',
|
|
180
182
|
host: process.env.DB_HOST || 'localhost',
|
|
@@ -355,5 +357,7 @@ exports.AppDataSource = new typeorm_1.DataSource({
|
|
|
355
357
|
HallAttachmentModel_1.HallRequestAttachment,
|
|
356
358
|
HallChatModel_1.HallRequestChat,
|
|
357
359
|
HallWorkflowModel_1.HallWorkFlow,
|
|
360
|
+
HallMasterModel_1.HallMaster,
|
|
361
|
+
HallHistoryModel_1.HallHistory,
|
|
358
362
|
],
|
|
359
363
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -265,6 +265,8 @@ export * from './models/HallApprovalModel';
|
|
|
265
265
|
export * from './models/HallAttachmentModel';
|
|
266
266
|
export * from './models/HallChatModel';
|
|
267
267
|
export * from './models/HallWorkflowModel';
|
|
268
|
+
export * from './models/HallMasterModel';
|
|
269
|
+
export * from './models/HallHistoryModel';
|
|
268
270
|
export * from './models/EmployeeMilestonesModel';
|
|
269
271
|
export * from './models/EmployeeMilestoneDetailsModel';
|
|
270
272
|
export * from './models/MissionTravelPassportExpiryNotificationConfigModel';
|
package/dist/index.js
CHANGED
|
@@ -326,6 +326,8 @@ __exportStar(require("./models/HallApprovalModel"), exports);
|
|
|
326
326
|
__exportStar(require("./models/HallAttachmentModel"), exports);
|
|
327
327
|
__exportStar(require("./models/HallChatModel"), exports);
|
|
328
328
|
__exportStar(require("./models/HallWorkflowModel"), exports);
|
|
329
|
+
__exportStar(require("./models/HallMasterModel"), exports);
|
|
330
|
+
__exportStar(require("./models/HallHistoryModel"), exports);
|
|
329
331
|
// Employee Milestones Models
|
|
330
332
|
__exportStar(require("./models/EmployeeMilestonesModel"), exports);
|
|
331
333
|
__exportStar(require("./models/EmployeeMilestoneDetailsModel"), exports);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BaseModel } from './BaseModel';
|
|
2
|
+
export declare class HallHistory extends BaseModel {
|
|
3
|
+
hall_id: number | null;
|
|
4
|
+
location_id: number | null;
|
|
5
|
+
department_id: number | null;
|
|
6
|
+
booked_date: string | null;
|
|
7
|
+
from_time: string | null;
|
|
8
|
+
to_time: string | null;
|
|
9
|
+
constructor(hall_id?: number | null, location_id?: number | null, department_id?: number | null, booked_date?: string | null, from_time?: string | null, to_time?: string | 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.HallHistory = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let HallHistory = class HallHistory extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(hall_id, location_id, department_id, booked_date, from_time, to_time) {
|
|
17
|
+
super();
|
|
18
|
+
this.hall_id = hall_id ?? null;
|
|
19
|
+
this.location_id = location_id ?? null;
|
|
20
|
+
this.department_id = department_id ?? null;
|
|
21
|
+
this.booked_date = booked_date ?? null;
|
|
22
|
+
this.from_time = from_time ?? null;
|
|
23
|
+
this.to_time = to_time ?? null;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
exports.HallHistory = HallHistory;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
|
+
__metadata("design:type", Object)
|
|
30
|
+
], HallHistory.prototype, "hall_id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
33
|
+
__metadata("design:type", Object)
|
|
34
|
+
], HallHistory.prototype, "location_id", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
|
+
], HallHistory.prototype, "department_id", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
41
|
+
__metadata("design:type", Object)
|
|
42
|
+
], HallHistory.prototype, "booked_date", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
45
|
+
__metadata("design:type", Object)
|
|
46
|
+
], HallHistory.prototype, "from_time", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
|
|
49
|
+
__metadata("design:type", Object)
|
|
50
|
+
], HallHistory.prototype, "to_time", void 0);
|
|
51
|
+
exports.HallHistory = HallHistory = __decorate([
|
|
52
|
+
(0, typeorm_1.Entity)({ name: 'hall_histories' }),
|
|
53
|
+
__metadata("design:paramtypes", [Object, Object, Object, Object, Object, Object])
|
|
54
|
+
], HallHistory);
|
|
@@ -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.HallMaster = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const BaseModel_1 = require("./BaseModel");
|
|
15
|
+
let HallMaster = class HallMaster extends BaseModel_1.BaseModel {
|
|
16
|
+
constructor(name, location_id) {
|
|
17
|
+
super();
|
|
18
|
+
this.name = name;
|
|
19
|
+
this.location_id = location_id ?? null;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
exports.HallMaster = HallMaster;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: false }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], HallMaster.prototype, "name", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'int', nullable: true }),
|
|
29
|
+
__metadata("design:type", Object)
|
|
30
|
+
], HallMaster.prototype, "location_id", void 0);
|
|
31
|
+
exports.HallMaster = HallMaster = __decorate([
|
|
32
|
+
(0, typeorm_1.Entity)({ name: 'halls' }),
|
|
33
|
+
__metadata("design:paramtypes", [String, Object])
|
|
34
|
+
], HallMaster);
|
|
@@ -62,6 +62,7 @@ export declare class MeetingRequests extends BaseModel {
|
|
|
62
62
|
external_attendees_required_gate_pass: YesNo | null;
|
|
63
63
|
online_meeting_details: OnlineMeetingDetails | null;
|
|
64
64
|
meeting_link: string | null;
|
|
65
|
+
agenda: string | null;
|
|
65
66
|
meeting_location: MeetingLocation | null;
|
|
66
67
|
status: MeetingRequestStatus;
|
|
67
68
|
workflow_execution_id: string | null;
|
|
@@ -157,6 +157,10 @@ __decorate([
|
|
|
157
157
|
(0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: true }),
|
|
158
158
|
__metadata("design:type", Object)
|
|
159
159
|
], MeetingRequests.prototype, "meeting_link", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
162
|
+
__metadata("design:type", Object)
|
|
163
|
+
], MeetingRequests.prototype, "agenda", void 0);
|
|
160
164
|
__decorate([
|
|
161
165
|
(0, typeorm_1.Column)({ type: 'enum', enum: MeetingLocation, nullable: true }),
|
|
162
166
|
__metadata("design:type", Object)
|