@orq-ai/node 4.13.0-rc.6 → 4.13.0-rc.8
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/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/models/components/evaluatorresponsefunction.js +2 -2
- package/models/components/evaluatorresponsehttp.js +2 -2
- package/models/components/evaluatorresponsejsonschema.js +2 -2
- package/models/components/evaluatorresponsellm.js +2 -2
- package/models/components/evaluatorresponsepython.js +2 -2
- package/models/components/evaluatorresponseragas.js +2 -2
- package/models/components/evaluatorresponsetypescript.js +2 -2
- package/models/components/index.d.ts +2 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -1
- package/models/components/index.js.map +1 -1
- package/models/components/modeldocument.d.ts +2 -2
- package/models/components/modeldocument.d.ts.map +1 -1
- package/models/components/modeldocument.js +2 -2
- package/models/components/modeldocument.js.map +1 -1
- package/models/components/plugin.d.ts +2 -0
- package/models/components/plugin.d.ts.map +1 -1
- package/models/components/plugin.js +3 -0
- package/models/components/plugin.js.map +1 -1
- package/models/components/publicplugin.d.ts +75 -0
- package/models/components/publicplugin.d.ts.map +1 -0
- package/models/components/{publicpiiredactionplugin.js → publicplugin.js} +19 -20
- package/models/components/publicplugin.js.map +1 -0
- package/models/components/reasoning.d.ts +1 -0
- package/models/components/reasoning.d.ts.map +1 -1
- package/models/components/reasoning.js +1 -0
- package/models/components/reasoning.js.map +1 -1
- package/models/components/reasoningparam.d.ts +1 -0
- package/models/components/reasoningparam.d.ts.map +1 -1
- package/models/components/reasoningparam.js +1 -0
- package/models/components/reasoningparam.js.map +1 -1
- package/models/components/reasoningpart.js +1 -1
- package/models/components/responsehealingplugin.d.ts +35 -0
- package/models/components/responsehealingplugin.d.ts.map +1 -0
- package/models/components/responsehealingplugin.js +68 -0
- package/models/components/responsehealingplugin.js.map +1 -0
- package/models/operations/createagentrequest.d.ts +16 -16
- package/models/operations/createagentrequest.d.ts.map +1 -1
- package/models/operations/createagentrequest.js +8 -0
- package/models/operations/createagentrequest.js.map +1 -1
- package/models/operations/createchatcompletion.d.ts +5 -5
- package/models/operations/createchatcompletion.d.ts.map +1 -1
- package/models/operations/createchatcompletion.js +2 -0
- package/models/operations/createchatcompletion.js.map +1 -1
- package/models/operations/createdataset.js +1 -1
- package/models/operations/createdatasetitem.js +5 -5
- package/models/operations/createdatasource.js +1 -1
- package/models/operations/createprompt.d.ts +12 -11
- package/models/operations/createprompt.d.ts.map +1 -1
- package/models/operations/createprompt.js +8 -0
- package/models/operations/createprompt.js.map +1 -1
- package/models/operations/createrouterresponse.d.ts +3 -3
- package/models/operations/createrouterresponse.d.ts.map +1 -1
- package/models/operations/createrouterresponse.js +2 -1
- package/models/operations/createrouterresponse.js.map +1 -1
- package/models/operations/createtool.js +6 -6
- package/models/operations/deploymentgetconfig.d.ts +2 -0
- package/models/operations/deploymentgetconfig.d.ts.map +1 -1
- package/models/operations/deploymentgetconfig.js +2 -0
- package/models/operations/deploymentgetconfig.js.map +1 -1
- package/models/operations/deploymentinvoke.d.ts +2 -0
- package/models/operations/deploymentinvoke.d.ts.map +1 -1
- package/models/operations/deploymentinvoke.js +2 -0
- package/models/operations/deploymentinvoke.js.map +1 -1
- package/models/operations/deployments.d.ts +4 -0
- package/models/operations/deployments.d.ts.map +1 -1
- package/models/operations/deployments.js +4 -0
- package/models/operations/deployments.js.map +1 -1
- package/models/operations/deploymentstream.d.ts +2 -0
- package/models/operations/deploymentstream.d.ts.map +1 -1
- package/models/operations/deploymentstream.js +2 -0
- package/models/operations/deploymentstream.js.map +1 -1
- package/models/operations/getallprompts.d.ts +7 -6
- package/models/operations/getallprompts.d.ts.map +1 -1
- package/models/operations/getallprompts.js +6 -0
- package/models/operations/getallprompts.js.map +1 -1
- package/models/operations/getalltools.js +6 -6
- package/models/operations/getoneprompt.d.ts +7 -6
- package/models/operations/getoneprompt.d.ts.map +1 -1
- package/models/operations/getoneprompt.js +6 -0
- package/models/operations/getoneprompt.js.map +1 -1
- package/models/operations/getpromptversion.d.ts +7 -6
- package/models/operations/getpromptversion.d.ts.map +1 -1
- package/models/operations/getpromptversion.js +6 -0
- package/models/operations/getpromptversion.js.map +1 -1
- package/models/operations/getv2humanevalsets.js +2 -2
- package/models/operations/getv2humanevalsetsid.js +2 -2
- package/models/operations/listagents.d.ts +6 -6
- package/models/operations/listagents.d.ts.map +1 -1
- package/models/operations/listagents.js +4 -0
- package/models/operations/listagents.js.map +1 -1
- package/models/operations/listdatasetdatapoints.js +5 -5
- package/models/operations/listdatasets.js +1 -1
- package/models/operations/listdatasources.js +1 -1
- package/models/operations/listpromptversions.d.ts +7 -6
- package/models/operations/listpromptversions.d.ts.map +1 -1
- package/models/operations/listpromptversions.js +6 -0
- package/models/operations/listpromptversions.js.map +1 -1
- package/models/operations/modelcreate.d.ts +2 -2
- package/models/operations/modelcreate.d.ts.map +1 -1
- package/models/operations/modelcreate.js +2 -2
- package/models/operations/modelcreate.js.map +1 -1
- package/models/operations/modelcreateawsbedrock.d.ts +2 -2
- package/models/operations/modelcreateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelcreateawsbedrock.js +2 -2
- package/models/operations/modelcreateawsbedrock.js.map +1 -1
- package/models/operations/modelcreateopenailike.d.ts +2 -2
- package/models/operations/modelcreateopenailike.d.ts.map +1 -1
- package/models/operations/modelcreateopenailike.js +2 -2
- package/models/operations/modelcreateopenailike.js.map +1 -1
- package/models/operations/modelcreatevertex.d.ts +2 -2
- package/models/operations/modelcreatevertex.d.ts.map +1 -1
- package/models/operations/modelcreatevertex.js +2 -2
- package/models/operations/modelcreatevertex.js.map +1 -1
- package/models/operations/modelupdate.d.ts +2 -2
- package/models/operations/modelupdate.d.ts.map +1 -1
- package/models/operations/modelupdate.js +2 -2
- package/models/operations/modelupdate.js.map +1 -1
- package/models/operations/modelupdateawsbedrock.d.ts +2 -2
- package/models/operations/modelupdateawsbedrock.d.ts.map +1 -1
- package/models/operations/modelupdateawsbedrock.js +2 -2
- package/models/operations/modelupdateawsbedrock.js.map +1 -1
- package/models/operations/modelupdateopenailike.d.ts +2 -2
- package/models/operations/modelupdateopenailike.d.ts.map +1 -1
- package/models/operations/modelupdateopenailike.js +2 -2
- package/models/operations/modelupdateopenailike.js.map +1 -1
- package/models/operations/patchv2humanevalsetsid.js +2 -2
- package/models/operations/postv2feedbackevaluation.js +4 -4
- package/models/operations/postv2humanevalsets.js +2 -2
- package/models/operations/retrieveagentrequest.d.ts +6 -6
- package/models/operations/retrieveagentrequest.d.ts.map +1 -1
- package/models/operations/retrieveagentrequest.js +4 -0
- package/models/operations/retrieveagentrequest.js.map +1 -1
- package/models/operations/retrievedatapoint.js +5 -5
- package/models/operations/retrievedataset.js +1 -1
- package/models/operations/retrievedatasource.js +1 -1
- package/models/operations/retrievetool.js +6 -6
- package/models/operations/runagent.d.ts +10 -10
- package/models/operations/runagent.d.ts.map +1 -1
- package/models/operations/runagent.js +5 -1
- package/models/operations/runagent.js.map +1 -1
- package/models/operations/streamrunagent.d.ts +10 -10
- package/models/operations/streamrunagent.d.ts.map +1 -1
- package/models/operations/streamrunagent.js +5 -1
- package/models/operations/streamrunagent.js.map +1 -1
- package/models/operations/updateagent.d.ts +16 -16
- package/models/operations/updateagent.d.ts.map +1 -1
- package/models/operations/updateagent.js +8 -0
- package/models/operations/updateagent.js.map +1 -1
- package/models/operations/updatedatapoint.js +5 -5
- package/models/operations/updatedataset.js +1 -1
- package/models/operations/updatedatasource.js +1 -1
- package/models/operations/updateprompt.d.ts +12 -11
- package/models/operations/updateprompt.d.ts.map +1 -1
- package/models/operations/updateprompt.js +8 -0
- package/models/operations/updateprompt.js.map +1 -1
- package/models/operations/updatetool.js +7 -7
- package/package.json +3 -3
- package/sdk/feedback.d.ts +4 -1
- package/sdk/feedback.d.ts.map +1 -1
- package/sdk/feedback.js +4 -1
- package/sdk/feedback.js.map +1 -1
- package/src/lib/config.ts +2 -2
- package/src/models/components/evaluatorresponsefunction.ts +2 -2
- package/src/models/components/evaluatorresponsehttp.ts +2 -2
- package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
- package/src/models/components/evaluatorresponsellm.ts +2 -2
- package/src/models/components/evaluatorresponsepython.ts +2 -2
- package/src/models/components/evaluatorresponseragas.ts +2 -2
- package/src/models/components/evaluatorresponsetypescript.ts +2 -2
- package/src/models/components/index.ts +2 -1
- package/src/models/components/modeldocument.ts +4 -4
- package/src/models/components/plugin.ts +7 -0
- package/src/models/components/publicplugin.ts +111 -0
- package/src/models/components/reasoning.ts +1 -0
- package/src/models/components/reasoningparam.ts +1 -0
- package/src/models/components/reasoningpart.ts +1 -1
- package/src/models/components/responsehealingplugin.ts +77 -0
- package/src/models/operations/createagentrequest.ts +30 -10
- package/src/models/operations/createchatcompletion.ts +9 -3
- package/src/models/operations/createdataset.ts +1 -1
- package/src/models/operations/createdatasetitem.ts +5 -5
- package/src/models/operations/createdatasource.ts +1 -1
- package/src/models/operations/createprompt.ts +19 -8
- package/src/models/operations/createrouterresponse.ts +5 -9
- package/src/models/operations/createtool.ts +6 -6
- package/src/models/operations/deploymentgetconfig.ts +2 -0
- package/src/models/operations/deploymentinvoke.ts +2 -0
- package/src/models/operations/deployments.ts +4 -0
- package/src/models/operations/deploymentstream.ts +2 -0
- package/src/models/operations/getallprompts.ts +10 -5
- package/src/models/operations/getalltools.ts +6 -6
- package/src/models/operations/getoneprompt.ts +10 -5
- package/src/models/operations/getpromptversion.ts +10 -5
- package/src/models/operations/getv2humanevalsets.ts +2 -2
- package/src/models/operations/getv2humanevalsetsid.ts +2 -2
- package/src/models/operations/listagents.ts +12 -4
- package/src/models/operations/listdatasetdatapoints.ts +5 -5
- package/src/models/operations/listdatasets.ts +1 -1
- package/src/models/operations/listdatasources.ts +1 -1
- package/src/models/operations/listpromptversions.ts +10 -5
- package/src/models/operations/modelcreate.ts +4 -4
- package/src/models/operations/modelcreateawsbedrock.ts +4 -4
- package/src/models/operations/modelcreateopenailike.ts +4 -4
- package/src/models/operations/modelcreatevertex.ts +4 -4
- package/src/models/operations/modelupdate.ts +4 -4
- package/src/models/operations/modelupdateawsbedrock.ts +4 -4
- package/src/models/operations/modelupdateopenailike.ts +4 -4
- package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
- package/src/models/operations/postv2feedbackevaluation.ts +4 -4
- package/src/models/operations/postv2humanevalsets.ts +2 -2
- package/src/models/operations/retrieveagentrequest.ts +12 -4
- package/src/models/operations/retrievedatapoint.ts +5 -5
- package/src/models/operations/retrievedataset.ts +1 -1
- package/src/models/operations/retrievedatasource.ts +1 -1
- package/src/models/operations/retrievetool.ts +6 -6
- package/src/models/operations/runagent.ts +19 -7
- package/src/models/operations/streamrunagent.ts +19 -7
- package/src/models/operations/updateagent.ts +30 -10
- package/src/models/operations/updatedatapoint.ts +5 -5
- package/src/models/operations/updatedataset.ts +1 -1
- package/src/models/operations/updatedatasource.ts +1 -1
- package/src/models/operations/updateprompt.ts +19 -8
- package/src/models/operations/updatetool.ts +7 -7
- package/src/sdk/feedback.ts +4 -1
- package/models/components/publicpiiredactionplugin.d.ts +0 -79
- package/models/components/publicpiiredactionplugin.d.ts.map +0 -1
- package/models/components/publicpiiredactionplugin.js.map +0 -1
- package/src/models/components/publicpiiredactionplugin.ts +0 -127
|
@@ -204,7 +204,8 @@ export type StreamRunAgentModelConfigurationGuardrails = {
|
|
|
204
204
|
export type StreamRunAgentModelConfigurationPlugins =
|
|
205
205
|
| components.PIIRedactionPluginEn
|
|
206
206
|
| components.PIIRedactionPluginNl
|
|
207
|
-
| components.PIIRedactionPluginAuto
|
|
207
|
+
| components.PIIRedactionPluginAuto
|
|
208
|
+
| components.ResponseHealingPlugin;
|
|
208
209
|
|
|
209
210
|
export type StreamRunAgentModelConfigurationFallbacks = {
|
|
210
211
|
/**
|
|
@@ -433,13 +434,14 @@ export type StreamRunAgentModelConfigurationParameters = {
|
|
|
433
434
|
*/
|
|
434
435
|
guardrails?: Array<StreamRunAgentModelConfigurationGuardrails> | undefined;
|
|
435
436
|
/**
|
|
436
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
437
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
437
438
|
*/
|
|
438
439
|
plugins?:
|
|
439
440
|
| Array<
|
|
440
441
|
| components.PIIRedactionPluginEn
|
|
441
442
|
| components.PIIRedactionPluginNl
|
|
442
443
|
| components.PIIRedactionPluginAuto
|
|
444
|
+
| components.ResponseHealingPlugin
|
|
443
445
|
>
|
|
444
446
|
| undefined;
|
|
445
447
|
/**
|
|
@@ -708,7 +710,8 @@ export type StreamRunAgentFallbackModelConfigurationGuardrails = {
|
|
|
708
710
|
export type StreamRunAgentFallbackModelConfigurationPlugins =
|
|
709
711
|
| components.PIIRedactionPluginEn
|
|
710
712
|
| components.PIIRedactionPluginNl
|
|
711
|
-
| components.PIIRedactionPluginAuto
|
|
713
|
+
| components.PIIRedactionPluginAuto
|
|
714
|
+
| components.ResponseHealingPlugin;
|
|
712
715
|
|
|
713
716
|
export type StreamRunAgentFallbackModelConfigurationFallbacks = {
|
|
714
717
|
/**
|
|
@@ -941,13 +944,14 @@ export type StreamRunAgentFallbackModelConfigurationParameters = {
|
|
|
941
944
|
| Array<StreamRunAgentFallbackModelConfigurationGuardrails>
|
|
942
945
|
| undefined;
|
|
943
946
|
/**
|
|
944
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
947
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
945
948
|
*/
|
|
946
949
|
plugins?:
|
|
947
950
|
| Array<
|
|
948
951
|
| components.PIIRedactionPluginEn
|
|
949
952
|
| components.PIIRedactionPluginNl
|
|
950
953
|
| components.PIIRedactionPluginAuto
|
|
954
|
+
| components.ResponseHealingPlugin
|
|
951
955
|
>
|
|
952
956
|
| undefined;
|
|
953
957
|
/**
|
|
@@ -2473,7 +2477,8 @@ export function streamRunAgentModelConfigurationGuardrailsToJSON(
|
|
|
2473
2477
|
export type StreamRunAgentModelConfigurationPlugins$Outbound =
|
|
2474
2478
|
| components.PIIRedactionPluginEn$Outbound
|
|
2475
2479
|
| components.PIIRedactionPluginNl$Outbound
|
|
2476
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2480
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
2481
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
2477
2482
|
|
|
2478
2483
|
/** @internal */
|
|
2479
2484
|
export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -2484,6 +2489,7 @@ export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
2484
2489
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2485
2490
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2486
2491
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2492
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2487
2493
|
]);
|
|
2488
2494
|
|
|
2489
2495
|
export function streamRunAgentModelConfigurationPluginsToJSON(
|
|
@@ -2740,6 +2746,7 @@ export type StreamRunAgentModelConfigurationParameters$Outbound = {
|
|
|
2740
2746
|
| components.PIIRedactionPluginEn$Outbound
|
|
2741
2747
|
| components.PIIRedactionPluginNl$Outbound
|
|
2742
2748
|
| components.PIIRedactionPluginAuto$Outbound
|
|
2749
|
+
| components.ResponseHealingPlugin$Outbound
|
|
2743
2750
|
>
|
|
2744
2751
|
| undefined;
|
|
2745
2752
|
fallbacks?:
|
|
@@ -2800,6 +2807,7 @@ export const StreamRunAgentModelConfigurationParameters$outboundSchema:
|
|
|
2800
2807
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2801
2808
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2802
2809
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2810
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2803
2811
|
]),
|
|
2804
2812
|
).optional(),
|
|
2805
2813
|
fallbacks: z.array(
|
|
@@ -3302,7 +3310,8 @@ export function streamRunAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3302
3310
|
export type StreamRunAgentFallbackModelConfigurationPlugins$Outbound =
|
|
3303
3311
|
| components.PIIRedactionPluginEn$Outbound
|
|
3304
3312
|
| components.PIIRedactionPluginNl$Outbound
|
|
3305
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3313
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3314
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3306
3315
|
|
|
3307
3316
|
/** @internal */
|
|
3308
3317
|
export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
@@ -3314,6 +3323,7 @@ export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
|
3314
3323
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3315
3324
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3316
3325
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3326
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3317
3327
|
]);
|
|
3318
3328
|
|
|
3319
3329
|
export function streamRunAgentFallbackModelConfigurationPluginsToJSON(
|
|
@@ -3575,6 +3585,7 @@ export type StreamRunAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
3575
3585
|
| components.PIIRedactionPluginEn$Outbound
|
|
3576
3586
|
| components.PIIRedactionPluginNl$Outbound
|
|
3577
3587
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3588
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3578
3589
|
>
|
|
3579
3590
|
| undefined;
|
|
3580
3591
|
fallbacks?:
|
|
@@ -3644,6 +3655,7 @@ export const StreamRunAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3644
3655
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3645
3656
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3646
3657
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3658
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3647
3659
|
]),
|
|
3648
3660
|
).optional(),
|
|
3649
3661
|
fallbacks: z.array(
|
|
@@ -4144,7 +4156,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
|
|
|
4144
4156
|
z.ZodTypeDef,
|
|
4145
4157
|
AgentToolInputRunTools
|
|
4146
4158
|
> = z.object({
|
|
4147
|
-
id: z.string().default("
|
|
4159
|
+
id: z.string().default("01KYKESHCJAFHYHA7KJXMTWA0D"),
|
|
4148
4160
|
name: z.string(),
|
|
4149
4161
|
description: z.string().optional(),
|
|
4150
4162
|
schema: z.lazy(() =>
|
|
@@ -202,7 +202,8 @@ export type ModelConfigurationGuardrails = {
|
|
|
202
202
|
export type ModelConfigurationPlugins =
|
|
203
203
|
| components.PIIRedactionPluginEn
|
|
204
204
|
| components.PIIRedactionPluginNl
|
|
205
|
-
| components.PIIRedactionPluginAuto
|
|
205
|
+
| components.PIIRedactionPluginAuto
|
|
206
|
+
| components.ResponseHealingPlugin;
|
|
206
207
|
|
|
207
208
|
export type UpdateAgentModelConfigurationFallbacks = {
|
|
208
209
|
/**
|
|
@@ -424,13 +425,14 @@ export type ModelConfigurationParameters = {
|
|
|
424
425
|
*/
|
|
425
426
|
guardrails?: Array<ModelConfigurationGuardrails> | undefined;
|
|
426
427
|
/**
|
|
427
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
428
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
428
429
|
*/
|
|
429
430
|
plugins?:
|
|
430
431
|
| Array<
|
|
431
432
|
| components.PIIRedactionPluginEn
|
|
432
433
|
| components.PIIRedactionPluginNl
|
|
433
434
|
| components.PIIRedactionPluginAuto
|
|
435
|
+
| components.ResponseHealingPlugin
|
|
434
436
|
>
|
|
435
437
|
| undefined;
|
|
436
438
|
/**
|
|
@@ -696,7 +698,8 @@ export type UpdateAgentFallbackModelConfigurationGuardrails = {
|
|
|
696
698
|
export type UpdateAgentFallbackModelConfigurationPlugins =
|
|
697
699
|
| components.PIIRedactionPluginEn
|
|
698
700
|
| components.PIIRedactionPluginNl
|
|
699
|
-
| components.PIIRedactionPluginAuto
|
|
701
|
+
| components.PIIRedactionPluginAuto
|
|
702
|
+
| components.ResponseHealingPlugin;
|
|
700
703
|
|
|
701
704
|
export type UpdateAgentFallbackModelConfigurationFallbacks = {
|
|
702
705
|
/**
|
|
@@ -929,13 +932,14 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
|
|
|
929
932
|
| Array<UpdateAgentFallbackModelConfigurationGuardrails>
|
|
930
933
|
| undefined;
|
|
931
934
|
/**
|
|
932
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
935
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
933
936
|
*/
|
|
934
937
|
plugins?:
|
|
935
938
|
| Array<
|
|
936
939
|
| components.PIIRedactionPluginEn
|
|
937
940
|
| components.PIIRedactionPluginNl
|
|
938
941
|
| components.PIIRedactionPluginAuto
|
|
942
|
+
| components.ResponseHealingPlugin
|
|
939
943
|
>
|
|
940
944
|
| undefined;
|
|
941
945
|
/**
|
|
@@ -1608,7 +1612,8 @@ export type UpdateAgentAgentsResponseGuardrails = {
|
|
|
1608
1612
|
export type UpdateAgentPlugins =
|
|
1609
1613
|
| components.PIIRedactionPluginEn
|
|
1610
1614
|
| components.PIIRedactionPluginNl
|
|
1611
|
-
| components.PIIRedactionPluginAuto
|
|
1615
|
+
| components.PIIRedactionPluginAuto
|
|
1616
|
+
| components.ResponseHealingPlugin;
|
|
1612
1617
|
|
|
1613
1618
|
export type UpdateAgentFallbacks = {
|
|
1614
1619
|
/**
|
|
@@ -1829,13 +1834,14 @@ export type UpdateAgentParameters = {
|
|
|
1829
1834
|
*/
|
|
1830
1835
|
guardrails?: Array<UpdateAgentAgentsResponseGuardrails> | undefined;
|
|
1831
1836
|
/**
|
|
1832
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
1837
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
1833
1838
|
*/
|
|
1834
1839
|
plugins?:
|
|
1835
1840
|
| Array<
|
|
1836
1841
|
| components.PIIRedactionPluginEn
|
|
1837
1842
|
| components.PIIRedactionPluginNl
|
|
1838
1843
|
| components.PIIRedactionPluginAuto
|
|
1844
|
+
| components.ResponseHealingPlugin
|
|
1839
1845
|
>
|
|
1840
1846
|
| undefined;
|
|
1841
1847
|
/**
|
|
@@ -2080,7 +2086,8 @@ export type UpdateAgentFallbackModelConfigurationAgentsGuardrails = {
|
|
|
2080
2086
|
export type UpdateAgentFallbackModelConfigurationAgentsPlugins =
|
|
2081
2087
|
| components.PIIRedactionPluginEn
|
|
2082
2088
|
| components.PIIRedactionPluginNl
|
|
2083
|
-
| components.PIIRedactionPluginAuto
|
|
2089
|
+
| components.PIIRedactionPluginAuto
|
|
2090
|
+
| components.ResponseHealingPlugin;
|
|
2084
2091
|
|
|
2085
2092
|
export type UpdateAgentFallbackModelConfigurationAgentsFallbacks = {
|
|
2086
2093
|
/**
|
|
@@ -2311,13 +2318,14 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
|
|
|
2311
2318
|
| Array<UpdateAgentFallbackModelConfigurationAgentsGuardrails>
|
|
2312
2319
|
| undefined;
|
|
2313
2320
|
/**
|
|
2314
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
2321
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
2315
2322
|
*/
|
|
2316
2323
|
plugins?:
|
|
2317
2324
|
| Array<
|
|
2318
2325
|
| components.PIIRedactionPluginEn
|
|
2319
2326
|
| components.PIIRedactionPluginNl
|
|
2320
2327
|
| components.PIIRedactionPluginAuto
|
|
2328
|
+
| components.ResponseHealingPlugin
|
|
2321
2329
|
>
|
|
2322
2330
|
| undefined;
|
|
2323
2331
|
/**
|
|
@@ -2822,7 +2830,8 @@ export function modelConfigurationGuardrailsToJSON(
|
|
|
2822
2830
|
export type ModelConfigurationPlugins$Outbound =
|
|
2823
2831
|
| components.PIIRedactionPluginEn$Outbound
|
|
2824
2832
|
| components.PIIRedactionPluginNl$Outbound
|
|
2825
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
2833
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
2834
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
2826
2835
|
|
|
2827
2836
|
/** @internal */
|
|
2828
2837
|
export const ModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
@@ -2833,6 +2842,7 @@ export const ModelConfigurationPlugins$outboundSchema: z.ZodType<
|
|
|
2833
2842
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
2834
2843
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
2835
2844
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
2845
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
2836
2846
|
]);
|
|
2837
2847
|
|
|
2838
2848
|
export function modelConfigurationPluginsToJSON(
|
|
@@ -3070,6 +3080,7 @@ export type ModelConfigurationParameters$Outbound = {
|
|
|
3070
3080
|
| components.PIIRedactionPluginEn$Outbound
|
|
3071
3081
|
| components.PIIRedactionPluginNl$Outbound
|
|
3072
3082
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3083
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3073
3084
|
>
|
|
3074
3085
|
| undefined;
|
|
3075
3086
|
fallbacks?:
|
|
@@ -3126,6 +3137,7 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
|
|
|
3126
3137
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3127
3138
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3128
3139
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3140
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3129
3141
|
]),
|
|
3130
3142
|
).optional(),
|
|
3131
3143
|
fallbacks: z.array(
|
|
@@ -3617,7 +3629,8 @@ export function updateAgentFallbackModelConfigurationGuardrailsToJSON(
|
|
|
3617
3629
|
export type UpdateAgentFallbackModelConfigurationPlugins$Outbound =
|
|
3618
3630
|
| components.PIIRedactionPluginEn$Outbound
|
|
3619
3631
|
| components.PIIRedactionPluginNl$Outbound
|
|
3620
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3632
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3633
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3621
3634
|
|
|
3622
3635
|
/** @internal */
|
|
3623
3636
|
export const UpdateAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
@@ -3629,6 +3642,7 @@ export const UpdateAgentFallbackModelConfigurationPlugins$outboundSchema:
|
|
|
3629
3642
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3630
3643
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3631
3644
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3645
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3632
3646
|
]);
|
|
3633
3647
|
|
|
3634
3648
|
export function updateAgentFallbackModelConfigurationPluginsToJSON(
|
|
@@ -3886,6 +3900,7 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
|
|
|
3886
3900
|
| components.PIIRedactionPluginEn$Outbound
|
|
3887
3901
|
| components.PIIRedactionPluginNl$Outbound
|
|
3888
3902
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3903
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3889
3904
|
>
|
|
3890
3905
|
| undefined;
|
|
3891
3906
|
fallbacks?:
|
|
@@ -3951,6 +3966,7 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
|
|
|
3951
3966
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3952
3967
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3953
3968
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3969
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3954
3970
|
]),
|
|
3955
3971
|
).optional(),
|
|
3956
3972
|
fallbacks: z.array(
|
|
@@ -4960,6 +4976,7 @@ export const UpdateAgentPlugins$inboundSchema: z.ZodType<
|
|
|
4960
4976
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
4961
4977
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
4962
4978
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
4979
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
4963
4980
|
]);
|
|
4964
4981
|
|
|
4965
4982
|
export function updateAgentPluginsFromJSON(
|
|
@@ -5188,6 +5205,7 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
|
|
|
5188
5205
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5189
5206
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5190
5207
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5208
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5191
5209
|
]),
|
|
5192
5210
|
).optional(),
|
|
5193
5211
|
fallbacks: z.array(z.lazy(() => UpdateAgentFallbacks$inboundSchema))
|
|
@@ -5625,6 +5643,7 @@ export const UpdateAgentFallbackModelConfigurationAgentsPlugins$inboundSchema:
|
|
|
5625
5643
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5626
5644
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5627
5645
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5646
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5628
5647
|
]);
|
|
5629
5648
|
|
|
5630
5649
|
export function updateAgentFallbackModelConfigurationAgentsPluginsFromJSON(
|
|
@@ -5912,6 +5931,7 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
|
|
|
5912
5931
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5913
5932
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5914
5933
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5934
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5915
5935
|
]),
|
|
5916
5936
|
).optional(),
|
|
5917
5937
|
fallbacks: z.array(
|
|
@@ -2747,7 +2747,7 @@ export const UpdateDatapointEvaluations4$inboundSchema: z.ZodType<
|
|
|
2747
2747
|
explanation: z.string().optional(),
|
|
2748
2748
|
reviewed_by_id: z.string(),
|
|
2749
2749
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2750
|
-
"2026-07-
|
|
2750
|
+
"2026-07-28T04:12:43.292Z",
|
|
2751
2751
|
).transform(v => new Date(v)),
|
|
2752
2752
|
type: z.literal("string_array"),
|
|
2753
2753
|
values: z.array(z.string()),
|
|
@@ -2847,7 +2847,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
|
|
|
2847
2847
|
explanation: z.string().optional(),
|
|
2848
2848
|
reviewed_by_id: z.string(),
|
|
2849
2849
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2850
|
-
"2026-07-
|
|
2850
|
+
"2026-07-28T04:12:43.291Z",
|
|
2851
2851
|
).transform(v => new Date(v)),
|
|
2852
2852
|
type: z.literal("boolean"),
|
|
2853
2853
|
value: z.boolean(),
|
|
@@ -2944,7 +2944,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
|
|
|
2944
2944
|
explanation: z.string().optional(),
|
|
2945
2945
|
reviewed_by_id: z.string(),
|
|
2946
2946
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
2947
|
-
"2026-07-
|
|
2947
|
+
"2026-07-28T04:12:43.290Z",
|
|
2948
2948
|
).transform(v => new Date(v)),
|
|
2949
2949
|
type: z.literal("number"),
|
|
2950
2950
|
value: z.number(),
|
|
@@ -3033,7 +3033,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
|
|
|
3033
3033
|
explanation: z.string().optional(),
|
|
3034
3034
|
reviewed_by_id: z.string(),
|
|
3035
3035
|
reviewed_at: z.string().datetime({ offset: true }).default(
|
|
3036
|
-
"2026-07-
|
|
3036
|
+
"2026-07-28T04:12:43.288Z",
|
|
3037
3037
|
).transform(v => new Date(v)),
|
|
3038
3038
|
type: z.literal("string"),
|
|
3039
3039
|
value: z.string(),
|
|
@@ -3118,7 +3118,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
|
|
|
3118
3118
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
3119
3119
|
.optional(),
|
|
3120
3120
|
updated: z.string().datetime({ offset: true }).default(
|
|
3121
|
-
"2026-07-
|
|
3121
|
+
"2026-07-28T04:12:12.098Z",
|
|
3122
3122
|
).transform(v => new Date(v)),
|
|
3123
3123
|
}).transform((v) => {
|
|
3124
3124
|
return remap$(v, {
|
|
@@ -182,7 +182,7 @@ export const UpdateDatasetResponseBody$inboundSchema: z.ZodType<
|
|
|
182
182
|
created: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
183
183
|
.optional(),
|
|
184
184
|
updated: z.string().datetime({ offset: true }).default(
|
|
185
|
-
"2026-07-
|
|
185
|
+
"2026-07-28T04:12:12.098Z",
|
|
186
186
|
).transform(v => new Date(v)),
|
|
187
187
|
}).transform((v) => {
|
|
188
188
|
return remap$(v, {
|
|
@@ -221,7 +221,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
|
|
|
221
221
|
z.ZodTypeDef,
|
|
222
222
|
unknown
|
|
223
223
|
> = z.object({
|
|
224
|
-
_id: z.string().default("
|
|
224
|
+
_id: z.string().default("01KYKESHR2PM9PR2MYAS523RAA"),
|
|
225
225
|
display_name: z.string(),
|
|
226
226
|
description: z.nullable(z.string()).optional(),
|
|
227
227
|
status: UpdateDatasourceStatus$inboundSchema,
|
|
@@ -584,7 +584,8 @@ export type UpdatePromptGuardrails = {
|
|
|
584
584
|
export type UpdatePromptPlugins =
|
|
585
585
|
| components.PIIRedactionPluginEn
|
|
586
586
|
| components.PIIRedactionPluginNl
|
|
587
|
-
| components.PIIRedactionPluginAuto
|
|
587
|
+
| components.PIIRedactionPluginAuto
|
|
588
|
+
| components.ResponseHealingPlugin;
|
|
588
589
|
|
|
589
590
|
export type UpdatePromptFallbacks = {
|
|
590
591
|
/**
|
|
@@ -851,13 +852,14 @@ export type UpdatePromptPromptInput = {
|
|
|
851
852
|
*/
|
|
852
853
|
guardrails?: Array<UpdatePromptGuardrails> | undefined;
|
|
853
854
|
/**
|
|
854
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
855
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
855
856
|
*/
|
|
856
857
|
plugins?:
|
|
857
858
|
| Array<
|
|
858
859
|
| components.PIIRedactionPluginEn
|
|
859
860
|
| components.PIIRedactionPluginNl
|
|
860
861
|
| components.PIIRedactionPluginAuto
|
|
862
|
+
| components.ResponseHealingPlugin
|
|
861
863
|
>
|
|
862
864
|
| undefined;
|
|
863
865
|
/**
|
|
@@ -1232,6 +1234,8 @@ export const UpdatePromptPromptsResponseReasoningEffort = {
|
|
|
1232
1234
|
Low: "low",
|
|
1233
1235
|
Medium: "medium",
|
|
1234
1236
|
High: "high",
|
|
1237
|
+
Xhigh: "xhigh",
|
|
1238
|
+
Max: "max",
|
|
1235
1239
|
} as const;
|
|
1236
1240
|
/**
|
|
1237
1241
|
* Constrains effort on reasoning for reasoning models. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
|
|
@@ -1407,6 +1411,8 @@ export const UpdatePromptProvider = {
|
|
|
1407
1411
|
Poolside: "poolside",
|
|
1408
1412
|
Tencent: "tencent",
|
|
1409
1413
|
Nebius: "nebius",
|
|
1414
|
+
Fireworks: "fireworks",
|
|
1415
|
+
Baseten: "baseten",
|
|
1410
1416
|
Reson8: "reson8",
|
|
1411
1417
|
Slack: "slack",
|
|
1412
1418
|
Orq: "orq",
|
|
@@ -1551,9 +1557,6 @@ export type UpdatePromptPromptsMessages = {
|
|
|
1551
1557
|
export type UpdatePromptPromptConfig = {
|
|
1552
1558
|
stream?: boolean | undefined;
|
|
1553
1559
|
model?: string | null | undefined;
|
|
1554
|
-
/**
|
|
1555
|
-
* The id of the resource
|
|
1556
|
-
*/
|
|
1557
1560
|
modelDbId?: string | null | undefined;
|
|
1558
1561
|
/**
|
|
1559
1562
|
* The modality of the model
|
|
@@ -1825,7 +1828,8 @@ export type UpdatePromptPromptsGuardrails = {
|
|
|
1825
1828
|
export type UpdatePromptPromptsPlugins =
|
|
1826
1829
|
| components.PIIRedactionPluginEn
|
|
1827
1830
|
| components.PIIRedactionPluginNl
|
|
1828
|
-
| components.PIIRedactionPluginAuto
|
|
1831
|
+
| components.PIIRedactionPluginAuto
|
|
1832
|
+
| components.ResponseHealingPlugin;
|
|
1829
1833
|
|
|
1830
1834
|
export type UpdatePromptPromptsFallbacks = {
|
|
1831
1835
|
/**
|
|
@@ -2415,13 +2419,14 @@ export type UpdatePromptPromptField = {
|
|
|
2415
2419
|
*/
|
|
2416
2420
|
guardrails?: Array<UpdatePromptPromptsGuardrails> | undefined;
|
|
2417
2421
|
/**
|
|
2418
|
-
* Request-scoped transforms applied to the text exchanged with the model.
|
|
2422
|
+
* Request-scoped transforms applied to the text exchanged with the model. Supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response, and `response_healing`, which repairs malformed JSON in non-streaming output.
|
|
2419
2423
|
*/
|
|
2420
2424
|
plugins?:
|
|
2421
2425
|
| Array<
|
|
2422
2426
|
| components.PIIRedactionPluginEn
|
|
2423
2427
|
| components.PIIRedactionPluginNl
|
|
2424
2428
|
| components.PIIRedactionPluginAuto
|
|
2429
|
+
| components.ResponseHealingPlugin
|
|
2425
2430
|
>
|
|
2426
2431
|
| undefined;
|
|
2427
2432
|
/**
|
|
@@ -3550,7 +3555,8 @@ export function updatePromptGuardrailsToJSON(
|
|
|
3550
3555
|
export type UpdatePromptPlugins$Outbound =
|
|
3551
3556
|
| components.PIIRedactionPluginEn$Outbound
|
|
3552
3557
|
| components.PIIRedactionPluginNl$Outbound
|
|
3553
|
-
| components.PIIRedactionPluginAuto$Outbound
|
|
3558
|
+
| components.PIIRedactionPluginAuto$Outbound
|
|
3559
|
+
| components.ResponseHealingPlugin$Outbound;
|
|
3554
3560
|
|
|
3555
3561
|
/** @internal */
|
|
3556
3562
|
export const UpdatePromptPlugins$outboundSchema: z.ZodType<
|
|
@@ -3561,6 +3567,7 @@ export const UpdatePromptPlugins$outboundSchema: z.ZodType<
|
|
|
3561
3567
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3562
3568
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3563
3569
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3570
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3564
3571
|
]);
|
|
3565
3572
|
|
|
3566
3573
|
export function updatePromptPluginsToJSON(
|
|
@@ -3831,6 +3838,7 @@ export type UpdatePromptPromptInput$Outbound = {
|
|
|
3831
3838
|
| components.PIIRedactionPluginEn$Outbound
|
|
3832
3839
|
| components.PIIRedactionPluginNl$Outbound
|
|
3833
3840
|
| components.PIIRedactionPluginAuto$Outbound
|
|
3841
|
+
| components.ResponseHealingPlugin$Outbound
|
|
3834
3842
|
>
|
|
3835
3843
|
| undefined;
|
|
3836
3844
|
fallbacks?: Array<UpdatePromptFallbacks$Outbound> | undefined;
|
|
@@ -3900,6 +3908,7 @@ export const UpdatePromptPromptInput$outboundSchema: z.ZodType<
|
|
|
3900
3908
|
components.PIIRedactionPluginEn$outboundSchema,
|
|
3901
3909
|
components.PIIRedactionPluginNl$outboundSchema,
|
|
3902
3910
|
components.PIIRedactionPluginAuto$outboundSchema,
|
|
3911
|
+
components.ResponseHealingPlugin$outboundSchema,
|
|
3903
3912
|
]),
|
|
3904
3913
|
).optional(),
|
|
3905
3914
|
fallbacks: z.array(z.lazy(() => UpdatePromptFallbacks$outboundSchema))
|
|
@@ -5010,6 +5019,7 @@ export const UpdatePromptPromptsPlugins$inboundSchema: z.ZodType<
|
|
|
5010
5019
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5011
5020
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5012
5021
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5022
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5013
5023
|
]);
|
|
5014
5024
|
|
|
5015
5025
|
export function updatePromptPromptsPluginsFromJSON(
|
|
@@ -5801,6 +5811,7 @@ export const UpdatePromptPromptField$inboundSchema: z.ZodType<
|
|
|
5801
5811
|
components.PIIRedactionPluginEn$inboundSchema,
|
|
5802
5812
|
components.PIIRedactionPluginNl$inboundSchema,
|
|
5803
5813
|
components.PIIRedactionPluginAuto$inboundSchema,
|
|
5814
|
+
components.ResponseHealingPlugin$inboundSchema,
|
|
5804
5815
|
]),
|
|
5805
5816
|
).optional(),
|
|
5806
5817
|
fallbacks: z.array(z.lazy(() => UpdatePromptPromptsFallbacks$inboundSchema))
|
|
@@ -1480,7 +1480,7 @@ export const RequestBodyTools$outboundSchema: z.ZodType<
|
|
|
1480
1480
|
z.ZodTypeDef,
|
|
1481
1481
|
RequestBodyTools
|
|
1482
1482
|
> = z.object({
|
|
1483
|
-
id: z.string().default("
|
|
1483
|
+
id: z.string().default("01KYKESHK7XYPQHY81MVHKEJRW"),
|
|
1484
1484
|
name: z.string(),
|
|
1485
1485
|
description: z.string().optional(),
|
|
1486
1486
|
schema: z.lazy(() => UpdateToolRequestBodyToolsSchema$outboundSchema),
|
|
@@ -2203,7 +2203,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
|
|
|
2203
2203
|
z.ZodTypeDef,
|
|
2204
2204
|
unknown
|
|
2205
2205
|
> = z.object({
|
|
2206
|
-
_id: z.string().default("
|
|
2206
|
+
_id: z.string().default("tool_01KYKESHJZ5KBDS104ZZJDV3RQ"),
|
|
2207
2207
|
path: z.string(),
|
|
2208
2208
|
key: z.string(),
|
|
2209
2209
|
display_name: z.string().optional(),
|
|
@@ -2306,7 +2306,7 @@ export const UpdateToolResponseBodyTools$inboundSchema: z.ZodType<
|
|
|
2306
2306
|
z.ZodTypeDef,
|
|
2307
2307
|
unknown
|
|
2308
2308
|
> = z.object({
|
|
2309
|
-
id: z.string().default("
|
|
2309
|
+
id: z.string().default("01KYKESHJYC1CYJ6Y5HESWM6GF"),
|
|
2310
2310
|
name: z.string(),
|
|
2311
2311
|
description: z.string().optional(),
|
|
2312
2312
|
schema: z.lazy(() => UpdateToolResponseBodyToolsSchema$inboundSchema),
|
|
@@ -2364,7 +2364,7 @@ export const UpdateToolResponseBodyMCPTool$inboundSchema: z.ZodType<
|
|
|
2364
2364
|
z.ZodTypeDef,
|
|
2365
2365
|
unknown
|
|
2366
2366
|
> = z.object({
|
|
2367
|
-
_id: z.string().default("
|
|
2367
|
+
_id: z.string().default("tool_01KYKESHJXPNQ7PXK0EJPZS68D"),
|
|
2368
2368
|
path: z.string(),
|
|
2369
2369
|
key: z.string(),
|
|
2370
2370
|
display_name: z.string().optional(),
|
|
@@ -2554,7 +2554,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
|
|
|
2554
2554
|
z.ZodTypeDef,
|
|
2555
2555
|
unknown
|
|
2556
2556
|
> = z.object({
|
|
2557
|
-
_id: z.string().default("
|
|
2557
|
+
_id: z.string().default("tool_01KYKESHJTRXB2TV9PE6Y9YK52"),
|
|
2558
2558
|
path: z.string(),
|
|
2559
2559
|
key: z.string(),
|
|
2560
2560
|
display_name: z.string().optional(),
|
|
@@ -2649,7 +2649,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
|
|
|
2649
2649
|
z.ZodTypeDef,
|
|
2650
2650
|
unknown
|
|
2651
2651
|
> = z.object({
|
|
2652
|
-
_id: z.string().default("
|
|
2652
|
+
_id: z.string().default("tool_01KYKESHJQBFMZZNCRMV0RWHCD"),
|
|
2653
2653
|
path: z.string(),
|
|
2654
2654
|
key: z.string(),
|
|
2655
2655
|
display_name: z.string().optional(),
|
|
@@ -2752,7 +2752,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
|
|
|
2752
2752
|
z.ZodTypeDef,
|
|
2753
2753
|
unknown
|
|
2754
2754
|
> = z.object({
|
|
2755
|
-
_id: z.string().default("
|
|
2755
|
+
_id: z.string().default("tool_01KYKESHJNF27RYSPJ6MPJK4PG"),
|
|
2756
2756
|
path: z.string(),
|
|
2757
2757
|
key: z.string(),
|
|
2758
2758
|
display_name: z.string().optional(),
|
package/src/sdk/feedback.ts
CHANGED
|
@@ -45,7 +45,10 @@ export class Feedback extends ClientSDK {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create a
|
|
48
|
+
* Create a new skill
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* Creates a reusable skill in the workspace. Skills store instructions, metadata, and an optional project location so teams can standardize repeatable AI workflows.
|
|
49
52
|
*/
|
|
50
53
|
async create(
|
|
51
54
|
request?: operations.PostV2FeedbackRequestBody | undefined,
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import * as z from "zod/v3";
|
|
2
|
-
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
-
/**
|
|
4
|
-
* Plugin discriminator. Must be pii_redaction.
|
|
5
|
-
*/
|
|
6
|
-
export declare const PublicPIIRedactionPluginId: {
|
|
7
|
-
readonly PiiRedaction: "pii_redaction";
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Plugin discriminator. Must be pii_redaction.
|
|
11
|
-
*/
|
|
12
|
-
export type PublicPIIRedactionPluginId = ClosedEnum<typeof PublicPIIRedactionPluginId>;
|
|
13
|
-
/**
|
|
14
|
-
* Detector language. Defaults to en.
|
|
15
|
-
*/
|
|
16
|
-
export declare const PublicPIIRedactionPluginLanguage: {
|
|
17
|
-
readonly En: "en";
|
|
18
|
-
readonly Nl: "nl";
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* Detector language. Defaults to en.
|
|
22
|
-
*/
|
|
23
|
-
export type PublicPIIRedactionPluginLanguage = ClosedEnum<typeof PublicPIIRedactionPluginLanguage>;
|
|
24
|
-
/**
|
|
25
|
-
* Behavior when redaction is unavailable. block (default) fails the request; passthrough sends the original text.
|
|
26
|
-
*/
|
|
27
|
-
export declare const PublicPIIRedactionPluginOnFailure: {
|
|
28
|
-
readonly Block: "block";
|
|
29
|
-
readonly Passthrough: "passthrough";
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Behavior when redaction is unavailable. block (default) fails the request; passthrough sends the original text.
|
|
33
|
-
*/
|
|
34
|
-
export type PublicPIIRedactionPluginOnFailure = ClosedEnum<typeof PublicPIIRedactionPluginOnFailure>;
|
|
35
|
-
export type PublicPIIRedactionPlugin = {
|
|
36
|
-
/**
|
|
37
|
-
* Entity types to redact (e.g. EMAIL_ADDRESS, BSN). Omit to redact every type detected for the language.
|
|
38
|
-
*/
|
|
39
|
-
entities?: Array<string> | null | undefined;
|
|
40
|
-
/**
|
|
41
|
-
* Plugin discriminator. Must be pii_redaction.
|
|
42
|
-
*/
|
|
43
|
-
id: PublicPIIRedactionPluginId;
|
|
44
|
-
/**
|
|
45
|
-
* Detector language. Defaults to en.
|
|
46
|
-
*/
|
|
47
|
-
language?: PublicPIIRedactionPluginLanguage | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* Behavior when redaction is unavailable. block (default) fails the request; passthrough sends the original text.
|
|
50
|
-
*/
|
|
51
|
-
onFailure?: PublicPIIRedactionPluginOnFailure | undefined;
|
|
52
|
-
/**
|
|
53
|
-
* Store the redacted (placeholder) form in traces rather than the restored original. Defaults to true.
|
|
54
|
-
*/
|
|
55
|
-
persistRedactedToTraces?: boolean | undefined;
|
|
56
|
-
/**
|
|
57
|
-
* Detector confidence cutoff in [0,1].
|
|
58
|
-
*/
|
|
59
|
-
threshold?: number | undefined;
|
|
60
|
-
};
|
|
61
|
-
/** @internal */
|
|
62
|
-
export declare const PublicPIIRedactionPluginId$outboundSchema: z.ZodNativeEnum<typeof PublicPIIRedactionPluginId>;
|
|
63
|
-
/** @internal */
|
|
64
|
-
export declare const PublicPIIRedactionPluginLanguage$outboundSchema: z.ZodNativeEnum<typeof PublicPIIRedactionPluginLanguage>;
|
|
65
|
-
/** @internal */
|
|
66
|
-
export declare const PublicPIIRedactionPluginOnFailure$outboundSchema: z.ZodNativeEnum<typeof PublicPIIRedactionPluginOnFailure>;
|
|
67
|
-
/** @internal */
|
|
68
|
-
export type PublicPIIRedactionPlugin$Outbound = {
|
|
69
|
-
entities?: Array<string> | null | undefined;
|
|
70
|
-
id: string;
|
|
71
|
-
language?: string | undefined;
|
|
72
|
-
on_failure?: string | undefined;
|
|
73
|
-
persist_redacted_to_traces?: boolean | undefined;
|
|
74
|
-
threshold?: number | undefined;
|
|
75
|
-
};
|
|
76
|
-
/** @internal */
|
|
77
|
-
export declare const PublicPIIRedactionPlugin$outboundSchema: z.ZodType<PublicPIIRedactionPlugin$Outbound, z.ZodTypeDef, PublicPIIRedactionPlugin>;
|
|
78
|
-
export declare function publicPIIRedactionPluginToJSON(publicPIIRedactionPlugin: PublicPIIRedactionPlugin): string;
|
|
79
|
-
//# sourceMappingURL=publicpiiredactionplugin.d.ts.map
|