@platform-modules/civil-aviation-authority 2.0.62 → 2.0.81

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.
@@ -21,11 +21,13 @@ export declare class ITHelpDeskRequests extends BaseModel {
21
21
  description: string;
22
22
  extn_num: string;
23
23
  contact_num: string;
24
+ email: string | null;
25
+ request_type: string;
24
26
  person_name: string | null;
25
27
  person_contact_number: string | null;
26
28
  request_date: Date;
27
29
  user_id: number;
28
30
  status: status;
29
31
  workflow_execution_id: string | 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);
32
+ 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, email?: string | null, request_type?: string);
31
33
  }
@@ -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, person_name, person_contact_number) {
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, email, request_type) {
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.email = email || null;
39
+ this.request_type = request_type || 'internal';
38
40
  this.person_name = person_name || null;
39
41
  this.person_contact_number = person_contact_number || null;
40
42
  this.request_date = request_date;
@@ -91,6 +93,14 @@ __decorate([
91
93
  (0, typeorm_1.Column)({ nullable: false }),
92
94
  __metadata("design:type", String)
93
95
  ], ITHelpDeskRequests.prototype, "contact_num", void 0);
96
+ __decorate([
97
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
98
+ __metadata("design:type", Object)
99
+ ], ITHelpDeskRequests.prototype, "email", void 0);
100
+ __decorate([
101
+ (0, typeorm_1.Column)({ type: 'varchar', length: 30, nullable: true }),
102
+ __metadata("design:type", String)
103
+ ], ITHelpDeskRequests.prototype, "request_type", void 0);
94
104
  __decorate([
95
105
  (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
96
106
  __metadata("design:type", Object)
@@ -122,5 +132,5 @@ __decorate([
122
132
  ], ITHelpDeskRequests.prototype, "workflow_execution_id", void 0);
123
133
  exports.ITHelpDeskRequests = ITHelpDeskRequests = __decorate([
124
134
  (0, typeorm_1.Entity)({ name: 'it_help_desk_requests' }),
125
- __metadata("design:paramtypes", [Number, Number, String, String, String, String, String, Date, String, String, Object, Object, Object, Object, Object])
135
+ __metadata("design:paramtypes", [Number, Number, String, String, String, String, String, Date, String, String, Object, Object, Object, Object, Object, Object, String])
126
136
  ], ITHelpDeskRequests);
@@ -3,7 +3,8 @@ export declare enum VpnApprovalStatus {
3
3
  PENDING = "Pending",
4
4
  IN_PROGRESS = "In Progress",
5
5
  APPROVED = "Approved",
6
- REJECTED = "Rejected"
6
+ REJECTED = "Rejected",
7
+ ASSIGNED = "Assigned"
7
8
  }
8
9
  export declare class VpnApprovalDetails extends BaseModel {
9
10
  request_id: number;
@@ -18,6 +18,7 @@ var VpnApprovalStatus;
18
18
  VpnApprovalStatus["IN_PROGRESS"] = "In Progress";
19
19
  VpnApprovalStatus["APPROVED"] = "Approved";
20
20
  VpnApprovalStatus["REJECTED"] = "Rejected";
21
+ VpnApprovalStatus["ASSIGNED"] = "Assigned";
21
22
  })(VpnApprovalStatus || (exports.VpnApprovalStatus = VpnApprovalStatus = {}));
22
23
  let VpnApprovalDetails = class VpnApprovalDetails extends BaseModel_1.BaseModel {
23
24
  constructor(request_id, approver_user_id, approver_role_id, comment, approval_status, level, department_id, section_id, approved_by, is_manager) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.0.62",
3
+ "version": "2.0.81",
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
+ email: string | null;
55
+
56
+ @Column({ type: 'varchar', length: 30, nullable: true })
57
+ request_type: string;
58
+
53
59
  @Column({ type: 'varchar', length: 255, nullable: true })
54
60
  person_name: string | null;
55
61
 
@@ -89,7 +95,9 @@ export class ITHelpDeskRequests extends BaseModel {
89
95
  req_user_section_id?: number | null,
90
96
  service_type_id?: number | null,
91
97
  person_name?: string | null,
92
- person_contact_number?: string | null
98
+ person_contact_number?: string | null,
99
+ email?: string | null,
100
+ request_type?: string
93
101
  ) {
94
102
  super();
95
103
  this.service_id = service_id;
@@ -99,6 +107,8 @@ export class ITHelpDeskRequests extends BaseModel {
99
107
  this.description = description;
100
108
  this.extn_num = extn_num;
101
109
  this.contact_num = contact_num;
110
+ this.email = email || null;
111
+ this.request_type = request_type || 'internal';
102
112
  this.person_name = person_name || null;
103
113
  this.person_contact_number = person_contact_number || null;
104
114
  this.request_date = request_date;
@@ -5,7 +5,8 @@ export enum VpnApprovalStatus {
5
5
  PENDING = "Pending",
6
6
  IN_PROGRESS = "In Progress",
7
7
  APPROVED = "Approved",
8
- REJECTED = "Rejected"
8
+ REJECTED = "Rejected",
9
+ ASSIGNED = "Assigned"
9
10
  }
10
11
 
11
12
  @Entity({ name: "vpn_approvals" })