@kohost/api-client 3.0.0-beta.104 → 3.0.0-beta.106

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.
@@ -90,7 +90,9 @@ export type Notification = {
90
90
  */
91
91
  export interface MediaSource {
92
92
  id: string;
93
- type: "tv" | "dvr" | "appleTv" | "discPlayer" | "mediaPlayer" | "uncontrolledDevice";
93
+ type: string;
94
+ discriminator: "tv" | "dvr" | "appleTv" | "discPlayer" | "mediaPlayer" | "uncontrolledDevice";
95
+ remote?: "MR22GA";
94
96
  name?: string;
95
97
  driver:
96
98
  | "aws-kinesis"
@@ -742,7 +742,9 @@ export interface Camera {
742
742
  */
743
743
  export interface MediaSource {
744
744
  id: string;
745
- type: "tv" | "dvr" | "appleTv" | "discPlayer" | "mediaPlayer" | "uncontrolledDevice";
745
+ type: string;
746
+ discriminator: "tv" | "dvr" | "appleTv" | "discPlayer" | "mediaPlayer" | "uncontrolledDevice";
747
+ remote?: "MR22GA";
746
748
  name?: string;
747
749
  driver:
748
750
  | "aws-kinesis"
@@ -4,12 +4,16 @@
4
4
  "title": "Media Source",
5
5
  "description": "Any media source",
6
6
  "type": "object",
7
- "required": ["id", "type", "audio", "video", "driver"],
7
+ "required": ["id", "type", "discriminator", "audio", "video", "driver"],
8
8
  "properties": {
9
9
  "id": {
10
10
  "$ref": "definitions.json#/definitions/id"
11
11
  },
12
12
  "type": {
13
+ "type": "string",
14
+ "default": "mediaSource"
15
+ },
16
+ "discriminator": {
13
17
  "type": "string",
14
18
  "enum": [
15
19
  "tv",
@@ -20,6 +24,12 @@
20
24
  "uncontrolledDevice"
21
25
  ]
22
26
  },
27
+ "remote": {
28
+ "type": "string",
29
+ "enum": [
30
+ "MR22GA"
31
+ ]
32
+ },
23
33
  "name": {
24
34
  "$ref": "definitions.json#/definitions/name"
25
35
  },
@@ -10115,12 +10115,16 @@ var require_mediaSource = __commonJS({
10115
10115
  title: "Media Source",
10116
10116
  description: "Any media source",
10117
10117
  type: "object",
10118
- required: ["id", "type", "audio", "video", "driver"],
10118
+ required: ["id", "type", "discriminator", "audio", "video", "driver"],
10119
10119
  properties: {
10120
10120
  id: {
10121
10121
  $ref: "definitions.json#/definitions/id"
10122
10122
  },
10123
10123
  type: {
10124
+ type: "string",
10125
+ default: "mediaSource"
10126
+ },
10127
+ discriminator: {
10124
10128
  type: "string",
10125
10129
  enum: [
10126
10130
  "tv",
@@ -10131,6 +10135,12 @@ var require_mediaSource = __commonJS({
10131
10135
  "uncontrolledDevice"
10132
10136
  ]
10133
10137
  },
10138
+ remote: {
10139
+ type: "string",
10140
+ enum: [
10141
+ "MR22GA"
10142
+ ]
10143
+ },
10134
10144
  name: {
10135
10145
  $ref: "definitions.json#/definitions/name"
10136
10146
  },