@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/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) {