whitelabel-db 1.0.34 → 1.0.36

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.
@@ -25,6 +25,7 @@ export declare class Hotel extends Model<Partial<Hotel>> {
25
25
  main_photo: string;
26
26
  stars: number;
27
27
  mapped: boolean;
28
+ thirdPartyId: number;
28
29
  checkinCheckoutTimes: CheckinCheckoutTimes;
29
30
  hotelImages: HotelImage[];
30
31
  hotelFacilities: string[];
@@ -115,6 +115,13 @@ __decorate([
115
115
  }),
116
116
  __metadata("design:type", Boolean)
117
117
  ], Hotel.prototype, "mapped", void 0);
118
+ __decorate([
119
+ (0, sequelize_typescript_1.Column)({
120
+ type: sequelize_typescript_1.DataType.INTEGER,
121
+ allowNull: true,
122
+ }),
123
+ __metadata("design:type", Number)
124
+ ], Hotel.prototype, "thirdPartyId", void 0);
118
125
  __decorate([
119
126
  (0, sequelize_typescript_1.Column)({
120
127
  type: sequelize_typescript_1.DataType.JSONB,
@@ -11,6 +11,7 @@ export declare class Project extends Model<Partial<Project>> {
11
11
  agencyId?: string;
12
12
  agency?: Agency;
13
13
  bookings?: Booking[];
14
+ preferences?: object;
14
15
  generateSession(secret: string): string;
15
16
  getLiteApiClient(): LiteApiClient;
16
17
  }
@@ -101,6 +101,14 @@ __decorate([
101
101
  (0, sequelize_typescript_1.HasMany)(() => Booking_1.Booking),
102
102
  __metadata("design:type", Array)
103
103
  ], Project.prototype, "bookings", void 0);
104
+ __decorate([
105
+ (0, sequelize_typescript_1.Column)({
106
+ type: sequelize_typescript_1.DataType.JSONB,
107
+ allowNull: false,
108
+ defaultValue: {},
109
+ }),
110
+ __metadata("design:type", Object)
111
+ ], Project.prototype, "preferences", void 0);
104
112
  exports.Project = Project = __decorate([
105
113
  (0, sequelize_typescript_1.Table)({
106
114
  tableName: 'projects',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whitelabel-db",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",