@seamapi/types 0.3.0 → 0.5.0
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.
|
@@ -558,7 +558,7 @@ export interface Routes {
|
|
|
558
558
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
559
559
|
custom_redirect_url?: string | undefined;
|
|
560
560
|
custom_redirect_failure_url?: string | undefined;
|
|
561
|
-
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat'> | undefined;
|
|
561
|
+
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'yale_access'> | undefined;
|
|
562
562
|
provider_category?: ('stable' | 'internal_beta') | undefined;
|
|
563
563
|
custom_metadata?: Record<string, string | number | null | boolean> | undefined;
|
|
564
564
|
};
|
|
@@ -993,7 +993,7 @@ export interface Routes {
|
|
|
993
993
|
};
|
|
994
994
|
'/health/get_service_health': {
|
|
995
995
|
route: '/health/get_service_health';
|
|
996
|
-
method: 'GET';
|
|
996
|
+
method: 'GET' | 'POST';
|
|
997
997
|
queryParams: {};
|
|
998
998
|
jsonBody: {};
|
|
999
999
|
commonParams: {
|
|
@@ -1012,12 +1012,12 @@ export interface Routes {
|
|
|
1012
1012
|
};
|
|
1013
1013
|
'/health/service/[service_name]': {
|
|
1014
1014
|
route: '/health/service/[service_name]';
|
|
1015
|
-
method: 'GET';
|
|
1016
|
-
queryParams: {
|
|
1015
|
+
method: 'GET' | 'POST';
|
|
1016
|
+
queryParams: {};
|
|
1017
|
+
jsonBody: {};
|
|
1018
|
+
commonParams: {
|
|
1017
1019
|
service_name: string;
|
|
1018
1020
|
};
|
|
1019
|
-
jsonBody: {};
|
|
1020
|
-
commonParams: {};
|
|
1021
1021
|
formData: {};
|
|
1022
1022
|
jsonResponse: {
|
|
1023
1023
|
ok: true;
|
|
@@ -1537,35 +1537,6 @@ export interface Routes {
|
|
|
1537
1537
|
}>;
|
|
1538
1538
|
};
|
|
1539
1539
|
};
|
|
1540
|
-
'/thermostats/set_cooling_set_point': {
|
|
1541
|
-
route: '/thermostats/set_cooling_set_point';
|
|
1542
|
-
method: 'POST';
|
|
1543
|
-
queryParams: {};
|
|
1544
|
-
jsonBody: {
|
|
1545
|
-
device_id: string;
|
|
1546
|
-
cooling_set_point_celsius?: number | undefined;
|
|
1547
|
-
cooling_set_point_fahrenheit?: number | undefined;
|
|
1548
|
-
sync?: boolean;
|
|
1549
|
-
};
|
|
1550
|
-
commonParams: {};
|
|
1551
|
-
formData: {};
|
|
1552
|
-
jsonResponse: {};
|
|
1553
|
-
};
|
|
1554
|
-
'/thermostats/set_mode': {
|
|
1555
|
-
route: '/thermostats/set_mode';
|
|
1556
|
-
method: 'POST';
|
|
1557
|
-
queryParams: {};
|
|
1558
|
-
jsonBody: {
|
|
1559
|
-
device_id: string;
|
|
1560
|
-
automatic_heating_enabled?: boolean | undefined;
|
|
1561
|
-
automatic_cooling_enabled?: boolean | undefined;
|
|
1562
|
-
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heatcool') | undefined;
|
|
1563
|
-
sync?: boolean;
|
|
1564
|
-
};
|
|
1565
|
-
commonParams: {};
|
|
1566
|
-
formData: {};
|
|
1567
|
-
jsonResponse: {};
|
|
1568
|
-
};
|
|
1569
1540
|
'/thermostats/update': {
|
|
1570
1541
|
route: '/thermostats/update';
|
|
1571
1542
|
method: 'POST';
|
package/package.json
CHANGED
|
@@ -607,6 +607,7 @@ export interface Routes {
|
|
|
607
607
|
| 'igloohome'
|
|
608
608
|
| 'ecobee'
|
|
609
609
|
| 'hubitat'
|
|
610
|
+
| 'yale_access'
|
|
610
611
|
>
|
|
611
612
|
| undefined
|
|
612
613
|
provider_category?: ('stable' | 'internal_beta') | undefined
|
|
@@ -1374,7 +1375,7 @@ export interface Routes {
|
|
|
1374
1375
|
}
|
|
1375
1376
|
'/health/get_service_health': {
|
|
1376
1377
|
route: '/health/get_service_health'
|
|
1377
|
-
method: 'GET'
|
|
1378
|
+
method: 'GET' | 'POST'
|
|
1378
1379
|
queryParams: {}
|
|
1379
1380
|
jsonBody: {}
|
|
1380
1381
|
commonParams: {
|
|
@@ -1393,12 +1394,12 @@ export interface Routes {
|
|
|
1393
1394
|
}
|
|
1394
1395
|
'/health/service/[service_name]': {
|
|
1395
1396
|
route: '/health/service/[service_name]'
|
|
1396
|
-
method: 'GET'
|
|
1397
|
-
queryParams: {
|
|
1397
|
+
method: 'GET' | 'POST'
|
|
1398
|
+
queryParams: {}
|
|
1399
|
+
jsonBody: {}
|
|
1400
|
+
commonParams: {
|
|
1398
1401
|
service_name: string
|
|
1399
1402
|
}
|
|
1400
|
-
jsonBody: {}
|
|
1401
|
-
commonParams: {}
|
|
1402
1403
|
formData: {}
|
|
1403
1404
|
jsonResponse: {
|
|
1404
1405
|
ok: true
|
|
@@ -2153,35 +2154,6 @@ export interface Routes {
|
|
|
2153
2154
|
}>
|
|
2154
2155
|
}
|
|
2155
2156
|
}
|
|
2156
|
-
'/thermostats/set_cooling_set_point': {
|
|
2157
|
-
route: '/thermostats/set_cooling_set_point'
|
|
2158
|
-
method: 'POST'
|
|
2159
|
-
queryParams: {}
|
|
2160
|
-
jsonBody: {
|
|
2161
|
-
device_id: string
|
|
2162
|
-
cooling_set_point_celsius?: number | undefined
|
|
2163
|
-
cooling_set_point_fahrenheit?: number | undefined
|
|
2164
|
-
sync?: boolean
|
|
2165
|
-
}
|
|
2166
|
-
commonParams: {}
|
|
2167
|
-
formData: {}
|
|
2168
|
-
jsonResponse: {}
|
|
2169
|
-
}
|
|
2170
|
-
'/thermostats/set_mode': {
|
|
2171
|
-
route: '/thermostats/set_mode'
|
|
2172
|
-
method: 'POST'
|
|
2173
|
-
queryParams: {}
|
|
2174
|
-
jsonBody: {
|
|
2175
|
-
device_id: string
|
|
2176
|
-
automatic_heating_enabled?: boolean | undefined
|
|
2177
|
-
automatic_cooling_enabled?: boolean | undefined
|
|
2178
|
-
hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heatcool') | undefined
|
|
2179
|
-
sync?: boolean
|
|
2180
|
-
}
|
|
2181
|
-
commonParams: {}
|
|
2182
|
-
formData: {}
|
|
2183
|
-
jsonResponse: {}
|
|
2184
|
-
}
|
|
2185
2157
|
'/thermostats/update': {
|
|
2186
2158
|
route: '/thermostats/update'
|
|
2187
2159
|
method: 'POST'
|