@seamapi/http 1.110.0 → 1.111.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
@@ -7481,6 +7481,20 @@ var SeamHttpSeamCustomerV1Portals = class _SeamHttpSeamCustomerV1Portals {
7481
7481
  options
7482
7482
  });
7483
7483
  }
7484
+ update(parameters, options = {}) {
7485
+ if (!this.defaults.isUndocumentedApiEnabled) {
7486
+ throw new Error(
7487
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
7488
+ );
7489
+ }
7490
+ return new SeamHttpRequest(this, {
7491
+ pathname: "/seam/customer/v1/portals/update",
7492
+ method: "PATCH",
7493
+ body: parameters,
7494
+ responseKey: void 0,
7495
+ options
7496
+ });
7497
+ }
7484
7498
  };
7485
7499
 
7486
7500
  // src/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.ts
@@ -12138,6 +12152,18 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
12138
12152
  return seam.get(...args);
12139
12153
  };
12140
12154
  }
12155
+ get "/seam/customer/v1/portals/update"() {
12156
+ const { client, defaults } = this;
12157
+ if (!this.defaults.isUndocumentedApiEnabled) {
12158
+ throw new Error(
12159
+ "Cannot use undocumented API without isUndocumentedApiEnabled"
12160
+ );
12161
+ }
12162
+ return function seamCustomerV1PortalsUpdate(...args) {
12163
+ const seam = SeamHttpSeamCustomerV1Portals.fromClient(client, defaults);
12164
+ return seam.update(...args);
12165
+ };
12166
+ }
12141
12167
  get "/seam/customer/v1/reservations/get"() {
12142
12168
  const { client, defaults } = this;
12143
12169
  if (!this.defaults.isUndocumentedApiEnabled) {