@orq-ai/node 4.16.1 → 4.16.3

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 (242) hide show
  1. package/README.md +5 -3
  2. package/funcs/routerClassifyCreate.d.ts +10 -2
  3. package/funcs/routerClassifyCreate.d.ts.map +1 -1
  4. package/funcs/routerClassifyCreate.js +10 -2
  5. package/funcs/routerClassifyCreate.js.map +1 -1
  6. package/funcs/routerDecisionsCreate.d.ts +10 -2
  7. package/funcs/routerDecisionsCreate.d.ts.map +1 -1
  8. package/funcs/routerDecisionsCreate.js +11 -2
  9. package/funcs/routerDecisionsCreate.js.map +1 -1
  10. package/jsr.json +1 -1
  11. package/lib/config.d.ts +3 -3
  12. package/lib/config.js +3 -3
  13. package/models/components/classifycacheconfig.d.ts +33 -0
  14. package/models/components/classifycacheconfig.d.ts.map +1 -0
  15. package/models/components/classifycacheconfig.js +58 -0
  16. package/models/components/classifycacheconfig.js.map +1 -0
  17. package/models/components/classifytimeoutconfig.d.ts +15 -0
  18. package/models/components/classifytimeoutconfig.d.ts.map +1 -0
  19. package/models/components/classifytimeoutconfig.js +54 -0
  20. package/models/components/classifytimeoutconfig.js.map +1 -0
  21. package/models/components/environment.d.ts +1 -1
  22. package/models/components/index.d.ts +7 -0
  23. package/models/components/index.d.ts.map +1 -1
  24. package/models/components/index.js +7 -0
  25. package/models/components/index.js.map +1 -1
  26. package/models/components/reasoningpart.js +1 -1
  27. package/models/components/responsefunctioncallargumentsdonestreamevent.d.ts +4 -0
  28. package/models/components/responsefunctioncallargumentsdonestreamevent.d.ts.map +1 -1
  29. package/models/components/responsefunctioncallargumentsdonestreamevent.js +1 -0
  30. package/models/components/responsefunctioncallargumentsdonestreamevent.js.map +1 -1
  31. package/models/components/responseimagegenerationcallpartialimagestreamevent.d.ts +16 -0
  32. package/models/components/responseimagegenerationcallpartialimagestreamevent.d.ts.map +1 -1
  33. package/models/components/responseimagegenerationcallpartialimagestreamevent.js +5 -0
  34. package/models/components/responseimagegenerationcallpartialimagestreamevent.js.map +1 -1
  35. package/models/components/responsereasoningsummarypartaddedstreamevent.d.ts +4 -0
  36. package/models/components/responsereasoningsummarypartaddedstreamevent.d.ts.map +1 -1
  37. package/models/components/responsereasoningsummarypartaddedstreamevent.js +1 -0
  38. package/models/components/responsereasoningsummarypartaddedstreamevent.js.map +1 -1
  39. package/models/components/responsereasoningsummarypartdonestreamevent.d.ts +4 -0
  40. package/models/components/responsereasoningsummarypartdonestreamevent.d.ts.map +1 -1
  41. package/models/components/responsereasoningsummarypartdonestreamevent.js +1 -0
  42. package/models/components/responsereasoningsummarypartdonestreamevent.js.map +1 -1
  43. package/models/components/responseshellcallcommandaddedstreamevent.d.ts +35 -0
  44. package/models/components/responseshellcallcommandaddedstreamevent.d.ts.map +1 -0
  45. package/models/components/responseshellcallcommandaddedstreamevent.js +61 -0
  46. package/models/components/responseshellcallcommandaddedstreamevent.js.map +1 -0
  47. package/models/components/responseshellcallcommanddeltastreamevent.d.ts +39 -0
  48. package/models/components/responseshellcallcommanddeltastreamevent.d.ts.map +1 -0
  49. package/models/components/responseshellcallcommanddeltastreamevent.js +62 -0
  50. package/models/components/responseshellcallcommanddeltastreamevent.js.map +1 -0
  51. package/models/components/responseshellcallcommanddonestreamevent.d.ts +35 -0
  52. package/models/components/responseshellcallcommanddonestreamevent.d.ts.map +1 -0
  53. package/models/components/responseshellcallcommanddonestreamevent.js +61 -0
  54. package/models/components/responseshellcallcommanddonestreamevent.js.map +1 -0
  55. package/models/components/responseshellcalloutputcontentdeltastreamevent.d.ts +41 -0
  56. package/models/components/responseshellcalloutputcontentdeltastreamevent.d.ts.map +1 -0
  57. package/models/components/responseshellcalloutputcontentdeltastreamevent.js +63 -0
  58. package/models/components/responseshellcalloutputcontentdeltastreamevent.js.map +1 -0
  59. package/models/components/responseshellcalloutputcontentdonestreamevent.d.ts +38 -0
  60. package/models/components/responseshellcalloutputcontentdonestreamevent.d.ts.map +1 -0
  61. package/models/components/responseshellcalloutputcontentdonestreamevent.js +63 -0
  62. package/models/components/responseshellcalloutputcontentdonestreamevent.js.map +1 -0
  63. package/models/components/responsestreamevent.d.ts +6 -1
  64. package/models/components/responsestreamevent.d.ts.map +1 -1
  65. package/models/components/responsestreamevent.js +10 -0
  66. package/models/components/responsestreamevent.js.map +1 -1
  67. package/models/errors/createclassify.d.ts +23 -2
  68. package/models/errors/createclassify.d.ts.map +1 -1
  69. package/models/errors/createclassify.js +30 -2
  70. package/models/errors/createclassify.js.map +1 -1
  71. package/models/errors/createdecisions.d.ts +23 -2
  72. package/models/errors/createdecisions.d.ts.map +1 -1
  73. package/models/errors/createdecisions.js +30 -2
  74. package/models/errors/createdecisions.js.map +1 -1
  75. package/models/operations/createclassify.d.ts +4 -0
  76. package/models/operations/createclassify.d.ts.map +1 -1
  77. package/models/operations/createclassify.js +2 -0
  78. package/models/operations/createclassify.js.map +1 -1
  79. package/models/operations/createdecisions.d.ts +4 -0
  80. package/models/operations/createdecisions.d.ts.map +1 -1
  81. package/models/operations/createdecisions.js +2 -0
  82. package/models/operations/createdecisions.js.map +1 -1
  83. package/models/operations/createprompt.d.ts +2 -0
  84. package/models/operations/createprompt.d.ts.map +1 -1
  85. package/models/operations/createprompt.js +2 -0
  86. package/models/operations/createprompt.js.map +1 -1
  87. package/models/operations/createtool.js +4 -4
  88. package/models/operations/deploymentinvoke.d.ts +2 -0
  89. package/models/operations/deploymentinvoke.d.ts.map +1 -1
  90. package/models/operations/deploymentinvoke.js +2 -0
  91. package/models/operations/deploymentinvoke.js.map +1 -1
  92. package/models/operations/deployments.d.ts +2 -0
  93. package/models/operations/deployments.d.ts.map +1 -1
  94. package/models/operations/deployments.js +2 -0
  95. package/models/operations/deployments.js.map +1 -1
  96. package/models/operations/deploymentstream.d.ts +2 -0
  97. package/models/operations/deploymentstream.d.ts.map +1 -1
  98. package/models/operations/deploymentstream.js +2 -0
  99. package/models/operations/deploymentstream.js.map +1 -1
  100. package/models/operations/getallprompts.d.ts +2 -0
  101. package/models/operations/getallprompts.d.ts.map +1 -1
  102. package/models/operations/getallprompts.js +2 -0
  103. package/models/operations/getallprompts.js.map +1 -1
  104. package/models/operations/getalltools.js +4 -4
  105. package/models/operations/getoneprompt.d.ts +2 -0
  106. package/models/operations/getoneprompt.d.ts.map +1 -1
  107. package/models/operations/getoneprompt.js +2 -0
  108. package/models/operations/getoneprompt.js.map +1 -1
  109. package/models/operations/getpromptversion.d.ts +2 -0
  110. package/models/operations/getpromptversion.d.ts.map +1 -1
  111. package/models/operations/getpromptversion.js +2 -0
  112. package/models/operations/getpromptversion.js.map +1 -1
  113. package/models/operations/getv2humanevalsets.js +2 -2
  114. package/models/operations/getv2humanevalsetsid.js +2 -2
  115. package/models/operations/listpromptversions.d.ts +2 -0
  116. package/models/operations/listpromptversions.d.ts.map +1 -1
  117. package/models/operations/listpromptversions.js +2 -0
  118. package/models/operations/listpromptversions.js.map +1 -1
  119. package/models/operations/patchv2humanevalsetsid.js +2 -2
  120. package/models/operations/postv2feedbackevaluation.js +4 -4
  121. package/models/operations/postv2humanevalsets.js +2 -2
  122. package/models/operations/retrievetool.js +4 -4
  123. package/models/operations/runagent.js +1 -1
  124. package/models/operations/streamrunagent.js +1 -1
  125. package/models/operations/updateprompt.d.ts +2 -0
  126. package/models/operations/updateprompt.d.ts.map +1 -1
  127. package/models/operations/updateprompt.js +2 -0
  128. package/models/operations/updateprompt.js.map +1 -1
  129. package/models/operations/updatetool.js +4 -4
  130. package/package.json +3 -3
  131. package/packages/orq-rc/src/funcs/responsesCompact.ts +1 -1
  132. package/packages/orq-rc/src/funcs/routerClassifyCreate.ts +20 -1
  133. package/packages/orq-rc/src/funcs/routerDecisionsCreate.ts +17 -1
  134. package/packages/orq-rc/src/funcs/routerModerationsCreate.ts +1 -1
  135. package/packages/orq-rc/src/lib/config.ts +3 -3
  136. package/packages/orq-rc/src/models/components/classifycacheconfig.ts +59 -0
  137. package/packages/orq-rc/src/models/components/classifytimeoutconfig.ts +39 -0
  138. package/packages/orq-rc/src/models/components/environment.ts +1 -1
  139. package/packages/orq-rc/src/models/components/filecontentpartschema.ts +12 -3
  140. package/packages/orq-rc/src/models/components/index.ts +8 -1
  141. package/packages/orq-rc/src/models/components/invokedeploymentrequest.ts +2 -2
  142. package/packages/orq-rc/src/models/components/mcpgatewayplugin.ts +16 -0
  143. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  144. package/packages/orq-rc/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +5 -0
  145. package/packages/orq-rc/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +21 -0
  146. package/packages/orq-rc/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +5 -0
  147. package/packages/orq-rc/src/models/components/responsereasoningsummarypartdonestreamevent.ts +5 -0
  148. package/packages/orq-rc/src/models/components/responseshellcallcommandaddedstreamevent.ts +78 -0
  149. package/packages/orq-rc/src/models/components/responseshellcallcommanddeltastreamevent.ts +83 -0
  150. package/packages/orq-rc/src/models/components/responseshellcallcommanddonestreamevent.ts +78 -0
  151. package/packages/orq-rc/src/models/components/responseshellcalloutputcontentdeltastreamevent.ts +85 -0
  152. package/packages/orq-rc/src/models/components/responseshellcalloutputcontentdonestreamevent.ts +82 -0
  153. package/packages/orq-rc/src/models/components/responsestreamevent.ts +30 -0
  154. package/packages/orq-rc/src/models/components/routingruleplugin.ts +22 -0
  155. package/packages/orq-rc/src/models/components/signalscheck.ts +51 -0
  156. package/packages/orq-rc/src/models/components/updateworkspacerequest.ts +4 -0
  157. package/packages/orq-rc/src/models/errors/createclassify.ts +54 -2
  158. package/packages/orq-rc/src/models/errors/createdecisions.ts +54 -2
  159. package/packages/orq-rc/src/models/errors/createmoderation.ts +2 -2
  160. package/packages/orq-rc/src/models/operations/compactresponse.ts +4 -4
  161. package/packages/orq-rc/src/models/operations/createchatcompletion.ts +1 -1
  162. package/packages/orq-rc/src/models/operations/createclassify.ts +6 -0
  163. package/packages/orq-rc/src/models/operations/createdecisions.ts +6 -0
  164. package/packages/orq-rc/src/models/operations/createmoderation.ts +3 -3
  165. package/packages/orq-rc/src/models/operations/createprompt.ts +4 -2
  166. package/packages/orq-rc/src/models/operations/createtool.ts +4 -4
  167. package/packages/orq-rc/src/models/operations/deploymentgetconfig.ts +2 -2
  168. package/packages/orq-rc/src/models/operations/deploymentinvoke.ts +2 -0
  169. package/packages/orq-rc/src/models/operations/deployments.ts +2 -0
  170. package/packages/orq-rc/src/models/operations/deploymentstream.ts +4 -2
  171. package/packages/orq-rc/src/models/operations/getallprompts.ts +3 -1
  172. package/packages/orq-rc/src/models/operations/getalltools.ts +4 -4
  173. package/packages/orq-rc/src/models/operations/getoneprompt.ts +3 -1
  174. package/packages/orq-rc/src/models/operations/getpromptversion.ts +3 -1
  175. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  176. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  177. package/packages/orq-rc/src/models/operations/listpromptversions.ts +3 -1
  178. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  179. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +4 -4
  180. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  181. package/packages/orq-rc/src/models/operations/retrievetool.ts +4 -4
  182. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  183. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  184. package/packages/orq-rc/src/models/operations/tracesgetspan.ts +3 -0
  185. package/packages/orq-rc/src/models/operations/updateprompt.ts +4 -2
  186. package/packages/orq-rc/src/models/operations/updatetool.ts +4 -4
  187. package/packages/orq-rc/src/sdk/classify.ts +13 -1
  188. package/packages/orq-rc/src/sdk/decisions.ts +9 -1
  189. package/packages/orq-rc/src/sdk/responses.ts +1 -1
  190. package/sdk/classify.d.ts +9 -1
  191. package/sdk/classify.d.ts.map +1 -1
  192. package/sdk/classify.js +9 -1
  193. package/sdk/classify.js.map +1 -1
  194. package/sdk/decisions.d.ts +9 -1
  195. package/sdk/decisions.d.ts.map +1 -1
  196. package/sdk/decisions.js +9 -1
  197. package/sdk/decisions.js.map +1 -1
  198. package/src/funcs/routerClassifyCreate.ts +16 -1
  199. package/src/funcs/routerDecisionsCreate.ts +17 -1
  200. package/src/lib/config.ts +3 -3
  201. package/src/models/components/classifycacheconfig.ts +59 -0
  202. package/src/models/components/classifytimeoutconfig.ts +39 -0
  203. package/src/models/components/environment.ts +1 -1
  204. package/src/models/components/index.ts +7 -0
  205. package/src/models/components/reasoningpart.ts +1 -1
  206. package/src/models/components/responsefunctioncallargumentsdonestreamevent.ts +5 -0
  207. package/src/models/components/responseimagegenerationcallpartialimagestreamevent.ts +21 -0
  208. package/src/models/components/responsereasoningsummarypartaddedstreamevent.ts +5 -0
  209. package/src/models/components/responsereasoningsummarypartdonestreamevent.ts +5 -0
  210. package/src/models/components/responseshellcallcommandaddedstreamevent.ts +78 -0
  211. package/src/models/components/responseshellcallcommanddeltastreamevent.ts +83 -0
  212. package/src/models/components/responseshellcallcommanddonestreamevent.ts +78 -0
  213. package/src/models/components/responseshellcalloutputcontentdeltastreamevent.ts +85 -0
  214. package/src/models/components/responseshellcalloutputcontentdonestreamevent.ts +82 -0
  215. package/src/models/components/responsestreamevent.ts +30 -0
  216. package/src/models/errors/createclassify.ts +54 -2
  217. package/src/models/errors/createdecisions.ts +54 -2
  218. package/src/models/operations/createclassify.ts +6 -0
  219. package/src/models/operations/createdecisions.ts +6 -0
  220. package/src/models/operations/createprompt.ts +2 -0
  221. package/src/models/operations/createtool.ts +4 -4
  222. package/src/models/operations/deploymentinvoke.ts +2 -0
  223. package/src/models/operations/deployments.ts +2 -0
  224. package/src/models/operations/deploymentstream.ts +2 -0
  225. package/src/models/operations/getallprompts.ts +2 -0
  226. package/src/models/operations/getalltools.ts +4 -4
  227. package/src/models/operations/getoneprompt.ts +2 -0
  228. package/src/models/operations/getpromptversion.ts +2 -0
  229. package/src/models/operations/getv2humanevalsets.ts +2 -2
  230. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  231. package/src/models/operations/listpromptversions.ts +2 -0
  232. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  233. package/src/models/operations/postv2feedbackevaluation.ts +4 -4
  234. package/src/models/operations/postv2humanevalsets.ts +2 -2
  235. package/src/models/operations/retrievetool.ts +4 -4
  236. package/src/models/operations/runagent.ts +1 -1
  237. package/src/models/operations/streamrunagent.ts +1 -1
  238. package/src/models/operations/updateprompt.ts +2 -0
  239. package/src/models/operations/updatetool.ts +4 -4
  240. package/src/sdk/classify.ts +9 -1
  241. package/src/sdk/decisions.ts +9 -1
  242. package/packages/orq-rc/src/models/components/publiccompactionitem.ts +0 -79
@@ -1575,7 +1575,7 @@ export const ResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1575
1575
  z.ZodTypeDef,
1576
1576
  unknown
1577
1577
  > = z.object({
1578
- _id: z.string().default("tool_01M4AT2CQ97JG9J6H42REYKRQC"),
1578
+ _id: z.string().default("tool_01M4RT71YK7V5SXQ1S0FGZ5JWZ"),
1579
1579
  path: z.string(),
1580
1580
  key: z.string(),
1581
1581
  display_name: z.string().optional(),
@@ -1761,7 +1761,7 @@ export const ResponseBodyHTTPTool$inboundSchema: z.ZodType<
1761
1761
  z.ZodTypeDef,
1762
1762
  unknown
1763
1763
  > = z.object({
1764
- _id: z.string().default("tool_01M4AT2CQ9P32A2N0C2RSB3BS2"),
1764
+ _id: z.string().default("tool_01M4RT71YK92XG7NMCWQM3WBCH"),
1765
1765
  path: z.string(),
1766
1766
  key: z.string(),
1767
1767
  display_name: z.string().optional(),
@@ -1854,7 +1854,7 @@ export const ResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
1854
1854
  z.ZodTypeDef,
1855
1855
  unknown
1856
1856
  > = z.object({
1857
- _id: z.string().default("tool_01M4AT2CQ87R7SS7W7T16496S5"),
1857
+ _id: z.string().default("tool_01M4RT71YJRCZ1DT934RRBZ4NJ"),
1858
1858
  path: z.string(),
1859
1859
  key: z.string(),
1860
1860
  display_name: z.string().optional(),
@@ -1955,7 +1955,7 @@ export const ResponseBodyFunctionTool$inboundSchema: z.ZodType<
1955
1955
  z.ZodTypeDef,
1956
1956
  unknown
1957
1957
  > = z.object({
1958
- _id: z.string().default("tool_01M4AT2CQ8SVP9RBEAV8DXQVMN"),
1958
+ _id: z.string().default("tool_01M4RT71YJ4B0HHQHNE2Q9MQSA"),
1959
1959
  path: z.string(),
1960
1960
  key: z.string(),
1961
1961
  display_name: z.string().optional(),
@@ -287,7 +287,7 @@ export type DeploymentGetConfig24 = {
287
287
  type: "file";
288
288
  cacheControl?: DeploymentGetConfig2CacheControl | undefined;
289
289
  /**
290
- * File data for the content part. Must contain either file_data or uri, but not both.
290
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
291
291
  */
292
292
  file: components.FileContentPartSchema;
293
293
  };
@@ -663,7 +663,7 @@ export type DeploymentGetConfig2Deployments4 = {
663
663
  type: "file";
664
664
  cacheControl?: DeploymentGetConfig2DeploymentsCacheControl | undefined;
665
665
  /**
666
- * File data for the content part. Must contain either file_data or uri, but not both.
666
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
667
667
  */
668
668
  file: components.FileContentPartSchema;
669
669
  };
@@ -66,8 +66,10 @@ export const DeploymentInvokeProvider = {
66
66
  Reson8: "reson8",
67
67
  Meta: "meta",
68
68
  Greenpt: "greenpt",
69
+ Liquid: "liquid",
69
70
  Typesafe: "typesafe",
70
71
  Berget: "berget",
72
+ Cloudflare: "cloudflare",
71
73
  Slack: "slack",
72
74
  Orq: "orq",
73
75
  } as const;
@@ -498,8 +498,10 @@ export const DeploymentsProvider = {
498
498
  Reson8: "reson8",
499
499
  Meta: "meta",
500
500
  Greenpt: "greenpt",
501
+ Liquid: "liquid",
501
502
  Typesafe: "typesafe",
502
503
  Berget: "berget",
504
+ Cloudflare: "cloudflare",
503
505
  Slack: "slack",
504
506
  Orq: "orq",
505
507
  } as const;
@@ -278,7 +278,7 @@ export type Four = {
278
278
  type: "file";
279
279
  cacheControl?: CacheControl | undefined;
280
280
  /**
281
- * File data for the content part. Must contain either file_data or uri, but not both.
281
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
282
282
  */
283
283
  file: components.FileContentPartSchema;
284
284
  };
@@ -646,7 +646,7 @@ export type Two4 = {
646
646
  type: "file";
647
647
  cacheControl?: TwoCacheControl | undefined;
648
648
  /**
649
- * File data for the content part. Must contain either file_data or uri, but not both.
649
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
650
650
  */
651
651
  file: components.FileContentPartSchema;
652
652
  };
@@ -1171,8 +1171,10 @@ export const DeploymentStreamProvider = {
1171
1171
  Reson8: "reson8",
1172
1172
  Meta: "meta",
1173
1173
  Greenpt: "greenpt",
1174
+ Liquid: "liquid",
1174
1175
  Typesafe: "typesafe",
1175
1176
  Berget: "berget",
1177
+ Cloudflare: "cloudflare",
1176
1178
  Slack: "slack",
1177
1179
  Orq: "orq",
1178
1180
  } as const;
@@ -449,8 +449,10 @@ export const GetAllPromptsProvider = {
449
449
  Reson8: "reson8",
450
450
  Meta: "meta",
451
451
  Greenpt: "greenpt",
452
+ Liquid: "liquid",
452
453
  Typesafe: "typesafe",
453
454
  Berget: "berget",
455
+ Cloudflare: "cloudflare",
454
456
  Slack: "slack",
455
457
  Orq: "orq",
456
458
  } as const;
@@ -1273,7 +1275,7 @@ export type GetAllPrompts24 = {
1273
1275
  type: "file";
1274
1276
  cacheControl?: GetAllPrompts2CacheControl | undefined;
1275
1277
  /**
1276
- * File data for the content part. Must contain either file_data or uri, but not both.
1278
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
1277
1279
  */
1278
1280
  file: components.FileContentPartSchema;
1279
1281
  };
@@ -639,7 +639,7 @@ export const DataCodeExecutionTool$inboundSchema: z.ZodType<
639
639
  z.ZodTypeDef,
640
640
  unknown
641
641
  > = z.object({
642
- _id: z.string().default("tool_01M4AT2CQ4QG8FC3J47XQHRGVG"),
642
+ _id: z.string().default("tool_01M4RT71YFNG1K37D92PVEYG5T"),
643
643
  path: z.string(),
644
644
  key: z.string(),
645
645
  display_name: z.string().optional(),
@@ -821,7 +821,7 @@ export const DataHTTPTool$inboundSchema: z.ZodType<
821
821
  z.ZodTypeDef,
822
822
  unknown
823
823
  > = z.object({
824
- _id: z.string().default("tool_01M4AT2CQ3NN1SBKAADYJEGKJ9"),
824
+ _id: z.string().default("tool_01M4RT71YEKCAYC9D2YQ5F5JX5"),
825
825
  path: z.string(),
826
826
  key: z.string(),
827
827
  display_name: z.string().optional(),
@@ -914,7 +914,7 @@ export const DataJSONSchemaTool$inboundSchema: z.ZodType<
914
914
  z.ZodTypeDef,
915
915
  unknown
916
916
  > = z.object({
917
- _id: z.string().default("tool_01M4AT2CQ39Q2WG31RF3R4EDD2"),
917
+ _id: z.string().default("tool_01M4RT71YDJMGGYS4DEBC5TN8Z"),
918
918
  path: z.string(),
919
919
  key: z.string(),
920
920
  display_name: z.string().optional(),
@@ -1012,7 +1012,7 @@ export const DataFunctionTool$inboundSchema: z.ZodType<
1012
1012
  z.ZodTypeDef,
1013
1013
  unknown
1014
1014
  > = z.object({
1015
- _id: z.string().default("tool_01M4AT2CQ2FN13C03XNTYYFHNZ"),
1015
+ _id: z.string().default("tool_01M4RT71YDRTFTJPFXEB9T233M"),
1016
1016
  path: z.string(),
1017
1017
  key: z.string(),
1018
1018
  display_name: z.string().optional(),
@@ -433,8 +433,10 @@ export const GetOnePromptProvider = {
433
433
  Reson8: "reson8",
434
434
  Meta: "meta",
435
435
  Greenpt: "greenpt",
436
+ Liquid: "liquid",
436
437
  Typesafe: "typesafe",
437
438
  Berget: "berget",
439
+ Cloudflare: "cloudflare",
438
440
  Slack: "slack",
439
441
  Orq: "orq",
440
442
  } as const;
@@ -1255,7 +1257,7 @@ export type GetOnePrompt24 = {
1255
1257
  type: "file";
1256
1258
  cacheControl?: GetOnePrompt2CacheControl | undefined;
1257
1259
  /**
1258
- * File data for the content part. Must contain either file_data or uri, but not both.
1260
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
1259
1261
  */
1260
1262
  file: components.FileContentPartSchema;
1261
1263
  };
@@ -439,8 +439,10 @@ export const GetPromptVersionProvider = {
439
439
  Reson8: "reson8",
440
440
  Meta: "meta",
441
441
  Greenpt: "greenpt",
442
+ Liquid: "liquid",
442
443
  Typesafe: "typesafe",
443
444
  Berget: "berget",
445
+ Cloudflare: "cloudflare",
444
446
  Slack: "slack",
445
447
  Orq: "orq",
446
448
  } as const;
@@ -1265,7 +1267,7 @@ export type GetPromptVersion24 = {
1265
1267
  type: "file";
1266
1268
  cacheControl?: GetPromptVersion2CacheControl | undefined;
1267
1269
  /**
1268
- * File data for the content part. Must contain either file_data or uri, but not both.
1270
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
1269
1271
  */
1270
1272
  file: components.FileContentPartSchema;
1271
1273
  };
@@ -140,7 +140,7 @@ export const GetV2HumanEvalSetsResponseBody2$inboundSchema: z.ZodType<
140
140
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
141
141
  .optional(),
142
142
  updated: z.string().datetime({ offset: true }).default(
143
- "2026-10-07T09:10:41.835Z",
143
+ "2026-10-12T19:42:36.531Z",
144
144
  ).transform(v => new Date(v)),
145
145
  filter_type: z.literal("name"),
146
146
  filter_value: z.string(),
@@ -185,7 +185,7 @@ export const GetV2HumanEvalSetsResponseBody1$inboundSchema: z.ZodType<
185
185
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
186
186
  .optional(),
187
187
  updated: z.string().datetime({ offset: true }).default(
188
- "2026-10-07T09:10:41.835Z",
188
+ "2026-10-12T19:42:36.531Z",
189
189
  ).transform(v => new Date(v)),
190
190
  filter_type: z.literal("span_type"),
191
191
  filter_values: z.array(z.string()),
@@ -141,7 +141,7 @@ export const GetV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<
141
141
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
142
142
  .optional(),
143
143
  updated: z.string().datetime({ offset: true }).default(
144
- "2026-10-07T09:10:41.835Z",
144
+ "2026-10-12T19:42:36.531Z",
145
145
  ).transform(v => new Date(v)),
146
146
  filter_type: z.literal("name"),
147
147
  filter_value: z.string(),
@@ -186,7 +186,7 @@ export const GetV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<
186
186
  created: z.string().datetime({ offset: true }).transform(v => new Date(v))
187
187
  .optional(),
188
188
  updated: z.string().datetime({ offset: true }).default(
189
- "2026-10-07T09:10:41.835Z",
189
+ "2026-10-12T19:42:36.531Z",
190
190
  ).transform(v => new Date(v)),
191
191
  filter_type: z.literal("span_type"),
192
192
  filter_values: z.array(z.string()),
@@ -453,8 +453,10 @@ export const ListPromptVersionsProvider = {
453
453
  Reson8: "reson8",
454
454
  Meta: "meta",
455
455
  Greenpt: "greenpt",
456
+ Liquid: "liquid",
456
457
  Typesafe: "typesafe",
457
458
  Berget: "berget",
459
+ Cloudflare: "cloudflare",
458
460
  Slack: "slack",
459
461
  Orq: "orq",
460
462
  } as const;
@@ -1280,7 +1282,7 @@ export type ListPromptVersions24 = {
1280
1282
  type: "file";
1281
1283
  cacheControl?: ListPromptVersions2CacheControl | undefined;
1282
1284
  /**
1283
- * File data for the content part. Must contain either file_data or uri, but not both.
1285
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
1284
1286
  */
1285
1287
  file: components.FileContentPartSchema;
1286
1288
  };
@@ -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-10-07T09:10:41.835Z",
321
+ "2026-10-12T19:42:36.531Z",
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-10-07T09:10:41.835Z",
367
+ "2026-10-12T19:42:36.531Z",
368
368
  ).transform(v => new Date(v)),
369
369
  filter_type: z.literal("span_type"),
370
370
  filter_values: z.array(z.string()),
@@ -245,7 +245,7 @@ export const RequestBody4$outboundSchema: z.ZodType<
245
245
  PostV2FeedbackEvaluationRequestBodyFeedbackRequestSource$outboundSchema
246
246
  .default("orq"),
247
247
  explanation: z.string().optional(),
248
- reviewedAt: z.date().default(() => new Date("2026-10-07T09:10:48.342Z"))
248
+ reviewedAt: z.date().default(() => new Date("2026-10-12T19:42:43.198Z"))
249
249
  .transform(v => v.toISOString()),
250
250
  type: z.literal("string_array"),
251
251
  values: z.array(z.string()),
@@ -299,7 +299,7 @@ export const Three$outboundSchema: z.ZodType<
299
299
  source: PostV2FeedbackEvaluationRequestBodyFeedbackSource$outboundSchema
300
300
  .default("orq"),
301
301
  explanation: z.string().optional(),
302
- reviewedAt: z.date().default(() => new Date("2026-10-07T09:10:48.342Z"))
302
+ reviewedAt: z.date().default(() => new Date("2026-10-12T19:42:43.198Z"))
303
303
  .transform(v => v.toISOString()),
304
304
  type: z.literal("boolean"),
305
305
  value: z.boolean(),
@@ -353,7 +353,7 @@ export const RequestBody2$outboundSchema: z.ZodType<
353
353
  "orq",
354
354
  ),
355
355
  explanation: z.string().optional(),
356
- reviewedAt: z.date().default(() => new Date("2026-10-07T09:10:48.341Z"))
356
+ reviewedAt: z.date().default(() => new Date("2026-10-12T19:42:43.198Z"))
357
357
  .transform(v => v.toISOString()),
358
358
  type: z.literal("number"),
359
359
  value: z.number(),
@@ -405,7 +405,7 @@ export const RequestBody1$outboundSchema: z.ZodType<
405
405
  humanReviewId: z.string().optional(),
406
406
  source: RequestBodySource$outboundSchema.default("orq"),
407
407
  explanation: z.string().optional(),
408
- reviewedAt: z.date().default(() => new Date("2026-10-07T09:10:48.341Z"))
408
+ reviewedAt: z.date().default(() => new Date("2026-10-12T19:42:43.198Z"))
409
409
  .transform(v => v.toISOString()),
410
410
  type: z.literal("string"),
411
411
  value: z.string(),
@@ -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-10-07T09:10:41.835Z",
274
+ "2026-10-12T19:42:36.531Z",
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-10-07T09:10:41.835Z",
319
+ "2026-10-12T19:42:36.531Z",
320
320
  ).transform(v => new Date(v)),
321
321
  filter_type: z.literal("span_type"),
322
322
  filter_values: z.array(z.string()),
@@ -624,7 +624,7 @@ export const RetrieveToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
624
624
  z.ZodTypeDef,
625
625
  unknown
626
626
  > = z.object({
627
- _id: z.string().default("tool_01M4AT2CQNC99M1NPTPME1BYYZ"),
627
+ _id: z.string().default("tool_01M4RT71YZPQZWGFB7MMQGVYKT"),
628
628
  path: z.string(),
629
629
  key: z.string(),
630
630
  display_name: z.string().optional(),
@@ -820,7 +820,7 @@ export const RetrieveToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
820
820
  z.ZodTypeDef,
821
821
  unknown
822
822
  > = z.object({
823
- _id: z.string().default("tool_01M4AT2CQM8NKGGMN0J5N977TM"),
823
+ _id: z.string().default("tool_01M4RT71YY4JFP68D8MN5PTS32"),
824
824
  path: z.string(),
825
825
  key: z.string(),
826
826
  display_name: z.string().optional(),
@@ -916,7 +916,7 @@ export const RetrieveToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
916
916
  z.ZodTypeDef,
917
917
  unknown
918
918
  > = z.object({
919
- _id: z.string().default("tool_01M4AT2CQMQ4DYK75CT7EX9821"),
919
+ _id: z.string().default("tool_01M4RT71YY7BHJVTDE2N5KF2BX"),
920
920
  path: z.string(),
921
921
  key: z.string(),
922
922
  display_name: z.string().optional(),
@@ -1022,7 +1022,7 @@ export const RetrieveToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
1022
1022
  z.ZodTypeDef,
1023
1023
  unknown
1024
1024
  > = z.object({
1025
- _id: z.string().default("tool_01M4AT2CQKJKRB7QEDWZVFV147"),
1025
+ _id: z.string().default("tool_01M4RT71YXZ15NRKPCXZNM1YN9"),
1026
1026
  path: z.string(),
1027
1027
  key: z.string(),
1028
1028
  display_name: z.string().optional(),
@@ -3890,7 +3890,7 @@ export const Tools$outboundSchema: z.ZodType<
3890
3890
  z.ZodTypeDef,
3891
3891
  Tools
3892
3892
  > = z.object({
3893
- id: z.string().default("01M4AT2CNBT9PFKGDH1KEVSMHA"),
3893
+ id: z.string().default("01M4RT71WPMDXETNG4NA5G5F2X"),
3894
3894
  name: z.string(),
3895
3895
  description: z.string().optional(),
3896
3896
  schema: z.lazy(() => AgentToolInputRunSchema$outboundSchema),
@@ -3949,7 +3949,7 @@ export const AgentToolInputRunTools$outboundSchema: z.ZodType<
3949
3949
  z.ZodTypeDef,
3950
3950
  AgentToolInputRunTools
3951
3951
  > = z.object({
3952
- id: z.string().default("01M4AT2CNWQ4P3B6C584T0PAZ6"),
3952
+ id: z.string().default("01M4RT71X76AQHVQRRR3NQZ1AD"),
3953
3953
  name: z.string(),
3954
3954
  description: z.string().optional(),
3955
3955
  schema: z.lazy(() =>
@@ -6,6 +6,9 @@ import * as z from "zod/v3";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
 
8
8
  export type TracesGetSpanRequest = {
9
+ /**
10
+ * Optional: queue items predating trace_id capture only have the span.
11
+ */
9
12
  traceId: string;
10
13
  spanId: string;
11
14
  };
@@ -285,7 +285,7 @@ export type UpdatePrompt24 = {
285
285
  type: "file";
286
286
  cacheControl?: UpdatePrompt2CacheControl | undefined;
287
287
  /**
288
- * File data for the content part. Must contain either file_data or uri, but not both.
288
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
289
289
  */
290
290
  file: components.FileContentPartSchema;
291
291
  };
@@ -1438,8 +1438,10 @@ export const UpdatePromptProvider = {
1438
1438
  Reson8: "reson8",
1439
1439
  Meta: "meta",
1440
1440
  Greenpt: "greenpt",
1441
+ Liquid: "liquid",
1441
1442
  Typesafe: "typesafe",
1442
1443
  Berget: "berget",
1444
+ Cloudflare: "cloudflare",
1443
1445
  Slack: "slack",
1444
1446
  Orq: "orq",
1445
1447
  } as const;
@@ -2273,7 +2275,7 @@ export type UpdatePrompt2Prompts4 = {
2273
2275
  type: "file";
2274
2276
  cacheControl?: UpdatePrompt2PromptsCacheControl | undefined;
2275
2277
  /**
2276
- * File data for the content part. Must contain either file_data or uri, but not both.
2278
+ * File data for the content part. Must contain exactly one of file_data, file_id or uri.
2277
2279
  */
2278
2280
  file: components.FileContentPartSchema;
2279
2281
  };
@@ -1764,7 +1764,7 @@ export const UpdateToolResponseBodyCodeExecutionTool$inboundSchema: z.ZodType<
1764
1764
  z.ZodTypeDef,
1765
1765
  unknown
1766
1766
  > = z.object({
1767
- _id: z.string().default("tool_01M4AT2CQDQCBGPWHA2X69DZY7"),
1767
+ _id: z.string().default("tool_01M4RT71YQGZGZ6JC0Q99GP748"),
1768
1768
  path: z.string(),
1769
1769
  key: z.string(),
1770
1770
  display_name: z.string().optional(),
@@ -1959,7 +1959,7 @@ export const UpdateToolResponseBodyHTTPTool$inboundSchema: z.ZodType<
1959
1959
  z.ZodTypeDef,
1960
1960
  unknown
1961
1961
  > = z.object({
1962
- _id: z.string().default("tool_01M4AT2CQCHG6FXM6PV31K1N54"),
1962
+ _id: z.string().default("tool_01M4RT71YPD952WA6Q774Y1JHT"),
1963
1963
  path: z.string(),
1964
1964
  key: z.string(),
1965
1965
  display_name: z.string().optional(),
@@ -2054,7 +2054,7 @@ export const UpdateToolResponseBodyJSONSchemaTool$inboundSchema: z.ZodType<
2054
2054
  z.ZodTypeDef,
2055
2055
  unknown
2056
2056
  > = z.object({
2057
- _id: z.string().default("tool_01M4AT2CQC76S92CVGNSCR7P45"),
2057
+ _id: z.string().default("tool_01M4RT71YPWAEM3X80A7GBDMED"),
2058
2058
  path: z.string(),
2059
2059
  key: z.string(),
2060
2060
  display_name: z.string().optional(),
@@ -2157,7 +2157,7 @@ export const UpdateToolResponseBodyFunctionTool$inboundSchema: z.ZodType<
2157
2157
  z.ZodTypeDef,
2158
2158
  unknown
2159
2159
  > = z.object({
2160
- _id: z.string().default("tool_01M4AT2CQB6KC0KY5WFFJF3TTX"),
2160
+ _id: z.string().default("tool_01M4RT71YNSAYB8KMZW5Y3P7WQ"),
2161
2161
  path: z.string(),
2162
2162
  key: z.string(),
2163
2163
  display_name: z.string().optional(),
@@ -12,7 +12,19 @@ export class Classify extends ClientSDK {
12
12
  * Classify
13
13
  *
14
14
  * @remarks
15
- * **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against a native classify provider, including OpenAI Decisions with `openai/gpt-6-luna`, or a chat model that supports classify emulation. Emulated models answer through one structured-output call and their probabilities are model-reported rather than calibrated. Native providers can return `refusal` for individual questions; refused answers contain only `type`. The request and response follow the TypeSafe classification contract; `model` in the response identifies the primary or fallback model that answered and `usage` carries the computed cost like the Responses API. Both `/v3/router/classify` and `/v3/router/decisions` use this contract, including ordered `fallbacks`, request-level `retry`, and `identity` attribution. Both require `classify.execute`. This endpoint currently does not apply PII plugins or guardrails.
15
+ * **Deprecated.** Use `POST /v3/router/decisions` and `orq.router.decisions.create()` for new integrations. This endpoint remains available for backward compatibility with the same request and response contract.
16
+ *
17
+ * **Beta.** Evaluate content against named questions and receive structured answers, probabilities, and usage costs. Send the content as `state` and define each entry in `questions` as:
18
+ *
19
+ * - `noul`: estimate the probability that a statement is true.
20
+ * - `choice`: select an option from a set.
21
+ * - `score`: rate the content on an ordered scale.
22
+ *
23
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
24
+ *
25
+ * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
26
+ *
27
+ * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
16
28
  */
17
29
  async create(
18
30
  request: operations.CreateClassifyRequestBody,
@@ -12,7 +12,15 @@ export class Decisions extends ClientSDK {
12
12
  * Decisions
13
13
  *
14
14
  * @remarks
15
- * **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against a native classify provider, including OpenAI Decisions with `openai/gpt-6-luna`, or a chat model that supports classify emulation. Emulated models answer through one structured-output call and their probabilities are model-reported rather than calibrated. Native providers can return `refusal` for individual questions; refused answers contain only `type`. The request and response follow the TypeSafe classification contract; `model` in the response identifies the primary or fallback model that answered and `usage` carries the computed cost like the Responses API. Both `/v3/router/classify` and `/v3/router/decisions` use this contract, including ordered `fallbacks`, request-level `retry`, and `identity` attribution. Both require `classify.execute`. This endpoint currently does not apply PII plugins or guardrails.
15
+ * **Beta.** Evaluate content against named questions and receive structured answers, probabilities, and usage costs. Send the content as `state` and define each entry in `questions` as:
16
+ *
17
+ * - `noul`: estimate the probability that a statement is true.
18
+ * - `choice`: select an option from a set.
19
+ * - `score`: rate the content on an ordered scale.
20
+ *
21
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
22
+ *
23
+ * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
16
24
  */
17
25
  async create(
18
26
  request: operations.CreateDecisionsRequestBody,
@@ -16,7 +16,7 @@ export class Responses extends ClientSDK {
16
16
  * Compact response
17
17
  *
18
18
  * @remarks
19
- * Compacts a conversation by summarizing older items to free up context window space. Returns a compaction item containing the generated summary.
19
+ * Compacts a conversation by summarizing older items to free up context window space. Returns the next context window: a compaction item containing the generated summary, followed by the most recent items verbatim.
20
20
  */
21
21
  async compact(
22
22
  request: operations.CompactResponseRequestBody,
package/sdk/classify.d.ts CHANGED
@@ -7,7 +7,15 @@ export declare class Classify extends ClientSDK {
7
7
  * @remarks
8
8
  * **Deprecated.** Use `POST /v3/router/decisions` and `orq.router.decisions.create()` for new integrations. This endpoint remains available for backward compatibility with the same request and response contract.
9
9
  *
10
- * **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against a native classify provider, including OpenAI Decisions with `openai/gpt-6-luna`, or a chat model that supports classify emulation. Emulated models answer through one structured-output call and their probabilities are model-reported rather than calibrated. Native providers can return `refusal` for individual questions; refused answers contain only `type`. The request and response follow the TypeSafe classification contract; `model` in the response identifies the primary or fallback model that answered and `usage` carries the computed cost like the Responses API. Both `/v3/router/classify` and `/v3/router/decisions` use this contract, including ordered `fallbacks`, request-level `retry`, and `identity` attribution. Both require `classify.execute`. This endpoint currently does not apply PII plugins or guardrails.
10
+ * **Beta.** Evaluate content against named questions and receive structured answers, probabilities, and usage costs. Send the content as `state` and define each entry in `questions` as:
11
+ *
12
+ * - `noul`: estimate the probability that a statement is true.
13
+ * - `choice`: select an option from a set.
14
+ * - `score`: rate the content on an ordered scale.
15
+ *
16
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
17
+ *
18
+ * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
11
19
  *
12
20
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
13
21
  */
@@ -1 +1 @@
1
- {"version":3,"file":"classify.d.ts","sourceRoot":"","sources":["../src/sdk/classify.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;;;;;OASG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
1
+ {"version":3,"file":"classify.d.ts","sourceRoot":"","sources":["../src/sdk/classify.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,QAAS,SAAQ,SAAS;IACrC;;;;;;;;;;;;;;;;;OAiBG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,0BAA0B,CAAC;CAOlD"}
package/sdk/classify.js CHANGED
@@ -14,7 +14,15 @@ class Classify extends sdks_js_1.ClientSDK {
14
14
  * @remarks
15
15
  * **Deprecated.** Use `POST /v3/router/decisions` and `orq.router.decisions.create()` for new integrations. This endpoint remains available for backward compatibility with the same request and response contract.
16
16
  *
17
- * **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against a native classify provider, including OpenAI Decisions with `openai/gpt-6-luna`, or a chat model that supports classify emulation. Emulated models answer through one structured-output call and their probabilities are model-reported rather than calibrated. Native providers can return `refusal` for individual questions; refused answers contain only `type`. The request and response follow the TypeSafe classification contract; `model` in the response identifies the primary or fallback model that answered and `usage` carries the computed cost like the Responses API. Both `/v3/router/classify` and `/v3/router/decisions` use this contract, including ordered `fallbacks`, request-level `retry`, and `identity` attribution. Both require `classify.execute`. This endpoint currently does not apply PII plugins or guardrails.
17
+ * **Beta.** Evaluate content against named questions and receive structured answers, probabilities, and usage costs. Send the content as `state` and define each entry in `questions` as:
18
+ *
19
+ * - `noul`: estimate the probability that a statement is true.
20
+ * - `choice`: select an option from a set.
21
+ * - `score`: rate the content on an ordered scale.
22
+ *
23
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
24
+ *
25
+ * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
18
26
  *
19
27
  * @deprecated method: This will be removed in a future release, please migrate away from it as soon as possible.
20
28
  */
@@ -1 +1 @@
1
- {"version":3,"file":"classify.js","sourceRoot":"","sources":["../src/sdk/classify.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8EAAwE;AACxE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC;;;;;;;;;OASG;IACH,KAAK,CAAC,MAAM,CACV,OAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AArBD,4BAqBC"}
1
+ {"version":3,"file":"classify.js","sourceRoot":"","sources":["../src/sdk/classify.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,8EAAwE;AACxE,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,QAAS,SAAQ,mBAAS;IACrC;;;;;;;;;;;;;;;;;OAiBG;IACH,KAAK,CAAC,MAAM,CACV,OAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,8CAAoB,EACrC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AA7BD,4BA6BC"}
@@ -5,7 +5,15 @@ export declare class Decisions extends ClientSDK {
5
5
  * Decisions
6
6
  *
7
7
  * @remarks
8
- * **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against a native classify provider, including OpenAI Decisions with `openai/gpt-6-luna`, or a chat model that supports classify emulation. Emulated models answer through one structured-output call and their probabilities are model-reported rather than calibrated. Native providers can return `refusal` for individual questions; refused answers contain only `type`. The request and response follow the TypeSafe classification contract; `model` in the response identifies the primary or fallback model that answered and `usage` carries the computed cost like the Responses API. Both `/v3/router/classify` and `/v3/router/decisions` use this contract, including ordered `fallbacks`, request-level `retry`, and `identity` attribution. Both require `classify.execute`. This endpoint currently does not apply PII plugins or guardrails.
8
+ * **Beta.** Evaluate content against named questions and receive structured answers, probabilities, and usage costs. Send the content as `state` and define each entry in `questions` as:
9
+ *
10
+ * - `noul`: estimate the probability that a statement is true.
11
+ * - `choice`: select an option from a set.
12
+ * - `score`: rate the content on an ordered scale.
13
+ *
14
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
15
+ *
16
+ * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
9
17
  */
10
18
  create(request: operations.CreateDecisionsRequestBody, options?: RequestOptions): Promise<operations.CreateDecisionsResponseBody>;
11
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"decisions.d.ts","sourceRoot":"","sources":["../src/sdk/decisions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,SAAU,SAAQ,SAAS;IACtC;;;;;OAKG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;CAOnD"}
1
+ {"version":3,"file":"decisions.d.ts","sourceRoot":"","sources":["../src/sdk/decisions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC3D,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAG5D,qBAAa,SAAU,SAAQ,SAAS;IACtC;;;;;;;;;;;;;OAaG;IACG,MAAM,CACV,OAAO,EAAE,UAAU,CAAC,0BAA0B,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC,2BAA2B,CAAC;CAOnD"}
package/sdk/decisions.js CHANGED
@@ -12,7 +12,15 @@ class Decisions extends sdks_js_1.ClientSDK {
12
12
  * Decisions
13
13
  *
14
14
  * @remarks
15
- * **Beta.** Runs typed classification questions (`noul`, `choice`, `score`) against a native classify provider, including OpenAI Decisions with `openai/gpt-6-luna`, or a chat model that supports classify emulation. Emulated models answer through one structured-output call and their probabilities are model-reported rather than calibrated. Native providers can return `refusal` for individual questions; refused answers contain only `type`. The request and response follow the TypeSafe classification contract; `model` in the response identifies the primary or fallback model that answered and `usage` carries the computed cost like the Responses API. Both `/v3/router/classify` and `/v3/router/decisions` use this contract, including ordered `fallbacks`, request-level `retry`, and `identity` attribution. Both require `classify.execute`. This endpoint currently does not apply PII plugins or guardrails.
15
+ * **Beta.** Evaluate content against named questions and receive structured answers, probabilities, and usage costs. Send the content as `state` and define each entry in `questions` as:
16
+ *
17
+ * - `noul`: estimate the probability that a statement is true.
18
+ * - `choice`: select an option from a set.
19
+ * - `score`: rate the content on an ordered scale.
20
+ *
21
+ * Use a native decision model or a supported chat model. Configure ordered `fallbacks`, optional `retry`, `timeout.call_timeout` in milliseconds, and an exact-match `cache`. Each retry and fallback gets a fresh timeout; omit `retry` to move directly to the next fallback on timeout. The response identifies the model that answered.
22
+ *
23
+ * Requires the `classify` API-key permission. PII plugins and guardrails are not applied. See the [Decisions guide](/ai-gateway/features/decisions) for supported models, probability interpretation, and refusals.
16
24
  */
17
25
  async create(request, options) {
18
26
  return (0, fp_js_1.unwrapAsync)((0, routerDecisionsCreate_js_1.routerDecisionsCreate)(this, request, options));
@@ -1 +1 @@
1
- {"version":3,"file":"decisions.js","sourceRoot":"","sources":["../src/sdk/decisions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gFAA0E;AAC1E,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,SAAU,SAAQ,mBAAS;IACtC;;;;;OAKG;IACH,KAAK,CAAC,MAAM,CACV,OAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAjBD,8BAiBC"}
1
+ {"version":3,"file":"decisions.js","sourceRoot":"","sources":["../src/sdk/decisions.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,gFAA0E;AAC1E,4CAA2D;AAE3D,0CAA6C;AAE7C,MAAa,SAAU,SAAQ,mBAAS;IACtC;;;;;;;;;;;;;OAaG;IACH,KAAK,CAAC,MAAM,CACV,OAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAA,mBAAW,EAAC,IAAA,gDAAqB,EACtC,IAAI,EACJ,OAAO,EACP,OAAO,CACR,CAAC,CAAC;IACL,CAAC;CACF;AAzBD,8BAyBC"}