@seamapi/types 0.2.0 → 0.2.2

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.
@@ -553,7 +553,7 @@ export interface Routes {
553
553
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
554
554
  custom_redirect_url?: string | undefined;
555
555
  custom_redirect_failure_url?: string | undefined;
556
- 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;
556
+ 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;
557
557
  provider_category?: ('stable' | 'internal_beta') | undefined;
558
558
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
559
559
  };
@@ -662,14 +662,14 @@ export interface Routes {
662
662
  };
663
663
  '/connected_accounts/get': {
664
664
  route: '/connected_accounts/get';
665
- method: 'GET';
666
- queryParams: {
665
+ method: 'GET' | 'POST';
666
+ queryParams: {};
667
+ jsonBody: {};
668
+ commonParams: {
667
669
  connected_account_id: string;
668
670
  } | {
669
671
  email: string;
670
672
  };
671
- jsonBody: {};
672
- commonParams: {};
673
673
  formData: {};
674
674
  jsonResponse: {
675
675
  connected_account: {
@@ -691,7 +691,7 @@ export interface Routes {
691
691
  };
692
692
  '/connected_accounts/list': {
693
693
  route: '/connected_accounts/list';
694
- method: 'GET';
694
+ method: 'GET' | 'POST';
695
695
  queryParams: {};
696
696
  jsonBody: {};
697
697
  commonParams: {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -604,7 +604,6 @@ export interface Routes {
604
604
  | 'igloohome'
605
605
  | 'ecobee'
606
606
  | 'hubitat'
607
- | 'yale_access'
608
607
  >
609
608
  | undefined
610
609
  provider_category?: ('stable' | 'internal_beta') | undefined
@@ -717,16 +716,16 @@ export interface Routes {
717
716
  }
718
717
  '/connected_accounts/get': {
719
718
  route: '/connected_accounts/get'
720
- method: 'GET'
721
- queryParams:
719
+ method: 'GET' | 'POST'
720
+ queryParams: {}
721
+ jsonBody: {}
722
+ commonParams:
722
723
  | {
723
724
  connected_account_id: string
724
725
  }
725
726
  | {
726
727
  email: string
727
728
  }
728
- jsonBody: {}
729
- commonParams: {}
730
729
  formData: {}
731
730
  jsonResponse: {
732
731
  connected_account: {
@@ -752,7 +751,7 @@ export interface Routes {
752
751
  }
753
752
  '/connected_accounts/list': {
754
753
  route: '/connected_accounts/list'
755
- method: 'GET'
754
+ method: 'GET' | 'POST'
756
755
  queryParams: {}
757
756
  jsonBody: {}
758
757
  commonParams: {}