@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 +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/spaces/spaces.d.ts +13 -0
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js +12 -0
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.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 +6 -6
- package/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.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
|
@@ -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) {
|