@kohost/api-client 4.0.8 → 4.0.10

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-KNSZIQXT.js +1 -1
  5. package/dist/chunk-ONCGVMOA.js +1 -0
  6. package/dist/{chunk-3ZUKHDXQ.js.map → chunk-ONCGVMOA.js.map} +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.js CHANGED
@@ -6816,8 +6816,7 @@ function validate26(data, { instancePath = "", parentData, parentDataProperty, r
6816
6816
  }
6817
6817
  if (data.devices !== void 0) {
6818
6818
  let data4 = data.devices;
6819
- if (data4 && typeof data4 == "object" && !Array.isArray(data4)) {
6820
- } else {
6819
+ if (!(data4 && typeof data4 == "object" && !Array.isArray(data4))) {
6821
6820
  const err9 = {
6822
6821
  instancePath: instancePath + "/devices",
6823
6822
  schemaPath: "#/properties/devices/type",
@@ -16838,8 +16837,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16838
16837
  }
16839
16838
  if (data.credentials !== void 0) {
16840
16839
  let data31 = data.credentials;
16841
- if (data31 && typeof data31 == "object" && !Array.isArray(data31)) {
16842
- } else {
16840
+ if (!(data31 && typeof data31 == "object" && !Array.isArray(data31))) {
16843
16841
  const err39 = {
16844
16842
  instancePath: instancePath + "/credentials",
16845
16843
  schemaPath: "#/properties/credentials/type",
@@ -18125,6 +18123,11 @@ var schema160 = {
18125
18123
  enum: ["climate", "lights", "shades", "tv", "doors"]
18126
18124
  }
18127
18125
  },
18126
+ excludedDeviceIds: {
18127
+ type: "array",
18128
+ items: { type: "string" },
18129
+ default: []
18130
+ },
18128
18131
  commonAreas: {
18129
18132
  type: "object",
18130
18133
  properties: {
@@ -19085,8 +19088,11 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19085
19088
  if (data28.RoomControl !== void 0) {
19086
19089
  let data29 = data28.RoomControl;
19087
19090
  if (data29 && typeof data29 == "object" && !Array.isArray(data29)) {
19091
+ if (data29.excludedDeviceIds === void 0) {
19092
+ data29.excludedDeviceIds = [];
19093
+ }
19088
19094
  for (const key1 in data29) {
19089
- if (!(key1 === "disabledSystems" || key1 === "commonAreas" || key1 === "alarmConfig")) {
19095
+ if (!(key1 === "disabledSystems" || key1 === "excludedDeviceIds" || key1 === "commonAreas" || key1 === "alarmConfig")) {
19090
19096
  const err42 = {
19091
19097
  instancePath: instancePath + "/appFeatures/RoomControl",
19092
19098
  schemaPath: "#/properties/appFeatures/properties/RoomControl/additionalProperties",
@@ -19157,32 +19163,67 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19157
19163
  errors++;
19158
19164
  }
19159
19165
  }
19166
+ let data32 = data29.excludedDeviceIds;
19167
+ if (Array.isArray(data32)) {
19168
+ const len4 = data32.length;
19169
+ for (let i4 = 0; i4 < len4; i4++) {
19170
+ if (typeof data32[i4] !== "string") {
19171
+ const err46 = {
19172
+ instancePath: instancePath + "/appFeatures/RoomControl/excludedDeviceIds/" + i4,
19173
+ schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/excludedDeviceIds/items/type",
19174
+ keyword: "type",
19175
+ params: { type: "string" },
19176
+ message: "must be string"
19177
+ };
19178
+ if (vErrors === null) {
19179
+ vErrors = [err46];
19180
+ } else {
19181
+ vErrors.push(err46);
19182
+ }
19183
+ errors++;
19184
+ }
19185
+ }
19186
+ } else {
19187
+ const err47 = {
19188
+ instancePath: instancePath + "/appFeatures/RoomControl/excludedDeviceIds",
19189
+ schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/excludedDeviceIds/type",
19190
+ keyword: "type",
19191
+ params: { type: "array" },
19192
+ message: "must be array"
19193
+ };
19194
+ if (vErrors === null) {
19195
+ vErrors = [err47];
19196
+ } else {
19197
+ vErrors.push(err47);
19198
+ }
19199
+ errors++;
19200
+ }
19160
19201
  if (data29.commonAreas !== void 0) {
19161
- let data32 = data29.commonAreas;
19162
- if (data32 && typeof data32 == "object" && !Array.isArray(data32)) {
19163
- if (data32.spaces !== void 0) {
19164
- let data33 = data32.spaces;
19165
- if (Array.isArray(data33)) {
19166
- const len4 = data33.length;
19167
- for (let i4 = 0; i4 < len4; i4++) {
19168
- if (typeof data33[i4] !== "string") {
19169
- const err46 = {
19170
- instancePath: instancePath + "/appFeatures/RoomControl/commonAreas/spaces/" + i4,
19202
+ let data34 = data29.commonAreas;
19203
+ if (data34 && typeof data34 == "object" && !Array.isArray(data34)) {
19204
+ if (data34.spaces !== void 0) {
19205
+ let data35 = data34.spaces;
19206
+ if (Array.isArray(data35)) {
19207
+ const len5 = data35.length;
19208
+ for (let i5 = 0; i5 < len5; i5++) {
19209
+ if (typeof data35[i5] !== "string") {
19210
+ const err48 = {
19211
+ instancePath: instancePath + "/appFeatures/RoomControl/commonAreas/spaces/" + i5,
19171
19212
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/commonAreas/properties/spaces/items/type",
19172
19213
  keyword: "type",
19173
19214
  params: { type: "string" },
19174
19215
  message: "must be string"
19175
19216
  };
19176
19217
  if (vErrors === null) {
19177
- vErrors = [err46];
19218
+ vErrors = [err48];
19178
19219
  } else {
19179
- vErrors.push(err46);
19220
+ vErrors.push(err48);
19180
19221
  }
19181
19222
  errors++;
19182
19223
  }
19183
19224
  }
19184
19225
  } else {
19185
- const err47 = {
19226
+ const err49 = {
19186
19227
  instancePath: instancePath + "/appFeatures/RoomControl/commonAreas/spaces",
19187
19228
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/commonAreas/properties/spaces/type",
19188
19229
  keyword: "type",
@@ -19190,15 +19231,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19190
19231
  message: "must be array"
19191
19232
  };
19192
19233
  if (vErrors === null) {
19193
- vErrors = [err47];
19234
+ vErrors = [err49];
19194
19235
  } else {
19195
- vErrors.push(err47);
19236
+ vErrors.push(err49);
19196
19237
  }
19197
19238
  errors++;
19198
19239
  }
19199
19240
  }
19200
19241
  } else {
19201
- const err48 = {
19242
+ const err50 = {
19202
19243
  instancePath: instancePath + "/appFeatures/RoomControl/commonAreas",
19203
19244
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/commonAreas/type",
19204
19245
  keyword: "type",
@@ -19206,26 +19247,26 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19206
19247
  message: "must be object"
19207
19248
  };
19208
19249
  if (vErrors === null) {
19209
- vErrors = [err48];
19250
+ vErrors = [err50];
19210
19251
  } else {
19211
- vErrors.push(err48);
19252
+ vErrors.push(err50);
19212
19253
  }
19213
19254
  errors++;
19214
19255
  }
19215
19256
  }
19216
19257
  if (data29.alarmConfig !== void 0) {
19217
- let data35 = data29.alarmConfig;
19218
- if (data35 && typeof data35 == "object" && !Array.isArray(data35)) {
19219
- for (const key2 in data35) {
19258
+ let data37 = data29.alarmConfig;
19259
+ if (data37 && typeof data37 == "object" && !Array.isArray(data37)) {
19260
+ for (const key2 in data37) {
19220
19261
  if (pattern5.test(key2)) {
19221
- let data36 = data35[key2];
19222
- if (data36 && typeof data36 == "object" && !Array.isArray(data36)) {
19223
- if (data36.zoneLockMap !== void 0) {
19224
- let data37 = data36.zoneLockMap;
19225
- if (data37 && typeof data37 == "object" && !Array.isArray(data37)) {
19226
- for (const key3 in data37) {
19227
- if (typeof data37[key3] !== "string") {
19228
- const err49 = {
19262
+ let data38 = data37[key2];
19263
+ if (data38 && typeof data38 == "object" && !Array.isArray(data38)) {
19264
+ if (data38.zoneLockMap !== void 0) {
19265
+ let data39 = data38.zoneLockMap;
19266
+ if (data39 && typeof data39 == "object" && !Array.isArray(data39)) {
19267
+ for (const key3 in data39) {
19268
+ if (typeof data39[key3] !== "string") {
19269
+ const err51 = {
19229
19270
  instancePath: instancePath + "/appFeatures/RoomControl/alarmConfig/" + key2.replace(/~/g, "~0").replace(/\//g, "~1") + "/zoneLockMap/" + key3.replace(/~/g, "~0").replace(/\//g, "~1"),
19230
19271
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/alarmConfig/patternProperties/%5E%5Ba-zA-Z0-9%5D%2B%24/properties/zoneLockMap/additionalProperties/type",
19231
19272
  keyword: "type",
@@ -19233,15 +19274,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19233
19274
  message: "must be string"
19234
19275
  };
19235
19276
  if (vErrors === null) {
19236
- vErrors = [err49];
19277
+ vErrors = [err51];
19237
19278
  } else {
19238
- vErrors.push(err49);
19279
+ vErrors.push(err51);
19239
19280
  }
19240
19281
  errors++;
19241
19282
  }
19242
19283
  }
19243
19284
  } else {
19244
- const err50 = {
19285
+ const err52 = {
19245
19286
  instancePath: instancePath + "/appFeatures/RoomControl/alarmConfig/" + key2.replace(/~/g, "~0").replace(/\//g, "~1") + "/zoneLockMap",
19246
19287
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/alarmConfig/patternProperties/%5E%5Ba-zA-Z0-9%5D%2B%24/properties/zoneLockMap/type",
19247
19288
  keyword: "type",
@@ -19249,15 +19290,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19249
19290
  message: "must be object"
19250
19291
  };
19251
19292
  if (vErrors === null) {
19252
- vErrors = [err50];
19293
+ vErrors = [err52];
19253
19294
  } else {
19254
- vErrors.push(err50);
19295
+ vErrors.push(err52);
19255
19296
  }
19256
19297
  errors++;
19257
19298
  }
19258
19299
  }
19259
19300
  } else {
19260
- const err51 = {
19301
+ const err53 = {
19261
19302
  instancePath: instancePath + "/appFeatures/RoomControl/alarmConfig/" + key2.replace(/~/g, "~0").replace(/\//g, "~1"),
19262
19303
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/alarmConfig/patternProperties/%5E%5Ba-zA-Z0-9%5D%2B%24/type",
19263
19304
  keyword: "type",
@@ -19265,16 +19306,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19265
19306
  message: "must be object"
19266
19307
  };
19267
19308
  if (vErrors === null) {
19268
- vErrors = [err51];
19309
+ vErrors = [err53];
19269
19310
  } else {
19270
- vErrors.push(err51);
19311
+ vErrors.push(err53);
19271
19312
  }
19272
19313
  errors++;
19273
19314
  }
19274
19315
  }
19275
19316
  }
19276
19317
  } else {
19277
- const err52 = {
19318
+ const err54 = {
19278
19319
  instancePath: instancePath + "/appFeatures/RoomControl/alarmConfig",
19279
19320
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/alarmConfig/type",
19280
19321
  keyword: "type",
@@ -19282,15 +19323,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19282
19323
  message: "must be object"
19283
19324
  };
19284
19325
  if (vErrors === null) {
19285
- vErrors = [err52];
19326
+ vErrors = [err54];
19286
19327
  } else {
19287
- vErrors.push(err52);
19328
+ vErrors.push(err54);
19288
19329
  }
19289
19330
  errors++;
19290
19331
  }
19291
19332
  }
19292
19333
  } else {
19293
- const err53 = {
19334
+ const err55 = {
19294
19335
  instancePath: instancePath + "/appFeatures/RoomControl",
19295
19336
  schemaPath: "#/properties/appFeatures/properties/RoomControl/type",
19296
19337
  keyword: "type",
@@ -19298,33 +19339,33 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19298
19339
  message: "must be object"
19299
19340
  };
19300
19341
  if (vErrors === null) {
19301
- vErrors = [err53];
19342
+ vErrors = [err55];
19302
19343
  } else {
19303
- vErrors.push(err53);
19344
+ vErrors.push(err55);
19304
19345
  }
19305
19346
  errors++;
19306
19347
  }
19307
19348
  }
19308
19349
  if (data28.CheckIn !== void 0) {
19309
- let data39 = data28.CheckIn;
19310
- if (data39 && typeof data39 == "object" && !Array.isArray(data39)) {
19311
- if (data39.earlyCheckIn !== void 0) {
19312
- let data40 = data39.earlyCheckIn;
19313
- if (data40 && typeof data40 == "object" && !Array.isArray(data40)) {
19314
- if (data40.dynamic === void 0) {
19315
- data40.dynamic = false;
19350
+ let data41 = data28.CheckIn;
19351
+ if (data41 && typeof data41 == "object" && !Array.isArray(data41)) {
19352
+ if (data41.earlyCheckIn !== void 0) {
19353
+ let data42 = data41.earlyCheckIn;
19354
+ if (data42 && typeof data42 == "object" && !Array.isArray(data42)) {
19355
+ if (data42.dynamic === void 0) {
19356
+ data42.dynamic = false;
19316
19357
  }
19317
- if (data40.minimumPrice === void 0) {
19318
- data40.minimumPrice = 10;
19358
+ if (data42.minimumPrice === void 0) {
19359
+ data42.minimumPrice = 10;
19319
19360
  }
19320
- if (data40.maximumPrice === void 0) {
19321
- data40.maximumPrice = 50;
19361
+ if (data42.maximumPrice === void 0) {
19362
+ data42.maximumPrice = 50;
19322
19363
  }
19323
- if (data40.priceRatioPerHour === void 0) {
19324
- data40.priceRatioPerHour = 0.1;
19364
+ if (data42.priceRatioPerHour === void 0) {
19365
+ data42.priceRatioPerHour = 0.1;
19325
19366
  }
19326
- if (data40.dynamic === void 0) {
19327
- const err54 = {
19367
+ if (data42.dynamic === void 0) {
19368
+ const err56 = {
19328
19369
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn",
19329
19370
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/required",
19330
19371
  keyword: "required",
@@ -19332,14 +19373,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19332
19373
  message: "must have required property 'dynamic'"
19333
19374
  };
19334
19375
  if (vErrors === null) {
19335
- vErrors = [err54];
19376
+ vErrors = [err56];
19336
19377
  } else {
19337
- vErrors.push(err54);
19378
+ vErrors.push(err56);
19338
19379
  }
19339
19380
  errors++;
19340
19381
  }
19341
- if (typeof data40.dynamic !== "boolean") {
19342
- const err55 = {
19382
+ if (typeof data42.dynamic !== "boolean") {
19383
+ const err57 = {
19343
19384
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/dynamic",
19344
19385
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/dynamic/type",
19345
19386
  keyword: "type",
@@ -19347,14 +19388,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19347
19388
  message: "must be boolean"
19348
19389
  };
19349
19390
  if (vErrors === null) {
19350
- vErrors = [err55];
19391
+ vErrors = [err57];
19351
19392
  } else {
19352
- vErrors.push(err55);
19393
+ vErrors.push(err57);
19353
19394
  }
19354
19395
  errors++;
19355
19396
  }
19356
- if (!(typeof data40.minimumPrice == "number")) {
19357
- const err56 = {
19397
+ if (!(typeof data42.minimumPrice == "number")) {
19398
+ const err58 = {
19358
19399
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/minimumPrice",
19359
19400
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/minimumPrice/type",
19360
19401
  keyword: "type",
@@ -19362,14 +19403,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19362
19403
  message: "must be number"
19363
19404
  };
19364
19405
  if (vErrors === null) {
19365
- vErrors = [err56];
19406
+ vErrors = [err58];
19366
19407
  } else {
19367
- vErrors.push(err56);
19408
+ vErrors.push(err58);
19368
19409
  }
19369
19410
  errors++;
19370
19411
  }
19371
- if (!(typeof data40.maximumPrice == "number")) {
19372
- const err57 = {
19412
+ if (!(typeof data42.maximumPrice == "number")) {
19413
+ const err59 = {
19373
19414
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/maximumPrice",
19374
19415
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/maximumPrice/type",
19375
19416
  keyword: "type",
@@ -19377,14 +19418,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19377
19418
  message: "must be number"
19378
19419
  };
19379
19420
  if (vErrors === null) {
19380
- vErrors = [err57];
19421
+ vErrors = [err59];
19381
19422
  } else {
19382
- vErrors.push(err57);
19423
+ vErrors.push(err59);
19383
19424
  }
19384
19425
  errors++;
19385
19426
  }
19386
- if (!(typeof data40.priceRatioPerHour == "number")) {
19387
- const err58 = {
19427
+ if (!(typeof data42.priceRatioPerHour == "number")) {
19428
+ const err60 = {
19388
19429
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/priceRatioPerHour",
19389
19430
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/priceRatioPerHour/type",
19390
19431
  keyword: "type",
@@ -19392,15 +19433,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19392
19433
  message: "must be number"
19393
19434
  };
19394
19435
  if (vErrors === null) {
19395
- vErrors = [err58];
19436
+ vErrors = [err60];
19396
19437
  } else {
19397
- vErrors.push(err58);
19438
+ vErrors.push(err60);
19398
19439
  }
19399
19440
  errors++;
19400
19441
  }
19401
- if (data40.minimumTime !== void 0) {
19402
- if (typeof data40.minimumTime !== "string") {
19403
- const err59 = {
19442
+ if (data42.minimumTime !== void 0) {
19443
+ if (typeof data42.minimumTime !== "string") {
19444
+ const err61 = {
19404
19445
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn/minimumTime",
19405
19446
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/properties/minimumTime/type",
19406
19447
  keyword: "type",
@@ -19408,15 +19449,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19408
19449
  message: "must be string"
19409
19450
  };
19410
19451
  if (vErrors === null) {
19411
- vErrors = [err59];
19452
+ vErrors = [err61];
19412
19453
  } else {
19413
- vErrors.push(err59);
19454
+ vErrors.push(err61);
19414
19455
  }
19415
19456
  errors++;
19416
19457
  }
19417
19458
  }
19418
19459
  } else {
19419
- const err60 = {
19460
+ const err62 = {
19420
19461
  instancePath: instancePath + "/appFeatures/CheckIn/earlyCheckIn",
19421
19462
  schemaPath: "#/properties/appFeatures/properties/CheckIn/properties/earlyCheckIn/type",
19422
19463
  keyword: "type",
@@ -19424,9 +19465,9 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19424
19465
  message: "must be object"
19425
19466
  };
19426
19467
  if (vErrors === null) {
19427
- vErrors = [err60];
19468
+ vErrors = [err62];
19428
19469
  } else {
19429
- vErrors.push(err60);
19470
+ vErrors.push(err62);
19430
19471
  }
19431
19472
  errors++;
19432
19473
  }
@@ -19434,25 +19475,25 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19434
19475
  }
19435
19476
  }
19436
19477
  if (data28.CheckOut !== void 0) {
19437
- let data46 = data28.CheckOut;
19438
- if (data46 && typeof data46 == "object" && !Array.isArray(data46)) {
19439
- if (data46.lateCheckOut !== void 0) {
19440
- let data47 = data46.lateCheckOut;
19441
- if (data47 && typeof data47 == "object" && !Array.isArray(data47)) {
19442
- if (data47.dynamic === void 0) {
19443
- data47.dynamic = false;
19478
+ let data48 = data28.CheckOut;
19479
+ if (data48 && typeof data48 == "object" && !Array.isArray(data48)) {
19480
+ if (data48.lateCheckOut !== void 0) {
19481
+ let data49 = data48.lateCheckOut;
19482
+ if (data49 && typeof data49 == "object" && !Array.isArray(data49)) {
19483
+ if (data49.dynamic === void 0) {
19484
+ data49.dynamic = false;
19444
19485
  }
19445
- if (data47.minimumPrice === void 0) {
19446
- data47.minimumPrice = 10;
19486
+ if (data49.minimumPrice === void 0) {
19487
+ data49.minimumPrice = 10;
19447
19488
  }
19448
- if (data47.maximumPrice === void 0) {
19449
- data47.maximumPrice = 50;
19489
+ if (data49.maximumPrice === void 0) {
19490
+ data49.maximumPrice = 50;
19450
19491
  }
19451
- if (data47.priceRatioPerHour === void 0) {
19452
- data47.priceRatioPerHour = 0.1;
19492
+ if (data49.priceRatioPerHour === void 0) {
19493
+ data49.priceRatioPerHour = 0.1;
19453
19494
  }
19454
- if (data47.dynamic === void 0) {
19455
- const err61 = {
19495
+ if (data49.dynamic === void 0) {
19496
+ const err63 = {
19456
19497
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut",
19457
19498
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/required",
19458
19499
  keyword: "required",
@@ -19460,14 +19501,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19460
19501
  message: "must have required property 'dynamic'"
19461
19502
  };
19462
19503
  if (vErrors === null) {
19463
- vErrors = [err61];
19504
+ vErrors = [err63];
19464
19505
  } else {
19465
- vErrors.push(err61);
19506
+ vErrors.push(err63);
19466
19507
  }
19467
19508
  errors++;
19468
19509
  }
19469
- if (typeof data47.dynamic !== "boolean") {
19470
- const err62 = {
19510
+ if (typeof data49.dynamic !== "boolean") {
19511
+ const err64 = {
19471
19512
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut/dynamic",
19472
19513
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/properties/dynamic/type",
19473
19514
  keyword: "type",
@@ -19475,14 +19516,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19475
19516
  message: "must be boolean"
19476
19517
  };
19477
19518
  if (vErrors === null) {
19478
- vErrors = [err62];
19519
+ vErrors = [err64];
19479
19520
  } else {
19480
- vErrors.push(err62);
19521
+ vErrors.push(err64);
19481
19522
  }
19482
19523
  errors++;
19483
19524
  }
19484
- if (!(typeof data47.minimumPrice == "number")) {
19485
- const err63 = {
19525
+ if (!(typeof data49.minimumPrice == "number")) {
19526
+ const err65 = {
19486
19527
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut/minimumPrice",
19487
19528
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/properties/minimumPrice/type",
19488
19529
  keyword: "type",
@@ -19490,14 +19531,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19490
19531
  message: "must be number"
19491
19532
  };
19492
19533
  if (vErrors === null) {
19493
- vErrors = [err63];
19534
+ vErrors = [err65];
19494
19535
  } else {
19495
- vErrors.push(err63);
19536
+ vErrors.push(err65);
19496
19537
  }
19497
19538
  errors++;
19498
19539
  }
19499
- if (!(typeof data47.maximumPrice == "number")) {
19500
- const err64 = {
19540
+ if (!(typeof data49.maximumPrice == "number")) {
19541
+ const err66 = {
19501
19542
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut/maximumPrice",
19502
19543
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/properties/maximumPrice/type",
19503
19544
  keyword: "type",
@@ -19505,14 +19546,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19505
19546
  message: "must be number"
19506
19547
  };
19507
19548
  if (vErrors === null) {
19508
- vErrors = [err64];
19549
+ vErrors = [err66];
19509
19550
  } else {
19510
- vErrors.push(err64);
19551
+ vErrors.push(err66);
19511
19552
  }
19512
19553
  errors++;
19513
19554
  }
19514
- if (!(typeof data47.priceRatioPerHour == "number")) {
19515
- const err65 = {
19555
+ if (!(typeof data49.priceRatioPerHour == "number")) {
19556
+ const err67 = {
19516
19557
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut/priceRatioPerHour",
19517
19558
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/properties/priceRatioPerHour/type",
19518
19559
  keyword: "type",
@@ -19520,14 +19561,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19520
19561
  message: "must be number"
19521
19562
  };
19522
19563
  if (vErrors === null) {
19523
- vErrors = [err65];
19564
+ vErrors = [err67];
19524
19565
  } else {
19525
- vErrors.push(err65);
19566
+ vErrors.push(err67);
19526
19567
  }
19527
19568
  errors++;
19528
19569
  }
19529
19570
  } else {
19530
- const err66 = {
19571
+ const err68 = {
19531
19572
  instancePath: instancePath + "/appFeatures/CheckOut/lateCheckOut",
19532
19573
  schemaPath: "#/properties/appFeatures/properties/CheckOut/properties/lateCheckOut/type",
19533
19574
  keyword: "type",
@@ -19535,9 +19576,9 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19535
19576
  message: "must be object"
19536
19577
  };
19537
19578
  if (vErrors === null) {
19538
- vErrors = [err66];
19579
+ vErrors = [err68];
19539
19580
  } else {
19540
- vErrors.push(err66);
19581
+ vErrors.push(err68);
19541
19582
  }
19542
19583
  errors++;
19543
19584
  }
@@ -19545,25 +19586,25 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19545
19586
  }
19546
19587
  }
19547
19588
  if (data28.Concierge !== void 0) {
19548
- let data52 = data28.Concierge;
19549
- if (data52 && typeof data52 == "object" && !Array.isArray(data52)) {
19550
- if (data52.timeTracking === void 0) {
19551
- data52.timeTracking = false;
19589
+ let data54 = data28.Concierge;
19590
+ if (data54 && typeof data54 == "object" && !Array.isArray(data54)) {
19591
+ if (data54.timeTracking === void 0) {
19592
+ data54.timeTracking = false;
19552
19593
  }
19553
- if (data52.tipping === void 0) {
19554
- data52.tipping = false;
19594
+ if (data54.tipping === void 0) {
19595
+ data54.tipping = false;
19555
19596
  }
19556
- if (data52.ratings === void 0) {
19557
- data52.ratings = true;
19597
+ if (data54.ratings === void 0) {
19598
+ data54.ratings = true;
19558
19599
  }
19559
- if (data52.newTicketCCs === void 0) {
19560
- data52.newTicketCCs = [];
19600
+ if (data54.newTicketCCs === void 0) {
19601
+ data54.newTicketCCs = [];
19561
19602
  }
19562
- if (data52.newMessageChannel === void 0) {
19563
- data52.newMessageChannel = "sms";
19603
+ if (data54.newMessageChannel === void 0) {
19604
+ data54.newMessageChannel = "sms";
19564
19605
  }
19565
- if (typeof data52.timeTracking !== "boolean") {
19566
- const err67 = {
19606
+ if (typeof data54.timeTracking !== "boolean") {
19607
+ const err69 = {
19567
19608
  instancePath: instancePath + "/appFeatures/Concierge/timeTracking",
19568
19609
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/timeTracking/type",
19569
19610
  keyword: "type",
@@ -19571,14 +19612,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19571
19612
  message: "must be boolean"
19572
19613
  };
19573
19614
  if (vErrors === null) {
19574
- vErrors = [err67];
19615
+ vErrors = [err69];
19575
19616
  } else {
19576
- vErrors.push(err67);
19617
+ vErrors.push(err69);
19577
19618
  }
19578
19619
  errors++;
19579
19620
  }
19580
- if (typeof data52.tipping !== "boolean") {
19581
- const err68 = {
19621
+ if (typeof data54.tipping !== "boolean") {
19622
+ const err70 = {
19582
19623
  instancePath: instancePath + "/appFeatures/Concierge/tipping",
19583
19624
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/tipping/type",
19584
19625
  keyword: "type",
@@ -19586,14 +19627,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19586
19627
  message: "must be boolean"
19587
19628
  };
19588
19629
  if (vErrors === null) {
19589
- vErrors = [err68];
19630
+ vErrors = [err70];
19590
19631
  } else {
19591
- vErrors.push(err68);
19632
+ vErrors.push(err70);
19592
19633
  }
19593
19634
  errors++;
19594
19635
  }
19595
- if (typeof data52.ratings !== "boolean") {
19596
- const err69 = {
19636
+ if (typeof data54.ratings !== "boolean") {
19637
+ const err71 = {
19597
19638
  instancePath: instancePath + "/appFeatures/Concierge/ratings",
19598
19639
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/ratings/type",
19599
19640
  keyword: "type",
@@ -19601,34 +19642,34 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19601
19642
  message: "must be boolean"
19602
19643
  };
19603
19644
  if (vErrors === null) {
19604
- vErrors = [err69];
19645
+ vErrors = [err71];
19605
19646
  } else {
19606
- vErrors.push(err69);
19647
+ vErrors.push(err71);
19607
19648
  }
19608
19649
  errors++;
19609
19650
  }
19610
- let data56 = data52.newTicketCCs;
19611
- if (Array.isArray(data56)) {
19612
- const len5 = data56.length;
19613
- for (let i5 = 0; i5 < len5; i5++) {
19614
- if (typeof data56[i5] !== "string") {
19615
- const err70 = {
19616
- instancePath: instancePath + "/appFeatures/Concierge/newTicketCCs/" + i5,
19651
+ let data58 = data54.newTicketCCs;
19652
+ if (Array.isArray(data58)) {
19653
+ const len6 = data58.length;
19654
+ for (let i6 = 0; i6 < len6; i6++) {
19655
+ if (typeof data58[i6] !== "string") {
19656
+ const err72 = {
19657
+ instancePath: instancePath + "/appFeatures/Concierge/newTicketCCs/" + i6,
19617
19658
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newTicketCCs/items/type",
19618
19659
  keyword: "type",
19619
19660
  params: { type: "string" },
19620
19661
  message: "must be string"
19621
19662
  };
19622
19663
  if (vErrors === null) {
19623
- vErrors = [err70];
19664
+ vErrors = [err72];
19624
19665
  } else {
19625
- vErrors.push(err70);
19666
+ vErrors.push(err72);
19626
19667
  }
19627
19668
  errors++;
19628
19669
  }
19629
19670
  }
19630
19671
  } else {
19631
- const err71 = {
19672
+ const err73 = {
19632
19673
  instancePath: instancePath + "/appFeatures/Concierge/newTicketCCs",
19633
19674
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newTicketCCs/type",
19634
19675
  keyword: "type",
@@ -19636,15 +19677,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19636
19677
  message: "must be array"
19637
19678
  };
19638
19679
  if (vErrors === null) {
19639
- vErrors = [err71];
19680
+ vErrors = [err73];
19640
19681
  } else {
19641
- vErrors.push(err71);
19682
+ vErrors.push(err73);
19642
19683
  }
19643
19684
  errors++;
19644
19685
  }
19645
- let data58 = data52.newMessageChannel;
19646
- if (typeof data58 !== "string" && data58 !== null) {
19647
- const err72 = {
19686
+ let data60 = data54.newMessageChannel;
19687
+ if (typeof data60 !== "string" && data60 !== null) {
19688
+ const err74 = {
19648
19689
  instancePath: instancePath + "/appFeatures/Concierge/newMessageChannel",
19649
19690
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/type",
19650
19691
  keyword: "type",
@@ -19654,14 +19695,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19654
19695
  message: "must be string,null"
19655
19696
  };
19656
19697
  if (vErrors === null) {
19657
- vErrors = [err72];
19698
+ vErrors = [err74];
19658
19699
  } else {
19659
- vErrors.push(err72);
19700
+ vErrors.push(err74);
19660
19701
  }
19661
19702
  errors++;
19662
19703
  }
19663
- if (!(data58 === "sms" || data58 === "email")) {
19664
- const err73 = {
19704
+ if (!(data60 === "sms" || data60 === "email")) {
19705
+ const err75 = {
19665
19706
  instancePath: instancePath + "/appFeatures/Concierge/newMessageChannel",
19666
19707
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/enum",
19667
19708
  keyword: "enum",
@@ -19671,119 +19712,119 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19671
19712
  message: "must be equal to one of the allowed values"
19672
19713
  };
19673
19714
  if (vErrors === null) {
19674
- vErrors = [err73];
19715
+ vErrors = [err75];
19675
19716
  } else {
19676
- vErrors.push(err73);
19717
+ vErrors.push(err75);
19677
19718
  }
19678
19719
  errors++;
19679
19720
  }
19680
- if (data52.quickServices !== void 0) {
19681
- let data59 = data52.quickServices;
19682
- if (Array.isArray(data59)) {
19683
- const len6 = data59.length;
19684
- for (let i6 = 0; i6 < len6; i6++) {
19685
- let data60 = data59[i6];
19686
- if (data60 && typeof data60 == "object" && !Array.isArray(data60)) {
19687
- if (data60.name === void 0) {
19688
- const err74 = {
19689
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6,
19721
+ if (data54.quickServices !== void 0) {
19722
+ let data61 = data54.quickServices;
19723
+ if (Array.isArray(data61)) {
19724
+ const len7 = data61.length;
19725
+ for (let i7 = 0; i7 < len7; i7++) {
19726
+ let data62 = data61[i7];
19727
+ if (data62 && typeof data62 == "object" && !Array.isArray(data62)) {
19728
+ if (data62.name === void 0) {
19729
+ const err76 = {
19730
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7,
19690
19731
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/required",
19691
19732
  keyword: "required",
19692
19733
  params: { missingProperty: "name" },
19693
19734
  message: "must have required property 'name'"
19694
19735
  };
19695
19736
  if (vErrors === null) {
19696
- vErrors = [err74];
19737
+ vErrors = [err76];
19697
19738
  } else {
19698
- vErrors.push(err74);
19739
+ vErrors.push(err76);
19699
19740
  }
19700
19741
  errors++;
19701
19742
  }
19702
- if (data60.description === void 0) {
19703
- const err75 = {
19704
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6,
19743
+ if (data62.description === void 0) {
19744
+ const err77 = {
19745
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7,
19705
19746
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/required",
19706
19747
  keyword: "required",
19707
19748
  params: { missingProperty: "description" },
19708
19749
  message: "must have required property 'description'"
19709
19750
  };
19710
19751
  if (vErrors === null) {
19711
- vErrors = [err75];
19752
+ vErrors = [err77];
19712
19753
  } else {
19713
- vErrors.push(err75);
19754
+ vErrors.push(err77);
19714
19755
  }
19715
19756
  errors++;
19716
19757
  }
19717
- if (data60.image === void 0) {
19718
- const err76 = {
19719
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6,
19758
+ if (data62.image === void 0) {
19759
+ const err78 = {
19760
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7,
19720
19761
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/required",
19721
19762
  keyword: "required",
19722
19763
  params: { missingProperty: "image" },
19723
19764
  message: "must have required property 'image'"
19724
19765
  };
19725
19766
  if (vErrors === null) {
19726
- vErrors = [err76];
19767
+ vErrors = [err78];
19727
19768
  } else {
19728
- vErrors.push(err76);
19769
+ vErrors.push(err78);
19729
19770
  }
19730
19771
  errors++;
19731
19772
  }
19732
- if (data60.name !== void 0) {
19733
- if (typeof data60.name !== "string") {
19734
- const err77 = {
19735
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6 + "/name",
19773
+ if (data62.name !== void 0) {
19774
+ if (typeof data62.name !== "string") {
19775
+ const err79 = {
19776
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7 + "/name",
19736
19777
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/properties/name/type",
19737
19778
  keyword: "type",
19738
19779
  params: { type: "string" },
19739
19780
  message: "must be string"
19740
19781
  };
19741
19782
  if (vErrors === null) {
19742
- vErrors = [err77];
19783
+ vErrors = [err79];
19743
19784
  } else {
19744
- vErrors.push(err77);
19785
+ vErrors.push(err79);
19745
19786
  }
19746
19787
  errors++;
19747
19788
  }
19748
19789
  }
19749
- if (data60.description !== void 0) {
19750
- if (typeof data60.description !== "string") {
19751
- const err78 = {
19752
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6 + "/description",
19790
+ if (data62.description !== void 0) {
19791
+ if (typeof data62.description !== "string") {
19792
+ const err80 = {
19793
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7 + "/description",
19753
19794
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/properties/description/type",
19754
19795
  keyword: "type",
19755
19796
  params: { type: "string" },
19756
19797
  message: "must be string"
19757
19798
  };
19758
19799
  if (vErrors === null) {
19759
- vErrors = [err78];
19800
+ vErrors = [err80];
19760
19801
  } else {
19761
- vErrors.push(err78);
19802
+ vErrors.push(err80);
19762
19803
  }
19763
19804
  errors++;
19764
19805
  }
19765
19806
  }
19766
- if (data60.department !== void 0) {
19767
- if (typeof data60.department !== "string") {
19768
- const err79 = {
19769
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6 + "/department",
19807
+ if (data62.department !== void 0) {
19808
+ if (typeof data62.department !== "string") {
19809
+ const err81 = {
19810
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7 + "/department",
19770
19811
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/properties/department/type",
19771
19812
  keyword: "type",
19772
19813
  params: { type: "string" },
19773
19814
  message: "must be string"
19774
19815
  };
19775
19816
  if (vErrors === null) {
19776
- vErrors = [err79];
19817
+ vErrors = [err81];
19777
19818
  } else {
19778
- vErrors.push(err79);
19819
+ vErrors.push(err81);
19779
19820
  }
19780
19821
  errors++;
19781
19822
  }
19782
19823
  }
19783
- if (data60.image !== void 0) {
19784
- if (!validate15(data60.image, {
19785
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6 + "/image",
19786
- parentData: data60,
19824
+ if (data62.image !== void 0) {
19825
+ if (!validate15(data62.image, {
19826
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7 + "/image",
19827
+ parentData: data62,
19787
19828
  parentDataProperty: "image",
19788
19829
  rootData
19789
19830
  })) {
@@ -19792,23 +19833,23 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19792
19833
  }
19793
19834
  }
19794
19835
  } else {
19795
- const err80 = {
19796
- instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i6,
19836
+ const err82 = {
19837
+ instancePath: instancePath + "/appFeatures/Concierge/quickServices/" + i7,
19797
19838
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/items/type",
19798
19839
  keyword: "type",
19799
19840
  params: { type: "object" },
19800
19841
  message: "must be object"
19801
19842
  };
19802
19843
  if (vErrors === null) {
19803
- vErrors = [err80];
19844
+ vErrors = [err82];
19804
19845
  } else {
19805
- vErrors.push(err80);
19846
+ vErrors.push(err82);
19806
19847
  }
19807
19848
  errors++;
19808
19849
  }
19809
19850
  }
19810
19851
  } else {
19811
- const err81 = {
19852
+ const err83 = {
19812
19853
  instancePath: instancePath + "/appFeatures/Concierge/quickServices",
19813
19854
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/quickServices/type",
19814
19855
  keyword: "type",
@@ -19816,19 +19857,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19816
19857
  message: "must be array"
19817
19858
  };
19818
19859
  if (vErrors === null) {
19819
- vErrors = [err81];
19860
+ vErrors = [err83];
19820
19861
  } else {
19821
- vErrors.push(err81);
19862
+ vErrors.push(err83);
19822
19863
  }
19823
19864
  errors++;
19824
19865
  }
19825
19866
  }
19826
- if (data52.issues !== void 0) {
19827
- let data65 = data52.issues;
19828
- if (data65 && typeof data65 == "object" && !Array.isArray(data65)) {
19829
- if (data65.syncWithPropertyId !== void 0) {
19830
- if (typeof data65.syncWithPropertyId !== "string") {
19831
- const err82 = {
19867
+ if (data54.issues !== void 0) {
19868
+ let data67 = data54.issues;
19869
+ if (data67 && typeof data67 == "object" && !Array.isArray(data67)) {
19870
+ if (data67.syncWithPropertyId !== void 0) {
19871
+ if (typeof data67.syncWithPropertyId !== "string") {
19872
+ const err84 = {
19832
19873
  instancePath: instancePath + "/appFeatures/Concierge/issues/syncWithPropertyId",
19833
19874
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/issues/properties/syncWithPropertyId/type",
19834
19875
  keyword: "type",
@@ -19836,15 +19877,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19836
19877
  message: "must be string"
19837
19878
  };
19838
19879
  if (vErrors === null) {
19839
- vErrors = [err82];
19880
+ vErrors = [err84];
19840
19881
  } else {
19841
- vErrors.push(err82);
19882
+ vErrors.push(err84);
19842
19883
  }
19843
19884
  errors++;
19844
19885
  }
19845
19886
  }
19846
19887
  } else {
19847
- const err83 = {
19888
+ const err85 = {
19848
19889
  instancePath: instancePath + "/appFeatures/Concierge/issues",
19849
19890
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/issues/type",
19850
19891
  keyword: "type",
@@ -19852,15 +19893,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19852
19893
  message: "must be object"
19853
19894
  };
19854
19895
  if (vErrors === null) {
19855
- vErrors = [err83];
19896
+ vErrors = [err85];
19856
19897
  } else {
19857
- vErrors.push(err83);
19898
+ vErrors.push(err85);
19858
19899
  }
19859
19900
  errors++;
19860
19901
  }
19861
19902
  }
19862
19903
  } else {
19863
- const err84 = {
19904
+ const err86 = {
19864
19905
  instancePath: instancePath + "/appFeatures/Concierge",
19865
19906
  schemaPath: "#/properties/appFeatures/properties/Concierge/type",
19866
19907
  keyword: "type",
@@ -19868,26 +19909,26 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19868
19909
  message: "must be object"
19869
19910
  };
19870
19911
  if (vErrors === null) {
19871
- vErrors = [err84];
19912
+ vErrors = [err86];
19872
19913
  } else {
19873
- vErrors.push(err84);
19914
+ vErrors.push(err86);
19874
19915
  }
19875
19916
  errors++;
19876
19917
  }
19877
19918
  }
19878
19919
  if (data28.DigitalKey !== void 0) {
19879
- let data67 = data28.DigitalKey;
19880
- if (data67 && typeof data67 == "object" && !Array.isArray(data67)) {
19881
- if (data67.systemOnline === void 0) {
19882
- data67.systemOnline = false;
19883
- }
19884
- if (data67.systemConfig === void 0) {
19885
- data67.systemConfig = {};
19886
- }
19887
- if (data67.system !== void 0) {
19888
- let data68 = data67.system;
19889
- if (typeof data68 !== "string") {
19890
- const err85 = {
19920
+ let data69 = data28.DigitalKey;
19921
+ if (data69 && typeof data69 == "object" && !Array.isArray(data69)) {
19922
+ if (data69.systemOnline === void 0) {
19923
+ data69.systemOnline = false;
19924
+ }
19925
+ if (data69.systemConfig === void 0) {
19926
+ data69.systemConfig = {};
19927
+ }
19928
+ if (data69.system !== void 0) {
19929
+ let data70 = data69.system;
19930
+ if (typeof data70 !== "string") {
19931
+ const err87 = {
19891
19932
  instancePath: instancePath + "/appFeatures/DigitalKey/system",
19892
19933
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/system/type",
19893
19934
  keyword: "type",
@@ -19895,14 +19936,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19895
19936
  message: "must be string"
19896
19937
  };
19897
19938
  if (vErrors === null) {
19898
- vErrors = [err85];
19939
+ vErrors = [err87];
19899
19940
  } else {
19900
- vErrors.push(err85);
19941
+ vErrors.push(err87);
19901
19942
  }
19902
19943
  errors++;
19903
19944
  }
19904
- if (!(data68 === "salto" || data68 === "dormakaba")) {
19905
- const err86 = {
19945
+ if (!(data70 === "salto" || data70 === "dormakaba")) {
19946
+ const err88 = {
19906
19947
  instancePath: instancePath + "/appFeatures/DigitalKey/system",
19907
19948
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/system/enum",
19908
19949
  keyword: "enum",
@@ -19912,15 +19953,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19912
19953
  message: "must be equal to one of the allowed values"
19913
19954
  };
19914
19955
  if (vErrors === null) {
19915
- vErrors = [err86];
19956
+ vErrors = [err88];
19916
19957
  } else {
19917
- vErrors.push(err86);
19958
+ vErrors.push(err88);
19918
19959
  }
19919
19960
  errors++;
19920
19961
  }
19921
19962
  }
19922
- if (typeof data67.systemOnline !== "boolean") {
19923
- const err87 = {
19963
+ if (typeof data69.systemOnline !== "boolean") {
19964
+ const err89 = {
19924
19965
  instancePath: instancePath + "/appFeatures/DigitalKey/systemOnline",
19925
19966
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemOnline/type",
19926
19967
  keyword: "type",
@@ -19928,17 +19969,17 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19928
19969
  message: "must be boolean"
19929
19970
  };
19930
19971
  if (vErrors === null) {
19931
- vErrors = [err87];
19972
+ vErrors = [err89];
19932
19973
  } else {
19933
- vErrors.push(err87);
19974
+ vErrors.push(err89);
19934
19975
  }
19935
19976
  errors++;
19936
19977
  }
19937
- let data70 = data67.systemConfig;
19938
- if (data70 && typeof data70 == "object" && !Array.isArray(data70)) {
19939
- for (const key4 in data70) {
19978
+ let data72 = data69.systemConfig;
19979
+ if (data72 && typeof data72 == "object" && !Array.isArray(data72)) {
19980
+ for (const key4 in data72) {
19940
19981
  if (!(key4 === "legicUrl" || key4 === "legicWalletName" || key4 === "legicAppId" || key4 === "legicTechUsername" || key4 === "legicTechPassword")) {
19941
- const err88 = {
19982
+ const err90 = {
19942
19983
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig",
19943
19984
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/additionalProperties",
19944
19985
  keyword: "additionalProperties",
@@ -19946,18 +19987,18 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19946
19987
  message: "must NOT have additional properties"
19947
19988
  };
19948
19989
  if (vErrors === null) {
19949
- vErrors = [err88];
19990
+ vErrors = [err90];
19950
19991
  } else {
19951
- vErrors.push(err88);
19992
+ vErrors.push(err90);
19952
19993
  }
19953
19994
  errors++;
19954
19995
  }
19955
19996
  }
19956
- if (data70.legicUrl !== void 0) {
19957
- let data71 = data70.legicUrl;
19958
- if (typeof data71 === "string") {
19959
- if (!formats0(data71)) {
19960
- const err89 = {
19997
+ if (data72.legicUrl !== void 0) {
19998
+ let data73 = data72.legicUrl;
19999
+ if (typeof data73 === "string") {
20000
+ if (!formats0(data73)) {
20001
+ const err91 = {
19961
20002
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicUrl",
19962
20003
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicUrl/format",
19963
20004
  keyword: "format",
@@ -19965,14 +20006,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19965
20006
  message: 'must match format "uri"'
19966
20007
  };
19967
20008
  if (vErrors === null) {
19968
- vErrors = [err89];
20009
+ vErrors = [err91];
19969
20010
  } else {
19970
- vErrors.push(err89);
20011
+ vErrors.push(err91);
19971
20012
  }
19972
20013
  errors++;
19973
20014
  }
19974
20015
  } else {
19975
- const err90 = {
20016
+ const err92 = {
19976
20017
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicUrl",
19977
20018
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicUrl/type",
19978
20019
  keyword: "type",
@@ -19980,16 +20021,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19980
20021
  message: "must be string"
19981
20022
  };
19982
20023
  if (vErrors === null) {
19983
- vErrors = [err90];
20024
+ vErrors = [err92];
19984
20025
  } else {
19985
- vErrors.push(err90);
20026
+ vErrors.push(err92);
19986
20027
  }
19987
20028
  errors++;
19988
20029
  }
19989
20030
  }
19990
- if (data70.legicWalletName !== void 0) {
19991
- if (typeof data70.legicWalletName !== "string") {
19992
- const err91 = {
20031
+ if (data72.legicWalletName !== void 0) {
20032
+ if (typeof data72.legicWalletName !== "string") {
20033
+ const err93 = {
19993
20034
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicWalletName",
19994
20035
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicWalletName/type",
19995
20036
  keyword: "type",
@@ -19997,16 +20038,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19997
20038
  message: "must be string"
19998
20039
  };
19999
20040
  if (vErrors === null) {
20000
- vErrors = [err91];
20041
+ vErrors = [err93];
20001
20042
  } else {
20002
- vErrors.push(err91);
20043
+ vErrors.push(err93);
20003
20044
  }
20004
20045
  errors++;
20005
20046
  }
20006
20047
  }
20007
- if (data70.legicAppId !== void 0) {
20008
- if (!(typeof data70.legicAppId == "number")) {
20009
- const err92 = {
20048
+ if (data72.legicAppId !== void 0) {
20049
+ if (!(typeof data72.legicAppId == "number")) {
20050
+ const err94 = {
20010
20051
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicAppId",
20011
20052
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicAppId/type",
20012
20053
  keyword: "type",
@@ -20014,16 +20055,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20014
20055
  message: "must be number"
20015
20056
  };
20016
20057
  if (vErrors === null) {
20017
- vErrors = [err92];
20058
+ vErrors = [err94];
20018
20059
  } else {
20019
- vErrors.push(err92);
20060
+ vErrors.push(err94);
20020
20061
  }
20021
20062
  errors++;
20022
20063
  }
20023
20064
  }
20024
- if (data70.legicTechUsername !== void 0) {
20025
- if (typeof data70.legicTechUsername !== "string") {
20026
- const err93 = {
20065
+ if (data72.legicTechUsername !== void 0) {
20066
+ if (typeof data72.legicTechUsername !== "string") {
20067
+ const err95 = {
20027
20068
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicTechUsername",
20028
20069
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicTechUsername/type",
20029
20070
  keyword: "type",
@@ -20031,16 +20072,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20031
20072
  message: "must be string"
20032
20073
  };
20033
20074
  if (vErrors === null) {
20034
- vErrors = [err93];
20075
+ vErrors = [err95];
20035
20076
  } else {
20036
- vErrors.push(err93);
20077
+ vErrors.push(err95);
20037
20078
  }
20038
20079
  errors++;
20039
20080
  }
20040
20081
  }
20041
- if (data70.legicTechPassword !== void 0) {
20042
- if (typeof data70.legicTechPassword !== "string") {
20043
- const err94 = {
20082
+ if (data72.legicTechPassword !== void 0) {
20083
+ if (typeof data72.legicTechPassword !== "string") {
20084
+ const err96 = {
20044
20085
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig/legicTechPassword",
20045
20086
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/properties/legicTechPassword/type",
20046
20087
  keyword: "type",
@@ -20048,15 +20089,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20048
20089
  message: "must be string"
20049
20090
  };
20050
20091
  if (vErrors === null) {
20051
- vErrors = [err94];
20092
+ vErrors = [err96];
20052
20093
  } else {
20053
- vErrors.push(err94);
20094
+ vErrors.push(err96);
20054
20095
  }
20055
20096
  errors++;
20056
20097
  }
20057
20098
  }
20058
20099
  } else {
20059
- const err95 = {
20100
+ const err97 = {
20060
20101
  instancePath: instancePath + "/appFeatures/DigitalKey/systemConfig",
20061
20102
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/systemConfig/type",
20062
20103
  keyword: "type",
@@ -20064,15 +20105,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20064
20105
  message: "must be object"
20065
20106
  };
20066
20107
  if (vErrors === null) {
20067
- vErrors = [err95];
20108
+ vErrors = [err97];
20068
20109
  } else {
20069
- vErrors.push(err95);
20110
+ vErrors.push(err97);
20070
20111
  }
20071
20112
  errors++;
20072
20113
  }
20073
- if (data67.enableApp !== void 0) {
20074
- if (typeof data67.enableApp !== "boolean") {
20075
- const err96 = {
20114
+ if (data69.enableApp !== void 0) {
20115
+ if (typeof data69.enableApp !== "boolean") {
20116
+ const err98 = {
20076
20117
  instancePath: instancePath + "/appFeatures/DigitalKey/enableApp",
20077
20118
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/enableApp/type",
20078
20119
  keyword: "type",
@@ -20080,21 +20121,21 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20080
20121
  message: "must be boolean"
20081
20122
  };
20082
20123
  if (vErrors === null) {
20083
- vErrors = [err96];
20124
+ vErrors = [err98];
20084
20125
  } else {
20085
- vErrors.push(err96);
20126
+ vErrors.push(err98);
20086
20127
  }
20087
20128
  errors++;
20088
20129
  }
20089
20130
  }
20090
- if (data67.branding !== void 0) {
20091
- let data77 = data67.branding;
20092
- if (data77 && typeof data77 == "object" && !Array.isArray(data77)) {
20093
- if (data77.logo !== void 0) {
20094
- let data78 = data77.logo;
20095
- if (typeof data78 === "string") {
20096
- if (!formats0(data78)) {
20097
- const err97 = {
20131
+ if (data69.branding !== void 0) {
20132
+ let data79 = data69.branding;
20133
+ if (data79 && typeof data79 == "object" && !Array.isArray(data79)) {
20134
+ if (data79.logo !== void 0) {
20135
+ let data80 = data79.logo;
20136
+ if (typeof data80 === "string") {
20137
+ if (!formats0(data80)) {
20138
+ const err99 = {
20098
20139
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/logo",
20099
20140
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/logo/format",
20100
20141
  keyword: "format",
@@ -20102,14 +20143,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20102
20143
  message: 'must match format "uri"'
20103
20144
  };
20104
20145
  if (vErrors === null) {
20105
- vErrors = [err97];
20146
+ vErrors = [err99];
20106
20147
  } else {
20107
- vErrors.push(err97);
20148
+ vErrors.push(err99);
20108
20149
  }
20109
20150
  errors++;
20110
20151
  }
20111
20152
  } else {
20112
- const err98 = {
20153
+ const err100 = {
20113
20154
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/logo",
20114
20155
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/logo/type",
20115
20156
  keyword: "type",
@@ -20117,18 +20158,18 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20117
20158
  message: "must be string"
20118
20159
  };
20119
20160
  if (vErrors === null) {
20120
- vErrors = [err98];
20161
+ vErrors = [err100];
20121
20162
  } else {
20122
- vErrors.push(err98);
20163
+ vErrors.push(err100);
20123
20164
  }
20124
20165
  errors++;
20125
20166
  }
20126
20167
  }
20127
- if (data77.gradient !== void 0) {
20128
- let data79 = data77.gradient;
20129
- if (Array.isArray(data79)) {
20130
- if (data79.length > 2) {
20131
- const err99 = {
20168
+ if (data79.gradient !== void 0) {
20169
+ let data81 = data79.gradient;
20170
+ if (Array.isArray(data81)) {
20171
+ if (data81.length > 2) {
20172
+ const err101 = {
20132
20173
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient",
20133
20174
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/maxItems",
20134
20175
  keyword: "maxItems",
@@ -20136,14 +20177,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20136
20177
  message: "must NOT have more than 2 items"
20137
20178
  };
20138
20179
  if (vErrors === null) {
20139
- vErrors = [err99];
20180
+ vErrors = [err101];
20140
20181
  } else {
20141
- vErrors.push(err99);
20182
+ vErrors.push(err101);
20142
20183
  }
20143
20184
  errors++;
20144
20185
  }
20145
- if (data79.length < 2) {
20146
- const err100 = {
20186
+ if (data81.length < 2) {
20187
+ const err102 = {
20147
20188
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient",
20148
20189
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/minItems",
20149
20190
  keyword: "minItems",
@@ -20151,49 +20192,49 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20151
20192
  message: "must NOT have fewer than 2 items"
20152
20193
  };
20153
20194
  if (vErrors === null) {
20154
- vErrors = [err100];
20195
+ vErrors = [err102];
20155
20196
  } else {
20156
- vErrors.push(err100);
20197
+ vErrors.push(err102);
20157
20198
  }
20158
20199
  errors++;
20159
20200
  }
20160
- const len7 = data79.length;
20161
- for (let i7 = 0; i7 < len7; i7++) {
20162
- let data80 = data79[i7];
20163
- if (typeof data80 === "string") {
20164
- if (!pattern6.test(data80)) {
20165
- const err101 = {
20166
- instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient/" + i7,
20201
+ const len8 = data81.length;
20202
+ for (let i8 = 0; i8 < len8; i8++) {
20203
+ let data82 = data81[i8];
20204
+ if (typeof data82 === "string") {
20205
+ if (!pattern6.test(data82)) {
20206
+ const err103 = {
20207
+ instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient/" + i8,
20167
20208
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/items/pattern",
20168
20209
  keyword: "pattern",
20169
20210
  params: { pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$" },
20170
20211
  message: 'must match pattern "^(?!#ffffff)(#[0-9a-fA-F]{6})$"'
20171
20212
  };
20172
20213
  if (vErrors === null) {
20173
- vErrors = [err101];
20214
+ vErrors = [err103];
20174
20215
  } else {
20175
- vErrors.push(err101);
20216
+ vErrors.push(err103);
20176
20217
  }
20177
20218
  errors++;
20178
20219
  }
20179
20220
  } else {
20180
- const err102 = {
20181
- instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient/" + i7,
20221
+ const err104 = {
20222
+ instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient/" + i8,
20182
20223
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/items/type",
20183
20224
  keyword: "type",
20184
20225
  params: { type: "string" },
20185
20226
  message: "must be string"
20186
20227
  };
20187
20228
  if (vErrors === null) {
20188
- vErrors = [err102];
20229
+ vErrors = [err104];
20189
20230
  } else {
20190
- vErrors.push(err102);
20231
+ vErrors.push(err104);
20191
20232
  }
20192
20233
  errors++;
20193
20234
  }
20194
20235
  }
20195
20236
  } else {
20196
- const err103 = {
20237
+ const err105 = {
20197
20238
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/gradient",
20198
20239
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/gradient/type",
20199
20240
  keyword: "type",
@@ -20201,18 +20242,18 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20201
20242
  message: "must be array"
20202
20243
  };
20203
20244
  if (vErrors === null) {
20204
- vErrors = [err103];
20245
+ vErrors = [err105];
20205
20246
  } else {
20206
- vErrors.push(err103);
20247
+ vErrors.push(err105);
20207
20248
  }
20208
20249
  errors++;
20209
20250
  }
20210
20251
  }
20211
- if (data77.highlightedGradient !== void 0) {
20212
- let data81 = data77.highlightedGradient;
20213
- if (Array.isArray(data81)) {
20214
- if (data81.length > 3) {
20215
- const err104 = {
20252
+ if (data79.highlightedGradient !== void 0) {
20253
+ let data83 = data79.highlightedGradient;
20254
+ if (Array.isArray(data83)) {
20255
+ if (data83.length > 3) {
20256
+ const err106 = {
20216
20257
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient",
20217
20258
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/maxItems",
20218
20259
  keyword: "maxItems",
@@ -20220,14 +20261,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20220
20261
  message: "must NOT have more than 3 items"
20221
20262
  };
20222
20263
  if (vErrors === null) {
20223
- vErrors = [err104];
20264
+ vErrors = [err106];
20224
20265
  } else {
20225
- vErrors.push(err104);
20266
+ vErrors.push(err106);
20226
20267
  }
20227
20268
  errors++;
20228
20269
  }
20229
- if (data81.length < 2) {
20230
- const err105 = {
20270
+ if (data83.length < 2) {
20271
+ const err107 = {
20231
20272
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient",
20232
20273
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/minItems",
20233
20274
  keyword: "minItems",
@@ -20235,49 +20276,49 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20235
20276
  message: "must NOT have fewer than 2 items"
20236
20277
  };
20237
20278
  if (vErrors === null) {
20238
- vErrors = [err105];
20279
+ vErrors = [err107];
20239
20280
  } else {
20240
- vErrors.push(err105);
20281
+ vErrors.push(err107);
20241
20282
  }
20242
20283
  errors++;
20243
20284
  }
20244
- const len8 = data81.length;
20245
- for (let i8 = 0; i8 < len8; i8++) {
20246
- let data82 = data81[i8];
20247
- if (typeof data82 === "string") {
20248
- if (!pattern6.test(data82)) {
20249
- const err106 = {
20250
- instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient/" + i8,
20285
+ const len9 = data83.length;
20286
+ for (let i9 = 0; i9 < len9; i9++) {
20287
+ let data84 = data83[i9];
20288
+ if (typeof data84 === "string") {
20289
+ if (!pattern6.test(data84)) {
20290
+ const err108 = {
20291
+ instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient/" + i9,
20251
20292
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/items/pattern",
20252
20293
  keyword: "pattern",
20253
20294
  params: { pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$" },
20254
20295
  message: 'must match pattern "^(?!#ffffff)(#[0-9a-fA-F]{6})$"'
20255
20296
  };
20256
20297
  if (vErrors === null) {
20257
- vErrors = [err106];
20298
+ vErrors = [err108];
20258
20299
  } else {
20259
- vErrors.push(err106);
20300
+ vErrors.push(err108);
20260
20301
  }
20261
20302
  errors++;
20262
20303
  }
20263
20304
  } else {
20264
- const err107 = {
20265
- instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient/" + i8,
20305
+ const err109 = {
20306
+ instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient/" + i9,
20266
20307
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/items/type",
20267
20308
  keyword: "type",
20268
20309
  params: { type: "string" },
20269
20310
  message: "must be string"
20270
20311
  };
20271
20312
  if (vErrors === null) {
20272
- vErrors = [err107];
20313
+ vErrors = [err109];
20273
20314
  } else {
20274
- vErrors.push(err107);
20315
+ vErrors.push(err109);
20275
20316
  }
20276
20317
  errors++;
20277
20318
  }
20278
20319
  }
20279
20320
  } else {
20280
- const err108 = {
20321
+ const err110 = {
20281
20322
  instancePath: instancePath + "/appFeatures/DigitalKey/branding/highlightedGradient",
20282
20323
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/properties/highlightedGradient/type",
20283
20324
  keyword: "type",
@@ -20285,15 +20326,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20285
20326
  message: "must be array"
20286
20327
  };
20287
20328
  if (vErrors === null) {
20288
- vErrors = [err108];
20329
+ vErrors = [err110];
20289
20330
  } else {
20290
- vErrors.push(err108);
20331
+ vErrors.push(err110);
20291
20332
  }
20292
20333
  errors++;
20293
20334
  }
20294
20335
  }
20295
20336
  } else {
20296
- const err109 = {
20337
+ const err111 = {
20297
20338
  instancePath: instancePath + "/appFeatures/DigitalKey/branding",
20298
20339
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/branding/type",
20299
20340
  keyword: "type",
@@ -20301,15 +20342,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20301
20342
  message: "must be object"
20302
20343
  };
20303
20344
  if (vErrors === null) {
20304
- vErrors = [err109];
20345
+ vErrors = [err111];
20305
20346
  } else {
20306
- vErrors.push(err109);
20347
+ vErrors.push(err111);
20307
20348
  }
20308
20349
  errors++;
20309
20350
  }
20310
20351
  }
20311
20352
  } else {
20312
- const err110 = {
20353
+ const err112 = {
20313
20354
  instancePath: instancePath + "/appFeatures/DigitalKey",
20314
20355
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/type",
20315
20356
  keyword: "type",
@@ -20317,19 +20358,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20317
20358
  message: "must be object"
20318
20359
  };
20319
20360
  if (vErrors === null) {
20320
- vErrors = [err110];
20361
+ vErrors = [err112];
20321
20362
  } else {
20322
- vErrors.push(err110);
20363
+ vErrors.push(err112);
20323
20364
  }
20324
20365
  errors++;
20325
20366
  }
20326
20367
  }
20327
20368
  if (data28.SOS !== void 0) {
20328
- let data83 = data28.SOS;
20329
- if (data83 && typeof data83 == "object" && !Array.isArray(data83)) {
20330
- if (data83.active !== void 0) {
20331
- if (typeof data83.active !== "boolean") {
20332
- const err111 = {
20369
+ let data85 = data28.SOS;
20370
+ if (data85 && typeof data85 == "object" && !Array.isArray(data85)) {
20371
+ if (data85.active !== void 0) {
20372
+ if (typeof data85.active !== "boolean") {
20373
+ const err113 = {
20333
20374
  instancePath: instancePath + "/appFeatures/SOS/active",
20334
20375
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/active/type",
20335
20376
  keyword: "type",
@@ -20337,37 +20378,37 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20337
20378
  message: "must be boolean"
20338
20379
  };
20339
20380
  if (vErrors === null) {
20340
- vErrors = [err111];
20381
+ vErrors = [err113];
20341
20382
  } else {
20342
- vErrors.push(err111);
20383
+ vErrors.push(err113);
20343
20384
  }
20344
20385
  errors++;
20345
20386
  }
20346
20387
  }
20347
- if (data83.activeEmergencies !== void 0) {
20348
- let data85 = data83.activeEmergencies;
20349
- if (Array.isArray(data85)) {
20350
- const len9 = data85.length;
20351
- for (let i9 = 0; i9 < len9; i9++) {
20352
- let data86 = data85[i9];
20353
- if (typeof data86 !== "string") {
20354
- const err112 = {
20355
- instancePath: instancePath + "/appFeatures/SOS/activeEmergencies/" + i9,
20388
+ if (data85.activeEmergencies !== void 0) {
20389
+ let data87 = data85.activeEmergencies;
20390
+ if (Array.isArray(data87)) {
20391
+ const len10 = data87.length;
20392
+ for (let i10 = 0; i10 < len10; i10++) {
20393
+ let data88 = data87[i10];
20394
+ if (typeof data88 !== "string") {
20395
+ const err114 = {
20396
+ instancePath: instancePath + "/appFeatures/SOS/activeEmergencies/" + i10,
20356
20397
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/activeEmergencies/items/type",
20357
20398
  keyword: "type",
20358
20399
  params: { type: "string" },
20359
20400
  message: "must be string"
20360
20401
  };
20361
20402
  if (vErrors === null) {
20362
- vErrors = [err112];
20403
+ vErrors = [err114];
20363
20404
  } else {
20364
- vErrors.push(err112);
20405
+ vErrors.push(err114);
20365
20406
  }
20366
20407
  errors++;
20367
20408
  }
20368
- if (!(data86 === "medical" || data86 === "fire" || data86 === "suspiciousPerson" || data86 === "other" || data86 === "conflict" || data86 === "shooter")) {
20369
- const err113 = {
20370
- instancePath: instancePath + "/appFeatures/SOS/activeEmergencies/" + i9,
20409
+ if (!(data88 === "medical" || data88 === "fire" || data88 === "suspiciousPerson" || data88 === "other" || data88 === "conflict" || data88 === "shooter")) {
20410
+ const err115 = {
20411
+ instancePath: instancePath + "/appFeatures/SOS/activeEmergencies/" + i10,
20371
20412
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/activeEmergencies/items/enum",
20372
20413
  keyword: "enum",
20373
20414
  params: {
@@ -20376,15 +20417,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20376
20417
  message: "must be equal to one of the allowed values"
20377
20418
  };
20378
20419
  if (vErrors === null) {
20379
- vErrors = [err113];
20420
+ vErrors = [err115];
20380
20421
  } else {
20381
- vErrors.push(err113);
20422
+ vErrors.push(err115);
20382
20423
  }
20383
20424
  errors++;
20384
20425
  }
20385
20426
  }
20386
20427
  } else {
20387
- const err114 = {
20428
+ const err116 = {
20388
20429
  instancePath: instancePath + "/appFeatures/SOS/activeEmergencies",
20389
20430
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/activeEmergencies/type",
20390
20431
  keyword: "type",
@@ -20392,15 +20433,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20392
20433
  message: "must be array"
20393
20434
  };
20394
20435
  if (vErrors === null) {
20395
- vErrors = [err114];
20436
+ vErrors = [err116];
20396
20437
  } else {
20397
- vErrors.push(err114);
20438
+ vErrors.push(err116);
20398
20439
  }
20399
20440
  errors++;
20400
20441
  }
20401
20442
  }
20402
20443
  } else {
20403
- const err115 = {
20444
+ const err117 = {
20404
20445
  instancePath: instancePath + "/appFeatures/SOS",
20405
20446
  schemaPath: "#/properties/appFeatures/properties/SOS/type",
20406
20447
  keyword: "type",
@@ -20408,20 +20449,20 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20408
20449
  message: "must be object"
20409
20450
  };
20410
20451
  if (vErrors === null) {
20411
- vErrors = [err115];
20452
+ vErrors = [err117];
20412
20453
  } else {
20413
- vErrors.push(err115);
20454
+ vErrors.push(err117);
20414
20455
  }
20415
20456
  errors++;
20416
20457
  }
20417
20458
  }
20418
20459
  if (data28.Dining !== void 0) {
20419
- let data87 = data28.Dining;
20420
- if (data87 && typeof data87 == "object" && !Array.isArray(data87)) {
20421
- if (data87.system !== void 0) {
20422
- let data88 = data87.system;
20423
- if (typeof data88 !== "string") {
20424
- const err116 = {
20460
+ let data89 = data28.Dining;
20461
+ if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
20462
+ if (data89.system !== void 0) {
20463
+ let data90 = data89.system;
20464
+ if (typeof data90 !== "string") {
20465
+ const err118 = {
20425
20466
  instancePath: instancePath + "/appFeatures/Dining/system",
20426
20467
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/system/type",
20427
20468
  keyword: "type",
@@ -20429,14 +20470,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20429
20470
  message: "must be string"
20430
20471
  };
20431
20472
  if (vErrors === null) {
20432
- vErrors = [err116];
20473
+ vErrors = [err118];
20433
20474
  } else {
20434
- vErrors.push(err116);
20475
+ vErrors.push(err118);
20435
20476
  }
20436
20477
  errors++;
20437
20478
  }
20438
- if (!(data88 === "gotab")) {
20439
- const err117 = {
20479
+ if (!(data90 === "gotab")) {
20480
+ const err119 = {
20440
20481
  instancePath: instancePath + "/appFeatures/Dining/system",
20441
20482
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/system/enum",
20442
20483
  keyword: "enum",
@@ -20446,19 +20487,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20446
20487
  message: "must be equal to one of the allowed values"
20447
20488
  };
20448
20489
  if (vErrors === null) {
20449
- vErrors = [err117];
20490
+ vErrors = [err119];
20450
20491
  } else {
20451
- vErrors.push(err117);
20492
+ vErrors.push(err119);
20452
20493
  }
20453
20494
  errors++;
20454
20495
  }
20455
20496
  }
20456
- if (data87.systemConfig !== void 0) {
20457
- let data89 = data87.systemConfig;
20458
- if (data89 && typeof data89 == "object" && !Array.isArray(data89)) {
20459
- for (const key5 in data89) {
20497
+ if (data89.systemConfig !== void 0) {
20498
+ let data91 = data89.systemConfig;
20499
+ if (data91 && typeof data91 == "object" && !Array.isArray(data91)) {
20500
+ for (const key5 in data91) {
20460
20501
  if (!(key5 === "landingUrl" || key5 === "includeUserDetails")) {
20461
- const err118 = {
20502
+ const err120 = {
20462
20503
  instancePath: instancePath + "/appFeatures/Dining/systemConfig",
20463
20504
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/additionalProperties",
20464
20505
  keyword: "additionalProperties",
@@ -20466,18 +20507,18 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20466
20507
  message: "must NOT have additional properties"
20467
20508
  };
20468
20509
  if (vErrors === null) {
20469
- vErrors = [err118];
20510
+ vErrors = [err120];
20470
20511
  } else {
20471
- vErrors.push(err118);
20512
+ vErrors.push(err120);
20472
20513
  }
20473
20514
  errors++;
20474
20515
  }
20475
20516
  }
20476
- if (data89.landingUrl !== void 0) {
20477
- let data90 = data89.landingUrl;
20478
- if (typeof data90 === "string") {
20479
- if (!formats0(data90)) {
20480
- const err119 = {
20517
+ if (data91.landingUrl !== void 0) {
20518
+ let data92 = data91.landingUrl;
20519
+ if (typeof data92 === "string") {
20520
+ if (!formats0(data92)) {
20521
+ const err121 = {
20481
20522
  instancePath: instancePath + "/appFeatures/Dining/systemConfig/landingUrl",
20482
20523
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/properties/landingUrl/format",
20483
20524
  keyword: "format",
@@ -20485,14 +20526,14 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20485
20526
  message: 'must match format "uri"'
20486
20527
  };
20487
20528
  if (vErrors === null) {
20488
- vErrors = [err119];
20529
+ vErrors = [err121];
20489
20530
  } else {
20490
- vErrors.push(err119);
20531
+ vErrors.push(err121);
20491
20532
  }
20492
20533
  errors++;
20493
20534
  }
20494
20535
  } else {
20495
- const err120 = {
20536
+ const err122 = {
20496
20537
  instancePath: instancePath + "/appFeatures/Dining/systemConfig/landingUrl",
20497
20538
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/properties/landingUrl/type",
20498
20539
  keyword: "type",
@@ -20500,16 +20541,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20500
20541
  message: "must be string"
20501
20542
  };
20502
20543
  if (vErrors === null) {
20503
- vErrors = [err120];
20544
+ vErrors = [err122];
20504
20545
  } else {
20505
- vErrors.push(err120);
20546
+ vErrors.push(err122);
20506
20547
  }
20507
20548
  errors++;
20508
20549
  }
20509
20550
  }
20510
- if (data89.includeUserDetails !== void 0) {
20511
- if (typeof data89.includeUserDetails !== "boolean") {
20512
- const err121 = {
20551
+ if (data91.includeUserDetails !== void 0) {
20552
+ if (typeof data91.includeUserDetails !== "boolean") {
20553
+ const err123 = {
20513
20554
  instancePath: instancePath + "/appFeatures/Dining/systemConfig/includeUserDetails",
20514
20555
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/properties/includeUserDetails/type",
20515
20556
  keyword: "type",
@@ -20517,15 +20558,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20517
20558
  message: "must be boolean"
20518
20559
  };
20519
20560
  if (vErrors === null) {
20520
- vErrors = [err121];
20561
+ vErrors = [err123];
20521
20562
  } else {
20522
- vErrors.push(err121);
20563
+ vErrors.push(err123);
20523
20564
  }
20524
20565
  errors++;
20525
20566
  }
20526
20567
  }
20527
20568
  } else {
20528
- const err122 = {
20569
+ const err124 = {
20529
20570
  instancePath: instancePath + "/appFeatures/Dining/systemConfig",
20530
20571
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/systemConfig/type",
20531
20572
  keyword: "type",
@@ -20533,15 +20574,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20533
20574
  message: "must be object"
20534
20575
  };
20535
20576
  if (vErrors === null) {
20536
- vErrors = [err122];
20577
+ vErrors = [err124];
20537
20578
  } else {
20538
- vErrors.push(err122);
20579
+ vErrors.push(err124);
20539
20580
  }
20540
20581
  errors++;
20541
20582
  }
20542
20583
  }
20543
20584
  } else {
20544
- const err123 = {
20585
+ const err125 = {
20545
20586
  instancePath: instancePath + "/appFeatures/Dining",
20546
20587
  schemaPath: "#/properties/appFeatures/properties/Dining/type",
20547
20588
  keyword: "type",
@@ -20549,15 +20590,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20549
20590
  message: "must be object"
20550
20591
  };
20551
20592
  if (vErrors === null) {
20552
- vErrors = [err123];
20593
+ vErrors = [err125];
20553
20594
  } else {
20554
- vErrors.push(err123);
20595
+ vErrors.push(err125);
20555
20596
  }
20556
20597
  errors++;
20557
20598
  }
20558
20599
  }
20559
20600
  } else {
20560
- const err124 = {
20601
+ const err126 = {
20561
20602
  instancePath: instancePath + "/appFeatures",
20562
20603
  schemaPath: "#/properties/appFeatures/type",
20563
20604
  keyword: "type",
@@ -20565,17 +20606,17 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20565
20606
  message: "must be object"
20566
20607
  };
20567
20608
  if (vErrors === null) {
20568
- vErrors = [err124];
20609
+ vErrors = [err126];
20569
20610
  } else {
20570
- vErrors.push(err124);
20611
+ vErrors.push(err126);
20571
20612
  }
20572
20613
  errors++;
20573
20614
  }
20574
- let data92 = data.notifications;
20575
- if (data92 && typeof data92 == "object" && !Array.isArray(data92)) {
20576
- for (const key6 in data92) {
20615
+ let data94 = data.notifications;
20616
+ if (data94 && typeof data94 == "object" && !Array.isArray(data94)) {
20617
+ for (const key6 in data94) {
20577
20618
  if (!(key6 === "email" || key6 === "sms" || key6 === "push")) {
20578
- const err125 = {
20619
+ const err127 = {
20579
20620
  instancePath: instancePath + "/notifications",
20580
20621
  schemaPath: "#/properties/notifications/additionalProperties",
20581
20622
  keyword: "additionalProperties",
@@ -20583,19 +20624,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20583
20624
  message: "must NOT have additional properties"
20584
20625
  };
20585
20626
  if (vErrors === null) {
20586
- vErrors = [err125];
20627
+ vErrors = [err127];
20587
20628
  } else {
20588
- vErrors.push(err125);
20629
+ vErrors.push(err127);
20589
20630
  }
20590
20631
  errors++;
20591
20632
  }
20592
20633
  }
20593
- if (data92.email !== void 0) {
20594
- let data93 = data92.email;
20595
- if (data93 && typeof data93 == "object" && !Array.isArray(data93)) {
20596
- for (const key7 in data93) {
20634
+ if (data94.email !== void 0) {
20635
+ let data95 = data94.email;
20636
+ if (data95 && typeof data95 == "object" && !Array.isArray(data95)) {
20637
+ for (const key7 in data95) {
20597
20638
  if (!(key7 === "enabled")) {
20598
- const err126 = {
20639
+ const err128 = {
20599
20640
  instancePath: instancePath + "/notifications/email",
20600
20641
  schemaPath: "#/properties/notifications/properties/email/additionalProperties",
20601
20642
  keyword: "additionalProperties",
@@ -20603,16 +20644,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20603
20644
  message: "must NOT have additional properties"
20604
20645
  };
20605
20646
  if (vErrors === null) {
20606
- vErrors = [err126];
20647
+ vErrors = [err128];
20607
20648
  } else {
20608
- vErrors.push(err126);
20649
+ vErrors.push(err128);
20609
20650
  }
20610
20651
  errors++;
20611
20652
  }
20612
20653
  }
20613
- if (data93.enabled !== void 0) {
20614
- if (typeof data93.enabled !== "boolean") {
20615
- const err127 = {
20654
+ if (data95.enabled !== void 0) {
20655
+ if (typeof data95.enabled !== "boolean") {
20656
+ const err129 = {
20616
20657
  instancePath: instancePath + "/notifications/email/enabled",
20617
20658
  schemaPath: "#/properties/notifications/properties/email/properties/enabled/type",
20618
20659
  keyword: "type",
@@ -20620,15 +20661,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20620
20661
  message: "must be boolean"
20621
20662
  };
20622
20663
  if (vErrors === null) {
20623
- vErrors = [err127];
20664
+ vErrors = [err129];
20624
20665
  } else {
20625
- vErrors.push(err127);
20666
+ vErrors.push(err129);
20626
20667
  }
20627
20668
  errors++;
20628
20669
  }
20629
20670
  }
20630
20671
  } else {
20631
- const err128 = {
20672
+ const err130 = {
20632
20673
  instancePath: instancePath + "/notifications/email",
20633
20674
  schemaPath: "#/properties/notifications/properties/email/type",
20634
20675
  keyword: "type",
@@ -20636,19 +20677,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20636
20677
  message: "must be object"
20637
20678
  };
20638
20679
  if (vErrors === null) {
20639
- vErrors = [err128];
20680
+ vErrors = [err130];
20640
20681
  } else {
20641
- vErrors.push(err128);
20682
+ vErrors.push(err130);
20642
20683
  }
20643
20684
  errors++;
20644
20685
  }
20645
20686
  }
20646
- if (data92.sms !== void 0) {
20647
- let data95 = data92.sms;
20648
- if (data95 && typeof data95 == "object" && !Array.isArray(data95)) {
20649
- for (const key8 in data95) {
20687
+ if (data94.sms !== void 0) {
20688
+ let data97 = data94.sms;
20689
+ if (data97 && typeof data97 == "object" && !Array.isArray(data97)) {
20690
+ for (const key8 in data97) {
20650
20691
  if (!(key8 === "enabled")) {
20651
- const err129 = {
20692
+ const err131 = {
20652
20693
  instancePath: instancePath + "/notifications/sms",
20653
20694
  schemaPath: "#/properties/notifications/properties/sms/additionalProperties",
20654
20695
  keyword: "additionalProperties",
@@ -20656,16 +20697,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20656
20697
  message: "must NOT have additional properties"
20657
20698
  };
20658
20699
  if (vErrors === null) {
20659
- vErrors = [err129];
20700
+ vErrors = [err131];
20660
20701
  } else {
20661
- vErrors.push(err129);
20702
+ vErrors.push(err131);
20662
20703
  }
20663
20704
  errors++;
20664
20705
  }
20665
20706
  }
20666
- if (data95.enabled !== void 0) {
20667
- if (typeof data95.enabled !== "boolean") {
20668
- const err130 = {
20707
+ if (data97.enabled !== void 0) {
20708
+ if (typeof data97.enabled !== "boolean") {
20709
+ const err132 = {
20669
20710
  instancePath: instancePath + "/notifications/sms/enabled",
20670
20711
  schemaPath: "#/properties/notifications/properties/sms/properties/enabled/type",
20671
20712
  keyword: "type",
@@ -20673,15 +20714,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20673
20714
  message: "must be boolean"
20674
20715
  };
20675
20716
  if (vErrors === null) {
20676
- vErrors = [err130];
20717
+ vErrors = [err132];
20677
20718
  } else {
20678
- vErrors.push(err130);
20719
+ vErrors.push(err132);
20679
20720
  }
20680
20721
  errors++;
20681
20722
  }
20682
20723
  }
20683
20724
  } else {
20684
- const err131 = {
20725
+ const err133 = {
20685
20726
  instancePath: instancePath + "/notifications/sms",
20686
20727
  schemaPath: "#/properties/notifications/properties/sms/type",
20687
20728
  keyword: "type",
@@ -20689,19 +20730,19 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20689
20730
  message: "must be object"
20690
20731
  };
20691
20732
  if (vErrors === null) {
20692
- vErrors = [err131];
20733
+ vErrors = [err133];
20693
20734
  } else {
20694
- vErrors.push(err131);
20735
+ vErrors.push(err133);
20695
20736
  }
20696
20737
  errors++;
20697
20738
  }
20698
20739
  }
20699
- if (data92.push !== void 0) {
20700
- let data97 = data92.push;
20701
- if (data97 && typeof data97 == "object" && !Array.isArray(data97)) {
20702
- for (const key9 in data97) {
20740
+ if (data94.push !== void 0) {
20741
+ let data99 = data94.push;
20742
+ if (data99 && typeof data99 == "object" && !Array.isArray(data99)) {
20743
+ for (const key9 in data99) {
20703
20744
  if (!(key9 === "enabled")) {
20704
- const err132 = {
20745
+ const err134 = {
20705
20746
  instancePath: instancePath + "/notifications/push",
20706
20747
  schemaPath: "#/properties/notifications/properties/push/additionalProperties",
20707
20748
  keyword: "additionalProperties",
@@ -20709,16 +20750,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20709
20750
  message: "must NOT have additional properties"
20710
20751
  };
20711
20752
  if (vErrors === null) {
20712
- vErrors = [err132];
20753
+ vErrors = [err134];
20713
20754
  } else {
20714
- vErrors.push(err132);
20755
+ vErrors.push(err134);
20715
20756
  }
20716
20757
  errors++;
20717
20758
  }
20718
20759
  }
20719
- if (data97.enabled !== void 0) {
20720
- if (typeof data97.enabled !== "boolean") {
20721
- const err133 = {
20760
+ if (data99.enabled !== void 0) {
20761
+ if (typeof data99.enabled !== "boolean") {
20762
+ const err135 = {
20722
20763
  instancePath: instancePath + "/notifications/push/enabled",
20723
20764
  schemaPath: "#/properties/notifications/properties/push/properties/enabled/type",
20724
20765
  keyword: "type",
@@ -20726,15 +20767,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20726
20767
  message: "must be boolean"
20727
20768
  };
20728
20769
  if (vErrors === null) {
20729
- vErrors = [err133];
20770
+ vErrors = [err135];
20730
20771
  } else {
20731
- vErrors.push(err133);
20772
+ vErrors.push(err135);
20732
20773
  }
20733
20774
  errors++;
20734
20775
  }
20735
20776
  }
20736
20777
  } else {
20737
- const err134 = {
20778
+ const err136 = {
20738
20779
  instancePath: instancePath + "/notifications/push",
20739
20780
  schemaPath: "#/properties/notifications/properties/push/type",
20740
20781
  keyword: "type",
@@ -20742,15 +20783,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20742
20783
  message: "must be object"
20743
20784
  };
20744
20785
  if (vErrors === null) {
20745
- vErrors = [err134];
20786
+ vErrors = [err136];
20746
20787
  } else {
20747
- vErrors.push(err134);
20788
+ vErrors.push(err136);
20748
20789
  }
20749
20790
  errors++;
20750
20791
  }
20751
20792
  }
20752
20793
  } else {
20753
- const err135 = {
20794
+ const err137 = {
20754
20795
  instancePath: instancePath + "/notifications",
20755
20796
  schemaPath: "#/properties/notifications/type",
20756
20797
  keyword: "type",
@@ -20758,17 +20799,16 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20758
20799
  message: "must be object"
20759
20800
  };
20760
20801
  if (vErrors === null) {
20761
- vErrors = [err135];
20802
+ vErrors = [err137];
20762
20803
  } else {
20763
- vErrors.push(err135);
20804
+ vErrors.push(err137);
20764
20805
  }
20765
20806
  errors++;
20766
20807
  }
20767
20808
  if (data.credentials !== void 0) {
20768
- let data99 = data.credentials;
20769
- if (data99 && typeof data99 == "object" && !Array.isArray(data99)) {
20770
- } else {
20771
- const err136 = {
20809
+ let data101 = data.credentials;
20810
+ if (!(data101 && typeof data101 == "object" && !Array.isArray(data101))) {
20811
+ const err138 = {
20772
20812
  instancePath: instancePath + "/credentials",
20773
20813
  schemaPath: "#/properties/credentials/type",
20774
20814
  keyword: "type",
@@ -20776,15 +20816,15 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20776
20816
  message: "must be object"
20777
20817
  };
20778
20818
  if (vErrors === null) {
20779
- vErrors = [err136];
20819
+ vErrors = [err138];
20780
20820
  } else {
20781
- vErrors.push(err136);
20821
+ vErrors.push(err138);
20782
20822
  }
20783
20823
  errors++;
20784
20824
  }
20785
20825
  }
20786
20826
  } else {
20787
- const err137 = {
20827
+ const err139 = {
20788
20828
  instancePath,
20789
20829
  schemaPath: "#/type",
20790
20830
  keyword: "type",
@@ -20792,9 +20832,9 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20792
20832
  message: "must be object"
20793
20833
  };
20794
20834
  if (vErrors === null) {
20795
- vErrors = [err137];
20835
+ vErrors = [err139];
20796
20836
  } else {
20797
- vErrors.push(err137);
20837
+ vErrors.push(err139);
20798
20838
  }
20799
20839
  errors++;
20800
20840
  }
@@ -34522,23 +34562,25 @@ var Alarm = class extends Entity {
34522
34562
  */
34523
34563
  constructor(data) {
34524
34564
  super(data);
34525
- this.id = data.id;
34526
- this.name = data.name;
34527
- this.offline = data.offline;
34528
- this.type = data.type;
34529
- this.systemId = data.systemId;
34530
- this.supportedNotifications = data.supportedNotifications;
34531
- this.notification = data.notification;
34532
- this.driver = data.driver;
34533
- this.areas = data.areas;
34534
- this.zones = data.zones;
34535
- this.chime = data.chime;
34536
- this.watts = data.watts;
34537
- this.icon = data.icon;
34538
- this.modelNumber = data.modelNumber;
34539
- this.serialNumber = data.serialNumber;
34540
- this.firmwareVersion = data.firmwareVersion;
34541
- this.address = data.address;
34565
+ if (data.id !== void 0) this.id = data.id;
34566
+ if (data.name !== void 0) this.name = data.name;
34567
+ if (data.offline !== void 0) this.offline = data.offline;
34568
+ if (data.type !== void 0) this.type = data.type;
34569
+ if (data.systemId !== void 0) this.systemId = data.systemId;
34570
+ if (data.supportedNotifications !== void 0)
34571
+ this.supportedNotifications = data.supportedNotifications;
34572
+ if (data.notification !== void 0) this.notification = data.notification;
34573
+ if (data.driver !== void 0) this.driver = data.driver;
34574
+ if (data.areas !== void 0) this.areas = data.areas;
34575
+ if (data.zones !== void 0) this.zones = data.zones;
34576
+ if (data.chime !== void 0) this.chime = data.chime;
34577
+ if (data.watts !== void 0) this.watts = data.watts;
34578
+ if (data.icon !== void 0) this.icon = data.icon;
34579
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
34580
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
34581
+ if (data.firmwareVersion !== void 0)
34582
+ this.firmwareVersion = data.firmwareVersion;
34583
+ if (data.address !== void 0) this.address = data.address;
34542
34584
  }
34543
34585
  };
34544
34586
  Object.defineProperty(Alarm.prototype, "schema", {
@@ -34631,16 +34673,16 @@ var Announcement = class extends Entity {
34631
34673
  */
34632
34674
  constructor(data) {
34633
34675
  super(data);
34634
- this.id = data.id;
34635
- this.type = data.type;
34636
- this.users = data.users;
34637
- this.group = data.group;
34638
- this.body = data.body;
34639
- this.media = data.media;
34640
- this.sentBy = data.sentBy;
34641
- this.tags = data.tags;
34642
- this.createdAt = data.createdAt;
34643
- this.updatedAt = data.updatedAt;
34676
+ if (data.id !== void 0) this.id = data.id;
34677
+ if (data.type !== void 0) this.type = data.type;
34678
+ if (data.users !== void 0) this.users = data.users;
34679
+ if (data.group !== void 0) this.group = data.group;
34680
+ if (data.body !== void 0) this.body = data.body;
34681
+ if (data.media !== void 0) this.media = data.media;
34682
+ if (data.sentBy !== void 0) this.sentBy = data.sentBy;
34683
+ if (data.tags !== void 0) this.tags = data.tags;
34684
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
34685
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
34644
34686
  }
34645
34687
  };
34646
34688
  Object.defineProperty(Announcement.prototype, "schema", {
@@ -34713,21 +34755,23 @@ var Camera = class extends Entity {
34713
34755
  */
34714
34756
  constructor(data) {
34715
34757
  super(data);
34716
- this.id = data.id;
34717
- this.name = data.name;
34718
- this.type = data.type;
34719
- this.offline = data.offline;
34720
- this.supportedNotifications = data.supportedNotifications;
34721
- this.notification = data.notification;
34722
- this.driver = data.driver;
34723
- this.liveStreams = data.liveStreams;
34724
- this.liveStream = data.liveStream;
34725
- this.systemId = data.systemId;
34726
- this.watts = data.watts;
34727
- this.icon = data.icon;
34728
- this.modelNumber = data.modelNumber;
34729
- this.serialNumber = data.serialNumber;
34730
- this.firmwareVersion = data.firmwareVersion;
34758
+ if (data.id !== void 0) this.id = data.id;
34759
+ if (data.name !== void 0) this.name = data.name;
34760
+ if (data.type !== void 0) this.type = data.type;
34761
+ if (data.offline !== void 0) this.offline = data.offline;
34762
+ if (data.supportedNotifications !== void 0)
34763
+ this.supportedNotifications = data.supportedNotifications;
34764
+ if (data.notification !== void 0) this.notification = data.notification;
34765
+ if (data.driver !== void 0) this.driver = data.driver;
34766
+ if (data.liveStreams !== void 0) this.liveStreams = data.liveStreams;
34767
+ if (data.liveStream !== void 0) this.liveStream = data.liveStream;
34768
+ if (data.systemId !== void 0) this.systemId = data.systemId;
34769
+ if (data.watts !== void 0) this.watts = data.watts;
34770
+ if (data.icon !== void 0) this.icon = data.icon;
34771
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
34772
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
34773
+ if (data.firmwareVersion !== void 0)
34774
+ this.firmwareVersion = data.firmwareVersion;
34731
34775
  }
34732
34776
  };
34733
34777
  Object.defineProperty(Camera.prototype, "schema", {
@@ -34830,15 +34874,16 @@ var Category = class extends Entity {
34830
34874
  */
34831
34875
  constructor(data) {
34832
34876
  super(data);
34833
- this.id = data.id;
34834
- this.type = data.type;
34835
- this.name = data.name;
34836
- this.driver = data.driver;
34837
- this.description = data.description;
34838
- this.image = data.image;
34839
- this.rating = data.rating;
34840
- this.discriminator = data.discriminator;
34841
- this.systemId = data.systemId;
34877
+ if (data.id !== void 0) this.id = data.id;
34878
+ if (data.type !== void 0) this.type = data.type;
34879
+ if (data.name !== void 0) this.name = data.name;
34880
+ if (data.driver !== void 0) this.driver = data.driver;
34881
+ if (data.description !== void 0) this.description = data.description;
34882
+ if (data.image !== void 0) this.image = data.image;
34883
+ if (data.rating !== void 0) this.rating = data.rating;
34884
+ if (data.discriminator !== void 0)
34885
+ this.discriminator = data.discriminator;
34886
+ if (data.systemId !== void 0) this.systemId = data.systemId;
34842
34887
  }
34843
34888
  };
34844
34889
  Object.defineProperty(Category.prototype, "schema", {
@@ -34899,21 +34944,24 @@ var Courtesy = class extends Entity {
34899
34944
  */
34900
34945
  constructor(data) {
34901
34946
  super(data);
34902
- this.id = data.id;
34903
- this.name = data.name;
34904
- this.type = data.type;
34905
- this.supportedNotifications = data.supportedNotifications;
34906
- this.notification = data.notification;
34907
- this.driver = data.driver;
34908
- this.offline = data.offline;
34909
- this.supportedStates = data.supportedStates;
34910
- this.state = data.state;
34911
- this.systemId = data.systemId;
34912
- this.watts = data.watts;
34913
- this.icon = data.icon;
34914
- this.modelNumber = data.modelNumber;
34915
- this.serialNumber = data.serialNumber;
34916
- this.firmwareVersion = data.firmwareVersion;
34947
+ if (data.id !== void 0) this.id = data.id;
34948
+ if (data.name !== void 0) this.name = data.name;
34949
+ if (data.type !== void 0) this.type = data.type;
34950
+ if (data.supportedNotifications !== void 0)
34951
+ this.supportedNotifications = data.supportedNotifications;
34952
+ if (data.notification !== void 0) this.notification = data.notification;
34953
+ if (data.driver !== void 0) this.driver = data.driver;
34954
+ if (data.offline !== void 0) this.offline = data.offline;
34955
+ if (data.supportedStates !== void 0)
34956
+ this.supportedStates = data.supportedStates;
34957
+ if (data.state !== void 0) this.state = data.state;
34958
+ if (data.systemId !== void 0) this.systemId = data.systemId;
34959
+ if (data.watts !== void 0) this.watts = data.watts;
34960
+ if (data.icon !== void 0) this.icon = data.icon;
34961
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
34962
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
34963
+ if (data.firmwareVersion !== void 0)
34964
+ this.firmwareVersion = data.firmwareVersion;
34917
34965
  }
34918
34966
  };
34919
34967
  Object.defineProperty(Courtesy.prototype, "schema", {
@@ -34981,18 +35029,20 @@ var Credential = class extends Entity {
34981
35029
  */
34982
35030
  constructor(data) {
34983
35031
  super(data);
34984
- this.id = data.id;
34985
- this.type = data.type;
34986
- this.driver = data.driver;
34987
- this.discriminator = data.discriminator;
34988
- this.credential = data.credential;
34989
- this.userId = data.userId;
34990
- this.organizationId = data.organizationId;
34991
- this.propertyId = data.propertyId;
34992
- this.deviceId = data.deviceId;
34993
- this.userAgent = data.userAgent;
34994
- this.expires = data.expires;
34995
- this.systemId = data.systemId;
35032
+ if (data.id !== void 0) this.id = data.id;
35033
+ if (data.type !== void 0) this.type = data.type;
35034
+ if (data.driver !== void 0) this.driver = data.driver;
35035
+ if (data.discriminator !== void 0)
35036
+ this.discriminator = data.discriminator;
35037
+ if (data.credential !== void 0) this.credential = data.credential;
35038
+ if (data.userId !== void 0) this.userId = data.userId;
35039
+ if (data.organizationId !== void 0)
35040
+ this.organizationId = data.organizationId;
35041
+ if (data.propertyId !== void 0) this.propertyId = data.propertyId;
35042
+ if (data.deviceId !== void 0) this.deviceId = data.deviceId;
35043
+ if (data.userAgent !== void 0) this.userAgent = data.userAgent;
35044
+ if (data.expires !== void 0) this.expires = data.expires;
35045
+ if (data.systemId !== void 0) this.systemId = data.systemId;
34996
35046
  }
34997
35047
  };
34998
35048
  Object.defineProperty(Credential.prototype, "schema", {
@@ -35053,11 +35103,12 @@ var DeviceRouter = class extends Entity {
35053
35103
  */
35054
35104
  constructor(data) {
35055
35105
  super(data);
35056
- this.id = data.id;
35057
- this.type = data.type;
35058
- this.driver = data.driver;
35059
- this.organizationId = data.organizationId;
35060
- this.devices = data.devices;
35106
+ if (data.id !== void 0) this.id = data.id;
35107
+ if (data.type !== void 0) this.type = data.type;
35108
+ if (data.driver !== void 0) this.driver = data.driver;
35109
+ if (data.organizationId !== void 0)
35110
+ this.organizationId = data.organizationId;
35111
+ if (data.devices !== void 0) this.devices = data.devices;
35061
35112
  }
35062
35113
  };
35063
35114
  Object.defineProperty(DeviceRouter.prototype, "schema", {
@@ -35114,20 +35165,22 @@ var Dimmer = class extends Entity {
35114
35165
  */
35115
35166
  constructor(data) {
35116
35167
  super(data);
35117
- this.id = data.id;
35118
- this.name = data.name;
35119
- this.type = data.type;
35120
- this.supportedNotifications = data.supportedNotifications;
35121
- this.notification = data.notification;
35122
- this.driver = data.driver;
35123
- this.offline = data.offline;
35124
- this.level = data.level;
35125
- this.systemId = data.systemId;
35126
- this.watts = data.watts;
35127
- this.icon = data.icon;
35128
- this.modelNumber = data.modelNumber;
35129
- this.serialNumber = data.serialNumber;
35130
- this.firmwareVersion = data.firmwareVersion;
35168
+ if (data.id !== void 0) this.id = data.id;
35169
+ if (data.name !== void 0) this.name = data.name;
35170
+ if (data.type !== void 0) this.type = data.type;
35171
+ if (data.supportedNotifications !== void 0)
35172
+ this.supportedNotifications = data.supportedNotifications;
35173
+ if (data.notification !== void 0) this.notification = data.notification;
35174
+ if (data.driver !== void 0) this.driver = data.driver;
35175
+ if (data.offline !== void 0) this.offline = data.offline;
35176
+ if (data.level !== void 0) this.level = data.level;
35177
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35178
+ if (data.watts !== void 0) this.watts = data.watts;
35179
+ if (data.icon !== void 0) this.icon = data.icon;
35180
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
35181
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
35182
+ if (data.firmwareVersion !== void 0)
35183
+ this.firmwareVersion = data.firmwareVersion;
35131
35184
  }
35132
35185
  };
35133
35186
  Object.defineProperty(Dimmer.prototype, "schema", {
@@ -35188,16 +35241,18 @@ var DiscoveredDevice = class extends Entity {
35188
35241
  */
35189
35242
  constructor(data) {
35190
35243
  super(data);
35191
- this.id = data.id;
35192
- this.name = data.name;
35193
- this.deviceId = data.deviceId;
35194
- this.type = data.type;
35195
- this.discriminator = data.discriminator;
35196
- this.driver = data.driver;
35197
- this.deviceData = data.deviceData;
35198
- this.ignore = data.ignore;
35199
- this.organizationId = data.organizationId;
35200
- this.propertyId = data.propertyId;
35244
+ if (data.id !== void 0) this.id = data.id;
35245
+ if (data.name !== void 0) this.name = data.name;
35246
+ if (data.deviceId !== void 0) this.deviceId = data.deviceId;
35247
+ if (data.type !== void 0) this.type = data.type;
35248
+ if (data.discriminator !== void 0)
35249
+ this.discriminator = data.discriminator;
35250
+ if (data.driver !== void 0) this.driver = data.driver;
35251
+ if (data.deviceData !== void 0) this.deviceData = data.deviceData;
35252
+ if (data.ignore !== void 0) this.ignore = data.ignore;
35253
+ if (data.organizationId !== void 0)
35254
+ this.organizationId = data.organizationId;
35255
+ if (data.propertyId !== void 0) this.propertyId = data.propertyId;
35201
35256
  }
35202
35257
  };
35203
35258
  Object.defineProperty(DiscoveredDevice.prototype, "schema", {
@@ -35266,20 +35321,21 @@ var EmailMessage = class extends Entity {
35266
35321
  */
35267
35322
  constructor(data) {
35268
35323
  super(data);
35269
- this.id = data.id;
35270
- this.type = data.type;
35271
- this.to = data.to;
35272
- this.from = data.from;
35273
- this.subject = data.subject;
35274
- this.status = data.status;
35275
- this.statusMessage = data.statusMessage;
35276
- this.html = data.html;
35277
- this.text = data.text;
35278
- this.driver = data.driver;
35279
- this.appData = data.appData;
35280
- this.createdAt = data.createdAt;
35281
- this.updatedAt = data.updatedAt;
35282
- this.systemId = data.systemId;
35324
+ if (data.id !== void 0) this.id = data.id;
35325
+ if (data.type !== void 0) this.type = data.type;
35326
+ if (data.to !== void 0) this.to = data.to;
35327
+ if (data.from !== void 0) this.from = data.from;
35328
+ if (data.subject !== void 0) this.subject = data.subject;
35329
+ if (data.status !== void 0) this.status = data.status;
35330
+ if (data.statusMessage !== void 0)
35331
+ this.statusMessage = data.statusMessage;
35332
+ if (data.html !== void 0) this.html = data.html;
35333
+ if (data.text !== void 0) this.text = data.text;
35334
+ if (data.driver !== void 0) this.driver = data.driver;
35335
+ if (data.appData !== void 0) this.appData = data.appData;
35336
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
35337
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
35338
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35283
35339
  }
35284
35340
  };
35285
35341
  Object.defineProperty(EmailMessage.prototype, "schema", {
@@ -35361,15 +35417,15 @@ var EnergyReport = class extends Entity {
35361
35417
  */
35362
35418
  constructor(data) {
35363
35419
  super(data);
35364
- this.id = data.id;
35365
- this.type = data.type;
35366
- this.reportTime = data.reportTime;
35367
- this.roomId = data.roomId;
35368
- this.first = data.first;
35369
- this.last = data.last;
35370
- this.consumption = data.consumption;
35371
- this.totals = data.totals;
35372
- this.costPerKw = data.costPerKw;
35420
+ if (data.id !== void 0) this.id = data.id;
35421
+ if (data.type !== void 0) this.type = data.type;
35422
+ if (data.reportTime !== void 0) this.reportTime = data.reportTime;
35423
+ if (data.roomId !== void 0) this.roomId = data.roomId;
35424
+ if (data.first !== void 0) this.first = data.first;
35425
+ if (data.last !== void 0) this.last = data.last;
35426
+ if (data.consumption !== void 0) this.consumption = data.consumption;
35427
+ if (data.totals !== void 0) this.totals = data.totals;
35428
+ if (data.costPerKw !== void 0) this.costPerKw = data.costPerKw;
35373
35429
  }
35374
35430
  };
35375
35431
  Object.defineProperty(EnergyReport.prototype, "schema", {
@@ -35452,14 +35508,14 @@ var EnergyReportShard = class extends Entity {
35452
35508
  */
35453
35509
  constructor(data) {
35454
35510
  super(data);
35455
- this.id = data.id;
35456
- this.type = data.type;
35457
- this.roomId = data.roomId;
35458
- this.first = data.first;
35459
- this.last = data.last;
35460
- this.data = data.data;
35461
- this.ndata = data.ndata;
35462
- this.expires = data.expires;
35511
+ if (data.id !== void 0) this.id = data.id;
35512
+ if (data.type !== void 0) this.type = data.type;
35513
+ if (data.roomId !== void 0) this.roomId = data.roomId;
35514
+ if (data.first !== void 0) this.first = data.first;
35515
+ if (data.last !== void 0) this.last = data.last;
35516
+ if (data.data !== void 0) this.data = data.data;
35517
+ if (data.ndata !== void 0) this.ndata = data.ndata;
35518
+ if (data.expires !== void 0) this.expires = data.expires;
35463
35519
  }
35464
35520
  };
35465
35521
  Object.defineProperty(EnergyReportShard.prototype, "schema", {
@@ -35540,18 +35596,20 @@ var Gateway = class extends Entity {
35540
35596
  */
35541
35597
  constructor(data) {
35542
35598
  super(data);
35543
- this.id = data.id;
35544
- this.type = data.type;
35545
- this.supportedNotifications = data.supportedNotifications;
35546
- this.notification = data.notification;
35547
- this.status = data.status;
35548
- this.systemId = data.systemId;
35549
- this.driver = data.driver;
35550
- this.watts = data.watts;
35551
- this.icon = data.icon;
35552
- this.modelNumber = data.modelNumber;
35553
- this.serialNumber = data.serialNumber;
35554
- this.firmwareVersion = data.firmwareVersion;
35599
+ if (data.id !== void 0) this.id = data.id;
35600
+ if (data.type !== void 0) this.type = data.type;
35601
+ if (data.supportedNotifications !== void 0)
35602
+ this.supportedNotifications = data.supportedNotifications;
35603
+ if (data.notification !== void 0) this.notification = data.notification;
35604
+ if (data.status !== void 0) this.status = data.status;
35605
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35606
+ if (data.driver !== void 0) this.driver = data.driver;
35607
+ if (data.watts !== void 0) this.watts = data.watts;
35608
+ if (data.icon !== void 0) this.icon = data.icon;
35609
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
35610
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
35611
+ if (data.firmwareVersion !== void 0)
35612
+ this.firmwareVersion = data.firmwareVersion;
35555
35613
  }
35556
35614
  };
35557
35615
  Object.defineProperty(Gateway.prototype, "schema", {
@@ -35613,19 +35671,21 @@ var Identification = class extends Entity {
35613
35671
  */
35614
35672
  constructor(data) {
35615
35673
  super(data);
35616
- this.id = data.id;
35617
- this.type = data.type;
35618
- this.number = data.number;
35619
- this.maskedNumber = data.maskedNumber;
35620
- this.encryptedNumber = data.encryptedNumber;
35621
- this.issued = data.issued;
35622
- this.expires = data.expires;
35623
- this.verified = data.verified;
35624
- this.matched = data.matched;
35625
- this.firstName = data.firstName;
35626
- this.lastName = data.lastName;
35627
- this.issuingCountry = data.issuingCountry;
35628
- this.systemId = data.systemId;
35674
+ if (data.id !== void 0) this.id = data.id;
35675
+ if (data.type !== void 0) this.type = data.type;
35676
+ if (data.number !== void 0) this.number = data.number;
35677
+ if (data.maskedNumber !== void 0) this.maskedNumber = data.maskedNumber;
35678
+ if (data.encryptedNumber !== void 0)
35679
+ this.encryptedNumber = data.encryptedNumber;
35680
+ if (data.issued !== void 0) this.issued = data.issued;
35681
+ if (data.expires !== void 0) this.expires = data.expires;
35682
+ if (data.verified !== void 0) this.verified = data.verified;
35683
+ if (data.matched !== void 0) this.matched = data.matched;
35684
+ if (data.firstName !== void 0) this.firstName = data.firstName;
35685
+ if (data.lastName !== void 0) this.lastName = data.lastName;
35686
+ if (data.issuingCountry !== void 0)
35687
+ this.issuingCountry = data.issuingCountry;
35688
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35629
35689
  }
35630
35690
  };
35631
35691
  Object.defineProperty(Identification.prototype, "schema", {
@@ -35689,15 +35749,17 @@ var Issue = class extends Entity {
35689
35749
  */
35690
35750
  constructor(data) {
35691
35751
  super(data);
35692
- this.id = data.id;
35693
- this.type = data.type;
35694
- this.name = data.name;
35695
- this.description = data.description;
35696
- this.department = data.department;
35697
- this.autoAssign = data.autoAssign;
35698
- this.systemKey = data.systemKey;
35699
- this.autoCreateTicket = data.autoCreateTicket;
35700
- this.excludedResources = data.excludedResources;
35752
+ if (data.id !== void 0) this.id = data.id;
35753
+ if (data.type !== void 0) this.type = data.type;
35754
+ if (data.name !== void 0) this.name = data.name;
35755
+ if (data.description !== void 0) this.description = data.description;
35756
+ if (data.department !== void 0) this.department = data.department;
35757
+ if (data.autoAssign !== void 0) this.autoAssign = data.autoAssign;
35758
+ if (data.systemKey !== void 0) this.systemKey = data.systemKey;
35759
+ if (data.autoCreateTicket !== void 0)
35760
+ this.autoCreateTicket = data.autoCreateTicket;
35761
+ if (data.excludedResources !== void 0)
35762
+ this.excludedResources = data.excludedResources;
35701
35763
  }
35702
35764
  };
35703
35765
  Object.defineProperty(Issue.prototype, "schema", {
@@ -35771,23 +35833,26 @@ var Lock = class extends Entity {
35771
35833
  */
35772
35834
  constructor(data) {
35773
35835
  super(data);
35774
- this.id = data.id;
35775
- this.name = data.name;
35776
- this.type = data.type;
35777
- this.offline = data.offline;
35778
- this.supportedNotifications = data.supportedNotifications;
35779
- this.notification = data.notification;
35780
- this.driver = data.driver;
35781
- this.state = data.state;
35782
- this.mode = data.mode;
35783
- this.supportedModes = data.supportedModes;
35784
- this.batteryLevel = data.batteryLevel;
35785
- this.systemId = data.systemId;
35786
- this.watts = data.watts;
35787
- this.icon = data.icon;
35788
- this.modelNumber = data.modelNumber;
35789
- this.serialNumber = data.serialNumber;
35790
- this.firmwareVersion = data.firmwareVersion;
35836
+ if (data.id !== void 0) this.id = data.id;
35837
+ if (data.name !== void 0) this.name = data.name;
35838
+ if (data.type !== void 0) this.type = data.type;
35839
+ if (data.offline !== void 0) this.offline = data.offline;
35840
+ if (data.supportedNotifications !== void 0)
35841
+ this.supportedNotifications = data.supportedNotifications;
35842
+ if (data.notification !== void 0) this.notification = data.notification;
35843
+ if (data.driver !== void 0) this.driver = data.driver;
35844
+ if (data.state !== void 0) this.state = data.state;
35845
+ if (data.mode !== void 0) this.mode = data.mode;
35846
+ if (data.supportedModes !== void 0)
35847
+ this.supportedModes = data.supportedModes;
35848
+ if (data.batteryLevel !== void 0) this.batteryLevel = data.batteryLevel;
35849
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35850
+ if (data.watts !== void 0) this.watts = data.watts;
35851
+ if (data.icon !== void 0) this.icon = data.icon;
35852
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
35853
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
35854
+ if (data.firmwareVersion !== void 0)
35855
+ this.firmwareVersion = data.firmwareVersion;
35791
35856
  }
35792
35857
  };
35793
35858
  Object.defineProperty(Lock.prototype, "schema", {
@@ -35889,15 +35954,15 @@ var Log = class extends Entity {
35889
35954
  */
35890
35955
  constructor(data) {
35891
35956
  super(data);
35892
- this.type = data.type;
35893
- this.timestamp = data.timestamp;
35894
- this.name = data.name;
35895
- this.field1 = data.field1;
35896
- this.field2 = data.field2;
35897
- this.field3 = data.field3;
35898
- this.field4 = data.field4;
35899
- this.field5 = data.field5;
35900
- this.field6 = data.field6;
35957
+ if (data.type !== void 0) this.type = data.type;
35958
+ if (data.timestamp !== void 0) this.timestamp = data.timestamp;
35959
+ if (data.name !== void 0) this.name = data.name;
35960
+ if (data.field1 !== void 0) this.field1 = data.field1;
35961
+ if (data.field2 !== void 0) this.field2 = data.field2;
35962
+ if (data.field3 !== void 0) this.field3 = data.field3;
35963
+ if (data.field4 !== void 0) this.field4 = data.field4;
35964
+ if (data.field5 !== void 0) this.field5 = data.field5;
35965
+ if (data.field6 !== void 0) this.field6 = data.field6;
35901
35966
  }
35902
35967
  };
35903
35968
  Object.defineProperty(Log.prototype, "schema", {
@@ -35978,21 +36043,22 @@ var MediaFile = class extends Entity {
35978
36043
  */
35979
36044
  constructor(data) {
35980
36045
  super(data);
35981
- this.id = data.id;
35982
- this.type = data.type;
35983
- this.name = data.name;
35984
- this.fileHash = data.fileHash;
35985
- this.category = data.category;
35986
- this.mimeType = data.mimeType;
35987
- this.data = data.data;
35988
- this.url = data.url;
35989
- this.width = data.width;
35990
- this.height = data.height;
35991
- this.size = data.size;
35992
- this.uploadUrl = data.uploadUrl;
35993
- this.uploadUrlExpires = data.uploadUrlExpires;
35994
- this.createdBy = data.createdBy;
35995
- this.systemId = data.systemId;
36046
+ if (data.id !== void 0) this.id = data.id;
36047
+ if (data.type !== void 0) this.type = data.type;
36048
+ if (data.name !== void 0) this.name = data.name;
36049
+ if (data.fileHash !== void 0) this.fileHash = data.fileHash;
36050
+ if (data.category !== void 0) this.category = data.category;
36051
+ if (data.mimeType !== void 0) this.mimeType = data.mimeType;
36052
+ if (data.data !== void 0) this.data = data.data;
36053
+ if (data.url !== void 0) this.url = data.url;
36054
+ if (data.width !== void 0) this.width = data.width;
36055
+ if (data.height !== void 0) this.height = data.height;
36056
+ if (data.size !== void 0) this.size = data.size;
36057
+ if (data.uploadUrl !== void 0) this.uploadUrl = data.uploadUrl;
36058
+ if (data.uploadUrlExpires !== void 0)
36059
+ this.uploadUrlExpires = data.uploadUrlExpires;
36060
+ if (data.createdBy !== void 0) this.createdBy = data.createdBy;
36061
+ if (data.systemId !== void 0) this.systemId = data.systemId;
35996
36062
  }
35997
36063
  createImageVariant(params) {
35998
36064
  if (this.mimeType != "image/*")
@@ -36091,35 +36157,42 @@ var MediaSource = class extends Entity {
36091
36157
  */
36092
36158
  constructor(data) {
36093
36159
  super(data);
36094
- this.id = data.id;
36095
- this.type = data.type;
36096
- this.discriminator = data.discriminator;
36097
- this.playlists = data.playlists;
36098
- this.remote = data.remote;
36099
- this.name = data.name;
36100
- this.driver = data.driver;
36101
- this.offline = data.offline;
36102
- this.audio = data.audio;
36103
- this.video = data.video;
36104
- this.powerFeedback = data.powerFeedback;
36105
- this.volumeFeedback = data.volumeFeedback;
36106
- this.muted = data.muted;
36107
- this.volume = data.volume;
36108
- this.brightness = data.brightness;
36109
- this.contrast = data.contrast;
36110
- this.power = data.power;
36111
- this.input = data.input;
36112
- this.supportedInputs = data.supportedInputs;
36113
- this.supportedOutputs = data.supportedOutputs;
36114
- this.command = data.command;
36115
- this.supportedNotifications = data.supportedNotifications;
36116
- this.notification = data.notification;
36117
- this.systemId = data.systemId;
36118
- this.watts = data.watts;
36119
- this.icon = data.icon;
36120
- this.modelNumber = data.modelNumber;
36121
- this.serialNumber = data.serialNumber;
36122
- this.firmwareVersion = data.firmwareVersion;
36160
+ if (data.id !== void 0) this.id = data.id;
36161
+ if (data.type !== void 0) this.type = data.type;
36162
+ if (data.discriminator !== void 0)
36163
+ this.discriminator = data.discriminator;
36164
+ if (data.playlists !== void 0) this.playlists = data.playlists;
36165
+ if (data.remote !== void 0) this.remote = data.remote;
36166
+ if (data.name !== void 0) this.name = data.name;
36167
+ if (data.driver !== void 0) this.driver = data.driver;
36168
+ if (data.offline !== void 0) this.offline = data.offline;
36169
+ if (data.audio !== void 0) this.audio = data.audio;
36170
+ if (data.video !== void 0) this.video = data.video;
36171
+ if (data.powerFeedback !== void 0)
36172
+ this.powerFeedback = data.powerFeedback;
36173
+ if (data.volumeFeedback !== void 0)
36174
+ this.volumeFeedback = data.volumeFeedback;
36175
+ if (data.muted !== void 0) this.muted = data.muted;
36176
+ if (data.volume !== void 0) this.volume = data.volume;
36177
+ if (data.brightness !== void 0) this.brightness = data.brightness;
36178
+ if (data.contrast !== void 0) this.contrast = data.contrast;
36179
+ if (data.power !== void 0) this.power = data.power;
36180
+ if (data.input !== void 0) this.input = data.input;
36181
+ if (data.supportedInputs !== void 0)
36182
+ this.supportedInputs = data.supportedInputs;
36183
+ if (data.supportedOutputs !== void 0)
36184
+ this.supportedOutputs = data.supportedOutputs;
36185
+ if (data.command !== void 0) this.command = data.command;
36186
+ if (data.supportedNotifications !== void 0)
36187
+ this.supportedNotifications = data.supportedNotifications;
36188
+ if (data.notification !== void 0) this.notification = data.notification;
36189
+ if (data.systemId !== void 0) this.systemId = data.systemId;
36190
+ if (data.watts !== void 0) this.watts = data.watts;
36191
+ if (data.icon !== void 0) this.icon = data.icon;
36192
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
36193
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
36194
+ if (data.firmwareVersion !== void 0)
36195
+ this.firmwareVersion = data.firmwareVersion;
36123
36196
  }
36124
36197
  };
36125
36198
  Object.defineProperty(MediaSource.prototype, "schema", {
@@ -36346,17 +36419,19 @@ var MotionSensor = class extends Entity {
36346
36419
  */
36347
36420
  constructor(data) {
36348
36421
  super(data);
36349
- this.id = data.id;
36350
- this.type = data.type;
36351
- this.driver = data.driver;
36352
- this.systemId = data.systemId;
36353
- this.supportedNotifications = data.supportedNotifications;
36354
- this.notification = data.notification;
36355
- this.watts = data.watts;
36356
- this.icon = data.icon;
36357
- this.modelNumber = data.modelNumber;
36358
- this.serialNumber = data.serialNumber;
36359
- this.firmwareVersion = data.firmwareVersion;
36422
+ if (data.id !== void 0) this.id = data.id;
36423
+ if (data.type !== void 0) this.type = data.type;
36424
+ if (data.driver !== void 0) this.driver = data.driver;
36425
+ if (data.systemId !== void 0) this.systemId = data.systemId;
36426
+ if (data.supportedNotifications !== void 0)
36427
+ this.supportedNotifications = data.supportedNotifications;
36428
+ if (data.notification !== void 0) this.notification = data.notification;
36429
+ if (data.watts !== void 0) this.watts = data.watts;
36430
+ if (data.icon !== void 0) this.icon = data.icon;
36431
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
36432
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
36433
+ if (data.firmwareVersion !== void 0)
36434
+ this.firmwareVersion = data.firmwareVersion;
36360
36435
  }
36361
36436
  };
36362
36437
  Object.defineProperty(MotionSensor.prototype, "schema", {
@@ -36417,18 +36492,19 @@ var Order = class extends Entity {
36417
36492
  */
36418
36493
  constructor(data) {
36419
36494
  super(data);
36420
- this.id = data.id;
36421
- this.type = data.type;
36422
- this.orderNumber = data.orderNumber;
36423
- this.status = data.status;
36424
- this.userId = data.userId;
36425
- this.reservationId = data.reservationId;
36426
- this.date = data.date;
36427
- this.items = data.items;
36428
- this.taxes = data.taxes;
36429
- this.fees = data.fees;
36430
- this.delivery = data.delivery;
36431
- this.payments = data.payments;
36495
+ if (data.id !== void 0) this.id = data.id;
36496
+ if (data.type !== void 0) this.type = data.type;
36497
+ if (data.orderNumber !== void 0) this.orderNumber = data.orderNumber;
36498
+ if (data.status !== void 0) this.status = data.status;
36499
+ if (data.userId !== void 0) this.userId = data.userId;
36500
+ if (data.reservationId !== void 0)
36501
+ this.reservationId = data.reservationId;
36502
+ if (data.date !== void 0) this.date = data.date;
36503
+ if (data.items !== void 0) this.items = data.items;
36504
+ if (data.taxes !== void 0) this.taxes = data.taxes;
36505
+ if (data.fees !== void 0) this.fees = data.fees;
36506
+ if (data.delivery !== void 0) this.delivery = data.delivery;
36507
+ if (data.payments !== void 0) this.payments = data.payments;
36432
36508
  }
36433
36509
  getSubTotal() {
36434
36510
  return this.items.reduce((acc, item) => {
@@ -36673,17 +36749,18 @@ var Organization = class extends Entity {
36673
36749
  */
36674
36750
  constructor(data) {
36675
36751
  super(data);
36676
- this.id = data.id;
36677
- this.type = data.type;
36678
- this.accountNumber = data.accountNumber;
36679
- this.name = data.name;
36680
- this.properties = data.properties;
36681
- this.hostname = data.hostname;
36682
- this.appManifest = data.appManifest;
36683
- this.tickets = data.tickets;
36684
- this.credentials = data.credentials;
36685
- this.createdAt = data.createdAt;
36686
- this.updatedAt = data.updatedAt;
36752
+ if (data.id !== void 0) this.id = data.id;
36753
+ if (data.type !== void 0) this.type = data.type;
36754
+ if (data.accountNumber !== void 0)
36755
+ this.accountNumber = data.accountNumber;
36756
+ if (data.name !== void 0) this.name = data.name;
36757
+ if (data.properties !== void 0) this.properties = data.properties;
36758
+ if (data.hostname !== void 0) this.hostname = data.hostname;
36759
+ if (data.appManifest !== void 0) this.appManifest = data.appManifest;
36760
+ if (data.tickets !== void 0) this.tickets = data.tickets;
36761
+ if (data.credentials !== void 0) this.credentials = data.credentials;
36762
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
36763
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
36687
36764
  }
36688
36765
  };
36689
36766
  Object.defineProperty(Organization.prototype, "schema", {
@@ -36816,14 +36893,14 @@ var Payment = class extends Entity {
36816
36893
  */
36817
36894
  constructor(data) {
36818
36895
  super(data);
36819
- this.id = data.id;
36820
- this.type = data.type;
36821
- this.enabled = data.enabled;
36822
- this.storageData = data.storageData;
36823
- this.maskedNumber = data.maskedNumber;
36824
- this.issued = data.issued;
36825
- this.expires = data.expires;
36826
- this.systemId = data.systemId;
36896
+ if (data.id !== void 0) this.id = data.id;
36897
+ if (data.type !== void 0) this.type = data.type;
36898
+ if (data.enabled !== void 0) this.enabled = data.enabled;
36899
+ if (data.storageData !== void 0) this.storageData = data.storageData;
36900
+ if (data.maskedNumber !== void 0) this.maskedNumber = data.maskedNumber;
36901
+ if (data.issued !== void 0) this.issued = data.issued;
36902
+ if (data.expires !== void 0) this.expires = data.expires;
36903
+ if (data.systemId !== void 0) this.systemId = data.systemId;
36827
36904
  }
36828
36905
  };
36829
36906
  Object.defineProperty(Payment.prototype, "schema", {
@@ -36888,14 +36965,16 @@ var Policy = class extends Entity {
36888
36965
  */
36889
36966
  constructor(data) {
36890
36967
  super(data);
36891
- this.id = data.id;
36892
- this.type = data.type;
36893
- this.discriminator = data.discriminator;
36894
- this.name = data.name;
36895
- this.description = data.description;
36896
- this.organizationId = data.organizationId;
36897
- this.propertyId = data.propertyId;
36898
- this.permissions = data.permissions;
36968
+ if (data.id !== void 0) this.id = data.id;
36969
+ if (data.type !== void 0) this.type = data.type;
36970
+ if (data.discriminator !== void 0)
36971
+ this.discriminator = data.discriminator;
36972
+ if (data.name !== void 0) this.name = data.name;
36973
+ if (data.description !== void 0) this.description = data.description;
36974
+ if (data.organizationId !== void 0)
36975
+ this.organizationId = data.organizationId;
36976
+ if (data.propertyId !== void 0) this.propertyId = data.propertyId;
36977
+ if (data.permissions !== void 0) this.permissions = data.permissions;
36899
36978
  }
36900
36979
  };
36901
36980
  Object.defineProperty(Policy.prototype, "schema", {
@@ -36969,17 +37048,17 @@ var Product = class extends Entity {
36969
37048
  */
36970
37049
  constructor(data) {
36971
37050
  super(data);
36972
- this.id = data.id;
36973
- this.type = data.type;
36974
- this.name = data.name;
36975
- this.driver = data.driver;
36976
- this.description = data.description;
36977
- this.price = data.price;
36978
- this.tax = data.tax;
36979
- this.image = data.image;
36980
- this.category = data.category;
36981
- this.imageUrl = data.imageUrl;
36982
- this.systemId = data.systemId;
37051
+ if (data.id !== void 0) this.id = data.id;
37052
+ if (data.type !== void 0) this.type = data.type;
37053
+ if (data.name !== void 0) this.name = data.name;
37054
+ if (data.driver !== void 0) this.driver = data.driver;
37055
+ if (data.description !== void 0) this.description = data.description;
37056
+ if (data.price !== void 0) this.price = data.price;
37057
+ if (data.tax !== void 0) this.tax = data.tax;
37058
+ if (data.image !== void 0) this.image = data.image;
37059
+ if (data.category !== void 0) this.category = data.category;
37060
+ if (data.imageUrl !== void 0) this.imageUrl = data.imageUrl;
37061
+ if (data.systemId !== void 0) this.systemId = data.systemId;
36983
37062
  }
36984
37063
  };
36985
37064
  Object.defineProperty(Product.prototype, "schema", {
@@ -37034,9 +37113,10 @@ var Property = class extends Entity {
37034
37113
  * @property {{id?: string, line1?: string, line2?: string, line3?: string, city?: string, state?: string, postalCode?: string, countryCode?: string}} [address]
37035
37114
  * @property {number} [latitude]
37036
37115
  * @property {number} [longitude]
37037
- * @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":{}}
37038
- * @property {{disabledSystems?: ("climate"|"lights"|"shades"|"tv"|"doors")[], commonAreas?: {spaces?: string[]}, alarmConfig?: object}} [appFeatures.RoomControl]
37116
+ * @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":{}}
37117
+ * @property {{disabledSystems?: ("climate"|"lights"|"shades"|"tv"|"doors")[], excludedDeviceIds?: string[], commonAreas?: {spaces?: string[]}, alarmConfig?: object}} [appFeatures.RoomControl]
37039
37118
  * @property {("climate"|"lights"|"shades"|"tv"|"doors")[]} [appFeatures.RoomControl.disabledSystems]
37119
+ * @property {string[]} [appFeatures.RoomControl.excludedDeviceIds] - Default: []
37040
37120
  * @property {{spaces?: string[]}} [appFeatures.RoomControl.commonAreas]
37041
37121
  * @property {string[]} [appFeatures.RoomControl.commonAreas.spaces]
37042
37122
  * @property {object} [appFeatures.RoomControl.alarmConfig]
@@ -37110,24 +37190,27 @@ var Property = class extends Entity {
37110
37190
  */
37111
37191
  constructor(data) {
37112
37192
  super(data);
37113
- this.id = data.id;
37114
- this.name = data.name;
37115
- this.type = data.type;
37116
- this.discriminator = data.discriminator;
37117
- this.organization = data.organization;
37118
- this.departments = data.departments;
37119
- this.testModeEnabled = data.testModeEnabled;
37120
- this.testMode = data.testMode;
37121
- this.timezone = data.timezone;
37122
- this.smsNumber = data.smsNumber;
37123
- this.checkInTime = data.checkInTime;
37124
- this.checkOutTime = data.checkOutTime;
37125
- this.address = data.address;
37126
- this.latitude = data.latitude;
37127
- this.longitude = data.longitude;
37128
- this.appFeatures = data.appFeatures;
37129
- this.notifications = data.notifications;
37130
- this.credentials = data.credentials;
37193
+ if (data.id !== void 0) this.id = data.id;
37194
+ if (data.name !== void 0) this.name = data.name;
37195
+ if (data.type !== void 0) this.type = data.type;
37196
+ if (data.discriminator !== void 0)
37197
+ this.discriminator = data.discriminator;
37198
+ if (data.organization !== void 0) this.organization = data.organization;
37199
+ if (data.departments !== void 0) this.departments = data.departments;
37200
+ if (data.testModeEnabled !== void 0)
37201
+ this.testModeEnabled = data.testModeEnabled;
37202
+ if (data.testMode !== void 0) this.testMode = data.testMode;
37203
+ if (data.timezone !== void 0) this.timezone = data.timezone;
37204
+ if (data.smsNumber !== void 0) this.smsNumber = data.smsNumber;
37205
+ if (data.checkInTime !== void 0) this.checkInTime = data.checkInTime;
37206
+ if (data.checkOutTime !== void 0) this.checkOutTime = data.checkOutTime;
37207
+ if (data.address !== void 0) this.address = data.address;
37208
+ if (data.latitude !== void 0) this.latitude = data.latitude;
37209
+ if (data.longitude !== void 0) this.longitude = data.longitude;
37210
+ if (data.appFeatures !== void 0) this.appFeatures = data.appFeatures;
37211
+ if (data.notifications !== void 0)
37212
+ this.notifications = data.notifications;
37213
+ if (data.credentials !== void 0) this.credentials = data.credentials;
37131
37214
  }
37132
37215
  };
37133
37216
  Object.defineProperty(Property.prototype, "schema", {
@@ -37199,6 +37282,11 @@ Object.defineProperty(Property.prototype, "schema", {
37199
37282
  enum: ["climate", "lights", "shades", "tv", "doors"]
37200
37283
  }
37201
37284
  },
37285
+ excludedDeviceIds: {
37286
+ type: "array",
37287
+ items: { type: "string" },
37288
+ default: []
37289
+ },
37202
37290
  commonAreas: {
37203
37291
  type: "object",
37204
37292
  properties: {
@@ -37477,34 +37565,46 @@ var Reservation = class extends Entity {
37477
37565
  */
37478
37566
  constructor(data) {
37479
37567
  super(data);
37480
- this.id = data.id;
37481
- this.driver = data.driver;
37482
- this.primaryGuest = data.primaryGuest;
37483
- this.type = data.type;
37484
- this.sharedGuests = data.sharedGuests;
37485
- this.spaceCategory = data.spaceCategory;
37486
- this.space = data.space;
37487
- this.previousSpace = data.previousSpace;
37488
- this.status = data.status;
37489
- this.mobileCheckInSpaceCategoryChanged = data.mobileCheckInSpaceCategoryChanged;
37490
- this.mobileCheckInSpaceChanged = data.mobileCheckInSpaceChanged;
37491
- this.mobileCheckInStatus = data.mobileCheckInStatus;
37492
- this.mobileCheckInStatusMessage = data.mobileCheckInStatusMessage;
37493
- this.confirmationNumber = data.confirmationNumber;
37494
- this.expectedCheckInDateTime = data.expectedCheckInDateTime;
37495
- this.checkInDateTime = data.checkInDateTime;
37496
- this.checkOutDateTime = data.checkOutDateTime;
37497
- this.adultCount = data.adultCount;
37498
- this.childCount = data.childCount;
37499
- this.spaceCategoryAvailabilites = data.spaceCategoryAvailabilites;
37500
- this.revenue = data.revenue;
37501
- this.rateSuppressed = data.rateSuppressed;
37502
- this.payment = data.payment;
37503
- this.company = data.company;
37504
- this.travelAgent = data.travelAgent;
37505
- this.systemId = data.systemId;
37506
- this.metadata = data.metadata;
37507
- this.updatedAt = data.updatedAt;
37568
+ if (data.id !== void 0) this.id = data.id;
37569
+ if (data.driver !== void 0) this.driver = data.driver;
37570
+ if (data.primaryGuest !== void 0) this.primaryGuest = data.primaryGuest;
37571
+ if (data.type !== void 0) this.type = data.type;
37572
+ if (data.sharedGuests !== void 0) this.sharedGuests = data.sharedGuests;
37573
+ if (data.spaceCategory !== void 0)
37574
+ this.spaceCategory = data.spaceCategory;
37575
+ if (data.space !== void 0) this.space = data.space;
37576
+ if (data.previousSpace !== void 0)
37577
+ this.previousSpace = data.previousSpace;
37578
+ if (data.status !== void 0) this.status = data.status;
37579
+ if (data.mobileCheckInSpaceCategoryChanged !== void 0)
37580
+ this.mobileCheckInSpaceCategoryChanged = data.mobileCheckInSpaceCategoryChanged;
37581
+ if (data.mobileCheckInSpaceChanged !== void 0)
37582
+ this.mobileCheckInSpaceChanged = data.mobileCheckInSpaceChanged;
37583
+ if (data.mobileCheckInStatus !== void 0)
37584
+ this.mobileCheckInStatus = data.mobileCheckInStatus;
37585
+ if (data.mobileCheckInStatusMessage !== void 0)
37586
+ this.mobileCheckInStatusMessage = data.mobileCheckInStatusMessage;
37587
+ if (data.confirmationNumber !== void 0)
37588
+ this.confirmationNumber = data.confirmationNumber;
37589
+ if (data.expectedCheckInDateTime !== void 0)
37590
+ this.expectedCheckInDateTime = data.expectedCheckInDateTime;
37591
+ if (data.checkInDateTime !== void 0)
37592
+ this.checkInDateTime = data.checkInDateTime;
37593
+ if (data.checkOutDateTime !== void 0)
37594
+ this.checkOutDateTime = data.checkOutDateTime;
37595
+ if (data.adultCount !== void 0) this.adultCount = data.adultCount;
37596
+ if (data.childCount !== void 0) this.childCount = data.childCount;
37597
+ if (data.spaceCategoryAvailabilites !== void 0)
37598
+ this.spaceCategoryAvailabilites = data.spaceCategoryAvailabilites;
37599
+ if (data.revenue !== void 0) this.revenue = data.revenue;
37600
+ if (data.rateSuppressed !== void 0)
37601
+ this.rateSuppressed = data.rateSuppressed;
37602
+ if (data.payment !== void 0) this.payment = data.payment;
37603
+ if (data.company !== void 0) this.company = data.company;
37604
+ if (data.travelAgent !== void 0) this.travelAgent = data.travelAgent;
37605
+ if (data.systemId !== void 0) this.systemId = data.systemId;
37606
+ if (data.metadata !== void 0) this.metadata = data.metadata;
37607
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
37508
37608
  }
37509
37609
  checkInTime(tz) {
37510
37610
  return new Date(this.checkInDateTime).toLocaleString("default", {
@@ -37651,23 +37751,25 @@ var Room = class extends Entity {
37651
37751
  */
37652
37752
  constructor(data) {
37653
37753
  super(data);
37654
- this.id = data.id;
37655
- this.type = data.type;
37656
- this.name = data.name;
37657
- this.floor = data.floor;
37658
- this.dimmers = data.dimmers;
37659
- this.switches = data.switches;
37660
- this.thermostats = data.thermostats;
37661
- this.locks = data.locks;
37662
- this.windowCoverings = data.windowCoverings;
37663
- this.courtesy = data.courtesy;
37664
- this.cameras = data.cameras;
37665
- this.mediaSources = data.mediaSources;
37666
- this.motionSensors = data.motionSensors;
37667
- this.alarms = data.alarms;
37668
- this.occupiedAt = data.occupiedAt;
37669
- this.createdAt = data.createdAt;
37670
- this.updatedAt = data.updatedAt;
37754
+ if (data.id !== void 0) this.id = data.id;
37755
+ if (data.type !== void 0) this.type = data.type;
37756
+ if (data.name !== void 0) this.name = data.name;
37757
+ if (data.floor !== void 0) this.floor = data.floor;
37758
+ if (data.dimmers !== void 0) this.dimmers = data.dimmers;
37759
+ if (data.switches !== void 0) this.switches = data.switches;
37760
+ if (data.thermostats !== void 0) this.thermostats = data.thermostats;
37761
+ if (data.locks !== void 0) this.locks = data.locks;
37762
+ if (data.windowCoverings !== void 0)
37763
+ this.windowCoverings = data.windowCoverings;
37764
+ if (data.courtesy !== void 0) this.courtesy = data.courtesy;
37765
+ if (data.cameras !== void 0) this.cameras = data.cameras;
37766
+ if (data.mediaSources !== void 0) this.mediaSources = data.mediaSources;
37767
+ if (data.motionSensors !== void 0)
37768
+ this.motionSensors = data.motionSensors;
37769
+ if (data.alarms !== void 0) this.alarms = data.alarms;
37770
+ if (data.occupiedAt !== void 0) this.occupiedAt = data.occupiedAt;
37771
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
37772
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
37671
37773
  }
37672
37774
  static getDevicePath(type) {
37673
37775
  switch (type) {
@@ -37854,13 +37956,13 @@ var Scene = class extends Entity {
37854
37956
  */
37855
37957
  constructor(data) {
37856
37958
  super(data);
37857
- this.id = data.id;
37858
- this.name = data.name;
37859
- this.description = data.description;
37860
- this.type = data.type;
37861
- this.devices = data.devices;
37862
- this.isDefault = data.isDefault;
37863
- this.showOnUi = data.showOnUi;
37959
+ if (data.id !== void 0) this.id = data.id;
37960
+ if (data.name !== void 0) this.name = data.name;
37961
+ if (data.description !== void 0) this.description = data.description;
37962
+ if (data.type !== void 0) this.type = data.type;
37963
+ if (data.devices !== void 0) this.devices = data.devices;
37964
+ if (data.isDefault !== void 0) this.isDefault = data.isDefault;
37965
+ if (data.showOnUi !== void 0) this.showOnUi = data.showOnUi;
37864
37966
  }
37865
37967
  };
37866
37968
  Object.defineProperty(Scene.prototype, "schema", {
@@ -37983,12 +38085,12 @@ var ShortLink = class extends Entity {
37983
38085
  */
37984
38086
  constructor(data) {
37985
38087
  super(data);
37986
- this.id = data.id;
37987
- this.type = data.type;
37988
- this.title = data.title;
37989
- this.destination = data.destination;
37990
- this.url = data.url;
37991
- this.systemId = data.systemId;
38088
+ if (data.id !== void 0) this.id = data.id;
38089
+ if (data.type !== void 0) this.type = data.type;
38090
+ if (data.title !== void 0) this.title = data.title;
38091
+ if (data.destination !== void 0) this.destination = data.destination;
38092
+ if (data.url !== void 0) this.url = data.url;
38093
+ if (data.systemId !== void 0) this.systemId = data.systemId;
37992
38094
  }
37993
38095
  };
37994
38096
  Object.defineProperty(ShortLink.prototype, "schema", {
@@ -38040,18 +38142,18 @@ var SmsMessage = class extends Entity {
38040
38142
  */
38041
38143
  constructor(data) {
38042
38144
  super(data);
38043
- this.id = data.id;
38044
- this.type = data.type;
38045
- this.to = data.to;
38046
- this.from = data.from;
38047
- this.media = data.media;
38048
- this.status = data.status;
38049
- this.body = data.body;
38050
- this.driver = data.driver;
38051
- this.appData = data.appData;
38052
- this.createdAt = data.createdAt;
38053
- this.updatedAt = data.updatedAt;
38054
- this.systemId = data.systemId;
38145
+ if (data.id !== void 0) this.id = data.id;
38146
+ if (data.type !== void 0) this.type = data.type;
38147
+ if (data.to !== void 0) this.to = data.to;
38148
+ if (data.from !== void 0) this.from = data.from;
38149
+ if (data.media !== void 0) this.media = data.media;
38150
+ if (data.status !== void 0) this.status = data.status;
38151
+ if (data.body !== void 0) this.body = data.body;
38152
+ if (data.driver !== void 0) this.driver = data.driver;
38153
+ if (data.appData !== void 0) this.appData = data.appData;
38154
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
38155
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
38156
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38055
38157
  }
38056
38158
  };
38057
38159
  Object.defineProperty(SmsMessage.prototype, "schema", {
@@ -38131,22 +38233,26 @@ var Space = class extends Entity {
38131
38233
  */
38132
38234
  constructor(data) {
38133
38235
  super(data);
38134
- this.id = data.id;
38135
- this.name = data.name;
38136
- this.type = data.type;
38137
- this.discriminator = data.discriminator;
38138
- this.driver = data.driver;
38139
- this.category = data.category;
38140
- this.rooms = data.rooms;
38141
- this.subGroups = data.subGroups;
38142
- this.occupied = data.occupied;
38143
- this.inUse = data.inUse;
38144
- this.eco = data.eco;
38145
- this.features = data.features;
38146
- this.maximumOccupancy = data.maximumOccupancy;
38147
- this.housekeepingStatus = data.housekeepingStatus;
38148
- this.serviceStatus = data.serviceStatus;
38149
- this.systemId = data.systemId;
38236
+ if (data.id !== void 0) this.id = data.id;
38237
+ if (data.name !== void 0) this.name = data.name;
38238
+ if (data.type !== void 0) this.type = data.type;
38239
+ if (data.discriminator !== void 0)
38240
+ this.discriminator = data.discriminator;
38241
+ if (data.driver !== void 0) this.driver = data.driver;
38242
+ if (data.category !== void 0) this.category = data.category;
38243
+ if (data.rooms !== void 0) this.rooms = data.rooms;
38244
+ if (data.subGroups !== void 0) this.subGroups = data.subGroups;
38245
+ if (data.occupied !== void 0) this.occupied = data.occupied;
38246
+ if (data.inUse !== void 0) this.inUse = data.inUse;
38247
+ if (data.eco !== void 0) this.eco = data.eco;
38248
+ if (data.features !== void 0) this.features = data.features;
38249
+ if (data.maximumOccupancy !== void 0)
38250
+ this.maximumOccupancy = data.maximumOccupancy;
38251
+ if (data.housekeepingStatus !== void 0)
38252
+ this.housekeepingStatus = data.housekeepingStatus;
38253
+ if (data.serviceStatus !== void 0)
38254
+ this.serviceStatus = data.serviceStatus;
38255
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38150
38256
  }
38151
38257
  get floor() {
38152
38258
  const floors = /* @__PURE__ */ new Set();
@@ -38311,21 +38417,24 @@ var Switch = class extends Entity {
38311
38417
  */
38312
38418
  constructor(data) {
38313
38419
  super(data);
38314
- this.id = data.id;
38315
- this.name = data.name;
38316
- this.type = data.type;
38317
- this.discriminator = data.discriminator;
38318
- this.supportedNotifications = data.supportedNotifications;
38319
- this.notification = data.notification;
38320
- this.driver = data.driver;
38321
- this.offline = data.offline;
38322
- this.state = data.state;
38323
- this.systemId = data.systemId;
38324
- this.watts = data.watts;
38325
- this.icon = data.icon;
38326
- this.modelNumber = data.modelNumber;
38327
- this.serialNumber = data.serialNumber;
38328
- this.firmwareVersion = data.firmwareVersion;
38420
+ if (data.id !== void 0) this.id = data.id;
38421
+ if (data.name !== void 0) this.name = data.name;
38422
+ if (data.type !== void 0) this.type = data.type;
38423
+ if (data.discriminator !== void 0)
38424
+ this.discriminator = data.discriminator;
38425
+ if (data.supportedNotifications !== void 0)
38426
+ this.supportedNotifications = data.supportedNotifications;
38427
+ if (data.notification !== void 0) this.notification = data.notification;
38428
+ if (data.driver !== void 0) this.driver = data.driver;
38429
+ if (data.offline !== void 0) this.offline = data.offline;
38430
+ if (data.state !== void 0) this.state = data.state;
38431
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38432
+ if (data.watts !== void 0) this.watts = data.watts;
38433
+ if (data.icon !== void 0) this.icon = data.icon;
38434
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
38435
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
38436
+ if (data.firmwareVersion !== void 0)
38437
+ this.firmwareVersion = data.firmwareVersion;
38329
38438
  }
38330
38439
  };
38331
38440
  Object.defineProperty(Switch.prototype, "schema", {
@@ -38399,28 +38508,29 @@ var SystemUser = class extends Entity {
38399
38508
  */
38400
38509
  constructor(data) {
38401
38510
  super(data);
38402
- this.id = data.id;
38403
- this.type = data.type;
38404
- this.driver = data.driver;
38405
- this.firstName = data.firstName;
38406
- this.lastName = data.lastName;
38407
- this.phone = data.phone;
38408
- this.email = data.email;
38409
- this.address = data.address;
38410
- this.photo = data.photo;
38411
- this.jobTitle = data.jobTitle;
38412
- this.dob = data.dob;
38413
- this.gender = data.gender;
38414
- this.roles = data.roles;
38415
- this.nationality = data.nationality;
38416
- this.notes = data.notes;
38417
- this.files = data.files;
38418
- this.identifications = data.identifications;
38419
- this.payments = data.payments;
38420
- this.revenue = data.revenue;
38421
- this.createdAt = data.createdAt;
38422
- this.updatedAt = data.updatedAt;
38423
- this.systemId = data.systemId;
38511
+ if (data.id !== void 0) this.id = data.id;
38512
+ if (data.type !== void 0) this.type = data.type;
38513
+ if (data.driver !== void 0) this.driver = data.driver;
38514
+ if (data.firstName !== void 0) this.firstName = data.firstName;
38515
+ if (data.lastName !== void 0) this.lastName = data.lastName;
38516
+ if (data.phone !== void 0) this.phone = data.phone;
38517
+ if (data.email !== void 0) this.email = data.email;
38518
+ if (data.address !== void 0) this.address = data.address;
38519
+ if (data.photo !== void 0) this.photo = data.photo;
38520
+ if (data.jobTitle !== void 0) this.jobTitle = data.jobTitle;
38521
+ if (data.dob !== void 0) this.dob = data.dob;
38522
+ if (data.gender !== void 0) this.gender = data.gender;
38523
+ if (data.roles !== void 0) this.roles = data.roles;
38524
+ if (data.nationality !== void 0) this.nationality = data.nationality;
38525
+ if (data.notes !== void 0) this.notes = data.notes;
38526
+ if (data.files !== void 0) this.files = data.files;
38527
+ if (data.identifications !== void 0)
38528
+ this.identifications = data.identifications;
38529
+ if (data.payments !== void 0) this.payments = data.payments;
38530
+ if (data.revenue !== void 0) this.revenue = data.revenue;
38531
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
38532
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
38533
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38424
38534
  }
38425
38535
  };
38426
38536
  Object.defineProperty(SystemUser.prototype, "schema", {
@@ -38523,33 +38633,41 @@ var Thermostat = class extends Entity {
38523
38633
  */
38524
38634
  constructor(data) {
38525
38635
  super(data);
38526
- this.id = data.id;
38527
- this.name = data.name;
38528
- this.type = data.type;
38529
- this.driver = data.driver;
38530
- this.offline = data.offline;
38531
- this.supportedNotifications = data.supportedNotifications;
38532
- this.notification = data.notification;
38533
- this.currentTemperature = data.currentTemperature;
38534
- this.currentHumidity = data.currentHumidity;
38535
- this.hvacMode = data.hvacMode;
38536
- this.hvacState = data.hvacState;
38537
- this.fanMode = data.fanMode;
38538
- this.fanState = data.fanState;
38539
- this.temperatureScale = data.temperatureScale;
38540
- this.humidityScale = data.humidityScale;
38541
- this.supportedHvacModes = data.supportedHvacModes;
38542
- this.supportedFanModes = data.supportedFanModes;
38543
- this.setpoints = data.setpoints;
38544
- this.minAutoDelta = data.minAutoDelta;
38545
- this.cycleRate = data.cycleRate;
38546
- this.batteryLevel = data.batteryLevel;
38547
- this.systemId = data.systemId;
38548
- this.watts = data.watts;
38549
- this.icon = data.icon;
38550
- this.modelNumber = data.modelNumber;
38551
- this.serialNumber = data.serialNumber;
38552
- this.firmwareVersion = data.firmwareVersion;
38636
+ if (data.id !== void 0) this.id = data.id;
38637
+ if (data.name !== void 0) this.name = data.name;
38638
+ if (data.type !== void 0) this.type = data.type;
38639
+ if (data.driver !== void 0) this.driver = data.driver;
38640
+ if (data.offline !== void 0) this.offline = data.offline;
38641
+ if (data.supportedNotifications !== void 0)
38642
+ this.supportedNotifications = data.supportedNotifications;
38643
+ if (data.notification !== void 0) this.notification = data.notification;
38644
+ if (data.currentTemperature !== void 0)
38645
+ this.currentTemperature = data.currentTemperature;
38646
+ if (data.currentHumidity !== void 0)
38647
+ this.currentHumidity = data.currentHumidity;
38648
+ if (data.hvacMode !== void 0) this.hvacMode = data.hvacMode;
38649
+ if (data.hvacState !== void 0) this.hvacState = data.hvacState;
38650
+ if (data.fanMode !== void 0) this.fanMode = data.fanMode;
38651
+ if (data.fanState !== void 0) this.fanState = data.fanState;
38652
+ if (data.temperatureScale !== void 0)
38653
+ this.temperatureScale = data.temperatureScale;
38654
+ if (data.humidityScale !== void 0)
38655
+ this.humidityScale = data.humidityScale;
38656
+ if (data.supportedHvacModes !== void 0)
38657
+ this.supportedHvacModes = data.supportedHvacModes;
38658
+ if (data.supportedFanModes !== void 0)
38659
+ this.supportedFanModes = data.supportedFanModes;
38660
+ if (data.setpoints !== void 0) this.setpoints = data.setpoints;
38661
+ if (data.minAutoDelta !== void 0) this.minAutoDelta = data.minAutoDelta;
38662
+ if (data.cycleRate !== void 0) this.cycleRate = data.cycleRate;
38663
+ if (data.batteryLevel !== void 0) this.batteryLevel = data.batteryLevel;
38664
+ if (data.systemId !== void 0) this.systemId = data.systemId;
38665
+ if (data.watts !== void 0) this.watts = data.watts;
38666
+ if (data.icon !== void 0) this.icon = data.icon;
38667
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
38668
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
38669
+ if (data.firmwareVersion !== void 0)
38670
+ this.firmwareVersion = data.firmwareVersion;
38553
38671
  }
38554
38672
  };
38555
38673
  Object.defineProperty(Thermostat.prototype, "schema", {
@@ -38714,27 +38832,28 @@ var Ticket = class extends Entity {
38714
38832
  */
38715
38833
  constructor(data) {
38716
38834
  super(data);
38717
- this.id = data.id;
38718
- this.type = data.type;
38719
- this.number = data.number;
38720
- this.issueId = data.issueId;
38721
- this.conversation = data.conversation;
38722
- this.openedBy = data.openedBy;
38723
- this.requester = data.requester;
38724
- this.assignedTo = data.assignedTo;
38725
- this.status = data.status;
38726
- this.priority = data.priority;
38727
- this.tags = data.tags;
38728
- this.department = data.department;
38729
- this.rating = data.rating;
38730
- this.ratingComment = data.ratingComment;
38731
- this.tipAmount = data.tipAmount;
38732
- this.autoCloseAt = data.autoCloseAt;
38733
- this.scheduleDate = data.scheduleDate;
38734
- this.createdAt = data.createdAt;
38735
- this.updatedAt = data.updatedAt;
38736
- this.solvedAt = data.solvedAt;
38737
- this.closedAt = data.closedAt;
38835
+ if (data.id !== void 0) this.id = data.id;
38836
+ if (data.type !== void 0) this.type = data.type;
38837
+ if (data.number !== void 0) this.number = data.number;
38838
+ if (data.issueId !== void 0) this.issueId = data.issueId;
38839
+ if (data.conversation !== void 0) this.conversation = data.conversation;
38840
+ if (data.openedBy !== void 0) this.openedBy = data.openedBy;
38841
+ if (data.requester !== void 0) this.requester = data.requester;
38842
+ if (data.assignedTo !== void 0) this.assignedTo = data.assignedTo;
38843
+ if (data.status !== void 0) this.status = data.status;
38844
+ if (data.priority !== void 0) this.priority = data.priority;
38845
+ if (data.tags !== void 0) this.tags = data.tags;
38846
+ if (data.department !== void 0) this.department = data.department;
38847
+ if (data.rating !== void 0) this.rating = data.rating;
38848
+ if (data.ratingComment !== void 0)
38849
+ this.ratingComment = data.ratingComment;
38850
+ if (data.tipAmount !== void 0) this.tipAmount = data.tipAmount;
38851
+ if (data.autoCloseAt !== void 0) this.autoCloseAt = data.autoCloseAt;
38852
+ if (data.scheduleDate !== void 0) this.scheduleDate = data.scheduleDate;
38853
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
38854
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
38855
+ if (data.solvedAt !== void 0) this.solvedAt = data.solvedAt;
38856
+ if (data.closedAt !== void 0) this.closedAt = data.closedAt;
38738
38857
  }
38739
38858
  };
38740
38859
  Object.defineProperty(Ticket.prototype, "schema", {
@@ -38893,12 +39012,12 @@ var TimeSheet = class extends Entity {
38893
39012
  */
38894
39013
  constructor(data) {
38895
39014
  super(data);
38896
- this.id = data.id;
38897
- this.type = data.type;
38898
- this.userId = data.userId;
38899
- this.day = data.day;
38900
- this.locked = data.locked;
38901
- this.timeEntries = data.timeEntries;
39015
+ if (data.id !== void 0) this.id = data.id;
39016
+ if (data.type !== void 0) this.type = data.type;
39017
+ if (data.userId !== void 0) this.userId = data.userId;
39018
+ if (data.day !== void 0) this.day = data.day;
39019
+ if (data.locked !== void 0) this.locked = data.locked;
39020
+ if (data.timeEntries !== void 0) this.timeEntries = data.timeEntries;
38902
39021
  }
38903
39022
  };
38904
39023
  Object.defineProperty(TimeSheet.prototype, "schema", {
@@ -38992,33 +39111,36 @@ var User = class extends Entity {
38992
39111
  */
38993
39112
  constructor(data) {
38994
39113
  super(data);
38995
- this.id = data.id;
38996
- this.type = data.type;
38997
- this.firstName = data.firstName;
38998
- this.lastName = data.lastName;
38999
- this.phone = data.phone;
39000
- this.phoneVerified = data.phoneVerified;
39001
- this.email = data.email;
39002
- this.emailVerified = data.emailVerified;
39003
- this.address = data.address;
39004
- this.secretKey = data.secretKey;
39005
- this.photo = data.photo;
39006
- this.jobTitle = data.jobTitle;
39007
- this.dob = data.dob;
39008
- this.gender = data.gender;
39009
- this.nationality = data.nationality;
39010
- this.permissions = data.permissions;
39011
- this.notes = data.notes;
39012
- this.files = data.files;
39013
- this.identifications = data.identifications;
39014
- this.payments = data.payments;
39015
- this.location = data.location;
39016
- this.reservations = data.reservations;
39017
- this.spaceName = data.spaceName;
39018
- this.revenue = data.revenue;
39019
- this.createdAt = data.createdAt;
39020
- this.updatedAt = data.updatedAt;
39021
- this.systems = data.systems;
39114
+ if (data.id !== void 0) this.id = data.id;
39115
+ if (data.type !== void 0) this.type = data.type;
39116
+ if (data.firstName !== void 0) this.firstName = data.firstName;
39117
+ if (data.lastName !== void 0) this.lastName = data.lastName;
39118
+ if (data.phone !== void 0) this.phone = data.phone;
39119
+ if (data.phoneVerified !== void 0)
39120
+ this.phoneVerified = data.phoneVerified;
39121
+ if (data.email !== void 0) this.email = data.email;
39122
+ if (data.emailVerified !== void 0)
39123
+ this.emailVerified = data.emailVerified;
39124
+ if (data.address !== void 0) this.address = data.address;
39125
+ if (data.secretKey !== void 0) this.secretKey = data.secretKey;
39126
+ if (data.photo !== void 0) this.photo = data.photo;
39127
+ if (data.jobTitle !== void 0) this.jobTitle = data.jobTitle;
39128
+ if (data.dob !== void 0) this.dob = data.dob;
39129
+ if (data.gender !== void 0) this.gender = data.gender;
39130
+ if (data.nationality !== void 0) this.nationality = data.nationality;
39131
+ if (data.permissions !== void 0) this.permissions = data.permissions;
39132
+ if (data.notes !== void 0) this.notes = data.notes;
39133
+ if (data.files !== void 0) this.files = data.files;
39134
+ if (data.identifications !== void 0)
39135
+ this.identifications = data.identifications;
39136
+ if (data.payments !== void 0) this.payments = data.payments;
39137
+ if (data.location !== void 0) this.location = data.location;
39138
+ if (data.reservations !== void 0) this.reservations = data.reservations;
39139
+ if (data.spaceName !== void 0) this.spaceName = data.spaceName;
39140
+ if (data.revenue !== void 0) this.revenue = data.revenue;
39141
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
39142
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
39143
+ if (data.systems !== void 0) this.systems = data.systems;
39022
39144
  }
39023
39145
  get fullName() {
39024
39146
  return `${this.firstName} ${this.lastName}`;
@@ -39185,15 +39307,15 @@ var Vendor = class extends Entity {
39185
39307
  */
39186
39308
  constructor(data) {
39187
39309
  super(data);
39188
- this.id = data.id;
39189
- this.type = data.type;
39190
- this.name = data.name;
39191
- this.phone = data.phone;
39192
- this.email = data.email;
39193
- this.address = data.address;
39194
- this.photo = data.photo;
39195
- this.createdAt = data.createdAt;
39196
- this.updatedAt = data.updatedAt;
39310
+ if (data.id !== void 0) this.id = data.id;
39311
+ if (data.type !== void 0) this.type = data.type;
39312
+ if (data.name !== void 0) this.name = data.name;
39313
+ if (data.phone !== void 0) this.phone = data.phone;
39314
+ if (data.email !== void 0) this.email = data.email;
39315
+ if (data.address !== void 0) this.address = data.address;
39316
+ if (data.photo !== void 0) this.photo = data.photo;
39317
+ if (data.createdAt !== void 0) this.createdAt = data.createdAt;
39318
+ if (data.updatedAt !== void 0) this.updatedAt = data.updatedAt;
39197
39319
  }
39198
39320
  };
39199
39321
  Object.defineProperty(Vendor.prototype, "schema", {
@@ -39251,21 +39373,24 @@ var WindowCovering = class extends Entity {
39251
39373
  */
39252
39374
  constructor(data) {
39253
39375
  super(data);
39254
- this.id = data.id;
39255
- this.name = data.name;
39256
- this.type = data.type;
39257
- this.discriminator = data.discriminator;
39258
- this.supportedNotifications = data.supportedNotifications;
39259
- this.notification = data.notification;
39260
- this.driver = data.driver;
39261
- this.offline = data.offline;
39262
- this.position = data.position;
39263
- this.systemId = data.systemId;
39264
- this.watts = data.watts;
39265
- this.icon = data.icon;
39266
- this.modelNumber = data.modelNumber;
39267
- this.serialNumber = data.serialNumber;
39268
- this.firmwareVersion = data.firmwareVersion;
39376
+ if (data.id !== void 0) this.id = data.id;
39377
+ if (data.name !== void 0) this.name = data.name;
39378
+ if (data.type !== void 0) this.type = data.type;
39379
+ if (data.discriminator !== void 0)
39380
+ this.discriminator = data.discriminator;
39381
+ if (data.supportedNotifications !== void 0)
39382
+ this.supportedNotifications = data.supportedNotifications;
39383
+ if (data.notification !== void 0) this.notification = data.notification;
39384
+ if (data.driver !== void 0) this.driver = data.driver;
39385
+ if (data.offline !== void 0) this.offline = data.offline;
39386
+ if (data.position !== void 0) this.position = data.position;
39387
+ if (data.systemId !== void 0) this.systemId = data.systemId;
39388
+ if (data.watts !== void 0) this.watts = data.watts;
39389
+ if (data.icon !== void 0) this.icon = data.icon;
39390
+ if (data.modelNumber !== void 0) this.modelNumber = data.modelNumber;
39391
+ if (data.serialNumber !== void 0) this.serialNumber = data.serialNumber;
39392
+ if (data.firmwareVersion !== void 0)
39393
+ this.firmwareVersion = data.firmwareVersion;
39269
39394
  }
39270
39395
  };
39271
39396
  Object.defineProperty(WindowCovering.prototype, "schema", {