@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/connect.cjs
CHANGED
|
@@ -4480,6 +4480,24 @@ var _SeamHttpInstantKeys = class _SeamHttpInstantKeys {
|
|
|
4480
4480
|
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
4481
4481
|
await clientSessions.get();
|
|
4482
4482
|
}
|
|
4483
|
+
delete(parameters, options = {}) {
|
|
4484
|
+
return new SeamHttpRequest(this, {
|
|
4485
|
+
pathname: "/instant_keys/delete",
|
|
4486
|
+
method: "POST",
|
|
4487
|
+
body: parameters,
|
|
4488
|
+
responseKey: void 0,
|
|
4489
|
+
options
|
|
4490
|
+
});
|
|
4491
|
+
}
|
|
4492
|
+
get(parameters, options = {}) {
|
|
4493
|
+
return new SeamHttpRequest(this, {
|
|
4494
|
+
pathname: "/instant_keys/get",
|
|
4495
|
+
method: "POST",
|
|
4496
|
+
body: parameters,
|
|
4497
|
+
responseKey: "instant_key",
|
|
4498
|
+
options
|
|
4499
|
+
});
|
|
4500
|
+
}
|
|
4483
4501
|
list(parameters, options = {}) {
|
|
4484
4502
|
return new SeamHttpRequest(this, {
|
|
4485
4503
|
pathname: "/instant_keys/list",
|
|
@@ -9420,6 +9438,20 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
|
|
|
9420
9438
|
return seam.list(...args);
|
|
9421
9439
|
};
|
|
9422
9440
|
}
|
|
9441
|
+
get ["/instant_keys/delete"]() {
|
|
9442
|
+
const { client, defaults } = this;
|
|
9443
|
+
return function instantKeysDelete(...args) {
|
|
9444
|
+
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9445
|
+
return seam.delete(...args);
|
|
9446
|
+
};
|
|
9447
|
+
}
|
|
9448
|
+
get ["/instant_keys/get"]() {
|
|
9449
|
+
const { client, defaults } = this;
|
|
9450
|
+
return function instantKeysGet(...args) {
|
|
9451
|
+
const seam = SeamHttpInstantKeys.fromClient(client, defaults);
|
|
9452
|
+
return seam.get(...args);
|
|
9453
|
+
};
|
|
9454
|
+
}
|
|
9423
9455
|
get ["/instant_keys/list"]() {
|
|
9424
9456
|
const { client, defaults } = this;
|
|
9425
9457
|
return function instantKeysList(...args) {
|