whitelabel-db 1.0.40 → 1.0.41

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.
@@ -168,6 +168,7 @@ export interface BookingInfoV3 {
168
168
  amount: number;
169
169
  type: string;
170
170
  };
171
+ holder: UserV3;
171
172
  }
172
173
  export interface BookingConfirmationV3 {
173
174
  prebookId: string;
@@ -12,4 +12,5 @@ export declare class Booking extends Model<Partial<Booking>> {
12
12
  liteApiCancelBookingData?: object;
13
13
  paymentStatus?: string;
14
14
  bookingStatus?: string;
15
+ liteApiVersion?: string;
15
16
  }
@@ -103,6 +103,14 @@ __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);
106
114
  exports.Booking = Booking = __decorate([
107
115
  (0, sequelize_typescript_1.Table)({
108
116
  tableName: 'bookings',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whitelabel-db",
3
- "version": "1.0.40",
3
+ "version": "1.0.41",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",