@seamapi/http 1.107.0 → 1.109.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 +28 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -7554,6 +7554,20 @@ var SeamHttpSeamCustomerV1Reservations = class _SeamHttpSeamCustomerV1Reservatio
|
|
|
7554
7554
|
options
|
|
7555
7555
|
});
|
|
7556
7556
|
}
|
|
7557
|
+
listAccessGrants(parameters, options = {}) {
|
|
7558
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
7559
|
+
throw new Error(
|
|
7560
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
7561
|
+
);
|
|
7562
|
+
}
|
|
7563
|
+
return new SeamHttpRequest(this, {
|
|
7564
|
+
pathname: "/seam/customer/v1/reservations/list_access_grants",
|
|
7565
|
+
method: "POST",
|
|
7566
|
+
body: parameters,
|
|
7567
|
+
responseKey: "access_grants",
|
|
7568
|
+
options
|
|
7569
|
+
});
|
|
7570
|
+
}
|
|
7557
7571
|
};
|
|
7558
7572
|
|
|
7559
7573
|
// src/lib/seam/connect/routes/seam/customer/v1/settings/vertical-resource-aliases/vertical-resource-aliases.ts
|
|
@@ -12058,6 +12072,21 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
12058
12072
|
return seam.list(...args);
|
|
12059
12073
|
};
|
|
12060
12074
|
}
|
|
12075
|
+
get "/seam/customer/v1/reservations/list_access_grants"() {
|
|
12076
|
+
const { client, defaults } = this;
|
|
12077
|
+
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
12078
|
+
throw new Error(
|
|
12079
|
+
"Cannot use undocumented API without isUndocumentedApiEnabled"
|
|
12080
|
+
);
|
|
12081
|
+
}
|
|
12082
|
+
return function seamCustomerV1ReservationsListAccessGrants(...args) {
|
|
12083
|
+
const seam = SeamHttpSeamCustomerV1Reservations.fromClient(
|
|
12084
|
+
client,
|
|
12085
|
+
defaults
|
|
12086
|
+
);
|
|
12087
|
+
return seam.listAccessGrants(...args);
|
|
12088
|
+
};
|
|
12089
|
+
}
|
|
12061
12090
|
get "/seam/customer/v1/settings/get"() {
|
|
12062
12091
|
const { client, defaults } = this;
|
|
12063
12092
|
if (!this.defaults.isUndocumentedApiEnabled) {
|