whitelabel-db 1.0.40 → 1.0.42
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/dist/libs/liteapiv3.d.ts
CHANGED
package/dist/models/Booking.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Model } from 'sequelize-typescript';
|
|
2
2
|
import { Project } from './Project';
|
|
3
|
+
import { OccupancyV3 } from '../libs/liteapiv3';
|
|
3
4
|
export declare class Booking extends Model<Partial<Booking>> {
|
|
4
5
|
id: string;
|
|
5
6
|
prebookId: string;
|
|
@@ -12,4 +13,6 @@ export declare class Booking extends Model<Partial<Booking>> {
|
|
|
12
13
|
liteApiCancelBookingData?: object;
|
|
13
14
|
paymentStatus?: string;
|
|
14
15
|
bookingStatus?: string;
|
|
16
|
+
liteApiVersion?: string;
|
|
17
|
+
occupancies?: OccupancyV3[];
|
|
15
18
|
}
|
package/dist/models/Booking.js
CHANGED
|
@@ -103,6 +103,22 @@ __decorate([
|
|
|
103
103
|
}),
|
|
104
104
|
__metadata("design:type", String)
|
|
105
105
|
], Booking.prototype, "bookingStatus", void 0);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, sequelize_typescript_1.Column)({
|
|
108
|
+
type: sequelize_typescript_1.DataType.STRING,
|
|
109
|
+
allowNull: false,
|
|
110
|
+
defaultValue: 'v2',
|
|
111
|
+
}),
|
|
112
|
+
__metadata("design:type", String)
|
|
113
|
+
], Booking.prototype, "liteApiVersion", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, sequelize_typescript_1.Column)({
|
|
116
|
+
type: sequelize_typescript_1.DataType.ARRAY(sequelize_typescript_1.DataType.JSONB),
|
|
117
|
+
allowNull: false,
|
|
118
|
+
defaultValue: [],
|
|
119
|
+
}),
|
|
120
|
+
__metadata("design:type", Array)
|
|
121
|
+
], Booking.prototype, "occupancies", void 0);
|
|
106
122
|
exports.Booking = Booking = __decorate([
|
|
107
123
|
(0, sequelize_typescript_1.Table)({
|
|
108
124
|
tableName: 'bookings',
|