@platform-modules/civil-aviation-authority 1.0.41 → 1.0.42

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.
@@ -22,5 +22,6 @@ export declare class ITHelpDeskRequests extends BaseModel {
22
22
  reporting_manager: number;
23
23
  assigned_to: number;
24
24
  status: status;
25
- constructor(department: string, service_type: string, problem: string, request_for: ContactFor, description: string, extn_num: string, contact_num: string, request_date: Date, attachment_url: string, reporting_manager: number, assigned_to: number, status: status);
25
+ workflow_execution_id: string | null;
26
+ constructor(department: string, service_type: string, problem: string, request_for: ContactFor, description: string, extn_num: string, contact_num: string, request_date: Date, attachment_url: string, reporting_manager: number, assigned_to: number, status: status, workflow_execution_id: string);
26
27
  }
@@ -24,7 +24,7 @@ var status;
24
24
  status["REJECTED"] = "Rejected";
25
25
  })(status || (exports.status = status = {}));
26
26
  let ITHelpDeskRequests = class ITHelpDeskRequests extends BaseModel_1.BaseModel {
27
- constructor(department, service_type, problem, request_for, description, extn_num, contact_num, request_date, attachment_url, reporting_manager, assigned_to, status) {
27
+ constructor(department, service_type, problem, request_for, description, extn_num, contact_num, request_date, attachment_url, reporting_manager, assigned_to, status, workflow_execution_id) {
28
28
  super();
29
29
  this.department = department,
30
30
  this.service_type = service_type,
@@ -37,7 +37,8 @@ let ITHelpDeskRequests = class ITHelpDeskRequests extends BaseModel_1.BaseModel
37
37
  this.attachment_url = attachment_url,
38
38
  this.reporting_manager = reporting_manager,
39
39
  this.assigned_to = assigned_to,
40
- this.status = status;
40
+ this.status = status,
41
+ this.workflow_execution_id = workflow_execution_id;
41
42
  }
42
43
  };
43
44
  exports.ITHelpDeskRequests = ITHelpDeskRequests;
@@ -103,7 +104,11 @@ __decorate([
103
104
  }),
104
105
  __metadata("design:type", String)
105
106
  ], ITHelpDeskRequests.prototype, "status", void 0);
107
+ __decorate([
108
+ (0, typeorm_1.Column)({ nullable: false }),
109
+ __metadata("design:type", Object)
110
+ ], ITHelpDeskRequests.prototype, "workflow_execution_id", void 0);
106
111
  exports.ITHelpDeskRequests = ITHelpDeskRequests = __decorate([
107
112
  (0, typeorm_1.Entity)({ name: 'IT_Help_Desk_Requests' }),
108
- __metadata("design:paramtypes", [String, String, String, String, String, String, String, Date, String, Number, Number, String])
113
+ __metadata("design:paramtypes", [String, String, String, String, String, String, String, Date, String, Number, Number, String, String])
109
114
  ], ITHelpDeskRequests);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "1.0.41",
3
+ "version": "1.0.42",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -62,6 +62,9 @@ export class ITHelpDeskRequests extends BaseModel {
62
62
  })
63
63
  status: status;
64
64
 
65
+ @Column({ nullable: false })
66
+ workflow_execution_id: string | null;
67
+
65
68
  constructor(
66
69
  department: string,
67
70
  service_type: string,
@@ -75,6 +78,7 @@ export class ITHelpDeskRequests extends BaseModel {
75
78
  reporting_manager: number,
76
79
  assigned_to: number,
77
80
  status: status,
81
+ workflow_execution_id: string,
78
82
  ) {
79
83
  super();
80
84
  this.department = department,
@@ -88,6 +92,7 @@ export class ITHelpDeskRequests extends BaseModel {
88
92
  this.attachment_url = attachment_url,
89
93
  this.reporting_manager = reporting_manager,
90
94
  this.assigned_to = assigned_to,
91
- this.status = status
95
+ this.status = status,
96
+ this.workflow_execution_id = workflow_execution_id
92
97
  }
93
98
  }