@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 +1 -0
- package/dist/index.cjs +16 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +16 -0
- package/dist/index.mjs.map +2 -2
- package/dist/resources/functions.js +14 -0
- package/dist/resources/functions.js.map +1 -1
- package/dist/types/generated/api.d.ts +234 -3
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/calls.d.ts +3 -3
- package/dist/types/resources/functions.d.ts +39 -0
- package/dist/types/resources/functions.d.ts.map +1 -1
- package/dist/types/resources/intake.d.ts.map +1 -1
- package/dist/types/resources/metrics.d.ts.map +1 -1
- package/dist/types/resources/operators.d.ts.map +1 -1
- package/dist/types/resources/settings.d.ts.map +1 -1
- package/dist/types/resources/surfaces.d.ts.map +1 -1
- package/package.json +1 -1
package/api.md
CHANGED
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
|
*/
|