@seamapi/http 1.77.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",
@@ -9277,6 +9286,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
9277
9286
  return seam.list(...args);
9278
9287
  };
9279
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
+ }
9280
9296
  get "/access_grants/update"() {
9281
9297
  const { client, defaults } = this;
9282
9298
  return function accessGrantsUpdate(...args) {