@kohost/api-client 4.0.10 → 4.0.12

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.
package/dist/index.js CHANGED
@@ -2259,6 +2259,7 @@ var schema18 = {
2259
2259
  "power-shades",
2260
2260
  "rachio",
2261
2261
  "rebrandly",
2262
+ "relay",
2262
2263
  "rtsp",
2263
2264
  "salto",
2264
2265
  "salto-irn",
@@ -2739,7 +2740,7 @@ function validate10(data, { instancePath = "", parentData, parentDataProperty, r
2739
2740
  }
2740
2741
  errors++;
2741
2742
  }
2742
- if (!(data8 === "adlink" || data8 === "aws-kinesis" || data8 === "butler" || data8 === "crestron" || data8 === "dell" || data8 === "dmp" || data8 === "doorbird" || data8 === "dormakaba" || data8 === "dsc" || data8 === "ecobee" || data8 === "epson" || data8 === "geovision-rs" || data8 === "geovision-as-manager" || data8 === "honeywell-vista" || data8 === "igor" || data8 === "inncom" || data8 === "isapi" || data8 === "kohost-k7" || data8 === "kohost" || data8 === "lg" || data8 === "lg-webos" || data8 === "lapi" || data8 === "lirc" || data8 === "mews" || data8 === "mht" || data8 === "paxton" || data8 === "pelican-wireless" || data8 === "power-shades" || data8 === "rachio" || data8 === "rebrandly" || data8 === "rtsp" || data8 === "salto" || data8 === "salto-irn" || data8 === "samsung" || data8 === "se" || data8 === "sendgrid" || data8 === "sonifi" || data8 === "stay-n-touch" || data8 === "storable" || data8 === "twilio" || data8 === "unifi" || data8 === "valcom" || data8 === "vizio" || data8 === "wisenet" || data8 === "cloudflare-images" || data8 === "cloudflare-stream" || data8 === "insperia-privacy")) {
2743
+ if (!(data8 === "adlink" || data8 === "aws-kinesis" || data8 === "butler" || data8 === "crestron" || data8 === "dell" || data8 === "dmp" || data8 === "doorbird" || data8 === "dormakaba" || data8 === "dsc" || data8 === "ecobee" || data8 === "epson" || data8 === "geovision-rs" || data8 === "geovision-as-manager" || data8 === "honeywell-vista" || data8 === "igor" || data8 === "inncom" || data8 === "isapi" || data8 === "kohost-k7" || data8 === "kohost" || data8 === "lg" || data8 === "lg-webos" || data8 === "lapi" || data8 === "lirc" || data8 === "mews" || data8 === "mht" || data8 === "paxton" || data8 === "pelican-wireless" || data8 === "power-shades" || data8 === "rachio" || data8 === "rebrandly" || data8 === "relay" || data8 === "rtsp" || data8 === "salto" || data8 === "salto-irn" || data8 === "samsung" || data8 === "se" || data8 === "sendgrid" || data8 === "sonifi" || data8 === "stay-n-touch" || data8 === "storable" || data8 === "twilio" || data8 === "unifi" || data8 === "valcom" || data8 === "vizio" || data8 === "wisenet" || data8 === "cloudflare-images" || data8 === "cloudflare-stream" || data8 === "insperia-privacy")) {
2743
2744
  const err17 = {
2744
2745
  instancePath: instancePath + "/driver",
2745
2746
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -4730,7 +4731,7 @@ function validate17(data, { instancePath = "", parentData, parentDataProperty, r
4730
4731
  }
4731
4732
  errors++;
4732
4733
  }
4733
- if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
4734
+ if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "relay" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
4734
4735
  const err15 = {
4735
4736
  instancePath: instancePath + "/driver",
4736
4737
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -5421,7 +5422,7 @@ function validate20(data, { instancePath = "", parentData, parentDataProperty, r
5421
5422
  }
5422
5423
  errors++;
5423
5424
  }
5424
- if (!(data3 === "adlink" || data3 === "aws-kinesis" || data3 === "butler" || data3 === "crestron" || data3 === "dell" || data3 === "dmp" || data3 === "doorbird" || data3 === "dormakaba" || data3 === "dsc" || data3 === "ecobee" || data3 === "epson" || data3 === "geovision-rs" || data3 === "geovision-as-manager" || data3 === "honeywell-vista" || data3 === "igor" || data3 === "inncom" || data3 === "isapi" || data3 === "kohost-k7" || data3 === "kohost" || data3 === "lg" || data3 === "lg-webos" || data3 === "lapi" || data3 === "lirc" || data3 === "mews" || data3 === "mht" || data3 === "paxton" || data3 === "pelican-wireless" || data3 === "power-shades" || data3 === "rachio" || data3 === "rebrandly" || data3 === "rtsp" || data3 === "salto" || data3 === "salto-irn" || data3 === "samsung" || data3 === "se" || data3 === "sendgrid" || data3 === "sonifi" || data3 === "stay-n-touch" || data3 === "storable" || data3 === "twilio" || data3 === "unifi" || data3 === "valcom" || data3 === "vizio" || data3 === "wisenet" || data3 === "cloudflare-images" || data3 === "cloudflare-stream" || data3 === "insperia-privacy")) {
5425
+ if (!(data3 === "adlink" || data3 === "aws-kinesis" || data3 === "butler" || data3 === "crestron" || data3 === "dell" || data3 === "dmp" || data3 === "doorbird" || data3 === "dormakaba" || data3 === "dsc" || data3 === "ecobee" || data3 === "epson" || data3 === "geovision-rs" || data3 === "geovision-as-manager" || data3 === "honeywell-vista" || data3 === "igor" || data3 === "inncom" || data3 === "isapi" || data3 === "kohost-k7" || data3 === "kohost" || data3 === "lg" || data3 === "lg-webos" || data3 === "lapi" || data3 === "lirc" || data3 === "mews" || data3 === "mht" || data3 === "paxton" || data3 === "pelican-wireless" || data3 === "power-shades" || data3 === "rachio" || data3 === "rebrandly" || data3 === "relay" || data3 === "rtsp" || data3 === "salto" || data3 === "salto-irn" || data3 === "samsung" || data3 === "se" || data3 === "sendgrid" || data3 === "sonifi" || data3 === "stay-n-touch" || data3 === "storable" || data3 === "twilio" || data3 === "unifi" || data3 === "valcom" || data3 === "vizio" || data3 === "wisenet" || data3 === "cloudflare-images" || data3 === "cloudflare-stream" || data3 === "insperia-privacy")) {
5425
5426
  const err9 = {
5426
5427
  instancePath: instancePath + "/driver",
5427
5428
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -5995,7 +5996,7 @@ function validate22(data, { instancePath = "", parentData, parentDataProperty, r
5995
5996
  }
5996
5997
  errors++;
5997
5998
  }
5998
- if (!(data6 === "adlink" || data6 === "aws-kinesis" || data6 === "butler" || data6 === "crestron" || data6 === "dell" || data6 === "dmp" || data6 === "doorbird" || data6 === "dormakaba" || data6 === "dsc" || data6 === "ecobee" || data6 === "epson" || data6 === "geovision-rs" || data6 === "geovision-as-manager" || data6 === "honeywell-vista" || data6 === "igor" || data6 === "inncom" || data6 === "isapi" || data6 === "kohost-k7" || data6 === "kohost" || data6 === "lg" || data6 === "lg-webos" || data6 === "lapi" || data6 === "lirc" || data6 === "mews" || data6 === "mht" || data6 === "paxton" || data6 === "pelican-wireless" || data6 === "power-shades" || data6 === "rachio" || data6 === "rebrandly" || data6 === "rtsp" || data6 === "salto" || data6 === "salto-irn" || data6 === "samsung" || data6 === "se" || data6 === "sendgrid" || data6 === "sonifi" || data6 === "stay-n-touch" || data6 === "storable" || data6 === "twilio" || data6 === "unifi" || data6 === "valcom" || data6 === "vizio" || data6 === "wisenet" || data6 === "cloudflare-images" || data6 === "cloudflare-stream" || data6 === "insperia-privacy")) {
5999
+ if (!(data6 === "adlink" || data6 === "aws-kinesis" || data6 === "butler" || data6 === "crestron" || data6 === "dell" || data6 === "dmp" || data6 === "doorbird" || data6 === "dormakaba" || data6 === "dsc" || data6 === "ecobee" || data6 === "epson" || data6 === "geovision-rs" || data6 === "geovision-as-manager" || data6 === "honeywell-vista" || data6 === "igor" || data6 === "inncom" || data6 === "isapi" || data6 === "kohost-k7" || data6 === "kohost" || data6 === "lg" || data6 === "lg-webos" || data6 === "lapi" || data6 === "lirc" || data6 === "mews" || data6 === "mht" || data6 === "paxton" || data6 === "pelican-wireless" || data6 === "power-shades" || data6 === "rachio" || data6 === "rebrandly" || data6 === "relay" || data6 === "rtsp" || data6 === "salto" || data6 === "salto-irn" || data6 === "samsung" || data6 === "se" || data6 === "sendgrid" || data6 === "sonifi" || data6 === "stay-n-touch" || data6 === "storable" || data6 === "twilio" || data6 === "unifi" || data6 === "valcom" || data6 === "vizio" || data6 === "wisenet" || data6 === "cloudflare-images" || data6 === "cloudflare-stream" || data6 === "insperia-privacy")) {
5999
6000
  const err15 = {
6000
6001
  instancePath: instancePath + "/driver",
6001
6002
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -6433,7 +6434,7 @@ function validate25(data, { instancePath = "", parentData, parentDataProperty, r
6433
6434
  }
6434
6435
  errors++;
6435
6436
  }
6436
- if (!(data2 === "adlink" || data2 === "aws-kinesis" || data2 === "butler" || data2 === "crestron" || data2 === "dell" || data2 === "dmp" || data2 === "doorbird" || data2 === "dormakaba" || data2 === "dsc" || data2 === "ecobee" || data2 === "epson" || data2 === "geovision-rs" || data2 === "geovision-as-manager" || data2 === "honeywell-vista" || data2 === "igor" || data2 === "inncom" || data2 === "isapi" || data2 === "kohost-k7" || data2 === "kohost" || data2 === "lg" || data2 === "lg-webos" || data2 === "lapi" || data2 === "lirc" || data2 === "mews" || data2 === "mht" || data2 === "paxton" || data2 === "pelican-wireless" || data2 === "power-shades" || data2 === "rachio" || data2 === "rebrandly" || data2 === "rtsp" || data2 === "salto" || data2 === "salto-irn" || data2 === "samsung" || data2 === "se" || data2 === "sendgrid" || data2 === "sonifi" || data2 === "stay-n-touch" || data2 === "storable" || data2 === "twilio" || data2 === "unifi" || data2 === "valcom" || data2 === "vizio" || data2 === "wisenet" || data2 === "cloudflare-images" || data2 === "cloudflare-stream" || data2 === "insperia-privacy")) {
6437
+ if (!(data2 === "adlink" || data2 === "aws-kinesis" || data2 === "butler" || data2 === "crestron" || data2 === "dell" || data2 === "dmp" || data2 === "doorbird" || data2 === "dormakaba" || data2 === "dsc" || data2 === "ecobee" || data2 === "epson" || data2 === "geovision-rs" || data2 === "geovision-as-manager" || data2 === "honeywell-vista" || data2 === "igor" || data2 === "inncom" || data2 === "isapi" || data2 === "kohost-k7" || data2 === "kohost" || data2 === "lg" || data2 === "lg-webos" || data2 === "lapi" || data2 === "lirc" || data2 === "mews" || data2 === "mht" || data2 === "paxton" || data2 === "pelican-wireless" || data2 === "power-shades" || data2 === "rachio" || data2 === "rebrandly" || data2 === "relay" || data2 === "rtsp" || data2 === "salto" || data2 === "salto-irn" || data2 === "samsung" || data2 === "se" || data2 === "sendgrid" || data2 === "sonifi" || data2 === "stay-n-touch" || data2 === "storable" || data2 === "twilio" || data2 === "unifi" || data2 === "valcom" || data2 === "vizio" || data2 === "wisenet" || data2 === "cloudflare-images" || data2 === "cloudflare-stream" || data2 === "insperia-privacy")) {
6437
6438
  const err8 = {
6438
6439
  instancePath: instancePath + "/driver",
6439
6440
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -7244,7 +7245,7 @@ function validate27(data, { instancePath = "", parentData, parentDataProperty, r
7244
7245
  }
7245
7246
  errors++;
7246
7247
  }
7247
- if (!(data6 === "adlink" || data6 === "aws-kinesis" || data6 === "butler" || data6 === "crestron" || data6 === "dell" || data6 === "dmp" || data6 === "doorbird" || data6 === "dormakaba" || data6 === "dsc" || data6 === "ecobee" || data6 === "epson" || data6 === "geovision-rs" || data6 === "geovision-as-manager" || data6 === "honeywell-vista" || data6 === "igor" || data6 === "inncom" || data6 === "isapi" || data6 === "kohost-k7" || data6 === "kohost" || data6 === "lg" || data6 === "lg-webos" || data6 === "lapi" || data6 === "lirc" || data6 === "mews" || data6 === "mht" || data6 === "paxton" || data6 === "pelican-wireless" || data6 === "power-shades" || data6 === "rachio" || data6 === "rebrandly" || data6 === "rtsp" || data6 === "salto" || data6 === "salto-irn" || data6 === "samsung" || data6 === "se" || data6 === "sendgrid" || data6 === "sonifi" || data6 === "stay-n-touch" || data6 === "storable" || data6 === "twilio" || data6 === "unifi" || data6 === "valcom" || data6 === "vizio" || data6 === "wisenet" || data6 === "cloudflare-images" || data6 === "cloudflare-stream" || data6 === "insperia-privacy")) {
7248
+ if (!(data6 === "adlink" || data6 === "aws-kinesis" || data6 === "butler" || data6 === "crestron" || data6 === "dell" || data6 === "dmp" || data6 === "doorbird" || data6 === "dormakaba" || data6 === "dsc" || data6 === "ecobee" || data6 === "epson" || data6 === "geovision-rs" || data6 === "geovision-as-manager" || data6 === "honeywell-vista" || data6 === "igor" || data6 === "inncom" || data6 === "isapi" || data6 === "kohost-k7" || data6 === "kohost" || data6 === "lg" || data6 === "lg-webos" || data6 === "lapi" || data6 === "lirc" || data6 === "mews" || data6 === "mht" || data6 === "paxton" || data6 === "pelican-wireless" || data6 === "power-shades" || data6 === "rachio" || data6 === "rebrandly" || data6 === "relay" || data6 === "rtsp" || data6 === "salto" || data6 === "salto-irn" || data6 === "samsung" || data6 === "se" || data6 === "sendgrid" || data6 === "sonifi" || data6 === "stay-n-touch" || data6 === "storable" || data6 === "twilio" || data6 === "unifi" || data6 === "valcom" || data6 === "vizio" || data6 === "wisenet" || data6 === "cloudflare-images" || data6 === "cloudflare-stream" || data6 === "insperia-privacy")) {
7248
7249
  const err14 = {
7249
7250
  instancePath: instancePath + "/driver",
7250
7251
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -10370,7 +10371,7 @@ function validate34(data, { instancePath = "", parentData, parentDataProperty, r
10370
10371
  }
10371
10372
  errors++;
10372
10373
  }
10373
- if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
10374
+ if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "relay" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
10374
10375
  const err15 = {
10375
10376
  instancePath: instancePath + "/driver",
10376
10377
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -11826,7 +11827,7 @@ function validate45(data, { instancePath = "", parentData, parentDataProperty, r
11826
11827
  }
11827
11828
  errors++;
11828
11829
  }
11829
- if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
11830
+ if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "relay" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
11830
11831
  const err15 = {
11831
11832
  instancePath: instancePath + "/driver",
11832
11833
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -12166,6 +12167,7 @@ var schema120 = {
12166
12167
  properties: {
12167
12168
  type: { type: "string", default: "log", enum: ["log"] },
12168
12169
  timestamp: { type: "number", minimum: 1655907956593 },
12170
+ id: { $ref: "definitions.json#/definitions/id" },
12169
12171
  name: { type: "string", description: "Event name" },
12170
12172
  field1: {
12171
12173
  type: "object",
@@ -12271,9 +12273,63 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12271
12273
  errors++;
12272
12274
  }
12273
12275
  }
12276
+ if (data.id !== void 0) {
12277
+ let data2 = data.id;
12278
+ if (typeof data2 !== "string") {
12279
+ const err4 = {
12280
+ instancePath: instancePath + "/id",
12281
+ schemaPath: "definitions.json#/definitions/id/type",
12282
+ keyword: "type",
12283
+ params: { type: "string" },
12284
+ message: "must be string"
12285
+ };
12286
+ if (vErrors === null) {
12287
+ vErrors = [err4];
12288
+ } else {
12289
+ vErrors.push(err4);
12290
+ }
12291
+ errors++;
12292
+ }
12293
+ const _errs8 = errors;
12294
+ const _errs9 = errors;
12295
+ if (!(data2 === "global" || data2 === "system")) {
12296
+ const err5 = {};
12297
+ if (vErrors === null) {
12298
+ vErrors = [err5];
12299
+ } else {
12300
+ vErrors.push(err5);
12301
+ }
12302
+ errors++;
12303
+ }
12304
+ var valid2 = _errs9 === errors;
12305
+ if (valid2) {
12306
+ const err6 = {
12307
+ instancePath: instancePath + "/id",
12308
+ schemaPath: "definitions.json#/definitions/id/not",
12309
+ keyword: "not",
12310
+ params: {},
12311
+ message: "must NOT be valid"
12312
+ };
12313
+ if (vErrors === null) {
12314
+ vErrors = [err6];
12315
+ } else {
12316
+ vErrors.push(err6);
12317
+ }
12318
+ errors++;
12319
+ } else {
12320
+ errors = _errs8;
12321
+ if (vErrors !== null) {
12322
+ if (_errs8) {
12323
+ vErrors.length = _errs8;
12324
+ } else {
12325
+ vErrors = null;
12326
+ }
12327
+ }
12328
+ }
12329
+ }
12274
12330
  if (data.name !== void 0) {
12275
12331
  if (typeof data.name !== "string") {
12276
- const err4 = {
12332
+ const err7 = {
12277
12333
  instancePath: instancePath + "/name",
12278
12334
  schemaPath: "#/properties/name/type",
12279
12335
  keyword: "type",
@@ -12281,18 +12337,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12281
12337
  message: "must be string"
12282
12338
  };
12283
12339
  if (vErrors === null) {
12284
- vErrors = [err4];
12340
+ vErrors = [err7];
12285
12341
  } else {
12286
- vErrors.push(err4);
12342
+ vErrors.push(err7);
12287
12343
  }
12288
12344
  errors++;
12289
12345
  }
12290
12346
  }
12291
12347
  if (data.field1 !== void 0) {
12292
- let data3 = data.field1;
12293
- if (data3 && typeof data3 == "object" && !Array.isArray(data3)) {
12294
- if (data3.name === void 0) {
12295
- const err5 = {
12348
+ let data4 = data.field1;
12349
+ if (data4 && typeof data4 == "object" && !Array.isArray(data4)) {
12350
+ if (data4.name === void 0) {
12351
+ const err8 = {
12296
12352
  instancePath: instancePath + "/field1",
12297
12353
  schemaPath: "#/properties/field1/required",
12298
12354
  keyword: "required",
@@ -12300,14 +12356,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12300
12356
  message: "must have required property 'name'"
12301
12357
  };
12302
12358
  if (vErrors === null) {
12303
- vErrors = [err5];
12359
+ vErrors = [err8];
12304
12360
  } else {
12305
- vErrors.push(err5);
12361
+ vErrors.push(err8);
12306
12362
  }
12307
12363
  errors++;
12308
12364
  }
12309
- if (data3.value === void 0) {
12310
- const err6 = {
12365
+ if (data4.value === void 0) {
12366
+ const err9 = {
12311
12367
  instancePath: instancePath + "/field1",
12312
12368
  schemaPath: "#/properties/field1/required",
12313
12369
  keyword: "required",
@@ -12315,15 +12371,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12315
12371
  message: "must have required property 'value'"
12316
12372
  };
12317
12373
  if (vErrors === null) {
12318
- vErrors = [err6];
12374
+ vErrors = [err9];
12319
12375
  } else {
12320
- vErrors.push(err6);
12376
+ vErrors.push(err9);
12321
12377
  }
12322
12378
  errors++;
12323
12379
  }
12324
- if (data3.name !== void 0) {
12325
- if (typeof data3.name !== "string") {
12326
- const err7 = {
12380
+ if (data4.name !== void 0) {
12381
+ if (typeof data4.name !== "string") {
12382
+ const err10 = {
12327
12383
  instancePath: instancePath + "/field1/name",
12328
12384
  schemaPath: "#/properties/field1/properties/name/type",
12329
12385
  keyword: "type",
@@ -12331,16 +12387,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12331
12387
  message: "must be string"
12332
12388
  };
12333
12389
  if (vErrors === null) {
12334
- vErrors = [err7];
12390
+ vErrors = [err10];
12335
12391
  } else {
12336
- vErrors.push(err7);
12392
+ vErrors.push(err10);
12337
12393
  }
12338
12394
  errors++;
12339
12395
  }
12340
12396
  }
12341
- if (data3.value !== void 0) {
12342
- if (typeof data3.value !== "string") {
12343
- const err8 = {
12397
+ if (data4.value !== void 0) {
12398
+ if (typeof data4.value !== "string") {
12399
+ const err11 = {
12344
12400
  instancePath: instancePath + "/field1/value",
12345
12401
  schemaPath: "#/properties/field1/properties/value/type",
12346
12402
  keyword: "type",
@@ -12348,15 +12404,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12348
12404
  message: "must be string"
12349
12405
  };
12350
12406
  if (vErrors === null) {
12351
- vErrors = [err8];
12407
+ vErrors = [err11];
12352
12408
  } else {
12353
- vErrors.push(err8);
12409
+ vErrors.push(err11);
12354
12410
  }
12355
12411
  errors++;
12356
12412
  }
12357
12413
  }
12358
12414
  } else {
12359
- const err9 = {
12415
+ const err12 = {
12360
12416
  instancePath: instancePath + "/field1",
12361
12417
  schemaPath: "#/properties/field1/type",
12362
12418
  keyword: "type",
@@ -12364,18 +12420,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12364
12420
  message: "must be object"
12365
12421
  };
12366
12422
  if (vErrors === null) {
12367
- vErrors = [err9];
12423
+ vErrors = [err12];
12368
12424
  } else {
12369
- vErrors.push(err9);
12425
+ vErrors.push(err12);
12370
12426
  }
12371
12427
  errors++;
12372
12428
  }
12373
12429
  }
12374
12430
  if (data.field2 !== void 0) {
12375
- let data6 = data.field2;
12376
- if (data6 && typeof data6 == "object" && !Array.isArray(data6)) {
12377
- if (data6.name === void 0) {
12378
- const err10 = {
12431
+ let data7 = data.field2;
12432
+ if (data7 && typeof data7 == "object" && !Array.isArray(data7)) {
12433
+ if (data7.name === void 0) {
12434
+ const err13 = {
12379
12435
  instancePath: instancePath + "/field2",
12380
12436
  schemaPath: "#/properties/field2/required",
12381
12437
  keyword: "required",
@@ -12383,14 +12439,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12383
12439
  message: "must have required property 'name'"
12384
12440
  };
12385
12441
  if (vErrors === null) {
12386
- vErrors = [err10];
12442
+ vErrors = [err13];
12387
12443
  } else {
12388
- vErrors.push(err10);
12444
+ vErrors.push(err13);
12389
12445
  }
12390
12446
  errors++;
12391
12447
  }
12392
- if (data6.value === void 0) {
12393
- const err11 = {
12448
+ if (data7.value === void 0) {
12449
+ const err14 = {
12394
12450
  instancePath: instancePath + "/field2",
12395
12451
  schemaPath: "#/properties/field2/required",
12396
12452
  keyword: "required",
@@ -12398,15 +12454,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12398
12454
  message: "must have required property 'value'"
12399
12455
  };
12400
12456
  if (vErrors === null) {
12401
- vErrors = [err11];
12457
+ vErrors = [err14];
12402
12458
  } else {
12403
- vErrors.push(err11);
12459
+ vErrors.push(err14);
12404
12460
  }
12405
12461
  errors++;
12406
12462
  }
12407
- if (data6.name !== void 0) {
12408
- if (typeof data6.name !== "string") {
12409
- const err12 = {
12463
+ if (data7.name !== void 0) {
12464
+ if (typeof data7.name !== "string") {
12465
+ const err15 = {
12410
12466
  instancePath: instancePath + "/field2/name",
12411
12467
  schemaPath: "#/properties/field2/properties/name/type",
12412
12468
  keyword: "type",
@@ -12414,16 +12470,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12414
12470
  message: "must be string"
12415
12471
  };
12416
12472
  if (vErrors === null) {
12417
- vErrors = [err12];
12473
+ vErrors = [err15];
12418
12474
  } else {
12419
- vErrors.push(err12);
12475
+ vErrors.push(err15);
12420
12476
  }
12421
12477
  errors++;
12422
12478
  }
12423
12479
  }
12424
- if (data6.value !== void 0) {
12425
- if (typeof data6.value !== "string") {
12426
- const err13 = {
12480
+ if (data7.value !== void 0) {
12481
+ if (typeof data7.value !== "string") {
12482
+ const err16 = {
12427
12483
  instancePath: instancePath + "/field2/value",
12428
12484
  schemaPath: "#/properties/field2/properties/value/type",
12429
12485
  keyword: "type",
@@ -12431,15 +12487,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12431
12487
  message: "must be string"
12432
12488
  };
12433
12489
  if (vErrors === null) {
12434
- vErrors = [err13];
12490
+ vErrors = [err16];
12435
12491
  } else {
12436
- vErrors.push(err13);
12492
+ vErrors.push(err16);
12437
12493
  }
12438
12494
  errors++;
12439
12495
  }
12440
12496
  }
12441
12497
  } else {
12442
- const err14 = {
12498
+ const err17 = {
12443
12499
  instancePath: instancePath + "/field2",
12444
12500
  schemaPath: "#/properties/field2/type",
12445
12501
  keyword: "type",
@@ -12447,18 +12503,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12447
12503
  message: "must be object"
12448
12504
  };
12449
12505
  if (vErrors === null) {
12450
- vErrors = [err14];
12506
+ vErrors = [err17];
12451
12507
  } else {
12452
- vErrors.push(err14);
12508
+ vErrors.push(err17);
12453
12509
  }
12454
12510
  errors++;
12455
12511
  }
12456
12512
  }
12457
12513
  if (data.field3 !== void 0) {
12458
- let data9 = data.field3;
12459
- if (data9 && typeof data9 == "object" && !Array.isArray(data9)) {
12460
- if (data9.name === void 0) {
12461
- const err15 = {
12514
+ let data10 = data.field3;
12515
+ if (data10 && typeof data10 == "object" && !Array.isArray(data10)) {
12516
+ if (data10.name === void 0) {
12517
+ const err18 = {
12462
12518
  instancePath: instancePath + "/field3",
12463
12519
  schemaPath: "#/properties/field3/required",
12464
12520
  keyword: "required",
@@ -12466,14 +12522,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12466
12522
  message: "must have required property 'name'"
12467
12523
  };
12468
12524
  if (vErrors === null) {
12469
- vErrors = [err15];
12525
+ vErrors = [err18];
12470
12526
  } else {
12471
- vErrors.push(err15);
12527
+ vErrors.push(err18);
12472
12528
  }
12473
12529
  errors++;
12474
12530
  }
12475
- if (data9.value === void 0) {
12476
- const err16 = {
12531
+ if (data10.value === void 0) {
12532
+ const err19 = {
12477
12533
  instancePath: instancePath + "/field3",
12478
12534
  schemaPath: "#/properties/field3/required",
12479
12535
  keyword: "required",
@@ -12481,15 +12537,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12481
12537
  message: "must have required property 'value'"
12482
12538
  };
12483
12539
  if (vErrors === null) {
12484
- vErrors = [err16];
12540
+ vErrors = [err19];
12485
12541
  } else {
12486
- vErrors.push(err16);
12542
+ vErrors.push(err19);
12487
12543
  }
12488
12544
  errors++;
12489
12545
  }
12490
- if (data9.name !== void 0) {
12491
- if (typeof data9.name !== "string") {
12492
- const err17 = {
12546
+ if (data10.name !== void 0) {
12547
+ if (typeof data10.name !== "string") {
12548
+ const err20 = {
12493
12549
  instancePath: instancePath + "/field3/name",
12494
12550
  schemaPath: "#/properties/field3/properties/name/type",
12495
12551
  keyword: "type",
@@ -12497,16 +12553,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12497
12553
  message: "must be string"
12498
12554
  };
12499
12555
  if (vErrors === null) {
12500
- vErrors = [err17];
12556
+ vErrors = [err20];
12501
12557
  } else {
12502
- vErrors.push(err17);
12558
+ vErrors.push(err20);
12503
12559
  }
12504
12560
  errors++;
12505
12561
  }
12506
12562
  }
12507
- if (data9.value !== void 0) {
12508
- if (typeof data9.value !== "string") {
12509
- const err18 = {
12563
+ if (data10.value !== void 0) {
12564
+ if (typeof data10.value !== "string") {
12565
+ const err21 = {
12510
12566
  instancePath: instancePath + "/field3/value",
12511
12567
  schemaPath: "#/properties/field3/properties/value/type",
12512
12568
  keyword: "type",
@@ -12514,15 +12570,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12514
12570
  message: "must be string"
12515
12571
  };
12516
12572
  if (vErrors === null) {
12517
- vErrors = [err18];
12573
+ vErrors = [err21];
12518
12574
  } else {
12519
- vErrors.push(err18);
12575
+ vErrors.push(err21);
12520
12576
  }
12521
12577
  errors++;
12522
12578
  }
12523
12579
  }
12524
12580
  } else {
12525
- const err19 = {
12581
+ const err22 = {
12526
12582
  instancePath: instancePath + "/field3",
12527
12583
  schemaPath: "#/properties/field3/type",
12528
12584
  keyword: "type",
@@ -12530,18 +12586,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12530
12586
  message: "must be object"
12531
12587
  };
12532
12588
  if (vErrors === null) {
12533
- vErrors = [err19];
12589
+ vErrors = [err22];
12534
12590
  } else {
12535
- vErrors.push(err19);
12591
+ vErrors.push(err22);
12536
12592
  }
12537
12593
  errors++;
12538
12594
  }
12539
12595
  }
12540
12596
  if (data.field4 !== void 0) {
12541
- let data12 = data.field4;
12542
- if (data12 && typeof data12 == "object" && !Array.isArray(data12)) {
12543
- if (data12.name === void 0) {
12544
- const err20 = {
12597
+ let data13 = data.field4;
12598
+ if (data13 && typeof data13 == "object" && !Array.isArray(data13)) {
12599
+ if (data13.name === void 0) {
12600
+ const err23 = {
12545
12601
  instancePath: instancePath + "/field4",
12546
12602
  schemaPath: "#/properties/field4/required",
12547
12603
  keyword: "required",
@@ -12549,14 +12605,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12549
12605
  message: "must have required property 'name'"
12550
12606
  };
12551
12607
  if (vErrors === null) {
12552
- vErrors = [err20];
12608
+ vErrors = [err23];
12553
12609
  } else {
12554
- vErrors.push(err20);
12610
+ vErrors.push(err23);
12555
12611
  }
12556
12612
  errors++;
12557
12613
  }
12558
- if (data12.value === void 0) {
12559
- const err21 = {
12614
+ if (data13.value === void 0) {
12615
+ const err24 = {
12560
12616
  instancePath: instancePath + "/field4",
12561
12617
  schemaPath: "#/properties/field4/required",
12562
12618
  keyword: "required",
@@ -12564,15 +12620,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12564
12620
  message: "must have required property 'value'"
12565
12621
  };
12566
12622
  if (vErrors === null) {
12567
- vErrors = [err21];
12623
+ vErrors = [err24];
12568
12624
  } else {
12569
- vErrors.push(err21);
12625
+ vErrors.push(err24);
12570
12626
  }
12571
12627
  errors++;
12572
12628
  }
12573
- if (data12.name !== void 0) {
12574
- if (typeof data12.name !== "string") {
12575
- const err22 = {
12629
+ if (data13.name !== void 0) {
12630
+ if (typeof data13.name !== "string") {
12631
+ const err25 = {
12576
12632
  instancePath: instancePath + "/field4/name",
12577
12633
  schemaPath: "#/properties/field4/properties/name/type",
12578
12634
  keyword: "type",
@@ -12580,16 +12636,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12580
12636
  message: "must be string"
12581
12637
  };
12582
12638
  if (vErrors === null) {
12583
- vErrors = [err22];
12639
+ vErrors = [err25];
12584
12640
  } else {
12585
- vErrors.push(err22);
12641
+ vErrors.push(err25);
12586
12642
  }
12587
12643
  errors++;
12588
12644
  }
12589
12645
  }
12590
- if (data12.value !== void 0) {
12591
- if (typeof data12.value !== "string") {
12592
- const err23 = {
12646
+ if (data13.value !== void 0) {
12647
+ if (typeof data13.value !== "string") {
12648
+ const err26 = {
12593
12649
  instancePath: instancePath + "/field4/value",
12594
12650
  schemaPath: "#/properties/field4/properties/value/type",
12595
12651
  keyword: "type",
@@ -12597,15 +12653,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12597
12653
  message: "must be string"
12598
12654
  };
12599
12655
  if (vErrors === null) {
12600
- vErrors = [err23];
12656
+ vErrors = [err26];
12601
12657
  } else {
12602
- vErrors.push(err23);
12658
+ vErrors.push(err26);
12603
12659
  }
12604
12660
  errors++;
12605
12661
  }
12606
12662
  }
12607
12663
  } else {
12608
- const err24 = {
12664
+ const err27 = {
12609
12665
  instancePath: instancePath + "/field4",
12610
12666
  schemaPath: "#/properties/field4/type",
12611
12667
  keyword: "type",
@@ -12613,18 +12669,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12613
12669
  message: "must be object"
12614
12670
  };
12615
12671
  if (vErrors === null) {
12616
- vErrors = [err24];
12672
+ vErrors = [err27];
12617
12673
  } else {
12618
- vErrors.push(err24);
12674
+ vErrors.push(err27);
12619
12675
  }
12620
12676
  errors++;
12621
12677
  }
12622
12678
  }
12623
12679
  if (data.field5 !== void 0) {
12624
- let data15 = data.field5;
12625
- if (data15 && typeof data15 == "object" && !Array.isArray(data15)) {
12626
- if (data15.name === void 0) {
12627
- const err25 = {
12680
+ let data16 = data.field5;
12681
+ if (data16 && typeof data16 == "object" && !Array.isArray(data16)) {
12682
+ if (data16.name === void 0) {
12683
+ const err28 = {
12628
12684
  instancePath: instancePath + "/field5",
12629
12685
  schemaPath: "#/properties/field5/required",
12630
12686
  keyword: "required",
@@ -12632,14 +12688,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12632
12688
  message: "must have required property 'name'"
12633
12689
  };
12634
12690
  if (vErrors === null) {
12635
- vErrors = [err25];
12691
+ vErrors = [err28];
12636
12692
  } else {
12637
- vErrors.push(err25);
12693
+ vErrors.push(err28);
12638
12694
  }
12639
12695
  errors++;
12640
12696
  }
12641
- if (data15.value === void 0) {
12642
- const err26 = {
12697
+ if (data16.value === void 0) {
12698
+ const err29 = {
12643
12699
  instancePath: instancePath + "/field5",
12644
12700
  schemaPath: "#/properties/field5/required",
12645
12701
  keyword: "required",
@@ -12647,15 +12703,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12647
12703
  message: "must have required property 'value'"
12648
12704
  };
12649
12705
  if (vErrors === null) {
12650
- vErrors = [err26];
12706
+ vErrors = [err29];
12651
12707
  } else {
12652
- vErrors.push(err26);
12708
+ vErrors.push(err29);
12653
12709
  }
12654
12710
  errors++;
12655
12711
  }
12656
- if (data15.name !== void 0) {
12657
- if (typeof data15.name !== "string") {
12658
- const err27 = {
12712
+ if (data16.name !== void 0) {
12713
+ if (typeof data16.name !== "string") {
12714
+ const err30 = {
12659
12715
  instancePath: instancePath + "/field5/name",
12660
12716
  schemaPath: "#/properties/field5/properties/name/type",
12661
12717
  keyword: "type",
@@ -12663,16 +12719,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12663
12719
  message: "must be string"
12664
12720
  };
12665
12721
  if (vErrors === null) {
12666
- vErrors = [err27];
12722
+ vErrors = [err30];
12667
12723
  } else {
12668
- vErrors.push(err27);
12724
+ vErrors.push(err30);
12669
12725
  }
12670
12726
  errors++;
12671
12727
  }
12672
12728
  }
12673
- if (data15.value !== void 0) {
12674
- if (typeof data15.value !== "string") {
12675
- const err28 = {
12729
+ if (data16.value !== void 0) {
12730
+ if (typeof data16.value !== "string") {
12731
+ const err31 = {
12676
12732
  instancePath: instancePath + "/field5/value",
12677
12733
  schemaPath: "#/properties/field5/properties/value/type",
12678
12734
  keyword: "type",
@@ -12680,15 +12736,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12680
12736
  message: "must be string"
12681
12737
  };
12682
12738
  if (vErrors === null) {
12683
- vErrors = [err28];
12739
+ vErrors = [err31];
12684
12740
  } else {
12685
- vErrors.push(err28);
12741
+ vErrors.push(err31);
12686
12742
  }
12687
12743
  errors++;
12688
12744
  }
12689
12745
  }
12690
12746
  } else {
12691
- const err29 = {
12747
+ const err32 = {
12692
12748
  instancePath: instancePath + "/field5",
12693
12749
  schemaPath: "#/properties/field5/type",
12694
12750
  keyword: "type",
@@ -12696,18 +12752,18 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12696
12752
  message: "must be object"
12697
12753
  };
12698
12754
  if (vErrors === null) {
12699
- vErrors = [err29];
12755
+ vErrors = [err32];
12700
12756
  } else {
12701
- vErrors.push(err29);
12757
+ vErrors.push(err32);
12702
12758
  }
12703
12759
  errors++;
12704
12760
  }
12705
12761
  }
12706
12762
  if (data.field6 !== void 0) {
12707
- let data18 = data.field6;
12708
- if (data18 && typeof data18 == "object" && !Array.isArray(data18)) {
12709
- if (data18.name === void 0) {
12710
- const err30 = {
12763
+ let data19 = data.field6;
12764
+ if (data19 && typeof data19 == "object" && !Array.isArray(data19)) {
12765
+ if (data19.name === void 0) {
12766
+ const err33 = {
12711
12767
  instancePath: instancePath + "/field6",
12712
12768
  schemaPath: "#/properties/field6/required",
12713
12769
  keyword: "required",
@@ -12715,14 +12771,14 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12715
12771
  message: "must have required property 'name'"
12716
12772
  };
12717
12773
  if (vErrors === null) {
12718
- vErrors = [err30];
12774
+ vErrors = [err33];
12719
12775
  } else {
12720
- vErrors.push(err30);
12776
+ vErrors.push(err33);
12721
12777
  }
12722
12778
  errors++;
12723
12779
  }
12724
- if (data18.value === void 0) {
12725
- const err31 = {
12780
+ if (data19.value === void 0) {
12781
+ const err34 = {
12726
12782
  instancePath: instancePath + "/field6",
12727
12783
  schemaPath: "#/properties/field6/required",
12728
12784
  keyword: "required",
@@ -12730,15 +12786,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12730
12786
  message: "must have required property 'value'"
12731
12787
  };
12732
12788
  if (vErrors === null) {
12733
- vErrors = [err31];
12789
+ vErrors = [err34];
12734
12790
  } else {
12735
- vErrors.push(err31);
12791
+ vErrors.push(err34);
12736
12792
  }
12737
12793
  errors++;
12738
12794
  }
12739
- if (data18.name !== void 0) {
12740
- if (typeof data18.name !== "string") {
12741
- const err32 = {
12795
+ if (data19.name !== void 0) {
12796
+ if (typeof data19.name !== "string") {
12797
+ const err35 = {
12742
12798
  instancePath: instancePath + "/field6/name",
12743
12799
  schemaPath: "#/properties/field6/properties/name/type",
12744
12800
  keyword: "type",
@@ -12746,16 +12802,16 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12746
12802
  message: "must be string"
12747
12803
  };
12748
12804
  if (vErrors === null) {
12749
- vErrors = [err32];
12805
+ vErrors = [err35];
12750
12806
  } else {
12751
- vErrors.push(err32);
12807
+ vErrors.push(err35);
12752
12808
  }
12753
12809
  errors++;
12754
12810
  }
12755
12811
  }
12756
- if (data18.value !== void 0) {
12757
- if (typeof data18.value !== "string") {
12758
- const err33 = {
12812
+ if (data19.value !== void 0) {
12813
+ if (typeof data19.value !== "string") {
12814
+ const err36 = {
12759
12815
  instancePath: instancePath + "/field6/value",
12760
12816
  schemaPath: "#/properties/field6/properties/value/type",
12761
12817
  keyword: "type",
@@ -12763,15 +12819,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12763
12819
  message: "must be string"
12764
12820
  };
12765
12821
  if (vErrors === null) {
12766
- vErrors = [err33];
12822
+ vErrors = [err36];
12767
12823
  } else {
12768
- vErrors.push(err33);
12824
+ vErrors.push(err36);
12769
12825
  }
12770
12826
  errors++;
12771
12827
  }
12772
12828
  }
12773
12829
  } else {
12774
- const err34 = {
12830
+ const err37 = {
12775
12831
  instancePath: instancePath + "/field6",
12776
12832
  schemaPath: "#/properties/field6/type",
12777
12833
  keyword: "type",
@@ -12779,15 +12835,15 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12779
12835
  message: "must be object"
12780
12836
  };
12781
12837
  if (vErrors === null) {
12782
- vErrors = [err34];
12838
+ vErrors = [err37];
12783
12839
  } else {
12784
- vErrors.push(err34);
12840
+ vErrors.push(err37);
12785
12841
  }
12786
12842
  errors++;
12787
12843
  }
12788
12844
  }
12789
12845
  } else {
12790
- const err35 = {
12846
+ const err38 = {
12791
12847
  instancePath,
12792
12848
  schemaPath: "#/type",
12793
12849
  keyword: "type",
@@ -12795,9 +12851,9 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12795
12851
  message: "must be object"
12796
12852
  };
12797
12853
  if (vErrors === null) {
12798
- vErrors = [err35];
12854
+ vErrors = [err38];
12799
12855
  } else {
12800
- vErrors.push(err35);
12856
+ vErrors.push(err38);
12801
12857
  }
12802
12858
  errors++;
12803
12859
  }
@@ -12807,7 +12863,7 @@ function validate48(data, { instancePath = "", parentData, parentDataProperty, r
12807
12863
  __name(validate48, "validate48");
12808
12864
  var validateMediaFile = validate15;
12809
12865
  var validateMediaSource = validate49;
12810
- var schema121 = {
12866
+ var schema122 = {
12811
12867
  $schema: "http://json-schema.org/draft-07/schema",
12812
12868
  $id: "mediaSource.json",
12813
12869
  title: "Media Source",
@@ -13204,7 +13260,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13204
13260
  errors++;
13205
13261
  }
13206
13262
  for (const key0 in data) {
13207
- if (!func5.call(schema121.properties, key0)) {
13263
+ if (!func5.call(schema122.properties, key0)) {
13208
13264
  const err6 = {
13209
13265
  instancePath,
13210
13266
  schemaPath: "#/additionalProperties",
@@ -13295,7 +13351,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13295
13351
  instancePath: instancePath + "/type",
13296
13352
  schemaPath: "#/properties/type/enum",
13297
13353
  keyword: "enum",
13298
- params: { allowedValues: schema121.properties.type.enum },
13354
+ params: { allowedValues: schema122.properties.type.enum },
13299
13355
  message: "must be equal to one of the allowed values"
13300
13356
  };
13301
13357
  if (vErrors === null) {
@@ -13327,7 +13383,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13327
13383
  instancePath: instancePath + "/discriminator",
13328
13384
  schemaPath: "#/properties/discriminator/enum",
13329
13385
  keyword: "enum",
13330
- params: { allowedValues: schema121.properties.discriminator.enum },
13386
+ params: { allowedValues: schema122.properties.discriminator.enum },
13331
13387
  message: "must be equal to one of the allowed values"
13332
13388
  };
13333
13389
  if (vErrors === null) {
@@ -13470,7 +13526,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13470
13526
  instancePath: instancePath + "/remote",
13471
13527
  schemaPath: "#/properties/remote/enum",
13472
13528
  keyword: "enum",
13473
- params: { allowedValues: schema121.properties.remote.enum },
13529
+ params: { allowedValues: schema122.properties.remote.enum },
13474
13530
  message: "must be equal to one of the allowed values"
13475
13531
  };
13476
13532
  if (vErrors === null) {
@@ -13515,7 +13571,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13515
13571
  }
13516
13572
  errors++;
13517
13573
  }
13518
- if (!(data9 === "adlink" || data9 === "aws-kinesis" || data9 === "butler" || data9 === "crestron" || data9 === "dell" || data9 === "dmp" || data9 === "doorbird" || data9 === "dormakaba" || data9 === "dsc" || data9 === "ecobee" || data9 === "epson" || data9 === "geovision-rs" || data9 === "geovision-as-manager" || data9 === "honeywell-vista" || data9 === "igor" || data9 === "inncom" || data9 === "isapi" || data9 === "kohost-k7" || data9 === "kohost" || data9 === "lg" || data9 === "lg-webos" || data9 === "lapi" || data9 === "lirc" || data9 === "mews" || data9 === "mht" || data9 === "paxton" || data9 === "pelican-wireless" || data9 === "power-shades" || data9 === "rachio" || data9 === "rebrandly" || data9 === "rtsp" || data9 === "salto" || data9 === "salto-irn" || data9 === "samsung" || data9 === "se" || data9 === "sendgrid" || data9 === "sonifi" || data9 === "stay-n-touch" || data9 === "storable" || data9 === "twilio" || data9 === "unifi" || data9 === "valcom" || data9 === "vizio" || data9 === "wisenet" || data9 === "cloudflare-images" || data9 === "cloudflare-stream" || data9 === "insperia-privacy")) {
13574
+ if (!(data9 === "adlink" || data9 === "aws-kinesis" || data9 === "butler" || data9 === "crestron" || data9 === "dell" || data9 === "dmp" || data9 === "doorbird" || data9 === "dormakaba" || data9 === "dsc" || data9 === "ecobee" || data9 === "epson" || data9 === "geovision-rs" || data9 === "geovision-as-manager" || data9 === "honeywell-vista" || data9 === "igor" || data9 === "inncom" || data9 === "isapi" || data9 === "kohost-k7" || data9 === "kohost" || data9 === "lg" || data9 === "lg-webos" || data9 === "lapi" || data9 === "lirc" || data9 === "mews" || data9 === "mht" || data9 === "paxton" || data9 === "pelican-wireless" || data9 === "power-shades" || data9 === "rachio" || data9 === "rebrandly" || data9 === "relay" || data9 === "rtsp" || data9 === "salto" || data9 === "salto-irn" || data9 === "samsung" || data9 === "se" || data9 === "sendgrid" || data9 === "sonifi" || data9 === "stay-n-touch" || data9 === "storable" || data9 === "twilio" || data9 === "unifi" || data9 === "valcom" || data9 === "vizio" || data9 === "wisenet" || data9 === "cloudflare-images" || data9 === "cloudflare-stream" || data9 === "insperia-privacy")) {
13519
13575
  const err24 = {
13520
13576
  instancePath: instancePath + "/driver",
13521
13577
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -13802,7 +13858,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13802
13858
  instancePath: instancePath + "/power",
13803
13859
  schemaPath: "#/properties/power/enum",
13804
13860
  keyword: "enum",
13805
- params: { allowedValues: schema121.properties.power.enum },
13861
+ params: { allowedValues: schema122.properties.power.enum },
13806
13862
  message: "must be equal to one of the allowed values"
13807
13863
  };
13808
13864
  if (vErrors === null) {
@@ -13911,7 +13967,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13911
13967
  instancePath: instancePath + "/command",
13912
13968
  schemaPath: "#/properties/command/type",
13913
13969
  keyword: "type",
13914
- params: { type: schema121.properties.command.type },
13970
+ params: { type: schema122.properties.command.type },
13915
13971
  message: "must be string,null"
13916
13972
  };
13917
13973
  if (vErrors === null) {
@@ -13926,7 +13982,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
13926
13982
  instancePath: instancePath + "/command",
13927
13983
  schemaPath: "#/properties/command/enum",
13928
13984
  keyword: "enum",
13929
- params: { allowedValues: schema121.properties.command.enum },
13985
+ params: { allowedValues: schema122.properties.command.enum },
13930
13986
  message: "must be equal to one of the allowed values"
13931
13987
  };
13932
13988
  if (vErrors === null) {
@@ -14149,7 +14205,7 @@ function validate49(data, { instancePath = "", parentData, parentDataProperty, r
14149
14205
  }
14150
14206
  __name(validate49, "validate49");
14151
14207
  var validateMotionSensor = validate52;
14152
- var schema132 = {
14208
+ var schema133 = {
14153
14209
  $schema: "http://json-schema.org/draft-07/schema",
14154
14210
  $id: "motionSensor.json",
14155
14211
  title: "Motion Sensor",
@@ -14331,7 +14387,7 @@ function validate52(data, { instancePath = "", parentData, parentDataProperty, r
14331
14387
  errors++;
14332
14388
  }
14333
14389
  for (const key0 in data) {
14334
- if (!func5.call(schema132.properties, key0)) {
14390
+ if (!func5.call(schema133.properties, key0)) {
14335
14391
  const err3 = {
14336
14392
  instancePath,
14337
14393
  schemaPath: "#/additionalProperties",
@@ -14451,7 +14507,7 @@ function validate52(data, { instancePath = "", parentData, parentDataProperty, r
14451
14507
  }
14452
14508
  errors++;
14453
14509
  }
14454
- if (!(data2 === "adlink" || data2 === "aws-kinesis" || data2 === "butler" || data2 === "crestron" || data2 === "dell" || data2 === "dmp" || data2 === "doorbird" || data2 === "dormakaba" || data2 === "dsc" || data2 === "ecobee" || data2 === "epson" || data2 === "geovision-rs" || data2 === "geovision-as-manager" || data2 === "honeywell-vista" || data2 === "igor" || data2 === "inncom" || data2 === "isapi" || data2 === "kohost-k7" || data2 === "kohost" || data2 === "lg" || data2 === "lg-webos" || data2 === "lapi" || data2 === "lirc" || data2 === "mews" || data2 === "mht" || data2 === "paxton" || data2 === "pelican-wireless" || data2 === "power-shades" || data2 === "rachio" || data2 === "rebrandly" || data2 === "rtsp" || data2 === "salto" || data2 === "salto-irn" || data2 === "samsung" || data2 === "se" || data2 === "sendgrid" || data2 === "sonifi" || data2 === "stay-n-touch" || data2 === "storable" || data2 === "twilio" || data2 === "unifi" || data2 === "valcom" || data2 === "vizio" || data2 === "wisenet" || data2 === "cloudflare-images" || data2 === "cloudflare-stream" || data2 === "insperia-privacy")) {
14510
+ if (!(data2 === "adlink" || data2 === "aws-kinesis" || data2 === "butler" || data2 === "crestron" || data2 === "dell" || data2 === "dmp" || data2 === "doorbird" || data2 === "dormakaba" || data2 === "dsc" || data2 === "ecobee" || data2 === "epson" || data2 === "geovision-rs" || data2 === "geovision-as-manager" || data2 === "honeywell-vista" || data2 === "igor" || data2 === "inncom" || data2 === "isapi" || data2 === "kohost-k7" || data2 === "kohost" || data2 === "lg" || data2 === "lg-webos" || data2 === "lapi" || data2 === "lirc" || data2 === "mews" || data2 === "mht" || data2 === "paxton" || data2 === "pelican-wireless" || data2 === "power-shades" || data2 === "rachio" || data2 === "rebrandly" || data2 === "relay" || data2 === "rtsp" || data2 === "salto" || data2 === "salto-irn" || data2 === "samsung" || data2 === "se" || data2 === "sendgrid" || data2 === "sonifi" || data2 === "stay-n-touch" || data2 === "storable" || data2 === "twilio" || data2 === "unifi" || data2 === "valcom" || data2 === "vizio" || data2 === "wisenet" || data2 === "cloudflare-images" || data2 === "cloudflare-stream" || data2 === "insperia-privacy")) {
14455
14511
  const err10 = {
14456
14512
  instancePath: instancePath + "/driver",
14457
14513
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -14679,7 +14735,7 @@ function validate52(data, { instancePath = "", parentData, parentDataProperty, r
14679
14735
  }
14680
14736
  __name(validate52, "validate52");
14681
14737
  var validateOrder = validate55;
14682
- var schema141 = {
14738
+ var schema142 = {
14683
14739
  $schema: "http://json-schema.org/draft-07/schema",
14684
14740
  $id: "order.json",
14685
14741
  title: "Order",
@@ -14943,7 +14999,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
14943
14999
  instancePath: instancePath + "/type",
14944
15000
  schemaPath: "#/properties/type/enum",
14945
15001
  keyword: "enum",
14946
- params: { allowedValues: schema141.properties.type.enum },
15002
+ params: { allowedValues: schema142.properties.type.enum },
14947
15003
  message: "must be equal to one of the allowed values"
14948
15004
  };
14949
15005
  if (vErrors === null) {
@@ -14992,7 +15048,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
14992
15048
  instancePath: instancePath + "/status",
14993
15049
  schemaPath: "#/properties/status/enum",
14994
15050
  keyword: "enum",
14995
- params: { allowedValues: schema141.properties.status.enum },
15051
+ params: { allowedValues: schema142.properties.status.enum },
14996
15052
  message: "must be equal to one of the allowed values"
14997
15053
  };
14998
15054
  if (vErrors === null) {
@@ -15458,7 +15514,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
15458
15514
  schemaPath: "#/properties/taxes/items/properties/rateType/enum",
15459
15515
  keyword: "enum",
15460
15516
  params: {
15461
- allowedValues: schema141.properties.taxes.items.properties.rateType.enum
15517
+ allowedValues: schema142.properties.taxes.items.properties.rateType.enum
15462
15518
  },
15463
15519
  message: "must be equal to one of the allowed values"
15464
15520
  };
@@ -15760,7 +15816,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
15760
15816
  schemaPath: "#/properties/delivery/items/properties/rateType/enum",
15761
15817
  keyword: "enum",
15762
15818
  params: {
15763
- allowedValues: schema141.properties.delivery.items.properties.rateType.enum
15819
+ allowedValues: schema142.properties.delivery.items.properties.rateType.enum
15764
15820
  },
15765
15821
  message: "must be equal to one of the allowed values"
15766
15822
  };
@@ -15865,7 +15921,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
15865
15921
  schemaPath: "#/properties/payments/items/properties/method/enum",
15866
15922
  keyword: "enum",
15867
15923
  params: {
15868
- allowedValues: schema141.properties.payments.items.properties.method.enum
15924
+ allowedValues: schema142.properties.payments.items.properties.method.enum
15869
15925
  },
15870
15926
  message: "must be equal to one of the allowed values"
15871
15927
  };
@@ -16014,7 +16070,7 @@ function validate55(data, { instancePath = "", parentData, parentDataProperty, r
16014
16070
  }
16015
16071
  __name(validate55, "validate55");
16016
16072
  var validateOrganization = validate56;
16017
- var schema147 = {
16073
+ var schema148 = {
16018
16074
  $schema: "http://json-schema.org/draft-07/schema",
16019
16075
  $id: "organization.json",
16020
16076
  title: "Organization",
@@ -16115,7 +16171,7 @@ var schema147 = {
16115
16171
  }
16116
16172
  };
16117
16173
  var schema102 = { type: ["string", "object"], format: "date-time" };
16118
- var schema150 = { type: ["string", "object"], format: "date-time" };
16174
+ var schema151 = { type: ["string", "object"], format: "date-time" };
16119
16175
  function validate56(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
16120
16176
  let vErrors = null;
16121
16177
  let errors = 0;
@@ -16257,7 +16313,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16257
16313
  instancePath: instancePath + "/type",
16258
16314
  schemaPath: "#/properties/type/enum",
16259
16315
  keyword: "enum",
16260
- params: { allowedValues: schema147.properties.type.enum },
16316
+ params: { allowedValues: schema148.properties.type.enum },
16261
16317
  message: "must be equal to one of the allowed values"
16262
16318
  };
16263
16319
  if (vErrors === null) {
@@ -16274,7 +16330,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16274
16330
  instancePath: instancePath + "/accountNumber",
16275
16331
  schemaPath: "#/properties/accountNumber/type",
16276
16332
  keyword: "type",
16277
- params: { type: schema147.properties.accountNumber.type },
16333
+ params: { type: schema148.properties.accountNumber.type },
16278
16334
  message: "must be number,null"
16279
16335
  };
16280
16336
  if (vErrors === null) {
@@ -16363,7 +16419,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16363
16419
  instancePath: instancePath + "/hostname",
16364
16420
  schemaPath: "#/properties/hostname/type",
16365
16421
  keyword: "type",
16366
- params: { type: schema147.properties.hostname.type },
16422
+ params: { type: schema148.properties.hostname.type },
16367
16423
  message: "must be string,null"
16368
16424
  };
16369
16425
  if (vErrors === null) {
@@ -16506,7 +16562,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16506
16562
  schemaPath: "#/properties/appManifest/properties/display/enum",
16507
16563
  keyword: "enum",
16508
16564
  params: {
16509
- allowedValues: schema147.properties.appManifest.properties.display.enum
16565
+ allowedValues: schema148.properties.appManifest.properties.display.enum
16510
16566
  },
16511
16567
  message: "must be equal to one of the allowed values"
16512
16568
  };
@@ -16539,7 +16595,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16539
16595
  schemaPath: "#/properties/appManifest/properties/orientation/enum",
16540
16596
  keyword: "enum",
16541
16597
  params: {
16542
- allowedValues: schema147.properties.appManifest.properties.orientation.enum
16598
+ allowedValues: schema148.properties.appManifest.properties.orientation.enum
16543
16599
  },
16544
16600
  message: "must be equal to one of the allowed values"
16545
16601
  };
@@ -16808,7 +16864,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16808
16864
  schemaPath: "#/properties/tickets/properties/nextTicketNumber/type",
16809
16865
  keyword: "type",
16810
16866
  params: {
16811
- type: schema147.properties.tickets.properties.nextTicketNumber.type
16867
+ type: schema148.properties.tickets.properties.nextTicketNumber.type
16812
16868
  },
16813
16869
  message: "must be string,integer"
16814
16870
  };
@@ -16895,7 +16951,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16895
16951
  instancePath: instancePath + "/updatedAt",
16896
16952
  schemaPath: "definitions.json#/definitions/updatedAt/type",
16897
16953
  keyword: "type",
16898
- params: { type: schema150.type },
16954
+ params: { type: schema151.type },
16899
16955
  message: "must be string,object"
16900
16956
  };
16901
16957
  if (vErrors === null) {
@@ -16943,7 +16999,7 @@ function validate56(data, { instancePath = "", parentData, parentDataProperty, r
16943
16999
  }
16944
17000
  __name(validate56, "validate56");
16945
17001
  var validatePayment = validate57;
16946
- var schema151 = {
17002
+ var schema152 = {
16947
17003
  $schema: "http://json-schema.org/draft-07/schema",
16948
17004
  $id: "payment.json",
16949
17005
  title: "Payment",
@@ -17103,7 +17159,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
17103
17159
  instancePath: instancePath + "/type",
17104
17160
  schemaPath: "#/properties/type/enum",
17105
17161
  keyword: "enum",
17106
- params: { allowedValues: schema151.properties.type.enum },
17162
+ params: { allowedValues: schema152.properties.type.enum },
17107
17163
  message: "must be equal to one of the allowed values"
17108
17164
  };
17109
17165
  if (vErrors === null) {
@@ -17136,7 +17192,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
17136
17192
  instancePath: instancePath + "/storageData",
17137
17193
  schemaPath: "#/properties/storageData/type",
17138
17194
  keyword: "type",
17139
- params: { type: schema151.properties.storageData.type },
17195
+ params: { type: schema152.properties.storageData.type },
17140
17196
  message: "must be string,null"
17141
17197
  };
17142
17198
  if (vErrors === null) {
@@ -17154,7 +17210,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
17154
17210
  instancePath: instancePath + "/issued",
17155
17211
  schemaPath: "#/properties/issued/type",
17156
17212
  keyword: "type",
17157
- params: { type: schema151.properties.issued.type },
17213
+ params: { type: schema152.properties.issued.type },
17158
17214
  message: "must be string,null"
17159
17215
  };
17160
17216
  if (vErrors === null) {
@@ -17202,7 +17258,7 @@ function validate57(data, { instancePath = "", parentData, parentDataProperty, r
17202
17258
  }
17203
17259
  __name(validate57, "validate57");
17204
17260
  var validatePolicy = validate58;
17205
- var schema154 = {
17261
+ var schema155 = {
17206
17262
  $schema: "http://json-schema.org/draft-07/schema",
17207
17263
  $id: "policy.json",
17208
17264
  title: "Policy",
@@ -17413,7 +17469,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
17413
17469
  instancePath: instancePath + "/type",
17414
17470
  schemaPath: "#/properties/type/enum",
17415
17471
  keyword: "enum",
17416
- params: { allowedValues: schema154.properties.type.enum },
17472
+ params: { allowedValues: schema155.properties.type.enum },
17417
17473
  message: "must be equal to one of the allowed values"
17418
17474
  };
17419
17475
  if (vErrors === null) {
@@ -17445,7 +17501,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
17445
17501
  instancePath: instancePath + "/discriminator",
17446
17502
  schemaPath: "#/properties/discriminator/enum",
17447
17503
  keyword: "enum",
17448
- params: { allowedValues: schema154.properties.discriminator.enum },
17504
+ params: { allowedValues: schema155.properties.discriminator.enum },
17449
17505
  message: "must be equal to one of the allowed values"
17450
17506
  };
17451
17507
  if (vErrors === null) {
@@ -17655,7 +17711,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
17655
17711
  schemaPath: "#/properties/permissions/items/properties/effect/enum",
17656
17712
  keyword: "enum",
17657
17713
  params: {
17658
- allowedValues: schema154.properties.permissions.items.properties.effect.enum
17714
+ allowedValues: schema155.properties.permissions.items.properties.effect.enum
17659
17715
  },
17660
17716
  message: "must be equal to one of the allowed values"
17661
17717
  };
@@ -17719,7 +17775,7 @@ function validate58(data, { instancePath = "", parentData, parentDataProperty, r
17719
17775
  }
17720
17776
  __name(validate58, "validate58");
17721
17777
  var validateProduct = validate59;
17722
- var schema156 = {
17778
+ var schema157 = {
17723
17779
  $schema: "http://json-schema.org/draft-07/schema",
17724
17780
  $id: "product.json",
17725
17781
  title: "Product",
@@ -17867,7 +17923,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
17867
17923
  instancePath: instancePath + "/type",
17868
17924
  schemaPath: "#/properties/type/enum",
17869
17925
  keyword: "enum",
17870
- params: { allowedValues: schema156.properties.type.enum },
17926
+ params: { allowedValues: schema157.properties.type.enum },
17871
17927
  message: "must be equal to one of the allowed values"
17872
17928
  };
17873
17929
  if (vErrors === null) {
@@ -17911,7 +17967,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
17911
17967
  }
17912
17968
  errors++;
17913
17969
  }
17914
- if (!(data3 === "adlink" || data3 === "aws-kinesis" || data3 === "butler" || data3 === "crestron" || data3 === "dell" || data3 === "dmp" || data3 === "doorbird" || data3 === "dormakaba" || data3 === "dsc" || data3 === "ecobee" || data3 === "epson" || data3 === "geovision-rs" || data3 === "geovision-as-manager" || data3 === "honeywell-vista" || data3 === "igor" || data3 === "inncom" || data3 === "isapi" || data3 === "kohost-k7" || data3 === "kohost" || data3 === "lg" || data3 === "lg-webos" || data3 === "lapi" || data3 === "lirc" || data3 === "mews" || data3 === "mht" || data3 === "paxton" || data3 === "pelican-wireless" || data3 === "power-shades" || data3 === "rachio" || data3 === "rebrandly" || data3 === "rtsp" || data3 === "salto" || data3 === "salto-irn" || data3 === "samsung" || data3 === "se" || data3 === "sendgrid" || data3 === "sonifi" || data3 === "stay-n-touch" || data3 === "storable" || data3 === "twilio" || data3 === "unifi" || data3 === "valcom" || data3 === "vizio" || data3 === "wisenet" || data3 === "cloudflare-images" || data3 === "cloudflare-stream" || data3 === "insperia-privacy")) {
17970
+ if (!(data3 === "adlink" || data3 === "aws-kinesis" || data3 === "butler" || data3 === "crestron" || data3 === "dell" || data3 === "dmp" || data3 === "doorbird" || data3 === "dormakaba" || data3 === "dsc" || data3 === "ecobee" || data3 === "epson" || data3 === "geovision-rs" || data3 === "geovision-as-manager" || data3 === "honeywell-vista" || data3 === "igor" || data3 === "inncom" || data3 === "isapi" || data3 === "kohost-k7" || data3 === "kohost" || data3 === "lg" || data3 === "lg-webos" || data3 === "lapi" || data3 === "lirc" || data3 === "mews" || data3 === "mht" || data3 === "paxton" || data3 === "pelican-wireless" || data3 === "power-shades" || data3 === "rachio" || data3 === "rebrandly" || data3 === "relay" || data3 === "rtsp" || data3 === "salto" || data3 === "salto-irn" || data3 === "samsung" || data3 === "se" || data3 === "sendgrid" || data3 === "sonifi" || data3 === "stay-n-touch" || data3 === "storable" || data3 === "twilio" || data3 === "unifi" || data3 === "valcom" || data3 === "vizio" || data3 === "wisenet" || data3 === "cloudflare-images" || data3 === "cloudflare-stream" || data3 === "insperia-privacy")) {
17915
17971
  const err10 = {
17916
17972
  instancePath: instancePath + "/driver",
17917
17973
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -17951,7 +18007,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
17951
18007
  instancePath: instancePath + "/tax",
17952
18008
  schemaPath: "#/properties/tax/type",
17953
18009
  keyword: "type",
17954
- params: { type: schema156.properties.tax.type },
18010
+ params: { type: schema157.properties.tax.type },
17955
18011
  message: "must be number,null"
17956
18012
  };
17957
18013
  if (vErrors === null) {
@@ -18062,7 +18118,7 @@ function validate59(data, { instancePath = "", parentData, parentDataProperty, r
18062
18118
  }
18063
18119
  __name(validate59, "validate59");
18064
18120
  var validateProperty = validate61;
18065
- var schema160 = {
18121
+ var schema161 = {
18066
18122
  $schema: "http://json-schema.org/draft-07/schema",
18067
18123
  $id: "property.json",
18068
18124
  title: "Property",
@@ -18552,7 +18608,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
18552
18608
  instancePath: instancePath + "/type",
18553
18609
  schemaPath: "#/properties/type/enum",
18554
18610
  keyword: "enum",
18555
- params: { allowedValues: schema160.properties.type.enum },
18611
+ params: { allowedValues: schema161.properties.type.enum },
18556
18612
  message: "must be equal to one of the allowed values"
18557
18613
  };
18558
18614
  if (vErrors === null) {
@@ -18584,7 +18640,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
18584
18640
  instancePath: instancePath + "/discriminator",
18585
18641
  schemaPath: "#/properties/discriminator/enum",
18586
18642
  keyword: "enum",
18587
- params: { allowedValues: schema160.properties.discriminator.enum },
18643
+ params: { allowedValues: schema161.properties.discriminator.enum },
18588
18644
  message: "must be equal to one of the allowed values"
18589
18645
  };
18590
18646
  if (vErrors === null) {
@@ -18602,7 +18658,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
18602
18658
  instancePath: instancePath + "/organization",
18603
18659
  schemaPath: "#/properties/organization/type",
18604
18660
  keyword: "type",
18605
- params: { type: schema160.properties.organization.type },
18661
+ params: { type: schema161.properties.organization.type },
18606
18662
  message: "must be string,null"
18607
18663
  };
18608
18664
  if (vErrors === null) {
@@ -19069,7 +19125,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19069
19125
  let data28 = data.appFeatures;
19070
19126
  if (data28 && typeof data28 == "object" && !Array.isArray(data28)) {
19071
19127
  for (const key0 in data28) {
19072
- if (!func5.call(schema160.properties.appFeatures.properties, key0)) {
19128
+ if (!func5.call(schema161.properties.appFeatures.properties, key0)) {
19073
19129
  const err41 = {
19074
19130
  instancePath: instancePath + "/appFeatures",
19075
19131
  schemaPath: "#/properties/appFeatures/additionalProperties",
@@ -19135,7 +19191,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19135
19191
  schemaPath: "#/properties/appFeatures/properties/RoomControl/properties/disabledSystems/items/enum",
19136
19192
  keyword: "enum",
19137
19193
  params: {
19138
- allowedValues: schema160.properties.appFeatures.properties.RoomControl.properties.disabledSystems.items.enum
19194
+ allowedValues: schema161.properties.appFeatures.properties.RoomControl.properties.disabledSystems.items.enum
19139
19195
  },
19140
19196
  message: "must be equal to one of the allowed values"
19141
19197
  };
@@ -19690,7 +19746,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19690
19746
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/type",
19691
19747
  keyword: "type",
19692
19748
  params: {
19693
- type: schema160.properties.appFeatures.properties.Concierge.properties.newMessageChannel.type
19749
+ type: schema161.properties.appFeatures.properties.Concierge.properties.newMessageChannel.type
19694
19750
  },
19695
19751
  message: "must be string,null"
19696
19752
  };
@@ -19707,7 +19763,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19707
19763
  schemaPath: "#/properties/appFeatures/properties/Concierge/properties/newMessageChannel/enum",
19708
19764
  keyword: "enum",
19709
19765
  params: {
19710
- allowedValues: schema160.properties.appFeatures.properties.Concierge.properties.newMessageChannel.enum
19766
+ allowedValues: schema161.properties.appFeatures.properties.Concierge.properties.newMessageChannel.enum
19711
19767
  },
19712
19768
  message: "must be equal to one of the allowed values"
19713
19769
  };
@@ -19948,7 +20004,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
19948
20004
  schemaPath: "#/properties/appFeatures/properties/DigitalKey/properties/system/enum",
19949
20005
  keyword: "enum",
19950
20006
  params: {
19951
- allowedValues: schema160.properties.appFeatures.properties.DigitalKey.properties.system.enum
20007
+ allowedValues: schema161.properties.appFeatures.properties.DigitalKey.properties.system.enum
19952
20008
  },
19953
20009
  message: "must be equal to one of the allowed values"
19954
20010
  };
@@ -20412,7 +20468,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20412
20468
  schemaPath: "#/properties/appFeatures/properties/SOS/properties/activeEmergencies/items/enum",
20413
20469
  keyword: "enum",
20414
20470
  params: {
20415
- allowedValues: schema160.properties.appFeatures.properties.SOS.properties.activeEmergencies.items.enum
20471
+ allowedValues: schema161.properties.appFeatures.properties.SOS.properties.activeEmergencies.items.enum
20416
20472
  },
20417
20473
  message: "must be equal to one of the allowed values"
20418
20474
  };
@@ -20482,7 +20538,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20482
20538
  schemaPath: "#/properties/appFeatures/properties/Dining/properties/system/enum",
20483
20539
  keyword: "enum",
20484
20540
  params: {
20485
- allowedValues: schema160.properties.appFeatures.properties.Dining.properties.system.enum
20541
+ allowedValues: schema161.properties.appFeatures.properties.Dining.properties.system.enum
20486
20542
  },
20487
20543
  message: "must be equal to one of the allowed values"
20488
20544
  };
@@ -20843,7 +20899,7 @@ function validate61(data, { instancePath = "", parentData, parentDataProperty, r
20843
20899
  }
20844
20900
  __name(validate61, "validate61");
20845
20901
  var validateReservation = validate63;
20846
- var schema163 = {
20902
+ var schema164 = {
20847
20903
  $schema: "http://json-schema.org/draft-07/schema",
20848
20904
  $id: "reservation.json",
20849
20905
  title: "Reservation",
@@ -20925,7 +20981,7 @@ var schema163 = {
20925
20981
  updatedAt: { $ref: "definitions.json#/definitions/updatedAt" }
20926
20982
  }
20927
20983
  };
20928
- var schema166 = {
20984
+ var schema167 = {
20929
20985
  type: "array",
20930
20986
  items: {
20931
20987
  type: "object",
@@ -21075,7 +21131,7 @@ function validate64(data, { instancePath = "", parentData, parentDataProperty, r
21075
21131
  instancePath: instancePath + "/" + i0 + "/tax",
21076
21132
  schemaPath: "#/items/properties/tax/type",
21077
21133
  keyword: "type",
21078
- params: { type: schema166.items.properties.tax.type },
21134
+ params: { type: schema167.items.properties.tax.type },
21079
21135
  message: "must be number,null"
21080
21136
  };
21081
21137
  if (vErrors === null) {
@@ -21268,7 +21324,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21268
21324
  }
21269
21325
  errors++;
21270
21326
  }
21271
- if (!(data1 === "adlink" || data1 === "aws-kinesis" || data1 === "butler" || data1 === "crestron" || data1 === "dell" || data1 === "dmp" || data1 === "doorbird" || data1 === "dormakaba" || data1 === "dsc" || data1 === "ecobee" || data1 === "epson" || data1 === "geovision-rs" || data1 === "geovision-as-manager" || data1 === "honeywell-vista" || data1 === "igor" || data1 === "inncom" || data1 === "isapi" || data1 === "kohost-k7" || data1 === "kohost" || data1 === "lg" || data1 === "lg-webos" || data1 === "lapi" || data1 === "lirc" || data1 === "mews" || data1 === "mht" || data1 === "paxton" || data1 === "pelican-wireless" || data1 === "power-shades" || data1 === "rachio" || data1 === "rebrandly" || data1 === "rtsp" || data1 === "salto" || data1 === "salto-irn" || data1 === "samsung" || data1 === "se" || data1 === "sendgrid" || data1 === "sonifi" || data1 === "stay-n-touch" || data1 === "storable" || data1 === "twilio" || data1 === "unifi" || data1 === "valcom" || data1 === "vizio" || data1 === "wisenet" || data1 === "cloudflare-images" || data1 === "cloudflare-stream" || data1 === "insperia-privacy")) {
21327
+ if (!(data1 === "adlink" || data1 === "aws-kinesis" || data1 === "butler" || data1 === "crestron" || data1 === "dell" || data1 === "dmp" || data1 === "doorbird" || data1 === "dormakaba" || data1 === "dsc" || data1 === "ecobee" || data1 === "epson" || data1 === "geovision-rs" || data1 === "geovision-as-manager" || data1 === "honeywell-vista" || data1 === "igor" || data1 === "inncom" || data1 === "isapi" || data1 === "kohost-k7" || data1 === "kohost" || data1 === "lg" || data1 === "lg-webos" || data1 === "lapi" || data1 === "lirc" || data1 === "mews" || data1 === "mht" || data1 === "paxton" || data1 === "pelican-wireless" || data1 === "power-shades" || data1 === "rachio" || data1 === "rebrandly" || data1 === "relay" || data1 === "rtsp" || data1 === "salto" || data1 === "salto-irn" || data1 === "samsung" || data1 === "se" || data1 === "sendgrid" || data1 === "sonifi" || data1 === "stay-n-touch" || data1 === "storable" || data1 === "twilio" || data1 === "unifi" || data1 === "valcom" || data1 === "vizio" || data1 === "wisenet" || data1 === "cloudflare-images" || data1 === "cloudflare-stream" || data1 === "insperia-privacy")) {
21272
21328
  const err8 = {
21273
21329
  instancePath: instancePath + "/driver",
21274
21330
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -21322,7 +21378,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21322
21378
  instancePath: instancePath + "/type",
21323
21379
  schemaPath: "#/properties/type/enum",
21324
21380
  keyword: "enum",
21325
- params: { allowedValues: schema163.properties.type.enum },
21381
+ params: { allowedValues: schema164.properties.type.enum },
21326
21382
  message: "must be equal to one of the allowed values"
21327
21383
  };
21328
21384
  if (vErrors === null) {
@@ -21393,7 +21449,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21393
21449
  instancePath: instancePath + "/space",
21394
21450
  schemaPath: "#/properties/space/type",
21395
21451
  keyword: "type",
21396
- params: { type: schema163.properties.space.type },
21452
+ params: { type: schema164.properties.space.type },
21397
21453
  message: "must be string,null"
21398
21454
  };
21399
21455
  if (vErrors === null) {
@@ -21410,7 +21466,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21410
21466
  instancePath: instancePath + "/previousSpace",
21411
21467
  schemaPath: "#/properties/previousSpace/type",
21412
21468
  keyword: "type",
21413
- params: { type: schema163.properties.previousSpace.type },
21469
+ params: { type: schema164.properties.previousSpace.type },
21414
21470
  message: "must be string,null"
21415
21471
  };
21416
21472
  if (vErrors === null) {
@@ -21442,7 +21498,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21442
21498
  instancePath: instancePath + "/status",
21443
21499
  schemaPath: "#/properties/status/enum",
21444
21500
  keyword: "enum",
21445
- params: { allowedValues: schema163.properties.status.enum },
21501
+ params: { allowedValues: schema164.properties.status.enum },
21446
21502
  message: "must be equal to one of the allowed values"
21447
21503
  };
21448
21504
  if (vErrors === null) {
@@ -21510,7 +21566,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21510
21566
  schemaPath: "#/properties/mobileCheckInStatus/enum",
21511
21567
  keyword: "enum",
21512
21568
  params: {
21513
- allowedValues: schema163.properties.mobileCheckInStatus.enum
21569
+ allowedValues: schema164.properties.mobileCheckInStatus.enum
21514
21570
  },
21515
21571
  message: "must be equal to one of the allowed values"
21516
21572
  };
@@ -21563,7 +21619,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21563
21619
  instancePath: instancePath + "/expectedCheckInDateTime",
21564
21620
  schemaPath: "#/properties/expectedCheckInDateTime/type",
21565
21621
  keyword: "type",
21566
- params: { type: schema163.properties.expectedCheckInDateTime.type },
21622
+ params: { type: schema164.properties.expectedCheckInDateTime.type },
21567
21623
  message: "must be string,object"
21568
21624
  };
21569
21625
  if (vErrors === null) {
@@ -21598,7 +21654,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21598
21654
  instancePath: instancePath + "/checkInDateTime",
21599
21655
  schemaPath: "#/properties/checkInDateTime/type",
21600
21656
  keyword: "type",
21601
- params: { type: schema163.properties.checkInDateTime.type },
21657
+ params: { type: schema164.properties.checkInDateTime.type },
21602
21658
  message: "must be string,object"
21603
21659
  };
21604
21660
  if (vErrors === null) {
@@ -21633,7 +21689,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21633
21689
  instancePath: instancePath + "/checkOutDateTime",
21634
21690
  schemaPath: "#/properties/checkOutDateTime/type",
21635
21691
  keyword: "type",
21636
- params: { type: schema163.properties.checkOutDateTime.type },
21692
+ params: { type: schema164.properties.checkOutDateTime.type },
21637
21693
  message: "must be string,object"
21638
21694
  };
21639
21695
  if (vErrors === null) {
@@ -21772,7 +21828,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21772
21828
  schemaPath: "#/properties/spaceCategoryAvailabilites/items/properties/unit/enum",
21773
21829
  keyword: "enum",
21774
21830
  params: {
21775
- allowedValues: schema163.properties.spaceCategoryAvailabilites.items.properties.unit.enum
21831
+ allowedValues: schema164.properties.spaceCategoryAvailabilites.items.properties.unit.enum
21776
21832
  },
21777
21833
  message: "must be equal to one of the allowed values"
21778
21834
  };
@@ -21936,7 +21992,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21936
21992
  instancePath: instancePath + "/updatedAt",
21937
21993
  schemaPath: "definitions.json#/definitions/updatedAt/type",
21938
21994
  keyword: "type",
21939
- params: { type: schema150.type },
21995
+ params: { type: schema151.type },
21940
21996
  message: "must be string,object"
21941
21997
  };
21942
21998
  if (vErrors === null) {
@@ -21984,7 +22040,7 @@ function validate63(data, { instancePath = "", parentData, parentDataProperty, r
21984
22040
  }
21985
22041
  __name(validate63, "validate63");
21986
22042
  var validateRoom = validate66;
21987
- var schema170 = {
22043
+ var schema171 = {
21988
22044
  $schema: "http://json-schema.org/draft-07/schema",
21989
22045
  $id: "room.json",
21990
22046
  title: "Room",
@@ -22028,7 +22084,7 @@ var schema170 = {
22028
22084
  },
22029
22085
  additionalProperties: false
22030
22086
  };
22031
- var schema172 = {
22087
+ var schema173 = {
22032
22088
  $schema: "http://json-schema.org/draft-07/schema",
22033
22089
  $id: "switch.json",
22034
22090
  title: "Switch",
@@ -22353,7 +22409,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
22353
22409
  instancePath: instancePath + "/discriminator",
22354
22410
  schemaPath: "#/properties/discriminator/enum",
22355
22411
  keyword: "enum",
22356
- params: { allowedValues: schema172.properties.discriminator.enum },
22412
+ params: { allowedValues: schema173.properties.discriminator.enum },
22357
22413
  message: "must be equal to one of the allowed values"
22358
22414
  };
22359
22415
  if (vErrors === null) {
@@ -22454,7 +22510,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
22454
22510
  }
22455
22511
  errors++;
22456
22512
  }
22457
- if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
22513
+ if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "relay" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
22458
22514
  const err16 = {
22459
22515
  instancePath: instancePath + "/driver",
22460
22516
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -22509,7 +22565,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
22509
22565
  instancePath: instancePath + "/state",
22510
22566
  schemaPath: "#/properties/state/enum",
22511
22567
  keyword: "enum",
22512
- params: { allowedValues: schema172.properties.state.enum },
22568
+ params: { allowedValues: schema173.properties.state.enum },
22513
22569
  message: "must be equal to one of the allowed values"
22514
22570
  };
22515
22571
  if (vErrors === null) {
@@ -22658,7 +22714,7 @@ function validate68(data, { instancePath = "", parentData, parentDataProperty, r
22658
22714
  return errors === 0;
22659
22715
  }
22660
22716
  __name(validate68, "validate68");
22661
- var schema181 = {
22717
+ var schema182 = {
22662
22718
  $schema: "http://json-schema.org/draft-07/schema",
22663
22719
  $id: "thermostat.json",
22664
22720
  title: "Thermostat",
@@ -22752,8 +22808,8 @@ var schema181 = {
22752
22808
  "driver"
22753
22809
  ]
22754
22810
  };
22755
- var schema189 = { enum: ["cool", "heat", "auto", "off"] };
22756
- var schema190 = { enum: ["auto", "low", "medium", "high", "off", "on"] };
22811
+ var schema190 = { enum: ["cool", "heat", "auto", "off"] };
22812
+ var schema191 = { enum: ["auto", "low", "medium", "high", "off", "on"] };
22757
22813
  function validate73(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22758
22814
  let vErrors = null;
22759
22815
  let errors = 0;
@@ -22862,7 +22918,7 @@ function validate73(data, { instancePath = "", parentData, parentDataProperty, r
22862
22918
  return errors === 0;
22863
22919
  }
22864
22920
  __name(validate73, "validate73");
22865
- var schema193 = { type: ["number", "null"], minimum: 0, maximum: 99 };
22921
+ var schema194 = { type: ["number", "null"], minimum: 0, maximum: 99 };
22866
22922
  function validate75(data, { instancePath = "", parentData, parentDataProperty, rootData = data } = {}) {
22867
22923
  let vErrors = null;
22868
22924
  let errors = 0;
@@ -22940,7 +22996,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
22940
22996
  instancePath: instancePath + "/min",
22941
22997
  schemaPath: "#/$defs/setpointMinMax/type",
22942
22998
  keyword: "type",
22943
- params: { type: schema193.type },
22999
+ params: { type: schema194.type },
22944
23000
  message: "must be number,null"
22945
23001
  };
22946
23002
  if (vErrors === null) {
@@ -22990,7 +23046,7 @@ function validate75(data, { instancePath = "", parentData, parentDataProperty, r
22990
23046
  instancePath: instancePath + "/max",
22991
23047
  schemaPath: "#/$defs/setpointMinMax/type",
22992
23048
  keyword: "type",
22993
- params: { type: schema193.type },
23049
+ params: { type: schema194.type },
22994
23050
  message: "must be number,null"
22995
23051
  };
22996
23052
  if (vErrors === null) {
@@ -23349,7 +23405,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23349
23405
  }
23350
23406
  errors++;
23351
23407
  }
23352
- if (!(data3 === "adlink" || data3 === "aws-kinesis" || data3 === "butler" || data3 === "crestron" || data3 === "dell" || data3 === "dmp" || data3 === "doorbird" || data3 === "dormakaba" || data3 === "dsc" || data3 === "ecobee" || data3 === "epson" || data3 === "geovision-rs" || data3 === "geovision-as-manager" || data3 === "honeywell-vista" || data3 === "igor" || data3 === "inncom" || data3 === "isapi" || data3 === "kohost-k7" || data3 === "kohost" || data3 === "lg" || data3 === "lg-webos" || data3 === "lapi" || data3 === "lirc" || data3 === "mews" || data3 === "mht" || data3 === "paxton" || data3 === "pelican-wireless" || data3 === "power-shades" || data3 === "rachio" || data3 === "rebrandly" || data3 === "rtsp" || data3 === "salto" || data3 === "salto-irn" || data3 === "samsung" || data3 === "se" || data3 === "sendgrid" || data3 === "sonifi" || data3 === "stay-n-touch" || data3 === "storable" || data3 === "twilio" || data3 === "unifi" || data3 === "valcom" || data3 === "vizio" || data3 === "wisenet" || data3 === "cloudflare-images" || data3 === "cloudflare-stream" || data3 === "insperia-privacy")) {
23408
+ if (!(data3 === "adlink" || data3 === "aws-kinesis" || data3 === "butler" || data3 === "crestron" || data3 === "dell" || data3 === "dmp" || data3 === "doorbird" || data3 === "dormakaba" || data3 === "dsc" || data3 === "ecobee" || data3 === "epson" || data3 === "geovision-rs" || data3 === "geovision-as-manager" || data3 === "honeywell-vista" || data3 === "igor" || data3 === "inncom" || data3 === "isapi" || data3 === "kohost-k7" || data3 === "kohost" || data3 === "lg" || data3 === "lg-webos" || data3 === "lapi" || data3 === "lirc" || data3 === "mews" || data3 === "mht" || data3 === "paxton" || data3 === "pelican-wireless" || data3 === "power-shades" || data3 === "rachio" || data3 === "rebrandly" || data3 === "relay" || data3 === "rtsp" || data3 === "salto" || data3 === "salto-irn" || data3 === "samsung" || data3 === "se" || data3 === "sendgrid" || data3 === "sonifi" || data3 === "stay-n-touch" || data3 === "storable" || data3 === "twilio" || data3 === "unifi" || data3 === "valcom" || data3 === "vizio" || data3 === "wisenet" || data3 === "cloudflare-images" || data3 === "cloudflare-stream" || data3 === "insperia-privacy")) {
23353
23409
  const err18 = {
23354
23410
  instancePath: instancePath + "/driver",
23355
23411
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -23528,7 +23584,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23528
23584
  instancePath: instancePath + "/hvacMode",
23529
23585
  schemaPath: "#/properties/supportedHvacModes/items/enum",
23530
23586
  keyword: "enum",
23531
- params: { allowedValues: schema189.enum },
23587
+ params: { allowedValues: schema190.enum },
23532
23588
  message: "must be equal to one of the allowed values"
23533
23589
  };
23534
23590
  if (vErrors === null) {
@@ -23546,7 +23602,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23546
23602
  instancePath: instancePath + "/hvacState",
23547
23603
  schemaPath: "#/properties/hvacState/type",
23548
23604
  keyword: "type",
23549
- params: { type: schema181.properties.hvacState.type },
23605
+ params: { type: schema182.properties.hvacState.type },
23550
23606
  message: "must be string,null"
23551
23607
  };
23552
23608
  if (vErrors === null) {
@@ -23561,7 +23617,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23561
23617
  instancePath: instancePath + "/hvacState",
23562
23618
  schemaPath: "#/properties/hvacState/enum",
23563
23619
  keyword: "enum",
23564
- params: { allowedValues: schema181.properties.hvacState.enum },
23620
+ params: { allowedValues: schema182.properties.hvacState.enum },
23565
23621
  message: "must be equal to one of the allowed values"
23566
23622
  };
23567
23623
  if (vErrors === null) {
@@ -23594,7 +23650,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23594
23650
  instancePath: instancePath + "/fanMode",
23595
23651
  schemaPath: "#/properties/supportedFanModes/items/enum",
23596
23652
  keyword: "enum",
23597
- params: { allowedValues: schema190.enum },
23653
+ params: { allowedValues: schema191.enum },
23598
23654
  message: "must be equal to one of the allowed values"
23599
23655
  };
23600
23656
  if (vErrors === null) {
@@ -23612,7 +23668,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23612
23668
  instancePath: instancePath + "/fanState",
23613
23669
  schemaPath: "#/properties/fanState/type",
23614
23670
  keyword: "type",
23615
- params: { type: schema181.properties.fanState.type },
23671
+ params: { type: schema182.properties.fanState.type },
23616
23672
  message: "must be string,null"
23617
23673
  };
23618
23674
  if (vErrors === null) {
@@ -23627,7 +23683,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23627
23683
  instancePath: instancePath + "/fanState",
23628
23684
  schemaPath: "#/properties/fanState/enum",
23629
23685
  keyword: "enum",
23630
- params: { allowedValues: schema181.properties.fanState.enum },
23686
+ params: { allowedValues: schema182.properties.fanState.enum },
23631
23687
  message: "must be equal to one of the allowed values"
23632
23688
  };
23633
23689
  if (vErrors === null) {
@@ -23659,7 +23715,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23659
23715
  instancePath: instancePath + "/temperatureScale",
23660
23716
  schemaPath: "#/properties/temperatureScale/enum",
23661
23717
  keyword: "enum",
23662
- params: { allowedValues: schema181.properties.temperatureScale.enum },
23718
+ params: { allowedValues: schema182.properties.temperatureScale.enum },
23663
23719
  message: "must be equal to one of the allowed values"
23664
23720
  };
23665
23721
  if (vErrors === null) {
@@ -23676,7 +23732,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23676
23732
  instancePath: instancePath + "/humidityScale",
23677
23733
  schemaPath: "#/properties/humidityScale/type",
23678
23734
  keyword: "type",
23679
- params: { type: schema181.properties.humidityScale.type },
23735
+ params: { type: schema182.properties.humidityScale.type },
23680
23736
  message: "must be string,null"
23681
23737
  };
23682
23738
  if (vErrors === null) {
@@ -23691,7 +23747,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23691
23747
  instancePath: instancePath + "/humidityScale",
23692
23748
  schemaPath: "#/properties/humidityScale/enum",
23693
23749
  keyword: "enum",
23694
- params: { allowedValues: schema181.properties.humidityScale.enum },
23750
+ params: { allowedValues: schema182.properties.humidityScale.enum },
23695
23751
  message: "must be equal to one of the allowed values"
23696
23752
  };
23697
23753
  if (vErrors === null) {
@@ -23729,7 +23785,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23729
23785
  schemaPath: "#/properties/supportedHvacModes/items/enum",
23730
23786
  keyword: "enum",
23731
23787
  params: {
23732
- allowedValues: schema181.properties.supportedHvacModes.items.enum
23788
+ allowedValues: schema182.properties.supportedHvacModes.items.enum
23733
23789
  },
23734
23790
  message: "must be equal to one of the allowed values"
23735
23791
  };
@@ -23793,7 +23849,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
23793
23849
  schemaPath: "#/properties/supportedFanModes/items/enum",
23794
23850
  keyword: "enum",
23795
23851
  params: {
23796
- allowedValues: schema181.properties.supportedFanModes.items.enum
23852
+ allowedValues: schema182.properties.supportedFanModes.items.enum
23797
23853
  },
23798
23854
  message: "must be equal to one of the allowed values"
23799
23855
  };
@@ -24133,7 +24189,7 @@ function validate72(data, { instancePath = "", parentData, parentDataProperty, r
24133
24189
  return errors === 0;
24134
24190
  }
24135
24191
  __name(validate72, "validate72");
24136
- var schema198 = {
24192
+ var schema199 = {
24137
24193
  $schema: "http://json-schema.org/draft-07/schema",
24138
24194
  $id: "windowCovering.json",
24139
24195
  title: "Window Covering",
@@ -24468,7 +24524,7 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
24468
24524
  instancePath: instancePath + "/discriminator",
24469
24525
  schemaPath: "#/properties/discriminator/enum",
24470
24526
  keyword: "enum",
24471
- params: { allowedValues: schema198.properties.discriminator.enum },
24527
+ params: { allowedValues: schema199.properties.discriminator.enum },
24472
24528
  message: "must be equal to one of the allowed values"
24473
24529
  };
24474
24530
  if (vErrors === null) {
@@ -24568,7 +24624,7 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
24568
24624
  }
24569
24625
  errors++;
24570
24626
  }
24571
- if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
24627
+ if (!(data7 === "adlink" || data7 === "aws-kinesis" || data7 === "butler" || data7 === "crestron" || data7 === "dell" || data7 === "dmp" || data7 === "doorbird" || data7 === "dormakaba" || data7 === "dsc" || data7 === "ecobee" || data7 === "epson" || data7 === "geovision-rs" || data7 === "geovision-as-manager" || data7 === "honeywell-vista" || data7 === "igor" || data7 === "inncom" || data7 === "isapi" || data7 === "kohost-k7" || data7 === "kohost" || data7 === "lg" || data7 === "lg-webos" || data7 === "lapi" || data7 === "lirc" || data7 === "mews" || data7 === "mht" || data7 === "paxton" || data7 === "pelican-wireless" || data7 === "power-shades" || data7 === "rachio" || data7 === "rebrandly" || data7 === "relay" || data7 === "rtsp" || data7 === "salto" || data7 === "salto-irn" || data7 === "samsung" || data7 === "se" || data7 === "sendgrid" || data7 === "sonifi" || data7 === "stay-n-touch" || data7 === "storable" || data7 === "twilio" || data7 === "unifi" || data7 === "valcom" || data7 === "vizio" || data7 === "wisenet" || data7 === "cloudflare-images" || data7 === "cloudflare-stream" || data7 === "insperia-privacy")) {
24572
24628
  const err16 = {
24573
24629
  instancePath: instancePath + "/driver",
24574
24630
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -24608,7 +24664,7 @@ function validate81(data, { instancePath = "", parentData, parentDataProperty, r
24608
24664
  instancePath: instancePath + "/position",
24609
24665
  schemaPath: "#/properties/position/type",
24610
24666
  keyword: "type",
24611
- params: { type: schema198.properties.position.type },
24667
+ params: { type: schema199.properties.position.type },
24612
24668
  message: "must be number,null"
24613
24669
  };
24614
24670
  if (vErrors === null) {
@@ -24857,7 +24913,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
24857
24913
  errors++;
24858
24914
  }
24859
24915
  for (const key0 in data) {
24860
- if (!func5.call(schema170.properties, key0)) {
24916
+ if (!func5.call(schema171.properties, key0)) {
24861
24917
  const err2 = {
24862
24918
  instancePath,
24863
24919
  schemaPath: "#/additionalProperties",
@@ -24948,7 +25004,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
24948
25004
  instancePath: instancePath + "/type",
24949
25005
  schemaPath: "#/properties/type/enum",
24950
25006
  keyword: "enum",
24951
- params: { allowedValues: schema170.properties.type.enum },
25007
+ params: { allowedValues: schema171.properties.type.enum },
24952
25008
  message: "must be equal to one of the allowed values"
24953
25009
  };
24954
25010
  if (vErrors === null) {
@@ -25359,7 +25415,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
25359
25415
  instancePath: instancePath + "/updatedAt",
25360
25416
  schemaPath: "definitions.json#/definitions/updatedAt/type",
25361
25417
  keyword: "type",
25362
- params: { type: schema150.type },
25418
+ params: { type: schema151.type },
25363
25419
  message: "must be string,object"
25364
25420
  };
25365
25421
  if (vErrors === null) {
@@ -25407,7 +25463,7 @@ function validate66(data, { instancePath = "", parentData, parentDataProperty, r
25407
25463
  }
25408
25464
  __name(validate66, "validate66");
25409
25465
  var validateScene = validate90;
25410
- var schema210 = {
25466
+ var schema211 = {
25411
25467
  $schema: "http://json-schema.org/draft-07/schema",
25412
25468
  $id: "scene.json",
25413
25469
  title: "Scene",
@@ -25499,14 +25555,14 @@ var schema210 = {
25499
25555
  required: ["id", "name", "type"],
25500
25556
  additionalProperties: false
25501
25557
  };
25502
- var schema213 = { type: "string", enum: ["on", "off"] };
25503
- var schema215 = { type: ["number", "null"], minimum: 0, maximum: 100 };
25504
- var schema217 = { type: ["number", "null"], minimum: 0, maximum: 100 };
25505
- var schema226 = {
25558
+ var schema214 = { type: "string", enum: ["on", "off"] };
25559
+ var schema216 = { type: ["number", "null"], minimum: 0, maximum: 100 };
25560
+ var schema218 = { type: ["number", "null"], minimum: 0, maximum: 100 };
25561
+ var schema227 = {
25506
25562
  type: ["string", "null"],
25507
25563
  enum: ["locked", "unlocked", null]
25508
25564
  };
25509
- var schema227 = {
25565
+ var schema228 = {
25510
25566
  type: ["string", "null"],
25511
25567
  enum: [
25512
25568
  "normal",
@@ -25543,7 +25599,7 @@ function validate91(data, { instancePath = "", parentData, parentDataProperty, r
25543
25599
  instancePath,
25544
25600
  schemaPath: "#/properties/supportedHvacModes/items/enum",
25545
25601
  keyword: "enum",
25546
- params: { allowedValues: schema189.enum },
25602
+ params: { allowedValues: schema190.enum },
25547
25603
  message: "must be equal to one of the allowed values"
25548
25604
  };
25549
25605
  if (vErrors === null) {
@@ -25653,7 +25709,7 @@ function validate98(data, { instancePath = "", parentData, parentDataProperty, r
25653
25709
  instancePath,
25654
25710
  schemaPath: "#/properties/supportedFanModes/items/enum",
25655
25711
  keyword: "enum",
25656
- params: { allowedValues: schema190.enum },
25712
+ params: { allowedValues: schema191.enum },
25657
25713
  message: "must be equal to one of the allowed values"
25658
25714
  };
25659
25715
  if (vErrors === null) {
@@ -25851,7 +25907,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
25851
25907
  instancePath: instancePath + "/type",
25852
25908
  schemaPath: "#/properties/type/enum",
25853
25909
  keyword: "enum",
25854
- params: { allowedValues: schema210.properties.type.enum },
25910
+ params: { allowedValues: schema211.properties.type.enum },
25855
25911
  message: "must be equal to one of the allowed values"
25856
25912
  };
25857
25913
  if (vErrors === null) {
@@ -25973,7 +26029,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
25973
26029
  instancePath: instancePath + "/devices/switches/" + i0 + "/state",
25974
26030
  schemaPath: "switch.json#/properties/state/enum",
25975
26031
  keyword: "enum",
25976
- params: { allowedValues: schema213.enum },
26032
+ params: { allowedValues: schema214.enum },
25977
26033
  message: "must be equal to one of the allowed values"
25978
26034
  };
25979
26035
  if (vErrors === null) {
@@ -26083,7 +26139,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26083
26139
  instancePath: instancePath + "/devices/dimmers/" + i1 + "/level",
26084
26140
  schemaPath: "dimmer.json#/properties/level/type",
26085
26141
  keyword: "type",
26086
- params: { type: schema215.type },
26142
+ params: { type: schema216.type },
26087
26143
  message: "must be number,null"
26088
26144
  };
26089
26145
  if (vErrors === null) {
@@ -26224,7 +26280,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26224
26280
  instancePath: instancePath + "/devices/windowCoverings/" + i2 + "/position",
26225
26281
  schemaPath: "windowCovering.json#/properties/position/type",
26226
26282
  keyword: "type",
26227
- params: { type: schema217.type },
26283
+ params: { type: schema218.type },
26228
26284
  message: "must be number,null"
26229
26285
  };
26230
26286
  if (vErrors === null) {
@@ -26686,7 +26742,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26686
26742
  instancePath: instancePath + "/devices/locks/" + i6 + "/state",
26687
26743
  schemaPath: "lock.json#/properties/state/type",
26688
26744
  keyword: "type",
26689
- params: { type: schema226.type },
26745
+ params: { type: schema227.type },
26690
26746
  message: "must be string,null"
26691
26747
  };
26692
26748
  if (vErrors === null) {
@@ -26701,7 +26757,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26701
26757
  instancePath: instancePath + "/devices/locks/" + i6 + "/state",
26702
26758
  schemaPath: "lock.json#/properties/state/enum",
26703
26759
  keyword: "enum",
26704
- params: { allowedValues: schema226.enum },
26760
+ params: { allowedValues: schema227.enum },
26705
26761
  message: "must be equal to one of the allowed values"
26706
26762
  };
26707
26763
  if (vErrors === null) {
@@ -26719,7 +26775,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26719
26775
  instancePath: instancePath + "/devices/locks/" + i6 + "/mode",
26720
26776
  schemaPath: "lock.json#/properties/mode/type",
26721
26777
  keyword: "type",
26722
- params: { type: schema227.type },
26778
+ params: { type: schema228.type },
26723
26779
  message: "must be string,null"
26724
26780
  };
26725
26781
  if (vErrors === null) {
@@ -26734,7 +26790,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26734
26790
  instancePath: instancePath + "/devices/locks/" + i6 + "/mode",
26735
26791
  schemaPath: "lock.json#/properties/mode/enum",
26736
26792
  keyword: "enum",
26737
- params: { allowedValues: schema227.enum },
26793
+ params: { allowedValues: schema228.enum },
26738
26794
  message: "must be equal to one of the allowed values"
26739
26795
  };
26740
26796
  if (vErrors === null) {
@@ -26843,7 +26899,7 @@ function validate90(data, { instancePath = "", parentData, parentDataProperty, r
26843
26899
  }
26844
26900
  __name(validate90, "validate90");
26845
26901
  var validateShortLink = validate100;
26846
- var schema228 = {
26902
+ var schema229 = {
26847
26903
  $schema: "http://json-schema.org/draft-07/schema",
26848
26904
  $id: "shortLink.json",
26849
26905
  title: "Short Link",
@@ -26970,7 +27026,7 @@ function validate100(data, { instancePath = "", parentData, parentDataProperty,
26970
27026
  instancePath: instancePath + "/type",
26971
27027
  schemaPath: "#/properties/type/enum",
26972
27028
  keyword: "enum",
26973
- params: { allowedValues: schema228.properties.type.enum },
27029
+ params: { allowedValues: schema229.properties.type.enum },
26974
27030
  message: "must be equal to one of the allowed values"
26975
27031
  };
26976
27032
  if (vErrors === null) {
@@ -27074,7 +27130,7 @@ function validate100(data, { instancePath = "", parentData, parentDataProperty,
27074
27130
  }
27075
27131
  __name(validate100, "validate100");
27076
27132
  var validateSmsMessage = validate101;
27077
- var schema231 = {
27133
+ var schema232 = {
27078
27134
  $schema: "http://json-schema.org/draft-07/schema",
27079
27135
  $id: "smsMessage.json",
27080
27136
  title: "Sms Message",
@@ -27237,7 +27293,7 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
27237
27293
  instancePath: instancePath + "/type",
27238
27294
  schemaPath: "#/properties/type/enum",
27239
27295
  keyword: "enum",
27240
- params: { allowedValues: schema231.properties.type.enum },
27296
+ params: { allowedValues: schema232.properties.type.enum },
27241
27297
  message: "must be equal to one of the allowed values"
27242
27298
  };
27243
27299
  if (vErrors === null) {
@@ -27371,7 +27427,7 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
27371
27427
  instancePath: instancePath + "/status",
27372
27428
  schemaPath: "#/properties/status/enum",
27373
27429
  keyword: "enum",
27374
- params: { allowedValues: schema231.properties.status.enum },
27430
+ params: { allowedValues: schema232.properties.status.enum },
27375
27431
  message: "must be equal to one of the allowed values"
27376
27432
  };
27377
27433
  if (vErrors === null) {
@@ -27541,7 +27597,7 @@ function validate101(data, { instancePath = "", parentData, parentDataProperty,
27541
27597
  }
27542
27598
  __name(validate101, "validate101");
27543
27599
  var validateSpace = validate102;
27544
- var schema236 = {
27600
+ var schema237 = {
27545
27601
  $schema: "http://json-schema.org/draft-07/schema",
27546
27602
  $id: "space.json",
27547
27603
  title: "Space",
@@ -28013,7 +28069,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28013
28069
  instancePath: instancePath + "/type",
28014
28070
  schemaPath: "#/properties/type/enum",
28015
28071
  keyword: "enum",
28016
- params: { allowedValues: schema236.properties.type.enum },
28072
+ params: { allowedValues: schema237.properties.type.enum },
28017
28073
  message: "must be equal to one of the allowed values"
28018
28074
  };
28019
28075
  if (vErrors === null) {
@@ -28045,7 +28101,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28045
28101
  instancePath: instancePath + "/discriminator",
28046
28102
  schemaPath: "#/properties/discriminator/enum",
28047
28103
  keyword: "enum",
28048
- params: { allowedValues: schema236.properties.discriminator.enum },
28104
+ params: { allowedValues: schema237.properties.discriminator.enum },
28049
28105
  message: "must be equal to one of the allowed values"
28050
28106
  };
28051
28107
  if (vErrors === null) {
@@ -28073,7 +28129,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28073
28129
  }
28074
28130
  errors++;
28075
28131
  }
28076
- if (!(data5 === "adlink" || data5 === "aws-kinesis" || data5 === "butler" || data5 === "crestron" || data5 === "dell" || data5 === "dmp" || data5 === "doorbird" || data5 === "dormakaba" || data5 === "dsc" || data5 === "ecobee" || data5 === "epson" || data5 === "geovision-rs" || data5 === "geovision-as-manager" || data5 === "honeywell-vista" || data5 === "igor" || data5 === "inncom" || data5 === "isapi" || data5 === "kohost-k7" || data5 === "kohost" || data5 === "lg" || data5 === "lg-webos" || data5 === "lapi" || data5 === "lirc" || data5 === "mews" || data5 === "mht" || data5 === "paxton" || data5 === "pelican-wireless" || data5 === "power-shades" || data5 === "rachio" || data5 === "rebrandly" || data5 === "rtsp" || data5 === "salto" || data5 === "salto-irn" || data5 === "samsung" || data5 === "se" || data5 === "sendgrid" || data5 === "sonifi" || data5 === "stay-n-touch" || data5 === "storable" || data5 === "twilio" || data5 === "unifi" || data5 === "valcom" || data5 === "vizio" || data5 === "wisenet" || data5 === "cloudflare-images" || data5 === "cloudflare-stream" || data5 === "insperia-privacy")) {
28132
+ if (!(data5 === "adlink" || data5 === "aws-kinesis" || data5 === "butler" || data5 === "crestron" || data5 === "dell" || data5 === "dmp" || data5 === "doorbird" || data5 === "dormakaba" || data5 === "dsc" || data5 === "ecobee" || data5 === "epson" || data5 === "geovision-rs" || data5 === "geovision-as-manager" || data5 === "honeywell-vista" || data5 === "igor" || data5 === "inncom" || data5 === "isapi" || data5 === "kohost-k7" || data5 === "kohost" || data5 === "lg" || data5 === "lg-webos" || data5 === "lapi" || data5 === "lirc" || data5 === "mews" || data5 === "mht" || data5 === "paxton" || data5 === "pelican-wireless" || data5 === "power-shades" || data5 === "rachio" || data5 === "rebrandly" || data5 === "relay" || data5 === "rtsp" || data5 === "salto" || data5 === "salto-irn" || data5 === "samsung" || data5 === "se" || data5 === "sendgrid" || data5 === "sonifi" || data5 === "stay-n-touch" || data5 === "storable" || data5 === "twilio" || data5 === "unifi" || data5 === "valcom" || data5 === "vizio" || data5 === "wisenet" || data5 === "cloudflare-images" || data5 === "cloudflare-stream" || data5 === "insperia-privacy")) {
28077
28133
  const err20 = {
28078
28134
  instancePath: instancePath + "/driver",
28079
28135
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -28262,7 +28318,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28262
28318
  schemaPath: "#/properties/eco/properties/activatedAt/type",
28263
28319
  keyword: "type",
28264
28320
  params: {
28265
- type: schema236.properties.eco.properties.activatedAt.type
28321
+ type: schema237.properties.eco.properties.activatedAt.type
28266
28322
  },
28267
28323
  message: "must be string,object"
28268
28324
  };
@@ -28314,7 +28370,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28314
28370
  schemaPath: "#/properties/eco/properties/previousState/type",
28315
28371
  keyword: "type",
28316
28372
  params: {
28317
- type: schema236.properties.eco.properties.previousState.type
28373
+ type: schema237.properties.eco.properties.previousState.type
28318
28374
  },
28319
28375
  message: "must be object,null"
28320
28376
  };
@@ -28438,7 +28494,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28438
28494
  schemaPath: "#/properties/features/items/enum",
28439
28495
  keyword: "enum",
28440
28496
  params: {
28441
- allowedValues: schema236.properties.features.items.enum
28497
+ allowedValues: schema237.properties.features.items.enum
28442
28498
  },
28443
28499
  message: "must be equal to one of the allowed values"
28444
28500
  };
@@ -28523,7 +28579,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28523
28579
  schemaPath: "#/properties/housekeepingStatus/enum",
28524
28580
  keyword: "enum",
28525
28581
  params: {
28526
- allowedValues: schema236.properties.housekeepingStatus.enum
28582
+ allowedValues: schema237.properties.housekeepingStatus.enum
28527
28583
  },
28528
28584
  message: "must be equal to one of the allowed values"
28529
28585
  };
@@ -28557,7 +28613,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28557
28613
  instancePath: instancePath + "/serviceStatus",
28558
28614
  schemaPath: "#/properties/serviceStatus/enum",
28559
28615
  keyword: "enum",
28560
- params: { allowedValues: schema236.properties.serviceStatus.enum },
28616
+ params: { allowedValues: schema237.properties.serviceStatus.enum },
28561
28617
  message: "must be equal to one of the allowed values"
28562
28618
  };
28563
28619
  if (vErrors === null) {
@@ -28606,7 +28662,7 @@ function validate102(data, { instancePath = "", parentData, parentDataProperty,
28606
28662
  __name(validate102, "validate102");
28607
28663
  var validateSwitch = validate68;
28608
28664
  var validateSystemUser = validate108;
28609
- var schema241 = {
28665
+ var schema242 = {
28610
28666
  $schema: "http://json-schema.org/draft-07/schema",
28611
28667
  $id: "systemUser.json",
28612
28668
  title: "System User",
@@ -28789,7 +28845,7 @@ function validate112(data, { instancePath = "", parentData, parentDataProperty,
28789
28845
  instancePath: instancePath + "/" + i0 + "/tax",
28790
28846
  schemaPath: "#/items/properties/tax/type",
28791
28847
  keyword: "type",
28792
- params: { type: schema166.items.properties.tax.type },
28848
+ params: { type: schema167.items.properties.tax.type },
28793
28849
  message: "must be number,null"
28794
28850
  };
28795
28851
  if (vErrors === null) {
@@ -28947,7 +29003,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
28947
29003
  instancePath: instancePath + "/type",
28948
29004
  schemaPath: "#/properties/type/enum",
28949
29005
  keyword: "enum",
28950
- params: { allowedValues: schema241.properties.type.enum },
29006
+ params: { allowedValues: schema242.properties.type.enum },
28951
29007
  message: "must be equal to one of the allowed values"
28952
29008
  };
28953
29009
  if (vErrors === null) {
@@ -28974,7 +29030,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
28974
29030
  }
28975
29031
  errors++;
28976
29032
  }
28977
- if (!(data2 === "adlink" || data2 === "aws-kinesis" || data2 === "butler" || data2 === "crestron" || data2 === "dell" || data2 === "dmp" || data2 === "doorbird" || data2 === "dormakaba" || data2 === "dsc" || data2 === "ecobee" || data2 === "epson" || data2 === "geovision-rs" || data2 === "geovision-as-manager" || data2 === "honeywell-vista" || data2 === "igor" || data2 === "inncom" || data2 === "isapi" || data2 === "kohost-k7" || data2 === "kohost" || data2 === "lg" || data2 === "lg-webos" || data2 === "lapi" || data2 === "lirc" || data2 === "mews" || data2 === "mht" || data2 === "paxton" || data2 === "pelican-wireless" || data2 === "power-shades" || data2 === "rachio" || data2 === "rebrandly" || data2 === "rtsp" || data2 === "salto" || data2 === "salto-irn" || data2 === "samsung" || data2 === "se" || data2 === "sendgrid" || data2 === "sonifi" || data2 === "stay-n-touch" || data2 === "storable" || data2 === "twilio" || data2 === "unifi" || data2 === "valcom" || data2 === "vizio" || data2 === "wisenet" || data2 === "cloudflare-images" || data2 === "cloudflare-stream" || data2 === "insperia-privacy")) {
29033
+ if (!(data2 === "adlink" || data2 === "aws-kinesis" || data2 === "butler" || data2 === "crestron" || data2 === "dell" || data2 === "dmp" || data2 === "doorbird" || data2 === "dormakaba" || data2 === "dsc" || data2 === "ecobee" || data2 === "epson" || data2 === "geovision-rs" || data2 === "geovision-as-manager" || data2 === "honeywell-vista" || data2 === "igor" || data2 === "inncom" || data2 === "isapi" || data2 === "kohost-k7" || data2 === "kohost" || data2 === "lg" || data2 === "lg-webos" || data2 === "lapi" || data2 === "lirc" || data2 === "mews" || data2 === "mht" || data2 === "paxton" || data2 === "pelican-wireless" || data2 === "power-shades" || data2 === "rachio" || data2 === "rebrandly" || data2 === "relay" || data2 === "rtsp" || data2 === "salto" || data2 === "salto-irn" || data2 === "samsung" || data2 === "se" || data2 === "sendgrid" || data2 === "sonifi" || data2 === "stay-n-touch" || data2 === "storable" || data2 === "twilio" || data2 === "unifi" || data2 === "valcom" || data2 === "vizio" || data2 === "wisenet" || data2 === "cloudflare-images" || data2 === "cloudflare-stream" || data2 === "insperia-privacy")) {
28978
29034
  const err8 = {
28979
29035
  instancePath: instancePath + "/driver",
28980
29036
  schemaPath: "definitions.json#/definitions/driver/enum",
@@ -29031,7 +29087,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29031
29087
  instancePath: instancePath + "/phone",
29032
29088
  schemaPath: "#/properties/phone/type",
29033
29089
  keyword: "type",
29034
- params: { type: schema241.properties.phone.type },
29090
+ params: { type: schema242.properties.phone.type },
29035
29091
  message: "must be string,null"
29036
29092
  };
29037
29093
  if (vErrors === null) {
@@ -29066,7 +29122,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29066
29122
  instancePath: instancePath + "/email",
29067
29123
  schemaPath: "#/properties/email/type",
29068
29124
  keyword: "type",
29069
- params: { type: schema241.properties.email.type },
29125
+ params: { type: schema242.properties.email.type },
29070
29126
  message: "must be string,null"
29071
29127
  };
29072
29128
  if (vErrors === null) {
@@ -29354,7 +29410,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29354
29410
  instancePath: instancePath + "/gender",
29355
29411
  schemaPath: "#/properties/gender/enum",
29356
29412
  keyword: "enum",
29357
- params: { allowedValues: schema241.properties.gender.enum },
29413
+ params: { allowedValues: schema242.properties.gender.enum },
29358
29414
  message: "must be equal to one of the allowed values"
29359
29415
  };
29360
29416
  if (vErrors === null) {
@@ -29391,7 +29447,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29391
29447
  instancePath: instancePath + "/roles/" + i0,
29392
29448
  schemaPath: "#/properties/roles/items/enum",
29393
29449
  keyword: "enum",
29394
- params: { allowedValues: schema241.properties.roles.items.enum },
29450
+ params: { allowedValues: schema242.properties.roles.items.enum },
29395
29451
  message: "must be equal to one of the allowed values"
29396
29452
  };
29397
29453
  if (vErrors === null) {
@@ -29650,7 +29706,7 @@ function validate108(data, { instancePath = "", parentData, parentDataProperty,
29650
29706
  instancePath: instancePath + "/updatedAt",
29651
29707
  schemaPath: "definitions.json#/definitions/updatedAt/type",
29652
29708
  keyword: "type",
29653
- params: { type: schema150.type },
29709
+ params: { type: schema151.type },
29654
29710
  message: "must be string,object"
29655
29711
  };
29656
29712
  if (vErrors === null) {
@@ -31716,7 +31772,7 @@ function validate39(data, { instancePath = "", parentData, parentDataProperty, r
31716
31772
  }
31717
31773
  __name(validate39, "validate39");
31718
31774
  var validateTimeSheet = validate114;
31719
- var schema250 = {
31775
+ var schema251 = {
31720
31776
  $schema: "http://json-schema.org/draft-07/schema",
31721
31777
  $id: "timeSheet.json",
31722
31778
  title: "Time Sheet",
@@ -31872,7 +31928,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
31872
31928
  instancePath: instancePath + "/type",
31873
31929
  schemaPath: "#/properties/type/enum",
31874
31930
  keyword: "enum",
31875
- params: { allowedValues: schema250.properties.type.enum },
31931
+ params: { allowedValues: schema251.properties.type.enum },
31876
31932
  message: "must be equal to one of the allowed values"
31877
31933
  };
31878
31934
  if (vErrors === null) {
@@ -31943,7 +31999,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
31943
31999
  instancePath: instancePath + "/day",
31944
32000
  schemaPath: "#/properties/day/type",
31945
32001
  keyword: "type",
31946
- params: { type: schema250.properties.day.type },
32002
+ params: { type: schema251.properties.day.type },
31947
32003
  message: "must be string,object"
31948
32004
  };
31949
32005
  if (vErrors === null) {
@@ -32116,7 +32172,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
32116
32172
  schemaPath: "#/properties/timeEntries/items/properties/discriminator/enum",
32117
32173
  keyword: "enum",
32118
32174
  params: {
32119
- allowedValues: schema250.properties.timeEntries.items.properties.discriminator.enum
32175
+ allowedValues: schema251.properties.timeEntries.items.properties.discriminator.enum
32120
32176
  },
32121
32177
  message: "must be equal to one of the allowed values"
32122
32178
  };
@@ -32136,7 +32192,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
32136
32192
  schemaPath: "#/properties/timeEntries/items/properties/start/type",
32137
32193
  keyword: "type",
32138
32194
  params: {
32139
- type: schema250.properties.timeEntries.items.properties.start.type
32195
+ type: schema251.properties.timeEntries.items.properties.start.type
32140
32196
  },
32141
32197
  message: "must be string,object"
32142
32198
  };
@@ -32173,7 +32229,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
32173
32229
  schemaPath: "#/properties/timeEntries/items/properties/end/type",
32174
32230
  keyword: "type",
32175
32231
  params: {
32176
- type: schema250.properties.timeEntries.items.properties.end.type
32232
+ type: schema251.properties.timeEntries.items.properties.end.type
32177
32233
  },
32178
32234
  message: "must be string,object"
32179
32235
  };
@@ -32287,7 +32343,7 @@ function validate114(data, { instancePath = "", parentData, parentDataProperty,
32287
32343
  }
32288
32344
  __name(validate114, "validate114");
32289
32345
  var validateUser = validate115;
32290
- var schema254 = {
32346
+ var schema255 = {
32291
32347
  $schema: "http://json-schema.org/draft-07/schema",
32292
32348
  $id: "user.json",
32293
32349
  title: "User",
@@ -32530,7 +32586,7 @@ function validate122(data, { instancePath = "", parentData, parentDataProperty,
32530
32586
  instancePath: instancePath + "/" + i0 + "/tax",
32531
32587
  schemaPath: "#/items/properties/tax/type",
32532
32588
  keyword: "type",
32533
- params: { type: schema166.items.properties.tax.type },
32589
+ params: { type: schema167.items.properties.tax.type },
32534
32590
  message: "must be number,null"
32535
32591
  };
32536
32592
  if (vErrors === null) {
@@ -32729,7 +32785,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
32729
32785
  instancePath: instancePath + "/phone",
32730
32786
  schemaPath: "#/properties/phone/type",
32731
32787
  keyword: "type",
32732
- params: { type: schema254.properties.phone.type },
32788
+ params: { type: schema255.properties.phone.type },
32733
32789
  message: "must be string,null"
32734
32790
  };
32735
32791
  if (vErrors === null) {
@@ -32781,7 +32837,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
32781
32837
  instancePath: instancePath + "/email",
32782
32838
  schemaPath: "#/properties/email/type",
32783
32839
  keyword: "type",
32784
- params: { type: schema254.properties.email.type },
32840
+ params: { type: schema255.properties.email.type },
32785
32841
  message: "must be string,null"
32786
32842
  };
32787
32843
  if (vErrors === null) {
@@ -33097,7 +33153,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33097
33153
  instancePath: instancePath + "/gender",
33098
33154
  schemaPath: "#/properties/gender/enum",
33099
33155
  keyword: "enum",
33100
- params: { allowedValues: schema254.properties.gender.enum },
33156
+ params: { allowedValues: schema255.properties.gender.enum },
33101
33157
  message: "must be equal to one of the allowed values"
33102
33158
  };
33103
33159
  if (vErrors === null) {
@@ -33282,7 +33338,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33282
33338
  schemaPath: "#/properties/permissions/items/properties/role/enum",
33283
33339
  keyword: "enum",
33284
33340
  params: {
33285
- allowedValues: schema254.properties.permissions.items.properties.role.enum
33341
+ allowedValues: schema255.properties.permissions.items.properties.role.enum
33286
33342
  },
33287
33343
  message: "must be equal to one of the allowed values"
33288
33344
  };
@@ -33628,7 +33684,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33628
33684
  schemaPath: "#/properties/location/properties/accuracy/type",
33629
33685
  keyword: "type",
33630
33686
  params: {
33631
- type: schema254.properties.location.properties.accuracy.type
33687
+ type: schema255.properties.location.properties.accuracy.type
33632
33688
  },
33633
33689
  message: "must be number,null"
33634
33690
  };
@@ -33648,7 +33704,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33648
33704
  schemaPath: "#/properties/location/properties/latitude/type",
33649
33705
  keyword: "type",
33650
33706
  params: {
33651
- type: schema254.properties.location.properties.latitude.type
33707
+ type: schema255.properties.location.properties.latitude.type
33652
33708
  },
33653
33709
  message: "must be number,null"
33654
33710
  };
@@ -33668,7 +33724,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33668
33724
  schemaPath: "#/properties/location/properties/longitude/type",
33669
33725
  keyword: "type",
33670
33726
  params: {
33671
- type: schema254.properties.location.properties.longitude.type
33727
+ type: schema255.properties.location.properties.longitude.type
33672
33728
  },
33673
33729
  message: "must be number,null"
33674
33730
  };
@@ -33688,7 +33744,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33688
33744
  schemaPath: "#/properties/location/properties/timestamp/type",
33689
33745
  keyword: "type",
33690
33746
  params: {
33691
- type: schema254.properties.location.properties.timestamp.type
33747
+ type: schema255.properties.location.properties.timestamp.type
33692
33748
  },
33693
33749
  message: "must be number,null"
33694
33750
  };
@@ -33817,7 +33873,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
33817
33873
  instancePath: instancePath + "/updatedAt",
33818
33874
  schemaPath: "definitions.json#/definitions/updatedAt/type",
33819
33875
  keyword: "type",
33820
- params: { type: schema150.type },
33876
+ params: { type: schema151.type },
33821
33877
  message: "must be string,object"
33822
33878
  };
33823
33879
  if (vErrors === null) {
@@ -34015,7 +34071,7 @@ function validate115(data, { instancePath = "", parentData, parentDataProperty,
34015
34071
  }
34016
34072
  __name(validate115, "validate115");
34017
34073
  var validateVendor = validate124;
34018
- var schema261 = {
34074
+ var schema262 = {
34019
34075
  $schema: "http://json-schema.org/draft-07/schema",
34020
34076
  $id: "vendor.json",
34021
34077
  title: "Vendor",
@@ -34145,7 +34201,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
34145
34201
  instancePath: instancePath + "/type",
34146
34202
  schemaPath: "#/properties/type/enum",
34147
34203
  keyword: "enum",
34148
- params: { allowedValues: schema261.properties.type.enum },
34204
+ params: { allowedValues: schema262.properties.type.enum },
34149
34205
  message: "must be equal to one of the allowed values"
34150
34206
  };
34151
34207
  if (vErrors === null) {
@@ -34179,7 +34235,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
34179
34235
  instancePath: instancePath + "/phone",
34180
34236
  schemaPath: "#/properties/phone/type",
34181
34237
  keyword: "type",
34182
- params: { type: schema261.properties.phone.type },
34238
+ params: { type: schema262.properties.phone.type },
34183
34239
  message: "must be string,null"
34184
34240
  };
34185
34241
  if (vErrors === null) {
@@ -34214,7 +34270,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
34214
34270
  instancePath: instancePath + "/email",
34215
34271
  schemaPath: "#/properties/email/type",
34216
34272
  keyword: "type",
34217
- params: { type: schema261.properties.email.type },
34273
+ params: { type: schema262.properties.email.type },
34218
34274
  message: "must be string,null"
34219
34275
  };
34220
34276
  if (vErrors === null) {
@@ -34482,7 +34538,7 @@ function validate124(data, { instancePath = "", parentData, parentDataProperty,
34482
34538
  instancePath: instancePath + "/updatedAt",
34483
34539
  schemaPath: "definitions.json#/definitions/updatedAt/type",
34484
34540
  keyword: "type",
34485
- params: { type: schema150.type },
34541
+ params: { type: schema151.type },
34486
34542
  message: "must be string,object"
34487
34543
  };
34488
34544
  if (vErrors === null) {
@@ -34545,7 +34601,7 @@ var Alarm = class extends Entity {
34545
34601
  * @property {string} [systemId] - Identifier of the object, directly related to the system.
34546
34602
  * @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
34547
34603
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
34548
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
34604
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
34549
34605
  * @property {{number?: number, name?: string, securityMode?: ("arming"|"disarming"|"armed"|"disarmed"|"alarm")}[]} areas
34550
34606
  * @property {{number?: number, name?: string, secure?: boolean, bypassed?: boolean}[]} zones
34551
34607
  * @property {boolean} [chime] - Reflects whether console chime is enabled
@@ -34726,7 +34782,7 @@ var Camera = class extends Entity {
34726
34782
  * @property {boolean} [offline]
34727
34783
  * @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
34728
34784
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
34729
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
34785
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
34730
34786
  * @property {{iframe?: string, hls?: string, webRTC?: string, rtsp?: string}} [liveStreams]
34731
34787
  * @property {string} [liveStreams.iframe]
34732
34788
  * @property {string} [liveStreams.hls]
@@ -34861,7 +34917,7 @@ var Category = class extends Entity {
34861
34917
  * @property {string} [id] - Identifier of the object.
34862
34918
  * @property {string} type - Default: "category"
34863
34919
  * @property {string} [name]
34864
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
34920
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
34865
34921
  * @property {string} [description]
34866
34922
  * @property {{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}} [image] - Any media file
34867
34923
  * @property {number} [rating] - Default: 9
@@ -34927,7 +34983,7 @@ var Courtesy = class extends Entity {
34927
34983
  * @property {("alarm"|"dimmer"|"switch"|"motionSensor"|"windowCovering"|"camera"|"mediaSource"|"thermostat"|"lock"|"courtesy"|"gateway"|"tv"|"dvr"|"appleTv"|"discPlayer"|"mediaPlayer"|"uncontrolledDevice")} type
34928
34984
  * @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
34929
34985
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
34930
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
34986
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
34931
34987
  * @property {boolean} [offline]
34932
34988
  * @property {("privacy"|"service"|"none")[]} supportedStates
34933
34989
  * @property {any} state
@@ -35012,7 +35068,7 @@ var Credential = class extends Entity {
35012
35068
  * @typedef {Object} CredentialData
35013
35069
  * @property {string} [id] - Identifier of the object.
35014
35070
  * @property {string} type - Default: "credential"
35015
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
35071
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
35016
35072
  * @property {("verificationCode"|"token"|"mobileKey"|"pin"|"publicKey"|"passkeyChallenge")} [discriminator]
35017
35073
  * @property {string} credential
35018
35074
  * @property {string} [userId]
@@ -35149,7 +35205,7 @@ var Dimmer = class extends Entity {
35149
35205
  * @property {("alarm"|"dimmer"|"switch"|"motionSensor"|"windowCovering"|"camera"|"mediaSource"|"thermostat"|"lock"|"courtesy"|"gateway"|"tv"|"dvr"|"appleTv"|"discPlayer"|"mediaPlayer"|"uncontrolledDevice")} type
35150
35206
  * @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
35151
35207
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
35152
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
35208
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
35153
35209
  * @property {boolean} [offline]
35154
35210
  * @property {number} level
35155
35211
  * @property {string} [systemId] - Identifier of the object, directly related to the system.
@@ -35583,7 +35639,7 @@ var Gateway = class extends Entity {
35583
35639
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
35584
35640
  * @property {string} status
35585
35641
  * @property {string} [systemId] - Identifier of the object, directly related to the system.
35586
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
35642
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
35587
35643
  * @property {number} [watts]
35588
35644
  * @property {string} [icon]
35589
35645
  * @property {string} [modelNumber]
@@ -35815,7 +35871,7 @@ var Lock = class extends Entity {
35815
35871
  * @property {boolean} [offline]
35816
35872
  * @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
35817
35873
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
35818
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
35874
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
35819
35875
  * @property {("locked"|"unlocked")} state
35820
35876
  * @property {("normal"|"autoLock"|"emergencyOpen"|"emergencyClose"|"holdOpen"|"lockdown")} [mode] - emergencyOpen and emergencyClose are deprecated and can be removed once Salto, Paxton and Geovision drivers are updated. Default: null
35821
35877
  * @property {("normal"|"autoLock"|"emergencyOpen"|"emergencyClose"|"holdOpen"|"lockdown")[]} [supportedModes]
@@ -35928,6 +35984,7 @@ var Log = class extends Entity {
35928
35984
  * @typedef {Object} LogData
35929
35985
  * @property {"log"} [type] - Default: "log"
35930
35986
  * @property {number} [timestamp]
35987
+ * @property {string} [id] - Identifier of the object.
35931
35988
  * @property {string} [name] - Event name
35932
35989
  * @property {{name: string, value: string}} [field1]
35933
35990
  * @property {string} field1.name
@@ -35956,6 +36013,7 @@ var Log = class extends Entity {
35956
36013
  super(data);
35957
36014
  if (data.type !== void 0) this.type = data.type;
35958
36015
  if (data.timestamp !== void 0) this.timestamp = data.timestamp;
36016
+ if (data.id !== void 0) this.id = data.id;
35959
36017
  if (data.name !== void 0) this.name = data.name;
35960
36018
  if (data.field1 !== void 0) this.field1 = data.field1;
35961
36019
  if (data.field2 !== void 0) this.field2 = data.field2;
@@ -35974,6 +36032,7 @@ Object.defineProperty(Log.prototype, "schema", {
35974
36032
  properties: {
35975
36033
  type: { type: "string", default: "log", enum: ["log"] },
35976
36034
  timestamp: { type: "number", minimum: 1655907956593 },
36035
+ id: { $ref: "definitions.json#/definitions/id" },
35977
36036
  name: { type: "string", description: "Event name" },
35978
36037
  field1: {
35979
36038
  type: "object",
@@ -36127,7 +36186,7 @@ var MediaSource = class extends Entity {
36127
36186
  * @property {{id?: string, name?: string}[]} [playlists]
36128
36187
  * @property {("MR22GA"|"XRT260"|"XRT270"|"HOF-16K 1.2"|"219863500"|"SONIFI"|"AKB76039803"|"BN59-01388A")} [remote]
36129
36188
  * @property {string} [name]
36130
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
36189
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
36131
36190
  * @property {boolean} [offline]
36132
36191
  * @property {boolean} audio
36133
36192
  * @property {boolean} video
@@ -36403,7 +36462,7 @@ var MotionSensor = class extends Entity {
36403
36462
  * @typedef {Object} MotionSensorData Any smart motion sensor
36404
36463
  * @property {string} id - Identifier of the object.
36405
36464
  * @property {("alarm"|"dimmer"|"switch"|"motionSensor"|"windowCovering"|"camera"|"mediaSource"|"thermostat"|"lock"|"courtesy"|"gateway"|"tv"|"dvr"|"appleTv"|"discPlayer"|"mediaPlayer"|"uncontrolledDevice")} type
36406
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
36465
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
36407
36466
  * @property {string} [systemId] - Identifier of the object, directly related to the system.
36408
36467
  * @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
36409
36468
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
@@ -37033,7 +37092,7 @@ var Product = class extends Entity {
37033
37092
  * @property {string} [id] - Identifier of the object.
37034
37093
  * @property {"product"} [type] - Default: "product"
37035
37094
  * @property {string} name
37036
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
37095
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
37037
37096
  * @property {any} [description]
37038
37097
  * @property {number} price
37039
37098
  * @property {number} [tax]
@@ -37524,7 +37583,7 @@ var Reservation = class extends Entity {
37524
37583
  /**
37525
37584
  * @typedef {Object} ReservationData
37526
37585
  * @property {string} [id] - Identifier of the object.
37527
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
37586
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
37528
37587
  * @property {string} [primaryGuest]
37529
37588
  * @property {"reservation"} type - Default: "reservation"
37530
37589
  * @property {string[]} [sharedGuests]
@@ -38210,7 +38269,7 @@ var Space = class extends Entity {
38210
38269
  * @property {string} [name]
38211
38270
  * @property {"space"} [type] - Default: "space"
38212
38271
  * @property {("classRoom"|"hotelRoom"|"office"|"building"|"commonArea"|"conferenceRoom"|"lobby"|"gym"|"pool"|"restaurant"|"unit")} [discriminator]
38213
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
38272
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
38214
38273
  * @property {string} [category] - This is the category id
38215
38274
  * @property {string[]} [rooms]
38216
38275
  * @property {string[]} [subGroups]
@@ -38401,7 +38460,7 @@ var Switch = class extends Entity {
38401
38460
  * @property {("light"|"fan"|"irrigation")} [discriminator]
38402
38461
  * @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
38403
38462
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
38404
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
38463
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
38405
38464
  * @property {boolean} [offline]
38406
38465
  * @property {("on"|"off")} state
38407
38466
  * @property {string} [systemId] - Identifier of the object, directly related to the system.
@@ -38481,7 +38540,7 @@ var SystemUser = class extends Entity {
38481
38540
  * @typedef {Object} SystemUserData A system user is a user that originated from an external 3rd party system.
38482
38541
  * @property {string} [id] - Identifier of the object.
38483
38542
  * @property {"systemUser"} [type] - Default: "systemUser"
38484
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
38543
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} [driver] - Driver used to communicate with the object.
38485
38544
  * @property {string} firstName
38486
38545
  * @property {string} lastName
38487
38546
  * @property {string} [phone]
@@ -38599,7 +38658,7 @@ var Thermostat = class extends Entity {
38599
38658
  * @property {string} id - Identifier of the object.
38600
38659
  * @property {string} [name]
38601
38660
  * @property {("alarm"|"dimmer"|"switch"|"motionSensor"|"windowCovering"|"camera"|"mediaSource"|"thermostat"|"lock"|"courtesy"|"gateway"|"tv"|"dvr"|"appleTv"|"discPlayer"|"mediaPlayer"|"uncontrolledDevice")} type - Default: "thermostat"
38602
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
38661
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
38603
38662
  * @property {boolean} [offline]
38604
38663
  * @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
38605
38664
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
@@ -39357,7 +39416,7 @@ var WindowCovering = class extends Entity {
39357
39416
  * @property {("basic"|"variable")} [discriminator] - Default: "variable"
39358
39417
  * @property {("button 1"|"button 2"|"button 3"|"button 4"|"button 5"|"idle"|"powerHasBeedApplied"|"acMainsDisconnected"|"acMainsReconnected"|"replaceBatterySoon"|"replaceBatteryNow"|"batteryOk"|"hardwareFailure"|"softwareFailure"|"hardwareFailureWithCode"|"softwareFailureWithCode"|"motionDetection"|"airFilterNeedsCleaned"|"airFilterNeedsReplaced"|"smokeDetected"|"outsideSafeTemperatureRange"|"outsideSafeHumidityRange"|"scheduleMaintenance"|"doorAjar"|"communicationFailure"|"communicationOk"|"burglarAlarm"|"fireAlarm")[]} [supportedNotifications]
39359
39418
  * @property {{name?: string, timestamp?: number, description?: string}} [notification]
39360
- * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
39419
+ * @property {("adlink"|"aws-kinesis"|"butler"|"crestron"|"dell"|"dmp"|"doorbird"|"dormakaba"|"dsc"|"ecobee"|"epson"|"geovision-rs"|"geovision-as-manager"|"honeywell-vista"|"igor"|"inncom"|"isapi"|"kohost-k7"|"kohost"|"lg"|"lg-webos"|"lapi"|"lirc"|"mews"|"mht"|"paxton"|"pelican-wireless"|"power-shades"|"rachio"|"rebrandly"|"relay"|"rtsp"|"salto"|"salto-irn"|"samsung"|"se"|"sendgrid"|"sonifi"|"stay-n-touch"|"storable"|"twilio"|"unifi"|"valcom"|"vizio"|"wisenet"|"cloudflare-images"|"cloudflare-stream"|"insperia-privacy")} driver - Driver used to communicate with the object.
39361
39420
  * @property {boolean} [offline]
39362
39421
  * @property {number} position
39363
39422
  * @property {string} [systemId] - Identifier of the object, directly related to the system.