@seamapi/http 1.51.0 → 1.52.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 CHANGED
@@ -4480,6 +4480,15 @@ var _SeamHttpInstantKeys = class _SeamHttpInstantKeys {
4480
4480
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
4481
4481
  await clientSessions.get();
4482
4482
  }
4483
+ get(parameters, options = {}) {
4484
+ return new SeamHttpRequest(this, {
4485
+ pathname: "/instant_keys/get",
4486
+ method: "POST",
4487
+ body: parameters,
4488
+ responseKey: "instant_key",
4489
+ options
4490
+ });
4491
+ }
4483
4492
  list(parameters, options = {}) {
4484
4493
  return new SeamHttpRequest(this, {
4485
4494
  pathname: "/instant_keys/list",
@@ -9420,6 +9429,13 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
9420
9429
  return seam.list(...args);
9421
9430
  };
9422
9431
  }
9432
+ get ["/instant_keys/get"]() {
9433
+ const { client, defaults } = this;
9434
+ return function instantKeysGet(...args) {
9435
+ const seam = SeamHttpInstantKeys.fromClient(client, defaults);
9436
+ return seam.get(...args);
9437
+ };
9438
+ }
9423
9439
  get ["/instant_keys/list"]() {
9424
9440
  const { client, defaults } = this;
9425
9441
  return function instantKeysList(...args) {