@seamapi/http 1.52.0 → 1.53.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 +16 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +307 -293
- package/dist/index.cjs +16 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/resolve-action-attempt.d.ts +388 -388
- package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +13 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.js +9 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.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 +7 -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/instant-keys/instant-keys.ts +33 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +17 -0
- package/src/lib/version.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4718,6 +4718,15 @@ var _SeamHttpInstantKeys = class _SeamHttpInstantKeys {
|
|
|
4718
4718
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
4719
4719
|
await clientSessions.get();
|
|
4720
4720
|
}
|
|
4721
|
+
delete(parameters, options = {}) {
|
|
4722
|
+
return new SeamHttpRequest(this, {
|
|
4723
|
+
pathname: "/instant_keys/delete",
|
|
4724
|
+
method: "POST",
|
|
4725
|
+
body: parameters,
|
|
4726
|
+
responseKey: void 0,
|
|
4727
|
+
options
|
|
4728
|
+
});
|
|
4729
|
+
}
|
|
4721
4730
|
get(parameters, options = {}) {
|
|
4722
4731
|
return new SeamHttpRequest(this, {
|
|
4723
4732
|
pathname: "/instant_keys/get",
|
|
@@ -9667,6 +9676,13 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9667
9676
|
return seam.list(...args);
|
|
9668
9677
|
};
|
|
9669
9678
|
}
|
|
9679
|
+
get ["/instant_keys/delete"]() {
|
|
9680
|
+
const { client, defaults } = this;
|
|
9681
|
+
return function instantKeysDelete(...args) {
|
|
9682
|
+
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9683
|
+
return seam.delete(...args);
|
|
9684
|
+
};
|
|
9685
|
+
}
|
|
9670
9686
|
get ["/instant_keys/get"]() {
|
|
9671
9687
|
const { client, defaults } = this;
|
|
9672
9688
|
return function instantKeysGet(...args) {
|