@kohost/api-client 3.0.0-beta.21 → 3.0.0-beta.24

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.
@@ -7387,10 +7387,13 @@ var require_common = __commonJS({
7387
7387
  "src/schemas/definitions/common.json"(exports, module) {
7388
7388
  module.exports = {
7389
7389
  $schema: "http://json-schema.org/draft-07/schema",
7390
- $id: "https://api.kohost.app/schemas/v3/definitions/common.json",
7390
+ $id: "https://api.kohost.io/schemas/v3/definitions/common.json",
7391
7391
  definitions: {
7392
7392
  id: {
7393
- type: "string"
7393
+ type: "string",
7394
+ not: {
7395
+ enum: ["global", "system"]
7396
+ }
7394
7397
  },
7395
7398
  systemData: {
7396
7399
  type: "object",
@@ -7456,6 +7459,28 @@ var require_common = __commonJS({
7456
7459
  maxLength: 2
7457
7460
  }
7458
7461
  }
7462
+ },
7463
+ driver: {
7464
+ type: "string",
7465
+ enum: [
7466
+ "aws-kinesis",
7467
+ "butler",
7468
+ "crestron",
7469
+ "ecobee",
7470
+ "igor",
7471
+ "kohost-k7",
7472
+ "kohost-pms",
7473
+ "lirc",
7474
+ "mews",
7475
+ "pelican-wireless",
7476
+ "rebrandly",
7477
+ "salto",
7478
+ "salto-irn",
7479
+ "se",
7480
+ "sendgrid",
7481
+ "stay-n-touch",
7482
+ "twilio"
7483
+ ]
7459
7484
  }
7460
7485
  }
7461
7486
  };
@@ -7467,13 +7492,13 @@ var require_device = __commonJS({
7467
7492
  "src/schemas/definitions/device.json"(exports, module) {
7468
7493
  module.exports = {
7469
7494
  $schema: "http://json-schema.org/draft-07/schema",
7470
- $id: "https://api.kohost.app/schemas/v3/definitions/device.json",
7495
+ $id: "https://api.kohost.io/schemas/v3/definitions/device.json",
7471
7496
  definitions: {
7472
7497
  id: {
7473
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
7498
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
7474
7499
  },
7475
7500
  systemData: {
7476
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
7501
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
7477
7502
  },
7478
7503
  type: {
7479
7504
  type: "string",
@@ -7578,39 +7603,42 @@ var require_switch = __commonJS({
7578
7603
  "src/schemas/switch.json"(exports, module) {
7579
7604
  module.exports = {
7580
7605
  $schema: "http://json-schema.org/draft-07/schema",
7581
- $id: "https://api.kohost.app/schemas/v3/switch.json",
7606
+ $id: "https://api.kohost.io/schemas/v3/switch.json",
7582
7607
  title: "Switch",
7583
7608
  description: "Any smart switch",
7584
7609
  type: "object",
7585
7610
  properties: {
7586
7611
  id: {
7587
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
7612
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
7588
7613
  },
7589
7614
  name: {
7590
7615
  type: "string"
7591
7616
  },
7592
7617
  type: {
7593
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
7618
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
7594
7619
  },
7595
7620
  subType: {
7596
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/subType"
7621
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/subType"
7597
7622
  },
7598
7623
  supportedNotifications: {
7599
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
7624
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
7600
7625
  },
7601
7626
  notification: {
7602
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
7627
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
7628
+ },
7629
+ driver: {
7630
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
7603
7631
  },
7604
7632
  state: {
7605
7633
  type: "string",
7606
7634
  enum: ["on", "off"]
7607
7635
  },
7608
7636
  systemData: {
7609
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
7637
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
7610
7638
  }
7611
7639
  },
7612
7640
  additionalProperties: false,
7613
- required: ["id", "type", "systemData", "state"]
7641
+ required: ["id", "type", "systemData", "state", "driver"]
7614
7642
  };
7615
7643
  }
7616
7644
  });
@@ -7966,25 +7994,31 @@ var require_alarm = __commonJS({
7966
7994
  "src/schemas/alarm.json"(exports, module) {
7967
7995
  module.exports = {
7968
7996
  $schema: "http://json-schema.org/draft-07/schema",
7969
- $id: "https://api.kohost.app/schemas/v3/alarm.json",
7997
+ $id: "https://api.kohost.io/schemas/v3/alarm.json",
7970
7998
  title: "Alarm",
7971
7999
  description: "Any smart alarm system",
7972
8000
  type: "object",
7973
8001
  properties: {
7974
8002
  id: {
7975
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
8003
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
8004
+ },
8005
+ name: {
8006
+ type: "string"
7976
8007
  },
7977
8008
  type: {
7978
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
8009
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
7979
8010
  },
7980
8011
  systemData: {
7981
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
8012
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
7982
8013
  },
7983
8014
  supportedNotifications: {
7984
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
8015
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
7985
8016
  },
7986
8017
  notification: {
7987
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
8018
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
8019
+ },
8020
+ driver: {
8021
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
7988
8022
  },
7989
8023
  areas: {
7990
8024
  type: "array",
@@ -8054,7 +8088,8 @@ var require_alarm = __commonJS({
8054
8088
  "areas",
8055
8089
  "zones",
8056
8090
  "supportedTroubles",
8057
- "troubles"
8091
+ "troubles",
8092
+ "driver"
8058
8093
  ]
8059
8094
  };
8060
8095
  }
@@ -8094,28 +8129,31 @@ var require_dimmer = __commonJS({
8094
8129
  "src/schemas/dimmer.json"(exports, module) {
8095
8130
  module.exports = {
8096
8131
  $schema: "http://json-schema.org/draft-07/schema",
8097
- $id: "https://api.kohost.app/schemas/v3/dimmer.json",
8132
+ $id: "https://api.kohost.io/schemas/v3/dimmer.json",
8098
8133
  title: "Dimmer",
8099
8134
  description: "Any smart dimmer",
8100
8135
  type: "object",
8101
8136
  properties: {
8102
8137
  id: {
8103
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
8138
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
8104
8139
  },
8105
8140
  name: {
8106
8141
  type: "string"
8107
8142
  },
8108
8143
  type: {
8109
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
8144
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
8110
8145
  },
8111
8146
  subType: {
8112
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/subType"
8147
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/subType"
8113
8148
  },
8114
8149
  supportedNotifications: {
8115
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
8150
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
8116
8151
  },
8117
8152
  notification: {
8118
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
8153
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
8154
+ },
8155
+ driver: {
8156
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
8119
8157
  },
8120
8158
  level: {
8121
8159
  type: "number",
@@ -8123,11 +8161,11 @@ var require_dimmer = __commonJS({
8123
8161
  maximum: 100
8124
8162
  },
8125
8163
  systemData: {
8126
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
8164
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
8127
8165
  }
8128
8166
  },
8129
8167
  additionalProperties: false,
8130
- required: ["id", "type", "systemData", "level"]
8168
+ required: ["id", "type", "systemData", "level", "driver"]
8131
8169
  };
8132
8170
  }
8133
8171
  });
@@ -8184,39 +8222,42 @@ var require_lock = __commonJS({
8184
8222
  "src/schemas/lock.json"(exports, module) {
8185
8223
  module.exports = {
8186
8224
  $schema: "http://json-schema.org/draft-07/schema",
8187
- $id: "https://api.kohost.app/schemas/v3/lock.json",
8225
+ $id: "https://api.kohost.io/schemas/v3/lock.json",
8188
8226
  title: "Lock",
8189
8227
  description: "Any smart lock",
8190
8228
  type: "object",
8191
8229
  properties: {
8192
8230
  id: {
8193
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
8231
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
8194
8232
  },
8195
8233
  name: {
8196
8234
  type: "string"
8197
8235
  },
8198
8236
  type: {
8199
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
8237
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
8200
8238
  },
8201
8239
  supportedNotifications: {
8202
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
8240
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
8203
8241
  },
8204
8242
  notification: {
8205
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
8243
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
8244
+ },
8245
+ driver: {
8246
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
8206
8247
  },
8207
8248
  state: {
8208
8249
  type: ["string", "null"],
8209
8250
  enum: ["locked", "unlocked", null]
8210
8251
  },
8211
8252
  batteryLevel: {
8212
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/batteryLevel"
8253
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/batteryLevel"
8213
8254
  },
8214
8255
  systemData: {
8215
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
8256
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
8216
8257
  }
8217
8258
  },
8218
8259
  additionalProperties: false,
8219
- required: ["id", "type", "systemData", "state"]
8260
+ required: ["id", "type", "systemData", "state", "driver"]
8220
8261
  };
8221
8262
  }
8222
8263
  });
@@ -8258,32 +8299,35 @@ var require_thermostat = __commonJS({
8258
8299
  "src/schemas/thermostat.json"(exports, module) {
8259
8300
  module.exports = {
8260
8301
  $schema: "http://json-schema.org/draft-07/schema",
8261
- $id: "https://api.kohost.app/schemas/v3/thermostat.json",
8302
+ $id: "https://api.kohost.io/schemas/v3/thermostat.json",
8262
8303
  title: "Thermostat",
8263
8304
  description: "Any smart thermostat",
8264
8305
  type: "object",
8265
8306
  properties: {
8266
8307
  id: {
8267
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
8308
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
8268
8309
  },
8269
8310
  name: {
8270
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/name"
8311
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/name"
8271
8312
  },
8272
8313
  type: {
8273
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type",
8314
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type",
8274
8315
  default: "thermostat"
8275
8316
  },
8276
8317
  subType: {
8277
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/subType"
8318
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/subType"
8319
+ },
8320
+ driver: {
8321
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
8278
8322
  },
8279
8323
  offline: {
8280
8324
  type: "boolean"
8281
8325
  },
8282
8326
  supportedNotifications: {
8283
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
8327
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
8284
8328
  },
8285
8329
  notification: {
8286
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
8330
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
8287
8331
  },
8288
8332
  currentTemperature: {
8289
8333
  type: "number"
@@ -8352,10 +8396,10 @@ var require_thermostat = __commonJS({
8352
8396
  type: "number"
8353
8397
  },
8354
8398
  batteryLevel: {
8355
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/batteryLevel"
8399
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/batteryLevel"
8356
8400
  },
8357
8401
  systemData: {
8358
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData",
8402
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData",
8359
8403
  default: {}
8360
8404
  }
8361
8405
  },
@@ -8398,7 +8442,8 @@ var require_thermostat = __commonJS({
8398
8442
  "setpoints",
8399
8443
  "temperatureScale",
8400
8444
  "supportedHvacModes",
8401
- "supportedFanModes"
8445
+ "supportedFanModes",
8446
+ "driver"
8402
8447
  ]
8403
8448
  };
8404
8449
  }
@@ -8482,28 +8527,31 @@ var require_windowCovering = __commonJS({
8482
8527
  "src/schemas/windowCovering.json"(exports, module) {
8483
8528
  module.exports = {
8484
8529
  $schema: "http://json-schema.org/draft-07/schema",
8485
- $id: "https://api.kohost.app/schemas/v3/windowCovering.json",
8530
+ $id: "https://api.kohost.io/schemas/v3/windowCovering.json",
8486
8531
  title: "Window Covering",
8487
8532
  description: "Any smart window covering",
8488
8533
  type: "object",
8489
8534
  properties: {
8490
8535
  id: {
8491
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
8536
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
8492
8537
  },
8493
8538
  name: {
8494
8539
  type: "string"
8495
8540
  },
8496
8541
  type: {
8497
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
8542
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
8498
8543
  },
8499
8544
  subType: {
8500
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/subType"
8545
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/subType"
8501
8546
  },
8502
8547
  supportedNotifications: {
8503
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
8548
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
8504
8549
  },
8505
8550
  notification: {
8506
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
8551
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
8552
+ },
8553
+ driver: {
8554
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
8507
8555
  },
8508
8556
  position: {
8509
8557
  type: "number",
@@ -8511,11 +8559,11 @@ var require_windowCovering = __commonJS({
8511
8559
  maximum: 100
8512
8560
  },
8513
8561
  systemData: {
8514
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
8562
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
8515
8563
  }
8516
8564
  },
8517
8565
  additionalProperties: false,
8518
- required: ["id", "type", "systemData", "position"]
8566
+ required: ["id", "type", "systemData", "position", "driver"]
8519
8567
  };
8520
8568
  }
8521
8569
  });
@@ -8572,13 +8620,13 @@ var require_identification = __commonJS({
8572
8620
  "src/schemas/identification.json"(exports, module) {
8573
8621
  module.exports = {
8574
8622
  $schema: "http://json-schema.org/draft-07/schema",
8575
- $id: "https://api.kohost.app/schemas/v3/identification.json",
8623
+ $id: "https://api.kohost.io/schemas/v3/identification.json",
8576
8624
  title: "Identification",
8577
8625
  type: "object",
8578
8626
  required: ["type", "number"],
8579
8627
  properties: {
8580
8628
  id: {
8581
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
8629
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
8582
8630
  },
8583
8631
  type: {
8584
8632
  type: "string",
@@ -8613,7 +8661,7 @@ var require_identification = __commonJS({
8613
8661
  maxLength: 2
8614
8662
  },
8615
8663
  systemData: {
8616
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
8664
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
8617
8665
  }
8618
8666
  }
8619
8667
  };
@@ -8657,13 +8705,13 @@ var require_user = __commonJS({
8657
8705
  "src/schemas/user.json"(exports, module) {
8658
8706
  module.exports = {
8659
8707
  $schema: "http://json-schema.org/draft-07/schema",
8660
- $id: "https://api.kohost.app/schemas/v3/user.json",
8708
+ $id: "https://api.kohost.io/schemas/v3/user.json",
8661
8709
  title: "User",
8662
8710
  type: "object",
8663
8711
  required: ["firstName", "lastName"],
8664
8712
  properties: {
8665
8713
  id: {
8666
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
8714
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
8667
8715
  },
8668
8716
  type: {
8669
8717
  type: "string",
@@ -8690,7 +8738,7 @@ var require_user = __commonJS({
8690
8738
  type: "boolean"
8691
8739
  },
8692
8740
  address: {
8693
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/address"
8741
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/address"
8694
8742
  },
8695
8743
  secretKey: {
8696
8744
  type: "string"
@@ -8750,19 +8798,19 @@ var require_user = __commonJS({
8750
8798
  files: {
8751
8799
  type: "array",
8752
8800
  items: {
8753
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/file"
8801
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/file"
8754
8802
  }
8755
8803
  },
8756
8804
  identifications: {
8757
8805
  type: "array",
8758
8806
  items: {
8759
- $ref: "https://api.kohost.app/schemas/v3/identification.json#"
8807
+ $ref: "https://api.kohost.io/schemas/v3/identification.json#"
8760
8808
  }
8761
8809
  },
8762
8810
  payments: {
8763
8811
  type: "array",
8764
8812
  items: {
8765
- $ref: "https://api.kohost.app/schemas/v3/payment.json#"
8813
+ $ref: "https://api.kohost.io/schemas/v3/payment.json#"
8766
8814
  }
8767
8815
  },
8768
8816
  location: {
@@ -8785,15 +8833,15 @@ var require_user = __commonJS({
8785
8833
  }
8786
8834
  },
8787
8835
  createdAt: {
8788
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
8836
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
8789
8837
  },
8790
8838
  updatedAt: {
8791
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/updatedAt"
8839
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/updatedAt"
8792
8840
  },
8793
8841
  systemData: {
8794
8842
  type: "array",
8795
8843
  items: {
8796
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
8844
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
8797
8845
  }
8798
8846
  }
8799
8847
  }
@@ -8806,13 +8854,13 @@ var require_payment = __commonJS({
8806
8854
  "src/schemas/payment.json"(exports, module) {
8807
8855
  module.exports = {
8808
8856
  $schema: "http://json-schema.org/draft-07/schema",
8809
- $id: "https://api.kohost.app/schemas/v3/payment.json",
8857
+ $id: "https://api.kohost.io/schemas/v3/payment.json",
8810
8858
  title: "Payment",
8811
8859
  type: "object",
8812
8860
  required: ["type", "maskedNumber", "expires"],
8813
8861
  properties: {
8814
8862
  id: {
8815
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
8863
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
8816
8864
  },
8817
8865
  type: {
8818
8866
  type: "string",
@@ -8843,7 +8891,7 @@ var require_payment = __commonJS({
8843
8891
  string: "string"
8844
8892
  },
8845
8893
  systemData: {
8846
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
8894
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
8847
8895
  }
8848
8896
  }
8849
8897
  };
@@ -8961,19 +9009,22 @@ var require_systemUser = __commonJS({
8961
9009
  "src/schemas/systemUser.json"(exports, module) {
8962
9010
  module.exports = {
8963
9011
  $schema: "http://json-schema.org/draft-07/schema",
8964
- $id: "https://api.kohost.app/schemas/v3/systemUser.json",
9012
+ $id: "https://api.kohost.io/schemas/v3/systemUser.json",
8965
9013
  title: "System User",
8966
9014
  description: "A system user is a user that originated from an external 3rd party system.",
8967
9015
  type: "object",
8968
9016
  required: ["firstName", "lastName"],
8969
9017
  properties: {
8970
9018
  id: {
8971
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
9019
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
8972
9020
  },
8973
9021
  type: {
8974
9022
  type: "string",
8975
9023
  default: "systemUser"
8976
9024
  },
9025
+ driver: {
9026
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
9027
+ },
8977
9028
  firstName: {
8978
9029
  type: "string"
8979
9030
  },
@@ -8989,7 +9040,7 @@ var require_systemUser = __commonJS({
8989
9040
  format: "email"
8990
9041
  },
8991
9042
  address: {
8992
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/address"
9043
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/address"
8993
9044
  },
8994
9045
  photo: {
8995
9046
  type: "string"
@@ -9025,29 +9076,29 @@ var require_systemUser = __commonJS({
9025
9076
  files: {
9026
9077
  type: "array",
9027
9078
  items: {
9028
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/file"
9079
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/file"
9029
9080
  }
9030
9081
  },
9031
9082
  identifications: {
9032
9083
  type: "array",
9033
9084
  items: {
9034
- $ref: "https://api.kohost.app/schemas/v3/identification.json#"
9085
+ $ref: "https://api.kohost.io/schemas/v3/identification.json#"
9035
9086
  }
9036
9087
  },
9037
9088
  payments: {
9038
9089
  type: "array",
9039
9090
  items: {
9040
- $ref: "https://api.kohost.app/schemas/v3/payment.json#"
9091
+ $ref: "https://api.kohost.io/schemas/v3/payment.json#"
9041
9092
  }
9042
9093
  },
9043
9094
  createdAt: {
9044
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
9095
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
9045
9096
  },
9046
9097
  updatedAt: {
9047
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/updatedAt"
9098
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/updatedAt"
9048
9099
  },
9049
9100
  systemData: {
9050
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
9101
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
9051
9102
  }
9052
9103
  }
9053
9104
  };
@@ -9101,25 +9152,28 @@ var require_courtesy = __commonJS({
9101
9152
  "src/schemas/courtesy.json"(exports, module) {
9102
9153
  module.exports = {
9103
9154
  $schema: "http://json-schema.org/draft-07/schema",
9104
- $id: "https://api.kohost.app/schemas/v3/courtesy.json",
9155
+ $id: "https://api.kohost.io/schemas/v3/courtesy.json",
9105
9156
  title: "Courtesy",
9106
9157
  description: "Any smart courtesy system",
9107
9158
  type: "object",
9108
9159
  properties: {
9109
9160
  id: {
9110
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
9161
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
9111
9162
  },
9112
9163
  name: {
9113
9164
  type: "string"
9114
9165
  },
9115
9166
  type: {
9116
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
9167
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
9117
9168
  },
9118
9169
  supportedNotifications: {
9119
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
9170
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
9120
9171
  },
9121
9172
  notification: {
9122
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
9173
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
9174
+ },
9175
+ driver: {
9176
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
9123
9177
  },
9124
9178
  supportedStates: {
9125
9179
  type: "array",
@@ -9133,11 +9187,11 @@ var require_courtesy = __commonJS({
9133
9187
  $ref: "#/properties/supportedStates/items"
9134
9188
  },
9135
9189
  systemData: {
9136
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
9190
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
9137
9191
  }
9138
9192
  },
9139
9193
  additionalProperties: false,
9140
- required: ["supportedStates", "state"]
9194
+ required: ["id", "type", "driver", "supportedStates", "state"]
9141
9195
  };
9142
9196
  }
9143
9197
  });
@@ -9179,22 +9233,28 @@ var require_camera = __commonJS({
9179
9233
  "src/schemas/camera.json"(exports, module) {
9180
9234
  module.exports = {
9181
9235
  $schema: "http://json-schema.org/draft-07/schema",
9182
- $id: "https://api.kohost.app/schemas/v3/camera.json",
9236
+ $id: "https://api.kohost.io/schemas/v3/camera.json",
9183
9237
  title: "Camera",
9184
9238
  description: "Any smart camera",
9185
9239
  type: "object",
9186
9240
  properties: {
9187
9241
  id: {
9188
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
9242
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
9243
+ },
9244
+ name: {
9245
+ type: "string"
9189
9246
  },
9190
9247
  type: {
9191
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
9248
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
9192
9249
  },
9193
9250
  supportedNotifications: {
9194
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
9251
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
9195
9252
  },
9196
9253
  notification: {
9197
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
9254
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
9255
+ },
9256
+ driver: {
9257
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
9198
9258
  },
9199
9259
  streams: {
9200
9260
  type: "object",
@@ -9212,11 +9272,11 @@ var require_camera = __commonJS({
9212
9272
  }
9213
9273
  },
9214
9274
  systemData: {
9215
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
9275
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
9216
9276
  }
9217
9277
  },
9218
9278
  additionalProperties: false,
9219
- required: ["id", "type", "systemData", "streams"]
9279
+ required: ["id", "type", "systemData", "streams", "driver"]
9220
9280
  };
9221
9281
  }
9222
9282
  });
@@ -9255,29 +9315,32 @@ var require_motionSensor = __commonJS({
9255
9315
  "src/schemas/motionSensor.json"(exports, module) {
9256
9316
  module.exports = {
9257
9317
  $schema: "http://json-schema.org/draft-07/schema",
9258
- $id: "https://api.kohost.app/schemas/v3/motionSensor.json",
9318
+ $id: "https://api.kohost.io/schemas/v3/motionSensor.json",
9259
9319
  title: "Motion Sensor",
9260
9320
  description: "Any smart motion sensor",
9261
9321
  type: "object",
9262
9322
  properties: {
9263
9323
  id: {
9264
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
9324
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
9265
9325
  },
9266
9326
  type: {
9267
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
9327
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
9328
+ },
9329
+ driver: {
9330
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
9268
9331
  },
9269
9332
  systemData: {
9270
- supportedNotifications: {
9271
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
9272
- },
9273
- notification: {
9274
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
9275
- },
9276
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
9333
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
9334
+ },
9335
+ supportedNotifications: {
9336
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
9337
+ },
9338
+ notification: {
9339
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
9277
9340
  }
9278
9341
  },
9279
9342
  additionalProperties: false,
9280
- required: ["id", "type", "systemData"]
9343
+ required: ["id", "type", "systemData", "driver"]
9281
9344
  };
9282
9345
  }
9283
9346
  });
@@ -9316,16 +9379,19 @@ var require_mediaSource = __commonJS({
9316
9379
  "src/schemas/mediaSource.json"(exports, module) {
9317
9380
  module.exports = {
9318
9381
  $schema: "http://json-schema.org/draft-07/schema",
9319
- $id: "https://api.kohost.app/schemas/v3/mediaSource.json",
9382
+ $id: "https://api.kohost.io/schemas/v3/mediaSource.json",
9320
9383
  title: "Media Source",
9321
9384
  description: "Any media source",
9322
9385
  type: "object",
9323
9386
  properties: {
9324
9387
  id: {
9325
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
9388
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
9326
9389
  },
9327
9390
  type: {
9328
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
9391
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
9392
+ },
9393
+ driver: {
9394
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
9329
9395
  },
9330
9396
  subType: {
9331
9397
  type: "string",
@@ -9453,17 +9519,17 @@ var require_mediaSource = __commonJS({
9453
9519
  ]
9454
9520
  },
9455
9521
  supportedNotifications: {
9456
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
9522
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
9457
9523
  },
9458
9524
  notification: {
9459
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
9525
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
9460
9526
  },
9461
9527
  systemData: {
9462
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
9528
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
9463
9529
  }
9464
9530
  },
9465
9531
  additionalProperties: false,
9466
- required: ["id", "type", "systemData", "audio", "video"]
9532
+ required: ["id", "type", "systemData", "audio", "video", "driver"]
9467
9533
  };
9468
9534
  }
9469
9535
  });
@@ -9502,13 +9568,13 @@ var require_room = __commonJS({
9502
9568
  "src/schemas/room.json"(exports, module) {
9503
9569
  module.exports = {
9504
9570
  $schema: "http://json-schema.org/draft-07/schema",
9505
- $id: "https://api.kohost.app/schemas/v3/room.json",
9571
+ $id: "https://api.kohost.io/schemas/v3/room.json",
9506
9572
  title: "Room",
9507
9573
  description: "A room represents a physical space of controllable IoT devices",
9508
9574
  type: "object",
9509
9575
  properties: {
9510
9576
  id: {
9511
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
9577
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
9512
9578
  },
9513
9579
  name: {
9514
9580
  type: "string"
@@ -9520,70 +9586,70 @@ var require_room = __commonJS({
9520
9586
  type: "array",
9521
9587
  default: [],
9522
9588
  items: {
9523
- $ref: "https://api.kohost.app/schemas/v3/dimmer.json"
9589
+ $ref: "https://api.kohost.io/schemas/v3/dimmer.json"
9524
9590
  }
9525
9591
  },
9526
9592
  switches: {
9527
9593
  type: "array",
9528
9594
  default: [],
9529
9595
  items: {
9530
- $ref: "https://api.kohost.app/schemas/v3/switch.json"
9596
+ $ref: "https://api.kohost.io/schemas/v3/switch.json"
9531
9597
  }
9532
9598
  },
9533
9599
  thermostats: {
9534
9600
  type: "array",
9535
9601
  default: [],
9536
9602
  items: {
9537
- $ref: "https://api.kohost.app/schemas/v3/thermostat.json"
9603
+ $ref: "https://api.kohost.io/schemas/v3/thermostat.json"
9538
9604
  }
9539
9605
  },
9540
9606
  locks: {
9541
9607
  type: "array",
9542
9608
  default: [],
9543
9609
  items: {
9544
- $ref: "https://api.kohost.app/schemas/v3/lock.json"
9610
+ $ref: "https://api.kohost.io/schemas/v3/lock.json"
9545
9611
  }
9546
9612
  },
9547
9613
  windowCoverings: {
9548
9614
  type: "array",
9549
9615
  default: [],
9550
9616
  items: {
9551
- $ref: "https://api.kohost.app/schemas/v3/windowCovering.json"
9617
+ $ref: "https://api.kohost.io/schemas/v3/windowCovering.json"
9552
9618
  }
9553
9619
  },
9554
9620
  courtesy: {
9555
9621
  type: "array",
9556
9622
  default: [],
9557
9623
  items: {
9558
- $ref: "https://api.kohost.app/schemas/v3/courtesy.json"
9624
+ $ref: "https://api.kohost.io/schemas/v3/courtesy.json"
9559
9625
  }
9560
9626
  },
9561
9627
  cameras: {
9562
9628
  type: "array",
9563
9629
  default: [],
9564
9630
  items: {
9565
- $ref: "https://api.kohost.app/schemas/v3/camera.json"
9631
+ $ref: "https://api.kohost.io/schemas/v3/camera.json"
9566
9632
  }
9567
9633
  },
9568
- sources: {
9634
+ mediaSources: {
9569
9635
  type: "array",
9570
9636
  default: [],
9571
9637
  items: {
9572
- $ref: "https://api.kohost.app/schemas/v3/mediaSource.json"
9638
+ $ref: "https://api.kohost.io/schemas/v3/mediaSource.json"
9573
9639
  }
9574
9640
  },
9575
9641
  motionSensors: {
9576
9642
  type: "array",
9577
9643
  default: [],
9578
9644
  items: {
9579
- $ref: "https://api.kohost.app/schemas/v3/motionSensor.json"
9645
+ $ref: "https://api.kohost.io/schemas/v3/motionSensor.json"
9580
9646
  }
9581
9647
  },
9582
9648
  alarms: {
9583
9649
  type: "array",
9584
9650
  default: [],
9585
9651
  items: {
9586
- $ref: "https://api.kohost.app/schemas/v3/alarm.json"
9652
+ $ref: "https://api.kohost.io/schemas/v3/alarm.json"
9587
9653
  }
9588
9654
  },
9589
9655
  media: {
@@ -9611,22 +9677,22 @@ var require_room = __commonJS({
9611
9677
  description: "A list of scene IDs for later population, or entire scene objects",
9612
9678
  oneOf: [
9613
9679
  {
9614
- $ref: "https://api.kohost.app/schemas/v3/scene.json"
9680
+ $ref: "https://api.kohost.io/schemas/v3/scene.json"
9615
9681
  },
9616
9682
  {
9617
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
9683
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
9618
9684
  }
9619
9685
  ]
9620
9686
  }
9621
9687
  },
9622
9688
  occupiedAt: {
9623
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
9689
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
9624
9690
  },
9625
9691
  createdAt: {
9626
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
9692
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
9627
9693
  },
9628
9694
  updatedAt: {
9629
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/updatedAt"
9695
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/updatedAt"
9630
9696
  }
9631
9697
  },
9632
9698
  additionalProperties: false
@@ -10340,13 +10406,13 @@ var require_scene = __commonJS({
10340
10406
  "src/schemas/scene.json"(exports, module) {
10341
10407
  module.exports = {
10342
10408
  $schema: "http://json-schema.org/draft-07/schema",
10343
- $id: "https://api.kohost.app/schemas/v3/scene.json",
10409
+ $id: "https://api.kohost.io/schemas/v3/scene.json",
10344
10410
  title: "Scene",
10345
10411
  description: "A room represents a physical space of controllable IoT devices",
10346
10412
  type: "object",
10347
10413
  properties: {
10348
10414
  id: {
10349
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
10415
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
10350
10416
  },
10351
10417
  name: {
10352
10418
  type: "string"
@@ -10360,10 +10426,10 @@ var require_scene = __commonJS({
10360
10426
  type: "object",
10361
10427
  properties: {
10362
10428
  id: {
10363
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
10429
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
10364
10430
  },
10365
10431
  state: {
10366
- $ref: "https://api.kohost.app/schemas/v3/switch.json#/properties/state"
10432
+ $ref: "https://api.kohost.io/schemas/v3/switch.json#/properties/state"
10367
10433
  }
10368
10434
  },
10369
10435
  default: []
@@ -10375,10 +10441,10 @@ var require_scene = __commonJS({
10375
10441
  type: "object",
10376
10442
  properties: {
10377
10443
  id: {
10378
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
10444
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
10379
10445
  },
10380
10446
  level: {
10381
- $ref: "https://api.kohost.app/schemas/v3/dimmer.json#/properties/level"
10447
+ $ref: "https://api.kohost.io/schemas/v3/dimmer.json#/properties/level"
10382
10448
  }
10383
10449
  }
10384
10450
  },
@@ -10390,10 +10456,10 @@ var require_scene = __commonJS({
10390
10456
  type: "object",
10391
10457
  properties: {
10392
10458
  id: {
10393
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
10459
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
10394
10460
  },
10395
10461
  position: {
10396
- $ref: "https://api.kohost.app/schemas/v3/windowCovering.json#/properties/position"
10462
+ $ref: "https://api.kohost.io/schemas/v3/windowCovering.json#/properties/position"
10397
10463
  }
10398
10464
  }
10399
10465
  },
@@ -10405,16 +10471,16 @@ var require_scene = __commonJS({
10405
10471
  type: "object",
10406
10472
  properties: {
10407
10473
  id: {
10408
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
10474
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
10409
10475
  },
10410
10476
  hvacMode: {
10411
- $ref: "https://api.kohost.app/schemas/v3/thermostat.json#/properties/hvacMode"
10477
+ $ref: "https://api.kohost.io/schemas/v3/thermostat.json#/properties/hvacMode"
10412
10478
  },
10413
10479
  setpoints: {
10414
- $ref: "https://api.kohost.app/schemas/v3/thermostat.json#/properties/setpoints"
10480
+ $ref: "https://api.kohost.io/schemas/v3/thermostat.json#/properties/setpoints"
10415
10481
  },
10416
10482
  fanMode: {
10417
- $ref: "https://api.kohost.app/schemas/v3/thermostat.json#/properties/fanMode"
10483
+ $ref: "https://api.kohost.io/schemas/v3/thermostat.json#/properties/fanMode"
10418
10484
  }
10419
10485
  }
10420
10486
  },
@@ -10426,7 +10492,7 @@ var require_scene = __commonJS({
10426
10492
  type: "object",
10427
10493
  properties: {
10428
10494
  id: {
10429
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
10495
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
10430
10496
  },
10431
10497
  volume: {
10432
10498
  type: "number",
@@ -10522,7 +10588,7 @@ var require_room2 = __commonJS({
10522
10588
  "windowCovering",
10523
10589
  "courtesy",
10524
10590
  "camera",
10525
- "source",
10591
+ "mediaSource",
10526
10592
  "motionSensor",
10527
10593
  "alarm"
10528
10594
  ];
@@ -10546,7 +10612,7 @@ var require_room2 = __commonJS({
10546
10612
  "windowCoverings",
10547
10613
  "courtesy",
10548
10614
  "cameras",
10549
- "sources",
10615
+ "mediaSources",
10550
10616
  "motionSensors",
10551
10617
  "alarms"
10552
10618
  ];
@@ -10592,7 +10658,7 @@ var require_room2 = __commonJS({
10592
10658
  return this.alarms?.length > 0;
10593
10659
  }
10594
10660
  get hasMedia() {
10595
- return this.sources?.length > 0;
10661
+ return this.mediaSources?.length > 0;
10596
10662
  }
10597
10663
  get hasLight() {
10598
10664
  const hasSubTypeLight = this.switches?.some((sw) => {
@@ -10699,13 +10765,16 @@ var require_reservation = __commonJS({
10699
10765
  "src/schemas/reservation.json"(exports, module) {
10700
10766
  module.exports = {
10701
10767
  $schema: "http://json-schema.org/draft-07/schema",
10702
- $id: "https://api.kohost.app/schemas/v3/reservation.json",
10768
+ $id: "https://api.kohost.io/schemas/v3/reservation.json",
10703
10769
  title: "Reservation",
10704
10770
  type: "object",
10705
10771
  required: ["type", "status", "checkInDateTime", "checkOutDateTime"],
10706
10772
  properties: {
10707
10773
  id: {
10708
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
10774
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
10775
+ },
10776
+ driver: {
10777
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
10709
10778
  },
10710
10779
  primaryGuest: {
10711
10780
  type: "string"
@@ -10804,10 +10873,10 @@ var require_reservation = __commonJS({
10804
10873
  type: "string"
10805
10874
  },
10806
10875
  systemData: {
10807
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
10876
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
10808
10877
  },
10809
10878
  metadata: {
10810
- ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/metadata"
10879
+ ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/metadata"
10811
10880
  }
10812
10881
  }
10813
10882
  };
@@ -10895,76 +10964,17 @@ var require_reservation2 = __commonJS({
10895
10964
  }
10896
10965
  });
10897
10966
 
10898
- // src/schemas/application.json
10899
- var require_application = __commonJS({
10900
- "src/schemas/application.json"(exports, module) {
10901
- module.exports = {
10902
- $schema: "http://json-schema.org/draft-07/schema",
10903
- $id: "https://api.kohost.app/schemas/v3/application.json",
10904
- title: "Application",
10905
- type: "object",
10906
- required: ["id", "active", "name", "publicKey", "hashedPrivateKey"],
10907
- properties: {
10908
- id: {
10909
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
10910
- },
10911
- active: {
10912
- type: "boolean"
10913
- },
10914
- name: {
10915
- type: "string"
10916
- },
10917
- publicKey: {
10918
- type: "string"
10919
- },
10920
- hashedPrivateKey: {
10921
- type: "string"
10922
- }
10923
- }
10924
- };
10925
- }
10926
- });
10927
-
10928
- // src/Models/application.js
10929
- var require_application2 = __commonJS({
10930
- "src/Models/application.js"(exports, module) {
10931
- var schemas = require_schema();
10932
- var schema = require_application();
10933
- var Kohost = require_kohost();
10934
- schemas.add(schema);
10935
- var validator = schemas.compile(schema);
10936
- var Application = class extends Kohost {
10937
- constructor(data) {
10938
- super(data);
10939
- }
10940
- };
10941
- __name(Application, "Application");
10942
- Object.defineProperty(Application.prototype, "schema", {
10943
- value: schema
10944
- });
10945
- Object.defineProperty(Application.prototype, "validator", {
10946
- get: function() {
10947
- return validator;
10948
- }
10949
- });
10950
- Object.defineProperty(Application, "validProperties", {
10951
- value: Object.keys(schema.properties)
10952
- });
10953
- module.exports = Application;
10954
- }
10955
- });
10956
-
10957
10967
  // src/schemas/space.json
10958
10968
  var require_space = __commonJS({
10959
10969
  "src/schemas/space.json"(exports, module) {
10960
10970
  module.exports = {
10961
10971
  $schema: "http://json-schema.org/draft-07/schema",
10962
- $id: "https://api.kohost.app/schemas/v3/space.json",
10972
+ $id: "https://api.kohost.io/schemas/v3/space.json",
10963
10973
  title: "Space",
10964
10974
  type: "object",
10965
10975
  properties: {
10966
10976
  id: {
10967
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
10977
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
10968
10978
  },
10969
10979
  name: {
10970
10980
  type: "string",
@@ -10981,6 +10991,9 @@ var require_space = __commonJS({
10981
10991
  "other"
10982
10992
  ]
10983
10993
  },
10994
+ driver: {
10995
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
10996
+ },
10984
10997
  subType: {
10985
10998
  type: "string"
10986
10999
  },
@@ -11037,7 +11050,7 @@ var require_space = __commonJS({
11037
11050
  enum: ["inService", "outOfOrder", "outOfService"]
11038
11051
  },
11039
11052
  systemData: {
11040
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
11053
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
11041
11054
  }
11042
11055
  },
11043
11056
  if: {
@@ -11163,12 +11176,12 @@ var require_spaceType = __commonJS({
11163
11176
  "src/schemas/spaceType.json"(exports, module) {
11164
11177
  module.exports = {
11165
11178
  $schema: "http://json-schema.org/draft-07/schema",
11166
- $id: "https://api.kohost.app/schemas/v3/spaceType.json",
11179
+ $id: "https://api.kohost.io/schemas/v3/spaceType.json",
11167
11180
  title: "Space Type",
11168
11181
  type: "object",
11169
11182
  properties: {
11170
11183
  id: {
11171
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
11184
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
11172
11185
  },
11173
11186
  type: {
11174
11187
  type: "string"
@@ -11177,6 +11190,9 @@ var require_spaceType = __commonJS({
11177
11190
  type: "string",
11178
11191
  minLength: 1
11179
11192
  },
11193
+ driver: {
11194
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
11195
+ },
11180
11196
  description: {
11181
11197
  type: "string"
11182
11198
  },
@@ -11185,7 +11201,7 @@ var require_spaceType = __commonJS({
11185
11201
  pattern: "^https?://"
11186
11202
  },
11187
11203
  systemData: {
11188
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
11204
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
11189
11205
  }
11190
11206
  }
11191
11207
  };
@@ -11226,13 +11242,13 @@ var require_ticket = __commonJS({
11226
11242
  "src/schemas/ticket.json"(exports, module) {
11227
11243
  module.exports = {
11228
11244
  $schema: "http://json-schema.org/draft-07/schema",
11229
- $id: "https://api.kohost.app/schemas/v3/ticket.json",
11245
+ $id: "https://api.kohost.io/schemas/v3/ticket.json",
11230
11246
  title: "Ticket",
11231
11247
  description: "A ticket is a request for help from a user.",
11232
11248
  type: "object",
11233
11249
  properties: {
11234
11250
  id: {
11235
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
11251
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
11236
11252
  },
11237
11253
  conversation: {
11238
11254
  type: "array",
@@ -11248,7 +11264,7 @@ var require_ticket = __commonJS({
11248
11264
  type: "string"
11249
11265
  },
11250
11266
  timestamp: {
11251
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
11267
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
11252
11268
  },
11253
11269
  body: {
11254
11270
  type: "string"
@@ -11283,16 +11299,16 @@ var require_ticket = __commonJS({
11283
11299
  }
11284
11300
  },
11285
11301
  createdAt: {
11286
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
11302
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
11287
11303
  },
11288
11304
  updatedAt: {
11289
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
11305
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
11290
11306
  },
11291
11307
  solvedAt: {
11292
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
11308
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
11293
11309
  },
11294
11310
  closedAt: {
11295
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
11311
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
11296
11312
  }
11297
11313
  },
11298
11314
  required: [
@@ -13458,32 +13474,35 @@ var require_gateway = __commonJS({
13458
13474
  "src/schemas/gateway.json"(exports, module) {
13459
13475
  module.exports = {
13460
13476
  $schema: "http://json-schema.org/draft-07/schema",
13461
- $id: "https://api.kohost.app/schemas/v3/iotGateway.json",
13477
+ $id: "https://api.kohost.io/schemas/v3/iotGateway.json",
13462
13478
  title: "IoT Gateway",
13463
13479
  description: "Any smart gateway that is an entrypoint for controlling devices",
13464
13480
  type: "object",
13465
13481
  properties: {
13466
13482
  id: {
13467
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/id"
13483
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/id"
13468
13484
  },
13469
13485
  type: {
13470
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/type"
13486
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/type"
13471
13487
  },
13472
13488
  supportedNotifications: {
13473
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
13489
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/supportedNotifications"
13474
13490
  },
13475
13491
  notification: {
13476
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/notification"
13492
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/notification"
13477
13493
  },
13478
13494
  status: {
13479
13495
  type: "string"
13480
13496
  },
13481
13497
  systemData: {
13482
- $ref: "https://api.kohost.app/schemas/v3/definitions/device.json#/definitions/systemData"
13498
+ $ref: "https://api.kohost.io/schemas/v3/definitions/device.json#/definitions/systemData"
13499
+ },
13500
+ driver: {
13501
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
13483
13502
  }
13484
13503
  },
13485
13504
  additionalProperties: false,
13486
- required: ["id", "type", "systemData", "status"]
13505
+ required: ["id", "type", "systemData", "status", "driver"]
13487
13506
  };
13488
13507
  }
13489
13508
  });
@@ -13522,13 +13541,13 @@ var require_product = __commonJS({
13522
13541
  "src/schemas/product.json"(exports, module) {
13523
13542
  module.exports = {
13524
13543
  $schema: "http://json-schema.org/draft-07/schema",
13525
- $id: "https://api.kohost.app/schemas/v3/product.json",
13544
+ $id: "https://api.kohost.io/schemas/v3/product.json",
13526
13545
  title: "Product",
13527
13546
  type: "object",
13528
- required: ["name", "price", "currency"],
13547
+ required: ["name", "price", "currency", "driver"],
13529
13548
  properties: {
13530
13549
  id: {
13531
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
13550
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
13532
13551
  },
13533
13552
  type: {
13534
13553
  type: "string"
@@ -13536,6 +13555,9 @@ var require_product = __commonJS({
13536
13555
  name: {
13537
13556
  type: "string"
13538
13557
  },
13558
+ driver: {
13559
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/driver"
13560
+ },
13539
13561
  description: {
13540
13562
  string: "string"
13541
13563
  },
@@ -13549,14 +13571,14 @@ var require_product = __commonJS({
13549
13571
  maxLength: 3
13550
13572
  },
13551
13573
  image: {
13552
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/file"
13574
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/file"
13553
13575
  },
13554
13576
  imageUrl: {
13555
13577
  format: "uri",
13556
13578
  pattern: "^https?://"
13557
13579
  },
13558
13580
  systemData: {
13559
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
13581
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
13560
13582
  }
13561
13583
  }
13562
13584
  };
@@ -13597,14 +13619,14 @@ var require_discoveredDevice = __commonJS({
13597
13619
  "src/schemas/discoveredDevice.json"(exports, module) {
13598
13620
  module.exports = {
13599
13621
  $schema: "http://json-schema.org/draft-07/schema",
13600
- $id: "https://api.kohost.app/schemas/v3/discoveredDevice.json",
13622
+ $id: "https://api.kohost.io/schemas/v3/discoveredDevice.json",
13601
13623
  title: "Discovered Device",
13602
13624
  description: "A device that has been discovered by Kohost, but not yet added to the Kohost system.",
13603
13625
  type: "object",
13604
13626
  required: ["name", "deviceId", "deviceData"],
13605
13627
  properties: {
13606
13628
  id: {
13607
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
13629
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
13608
13630
  },
13609
13631
  name: {
13610
13632
  type: "string"
@@ -13622,7 +13644,7 @@ var require_discoveredDevice = __commonJS({
13622
13644
  "lock",
13623
13645
  "camera",
13624
13646
  "courtesy",
13625
- "source",
13647
+ "mediaSource",
13626
13648
  "alarm",
13627
13649
  "windowCovering"
13628
13650
  ]
@@ -13630,9 +13652,6 @@ var require_discoveredDevice = __commonJS({
13630
13652
  driver: {
13631
13653
  type: "string"
13632
13654
  },
13633
- integrationId: {
13634
- type: "string"
13635
- },
13636
13655
  deviceData: {
13637
13656
  type: "object"
13638
13657
  }
@@ -13675,13 +13694,13 @@ var require_credential = __commonJS({
13675
13694
  "src/schemas/credential.json"(exports, module) {
13676
13695
  module.exports = {
13677
13696
  $schema: "http://json-schema.org/draft-07/schema",
13678
- $id: "https://api.kohost.app/schemas/v3/credential.json",
13697
+ $id: "https://api.kohost.io/schemas/v3/credential.json",
13679
13698
  title: "Credential",
13680
13699
  type: "object",
13681
13700
  required: ["type", "credential", "expires"],
13682
13701
  properties: {
13683
13702
  id: {
13684
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
13703
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
13685
13704
  },
13686
13705
  type: {
13687
13706
  type: "string",
@@ -13700,7 +13719,7 @@ var require_credential = __commonJS({
13700
13719
  string: "string"
13701
13720
  },
13702
13721
  systemData: {
13703
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
13722
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
13704
13723
  }
13705
13724
  }
13706
13725
  };
@@ -13741,13 +13760,13 @@ var require_shortLink = __commonJS({
13741
13760
  "src/schemas/shortLink.json"(exports, module) {
13742
13761
  module.exports = {
13743
13762
  $schema: "http://json-schema.org/draft-07/schema",
13744
- $id: "https://api.kohost.app/schemas/v3/shortLink.json",
13763
+ $id: "https://api.kohost.io/schemas/v3/shortLink.json",
13745
13764
  title: "Short Link",
13746
13765
  type: "object",
13747
13766
  required: ["destination", "url"],
13748
13767
  properties: {
13749
13768
  id: {
13750
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
13769
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
13751
13770
  },
13752
13771
  type: {
13753
13772
  type: "string",
@@ -13765,7 +13784,7 @@ var require_shortLink = __commonJS({
13765
13784
  format: "uri"
13766
13785
  },
13767
13786
  systemData: {
13768
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/systemData"
13787
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/systemData"
13769
13788
  }
13770
13789
  }
13771
13790
  };
@@ -13806,14 +13825,14 @@ var require_property = __commonJS({
13806
13825
  "src/schemas/property.json"(exports, module) {
13807
13826
  module.exports = {
13808
13827
  $schema: "http://json-schema.org/draft-07/schema",
13809
- $id: "https://api.kohost.app/schemas/v3/admin/property.json",
13828
+ $id: "https://api.kohost.io/schemas/v3/admin/property.json",
13810
13829
  title: "Property",
13811
13830
  type: "object",
13812
13831
  description: "A property is a physical asset or building",
13813
13832
  required: ["id", "name", "type", "hostname", "organization"],
13814
13833
  properties: {
13815
13834
  id: {
13816
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
13835
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
13817
13836
  },
13818
13837
  name: {
13819
13838
  type: "string"
@@ -13833,7 +13852,7 @@ var require_property = __commonJS({
13833
13852
  },
13834
13853
  organization: {
13835
13854
  type: "string",
13836
- description: "Reference to the organization that owns this property"
13855
+ description: "Reference (id) to the organization that owns this property"
13837
13856
  },
13838
13857
  address: {
13839
13858
  type: "object",
@@ -13973,7 +13992,42 @@ var require_property = __commonJS({
13973
13992
  CheckIn: {},
13974
13993
  CheckOut: {},
13975
13994
  Concierge: {},
13976
- DigitalKey: {},
13995
+ DigitalKey: {
13996
+ type: "object",
13997
+ properties: {
13998
+ system: {
13999
+ type: "string",
14000
+ enum: ["salto"]
14001
+ },
14002
+ branding: {
14003
+ type: "object",
14004
+ properties: {
14005
+ logo: {
14006
+ type: "string",
14007
+ format: "uri"
14008
+ },
14009
+ gradient: {
14010
+ type: "array",
14011
+ items: {
14012
+ type: "string",
14013
+ pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$"
14014
+ },
14015
+ minItems: 2,
14016
+ maxItems: 2
14017
+ },
14018
+ highlightedGradient: {
14019
+ type: "array",
14020
+ items: {
14021
+ type: "string",
14022
+ pattern: "^(?!#ffffff)(#[0-9a-fA-F]{6})$"
14023
+ },
14024
+ minItems: 2,
14025
+ maxItems: 3
14026
+ }
14027
+ }
14028
+ }
14029
+ }
14030
+ },
13977
14031
  Elevator: {}
13978
14032
  },
13979
14033
  additionalProperties: false,
@@ -14025,14 +14079,14 @@ var require_organization = __commonJS({
14025
14079
  "src/schemas/organization.json"(exports, module) {
14026
14080
  module.exports = {
14027
14081
  $schema: "http://json-schema.org/draft-07/schema",
14028
- $id: "https://api.kohost.app/schemas/v3/admin/organization.json",
14082
+ $id: "https://api.kohost.io/schemas/v3/admin/organization.json",
14029
14083
  title: "Organization",
14030
14084
  type: "object",
14031
14085
  description: "An organization is a group or entity that subscribes to Kohost software.",
14032
14086
  required: ["accountNumber", "name"],
14033
14087
  properties: {
14034
14088
  id: {
14035
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/id"
14089
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/id"
14036
14090
  },
14037
14091
  accountNumber: {
14038
14092
  type: "number",
@@ -14052,10 +14106,10 @@ var require_organization = __commonJS({
14052
14106
  additionalProperties: true
14053
14107
  },
14054
14108
  createdAt: {
14055
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/createdAt"
14109
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/createdAt"
14056
14110
  },
14057
14111
  updatedAt: {
14058
- $ref: "https://api.kohost.app/schemas/v3/definitions/common.json#/definitions/updatedAt"
14112
+ $ref: "https://api.kohost.io/schemas/v3/definitions/common.json#/definitions/updatedAt"
14059
14113
  }
14060
14114
  }
14061
14115
  };
@@ -14109,7 +14163,6 @@ var require_Models = __commonJS({
14109
14163
  var MediaSource = require_mediaSource2();
14110
14164
  var Room = require_room2();
14111
14165
  var Reservation = require_reservation2();
14112
- var Application = require_application2();
14113
14166
  var Space = require_space2();
14114
14167
  var SpaceType = require_spaceType2();
14115
14168
  var Ticket = require_ticket2();
@@ -14140,7 +14193,6 @@ var require_Models = __commonJS({
14140
14193
  User,
14141
14194
  SystemUser,
14142
14195
  Room,
14143
- Application,
14144
14196
  Space,
14145
14197
  SpaceType,
14146
14198
  Ticket,