@seamapi/http 1.47.0 → 1.49.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 +32 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +46 -18
- package/dist/index.cjs +32 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/resolve-action-attempt.d.ts +20 -20
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +13 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js +9 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +13 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js +9 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +6 -4
- package/lib/seam/connect/routes/seam-http-endpoints.js +14 -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/access-grants/access-grants.ts +36 -0
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +36 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +35 -0
- package/src/lib/version.ts +1 -1
package/dist/connect.cjs
CHANGED
|
@@ -1507,6 +1507,15 @@ var _SeamHttpAccessGrants = class _SeamHttpAccessGrants {
|
|
|
1507
1507
|
options
|
|
1508
1508
|
});
|
|
1509
1509
|
}
|
|
1510
|
+
getRelated(parameters, options = {}) {
|
|
1511
|
+
return new SeamHttpRequest(this, {
|
|
1512
|
+
pathname: "/access_grants/get_related",
|
|
1513
|
+
method: "POST",
|
|
1514
|
+
body: parameters,
|
|
1515
|
+
responseKey: "batch",
|
|
1516
|
+
options
|
|
1517
|
+
});
|
|
1518
|
+
}
|
|
1510
1519
|
list(parameters, options = {}) {
|
|
1511
1520
|
return new SeamHttpRequest(this, {
|
|
1512
1521
|
pathname: "/access_grants/list",
|
|
@@ -1637,6 +1646,15 @@ var _SeamHttpAccessMethods = class _SeamHttpAccessMethods {
|
|
|
1637
1646
|
options
|
|
1638
1647
|
});
|
|
1639
1648
|
}
|
|
1649
|
+
getRelated(parameters, options = {}) {
|
|
1650
|
+
return new SeamHttpRequest(this, {
|
|
1651
|
+
pathname: "/access_methods/get_related",
|
|
1652
|
+
method: "POST",
|
|
1653
|
+
body: parameters,
|
|
1654
|
+
responseKey: "batch",
|
|
1655
|
+
options
|
|
1656
|
+
});
|
|
1657
|
+
}
|
|
1640
1658
|
list(parameters, options = {}) {
|
|
1641
1659
|
return new SeamHttpRequest(this, {
|
|
1642
1660
|
pathname: "/access_methods/list",
|
|
@@ -8494,6 +8512,13 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8494
8512
|
return seam.get(...args);
|
|
8495
8513
|
};
|
|
8496
8514
|
}
|
|
8515
|
+
get ["/access_grants/get_related"]() {
|
|
8516
|
+
const { client, defaults } = this;
|
|
8517
|
+
return function accessGrantsGetRelated(...args) {
|
|
8518
|
+
const seam = SeamHttpAccessGrants.fromClient(client, defaults);
|
|
8519
|
+
return seam.getRelated(...args);
|
|
8520
|
+
};
|
|
8521
|
+
}
|
|
8497
8522
|
get ["/access_grants/list"]() {
|
|
8498
8523
|
const { client, defaults } = this;
|
|
8499
8524
|
return function accessGrantsList(...args) {
|
|
@@ -8529,6 +8554,13 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
8529
8554
|
return seam.get(...args);
|
|
8530
8555
|
};
|
|
8531
8556
|
}
|
|
8557
|
+
get ["/access_methods/get_related"]() {
|
|
8558
|
+
const { client, defaults } = this;
|
|
8559
|
+
return function accessMethodsGetRelated(...args) {
|
|
8560
|
+
const seam = SeamHttpAccessMethods.fromClient(client, defaults);
|
|
8561
|
+
return seam.getRelated(...args);
|
|
8562
|
+
};
|
|
8563
|
+
}
|
|
8532
8564
|
get ["/access_methods/list"]() {
|
|
8533
8565
|
const { client, defaults } = this;
|
|
8534
8566
|
return function accessMethodsList(...args) {
|