@kohost/api-client 3.0.0-beta.103 → 3.0.0-beta.105
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/schemas/MediaSourceSchema.d.ts +2 -1
- package/dist/cjs/schemas/ReservationSchema.d.ts +1 -0
- package/dist/cjs/schemas/RoomSchema.d.ts +2 -1
- package/dist/cjs/schemas/UserSchema.d.ts +1 -0
- package/dist/cjs/schemas/mediaSource.json +5 -1
- package/dist/cjs/schemas/reservation.json +3 -0
- package/dist/esm/Models.js +8 -1
- package/dist/esm/Models.js.map +2 -2
- package/package.json +1 -1
|
@@ -90,7 +90,8 @@ export type Notification = {
|
|
|
90
90
|
*/
|
|
91
91
|
export interface MediaSource {
|
|
92
92
|
id: string;
|
|
93
|
-
type:
|
|
93
|
+
type: string;
|
|
94
|
+
discriminator: "tv" | "dvr" | "appleTv" | "discPlayer" | "mediaPlayer" | "uncontrolledDevice";
|
|
94
95
|
name?: string;
|
|
95
96
|
driver:
|
|
96
97
|
| "aws-kinesis"
|
|
@@ -742,7 +742,8 @@ export interface Camera {
|
|
|
742
742
|
*/
|
|
743
743
|
export interface MediaSource {
|
|
744
744
|
id: string;
|
|
745
|
-
type:
|
|
745
|
+
type: string;
|
|
746
|
+
discriminator: "tv" | "dvr" | "appleTv" | "discPlayer" | "mediaPlayer" | "uncontrolledDevice";
|
|
746
747
|
name?: string;
|
|
747
748
|
driver:
|
|
748
749
|
| "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",
|
package/dist/esm/Models.js
CHANGED
|
@@ -7819,6 +7819,9 @@ var require_reservation = __commonJS({
|
|
|
7819
7819
|
unit: {
|
|
7820
7820
|
type: "string",
|
|
7821
7821
|
enum: ["night", "stay", "hour"]
|
|
7822
|
+
},
|
|
7823
|
+
isUpgrade: {
|
|
7824
|
+
type: "boolean"
|
|
7822
7825
|
}
|
|
7823
7826
|
}
|
|
7824
7827
|
}
|
|
@@ -10112,12 +10115,16 @@ var require_mediaSource = __commonJS({
|
|
|
10112
10115
|
title: "Media Source",
|
|
10113
10116
|
description: "Any media source",
|
|
10114
10117
|
type: "object",
|
|
10115
|
-
required: ["id", "type", "audio", "video", "driver"],
|
|
10118
|
+
required: ["id", "type", "discriminator", "audio", "video", "driver"],
|
|
10116
10119
|
properties: {
|
|
10117
10120
|
id: {
|
|
10118
10121
|
$ref: "definitions.json#/definitions/id"
|
|
10119
10122
|
},
|
|
10120
10123
|
type: {
|
|
10124
|
+
type: "string",
|
|
10125
|
+
default: "mediaSource"
|
|
10126
|
+
},
|
|
10127
|
+
discriminator: {
|
|
10121
10128
|
type: "string",
|
|
10122
10129
|
enum: [
|
|
10123
10130
|
"tv",
|