@seamapi/http 1.75.0 → 1.77.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
@@ -4028,7 +4028,7 @@ var SeamHttpConnectedAccounts = class _SeamHttpConnectedAccounts {
4028
4028
  update(parameters, options = {}) {
4029
4029
  return new SeamHttpRequest(this, {
4030
4030
  pathname: "/connected_accounts/update",
4031
- method: "POST",
4031
+ method: "PATCH",
4032
4032
  body: parameters,
4033
4033
  responseKey: void 0,
4034
4034
  options
@@ -6629,6 +6629,15 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
6629
6629
  options
6630
6630
  });
6631
6631
  }
6632
+ list(parameters, options = {}) {
6633
+ return new SeamHttpRequest(this, {
6634
+ pathname: "/seam/customer/v1/spaces/list",
6635
+ method: "POST",
6636
+ body: parameters,
6637
+ responseKey: "spaces",
6638
+ options
6639
+ });
6640
+ }
6632
6641
  };
6633
6642
 
6634
6643
  // src/lib/seam/connect/routes/seam/customer/v1/v1.ts
@@ -10341,6 +10350,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
10341
10350
  return seam.create(...args);
10342
10351
  };
10343
10352
  }
10353
+ get "/seam/customer/v1/spaces/list"() {
10354
+ const { client, defaults } = this;
10355
+ return function seamCustomerV1SpacesList(...args) {
10356
+ const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
10357
+ return seam.list(...args);
10358
+ };
10359
+ }
10344
10360
  get "/seam/partner/v1/building_blocks/spaces/auto_map"() {
10345
10361
  const { client, defaults } = this;
10346
10362
  if (!this.defaults.isUndocumentedApiEnabled) {