@kohost/api-client 3.0.0-beta.70 → 3.0.0-beta.72

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.
@@ -8471,7 +8471,6 @@ var require_switch = __commonJS({
8471
8471
  $ref: "definitions.json#/definitions/watts"
8472
8472
  }
8473
8473
  },
8474
- additionalProperties: false,
8475
8474
  required: ["id", "type", "state", "driver"]
8476
8475
  };
8477
8476
  }
@@ -8599,7 +8598,6 @@ var require_alarm = __commonJS({
8599
8598
  $ref: "definitions.json#/definitions/watts"
8600
8599
  }
8601
8600
  },
8602
- additionalProperties: false,
8603
8601
  required: ["id", "type", "areas", "zones", "driver"]
8604
8602
  };
8605
8603
  }
@@ -8688,7 +8686,6 @@ var require_dimmer = __commonJS({
8688
8686
  $ref: "definitions.json#/definitions/watts"
8689
8687
  }
8690
8688
  },
8691
- additionalProperties: false,
8692
8689
  required: ["id", "type", "level", "driver"]
8693
8690
  };
8694
8691
  }
@@ -8794,7 +8791,6 @@ var require_lock = __commonJS({
8794
8791
  $ref: "definitions.json#/definitions/watts"
8795
8792
  }
8796
8793
  },
8797
- additionalProperties: false,
8798
8794
  required: ["id", "type", "state", "driver"]
8799
8795
  };
8800
8796
  }
@@ -9120,7 +9116,6 @@ var require_windowCovering = __commonJS({
9120
9116
  $ref: "definitions.json#/definitions/watts"
9121
9117
  }
9122
9118
  },
9123
- additionalProperties: false,
9124
9119
  required: ["id", "type", "position", "driver"]
9125
9120
  };
9126
9121
  }
@@ -9870,7 +9865,6 @@ var require_courtesy = __commonJS({
9870
9865
  $ref: "definitions.json#/definitions/watts"
9871
9866
  }
9872
9867
  },
9873
- additionalProperties: false,
9874
9868
  required: ["id", "type", "driver", "supportedStates", "state"]
9875
9869
  };
9876
9870
  }
@@ -14253,7 +14247,6 @@ var require_gateway = __commonJS({
14253
14247
  $ref: "definitions.json#/definitions/watts"
14254
14248
  }
14255
14249
  },
14256
- additionalProperties: false,
14257
14250
  required: ["id", "type", "status", "driver"]
14258
14251
  };
14259
14252
  }
@@ -15444,6 +15437,10 @@ var require_property = __commonJS({
15444
15437
  type: "string"
15445
15438
  },
15446
15439
  type: {
15440
+ type: "string",
15441
+ default: "property"
15442
+ },
15443
+ discriminator: {
15447
15444
  type: "string",
15448
15445
  enum: ["hospitality", "education", "commercial"]
15449
15446
  },
@@ -15454,10 +15451,10 @@ var require_property = __commonJS({
15454
15451
  type: "string"
15455
15452
  },
15456
15453
  hostname: {
15457
- type: "string"
15454
+ type: ["string", "null"]
15458
15455
  },
15459
15456
  organization: {
15460
- type: "string",
15457
+ type: ["string", "null"],
15461
15458
  description: "Reference (id) to the organization that owns this property"
15462
15459
  },
15463
15460
  checkInTime: {
@@ -15467,24 +15464,7 @@ var require_property = __commonJS({
15467
15464
  type: "string"
15468
15465
  },
15469
15466
  address: {
15470
- type: "object",
15471
- properties: {
15472
- street: {
15473
- type: "string"
15474
- },
15475
- city: {
15476
- type: "string"
15477
- },
15478
- state: {
15479
- type: "string"
15480
- },
15481
- zip: {
15482
- type: "string"
15483
- },
15484
- country: {
15485
- type: "string"
15486
- }
15487
- }
15467
+ $ref: "definitions.json#/definitions/address"
15488
15468
  },
15489
15469
  latitude: {
15490
15470
  type: "number"
@@ -15770,8 +15750,7 @@ var require_property = __commonJS({
15770
15750
  credentials: {
15771
15751
  type: "object",
15772
15752
  additionalProperties: true
15773
- },
15774
- additionalProperties: false
15753
+ }
15775
15754
  }
15776
15755
  };
15777
15756
  }
@@ -15828,8 +15807,12 @@ var require_organization = __commonJS({
15828
15807
  id: {
15829
15808
  $ref: "definitions.json#/definitions/id"
15830
15809
  },
15810
+ type: {
15811
+ type: "string",
15812
+ default: "organization"
15813
+ },
15831
15814
  accountNumber: {
15832
- type: "number",
15815
+ type: ["number", "null"],
15833
15816
  minimum: 1e4
15834
15817
  },
15835
15818
  name: {