@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 +26 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +16 -2
- package/dist/index.cjs +26 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.d.ts +13 -0
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js +12 -0
- package/lib/seam/connect/routes/seam/customer/v1/portals/portals.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +3 -2
- package/lib/seam/connect/routes/seam-http-endpoints.js +10 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/seam/customer/v1/portals/portals.ts +41 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +22 -0
- package/src/lib/version.ts +1 -1
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) {
|