@seamapi/http 1.46.0 → 1.47.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.
@@ -372,7 +372,7 @@ type AccessGrantsDeleteResponse = SetNonNullable<Required<RouteResponse<'/access
372
372
  type AccessGrantsDeleteRequest = SeamHttpRequest<void, undefined>;
373
373
  interface AccessGrantsDeleteOptions {
374
374
  }
375
- type AccessGrantsGetParameters = RouteRequestBody<'/access_grants/get'>;
375
+ type AccessGrantsGetParameters = RouteRequestParams<'/access_grants/get'>;
376
376
  /**
377
377
  * @deprecated Use AccessGrantsGetParameters instead.
378
378
  */
@@ -2629,7 +2629,7 @@ type SpacesDeleteResponse = SetNonNullable<Required<RouteResponse<'/spaces/delet
2629
2629
  type SpacesDeleteRequest = SeamHttpRequest<void, undefined>;
2630
2630
  interface SpacesDeleteOptions {
2631
2631
  }
2632
- type SpacesGetParameters = RouteRequestBody<'/spaces/get'>;
2632
+ type SpacesGetParameters = RouteRequestParams<'/spaces/get'>;
2633
2633
  /**
2634
2634
  * @deprecated Use SpacesGetParameters instead.
2635
2635
  */
package/dist/index.cjs CHANGED
@@ -1735,8 +1735,8 @@ var _SeamHttpAccessGrants = class _SeamHttpAccessGrants {
1735
1735
  get(parameters, options = {}) {
1736
1736
  return new SeamHttpRequest(this, {
1737
1737
  pathname: "/access_grants/get",
1738
- method: "POST",
1739
- body: parameters,
1738
+ method: "GET",
1739
+ params: parameters,
1740
1740
  responseKey: "access_grant",
1741
1741
  options
1742
1742
  });
@@ -6383,8 +6383,8 @@ var _SeamHttpSpaces = class _SeamHttpSpaces {
6383
6383
  get(parameters, options = {}) {
6384
6384
  return new SeamHttpRequest(this, {
6385
6385
  pathname: "/spaces/get",
6386
- method: "POST",
6387
- body: parameters,
6386
+ method: "GET",
6387
+ params: parameters,
6388
6388
  responseKey: "space",
6389
6389
  options
6390
6390
  });