@kohost/api-client 4.0.8 → 4.0.9

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.
Files changed (49) hide show
  1. package/dist/chunk-36WNTEIW.js +1 -1
  2. package/dist/chunk-EBJTC6MA.js +1 -1
  3. package/dist/chunk-HKJ2B2AA.js +1 -1
  4. package/dist/chunk-IJQVACF3.js +1 -0
  5. package/dist/{chunk-3ZUKHDXQ.js.map → chunk-IJQVACF3.js.map} +1 -1
  6. package/dist/chunk-KNSZIQXT.js +1 -1
  7. package/dist/chunk-W2G36LNI.js +1 -1
  8. package/dist/chunk-XZITDYVM.js +1 -0
  9. package/dist/chunk-XZITDYVM.js.map +1 -0
  10. package/dist/client.cjs +1 -1
  11. package/dist/client.js +1 -1
  12. package/dist/commands.cjs +1 -1
  13. package/dist/commands.cjs.map +1 -1
  14. package/dist/commands.js +1 -1
  15. package/dist/defs.cjs +1 -1
  16. package/dist/defs.js +1 -1
  17. package/dist/errors.cjs +1 -1
  18. package/dist/errors.cjs.map +1 -1
  19. package/dist/errors.js +1 -1
  20. package/dist/events.cjs +1 -1
  21. package/dist/events.cjs.map +1 -1
  22. package/dist/events.js +1 -1
  23. package/dist/index.cjs +1185 -1060
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +138 -123
  26. package/dist/index.d.ts +138 -123
  27. package/dist/index.js +1185 -1060
  28. package/dist/index.js.map +1 -1
  29. package/dist/models.cjs +1 -1
  30. package/dist/models.cjs.map +1 -1
  31. package/dist/models.d.cts +3 -3
  32. package/dist/models.d.ts +3 -3
  33. package/dist/models.js +1 -1
  34. package/dist/socketIoClient.cjs +1 -1
  35. package/dist/socketIoClient.js +1 -1
  36. package/dist/useCases.cjs +1 -1
  37. package/dist/useCases.cjs.map +1 -1
  38. package/dist/useCases.js +1 -1
  39. package/dist/utils.cjs +1 -1
  40. package/dist/utils.cjs.map +1 -1
  41. package/dist/utils.d.cts +1 -1
  42. package/dist/utils.d.ts +1 -1
  43. package/dist/utils.js +1 -1
  44. package/dist/{windowCovering-dE1qeU57.d.cts → windowCovering-CXcSOjuy.d.cts} +137 -122
  45. package/dist/{windowCovering-dE1qeU57.d.ts → windowCovering-CXcSOjuy.d.ts} +137 -122
  46. package/package.json +1 -1
  47. package/dist/chunk-36O34ETI.js +0 -1
  48. package/dist/chunk-36O34ETI.js.map +0 -1
  49. package/dist/chunk-3ZUKHDXQ.js +0 -1
package/dist/index.cjs CHANGED
@@ -6853,8 +6853,7 @@ function validate26(data, { instancePath = "", parentData, parentDataProperty, r
6853
6853
  }
6854
6854
  if (data.devices !== void 0) {
6855
6855
  let data4 = data.devices;
6856
- if (data4 && typeof data4 == "object" && !Array.isArray(data4)) {
6857
- } else {
6856
+ if (!(data4 && typeof data4 == "object" && !Array.isArray(data4))) {
6858
6857
  const err9 = {
6859
6858
  instancePath: instancePath + "/devices",
6860
6859
  schemaPath: "#/properties/devices/type",
@@ -16875,8 +16874,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16875
16874
  }
16876
16875
  if (data.credentials !== void 0) {
16877
16876
  let data31 = data.credentials;
16878
- if (data31 && typeof data31 == "object" && !Array.isArray(data31)) {
16879
- } else {
16877
+ if (!(data31 && typeof data31 == "object" && !Array.isArray(data31))) {
16880
16878
  const err39 = {
16881
16879
  instancePath: instancePath + "/credentials",
16882
16880
  schemaPath: "#/properties/credentials/type",
@@ -18162,6 +18160,11 @@ var schema160 = {
18162
18160
  enum: ["climate", "lights", "shades", "tv", "doors"]
18163
18161
  }
18164
18162
  },
18163
+ excludedDeviceIds: {
18164
+ type: "array",
18165
+ items: { type: "string" },
18166
+ default: []
18167
+ },
18165
18168
  commonAreas: {
18166
18169
  type: "object",
18167
18170
  properties: {
@@ -19122,8 +19125,11 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19122
19125
  if (data28.RoomControl !== void 0) {
19123
19126
  let data29 = data28.RoomControl;
19124
19127
  if (data29 && typeof data29 == "object" && !Array.isArray(data29)) {
19128
+ if (data29.excludedDeviceIds === void 0) {
19129
+ data29.excludedDeviceIds = [];
19130
+ }
19125
19131
  for (const key1 in data29) {
19126
- if (!(key1 === "disabledSystems" || key1 === "commonAreas" || key1 === "alarmConfig")) {
19132
+ if (!(key1 === "disabledSystems" || key1 === "excludedDeviceIds" || key1 === "commonAreas" || key1 === "alarmConfig")) {
19127
19133
  const err42 = {
19128
19134
  instancePath: instancePath + "/appFeatures/RoomControl",
19129
19135
  schemaPath: "#/properties/appFeatures/properties/RoomControl/additionalProperties",
@@ -19194,32 +19200,67 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19194
19200
  errors++;
19195
19201
  }
19196
19202
  }
19203
+ let data32 = data29.excludedDeviceIds;
19204
+ if (Array.isArray(data32)) {
19205
+ const len4 = data32.length;
19206
+ for (let i4 = 0; i4 < len4; i4++) {
19207
+ if (typeof data32[i4] !== "string") {
19208
+ const err46 = {
19209
+ instancePath: instancePath + "/appFeatures/RoomControl/excludedDeviceIds/" + i4,
19210
+ schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/excludedDeviceIds/items/type",
19211
+ keyword: "type",
19212
+ params: { type: "string" },
19213
+ message: "must be string"
19214
+ };
19215
+ if (vErrors === null) {
19216
+ vErrors = [err46];
19217
+ } else {
19218
+ vErrors.push(err46);
19219
+ }
19220
+ errors++;
19221
+ }
19222
+ }
19223
+ } else {
19224
+ const err47 = {
19225
+ instancePath: instancePath + "/appFeatures/RoomControl/excludedDeviceIds",
19226
+ schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/excludedDeviceIds/type",
19227
+ keyword: "type",
19228
+ params: { type: "array" },
19229
+ message: "must be array"
19230
+ };
19231
+ if (vErrors === null) {
19232
+ vErrors = [err47];
19233
+ } else {
19234
+ vErrors.push(err47);
19235
+ }
19236
+ errors++;
19237
+ }
19197
19238
  if (data29.commonAreas !== void 0) {
19198
- let data32 = data29.commonAreas;
19199
- if (data32 && typeof data32 == "object" && !Array.isArray(data32)) {
19200
- if (data32.spaces !== void 0) {
19201
- let data33 = data32.spaces;
19202
- if (Array.isArray(data33)) {
19203
- const len4 = data33.length;
19204
- for (let i4 = 0; i4 < len4; i4++) {
19205
- if (typeof data33[i4] !== "string") {
19206
- const err46 = {
19207
- instancePath: instancePath + "/appFeatures/RoomControl/commonAreas/spaces/" + i4,
19239
+ let data34 = data29.commonAreas;
19240
+ if (data34 && typeof data34 == "object" && !Array.isArray(data34)) {
19241
+ if (data34.spaces !== void 0) {
19242
+ let data35 = data34.spaces;
19243
+ if (Array.isArray(data35)) {
19244
+ const len5 = data35.length;
19245
+ for (let i5 = 0; i5 < len5; i5++) {
19246
+ if (typeof data35[i5] !== "string") {
19247
+ const err48 = {
19248
+ instancePath: instancePath + "/appFeatures/RoomControl/commonAreas/spaces/" + i5,
19208
19249
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/commonAreas/properties/spaces/items/type",
19209
19250
  keyword: "type",
19210
19251
  params: { type: "string" },
19211
19252
  message: "must be string"
19212
19253
  };
19213
19254
  if (vErrors === null) {
19214
- vErrors = [err46];
19255
+ vErrors = [err48];
19215
19256
  } else {
19216
- vErrors.push(err46);
19257
+ vErrors.push(err48);
19217
19258
  }
19218
19259
  errors++;
19219
19260
  }
19220
19261
  }
19221
19262
  } else {
19222
- const err47 = {
19263
+ const err49 = {
19223
19264
  instancePath: instancePath + "/appFeatures/RoomControl/commonAreas/spaces",
19224
19265
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/commonAreas/properties/spaces/type",
19225
19266
  keyword: "type",
@@ -19227,15 +19268,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19227
19268
  message: "must be array"
19228
19269
  };
19229
19270
  if (vErrors === null) {
19230
- vErrors = [err47];
19271
+ vErrors = [err49];
19231
19272
  } else {
19232
- vErrors.push(err47);
19273
+ vErrors.push(err49);
19233
19274
  }
19234
19275
  errors++;
19235
19276
  }
19236
19277
  }
19237
19278
  } else {
19238
- const err48 = {
19279
+ const err50 = {
19239
19280
  instancePath: instancePath + "/appFeatures/RoomControl/commonAreas",
19240
19281
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/commonAreas/type",
19241
19282
  keyword: "type",
@@ -19243,26 +19284,26 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19243
19284
  message: "must be object"
19244
19285
  };
19245
19286
  if (vErrors === null) {
19246
- vErrors = [err48];
19287
+ vErrors = [err50];
19247
19288
  } else {
19248
- vErrors.push(err48);
19289
+ vErrors.push(err50);
19249
19290
  }
19250
19291
  errors++;
19251
19292
  }
19252
19293
  }
19253
19294
  if (data29.alarmConfig !== void 0) {
19254
- let data35 = data29.alarmConfig;
19255
- if (data35 && typeof data35 == "object" && !Array.isArray(data35)) {
19256
- for (const key2 in data35) {
19295
+ let data37 = data29.alarmConfig;
19296
+ if (data37 && typeof data37 == "object" && !Array.isArray(data37)) {
19297
+ for (const key2 in data37) {
19257
19298
  if (pattern5.test(key2)) {
19258
- let data36 = data35[key2];
19259
- if (data36 && typeof data36 == "object" && !Array.isArray(data36)) {
19260
- if (data36.zoneLockMap !== void 0) {
19261
- let data37 = data36.zoneLockMap;
19262
- if (data37 && typeof data37 == "object" && !Array.isArray(data37)) {
19263
- for (const key3 in data37) {
19264
- if (typeof data37[key3] !== "string") {
19265
- const err49 = {
19299
+ let data38 = data37[key2];
19300
+ if (data38 && typeof data38 == "object" && !Array.isArray(data38)) {
19301
+ if (data38.zoneLockMap !== void 0) {
19302
+ let data39 = data38.zoneLockMap;
19303
+ if (data39 && typeof data39 == "object" && !Array.isArray(data39)) {
19304
+ for (const key3 in data39) {
19305
+ if (typeof data39[key3] !== "string") {
19306
+ const err51 = {
19266
19307
  instancePath: instancePath + "/appFeatures/RoomControl/alarmConfig/" + key2.replace(/~/g, "~0").replace(/\//g, "~1") + "/zoneLockMap/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),
19267
19308
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/alarmConfig/patternProperties/%5E%5Ba-zA-Z0-9%5D%2B%24/properties/zoneLockMap/additionalProperties/type",
19268
19309
  keyword: "type",
@@ -19270,15 +19311,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19270
19311
  message: "must be string"
19271
19312
  };
19272
19313
  if (vErrors === null) {
19273
- vErrors = [err49];
19314
+ vErrors = [err51];
19274
19315
  } else {
19275
- vErrors.push(err49);
19316
+ vErrors.push(err51);
19276
19317
  }
19277
19318
  errors++;
19278
19319
  }
19279
19320
  }
19280
19321
  } else {
19281
- const err50 = {
19322
+ const err52 = {
19282
19323
  instancePath: instancePath + "/appFeatures/RoomControl/alarmConfig/" + key2.replace(/~/g, "~0").replace(/\//g, "~1") + "/zoneLockMap",
19283
19324
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/alarmConfig/patternProperties/%5E%5Ba-zA-Z0-9%5D%2B%24/properties/zoneLockMap/type",
19284
19325
  keyword: "type",
@@ -19286,15 +19327,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19286
19327
  message: "must be object"
19287
19328
  };
19288
19329
  if (vErrors === null) {
19289
- vErrors = [err50];
19330
+ vErrors = [err52];
19290
19331
  } else {
19291
- vErrors.push(err50);
19332
+ vErrors.push(err52);
19292
19333
  }
19293
19334
  errors++;
19294
19335
  }
19295
19336
  }
19296
19337
  } else {
19297
- const err51 = {
19338
+ const err53 = {
19298
19339
  instancePath: instancePath + "/appFeatures/RoomControl/alarmConfig/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"),
19299
19340
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/alarmConfig/patternProperties/%5E%5Ba-zA-Z0-9%5D%2B%24/type",
19300
19341
  keyword: "type",
@@ -19302,16 +19343,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19302
19343
  message: "must be object"
19303
19344
  };
19304
19345
  if (vErrors === null) {
19305
- vErrors = [err51];
19346
+ vErrors = [err53];
19306
19347
  } else {
19307
- vErrors.push(err51);
19348
+ vErrors.push(err53);
19308
19349
  }
19309
19350
  errors++;
19310
19351
  }
19311
19352
  }
19312
19353
  }
19313
19354
  } else {
19314
- const err52 = {
19355
+ const err54 = {
19315
19356
  instancePath: instancePath + "/appFeatures/RoomControl/alarmConfig",
19316
19357
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/alarmConfig/type",
19317
19358
  keyword: "type",
@@ -19319,15 +19360,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19319
19360
  message: "must be object"
19320
19361
  };
19321
19362
  if (vErrors === null) {
19322
- vErrors = [err52];
19363
+ vErrors = [err54];
19323
19364
  } else {
19324
- vErrors.push(err52);
19365
+ vErrors.push(err54);
19325
19366
  }
19326
19367
  errors++;
19327
19368
  }
19328
19369
  }
19329
19370
  } else {
19330
- const err53 = {
19371
+ const err55 = {
19331
19372
  instancePath: instancePath + "/appFeatures/RoomControl",
19332
19373
  schemaPath: "#/properties/appFeatures/properties/RoomControl/type",
19333
19374
  keyword: "type",
@@ -19335,33 +19376,33 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19335
19376
  message: "must be object"
19336
19377
  };
19337
19378
  if (vErrors === null) {
19338
- vErrors = [err53];
19379
+ vErrors = [err55];
19339
19380
  } else {
19340
- vErrors.push(err53);
19381
+ vErrors.push(err55);
19341
19382
  }
19342
19383
  errors++;
19343
19384
  }
19344
19385
  }
19345
19386
  if (data28.CheckIn !== void 0) {
19346
- let data39 = data28.CheckIn;
19347
- if (data39 && typeof data39 == "object" && !Array.isArray(data39)) {
19348
- if (data39.earlyCheckIn !== void 0) {
19349
- let data40 = data39.earlyCheckIn;
19350
- if (data40 && typeof data40 == "object" && !Array.isArray(data40)) {
19351
- if (data40.dynamic === void 0) {
19352
- data40.dynamic = false;
19387
+ let data41 = data28.CheckIn;
19388
+ if (data41 && typeof data41 == "object" && !Array.isArray(data41)) {
19389
+ if (data41.earlyCheckIn !== void 0) {
19390
+ let data42 = data41.earlyCheckIn;
19391
+ if (data42 && typeof data42 == "object" && !Array.isArray(data42)) {
19392
+ if (data42.dynamic === void 0) {
19393
+ data42.dynamic = false;
19353
19394
  }
19354
- if (data40.minimumPrice === void 0) {
19355
- data40.minimumPrice = 10;
19395
+ if (data42.minimumPrice === void 0) {
19396
+ data42.minimumPrice = 10;
19356
19397
  }
19357
- if (data40.maximumPrice === void 0) {
19358
- data40.maximumPrice = 50;
19398
+ if (data42.maximumPrice === void 0) {
19399
+ data42.maximumPrice = 50;
19359
19400
  }
19360
- if (data40.priceRatioPerHour === void 0) {
19361
- data40.priceRatioPerHour = 0.1;
19401
+ if (data42.priceRatioPerHour === void 0) {
19402
+ data42.priceRatioPerHour = 0.1;
19362
19403
  }
19363
- if (data40.dynamic === void 0) {
19364
- const err54 = {
19404
+ if (data42.dynamic === void 0) {
19405
+ const err56 = {
19365
19406
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn",
19366
19407
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/required",
19367
19408
  keyword: "required",
@@ -19369,14 +19410,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19369
19410
  message: "must have required property 'dynamic'"
19370
19411
  };
19371
19412
  if (vErrors === null) {
19372
- vErrors = [err54];
19413
+ vErrors = [err56];
19373
19414
  } else {
19374
- vErrors.push(err54);
19415
+ vErrors.push(err56);
19375
19416
  }
19376
19417
  errors++;
19377
19418
  }
19378
- if (typeof data40.dynamic !== "boolean") {
19379
- const err55 = {
19419
+ if (typeof data42.dynamic !== "boolean") {
19420
+ const err57 = {
19380
19421
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/dynamic",
19381
19422
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/dynamic/type",
19382
19423
  keyword: "type",
@@ -19384,14 +19425,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19384
19425
  message: "must be boolean"
19385
19426
  };
19386
19427
  if (vErrors === null) {
19387
- vErrors = [err55];
19428
+ vErrors = [err57];
19388
19429
  } else {
19389
- vErrors.push(err55);
19430
+ vErrors.push(err57);
19390
19431
  }
19391
19432
  errors++;
19392
19433
  }
19393
- if (!(typeof data40.minimumPrice == "number")) {
19394
- const err56 = {
19434
+ if (!(typeof data42.minimumPrice == "number")) {
19435
+ const err58 = {
19395
19436
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/minimumPrice",
19396
19437
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/minimumPrice/type",
19397
19438
  keyword: "type",
@@ -19399,14 +19440,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19399
19440
  message: "must be number"
19400
19441
  };
19401
19442
  if (vErrors === null) {
19402
- vErrors = [err56];
19443
+ vErrors = [err58];
19403
19444
  } else {
19404
- vErrors.push(err56);
19445
+ vErrors.push(err58);
19405
19446
  }
19406
19447
  errors++;
19407
19448
  }
19408
- if (!(typeof data40.maximumPrice == "number")) {
19409
- const err57 = {
19449
+ if (!(typeof data42.maximumPrice == "number")) {
19450
+ const err59 = {
19410
19451
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/maximumPrice",
19411
19452
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/maximumPrice/type",
19412
19453
  keyword: "type",
@@ -19414,14 +19455,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19414
19455
  message: "must be number"
19415
19456
  };
19416
19457
  if (vErrors === null) {
19417
- vErrors = [err57];
19458
+ vErrors = [err59];
19418
19459
  } else {
19419
- vErrors.push(err57);
19460
+ vErrors.push(err59);
19420
19461
  }
19421
19462
  errors++;
19422
19463
  }
19423
- if (!(typeof data40.priceRatioPerHour == "number")) {
19424
- const err58 = {
19464
+ if (!(typeof data42.priceRatioPerHour == "number")) {
19465
+ const err60 = {
19425
19466
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/priceRatioPerHour",
19426
19467
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/priceRatioPerHour/type",
19427
19468
  keyword: "type",
@@ -19429,15 +19470,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19429
19470
  message: "must be number"
19430
19471
  };
19431
19472
  if (vErrors === null) {
19432
- vErrors = [err58];
19473
+ vErrors = [err60];
19433
19474
  } else {
19434
- vErrors.push(err58);
19475
+ vErrors.push(err60);
19435
19476
  }
19436
19477
  errors++;
19437
19478
  }
19438
- if (data40.minimumTime !== void 0) {
19439
- if (typeof data40.minimumTime !== "string") {
19440
- const err59 = {
19479
+ if (data42.minimumTime !== void 0) {
19480
+ if (typeof data42.minimumTime !== "string") {
19481
+ const err61 = {
19441
19482
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/minimumTime",
19442
19483
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/minimumTime/type",
19443
19484
  keyword: "type",
@@ -19445,15 +19486,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19445
19486
  message: "must be string"
19446
19487
  };
19447
19488
  if (vErrors === null) {
19448
- vErrors = [err59];
19489
+ vErrors = [err61];
19449
19490
  } else {
19450
- vErrors.push(err59);
19491
+ vErrors.push(err61);
19451
19492
  }
19452
19493
  errors++;
19453
19494
  }
19454
19495
  }
19455
19496
  } else {
19456
- const err60 = {
19497
+ const err62 = {
19457
19498
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn",
19458
19499
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/type",
19459
19500
  keyword: "type",
@@ -19461,9 +19502,9 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19461
19502
  message: "must be object"
19462
19503
  };
19463
19504
  if (vErrors === null) {
19464
- vErrors = [err60];
19505
+ vErrors = [err62];
19465
19506
  } else {
19466
- vErrors.push(err60);
19507
+ vErrors.push(err62);
19467
19508
  }
19468
19509
  errors++;
19469
19510
  }
@@ -19471,25 +19512,25 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19471
19512
  }
19472
19513
  }
19473
19514
  if (data28.CheckOut !== void 0) {
19474
- let data46 = data28.CheckOut;
19475
- if (data46 && typeof data46 == "object" && !Array.isArray(data46)) {
19476
- if (data46.lateCheckOut !== void 0) {
19477
- let data47 = data46.lateCheckOut;
19478
- if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
19479
- if (data47.dynamic === void 0) {
19480
- data47.dynamic = false;
19515
+ let data48 = data28.CheckOut;
19516
+ if (data48 && typeof data48 == "object" && !Array.isArray(data48)) {
19517
+ if (data48.lateCheckOut !== void 0) {
19518
+ let data49 = data48.lateCheckOut;
19519
+ if (data49 && typeof data49 == "object" && !Array.isArray(data49)) {
19520
+ if (data49.dynamic === void 0) {
19521
+ data49.dynamic = false;
19481
19522
  }
19482
- if (data47.minimumPrice === void 0) {
19483
- data47.minimumPrice = 10;
19523
+ if (data49.minimumPrice === void 0) {
19524
+ data49.minimumPrice = 10;
19484
19525
  }
19485
- if (data47.maximumPrice === void 0) {
19486
- data47.maximumPrice = 50;
19526
+ if (data49.maximumPrice === void 0) {
19527
+ data49.maximumPrice = 50;
19487
19528
  }
19488
- if (data47.priceRatioPerHour === void 0) {
19489
- data47.priceRatioPerHour = 0.1;
19529
+ if (data49.priceRatioPerHour === void 0) {
19530
+ data49.priceRatioPerHour = 0.1;
19490
19531
  }
19491
- if (data47.dynamic === void 0) {
19492
- const err61 = {
19532
+ if (data49.dynamic === void 0) {
19533
+ const err63 = {
19493
19534
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut",
19494
19535
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/required",
19495
19536
  keyword: "required",
@@ -19497,14 +19538,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19497
19538
  message: "must have required property 'dynamic'"
19498
19539
  };
19499
19540
  if (vErrors === null) {
19500
- vErrors = [err61];
19541
+ vErrors = [err63];
19501
19542
  } else {
19502
- vErrors.push(err61);
19543
+ vErrors.push(err63);
19503
19544
  }
19504
19545
  errors++;
19505
19546
  }
19506
- if (typeof data47.dynamic !== "boolean") {
19507
- const err62 = {
19547
+ if (typeof data49.dynamic !== "boolean") {
19548
+ const err64 = {
19508
19549
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut/dynamic",
19509
19550
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/properties/dynamic/type",
19510
19551
  keyword: "type",
@@ -19512,14 +19553,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19512
19553
  message: "must be boolean"
19513
19554
  };
19514
19555
  if (vErrors === null) {
19515
- vErrors = [err62];
19556
+ vErrors = [err64];
19516
19557
  } else {
19517
- vErrors.push(err62);
19558
+ vErrors.push(err64);
19518
19559
  }
19519
19560
  errors++;
19520
19561
  }
19521
- if (!(typeof data47.minimumPrice == "number")) {
19522
- const err63 = {
19562
+ if (!(typeof data49.minimumPrice == "number")) {
19563
+ const err65 = {
19523
19564
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut/minimumPrice",
19524
19565
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/properties/minimumPrice/type",
19525
19566
  keyword: "type",
@@ -19527,14 +19568,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19527
19568
  message: "must be number"
19528
19569
  };
19529
19570
  if (vErrors === null) {
19530
- vErrors = [err63];
19571
+ vErrors = [err65];
19531
19572
  } else {
19532
- vErrors.push(err63);
19573
+ vErrors.push(err65);
19533
19574
  }
19534
19575
  errors++;
19535
19576
  }
19536
- if (!(typeof data47.maximumPrice == "number")) {
19537
- const err64 = {
19577
+ if (!(typeof data49.maximumPrice == "number")) {
19578
+ const err66 = {
19538
19579
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut/maximumPrice",
19539
19580
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/properties/maximumPrice/type",
19540
19581
  keyword: "type",
@@ -19542,14 +19583,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19542
19583
  message: "must be number"
19543
19584
  };
19544
19585
  if (vErrors === null) {
19545
- vErrors = [err64];
19586
+ vErrors = [err66];
19546
19587
  } else {
19547
- vErrors.push(err64);
19588
+ vErrors.push(err66);
19548
19589
  }
19549
19590
  errors++;
19550
19591
  }
19551
- if (!(typeof data47.priceRatioPerHour == "number")) {
19552
- const err65 = {
19592
+ if (!(typeof data49.priceRatioPerHour == "number")) {
19593
+ const err67 = {
19553
19594
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut/priceRatioPerHour",
19554
19595
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/properties/priceRatioPerHour/type",
19555
19596
  keyword: "type",
@@ -19557,14 +19598,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19557
19598
  message: "must be number"
19558
19599
  };
19559
19600
  if (vErrors === null) {
19560
- vErrors = [err65];
19601
+ vErrors = [err67];
19561
19602
  } else {
19562
- vErrors.push(err65);
19603
+ vErrors.push(err67);
19563
19604
  }
19564
19605
  errors++;
19565
19606
  }
19566
19607
  } else {
19567
- const err66 = {
19608
+ const err68 = {
19568
19609
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut",
19569
19610
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/type",
19570
19611
  keyword: "type",
@@ -19572,9 +19613,9 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19572
19613
  message: "must be object"
19573
19614
  };
19574
19615
  if (vErrors === null) {
19575
- vErrors = [err66];
19616
+ vErrors = [err68];
19576
19617
  } else {
19577
- vErrors.push(err66);
19618
+ vErrors.push(err68);
19578
19619
  }
19579
19620
  errors++;
19580
19621
  }
@@ -19582,25 +19623,25 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19582
19623
  }
19583
19624
  }
19584
19625
  if (data28.Concierge !== void 0) {
19585
- let data52 = data28.Concierge;
19586
- if (data52 && typeof data52 == "object" && !Array.isArray(data52)) {
19587
- if (data52.timeTracking === void 0) {
19588
- data52.timeTracking = false;
19626
+ let data54 = data28.Concierge;
19627
+ if (data54 && typeof data54 == "object" && !Array.isArray(data54)) {
19628
+ if (data54.timeTracking === void 0) {
19629
+ data54.timeTracking = false;
19589
19630
  }
19590
- if (data52.tipping === void 0) {
19591
- data52.tipping = false;
19631
+ if (data54.tipping === void 0) {
19632
+ data54.tipping = false;
19592
19633
  }
19593
- if (data52.ratings === void 0) {
19594
- data52.ratings = true;
19634
+ if (data54.ratings === void 0) {
19635
+ data54.ratings = true;
19595
19636
  }
19596
- if (data52.newTicketCCs === void 0) {
19597
- data52.newTicketCCs = [];
19637
+ if (data54.newTicketCCs === void 0) {
19638
+ data54.newTicketCCs = [];
19598
19639
  }
19599
- if (data52.newMessageChannel === void 0) {
19600
- data52.newMessageChannel = "sms";
19640
+ if (data54.newMessageChannel === void 0) {
19641
+ data54.newMessageChannel = "sms";
19601
19642
  }
19602
- if (typeof data52.timeTracking !== "boolean") {
19603
- const err67 = {
19643
+ if (typeof data54.timeTracking !== "boolean") {
19644
+ const err69 = {
19604
19645
  instancePath: instancePath + "/appFeatures/Concierge/timeTracking",
19605
19646
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/timeTracking/type",
19606
19647
  keyword: "type",
@@ -19608,14 +19649,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19608
19649
  message: "must be boolean"
19609
19650
  };
19610
19651
  if (vErrors === null) {
19611
- vErrors = [err67];
19652
+ vErrors = [err69];
19612
19653
  } else {
19613
- vErrors.push(err67);
19654
+ vErrors.push(err69);
19614
19655
  }
19615
19656
  errors++;
19616
19657
  }
19617
- if (typeof data52.tipping !== "boolean") {
19618
- const err68 = {
19658
+ if (typeof data54.tipping !== "boolean") {
19659
+ const err70 = {
19619
19660
  instancePath: instancePath + "/appFeatures/Concierge/tipping",
19620
19661
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/tipping/type",
19621
19662
  keyword: "type",
@@ -19623,14 +19664,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19623
19664
  message: "must be boolean"
19624
19665
  };
19625
19666
  if (vErrors === null) {
19626
- vErrors = [err68];
19667
+ vErrors = [err70];
19627
19668
  } else {
19628
- vErrors.push(err68);
19669
+ vErrors.push(err70);
19629
19670
  }
19630
19671
  errors++;
19631
19672
  }
19632
- if (typeof data52.ratings !== "boolean") {
19633
- const err69 = {
19673
+ if (typeof data54.ratings !== "boolean") {
19674
+ const err71 = {
19634
19675
  instancePath: instancePath + "/appFeatures/Concierge/ratings",
19635
19676
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/ratings/type",
19636
19677
  keyword: "type",
@@ -19638,34 +19679,34 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19638
19679
  message: "must be boolean"
19639
19680
  };
19640
19681
  if (vErrors === null) {
19641
- vErrors = [err69];
19682
+ vErrors = [err71];
19642
19683
  } else {
19643
- vErrors.push(err69);
19684
+ vErrors.push(err71);
19644
19685
  }
19645
19686
  errors++;
19646
19687
  }
19647
- let data56 = data52.newTicketCCs;
19648
- if (Array.isArray(data56)) {
19649
- const len5 = data56.length;
19650
- for (let i5 = 0; i5 < len5; i5++) {
19651
- if (typeof data56[i5] !== "string") {
19652
- const err70 = {
19653
- instancePath: instancePath + "/appFeatures/Concierge/newTicketCCs/" + i5,
19688
+ let data58 = data54.newTicketCCs;
19689
+ if (Array.isArray(data58)) {
19690
+ const len6 = data58.length;
19691
+ for (let i6 = 0; i6 < len6; i6++) {
19692
+ if (typeof data58[i6] !== "string") {
19693
+ const err72 = {
19694
+ instancePath: instancePath + "/appFeatures/Concierge/newTicketCCs/" + i6,
19654
19695
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newTicketCCs/items/type",
19655
19696
  keyword: "type",
19656
19697
  params: { type: "string" },
19657
19698
  message: "must be string"
19658
19699
  };
19659
19700
  if (vErrors === null) {
19660
- vErrors = [err70];
19701
+ vErrors = [err72];
19661
19702
  } else {
19662
- vErrors.push(err70);
19703
+ vErrors.push(err72);
19663
19704
  }
19664
19705
  errors++;
19665
19706
  }
19666
19707
  }
19667
19708
  } else {
19668
- const err71 = {
19709
+ const err73 = {
19669
19710
  instancePath: instancePath + "/appFeatures/Concierge/newTicketCCs",
19670
19711
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newTicketCCs/type",
19671
19712
  keyword: "type",
@@ -19673,15 +19714,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19673
19714
  message: "must be array"
19674
19715
  };
19675
19716
  if (vErrors === null) {
19676
- vErrors = [err71];
19717
+ vErrors = [err73];
19677
19718
  } else {
19678
- vErrors.push(err71);
19719
+ vErrors.push(err73);
19679
19720
  }
19680
19721
  errors++;
19681
19722
  }
19682
- let data58 = data52.newMessageChannel;
19683
- if (typeof data58 !== "string" && data58 !== null) {
19684
- const err72 = {
19723
+ let data60 = data54.newMessageChannel;
19724
+ if (typeof data60 !== "string" && data60 !== null) {
19725
+ const err74 = {
19685
19726
  instancePath: instancePath + "/appFeatures/Concierge/newMessageChannel",
19686
19727
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/type",
19687
19728
  keyword: "type",
@@ -19691,14 +19732,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19691
19732
  message: "must be string,null"
19692
19733
  };
19693
19734
  if (vErrors === null) {
19694
- vErrors = [err72];
19735
+ vErrors = [err74];
19695
19736
  } else {
19696
- vErrors.push(err72);
19737
+ vErrors.push(err74);
19697
19738
  }
19698
19739
  errors++;
19699
19740
  }
19700
- if (!(data58 === "sms" || data58 === "email")) {
19701
- const err73 = {
19741
+ if (!(data60 === "sms" || data60 === "email")) {
19742
+ const err75 = {
19702
19743
  instancePath: instancePath + "/appFeatures/Concierge/newMessageChannel",
19703
19744
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/enum",
19704
19745
  keyword: "enum",
@@ -19708,119 +19749,119 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19708
19749
  message: "must be equal to one of the allowed values"
19709
19750
  };
19710
19751
  if (vErrors === null) {
19711
- vErrors = [err73];
19752
+ vErrors = [err75];
19712
19753
  } else {
19713
- vErrors.push(err73);
19754
+ vErrors.push(err75);
19714
19755
  }
19715
19756
  errors++;
19716
19757
  }
19717
- if (data52.quickServices !== void 0) {
19718
- let data59 = data52.quickServices;
19719
- if (Array.isArray(data59)) {
19720
- const len6 = data59.length;
19721
- for (let i6 = 0; i6 < len6; i6++) {
19722
- let data60 = data59[i6];
19723
- if (data60 && typeof data60 == "object" && !Array.isArray(data60)) {
19724
- if (data60.name === void 0) {
19725
- const err74 = {
19726
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6,
19758
+ if (data54.quickServices !== void 0) {
19759
+ let data61 = data54.quickServices;
19760
+ if (Array.isArray(data61)) {
19761
+ const len7 = data61.length;
19762
+ for (let i7 = 0; i7 < len7; i7++) {
19763
+ let data62 = data61[i7];
19764
+ if (data62 && typeof data62 == "object" && !Array.isArray(data62)) {
19765
+ if (data62.name === void 0) {
19766
+ const err76 = {
19767
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7,
19727
19768
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/required",
19728
19769
  keyword: "required",
19729
19770
  params: { missingProperty: "name" },
19730
19771
  message: "must have required property 'name'"
19731
19772
  };
19732
19773
  if (vErrors === null) {
19733
- vErrors = [err74];
19774
+ vErrors = [err76];
19734
19775
  } else {
19735
- vErrors.push(err74);
19776
+ vErrors.push(err76);
19736
19777
  }
19737
19778
  errors++;
19738
19779
  }
19739
- if (data60.description === void 0) {
19740
- const err75 = {
19741
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6,
19780
+ if (data62.description === void 0) {
19781
+ const err77 = {
19782
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7,
19742
19783
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/required",
19743
19784
  keyword: "required",
19744
19785
  params: { missingProperty: "description" },
19745
19786
  message: "must have required property 'description'"
19746
19787
  };
19747
19788
  if (vErrors === null) {
19748
- vErrors = [err75];
19789
+ vErrors = [err77];
19749
19790
  } else {
19750
- vErrors.push(err75);
19791
+ vErrors.push(err77);
19751
19792
  }
19752
19793
  errors++;
19753
19794
  }
19754
- if (data60.image === void 0) {
19755
- const err76 = {
19756
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6,
19795
+ if (data62.image === void 0) {
19796
+ const err78 = {
19797
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7,
19757
19798
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/required",
19758
19799
  keyword: "required",
19759
19800
  params: { missingProperty: "image" },
19760
19801
  message: "must have required property 'image'"
19761
19802
  };
19762
19803
  if (vErrors === null) {
19763
- vErrors = [err76];
19804
+ vErrors = [err78];
19764
19805
  } else {
19765
- vErrors.push(err76);
19806
+ vErrors.push(err78);
19766
19807
  }
19767
19808
  errors++;
19768
19809
  }
19769
- if (data60.name !== void 0) {
19770
- if (typeof data60.name !== "string") {
19771
- const err77 = {
19772
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6 + "/name",
19810
+ if (data62.name !== void 0) {
19811
+ if (typeof data62.name !== "string") {
19812
+ const err79 = {
19813
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7 + "/name",
19773
19814
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/properties/name/type",
19774
19815
  keyword: "type",
19775
19816
  params: { type: "string" },
19776
19817
  message: "must be string"
19777
19818
  };
19778
19819
  if (vErrors === null) {
19779
- vErrors = [err77];
19820
+ vErrors = [err79];
19780
19821
  } else {
19781
- vErrors.push(err77);
19822
+ vErrors.push(err79);
19782
19823
  }
19783
19824
  errors++;
19784
19825
  }
19785
19826
  }
19786
- if (data60.description !== void 0) {
19787
- if (typeof data60.description !== "string") {
19788
- const err78 = {
19789
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6 + "/description",
19827
+ if (data62.description !== void 0) {
19828
+ if (typeof data62.description !== "string") {
19829
+ const err80 = {
19830
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7 + "/description",
19790
19831
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/properties/description/type",
19791
19832
  keyword: "type",
19792
19833
  params: { type: "string" },
19793
19834
  message: "must be string"
19794
19835
  };
19795
19836
  if (vErrors === null) {
19796
- vErrors = [err78];
19837
+ vErrors = [err80];
19797
19838
  } else {
19798
- vErrors.push(err78);
19839
+ vErrors.push(err80);
19799
19840
  }
19800
19841
  errors++;
19801
19842
  }
19802
19843
  }
19803
- if (data60.department !== void 0) {
19804
- if (typeof data60.department !== "string") {
19805
- const err79 = {
19806
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6 + "/department",
19844
+ if (data62.department !== void 0) {
19845
+ if (typeof data62.department !== "string") {
19846
+ const err81 = {
19847
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7 + "/department",
19807
19848
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/properties/department/type",
19808
19849
  keyword: "type",
19809
19850
  params: { type: "string" },
19810
19851
  message: "must be string"
19811
19852
  };
19812
19853
  if (vErrors === null) {
19813
- vErrors = [err79];
19854
+ vErrors = [err81];
19814
19855
  } else {
19815
- vErrors.push(err79);
19856
+ vErrors.push(err81);
19816
19857
  }
19817
19858
  errors++;
19818
19859
  }
19819
19860
  }
19820
- if (data60.image !== void 0) {
19821
- if (!validate15(data60.image, {
19822
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6 + "/image",
19823
- parentData: data60,
19861
+ if (data62.image !== void 0) {
19862
+ if (!validate15(data62.image, {
19863
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7 + "/image",
19864
+ parentData: data62,
19824
19865
  parentDataProperty: "image",
19825
19866
  rootData
19826
19867
  })) {
@@ -19829,23 +19870,23 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19829
19870
  }
19830
19871
  }
19831
19872
  } else {
19832
- const err80 = {
19833
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6,
19873
+ const err82 = {
19874
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7,
19834
19875
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/type",
19835
19876
  keyword: "type",
19836
19877
  params: { type: "object" },
19837
19878
  message: "must be object"
19838
19879
  };
19839
19880
  if (vErrors === null) {
19840
- vErrors = [err80];
19881
+ vErrors = [err82];
19841
19882
  } else {
19842
- vErrors.push(err80);
19883
+ vErrors.push(err82);
19843
19884
  }
19844
19885
  errors++;
19845
19886
  }
19846
19887
  }
19847
19888
  } else {
19848
- const err81 = {
19889
+ const err83 = {
19849
19890
  instancePath: instancePath + "/appFeatures/Concierge/quickServices",
19850
19891
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/type",
19851
19892
  keyword: "type",
@@ -19853,19 +19894,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19853
19894
  message: "must be array"
19854
19895
  };
19855
19896
  if (vErrors === null) {
19856
- vErrors = [err81];
19897
+ vErrors = [err83];
19857
19898
  } else {
19858
- vErrors.push(err81);
19899
+ vErrors.push(err83);
19859
19900
  }
19860
19901
  errors++;
19861
19902
  }
19862
19903
  }
19863
- if (data52.issues !== void 0) {
19864
- let data65 = data52.issues;
19865
- if (data65 && typeof data65 == "object" && !Array.isArray(data65)) {
19866
- if (data65.syncWithPropertyId !== void 0) {
19867
- if (typeof data65.syncWithPropertyId !== "string") {
19868
- const err82 = {
19904
+ if (data54.issues !== void 0) {
19905
+ let data67 = data54.issues;
19906
+ if (data67 && typeof data67 == "object" && !Array.isArray(data67)) {
19907
+ if (data67.syncWithPropertyId !== void 0) {
19908
+ if (typeof data67.syncWithPropertyId !== "string") {
19909
+ const err84 = {
19869
19910
  instancePath: instancePath + "/appFeatures/Concierge/issues/syncWithPropertyId",
19870
19911
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/issues/properties/syncWithPropertyId/type",
19871
19912
  keyword: "type",
@@ -19873,15 +19914,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19873
19914
  message: "must be string"
19874
19915
  };
19875
19916
  if (vErrors === null) {
19876
- vErrors = [err82];
19917
+ vErrors = [err84];
19877
19918
  } else {
19878
- vErrors.push(err82);
19919
+ vErrors.push(err84);
19879
19920
  }
19880
19921
  errors++;
19881
19922
  }
19882
19923
  }
19883
19924
  } else {
19884
- const err83 = {
19925
+ const err85 = {
19885
19926
  instancePath: instancePath + "/appFeatures/Concierge/issues",
19886
19927
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/issues/type",
19887
19928
  keyword: "type",
@@ -19889,15 +19930,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19889
19930
  message: "must be object"
19890
19931
  };
19891
19932
  if (vErrors === null) {
19892
- vErrors = [err83];
19933
+ vErrors = [err85];
19893
19934
  } else {
19894
- vErrors.push(err83);
19935
+ vErrors.push(err85);
19895
19936
  }
19896
19937
  errors++;
19897
19938
  }
19898
19939
  }
19899
19940
  } else {
19900
- const err84 = {
19941
+ const err86 = {
19901
19942
  instancePath: instancePath + "/appFeatures/Concierge",
19902
19943
  schemaPath: "#/properties/appFeatures/properties/Concierge/type",
19903
19944
  keyword: "type",
@@ -19905,26 +19946,26 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19905
19946
  message: "must be object"
19906
19947
  };
19907
19948
  if (vErrors === null) {
19908
- vErrors = [err84];
19949
+ vErrors = [err86];
19909
19950
  } else {
19910
- vErrors.push(err84);
19951
+ vErrors.push(err86);
19911
19952
  }
19912
19953
  errors++;
19913
19954
  }
19914
19955
  }
19915
19956
  if (data28.DigitalKey !== void 0) {
19916
- let data67 = data28.DigitalKey;
19917
- if (data67 && typeof data67 == "object" && !Array.isArray(data67)) {
19918
- if (data67.systemOnline === void 0) {
19919
- data67.systemOnline = false;
19920
- }
19921
- if (data67.systemConfig === void 0) {
19922
- data67.systemConfig = {};
19923
- }
19924
- if (data67.system !== void 0) {
19925
- let data68 = data67.system;
19926
- if (typeof data68 !== "string") {
19927
- const err85 = {
19957
+ let data69 = data28.DigitalKey;
19958
+ if (data69 && typeof data69 == "object" && !Array.isArray(data69)) {
19959
+ if (data69.systemOnline === void 0) {
19960
+ data69.systemOnline = false;
19961
+ }
19962
+ if (data69.systemConfig === void 0) {
19963
+ data69.systemConfig = {};
19964
+ }
19965
+ if (data69.system !== void 0) {
19966
+ let data70 = data69.system;
19967
+ if (typeof data70 !== "string") {
19968
+ const err87 = {
19928
19969
  instancePath: instancePath + "/appFeatures/DigitalKey/system",
19929
19970
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/system/type",
19930
19971
  keyword: "type",
@@ -19932,14 +19973,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19932
19973
  message: "must be string"
19933
19974
  };
19934
19975
  if (vErrors === null) {
19935
- vErrors = [err85];
19976
+ vErrors = [err87];
19936
19977
  } else {
19937
- vErrors.push(err85);
19978
+ vErrors.push(err87);
19938
19979
  }
19939
19980
  errors++;
19940
19981
  }
19941
- if (!(data68 === "salto" || data68 === "dormakaba")) {
19942
- const err86 = {
19982
+ if (!(data70 === "salto" || data70 === "dormakaba")) {
19983
+ const err88 = {
19943
19984
  instancePath: instancePath + "/appFeatures/DigitalKey/system",
19944
19985
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/system/enum",
19945
19986
  keyword: "enum",
@@ -19949,15 +19990,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19949
19990
  message: "must be equal to one of the allowed values"
19950
19991
  };
19951
19992
  if (vErrors === null) {
19952
- vErrors = [err86];
19993
+ vErrors = [err88];
19953
19994
  } else {
19954
- vErrors.push(err86);
19995
+ vErrors.push(err88);
19955
19996
  }
19956
19997
  errors++;
19957
19998
  }
19958
19999
  }
19959
- if (typeof data67.systemOnline !== "boolean") {
19960
- const err87 = {
20000
+ if (typeof data69.systemOnline !== "boolean") {
20001
+ const err89 = {
19961
20002
  instancePath: instancePath + "/appFeatures/DigitalKey/systemOnline",
19962
20003
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemOnline/type",
19963
20004
  keyword: "type",
@@ -19965,17 +20006,17 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19965
20006
  message: "must be boolean"
19966
20007
  };
19967
20008
  if (vErrors === null) {
19968
- vErrors = [err87];
20009
+ vErrors = [err89];
19969
20010
  } else {
19970
- vErrors.push(err87);
20011
+ vErrors.push(err89);
19971
20012
  }
19972
20013
  errors++;
19973
20014
  }
19974
- let data70 = data67.systemConfig;
19975
- if (data70 && typeof data70 == "object" && !Array.isArray(data70)) {
19976
- for (const key4 in data70) {
20015
+ let data72 = data69.systemConfig;
20016
+ if (data72 && typeof data72 == "object" && !Array.isArray(data72)) {
20017
+ for (const key4 in data72) {
19977
20018
  if (!(key4 === "legicUrl" || key4 === "legicWalletName" || key4 === "legicAppId" || key4 === "legicTechUsername" || key4 === "legicTechPassword")) {
19978
- const err88 = {
20019
+ const err90 = {
19979
20020
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig",
19980
20021
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/additionalProperties",
19981
20022
  keyword: "additionalProperties",
@@ -19983,18 +20024,18 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19983
20024
  message: "must NOT have additional properties"
19984
20025
  };
19985
20026
  if (vErrors === null) {
19986
- vErrors = [err88];
20027
+ vErrors = [err90];
19987
20028
  } else {
19988
- vErrors.push(err88);
20029
+ vErrors.push(err90);
19989
20030
  }
19990
20031
  errors++;
19991
20032
  }
19992
20033
  }
19993
- if (data70.legicUrl !== void 0) {
19994
- let data71 = data70.legicUrl;
19995
- if (typeof data71 === "string") {
19996
- if (!formats0(data71)) {
19997
- const err89 = {
20034
+ if (data72.legicUrl !== void 0) {
20035
+ let data73 = data72.legicUrl;
20036
+ if (typeof data73 === "string") {
20037
+ if (!formats0(data73)) {
20038
+ const err91 = {
19998
20039
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicUrl",
19999
20040
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicUrl/format",
20000
20041
  keyword: "format",
@@ -20002,14 +20043,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20002
20043
  message: 'must match format "uri"'
20003
20044
  };
20004
20045
  if (vErrors === null) {
20005
- vErrors = [err89];
20046
+ vErrors = [err91];
20006
20047
  } else {
20007
- vErrors.push(err89);
20048
+ vErrors.push(err91);
20008
20049
  }
20009
20050
  errors++;
20010
20051
  }
20011
20052
  } else {
20012
- const err90 = {
20053
+ const err92 = {
20013
20054
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicUrl",
20014
20055
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicUrl/type",
20015
20056
  keyword: "type",
@@ -20017,16 +20058,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20017
20058
  message: "must be string"
20018
20059
  };
20019
20060
  if (vErrors === null) {
20020
- vErrors = [err90];
20061
+ vErrors = [err92];
20021
20062
  } else {
20022
- vErrors.push(err90);
20063
+ vErrors.push(err92);
20023
20064
  }
20024
20065
  errors++;
20025
20066
  }
20026
20067
  }
20027
- if (data70.legicWalletName !== void 0) {
20028
- if (typeof data70.legicWalletName !== "string") {
20029
- const err91 = {
20068
+ if (data72.legicWalletName !== void 0) {
20069
+ if (typeof data72.legicWalletName !== "string") {
20070
+ const err93 = {
20030
20071
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicWalletName",
20031
20072
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicWalletName/type",
20032
20073
  keyword: "type",
@@ -20034,16 +20075,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20034
20075
  message: "must be string"
20035
20076
  };
20036
20077
  if (vErrors === null) {
20037
- vErrors = [err91];
20078
+ vErrors = [err93];
20038
20079
  } else {
20039
- vErrors.push(err91);
20080
+ vErrors.push(err93);
20040
20081
  }
20041
20082
  errors++;
20042
20083
  }
20043
20084
  }
20044
- if (data70.legicAppId !== void 0) {
20045
- if (!(typeof data70.legicAppId == "number")) {
20046
- const err92 = {
20085
+ if (data72.legicAppId !== void 0) {
20086
+ if (!(typeof data72.legicAppId == "number")) {
20087
+ const err94 = {
20047
20088
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicAppId",
20048
20089
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicAppId/type",
20049
20090
  keyword: "type",
@@ -20051,16 +20092,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20051
20092
  message: "must be number"
20052
20093
  };
20053
20094
  if (vErrors === null) {
20054
- vErrors = [err92];
20095
+ vErrors = [err94];
20055
20096
  } else {
20056
- vErrors.push(err92);
20097
+ vErrors.push(err94);
20057
20098
  }
20058
20099
  errors++;
20059
20100
  }
20060
20101
  }
20061
- if (data70.legicTechUsername !== void 0) {
20062
- if (typeof data70.legicTechUsername !== "string") {
20063
- const err93 = {
20102
+ if (data72.legicTechUsername !== void 0) {
20103
+ if (typeof data72.legicTechUsername !== "string") {
20104
+ const err95 = {
20064
20105
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicTechUsername",
20065
20106
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicTechUsername/type",
20066
20107
  keyword: "type",
@@ -20068,16 +20109,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20068
20109
  message: "must be string"
20069
20110
  };
20070
20111
  if (vErrors === null) {
20071
- vErrors = [err93];
20112
+ vErrors = [err95];
20072
20113
  } else {
20073
- vErrors.push(err93);
20114
+ vErrors.push(err95);
20074
20115
  }
20075
20116
  errors++;
20076
20117
  }
20077
20118
  }
20078
- if (data70.legicTechPassword !== void 0) {
20079
- if (typeof data70.legicTechPassword !== "string") {
20080
- const err94 = {
20119
+ if (data72.legicTechPassword !== void 0) {
20120
+ if (typeof data72.legicTechPassword !== "string") {
20121
+ const err96 = {
20081
20122
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicTechPassword",
20082
20123
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicTechPassword/type",
20083
20124
  keyword: "type",
@@ -20085,15 +20126,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20085
20126
  message: "must be string"
20086
20127
  };
20087
20128
  if (vErrors === null) {
20088
- vErrors = [err94];
20129
+ vErrors = [err96];
20089
20130
  } else {
20090
- vErrors.push(err94);
20131
+ vErrors.push(err96);
20091
20132
  }
20092
20133
  errors++;
20093
20134
  }
20094
20135
  }
20095
20136
  } else {
20096
- const err95 = {
20137
+ const err97 = {
20097
20138
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig",
20098
20139
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/type",
20099
20140
  keyword: "type",
@@ -20101,15 +20142,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20101
20142
  message: "must be object"
20102
20143
  };
20103
20144
  if (vErrors === null) {
20104
- vErrors = [err95];
20145
+ vErrors = [err97];
20105
20146
  } else {
20106
- vErrors.push(err95);
20147
+ vErrors.push(err97);
20107
20148
  }
20108
20149
  errors++;
20109
20150
  }
20110
- if (data67.enableApp !== void 0) {
20111
- if (typeof data67.enableApp !== "boolean") {
20112
- const err96 = {
20151
+ if (data69.enableApp !== void 0) {
20152
+ if (typeof data69.enableApp !== "boolean") {
20153
+ const err98 = {
20113
20154
  instancePath: instancePath + "/appFeatures/DigitalKey/enableApp",
20114
20155
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/enableApp/type",
20115
20156
  keyword: "type",
@@ -20117,21 +20158,21 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20117
20158
  message: "must be boolean"
20118
20159
  };
20119
20160
  if (vErrors === null) {
20120
- vErrors = [err96];
20161
+ vErrors = [err98];
20121
20162
  } else {
20122
- vErrors.push(err96);
20163
+ vErrors.push(err98);
20123
20164
  }
20124
20165
  errors++;
20125
20166
  }
20126
20167
  }
20127
- if (data67.branding !== void 0) {
20128
- let data77 = data67.branding;
20129
- if (data77 && typeof data77 == "object" && !Array.isArray(data77)) {
20130
- if (data77.logo !== void 0) {
20131
- let data78 = data77.logo;
20132
- if (typeof data78 === "string") {
20133
- if (!formats0(data78)) {
20134
- const err97 = {
20168
+ if (data69.branding !== void 0) {
20169
+ let data79 = data69.branding;
20170
+ if (data79 && typeof data79 == "object" && !Array.isArray(data79)) {
20171
+ if (data79.logo !== void 0) {
20172
+ let data80 = data79.logo;
20173
+ if (typeof data80 === "string") {
20174
+ if (!formats0(data80)) {
20175
+ const err99 = {
20135
20176
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/logo",
20136
20177
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/logo/format",
20137
20178
  keyword: "format",
@@ -20139,14 +20180,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20139
20180
  message: 'must match format "uri"'
20140
20181
  };
20141
20182
  if (vErrors === null) {
20142
- vErrors = [err97];
20183
+ vErrors = [err99];
20143
20184
  } else {
20144
- vErrors.push(err97);
20185
+ vErrors.push(err99);
20145
20186
  }
20146
20187
  errors++;
20147
20188
  }
20148
20189
  } else {
20149
- const err98 = {
20190
+ const err100 = {
20150
20191
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/logo",
20151
20192
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/logo/type",
20152
20193
  keyword: "type",
@@ -20154,18 +20195,18 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20154
20195
  message: "must be string"
20155
20196
  };
20156
20197
  if (vErrors === null) {
20157
- vErrors = [err98];
20198
+ vErrors = [err100];
20158
20199
  } else {
20159
- vErrors.push(err98);
20200
+ vErrors.push(err100);
20160
20201
  }
20161
20202
  errors++;
20162
20203
  }
20163
20204
  }
20164
- if (data77.gradient !== void 0) {
20165
- let data79 = data77.gradient;
20166
- if (Array.isArray(data79)) {
20167
- if (data79.length > 2) {
20168
- const err99 = {
20205
+ if (data79.gradient !== void 0) {
20206
+ let data81 = data79.gradient;
20207
+ if (Array.isArray(data81)) {
20208
+ if (data81.length > 2) {
20209
+ const err101 = {
20169
20210
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient",
20170
20211
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/maxItems",
20171
20212
  keyword: "maxItems",
@@ -20173,14 +20214,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20173
20214
  message: "must NOT have more than 2 items"
20174
20215
  };
20175
20216
  if (vErrors === null) {
20176
- vErrors = [err99];
20217
+ vErrors = [err101];
20177
20218
  } else {
20178
- vErrors.push(err99);
20219
+ vErrors.push(err101);
20179
20220
  }
20180
20221
  errors++;
20181
20222
  }
20182
- if (data79.length < 2) {
20183
- const err100 = {
20223
+ if (data81.length < 2) {
20224
+ const err102 = {
20184
20225
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient",
20185
20226
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/minItems",
20186
20227
  keyword: "minItems",
@@ -20188,49 +20229,49 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20188
20229
  message: "must NOT have fewer than 2 items"
20189
20230
  };
20190
20231
  if (vErrors === null) {
20191
- vErrors = [err100];
20232
+ vErrors = [err102];
20192
20233
  } else {
20193
- vErrors.push(err100);
20234
+ vErrors.push(err102);
20194
20235
  }
20195
20236
  errors++;
20196
20237
  }
20197
- const len7 = data79.length;
20198
- for (let i7 = 0; i7 < len7; i7++) {
20199
- let data80 = data79[i7];
20200
- if (typeof data80 === "string") {
20201
- if (!pattern6.test(data80)) {
20202
- const err101 = {
20203
- instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient/" + i7,
20238
+ const len8 = data81.length;
20239
+ for (let i8 = 0; i8 < len8; i8++) {
20240
+ let data82 = data81[i8];
20241
+ if (typeof data82 === "string") {
20242
+ if (!pattern6.test(data82)) {
20243
+ const err103 = {
20244
+ instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient/" + i8,
20204
20245
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/items/pattern",
20205
20246
  keyword: "pattern",
20206
20247
  params: { pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$" },
20207
20248
  message: 'must match pattern "^(?!#ffffff)(#[0-9a-fA-F]{6})$"'
20208
20249
  };
20209
20250
  if (vErrors === null) {
20210
- vErrors = [err101];
20251
+ vErrors = [err103];
20211
20252
  } else {
20212
- vErrors.push(err101);
20253
+ vErrors.push(err103);
20213
20254
  }
20214
20255
  errors++;
20215
20256
  }
20216
20257
  } else {
20217
- const err102 = {
20218
- instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient/" + i7,
20258
+ const err104 = {
20259
+ instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient/" + i8,
20219
20260
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/items/type",
20220
20261
  keyword: "type",
20221
20262
  params: { type: "string" },
20222
20263
  message: "must be string"
20223
20264
  };
20224
20265
  if (vErrors === null) {
20225
- vErrors = [err102];
20266
+ vErrors = [err104];
20226
20267
  } else {
20227
- vErrors.push(err102);
20268
+ vErrors.push(err104);
20228
20269
  }
20229
20270
  errors++;
20230
20271
  }
20231
20272
  }
20232
20273
  } else {
20233
- const err103 = {
20274
+ const err105 = {
20234
20275
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient",
20235
20276
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/type",
20236
20277
  keyword: "type",
@@ -20238,18 +20279,18 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20238
20279
  message: "must be array"
20239
20280
  };
20240
20281
  if (vErrors === null) {
20241
- vErrors = [err103];
20282
+ vErrors = [err105];
20242
20283
  } else {
20243
- vErrors.push(err103);
20284
+ vErrors.push(err105);
20244
20285
  }
20245
20286
  errors++;
20246
20287
  }
20247
20288
  }
20248
- if (data77.highlightedGradient !== void 0) {
20249
- let data81 = data77.highlightedGradient;
20250
- if (Array.isArray(data81)) {
20251
- if (data81.length > 3) {
20252
- const err104 = {
20289
+ if (data79.highlightedGradient !== void 0) {
20290
+ let data83 = data79.highlightedGradient;
20291
+ if (Array.isArray(data83)) {
20292
+ if (data83.length > 3) {
20293
+ const err106 = {
20253
20294
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient",
20254
20295
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/maxItems",
20255
20296
  keyword: "maxItems",
@@ -20257,14 +20298,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20257
20298
  message: "must NOT have more than 3 items"
20258
20299
  };
20259
20300
  if (vErrors === null) {
20260
- vErrors = [err104];
20301
+ vErrors = [err106];
20261
20302
  } else {
20262
- vErrors.push(err104);
20303
+ vErrors.push(err106);
20263
20304
  }
20264
20305
  errors++;
20265
20306
  }
20266
- if (data81.length < 2) {
20267
- const err105 = {
20307
+ if (data83.length < 2) {
20308
+ const err107 = {
20268
20309
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient",
20269
20310
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/minItems",
20270
20311
  keyword: "minItems",
@@ -20272,49 +20313,49 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20272
20313
  message: "must NOT have fewer than 2 items"
20273
20314
  };
20274
20315
  if (vErrors === null) {
20275
- vErrors = [err105];
20316
+ vErrors = [err107];
20276
20317
  } else {
20277
- vErrors.push(err105);
20318
+ vErrors.push(err107);
20278
20319
  }
20279
20320
  errors++;
20280
20321
  }
20281
- const len8 = data81.length;
20282
- for (let i8 = 0; i8 < len8; i8++) {
20283
- let data82 = data81[i8];
20284
- if (typeof data82 === "string") {
20285
- if (!pattern6.test(data82)) {
20286
- const err106 = {
20287
- instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient/" + i8,
20322
+ const len9 = data83.length;
20323
+ for (let i9 = 0; i9 < len9; i9++) {
20324
+ let data84 = data83[i9];
20325
+ if (typeof data84 === "string") {
20326
+ if (!pattern6.test(data84)) {
20327
+ const err108 = {
20328
+ instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient/" + i9,
20288
20329
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/items/pattern",
20289
20330
  keyword: "pattern",
20290
20331
  params: { pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$" },
20291
20332
  message: 'must match pattern "^(?!#ffffff)(#[0-9a-fA-F]{6})$"'
20292
20333
  };
20293
20334
  if (vErrors === null) {
20294
- vErrors = [err106];
20335
+ vErrors = [err108];
20295
20336
  } else {
20296
- vErrors.push(err106);
20337
+ vErrors.push(err108);
20297
20338
  }
20298
20339
  errors++;
20299
20340
  }
20300
20341
  } else {
20301
- const err107 = {
20302
- instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient/" + i8,
20342
+ const err109 = {
20343
+ instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient/" + i9,
20303
20344
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/items/type",
20304
20345
  keyword: "type",
20305
20346
  params: { type: "string" },
20306
20347
  message: "must be string"
20307
20348
  };
20308
20349
  if (vErrors === null) {
20309
- vErrors = [err107];
20350
+ vErrors = [err109];
20310
20351
  } else {
20311
- vErrors.push(err107);
20352
+ vErrors.push(err109);
20312
20353
  }
20313
20354
  errors++;
20314
20355
  }
20315
20356
  }
20316
20357
  } else {
20317
- const err108 = {
20358
+ const err110 = {
20318
20359
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient",
20319
20360
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/type",
20320
20361
  keyword: "type",
@@ -20322,15 +20363,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20322
20363
  message: "must be array"
20323
20364
  };
20324
20365
  if (vErrors === null) {
20325
- vErrors = [err108];
20366
+ vErrors = [err110];
20326
20367
  } else {
20327
- vErrors.push(err108);
20368
+ vErrors.push(err110);
20328
20369
  }
20329
20370
  errors++;
20330
20371
  }
20331
20372
  }
20332
20373
  } else {
20333
- const err109 = {
20374
+ const err111 = {
20334
20375
  instancePath: instancePath + "/appFeatures/DigitalKey/branding",
20335
20376
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/type",
20336
20377
  keyword: "type",
@@ -20338,15 +20379,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20338
20379
  message: "must be object"
20339
20380
  };
20340
20381
  if (vErrors === null) {
20341
- vErrors = [err109];
20382
+ vErrors = [err111];
20342
20383
  } else {
20343
- vErrors.push(err109);
20384
+ vErrors.push(err111);
20344
20385
  }
20345
20386
  errors++;
20346
20387
  }
20347
20388
  }
20348
20389
  } else {
20349
- const err110 = {
20390
+ const err112 = {
20350
20391
  instancePath: instancePath + "/appFeatures/DigitalKey",
20351
20392
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/type",
20352
20393
  keyword: "type",
@@ -20354,19 +20395,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20354
20395
  message: "must be object"
20355
20396
  };
20356
20397
  if (vErrors === null) {
20357
- vErrors = [err110];
20398
+ vErrors = [err112];
20358
20399
  } else {
20359
- vErrors.push(err110);
20400
+ vErrors.push(err112);
20360
20401
  }
20361
20402
  errors++;
20362
20403
  }
20363
20404
  }
20364
20405
  if (data28.SOS !== void 0) {
20365
- let data83 = data28.SOS;
20366
- if (data83 && typeof data83 == "object" && !Array.isArray(data83)) {
20367
- if (data83.active !== void 0) {
20368
- if (typeof data83.active !== "boolean") {
20369
- const err111 = {
20406
+ let data85 = data28.SOS;
20407
+ if (data85 && typeof data85 == "object" && !Array.isArray(data85)) {
20408
+ if (data85.active !== void 0) {
20409
+ if (typeof data85.active !== "boolean") {
20410
+ const err113 = {
20370
20411
  instancePath: instancePath + "/appFeatures/SOS/active",
20371
20412
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/active/type",
20372
20413
  keyword: "type",
@@ -20374,37 +20415,37 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20374
20415
  message: "must be boolean"
20375
20416
  };
20376
20417
  if (vErrors === null) {
20377
- vErrors = [err111];
20418
+ vErrors = [err113];
20378
20419
  } else {
20379
- vErrors.push(err111);
20420
+ vErrors.push(err113);
20380
20421
  }
20381
20422
  errors++;
20382
20423
  }
20383
20424
  }
20384
- if (data83.activeEmergencies !== void 0) {
20385
- let data85 = data83.activeEmergencies;
20386
- if (Array.isArray(data85)) {
20387
- const len9 = data85.length;
20388
- for (let i9 = 0; i9 < len9; i9++) {
20389
- let data86 = data85[i9];
20390
- if (typeof data86 !== "string") {
20391
- const err112 = {
20392
- instancePath: instancePath + "/appFeatures/SOS/activeEmergencies/" + i9,
20425
+ if (data85.activeEmergencies !== void 0) {
20426
+ let data87 = data85.activeEmergencies;
20427
+ if (Array.isArray(data87)) {
20428
+ const len10 = data87.length;
20429
+ for (let i10 = 0; i10 < len10; i10++) {
20430
+ let data88 = data87[i10];
20431
+ if (typeof data88 !== "string") {
20432
+ const err114 = {
20433
+ instancePath: instancePath + "/appFeatures/SOS/activeEmergencies/" + i10,
20393
20434
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/activeEmergencies/items/type",
20394
20435
  keyword: "type",
20395
20436
  params: { type: "string" },
20396
20437
  message: "must be string"
20397
20438
  };
20398
20439
  if (vErrors === null) {
20399
- vErrors = [err112];
20440
+ vErrors = [err114];
20400
20441
  } else {
20401
- vErrors.push(err112);
20442
+ vErrors.push(err114);
20402
20443
  }
20403
20444
  errors++;
20404
20445
  }
20405
- if (!(data86 === "medical" || data86 === "fire" || data86 === "suspiciousPerson" || data86 === "other" || data86 === "conflict" || data86 === "shooter")) {
20406
- const err113 = {
20407
- instancePath: instancePath + "/appFeatures/SOS/activeEmergencies/" + i9,
20446
+ if (!(data88 === "medical" || data88 === "fire" || data88 === "suspiciousPerson" || data88 === "other" || data88 === "conflict" || data88 === "shooter")) {
20447
+ const err115 = {
20448
+ instancePath: instancePath + "/appFeatures/SOS/activeEmergencies/" + i10,
20408
20449
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/activeEmergencies/items/enum",
20409
20450
  keyword: "enum",
20410
20451
  params: {
@@ -20413,15 +20454,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20413
20454
  message: "must be equal to one of the allowed values"
20414
20455
  };
20415
20456
  if (vErrors === null) {
20416
- vErrors = [err113];
20457
+ vErrors = [err115];
20417
20458
  } else {
20418
- vErrors.push(err113);
20459
+ vErrors.push(err115);
20419
20460
  }
20420
20461
  errors++;
20421
20462
  }
20422
20463
  }
20423
20464
  } else {
20424
- const err114 = {
20465
+ const err116 = {
20425
20466
  instancePath: instancePath + "/appFeatures/SOS/activeEmergencies",
20426
20467
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/activeEmergencies/type",
20427
20468
  keyword: "type",
@@ -20429,15 +20470,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20429
20470
  message: "must be array"
20430
20471
  };
20431
20472
  if (vErrors === null) {
20432
- vErrors = [err114];
20473
+ vErrors = [err116];
20433
20474
  } else {
20434
- vErrors.push(err114);
20475
+ vErrors.push(err116);
20435
20476
  }
20436
20477
  errors++;
20437
20478
  }
20438
20479
  }
20439
20480
  } else {
20440
- const err115 = {
20481
+ const err117 = {
20441
20482
  instancePath: instancePath + "/appFeatures/SOS",
20442
20483
  schemaPath: "#/properties/appFeatures/properties/SOS/type",
20443
20484
  keyword: "type",
@@ -20445,20 +20486,20 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20445
20486
  message: "must be object"
20446
20487
  };
20447
20488
  if (vErrors === null) {
20448
- vErrors = [err115];
20489
+ vErrors = [err117];
20449
20490
  } else {
20450
- vErrors.push(err115);
20491
+ vErrors.push(err117);
20451
20492
  }
20452
20493
  errors++;
20453
20494
  }
20454
20495
  }
20455
20496
  if (data28.Dining !== void 0) {
20456
- let data87 = data28.Dining;
20457
- if (data87 && typeof data87 == "object" && !Array.isArray(data87)) {
20458
- if (data87.system !== void 0) {
20459
- let data88 = data87.system;
20460
- if (typeof data88 !== "string") {
20461
- const err116 = {
20497
+ let data89 = data28.Dining;
20498
+ if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
20499
+ if (data89.system !== void 0) {
20500
+ let data90 = data89.system;
20501
+ if (typeof data90 !== "string") {
20502
+ const err118 = {
20462
20503
  instancePath: instancePath + "/appFeatures/Dining/system",
20463
20504
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/system/type",
20464
20505
  keyword: "type",
@@ -20466,14 +20507,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20466
20507
  message: "must be string"
20467
20508
  };
20468
20509
  if (vErrors === null) {
20469
- vErrors = [err116];
20510
+ vErrors = [err118];
20470
20511
  } else {
20471
- vErrors.push(err116);
20512
+ vErrors.push(err118);
20472
20513
  }
20473
20514
  errors++;
20474
20515
  }
20475
- if (!(data88 === "gotab")) {
20476
- const err117 = {
20516
+ if (!(data90 === "gotab")) {
20517
+ const err119 = {
20477
20518
  instancePath: instancePath + "/appFeatures/Dining/system",
20478
20519
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/system/enum",
20479
20520
  keyword: "enum",
@@ -20483,19 +20524,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20483
20524
  message: "must be equal to one of the allowed values"
20484
20525
  };
20485
20526
  if (vErrors === null) {
20486
- vErrors = [err117];
20527
+ vErrors = [err119];
20487
20528
  } else {
20488
- vErrors.push(err117);
20529
+ vErrors.push(err119);
20489
20530
  }
20490
20531
  errors++;
20491
20532
  }
20492
20533
  }
20493
- if (data87.systemConfig !== void 0) {
20494
- let data89 = data87.systemConfig;
20495
- if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
20496
- for (const key5 in data89) {
20534
+ if (data89.systemConfig !== void 0) {
20535
+ let data91 = data89.systemConfig;
20536
+ if (data91 && typeof data91 == "object" && !Array.isArray(data91)) {
20537
+ for (const key5 in data91) {
20497
20538
  if (!(key5 === "landingUrl" || key5 === "includeUserDetails")) {
20498
- const err118 = {
20539
+ const err120 = {
20499
20540
  instancePath: instancePath + "/appFeatures/Dining/systemConfig",
20500
20541
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/additionalProperties",
20501
20542
  keyword: "additionalProperties",
@@ -20503,18 +20544,18 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20503
20544
  message: "must NOT have additional properties"
20504
20545
  };
20505
20546
  if (vErrors === null) {
20506
- vErrors = [err118];
20547
+ vErrors = [err120];
20507
20548
  } else {
20508
- vErrors.push(err118);
20549
+ vErrors.push(err120);
20509
20550
  }
20510
20551
  errors++;
20511
20552
  }
20512
20553
  }
20513
- if (data89.landingUrl !== void 0) {
20514
- let data90 = data89.landingUrl;
20515
- if (typeof data90 === "string") {
20516
- if (!formats0(data90)) {
20517
- const err119 = {
20554
+ if (data91.landingUrl !== void 0) {
20555
+ let data92 = data91.landingUrl;
20556
+ if (typeof data92 === "string") {
20557
+ if (!formats0(data92)) {
20558
+ const err121 = {
20518
20559
  instancePath: instancePath + "/appFeatures/Dining/systemConfig/landingUrl",
20519
20560
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/properties/landingUrl/format",
20520
20561
  keyword: "format",
@@ -20522,14 +20563,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20522
20563
  message: 'must match format "uri"'
20523
20564
  };
20524
20565
  if (vErrors === null) {
20525
- vErrors = [err119];
20566
+ vErrors = [err121];
20526
20567
  } else {
20527
- vErrors.push(err119);
20568
+ vErrors.push(err121);
20528
20569
  }
20529
20570
  errors++;
20530
20571
  }
20531
20572
  } else {
20532
- const err120 = {
20573
+ const err122 = {
20533
20574
  instancePath: instancePath + "/appFeatures/Dining/systemConfig/landingUrl",
20534
20575
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/properties/landingUrl/type",
20535
20576
  keyword: "type",
@@ -20537,16 +20578,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20537
20578
  message: "must be string"
20538
20579
  };
20539
20580
  if (vErrors === null) {
20540
- vErrors = [err120];
20581
+ vErrors = [err122];
20541
20582
  } else {
20542
- vErrors.push(err120);
20583
+ vErrors.push(err122);
20543
20584
  }
20544
20585
  errors++;
20545
20586
  }
20546
20587
  }
20547
- if (data89.includeUserDetails !== void 0) {
20548
- if (typeof data89.includeUserDetails !== "boolean") {
20549
- const err121 = {
20588
+ if (data91.includeUserDetails !== void 0) {
20589
+ if (typeof data91.includeUserDetails !== "boolean") {
20590
+ const err123 = {
20550
20591
  instancePath: instancePath + "/appFeatures/Dining/systemConfig/includeUserDetails",
20551
20592
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/properties/includeUserDetails/type",
20552
20593
  keyword: "type",
@@ -20554,15 +20595,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20554
20595
  message: "must be boolean"
20555
20596
  };
20556
20597
  if (vErrors === null) {
20557
- vErrors = [err121];
20598
+ vErrors = [err123];
20558
20599
  } else {
20559
- vErrors.push(err121);
20600
+ vErrors.push(err123);
20560
20601
  }
20561
20602
  errors++;
20562
20603
  }
20563
20604
  }
20564
20605
  } else {
20565
- const err122 = {
20606
+ const err124 = {
20566
20607
  instancePath: instancePath + "/appFeatures/Dining/systemConfig",
20567
20608
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/type",
20568
20609
  keyword: "type",
@@ -20570,15 +20611,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20570
20611
  message: "must be object"
20571
20612
  };
20572
20613
  if (vErrors === null) {
20573
- vErrors = [err122];
20614
+ vErrors = [err124];
20574
20615
  } else {
20575
- vErrors.push(err122);
20616
+ vErrors.push(err124);
20576
20617
  }
20577
20618
  errors++;
20578
20619
  }
20579
20620
  }
20580
20621
  } else {
20581
- const err123 = {
20622
+ const err125 = {
20582
20623
  instancePath: instancePath + "/appFeatures/Dining",
20583
20624
  schemaPath: "#/properties/appFeatures/properties/Dining/type",
20584
20625
  keyword: "type",
@@ -20586,15 +20627,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20586
20627
  message: "must be object"
20587
20628
  };
20588
20629
  if (vErrors === null) {
20589
- vErrors = [err123];
20630
+ vErrors = [err125];
20590
20631
  } else {
20591
- vErrors.push(err123);
20632
+ vErrors.push(err125);
20592
20633
  }
20593
20634
  errors++;
20594
20635
  }
20595
20636
  }
20596
20637
  } else {
20597
- const err124 = {
20638
+ const err126 = {
20598
20639
  instancePath: instancePath + "/appFeatures",
20599
20640
  schemaPath: "#/properties/appFeatures/type",
20600
20641
  keyword: "type",
@@ -20602,17 +20643,17 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20602
20643
  message: "must be object"
20603
20644
  };
20604
20645
  if (vErrors === null) {
20605
- vErrors = [err124];
20646
+ vErrors = [err126];
20606
20647
  } else {
20607
- vErrors.push(err124);
20648
+ vErrors.push(err126);
20608
20649
  }
20609
20650
  errors++;
20610
20651
  }
20611
- let data92 = data.notifications;
20612
- if (data92 && typeof data92 == "object" && !Array.isArray(data92)) {
20613
- for (const key6 in data92) {
20652
+ let data94 = data.notifications;
20653
+ if (data94 && typeof data94 == "object" && !Array.isArray(data94)) {
20654
+ for (const key6 in data94) {
20614
20655
  if (!(key6 === "email" || key6 === "sms" || key6 === "push")) {
20615
- const err125 = {
20656
+ const err127 = {
20616
20657
  instancePath: instancePath + "/notifications",
20617
20658
  schemaPath: "#/properties/notifications/additionalProperties",
20618
20659
  keyword: "additionalProperties",
@@ -20620,19 +20661,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20620
20661
  message: "must NOT have additional properties"
20621
20662
  };
20622
20663
  if (vErrors === null) {
20623
- vErrors = [err125];
20664
+ vErrors = [err127];
20624
20665
  } else {
20625
- vErrors.push(err125);
20666
+ vErrors.push(err127);
20626
20667
  }
20627
20668
  errors++;
20628
20669
  }
20629
20670
  }
20630
- if (data92.email !== void 0) {
20631
- let data93 = data92.email;
20632
- if (data93 && typeof data93 == "object" && !Array.isArray(data93)) {
20633
- for (const key7 in data93) {
20671
+ if (data94.email !== void 0) {
20672
+ let data95 = data94.email;
20673
+ if (data95 && typeof data95 == "object" && !Array.isArray(data95)) {
20674
+ for (const key7 in data95) {
20634
20675
  if (!(key7 === "enabled")) {
20635
- const err126 = {
20676
+ const err128 = {
20636
20677
  instancePath: instancePath + "/notifications/email",
20637
20678
  schemaPath: "#/properties/notifications/properties/email/additionalProperties",
20638
20679
  keyword: "additionalProperties",
@@ -20640,16 +20681,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20640
20681
  message: "must NOT have additional properties"
20641
20682
  };
20642
20683
  if (vErrors === null) {
20643
- vErrors = [err126];
20684
+ vErrors = [err128];
20644
20685
  } else {
20645
- vErrors.push(err126);
20686
+ vErrors.push(err128);
20646
20687
  }
20647
20688
  errors++;
20648
20689
  }
20649
20690
  }
20650
- if (data93.enabled !== void 0) {
20651
- if (typeof data93.enabled !== "boolean") {
20652
- const err127 = {
20691
+ if (data95.enabled !== void 0) {
20692
+ if (typeof data95.enabled !== "boolean") {
20693
+ const err129 = {
20653
20694
  instancePath: instancePath + "/notifications/email/enabled",
20654
20695
  schemaPath: "#/properties/notifications/properties/email/properties/enabled/type",
20655
20696
  keyword: "type",
@@ -20657,15 +20698,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20657
20698
  message: "must be boolean"
20658
20699
  };
20659
20700
  if (vErrors === null) {
20660
- vErrors = [err127];
20701
+ vErrors = [err129];
20661
20702
  } else {
20662
- vErrors.push(err127);
20703
+ vErrors.push(err129);
20663
20704
  }
20664
20705
  errors++;
20665
20706
  }
20666
20707
  }
20667
20708
  } else {
20668
- const err128 = {
20709
+ const err130 = {
20669
20710
  instancePath: instancePath + "/notifications/email",
20670
20711
  schemaPath: "#/properties/notifications/properties/email/type",
20671
20712
  keyword: "type",
@@ -20673,19 +20714,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20673
20714
  message: "must be object"
20674
20715
  };
20675
20716
  if (vErrors === null) {
20676
- vErrors = [err128];
20717
+ vErrors = [err130];
20677
20718
  } else {
20678
- vErrors.push(err128);
20719
+ vErrors.push(err130);
20679
20720
  }
20680
20721
  errors++;
20681
20722
  }
20682
20723
  }
20683
- if (data92.sms !== void 0) {
20684
- let data95 = data92.sms;
20685
- if (data95 && typeof data95 == "object" && !Array.isArray(data95)) {
20686
- for (const key8 in data95) {
20724
+ if (data94.sms !== void 0) {
20725
+ let data97 = data94.sms;
20726
+ if (data97 && typeof data97 == "object" && !Array.isArray(data97)) {
20727
+ for (const key8 in data97) {
20687
20728
  if (!(key8 === "enabled")) {
20688
- const err129 = {
20729
+ const err131 = {
20689
20730
  instancePath: instancePath + "/notifications/sms",
20690
20731
  schemaPath: "#/properties/notifications/properties/sms/additionalProperties",
20691
20732
  keyword: "additionalProperties",
@@ -20693,16 +20734,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20693
20734
  message: "must NOT have additional properties"
20694
20735
  };
20695
20736
  if (vErrors === null) {
20696
- vErrors = [err129];
20737
+ vErrors = [err131];
20697
20738
  } else {
20698
- vErrors.push(err129);
20739
+ vErrors.push(err131);
20699
20740
  }
20700
20741
  errors++;
20701
20742
  }
20702
20743
  }
20703
- if (data95.enabled !== void 0) {
20704
- if (typeof data95.enabled !== "boolean") {
20705
- const err130 = {
20744
+ if (data97.enabled !== void 0) {
20745
+ if (typeof data97.enabled !== "boolean") {
20746
+ const err132 = {
20706
20747
  instancePath: instancePath + "/notifications/sms/enabled",
20707
20748
  schemaPath: "#/properties/notifications/properties/sms/properties/enabled/type",
20708
20749
  keyword: "type",
@@ -20710,15 +20751,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20710
20751
  message: "must be boolean"
20711
20752
  };
20712
20753
  if (vErrors === null) {
20713
- vErrors = [err130];
20754
+ vErrors = [err132];
20714
20755
  } else {
20715
- vErrors.push(err130);
20756
+ vErrors.push(err132);
20716
20757
  }
20717
20758
  errors++;
20718
20759
  }
20719
20760
  }
20720
20761
  } else {
20721
- const err131 = {
20762
+ const err133 = {
20722
20763
  instancePath: instancePath + "/notifications/sms",
20723
20764
  schemaPath: "#/properties/notifications/properties/sms/type",
20724
20765
  keyword: "type",
@@ -20726,19 +20767,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20726
20767
  message: "must be object"
20727
20768
  };
20728
20769
  if (vErrors === null) {
20729
- vErrors = [err131];
20770
+ vErrors = [err133];
20730
20771
  } else {
20731
- vErrors.push(err131);
20772
+ vErrors.push(err133);
20732
20773
  }
20733
20774
  errors++;
20734
20775
  }
20735
20776
  }
20736
- if (data92.push !== void 0) {
20737
- let data97 = data92.push;
20738
- if (data97 && typeof data97 == "object" && !Array.isArray(data97)) {
20739
- for (const key9 in data97) {
20777
+ if (data94.push !== void 0) {
20778
+ let data99 = data94.push;
20779
+ if (data99 && typeof data99 == "object" && !Array.isArray(data99)) {
20780
+ for (const key9 in data99) {
20740
20781
  if (!(key9 === "enabled")) {
20741
- const err132 = {
20782
+ const err134 = {
20742
20783
  instancePath: instancePath + "/notifications/push",
20743
20784
  schemaPath: "#/properties/notifications/properties/push/additionalProperties",
20744
20785
  keyword: "additionalProperties",
@@ -20746,16 +20787,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20746
20787
  message: "must NOT have additional properties"
20747
20788
  };
20748
20789
  if (vErrors === null) {
20749
- vErrors = [err132];
20790
+ vErrors = [err134];
20750
20791
  } else {
20751
- vErrors.push(err132);
20792
+ vErrors.push(err134);
20752
20793
  }
20753
20794
  errors++;
20754
20795
  }
20755
20796
  }
20756
- if (data97.enabled !== void 0) {
20757
- if (typeof data97.enabled !== "boolean") {
20758
- const err133 = {
20797
+ if (data99.enabled !== void 0) {
20798
+ if (typeof data99.enabled !== "boolean") {
20799
+ const err135 = {
20759
20800
  instancePath: instancePath + "/notifications/push/enabled",
20760
20801
  schemaPath: "#/properties/notifications/properties/push/properties/enabled/type",
20761
20802
  keyword: "type",
@@ -20763,15 +20804,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20763
20804
  message: "must be boolean"
20764
20805
  };
20765
20806
  if (vErrors === null) {
20766
- vErrors = [err133];
20807
+ vErrors = [err135];
20767
20808
  } else {
20768
- vErrors.push(err133);
20809
+ vErrors.push(err135);
20769
20810
  }
20770
20811
  errors++;
20771
20812
  }
20772
20813
  }
20773
20814
  } else {
20774
- const err134 = {
20815
+ const err136 = {
20775
20816
  instancePath: instancePath + "/notifications/push",
20776
20817
  schemaPath: "#/properties/notifications/properties/push/type",
20777
20818
  keyword: "type",
@@ -20779,15 +20820,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20779
20820
  message: "must be object"
20780
20821
  };
20781
20822
  if (vErrors === null) {
20782
- vErrors = [err134];
20823
+ vErrors = [err136];
20783
20824
  } else {
20784
- vErrors.push(err134);
20825
+ vErrors.push(err136);
20785
20826
  }
20786
20827
  errors++;
20787
20828
  }
20788
20829
  }
20789
20830
  } else {
20790
- const err135 = {
20831
+ const err137 = {
20791
20832
  instancePath: instancePath + "/notifications",
20792
20833
  schemaPath: "#/properties/notifications/type",
20793
20834
  keyword: "type",
@@ -20795,17 +20836,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20795
20836
  message: "must be object"
20796
20837
  };
20797
20838
  if (vErrors === null) {
20798
- vErrors = [err135];
20839
+ vErrors = [err137];
20799
20840
  } else {
20800
- vErrors.push(err135);
20841
+ vErrors.push(err137);
20801
20842
  }
20802
20843
  errors++;
20803
20844
  }
20804
20845
  if (data.credentials !== void 0) {
20805
- let data99 = data.credentials;
20806
- if (data99 && typeof data99 == "object" && !Array.isArray(data99)) {
20807
- } else {
20808
- const err136 = {
20846
+ let data101 = data.credentials;
20847
+ if (!(data101 && typeof data101 == "object" && !Array.isArray(data101))) {
20848
+ const err138 = {
20809
20849
  instancePath: instancePath + "/credentials",
20810
20850
  schemaPath: "#/properties/credentials/type",
20811
20851
  keyword: "type",
@@ -20813,15 +20853,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20813
20853
  message: "must be object"
20814
20854
  };
20815
20855
  if (vErrors === null) {
20816
- vErrors = [err136];
20856
+ vErrors = [err138];
20817
20857
  } else {
20818
- vErrors.push(err136);
20858
+ vErrors.push(err138);
20819
20859
  }
20820
20860
  errors++;
20821
20861
  }
20822
20862
  }
20823
20863
  } else {
20824
- const err137 = {
20864
+ const err139 = {
20825
20865
  instancePath,
20826
20866
  schemaPath: "#/type",
20827
20867
  keyword: "type",
@@ -20829,9 +20869,9 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20829
20869
  message: "must be object"
20830
20870
  };
20831
20871
  if (vErrors === null) {
20832
- vErrors = [err137];
20872
+ vErrors = [err139];
20833
20873
  } else {
20834
- vErrors.push(err137);
20874
+ vErrors.push(err139);
20835
20875
  }
20836
20876
  errors++;
20837
20877
  }
@@ -34559,23 +34599,25 @@ var Alarm = class extends Entity {
34559
34599
  */
34560
34600
  constructor(data) {
34561
34601
  super(data);
34562
- this.id = data.id;
34563
- this.name = data.name;
34564
- this.offline = data.offline;
34565
- this.type = data.type;
34566
- this.systemId = data.systemId;
34567
- this.supportedNotifications = data.supportedNotifications;
34568
- this.notification = data.notification;
34569
- this.driver = data.driver;
34570
- this.areas = data.areas;
34571
- this.zones = data.zones;
34572
- this.chime = data.chime;
34573
- this.watts = data.watts;
34574
- this.icon = data.icon;
34575
- this.modelNumber = data.modelNumber;
34576
- this.serialNumber = data.serialNumber;
34577
- this.firmwareVersion = data.firmwareVersion;
34578
- this.address = data.address;
34602
+ if (data.id !== void 0) this.id = data.id;
34603
+ if (data.name !== void 0) this.name = data.name;
34604
+ if (data.offline !== void 0) this.offline = data.offline;
34605
+ if (data.type !== void 0) this.type = data.type;
34606
+ if (data.systemId !== void 0) this.systemId = data.systemId;
34607
+ if (data.supportedNotifications !== void 0)
34608
+ this.supportedNotifications = data.supportedNotifications;
34609
+ if (data.notification !== void 0) this.notification = data.notification;
34610
+ if (data.driver !== void 0) this.driver = data.driver;
34611
+ if (data.areas !== void 0) this.areas = data.areas;
34612
+ if (data.zones !== void 0) this.zones = data.zones;
34613
+ if (data.chime !== void 0) this.chime = data.chime;
34614
+ if (data.watts !== void 0) this.watts = data.watts;
34615
+ if (data.icon !== void 0) this.icon = data.icon;
34616
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
34617
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
34618
+ if (data.firmwareVersion !== void 0)
34619
+ this.firmwareVersion = data.firmwareVersion;
34620
+ if (data.address !== void 0) this.address = data.address;
34579
34621
  }
34580
34622
  };
34581
34623
  Object.defineProperty(Alarm.prototype, "schema", {
@@ -34668,16 +34710,16 @@ var Announcement = class extends Entity {
34668
34710
  */
34669
34711
  constructor(data) {
34670
34712
  super(data);
34671
- this.id = data.id;
34672
- this.type = data.type;
34673
- this.users = data.users;
34674
- this.group = data.group;
34675
- this.body = data.body;
34676
- this.media = data.media;
34677
- this.sentBy = data.sentBy;
34678
- this.tags = data.tags;
34679
- this.createdAt = data.createdAt;
34680
- this.updatedAt = data.updatedAt;
34713
+ if (data.id !== void 0) this.id = data.id;
34714
+ if (data.type !== void 0) this.type = data.type;
34715
+ if (data.users !== void 0) this.users = data.users;
34716
+ if (data.group !== void 0) this.group = data.group;
34717
+ if (data.body !== void 0) this.body = data.body;
34718
+ if (data.media !== void 0) this.media = data.media;
34719
+ if (data.sentBy !== void 0) this.sentBy = data.sentBy;
34720
+ if (data.tags !== void 0) this.tags = data.tags;
34721
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
34722
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
34681
34723
  }
34682
34724
  };
34683
34725
  Object.defineProperty(Announcement.prototype, "schema", {
@@ -34750,21 +34792,23 @@ var Camera = class extends Entity {
34750
34792
  */
34751
34793
  constructor(data) {
34752
34794
  super(data);
34753
- this.id = data.id;
34754
- this.name = data.name;
34755
- this.type = data.type;
34756
- this.offline = data.offline;
34757
- this.supportedNotifications = data.supportedNotifications;
34758
- this.notification = data.notification;
34759
- this.driver = data.driver;
34760
- this.liveStreams = data.liveStreams;
34761
- this.liveStream = data.liveStream;
34762
- this.systemId = data.systemId;
34763
- this.watts = data.watts;
34764
- this.icon = data.icon;
34765
- this.modelNumber = data.modelNumber;
34766
- this.serialNumber = data.serialNumber;
34767
- this.firmwareVersion = data.firmwareVersion;
34795
+ if (data.id !== void 0) this.id = data.id;
34796
+ if (data.name !== void 0) this.name = data.name;
34797
+ if (data.type !== void 0) this.type = data.type;
34798
+ if (data.offline !== void 0) this.offline = data.offline;
34799
+ if (data.supportedNotifications !== void 0)
34800
+ this.supportedNotifications = data.supportedNotifications;
34801
+ if (data.notification !== void 0) this.notification = data.notification;
34802
+ if (data.driver !== void 0) this.driver = data.driver;
34803
+ if (data.liveStreams !== void 0) this.liveStreams = data.liveStreams;
34804
+ if (data.liveStream !== void 0) this.liveStream = data.liveStream;
34805
+ if (data.systemId !== void 0) this.systemId = data.systemId;
34806
+ if (data.watts !== void 0) this.watts = data.watts;
34807
+ if (data.icon !== void 0) this.icon = data.icon;
34808
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
34809
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
34810
+ if (data.firmwareVersion !== void 0)
34811
+ this.firmwareVersion = data.firmwareVersion;
34768
34812
  }
34769
34813
  };
34770
34814
  Object.defineProperty(Camera.prototype, "schema", {
@@ -34867,15 +34911,16 @@ var Category = class extends Entity {
34867
34911
  */
34868
34912
  constructor(data) {
34869
34913
  super(data);
34870
- this.id = data.id;
34871
- this.type = data.type;
34872
- this.name = data.name;
34873
- this.driver = data.driver;
34874
- this.description = data.description;
34875
- this.image = data.image;
34876
- this.rating = data.rating;
34877
- this.discriminator = data.discriminator;
34878
- this.systemId = data.systemId;
34914
+ if (data.id !== void 0) this.id = data.id;
34915
+ if (data.type !== void 0) this.type = data.type;
34916
+ if (data.name !== void 0) this.name = data.name;
34917
+ if (data.driver !== void 0) this.driver = data.driver;
34918
+ if (data.description !== void 0) this.description = data.description;
34919
+ if (data.image !== void 0) this.image = data.image;
34920
+ if (data.rating !== void 0) this.rating = data.rating;
34921
+ if (data.discriminator !== void 0)
34922
+ this.discriminator = data.discriminator;
34923
+ if (data.systemId !== void 0) this.systemId = data.systemId;
34879
34924
  }
34880
34925
  };
34881
34926
  Object.defineProperty(Category.prototype, "schema", {
@@ -34936,21 +34981,24 @@ var Courtesy = class extends Entity {
34936
34981
  */
34937
34982
  constructor(data) {
34938
34983
  super(data);
34939
- this.id = data.id;
34940
- this.name = data.name;
34941
- this.type = data.type;
34942
- this.supportedNotifications = data.supportedNotifications;
34943
- this.notification = data.notification;
34944
- this.driver = data.driver;
34945
- this.offline = data.offline;
34946
- this.supportedStates = data.supportedStates;
34947
- this.state = data.state;
34948
- this.systemId = data.systemId;
34949
- this.watts = data.watts;
34950
- this.icon = data.icon;
34951
- this.modelNumber = data.modelNumber;
34952
- this.serialNumber = data.serialNumber;
34953
- this.firmwareVersion = data.firmwareVersion;
34984
+ if (data.id !== void 0) this.id = data.id;
34985
+ if (data.name !== void 0) this.name = data.name;
34986
+ if (data.type !== void 0) this.type = data.type;
34987
+ if (data.supportedNotifications !== void 0)
34988
+ this.supportedNotifications = data.supportedNotifications;
34989
+ if (data.notification !== void 0) this.notification = data.notification;
34990
+ if (data.driver !== void 0) this.driver = data.driver;
34991
+ if (data.offline !== void 0) this.offline = data.offline;
34992
+ if (data.supportedStates !== void 0)
34993
+ this.supportedStates = data.supportedStates;
34994
+ if (data.state !== void 0) this.state = data.state;
34995
+ if (data.systemId !== void 0) this.systemId = data.systemId;
34996
+ if (data.watts !== void 0) this.watts = data.watts;
34997
+ if (data.icon !== void 0) this.icon = data.icon;
34998
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
34999
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
35000
+ if (data.firmwareVersion !== void 0)
35001
+ this.firmwareVersion = data.firmwareVersion;
34954
35002
  }
34955
35003
  };
34956
35004
  Object.defineProperty(Courtesy.prototype, "schema", {
@@ -35018,18 +35066,20 @@ var Credential = class extends Entity {
35018
35066
  */
35019
35067
  constructor(data) {
35020
35068
  super(data);
35021
- this.id = data.id;
35022
- this.type = data.type;
35023
- this.driver = data.driver;
35024
- this.discriminator = data.discriminator;
35025
- this.credential = data.credential;
35026
- this.userId = data.userId;
35027
- this.organizationId = data.organizationId;
35028
- this.propertyId = data.propertyId;
35029
- this.deviceId = data.deviceId;
35030
- this.userAgent = data.userAgent;
35031
- this.expires = data.expires;
35032
- this.systemId = data.systemId;
35069
+ if (data.id !== void 0) this.id = data.id;
35070
+ if (data.type !== void 0) this.type = data.type;
35071
+ if (data.driver !== void 0) this.driver = data.driver;
35072
+ if (data.discriminator !== void 0)
35073
+ this.discriminator = data.discriminator;
35074
+ if (data.credential !== void 0) this.credential = data.credential;
35075
+ if (data.userId !== void 0) this.userId = data.userId;
35076
+ if (data.organizationId !== void 0)
35077
+ this.organizationId = data.organizationId;
35078
+ if (data.propertyId !== void 0) this.propertyId = data.propertyId;
35079
+ if (data.deviceId !== void 0) this.deviceId = data.deviceId;
35080
+ if (data.userAgent !== void 0) this.userAgent = data.userAgent;
35081
+ if (data.expires !== void 0) this.expires = data.expires;
35082
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35033
35083
  }
35034
35084
  };
35035
35085
  Object.defineProperty(Credential.prototype, "schema", {
@@ -35090,11 +35140,12 @@ var DeviceRouter = class extends Entity {
35090
35140
  */
35091
35141
  constructor(data) {
35092
35142
  super(data);
35093
- this.id = data.id;
35094
- this.type = data.type;
35095
- this.driver = data.driver;
35096
- this.organizationId = data.organizationId;
35097
- this.devices = data.devices;
35143
+ if (data.id !== void 0) this.id = data.id;
35144
+ if (data.type !== void 0) this.type = data.type;
35145
+ if (data.driver !== void 0) this.driver = data.driver;
35146
+ if (data.organizationId !== void 0)
35147
+ this.organizationId = data.organizationId;
35148
+ if (data.devices !== void 0) this.devices = data.devices;
35098
35149
  }
35099
35150
  };
35100
35151
  Object.defineProperty(DeviceRouter.prototype, "schema", {
@@ -35151,20 +35202,22 @@ var Dimmer = class extends Entity {
35151
35202
  */
35152
35203
  constructor(data) {
35153
35204
  super(data);
35154
- this.id = data.id;
35155
- this.name = data.name;
35156
- this.type = data.type;
35157
- this.supportedNotifications = data.supportedNotifications;
35158
- this.notification = data.notification;
35159
- this.driver = data.driver;
35160
- this.offline = data.offline;
35161
- this.level = data.level;
35162
- this.systemId = data.systemId;
35163
- this.watts = data.watts;
35164
- this.icon = data.icon;
35165
- this.modelNumber = data.modelNumber;
35166
- this.serialNumber = data.serialNumber;
35167
- this.firmwareVersion = data.firmwareVersion;
35205
+ if (data.id !== void 0) this.id = data.id;
35206
+ if (data.name !== void 0) this.name = data.name;
35207
+ if (data.type !== void 0) this.type = data.type;
35208
+ if (data.supportedNotifications !== void 0)
35209
+ this.supportedNotifications = data.supportedNotifications;
35210
+ if (data.notification !== void 0) this.notification = data.notification;
35211
+ if (data.driver !== void 0) this.driver = data.driver;
35212
+ if (data.offline !== void 0) this.offline = data.offline;
35213
+ if (data.level !== void 0) this.level = data.level;
35214
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35215
+ if (data.watts !== void 0) this.watts = data.watts;
35216
+ if (data.icon !== void 0) this.icon = data.icon;
35217
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
35218
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
35219
+ if (data.firmwareVersion !== void 0)
35220
+ this.firmwareVersion = data.firmwareVersion;
35168
35221
  }
35169
35222
  };
35170
35223
  Object.defineProperty(Dimmer.prototype, "schema", {
@@ -35225,16 +35278,18 @@ var DiscoveredDevice = class extends Entity {
35225
35278
  */
35226
35279
  constructor(data) {
35227
35280
  super(data);
35228
- this.id = data.id;
35229
- this.name = data.name;
35230
- this.deviceId = data.deviceId;
35231
- this.type = data.type;
35232
- this.discriminator = data.discriminator;
35233
- this.driver = data.driver;
35234
- this.deviceData = data.deviceData;
35235
- this.ignore = data.ignore;
35236
- this.organizationId = data.organizationId;
35237
- this.propertyId = data.propertyId;
35281
+ if (data.id !== void 0) this.id = data.id;
35282
+ if (data.name !== void 0) this.name = data.name;
35283
+ if (data.deviceId !== void 0) this.deviceId = data.deviceId;
35284
+ if (data.type !== void 0) this.type = data.type;
35285
+ if (data.discriminator !== void 0)
35286
+ this.discriminator = data.discriminator;
35287
+ if (data.driver !== void 0) this.driver = data.driver;
35288
+ if (data.deviceData !== void 0) this.deviceData = data.deviceData;
35289
+ if (data.ignore !== void 0) this.ignore = data.ignore;
35290
+ if (data.organizationId !== void 0)
35291
+ this.organizationId = data.organizationId;
35292
+ if (data.propertyId !== void 0) this.propertyId = data.propertyId;
35238
35293
  }
35239
35294
  };
35240
35295
  Object.defineProperty(DiscoveredDevice.prototype, "schema", {
@@ -35303,20 +35358,21 @@ var EmailMessage = class extends Entity {
35303
35358
  */
35304
35359
  constructor(data) {
35305
35360
  super(data);
35306
- this.id = data.id;
35307
- this.type = data.type;
35308
- this.to = data.to;
35309
- this.from = data.from;
35310
- this.subject = data.subject;
35311
- this.status = data.status;
35312
- this.statusMessage = data.statusMessage;
35313
- this.html = data.html;
35314
- this.text = data.text;
35315
- this.driver = data.driver;
35316
- this.appData = data.appData;
35317
- this.createdAt = data.createdAt;
35318
- this.updatedAt = data.updatedAt;
35319
- this.systemId = data.systemId;
35361
+ if (data.id !== void 0) this.id = data.id;
35362
+ if (data.type !== void 0) this.type = data.type;
35363
+ if (data.to !== void 0) this.to = data.to;
35364
+ if (data.from !== void 0) this.from = data.from;
35365
+ if (data.subject !== void 0) this.subject = data.subject;
35366
+ if (data.status !== void 0) this.status = data.status;
35367
+ if (data.statusMessage !== void 0)
35368
+ this.statusMessage = data.statusMessage;
35369
+ if (data.html !== void 0) this.html = data.html;
35370
+ if (data.text !== void 0) this.text = data.text;
35371
+ if (data.driver !== void 0) this.driver = data.driver;
35372
+ if (data.appData !== void 0) this.appData = data.appData;
35373
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
35374
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
35375
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35320
35376
  }
35321
35377
  };
35322
35378
  Object.defineProperty(EmailMessage.prototype, "schema", {
@@ -35398,15 +35454,15 @@ var EnergyReport = class extends Entity {
35398
35454
  */
35399
35455
  constructor(data) {
35400
35456
  super(data);
35401
- this.id = data.id;
35402
- this.type = data.type;
35403
- this.reportTime = data.reportTime;
35404
- this.roomId = data.roomId;
35405
- this.first = data.first;
35406
- this.last = data.last;
35407
- this.consumption = data.consumption;
35408
- this.totals = data.totals;
35409
- this.costPerKw = data.costPerKw;
35457
+ if (data.id !== void 0) this.id = data.id;
35458
+ if (data.type !== void 0) this.type = data.type;
35459
+ if (data.reportTime !== void 0) this.reportTime = data.reportTime;
35460
+ if (data.roomId !== void 0) this.roomId = data.roomId;
35461
+ if (data.first !== void 0) this.first = data.first;
35462
+ if (data.last !== void 0) this.last = data.last;
35463
+ if (data.consumption !== void 0) this.consumption = data.consumption;
35464
+ if (data.totals !== void 0) this.totals = data.totals;
35465
+ if (data.costPerKw !== void 0) this.costPerKw = data.costPerKw;
35410
35466
  }
35411
35467
  };
35412
35468
  Object.defineProperty(EnergyReport.prototype, "schema", {
@@ -35489,14 +35545,14 @@ var EnergyReportShard = class extends Entity {
35489
35545
  */
35490
35546
  constructor(data) {
35491
35547
  super(data);
35492
- this.id = data.id;
35493
- this.type = data.type;
35494
- this.roomId = data.roomId;
35495
- this.first = data.first;
35496
- this.last = data.last;
35497
- this.data = data.data;
35498
- this.ndata = data.ndata;
35499
- this.expires = data.expires;
35548
+ if (data.id !== void 0) this.id = data.id;
35549
+ if (data.type !== void 0) this.type = data.type;
35550
+ if (data.roomId !== void 0) this.roomId = data.roomId;
35551
+ if (data.first !== void 0) this.first = data.first;
35552
+ if (data.last !== void 0) this.last = data.last;
35553
+ if (data.data !== void 0) this.data = data.data;
35554
+ if (data.ndata !== void 0) this.ndata = data.ndata;
35555
+ if (data.expires !== void 0) this.expires = data.expires;
35500
35556
  }
35501
35557
  };
35502
35558
  Object.defineProperty(EnergyReportShard.prototype, "schema", {
@@ -35577,18 +35633,20 @@ var Gateway = class extends Entity {
35577
35633
  */
35578
35634
  constructor(data) {
35579
35635
  super(data);
35580
- this.id = data.id;
35581
- this.type = data.type;
35582
- this.supportedNotifications = data.supportedNotifications;
35583
- this.notification = data.notification;
35584
- this.status = data.status;
35585
- this.systemId = data.systemId;
35586
- this.driver = data.driver;
35587
- this.watts = data.watts;
35588
- this.icon = data.icon;
35589
- this.modelNumber = data.modelNumber;
35590
- this.serialNumber = data.serialNumber;
35591
- this.firmwareVersion = data.firmwareVersion;
35636
+ if (data.id !== void 0) this.id = data.id;
35637
+ if (data.type !== void 0) this.type = data.type;
35638
+ if (data.supportedNotifications !== void 0)
35639
+ this.supportedNotifications = data.supportedNotifications;
35640
+ if (data.notification !== void 0) this.notification = data.notification;
35641
+ if (data.status !== void 0) this.status = data.status;
35642
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35643
+ if (data.driver !== void 0) this.driver = data.driver;
35644
+ if (data.watts !== void 0) this.watts = data.watts;
35645
+ if (data.icon !== void 0) this.icon = data.icon;
35646
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
35647
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
35648
+ if (data.firmwareVersion !== void 0)
35649
+ this.firmwareVersion = data.firmwareVersion;
35592
35650
  }
35593
35651
  };
35594
35652
  Object.defineProperty(Gateway.prototype, "schema", {
@@ -35650,19 +35708,21 @@ var Identification = class extends Entity {
35650
35708
  */
35651
35709
  constructor(data) {
35652
35710
  super(data);
35653
- this.id = data.id;
35654
- this.type = data.type;
35655
- this.number = data.number;
35656
- this.maskedNumber = data.maskedNumber;
35657
- this.encryptedNumber = data.encryptedNumber;
35658
- this.issued = data.issued;
35659
- this.expires = data.expires;
35660
- this.verified = data.verified;
35661
- this.matched = data.matched;
35662
- this.firstName = data.firstName;
35663
- this.lastName = data.lastName;
35664
- this.issuingCountry = data.issuingCountry;
35665
- this.systemId = data.systemId;
35711
+ if (data.id !== void 0) this.id = data.id;
35712
+ if (data.type !== void 0) this.type = data.type;
35713
+ if (data.number !== void 0) this.number = data.number;
35714
+ if (data.maskedNumber !== void 0) this.maskedNumber = data.maskedNumber;
35715
+ if (data.encryptedNumber !== void 0)
35716
+ this.encryptedNumber = data.encryptedNumber;
35717
+ if (data.issued !== void 0) this.issued = data.issued;
35718
+ if (data.expires !== void 0) this.expires = data.expires;
35719
+ if (data.verified !== void 0) this.verified = data.verified;
35720
+ if (data.matched !== void 0) this.matched = data.matched;
35721
+ if (data.firstName !== void 0) this.firstName = data.firstName;
35722
+ if (data.lastName !== void 0) this.lastName = data.lastName;
35723
+ if (data.issuingCountry !== void 0)
35724
+ this.issuingCountry = data.issuingCountry;
35725
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35666
35726
  }
35667
35727
  };
35668
35728
  Object.defineProperty(Identification.prototype, "schema", {
@@ -35726,15 +35786,17 @@ var Issue = class extends Entity {
35726
35786
  */
35727
35787
  constructor(data) {
35728
35788
  super(data);
35729
- this.id = data.id;
35730
- this.type = data.type;
35731
- this.name = data.name;
35732
- this.description = data.description;
35733
- this.department = data.department;
35734
- this.autoAssign = data.autoAssign;
35735
- this.systemKey = data.systemKey;
35736
- this.autoCreateTicket = data.autoCreateTicket;
35737
- this.excludedResources = data.excludedResources;
35789
+ if (data.id !== void 0) this.id = data.id;
35790
+ if (data.type !== void 0) this.type = data.type;
35791
+ if (data.name !== void 0) this.name = data.name;
35792
+ if (data.description !== void 0) this.description = data.description;
35793
+ if (data.department !== void 0) this.department = data.department;
35794
+ if (data.autoAssign !== void 0) this.autoAssign = data.autoAssign;
35795
+ if (data.systemKey !== void 0) this.systemKey = data.systemKey;
35796
+ if (data.autoCreateTicket !== void 0)
35797
+ this.autoCreateTicket = data.autoCreateTicket;
35798
+ if (data.excludedResources !== void 0)
35799
+ this.excludedResources = data.excludedResources;
35738
35800
  }
35739
35801
  };
35740
35802
  Object.defineProperty(Issue.prototype, "schema", {
@@ -35808,23 +35870,26 @@ var Lock = class extends Entity {
35808
35870
  */
35809
35871
  constructor(data) {
35810
35872
  super(data);
35811
- this.id = data.id;
35812
- this.name = data.name;
35813
- this.type = data.type;
35814
- this.offline = data.offline;
35815
- this.supportedNotifications = data.supportedNotifications;
35816
- this.notification = data.notification;
35817
- this.driver = data.driver;
35818
- this.state = data.state;
35819
- this.mode = data.mode;
35820
- this.supportedModes = data.supportedModes;
35821
- this.batteryLevel = data.batteryLevel;
35822
- this.systemId = data.systemId;
35823
- this.watts = data.watts;
35824
- this.icon = data.icon;
35825
- this.modelNumber = data.modelNumber;
35826
- this.serialNumber = data.serialNumber;
35827
- this.firmwareVersion = data.firmwareVersion;
35873
+ if (data.id !== void 0) this.id = data.id;
35874
+ if (data.name !== void 0) this.name = data.name;
35875
+ if (data.type !== void 0) this.type = data.type;
35876
+ if (data.offline !== void 0) this.offline = data.offline;
35877
+ if (data.supportedNotifications !== void 0)
35878
+ this.supportedNotifications = data.supportedNotifications;
35879
+ if (data.notification !== void 0) this.notification = data.notification;
35880
+ if (data.driver !== void 0) this.driver = data.driver;
35881
+ if (data.state !== void 0) this.state = data.state;
35882
+ if (data.mode !== void 0) this.mode = data.mode;
35883
+ if (data.supportedModes !== void 0)
35884
+ this.supportedModes = data.supportedModes;
35885
+ if (data.batteryLevel !== void 0) this.batteryLevel = data.batteryLevel;
35886
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35887
+ if (data.watts !== void 0) this.watts = data.watts;
35888
+ if (data.icon !== void 0) this.icon = data.icon;
35889
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
35890
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
35891
+ if (data.firmwareVersion !== void 0)
35892
+ this.firmwareVersion = data.firmwareVersion;
35828
35893
  }
35829
35894
  };
35830
35895
  Object.defineProperty(Lock.prototype, "schema", {
@@ -35926,15 +35991,15 @@ var Log = class extends Entity {
35926
35991
  */
35927
35992
  constructor(data) {
35928
35993
  super(data);
35929
- this.type = data.type;
35930
- this.timestamp = data.timestamp;
35931
- this.name = data.name;
35932
- this.field1 = data.field1;
35933
- this.field2 = data.field2;
35934
- this.field3 = data.field3;
35935
- this.field4 = data.field4;
35936
- this.field5 = data.field5;
35937
- this.field6 = data.field6;
35994
+ if (data.type !== void 0) this.type = data.type;
35995
+ if (data.timestamp !== void 0) this.timestamp = data.timestamp;
35996
+ if (data.name !== void 0) this.name = data.name;
35997
+ if (data.field1 !== void 0) this.field1 = data.field1;
35998
+ if (data.field2 !== void 0) this.field2 = data.field2;
35999
+ if (data.field3 !== void 0) this.field3 = data.field3;
36000
+ if (data.field4 !== void 0) this.field4 = data.field4;
36001
+ if (data.field5 !== void 0) this.field5 = data.field5;
36002
+ if (data.field6 !== void 0) this.field6 = data.field6;
35938
36003
  }
35939
36004
  };
35940
36005
  Object.defineProperty(Log.prototype, "schema", {
@@ -36015,21 +36080,22 @@ var MediaFile = class extends Entity {
36015
36080
  */
36016
36081
  constructor(data) {
36017
36082
  super(data);
36018
- this.id = data.id;
36019
- this.type = data.type;
36020
- this.name = data.name;
36021
- this.fileHash = data.fileHash;
36022
- this.category = data.category;
36023
- this.mimeType = data.mimeType;
36024
- this.data = data.data;
36025
- this.url = data.url;
36026
- this.width = data.width;
36027
- this.height = data.height;
36028
- this.size = data.size;
36029
- this.uploadUrl = data.uploadUrl;
36030
- this.uploadUrlExpires = data.uploadUrlExpires;
36031
- this.createdBy = data.createdBy;
36032
- this.systemId = data.systemId;
36083
+ if (data.id !== void 0) this.id = data.id;
36084
+ if (data.type !== void 0) this.type = data.type;
36085
+ if (data.name !== void 0) this.name = data.name;
36086
+ if (data.fileHash !== void 0) this.fileHash = data.fileHash;
36087
+ if (data.category !== void 0) this.category = data.category;
36088
+ if (data.mimeType !== void 0) this.mimeType = data.mimeType;
36089
+ if (data.data !== void 0) this.data = data.data;
36090
+ if (data.url !== void 0) this.url = data.url;
36091
+ if (data.width !== void 0) this.width = data.width;
36092
+ if (data.height !== void 0) this.height = data.height;
36093
+ if (data.size !== void 0) this.size = data.size;
36094
+ if (data.uploadUrl !== void 0) this.uploadUrl = data.uploadUrl;
36095
+ if (data.uploadUrlExpires !== void 0)
36096
+ this.uploadUrlExpires = data.uploadUrlExpires;
36097
+ if (data.createdBy !== void 0) this.createdBy = data.createdBy;
36098
+ if (data.systemId !== void 0) this.systemId = data.systemId;
36033
36099
  }
36034
36100
  createImageVariant(params) {
36035
36101
  if (this.mimeType != "image/*")
@@ -36128,35 +36194,42 @@ var MediaSource = class extends Entity {
36128
36194
  */
36129
36195
  constructor(data) {
36130
36196
  super(data);
36131
- this.id = data.id;
36132
- this.type = data.type;
36133
- this.discriminator = data.discriminator;
36134
- this.playlists = data.playlists;
36135
- this.remote = data.remote;
36136
- this.name = data.name;
36137
- this.driver = data.driver;
36138
- this.offline = data.offline;
36139
- this.audio = data.audio;
36140
- this.video = data.video;
36141
- this.powerFeedback = data.powerFeedback;
36142
- this.volumeFeedback = data.volumeFeedback;
36143
- this.muted = data.muted;
36144
- this.volume = data.volume;
36145
- this.brightness = data.brightness;
36146
- this.contrast = data.contrast;
36147
- this.power = data.power;
36148
- this.input = data.input;
36149
- this.supportedInputs = data.supportedInputs;
36150
- this.supportedOutputs = data.supportedOutputs;
36151
- this.command = data.command;
36152
- this.supportedNotifications = data.supportedNotifications;
36153
- this.notification = data.notification;
36154
- this.systemId = data.systemId;
36155
- this.watts = data.watts;
36156
- this.icon = data.icon;
36157
- this.modelNumber = data.modelNumber;
36158
- this.serialNumber = data.serialNumber;
36159
- this.firmwareVersion = data.firmwareVersion;
36197
+ if (data.id !== void 0) this.id = data.id;
36198
+ if (data.type !== void 0) this.type = data.type;
36199
+ if (data.discriminator !== void 0)
36200
+ this.discriminator = data.discriminator;
36201
+ if (data.playlists !== void 0) this.playlists = data.playlists;
36202
+ if (data.remote !== void 0) this.remote = data.remote;
36203
+ if (data.name !== void 0) this.name = data.name;
36204
+ if (data.driver !== void 0) this.driver = data.driver;
36205
+ if (data.offline !== void 0) this.offline = data.offline;
36206
+ if (data.audio !== void 0) this.audio = data.audio;
36207
+ if (data.video !== void 0) this.video = data.video;
36208
+ if (data.powerFeedback !== void 0)
36209
+ this.powerFeedback = data.powerFeedback;
36210
+ if (data.volumeFeedback !== void 0)
36211
+ this.volumeFeedback = data.volumeFeedback;
36212
+ if (data.muted !== void 0) this.muted = data.muted;
36213
+ if (data.volume !== void 0) this.volume = data.volume;
36214
+ if (data.brightness !== void 0) this.brightness = data.brightness;
36215
+ if (data.contrast !== void 0) this.contrast = data.contrast;
36216
+ if (data.power !== void 0) this.power = data.power;
36217
+ if (data.input !== void 0) this.input = data.input;
36218
+ if (data.supportedInputs !== void 0)
36219
+ this.supportedInputs = data.supportedInputs;
36220
+ if (data.supportedOutputs !== void 0)
36221
+ this.supportedOutputs = data.supportedOutputs;
36222
+ if (data.command !== void 0) this.command = data.command;
36223
+ if (data.supportedNotifications !== void 0)
36224
+ this.supportedNotifications = data.supportedNotifications;
36225
+ if (data.notification !== void 0) this.notification = data.notification;
36226
+ if (data.systemId !== void 0) this.systemId = data.systemId;
36227
+ if (data.watts !== void 0) this.watts = data.watts;
36228
+ if (data.icon !== void 0) this.icon = data.icon;
36229
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
36230
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
36231
+ if (data.firmwareVersion !== void 0)
36232
+ this.firmwareVersion = data.firmwareVersion;
36160
36233
  }
36161
36234
  };
36162
36235
  Object.defineProperty(MediaSource.prototype, "schema", {
@@ -36383,17 +36456,19 @@ var MotionSensor = class extends Entity {
36383
36456
  */
36384
36457
  constructor(data) {
36385
36458
  super(data);
36386
- this.id = data.id;
36387
- this.type = data.type;
36388
- this.driver = data.driver;
36389
- this.systemId = data.systemId;
36390
- this.supportedNotifications = data.supportedNotifications;
36391
- this.notification = data.notification;
36392
- this.watts = data.watts;
36393
- this.icon = data.icon;
36394
- this.modelNumber = data.modelNumber;
36395
- this.serialNumber = data.serialNumber;
36396
- this.firmwareVersion = data.firmwareVersion;
36459
+ if (data.id !== void 0) this.id = data.id;
36460
+ if (data.type !== void 0) this.type = data.type;
36461
+ if (data.driver !== void 0) this.driver = data.driver;
36462
+ if (data.systemId !== void 0) this.systemId = data.systemId;
36463
+ if (data.supportedNotifications !== void 0)
36464
+ this.supportedNotifications = data.supportedNotifications;
36465
+ if (data.notification !== void 0) this.notification = data.notification;
36466
+ if (data.watts !== void 0) this.watts = data.watts;
36467
+ if (data.icon !== void 0) this.icon = data.icon;
36468
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
36469
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
36470
+ if (data.firmwareVersion !== void 0)
36471
+ this.firmwareVersion = data.firmwareVersion;
36397
36472
  }
36398
36473
  };
36399
36474
  Object.defineProperty(MotionSensor.prototype, "schema", {
@@ -36454,18 +36529,19 @@ var Order = class extends Entity {
36454
36529
  */
36455
36530
  constructor(data) {
36456
36531
  super(data);
36457
- this.id = data.id;
36458
- this.type = data.type;
36459
- this.orderNumber = data.orderNumber;
36460
- this.status = data.status;
36461
- this.userId = data.userId;
36462
- this.reservationId = data.reservationId;
36463
- this.date = data.date;
36464
- this.items = data.items;
36465
- this.taxes = data.taxes;
36466
- this.fees = data.fees;
36467
- this.delivery = data.delivery;
36468
- this.payments = data.payments;
36532
+ if (data.id !== void 0) this.id = data.id;
36533
+ if (data.type !== void 0) this.type = data.type;
36534
+ if (data.orderNumber !== void 0) this.orderNumber = data.orderNumber;
36535
+ if (data.status !== void 0) this.status = data.status;
36536
+ if (data.userId !== void 0) this.userId = data.userId;
36537
+ if (data.reservationId !== void 0)
36538
+ this.reservationId = data.reservationId;
36539
+ if (data.date !== void 0) this.date = data.date;
36540
+ if (data.items !== void 0) this.items = data.items;
36541
+ if (data.taxes !== void 0) this.taxes = data.taxes;
36542
+ if (data.fees !== void 0) this.fees = data.fees;
36543
+ if (data.delivery !== void 0) this.delivery = data.delivery;
36544
+ if (data.payments !== void 0) this.payments = data.payments;
36469
36545
  }
36470
36546
  getSubTotal() {
36471
36547
  return this.items.reduce((acc, item) => {
@@ -36710,17 +36786,18 @@ var Organization = class extends Entity {
36710
36786
  */
36711
36787
  constructor(data) {
36712
36788
  super(data);
36713
- this.id = data.id;
36714
- this.type = data.type;
36715
- this.accountNumber = data.accountNumber;
36716
- this.name = data.name;
36717
- this.properties = data.properties;
36718
- this.hostname = data.hostname;
36719
- this.appManifest = data.appManifest;
36720
- this.tickets = data.tickets;
36721
- this.credentials = data.credentials;
36722
- this.createdAt = data.createdAt;
36723
- this.updatedAt = data.updatedAt;
36789
+ if (data.id !== void 0) this.id = data.id;
36790
+ if (data.type !== void 0) this.type = data.type;
36791
+ if (data.accountNumber !== void 0)
36792
+ this.accountNumber = data.accountNumber;
36793
+ if (data.name !== void 0) this.name = data.name;
36794
+ if (data.properties !== void 0) this.properties = data.properties;
36795
+ if (data.hostname !== void 0) this.hostname = data.hostname;
36796
+ if (data.appManifest !== void 0) this.appManifest = data.appManifest;
36797
+ if (data.tickets !== void 0) this.tickets = data.tickets;
36798
+ if (data.credentials !== void 0) this.credentials = data.credentials;
36799
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
36800
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
36724
36801
  }
36725
36802
  };
36726
36803
  Object.defineProperty(Organization.prototype, "schema", {
@@ -36853,14 +36930,14 @@ var Payment = class extends Entity {
36853
36930
  */
36854
36931
  constructor(data) {
36855
36932
  super(data);
36856
- this.id = data.id;
36857
- this.type = data.type;
36858
- this.enabled = data.enabled;
36859
- this.storageData = data.storageData;
36860
- this.maskedNumber = data.maskedNumber;
36861
- this.issued = data.issued;
36862
- this.expires = data.expires;
36863
- this.systemId = data.systemId;
36933
+ if (data.id !== void 0) this.id = data.id;
36934
+ if (data.type !== void 0) this.type = data.type;
36935
+ if (data.enabled !== void 0) this.enabled = data.enabled;
36936
+ if (data.storageData !== void 0) this.storageData = data.storageData;
36937
+ if (data.maskedNumber !== void 0) this.maskedNumber = data.maskedNumber;
36938
+ if (data.issued !== void 0) this.issued = data.issued;
36939
+ if (data.expires !== void 0) this.expires = data.expires;
36940
+ if (data.systemId !== void 0) this.systemId = data.systemId;
36864
36941
  }
36865
36942
  };
36866
36943
  Object.defineProperty(Payment.prototype, "schema", {
@@ -36925,14 +37002,16 @@ var Policy = class extends Entity {
36925
37002
  */
36926
37003
  constructor(data) {
36927
37004
  super(data);
36928
- this.id = data.id;
36929
- this.type = data.type;
36930
- this.discriminator = data.discriminator;
36931
- this.name = data.name;
36932
- this.description = data.description;
36933
- this.organizationId = data.organizationId;
36934
- this.propertyId = data.propertyId;
36935
- this.permissions = data.permissions;
37005
+ if (data.id !== void 0) this.id = data.id;
37006
+ if (data.type !== void 0) this.type = data.type;
37007
+ if (data.discriminator !== void 0)
37008
+ this.discriminator = data.discriminator;
37009
+ if (data.name !== void 0) this.name = data.name;
37010
+ if (data.description !== void 0) this.description = data.description;
37011
+ if (data.organizationId !== void 0)
37012
+ this.organizationId = data.organizationId;
37013
+ if (data.propertyId !== void 0) this.propertyId = data.propertyId;
37014
+ if (data.permissions !== void 0) this.permissions = data.permissions;
36936
37015
  }
36937
37016
  };
36938
37017
  Object.defineProperty(Policy.prototype, "schema", {
@@ -37006,17 +37085,17 @@ var Product = class extends Entity {
37006
37085
  */
37007
37086
  constructor(data) {
37008
37087
  super(data);
37009
- this.id = data.id;
37010
- this.type = data.type;
37011
- this.name = data.name;
37012
- this.driver = data.driver;
37013
- this.description = data.description;
37014
- this.price = data.price;
37015
- this.tax = data.tax;
37016
- this.image = data.image;
37017
- this.category = data.category;
37018
- this.imageUrl = data.imageUrl;
37019
- this.systemId = data.systemId;
37088
+ if (data.id !== void 0) this.id = data.id;
37089
+ if (data.type !== void 0) this.type = data.type;
37090
+ if (data.name !== void 0) this.name = data.name;
37091
+ if (data.driver !== void 0) this.driver = data.driver;
37092
+ if (data.description !== void 0) this.description = data.description;
37093
+ if (data.price !== void 0) this.price = data.price;
37094
+ if (data.tax !== void 0) this.tax = data.tax;
37095
+ if (data.image !== void 0) this.image = data.image;
37096
+ if (data.category !== void 0) this.category = data.category;
37097
+ if (data.imageUrl !== void 0) this.imageUrl = data.imageUrl;
37098
+ if (data.systemId !== void 0) this.systemId = data.systemId;
37020
37099
  }
37021
37100
  };
37022
37101
  Object.defineProperty(Product.prototype, "schema", {
@@ -37071,9 +37150,10 @@ var Property = class extends Entity {
37071
37150
  * @property {{id?: string, line1?: string, line2?: string, line3?: string, city?: string, state?: string, postalCode?: string, countryCode?: string}} [address]
37072
37151
  * @property {number} [latitude]
37073
37152
  * @property {number} [longitude]
37074
- * @property {{RoomControl?: {disabledSystems?: ("climate"|"lights"|"shades"|"tv"|"doors")[], commonAreas?: {spaces?: string[]}, alarmConfig?: object}, CheckIn?: {payment?: any, identification?: any, earlyCheckIn?: {dynamic: boolean, minimumPrice?: number, maximumPrice?: number, priceRatioPerHour?: number, minimumTime?: string}, roomUpgrades?: any, pet?: any, promos?: any}, CheckOut?: {lateCheckOut?: {dynamic: boolean, minimumPrice?: number, maximumPrice?: number, priceRatioPerHour?: number}}, Concierge?: {timeTracking?: boolean, tipping?: boolean, ratings?: boolean, newTicketCCs?: string[], newMessageChannel?: ("sms"|"email"), quickServices?: {name: string, description: string, department?: string, image: {id?: any, type: "mediaFile", name?: string, fileHash?: string, category?: string, mimeType?: ("image/*"|"image/jpeg"|"image/png"|"image/gif"|"image/webp"|"image/avif"|"image/svg+xml"|"application/pdf"), data?: string, url?: string, width?: number, height?: number, size?: number, uploadUrl?: string, uploadUrlExpires?: any, createdBy?: string, systemId?: any}}[], issues?: {syncWithPropertyId?: string}}, DigitalKey?: {system?: ("salto"|"dormakaba"), systemOnline?: boolean, systemConfig?: {legicUrl?: string, legicWalletName?: string, legicAppId?: number, legicTechUsername?: string, legicTechPassword?: string}, enableApp?: boolean, branding?: {logo?: string, gradient?: string[], highlightedGradient?: string[]}}, SOS?: {active?: boolean, activeEmergencies?: ("medical"|"fire"|"suspiciousPerson"|"other"|"conflict"|"shooter")[]}, Elevator?: any, Experiences?: any, Dining?: {system?: "gotab", systemConfig?: {landingUrl?: string, includeUserDetails?: boolean}}, Rentals?: any, Shop?: any, Spa?: any, Valet?: any}} [appFeatures] - Default: {"RoomControl":{}}
37075
- * @property {{disabledSystems?: ("climate"|"lights"|"shades"|"tv"|"doors")[], commonAreas?: {spaces?: string[]}, alarmConfig?: object}} [appFeatures.RoomControl]
37153
+ * @property {{RoomControl?: {disabledSystems?: ("climate"|"lights"|"shades"|"tv"|"doors")[], excludedDeviceIds?: string[], commonAreas?: {spaces?: string[]}, alarmConfig?: object}, CheckIn?: {payment?: any, identification?: any, earlyCheckIn?: {dynamic: boolean, minimumPrice?: number, maximumPrice?: number, priceRatioPerHour?: number, minimumTime?: string}, roomUpgrades?: any, pet?: any, promos?: any}, CheckOut?: {lateCheckOut?: {dynamic: boolean, minimumPrice?: number, maximumPrice?: number, priceRatioPerHour?: number}}, Concierge?: {timeTracking?: boolean, tipping?: boolean, ratings?: boolean, newTicketCCs?: string[], newMessageChannel?: ("sms"|"email"), quickServices?: {name: string, description: string, department?: string, image: {id?: any, type: "mediaFile", name?: string, fileHash?: string, category?: string, mimeType?: ("image/*"|"image/jpeg"|"image/png"|"image/gif"|"image/webp"|"image/avif"|"image/svg+xml"|"application/pdf"), data?: string, url?: string, width?: number, height?: number, size?: number, uploadUrl?: string, uploadUrlExpires?: any, createdBy?: string, systemId?: any}}[], issues?: {syncWithPropertyId?: string}}, DigitalKey?: {system?: ("salto"|"dormakaba"), systemOnline?: boolean, systemConfig?: {legicUrl?: string, legicWalletName?: string, legicAppId?: number, legicTechUsername?: string, legicTechPassword?: string}, enableApp?: boolean, branding?: {logo?: string, gradient?: string[], highlightedGradient?: string[]}}, SOS?: {active?: boolean, activeEmergencies?: ("medical"|"fire"|"suspiciousPerson"|"other"|"conflict"|"shooter")[]}, Elevator?: any, Experiences?: any, Dining?: {system?: "gotab", systemConfig?: {landingUrl?: string, includeUserDetails?: boolean}}, Rentals?: any, Shop?: any, Spa?: any, Valet?: any}} [appFeatures] - Default: {"RoomControl":{}}
37154
+ * @property {{disabledSystems?: ("climate"|"lights"|"shades"|"tv"|"doors")[], excludedDeviceIds?: string[], commonAreas?: {spaces?: string[]}, alarmConfig?: object}} [appFeatures.RoomControl]
37076
37155
  * @property {("climate"|"lights"|"shades"|"tv"|"doors")[]} [appFeatures.RoomControl.disabledSystems]
37156
+ * @property {string[]} [appFeatures.RoomControl.excludedDeviceIds] - Default: []
37077
37157
  * @property {{spaces?: string[]}} [appFeatures.RoomControl.commonAreas]
37078
37158
  * @property {string[]} [appFeatures.RoomControl.commonAreas.spaces]
37079
37159
  * @property {object} [appFeatures.RoomControl.alarmConfig]
@@ -37147,24 +37227,27 @@ var Property = class extends Entity {
37147
37227
  */
37148
37228
  constructor(data) {
37149
37229
  super(data);
37150
- this.id = data.id;
37151
- this.name = data.name;
37152
- this.type = data.type;
37153
- this.discriminator = data.discriminator;
37154
- this.organization = data.organization;
37155
- this.departments = data.departments;
37156
- this.testModeEnabled = data.testModeEnabled;
37157
- this.testMode = data.testMode;
37158
- this.timezone = data.timezone;
37159
- this.smsNumber = data.smsNumber;
37160
- this.checkInTime = data.checkInTime;
37161
- this.checkOutTime = data.checkOutTime;
37162
- this.address = data.address;
37163
- this.latitude = data.latitude;
37164
- this.longitude = data.longitude;
37165
- this.appFeatures = data.appFeatures;
37166
- this.notifications = data.notifications;
37167
- this.credentials = data.credentials;
37230
+ if (data.id !== void 0) this.id = data.id;
37231
+ if (data.name !== void 0) this.name = data.name;
37232
+ if (data.type !== void 0) this.type = data.type;
37233
+ if (data.discriminator !== void 0)
37234
+ this.discriminator = data.discriminator;
37235
+ if (data.organization !== void 0) this.organization = data.organization;
37236
+ if (data.departments !== void 0) this.departments = data.departments;
37237
+ if (data.testModeEnabled !== void 0)
37238
+ this.testModeEnabled = data.testModeEnabled;
37239
+ if (data.testMode !== void 0) this.testMode = data.testMode;
37240
+ if (data.timezone !== void 0) this.timezone = data.timezone;
37241
+ if (data.smsNumber !== void 0) this.smsNumber = data.smsNumber;
37242
+ if (data.checkInTime !== void 0) this.checkInTime = data.checkInTime;
37243
+ if (data.checkOutTime !== void 0) this.checkOutTime = data.checkOutTime;
37244
+ if (data.address !== void 0) this.address = data.address;
37245
+ if (data.latitude !== void 0) this.latitude = data.latitude;
37246
+ if (data.longitude !== void 0) this.longitude = data.longitude;
37247
+ if (data.appFeatures !== void 0) this.appFeatures = data.appFeatures;
37248
+ if (data.notifications !== void 0)
37249
+ this.notifications = data.notifications;
37250
+ if (data.credentials !== void 0) this.credentials = data.credentials;
37168
37251
  }
37169
37252
  };
37170
37253
  Object.defineProperty(Property.prototype, "schema", {
@@ -37236,6 +37319,11 @@ Object.defineProperty(Property.prototype, "schema", {
37236
37319
  enum: ["climate", "lights", "shades", "tv", "doors"]
37237
37320
  }
37238
37321
  },
37322
+ excludedDeviceIds: {
37323
+ type: "array",
37324
+ items: { type: "string" },
37325
+ default: []
37326
+ },
37239
37327
  commonAreas: {
37240
37328
  type: "object",
37241
37329
  properties: {
@@ -37514,34 +37602,46 @@ var Reservation = class extends Entity {
37514
37602
  */
37515
37603
  constructor(data) {
37516
37604
  super(data);
37517
- this.id = data.id;
37518
- this.driver = data.driver;
37519
- this.primaryGuest = data.primaryGuest;
37520
- this.type = data.type;
37521
- this.sharedGuests = data.sharedGuests;
37522
- this.spaceCategory = data.spaceCategory;
37523
- this.space = data.space;
37524
- this.previousSpace = data.previousSpace;
37525
- this.status = data.status;
37526
- this.mobileCheckInSpaceCategoryChanged = data.mobileCheckInSpaceCategoryChanged;
37527
- this.mobileCheckInSpaceChanged = data.mobileCheckInSpaceChanged;
37528
- this.mobileCheckInStatus = data.mobileCheckInStatus;
37529
- this.mobileCheckInStatusMessage = data.mobileCheckInStatusMessage;
37530
- this.confirmationNumber = data.confirmationNumber;
37531
- this.expectedCheckInDateTime = data.expectedCheckInDateTime;
37532
- this.checkInDateTime = data.checkInDateTime;
37533
- this.checkOutDateTime = data.checkOutDateTime;
37534
- this.adultCount = data.adultCount;
37535
- this.childCount = data.childCount;
37536
- this.spaceCategoryAvailabilites = data.spaceCategoryAvailabilites;
37537
- this.revenue = data.revenue;
37538
- this.rateSuppressed = data.rateSuppressed;
37539
- this.payment = data.payment;
37540
- this.company = data.company;
37541
- this.travelAgent = data.travelAgent;
37542
- this.systemId = data.systemId;
37543
- this.metadata = data.metadata;
37544
- this.updatedAt = data.updatedAt;
37605
+ if (data.id !== void 0) this.id = data.id;
37606
+ if (data.driver !== void 0) this.driver = data.driver;
37607
+ if (data.primaryGuest !== void 0) this.primaryGuest = data.primaryGuest;
37608
+ if (data.type !== void 0) this.type = data.type;
37609
+ if (data.sharedGuests !== void 0) this.sharedGuests = data.sharedGuests;
37610
+ if (data.spaceCategory !== void 0)
37611
+ this.spaceCategory = data.spaceCategory;
37612
+ if (data.space !== void 0) this.space = data.space;
37613
+ if (data.previousSpace !== void 0)
37614
+ this.previousSpace = data.previousSpace;
37615
+ if (data.status !== void 0) this.status = data.status;
37616
+ if (data.mobileCheckInSpaceCategoryChanged !== void 0)
37617
+ this.mobileCheckInSpaceCategoryChanged = data.mobileCheckInSpaceCategoryChanged;
37618
+ if (data.mobileCheckInSpaceChanged !== void 0)
37619
+ this.mobileCheckInSpaceChanged = data.mobileCheckInSpaceChanged;
37620
+ if (data.mobileCheckInStatus !== void 0)
37621
+ this.mobileCheckInStatus = data.mobileCheckInStatus;
37622
+ if (data.mobileCheckInStatusMessage !== void 0)
37623
+ this.mobileCheckInStatusMessage = data.mobileCheckInStatusMessage;
37624
+ if (data.confirmationNumber !== void 0)
37625
+ this.confirmationNumber = data.confirmationNumber;
37626
+ if (data.expectedCheckInDateTime !== void 0)
37627
+ this.expectedCheckInDateTime = data.expectedCheckInDateTime;
37628
+ if (data.checkInDateTime !== void 0)
37629
+ this.checkInDateTime = data.checkInDateTime;
37630
+ if (data.checkOutDateTime !== void 0)
37631
+ this.checkOutDateTime = data.checkOutDateTime;
37632
+ if (data.adultCount !== void 0) this.adultCount = data.adultCount;
37633
+ if (data.childCount !== void 0) this.childCount = data.childCount;
37634
+ if (data.spaceCategoryAvailabilites !== void 0)
37635
+ this.spaceCategoryAvailabilites = data.spaceCategoryAvailabilites;
37636
+ if (data.revenue !== void 0) this.revenue = data.revenue;
37637
+ if (data.rateSuppressed !== void 0)
37638
+ this.rateSuppressed = data.rateSuppressed;
37639
+ if (data.payment !== void 0) this.payment = data.payment;
37640
+ if (data.company !== void 0) this.company = data.company;
37641
+ if (data.travelAgent !== void 0) this.travelAgent = data.travelAgent;
37642
+ if (data.systemId !== void 0) this.systemId = data.systemId;
37643
+ if (data.metadata !== void 0) this.metadata = data.metadata;
37644
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
37545
37645
  }
37546
37646
  checkInTime(tz) {
37547
37647
  return new Date(this.checkInDateTime).toLocaleString("default", {
@@ -37688,23 +37788,25 @@ var Room = class extends Entity {
37688
37788
  */
37689
37789
  constructor(data) {
37690
37790
  super(data);
37691
- this.id = data.id;
37692
- this.type = data.type;
37693
- this.name = data.name;
37694
- this.floor = data.floor;
37695
- this.dimmers = data.dimmers;
37696
- this.switches = data.switches;
37697
- this.thermostats = data.thermostats;
37698
- this.locks = data.locks;
37699
- this.windowCoverings = data.windowCoverings;
37700
- this.courtesy = data.courtesy;
37701
- this.cameras = data.cameras;
37702
- this.mediaSources = data.mediaSources;
37703
- this.motionSensors = data.motionSensors;
37704
- this.alarms = data.alarms;
37705
- this.occupiedAt = data.occupiedAt;
37706
- this.createdAt = data.createdAt;
37707
- this.updatedAt = data.updatedAt;
37791
+ if (data.id !== void 0) this.id = data.id;
37792
+ if (data.type !== void 0) this.type = data.type;
37793
+ if (data.name !== void 0) this.name = data.name;
37794
+ if (data.floor !== void 0) this.floor = data.floor;
37795
+ if (data.dimmers !== void 0) this.dimmers = data.dimmers;
37796
+ if (data.switches !== void 0) this.switches = data.switches;
37797
+ if (data.thermostats !== void 0) this.thermostats = data.thermostats;
37798
+ if (data.locks !== void 0) this.locks = data.locks;
37799
+ if (data.windowCoverings !== void 0)
37800
+ this.windowCoverings = data.windowCoverings;
37801
+ if (data.courtesy !== void 0) this.courtesy = data.courtesy;
37802
+ if (data.cameras !== void 0) this.cameras = data.cameras;
37803
+ if (data.mediaSources !== void 0) this.mediaSources = data.mediaSources;
37804
+ if (data.motionSensors !== void 0)
37805
+ this.motionSensors = data.motionSensors;
37806
+ if (data.alarms !== void 0) this.alarms = data.alarms;
37807
+ if (data.occupiedAt !== void 0) this.occupiedAt = data.occupiedAt;
37808
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
37809
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
37708
37810
  }
37709
37811
  static getDevicePath(type) {
37710
37812
  switch (type) {
@@ -37891,13 +37993,13 @@ var Scene = class extends Entity {
37891
37993
  */
37892
37994
  constructor(data) {
37893
37995
  super(data);
37894
- this.id = data.id;
37895
- this.name = data.name;
37896
- this.description = data.description;
37897
- this.type = data.type;
37898
- this.devices = data.devices;
37899
- this.isDefault = data.isDefault;
37900
- this.showOnUi = data.showOnUi;
37996
+ if (data.id !== void 0) this.id = data.id;
37997
+ if (data.name !== void 0) this.name = data.name;
37998
+ if (data.description !== void 0) this.description = data.description;
37999
+ if (data.type !== void 0) this.type = data.type;
38000
+ if (data.devices !== void 0) this.devices = data.devices;
38001
+ if (data.isDefault !== void 0) this.isDefault = data.isDefault;
38002
+ if (data.showOnUi !== void 0) this.showOnUi = data.showOnUi;
37901
38003
  }
37902
38004
  };
37903
38005
  Object.defineProperty(Scene.prototype, "schema", {
@@ -38020,12 +38122,12 @@ var ShortLink = class extends Entity {
38020
38122
  */
38021
38123
  constructor(data) {
38022
38124
  super(data);
38023
- this.id = data.id;
38024
- this.type = data.type;
38025
- this.title = data.title;
38026
- this.destination = data.destination;
38027
- this.url = data.url;
38028
- this.systemId = data.systemId;
38125
+ if (data.id !== void 0) this.id = data.id;
38126
+ if (data.type !== void 0) this.type = data.type;
38127
+ if (data.title !== void 0) this.title = data.title;
38128
+ if (data.destination !== void 0) this.destination = data.destination;
38129
+ if (data.url !== void 0) this.url = data.url;
38130
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38029
38131
  }
38030
38132
  };
38031
38133
  Object.defineProperty(ShortLink.prototype, "schema", {
@@ -38077,18 +38179,18 @@ var SmsMessage = class extends Entity {
38077
38179
  */
38078
38180
  constructor(data) {
38079
38181
  super(data);
38080
- this.id = data.id;
38081
- this.type = data.type;
38082
- this.to = data.to;
38083
- this.from = data.from;
38084
- this.media = data.media;
38085
- this.status = data.status;
38086
- this.body = data.body;
38087
- this.driver = data.driver;
38088
- this.appData = data.appData;
38089
- this.createdAt = data.createdAt;
38090
- this.updatedAt = data.updatedAt;
38091
- this.systemId = data.systemId;
38182
+ if (data.id !== void 0) this.id = data.id;
38183
+ if (data.type !== void 0) this.type = data.type;
38184
+ if (data.to !== void 0) this.to = data.to;
38185
+ if (data.from !== void 0) this.from = data.from;
38186
+ if (data.media !== void 0) this.media = data.media;
38187
+ if (data.status !== void 0) this.status = data.status;
38188
+ if (data.body !== void 0) this.body = data.body;
38189
+ if (data.driver !== void 0) this.driver = data.driver;
38190
+ if (data.appData !== void 0) this.appData = data.appData;
38191
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
38192
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
38193
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38092
38194
  }
38093
38195
  };
38094
38196
  Object.defineProperty(SmsMessage.prototype, "schema", {
@@ -38168,22 +38270,26 @@ var Space = class extends Entity {
38168
38270
  */
38169
38271
  constructor(data) {
38170
38272
  super(data);
38171
- this.id = data.id;
38172
- this.name = data.name;
38173
- this.type = data.type;
38174
- this.discriminator = data.discriminator;
38175
- this.driver = data.driver;
38176
- this.category = data.category;
38177
- this.rooms = data.rooms;
38178
- this.subGroups = data.subGroups;
38179
- this.occupied = data.occupied;
38180
- this.inUse = data.inUse;
38181
- this.eco = data.eco;
38182
- this.features = data.features;
38183
- this.maximumOccupancy = data.maximumOccupancy;
38184
- this.housekeepingStatus = data.housekeepingStatus;
38185
- this.serviceStatus = data.serviceStatus;
38186
- this.systemId = data.systemId;
38273
+ if (data.id !== void 0) this.id = data.id;
38274
+ if (data.name !== void 0) this.name = data.name;
38275
+ if (data.type !== void 0) this.type = data.type;
38276
+ if (data.discriminator !== void 0)
38277
+ this.discriminator = data.discriminator;
38278
+ if (data.driver !== void 0) this.driver = data.driver;
38279
+ if (data.category !== void 0) this.category = data.category;
38280
+ if (data.rooms !== void 0) this.rooms = data.rooms;
38281
+ if (data.subGroups !== void 0) this.subGroups = data.subGroups;
38282
+ if (data.occupied !== void 0) this.occupied = data.occupied;
38283
+ if (data.inUse !== void 0) this.inUse = data.inUse;
38284
+ if (data.eco !== void 0) this.eco = data.eco;
38285
+ if (data.features !== void 0) this.features = data.features;
38286
+ if (data.maximumOccupancy !== void 0)
38287
+ this.maximumOccupancy = data.maximumOccupancy;
38288
+ if (data.housekeepingStatus !== void 0)
38289
+ this.housekeepingStatus = data.housekeepingStatus;
38290
+ if (data.serviceStatus !== void 0)
38291
+ this.serviceStatus = data.serviceStatus;
38292
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38187
38293
  }
38188
38294
  get floor() {
38189
38295
  const floors = /* @__PURE__ */ new Set();
@@ -38348,21 +38454,24 @@ var Switch = class extends Entity {
38348
38454
  */
38349
38455
  constructor(data) {
38350
38456
  super(data);
38351
- this.id = data.id;
38352
- this.name = data.name;
38353
- this.type = data.type;
38354
- this.discriminator = data.discriminator;
38355
- this.supportedNotifications = data.supportedNotifications;
38356
- this.notification = data.notification;
38357
- this.driver = data.driver;
38358
- this.offline = data.offline;
38359
- this.state = data.state;
38360
- this.systemId = data.systemId;
38361
- this.watts = data.watts;
38362
- this.icon = data.icon;
38363
- this.modelNumber = data.modelNumber;
38364
- this.serialNumber = data.serialNumber;
38365
- this.firmwareVersion = data.firmwareVersion;
38457
+ if (data.id !== void 0) this.id = data.id;
38458
+ if (data.name !== void 0) this.name = data.name;
38459
+ if (data.type !== void 0) this.type = data.type;
38460
+ if (data.discriminator !== void 0)
38461
+ this.discriminator = data.discriminator;
38462
+ if (data.supportedNotifications !== void 0)
38463
+ this.supportedNotifications = data.supportedNotifications;
38464
+ if (data.notification !== void 0) this.notification = data.notification;
38465
+ if (data.driver !== void 0) this.driver = data.driver;
38466
+ if (data.offline !== void 0) this.offline = data.offline;
38467
+ if (data.state !== void 0) this.state = data.state;
38468
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38469
+ if (data.watts !== void 0) this.watts = data.watts;
38470
+ if (data.icon !== void 0) this.icon = data.icon;
38471
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
38472
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
38473
+ if (data.firmwareVersion !== void 0)
38474
+ this.firmwareVersion = data.firmwareVersion;
38366
38475
  }
38367
38476
  };
38368
38477
  Object.defineProperty(Switch.prototype, "schema", {
@@ -38436,28 +38545,29 @@ var SystemUser = class extends Entity {
38436
38545
  */
38437
38546
  constructor(data) {
38438
38547
  super(data);
38439
- this.id = data.id;
38440
- this.type = data.type;
38441
- this.driver = data.driver;
38442
- this.firstName = data.firstName;
38443
- this.lastName = data.lastName;
38444
- this.phone = data.phone;
38445
- this.email = data.email;
38446
- this.address = data.address;
38447
- this.photo = data.photo;
38448
- this.jobTitle = data.jobTitle;
38449
- this.dob = data.dob;
38450
- this.gender = data.gender;
38451
- this.roles = data.roles;
38452
- this.nationality = data.nationality;
38453
- this.notes = data.notes;
38454
- this.files = data.files;
38455
- this.identifications = data.identifications;
38456
- this.payments = data.payments;
38457
- this.revenue = data.revenue;
38458
- this.createdAt = data.createdAt;
38459
- this.updatedAt = data.updatedAt;
38460
- this.systemId = data.systemId;
38548
+ if (data.id !== void 0) this.id = data.id;
38549
+ if (data.type !== void 0) this.type = data.type;
38550
+ if (data.driver !== void 0) this.driver = data.driver;
38551
+ if (data.firstName !== void 0) this.firstName = data.firstName;
38552
+ if (data.lastName !== void 0) this.lastName = data.lastName;
38553
+ if (data.phone !== void 0) this.phone = data.phone;
38554
+ if (data.email !== void 0) this.email = data.email;
38555
+ if (data.address !== void 0) this.address = data.address;
38556
+ if (data.photo !== void 0) this.photo = data.photo;
38557
+ if (data.jobTitle !== void 0) this.jobTitle = data.jobTitle;
38558
+ if (data.dob !== void 0) this.dob = data.dob;
38559
+ if (data.gender !== void 0) this.gender = data.gender;
38560
+ if (data.roles !== void 0) this.roles = data.roles;
38561
+ if (data.nationality !== void 0) this.nationality = data.nationality;
38562
+ if (data.notes !== void 0) this.notes = data.notes;
38563
+ if (data.files !== void 0) this.files = data.files;
38564
+ if (data.identifications !== void 0)
38565
+ this.identifications = data.identifications;
38566
+ if (data.payments !== void 0) this.payments = data.payments;
38567
+ if (data.revenue !== void 0) this.revenue = data.revenue;
38568
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
38569
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
38570
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38461
38571
  }
38462
38572
  };
38463
38573
  Object.defineProperty(SystemUser.prototype, "schema", {
@@ -38560,33 +38670,41 @@ var Thermostat = class extends Entity {
38560
38670
  */
38561
38671
  constructor(data) {
38562
38672
  super(data);
38563
- this.id = data.id;
38564
- this.name = data.name;
38565
- this.type = data.type;
38566
- this.driver = data.driver;
38567
- this.offline = data.offline;
38568
- this.supportedNotifications = data.supportedNotifications;
38569
- this.notification = data.notification;
38570
- this.currentTemperature = data.currentTemperature;
38571
- this.currentHumidity = data.currentHumidity;
38572
- this.hvacMode = data.hvacMode;
38573
- this.hvacState = data.hvacState;
38574
- this.fanMode = data.fanMode;
38575
- this.fanState = data.fanState;
38576
- this.temperatureScale = data.temperatureScale;
38577
- this.humidityScale = data.humidityScale;
38578
- this.supportedHvacModes = data.supportedHvacModes;
38579
- this.supportedFanModes = data.supportedFanModes;
38580
- this.setpoints = data.setpoints;
38581
- this.minAutoDelta = data.minAutoDelta;
38582
- this.cycleRate = data.cycleRate;
38583
- this.batteryLevel = data.batteryLevel;
38584
- this.systemId = data.systemId;
38585
- this.watts = data.watts;
38586
- this.icon = data.icon;
38587
- this.modelNumber = data.modelNumber;
38588
- this.serialNumber = data.serialNumber;
38589
- this.firmwareVersion = data.firmwareVersion;
38673
+ if (data.id !== void 0) this.id = data.id;
38674
+ if (data.name !== void 0) this.name = data.name;
38675
+ if (data.type !== void 0) this.type = data.type;
38676
+ if (data.driver !== void 0) this.driver = data.driver;
38677
+ if (data.offline !== void 0) this.offline = data.offline;
38678
+ if (data.supportedNotifications !== void 0)
38679
+ this.supportedNotifications = data.supportedNotifications;
38680
+ if (data.notification !== void 0) this.notification = data.notification;
38681
+ if (data.currentTemperature !== void 0)
38682
+ this.currentTemperature = data.currentTemperature;
38683
+ if (data.currentHumidity !== void 0)
38684
+ this.currentHumidity = data.currentHumidity;
38685
+ if (data.hvacMode !== void 0) this.hvacMode = data.hvacMode;
38686
+ if (data.hvacState !== void 0) this.hvacState = data.hvacState;
38687
+ if (data.fanMode !== void 0) this.fanMode = data.fanMode;
38688
+ if (data.fanState !== void 0) this.fanState = data.fanState;
38689
+ if (data.temperatureScale !== void 0)
38690
+ this.temperatureScale = data.temperatureScale;
38691
+ if (data.humidityScale !== void 0)
38692
+ this.humidityScale = data.humidityScale;
38693
+ if (data.supportedHvacModes !== void 0)
38694
+ this.supportedHvacModes = data.supportedHvacModes;
38695
+ if (data.supportedFanModes !== void 0)
38696
+ this.supportedFanModes = data.supportedFanModes;
38697
+ if (data.setpoints !== void 0) this.setpoints = data.setpoints;
38698
+ if (data.minAutoDelta !== void 0) this.minAutoDelta = data.minAutoDelta;
38699
+ if (data.cycleRate !== void 0) this.cycleRate = data.cycleRate;
38700
+ if (data.batteryLevel !== void 0) this.batteryLevel = data.batteryLevel;
38701
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38702
+ if (data.watts !== void 0) this.watts = data.watts;
38703
+ if (data.icon !== void 0) this.icon = data.icon;
38704
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
38705
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
38706
+ if (data.firmwareVersion !== void 0)
38707
+ this.firmwareVersion = data.firmwareVersion;
38590
38708
  }
38591
38709
  };
38592
38710
  Object.defineProperty(Thermostat.prototype, "schema", {
@@ -38751,27 +38869,28 @@ var Ticket = class extends Entity {
38751
38869
  */
38752
38870
  constructor(data) {
38753
38871
  super(data);
38754
- this.id = data.id;
38755
- this.type = data.type;
38756
- this.number = data.number;
38757
- this.issueId = data.issueId;
38758
- this.conversation = data.conversation;
38759
- this.openedBy = data.openedBy;
38760
- this.requester = data.requester;
38761
- this.assignedTo = data.assignedTo;
38762
- this.status = data.status;
38763
- this.priority = data.priority;
38764
- this.tags = data.tags;
38765
- this.department = data.department;
38766
- this.rating = data.rating;
38767
- this.ratingComment = data.ratingComment;
38768
- this.tipAmount = data.tipAmount;
38769
- this.autoCloseAt = data.autoCloseAt;
38770
- this.scheduleDate = data.scheduleDate;
38771
- this.createdAt = data.createdAt;
38772
- this.updatedAt = data.updatedAt;
38773
- this.solvedAt = data.solvedAt;
38774
- this.closedAt = data.closedAt;
38872
+ if (data.id !== void 0) this.id = data.id;
38873
+ if (data.type !== void 0) this.type = data.type;
38874
+ if (data.number !== void 0) this.number = data.number;
38875
+ if (data.issueId !== void 0) this.issueId = data.issueId;
38876
+ if (data.conversation !== void 0) this.conversation = data.conversation;
38877
+ if (data.openedBy !== void 0) this.openedBy = data.openedBy;
38878
+ if (data.requester !== void 0) this.requester = data.requester;
38879
+ if (data.assignedTo !== void 0) this.assignedTo = data.assignedTo;
38880
+ if (data.status !== void 0) this.status = data.status;
38881
+ if (data.priority !== void 0) this.priority = data.priority;
38882
+ if (data.tags !== void 0) this.tags = data.tags;
38883
+ if (data.department !== void 0) this.department = data.department;
38884
+ if (data.rating !== void 0) this.rating = data.rating;
38885
+ if (data.ratingComment !== void 0)
38886
+ this.ratingComment = data.ratingComment;
38887
+ if (data.tipAmount !== void 0) this.tipAmount = data.tipAmount;
38888
+ if (data.autoCloseAt !== void 0) this.autoCloseAt = data.autoCloseAt;
38889
+ if (data.scheduleDate !== void 0) this.scheduleDate = data.scheduleDate;
38890
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
38891
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
38892
+ if (data.solvedAt !== void 0) this.solvedAt = data.solvedAt;
38893
+ if (data.closedAt !== void 0) this.closedAt = data.closedAt;
38775
38894
  }
38776
38895
  };
38777
38896
  Object.defineProperty(Ticket.prototype, "schema", {
@@ -38930,12 +39049,12 @@ var TimeSheet = class extends Entity {
38930
39049
  */
38931
39050
  constructor(data) {
38932
39051
  super(data);
38933
- this.id = data.id;
38934
- this.type = data.type;
38935
- this.userId = data.userId;
38936
- this.day = data.day;
38937
- this.locked = data.locked;
38938
- this.timeEntries = data.timeEntries;
39052
+ if (data.id !== void 0) this.id = data.id;
39053
+ if (data.type !== void 0) this.type = data.type;
39054
+ if (data.userId !== void 0) this.userId = data.userId;
39055
+ if (data.day !== void 0) this.day = data.day;
39056
+ if (data.locked !== void 0) this.locked = data.locked;
39057
+ if (data.timeEntries !== void 0) this.timeEntries = data.timeEntries;
38939
39058
  }
38940
39059
  };
38941
39060
  Object.defineProperty(TimeSheet.prototype, "schema", {
@@ -39029,33 +39148,36 @@ var User = class extends Entity {
39029
39148
  */
39030
39149
  constructor(data) {
39031
39150
  super(data);
39032
- this.id = data.id;
39033
- this.type = data.type;
39034
- this.firstName = data.firstName;
39035
- this.lastName = data.lastName;
39036
- this.phone = data.phone;
39037
- this.phoneVerified = data.phoneVerified;
39038
- this.email = data.email;
39039
- this.emailVerified = data.emailVerified;
39040
- this.address = data.address;
39041
- this.secretKey = data.secretKey;
39042
- this.photo = data.photo;
39043
- this.jobTitle = data.jobTitle;
39044
- this.dob = data.dob;
39045
- this.gender = data.gender;
39046
- this.nationality = data.nationality;
39047
- this.permissions = data.permissions;
39048
- this.notes = data.notes;
39049
- this.files = data.files;
39050
- this.identifications = data.identifications;
39051
- this.payments = data.payments;
39052
- this.location = data.location;
39053
- this.reservations = data.reservations;
39054
- this.spaceName = data.spaceName;
39055
- this.revenue = data.revenue;
39056
- this.createdAt = data.createdAt;
39057
- this.updatedAt = data.updatedAt;
39058
- this.systems = data.systems;
39151
+ if (data.id !== void 0) this.id = data.id;
39152
+ if (data.type !== void 0) this.type = data.type;
39153
+ if (data.firstName !== void 0) this.firstName = data.firstName;
39154
+ if (data.lastName !== void 0) this.lastName = data.lastName;
39155
+ if (data.phone !== void 0) this.phone = data.phone;
39156
+ if (data.phoneVerified !== void 0)
39157
+ this.phoneVerified = data.phoneVerified;
39158
+ if (data.email !== void 0) this.email = data.email;
39159
+ if (data.emailVerified !== void 0)
39160
+ this.emailVerified = data.emailVerified;
39161
+ if (data.address !== void 0) this.address = data.address;
39162
+ if (data.secretKey !== void 0) this.secretKey = data.secretKey;
39163
+ if (data.photo !== void 0) this.photo = data.photo;
39164
+ if (data.jobTitle !== void 0) this.jobTitle = data.jobTitle;
39165
+ if (data.dob !== void 0) this.dob = data.dob;
39166
+ if (data.gender !== void 0) this.gender = data.gender;
39167
+ if (data.nationality !== void 0) this.nationality = data.nationality;
39168
+ if (data.permissions !== void 0) this.permissions = data.permissions;
39169
+ if (data.notes !== void 0) this.notes = data.notes;
39170
+ if (data.files !== void 0) this.files = data.files;
39171
+ if (data.identifications !== void 0)
39172
+ this.identifications = data.identifications;
39173
+ if (data.payments !== void 0) this.payments = data.payments;
39174
+ if (data.location !== void 0) this.location = data.location;
39175
+ if (data.reservations !== void 0) this.reservations = data.reservations;
39176
+ if (data.spaceName !== void 0) this.spaceName = data.spaceName;
39177
+ if (data.revenue !== void 0) this.revenue = data.revenue;
39178
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
39179
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
39180
+ if (data.systems !== void 0) this.systems = data.systems;
39059
39181
  }
39060
39182
  get fullName() {
39061
39183
  return `${this.firstName} ${this.lastName}`;
@@ -39222,15 +39344,15 @@ var Vendor = class extends Entity {
39222
39344
  */
39223
39345
  constructor(data) {
39224
39346
  super(data);
39225
- this.id = data.id;
39226
- this.type = data.type;
39227
- this.name = data.name;
39228
- this.phone = data.phone;
39229
- this.email = data.email;
39230
- this.address = data.address;
39231
- this.photo = data.photo;
39232
- this.createdAt = data.createdAt;
39233
- this.updatedAt = data.updatedAt;
39347
+ if (data.id !== void 0) this.id = data.id;
39348
+ if (data.type !== void 0) this.type = data.type;
39349
+ if (data.name !== void 0) this.name = data.name;
39350
+ if (data.phone !== void 0) this.phone = data.phone;
39351
+ if (data.email !== void 0) this.email = data.email;
39352
+ if (data.address !== void 0) this.address = data.address;
39353
+ if (data.photo !== void 0) this.photo = data.photo;
39354
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
39355
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
39234
39356
  }
39235
39357
  };
39236
39358
  Object.defineProperty(Vendor.prototype, "schema", {
@@ -39288,21 +39410,24 @@ var WindowCovering = class extends Entity {
39288
39410
  */
39289
39411
  constructor(data) {
39290
39412
  super(data);
39291
- this.id = data.id;
39292
- this.name = data.name;
39293
- this.type = data.type;
39294
- this.discriminator = data.discriminator;
39295
- this.supportedNotifications = data.supportedNotifications;
39296
- this.notification = data.notification;
39297
- this.driver = data.driver;
39298
- this.offline = data.offline;
39299
- this.position = data.position;
39300
- this.systemId = data.systemId;
39301
- this.watts = data.watts;
39302
- this.icon = data.icon;
39303
- this.modelNumber = data.modelNumber;
39304
- this.serialNumber = data.serialNumber;
39305
- this.firmwareVersion = data.firmwareVersion;
39413
+ if (data.id !== void 0) this.id = data.id;
39414
+ if (data.name !== void 0) this.name = data.name;
39415
+ if (data.type !== void 0) this.type = data.type;
39416
+ if (data.discriminator !== void 0)
39417
+ this.discriminator = data.discriminator;
39418
+ if (data.supportedNotifications !== void 0)
39419
+ this.supportedNotifications = data.supportedNotifications;
39420
+ if (data.notification !== void 0) this.notification = data.notification;
39421
+ if (data.driver !== void 0) this.driver = data.driver;
39422
+ if (data.offline !== void 0) this.offline = data.offline;
39423
+ if (data.position !== void 0) this.position = data.position;
39424
+ if (data.systemId !== void 0) this.systemId = data.systemId;
39425
+ if (data.watts !== void 0) this.watts = data.watts;
39426
+ if (data.icon !== void 0) this.icon = data.icon;
39427
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
39428
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
39429
+ if (data.firmwareVersion !== void 0)
39430
+ this.firmwareVersion = data.firmwareVersion;
39306
39431
  }
39307
39432
  };
39308
39433
  Object.defineProperty(WindowCovering.prototype, "schema", {