@amigo-ai/platform-sdk 0.43.0 → 0.44.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.cjs +8 -0
- package/dist/index.cjs.map +2 -2
- package/dist/index.mjs +8 -0
- package/dist/index.mjs.map +2 -2
- package/dist/resources/channels/ses-setup.js.map +1 -1
- package/dist/resources/functions.js +8 -0
- package/dist/resources/functions.js.map +1 -1
- package/dist/types/generated/api.d.ts +57 -1
- package/dist/types/generated/api.d.ts.map +1 -1
- package/dist/types/resources/channels/ses-setup.d.ts.map +1 -1
- package/dist/types/resources/functions.d.ts +9 -6
- 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.cjs
CHANGED
|
@@ -4389,6 +4389,14 @@ var FunctionsResource = class extends WorkspaceScopedResource {
|
|
|
4389
4389
|
* Test invoke — same as ``invoke`` plus persists ``last_test_*``
|
|
4390
4390
|
* telemetry on the version row so the DC tool list can show
|
|
4391
4391
|
* health without re-running.
|
|
4392
|
+
*
|
|
4393
|
+
* Returns :type:`TestInvokeResponse` (superset of `InvokeResponse`)
|
|
4394
|
+
* so callers can read ``status`` / ``error`` / ``test_duration_ms``
|
|
4395
|
+
* directly off the response. The platform-api route catches
|
|
4396
|
+
* ``ServiceUnavailableError`` and converts it into ``status='fail'``
|
|
4397
|
+
* with the executor's error string in ``error`` — so even on a
|
|
4398
|
+
* blown-up SQL execution the response is a 200 with the failure
|
|
4399
|
+
* detail surfaced to the caller.
|
|
4392
4400
|
*/
|
|
4393
4401
|
async testV2(functionName, body) {
|
|
4394
4402
|
return extractData(
|