@kohost/api-client 3.7.10 → 3.8.0

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.
@@ -17,7 +17,7 @@
17
17
  "driver": {
18
18
  "type": "string"
19
19
  },
20
- "organization": {
20
+ "organizationId": {
21
21
  "type": ["string", "null"],
22
22
  "description": "Reference (id) to the organization that owns this router"
23
23
  },
@@ -16,6 +16,11 @@
16
16
  "type": "string"
17
17
  },
18
18
  "type": {
19
+ "type": "string",
20
+ "enum": ["discoveredDevice"],
21
+ "default": "discoveredDevice"
22
+ },
23
+ "discriminator": {
19
24
  "$ref": "definitions.json#/definitions/type"
20
25
  },
21
26
  "driver": {
@@ -27,11 +32,11 @@
27
32
  "ignore": {
28
33
  "type": "boolean"
29
34
  },
30
- "organization": {
35
+ "organizationId": {
31
36
  "type": ["string", "null"],
32
37
  "description": "Reference (id) to the organization that owns this device"
33
38
  },
34
- "property": {
39
+ "propertyId": {
35
40
  "type": ["string", "null"],
36
41
  "description": "Reference (id) to the property that this device belongs to"
37
42
  }
@@ -11974,6 +11974,11 @@ var require_discoveredDevice = __commonJS({
11974
11974
  type: "string"
11975
11975
  },
11976
11976
  type: {
11977
+ type: "string",
11978
+ enum: ["discoveredDevice"],
11979
+ default: "discoveredDevice"
11980
+ },
11981
+ discriminator: {
11977
11982
  $ref: "definitions.json#/definitions/type"
11978
11983
  },
11979
11984
  driver: {
@@ -11985,11 +11990,11 @@ var require_discoveredDevice = __commonJS({
11985
11990
  ignore: {
11986
11991
  type: "boolean"
11987
11992
  },
11988
- organization: {
11993
+ organizationId: {
11989
11994
  type: ["string", "null"],
11990
11995
  description: "Reference (id) to the organization that owns this device"
11991
11996
  },
11992
- property: {
11997
+ propertyId: {
11993
11998
  type: ["string", "null"],
11994
11999
  description: "Reference (id) to the property that this device belongs to"
11995
12000
  }
@@ -12057,7 +12062,7 @@ var require_deviceRouter = __commonJS({
12057
12062
  driver: {
12058
12063
  type: "string"
12059
12064
  },
12060
- organization: {
12065
+ organizationId: {
12061
12066
  type: ["string", "null"],
12062
12067
  description: "Reference (id) to the organization that owns this router"
12063
12068
  },