@seamapi/types 0.5.0 → 0.6.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.
@@ -519,7 +519,7 @@ export interface Routes {
519
519
  };
520
520
  '/client_sessions/delete': {
521
521
  route: '/client_sessions/delete';
522
- method: 'POST' | 'GET';
522
+ method: 'POST' | 'DELETE';
523
523
  queryParams: {};
524
524
  jsonBody: {};
525
525
  commonParams: {
@@ -559,7 +559,7 @@ export interface Routes {
559
559
  custom_redirect_url?: string | undefined;
560
560
  custom_redirect_failure_url?: string | undefined;
561
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
- provider_category?: ('stable' | 'internal_beta') | undefined;
562
+ provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
563
563
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
564
564
  };
565
565
  commonParams: {};
@@ -817,7 +817,7 @@ export interface Routes {
817
817
  queryParams: {};
818
818
  jsonBody: {};
819
819
  commonParams: {
820
- provider_category?: 'stable' | undefined;
820
+ provider_category?: ('stable' | 'consumer_smartlocks') | undefined;
821
821
  };
822
822
  formData: {};
823
823
  jsonResponse: {
@@ -825,7 +825,7 @@ export interface Routes {
825
825
  device_provider_name: string;
826
826
  display_name: string;
827
827
  image_url: string;
828
- provider_categories: Array<'stable'>;
828
+ provider_categories: Array<'stable' | 'consumer_smartlocks'>;
829
829
  }>;
830
830
  };
831
831
  };
@@ -1494,6 +1494,20 @@ export interface Routes {
1494
1494
  };
1495
1495
  };
1496
1496
  };
1497
+ '/thermostats/heat': {
1498
+ route: '/thermostats/heat';
1499
+ method: 'POST';
1500
+ queryParams: {};
1501
+ jsonBody: {
1502
+ device_id: string;
1503
+ heating_set_point_celsius?: number | undefined;
1504
+ heating_set_point_fahrenheit?: number | undefined;
1505
+ sync?: boolean;
1506
+ };
1507
+ commonParams: {};
1508
+ formData: {};
1509
+ jsonResponse: {};
1510
+ };
1497
1511
  '/thermostats/list': {
1498
1512
  route: '/thermostats/list';
1499
1513
  method: 'GET' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -540,7 +540,7 @@ export interface Routes {
540
540
  }
541
541
  '/client_sessions/delete': {
542
542
  route: '/client_sessions/delete'
543
- method: 'POST' | 'GET'
543
+ method: 'POST' | 'DELETE'
544
544
  queryParams: {}
545
545
  jsonBody: {}
546
546
  commonParams: {
@@ -610,7 +610,9 @@ export interface Routes {
610
610
  | 'yale_access'
611
611
  >
612
612
  | undefined
613
- provider_category?: ('stable' | 'internal_beta') | undefined
613
+ provider_category?:
614
+ | ('stable' | 'consumer_smartlocks' | 'internal_beta')
615
+ | undefined
614
616
  custom_metadata?:
615
617
  | Record<string, string | number | null | boolean>
616
618
  | undefined
@@ -1015,7 +1017,7 @@ export interface Routes {
1015
1017
  queryParams: {}
1016
1018
  jsonBody: {}
1017
1019
  commonParams: {
1018
- provider_category?: 'stable' | undefined
1020
+ provider_category?: ('stable' | 'consumer_smartlocks') | undefined
1019
1021
  }
1020
1022
  formData: {}
1021
1023
  jsonResponse: {
@@ -1023,7 +1025,7 @@ export interface Routes {
1023
1025
  device_provider_name: string
1024
1026
  display_name: string
1025
1027
  image_url: string
1026
- provider_categories: Array<'stable'>
1028
+ provider_categories: Array<'stable' | 'consumer_smartlocks'>
1027
1029
  }>
1028
1030
  }
1029
1031
  }
@@ -2001,6 +2003,20 @@ export interface Routes {
2001
2003
  }
2002
2004
  }
2003
2005
  }
2006
+ '/thermostats/heat': {
2007
+ route: '/thermostats/heat'
2008
+ method: 'POST'
2009
+ queryParams: {}
2010
+ jsonBody: {
2011
+ device_id: string
2012
+ heating_set_point_celsius?: number | undefined
2013
+ heating_set_point_fahrenheit?: number | undefined
2014
+ sync?: boolean
2015
+ }
2016
+ commonParams: {}
2017
+ formData: {}
2018
+ jsonResponse: {}
2019
+ }
2004
2020
  '/thermostats/list': {
2005
2021
  route: '/thermostats/list'
2006
2022
  method: 'GET' | 'POST'