@seamapi/types 0.2.0 → 0.2.1

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.
@@ -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.1",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -717,16 +717,16 @@ export interface Routes {
717
717
  }
718
718
  '/connected_accounts/get': {
719
719
  route: '/connected_accounts/get'
720
- method: 'GET'
721
- queryParams:
720
+ method: 'GET' | 'POST'
721
+ queryParams: {}
722
+ jsonBody: {}
723
+ commonParams:
722
724
  | {
723
725
  connected_account_id: string
724
726
  }
725
727
  | {
726
728
  email: string
727
729
  }
728
- jsonBody: {}
729
- commonParams: {}
730
730
  formData: {}
731
731
  jsonResponse: {
732
732
  connected_account: {
@@ -752,7 +752,7 @@ export interface Routes {
752
752
  }
753
753
  '/connected_accounts/list': {
754
754
  route: '/connected_accounts/list'
755
- method: 'GET'
755
+ method: 'GET' | 'POST'
756
756
  queryParams: {}
757
757
  jsonBody: {}
758
758
  commonParams: {}