@seamapi/http 1.71.0 → 1.72.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
@@ -6173,6 +6173,20 @@ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservatio
6173
6173
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
6174
6174
  await clientSessions.get();
6175
6175
  }
6176
+ get(parameters, options = {}) {
6177
+ if (!this.defaults.isUndocumentedApiEnabled) {
6178
+ throw new Error(
6179
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
6180
+ );
6181
+ }
6182
+ return new SeamHttpRequest(this, {
6183
+ pathname: "/seam/customer/v1/reservations/get",
6184
+ method: "POST",
6185
+ body: parameters,
6186
+ responseKey: "reservation",
6187
+ options
6188
+ });
6189
+ }
6176
6190
  list(parameters, options = {}) {
6177
6191
  if (!this.defaults.isUndocumentedApiEnabled) {
6178
6192
  throw new Error(
@@ -9818,6 +9832,21 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
9818
9832
  return seam.get(...args);
9819
9833
  };
9820
9834
  }
9835
+ get "/seam/customer/v1/reservations/get"() {
9836
+ const { client, defaults } = this;
9837
+ if (!this.defaults.isUndocumentedApiEnabled) {
9838
+ throw new Error(
9839
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
9840
+ );
9841
+ }
9842
+ return function seamCustomerV1ReservationsGet(...args) {
9843
+ const seam = SeamHttpSeamCustomerV1Reservations.fromClient(
9844
+ client,
9845
+ defaults
9846
+ );
9847
+ return seam.get(...args);
9848
+ };
9849
+ }
9821
9850
  get "/seam/customer/v1/reservations/list"() {
9822
9851
  const { client, defaults } = this;
9823
9852
  if (!this.defaults.isUndocumentedApiEnabled) {