@seamapi/http 1.45.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.
package/dist/connect.cjs CHANGED
@@ -1501,8 +1501,8 @@ var _SeamHttpAccessGrants = class _SeamHttpAccessGrants {
1501
1501
  get(parameters, options = {}) {
1502
1502
  return new SeamHttpRequest(this, {
1503
1503
  pathname: "/access_grants/get",
1504
- method: "POST",
1505
- body: parameters,
1504
+ method: "GET",
1505
+ params: parameters,
1506
1506
  responseKey: "access_grant",
1507
1507
  options
1508
1508
  });
@@ -6149,8 +6149,8 @@ var _SeamHttpSpaces = class _SeamHttpSpaces {
6149
6149
  get(parameters, options = {}) {
6150
6150
  return new SeamHttpRequest(this, {
6151
6151
  pathname: "/spaces/get",
6152
- method: "POST",
6153
- body: parameters,
6152
+ method: "GET",
6153
+ params: parameters,
6154
6154
  responseKey: "space",
6155
6155
  options
6156
6156
  });
@@ -6167,8 +6167,8 @@ var _SeamHttpSpaces = class _SeamHttpSpaces {
6167
6167
  list(parameters, options = {}) {
6168
6168
  return new SeamHttpRequest(this, {
6169
6169
  pathname: "/spaces/list",
6170
- method: "GET",
6171
- params: parameters,
6170
+ method: "POST",
6171
+ body: parameters,
6172
6172
  responseKey: "spaces",
6173
6173
  options
6174
6174
  });