@orq-ai/node 4.10.17 → 4.10.20

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 (292) hide show
  1. package/funcs/datasetsList.js +0 -2
  2. package/funcs/datasetsList.js.map +1 -1
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/lib/encodings.js +12 -12
  7. package/lib/encodings.js.map +1 -1
  8. package/lib/env.d.ts.map +1 -1
  9. package/lib/env.js +3 -3
  10. package/lib/env.js.map +1 -1
  11. package/lib/event-streams.d.ts.map +1 -1
  12. package/lib/event-streams.js +28 -13
  13. package/lib/event-streams.js.map +1 -1
  14. package/lib/matchers.js +3 -3
  15. package/lib/matchers.js.map +1 -1
  16. package/lib/primitives.d.ts +1 -0
  17. package/lib/primitives.d.ts.map +1 -1
  18. package/lib/primitives.js +18 -0
  19. package/lib/primitives.js.map +1 -1
  20. package/models/components/modelmetadata.d.ts +0 -2
  21. package/models/components/modelmetadata.d.ts.map +1 -1
  22. package/models/components/modelmetadata.js +0 -4
  23. package/models/components/modelmetadata.js.map +1 -1
  24. package/models/components/reasoning.d.ts +2 -40
  25. package/models/components/reasoning.d.ts.map +1 -1
  26. package/models/components/reasoning.js +3 -26
  27. package/models/components/reasoning.js.map +1 -1
  28. package/models/components/reasoningparam.d.ts +2 -40
  29. package/models/components/reasoningparam.d.ts.map +1 -1
  30. package/models/components/reasoningparam.js +3 -28
  31. package/models/components/reasoningparam.js.map +1 -1
  32. package/models/components/reasoningpart.js +1 -1
  33. package/models/operations/createagentrequest.d.ts +4 -298
  34. package/models/operations/createagentrequest.d.ts.map +1 -1
  35. package/models/operations/createagentrequest.js +9 -163
  36. package/models/operations/createagentrequest.js.map +1 -1
  37. package/models/operations/createchatcompletion.d.ts +4 -81
  38. package/models/operations/createchatcompletion.d.ts.map +1 -1
  39. package/models/operations/createchatcompletion.js +7 -45
  40. package/models/operations/createchatcompletion.js.map +1 -1
  41. package/models/operations/createdataset.js +1 -1
  42. package/models/operations/createdatasetitem.js +4 -4
  43. package/models/operations/createdatasource.js +1 -1
  44. package/models/operations/createeval.js +16 -16
  45. package/models/operations/creatememorystore.d.ts +3 -3
  46. package/models/operations/creatememorystore.d.ts.map +1 -1
  47. package/models/operations/creatememorystore.js +2 -2
  48. package/models/operations/creatememorystore.js.map +1 -1
  49. package/models/operations/createprompt.d.ts +12 -225
  50. package/models/operations/createprompt.d.ts.map +1 -1
  51. package/models/operations/createprompt.js +13 -124
  52. package/models/operations/createprompt.js.map +1 -1
  53. package/models/operations/createrouterresponse.d.ts +4 -349
  54. package/models/operations/createrouterresponse.d.ts.map +1 -1
  55. package/models/operations/createrouterresponse.js +4 -195
  56. package/models/operations/createrouterresponse.js.map +1 -1
  57. package/models/operations/createtool.js +6 -6
  58. package/models/operations/deploymentgetconfig.d.ts +4 -70
  59. package/models/operations/deploymentgetconfig.d.ts.map +1 -1
  60. package/models/operations/deploymentgetconfig.js +8 -43
  61. package/models/operations/deploymentgetconfig.js.map +1 -1
  62. package/models/operations/deployments.d.ts +8 -74
  63. package/models/operations/deployments.d.ts.map +1 -1
  64. package/models/operations/deployments.js +8 -43
  65. package/models/operations/deployments.js.map +1 -1
  66. package/models/operations/getallmemorystores.d.ts +1 -1
  67. package/models/operations/getallmemorystores.d.ts.map +1 -1
  68. package/models/operations/getallmemorystores.js +1 -1
  69. package/models/operations/getallmemorystores.js.map +1 -1
  70. package/models/operations/getallprompts.d.ts +4 -140
  71. package/models/operations/getallprompts.d.ts.map +1 -1
  72. package/models/operations/getallprompts.js +6 -79
  73. package/models/operations/getallprompts.js.map +1 -1
  74. package/models/operations/getalltools.js +6 -6
  75. package/models/operations/getevals.js +16 -16
  76. package/models/operations/getoneprompt.d.ts +4 -140
  77. package/models/operations/getoneprompt.d.ts.map +1 -1
  78. package/models/operations/getoneprompt.js +6 -79
  79. package/models/operations/getoneprompt.js.map +1 -1
  80. package/models/operations/getpromptversion.d.ts +4 -140
  81. package/models/operations/getpromptversion.d.ts.map +1 -1
  82. package/models/operations/getpromptversion.js +6 -78
  83. package/models/operations/getpromptversion.js.map +1 -1
  84. package/models/operations/getv2humanevalsets.js +2 -2
  85. package/models/operations/getv2humanevalsetsid.js +2 -2
  86. package/models/operations/listagents.d.ts +0 -140
  87. package/models/operations/listagents.d.ts.map +1 -1
  88. package/models/operations/listagents.js +3 -79
  89. package/models/operations/listagents.js.map +1 -1
  90. package/models/operations/listdatasetdatapoints.js +4 -4
  91. package/models/operations/listdatasets.d.ts +0 -10
  92. package/models/operations/listdatasets.d.ts.map +1 -1
  93. package/models/operations/listdatasets.js +1 -4
  94. package/models/operations/listdatasets.js.map +1 -1
  95. package/models/operations/listdatasources.js +1 -1
  96. package/models/operations/listknowledgebases.d.ts +1 -1
  97. package/models/operations/listpromptversions.d.ts +4 -140
  98. package/models/operations/listpromptversions.d.ts.map +1 -1
  99. package/models/operations/listpromptversions.js +6 -79
  100. package/models/operations/listpromptversions.js.map +1 -1
  101. package/models/operations/patchv2humanevalsetsid.js +2 -2
  102. package/models/operations/postv2feedbackevaluation.js +3 -3
  103. package/models/operations/postv2humanevalsets.js +2 -2
  104. package/models/operations/retrieveagentrequest.d.ts +0 -140
  105. package/models/operations/retrieveagentrequest.d.ts.map +1 -1
  106. package/models/operations/retrieveagentrequest.js +2 -81
  107. package/models/operations/retrieveagentrequest.js.map +1 -1
  108. package/models/operations/retrievedatapoint.js +4 -4
  109. package/models/operations/retrievedataset.js +1 -1
  110. package/models/operations/retrievedatasource.js +1 -1
  111. package/models/operations/retrievememorystore.d.ts +1 -1
  112. package/models/operations/retrievememorystore.d.ts.map +1 -1
  113. package/models/operations/retrievememorystore.js +1 -1
  114. package/models/operations/retrievememorystore.js.map +1 -1
  115. package/models/operations/retrievetool.js +6 -6
  116. package/models/operations/runagent.d.ts +0 -154
  117. package/models/operations/runagent.d.ts.map +1 -1
  118. package/models/operations/runagent.js +5 -80
  119. package/models/operations/runagent.js.map +1 -1
  120. package/models/operations/streamrunagent.d.ts +0 -154
  121. package/models/operations/streamrunagent.d.ts.map +1 -1
  122. package/models/operations/streamrunagent.js +4 -82
  123. package/models/operations/streamrunagent.js.map +1 -1
  124. package/models/operations/updateagent.d.ts +4 -298
  125. package/models/operations/updateagent.d.ts.map +1 -1
  126. package/models/operations/updateagent.js +9 -162
  127. package/models/operations/updateagent.js.map +1 -1
  128. package/models/operations/updatedatapoint.js +4 -4
  129. package/models/operations/updatedataset.js +1 -1
  130. package/models/operations/updatedatasource.js +1 -1
  131. package/models/operations/updateeval.js +16 -16
  132. package/models/operations/updatememorystore.d.ts +3 -3
  133. package/models/operations/updatememorystore.d.ts.map +1 -1
  134. package/models/operations/updatememorystore.js +2 -2
  135. package/models/operations/updatememorystore.js.map +1 -1
  136. package/models/operations/updateprompt.d.ts +12 -225
  137. package/models/operations/updateprompt.d.ts.map +1 -1
  138. package/models/operations/updateprompt.js +14 -125
  139. package/models/operations/updateprompt.js.map +1 -1
  140. package/models/operations/updatetool.js +7 -7
  141. package/package.json +7 -7
  142. package/packages/orq-rc/src/funcs/budgetsCheck.ts +162 -0
  143. package/packages/orq-rc/src/funcs/budgetsCreate.ts +162 -0
  144. package/packages/orq-rc/src/funcs/budgetsDelete.ts +168 -0
  145. package/packages/orq-rc/src/funcs/budgetsGet.ts +168 -0
  146. package/packages/orq-rc/src/funcs/budgetsGetConsumption.ts +169 -0
  147. package/packages/orq-rc/src/funcs/budgetsList.ts +175 -0
  148. package/packages/orq-rc/src/funcs/budgetsResetConsumption.ts +174 -0
  149. package/packages/orq-rc/src/funcs/budgetsUpdate.ts +171 -0
  150. package/packages/orq-rc/src/lib/config.ts +3 -3
  151. package/packages/orq-rc/src/lib/encodings.ts +1 -1
  152. package/packages/orq-rc/src/lib/env.ts +7 -3
  153. package/packages/orq-rc/src/lib/event-streams.ts +31 -13
  154. package/packages/orq-rc/src/lib/matchers.ts +1 -1
  155. package/packages/orq-rc/src/lib/primitives.ts +16 -0
  156. package/packages/orq-rc/src/models/components/apikeybudgetscope.ts +66 -0
  157. package/packages/orq-rc/src/models/components/budget.ts +102 -0
  158. package/packages/orq-rc/src/models/components/budgetlimits.ts +76 -0
  159. package/packages/orq-rc/src/models/components/budgetmatch.ts +56 -0
  160. package/packages/orq-rc/src/models/components/budgetperiod.ts +23 -0
  161. package/packages/orq-rc/src/models/components/budgetrejection.ts +48 -0
  162. package/packages/orq-rc/src/models/components/budgetscope.ts +150 -0
  163. package/packages/orq-rc/src/models/components/budgetscopekind.ts +22 -0
  164. package/packages/orq-rc/src/models/components/checkbudgetsrequest.ts +111 -0
  165. package/packages/orq-rc/src/models/components/checkbudgetsresponse.ts +62 -0
  166. package/packages/orq-rc/src/models/components/createbudgetrequest.ts +109 -0
  167. package/packages/orq-rc/src/models/components/createbudgetresponse.ts +35 -0
  168. package/packages/orq-rc/src/models/components/deletebudgetresponse.ts +27 -0
  169. package/packages/orq-rc/src/models/components/dimensioninfo.ts +43 -0
  170. package/packages/orq-rc/src/models/components/getbudgetconsumptionresponse.ts +67 -0
  171. package/packages/orq-rc/src/models/components/getbudgetresponse.ts +35 -0
  172. package/packages/orq-rc/src/models/components/identity.ts +9 -9
  173. package/packages/orq-rc/src/models/components/identitybudgetscope.ts +66 -0
  174. package/packages/orq-rc/src/models/components/index.ts +27 -0
  175. package/packages/orq-rc/src/models/components/listbudgetsresponse.ts +53 -0
  176. package/packages/orq-rc/src/models/components/modelbudgetscope.ts +67 -0
  177. package/packages/orq-rc/src/models/components/projectbudgetscope.ts +63 -0
  178. package/packages/orq-rc/src/models/components/providerbudgetscope.ts +57 -0
  179. package/packages/orq-rc/src/models/components/ratelimit.ts +62 -0
  180. package/packages/orq-rc/src/models/components/reasoningpart.ts +1 -1
  181. package/packages/orq-rc/src/models/components/resetbudgetconsumptionrequest.ts +27 -0
  182. package/packages/orq-rc/src/models/components/resetbudgetconsumptionresponse.ts +38 -0
  183. package/packages/orq-rc/src/models/components/updatebudgetrequest.ts +94 -0
  184. package/packages/orq-rc/src/models/components/updatebudgetresponse.ts +35 -0
  185. package/packages/orq-rc/src/models/components/workspacebudgetscope.ts +46 -0
  186. package/packages/orq-rc/src/models/operations/budgetdelete.ts +39 -0
  187. package/packages/orq-rc/src/models/operations/budgetget.ts +39 -0
  188. package/packages/orq-rc/src/models/operations/budgetgetconsumption.ts +41 -0
  189. package/packages/orq-rc/src/models/operations/budgetlist.ts +102 -0
  190. package/packages/orq-rc/src/models/operations/budgetresetconsumption.ts +48 -0
  191. package/packages/orq-rc/src/models/operations/budgetupdate.ts +44 -0
  192. package/packages/orq-rc/src/models/operations/createdataset.ts +1 -1
  193. package/packages/orq-rc/src/models/operations/createdatasetitem.ts +4 -4
  194. package/packages/orq-rc/src/models/operations/createdatasource.ts +1 -1
  195. package/packages/orq-rc/src/models/operations/createeval.ts +16 -16
  196. package/packages/orq-rc/src/models/operations/createtool.ts +6 -6
  197. package/packages/orq-rc/src/models/operations/getalltools.ts +6 -6
  198. package/packages/orq-rc/src/models/operations/getevals.ts +16 -16
  199. package/packages/orq-rc/src/models/operations/getv2humanevalsets.ts +2 -2
  200. package/packages/orq-rc/src/models/operations/getv2humanevalsetsid.ts +2 -2
  201. package/packages/orq-rc/src/models/operations/index.ts +6 -0
  202. package/packages/orq-rc/src/models/operations/listdatasetdatapoints.ts +4 -4
  203. package/packages/orq-rc/src/models/operations/listdatasets.ts +1 -1
  204. package/packages/orq-rc/src/models/operations/listdatasources.ts +1 -1
  205. package/packages/orq-rc/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  206. package/packages/orq-rc/src/models/operations/postv2feedbackevaluation.ts +3 -3
  207. package/packages/orq-rc/src/models/operations/postv2humanevalsets.ts +2 -2
  208. package/packages/orq-rc/src/models/operations/retrievedatapoint.ts +4 -4
  209. package/packages/orq-rc/src/models/operations/retrievedataset.ts +1 -1
  210. package/packages/orq-rc/src/models/operations/retrievedatasource.ts +1 -1
  211. package/packages/orq-rc/src/models/operations/retrievetool.ts +6 -6
  212. package/packages/orq-rc/src/models/operations/runagent.ts +1 -1
  213. package/packages/orq-rc/src/models/operations/streamrunagent.ts +1 -1
  214. package/packages/orq-rc/src/models/operations/updatedatapoint.ts +4 -4
  215. package/packages/orq-rc/src/models/operations/updatedataset.ts +1 -1
  216. package/packages/orq-rc/src/models/operations/updatedatasource.ts +1 -1
  217. package/packages/orq-rc/src/models/operations/updateeval.ts +16 -16
  218. package/packages/orq-rc/src/models/operations/updatetool.ts +7 -7
  219. package/packages/orq-rc/src/sdk/budgets.ts +154 -0
  220. package/packages/orq-rc/src/sdk/feedback.ts +1 -4
  221. package/packages/orq-rc/src/sdk/sdk.ts +6 -0
  222. package/sdk/feedback.d.ts +2 -2
  223. package/sdk/feedback.js +2 -2
  224. package/src/funcs/datasetsList.ts +0 -2
  225. package/src/lib/config.ts +3 -3
  226. package/src/lib/encodings.ts +1 -1
  227. package/src/lib/env.ts +7 -3
  228. package/src/lib/event-streams.ts +31 -13
  229. package/src/lib/matchers.ts +1 -1
  230. package/src/lib/primitives.ts +16 -0
  231. package/src/models/components/modelmetadata.ts +0 -6
  232. package/src/models/components/reasoning.ts +4 -50
  233. package/src/models/components/reasoningparam.ts +4 -48
  234. package/src/models/components/reasoningpart.ts +1 -1
  235. package/src/models/operations/createagentrequest.ts +8 -460
  236. package/src/models/operations/createchatcompletion.ts +10 -129
  237. package/src/models/operations/createdataset.ts +1 -1
  238. package/src/models/operations/createdatasetitem.ts +4 -4
  239. package/src/models/operations/createdatasource.ts +1 -1
  240. package/src/models/operations/createeval.ts +16 -16
  241. package/src/models/operations/creatememorystore.ts +5 -5
  242. package/src/models/operations/createprompt.ts +27 -356
  243. package/src/models/operations/createrouterresponse.ts +8 -532
  244. package/src/models/operations/createtool.ts +6 -6
  245. package/src/models/operations/deploymentgetconfig.ts +8 -105
  246. package/src/models/operations/deployments.ts +16 -113
  247. package/src/models/operations/getallmemorystores.ts +2 -2
  248. package/src/models/operations/getallprompts.ts +8 -210
  249. package/src/models/operations/getalltools.ts +6 -6
  250. package/src/models/operations/getevals.ts +16 -16
  251. package/src/models/operations/getoneprompt.ts +8 -208
  252. package/src/models/operations/getpromptversion.ts +8 -212
  253. package/src/models/operations/getv2humanevalsets.ts +2 -2
  254. package/src/models/operations/getv2humanevalsetsid.ts +2 -2
  255. package/src/models/operations/listagents.ts +0 -215
  256. package/src/models/operations/listdatasetdatapoints.ts +4 -4
  257. package/src/models/operations/listdatasets.ts +1 -14
  258. package/src/models/operations/listdatasources.ts +1 -1
  259. package/src/models/operations/listknowledgebases.ts +1 -1
  260. package/src/models/operations/listpromptversions.ts +8 -212
  261. package/src/models/operations/patchv2humanevalsetsid.ts +2 -2
  262. package/src/models/operations/postv2feedbackevaluation.ts +3 -3
  263. package/src/models/operations/postv2humanevalsets.ts +2 -2
  264. package/src/models/operations/retrieveagentrequest.ts +0 -222
  265. package/src/models/operations/retrievedatapoint.ts +4 -4
  266. package/src/models/operations/retrievedataset.ts +1 -1
  267. package/src/models/operations/retrievedatasource.ts +1 -1
  268. package/src/models/operations/retrievememorystore.ts +2 -2
  269. package/src/models/operations/retrievetool.ts +6 -6
  270. package/src/models/operations/runagent.ts +1 -236
  271. package/src/models/operations/streamrunagent.ts +1 -242
  272. package/src/models/operations/updateagent.ts +9 -464
  273. package/src/models/operations/updatedatapoint.ts +4 -4
  274. package/src/models/operations/updatedataset.ts +1 -1
  275. package/src/models/operations/updatedatasource.ts +1 -1
  276. package/src/models/operations/updateeval.ts +16 -16
  277. package/src/models/operations/updatememorystore.ts +5 -5
  278. package/src/models/operations/updateprompt.ts +27 -356
  279. package/src/models/operations/updatetool.ts +7 -7
  280. package/src/sdk/feedback.ts +2 -2
  281. package/lib/dlv.d.ts +0 -14
  282. package/lib/dlv.d.ts.map +0 -1
  283. package/lib/dlv.js +0 -49
  284. package/lib/dlv.js.map +0 -1
  285. package/lib/is-plain-object.d.ts +0 -2
  286. package/lib/is-plain-object.d.ts.map +0 -1
  287. package/lib/is-plain-object.js +0 -41
  288. package/lib/is-plain-object.js.map +0 -1
  289. package/packages/orq-rc/src/lib/dlv.ts +0 -53
  290. package/packages/orq-rc/src/lib/is-plain-object.ts +0 -43
  291. package/src/lib/dlv.ts +0 -53
  292. package/src/lib/is-plain-object.ts +0 -43
@@ -11,131 +11,10 @@ import { Result as SafeParseResult } from "../../types/fp.js";
11
11
  import * as components from "../components/index.js";
12
12
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
13
13
 
14
- /**
15
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
16
- *
17
- * @remarks
18
- *
19
- * - `5m`: 5 minutes
20
- * - `1h`: 1 hour
21
- *
22
- * Defaults to `5m`. Only supported by Anthropic Claude models.
23
- */
24
- export const CreateRouterResponseTtl = {
25
- Fivem: "5m",
26
- Oneh: "1h",
27
- } as const;
28
- /**
29
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
30
- *
31
- * @remarks
32
- *
33
- * - `5m`: 5 minutes
34
- * - `1h`: 1 hour
35
- *
36
- * Defaults to `5m`. Only supported by Anthropic Claude models.
37
- */
38
- export type CreateRouterResponseTtl = ClosedEnum<
39
- typeof CreateRouterResponseTtl
40
- >;
41
-
42
- /**
43
- * Create a cache control breakpoint. Accepts only the value "ephemeral".
44
- */
45
- export const CreateRouterResponseType = {
46
- Ephemeral: "ephemeral",
47
- } as const;
48
- /**
49
- * Create a cache control breakpoint. Accepts only the value "ephemeral".
50
- */
51
- export type CreateRouterResponseType = ClosedEnum<
52
- typeof CreateRouterResponseType
53
- >;
54
-
55
- /**
56
- * Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
57
- */
58
- export type CreateRouterResponseCacheControl = {
59
- /**
60
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
61
- *
62
- * @remarks
63
- *
64
- * - `5m`: 5 minutes
65
- * - `1h`: 1 hour
66
- *
67
- * Defaults to `5m`. Only supported by Anthropic Claude models.
68
- */
69
- ttl?: CreateRouterResponseTtl | undefined;
70
- /**
71
- * Create a cache control breakpoint. Accepts only the value "ephemeral".
72
- */
73
- type: CreateRouterResponseType;
74
- };
75
-
76
- /**
77
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
78
- *
79
- * @remarks
80
- *
81
- * - `5m`: 5 minutes
82
- * - `1h`: 1 hour
83
- *
84
- * Defaults to `5m`. Only supported by Anthropic Claude models.
85
- */
86
- export const CreateRouterResponse2ResponsesRequestTtl = {
87
- Fivem: "5m",
88
- Oneh: "1h",
89
- } as const;
90
- /**
91
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
92
- *
93
- * @remarks
94
- *
95
- * - `5m`: 5 minutes
96
- * - `1h`: 1 hour
97
- *
98
- * Defaults to `5m`. Only supported by Anthropic Claude models.
99
- */
100
- export type CreateRouterResponse2ResponsesRequestTtl = ClosedEnum<
101
- typeof CreateRouterResponse2ResponsesRequestTtl
102
- >;
103
-
104
- /**
105
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
106
- */
107
- export const CreateRouterResponse2ResponsesRequestRequestBodyInputType = {
108
- Ephemeral: "ephemeral",
109
- } as const;
110
- /**
111
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
112
- */
113
- export type CreateRouterResponse2ResponsesRequestRequestBodyInputType =
114
- ClosedEnum<typeof CreateRouterResponse2ResponsesRequestRequestBodyInputType>;
115
-
116
- export type CreateRouterResponse2ResponsesRequestCacheControl = {
117
- /**
118
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
119
- *
120
- * @remarks
121
- *
122
- * - `5m`: 5 minutes
123
- * - `1h`: 1 hour
124
- *
125
- * Defaults to `5m`. Only supported by Anthropic Claude models.
126
- */
127
- ttl?: CreateRouterResponse2ResponsesRequestTtl | undefined;
128
- /**
129
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
130
- */
131
- type: CreateRouterResponse2ResponsesRequestRequestBodyInputType;
132
- };
133
-
134
14
  /**
135
15
  * A file content part. Provide file_id, file_data (base64), or file_url.
136
16
  */
137
17
  export type TwoFile = {
138
- cacheControl?: CreateRouterResponse2ResponsesRequestCacheControl | undefined;
139
18
  /**
140
19
  * Base64-encoded file content.
141
20
  */
@@ -159,65 +38,6 @@ export type TwoFile = {
159
38
  type: "input_file";
160
39
  };
161
40
 
162
- /**
163
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
164
- *
165
- * @remarks
166
- *
167
- * - `5m`: 5 minutes
168
- * - `1h`: 1 hour
169
- *
170
- * Defaults to `5m`. Only supported by Anthropic Claude models.
171
- */
172
- export const CreateRouterResponse2ResponsesTtl = {
173
- Fivem: "5m",
174
- Oneh: "1h",
175
- } as const;
176
- /**
177
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
178
- *
179
- * @remarks
180
- *
181
- * - `5m`: 5 minutes
182
- * - `1h`: 1 hour
183
- *
184
- * Defaults to `5m`. Only supported by Anthropic Claude models.
185
- */
186
- export type CreateRouterResponse2ResponsesTtl = ClosedEnum<
187
- typeof CreateRouterResponse2ResponsesTtl
188
- >;
189
-
190
- /**
191
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
192
- */
193
- export const CreateRouterResponse2ResponsesRequestType = {
194
- Ephemeral: "ephemeral",
195
- } as const;
196
- /**
197
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
198
- */
199
- export type CreateRouterResponse2ResponsesRequestType = ClosedEnum<
200
- typeof CreateRouterResponse2ResponsesRequestType
201
- >;
202
-
203
- export type CreateRouterResponse2ResponsesCacheControl = {
204
- /**
205
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
206
- *
207
- * @remarks
208
- *
209
- * - `5m`: 5 minutes
210
- * - `1h`: 1 hour
211
- *
212
- * Defaults to `5m`. Only supported by Anthropic Claude models.
213
- */
214
- ttl?: CreateRouterResponse2ResponsesTtl | undefined;
215
- /**
216
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
217
- */
218
- type: CreateRouterResponse2ResponsesRequestType;
219
- };
220
-
221
41
  /**
222
42
  * The detail level for image understanding.
223
43
  */
@@ -235,7 +55,6 @@ export type Detail = ClosedEnum<typeof Detail>;
235
55
  * An image content part.
236
56
  */
237
57
  export type Image = {
238
- cacheControl?: CreateRouterResponse2ResponsesCacheControl | undefined;
239
58
  /**
240
59
  * The detail level for image understanding.
241
60
  */
@@ -251,70 +70,10 @@ export type Image = {
251
70
  type: "input_image";
252
71
  };
253
72
 
254
- /**
255
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
256
- *
257
- * @remarks
258
- *
259
- * - `5m`: 5 minutes
260
- * - `1h`: 1 hour
261
- *
262
- * Defaults to `5m`. Only supported by Anthropic Claude models.
263
- */
264
- export const CreateRouterResponse2Ttl = {
265
- Fivem: "5m",
266
- Oneh: "1h",
267
- } as const;
268
- /**
269
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
270
- *
271
- * @remarks
272
- *
273
- * - `5m`: 5 minutes
274
- * - `1h`: 1 hour
275
- *
276
- * Defaults to `5m`. Only supported by Anthropic Claude models.
277
- */
278
- export type CreateRouterResponse2Ttl = ClosedEnum<
279
- typeof CreateRouterResponse2Ttl
280
- >;
281
-
282
- /**
283
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
284
- */
285
- export const CreateRouterResponse2Type = {
286
- Ephemeral: "ephemeral",
287
- } as const;
288
- /**
289
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
290
- */
291
- export type CreateRouterResponse2Type = ClosedEnum<
292
- typeof CreateRouterResponse2Type
293
- >;
294
-
295
- export type CreateRouterResponse2CacheControl = {
296
- /**
297
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
298
- *
299
- * @remarks
300
- *
301
- * - `5m`: 5 minutes
302
- * - `1h`: 1 hour
303
- *
304
- * Defaults to `5m`. Only supported by Anthropic Claude models.
305
- */
306
- ttl?: CreateRouterResponse2Ttl | undefined;
307
- /**
308
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
309
- */
310
- type: CreateRouterResponse2Type;
311
- };
312
-
313
73
  /**
314
74
  * A text content part.
315
75
  */
316
76
  export type TwoText = {
317
- cacheControl?: CreateRouterResponse2CacheControl | undefined;
318
77
  /**
319
78
  * The text content.
320
79
  */
@@ -434,17 +193,11 @@ export type PlainText = {
434
193
  */
435
194
  export type CreateRouterResponseFormat = PlainText | FormatJSONSchema;
436
195
 
437
- /**
438
- * Controls the verbosity of the model output.
439
- */
440
196
  export const Verbosity = {
441
197
  Low: "low",
442
198
  Medium: "medium",
443
199
  High: "high",
444
200
  } as const;
445
- /**
446
- * Controls the verbosity of the model output.
447
- */
448
201
  export type Verbosity = ClosedEnum<typeof Verbosity>;
449
202
 
450
203
  /**
@@ -455,9 +208,6 @@ export type CreateRouterResponseText = {
455
208
  * The output format: plain text or structured JSON schema.
456
209
  */
457
210
  format?: PlainText | FormatJSONSchema | undefined;
458
- /**
459
- * Controls the verbosity of the model output.
460
- */
461
211
  verbosity?: Verbosity | undefined;
462
212
  };
463
213
 
@@ -541,7 +291,7 @@ export type ToolsMCPTool = {
541
291
  /**
542
292
  * The orq.ai tool type.
543
293
  */
544
- export const CreateRouterResponseToolsResponsesType = {
294
+ export const CreateRouterResponseToolsType = {
545
295
  OrqCurrentDate: "orq:current_date",
546
296
  OrqGoogleSearch: "orq:google_search",
547
297
  OrqWebScraper: "orq:web_scraper",
@@ -552,8 +302,8 @@ export const CreateRouterResponseToolsResponsesType = {
552
302
  /**
553
303
  * The orq.ai tool type.
554
304
  */
555
- export type CreateRouterResponseToolsResponsesType = ClosedEnum<
556
- typeof CreateRouterResponseToolsResponsesType
305
+ export type CreateRouterResponseToolsType = ClosedEnum<
306
+ typeof CreateRouterResponseToolsType
557
307
  >;
558
308
 
559
309
  /**
@@ -567,69 +317,13 @@ export type OrqAiTool = {
567
317
  /**
568
318
  * The orq.ai tool type.
569
319
  */
570
- type: CreateRouterResponseToolsResponsesType;
571
- };
572
-
573
- /**
574
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
575
- *
576
- * @remarks
577
- *
578
- * - `5m`: 5 minutes
579
- * - `1h`: 1 hour
580
- *
581
- * Defaults to `5m`. Only supported by Anthropic Claude models.
582
- */
583
- export const ToolsTtl = {
584
- Fivem: "5m",
585
- Oneh: "1h",
586
- } as const;
587
- /**
588
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
589
- *
590
- * @remarks
591
- *
592
- * - `5m`: 5 minutes
593
- * - `1h`: 1 hour
594
- *
595
- * Defaults to `5m`. Only supported by Anthropic Claude models.
596
- */
597
- export type ToolsTtl = ClosedEnum<typeof ToolsTtl>;
598
-
599
- /**
600
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
601
- */
602
- export const ToolsType = {
603
- Ephemeral: "ephemeral",
604
- } as const;
605
- /**
606
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
607
- */
608
- export type ToolsType = ClosedEnum<typeof ToolsType>;
609
-
610
- export type ToolsCacheControl = {
611
- /**
612
- * The time-to-live for the cache control breakpoint. This may be one of the following values:
613
- *
614
- * @remarks
615
- *
616
- * - `5m`: 5 minutes
617
- * - `1h`: 1 hour
618
- *
619
- * Defaults to `5m`. Only supported by Anthropic Claude models.
620
- */
621
- ttl?: ToolsTtl | undefined;
622
- /**
623
- * Create a cache control breakpoint at this content block. Accepts only the value "ephemeral".
624
- */
625
- type: ToolsType;
320
+ type: CreateRouterResponseToolsType;
626
321
  };
627
322
 
628
323
  /**
629
324
  * A function tool the model can call.
630
325
  */
631
326
  export type ToolsFunction = {
632
- cacheControl?: ToolsCacheControl | undefined;
633
327
  /**
634
328
  * A description of what the function does.
635
329
  */
@@ -663,10 +357,6 @@ export type CreateRouterResponseTools =
663
357
  | ToolsMCPTool;
664
358
 
665
359
  export type CreateRouterResponseRequestBody = {
666
- /**
667
- * Top-level cache control automatically applies a cache_control marker to the last cacheable block in the request.
668
- */
669
- cacheControl?: CreateRouterResponseCacheControl | undefined;
670
360
  conversation?: components.ConversationParam | undefined;
671
361
  /**
672
362
  * Fallback models to try if the primary model fails. Each entry specifies a model in provider/model format.
@@ -888,87 +578,8 @@ export type CreateRouterResponseResponse =
888
578
  | CreateRouterResponseResponseBody
889
579
  | EventStream<CreateRouterResponseResponsesResponseBody>;
890
580
 
891
- /** @internal */
892
- export const CreateRouterResponseTtl$outboundSchema: z.ZodNativeEnum<
893
- typeof CreateRouterResponseTtl
894
- > = z.nativeEnum(CreateRouterResponseTtl);
895
-
896
- /** @internal */
897
- export const CreateRouterResponseType$outboundSchema: z.ZodNativeEnum<
898
- typeof CreateRouterResponseType
899
- > = z.nativeEnum(CreateRouterResponseType);
900
-
901
- /** @internal */
902
- export type CreateRouterResponseCacheControl$Outbound = {
903
- ttl: string;
904
- type: string;
905
- };
906
-
907
- /** @internal */
908
- export const CreateRouterResponseCacheControl$outboundSchema: z.ZodType<
909
- CreateRouterResponseCacheControl$Outbound,
910
- z.ZodTypeDef,
911
- CreateRouterResponseCacheControl
912
- > = z.object({
913
- ttl: CreateRouterResponseTtl$outboundSchema.default("5m"),
914
- type: CreateRouterResponseType$outboundSchema,
915
- });
916
-
917
- export function createRouterResponseCacheControlToJSON(
918
- createRouterResponseCacheControl: CreateRouterResponseCacheControl,
919
- ): string {
920
- return JSON.stringify(
921
- CreateRouterResponseCacheControl$outboundSchema.parse(
922
- createRouterResponseCacheControl,
923
- ),
924
- );
925
- }
926
-
927
- /** @internal */
928
- export const CreateRouterResponse2ResponsesRequestTtl$outboundSchema:
929
- z.ZodNativeEnum<typeof CreateRouterResponse2ResponsesRequestTtl> = z
930
- .nativeEnum(CreateRouterResponse2ResponsesRequestTtl);
931
-
932
- /** @internal */
933
- export const CreateRouterResponse2ResponsesRequestRequestBodyInputType$outboundSchema:
934
- z.ZodNativeEnum<
935
- typeof CreateRouterResponse2ResponsesRequestRequestBodyInputType
936
- > = z.nativeEnum(CreateRouterResponse2ResponsesRequestRequestBodyInputType);
937
-
938
- /** @internal */
939
- export type CreateRouterResponse2ResponsesRequestCacheControl$Outbound = {
940
- ttl: string;
941
- type: string;
942
- };
943
-
944
- /** @internal */
945
- export const CreateRouterResponse2ResponsesRequestCacheControl$outboundSchema:
946
- z.ZodType<
947
- CreateRouterResponse2ResponsesRequestCacheControl$Outbound,
948
- z.ZodTypeDef,
949
- CreateRouterResponse2ResponsesRequestCacheControl
950
- > = z.object({
951
- ttl: CreateRouterResponse2ResponsesRequestTtl$outboundSchema.default("5m"),
952
- type:
953
- CreateRouterResponse2ResponsesRequestRequestBodyInputType$outboundSchema,
954
- });
955
-
956
- export function createRouterResponse2ResponsesRequestCacheControlToJSON(
957
- createRouterResponse2ResponsesRequestCacheControl:
958
- CreateRouterResponse2ResponsesRequestCacheControl,
959
- ): string {
960
- return JSON.stringify(
961
- CreateRouterResponse2ResponsesRequestCacheControl$outboundSchema.parse(
962
- createRouterResponse2ResponsesRequestCacheControl,
963
- ),
964
- );
965
- }
966
-
967
581
  /** @internal */
968
582
  export type TwoFile$Outbound = {
969
- cache_control?:
970
- | CreateRouterResponse2ResponsesRequestCacheControl$Outbound
971
- | undefined;
972
583
  file_data?: string | undefined;
973
584
  file_id?: string | undefined;
974
585
  file_url?: string | undefined;
@@ -983,9 +594,6 @@ export const TwoFile$outboundSchema: z.ZodType<
983
594
  z.ZodTypeDef,
984
595
  TwoFile
985
596
  > = z.object({
986
- cacheControl: z.lazy(() =>
987
- CreateRouterResponse2ResponsesRequestCacheControl$outboundSchema
988
- ).optional(),
989
597
  fileData: z.string().optional(),
990
598
  fileId: z.string().optional(),
991
599
  fileUrl: z.string().optional(),
@@ -994,7 +602,6 @@ export const TwoFile$outboundSchema: z.ZodType<
994
602
  type: z.literal("input_file"),
995
603
  }).transform((v) => {
996
604
  return remap$(v, {
997
- cacheControl: "cache_control",
998
605
  fileData: "file_data",
999
606
  fileId: "file_id",
1000
607
  fileUrl: "file_url",
@@ -1006,53 +613,12 @@ export function twoFileToJSON(twoFile: TwoFile): string {
1006
613
  return JSON.stringify(TwoFile$outboundSchema.parse(twoFile));
1007
614
  }
1008
615
 
1009
- /** @internal */
1010
- export const CreateRouterResponse2ResponsesTtl$outboundSchema: z.ZodNativeEnum<
1011
- typeof CreateRouterResponse2ResponsesTtl
1012
- > = z.nativeEnum(CreateRouterResponse2ResponsesTtl);
1013
-
1014
- /** @internal */
1015
- export const CreateRouterResponse2ResponsesRequestType$outboundSchema:
1016
- z.ZodNativeEnum<typeof CreateRouterResponse2ResponsesRequestType> = z
1017
- .nativeEnum(CreateRouterResponse2ResponsesRequestType);
1018
-
1019
- /** @internal */
1020
- export type CreateRouterResponse2ResponsesCacheControl$Outbound = {
1021
- ttl: string;
1022
- type: string;
1023
- };
1024
-
1025
- /** @internal */
1026
- export const CreateRouterResponse2ResponsesCacheControl$outboundSchema:
1027
- z.ZodType<
1028
- CreateRouterResponse2ResponsesCacheControl$Outbound,
1029
- z.ZodTypeDef,
1030
- CreateRouterResponse2ResponsesCacheControl
1031
- > = z.object({
1032
- ttl: CreateRouterResponse2ResponsesTtl$outboundSchema.default("5m"),
1033
- type: CreateRouterResponse2ResponsesRequestType$outboundSchema,
1034
- });
1035
-
1036
- export function createRouterResponse2ResponsesCacheControlToJSON(
1037
- createRouterResponse2ResponsesCacheControl:
1038
- CreateRouterResponse2ResponsesCacheControl,
1039
- ): string {
1040
- return JSON.stringify(
1041
- CreateRouterResponse2ResponsesCacheControl$outboundSchema.parse(
1042
- createRouterResponse2ResponsesCacheControl,
1043
- ),
1044
- );
1045
- }
1046
-
1047
616
  /** @internal */
1048
617
  export const Detail$outboundSchema: z.ZodNativeEnum<typeof Detail> = z
1049
618
  .nativeEnum(Detail);
1050
619
 
1051
620
  /** @internal */
1052
621
  export type Image$Outbound = {
1053
- cache_control?:
1054
- | CreateRouterResponse2ResponsesCacheControl$Outbound
1055
- | undefined;
1056
622
  detail?: string | undefined;
1057
623
  file_id?: string | undefined;
1058
624
  image_url?: string | undefined;
@@ -1065,16 +631,12 @@ export const Image$outboundSchema: z.ZodType<
1065
631
  z.ZodTypeDef,
1066
632
  Image
1067
633
  > = z.object({
1068
- cacheControl: z.lazy(() =>
1069
- CreateRouterResponse2ResponsesCacheControl$outboundSchema
1070
- ).optional(),
1071
634
  detail: Detail$outboundSchema.optional(),
1072
635
  fileId: z.string().optional(),
1073
636
  imageUrl: z.string().optional(),
1074
637
  type: z.literal("input_image"),
1075
638
  }).transform((v) => {
1076
639
  return remap$(v, {
1077
- cacheControl: "cache_control",
1078
640
  fileId: "file_id",
1079
641
  imageUrl: "image_url",
1080
642
  });
@@ -1084,45 +646,8 @@ export function imageToJSON(image: Image): string {
1084
646
  return JSON.stringify(Image$outboundSchema.parse(image));
1085
647
  }
1086
648
 
1087
- /** @internal */
1088
- export const CreateRouterResponse2Ttl$outboundSchema: z.ZodNativeEnum<
1089
- typeof CreateRouterResponse2Ttl
1090
- > = z.nativeEnum(CreateRouterResponse2Ttl);
1091
-
1092
- /** @internal */
1093
- export const CreateRouterResponse2Type$outboundSchema: z.ZodNativeEnum<
1094
- typeof CreateRouterResponse2Type
1095
- > = z.nativeEnum(CreateRouterResponse2Type);
1096
-
1097
- /** @internal */
1098
- export type CreateRouterResponse2CacheControl$Outbound = {
1099
- ttl: string;
1100
- type: string;
1101
- };
1102
-
1103
- /** @internal */
1104
- export const CreateRouterResponse2CacheControl$outboundSchema: z.ZodType<
1105
- CreateRouterResponse2CacheControl$Outbound,
1106
- z.ZodTypeDef,
1107
- CreateRouterResponse2CacheControl
1108
- > = z.object({
1109
- ttl: CreateRouterResponse2Ttl$outboundSchema.default("5m"),
1110
- type: CreateRouterResponse2Type$outboundSchema,
1111
- });
1112
-
1113
- export function createRouterResponse2CacheControlToJSON(
1114
- createRouterResponse2CacheControl: CreateRouterResponse2CacheControl,
1115
- ): string {
1116
- return JSON.stringify(
1117
- CreateRouterResponse2CacheControl$outboundSchema.parse(
1118
- createRouterResponse2CacheControl,
1119
- ),
1120
- );
1121
- }
1122
-
1123
649
  /** @internal */
1124
650
  export type TwoText$Outbound = {
1125
- cache_control?: CreateRouterResponse2CacheControl$Outbound | undefined;
1126
651
  text: string;
1127
652
  type: "input_text";
1128
653
  };
@@ -1133,14 +658,8 @@ export const TwoText$outboundSchema: z.ZodType<
1133
658
  z.ZodTypeDef,
1134
659
  TwoText
1135
660
  > = z.object({
1136
- cacheControl: z.lazy(() => CreateRouterResponse2CacheControl$outboundSchema)
1137
- .optional(),
1138
661
  text: z.string(),
1139
662
  type: z.literal("input_text"),
1140
- }).transform((v) => {
1141
- return remap$(v, {
1142
- cacheControl: "cache_control",
1143
- });
1144
663
  });
1145
664
 
1146
665
  export function twoTextToJSON(twoText: TwoText): string {
@@ -1513,10 +1032,9 @@ export function toolsMCPToolToJSON(toolsMCPTool: ToolsMCPTool): string {
1513
1032
  }
1514
1033
 
1515
1034
  /** @internal */
1516
- export const CreateRouterResponseToolsResponsesType$outboundSchema:
1517
- z.ZodNativeEnum<typeof CreateRouterResponseToolsResponsesType> = z.nativeEnum(
1518
- CreateRouterResponseToolsResponsesType,
1519
- );
1035
+ export const CreateRouterResponseToolsType$outboundSchema: z.ZodNativeEnum<
1036
+ typeof CreateRouterResponseToolsType
1037
+ > = z.nativeEnum(CreateRouterResponseToolsType);
1520
1038
 
1521
1039
  /** @internal */
1522
1040
  export type OrqAiTool$Outbound = {
@@ -1531,7 +1049,7 @@ export const OrqAiTool$outboundSchema: z.ZodType<
1531
1049
  OrqAiTool
1532
1050
  > = z.object({
1533
1051
  toolId: z.string().optional(),
1534
- type: CreateRouterResponseToolsResponsesType$outboundSchema,
1052
+ type: CreateRouterResponseToolsType$outboundSchema,
1535
1053
  }).transform((v) => {
1536
1054
  return remap$(v, {
1537
1055
  toolId: "tool_id",
@@ -1542,41 +1060,8 @@ export function orqAiToolToJSON(orqAiTool: OrqAiTool): string {
1542
1060
  return JSON.stringify(OrqAiTool$outboundSchema.parse(orqAiTool));
1543
1061
  }
1544
1062
 
1545
- /** @internal */
1546
- export const ToolsTtl$outboundSchema: z.ZodNativeEnum<typeof ToolsTtl> = z
1547
- .nativeEnum(ToolsTtl);
1548
-
1549
- /** @internal */
1550
- export const ToolsType$outboundSchema: z.ZodNativeEnum<typeof ToolsType> = z
1551
- .nativeEnum(ToolsType);
1552
-
1553
- /** @internal */
1554
- export type ToolsCacheControl$Outbound = {
1555
- ttl: string;
1556
- type: string;
1557
- };
1558
-
1559
- /** @internal */
1560
- export const ToolsCacheControl$outboundSchema: z.ZodType<
1561
- ToolsCacheControl$Outbound,
1562
- z.ZodTypeDef,
1563
- ToolsCacheControl
1564
- > = z.object({
1565
- ttl: ToolsTtl$outboundSchema.default("5m"),
1566
- type: ToolsType$outboundSchema,
1567
- });
1568
-
1569
- export function toolsCacheControlToJSON(
1570
- toolsCacheControl: ToolsCacheControl,
1571
- ): string {
1572
- return JSON.stringify(
1573
- ToolsCacheControl$outboundSchema.parse(toolsCacheControl),
1574
- );
1575
- }
1576
-
1577
1063
  /** @internal */
1578
1064
  export type ToolsFunction$Outbound = {
1579
- cache_control?: ToolsCacheControl$Outbound | undefined;
1580
1065
  description?: string | undefined;
1581
1066
  name: string;
1582
1067
  parameters?: { [k: string]: any } | undefined;
@@ -1590,16 +1075,11 @@ export const ToolsFunction$outboundSchema: z.ZodType<
1590
1075
  z.ZodTypeDef,
1591
1076
  ToolsFunction
1592
1077
  > = z.object({
1593
- cacheControl: z.lazy(() => ToolsCacheControl$outboundSchema).optional(),
1594
1078
  description: z.string().optional(),
1595
1079
  name: z.string(),
1596
1080
  parameters: z.record(z.any()).optional(),
1597
1081
  strict: z.boolean().optional(),
1598
1082
  type: z.literal("function"),
1599
- }).transform((v) => {
1600
- return remap$(v, {
1601
- cacheControl: "cache_control",
1602
- });
1603
1083
  });
1604
1084
 
1605
1085
  export function toolsFunctionToJSON(toolsFunction: ToolsFunction): string {
@@ -1655,7 +1135,6 @@ export function createRouterResponseToolsToJSON(
1655
1135
 
1656
1136
  /** @internal */
1657
1137
  export type CreateRouterResponseRequestBody$Outbound = {
1658
- cache_control?: CreateRouterResponseCacheControl$Outbound | undefined;
1659
1138
  conversation?: components.ConversationParam$Outbound | undefined;
1660
1139
  fallbacks?: Array<components.FallbackConfig$Outbound> | null | undefined;
1661
1140
  frequency_penalty?: number | undefined;
@@ -1707,8 +1186,6 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
1707
1186
  z.ZodTypeDef,
1708
1187
  CreateRouterResponseRequestBody
1709
1188
  > = z.object({
1710
- cacheControl: z.lazy(() => CreateRouterResponseCacheControl$outboundSchema)
1711
- .optional(),
1712
1189
  conversation: components.ConversationParam$outboundSchema.optional(),
1713
1190
  fallbacks: z.nullable(z.array(components.FallbackConfig$outboundSchema))
1714
1191
  .optional(),
@@ -1773,7 +1250,6 @@ export const CreateRouterResponseRequestBody$outboundSchema: z.ZodType<
1773
1250
  variables: z.record(z.any()).optional(),
1774
1251
  }).transform((v) => {
1775
1252
  return remap$(v, {
1776
- cacheControl: "cache_control",
1777
1253
  frequencyPenalty: "frequency_penalty",
1778
1254
  maxOutputTokens: "max_output_tokens",
1779
1255
  maxToolCalls: "max_tool_calls",