@seamapi/http 1.91.0 → 1.93.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
@@ -7070,6 +7070,20 @@ var SeamHttpSeamCustomerV1Spaces = class _SeamHttpSeamCustomerV1Spaces {
7070
7070
  options
7071
7071
  });
7072
7072
  }
7073
+ listReservations(parameters, options = {}) {
7074
+ if (!this.defaults.isUndocumentedApiEnabled) {
7075
+ throw new Error(
7076
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7077
+ );
7078
+ }
7079
+ return new SeamHttpRequest(this, {
7080
+ pathname: "/seam/customer/v1/spaces/list_reservations",
7081
+ method: "POST",
7082
+ body: parameters,
7083
+ responseKey: "reservations",
7084
+ options
7085
+ });
7086
+ }
7073
7087
  };
7074
7088
 
7075
7089
  // src/lib/seam/connect/routes/seam/customer/v1/staff-members/staff-members.ts
@@ -11071,6 +11085,18 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
11071
11085
  return seam.list(...args);
11072
11086
  };
11073
11087
  }
11088
+ get "/seam/customer/v1/spaces/list_reservations"() {
11089
+ const { client, defaults } = this;
11090
+ if (!this.defaults.isUndocumentedApiEnabled) {
11091
+ throw new Error(
11092
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
11093
+ );
11094
+ }
11095
+ return function seamCustomerV1SpacesListReservations(...args) {
11096
+ const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
11097
+ return seam.listReservations(...args);
11098
+ };
11099
+ }
11074
11100
  get "/seam/customer/v1/staff_members/get"() {
11075
11101
  const { client, defaults } = this;
11076
11102
  if (!this.defaults.isUndocumentedApiEnabled) {