@platform-modules/foreign-ministry 1.3.137 → 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.
@@ -176,6 +176,7 @@ const HallAttachmentModel_1 = require("./models/HallAttachmentModel");
176
176
  const HallChatModel_1 = require("./models/HallChatModel");
177
177
  const HallWorkflowModel_1 = require("./models/HallWorkflowModel");
178
178
  const HallMasterModel_1 = require("./models/HallMasterModel");
179
+ const HallHistoryModel_1 = require("./models/HallHistoryModel");
179
180
  exports.AppDataSource = new typeorm_1.DataSource({
180
181
  type: 'postgres',
181
182
  host: process.env.DB_HOST || 'localhost',
@@ -357,5 +358,6 @@ exports.AppDataSource = new typeorm_1.DataSource({
357
358
  HallChatModel_1.HallRequestChat,
358
359
  HallWorkflowModel_1.HallWorkFlow,
359
360
  HallMasterModel_1.HallMaster,
361
+ HallHistoryModel_1.HallHistory,
360
362
  ],
361
363
  });
package/dist/index.d.ts CHANGED
@@ -266,6 +266,7 @@ export * from './models/HallAttachmentModel';
266
266
  export * from './models/HallChatModel';
267
267
  export * from './models/HallWorkflowModel';
268
268
  export * from './models/HallMasterModel';
269
+ export * from './models/HallHistoryModel';
269
270
  export * from './models/EmployeeMilestonesModel';
270
271
  export * from './models/EmployeeMilestoneDetailsModel';
271
272
  export * from './models/MissionTravelPassportExpiryNotificationConfigModel';
package/dist/index.js CHANGED
@@ -327,6 +327,7 @@ __exportStar(require("./models/HallAttachmentModel"), exports);
327
327
  __exportStar(require("./models/HallChatModel"), exports);
328
328
  __exportStar(require("./models/HallWorkflowModel"), exports);
329
329
  __exportStar(require("./models/HallMasterModel"), exports);
330
+ __exportStar(require("./models/HallHistoryModel"), exports);
330
331
  // Employee Milestones Models
331
332
  __exportStar(require("./models/EmployeeMilestonesModel"), exports);
332
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);
@@ -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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/foreign-ministry",
3
- "version": "1.3.137",
3
+ "version": "1.3.138",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -182,6 +182,7 @@ import { HallRequestAttachment } from './models/HallAttachmentModel';
182
182
  import { HallRequestChat } from './models/HallChatModel';
183
183
  import { HallWorkFlow } from './models/HallWorkflowModel';
184
184
  import { HallMaster } from './models/HallMasterModel';
185
+ import { HallHistory } from './models/HallHistoryModel';
185
186
 
186
187
 
187
188
  export const AppDataSource = new DataSource({
@@ -365,5 +366,6 @@ export const AppDataSource = new DataSource({
365
366
  HallRequestChat,
366
367
  HallWorkFlow,
367
368
  HallMaster,
369
+ HallHistory,
368
370
  ],
369
371
  });
package/src/index.ts CHANGED
@@ -275,6 +275,8 @@ export * from './models/HallChatModel';
275
275
  export * from './models/HallWorkflowModel';
276
276
  export * from './models/HallMasterModel';
277
277
 
278
+ export * from './models/HallHistoryModel';
279
+
278
280
  // Employee Milestones Models
279
281
  export * from './models/EmployeeMilestonesModel';
280
282
  export * from './models/EmployeeMilestoneDetailsModel';
@@ -0,0 +1,41 @@
1
+ import { Column, Entity } from 'typeorm';
2
+ import { BaseModel } from './BaseModel';
3
+
4
+ @Entity({ name: 'hall_histories' })
5
+ export class HallHistory extends BaseModel {
6
+ @Column({ type: 'int', nullable: true })
7
+ hall_id: number | null;
8
+
9
+ @Column({ type: 'int', nullable: true })
10
+ location_id: number | null;
11
+
12
+ @Column({ type: 'int', nullable: true })
13
+ department_id: number | null;
14
+
15
+ @Column({ type: 'date', nullable: true })
16
+ booked_date: string | null;
17
+
18
+ @Column({ type: 'varchar', length: 50, nullable: true })
19
+ from_time: string | null;
20
+
21
+ @Column({ type: 'varchar', length: 50, nullable: true })
22
+ to_time: string | null;
23
+
24
+ constructor(
25
+ hall_id?: number | null,
26
+ location_id?: number | null,
27
+ department_id?: number | null,
28
+ booked_date?: string | null,
29
+ from_time?: string | null,
30
+ to_time?: string | null
31
+ ) {
32
+ super();
33
+ this.hall_id = hall_id ?? null;
34
+ this.location_id = location_id ?? null;
35
+ this.department_id = department_id ?? null;
36
+ this.booked_date = booked_date ?? null;
37
+ this.from_time = from_time ?? null;
38
+ this.to_time = to_time ?? null;
39
+ }
40
+ }
41
+
@@ -121,6 +121,9 @@ export class MeetingRequests extends BaseModel {
121
121
  @Column({ type: 'varchar', length: 500, nullable: true })
122
122
  meeting_link: string | null;
123
123
 
124
+ @Column({ type: 'text', nullable: true })
125
+ agenda: string | null;
126
+
124
127
  @Column({ type: 'enum', enum: MeetingLocation, nullable: true })
125
128
  meeting_location: MeetingLocation | null;
126
129