@seamapi/http 1.95.0 → 1.96.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
@@ -586,7 +586,7 @@ var getOpenapiSchema = async (endpoint = defaultEndpoint) => {
586
586
  };
587
587
 
588
588
  // src/lib/seam/connect/resolve-action-attempt.ts
589
- var resolveActionAttempt = async (actionAttempt, actionAttempts, { timeout = 5e3, pollingInterval = 500 }) => {
589
+ var resolveActionAttempt = async (actionAttempt, actionAttempts, { timeout = 1e4, pollingInterval = 1e3 }) => {
590
590
  let timeoutRef;
591
591
  const timeoutPromise = new Promise(
592
592
  (_resolve, reject) => {
@@ -4664,6 +4664,15 @@ var SeamHttpDevices = class _SeamHttpDevices {
4664
4664
  options
4665
4665
  });
4666
4666
  }
4667
+ reportProviderMetadata(parameters, options = {}) {
4668
+ return new SeamHttpRequest(this, {
4669
+ pathname: "/devices/report_provider_metadata",
4670
+ method: "POST",
4671
+ body: parameters,
4672
+ responseKey: void 0,
4673
+ options
4674
+ });
4675
+ }
4667
4676
  update(parameters, options = {}) {
4668
4677
  return new SeamHttpRequest(this, {
4669
4678
  pathname: "/devices/update",
@@ -10587,6 +10596,13 @@ var SeamHttpEndpoints = class _SeamHttpEndpoints {
10587
10596
  return seam.listDeviceProviders(...args);
10588
10597
  };
10589
10598
  }
10599
+ get "/devices/report_provider_metadata"() {
10600
+ const { client, defaults } = this;
10601
+ return function devicesReportProviderMetadata(...args) {
10602
+ const seam = SeamHttpDevices.fromClient(client, defaults);
10603
+ return seam.reportProviderMetadata(...args);
10604
+ };
10605
+ }
10590
10606
  get "/devices/update"() {
10591
10607
  const { client, defaults } = this;
10592
10608
  return function devicesUpdate(...args) {