@amigo-ai/platform-sdk 0.37.0 → 0.40.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.mjs CHANGED
@@ -4085,6 +4085,22 @@ var FunctionsResource = class extends WorkspaceScopedResource {
4085
4085
  })
4086
4086
  );
4087
4087
  }
4088
+ /**
4089
+ * List the ``latest`` version of every V109-registered platform
4090
+ * function in the workspace. Returns one row per function (the
4091
+ * alias-pinned latest version).
4092
+ *
4093
+ * Distinct from :meth:`list` which reads the legacy
4094
+ * ``workspace.settings["functions"]`` JSONB store; both surfaces
4095
+ * co-exist while callers migrate. Prefer this for V109 functions.
4096
+ */
4097
+ async listRegistered() {
4098
+ return extractData(
4099
+ await this.client.GET("/v1/{workspace_id}/functions/registered", {
4100
+ params: { path: { workspace_id: this.workspaceId } }
4101
+ })
4102
+ );
4103
+ }
4088
4104
  /**
4089
4105
  * List all immutable versions of a registered function, newest first.
4090
4106
  */