@seamapi/http 1.48.0 → 1.49.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
@@ -1646,6 +1646,15 @@ var _SeamHttpAccessMethods = class _SeamHttpAccessMethods {
1646
1646
  options
1647
1647
  });
1648
1648
  }
1649
+ getRelated(parameters, options = {}) {
1650
+ return new SeamHttpRequest(this, {
1651
+ pathname: "/access_methods/get_related",
1652
+ method: "POST",
1653
+ body: parameters,
1654
+ responseKey: "batch",
1655
+ options
1656
+ });
1657
+ }
1649
1658
  list(parameters, options = {}) {
1650
1659
  return new SeamHttpRequest(this, {
1651
1660
  pathname: "/access_methods/list",
@@ -8545,6 +8554,13 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
8545
8554
  return seam.get(...args);
8546
8555
  };
8547
8556
  }
8557
+ get ["/access_methods/get_related"]() {
8558
+ const { client, defaults } = this;
8559
+ return function accessMethodsGetRelated(...args) {
8560
+ const seam = SeamHttpAccessMethods.fromClient(client, defaults);
8561
+ return seam.getRelated(...args);
8562
+ };
8563
+ }
8548
8564
  get ["/access_methods/list"]() {
8549
8565
  const { client, defaults } = this;
8550
8566
  return function accessMethodsList(...args) {