@platform-modules/civil-aviation-authority 2.2.304 → 2.2.306

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.
@@ -9,6 +9,7 @@ export declare class HotelWorkFlow extends BaseModel {
9
9
  service_id: number | null;
10
10
  sub_service_id: number | null;
11
11
  content: string;
12
+ level: number | null;
12
13
  status: HotelWorkFlowStatus;
13
- constructor(request_id: number, content: string, status: HotelWorkFlowStatus, service_id?: number, sub_service_id?: number);
14
+ constructor(request_id: number, content: string, status: HotelWorkFlowStatus, service_id?: number, sub_service_id?: number, level?: number | null);
14
15
  }
@@ -20,12 +20,13 @@ var HotelWorkFlowStatus;
20
20
  })(HotelWorkFlowStatus || (exports.HotelWorkFlowStatus = HotelWorkFlowStatus = {}));
21
21
  //This model is used to store the logistics workflow status and activity logs
22
22
  let HotelWorkFlow = class HotelWorkFlow extends BaseModel_1.BaseModel {
23
- constructor(request_id, content, status, service_id, sub_service_id) {
23
+ constructor(request_id, content, status, service_id, sub_service_id, level) {
24
24
  super();
25
25
  this.request_id = request_id;
26
26
  this.service_id = service_id || null;
27
27
  this.sub_service_id = sub_service_id || null;
28
28
  this.content = content;
29
+ this.level = level || null;
29
30
  this.status = status;
30
31
  }
31
32
  };
@@ -46,11 +47,15 @@ __decorate([
46
47
  (0, typeorm_1.Column)({ type: 'varchar', length: 500, nullable: false }),
47
48
  __metadata("design:type", String)
48
49
  ], HotelWorkFlow.prototype, "content", void 0);
50
+ __decorate([
51
+ (0, typeorm_1.Column)({ type: 'integer', nullable: true }),
52
+ __metadata("design:type", Object)
53
+ ], HotelWorkFlow.prototype, "level", void 0);
49
54
  __decorate([
50
55
  (0, typeorm_1.Column)({ type: 'enum', enum: HotelWorkFlowStatus, default: HotelWorkFlowStatus.NOT_YET_STARTED, nullable: false }),
51
56
  __metadata("design:type", String)
52
57
  ], HotelWorkFlow.prototype, "status", void 0);
53
58
  exports.HotelWorkFlow = HotelWorkFlow = __decorate([
54
59
  (0, typeorm_1.Entity)({ name: 'hotel_workflows' }),
55
- __metadata("design:paramtypes", [Number, String, String, Number, Number])
60
+ __metadata("design:paramtypes", [Number, String, String, Number, Number, Object])
56
61
  ], HotelWorkFlow);
@@ -67,4 +67,6 @@ export declare class VpnRequest extends BaseModel {
67
67
  assigned_to_user_id: number | null;
68
68
  assigned_at: Date | null;
69
69
  workflow_execution_id: string | null;
70
+ contractor_user_id: number | null;
71
+ contractor_email: string | null;
70
72
  }
@@ -170,6 +170,14 @@ __decorate([
170
170
  (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
171
171
  __metadata("design:type", Object)
172
172
  ], VpnRequest.prototype, "workflow_execution_id", void 0);
173
+ __decorate([
174
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
175
+ __metadata("design:type", Object)
176
+ ], VpnRequest.prototype, "contractor_user_id", void 0);
177
+ __decorate([
178
+ (0, typeorm_1.Column)({ type: "varchar", length: 255, nullable: true }),
179
+ __metadata("design:type", Object)
180
+ ], VpnRequest.prototype, "contractor_email", void 0);
173
181
  exports.VpnRequest = VpnRequest = __decorate([
174
182
  (0, typeorm_1.Entity)({ name: "vpn_requests" })
175
183
  ], VpnRequest);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.2.304",
3
+ "version": "2.2.306",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -22,6 +22,9 @@ export class HotelWorkFlow extends BaseModel {
22
22
  @Column({ type: 'varchar', length: 500, nullable: false })
23
23
  content: string;
24
24
 
25
+ @Column({ type: 'integer', nullable: true })
26
+ level: number | null;
27
+
25
28
  @Column({ type: 'enum', enum: HotelWorkFlowStatus, default: HotelWorkFlowStatus.NOT_YET_STARTED, nullable: false })
26
29
  status: HotelWorkFlowStatus;
27
30
 
@@ -30,13 +33,15 @@ export class HotelWorkFlow extends BaseModel {
30
33
  content: string,
31
34
  status: HotelWorkFlowStatus,
32
35
  service_id?: number,
33
- sub_service_id?: number
36
+ sub_service_id?: number,
37
+ level?: number | null
34
38
  ) {
35
39
  super();
36
40
  this.request_id = request_id;
37
41
  this.service_id = service_id || null;
38
42
  this.sub_service_id = sub_service_id || null;
39
43
  this.content = content;
44
+ this.level = level || null;
40
45
  this.status = status;
41
46
  }
42
47
  }
@@ -130,6 +130,12 @@ export class VpnRequest extends BaseModel {
130
130
 
131
131
  @Column({ type: "varchar", length: 255, nullable: true })
132
132
  workflow_execution_id: string | null;
133
+
134
+ @Column({ type: "integer", nullable: true })
135
+ contractor_user_id: number | null;
136
+
137
+ @Column({ type: "varchar", length: 255, nullable: true })
138
+ contractor_email: string | null;
133
139
  }
134
140
 
135
141