@vibe-flats/booking-engine-common-server 1.0.83 → 1.0.84

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.
@@ -48,9 +48,11 @@ export interface UnitDocument extends mongoose.Document {
48
48
  monthlyPriceFactor: number;
49
49
  weeklyPriceFactor: number;
50
50
  cleaningFee: number;
51
+ utilities: number;
51
52
  };
52
53
  fees: {
53
54
  name: string;
55
+ type: string;
54
56
  value: number;
55
57
  multiplier: 'PER_NIGHT' | 'PER_STAY' | 'PER_GUEST' | 'PER_GUEST_PER_NIGHT';
56
58
  isOptional: boolean;
@@ -75,6 +77,7 @@ export interface UnitDocument extends mongoose.Document {
75
77
  availableFrom?: Date;
76
78
  createdAt: Date;
77
79
  updatedAt: Date;
80
+ isTrue: boolean;
78
81
  }
79
82
  export declare const UnitModel: (connection: mongoose.Connection) => mongoose.Model<UnitDocument, {}, {}, {}, mongoose.Document<unknown, {}, UnitDocument> & UnitDocument & Required<{
80
83
  _id: unknown;
@@ -116,7 +116,8 @@ const schema = new mongoose_1.default.Schema({
116
116
  required: false,
117
117
  _id: false
118
118
  },
119
- availableFrom: { type: Date, required: false }
119
+ availableFrom: { type: Date, required: false },
120
+ isTrue: { type: Boolean, required: true, default: true }
120
121
  }, {
121
122
  timestamps: true,
122
123
  versionKey: false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe-flats/booking-engine-common-server",
3
- "version": "1.0.83",
3
+ "version": "1.0.84",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",