@kohost/api-client 3.7.10 → 3.8.1

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.
@@ -15,7 +15,7 @@ export interface DeviceRouter {
15
15
  /**
16
16
  * Reference (id) to the organization that owns this router
17
17
  */
18
- organization: string | null;
18
+ organizationId?: string | null;
19
19
  devices?: {
20
20
  [k: string]: unknown;
21
21
  };
@@ -12,7 +12,8 @@ export interface DiscoveredDevice {
12
12
  id?: string;
13
13
  name: string;
14
14
  deviceId: string;
15
- type?:
15
+ type?: "discoveredDevice";
16
+ discriminator?:
16
17
  | "alarm"
17
18
  | "dimmer"
18
19
  | "switch"
@@ -38,10 +39,10 @@ export interface DiscoveredDevice {
38
39
  /**
39
40
  * Reference (id) to the organization that owns this device
40
41
  */
41
- organization?: string | null;
42
+ organizationId?: string | null;
42
43
  /**
43
44
  * Reference (id) to the property that this device belongs to
44
45
  */
45
- property?: string | null;
46
+ propertyId?: string | null;
46
47
  [k: string]: unknown;
47
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohost/api-client",
3
- "version": "3.7.10",
3
+ "version": "3.8.1",
4
4
  "description": "API client, models, schemas, commands, and events for Kohost applications",
5
5
  "author": "Ian Rogers",
6
6
  "readme": "README.md",