@orq-ai/node 4.11.3 → 4.11.9

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 (278) hide show
  1. package/README.md +40 -36
  2. package/funcs/modelsImportLitellm.d.ts +17 -0
  3. package/funcs/modelsImportLitellm.d.ts.map +1 -0
  4. package/funcs/modelsImportLitellm.js +118 -0
  5. package/funcs/modelsImportLitellm.js.map +1 -0
  6. package/funcs/modelsListLitellm.d.ts +18 -0
  7. package/funcs/modelsListLitellm.d.ts.map +1 -0
  8. package/funcs/modelsListLitellm.js +105 -0
  9. package/funcs/modelsListLitellm.js.map +1 -0
  10. package/jsr.json +1 -1
  11. package/lib/config.d.ts +3 -3
  12. package/lib/config.js +3 -3
  13. package/lib/http.d.ts +1 -1
  14. package/lib/http.d.ts.map +1 -1
  15. package/lib/http.js +1 -1
  16. package/lib/http.js.map +1 -1
  17. package/lib/security.d.ts +5 -4
  18. package/lib/security.d.ts.map +1 -1
  19. package/lib/security.js +6 -7
  20. package/lib/security.js.map +1 -1
  21. package/models/components/evaluatorresponsefunction.js +2 -2
  22. package/models/components/evaluatorresponsehttp.js +2 -2
  23. package/models/components/evaluatorresponsejsonschema.js +2 -2
  24. package/models/components/evaluatorresponsellm.js +2 -2
  25. package/models/components/evaluatorresponsepython.js +2 -2
  26. package/models/components/evaluatorresponseragas.js +2 -2
  27. package/models/components/evaluatorresponsetypescript.js +2 -2
  28. package/models/components/index.d.ts +4 -0
  29. package/models/components/index.d.ts.map +1 -1
  30. package/models/components/index.js +4 -0
  31. package/models/components/index.js.map +1 -1
  32. package/models/components/litellmmodel.d.ts +18 -0
  33. package/models/components/litellmmodel.d.ts.map +1 -0
  34. package/models/components/litellmmodel.js +60 -0
  35. package/models/components/litellmmodel.js.map +1 -0
  36. package/models/components/litellmmodelinfo.d.ts +44 -0
  37. package/models/components/litellmmodelinfo.d.ts.map +1 -0
  38. package/models/components/litellmmodelinfo.js +83 -0
  39. package/models/components/litellmmodelinfo.js.map +1 -0
  40. package/models/components/litellmparams.d.ts +18 -0
  41. package/models/components/litellmparams.d.ts.map +1 -0
  42. package/models/components/litellmparams.js +59 -0
  43. package/models/components/litellmparams.js.map +1 -0
  44. package/models/components/modeldocument.d.ts +39 -0
  45. package/models/components/modeldocument.d.ts.map +1 -0
  46. package/models/components/modeldocument.js +99 -0
  47. package/models/components/modeldocument.js.map +1 -0
  48. package/models/components/reasoningpart.js +1 -1
  49. package/models/operations/createdataset.js +1 -1
  50. package/models/operations/createdatasetitem.js +4 -4
  51. package/models/operations/createdatasource.js +1 -1
  52. package/models/operations/createprompt.d.ts +3 -0
  53. package/models/operations/createprompt.d.ts.map +1 -1
  54. package/models/operations/createprompt.js +3 -0
  55. package/models/operations/createprompt.js.map +1 -1
  56. package/models/operations/createtool.js +6 -6
  57. package/models/operations/deploymentinvoke.d.ts +3 -0
  58. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  59. package/models/operations/deploymentinvoke.js +3 -0
  60. package/models/operations/deploymentinvoke.js.map +1 -1
  61. package/models/operations/deployments.d.ts +3 -0
  62. package/models/operations/deployments.d.ts.map +1 -1
  63. package/models/operations/deployments.js +3 -0
  64. package/models/operations/deployments.js.map +1 -1
  65. package/models/operations/deploymentstream.d.ts +3 -0
  66. package/models/operations/deploymentstream.d.ts.map +1 -1
  67. package/models/operations/deploymentstream.js +3 -0
  68. package/models/operations/deploymentstream.js.map +1 -1
  69. package/models/operations/getallprompts.d.ts +3 -0
  70. package/models/operations/getallprompts.d.ts.map +1 -1
  71. package/models/operations/getallprompts.js +3 -0
  72. package/models/operations/getallprompts.js.map +1 -1
  73. package/models/operations/getalltools.js +6 -6
  74. package/models/operations/getoneprompt.d.ts +3 -0
  75. package/models/operations/getoneprompt.d.ts.map +1 -1
  76. package/models/operations/getoneprompt.js +3 -0
  77. package/models/operations/getoneprompt.js.map +1 -1
  78. package/models/operations/getpromptversion.d.ts +3 -0
  79. package/models/operations/getpromptversion.d.ts.map +1 -1
  80. package/models/operations/getpromptversion.js +3 -0
  81. package/models/operations/getpromptversion.js.map +1 -1
  82. package/models/operations/getv2humanevalsets.js +2 -2
  83. package/models/operations/getv2humanevalsetsid.js +2 -2
  84. package/models/operations/invokeeval.d.ts +1 -1
  85. package/models/operations/invokeeval.d.ts.map +1 -1
  86. package/models/operations/invokeeval.js +1 -1
  87. package/models/operations/invokeeval.js.map +1 -1
  88. package/models/operations/listdatasetdatapoints.js +4 -4
  89. package/models/operations/listdatasets.js +1 -1
  90. package/models/operations/listdatasources.js +1 -1
  91. package/models/operations/listpromptversions.d.ts +3 -0
  92. package/models/operations/listpromptversions.d.ts.map +1 -1
  93. package/models/operations/listpromptversions.js +3 -0
  94. package/models/operations/listpromptversions.js.map +1 -1
  95. package/models/operations/patchv2humanevalsetsid.js +2 -2
  96. package/models/operations/postv2feedbackevaluation.js +3 -3
  97. package/models/operations/postv2humanevalsets.js +2 -2
  98. package/models/operations/retrievedatapoint.js +4 -4
  99. package/models/operations/retrievedataset.js +1 -1
  100. package/models/operations/retrievedatasource.js +1 -1
  101. package/models/operations/retrievetool.js +6 -6
  102. package/models/operations/runagent.js +1 -1
  103. package/models/operations/streamrunagent.js +1 -1
  104. package/models/operations/updatedatapoint.js +4 -4
  105. package/models/operations/updatedataset.js +1 -1
  106. package/models/operations/updatedatasource.js +1 -1
  107. package/models/operations/updateprompt.d.ts +3 -0
  108. package/models/operations/updateprompt.d.ts.map +1 -1
  109. package/models/operations/updateprompt.js +3 -0
  110. package/models/operations/updateprompt.js.map +1 -1
  111. package/models/operations/updatetool.js +7 -7
  112. package/package.json +6 -6
  113. package/packages/orq-rc/src/funcs/agentsResponsesCreate.ts +2 -0
  114. package/packages/orq-rc/src/funcs/agentsResponsesGet.ts +2 -0
  115. package/packages/orq-rc/src/funcs/modelsImportLitellm.ts +166 -0
  116. package/packages/orq-rc/src/funcs/modelsListLitellm.ts +144 -0
  117. package/packages/orq-rc/src/funcs/notifiersList.ts +2 -0
  118. package/packages/orq-rc/src/funcs/reportingQuery.ts +3 -1
  119. package/packages/orq-rc/src/funcs/telemetryQuery.ts +162 -0
  120. package/packages/orq-rc/src/funcs/tracesAggregate.ts +3 -1
  121. package/packages/orq-rc/src/lib/config.ts +3 -3
  122. package/packages/orq-rc/src/lib/http.ts +3 -1
  123. package/packages/orq-rc/src/lib/security.ts +10 -5
  124. package/packages/orq-rc/src/models/components/agentstartedstreamingevent.ts +6 -0
  125. package/packages/orq-rc/src/models/components/apikey.ts +6 -0
  126. package/packages/orq-rc/src/models/components/budget.ts +6 -0
  127. package/packages/orq-rc/src/models/components/budgetalert.ts +92 -0
  128. package/packages/orq-rc/src/models/components/budgetalertdimension.ts +22 -0
  129. package/packages/orq-rc/src/models/components/config.ts +44 -0
  130. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +14 -0
  131. package/packages/orq-rc/src/models/components/evaluatorresponsefunction.ts +2 -2
  132. package/packages/orq-rc/src/models/components/evaluatorresponsehttp.ts +2 -2
  133. package/packages/orq-rc/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  134. package/packages/orq-rc/src/models/components/evaluatorresponsellm.ts +2 -2
  135. package/packages/orq-rc/src/models/components/evaluatorresponsepython.ts +2 -2
  136. package/packages/orq-rc/src/models/components/evaluatorresponseragas.ts +2 -2
  137. package/packages/orq-rc/src/models/components/evaluatorresponsetypescript.ts +2 -2
  138. package/packages/orq-rc/src/models/components/filepurpose.ts +1 -0
  139. package/packages/orq-rc/src/models/components/identity.ts +6 -0
  140. package/packages/orq-rc/src/models/components/index.ts +11 -0
  141. package/packages/orq-rc/src/models/components/litellmmodel.ts +50 -0
  142. package/packages/orq-rc/src/models/components/litellmmodelinfo.ts +97 -0
  143. package/packages/orq-rc/src/models/components/litellmparams.ts +43 -0
  144. package/packages/orq-rc/src/models/components/modeldocument.ts +115 -0
  145. package/packages/orq-rc/src/models/components/modelsconfig.ts +1 -0
  146. package/packages/orq-rc/src/models/components/querytelemetrymeta.ts +38 -0
  147. package/packages/orq-rc/src/models/components/querytelemetryrequest.ts +85 -0
  148. package/packages/orq-rc/src/models/components/querytelemetryresponse.ts +42 -0
  149. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  150. package/packages/orq-rc/src/models/components/telemetryrow.ts +42 -0
  151. package/packages/orq-rc/src/models/components/thinkingconfigenabledschema.ts +1 -0
  152. package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +21 -0
  153. package/packages/orq-rc/src/models/operations/createagentrequest.ts +127 -40
  154. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +1 -0
  155. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  156. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +237 -19
  157. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  158. package/packages/orq-rc/src/models/operations/createeval.ts +179 -175
  159. package/packages/orq-rc/src/models/operations/createknowledge.ts +18 -10
  160. package/packages/orq-rc/src/models/operations/createprompt.ts +6 -0
  161. package/packages/orq-rc/src/models/operations/createrouterresponse.ts +127 -26
  162. package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
  163. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +1 -0
  164. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +3 -0
  165. package/packages/orq-rc/src/models/operations/deployments.ts +4 -0
  166. package/packages/orq-rc/src/models/operations/deploymentstream.ts +3 -0
  167. package/packages/orq-rc/src/models/operations/getallmemories.ts +1 -1
  168. package/packages/orq-rc/src/models/operations/getallmemorydocuments.ts +1 -1
  169. package/packages/orq-rc/src/models/operations/getallmemorystores.ts +1 -1
  170. package/packages/orq-rc/src/models/operations/getallprompts.ts +6 -1
  171. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  172. package/packages/orq-rc/src/models/operations/getevals.ts +1 -1
  173. package/packages/orq-rc/src/models/operations/getoneprompt.ts +5 -0
  174. package/packages/orq-rc/src/models/operations/getpromptversion.ts +5 -0
  175. package/packages/orq-rc/src/models/operations/getv2evaluatorsidversions.ts +1 -1
  176. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  177. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  178. package/packages/orq-rc/src/models/operations/getv2toolstoolidversions.ts +1 -1
  179. package/packages/orq-rc/src/models/operations/invokeeval.ts +2 -2
  180. package/packages/orq-rc/src/models/operations/listagents.ts +8 -0
  181. package/packages/orq-rc/src/models/operations/listchunks.ts +1 -1
  182. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +314 -85
  183. package/packages/orq-rc/src/models/operations/listdatasets.ts +2 -2
  184. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  185. package/packages/orq-rc/src/models/operations/listpromptversions.ts +6 -1
  186. package/packages/orq-rc/src/models/operations/modelcreate.ts +2 -0
  187. package/packages/orq-rc/src/models/operations/modelcreateautorouter.ts +2 -0
  188. package/packages/orq-rc/src/models/operations/modelcreateawsbedrock.ts +2 -0
  189. package/packages/orq-rc/src/models/operations/modelcreateopenailike.ts +2 -0
  190. package/packages/orq-rc/src/models/operations/modelcreatevertex.ts +2 -0
  191. package/packages/orq-rc/src/models/operations/modelupdate.ts +2 -0
  192. package/packages/orq-rc/src/models/operations/modelupdateautorouter.ts +2 -0
  193. package/packages/orq-rc/src/models/operations/modelupdateawsbedrock.ts +2 -0
  194. package/packages/orq-rc/src/models/operations/modelupdateopenailike.ts +2 -0
  195. package/packages/orq-rc/src/models/operations/notifierlist.ts +13 -0
  196. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  197. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +119 -11
  198. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  199. package/packages/orq-rc/src/models/operations/retrieveagentrequest.ts +8 -0
  200. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +234 -9
  201. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  202. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  203. package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
  204. package/packages/orq-rc/src/models/operations/runagent.ts +95 -33
  205. package/packages/orq-rc/src/models/operations/streamrunagent.ts +101 -33
  206. package/packages/orq-rc/src/models/operations/updateagent.ts +129 -40
  207. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +229 -9
  208. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  209. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  210. package/packages/orq-rc/src/models/operations/updateprompt.ts +6 -0
  211. package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
  212. package/packages/orq-rc/src/sdk/feedback.ts +2 -2
  213. package/packages/orq-rc/src/sdk/humanreviewsets.ts +4 -1
  214. package/packages/orq-rc/src/sdk/models.ts +35 -0
  215. package/packages/orq-rc/src/sdk/orqresponses.ts +4 -0
  216. package/packages/orq-rc/src/sdk/reporting.ts +3 -1
  217. package/packages/orq-rc/src/sdk/sdk.ts +6 -0
  218. package/packages/orq-rc/src/sdk/telemetry.ts +27 -0
  219. package/packages/orq-rc/src/sdk/traces.ts +3 -1
  220. package/sdk/feedback.d.ts +2 -2
  221. package/sdk/feedback.js +2 -2
  222. package/sdk/models.d.ts +17 -0
  223. package/sdk/models.d.ts.map +1 -1
  224. package/sdk/models.js +20 -0
  225. package/sdk/models.js.map +1 -1
  226. package/src/funcs/modelsImportLitellm.ts +166 -0
  227. package/src/funcs/modelsListLitellm.ts +144 -0
  228. package/src/lib/config.ts +3 -3
  229. package/src/lib/http.ts +3 -1
  230. package/src/lib/security.ts +10 -5
  231. package/src/models/components/evaluatorresponsefunction.ts +2 -2
  232. package/src/models/components/evaluatorresponsehttp.ts +2 -2
  233. package/src/models/components/evaluatorresponsejsonschema.ts +2 -2
  234. package/src/models/components/evaluatorresponsellm.ts +2 -2
  235. package/src/models/components/evaluatorresponsepython.ts +2 -2
  236. package/src/models/components/evaluatorresponseragas.ts +2 -2
  237. package/src/models/components/evaluatorresponsetypescript.ts +2 -2
  238. package/src/models/components/index.ts +4 -0
  239. package/src/models/components/litellmmodel.ts +50 -0
  240. package/src/models/components/litellmmodelinfo.ts +97 -0
  241. package/src/models/components/litellmparams.ts +43 -0
  242. package/src/models/components/modeldocument.ts +112 -0
  243. package/src/models/components/reasoningpart.ts +1 -1
  244. package/src/models/operations/createdataset.ts +1 -1
  245. package/src/models/operations/createdatasetitem.ts +4 -4
  246. package/src/models/operations/createdatasource.ts +1 -1
  247. package/src/models/operations/createprompt.ts +3 -0
  248. package/src/models/operations/createtool.ts +6 -6
  249. package/src/models/operations/deploymentinvoke.ts +3 -0
  250. package/src/models/operations/deployments.ts +3 -0
  251. package/src/models/operations/deploymentstream.ts +3 -0
  252. package/src/models/operations/getallprompts.ts +3 -0
  253. package/src/models/operations/getalltools.ts +6 -6
  254. package/src/models/operations/getoneprompt.ts +3 -0
  255. package/src/models/operations/getpromptversion.ts +3 -0
  256. package/src/models/operations/getv2humanevalsets.ts +2 -2
  257. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  258. package/src/models/operations/invokeeval.ts +2 -2
  259. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  260. package/src/models/operations/listdatasets.ts +1 -1
  261. package/src/models/operations/listdatasources.ts +1 -1
  262. package/src/models/operations/listpromptversions.ts +3 -0
  263. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  264. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  265. package/src/models/operations/postv2humanevalsets.ts +2 -2
  266. package/src/models/operations/retrievedatapoint.ts +4 -4
  267. package/src/models/operations/retrievedataset.ts +1 -1
  268. package/src/models/operations/retrievedatasource.ts +1 -1
  269. package/src/models/operations/retrievetool.ts +6 -6
  270. package/src/models/operations/runagent.ts +1 -1
  271. package/src/models/operations/streamrunagent.ts +1 -1
  272. package/src/models/operations/updatedatapoint.ts +4 -4
  273. package/src/models/operations/updatedataset.ts +1 -1
  274. package/src/models/operations/updatedatasource.ts +1 -1
  275. package/src/models/operations/updateprompt.ts +3 -0
  276. package/src/models/operations/updatetool.ts +7 -7
  277. package/src/sdk/feedback.ts +2 -2
  278. package/src/sdk/models.ts +35 -0
@@ -11,7 +11,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
11
 
12
12
  export type ListDatasetsRequest = {
13
13
  /**
14
- * A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
14
+ * A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
15
15
  */
16
16
  limit?: number | undefined;
17
17
  /**
@@ -169,7 +169,7 @@ export const ListDatasetsData$inboundSchema: z.ZodType<
169
169
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
170
170
  .optional(),
171
171
  updated: z.string().datetime({ offset: true }).default(
172
- "2026-07-06T07:43:53.778Z",
172
+ "2026-07-16T11:02:21.951Z",
173
173
  ).transform(v => new Date(v)),
174
174
  }).transform((v) => {
175
175
  return remap$(v, {
@@ -182,7 +182,7 @@ export const ListDatasourcesData$inboundSchema: z.ZodType<
182
182
  z.ZodTypeDef,
183
183
  unknown
184
184
  > = z.object({
185
- _id: z.string().default("01KWV652VTJ3P18FZ8B3EKRSXV"),
185
+ _id: z.string().default("01KXN9FG8660100RJ56B9RXFCQ"),
186
186
  display_name: z.string(),
187
187
  description: z.nullable(z.string()).optional(),
188
188
  status: ListDatasourcesStatus$inboundSchema,
@@ -13,7 +13,7 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
13
13
  export type ListPromptVersionsRequest = {
14
14
  promptId: string;
15
15
  /**
16
- * A limit on the number of objects to be returned. Limit can range between 1 and 50, and the default is 10
16
+ * A limit on the number of objects to be returned. Limit can range between 1 and 200, and the default is 10
17
17
  */
18
18
  limit?: number | undefined;
19
19
  /**
@@ -295,6 +295,7 @@ export type ListPromptVersionsVerbosity = ClosedEnum<
295
295
  * The level of thinking to use for the model. Only supported by `Google AI`
296
296
  */
297
297
  export const ListPromptVersionsThinkingLevel = {
298
+ Minimal: "minimal",
298
299
  Low: "low",
299
300
  Medium: "medium",
300
301
  High: "high",
@@ -425,6 +426,7 @@ export const ListPromptVersionsProvider = {
425
426
  Nvidia: "nvidia",
426
427
  Jina: "jina",
427
428
  Elevenlabs: "elevenlabs",
429
+ Litellm: "litellm",
428
430
  Cerebras: "cerebras",
429
431
  Openailike: "openailike",
430
432
  Bytedance: "bytedance",
@@ -442,6 +444,8 @@ export const ListPromptVersionsProvider = {
442
444
  Wafer: "wafer",
443
445
  Poolside: "poolside",
444
446
  Tencent: "tencent",
447
+ Nebius: "nebius",
448
+ Reson8: "reson8",
445
449
  Slack: "slack",
446
450
  Orq: "orq",
447
451
  } as const;
@@ -822,6 +826,7 @@ export type ListPromptVersionsModalities = ClosedEnum<
822
826
  */
823
827
  export const ListPromptVersionsId1 = {
824
828
  OrqPiiDetection: "orq_pii_detection",
829
+ OrqSecretDetection: "orq_secret_detection",
825
830
  OrqSexualModeration: "orq_sexual_moderation",
826
831
  OrqHarmfulModeration: "orq_harmful_moderation",
827
832
  } as const;
@@ -55,6 +55,7 @@ export type ModelCreateResponseBody = {
55
55
  pricingUrl: string | null;
56
56
  provider: string;
57
57
  refId: string;
58
+ sharing?: components.Config | undefined;
58
59
  updated: Date;
59
60
  };
60
61
 
@@ -151,6 +152,7 @@ export const ModelCreateResponseBody$inboundSchema: z.ZodType<
151
152
  pricing_url: z.nullable(z.string()),
152
153
  provider: z.string(),
153
154
  refId: z.string(),
155
+ sharing: components.Config$inboundSchema.optional(),
154
156
  updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
155
157
  }).transform((v) => {
156
158
  return remap$(v, {
@@ -46,6 +46,7 @@ export type ModelCreateAutorouterResponseBody = {
46
46
  pricingUrl: string | null;
47
47
  provider: string;
48
48
  refId: string;
49
+ sharing?: components.Config | undefined;
49
50
  updated: Date;
50
51
  };
51
52
 
@@ -118,6 +119,7 @@ export const ModelCreateAutorouterResponseBody$inboundSchema: z.ZodType<
118
119
  pricing_url: z.nullable(z.string()),
119
120
  provider: z.string(),
120
121
  refId: z.string(),
122
+ sharing: components.Config$inboundSchema.optional(),
121
123
  updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
122
124
  }).transform((v) => {
123
125
  return remap$(v, {
@@ -67,6 +67,7 @@ export type ModelCreateAwsBedrockResponseBody = {
67
67
  pricingUrl: string | null;
68
68
  provider: string;
69
69
  refId: string;
70
+ sharing?: components.Config | undefined;
70
71
  updated: Date;
71
72
  };
72
73
 
@@ -201,6 +202,7 @@ export const ModelCreateAwsBedrockResponseBody$inboundSchema: z.ZodType<
201
202
  pricing_url: z.nullable(z.string()),
202
203
  provider: z.string(),
203
204
  refId: z.string(),
205
+ sharing: components.Config$inboundSchema.optional(),
204
206
  updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
205
207
  }).transform((v) => {
206
208
  return remap$(v, {
@@ -59,6 +59,7 @@ export type ModelCreateOpenAILikeResponseBody = {
59
59
  pricingUrl: string | null;
60
60
  provider: string;
61
61
  refId: string;
62
+ sharing?: components.Config | undefined;
62
63
  updated: Date;
63
64
  };
64
65
 
@@ -169,6 +170,7 @@ export const ModelCreateOpenAILikeResponseBody$inboundSchema: z.ZodType<
169
170
  pricing_url: z.nullable(z.string()),
170
171
  provider: z.string(),
171
172
  refId: z.string(),
173
+ sharing: components.Config$inboundSchema.optional(),
172
174
  updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
173
175
  }).transform((v) => {
174
176
  return remap$(v, {
@@ -44,6 +44,7 @@ export type ModelCreateVertexResponseBody = {
44
44
  pricingUrl: string | null;
45
45
  provider: string;
46
46
  refId: string;
47
+ sharing?: components.Config | undefined;
47
48
  updated: Date;
48
49
  };
49
50
 
@@ -111,6 +112,7 @@ export const ModelCreateVertexResponseBody$inboundSchema: z.ZodType<
111
112
  pricing_url: z.nullable(z.string()),
112
113
  provider: z.string(),
113
114
  refId: z.string(),
115
+ sharing: components.Config$inboundSchema.optional(),
114
116
  updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
115
117
  }).transform((v) => {
116
118
  return remap$(v, {
@@ -57,6 +57,7 @@ export type ModelUpdateResponseBody = {
57
57
  pricingUrl: string | null;
58
58
  provider: string;
59
59
  refId: string;
60
+ sharing?: components.Config | undefined;
60
61
  updated: Date;
61
62
  };
62
63
 
@@ -165,6 +166,7 @@ export const ModelUpdateResponseBody$inboundSchema: z.ZodType<
165
166
  pricing_url: z.nullable(z.string()),
166
167
  provider: z.string(),
167
168
  refId: z.string(),
169
+ sharing: components.Config$inboundSchema.optional(),
168
170
  updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
169
171
  }).transform((v) => {
170
172
  return remap$(v, {
@@ -54,6 +54,7 @@ export type ModelUpdateAutorouterResponseBody = {
54
54
  pricingUrl: string | null;
55
55
  provider: string;
56
56
  refId: string;
57
+ sharing?: components.Config | undefined;
57
58
  updated: Date;
58
59
  };
59
60
 
@@ -156,6 +157,7 @@ export const ModelUpdateAutorouterResponseBody$inboundSchema: z.ZodType<
156
157
  pricing_url: z.nullable(z.string()),
157
158
  provider: z.string(),
158
159
  refId: z.string(),
160
+ sharing: components.Config$inboundSchema.optional(),
159
161
  updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
160
162
  }).transform((v) => {
161
163
  return remap$(v, {
@@ -72,6 +72,7 @@ export type ModelUpdateAwsBedrockResponseBody = {
72
72
  pricingUrl: string | null;
73
73
  provider: string;
74
74
  refId: string;
75
+ sharing?: components.Config | undefined;
75
76
  updated: Date;
76
77
  };
77
78
 
@@ -227,6 +228,7 @@ export const ModelUpdateAwsBedrockResponseBody$inboundSchema: z.ZodType<
227
228
  pricing_url: z.nullable(z.string()),
228
229
  provider: z.string(),
229
230
  refId: z.string(),
231
+ sharing: components.Config$inboundSchema.optional(),
230
232
  updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
231
233
  }).transform((v) => {
232
234
  return remap$(v, {
@@ -66,6 +66,7 @@ export type ModelUpdateOpenAILikeResponseBody = {
66
66
  pricingUrl: string | null;
67
67
  provider: string;
68
68
  refId: string;
69
+ sharing?: components.Config | undefined;
69
70
  updated: Date;
70
71
  };
71
72
 
@@ -203,6 +204,7 @@ export const ModelUpdateOpenAILikeResponseBody$inboundSchema: z.ZodType<
203
204
  pricing_url: z.nullable(z.string()),
204
205
  provider: z.string(),
205
206
  refId: z.string(),
207
+ sharing: components.Config$inboundSchema.optional(),
206
208
  updated: z.string().datetime({ offset: true }).transform(v => new Date(v)),
207
209
  }).transform((v) => {
208
210
  return remap$(v, {
@@ -4,6 +4,7 @@
4
4
 
5
5
  import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
+ import * as components from "../components/index.js";
7
8
 
8
9
  export type NotifierListRequest = {
9
10
  /**
@@ -22,6 +23,14 @@ export type NotifierListRequest = {
22
23
  * Restrict results to one project. Must be a project the caller is authorized for.
23
24
  */
24
25
  projectId?: string | undefined;
26
+ /**
27
+ * Optional. Case-insensitive substring match on the notifier name.
28
+ */
29
+ search?: string | undefined;
30
+ /**
31
+ * Optional. Restrict results to these notifier types.
32
+ */
33
+ type?: Array<components.NotifierType> | undefined;
25
34
  };
26
35
 
27
36
  /** @internal */
@@ -30,6 +39,8 @@ export type NotifierListRequest$Outbound = {
30
39
  starting_after?: string | undefined;
31
40
  ending_before?: string | undefined;
32
41
  project_id?: string | undefined;
42
+ search?: string | undefined;
43
+ type?: Array<string> | undefined;
33
44
  };
34
45
 
35
46
  /** @internal */
@@ -42,6 +53,8 @@ export const NotifierListRequest$outboundSchema: z.ZodType<
42
53
  startingAfter: z.string().optional(),
43
54
  endingBefore: z.string().optional(),
44
55
  projectId: z.string().optional(),
56
+ search: z.string().optional(),
57
+ type: z.array(components.NotifierType$outboundSchema).optional(),
45
58
  }).transform((v) => {
46
59
  return remap$(v, {
47
60
  startingAfter: "starting_after",
@@ -318,7 +318,7 @@ export const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
318
318
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
319
319
  .optional(),
320
320
  updated: z.string().datetime({ offset: true }).default(
321
- "2026-07-06T07:43:53.778Z",
321
+ "2026-07-16T11:02:21.951Z",
322
322
  ).transform(v => new Date(v)),
323
323
  filter_type: z.literal("name"),
324
324
  filter_value: z.string(),
@@ -364,7 +364,7 @@ export const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
364
364
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
365
365
  .optional(),
366
366
  updated: z.string().datetime({ offset: true }).default(
367
- "2026-07-06T07:43:53.778Z",
367
+ "2026-07-16T11:02:21.951Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -6,6 +6,54 @@ import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { ClosedEnum } from "../../types/enums.js";
8
8
 
9
+ /**
10
+ * The type of evaluation
11
+ */
12
+ export const PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType = {
13
+ HumanReview: "human_review",
14
+ } as const;
15
+ /**
16
+ * The type of evaluation
17
+ */
18
+ export type PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType =
19
+ ClosedEnum<typeof PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType>;
20
+
21
+ export const PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource = {
22
+ Orq: "orq",
23
+ External: "external",
24
+ } as const;
25
+ export type PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource =
26
+ ClosedEnum<typeof PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource>;
27
+
28
+ export type RequestBody4 = {
29
+ /**
30
+ * The unique identifier of the human evaluation
31
+ */
32
+ id: string;
33
+ /**
34
+ * The type of evaluation
35
+ */
36
+ evaluationType: PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType;
37
+ /**
38
+ * The unique identifier of the human review. Omitted on corrections, which inherit the parent evaluator output schema.
39
+ */
40
+ humanReviewId?: string | undefined;
41
+ source?: PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource | undefined;
42
+ /**
43
+ * Optional free-text explanation of the value
44
+ */
45
+ explanation?: string | undefined;
46
+ /**
47
+ * Deprecated. The date and time the item was reviewed
48
+ *
49
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
50
+ */
51
+ reviewedAt?: Date | undefined;
52
+ type: "string_array";
53
+ values: Array<string>;
54
+ traceId: string;
55
+ };
56
+
9
57
  /**
10
58
  * The type of evaluation
11
59
  */
@@ -51,8 +99,8 @@ export type RequestBody3 = {
51
99
  * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
52
100
  */
53
101
  reviewedAt?: Date | undefined;
54
- type: "string_array";
55
- values: Array<string>;
102
+ type: "boolean";
103
+ value: boolean;
56
104
  traceId: string;
57
105
  };
58
106
 
@@ -155,7 +203,65 @@ export type PostV2FeedbackEvaluationRequestBody1 = {
155
203
  export type PostV2FeedbackEvaluationRequestBody =
156
204
  | PostV2FeedbackEvaluationRequestBody1
157
205
  | PostV2FeedbackEvaluationRequestBody2
158
- | RequestBody3;
206
+ | RequestBody3
207
+ | RequestBody4;
208
+
209
+ /** @internal */
210
+ export const PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType$outboundSchema:
211
+ z.ZodNativeEnum<
212
+ typeof PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType
213
+ > = z.nativeEnum(PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType);
214
+
215
+ /** @internal */
216
+ export const PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema:
217
+ z.ZodNativeEnum<
218
+ typeof PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource
219
+ > = z.nativeEnum(PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource);
220
+
221
+ /** @internal */
222
+ export type RequestBody4$Outbound = {
223
+ id: string;
224
+ evaluation_type: string;
225
+ human_review_id?: string | undefined;
226
+ source: string;
227
+ explanation?: string | undefined;
228
+ reviewed_at: string;
229
+ type: "string_array";
230
+ values: Array<string>;
231
+ trace_id: string;
232
+ };
233
+
234
+ /** @internal */
235
+ export const RequestBody4$outboundSchema: z.ZodType<
236
+ RequestBody4$Outbound,
237
+ z.ZodTypeDef,
238
+ RequestBody4
239
+ > = z.object({
240
+ id: z.string(),
241
+ evaluationType:
242
+ PostV2FeedbackEvaluationRequestBodyFeedbackEvaluationType$outboundSchema,
243
+ humanReviewId: z.string().optional(),
244
+ source:
245
+ PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
246
+ .default("orq"),
247
+ explanation: z.string().optional(),
248
+ reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.349Z"))
249
+ .transform(v => v.toISOString()),
250
+ type: z.literal("string_array"),
251
+ values: z.array(z.string()),
252
+ traceId: z.string(),
253
+ }).transform((v) => {
254
+ return remap$(v, {
255
+ evaluationType: "evaluation_type",
256
+ humanReviewId: "human_review_id",
257
+ reviewedAt: "reviewed_at",
258
+ traceId: "trace_id",
259
+ });
260
+ });
261
+
262
+ export function requestBody4ToJSON(requestBody4: RequestBody4): string {
263
+ return JSON.stringify(RequestBody4$outboundSchema.parse(requestBody4));
264
+ }
159
265
 
160
266
  /** @internal */
161
267
  export const PostV2FeedbackEvaluationRequestBodyEvaluationType$outboundSchema:
@@ -175,8 +281,8 @@ export type RequestBody3$Outbound = {
175
281
  source: string;
176
282
  explanation?: string | undefined;
177
283
  reviewed_at: string;
178
- type: "string_array";
179
- values: Array<string>;
284
+ type: "boolean";
285
+ value: boolean;
180
286
  trace_id: string;
181
287
  };
182
288
 
@@ -193,10 +299,10 @@ export const RequestBody3$outboundSchema: z.ZodType<
193
299
  source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
194
300
  .default("orq"),
195
301
  explanation: z.string().optional(),
196
- reviewedAt: z.date().default(() => new Date("2026-07-06T07:44:16.023Z"))
302
+ reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.348Z"))
197
303
  .transform(v => v.toISOString()),
198
- type: z.literal("string_array"),
199
- values: z.array(z.string()),
304
+ type: z.literal("boolean"),
305
+ value: z.boolean(),
200
306
  traceId: z.string(),
201
307
  }).transform((v) => {
202
308
  return remap$(v, {
@@ -247,7 +353,7 @@ export const PostV2FeedbackEvaluationRequestBody2$outboundSchema: z.ZodType<
247
353
  "orq",
248
354
  ),
249
355
  explanation: z.string().optional(),
250
- reviewedAt: z.date().default(() => new Date("2026-07-06T07:44:16.022Z"))
356
+ reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.347Z"))
251
357
  .transform(v => v.toISOString()),
252
358
  type: z.literal("number"),
253
359
  value: z.number(),
@@ -305,7 +411,7 @@ export const PostV2FeedbackEvaluationRequestBody1$outboundSchema: z.ZodType<
305
411
  humanReviewId: z.string().optional(),
306
412
  source: RequestBodySource$outboundSchema.default("orq"),
307
413
  explanation: z.string().optional(),
308
- reviewedAt: z.date().default(() => new Date("2026-07-06T07:44:16.021Z"))
414
+ reviewedAt: z.date().default(() => new Date("2026-07-16T11:02:38.347Z"))
309
415
  .transform(v => v.toISOString()),
310
416
  type: z.literal("string"),
311
417
  value: z.string(),
@@ -333,7 +439,8 @@ export function postV2FeedbackEvaluationRequestBody1ToJSON(
333
439
  export type PostV2FeedbackEvaluationRequestBody$Outbound =
334
440
  | PostV2FeedbackEvaluationRequestBody1$Outbound
335
441
  | PostV2FeedbackEvaluationRequestBody2$Outbound
336
- | RequestBody3$Outbound;
442
+ | RequestBody3$Outbound
443
+ | RequestBody4$Outbound;
337
444
 
338
445
  /** @internal */
339
446
  export const PostV2FeedbackEvaluationRequestBody$outboundSchema: z.ZodType<
@@ -344,6 +451,7 @@ export const PostV2FeedbackEvaluationRequestBody$outboundSchema: z.ZodType<
344
451
  z.lazy(() => PostV2FeedbackEvaluationRequestBody1$outboundSchema),
345
452
  z.lazy(() => PostV2FeedbackEvaluationRequestBody2$outboundSchema),
346
453
  z.lazy(() => RequestBody3$outboundSchema),
454
+ z.lazy(() => RequestBody4$outboundSchema),
347
455
  ]);
348
456
 
349
457
  export function postV2FeedbackEvaluationRequestBodyToJSON(
@@ -271,7 +271,7 @@ export const PostV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
271
271
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
272
272
  .optional(),
273
273
  updated: z.string().datetime({ offset: true }).default(
274
- "2026-07-06T07:43:53.778Z",
274
+ "2026-07-16T11:02:21.951Z",
275
275
  ).transform(v => new Date(v)),
276
276
  filter_type: z.literal("name"),
277
277
  filter_value: z.string(),
@@ -316,7 +316,7 @@ export const PostV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
316
316
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
317
317
  .optional(),
318
318
  updated: z.string().datetime({ offset: true }).default(
319
- "2026-07-06T07:43:53.778Z",
319
+ "2026-07-16T11:02:21.951Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -223,6 +223,10 @@ export type RetrieveAgentRequestSettings = {
223
223
  * If all, the agent will require approval for all tools. If respect_tool, the agent will require approval for tools that have the requires_approval flag set to true. If none, the agent will not require approval for any tools.
224
224
  */
225
225
  toolApprovalRequired: RetrieveAgentRequestToolApprovalRequired;
226
+ /**
227
+ * When enabled, this agent is exposed as a selectable target in AI Chat for users to consume.
228
+ */
229
+ chatExposed?: boolean | undefined;
226
230
  tools?: Array<RetrieveAgentRequestTools> | undefined;
227
231
  /**
228
232
  * Configuration for an evaluator applied to the agent
@@ -392,6 +396,7 @@ export type RetrieveAgentRequestModalities = ClosedEnum<
392
396
  */
393
397
  export const RetrieveAgentRequestId1 = {
394
398
  OrqPiiDetection: "orq_pii_detection",
399
+ OrqSecretDetection: "orq_secret_detection",
395
400
  OrqSexualModeration: "orq_sexual_moderation",
396
401
  OrqHarmfulModeration: "orq_harmful_moderation",
397
402
  } as const;
@@ -864,6 +869,7 @@ export type RetrieveAgentRequestFallbackModelConfigurationModalities =
864
869
  */
865
870
  export const RetrieveAgentRequestIdAgents1 = {
866
871
  OrqPiiDetection: "orq_pii_detection",
872
+ OrqSecretDetection: "orq_secret_detection",
867
873
  OrqSexualModeration: "orq_sexual_moderation",
868
874
  OrqHarmfulModeration: "orq_harmful_moderation",
869
875
  } as const;
@@ -1559,6 +1565,7 @@ export const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<
1559
1565
  max_cost: z.number().default(0),
1560
1566
  tool_approval_required: RetrieveAgentRequestToolApprovalRequired$inboundSchema
1561
1567
  .default("respect_tool"),
1568
+ chat_exposed: z.boolean().optional(),
1562
1569
  tools: z.array(z.lazy(() => RetrieveAgentRequestTools$inboundSchema))
1563
1570
  .optional(),
1564
1571
  evaluators: z.array(
@@ -1573,6 +1580,7 @@ export const RetrieveAgentRequestSettings$inboundSchema: z.ZodType<
1573
1580
  "max_execution_time": "maxExecutionTime",
1574
1581
  "max_cost": "maxCost",
1575
1582
  "tool_approval_required": "toolApprovalRequired",
1583
+ "chat_exposed": "chatExposed",
1576
1584
  });
1577
1585
  });
1578
1586