@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.mjs
CHANGED
|
@@ -4279,6 +4279,14 @@ var FunctionsResource = class extends WorkspaceScopedResource {
|
|
|
4279
4279
|
* Test invoke — same as ``invoke`` plus persists ``last_test_*``
|
|
4280
4280
|
* telemetry on the version row so the DC tool list can show
|
|
4281
4281
|
* health without re-running.
|
|
4282
|
+
*
|
|
4283
|
+
* Returns :type:`TestInvokeResponse` (superset of `InvokeResponse`)
|
|
4284
|
+
* so callers can read ``status`` / ``error`` / ``test_duration_ms``
|
|
4285
|
+
* directly off the response. The platform-api route catches
|
|
4286
|
+
* ``ServiceUnavailableError`` and converts it into ``status='fail'``
|
|
4287
|
+
* with the executor's error string in ``error`` — so even on a
|
|
4288
|
+
* blown-up SQL execution the response is a 200 with the failure
|
|
4289
|
+
* detail surfaced to the caller.
|
|
4282
4290
|
*/
|
|
4283
4291
|
async testV2(functionName, body) {
|
|
4284
4292
|
return extractData(
|