@amigo-ai/platform-sdk 0.37.0 → 0.39.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/api.md CHANGED
@@ -456,6 +456,7 @@ All workspace-scoped resources also expose `withOptions(options)`.
456
456
  - `query`
457
457
  - `sync`
458
458
  - `deploy`
459
+ - `listRegistered`
459
460
  - `listVersions`
460
461
  - `getVersion`
461
462
  - `invoke`
package/dist/index.cjs CHANGED
@@ -4193,6 +4193,22 @@ var FunctionsResource = class extends WorkspaceScopedResource {
4193
4193
  })
4194
4194
  );
4195
4195
  }
4196
+ /**
4197
+ * List the ``latest`` version of every V109-registered platform
4198
+ * function in the workspace. Returns one row per function (the
4199
+ * alias-pinned latest version).
4200
+ *
4201
+ * Distinct from :meth:`list` which reads the legacy
4202
+ * ``workspace.settings["functions"]`` JSONB store; both surfaces
4203
+ * co-exist while callers migrate. Prefer this for V109 functions.
4204
+ */
4205
+ async listRegistered() {
4206
+ return extractData(
4207
+ await this.client.GET("/v1/{workspace_id}/functions/registered", {
4208
+ params: { path: { workspace_id: this.workspaceId } }
4209
+ })
4210
+ );
4211
+ }
4196
4212
  /**
4197
4213
  * List all immutable versions of a registered function, newest first.
4198
4214
  */