@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
@@ -12,27 +12,40 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
  /**
13
13
  * Plugin discriminator. Must be `pii_redaction`.
14
14
  */
15
- export const Id = {
15
+ export const PIIRedactionPluginEnId = {
16
16
  PiiRedaction: "pii_redaction",
17
17
  } as const;
18
18
  /**
19
19
  * Plugin discriminator. Must be `pii_redaction`.
20
20
  */
21
- export type Id = ClosedEnum<typeof Id>;
21
+ export type PIIRedactionPluginEnId = ClosedEnum<typeof PIIRedactionPluginEnId>;
22
22
 
23
23
  /**
24
24
  * Behavior when redaction is unavailable. `block` (default) fails the request; `passthrough` sends the original text.
25
25
  */
26
- export const OnFailure = {
26
+ export const PIIRedactionPluginEnOnFailure = {
27
27
  Block: "block",
28
28
  Passthrough: "passthrough",
29
29
  } as const;
30
30
  /**
31
31
  * Behavior when redaction is unavailable. `block` (default) fails the request; `passthrough` sends the original text.
32
32
  */
33
- export type OnFailure = ClosedEnum<typeof OnFailure>;
33
+ export type PIIRedactionPluginEnOnFailure = ClosedEnum<
34
+ typeof PIIRedactionPluginEnOnFailure
35
+ >;
34
36
 
35
- export const Entities = {
37
+ /**
38
+ * Detector language.
39
+ */
40
+ export const Language = {
41
+ En: "en",
42
+ } as const;
43
+ /**
44
+ * Detector language.
45
+ */
46
+ export type Language = ClosedEnum<typeof Language>;
47
+
48
+ export const PIIRedactionPluginEnEntities = {
36
49
  Age: "AGE",
37
50
  ApiKey: "API_KEY",
38
51
  BankRouting: "BANK_ROUTING",
@@ -89,17 +102,19 @@ export const Entities = {
89
102
  Uuid: "UUID",
90
103
  VehicleId: "VEHICLE_ID",
91
104
  } as const;
92
- export type Entities = ClosedEnum<typeof Entities>;
105
+ export type PIIRedactionPluginEnEntities = ClosedEnum<
106
+ typeof PIIRedactionPluginEnEntities
107
+ >;
93
108
 
94
109
  export type PIIRedactionPluginEn = {
95
110
  /**
96
111
  * Plugin discriminator. Must be `pii_redaction`.
97
112
  */
98
- id: Id;
113
+ id: PIIRedactionPluginEnId;
99
114
  /**
100
115
  * Behavior when redaction is unavailable. `block` (default) fails the request; `passthrough` sends the original text.
101
116
  */
102
- onFailure?: OnFailure | undefined;
117
+ onFailure?: PIIRedactionPluginEnOnFailure | undefined;
103
118
  /**
104
119
  * Detector confidence cutoff in [0,1].
105
120
  */
@@ -107,31 +122,46 @@ export type PIIRedactionPluginEn = {
107
122
  /**
108
123
  * Detector language.
109
124
  */
110
- language: "en";
125
+ language: Language;
111
126
  /**
112
127
  * English entity types to redact. Omit to redact every type detected for the language.
113
128
  */
114
- entities?: Array<Entities> | undefined;
129
+ entities?: Array<PIIRedactionPluginEnEntities> | undefined;
115
130
  };
116
131
 
117
132
  /** @internal */
118
- export const Id$inboundSchema: z.ZodNativeEnum<typeof Id> = z.nativeEnum(Id);
133
+ export const PIIRedactionPluginEnId$inboundSchema: z.ZodNativeEnum<
134
+ typeof PIIRedactionPluginEnId
135
+ > = z.nativeEnum(PIIRedactionPluginEnId);
136
+ /** @internal */
137
+ export const PIIRedactionPluginEnId$outboundSchema: z.ZodNativeEnum<
138
+ typeof PIIRedactionPluginEnId
139
+ > = PIIRedactionPluginEnId$inboundSchema;
140
+
141
+ /** @internal */
142
+ export const PIIRedactionPluginEnOnFailure$inboundSchema: z.ZodNativeEnum<
143
+ typeof PIIRedactionPluginEnOnFailure
144
+ > = z.nativeEnum(PIIRedactionPluginEnOnFailure);
119
145
  /** @internal */
120
- export const Id$outboundSchema: z.ZodNativeEnum<typeof Id> = Id$inboundSchema;
146
+ export const PIIRedactionPluginEnOnFailure$outboundSchema: z.ZodNativeEnum<
147
+ typeof PIIRedactionPluginEnOnFailure
148
+ > = PIIRedactionPluginEnOnFailure$inboundSchema;
121
149
 
122
150
  /** @internal */
123
- export const OnFailure$inboundSchema: z.ZodNativeEnum<typeof OnFailure> = z
124
- .nativeEnum(OnFailure);
151
+ export const Language$inboundSchema: z.ZodNativeEnum<typeof Language> = z
152
+ .nativeEnum(Language);
125
153
  /** @internal */
126
- export const OnFailure$outboundSchema: z.ZodNativeEnum<typeof OnFailure> =
127
- OnFailure$inboundSchema;
154
+ export const Language$outboundSchema: z.ZodNativeEnum<typeof Language> =
155
+ Language$inboundSchema;
128
156
 
129
157
  /** @internal */
130
- export const Entities$inboundSchema: z.ZodNativeEnum<typeof Entities> = z
131
- .nativeEnum(Entities);
158
+ export const PIIRedactionPluginEnEntities$inboundSchema: z.ZodNativeEnum<
159
+ typeof PIIRedactionPluginEnEntities
160
+ > = z.nativeEnum(PIIRedactionPluginEnEntities);
132
161
  /** @internal */
133
- export const Entities$outboundSchema: z.ZodNativeEnum<typeof Entities> =
134
- Entities$inboundSchema;
162
+ export const PIIRedactionPluginEnEntities$outboundSchema: z.ZodNativeEnum<
163
+ typeof PIIRedactionPluginEnEntities
164
+ > = PIIRedactionPluginEnEntities$inboundSchema;
135
165
 
136
166
  /** @internal */
137
167
  export const PIIRedactionPluginEn$inboundSchema: z.ZodType<
@@ -139,11 +169,11 @@ export const PIIRedactionPluginEn$inboundSchema: z.ZodType<
139
169
  z.ZodTypeDef,
140
170
  unknown
141
171
  > = z.object({
142
- id: Id$inboundSchema,
143
- on_failure: OnFailure$inboundSchema.optional(),
172
+ id: PIIRedactionPluginEnId$inboundSchema,
173
+ on_failure: PIIRedactionPluginEnOnFailure$inboundSchema.optional(),
144
174
  threshold: z.number().optional(),
145
- language: z.literal("en"),
146
- entities: z.array(Entities$inboundSchema).optional(),
175
+ language: Language$inboundSchema,
176
+ entities: z.array(PIIRedactionPluginEnEntities$inboundSchema).optional(),
147
177
  }).transform((v) => {
148
178
  return remap$(v, {
149
179
  "on_failure": "onFailure",
@@ -154,7 +184,7 @@ export type PIIRedactionPluginEn$Outbound = {
154
184
  id: string;
155
185
  on_failure?: string | undefined;
156
186
  threshold?: number | undefined;
157
- language: "en";
187
+ language: string;
158
188
  entities?: Array<string> | undefined;
159
189
  };
160
190
 
@@ -164,11 +194,11 @@ export const PIIRedactionPluginEn$outboundSchema: z.ZodType<
164
194
  z.ZodTypeDef,
165
195
  PIIRedactionPluginEn
166
196
  > = z.object({
167
- id: Id$outboundSchema,
168
- onFailure: OnFailure$outboundSchema.optional(),
197
+ id: PIIRedactionPluginEnId$outboundSchema,
198
+ onFailure: PIIRedactionPluginEnOnFailure$outboundSchema.optional(),
169
199
  threshold: z.number().optional(),
170
- language: z.literal("en"),
171
- entities: z.array(Entities$outboundSchema).optional(),
200
+ language: Language$outboundSchema,
201
+ entities: z.array(PIIRedactionPluginEnEntities$outboundSchema).optional(),
172
202
  }).transform((v) => {
173
203
  return remap$(v, {
174
204
  onFailure: "on_failure",
@@ -34,6 +34,19 @@ export type PIIRedactionPluginNlOnFailure = ClosedEnum<
34
34
  typeof PIIRedactionPluginNlOnFailure
35
35
  >;
36
36
 
37
+ /**
38
+ * Detector language.
39
+ */
40
+ export const PIIRedactionPluginNlLanguage = {
41
+ Nl: "nl",
42
+ } as const;
43
+ /**
44
+ * Detector language.
45
+ */
46
+ export type PIIRedactionPluginNlLanguage = ClosedEnum<
47
+ typeof PIIRedactionPluginNlLanguage
48
+ >;
49
+
37
50
  export const PIIRedactionPluginNlEntities = {
38
51
  Age: "AGE",
39
52
  ApiKey: "API_KEY",
@@ -103,7 +116,7 @@ export type PIIRedactionPluginNl = {
103
116
  /**
104
117
  * Detector language.
105
118
  */
106
- language: "nl";
119
+ language: PIIRedactionPluginNlLanguage;
107
120
  /**
108
121
  * Dutch entity types to redact. Omit to redact every type detected for the language.
109
122
  */
@@ -128,6 +141,15 @@ export const PIIRedactionPluginNlOnFailure$outboundSchema: z.ZodNativeEnum<
128
141
  typeof PIIRedactionPluginNlOnFailure
129
142
  > = PIIRedactionPluginNlOnFailure$inboundSchema;
130
143
 
144
+ /** @internal */
145
+ export const PIIRedactionPluginNlLanguage$inboundSchema: z.ZodNativeEnum<
146
+ typeof PIIRedactionPluginNlLanguage
147
+ > = z.nativeEnum(PIIRedactionPluginNlLanguage);
148
+ /** @internal */
149
+ export const PIIRedactionPluginNlLanguage$outboundSchema: z.ZodNativeEnum<
150
+ typeof PIIRedactionPluginNlLanguage
151
+ > = PIIRedactionPluginNlLanguage$inboundSchema;
152
+
131
153
  /** @internal */
132
154
  export const PIIRedactionPluginNlEntities$inboundSchema: z.ZodNativeEnum<
133
155
  typeof PIIRedactionPluginNlEntities
@@ -146,7 +168,7 @@ export const PIIRedactionPluginNl$inboundSchema: z.ZodType<
146
168
  id: PIIRedactionPluginNlId$inboundSchema,
147
169
  on_failure: PIIRedactionPluginNlOnFailure$inboundSchema.optional(),
148
170
  threshold: z.number().optional(),
149
- language: z.literal("nl"),
171
+ language: PIIRedactionPluginNlLanguage$inboundSchema,
150
172
  entities: z.array(PIIRedactionPluginNlEntities$inboundSchema).optional(),
151
173
  }).transform((v) => {
152
174
  return remap$(v, {
@@ -158,7 +180,7 @@ export type PIIRedactionPluginNl$Outbound = {
158
180
  id: string;
159
181
  on_failure?: string | undefined;
160
182
  threshold?: number | undefined;
161
- language: "nl";
183
+ language: string;
162
184
  entities?: Array<string> | undefined;
163
185
  };
164
186
 
@@ -171,7 +193,7 @@ export const PIIRedactionPluginNl$outboundSchema: z.ZodType<
171
193
  id: PIIRedactionPluginNlId$outboundSchema,
172
194
  onFailure: PIIRedactionPluginNlOnFailure$outboundSchema.optional(),
173
195
  threshold: z.number().optional(),
174
- language: z.literal("nl"),
196
+ language: PIIRedactionPluginNlLanguage$outboundSchema,
175
197
  entities: z.array(PIIRedactionPluginNlEntities$outboundSchema).optional(),
176
198
  }).transform((v) => {
177
199
  return remap$(v, {
@@ -40,7 +40,7 @@ export const ReasoningPart$inboundSchema: z.ZodType<
40
40
  z.ZodTypeDef,
41
41
  unknown
42
42
  > = z.object({
43
- _id: z.string().default("reasoning_01kw90vnqgm3gq5bz3qjybwkm7"),
43
+ _id: z.string().default("reasoning_01kw9ta4sbgx5tmm0wzajecnzh"),
44
44
  metadata: z.record(z.any()).optional(),
45
45
  kind: z.literal("reasoning"),
46
46
  reasoning: z.string(),
@@ -12,25 +12,27 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
12
  /**
13
13
  * The type of the content part.
14
14
  */
15
- export const Type = {
15
+ export const TextContentPartSchemaType = {
16
16
  Text: "text",
17
17
  } as const;
18
18
  /**
19
19
  * The type of the content part.
20
20
  */
21
- export type Type = ClosedEnum<typeof Type>;
21
+ export type TextContentPartSchemaType = ClosedEnum<
22
+ typeof TextContentPartSchemaType
23
+ >;
22
24
 
23
25
  /**
24
26
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
25
27
  */
26
- export const TextContentPartSchemaType = {
28
+ export const TextContentPartSchemaCacheControlType = {
27
29
  Ephemeral: "ephemeral",
28
30
  } as const;
29
31
  /**
30
32
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
31
33
  */
32
- export type TextContentPartSchemaType = ClosedEnum<
33
- typeof TextContentPartSchemaType
34
+ export type TextContentPartSchemaCacheControlType = ClosedEnum<
35
+ typeof TextContentPartSchemaCacheControlType
34
36
  >;
35
37
 
36
38
  /**
@@ -63,7 +65,7 @@ export type CacheControl = {
63
65
  /**
64
66
  * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
65
67
  */
66
- type: TextContentPartSchemaType;
68
+ type: TextContentPartSchemaCacheControlType;
67
69
  /**
68
70
  * The time-to-live for the cache control breakpoint. This may be one of the following values:
69
71
  *
@@ -84,7 +86,7 @@ export type TextContentPartSchema = {
84
86
  /**
85
87
  * The type of the content part.
86
88
  */
87
- type: Type;
89
+ type: TextContentPartSchemaType;
88
90
  /**
89
91
  * The text content.
90
92
  */
@@ -92,14 +94,6 @@ export type TextContentPartSchema = {
92
94
  cacheControl?: CacheControl | undefined;
93
95
  };
94
96
 
95
- /** @internal */
96
- export const Type$inboundSchema: z.ZodNativeEnum<typeof Type> = z.nativeEnum(
97
- Type,
98
- );
99
- /** @internal */
100
- export const Type$outboundSchema: z.ZodNativeEnum<typeof Type> =
101
- Type$inboundSchema;
102
-
103
97
  /** @internal */
104
98
  export const TextContentPartSchemaType$inboundSchema: z.ZodNativeEnum<
105
99
  typeof TextContentPartSchemaType
@@ -109,6 +103,16 @@ export const TextContentPartSchemaType$outboundSchema: z.ZodNativeEnum<
109
103
  typeof TextContentPartSchemaType
110
104
  > = TextContentPartSchemaType$inboundSchema;
111
105
 
106
+ /** @internal */
107
+ export const TextContentPartSchemaCacheControlType$inboundSchema:
108
+ z.ZodNativeEnum<typeof TextContentPartSchemaCacheControlType> = z.nativeEnum(
109
+ TextContentPartSchemaCacheControlType,
110
+ );
111
+ /** @internal */
112
+ export const TextContentPartSchemaCacheControlType$outboundSchema:
113
+ z.ZodNativeEnum<typeof TextContentPartSchemaCacheControlType> =
114
+ TextContentPartSchemaCacheControlType$inboundSchema;
115
+
112
116
  /** @internal */
113
117
  export const Ttl$inboundSchema: z.ZodNativeEnum<typeof Ttl> = z.nativeEnum(Ttl);
114
118
  /** @internal */
@@ -121,7 +125,7 @@ export const CacheControl$inboundSchema: z.ZodType<
121
125
  z.ZodTypeDef,
122
126
  unknown
123
127
  > = z.object({
124
- type: TextContentPartSchemaType$inboundSchema,
128
+ type: TextContentPartSchemaCacheControlType$inboundSchema,
125
129
  ttl: Ttl$inboundSchema.default("5m"),
126
130
  });
127
131
  /** @internal */
@@ -136,7 +140,7 @@ export const CacheControl$outboundSchema: z.ZodType<
136
140
  z.ZodTypeDef,
137
141
  CacheControl
138
142
  > = z.object({
139
- type: TextContentPartSchemaType$outboundSchema,
143
+ type: TextContentPartSchemaCacheControlType$outboundSchema,
140
144
  ttl: Ttl$outboundSchema.default("5m"),
141
145
  });
142
146
 
@@ -159,7 +163,7 @@ export const TextContentPartSchema$inboundSchema: z.ZodType<
159
163
  z.ZodTypeDef,
160
164
  unknown
161
165
  > = z.object({
162
- type: Type$inboundSchema,
166
+ type: TextContentPartSchemaType$inboundSchema,
163
167
  text: z.string(),
164
168
  cache_control: z.lazy(() => CacheControl$inboundSchema).optional(),
165
169
  }).transform((v) => {
@@ -180,7 +184,7 @@ export const TextContentPartSchema$outboundSchema: z.ZodType<
180
184
  z.ZodTypeDef,
181
185
  TextContentPartSchema
182
186
  > = z.object({
183
- type: Type$outboundSchema,
187
+ type: TextContentPartSchemaType$outboundSchema,
184
188
  text: z.string(),
185
189
  cacheControl: z.lazy(() => CacheControl$outboundSchema).optional(),
186
190
  }).transform((v) => {
@@ -187,7 +187,8 @@ export type Guardrails = {
187
187
 
188
188
  export type Plugins =
189
189
  | components.PIIRedactionPluginEn
190
- | components.PIIRedactionPluginNl;
190
+ | components.PIIRedactionPluginNl
191
+ | components.PIIRedactionPluginAuto;
191
192
 
192
193
  export type ModelConfigurationFallbacks = {
193
194
  /**
@@ -402,7 +403,11 @@ export type ParametersT = {
402
403
  * 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.
403
404
  */
404
405
  plugins?:
405
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
406
+ | Array<
407
+ | components.PIIRedactionPluginEn
408
+ | components.PIIRedactionPluginNl
409
+ | components.PIIRedactionPluginAuto
410
+ >
406
411
  | undefined;
407
412
  /**
408
413
  * Array of fallback models to use if primary model fails
@@ -661,7 +666,8 @@ export type FallbackModelConfigurationGuardrails = {
661
666
 
662
667
  export type FallbackModelConfigurationPlugins =
663
668
  | components.PIIRedactionPluginEn
664
- | components.PIIRedactionPluginNl;
669
+ | components.PIIRedactionPluginNl
670
+ | components.PIIRedactionPluginAuto;
665
671
 
666
672
  export type FallbackModelConfigurationFallbacks = {
667
673
  /**
@@ -890,7 +896,11 @@ export type FallbackModelConfigurationParameters = {
890
896
  * 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.
891
897
  */
892
898
  plugins?:
893
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
899
+ | Array<
900
+ | components.PIIRedactionPluginEn
901
+ | components.PIIRedactionPluginNl
902
+ | components.PIIRedactionPluginAuto
903
+ >
894
904
  | undefined;
895
905
  /**
896
906
  * Array of fallback models to use if primary model fails
@@ -2035,7 +2045,8 @@ export type CreateAgentRequestAgentsResponseGuardrails = {
2035
2045
 
2036
2046
  export type CreateAgentRequestPlugins =
2037
2047
  | components.PIIRedactionPluginEn
2038
- | components.PIIRedactionPluginNl;
2048
+ | components.PIIRedactionPluginNl
2049
+ | components.PIIRedactionPluginAuto;
2039
2050
 
2040
2051
  export type CreateAgentRequestFallbacks = {
2041
2052
  /**
@@ -2262,7 +2273,11 @@ export type CreateAgentRequestParameters = {
2262
2273
  * 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.
2263
2274
  */
2264
2275
  plugins?:
2265
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
2276
+ | Array<
2277
+ | components.PIIRedactionPluginEn
2278
+ | components.PIIRedactionPluginNl
2279
+ | components.PIIRedactionPluginAuto
2280
+ >
2266
2281
  | undefined;
2267
2282
  /**
2268
2283
  * Array of fallback models to use if primary model fails
@@ -2506,7 +2521,8 @@ export type CreateAgentRequestFallbackModelConfigurationGuardrails = {
2506
2521
 
2507
2522
  export type CreateAgentRequestFallbackModelConfigurationPlugins =
2508
2523
  | components.PIIRedactionPluginEn
2509
- | components.PIIRedactionPluginNl;
2524
+ | components.PIIRedactionPluginNl
2525
+ | components.PIIRedactionPluginAuto;
2510
2526
 
2511
2527
  export type CreateAgentRequestFallbackModelConfigurationFallbacks = {
2512
2528
  /**
@@ -2743,7 +2759,11 @@ export type CreateAgentRequestFallbackModelConfigurationParameters = {
2743
2759
  * 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.
2744
2760
  */
2745
2761
  plugins?:
2746
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
2762
+ | Array<
2763
+ | components.PIIRedactionPluginEn
2764
+ | components.PIIRedactionPluginNl
2765
+ | components.PIIRedactionPluginAuto
2766
+ >
2747
2767
  | undefined;
2748
2768
  /**
2749
2769
  * Array of fallback models to use if primary model fails
@@ -3172,7 +3192,8 @@ export function guardrailsToJSON(guardrails: Guardrails): string {
3172
3192
  /** @internal */
3173
3193
  export type Plugins$Outbound =
3174
3194
  | components.PIIRedactionPluginEn$Outbound
3175
- | components.PIIRedactionPluginNl$Outbound;
3195
+ | components.PIIRedactionPluginNl$Outbound
3196
+ | components.PIIRedactionPluginAuto$Outbound;
3176
3197
 
3177
3198
  /** @internal */
3178
3199
  export const Plugins$outboundSchema: z.ZodType<
@@ -3182,6 +3203,7 @@ export const Plugins$outboundSchema: z.ZodType<
3182
3203
  > = z.union([
3183
3204
  components.PIIRedactionPluginEn$outboundSchema,
3184
3205
  components.PIIRedactionPluginNl$outboundSchema,
3206
+ components.PIIRedactionPluginAuto$outboundSchema,
3185
3207
  ]);
3186
3208
 
3187
3209
  export function pluginsToJSON(plugins: Plugins): string {
@@ -3386,6 +3408,7 @@ export type ParametersT$Outbound = {
3386
3408
  | Array<
3387
3409
  | components.PIIRedactionPluginEn$Outbound
3388
3410
  | components.PIIRedactionPluginNl$Outbound
3411
+ | components.PIIRedactionPluginAuto$Outbound
3389
3412
  >
3390
3413
  | undefined;
3391
3414
  fallbacks?: Array<ModelConfigurationFallbacks$Outbound> | undefined;
@@ -3435,6 +3458,7 @@ export const ParametersT$outboundSchema: z.ZodType<
3435
3458
  z.union([
3436
3459
  components.PIIRedactionPluginEn$outboundSchema,
3437
3460
  components.PIIRedactionPluginNl$outboundSchema,
3461
+ components.PIIRedactionPluginAuto$outboundSchema,
3438
3462
  ]),
3439
3463
  ).optional(),
3440
3464
  fallbacks: z.array(z.lazy(() => ModelConfigurationFallbacks$outboundSchema))
@@ -3884,7 +3908,8 @@ export function fallbackModelConfigurationGuardrailsToJSON(
3884
3908
  /** @internal */
3885
3909
  export type FallbackModelConfigurationPlugins$Outbound =
3886
3910
  | components.PIIRedactionPluginEn$Outbound
3887
- | components.PIIRedactionPluginNl$Outbound;
3911
+ | components.PIIRedactionPluginNl$Outbound
3912
+ | components.PIIRedactionPluginAuto$Outbound;
3888
3913
 
3889
3914
  /** @internal */
3890
3915
  export const FallbackModelConfigurationPlugins$outboundSchema: z.ZodType<
@@ -3894,6 +3919,7 @@ export const FallbackModelConfigurationPlugins$outboundSchema: z.ZodType<
3894
3919
  > = z.union([
3895
3920
  components.PIIRedactionPluginEn$outboundSchema,
3896
3921
  components.PIIRedactionPluginNl$outboundSchema,
3922
+ components.PIIRedactionPluginAuto$outboundSchema,
3897
3923
  ]);
3898
3924
 
3899
3925
  export function fallbackModelConfigurationPluginsToJSON(
@@ -4135,6 +4161,7 @@ export type FallbackModelConfigurationParameters$Outbound = {
4135
4161
  | Array<
4136
4162
  | components.PIIRedactionPluginEn$Outbound
4137
4163
  | components.PIIRedactionPluginNl$Outbound
4164
+ | components.PIIRedactionPluginAuto$Outbound
4138
4165
  >
4139
4166
  | undefined;
4140
4167
  fallbacks?: Array<FallbackModelConfigurationFallbacks$Outbound> | undefined;
@@ -4189,6 +4216,7 @@ export const FallbackModelConfigurationParameters$outboundSchema: z.ZodType<
4189
4216
  z.union([
4190
4217
  components.PIIRedactionPluginEn$outboundSchema,
4191
4218
  components.PIIRedactionPluginNl$outboundSchema,
4219
+ components.PIIRedactionPluginAuto$outboundSchema,
4192
4220
  ]),
4193
4221
  ).optional(),
4194
4222
  fallbacks: z.array(
@@ -5820,6 +5848,7 @@ export const CreateAgentRequestPlugins$inboundSchema: z.ZodType<
5820
5848
  > = z.union([
5821
5849
  components.PIIRedactionPluginEn$inboundSchema,
5822
5850
  components.PIIRedactionPluginNl$inboundSchema,
5851
+ components.PIIRedactionPluginAuto$inboundSchema,
5823
5852
  ]);
5824
5853
 
5825
5854
  export function createAgentRequestPluginsFromJSON(
@@ -6040,6 +6069,7 @@ export const CreateAgentRequestParameters$inboundSchema: z.ZodType<
6040
6069
  z.union([
6041
6070
  components.PIIRedactionPluginEn$inboundSchema,
6042
6071
  components.PIIRedactionPluginNl$inboundSchema,
6072
+ components.PIIRedactionPluginAuto$inboundSchema,
6043
6073
  ]),
6044
6074
  ).optional(),
6045
6075
  fallbacks: z.array(z.lazy(() => CreateAgentRequestFallbacks$inboundSchema))
@@ -6478,6 +6508,7 @@ export const CreateAgentRequestFallbackModelConfigurationPlugins$inboundSchema:
6478
6508
  > = z.union([
6479
6509
  components.PIIRedactionPluginEn$inboundSchema,
6480
6510
  components.PIIRedactionPluginNl$inboundSchema,
6511
+ components.PIIRedactionPluginAuto$inboundSchema,
6481
6512
  ]);
6482
6513
 
6483
6514
  export function createAgentRequestFallbackModelConfigurationPluginsFromJSON(
@@ -6762,6 +6793,7 @@ export const CreateAgentRequestFallbackModelConfigurationParameters$inboundSchem
6762
6793
  z.union([
6763
6794
  components.PIIRedactionPluginEn$inboundSchema,
6764
6795
  components.PIIRedactionPluginNl$inboundSchema,
6796
+ components.PIIRedactionPluginAuto$inboundSchema,
6765
6797
  ]),
6766
6798
  ).optional(),
6767
6799
  fallbacks: z.array(
@@ -676,7 +676,8 @@ export type CreateChatCompletionGuardrails = {
676
676
 
677
677
  export type CreateChatCompletionPlugins =
678
678
  | components.PIIRedactionPluginEn
679
- | components.PIIRedactionPluginNl;
679
+ | components.PIIRedactionPluginNl
680
+ | components.PIIRedactionPluginAuto;
680
681
 
681
682
  export type CreateChatCompletionFallbacks = {
682
683
  /**
@@ -1607,7 +1608,11 @@ export type CreateChatCompletionRequestBody = {
1607
1608
  * 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.
1608
1609
  */
1609
1610
  plugins?:
1610
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
1611
+ | Array<
1612
+ | components.PIIRedactionPluginEn
1613
+ | components.PIIRedactionPluginNl
1614
+ | components.PIIRedactionPluginAuto
1615
+ >
1611
1616
  | undefined;
1612
1617
  /**
1613
1618
  * Array of fallback models to use if primary model fails
@@ -3435,7 +3440,8 @@ export function createChatCompletionGuardrailsToJSON(
3435
3440
  /** @internal */
3436
3441
  export type CreateChatCompletionPlugins$Outbound =
3437
3442
  | components.PIIRedactionPluginEn$Outbound
3438
- | components.PIIRedactionPluginNl$Outbound;
3443
+ | components.PIIRedactionPluginNl$Outbound
3444
+ | components.PIIRedactionPluginAuto$Outbound;
3439
3445
 
3440
3446
  /** @internal */
3441
3447
  export const CreateChatCompletionPlugins$outboundSchema: z.ZodType<
@@ -3445,6 +3451,7 @@ export const CreateChatCompletionPlugins$outboundSchema: z.ZodType<
3445
3451
  > = z.union([
3446
3452
  components.PIIRedactionPluginEn$outboundSchema,
3447
3453
  components.PIIRedactionPluginNl$outboundSchema,
3454
+ components.PIIRedactionPluginAuto$outboundSchema,
3448
3455
  ]);
3449
3456
 
3450
3457
  export function createChatCompletionPluginsToJSON(
@@ -5473,6 +5480,7 @@ export type CreateChatCompletionRequestBody$Outbound = {
5473
5480
  | Array<
5474
5481
  | components.PIIRedactionPluginEn$Outbound
5475
5482
  | components.PIIRedactionPluginNl$Outbound
5483
+ | components.PIIRedactionPluginAuto$Outbound
5476
5484
  >
5477
5485
  | undefined;
5478
5486
  fallbacks?: Array<CreateChatCompletionFallbacks$Outbound> | undefined;
@@ -5553,6 +5561,7 @@ export const CreateChatCompletionRequestBody$outboundSchema: z.ZodType<
5553
5561
  z.union([
5554
5562
  components.PIIRedactionPluginEn$outboundSchema,
5555
5563
  components.PIIRedactionPluginNl$outboundSchema,
5564
+ components.PIIRedactionPluginAuto$outboundSchema,
5556
5565
  ]),
5557
5566
  ).optional(),
5558
5567
  fallbacks: z.array(z.lazy(() => CreateChatCompletionFallbacks$outboundSchema))
@@ -101,7 +101,8 @@ export type CreateCompletionThinking =
101
101
 
102
102
  export type CreateCompletionPlugins =
103
103
  | components.PIIRedactionPluginEn
104
- | components.PIIRedactionPluginNl;
104
+ | components.PIIRedactionPluginNl
105
+ | components.PIIRedactionPluginAuto;
105
106
 
106
107
  /**
107
108
  * Retry configuration for the request
@@ -796,7 +797,11 @@ export type CreateCompletionRequestBody = {
796
797
  * 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.
797
798
  */
798
799
  plugins?:
799
- | Array<components.PIIRedactionPluginEn | components.PIIRedactionPluginNl>
800
+ | Array<
801
+ | components.PIIRedactionPluginEn
802
+ | components.PIIRedactionPluginNl
803
+ | components.PIIRedactionPluginAuto
804
+ >
800
805
  | undefined;
801
806
  /**
802
807
  * Leverage Orq's intelligent routing capabilities to enhance your AI application with enterprise-grade reliability and observability. Orq provides automatic request management including retries on failures, model fallbacks for high availability, identity-level analytics tracking, conversation threading, and dynamic prompt templating with variable substitution.
@@ -1267,7 +1272,8 @@ export function createCompletionThinkingToJSON(
1267
1272
  /** @internal */
1268
1273
  export type CreateCompletionPlugins$Outbound =
1269
1274
  | components.PIIRedactionPluginEn$Outbound
1270
- | components.PIIRedactionPluginNl$Outbound;
1275
+ | components.PIIRedactionPluginNl$Outbound
1276
+ | components.PIIRedactionPluginAuto$Outbound;
1271
1277
 
1272
1278
  /** @internal */
1273
1279
  export const CreateCompletionPlugins$outboundSchema: z.ZodType<
@@ -1277,6 +1283,7 @@ export const CreateCompletionPlugins$outboundSchema: z.ZodType<
1277
1283
  > = z.union([
1278
1284
  components.PIIRedactionPluginEn$outboundSchema,
1279
1285
  components.PIIRedactionPluginNl$outboundSchema,
1286
+ components.PIIRedactionPluginAuto$outboundSchema,
1280
1287
  ]);
1281
1288
 
1282
1289
  export function createCompletionPluginsToJSON(
@@ -3020,6 +3027,7 @@ export type CreateCompletionRequestBody$Outbound = {
3020
3027
  | Array<
3021
3028
  | components.PIIRedactionPluginEn$Outbound
3022
3029
  | components.PIIRedactionPluginNl$Outbound
3030
+ | components.PIIRedactionPluginAuto$Outbound
3023
3031
  >
3024
3032
  | undefined;
3025
3033
  orq?: CreateCompletionOrq$Outbound | undefined;
@@ -3063,6 +3071,7 @@ export const CreateCompletionRequestBody$outboundSchema: z.ZodType<
3063
3071
  z.union([
3064
3072
  components.PIIRedactionPluginEn$outboundSchema,
3065
3073
  components.PIIRedactionPluginNl$outboundSchema,
3074
+ components.PIIRedactionPluginAuto$outboundSchema,
3066
3075
  ]),
3067
3076
  ).optional(),
3068
3077
  orq: z.lazy(() => CreateCompletionOrq$outboundSchema).optional(),
@@ -138,7 +138,7 @@ export const CreateDatasetResponseBody$inboundSchema: z.ZodType<
138
138
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
139
139
  .optional(),
140
140
  updated: z.string().datetime({ offset: true }).default(
141
- "2026-06-29T06:24:56.736Z",
141
+ "2026-06-29T13:49:49.299Z",
142
142
  ).transform(v => new Date(v)),
143
143
  }).transform((v) => {
144
144
  return remap$(v, {