@seamapi/http 1.47.0 → 1.48.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
@@ -1507,6 +1507,15 @@ var _SeamHttpAccessGrants = class _SeamHttpAccessGrants {
1507
1507
  options
1508
1508
  });
1509
1509
  }
1510
+ getRelated(parameters, options = {}) {
1511
+ return new SeamHttpRequest(this, {
1512
+ pathname: "/access_grants/get_related",
1513
+ method: "POST",
1514
+ body: parameters,
1515
+ responseKey: "batch",
1516
+ options
1517
+ });
1518
+ }
1510
1519
  list(parameters, options = {}) {
1511
1520
  return new SeamHttpRequest(this, {
1512
1521
  pathname: "/access_grants/list",
@@ -8494,6 +8503,13 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
8494
8503
  return seam.get(...args);
8495
8504
  };
8496
8505
  }
8506
+ get ["/access_grants/get_related"]() {
8507
+ const { client, defaults } = this;
8508
+ return function accessGrantsGetRelated(...args) {
8509
+ const seam = SeamHttpAccessGrants.fromClient(client, defaults);
8510
+ return seam.getRelated(...args);
8511
+ };
8512
+ }
8497
8513
  get ["/access_grants/list"]() {
8498
8514
  const { client, defaults } = this;
8499
8515
  return function accessGrantsList(...args) {