@seamapi/http 1.76.0 → 1.78.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
@@ -1628,6 +1628,15 @@ var SeamHttpAccessGrants = class _SeamHttpAccessGrants {
1628
1628
  options
1629
1629
  });
1630
1630
  }
1631
+ requestAccessMethods(parameters, options = {}) {
1632
+ return new SeamHttpRequest(this, {
1633
+ pathname: "/access_grants/request_access_methods",
1634
+ method: "POST",
1635
+ body: parameters,
1636
+ responseKey: "access_grant",
1637
+ options
1638
+ });
1639
+ }
1631
1640
  update(parameters, options = {}) {
1632
1641
  return new SeamHttpRequest(this, {
1633
1642
  pathname: "/access_grants/update",
@@ -6629,6 +6638,15 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
6629
6638
  options
6630
6639
  });
6631
6640
  }
6641
+ list(parameters, options = {}) {
6642
+ return new SeamHttpRequest(this, {
6643
+ pathname: "/seam/customer/v1/spaces/list",
6644
+ method: "POST",
6645
+ body: parameters,
6646
+ responseKey: "spaces",
6647
+ options
6648
+ });
6649
+ }
6632
6650
  };
6633
6651
 
6634
6652
  // src/lib/seam/connect/routes/seam/customer/v1/v1.ts
@@ -9268,6 +9286,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
9268
9286
  return seam.list(...args);
9269
9287
  };
9270
9288
  }
9289
+ get "/access_grants/request_access_methods"() {
9290
+ const { client, defaults } = this;
9291
+ return function accessGrantsRequestAccessMethods(...args) {
9292
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults);
9293
+ return seam.requestAccessMethods(...args);
9294
+ };
9295
+ }
9271
9296
  get "/access_grants/update"() {
9272
9297
  const { client, defaults } = this;
9273
9298
  return function accessGrantsUpdate(...args) {
@@ -10341,6 +10366,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
10341
10366
  return seam.create(...args);
10342
10367
  };
10343
10368
  }
10369
+ get "/seam/customer/v1/spaces/list"() {
10370
+ const { client, defaults } = this;
10371
+ return function seamCustomerV1SpacesList(...args) {
10372
+ const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
10373
+ return seam.list(...args);
10374
+ };
10375
+ }
10344
10376
  get "/seam/partner/v1/building_blocks/spaces/auto_map"() {
10345
10377
  const { client, defaults } = this;
10346
10378
  if (!this.defaults.isUndocumentedApiEnabled) {