whitelabel-db 1.0.48 → 1.0.50

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.
@@ -57,6 +57,7 @@ export interface Rate {
57
57
  }[];
58
58
  hasFreeCancellation: boolean;
59
59
  };
60
+ formattedName?: string;
60
61
  }
61
62
  export interface RoomType {
62
63
  roomTypeId: string;
@@ -66,6 +66,7 @@ export interface RateV3 {
66
66
  }[];
67
67
  hasFreeCancellation: boolean;
68
68
  };
69
+ formattedName?: string;
69
70
  }
70
71
  export interface RoomTypeV3 {
71
72
  roomTypeId: string;
@@ -71,4 +71,5 @@ export declare class Hotel extends Model<Partial<Hotel>> {
71
71
  pros: string;
72
72
  cons: string;
73
73
  }[];
74
+ bestSeller: boolean;
74
75
  }
@@ -202,6 +202,14 @@ __decorate([
202
202
  }),
203
203
  __metadata("design:type", Array)
204
204
  ], Hotel.prototype, "reviews", void 0);
205
+ __decorate([
206
+ (0, sequelize_typescript_1.Column)({
207
+ type: sequelize_typescript_1.DataType.BOOLEAN,
208
+ allowNull: false,
209
+ defaultValue: false,
210
+ }),
211
+ __metadata("design:type", Boolean)
212
+ ], Hotel.prototype, "bestSeller", void 0);
205
213
  exports.Hotel = Hotel = __decorate([
206
214
  (0, sequelize_typescript_1.Table)({
207
215
  tableName: 'static_hotels',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whitelabel-db",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",