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

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.
@@ -23,5 +23,5 @@ export declare class ITHelpDeskRequests extends BaseModel {
23
23
  assigned_to: number;
24
24
  status: status;
25
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
+ 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);
27
27
  }
@@ -38,7 +38,7 @@ let ITHelpDeskRequests = class ITHelpDeskRequests extends BaseModel_1.BaseModel
38
38
  this.reporting_manager = reporting_manager,
39
39
  this.assigned_to = assigned_to,
40
40
  this.status = status,
41
- this.workflow_execution_id = workflow_execution_id;
41
+ this.workflow_execution_id = workflow_execution_id || null;
42
42
  }
43
43
  };
44
44
  exports.ITHelpDeskRequests = ITHelpDeskRequests;
@@ -105,7 +105,7 @@ __decorate([
105
105
  __metadata("design:type", String)
106
106
  ], ITHelpDeskRequests.prototype, "status", void 0);
107
107
  __decorate([
108
- (0, typeorm_1.Column)({ nullable: false }),
108
+ (0, typeorm_1.Column)({ type: "varchar", nullable: true }),
109
109
  __metadata("design:type", Object)
110
110
  ], ITHelpDeskRequests.prototype, "workflow_execution_id", void 0);
111
111
  exports.ITHelpDeskRequests = ITHelpDeskRequests = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -62,7 +62,7 @@ export class ITHelpDeskRequests extends BaseModel {
62
62
  })
63
63
  status: status;
64
64
 
65
- @Column({ nullable: false })
65
+ @Column({ type: "varchar", nullable: true })
66
66
  workflow_execution_id: string | null;
67
67
 
68
68
  constructor(
@@ -78,7 +78,7 @@ export class ITHelpDeskRequests extends BaseModel {
78
78
  reporting_manager: number,
79
79
  assigned_to: number,
80
80
  status: status,
81
- workflow_execution_id: string,
81
+ workflow_execution_id?: string,
82
82
  ) {
83
83
  super();
84
84
  this.department = department,
@@ -93,6 +93,6 @@ export class ITHelpDeskRequests extends BaseModel {
93
93
  this.reporting_manager = reporting_manager,
94
94
  this.assigned_to = assigned_to,
95
95
  this.status = status,
96
- this.workflow_execution_id = workflow_execution_id
96
+ this.workflow_execution_id = workflow_execution_id || null
97
97
  }
98
98
  }