@platform-modules/civil-aviation-authority 2.3.130 → 2.3.132

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.
@@ -16,6 +16,7 @@ export declare class AccommodationApproval extends BaseModel {
16
16
  approved_by: number;
17
17
  department_id: number;
18
18
  section_id: number;
19
+ is_allowed: boolean;
19
20
  level: number;
20
21
  approval_status: AccommodationApprovalStatus;
21
22
  comment: string;
@@ -62,6 +62,10 @@ __decorate([
62
62
  (0, typeorm_1.Column)({ type: 'int', nullable: true }),
63
63
  __metadata("design:type", Number)
64
64
  ], AccommodationApproval.prototype, "section_id", void 0);
65
+ __decorate([
66
+ (0, typeorm_1.Column)({ type: 'boolean', nullable: false, default: true }),
67
+ __metadata("design:type", Boolean)
68
+ ], AccommodationApproval.prototype, "is_allowed", void 0);
65
69
  __decorate([
66
70
  (0, typeorm_1.Column)({ type: 'int', nullable: false }),
67
71
  __metadata("design:type", Number)
@@ -20,6 +20,8 @@ export declare enum CyberSecurityAuditApplicationType {
20
20
  export declare class CyberSecurityAuditRequest extends BaseModel {
21
21
  req_user_department_id: number | null;
22
22
  req_user_section_id: number | null;
23
+ requesting_to_department_id: number | null;
24
+ requesting_to_section_id: number | null;
23
25
  req_user_position_id: number | null;
24
26
  service_id: number | null;
25
27
  sub_service_id: number | null;
@@ -35,5 +37,5 @@ export declare class CyberSecurityAuditRequest extends BaseModel {
35
37
  application_to_be_audited: CyberSecurityAuditApplicationType;
36
38
  application_to_be_audited_other: string | null;
37
39
  submission_date: Date;
38
- constructor(user_id: number, request_classification: CyberSecurityAuditClassification, application_to_be_audited: CyberSecurityAuditApplicationType, submission_date: Date, status?: CyberSecurityAuditRequestStatus, service_id?: number | null, sub_service_id?: number | null, req_user_department_id?: number | null, req_user_section_id?: number | null, req_user_position_id?: number | null, description?: string | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null, request_id?: string | null, application_to_be_audited_other?: string | null);
40
+ constructor(user_id: number, request_classification: CyberSecurityAuditClassification, application_to_be_audited: CyberSecurityAuditApplicationType, submission_date: Date, status?: CyberSecurityAuditRequestStatus, service_id?: number | null, sub_service_id?: number | null, req_user_department_id?: number | null, req_user_section_id?: number | null, requesting_to_department_id?: number | null, requesting_to_section_id?: number | null, req_user_position_id?: number | null, description?: string | null, reviewer_user_id?: number | null, assigned_to_user_id?: number | null, assigned_at?: Date | null, workflow_execution_id?: string | null, request_id?: string | null, application_to_be_audited_other?: string | null);
39
41
  }
@@ -34,7 +34,7 @@ var CyberSecurityAuditApplicationType;
34
34
  CyberSecurityAuditApplicationType["OTHERS"] = "Others";
35
35
  })(CyberSecurityAuditApplicationType || (exports.CyberSecurityAuditApplicationType = CyberSecurityAuditApplicationType = {}));
36
36
  let CyberSecurityAuditRequest = class CyberSecurityAuditRequest extends BaseModel_1.BaseModel {
37
- constructor(user_id, request_classification, application_to_be_audited, submission_date, status = CyberSecurityAuditRequestStatus.PENDING, service_id, sub_service_id, req_user_department_id, req_user_section_id, req_user_position_id, description, reviewer_user_id, assigned_to_user_id, assigned_at, workflow_execution_id, request_id, application_to_be_audited_other) {
37
+ constructor(user_id, request_classification, application_to_be_audited, submission_date, status = CyberSecurityAuditRequestStatus.PENDING, service_id, sub_service_id, req_user_department_id, req_user_section_id, requesting_to_department_id, requesting_to_section_id, req_user_position_id, description, reviewer_user_id, assigned_to_user_id, assigned_at, workflow_execution_id, request_id, application_to_be_audited_other) {
38
38
  super();
39
39
  this.user_id = user_id;
40
40
  this.request_classification = request_classification;
@@ -45,6 +45,8 @@ let CyberSecurityAuditRequest = class CyberSecurityAuditRequest extends BaseMode
45
45
  this.sub_service_id = sub_service_id || null;
46
46
  this.req_user_department_id = req_user_department_id || null;
47
47
  this.req_user_section_id = req_user_section_id || null;
48
+ this.requesting_to_department_id = requesting_to_department_id || null;
49
+ this.requesting_to_section_id = requesting_to_section_id || null;
48
50
  this.req_user_position_id = req_user_position_id || null;
49
51
  this.description = description || null;
50
52
  this.reviewer_user_id = reviewer_user_id || null;
@@ -64,6 +66,14 @@ __decorate([
64
66
  (0, typeorm_1.Column)({ type: "integer", nullable: true }),
65
67
  __metadata("design:type", Object)
66
68
  ], CyberSecurityAuditRequest.prototype, "req_user_section_id", void 0);
69
+ __decorate([
70
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
71
+ __metadata("design:type", Object)
72
+ ], CyberSecurityAuditRequest.prototype, "requesting_to_department_id", void 0);
73
+ __decorate([
74
+ (0, typeorm_1.Column)({ type: "integer", nullable: true }),
75
+ __metadata("design:type", Object)
76
+ ], CyberSecurityAuditRequest.prototype, "requesting_to_section_id", void 0);
67
77
  __decorate([
68
78
  (0, typeorm_1.Column)({ type: "integer", nullable: true }),
69
79
  __metadata("design:type", Object)
@@ -126,5 +136,5 @@ __decorate([
126
136
  ], CyberSecurityAuditRequest.prototype, "submission_date", void 0);
127
137
  exports.CyberSecurityAuditRequest = CyberSecurityAuditRequest = __decorate([
128
138
  (0, typeorm_1.Entity)({ name: "cyber_security_audit_requests" }),
129
- __metadata("design:paramtypes", [Number, String, String, Date, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
139
+ __metadata("design:paramtypes", [Number, String, String, Date, String, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object])
130
140
  ], CyberSecurityAuditRequest);
@@ -10,13 +10,8 @@ export declare class ResidentialUnitRentalRequest extends BaseModel {
10
10
  service_id: number;
11
11
  sub_service_id: number;
12
12
  requested_unit_type: string;
13
- /** BRD: Apartment options with OMR rates - Studio 100, 1BHK 150, 2BHK 200, 3BHK 250 */
14
- apartment_type: {
15
- studio?: boolean;
16
- one_bhk?: boolean;
17
- two_bhk?: boolean;
18
- three_bhk?: boolean;
19
- };
13
+ /** UI sends apartment type as a plain string value */
14
+ apartment_type: string | null;
20
15
  /** BRD: Villa options with OMR rates - 1 ROOM 201, 2 ROOM 350, 3 ROOM 400 */
21
16
  villa_type: {
22
17
  one_room?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-modules/civil-aviation-authority",
3
- "version": "2.3.130",
3
+ "version": "2.3.132",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "scripts": {