@seamapi/http 1.71.0 → 1.73.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 +29 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +17 -3
- package/dist/index.cjs +29 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.d.ts +13 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js +12 -0
- package/lib/seam/connect/routes/seam/customer/v1/reservations/reservations.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +4 -3
- 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/reservations/reservations.ts +41 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +26 -0
- package/src/lib/version.ts +1 -1
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) {
|