@seamapi/http 1.46.0 → 1.48.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 +19 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +19 -5
- package/dist/index.cjs +19 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +15 -2
- package/lib/seam/connect/routes/access-grants/access-grants.js +10 -1
- package/lib/seam/connect/routes/access-grants/access-grants.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 +7 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/spaces/spaces.d.ts +2 -2
- package/lib/seam/connect/routes/spaces/spaces.js +2 -2
- package/lib/seam/connect/routes/spaces/spaces.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/access-grants/access-grants.ts +43 -3
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +18 -0
- package/src/lib/seam/connect/routes/spaces/spaces.ts +8 -4
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -1501,9 +1501,18 @@ var _SeamHttpAccessGrants = class _SeamHttpAccessGrants {
|
|
|
1501
1501
|
get(parameters, options = {}) {
|
|
1502
1502
|
return new SeamHttpRequest(this, {
|
|
1503
1503
|
pathname: "/access_grants/get",
|
|
1504
|
+
method: "GET",
|
|
1505
|
+
params: parameters,
|
|
1506
|
+
responseKey: "access_grant",
|
|
1507
|
+
options
|
|
1508
|
+
});
|
|
1509
|
+
}
|
|
1510
|
+
getRelated(parameters, options = {}) {
|
|
1511
|
+
return new SeamHttpRequest(this, {
|
|
1512
|
+
pathname: "/access_grants/get_related",
|
|
1504
1513
|
method: "POST",
|
|
1505
1514
|
body: parameters,
|
|
1506
|
-
responseKey: "
|
|
1515
|
+
responseKey: "batch",
|
|
1507
1516
|
options
|
|
1508
1517
|
});
|
|
1509
1518
|
}
|
|
@@ -6149,8 +6158,8 @@ var _SeamHttpSpaces = class _SeamHttpSpaces {
|
|
|
6149
6158
|
get(parameters, options = {}) {
|
|
6150
6159
|
return new SeamHttpRequest(this, {
|
|
6151
6160
|
pathname: "/spaces/get",
|
|
6152
|
-
method: "
|
|
6153
|
-
|
|
6161
|
+
method: "GET",
|
|
6162
|
+
params: parameters,
|
|
6154
6163
|
responseKey: "space",
|
|
6155
6164
|
options
|
|
6156
6165
|
});
|
|
@@ -8494,6 +8503,13 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8494
8503
|
return seam.get(...args);
|
|
8495
8504
|
};
|
|
8496
8505
|
}
|
|
8506
|
+
get ["/access_grants/get_related"]() {
|
|
8507
|
+
const { client, defaults } = this;
|
|
8508
|
+
return function accessGrantsGetRelated(...args) {
|
|
8509
|
+
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8510
|
+
return seam.getRelated(...args);
|
|
8511
|
+
};
|
|
8512
|
+
}
|
|
8497
8513
|
get ["/access_grants/list"]() {
|
|
8498
8514
|
const { client, defaults } = this;
|
|
8499
8515
|
return function accessGrantsList(...args) {
|