@kohost/api-client 3.0.0-beta.84 → 3.0.0-beta.85
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/CredentialSchema.d.ts +2 -1
- package/dist/cjs/schemas/DimmerSchema.d.ts +1 -2
- package/dist/cjs/schemas/RoomSchema.d.ts +1 -2
- package/dist/cjs/schemas/SceneSchema.d.ts +1 -1
- package/dist/cjs/schemas/TicketSchema.d.ts +8 -16
- package/dist/cjs/schemas/credential.json +1 -1
- package/dist/cjs/schemas/dimmer.json +1 -4
- package/dist/cjs/schemas/ticket.json +8 -1
- package/dist/esm/Models.js +10 -6
- package/dist/esm/Models.js.map +2 -2
- package/package.json +1 -1
|
@@ -109,7 +109,6 @@ export interface Dimmer {
|
|
|
109
109
|
| "discPlayer"
|
|
110
110
|
| "mediaPlayer"
|
|
111
111
|
| "uncontrolledDevice";
|
|
112
|
-
subType?: string | null;
|
|
113
112
|
supportedNotifications?: SupportedNotifications;
|
|
114
113
|
notification?: Notification;
|
|
115
114
|
driver:
|
|
@@ -141,7 +140,7 @@ export interface Dimmer {
|
|
|
141
140
|
| "cloudflare-stream"
|
|
142
141
|
| "insperia-privacy";
|
|
143
142
|
offline?: boolean;
|
|
144
|
-
level: number;
|
|
143
|
+
level: number | null;
|
|
145
144
|
systemId?: string;
|
|
146
145
|
watts?: number;
|
|
147
146
|
[k: string]: unknown;
|
|
@@ -140,7 +140,6 @@ export interface Dimmer {
|
|
|
140
140
|
| "discPlayer"
|
|
141
141
|
| "mediaPlayer"
|
|
142
142
|
| "uncontrolledDevice";
|
|
143
|
-
subType?: string | null;
|
|
144
143
|
supportedNotifications?: SupportedNotifications;
|
|
145
144
|
notification?: Notification;
|
|
146
145
|
driver:
|
|
@@ -172,7 +171,7 @@ export interface Dimmer {
|
|
|
172
171
|
| "cloudflare-stream"
|
|
173
172
|
| "insperia-privacy";
|
|
174
173
|
offline?: boolean;
|
|
175
|
-
level: number;
|
|
174
|
+
level: number | null;
|
|
176
175
|
systemId?: string;
|
|
177
176
|
watts?: number;
|
|
178
177
|
[k: string]: unknown;
|
|
@@ -5,11 +5,6 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
export type CreatedAt =
|
|
9
|
-
| string
|
|
10
|
-
| {
|
|
11
|
-
[k: string]: unknown;
|
|
12
|
-
};
|
|
13
8
|
export type Date =
|
|
14
9
|
| string
|
|
15
10
|
| {
|
|
@@ -21,17 +16,14 @@ export type Date =
|
|
|
21
16
|
*/
|
|
22
17
|
export interface Ticket {
|
|
23
18
|
id: string;
|
|
24
|
-
conversation:
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
readBy?: string[];
|
|
33
|
-
media?: MediaFile | null;
|
|
34
|
-
}[];
|
|
19
|
+
conversation: (
|
|
20
|
+
| {
|
|
21
|
+
[k: string]: unknown;
|
|
22
|
+
}
|
|
23
|
+
| {
|
|
24
|
+
[k: string]: unknown;
|
|
25
|
+
}
|
|
26
|
+
)[];
|
|
35
27
|
requester: {
|
|
36
28
|
systemId?: string;
|
|
37
29
|
systemName?: string;
|
|
@@ -14,9 +14,6 @@
|
|
|
14
14
|
"type": {
|
|
15
15
|
"$ref": "definitions.json#/definitions/type"
|
|
16
16
|
},
|
|
17
|
-
"subType": {
|
|
18
|
-
"$ref": "definitions.json#/definitions/subType"
|
|
19
|
-
},
|
|
20
17
|
"supportedNotifications": {
|
|
21
18
|
"$ref": "definitions.json#/definitions/supportedNotifications"
|
|
22
19
|
},
|
|
@@ -30,7 +27,7 @@
|
|
|
30
27
|
"type": "boolean"
|
|
31
28
|
},
|
|
32
29
|
"level": {
|
|
33
|
-
"type": "number",
|
|
30
|
+
"type": ["number", "null"],
|
|
34
31
|
"minimum": 0,
|
|
35
32
|
"maximum": 100
|
|
36
33
|
},
|
|
@@ -47,7 +47,14 @@
|
|
|
47
47
|
"anyOf": [{ "$ref": "mediaFile.json" }, { "type": "null" }]
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
"
|
|
50
|
+
"anyOf": [
|
|
51
|
+
{
|
|
52
|
+
"required": ["id", "userId", "timestamp", "body"]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"required": ["id", "systemId", "timestamp", "body"]
|
|
56
|
+
}
|
|
57
|
+
]
|
|
51
58
|
}
|
|
52
59
|
},
|
|
53
60
|
"requester": {
|
package/dist/esm/Models.js
CHANGED
|
@@ -8669,9 +8669,6 @@ var require_dimmer = __commonJS({
|
|
|
8669
8669
|
type: {
|
|
8670
8670
|
$ref: "definitions.json#/definitions/type"
|
|
8671
8671
|
},
|
|
8672
|
-
subType: {
|
|
8673
|
-
$ref: "definitions.json#/definitions/subType"
|
|
8674
|
-
},
|
|
8675
8672
|
supportedNotifications: {
|
|
8676
8673
|
$ref: "definitions.json#/definitions/supportedNotifications"
|
|
8677
8674
|
},
|
|
@@ -8685,7 +8682,7 @@ var require_dimmer = __commonJS({
|
|
|
8685
8682
|
type: "boolean"
|
|
8686
8683
|
},
|
|
8687
8684
|
level: {
|
|
8688
|
-
type: "number",
|
|
8685
|
+
type: ["number", "null"],
|
|
8689
8686
|
minimum: 0,
|
|
8690
8687
|
maximum: 100
|
|
8691
8688
|
},
|
|
@@ -11976,7 +11973,14 @@ var require_ticket = __commonJS({
|
|
|
11976
11973
|
anyOf: [{ $ref: "mediaFile.json" }, { type: "null" }]
|
|
11977
11974
|
}
|
|
11978
11975
|
},
|
|
11979
|
-
|
|
11976
|
+
anyOf: [
|
|
11977
|
+
{
|
|
11978
|
+
required: ["id", "userId", "timestamp", "body"]
|
|
11979
|
+
},
|
|
11980
|
+
{
|
|
11981
|
+
required: ["id", "systemId", "timestamp", "body"]
|
|
11982
|
+
}
|
|
11983
|
+
]
|
|
11980
11984
|
}
|
|
11981
11985
|
},
|
|
11982
11986
|
requester: {
|
|
@@ -14815,7 +14819,7 @@ var require_credential = __commonJS({
|
|
|
14815
14819
|
type: "string"
|
|
14816
14820
|
},
|
|
14817
14821
|
expires: {
|
|
14818
|
-
type: ["string", "object"]
|
|
14822
|
+
type: ["string", "object", "null"]
|
|
14819
14823
|
},
|
|
14820
14824
|
systemId: {
|
|
14821
14825
|
$ref: "definitions.json#/definitions/systemId"
|