@kohost/api-client 3.8.2 → 3.8.3
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/vendor.json +40 -0
- package/dist/esm/Models.js +1 -0
- package/dist/esm/Models.js.map +2 -2
- package/dist/esm/utils.js +1 -0
- 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/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/VendorSchema.d.ts +80 -0
- package/dist/types/schemas/WindowCoveringSchema.d.ts +1 -0
- package/package.json +1 -1
|
@@ -172,6 +172,7 @@ export interface Dimmer {
|
|
|
172
172
|
| "ecobee"
|
|
173
173
|
| "epson"
|
|
174
174
|
| "geovision-rs"
|
|
175
|
+
| "geovision-as-manager"
|
|
175
176
|
| "honeywell-vista"
|
|
176
177
|
| "igor"
|
|
177
178
|
| "inncom"
|
|
@@ -283,6 +284,7 @@ export interface Switch {
|
|
|
283
284
|
| "ecobee"
|
|
284
285
|
| "epson"
|
|
285
286
|
| "geovision-rs"
|
|
287
|
+
| "geovision-as-manager"
|
|
286
288
|
| "honeywell-vista"
|
|
287
289
|
| "igor"
|
|
288
290
|
| "inncom"
|
|
@@ -358,6 +360,7 @@ export interface Thermostat {
|
|
|
358
360
|
| "ecobee"
|
|
359
361
|
| "epson"
|
|
360
362
|
| "geovision-rs"
|
|
363
|
+
| "geovision-as-manager"
|
|
361
364
|
| "honeywell-vista"
|
|
362
365
|
| "igor"
|
|
363
366
|
| "inncom"
|
|
@@ -533,6 +536,7 @@ export interface Lock {
|
|
|
533
536
|
| "ecobee"
|
|
534
537
|
| "epson"
|
|
535
538
|
| "geovision-rs"
|
|
539
|
+
| "geovision-as-manager"
|
|
536
540
|
| "honeywell-vista"
|
|
537
541
|
| "igor"
|
|
538
542
|
| "inncom"
|
|
@@ -649,6 +653,7 @@ export interface WindowCovering {
|
|
|
649
653
|
| "ecobee"
|
|
650
654
|
| "epson"
|
|
651
655
|
| "geovision-rs"
|
|
656
|
+
| "geovision-as-manager"
|
|
652
657
|
| "honeywell-vista"
|
|
653
658
|
| "igor"
|
|
654
659
|
| "inncom"
|
|
@@ -759,6 +764,7 @@ export interface Courtesy {
|
|
|
759
764
|
| "ecobee"
|
|
760
765
|
| "epson"
|
|
761
766
|
| "geovision-rs"
|
|
767
|
+
| "geovision-as-manager"
|
|
762
768
|
| "honeywell-vista"
|
|
763
769
|
| "igor"
|
|
764
770
|
| "inncom"
|
|
@@ -871,6 +877,7 @@ export interface Camera {
|
|
|
871
877
|
| "ecobee"
|
|
872
878
|
| "epson"
|
|
873
879
|
| "geovision-rs"
|
|
880
|
+
| "geovision-as-manager"
|
|
874
881
|
| "honeywell-vista"
|
|
875
882
|
| "igor"
|
|
876
883
|
| "inncom"
|
|
@@ -952,6 +959,7 @@ export interface MediaSource {
|
|
|
952
959
|
| "ecobee"
|
|
953
960
|
| "epson"
|
|
954
961
|
| "geovision-rs"
|
|
962
|
+
| "geovision-as-manager"
|
|
955
963
|
| "honeywell-vista"
|
|
956
964
|
| "igor"
|
|
957
965
|
| "inncom"
|
|
@@ -1188,6 +1196,7 @@ export interface MotionSensor {
|
|
|
1188
1196
|
| "ecobee"
|
|
1189
1197
|
| "epson"
|
|
1190
1198
|
| "geovision-rs"
|
|
1199
|
+
| "geovision-as-manager"
|
|
1191
1200
|
| "honeywell-vista"
|
|
1192
1201
|
| "igor"
|
|
1193
1202
|
| "inncom"
|
|
@@ -1332,6 +1341,7 @@ export interface Alarm {
|
|
|
1332
1341
|
| "ecobee"
|
|
1333
1342
|
| "epson"
|
|
1334
1343
|
| "geovision-rs"
|
|
1344
|
+
| "geovision-as-manager"
|
|
1335
1345
|
| "honeywell-vista"
|
|
1336
1346
|
| "igor"
|
|
1337
1347
|
| "inncom"
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
4
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
5
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type Date =
|
|
9
|
+
| string
|
|
10
|
+
| {
|
|
11
|
+
[k: string]: unknown;
|
|
12
|
+
};
|
|
13
|
+
export type CreatedAt =
|
|
14
|
+
| string
|
|
15
|
+
| {
|
|
16
|
+
[k: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
export type UpdatedAt =
|
|
19
|
+
| string
|
|
20
|
+
| {
|
|
21
|
+
[k: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export interface Vendor {
|
|
25
|
+
id?: string;
|
|
26
|
+
type?: "vendor";
|
|
27
|
+
name: string;
|
|
28
|
+
phone?: string | null;
|
|
29
|
+
email?: string | null;
|
|
30
|
+
address?: Address;
|
|
31
|
+
photo?: MediaFile;
|
|
32
|
+
createdAt?: CreatedAt;
|
|
33
|
+
updatedAt?: UpdatedAt;
|
|
34
|
+
[k: string]: unknown;
|
|
35
|
+
}
|
|
36
|
+
export interface Address {
|
|
37
|
+
id?: string;
|
|
38
|
+
line1?: string;
|
|
39
|
+
line2?: string;
|
|
40
|
+
line3?: string;
|
|
41
|
+
city?: string;
|
|
42
|
+
state?: string;
|
|
43
|
+
postalCode?: string;
|
|
44
|
+
countryCode?: string;
|
|
45
|
+
[k: string]: unknown;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Any media file
|
|
49
|
+
*/
|
|
50
|
+
export interface MediaFile {
|
|
51
|
+
id?: string;
|
|
52
|
+
type: "mediaFile";
|
|
53
|
+
name?: string;
|
|
54
|
+
fileHash?: string;
|
|
55
|
+
/**
|
|
56
|
+
* This is the category id
|
|
57
|
+
*/
|
|
58
|
+
category?: string;
|
|
59
|
+
mimeType?:
|
|
60
|
+
| "image/*"
|
|
61
|
+
| "image/jpeg"
|
|
62
|
+
| "image/png"
|
|
63
|
+
| "image/gif"
|
|
64
|
+
| "image/webp"
|
|
65
|
+
| "image/avif"
|
|
66
|
+
| "image/svg+xml"
|
|
67
|
+
| "application/pdf";
|
|
68
|
+
data?: string;
|
|
69
|
+
url?: string;
|
|
70
|
+
width?: number;
|
|
71
|
+
height?: number;
|
|
72
|
+
/**
|
|
73
|
+
* Size in bytes
|
|
74
|
+
*/
|
|
75
|
+
size?: number;
|
|
76
|
+
uploadUrl?: string;
|
|
77
|
+
uploadUrlExpires?: Date;
|
|
78
|
+
createdBy?: string;
|
|
79
|
+
systemId?: string;
|
|
80
|
+
}
|