whitelabel-db 1.1.24 → 1.1.25

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.
@@ -223,7 +223,7 @@ export interface BookingInfoV3 {
223
223
  hasFreeCancellation: boolean;
224
224
  };
225
225
  ancillaryTotalAmount?: number;
226
- ancillaries?: {
226
+ ancillaryVouchers?: {
227
227
  ancillary: string;
228
228
  ancillary_voucher_code: string;
229
229
  ancillary_voucher_id: number;
@@ -18,4 +18,5 @@ export declare class Booking extends Model<Partial<Booking>> {
18
18
  occupancies?: OccupancyV3[];
19
19
  guestId?: string;
20
20
  guest?: Guest;
21
+ otp?: string;
21
22
  }
@@ -133,6 +133,13 @@ __decorate([
133
133
  (0, sequelize_typescript_1.BelongsTo)(() => Guest_1.Guest),
134
134
  __metadata("design:type", Guest_1.Guest)
135
135
  ], Booking.prototype, "guest", void 0);
136
+ __decorate([
137
+ (0, sequelize_typescript_1.Column)({
138
+ type: sequelize_typescript_1.DataType.STRING,
139
+ allowNull: true,
140
+ }),
141
+ __metadata("design:type", String)
142
+ ], Booking.prototype, "otp", void 0);
136
143
  exports.Booking = Booking = __decorate([
137
144
  (0, sequelize_typescript_1.Table)({
138
145
  tableName: 'bookings',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whitelabel-db",
3
- "version": "1.1.24",
3
+ "version": "1.1.25",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",