@platform-modules/civil-aviation-authority 2.0.8 → 2.0.9

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,11 +1,11 @@
1
- # DB_HOST=localhost
2
- # DB_PORT=5433
3
- # DB_USER=postgres
4
- # DB_PASS=123
5
- # DB_NAME=CAA
1
+ DB_HOST=localhost
2
+ DB_PORT=5433
3
+ DB_USER=postgres
4
+ DB_PASS=123
5
+ DB_NAME=CAA
6
6
 
7
- DB_HOST=164.52.222.169
8
- DB_PORT=5432
9
- DB_USER=postgres_admin_user
10
- DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
11
- DB_NAME=CAA
7
+ # DB_HOST=164.52.222.169
8
+ # DB_PORT=5432
9
+ # DB_USER=postgres_admin_user
10
+ # DB_PASS=pg_admin_user_pwd_caa_fa_$%^&OIukhjgcvbn
11
+ # DB_NAME=CAA
@@ -39,7 +39,7 @@ export declare class LogisticsRequests extends BaseModel {
39
39
  service_id: number;
40
40
  sub_service_id: number;
41
41
  user_id: number;
42
- request_type: Request_Type;
42
+ category: Request_Type;
43
43
  vehicle_required_for: Vehicle_Required_For;
44
44
  vehicle_required_location: Vehicle_Required_Location;
45
45
  title: string;
@@ -53,5 +53,5 @@ export declare class LogisticsRequests extends BaseModel {
53
53
  description: string;
54
54
  status: Status;
55
55
  workflow_execution_id: string | null;
56
- constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, request_type: Request_Type, vehicle_required_for: Vehicle_Required_For, vehicle_required_location: Vehicle_Required_Location, title: string, purpose_of_travel: Purpose_of_Travel, type_of_vehicle_required: Type_of_Vehicle, type_of_request: Type_of_Request, date_of_travel: Date, time_of_travel: string, exp_duration_of_use_hrs: number, exp_duration_of_use_days: number, description: string, status: Status, workflow_execution_id?: string | null);
56
+ constructor(req_user_department_id: number | null, req_user_section_id: number | null, service_id: number, sub_service_id: number, user_id: number, category: Request_Type, vehicle_required_for: Vehicle_Required_For, vehicle_required_location: Vehicle_Required_Location, title: string, purpose_of_travel: Purpose_of_Travel, type_of_vehicle_required: Type_of_Vehicle, type_of_request: Type_of_Request, date_of_travel: Date, time_of_travel: string, exp_duration_of_use_hrs: number, exp_duration_of_use_days: number, description: string, status: Status, workflow_execution_id?: string | null);
57
57
  }
@@ -54,14 +54,14 @@ var Type_of_Request;
54
54
  Type_of_Request["EXTENSION"] = "Extension of Previous Request";
55
55
  })(Type_of_Request || (exports.Type_of_Request = Type_of_Request = {}));
56
56
  let LogisticsRequests = class LogisticsRequests extends BaseModel_1.BaseModel {
57
- constructor(req_user_department_id, req_user_section_id, service_id, sub_service_id, user_id, request_type, vehicle_required_for, vehicle_required_location, title, purpose_of_travel, type_of_vehicle_required, type_of_request, date_of_travel, time_of_travel, exp_duration_of_use_hrs, exp_duration_of_use_days, description, status, workflow_execution_id) {
57
+ constructor(req_user_department_id, req_user_section_id, service_id, sub_service_id, user_id, category, vehicle_required_for, vehicle_required_location, title, purpose_of_travel, type_of_vehicle_required, type_of_request, date_of_travel, time_of_travel, exp_duration_of_use_hrs, exp_duration_of_use_days, description, status, workflow_execution_id) {
58
58
  super();
59
59
  this.req_user_department_id = req_user_department_id ?? null;
60
60
  this.req_user_section_id = req_user_section_id ?? null;
61
61
  this.service_id = service_id;
62
62
  this.sub_service_id = sub_service_id;
63
63
  this.user_id = user_id;
64
- this.request_type = request_type;
64
+ this.category = category;
65
65
  this.vehicle_required_for = vehicle_required_for;
66
66
  this.vehicle_required_location = vehicle_required_location;
67
67
  this.title = title;
@@ -106,7 +106,7 @@ __decorate([
106
106
  nullable: false,
107
107
  }),
108
108
  __metadata("design:type", String)
109
- ], LogisticsRequests.prototype, "request_type", void 0);
109
+ ], LogisticsRequests.prototype, "category", void 0);
110
110
  __decorate([
111
111
  (0, typeorm_1.Column)({
112
112
  type: "enum",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {
@@ -66,7 +66,7 @@ export class LogisticsRequests extends BaseModel {
66
66
  default: Request_Type.DAILY,
67
67
  nullable: false,
68
68
  })
69
- request_type: Request_Type;
69
+ category: Request_Type;
70
70
 
71
71
  @Column({
72
72
  type: "enum",
@@ -143,7 +143,7 @@ export class LogisticsRequests extends BaseModel {
143
143
  service_id: number,
144
144
  sub_service_id: number,
145
145
  user_id: number,
146
- request_type: Request_Type,
146
+ category: Request_Type,
147
147
  vehicle_required_for: Vehicle_Required_For,
148
148
  vehicle_required_location: Vehicle_Required_Location,
149
149
  title: string,
@@ -164,7 +164,7 @@ export class LogisticsRequests extends BaseModel {
164
164
  this.service_id = service_id;
165
165
  this.sub_service_id = sub_service_id;
166
166
  this.user_id = user_id;
167
- this.request_type = request_type;
167
+ this.category = category;
168
168
  this.vehicle_required_for = vehicle_required_for;
169
169
  this.vehicle_required_location = vehicle_required_location;
170
170
  this.title = title;