@platform-modules/civil-aviation-authority 2.3.268 → 2.3.270

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.
@@ -30,6 +30,8 @@ export declare class MultiPurposeHallRequests extends BaseModel {
30
30
  event_type: MultiPurposeHallInternalExternal;
31
31
  request_type: MultiPurposeHallInternalExternal;
32
32
  event_date: string;
33
+ /** Last calendar day of the booking when duration spans multiple days; defaults to event_date when omitted. */
34
+ event_end_date: string | null;
33
35
  event_start_time: string;
34
36
  event_end_time: string;
35
37
  meal_required: boolean;
@@ -89,6 +89,10 @@ __decorate([
89
89
  (0, typeorm_1.Column)({ type: "date", nullable: false }),
90
90
  __metadata("design:type", String)
91
91
  ], MultiPurposeHallRequests.prototype, "event_date", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
94
+ __metadata("design:type", Object)
95
+ ], MultiPurposeHallRequests.prototype, "event_end_date", void 0);
92
96
  __decorate([
93
97
  (0, typeorm_1.Column)({ type: "time", nullable: false }),
94
98
  __metadata("design:type", String)
@@ -4,7 +4,14 @@ export declare enum SlaRequestStatus {
4
4
  PENDING = "Pending",
5
5
  IN_PROGRESS = "In Progress",
6
6
  APPROVED = "Approved",
7
- REJECTED = "Rejected"
7
+ REJECTED = "Rejected",
8
+ ASSIGNED = "Assigned",
9
+ COMPLETED = "Completed",
10
+ CLOSED = "Closed",
11
+ RETURNED = "Returned",
12
+ RFC = "RFC",
13
+ REQUEST_FOR_CHANGE = "Request For Change",
14
+ REASSIGNED = "Reassigned"
8
15
  }
9
16
  /**
10
17
  * Cross-service SLA request: common routing/workflow fields plus `request_obj`
@@ -19,6 +19,13 @@ var SlaRequestStatus;
19
19
  SlaRequestStatus["IN_PROGRESS"] = "In Progress";
20
20
  SlaRequestStatus["APPROVED"] = "Approved";
21
21
  SlaRequestStatus["REJECTED"] = "Rejected";
22
+ SlaRequestStatus["ASSIGNED"] = "Assigned";
23
+ SlaRequestStatus["COMPLETED"] = "Completed";
24
+ SlaRequestStatus["CLOSED"] = "Closed";
25
+ SlaRequestStatus["RETURNED"] = "Returned";
26
+ SlaRequestStatus["RFC"] = "RFC";
27
+ SlaRequestStatus["REQUEST_FOR_CHANGE"] = "Request For Change";
28
+ SlaRequestStatus["REASSIGNED"] = "Reassigned";
22
29
  })(SlaRequestStatus || (exports.SlaRequestStatus = SlaRequestStatus = {}));
23
30
  /**
24
31
  * Cross-service SLA request: common routing/workflow fields plus `request_obj`
@@ -27,6 +27,8 @@ export declare class VipHallRequests extends BaseModel {
27
27
  event_type: VipHallInternalExternal;
28
28
  request_type: VipHallInternalExternal;
29
29
  event_date: string;
30
+ /** Last calendar day of the booking when duration spans multiple days; defaults to event_date when omitted. */
31
+ event_end_date: string | null;
30
32
  event_start_time: string;
31
33
  event_end_time: string;
32
34
  /** Purpose of the meeting (mandatory in API validation). */
@@ -88,6 +88,10 @@ __decorate([
88
88
  (0, typeorm_1.Column)({ type: "date", nullable: false }),
89
89
  __metadata("design:type", String)
90
90
  ], VipHallRequests.prototype, "event_date", void 0);
91
+ __decorate([
92
+ (0, typeorm_1.Column)({ type: "date", nullable: true }),
93
+ __metadata("design:type", Object)
94
+ ], VipHallRequests.prototype, "event_end_date", void 0);
91
95
  __decorate([
92
96
  (0, typeorm_1.Column)({ type: "time", nullable: false }),
93
97
  __metadata("design:type", String)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.3.268",
3
+ "version": "2.3.270",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -68,6 +68,10 @@ export class MultiPurposeHallRequests extends BaseModel {
68
68
  @Column({ type: "date", nullable: false })
69
69
  event_date: string;
70
70
 
71
+ /** Last calendar day of the booking when duration spans multiple days; defaults to event_date when omitted. */
72
+ @Column({ type: "date", nullable: true })
73
+ event_end_date: string | null;
74
+
71
75
  @Column({ type: "time", nullable: false })
72
76
  event_start_time: string;
73
77
 
@@ -6,7 +6,14 @@ export enum SlaRequestStatus {
6
6
  PENDING = "Pending",
7
7
  IN_PROGRESS = "In Progress",
8
8
  APPROVED = "Approved",
9
- REJECTED = "Rejected"
9
+ REJECTED = "Rejected",
10
+ ASSIGNED = "Assigned",
11
+ COMPLETED = "Completed",
12
+ CLOSED = "Closed",
13
+ RETURNED = "Returned",
14
+ RFC = "RFC",
15
+ REQUEST_FOR_CHANGE = "Request For Change",
16
+ REASSIGNED = "Reassigned"
10
17
  }
11
18
 
12
19
  /**
@@ -65,6 +65,10 @@ export class VipHallRequests extends BaseModel {
65
65
  @Column({ type: "date", nullable: false })
66
66
  event_date: string;
67
67
 
68
+ /** Last calendar day of the booking when duration spans multiple days; defaults to event_date when omitted. */
69
+ @Column({ type: "date", nullable: true })
70
+ event_end_date: string | null;
71
+
68
72
  @Column({ type: "time", nullable: false })
69
73
  event_start_time: string;
70
74