whitelabel-db 1.1.23 → 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.
@@ -222,6 +222,15 @@ export interface BookingInfoV3 {
222
222
  }[];
223
223
  hasFreeCancellation: boolean;
224
224
  };
225
+ ancillaryTotalAmount?: number;
226
+ ancillaryVouchers?: {
227
+ ancillary: string;
228
+ ancillary_voucher_code: string;
229
+ ancillary_voucher_id: number;
230
+ currency: string;
231
+ status: string;
232
+ value: number;
233
+ }[];
225
234
  }
226
235
  export interface BookingConfirmationV3 {
227
236
  prebookId: string;
@@ -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.23",
3
+ "version": "1.1.25",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",