@platform-modules/civil-aviation-authority 2.1.1 → 2.1.3
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.
|
@@ -32,7 +32,7 @@ export declare class HotelReservation extends BaseModel {
|
|
|
32
32
|
check_in_date: Date;
|
|
33
33
|
check_in_time: string;
|
|
34
34
|
check_out_date: Date;
|
|
35
|
-
booking_date: Date;
|
|
35
|
+
booking_date: Date | null;
|
|
36
36
|
check_out_time: string;
|
|
37
37
|
number_of_guests: number;
|
|
38
38
|
description: string;
|
|
@@ -41,5 +41,5 @@ export declare class HotelReservation extends BaseModel {
|
|
|
41
41
|
visitor_name: string | null;
|
|
42
42
|
hr_approval: boolean;
|
|
43
43
|
pr_approval: boolean;
|
|
44
|
-
constructor(type_of_accommodation: string, price: number, meal: MealType, service: ServiceTypes, date_of_request: Date, hotel_name: string, check_in_date: Date, check_in_time: string, check_out_date: Date, check_out_time: string, number_of_guests: number, description: string, requested_by: string, visitor_name: string, user_id: number, status?: HotelReservationStatus, hr_approval?: boolean, pr_approval?: boolean, service_id?: number | null, sub_service_id?: number | null, service_type?: string | null, workflow_execution_id?: string | null, req_user_department_id?: number | null, req_user_section_id?: number | null, attachment_url?: string | null);
|
|
44
|
+
constructor(type_of_accommodation: string, price: number, meal: MealType, service: ServiceTypes, date_of_request: Date, hotel_name: string, check_in_date: Date, booking_date: Date | null, check_in_time: string, check_out_date: Date, check_out_time: string, number_of_guests: number, description: string, requested_by: string, visitor_name: string, user_id: number, status?: HotelReservationStatus, hr_approval?: boolean, pr_approval?: boolean, service_id?: number | null, sub_service_id?: number | null, service_type?: string | null, workflow_execution_id?: string | null, req_user_department_id?: number | null, req_user_section_id?: number | null, attachment_url?: string | null);
|
|
45
45
|
}
|
|
@@ -31,7 +31,7 @@ var HotelReservationStatus;
|
|
|
31
31
|
HotelReservationStatus["IN_PROGRESS"] = "In Progress";
|
|
32
32
|
})(HotelReservationStatus || (exports.HotelReservationStatus = HotelReservationStatus = {}));
|
|
33
33
|
let HotelReservation = class HotelReservation extends BaseModel_1.BaseModel {
|
|
34
|
-
constructor(type_of_accommodation, price, meal, service, date_of_request, hotel_name, check_in_date, check_in_time, check_out_date, check_out_time, number_of_guests, description, requested_by, visitor_name, user_id, status = HotelReservationStatus.PENDING, hr_approval = false, pr_approval = false, service_id, sub_service_id, service_type, workflow_execution_id, req_user_department_id, req_user_section_id, attachment_url) {
|
|
34
|
+
constructor(type_of_accommodation, price, meal, service, date_of_request, hotel_name, check_in_date, booking_date, check_in_time, check_out_date, check_out_time, number_of_guests, description, requested_by, visitor_name, user_id, status = HotelReservationStatus.PENDING, hr_approval = false, pr_approval = false, service_id, sub_service_id, service_type, workflow_execution_id, req_user_department_id, req_user_section_id, attachment_url) {
|
|
35
35
|
super();
|
|
36
36
|
this.type_of_accommodation = type_of_accommodation;
|
|
37
37
|
this.price = price;
|
|
@@ -58,6 +58,7 @@ let HotelReservation = class HotelReservation extends BaseModel_1.BaseModel {
|
|
|
58
58
|
this.req_user_department_id = req_user_department_id ?? null;
|
|
59
59
|
this.req_user_section_id = req_user_section_id ?? null;
|
|
60
60
|
this.attachment_url = attachment_url ?? null;
|
|
61
|
+
this.booking_date = booking_date ?? null;
|
|
61
62
|
}
|
|
62
63
|
};
|
|
63
64
|
exports.HotelReservation = HotelReservation;
|
|
@@ -135,8 +136,8 @@ __decorate([
|
|
|
135
136
|
__metadata("design:type", Date)
|
|
136
137
|
], HotelReservation.prototype, "check_out_date", void 0);
|
|
137
138
|
__decorate([
|
|
138
|
-
(0, typeorm_1.Column)({ type: 'date', nullable:
|
|
139
|
-
__metadata("design:type",
|
|
139
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
140
|
+
__metadata("design:type", Object)
|
|
140
141
|
], HotelReservation.prototype, "booking_date", void 0);
|
|
141
142
|
__decorate([
|
|
142
143
|
(0, typeorm_1.Column)({ type: 'time', nullable: false }),
|
|
@@ -172,5 +173,5 @@ __decorate([
|
|
|
172
173
|
], HotelReservation.prototype, "pr_approval", void 0);
|
|
173
174
|
exports.HotelReservation = HotelReservation = __decorate([
|
|
174
175
|
(0, typeorm_1.Entity)({ name: 'hotelreservations' }),
|
|
175
|
-
__metadata("design:paramtypes", [String, Number, String, String, Date, String, Date, String, Date, String, Number, String, String, String, Number, String, Boolean, Boolean, Object, Object, Object, Object, Object, Object, Object])
|
|
176
|
+
__metadata("design:paramtypes", [String, Number, String, String, Date, String, Date, Object, String, Date, String, Number, String, String, String, Number, String, Boolean, Boolean, Object, Object, Object, Object, Object, Object, Object])
|
|
176
177
|
], HotelReservation);
|
package/package.json
CHANGED
|
@@ -79,8 +79,8 @@ export class HotelReservation extends BaseModel {
|
|
|
79
79
|
@Column({ type: 'date', nullable: false })
|
|
80
80
|
check_out_date: Date;
|
|
81
81
|
|
|
82
|
-
@Column({ type: 'date', nullable:
|
|
83
|
-
booking_date: Date;
|
|
82
|
+
@Column({ type: 'date', nullable: true })
|
|
83
|
+
booking_date: Date | null;
|
|
84
84
|
|
|
85
85
|
@Column({ type: 'time', nullable: false })
|
|
86
86
|
check_out_time: string;
|
|
@@ -115,6 +115,7 @@ export class HotelReservation extends BaseModel {
|
|
|
115
115
|
date_of_request: Date,
|
|
116
116
|
hotel_name: string,
|
|
117
117
|
check_in_date: Date,
|
|
118
|
+
booking_date: Date | null,
|
|
118
119
|
check_in_time: string,
|
|
119
120
|
check_out_date: Date,
|
|
120
121
|
check_out_time: string,
|
|
@@ -160,5 +161,6 @@ export class HotelReservation extends BaseModel {
|
|
|
160
161
|
this.req_user_department_id = req_user_department_id ?? null;
|
|
161
162
|
this.req_user_section_id = req_user_section_id ?? null;
|
|
162
163
|
this.attachment_url = attachment_url ?? null;
|
|
164
|
+
this.booking_date = booking_date ?? null;
|
|
163
165
|
}
|
|
164
166
|
}
|