@seamapi/http 1.108.0 → 1.109.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
@@ -7554,6 +7554,20 @@ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservatio
7554
7554
  options
7555
7555
  });
7556
7556
  }
7557
+ listAccessGrants(parameters, options = {}) {
7558
+ if (!this.defaults.isUndocumentedApiEnabled) {
7559
+ throw new Error(
7560
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7561
+ );
7562
+ }
7563
+ return new SeamHttpRequest(this, {
7564
+ pathname: "/seam/customer/v1/reservations/list_access_grants",
7565
+ method: "POST",
7566
+ body: parameters,
7567
+ responseKey: "access_grants",
7568
+ options
7569
+ });
7570
+ }
7557
7571
  };
7558
7572
 
7559
7573
  // src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.ts
@@ -12058,6 +12072,21 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
12058
12072
  return seam.list(...args);
12059
12073
  };
12060
12074
  }
12075
+ get "/seam/customer/v1/reservations/list_access_grants"() {
12076
+ const { client, defaults } = this;
12077
+ if (!this.defaults.isUndocumentedApiEnabled) {
12078
+ throw new Error(
12079
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
12080
+ );
12081
+ }
12082
+ return function seamCustomerV1ReservationsListAccessGrants(...args) {
12083
+ const seam = SeamHttpSeamCustomerV1Reservations.fromClient(
12084
+ client,
12085
+ defaults
12086
+ );
12087
+ return seam.listAccessGrants(...args);
12088
+ };
12089
+ }
12061
12090
  get "/seam/customer/v1/settings/get"() {
12062
12091
  const { client, defaults } = this;
12063
12092
  if (!this.defaults.isUndocumentedApiEnabled) {