@platform-modules/civil-aviation-authority 2.3.251 → 2.3.253

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.
@@ -250,6 +250,9 @@ const MediaPublicationsApprovalModel_1 = require("./models/MediaPublicationsAppr
250
250
  const MediaPublicationsAttachmentModel_1 = require("./models/MediaPublicationsAttachmentModel");
251
251
  const MediaPublicationsChatModel_1 = require("./models/MediaPublicationsChatModel");
252
252
  const MediaPublicationsWorkflowModel_1 = require("./models/MediaPublicationsWorkflowModel");
253
+ const SlaRequestModel_1 = require("./models/SlaRequestModel");
254
+ const ServiceSlaApprovalModel_1 = require("./models/ServiceSlaApprovalModel");
255
+ const SlaConfigModel_1 = require("./models/SlaConfigModel");
253
256
  exports.AppDataSource = new typeorm_1.DataSource({
254
257
  type: 'postgres',
255
258
  host: process.env.DB_HOST || 'localhost',
@@ -504,5 +507,8 @@ exports.AppDataSource = new typeorm_1.DataSource({
504
507
  MediaPublicationsAttachmentModel_1.MediaPublicationsAttachment,
505
508
  MediaPublicationsChatModel_1.MediaPublicationsChat,
506
509
  MediaPublicationsWorkflowModel_1.MediaPublicationsWorkFlow,
510
+ SlaRequestModel_1.SlaRequest,
511
+ ServiceSlaApprovalModel_1.ServiceSlaApproval,
512
+ SlaConfigModel_1.SlaConfig,
507
513
  ],
508
514
  });
@@ -39,6 +39,7 @@ export declare class MultiPurposeHallRequests extends BaseModel {
39
39
  project_maintenance_support_required: boolean;
40
40
  number_of_guests: number | null;
41
41
  special_requirements: string | null;
42
+ duration: string | null;
42
43
  status: MultiPurposeHallRequestStatus;
43
44
  workflow_execution_id: string | null;
44
45
  }
@@ -130,6 +130,10 @@ __decorate([
130
130
  (0, typeorm_1.Column)({ type: "text", nullable: true }),
131
131
  __metadata("design:type", Object)
132
132
  ], MultiPurposeHallRequests.prototype, "special_requirements", void 0);
133
+ __decorate([
134
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
135
+ __metadata("design:type", Object)
136
+ ], MultiPurposeHallRequests.prototype, "duration", void 0);
133
137
  __decorate([
134
138
  (0, typeorm_1.Column)({
135
139
  type: "enum",
@@ -38,6 +38,7 @@ export declare class VipHallRequests extends BaseModel {
38
38
  project_maintenance_support_required: boolean;
39
39
  number_of_guests: number | null;
40
40
  special_requirements: string | null;
41
+ duration: string | null;
41
42
  status: VipHallRequestStatus;
42
43
  workflow_execution_id: string | null;
43
44
  }
@@ -133,6 +133,10 @@ __decorate([
133
133
  (0, typeorm_1.Column)({ type: "text", nullable: true }),
134
134
  __metadata("design:type", Object)
135
135
  ], VipHallRequests.prototype, "special_requirements", void 0);
136
+ __decorate([
137
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
138
+ __metadata("design:type", Object)
139
+ ], VipHallRequests.prototype, "duration", void 0);
136
140
  __decorate([
137
141
  (0, typeorm_1.Column)({
138
142
  type: "enum",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.3.251",
3
+ "version": "2.3.253",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -248,6 +248,9 @@ import { MediaPublicationsApprovalDetails } from './models/MediaPublicationsAppr
248
248
  import { MediaPublicationsAttachment } from './models/MediaPublicationsAttachmentModel';
249
249
  import { MediaPublicationsChat } from './models/MediaPublicationsChatModel';
250
250
  import { MediaPublicationsWorkFlow } from './models/MediaPublicationsWorkflowModel';
251
+ import { SlaRequest } from './models/SlaRequestModel';
252
+ import { ServiceSlaApproval } from './models/ServiceSlaApprovalModel';
253
+ import { SlaConfig } from './models/SlaConfigModel';
251
254
 
252
255
  export const AppDataSource = new DataSource({
253
256
  type: 'postgres',
@@ -503,5 +506,8 @@ export const AppDataSource = new DataSource({
503
506
  MediaPublicationsAttachment,
504
507
  MediaPublicationsChat,
505
508
  MediaPublicationsWorkFlow,
509
+ SlaRequest,
510
+ ServiceSlaApproval,
511
+ SlaConfig,
506
512
  ],
507
513
  });
@@ -100,6 +100,9 @@ export class MultiPurposeHallRequests extends BaseModel {
100
100
  @Column({ type: "text", nullable: true })
101
101
  special_requirements: string | null;
102
102
 
103
+ @Column({ type: "varchar", length: 100, nullable: true })
104
+ duration: string | null;
105
+
103
106
  @Column({
104
107
  type: "enum",
105
108
  enum: MultiPurposeHallRequestStatus,
@@ -101,6 +101,9 @@ export class VipHallRequests extends BaseModel {
101
101
  @Column({ type: "text", nullable: true })
102
102
  special_requirements: string | null;
103
103
 
104
+ @Column({ type: "varchar", length: 100, nullable: true })
105
+ duration: string | null;
106
+
104
107
  @Column({
105
108
  type: "enum",
106
109
  enum: VipHallRequestStatus,
@@ -1,11 +0,0 @@
1
- -- Mirrors native approval rows in ServiceSlaApproval (shared_models ServiceSlaApprovalModel).
2
- -- Required for Conductor SlaTrackingInsertService and SLA dashboard delegate filtering.
3
- -- Run once against the EmpPortal database (same DB used by Conductor_Server / Asset_Affairs_Service).
4
-
5
- ALTER TABLE sla_approval
6
- ADD COLUMN IF NOT EXISTS delegate_user_id INTEGER NULL,
7
- ADD COLUMN IF NOT EXISTS approved_by INTEGER NULL,
8
- ADD COLUMN IF NOT EXISTS comment VARCHAR(255) NULL;
9
-
10
- CREATE INDEX IF NOT EXISTS idx_sla_approval_delegate_user_id
11
- ON sla_approval (delegate_user_id);