@seamapi/types 0.10.0 → 0.12.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.
@@ -584,6 +584,7 @@ export interface Routes {
584
584
  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;
585
585
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
586
586
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
587
+ automatically_manage_new_devices?: boolean | undefined;
587
588
  };
588
589
  commonParams: {};
589
590
  formData: {};
@@ -671,6 +672,7 @@ export interface Routes {
671
672
  queryParams: {
672
673
  connect_webview_id: string;
673
674
  auth_token: string;
675
+ automatically_manage_new_devices?: boolean | undefined;
674
676
  };
675
677
  jsonBody: {};
676
678
  commonParams: {};
@@ -802,7 +804,7 @@ export interface Routes {
802
804
  connect_webview_id?: string | undefined;
803
805
  device_type?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')) | undefined;
804
806
  device_types?: Array<('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')> | undefined;
805
- manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'doorking' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat') | undefined;
807
+ manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'doorking' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'controlbyweb' | 'smartthings') | undefined;
806
808
  device_ids?: string[] | undefined;
807
809
  limit?: number;
808
810
  created_before?: string | undefined;
@@ -865,7 +867,7 @@ export interface Routes {
865
867
  connect_webview_id?: string | undefined;
866
868
  device_type?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')) | undefined;
867
869
  device_types?: Array<('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')> | undefined;
868
- manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'doorking' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat') | undefined;
870
+ manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'doorking' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'controlbyweb' | 'smartthings') | undefined;
869
871
  device_ids?: string[] | undefined;
870
872
  limit?: number;
871
873
  created_before?: string | undefined;
@@ -1082,7 +1084,7 @@ export interface Routes {
1082
1084
  connect_webview_id?: string | undefined;
1083
1085
  device_type?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')) | undefined;
1084
1086
  device_types?: Array<('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')> | undefined;
1085
- manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'doorking' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat') | undefined;
1087
+ manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'doorking' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'controlbyweb' | 'smartthings') | undefined;
1086
1088
  device_ids?: string[] | undefined;
1087
1089
  limit?: number;
1088
1090
  created_before?: string | undefined;
@@ -1548,7 +1550,7 @@ export interface Routes {
1548
1550
  connect_webview_id?: string | undefined;
1549
1551
  device_type?: (('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')) | undefined;
1550
1552
  device_types?: Array<('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat')> | undefined;
1551
- manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'doorking' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat') | undefined;
1553
+ manufacturer?: ('akuvox' | 'august' | 'brivo' | 'butterflymx' | 'doorking' | 'genie' | 'igloo' | 'keywe' | 'kwikset' | 'linear' | 'lockly' | 'nuki' | 'philia' | 'salto' | 'samsung' | 'schlage' | 'seam' | 'unknown' | 'yale' | 'minut' | 'two_n' | 'ttlock' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'controlbyweb' | 'smartthings') | undefined;
1552
1554
  device_ids?: string[] | undefined;
1553
1555
  limit?: number;
1554
1556
  created_before?: string | undefined;
@@ -1582,6 +1584,19 @@ export interface Routes {
1582
1584
  }>;
1583
1585
  };
1584
1586
  };
1587
+ '/thermostats/set_fan_mode': {
1588
+ route: '/thermostats/set_fan_mode';
1589
+ method: 'POST';
1590
+ queryParams: {};
1591
+ jsonBody: {
1592
+ device_id: string;
1593
+ fan_mode: 'auto' | 'on';
1594
+ sync?: boolean;
1595
+ };
1596
+ commonParams: {};
1597
+ formData: {};
1598
+ jsonResponse: {};
1599
+ };
1585
1600
  '/thermostats/update': {
1586
1601
  route: '/thermostats/update';
1587
1602
  method: 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -639,6 +639,7 @@ export interface Routes {
639
639
  custom_metadata?:
640
640
  | Record<string, string | number | null | boolean>
641
641
  | undefined
642
+ automatically_manage_new_devices?: boolean | undefined
642
643
  }
643
644
  commonParams: {}
644
645
  formData: {}
@@ -726,6 +727,7 @@ export interface Routes {
726
727
  queryParams: {
727
728
  connect_webview_id: string
728
729
  auth_token: string
730
+ automatically_manage_new_devices?: boolean | undefined
729
731
  }
730
732
  jsonBody: {}
731
733
  commonParams: {}
@@ -978,6 +980,8 @@ export interface Routes {
978
980
  | 'igloohome'
979
981
  | 'ecobee'
980
982
  | 'hubitat'
983
+ | 'controlbyweb'
984
+ | 'smartthings'
981
985
  )
982
986
  | undefined
983
987
  device_ids?: string[] | undefined
@@ -1153,6 +1157,8 @@ export interface Routes {
1153
1157
  | 'igloohome'
1154
1158
  | 'ecobee'
1155
1159
  | 'hubitat'
1160
+ | 'controlbyweb'
1161
+ | 'smartthings'
1156
1162
  )
1157
1163
  | undefined
1158
1164
  device_ids?: string[] | undefined
@@ -1558,6 +1564,8 @@ export interface Routes {
1558
1564
  | 'igloohome'
1559
1565
  | 'ecobee'
1560
1566
  | 'hubitat'
1567
+ | 'controlbyweb'
1568
+ | 'smartthings'
1561
1569
  )
1562
1570
  | undefined
1563
1571
  device_ids?: string[] | undefined
@@ -2151,6 +2159,8 @@ export interface Routes {
2151
2159
  | 'igloohome'
2152
2160
  | 'ecobee'
2153
2161
  | 'hubitat'
2162
+ | 'controlbyweb'
2163
+ | 'smartthings'
2154
2164
  )
2155
2165
  | undefined
2156
2166
  device_ids?: string[] | undefined
@@ -2213,6 +2223,19 @@ export interface Routes {
2213
2223
  }>
2214
2224
  }
2215
2225
  }
2226
+ '/thermostats/set_fan_mode': {
2227
+ route: '/thermostats/set_fan_mode'
2228
+ method: 'POST'
2229
+ queryParams: {}
2230
+ jsonBody: {
2231
+ device_id: string
2232
+ fan_mode: 'auto' | 'on'
2233
+ sync?: boolean
2234
+ }
2235
+ commonParams: {}
2236
+ formData: {}
2237
+ jsonResponse: {}
2238
+ }
2216
2239
  '/thermostats/update': {
2217
2240
  route: '/thermostats/update'
2218
2241
  method: 'POST'