@seamapi/types 0.3.0 → 0.4.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
  };
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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
@@ -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'