@seamapi/types 0.4.0 → 0.5.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.
@@ -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: {
@@ -993,7 +993,7 @@ export interface Routes {
993
993
  };
994
994
  '/health/get_service_health': {
995
995
  route: '/health/get_service_health';
996
- method: 'GET';
996
+ method: 'GET' | 'POST';
997
997
  queryParams: {};
998
998
  jsonBody: {};
999
999
  commonParams: {
@@ -1012,12 +1012,12 @@ export interface Routes {
1012
1012
  };
1013
1013
  '/health/service/[service_name]': {
1014
1014
  route: '/health/service/[service_name]';
1015
- method: 'GET';
1016
- queryParams: {
1015
+ method: 'GET' | 'POST';
1016
+ queryParams: {};
1017
+ jsonBody: {};
1018
+ commonParams: {
1017
1019
  service_name: string;
1018
1020
  };
1019
- jsonBody: {};
1020
- commonParams: {};
1021
1021
  formData: {};
1022
1022
  jsonResponse: {
1023
1023
  ok: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
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: {
@@ -1375,7 +1375,7 @@ export interface Routes {
1375
1375
  }
1376
1376
  '/health/get_service_health': {
1377
1377
  route: '/health/get_service_health'
1378
- method: 'GET'
1378
+ method: 'GET' | 'POST'
1379
1379
  queryParams: {}
1380
1380
  jsonBody: {}
1381
1381
  commonParams: {
@@ -1394,12 +1394,12 @@ export interface Routes {
1394
1394
  }
1395
1395
  '/health/service/[service_name]': {
1396
1396
  route: '/health/service/[service_name]'
1397
- method: 'GET'
1398
- queryParams: {
1397
+ method: 'GET' | 'POST'
1398
+ queryParams: {}
1399
+ jsonBody: {}
1400
+ commonParams: {
1399
1401
  service_name: string
1400
1402
  }
1401
- jsonBody: {}
1402
- commonParams: {}
1403
1403
  formData: {}
1404
1404
  jsonResponse: {
1405
1405
  ok: true