@kohost/api-client 3.0.0-beta.51 → 3.0.0-beta.53

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.
@@ -87,17 +87,17 @@ class Reservation extends Kohost {
87
87
  }
88
88
  }
89
89
 
90
- Object.defineReservation(Reservation.prototype, "schema", {
90
+ Object.defineProperty(Reservation.prototype, "schema", {
91
91
  value: schema,
92
92
  });
93
93
 
94
- Object.defineReservation(Reservation.prototype, "validator", {
94
+ Object.defineProperty(Reservation.prototype, "validator", {
95
95
  get: function () {
96
96
  return validator;
97
97
  },
98
98
  });
99
99
 
100
- Object.defineReservation(Reservation, "validProperties", {
100
+ Object.defineProperty(Reservation, "validProperties", {
101
101
  value: Object.keys(schema.properties),
102
102
  });
103
103
 
@@ -164,7 +164,23 @@
164
164
  "appFeatures": {
165
165
  "type": "object",
166
166
  "properties": {
167
- "RoomControl": {},
167
+ "RoomControl": {
168
+ "type": "object",
169
+ "properties": {
170
+ "commonAreas": {
171
+ "type": "object",
172
+ "properties": {
173
+ "spaces": {
174
+ "type": "array",
175
+ "items": {
176
+ "type": "string"
177
+ }
178
+ }
179
+ }
180
+ }
181
+ },
182
+ "additionalProperties": false
183
+ },
168
184
  "CheckIn": {
169
185
  "properties": {
170
186
  "payment": {},
@@ -237,6 +253,50 @@
237
253
  "RoomControl": {}
238
254
  }
239
255
  },
256
+ "notifications": {
257
+ "type": "object",
258
+ "properties": {
259
+ "email": {
260
+ "type": "object",
261
+ "properties": {
262
+ "enabled": {
263
+ "type": "boolean"
264
+ }
265
+ },
266
+ "additionalProperties": false
267
+ },
268
+ "sms": {
269
+ "type": "object",
270
+ "properties": {
271
+ "enabled": {
272
+ "type": "boolean"
273
+ }
274
+ },
275
+ "additionalProperties": false
276
+ },
277
+ "push": {
278
+ "type": "object",
279
+ "properties": {
280
+ "enabled": {
281
+ "type": "boolean"
282
+ }
283
+ },
284
+ "additionalProperties": false
285
+ }
286
+ },
287
+ "additionalProperties": false,
288
+ "default": {
289
+ "email": {
290
+ "enabled": false
291
+ },
292
+ "sms": {
293
+ "enabled": false
294
+ },
295
+ "push": {
296
+ "enabled": false
297
+ }
298
+ }
299
+ },
240
300
  "credentials": {
241
301
  "type": "object",
242
302
  "additionalProperties": true
@@ -8225,15 +8225,15 @@ var require_Reservation = __commonJS({
8225
8225
  });
8226
8226
  }
8227
8227
  };
8228
- Object.defineReservation(Reservation.prototype, "schema", {
8228
+ Object.defineProperty(Reservation.prototype, "schema", {
8229
8229
  value: schema
8230
8230
  });
8231
- Object.defineReservation(Reservation.prototype, "validator", {
8231
+ Object.defineProperty(Reservation.prototype, "validator", {
8232
8232
  get: function() {
8233
8233
  return validator;
8234
8234
  }
8235
8235
  });
8236
- Object.defineReservation(Reservation, "validProperties", {
8236
+ Object.defineProperty(Reservation, "validProperties", {
8237
8237
  value: Object.keys(schema.properties)
8238
8238
  });
8239
8239
  module.exports = Reservation;
@@ -15145,7 +15145,23 @@ var require_property = __commonJS({
15145
15145
  appFeatures: {
15146
15146
  type: "object",
15147
15147
  properties: {
15148
- RoomControl: {},
15148
+ RoomControl: {
15149
+ type: "object",
15150
+ properties: {
15151
+ commonAreas: {
15152
+ type: "object",
15153
+ properties: {
15154
+ spaces: {
15155
+ type: "array",
15156
+ items: {
15157
+ type: "string"
15158
+ }
15159
+ }
15160
+ }
15161
+ }
15162
+ },
15163
+ additionalProperties: false
15164
+ },
15149
15165
  CheckIn: {
15150
15166
  properties: {
15151
15167
  payment: {},
@@ -15218,6 +15234,50 @@ var require_property = __commonJS({
15218
15234
  RoomControl: {}
15219
15235
  }
15220
15236
  },
15237
+ notifications: {
15238
+ type: "object",
15239
+ properties: {
15240
+ email: {
15241
+ type: "object",
15242
+ properties: {
15243
+ enabled: {
15244
+ type: "boolean"
15245
+ }
15246
+ },
15247
+ additionalProperties: false
15248
+ },
15249
+ sms: {
15250
+ type: "object",
15251
+ properties: {
15252
+ enabled: {
15253
+ type: "boolean"
15254
+ }
15255
+ },
15256
+ additionalProperties: false
15257
+ },
15258
+ push: {
15259
+ type: "object",
15260
+ properties: {
15261
+ enabled: {
15262
+ type: "boolean"
15263
+ }
15264
+ },
15265
+ additionalProperties: false
15266
+ }
15267
+ },
15268
+ additionalProperties: false,
15269
+ default: {
15270
+ email: {
15271
+ enabled: false
15272
+ },
15273
+ sms: {
15274
+ enabled: false
15275
+ },
15276
+ push: {
15277
+ enabled: false
15278
+ }
15279
+ }
15280
+ },
15221
15281
  credentials: {
15222
15282
  type: "object",
15223
15283
  additionalProperties: true