@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/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 +262 -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/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
|
*/
|