@orq-ai/node 4.11.0-rc.53 → 4.11.0-rc.55

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.
Files changed (238) hide show
  1. package/jsr.json +1 -1
  2. package/lib/config.d.ts +2 -2
  3. package/lib/config.js +2 -2
  4. package/models/components/createskillrequest.d.ts +6 -6
  5. package/models/components/createskillrequest.d.ts.map +1 -1
  6. package/models/components/createskillrequest.js +6 -7
  7. package/models/components/createskillrequest.js.map +1 -1
  8. package/models/components/evaluatorresponsefunction.d.ts +270 -0
  9. package/models/components/evaluatorresponsefunction.d.ts.map +1 -0
  10. package/models/components/evaluatorresponsefunction.js +491 -0
  11. package/models/components/evaluatorresponsefunction.js.map +1 -0
  12. package/models/components/evaluatorresponsehttp.d.ts +76 -0
  13. package/models/components/evaluatorresponsehttp.d.ts.map +1 -0
  14. package/models/components/evaluatorresponsehttp.js +146 -0
  15. package/models/components/evaluatorresponsehttp.js.map +1 -0
  16. package/models/components/evaluatorresponsejsonschema.d.ts +62 -0
  17. package/models/components/evaluatorresponsejsonschema.d.ts.map +1 -0
  18. package/models/components/evaluatorresponsejsonschema.js +135 -0
  19. package/models/components/evaluatorresponsejsonschema.js.map +1 -0
  20. package/models/components/evaluatorresponsellm.d.ts +140 -0
  21. package/models/components/evaluatorresponsellm.d.ts.map +1 -0
  22. package/models/components/evaluatorresponsellm.js +250 -0
  23. package/models/components/evaluatorresponsellm.js.map +1 -0
  24. package/models/components/evaluatorresponsepython.d.ts +62 -0
  25. package/models/components/evaluatorresponsepython.d.ts.map +1 -0
  26. package/models/components/evaluatorresponsepython.js +136 -0
  27. package/models/components/evaluatorresponsepython.js.map +1 -0
  28. package/models/components/evaluatorresponseragas.d.ts +80 -0
  29. package/models/components/evaluatorresponseragas.d.ts.map +1 -0
  30. package/models/components/evaluatorresponseragas.js +155 -0
  31. package/models/components/evaluatorresponseragas.js.map +1 -0
  32. package/models/components/evaluatorresponsetypescript.d.ts +62 -0
  33. package/models/components/evaluatorresponsetypescript.d.ts.map +1 -0
  34. package/models/components/evaluatorresponsetypescript.js +136 -0
  35. package/models/components/evaluatorresponsetypescript.js.map +1 -0
  36. package/models/components/index.d.ts +8 -0
  37. package/models/components/index.d.ts.map +1 -1
  38. package/models/components/index.js +8 -0
  39. package/models/components/index.js.map +1 -1
  40. package/models/components/invokedeploymentrequest.d.ts +36 -36
  41. package/models/components/invokedeploymentrequest.d.ts.map +1 -1
  42. package/models/components/invokedeploymentrequest.js +33 -34
  43. package/models/components/invokedeploymentrequest.js.map +1 -1
  44. package/models/components/modelsconfig.d.ts +5 -5
  45. package/models/components/modelsconfig.d.ts.map +1 -1
  46. package/models/components/modelsconfig.js +6 -6
  47. package/models/components/modelsconfig.js.map +1 -1
  48. package/models/components/piiredactionpluginauto.d.ts +127 -0
  49. package/models/components/piiredactionpluginauto.d.ts.map +1 -0
  50. package/models/components/piiredactionpluginauto.js +157 -0
  51. package/models/components/piiredactionpluginauto.js.map +1 -0
  52. package/models/components/piiredactionpluginen.d.ts +31 -17
  53. package/models/components/piiredactionpluginen.d.ts.map +1 -1
  54. package/models/components/piiredactionpluginen.js +29 -20
  55. package/models/components/piiredactionpluginen.js.map +1 -1
  56. package/models/components/piiredactionpluginnl.d.ts +16 -2
  57. package/models/components/piiredactionpluginnl.d.ts.map +1 -1
  58. package/models/components/piiredactionpluginnl.js +13 -3
  59. package/models/components/piiredactionpluginnl.js.map +1 -1
  60. package/models/components/reasoningpart.js +1 -1
  61. package/models/components/textcontentpartschema.d.ts +10 -10
  62. package/models/components/textcontentpartschema.d.ts.map +1 -1
  63. package/models/components/textcontentpartschema.js +11 -11
  64. package/models/components/textcontentpartschema.js.map +1 -1
  65. package/models/operations/createagentrequest.d.ts +12 -12
  66. package/models/operations/createagentrequest.d.ts.map +1 -1
  67. package/models/operations/createagentrequest.js +8 -0
  68. package/models/operations/createagentrequest.js.map +1 -1
  69. package/models/operations/createchatcompletion.d.ts +4 -4
  70. package/models/operations/createchatcompletion.d.ts.map +1 -1
  71. package/models/operations/createchatcompletion.js +2 -0
  72. package/models/operations/createchatcompletion.js.map +1 -1
  73. package/models/operations/createcompletion.d.ts +4 -4
  74. package/models/operations/createcompletion.d.ts.map +1 -1
  75. package/models/operations/createcompletion.js +2 -0
  76. package/models/operations/createcompletion.js.map +1 -1
  77. package/models/operations/createdataset.js +1 -1
  78. package/models/operations/createdatasetitem.js +4 -4
  79. package/models/operations/createdatasource.js +1 -1
  80. package/models/operations/createeval.d.ts +22 -852
  81. package/models/operations/createeval.d.ts.map +1 -1
  82. package/models/operations/createeval.js +30 -1341
  83. package/models/operations/createeval.js.map +1 -1
  84. package/models/operations/createimage.d.ts +4 -4
  85. package/models/operations/createimage.d.ts.map +1 -1
  86. package/models/operations/createimage.js +2 -0
  87. package/models/operations/createimage.js.map +1 -1
  88. package/models/operations/createprompt.d.ts +14 -14
  89. package/models/operations/createprompt.d.ts.map +1 -1
  90. package/models/operations/createprompt.js +14 -10
  91. package/models/operations/createprompt.js.map +1 -1
  92. package/models/operations/creatererank.d.ts +4 -4
  93. package/models/operations/creatererank.d.ts.map +1 -1
  94. package/models/operations/creatererank.js +2 -0
  95. package/models/operations/creatererank.js.map +1 -1
  96. package/models/operations/createtool.d.ts +8 -8
  97. package/models/operations/createtool.d.ts.map +1 -1
  98. package/models/operations/createtool.js +16 -16
  99. package/models/operations/createtool.js.map +1 -1
  100. package/models/operations/deploymentgetconfig.d.ts +8 -8
  101. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  102. package/models/operations/deploymentgetconfig.js +10 -10
  103. package/models/operations/deploymentgetconfig.js.map +1 -1
  104. package/models/operations/getallprompts.d.ts +2 -2
  105. package/models/operations/getallprompts.d.ts.map +1 -1
  106. package/models/operations/getallprompts.js +2 -0
  107. package/models/operations/getallprompts.js.map +1 -1
  108. package/models/operations/getalltools.d.ts +20 -20
  109. package/models/operations/getalltools.d.ts.map +1 -1
  110. package/models/operations/getalltools.js +28 -26
  111. package/models/operations/getalltools.js.map +1 -1
  112. package/models/operations/getevals.d.ts +3 -833
  113. package/models/operations/getevals.d.ts.map +1 -1
  114. package/models/operations/getevals.js +16 -1314
  115. package/models/operations/getevals.js.map +1 -1
  116. package/models/operations/getoneprompt.d.ts +2 -2
  117. package/models/operations/getoneprompt.d.ts.map +1 -1
  118. package/models/operations/getoneprompt.js +2 -0
  119. package/models/operations/getoneprompt.js.map +1 -1
  120. package/models/operations/getpromptversion.d.ts +2 -2
  121. package/models/operations/getpromptversion.d.ts.map +1 -1
  122. package/models/operations/getpromptversion.js +2 -0
  123. package/models/operations/getpromptversion.js.map +1 -1
  124. package/models/operations/getv2humanevalsets.js +2 -2
  125. package/models/operations/getv2humanevalsetsid.js +2 -2
  126. package/models/operations/invokeeval.d.ts +7 -7
  127. package/models/operations/invokeeval.d.ts.map +1 -1
  128. package/models/operations/invokeeval.js +11 -11
  129. package/models/operations/invokeeval.js.map +1 -1
  130. package/models/operations/listagents.d.ts +4 -4
  131. package/models/operations/listagents.d.ts.map +1 -1
  132. package/models/operations/listagents.js +4 -0
  133. package/models/operations/listagents.js.map +1 -1
  134. package/models/operations/listdatasetdatapoints.js +4 -4
  135. package/models/operations/listdatasets.js +1 -1
  136. package/models/operations/listdatasources.js +1 -1
  137. package/models/operations/listpromptversions.d.ts +2 -2
  138. package/models/operations/listpromptversions.d.ts.map +1 -1
  139. package/models/operations/listpromptversions.js +2 -0
  140. package/models/operations/listpromptversions.js.map +1 -1
  141. package/models/operations/patchv2humanevalsetsid.js +2 -2
  142. package/models/operations/postv2feedbackevaluation.js +3 -3
  143. package/models/operations/postv2humanevalsets.js +2 -2
  144. package/models/operations/retrieveagentrequest.d.ts +4 -4
  145. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  146. package/models/operations/retrieveagentrequest.js +4 -0
  147. package/models/operations/retrieveagentrequest.js.map +1 -1
  148. package/models/operations/retrievedatapoint.js +4 -4
  149. package/models/operations/retrievedataset.js +1 -1
  150. package/models/operations/retrievedatasource.js +1 -1
  151. package/models/operations/retrievetool.js +6 -6
  152. package/models/operations/runagent.d.ts +8 -8
  153. package/models/operations/runagent.d.ts.map +1 -1
  154. package/models/operations/runagent.js +5 -1
  155. package/models/operations/runagent.js.map +1 -1
  156. package/models/operations/streamrunagent.d.ts +8 -8
  157. package/models/operations/streamrunagent.d.ts.map +1 -1
  158. package/models/operations/streamrunagent.js +5 -1
  159. package/models/operations/streamrunagent.js.map +1 -1
  160. package/models/operations/updateagent.d.ts +12 -12
  161. package/models/operations/updateagent.d.ts.map +1 -1
  162. package/models/operations/updateagent.js +8 -0
  163. package/models/operations/updateagent.js.map +1 -1
  164. package/models/operations/updatedatapoint.js +4 -4
  165. package/models/operations/updatedataset.js +1 -1
  166. package/models/operations/updatedatasource.js +1 -1
  167. package/models/operations/updateeval.d.ts +2 -832
  168. package/models/operations/updateeval.d.ts.map +1 -1
  169. package/models/operations/updateeval.js +9 -1304
  170. package/models/operations/updateeval.js.map +1 -1
  171. package/models/operations/updateprompt.d.ts +6 -6
  172. package/models/operations/updateprompt.d.ts.map +1 -1
  173. package/models/operations/updateprompt.js +4 -0
  174. package/models/operations/updateprompt.js.map +1 -1
  175. package/models/operations/updatetool.js +7 -7
  176. package/package.json +1 -1
  177. package/sdk/feedback.d.ts +2 -2
  178. package/sdk/feedback.js +2 -2
  179. package/src/lib/config.ts +2 -2
  180. package/src/models/components/createskillrequest.ts +27 -20
  181. package/src/models/components/evaluatorresponsefunction.ts +1107 -0
  182. package/src/models/components/evaluatorresponsehttp.ts +247 -0
  183. package/src/models/components/evaluatorresponsejsonschema.ts +214 -0
  184. package/src/models/components/evaluatorresponsellm.ts +442 -0
  185. package/src/models/components/evaluatorresponsepython.ts +234 -0
  186. package/src/models/components/evaluatorresponseragas.ts +257 -0
  187. package/src/models/components/evaluatorresponsetypescript.ts +247 -0
  188. package/src/models/components/index.ts +8 -0
  189. package/src/models/components/invokedeploymentrequest.ts +119 -95
  190. package/src/models/components/modelsconfig.ts +11 -10
  191. package/src/models/components/piiredactionpluginauto.ts +186 -0
  192. package/src/models/components/piiredactionpluginen.ts +59 -29
  193. package/src/models/components/piiredactionpluginnl.ts +26 -4
  194. package/src/models/components/reasoningpart.ts +1 -1
  195. package/src/models/components/textcontentpartschema.ts +23 -19
  196. package/src/models/operations/createagentrequest.ts +42 -10
  197. package/src/models/operations/createchatcompletion.ts +12 -3
  198. package/src/models/operations/createcompletion.ts +12 -3
  199. package/src/models/operations/createdataset.ts +1 -1
  200. package/src/models/operations/createdatasetitem.ts +4 -4
  201. package/src/models/operations/createdatasource.ts +1 -1
  202. package/src/models/operations/createeval.ts +673 -3909
  203. package/src/models/operations/createimage.ts +12 -3
  204. package/src/models/operations/createprompt.ts +39 -27
  205. package/src/models/operations/creatererank.ts +12 -3
  206. package/src/models/operations/createtool.ts +22 -24
  207. package/src/models/operations/deploymentgetconfig.ts +16 -18
  208. package/src/models/operations/getallprompts.ts +9 -2
  209. package/src/models/operations/getalltools.ts +47 -53
  210. package/src/models/operations/getevals.ts +29 -3214
  211. package/src/models/operations/getoneprompt.ts +9 -2
  212. package/src/models/operations/getpromptversion.ts +9 -2
  213. package/src/models/operations/getv2humanevalsets.ts +2 -2
  214. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  215. package/src/models/operations/invokeeval.ts +18 -18
  216. package/src/models/operations/listagents.ts +18 -4
  217. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  218. package/src/models/operations/listdatasets.ts +1 -1
  219. package/src/models/operations/listdatasources.ts +1 -1
  220. package/src/models/operations/listpromptversions.ts +9 -2
  221. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  222. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  223. package/src/models/operations/postv2humanevalsets.ts +2 -2
  224. package/src/models/operations/retrieveagentrequest.ts +18 -4
  225. package/src/models/operations/retrievedatapoint.ts +4 -4
  226. package/src/models/operations/retrievedataset.ts +1 -1
  227. package/src/models/operations/retrievedatasource.ts +1 -1
  228. package/src/models/operations/retrievetool.ts +6 -6
  229. package/src/models/operations/runagent.ts +25 -7
  230. package/src/models/operations/streamrunagent.ts +25 -7
  231. package/src/models/operations/updateagent.ts +42 -10
  232. package/src/models/operations/updatedatapoint.ts +4 -4
  233. package/src/models/operations/updatedataset.ts +1 -1
  234. package/src/models/operations/updatedatasource.ts +1 -1
  235. package/src/models/operations/updateeval.ts +306 -3524
  236. package/src/models/operations/updateprompt.ts +21 -5
  237. package/src/models/operations/updatetool.ts +7 -7
  238. package/src/sdk/feedback.ts +2 -2
@@ -198,7 +198,8 @@ export type RunAgentModelConfigurationGuardrails = {
198
198
 
199
199
  export type RunAgentModelConfigurationPlugins =
200
200
  | components.PIIRedactionPluginEn
201
- | components.PIIRedactionPluginNl;
201
+ | components.PIIRedactionPluginNl
202
+ | components.PIIRedactionPluginAuto;
202
203
 
203
204
  export type RunAgentModelConfigurationFallbacks = {
204
205
  /**
@@ -423,7 +424,11 @@ export type RunAgentModelConfigurationParameters = {
423
424
  * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
424
425
  */
425
426
  plugins?:
426
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
427
+ | Array<
428
+ | components.PIIRedactionPluginEn
429
+ | components.PIIRedactionPluginNl
430
+ | components.PIIRedactionPluginAuto
431
+ >
427
432
  | undefined;
428
433
  /**
429
434
  * Array of fallback models to use if primary model fails
@@ -682,7 +687,8 @@ export type RunAgentFallbackModelConfigurationGuardrails = {
682
687
 
683
688
  export type RunAgentFallbackModelConfigurationPlugins =
684
689
  | components.PIIRedactionPluginEn
685
- | components.PIIRedactionPluginNl;
690
+ | components.PIIRedactionPluginNl
691
+ | components.PIIRedactionPluginAuto;
686
692
 
687
693
  export type RunAgentFallbackModelConfigurationFallbacks = {
688
694
  /**
@@ -916,7 +922,11 @@ export type RunAgentFallbackModelConfigurationParameters = {
916
922
  * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
917
923
  */
918
924
  plugins?:
919
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
925
+ | Array<
926
+ | components.PIIRedactionPluginEn
927
+ | components.PIIRedactionPluginNl
928
+ | components.PIIRedactionPluginAuto
929
+ >
920
930
  | undefined;
921
931
  /**
922
932
  * Array of fallback models to use if primary model fails
@@ -2375,7 +2385,8 @@ export function runAgentModelConfigurationGuardrailsToJSON(
2375
2385
  /** @internal */
2376
2386
  export type RunAgentModelConfigurationPlugins$Outbound =
2377
2387
  | components.PIIRedactionPluginEn$Outbound
2378
- | components.PIIRedactionPluginNl$Outbound;
2388
+ | components.PIIRedactionPluginNl$Outbound
2389
+ | components.PIIRedactionPluginAuto$Outbound;
2379
2390
 
2380
2391
  /** @internal */
2381
2392
  export const RunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
@@ -2385,6 +2396,7 @@ export const RunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
2385
2396
  > = z.union([
2386
2397
  components.PIIRedactionPluginEn$outboundSchema,
2387
2398
  components.PIIRedactionPluginNl$outboundSchema,
2399
+ components.PIIRedactionPluginAuto$outboundSchema,
2388
2400
  ]);
2389
2401
 
2390
2402
  export function runAgentModelConfigurationPluginsToJSON(
@@ -2625,6 +2637,7 @@ export type RunAgentModelConfigurationParameters$Outbound = {
2625
2637
  | Array<
2626
2638
  | components.PIIRedactionPluginEn$Outbound
2627
2639
  | components.PIIRedactionPluginNl$Outbound
2640
+ | components.PIIRedactionPluginAuto$Outbound
2628
2641
  >
2629
2642
  | undefined;
2630
2643
  fallbacks?: Array<RunAgentModelConfigurationFallbacks$Outbound> | undefined;
@@ -2679,6 +2692,7 @@ export const RunAgentModelConfigurationParameters$outboundSchema: z.ZodType<
2679
2692
  z.union([
2680
2693
  components.PIIRedactionPluginEn$outboundSchema,
2681
2694
  components.PIIRedactionPluginNl$outboundSchema,
2695
+ components.PIIRedactionPluginAuto$outboundSchema,
2682
2696
  ]),
2683
2697
  ).optional(),
2684
2698
  fallbacks: z.array(
@@ -3161,7 +3175,8 @@ export function runAgentFallbackModelConfigurationGuardrailsToJSON(
3161
3175
  /** @internal */
3162
3176
  export type RunAgentFallbackModelConfigurationPlugins$Outbound =
3163
3177
  | components.PIIRedactionPluginEn$Outbound
3164
- | components.PIIRedactionPluginNl$Outbound;
3178
+ | components.PIIRedactionPluginNl$Outbound
3179
+ | components.PIIRedactionPluginAuto$Outbound;
3165
3180
 
3166
3181
  /** @internal */
3167
3182
  export const RunAgentFallbackModelConfigurationPlugins$outboundSchema:
@@ -3172,6 +3187,7 @@ export const RunAgentFallbackModelConfigurationPlugins$outboundSchema:
3172
3187
  > = z.union([
3173
3188
  components.PIIRedactionPluginEn$outboundSchema,
3174
3189
  components.PIIRedactionPluginNl$outboundSchema,
3190
+ components.PIIRedactionPluginAuto$outboundSchema,
3175
3191
  ]);
3176
3192
 
3177
3193
  export function runAgentFallbackModelConfigurationPluginsToJSON(
@@ -3429,6 +3445,7 @@ export type RunAgentFallbackModelConfigurationParameters$Outbound = {
3429
3445
  | Array<
3430
3446
  | components.PIIRedactionPluginEn$Outbound
3431
3447
  | components.PIIRedactionPluginNl$Outbound
3448
+ | components.PIIRedactionPluginAuto$Outbound
3432
3449
  >
3433
3450
  | undefined;
3434
3451
  fallbacks?:
@@ -3491,6 +3508,7 @@ export const RunAgentFallbackModelConfigurationParameters$outboundSchema:
3491
3508
  z.union([
3492
3509
  components.PIIRedactionPluginEn$outboundSchema,
3493
3510
  components.PIIRedactionPluginNl$outboundSchema,
3511
+ components.PIIRedactionPluginAuto$outboundSchema,
3494
3512
  ]),
3495
3513
  ).optional(),
3496
3514
  fallbacks: z.array(
@@ -3957,7 +3975,7 @@ export const Tools$outboundSchema: z.ZodType<
3957
3975
  z.ZodTypeDef,
3958
3976
  Tools
3959
3977
  > = z.object({
3960
- id: z.string().default("01KW90VNVAZ8DQNANQY4RKFM32"),
3978
+ id: z.string().default("01KW9TA4YT4MPRSZ5CQZBCXKDE"),
3961
3979
  name: z.string(),
3962
3980
  description: z.string().optional(),
3963
3981
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -202,7 +202,8 @@ export type StreamRunAgentModelConfigurationGuardrails = {
202
202
 
203
203
  export type StreamRunAgentModelConfigurationPlugins =
204
204
  | components.PIIRedactionPluginEn
205
- | components.PIIRedactionPluginNl;
205
+ | components.PIIRedactionPluginNl
206
+ | components.PIIRedactionPluginAuto;
206
207
 
207
208
  export type StreamRunAgentModelConfigurationFallbacks = {
208
209
  /**
@@ -434,7 +435,11 @@ export type StreamRunAgentModelConfigurationParameters = {
434
435
  * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
435
436
  */
436
437
  plugins?:
437
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
438
+ | Array<
439
+ | components.PIIRedactionPluginEn
440
+ | components.PIIRedactionPluginNl
441
+ | components.PIIRedactionPluginAuto
442
+ >
438
443
  | undefined;
439
444
  /**
440
445
  * Array of fallback models to use if primary model fails
@@ -700,7 +705,8 @@ export type StreamRunAgentFallbackModelConfigurationGuardrails = {
700
705
 
701
706
  export type StreamRunAgentFallbackModelConfigurationPlugins =
702
707
  | components.PIIRedactionPluginEn
703
- | components.PIIRedactionPluginNl;
708
+ | components.PIIRedactionPluginNl
709
+ | components.PIIRedactionPluginAuto;
704
710
 
705
711
  export type StreamRunAgentFallbackModelConfigurationFallbacks = {
706
712
  /**
@@ -936,7 +942,11 @@ export type StreamRunAgentFallbackModelConfigurationParameters = {
936
942
  * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
937
943
  */
938
944
  plugins?:
939
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
945
+ | Array<
946
+ | components.PIIRedactionPluginEn
947
+ | components.PIIRedactionPluginNl
948
+ | components.PIIRedactionPluginAuto
949
+ >
940
950
  | undefined;
941
951
  /**
942
952
  * Array of fallback models to use if primary model fails
@@ -2349,7 +2359,8 @@ export function streamRunAgentModelConfigurationGuardrailsToJSON(
2349
2359
  /** @internal */
2350
2360
  export type StreamRunAgentModelConfigurationPlugins$Outbound =
2351
2361
  | components.PIIRedactionPluginEn$Outbound
2352
- | components.PIIRedactionPluginNl$Outbound;
2362
+ | components.PIIRedactionPluginNl$Outbound
2363
+ | components.PIIRedactionPluginAuto$Outbound;
2353
2364
 
2354
2365
  /** @internal */
2355
2366
  export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
@@ -2359,6 +2370,7 @@ export const StreamRunAgentModelConfigurationPlugins$outboundSchema: z.ZodType<
2359
2370
  > = z.union([
2360
2371
  components.PIIRedactionPluginEn$outboundSchema,
2361
2372
  components.PIIRedactionPluginNl$outboundSchema,
2373
+ components.PIIRedactionPluginAuto$outboundSchema,
2362
2374
  ]);
2363
2375
 
2364
2376
  export function streamRunAgentModelConfigurationPluginsToJSON(
@@ -2614,6 +2626,7 @@ export type StreamRunAgentModelConfigurationParameters$Outbound = {
2614
2626
  | Array<
2615
2627
  | components.PIIRedactionPluginEn$Outbound
2616
2628
  | components.PIIRedactionPluginNl$Outbound
2629
+ | components.PIIRedactionPluginAuto$Outbound
2617
2630
  >
2618
2631
  | undefined;
2619
2632
  fallbacks?:
@@ -2673,6 +2686,7 @@ export const StreamRunAgentModelConfigurationParameters$outboundSchema:
2673
2686
  z.union([
2674
2687
  components.PIIRedactionPluginEn$outboundSchema,
2675
2688
  components.PIIRedactionPluginNl$outboundSchema,
2689
+ components.PIIRedactionPluginAuto$outboundSchema,
2676
2690
  ]),
2677
2691
  ).optional(),
2678
2692
  fallbacks: z.array(
@@ -3174,7 +3188,8 @@ export function streamRunAgentFallbackModelConfigurationGuardrailsToJSON(
3174
3188
  /** @internal */
3175
3189
  export type StreamRunAgentFallbackModelConfigurationPlugins$Outbound =
3176
3190
  | components.PIIRedactionPluginEn$Outbound
3177
- | components.PIIRedactionPluginNl$Outbound;
3191
+ | components.PIIRedactionPluginNl$Outbound
3192
+ | components.PIIRedactionPluginAuto$Outbound;
3178
3193
 
3179
3194
  /** @internal */
3180
3195
  export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
@@ -3185,6 +3200,7 @@ export const StreamRunAgentFallbackModelConfigurationPlugins$outboundSchema:
3185
3200
  > = z.union([
3186
3201
  components.PIIRedactionPluginEn$outboundSchema,
3187
3202
  components.PIIRedactionPluginNl$outboundSchema,
3203
+ components.PIIRedactionPluginAuto$outboundSchema,
3188
3204
  ]);
3189
3205
 
3190
3206
  export function streamRunAgentFallbackModelConfigurationPluginsToJSON(
@@ -3445,6 +3461,7 @@ export type StreamRunAgentFallbackModelConfigurationParameters$Outbound = {
3445
3461
  | Array<
3446
3462
  | components.PIIRedactionPluginEn$Outbound
3447
3463
  | components.PIIRedactionPluginNl$Outbound
3464
+ | components.PIIRedactionPluginAuto$Outbound
3448
3465
  >
3449
3466
  | undefined;
3450
3467
  fallbacks?:
@@ -3513,6 +3530,7 @@ export const StreamRunAgentFallbackModelConfigurationParameters$outboundSchema:
3513
3530
  z.union([
3514
3531
  components.PIIRedactionPluginEn$outboundSchema,
3515
3532
  components.PIIRedactionPluginNl$outboundSchema,
3533
+ components.PIIRedactionPluginAuto$outboundSchema,
3516
3534
  ]),
3517
3535
  ).optional(),
3518
3536
  fallbacks: z.array(
@@ -4013,7 +4031,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
4013
4031
  z.ZodTypeDef,
4014
4032
  AgentToolInputRunTools
4015
4033
  > = z.object({
4016
- id: z.string().default("01KW90VNX90AX1TV3ENR14H3KV"),
4034
+ id: z.string().default("01KW9TA51BAB7MFXYY5M2MB0MJ"),
4017
4035
  name: z.string(),
4018
4036
  description: z.string().optional(),
4019
4037
  schema: z.lazy(() =>
@@ -200,7 +200,8 @@ export type ModelConfigurationGuardrails = {
200
200
 
201
201
  export type ModelConfigurationPlugins =
202
202
  | components.PIIRedactionPluginEn
203
- | components.PIIRedactionPluginNl;
203
+ | components.PIIRedactionPluginNl
204
+ | components.PIIRedactionPluginAuto;
204
205
 
205
206
  export type UpdateAgentModelConfigurationFallbacks = {
206
207
  /**
@@ -425,7 +426,11 @@ export type ModelConfigurationParameters = {
425
426
  * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
426
427
  */
427
428
  plugins?:
428
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
429
+ | Array<
430
+ | components.PIIRedactionPluginEn
431
+ | components.PIIRedactionPluginNl
432
+ | components.PIIRedactionPluginAuto
433
+ >
429
434
  | undefined;
430
435
  /**
431
436
  * Array of fallback models to use if primary model fails
@@ -688,7 +693,8 @@ export type UpdateAgentFallbackModelConfigurationGuardrails = {
688
693
 
689
694
  export type UpdateAgentFallbackModelConfigurationPlugins =
690
695
  | components.PIIRedactionPluginEn
691
- | components.PIIRedactionPluginNl;
696
+ | components.PIIRedactionPluginNl
697
+ | components.PIIRedactionPluginAuto;
692
698
 
693
699
  export type UpdateAgentFallbackModelConfigurationFallbacks = {
694
700
  /**
@@ -924,7 +930,11 @@ export type UpdateAgentFallbackModelConfigurationParameters = {
924
930
  * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
925
931
  */
926
932
  plugins?:
927
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
933
+ | Array<
934
+ | components.PIIRedactionPluginEn
935
+ | components.PIIRedactionPluginNl
936
+ | components.PIIRedactionPluginAuto
937
+ >
928
938
  | undefined;
929
939
  /**
930
940
  * Array of fallback models to use if primary model fails
@@ -2050,7 +2060,8 @@ export type UpdateAgentAgentsResponseGuardrails = {
2050
2060
 
2051
2061
  export type UpdateAgentPlugins =
2052
2062
  | components.PIIRedactionPluginEn
2053
- | components.PIIRedactionPluginNl;
2063
+ | components.PIIRedactionPluginNl
2064
+ | components.PIIRedactionPluginAuto;
2054
2065
 
2055
2066
  export type UpdateAgentFallbacks = {
2056
2067
  /**
@@ -2274,7 +2285,11 @@ export type UpdateAgentParameters = {
2274
2285
  * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
2275
2286
  */
2276
2287
  plugins?:
2277
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
2288
+ | Array<
2289
+ | components.PIIRedactionPluginEn
2290
+ | components.PIIRedactionPluginNl
2291
+ | components.PIIRedactionPluginAuto
2292
+ >
2278
2293
  | undefined;
2279
2294
  /**
2280
2295
  * Array of fallback models to use if primary model fails
@@ -2516,7 +2531,8 @@ export type UpdateAgentFallbackModelConfigurationAgentsGuardrails = {
2516
2531
 
2517
2532
  export type UpdateAgentFallbackModelConfigurationAgentsPlugins =
2518
2533
  | components.PIIRedactionPluginEn
2519
- | components.PIIRedactionPluginNl;
2534
+ | components.PIIRedactionPluginNl
2535
+ | components.PIIRedactionPluginAuto;
2520
2536
 
2521
2537
  export type UpdateAgentFallbackModelConfigurationAgentsFallbacks = {
2522
2538
  /**
@@ -2750,7 +2766,11 @@ export type UpdateAgentFallbackModelConfigurationAgentsParameters = {
2750
2766
  * Request-scoped transforms applied to the text exchanged with the model. Currently supports `pii_redaction`, which replaces PII with placeholders before the provider sees it and restores the original values in the response.
2751
2767
  */
2752
2768
  plugins?:
2753
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
2769
+ | Array<
2770
+ | components.PIIRedactionPluginEn
2771
+ | components.PIIRedactionPluginNl
2772
+ | components.PIIRedactionPluginAuto
2773
+ >
2754
2774
  | undefined;
2755
2775
  /**
2756
2776
  * Array of fallback models to use if primary model fails
@@ -3253,7 +3273,8 @@ export function modelConfigurationGuardrailsToJSON(
3253
3273
  /** @internal */
3254
3274
  export type ModelConfigurationPlugins$Outbound =
3255
3275
  | components.PIIRedactionPluginEn$Outbound
3256
- | components.PIIRedactionPluginNl$Outbound;
3276
+ | components.PIIRedactionPluginNl$Outbound
3277
+ | components.PIIRedactionPluginAuto$Outbound;
3257
3278
 
3258
3279
  /** @internal */
3259
3280
  export const ModelConfigurationPlugins$outboundSchema: z.ZodType<
@@ -3263,6 +3284,7 @@ export const ModelConfigurationPlugins$outboundSchema: z.ZodType<
3263
3284
  > = z.union([
3264
3285
  components.PIIRedactionPluginEn$outboundSchema,
3265
3286
  components.PIIRedactionPluginNl$outboundSchema,
3287
+ components.PIIRedactionPluginAuto$outboundSchema,
3266
3288
  ]);
3267
3289
 
3268
3290
  export function modelConfigurationPluginsToJSON(
@@ -3499,6 +3521,7 @@ export type ModelConfigurationParameters$Outbound = {
3499
3521
  | Array<
3500
3522
  | components.PIIRedactionPluginEn$Outbound
3501
3523
  | components.PIIRedactionPluginNl$Outbound
3524
+ | components.PIIRedactionPluginAuto$Outbound
3502
3525
  >
3503
3526
  | undefined;
3504
3527
  fallbacks?:
@@ -3554,6 +3577,7 @@ export const ModelConfigurationParameters$outboundSchema: z.ZodType<
3554
3577
  z.union([
3555
3578
  components.PIIRedactionPluginEn$outboundSchema,
3556
3579
  components.PIIRedactionPluginNl$outboundSchema,
3580
+ components.PIIRedactionPluginAuto$outboundSchema,
3557
3581
  ]),
3558
3582
  ).optional(),
3559
3583
  fallbacks: z.array(
@@ -4044,7 +4068,8 @@ export function updateAgentFallbackModelConfigurationGuardrailsToJSON(
4044
4068
  /** @internal */
4045
4069
  export type UpdateAgentFallbackModelConfigurationPlugins$Outbound =
4046
4070
  | components.PIIRedactionPluginEn$Outbound
4047
- | components.PIIRedactionPluginNl$Outbound;
4071
+ | components.PIIRedactionPluginNl$Outbound
4072
+ | components.PIIRedactionPluginAuto$Outbound;
4048
4073
 
4049
4074
  /** @internal */
4050
4075
  export const UpdateAgentFallbackModelConfigurationPlugins$outboundSchema:
@@ -4055,6 +4080,7 @@ export const UpdateAgentFallbackModelConfigurationPlugins$outboundSchema:
4055
4080
  > = z.union([
4056
4081
  components.PIIRedactionPluginEn$outboundSchema,
4057
4082
  components.PIIRedactionPluginNl$outboundSchema,
4083
+ components.PIIRedactionPluginAuto$outboundSchema,
4058
4084
  ]);
4059
4085
 
4060
4086
  export function updateAgentFallbackModelConfigurationPluginsToJSON(
@@ -4311,6 +4337,7 @@ export type UpdateAgentFallbackModelConfigurationParameters$Outbound = {
4311
4337
  | Array<
4312
4338
  | components.PIIRedactionPluginEn$Outbound
4313
4339
  | components.PIIRedactionPluginNl$Outbound
4340
+ | components.PIIRedactionPluginAuto$Outbound
4314
4341
  >
4315
4342
  | undefined;
4316
4343
  fallbacks?:
@@ -4375,6 +4402,7 @@ export const UpdateAgentFallbackModelConfigurationParameters$outboundSchema:
4375
4402
  z.union([
4376
4403
  components.PIIRedactionPluginEn$outboundSchema,
4377
4404
  components.PIIRedactionPluginNl$outboundSchema,
4405
+ components.PIIRedactionPluginAuto$outboundSchema,
4378
4406
  ]),
4379
4407
  ).optional(),
4380
4408
  fallbacks: z.array(
@@ -6145,6 +6173,7 @@ export const UpdateAgentPlugins$inboundSchema: z.ZodType<
6145
6173
  > = z.union([
6146
6174
  components.PIIRedactionPluginEn$inboundSchema,
6147
6175
  components.PIIRedactionPluginNl$inboundSchema,
6176
+ components.PIIRedactionPluginAuto$inboundSchema,
6148
6177
  ]);
6149
6178
 
6150
6179
  export function updateAgentPluginsFromJSON(
@@ -6372,6 +6401,7 @@ export const UpdateAgentParameters$inboundSchema: z.ZodType<
6372
6401
  z.union([
6373
6402
  components.PIIRedactionPluginEn$inboundSchema,
6374
6403
  components.PIIRedactionPluginNl$inboundSchema,
6404
+ components.PIIRedactionPluginAuto$inboundSchema,
6375
6405
  ]),
6376
6406
  ).optional(),
6377
6407
  fallbacks: z.array(z.lazy(() => UpdateAgentFallbacks$inboundSchema))
@@ -6808,6 +6838,7 @@ export const UpdateAgentFallbackModelConfigurationAgentsPlugins$inboundSchema:
6808
6838
  > = z.union([
6809
6839
  components.PIIRedactionPluginEn$inboundSchema,
6810
6840
  components.PIIRedactionPluginNl$inboundSchema,
6841
+ components.PIIRedactionPluginAuto$inboundSchema,
6811
6842
  ]);
6812
6843
 
6813
6844
  export function updateAgentFallbackModelConfigurationAgentsPluginsFromJSON(
@@ -7094,6 +7125,7 @@ export const UpdateAgentFallbackModelConfigurationAgentsParameters$inboundSchema
7094
7125
  z.union([
7095
7126
  components.PIIRedactionPluginEn$inboundSchema,
7096
7127
  components.PIIRedactionPluginNl$inboundSchema,
7128
+ components.PIIRedactionPluginAuto$inboundSchema,
7097
7129
  ]),
7098
7130
  ).optional(),
7099
7131
  fallbacks: z.array(
@@ -2629,7 +2629,7 @@ export const UpdateDatapointEvaluations3$inboundSchema: z.ZodType<
2629
2629
  explanation: z.string().optional(),
2630
2630
  reviewed_by_id: z.string(),
2631
2631
  reviewed_at: z.string().datetime({ offset: true }).default(
2632
- "2026-06-29T06:25:25.347Z",
2632
+ "2026-06-29T13:50:14.070Z",
2633
2633
  ).transform(v => new Date(v)),
2634
2634
  type: z.literal("string_array"),
2635
2635
  values: z.array(z.string()),
@@ -2726,7 +2726,7 @@ export const UpdateDatapointEvaluations2$inboundSchema: z.ZodType<
2726
2726
  explanation: z.string().optional(),
2727
2727
  reviewed_by_id: z.string(),
2728
2728
  reviewed_at: z.string().datetime({ offset: true }).default(
2729
- "2026-06-29T06:25:25.346Z",
2729
+ "2026-06-29T13:50:14.068Z",
2730
2730
  ).transform(v => new Date(v)),
2731
2731
  type: z.literal("number"),
2732
2732
  value: z.number(),
@@ -2815,7 +2815,7 @@ export const UpdateDatapointEvaluations1$inboundSchema: z.ZodType<
2815
2815
  explanation: z.string().optional(),
2816
2816
  reviewed_by_id: z.string(),
2817
2817
  reviewed_at: z.string().datetime({ offset: true }).default(
2818
- "2026-06-29T06:25:25.345Z",
2818
+ "2026-06-29T13:50:14.067Z",
2819
2819
  ).transform(v => new Date(v)),
2820
2820
  type: z.literal("string"),
2821
2821
  value: z.string(),
@@ -2898,7 +2898,7 @@ export const UpdateDatapointResponseBody$inboundSchema: z.ZodType<
2898
2898
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
2899
2899
  .optional(),
2900
2900
  updated: z.string().datetime({ offset: true }).default(
2901
- "2026-06-29T06:24:56.736Z",
2901
+ "2026-06-29T13:49:49.299Z",
2902
2902
  ).transform(v => new Date(v)),
2903
2903
  }).transform((v) => {
2904
2904
  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-06-29T06:24:56.736Z",
185
+ "2026-06-29T13:49:49.299Z",
186
186
  ).transform(v => new Date(v)),
187
187
  }).transform((v) => {
188
188
  return remap$(v, {
@@ -152,7 +152,7 @@ export const UpdateDatasourceResponseBody$inboundSchema: z.ZodType<
152
152
  z.ZodTypeDef,
153
153
  unknown
154
154
  > = z.object({
155
- _id: z.string().default("01KW90VP70Y0ZXGKMWCNRTBF2P"),
155
+ _id: z.string().default("01KW9TA5DNS85MTKZPQ0VE2H3Q"),
156
156
  display_name: z.string(),
157
157
  description: z.nullable(z.string()).optional(),
158
158
  status: UpdateDatasourceStatus$inboundSchema,