@seamapi/types 0.6.0 → 0.7.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.
@@ -732,13 +732,13 @@ export interface Routes {
732
732
  };
733
733
  '/devices/get': {
734
734
  route: '/devices/get';
735
- method: 'GET';
736
- queryParams: {
735
+ method: 'GET' | 'POST';
736
+ queryParams: {};
737
+ jsonBody: {};
738
+ commonParams: {
737
739
  device_id?: string | undefined;
738
740
  name?: string | undefined;
739
741
  };
740
- jsonBody: {};
741
- commonParams: {};
742
742
  formData: {};
743
743
  jsonResponse: {
744
744
  device: {
@@ -813,7 +813,7 @@ export interface Routes {
813
813
  };
814
814
  '/devices/list_device_providers': {
815
815
  route: '/devices/list_device_providers';
816
- method: 'GET';
816
+ method: 'GET' | 'POST';
817
817
  queryParams: {};
818
818
  jsonBody: {};
819
819
  commonParams: {
@@ -1604,12 +1604,12 @@ export interface Routes {
1604
1604
  };
1605
1605
  '/webhooks/get': {
1606
1606
  route: '/webhooks/get';
1607
- method: 'GET';
1608
- queryParams: {
1607
+ method: 'GET' | 'POST';
1608
+ queryParams: {};
1609
+ jsonBody: {};
1610
+ commonParams: {
1609
1611
  webhook_id: string;
1610
1612
  };
1611
- jsonBody: {};
1612
- commonParams: {};
1613
1613
  formData: {};
1614
1614
  jsonResponse: {
1615
1615
  webhook: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "0.6.0",
3
+ "version": "0.7.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -797,13 +797,13 @@ export interface Routes {
797
797
  }
798
798
  '/devices/get': {
799
799
  route: '/devices/get'
800
- method: 'GET'
801
- queryParams: {
800
+ method: 'GET' | 'POST'
801
+ queryParams: {}
802
+ jsonBody: {}
803
+ commonParams: {
802
804
  device_id?: string | undefined
803
805
  name?: string | undefined
804
806
  }
805
- jsonBody: {}
806
- commonParams: {}
807
807
  formData: {}
808
808
  jsonResponse: {
809
809
  device: {
@@ -1013,7 +1013,7 @@ export interface Routes {
1013
1013
  }
1014
1014
  '/devices/list_device_providers': {
1015
1015
  route: '/devices/list_device_providers'
1016
- method: 'GET'
1016
+ method: 'GET' | 'POST'
1017
1017
  queryParams: {}
1018
1018
  jsonBody: {}
1019
1019
  commonParams: {
@@ -2223,12 +2223,12 @@ export interface Routes {
2223
2223
  }
2224
2224
  '/webhooks/get': {
2225
2225
  route: '/webhooks/get'
2226
- method: 'GET'
2227
- queryParams: {
2226
+ method: 'GET' | 'POST'
2227
+ queryParams: {}
2228
+ jsonBody: {}
2229
+ commonParams: {
2228
2230
  webhook_id: string
2229
2231
  }
2230
- jsonBody: {}
2231
- commonParams: {}
2232
2232
  formData: {}
2233
2233
  jsonResponse: {
2234
2234
  webhook: {