@seamapi/http 1.51.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 +32 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +322 -294
- 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 +388 -388
- package/lib/seam/connect/routes/instant-keys/instant-keys.d.ts +26 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.js +18 -0
- package/lib/seam/connect/routes/instant-keys/instant-keys.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +5 -3
- 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/instant-keys/instant-keys.ts +68 -0
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +34 -0
- package/src/lib/version.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4718,6 +4718,24 @@ 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
|
+
}
|
|
4730
|
+
get(parameters, options = {}) {
|
|
4731
|
+
return new SeamHttpRequest(this, {
|
|
4732
|
+
pathname: "/instant_keys/get",
|
|
4733
|
+
method: "POST",
|
|
4734
|
+
body: parameters,
|
|
4735
|
+
responseKey: "instant_key",
|
|
4736
|
+
options
|
|
4737
|
+
});
|
|
4738
|
+
}
|
|
4721
4739
|
list(parameters, options = {}) {
|
|
4722
4740
|
return new SeamHttpRequest(this, {
|
|
4723
4741
|
pathname: "/instant_keys/list",
|
|
@@ -9658,6 +9676,20 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9658
9676
|
return seam.list(...args);
|
|
9659
9677
|
};
|
|
9660
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
|
+
}
|
|
9686
|
+
get ["/instant_keys/get"]() {
|
|
9687
|
+
const { client, defaults } = this;
|
|
9688
|
+
return function instantKeysGet(...args) {
|
|
9689
|
+
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9690
|
+
return seam.get(...args);
|
|
9691
|
+
};
|
|
9692
|
+
}
|
|
9661
9693
|
get ["/instant_keys/list"]() {
|
|
9662
9694
|
const { client, defaults } = this;
|
|
9663
9695
|
return function instantKeysList(...args) {
|