@kohost/api-client 3.3.10 → 3.3.12
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/definitions.json +1 -0
- package/dist/cjs/schemas/property.json +22 -1
- package/dist/esm/Models.js +23 -1
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +23 -1
- package/dist/esm/utils.js.map +2 -2
- package/dist/types/schemas/AlarmSchema.d.ts +1 -0
- package/dist/types/schemas/CameraSchema.d.ts +1 -0
- package/dist/types/schemas/CategorySchema.d.ts +1 -0
- package/dist/types/schemas/CourtesySchema.d.ts +1 -0
- package/dist/types/schemas/CredentialSchema.d.ts +1 -0
- package/dist/types/schemas/DimmerSchema.d.ts +1 -0
- package/dist/types/schemas/GatewaySchema.d.ts +1 -0
- package/dist/types/schemas/LockSchema.d.ts +1 -0
- package/dist/types/schemas/MediaSourceSchema.d.ts +1 -0
- package/dist/types/schemas/MotionSensorSchema.d.ts +1 -0
- package/dist/types/schemas/ProductSchema.d.ts +1 -0
- package/dist/types/schemas/PropertySchema.d.ts +48 -1
- package/dist/types/schemas/ReservationSchema.d.ts +1 -0
- package/dist/types/schemas/RoomSchema.d.ts +10 -0
- package/dist/types/schemas/SpaceSchema.d.ts +1 -0
- package/dist/types/schemas/SwitchSchema.d.ts +1 -0
- package/dist/types/schemas/SystemUserSchema.d.ts +1 -0
- package/dist/types/schemas/ThermostatSchema.d.ts +1 -0
- package/dist/types/schemas/UserSchema.d.ts +1 -0
- package/dist/types/schemas/WindowCoveringSchema.d.ts +1 -0
- package/package.json +1 -1
|
@@ -5,6 +5,12 @@
|
|
|
5
5
|
* and run json-schema-to-typescript to regenerate this file.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
export type Date =
|
|
9
|
+
| string
|
|
10
|
+
| {
|
|
11
|
+
[k: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
|
|
8
14
|
/**
|
|
9
15
|
* A property is a physical asset or building
|
|
10
16
|
*/
|
|
@@ -12,7 +18,7 @@ export interface Property {
|
|
|
12
18
|
id: string;
|
|
13
19
|
name: string;
|
|
14
20
|
type: "property";
|
|
15
|
-
discriminator: "hospitality" | "education" | "commercial";
|
|
21
|
+
discriminator: "hospitality" | "education" | "commercial" | "storage";
|
|
16
22
|
/**
|
|
17
23
|
* Reference (id) to the organization that owns this property
|
|
18
24
|
*/
|
|
@@ -91,6 +97,13 @@ export interface Property {
|
|
|
91
97
|
Concierge?: {
|
|
92
98
|
timeTracking?: boolean;
|
|
93
99
|
tipping?: boolean;
|
|
100
|
+
quickServices?: {
|
|
101
|
+
name: string;
|
|
102
|
+
description: string;
|
|
103
|
+
department?: string;
|
|
104
|
+
image: MediaFile;
|
|
105
|
+
[k: string]: unknown;
|
|
106
|
+
}[];
|
|
94
107
|
[k: string]: unknown;
|
|
95
108
|
};
|
|
96
109
|
DigitalKey?: {
|
|
@@ -167,3 +180,37 @@ export interface Address {
|
|
|
167
180
|
countryCode?: string;
|
|
168
181
|
[k: string]: unknown;
|
|
169
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* Any media file
|
|
185
|
+
*/
|
|
186
|
+
export interface MediaFile {
|
|
187
|
+
id?: string;
|
|
188
|
+
type: "mediaFile";
|
|
189
|
+
name?: string;
|
|
190
|
+
fileHash?: string;
|
|
191
|
+
/**
|
|
192
|
+
* This is the category id
|
|
193
|
+
*/
|
|
194
|
+
category?: string;
|
|
195
|
+
mimeType?:
|
|
196
|
+
| "image/*"
|
|
197
|
+
| "image/jpeg"
|
|
198
|
+
| "image/png"
|
|
199
|
+
| "image/gif"
|
|
200
|
+
| "image/webp"
|
|
201
|
+
| "image/avif"
|
|
202
|
+
| "image/svg+xml"
|
|
203
|
+
| "application/pdf";
|
|
204
|
+
data?: string;
|
|
205
|
+
url?: string;
|
|
206
|
+
width?: number;
|
|
207
|
+
height?: number;
|
|
208
|
+
/**
|
|
209
|
+
* Size in bytes
|
|
210
|
+
*/
|
|
211
|
+
size?: number;
|
|
212
|
+
uploadUrl?: string;
|
|
213
|
+
uploadUrlExpires?: Date;
|
|
214
|
+
createdBy?: string;
|
|
215
|
+
systemId?: string;
|
|
216
|
+
}
|
|
@@ -159,6 +159,7 @@ export interface Dimmer {
|
|
|
159
159
|
| "dsc"
|
|
160
160
|
| "ecobee"
|
|
161
161
|
| "epson"
|
|
162
|
+
| "honeywell-vista"
|
|
162
163
|
| "igor"
|
|
163
164
|
| "inncom"
|
|
164
165
|
| "isapi"
|
|
@@ -258,6 +259,7 @@ export interface Switch {
|
|
|
258
259
|
| "dsc"
|
|
259
260
|
| "ecobee"
|
|
260
261
|
| "epson"
|
|
262
|
+
| "honeywell-vista"
|
|
261
263
|
| "igor"
|
|
262
264
|
| "inncom"
|
|
263
265
|
| "isapi"
|
|
@@ -325,6 +327,7 @@ export interface Thermostat {
|
|
|
325
327
|
| "dsc"
|
|
326
328
|
| "ecobee"
|
|
327
329
|
| "epson"
|
|
330
|
+
| "honeywell-vista"
|
|
328
331
|
| "igor"
|
|
329
332
|
| "inncom"
|
|
330
333
|
| "isapi"
|
|
@@ -484,6 +487,7 @@ export interface Lock {
|
|
|
484
487
|
| "dsc"
|
|
485
488
|
| "ecobee"
|
|
486
489
|
| "epson"
|
|
490
|
+
| "honeywell-vista"
|
|
487
491
|
| "igor"
|
|
488
492
|
| "inncom"
|
|
489
493
|
| "isapi"
|
|
@@ -587,6 +591,7 @@ export interface WindowCovering {
|
|
|
587
591
|
| "dsc"
|
|
588
592
|
| "ecobee"
|
|
589
593
|
| "epson"
|
|
594
|
+
| "honeywell-vista"
|
|
590
595
|
| "igor"
|
|
591
596
|
| "inncom"
|
|
592
597
|
| "isapi"
|
|
@@ -685,6 +690,7 @@ export interface Courtesy {
|
|
|
685
690
|
| "dsc"
|
|
686
691
|
| "ecobee"
|
|
687
692
|
| "epson"
|
|
693
|
+
| "honeywell-vista"
|
|
688
694
|
| "igor"
|
|
689
695
|
| "inncom"
|
|
690
696
|
| "isapi"
|
|
@@ -785,6 +791,7 @@ export interface Camera {
|
|
|
785
791
|
| "dsc"
|
|
786
792
|
| "ecobee"
|
|
787
793
|
| "epson"
|
|
794
|
+
| "honeywell-vista"
|
|
788
795
|
| "igor"
|
|
789
796
|
| "inncom"
|
|
790
797
|
| "isapi"
|
|
@@ -858,6 +865,7 @@ export interface MediaSource {
|
|
|
858
865
|
| "dsc"
|
|
859
866
|
| "ecobee"
|
|
860
867
|
| "epson"
|
|
868
|
+
| "honeywell-vista"
|
|
861
869
|
| "igor"
|
|
862
870
|
| "inncom"
|
|
863
871
|
| "isapi"
|
|
@@ -1082,6 +1090,7 @@ export interface MotionSensor {
|
|
|
1082
1090
|
| "dsc"
|
|
1083
1091
|
| "ecobee"
|
|
1084
1092
|
| "epson"
|
|
1093
|
+
| "honeywell-vista"
|
|
1085
1094
|
| "igor"
|
|
1086
1095
|
| "inncom"
|
|
1087
1096
|
| "isapi"
|
|
@@ -1210,6 +1219,7 @@ export interface Alarm {
|
|
|
1210
1219
|
| "dsc"
|
|
1211
1220
|
| "ecobee"
|
|
1212
1221
|
| "epson"
|
|
1222
|
+
| "honeywell-vista"
|
|
1213
1223
|
| "igor"
|
|
1214
1224
|
| "inncom"
|
|
1215
1225
|
| "isapi"
|