@seamapi/http 1.61.0 → 1.62.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
@@ -8110,14 +8110,14 @@ var _SeamHttpWorkspaces = class _SeamHttpWorkspaces {
8110
8110
  options
8111
8111
  });
8112
8112
  }
8113
- findResources(parameters, options = {}) {
8113
+ findAnything(parameters, options = {}) {
8114
8114
  if (!this.defaults.isUndocumentedApiEnabled) {
8115
8115
  throw new Error(
8116
8116
  "Cannot use undocumented API without isUndocumentedApiEnabled"
8117
8117
  );
8118
8118
  }
8119
8119
  return new SeamHttpRequest(this, {
8120
- pathname: "/workspaces/find_resources",
8120
+ pathname: "/workspaces/find_anything",
8121
8121
  method: "GET",
8122
8122
  params: parameters,
8123
8123
  responseKey: "batch",
@@ -10043,16 +10043,16 @@ var _SeamHttpEndpoints = class _SeamHttpEndpoints {
10043
10043
  return seam.create(...args);
10044
10044
  };
10045
10045
  }
10046
- get ["/workspaces/find_resources"]() {
10046
+ get ["/workspaces/find_anything"]() {
10047
10047
  const { client, defaults } = this;
10048
10048
  if (!this.defaults.isUndocumentedApiEnabled) {
10049
10049
  throw new Error(
10050
10050
  "Cannot use undocumented API without isUndocumentedApiEnabled"
10051
10051
  );
10052
10052
  }
10053
- return function workspacesFindResources(...args) {
10053
+ return function workspacesFindAnything(...args) {
10054
10054
  const seam = SeamHttpWorkspaces.fromClient(client, defaults);
10055
- return seam.findResources(...args);
10055
+ return seam.findAnything(...args);
10056
10056
  };
10057
10057
  }
10058
10058
  get ["/workspaces/get"]() {