@platform-modules/civil-aviation-authority 2.0.50 → 2.0.53

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.
package/.env CHANGED
@@ -1,5 +1,5 @@
1
- DB_HOST=localhost
1
+ DB_HOST=164.52.222.169
2
2
  DB_PORT=5432
3
- DB_USER=postgres
4
- DB_PASS=stevejobs
3
+ DB_USER=postgres_admin_user
4
+ DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
5
5
  DB_NAME=CAA
@@ -21,9 +21,11 @@ export declare class ITHelpDeskRequests extends BaseModel {
21
21
  description: string;
22
22
  extn_num: string;
23
23
  contact_num: string;
24
+ person_name: string | null;
25
+ person_contact_number: string | null;
24
26
  request_date: Date;
25
27
  user_id: number;
26
28
  status: status;
27
29
  workflow_execution_id: string | null;
28
- constructor(service_id: number, sub_service_id: number, problem: string, request_for: ContactFor, description: string, extn_num: string, contact_num: string, request_date: Date, status: status, workflow_execution_id?: string, req_user_department_id?: number | null, req_user_section_id?: number | null, service_type_id?: number | null);
30
+ constructor(service_id: number, sub_service_id: number, problem: string, request_for: ContactFor, description: string, extn_num: string, contact_num: string, request_date: Date, status: status, workflow_execution_id?: string, req_user_department_id?: number | null, req_user_section_id?: number | null, service_type_id?: number | null, person_name?: string | null, person_contact_number?: string | null);
29
31
  }
@@ -26,7 +26,7 @@ var status;
26
26
  status["REJECTED"] = "Rejected";
27
27
  })(status || (exports.status = status = {}));
28
28
  let ITHelpDeskRequests = class ITHelpDeskRequests extends BaseModel_1.BaseModel {
29
- constructor(service_id, sub_service_id, problem, request_for, description, extn_num, contact_num, request_date, status, workflow_execution_id, req_user_department_id, req_user_section_id, service_type_id) {
29
+ constructor(service_id, sub_service_id, problem, request_for, description, extn_num, contact_num, request_date, status, workflow_execution_id, req_user_department_id, req_user_section_id, service_type_id, person_name, person_contact_number) {
30
30
  super();
31
31
  this.service_id = service_id;
32
32
  this.sub_service_id = sub_service_id;
@@ -35,6 +35,8 @@ let ITHelpDeskRequests = class ITHelpDeskRequests extends BaseModel_1.BaseModel
35
35
  this.description = description;
36
36
  this.extn_num = extn_num;
37
37
  this.contact_num = contact_num;
38
+ this.person_name = person_name || null;
39
+ this.person_contact_number = person_contact_number || null;
38
40
  this.request_date = request_date;
39
41
  this.status = status;
40
42
  this.workflow_execution_id = workflow_execution_id || null;
@@ -89,6 +91,14 @@ __decorate([
89
91
  (0, typeorm_1.Column)({ nullable: false }),
90
92
  __metadata("design:type", String)
91
93
  ], ITHelpDeskRequests.prototype, "contact_num", void 0);
94
+ __decorate([
95
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
96
+ __metadata("design:type", Object)
97
+ ], ITHelpDeskRequests.prototype, "person_name", void 0);
98
+ __decorate([
99
+ (0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: true }),
100
+ __metadata("design:type", Object)
101
+ ], ITHelpDeskRequests.prototype, "person_contact_number", void 0);
92
102
  __decorate([
93
103
  (0, typeorm_1.Column)({ type: "date", nullable: false }),
94
104
  __metadata("design:type", Date)
@@ -112,5 +122,5 @@ __decorate([
112
122
  ], ITHelpDeskRequests.prototype, "workflow_execution_id", void 0);
113
123
  exports.ITHelpDeskRequests = ITHelpDeskRequests = __decorate([
114
124
  (0, typeorm_1.Entity)({ name: 'it_help_desk_requests' }),
115
- __metadata("design:paramtypes", [Number, Number, String, String, String, String, String, Date, String, String, Object, Object, Object])
125
+ __metadata("design:paramtypes", [Number, Number, String, String, String, String, String, Date, String, String, Object, Object, Object, Object, Object])
116
126
  ], ITHelpDeskRequests);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.0.50",
3
+ "version": "2.0.53",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -50,6 +50,12 @@ export class ITHelpDeskRequests extends BaseModel {
50
50
  @Column({ nullable: false })
51
51
  contact_num: string;
52
52
 
53
+ @Column({ type: 'varchar', length: 255, nullable: true })
54
+ person_name: string | null;
55
+
56
+ @Column({ type: 'varchar', length: 20, nullable: true })
57
+ person_contact_number: string | null;
58
+
53
59
  @Column({ type: "date", nullable: false })
54
60
  request_date: Date;
55
61
 
@@ -81,7 +87,9 @@ export class ITHelpDeskRequests extends BaseModel {
81
87
  workflow_execution_id?: string,
82
88
  req_user_department_id?: number | null,
83
89
  req_user_section_id?: number | null,
84
- service_type_id?: number | null
90
+ service_type_id?: number | null,
91
+ person_name?: string | null,
92
+ person_contact_number?: string | null
85
93
  ) {
86
94
  super();
87
95
  this.service_id = service_id;
@@ -91,6 +99,8 @@ export class ITHelpDeskRequests extends BaseModel {
91
99
  this.description = description;
92
100
  this.extn_num = extn_num;
93
101
  this.contact_num = contact_num;
102
+ this.person_name = person_name || null;
103
+ this.person_contact_number = person_contact_number || null;
94
104
  this.request_date = request_date;
95
105
  this.status = status;
96
106
  this.workflow_execution_id = workflow_execution_id || null;