@kohost/api-client 3.0.0-beta.95 → 3.0.0-beta.96

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.
@@ -11,11 +11,11 @@
11
11
  export interface DeviceRouter {
12
12
  id?: string;
13
13
  type?: string;
14
- driver?: string;
14
+ driver: string;
15
15
  /**
16
16
  * Reference (id) to the organization that owns this router
17
17
  */
18
- organization?: string | null;
18
+ organization: string | null;
19
19
  devices?: {
20
20
  [k: string]: unknown;
21
21
  };
@@ -4,7 +4,7 @@
4
4
  "title": "Device Router",
5
5
  "description": "A device router contains instructions on where to route devices based on their organization and driver.",
6
6
  "type": "object",
7
- "required": ["name", "deviceId", "deviceData"],
7
+ "required": ["driver", "organization"],
8
8
  "properties": {
9
9
  "id": {
10
10
  "$ref": "definitions.json#/definitions/id"
@@ -11994,7 +11994,7 @@ var require_deviceRouter = __commonJS({
11994
11994
  title: "Device Router",
11995
11995
  description: "A device router contains instructions on where to route devices based on their organization and driver.",
11996
11996
  type: "object",
11997
- required: ["name", "deviceId", "deviceData"],
11997
+ required: ["driver", "organization"],
11998
11998
  properties: {
11999
11999
  id: {
12000
12000
  $ref: "definitions.json#/definitions/id"