@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.
- package/dist/cjs/Models/Room.js +3 -3
- package/dist/cjs/schemas/definitions.json +0 -3
- package/dist/cjs/schemas/deviceRouter.json +1 -1
- package/dist/cjs/schemas/discoveredDevice.json +7 -2
- package/dist/esm/Models.js +11 -9
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +11 -9
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/schemas/DeviceRouterSchema.d.ts +1 -1
- package/dist/types/schemas/DiscoveredDeviceSchema.d.ts +4 -3
- package/package.json +1 -1
|
@@ -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
|
-
|
|
42
|
+
organizationId?: string | null;
|
|
42
43
|
/**
|
|
43
44
|
* Reference (id) to the property that this device belongs to
|
|
44
45
|
*/
|
|
45
|
-
|
|
46
|
+
propertyId?: string | null;
|
|
46
47
|
[k: string]: unknown;
|
|
47
48
|
}
|