@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.
@@ -129,6 +129,7 @@ export interface Alarm {
129
129
  | "dsc"
130
130
  | "ecobee"
131
131
  | "epson"
132
+ | "honeywell-vista"
132
133
  | "igor"
133
134
  | "inncom"
134
135
  | "isapi"
@@ -128,6 +128,7 @@ export interface Camera {
128
128
  | "dsc"
129
129
  | "ecobee"
130
130
  | "epson"
131
+ | "honeywell-vista"
131
132
  | "igor"
132
133
  | "inncom"
133
134
  | "isapi"
@@ -25,6 +25,7 @@ export interface Category {
25
25
  | "dsc"
26
26
  | "ecobee"
27
27
  | "epson"
28
+ | "honeywell-vista"
28
29
  | "igor"
29
30
  | "inncom"
30
31
  | "isapi"
@@ -127,6 +127,7 @@ export interface Courtesy {
127
127
  | "dsc"
128
128
  | "ecobee"
129
129
  | "epson"
130
+ | "honeywell-vista"
130
131
  | "igor"
131
132
  | "inncom"
132
133
  | "isapi"
@@ -18,6 +18,7 @@ export interface Credential {
18
18
  | "dsc"
19
19
  | "ecobee"
20
20
  | "epson"
21
+ | "honeywell-vista"
21
22
  | "igor"
22
23
  | "inncom"
23
24
  | "isapi"
@@ -127,6 +127,7 @@ export interface Dimmer {
127
127
  | "dsc"
128
128
  | "ecobee"
129
129
  | "epson"
130
+ | "honeywell-vista"
130
131
  | "igor"
131
132
  | "inncom"
132
133
  | "isapi"
@@ -128,6 +128,7 @@ export interface IoTGateway {
128
128
  | "dsc"
129
129
  | "ecobee"
130
130
  | "epson"
131
+ | "honeywell-vista"
131
132
  | "igor"
132
133
  | "inncom"
133
134
  | "isapi"
@@ -128,6 +128,7 @@ export interface Lock {
128
128
  | "dsc"
129
129
  | "ecobee"
130
130
  | "epson"
131
+ | "honeywell-vista"
131
132
  | "igor"
132
133
  | "inncom"
133
134
  | "isapi"
@@ -115,6 +115,7 @@ export interface MediaSource {
115
115
  | "dsc"
116
116
  | "ecobee"
117
117
  | "epson"
118
+ | "honeywell-vista"
118
119
  | "igor"
119
120
  | "inncom"
120
121
  | "isapi"
@@ -124,6 +124,7 @@ export interface MotionSensor {
124
124
  | "dsc"
125
125
  | "ecobee"
126
126
  | "epson"
127
+ | "honeywell-vista"
127
128
  | "igor"
128
129
  | "inncom"
129
130
  | "isapi"
@@ -25,6 +25,7 @@ export interface Product {
25
25
  | "dsc"
26
26
  | "ecobee"
27
27
  | "epson"
28
+ | "honeywell-vista"
28
29
  | "igor"
29
30
  | "inncom"
30
31
  | "isapi"
@@ -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
+ }
@@ -31,6 +31,7 @@ export interface Reservation {
31
31
  | "dsc"
32
32
  | "ecobee"
33
33
  | "epson"
34
+ | "honeywell-vista"
34
35
  | "igor"
35
36
  | "inncom"
36
37
  | "isapi"
@@ -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"
@@ -31,6 +31,7 @@ export interface Space {
31
31
  | "dsc"
32
32
  | "ecobee"
33
33
  | "epson"
34
+ | "honeywell-vista"
34
35
  | "igor"
35
36
  | "inncom"
36
37
  | "isapi"
@@ -128,6 +128,7 @@ export interface Switch {
128
128
  | "dsc"
129
129
  | "ecobee"
130
130
  | "epson"
131
+ | "honeywell-vista"
131
132
  | "igor"
132
133
  | "inncom"
133
134
  | "isapi"
@@ -49,6 +49,7 @@ export interface SystemUser {
49
49
  | "dsc"
50
50
  | "ecobee"
51
51
  | "epson"
52
+ | "honeywell-vista"
52
53
  | "igor"
53
54
  | "inncom"
54
55
  | "isapi"
@@ -127,6 +127,7 @@ export interface Thermostat {
127
127
  | "dsc"
128
128
  | "ecobee"
129
129
  | "epson"
130
+ | "honeywell-vista"
130
131
  | "igor"
131
132
  | "inncom"
132
133
  | "isapi"
@@ -222,6 +222,7 @@ export interface Reservation {
222
222
  | "dsc"
223
223
  | "ecobee"
224
224
  | "epson"
225
+ | "honeywell-vista"
225
226
  | "igor"
226
227
  | "inncom"
227
228
  | "isapi"
@@ -128,6 +128,7 @@ export interface WindowCovering {
128
128
  | "dsc"
129
129
  | "ecobee"
130
130
  | "epson"
131
+ | "honeywell-vista"
131
132
  | "igor"
132
133
  | "inncom"
133
134
  | "isapi"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohost/api-client",
3
- "version": "3.3.10",
3
+ "version": "3.3.12",
4
4
  "description": "API client, models, schemas, commands, and events for Kohost applications",
5
5
  "author": "Ian Rogers",
6
6
  "readme": "README.md",