@openrouter/sdk 0.0.0-beta.33 → 0.0.0-beta.38

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 (286) hide show
  1. package/FUNCTIONS.md +3 -3
  2. package/REACT_QUERY.md +4 -4
  3. package/README.md +9 -9
  4. package/dist/commonjs/funcs/betaResponsesSend.d.ts +26 -0
  5. package/dist/commonjs/funcs/betaResponsesSend.d.ts.map +1 -0
  6. package/dist/commonjs/funcs/{betaResponsesSendRequest.js → betaResponsesSend.js} +5 -13
  7. package/dist/commonjs/funcs/betaResponsesSend.js.map +1 -0
  8. package/dist/commonjs/funcs/chatSend.d.ts +3 -13
  9. package/dist/commonjs/funcs/chatSend.d.ts.map +1 -1
  10. package/dist/commonjs/funcs/chatSend.js +1 -8
  11. package/dist/commonjs/funcs/chatSend.js.map +1 -1
  12. package/dist/commonjs/funcs/modelsList.d.ts +1 -7
  13. package/dist/commonjs/funcs/modelsList.d.ts.map +1 -1
  14. package/dist/commonjs/funcs/modelsList.js +1 -8
  15. package/dist/commonjs/funcs/modelsList.js.map +1 -1
  16. package/dist/commonjs/lib/config.d.ts +3 -3
  17. package/dist/commonjs/lib/config.js +3 -3
  18. package/dist/commonjs/models/createapikeydata.d.ts +120 -0
  19. package/dist/commonjs/models/createapikeydata.d.ts.map +1 -0
  20. package/dist/commonjs/models/createapikeydata.js +134 -0
  21. package/dist/commonjs/models/createapikeydata.js.map +1 -0
  22. package/dist/commonjs/models/endpointslist.d.ts +8 -8
  23. package/dist/commonjs/models/endpointslist.d.ts.map +1 -1
  24. package/dist/commonjs/models/endpointslist.js +13 -13
  25. package/dist/commonjs/models/endpointslist.js.map +1 -1
  26. package/dist/commonjs/models/getapikeydata.d.ts +120 -0
  27. package/dist/commonjs/models/getapikeydata.d.ts.map +1 -0
  28. package/dist/commonjs/models/getapikeydata.js +134 -0
  29. package/dist/commonjs/models/getapikeydata.js.map +1 -0
  30. package/dist/commonjs/models/index.d.ts +5 -4
  31. package/dist/commonjs/models/index.d.ts.map +1 -1
  32. package/dist/commonjs/models/index.js +5 -4
  33. package/dist/commonjs/models/index.js.map +1 -1
  34. package/dist/commonjs/models/keyinfo.d.ts +8 -8
  35. package/dist/commonjs/models/listapikeysdata.d.ts +117 -0
  36. package/dist/commonjs/models/listapikeysdata.d.ts.map +1 -0
  37. package/dist/commonjs/models/listapikeysdata.js +134 -0
  38. package/dist/commonjs/models/listapikeysdata.js.map +1 -0
  39. package/dist/commonjs/models/operations/create.d.ts +43 -68
  40. package/dist/commonjs/models/operations/create.d.ts.map +1 -1
  41. package/dist/commonjs/models/operations/create.js +31 -54
  42. package/dist/commonjs/models/operations/create.js.map +1 -1
  43. package/dist/commonjs/models/operations/generate.d.ts +103 -103
  44. package/dist/commonjs/models/operations/generate.d.ts.map +1 -1
  45. package/dist/commonjs/models/operations/generate.js +142 -153
  46. package/dist/commonjs/models/operations/generate.js.map +1 -1
  47. package/dist/commonjs/models/operations/getapikey.d.ts +3 -68
  48. package/dist/commonjs/models/operations/getapikey.d.ts.map +1 -1
  49. package/dist/commonjs/models/operations/getapikey.js +4 -55
  50. package/dist/commonjs/models/operations/getapikey.js.map +1 -1
  51. package/dist/commonjs/models/operations/listapikeys.d.ts +3 -65
  52. package/dist/commonjs/models/operations/listapikeys.d.ts.map +1 -1
  53. package/dist/commonjs/models/operations/listapikeys.js +4 -54
  54. package/dist/commonjs/models/operations/listapikeys.js.map +1 -1
  55. package/dist/commonjs/models/operations/sendresponsesrequest.d.ts +1693 -0
  56. package/dist/commonjs/models/operations/sendresponsesrequest.d.ts.map +1 -1
  57. package/dist/commonjs/models/operations/sendresponsesrequest.js +1156 -1
  58. package/dist/commonjs/models/operations/sendresponsesrequest.js.map +1 -1
  59. package/dist/commonjs/models/operations/update.d.ts +43 -68
  60. package/dist/commonjs/models/operations/update.d.ts.map +1 -1
  61. package/dist/commonjs/models/operations/update.js +31 -54
  62. package/dist/commonjs/models/operations/update.js.map +1 -1
  63. package/dist/commonjs/models/responsesnonstreamingresponse.d.ts +19 -19
  64. package/dist/commonjs/models/responsesnonstreamingresponse.d.ts.map +1 -1
  65. package/dist/commonjs/models/responsesnonstreamingresponse.js +30 -32
  66. package/dist/commonjs/models/responsesnonstreamingresponse.js.map +1 -1
  67. package/dist/commonjs/models/responsesoutputitemreasoning.d.ts +3 -0
  68. package/dist/commonjs/models/responsesoutputitemreasoning.d.ts.map +1 -1
  69. package/dist/commonjs/models/responsesoutputitemreasoning.js +1 -0
  70. package/dist/commonjs/models/responsesoutputitemreasoning.js.map +1 -1
  71. package/dist/commonjs/models/{toolchoice.d.ts → toolchoiceunion.d.ts} +95 -16
  72. package/dist/commonjs/models/toolchoiceunion.d.ts.map +1 -0
  73. package/dist/commonjs/models/{toolchoice.js → toolchoiceunion.js} +94 -21
  74. package/dist/commonjs/models/toolchoiceunion.js.map +1 -0
  75. package/dist/commonjs/models/updateapikeydata.d.ts +120 -0
  76. package/dist/commonjs/models/updateapikeydata.d.ts.map +1 -0
  77. package/dist/commonjs/models/updateapikeydata.js +134 -0
  78. package/dist/commonjs/models/updateapikeydata.js.map +1 -0
  79. package/dist/commonjs/react-query/betaResponsesSend.d.ts +23 -0
  80. package/dist/commonjs/react-query/betaResponsesSend.d.ts.map +1 -0
  81. package/dist/commonjs/react-query/betaResponsesSend.js +47 -0
  82. package/dist/commonjs/react-query/betaResponsesSend.js.map +1 -0
  83. package/dist/commonjs/react-query/chatSend.d.ts +1 -5
  84. package/dist/commonjs/react-query/chatSend.d.ts.map +1 -1
  85. package/dist/commonjs/react-query/chatSend.js +0 -3
  86. package/dist/commonjs/react-query/chatSend.js.map +1 -1
  87. package/dist/commonjs/react-query/index.d.ts +1 -1
  88. package/dist/commonjs/react-query/index.d.ts.map +1 -1
  89. package/dist/commonjs/react-query/index.js +1 -1
  90. package/dist/commonjs/react-query/index.js.map +1 -1
  91. package/dist/commonjs/react-query/modelsList.d.ts +1 -5
  92. package/dist/commonjs/react-query/modelsList.d.ts.map +1 -1
  93. package/dist/commonjs/react-query/modelsList.js +0 -3
  94. package/dist/commonjs/react-query/modelsList.js.map +1 -1
  95. package/dist/commonjs/sdk/chat.d.ts +3 -11
  96. package/dist/commonjs/sdk/chat.d.ts.map +1 -1
  97. package/dist/commonjs/sdk/chat.js +1 -3
  98. package/dist/commonjs/sdk/chat.js.map +1 -1
  99. package/dist/commonjs/sdk/models.d.ts +1 -5
  100. package/dist/commonjs/sdk/models.d.ts.map +1 -1
  101. package/dist/commonjs/sdk/models.js +1 -3
  102. package/dist/commonjs/sdk/models.js.map +1 -1
  103. package/dist/commonjs/sdk/responses.d.ts +5 -13
  104. package/dist/commonjs/sdk/responses.d.ts.map +1 -1
  105. package/dist/commonjs/sdk/responses.js +4 -6
  106. package/dist/commonjs/sdk/responses.js.map +1 -1
  107. package/dist/esm/funcs/betaResponsesSend.d.ts +26 -0
  108. package/dist/esm/funcs/betaResponsesSend.d.ts.map +1 -0
  109. package/dist/esm/funcs/{betaResponsesSendRequest.js → betaResponsesSend.js} +4 -11
  110. package/dist/esm/funcs/betaResponsesSend.js.map +1 -0
  111. package/dist/esm/funcs/chatSend.d.ts +3 -13
  112. package/dist/esm/funcs/chatSend.d.ts.map +1 -1
  113. package/dist/esm/funcs/chatSend.js +1 -7
  114. package/dist/esm/funcs/chatSend.js.map +1 -1
  115. package/dist/esm/funcs/modelsList.d.ts +1 -7
  116. package/dist/esm/funcs/modelsList.d.ts.map +1 -1
  117. package/dist/esm/funcs/modelsList.js +1 -7
  118. package/dist/esm/funcs/modelsList.js.map +1 -1
  119. package/dist/esm/lib/config.d.ts +3 -3
  120. package/dist/esm/lib/config.js +3 -3
  121. package/dist/esm/models/createapikeydata.d.ts +120 -0
  122. package/dist/esm/models/createapikeydata.d.ts.map +1 -0
  123. package/dist/esm/models/createapikeydata.js +96 -0
  124. package/dist/esm/models/createapikeydata.js.map +1 -0
  125. package/dist/esm/models/endpointslist.d.ts +8 -8
  126. package/dist/esm/models/endpointslist.d.ts.map +1 -1
  127. package/dist/esm/models/endpointslist.js +12 -12
  128. package/dist/esm/models/endpointslist.js.map +1 -1
  129. package/dist/esm/models/getapikeydata.d.ts +120 -0
  130. package/dist/esm/models/getapikeydata.d.ts.map +1 -0
  131. package/dist/esm/models/getapikeydata.js +96 -0
  132. package/dist/esm/models/getapikeydata.js.map +1 -0
  133. package/dist/esm/models/index.d.ts +5 -4
  134. package/dist/esm/models/index.d.ts.map +1 -1
  135. package/dist/esm/models/index.js +5 -4
  136. package/dist/esm/models/index.js.map +1 -1
  137. package/dist/esm/models/keyinfo.d.ts +8 -8
  138. package/dist/esm/models/listapikeysdata.d.ts +117 -0
  139. package/dist/esm/models/listapikeysdata.d.ts.map +1 -0
  140. package/dist/esm/models/listapikeysdata.js +96 -0
  141. package/dist/esm/models/listapikeysdata.js.map +1 -0
  142. package/dist/esm/models/operations/create.d.ts +43 -68
  143. package/dist/esm/models/operations/create.d.ts.map +1 -1
  144. package/dist/esm/models/operations/create.js +30 -51
  145. package/dist/esm/models/operations/create.js.map +1 -1
  146. package/dist/esm/models/operations/generate.d.ts +103 -103
  147. package/dist/esm/models/operations/generate.d.ts.map +1 -1
  148. package/dist/esm/models/operations/generate.js +138 -149
  149. package/dist/esm/models/operations/generate.js.map +1 -1
  150. package/dist/esm/models/operations/getapikey.d.ts +3 -68
  151. package/dist/esm/models/operations/getapikey.d.ts.map +1 -1
  152. package/dist/esm/models/operations/getapikey.js +3 -52
  153. package/dist/esm/models/operations/getapikey.js.map +1 -1
  154. package/dist/esm/models/operations/listapikeys.d.ts +3 -65
  155. package/dist/esm/models/operations/listapikeys.d.ts.map +1 -1
  156. package/dist/esm/models/operations/listapikeys.js +3 -51
  157. package/dist/esm/models/operations/listapikeys.js.map +1 -1
  158. package/dist/esm/models/operations/sendresponsesrequest.d.ts +1693 -0
  159. package/dist/esm/models/operations/sendresponsesrequest.d.ts.map +1 -1
  160. package/dist/esm/models/operations/sendresponsesrequest.js +1117 -0
  161. package/dist/esm/models/operations/sendresponsesrequest.js.map +1 -1
  162. package/dist/esm/models/operations/update.d.ts +43 -68
  163. package/dist/esm/models/operations/update.d.ts.map +1 -1
  164. package/dist/esm/models/operations/update.js +30 -51
  165. package/dist/esm/models/operations/update.js.map +1 -1
  166. package/dist/esm/models/responsesnonstreamingresponse.d.ts +19 -19
  167. package/dist/esm/models/responsesnonstreamingresponse.d.ts.map +1 -1
  168. package/dist/esm/models/responsesnonstreamingresponse.js +29 -31
  169. package/dist/esm/models/responsesnonstreamingresponse.js.map +1 -1
  170. package/dist/esm/models/responsesoutputitemreasoning.d.ts +3 -0
  171. package/dist/esm/models/responsesoutputitemreasoning.d.ts.map +1 -1
  172. package/dist/esm/models/responsesoutputitemreasoning.js +1 -0
  173. package/dist/esm/models/responsesoutputitemreasoning.js.map +1 -1
  174. package/dist/esm/models/{toolchoice.d.ts → toolchoiceunion.d.ts} +95 -16
  175. package/dist/esm/models/toolchoiceunion.d.ts.map +1 -0
  176. package/dist/esm/models/toolchoiceunion.js +164 -0
  177. package/dist/esm/models/toolchoiceunion.js.map +1 -0
  178. package/dist/esm/models/updateapikeydata.d.ts +120 -0
  179. package/dist/esm/models/updateapikeydata.d.ts.map +1 -0
  180. package/dist/esm/models/updateapikeydata.js +96 -0
  181. package/dist/esm/models/updateapikeydata.js.map +1 -0
  182. package/dist/esm/react-query/betaResponsesSend.d.ts +23 -0
  183. package/dist/esm/react-query/betaResponsesSend.d.ts.map +1 -0
  184. package/dist/esm/react-query/{betaResponsesSendRequest.js → betaResponsesSend.js} +10 -11
  185. package/dist/esm/react-query/betaResponsesSend.js.map +1 -0
  186. package/dist/esm/react-query/chatSend.d.ts +1 -5
  187. package/dist/esm/react-query/chatSend.d.ts.map +1 -1
  188. package/dist/esm/react-query/chatSend.js +0 -1
  189. package/dist/esm/react-query/chatSend.js.map +1 -1
  190. package/dist/esm/react-query/index.d.ts +1 -1
  191. package/dist/esm/react-query/index.d.ts.map +1 -1
  192. package/dist/esm/react-query/index.js +1 -1
  193. package/dist/esm/react-query/index.js.map +1 -1
  194. package/dist/esm/react-query/modelsList.d.ts +1 -5
  195. package/dist/esm/react-query/modelsList.d.ts.map +1 -1
  196. package/dist/esm/react-query/modelsList.js +0 -1
  197. package/dist/esm/react-query/modelsList.js.map +1 -1
  198. package/dist/esm/sdk/chat.d.ts +3 -11
  199. package/dist/esm/sdk/chat.d.ts.map +1 -1
  200. package/dist/esm/sdk/chat.js +0 -1
  201. package/dist/esm/sdk/chat.js.map +1 -1
  202. package/dist/esm/sdk/models.d.ts +1 -5
  203. package/dist/esm/sdk/models.d.ts.map +1 -1
  204. package/dist/esm/sdk/models.js +0 -1
  205. package/dist/esm/sdk/models.js.map +1 -1
  206. package/dist/esm/sdk/responses.d.ts +5 -13
  207. package/dist/esm/sdk/responses.d.ts.map +1 -1
  208. package/dist/esm/sdk/responses.js +3 -4
  209. package/dist/esm/sdk/responses.js.map +1 -1
  210. package/docs/sdks/apikeys/README.md +4 -0
  211. package/docs/sdks/responses/README.md +9 -9
  212. package/examples/{betaResponsesSendRequest.example.ts → betaResponsesSend.example.ts} +2 -2
  213. package/jsr.json +1 -1
  214. package/package.json +1 -1
  215. package/src/funcs/{betaResponsesSendRequest.ts → betaResponsesSend.ts} +17 -22
  216. package/src/funcs/chatSend.ts +6 -12
  217. package/src/funcs/modelsList.ts +3 -9
  218. package/src/lib/config.ts +3 -3
  219. package/src/models/createapikeydata.ts +222 -0
  220. package/src/models/endpointslist.ts +14 -18
  221. package/src/models/getapikeydata.ts +218 -0
  222. package/src/models/index.ts +5 -4
  223. package/src/models/keyinfo.ts +8 -8
  224. package/src/models/listapikeysdata.ts +217 -0
  225. package/src/models/operations/create.ts +49 -123
  226. package/src/models/operations/generate.ts +232 -188
  227. package/src/models/operations/getapikey.ts +5 -124
  228. package/src/models/operations/listapikeys.ts +5 -122
  229. package/src/models/operations/sendresponsesrequest.ts +2005 -0
  230. package/src/models/operations/update.ts +49 -123
  231. package/src/models/responsesnonstreamingresponse.ts +37 -55
  232. package/src/models/responsesoutputitemreasoning.ts +1 -0
  233. package/src/models/{toolchoice.ts → toolchoiceunion.ts} +181 -37
  234. package/src/models/updateapikeydata.ts +222 -0
  235. package/src/react-query/{betaResponsesSendRequest.ts → betaResponsesSend.ts} +20 -26
  236. package/src/react-query/chatSend.ts +2 -4
  237. package/src/react-query/index.ts +1 -1
  238. package/src/react-query/modelsList.ts +2 -4
  239. package/src/sdk/chat.ts +5 -7
  240. package/src/sdk/models.ts +2 -4
  241. package/src/sdk/responses.ts +16 -19
  242. package/dist/commonjs/funcs/betaResponsesSendRequest.d.ts +0 -36
  243. package/dist/commonjs/funcs/betaResponsesSendRequest.d.ts.map +0 -1
  244. package/dist/commonjs/funcs/betaResponsesSendRequest.js.map +0 -1
  245. package/dist/commonjs/models/openairesponsesrequest.d.ts +0 -1704
  246. package/dist/commonjs/models/openairesponsesrequest.d.ts.map +0 -1
  247. package/dist/commonjs/models/openairesponsesrequest.js +0 -1210
  248. package/dist/commonjs/models/openairesponsesrequest.js.map +0 -1
  249. package/dist/commonjs/models/toolchoice.d.ts.map +0 -1
  250. package/dist/commonjs/models/toolchoice.js.map +0 -1
  251. package/dist/commonjs/models/toolchoicefunction.d.ts +0 -57
  252. package/dist/commonjs/models/toolchoicefunction.d.ts.map +0 -1
  253. package/dist/commonjs/models/toolchoicefunction.js +0 -89
  254. package/dist/commonjs/models/toolchoicefunction.js.map +0 -1
  255. package/dist/commonjs/models/toolchoicetypes.d.ts +0 -33
  256. package/dist/commonjs/models/toolchoicetypes.d.ts.map +0 -1
  257. package/dist/commonjs/models/toolchoicetypes.js +0 -70
  258. package/dist/commonjs/models/toolchoicetypes.js.map +0 -1
  259. package/dist/commonjs/react-query/betaResponsesSendRequest.d.ts +0 -28
  260. package/dist/commonjs/react-query/betaResponsesSendRequest.d.ts.map +0 -1
  261. package/dist/commonjs/react-query/betaResponsesSendRequest.js +0 -50
  262. package/dist/commonjs/react-query/betaResponsesSendRequest.js.map +0 -1
  263. package/dist/esm/funcs/betaResponsesSendRequest.d.ts +0 -36
  264. package/dist/esm/funcs/betaResponsesSendRequest.d.ts.map +0 -1
  265. package/dist/esm/funcs/betaResponsesSendRequest.js.map +0 -1
  266. package/dist/esm/models/openairesponsesrequest.d.ts +0 -1704
  267. package/dist/esm/models/openairesponsesrequest.d.ts.map +0 -1
  268. package/dist/esm/models/openairesponsesrequest.js +0 -1136
  269. package/dist/esm/models/openairesponsesrequest.js.map +0 -1
  270. package/dist/esm/models/toolchoice.d.ts.map +0 -1
  271. package/dist/esm/models/toolchoice.js +0 -95
  272. package/dist/esm/models/toolchoice.js.map +0 -1
  273. package/dist/esm/models/toolchoicefunction.d.ts +0 -57
  274. package/dist/esm/models/toolchoicefunction.d.ts.map +0 -1
  275. package/dist/esm/models/toolchoicefunction.js +0 -51
  276. package/dist/esm/models/toolchoicefunction.js.map +0 -1
  277. package/dist/esm/models/toolchoicetypes.d.ts +0 -33
  278. package/dist/esm/models/toolchoicetypes.d.ts.map +0 -1
  279. package/dist/esm/models/toolchoicetypes.js +0 -32
  280. package/dist/esm/models/toolchoicetypes.js.map +0 -1
  281. package/dist/esm/react-query/betaResponsesSendRequest.d.ts +0 -28
  282. package/dist/esm/react-query/betaResponsesSendRequest.d.ts.map +0 -1
  283. package/dist/esm/react-query/betaResponsesSendRequest.js.map +0 -1
  284. package/src/models/openairesponsesrequest.ts +0 -1974
  285. package/src/models/toolchoicefunction.ts +0 -100
  286. package/src/models/toolchoicetypes.ts +0 -73
@@ -1,8 +1,502 @@
1
1
  import * as z from "zod";
2
2
  import { EventStream } from "../../lib/event-streams.js";
3
+ import { ClosedEnum } from "../../types/enums.js";
3
4
  import { Result as SafeParseResult } from "../../types/fp.js";
4
5
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
6
  import * as models from "../index.js";
7
+ export declare const ServiceTier: {
8
+ readonly Auto: "auto";
9
+ readonly Default: "default";
10
+ readonly Flex: "flex";
11
+ readonly Priority: "priority";
12
+ readonly Scale: "scale";
13
+ };
14
+ export type ServiceTier = ClosedEnum<typeof ServiceTier>;
15
+ export declare const Truncation: {
16
+ readonly Auto: "auto";
17
+ readonly Disabled: "disabled";
18
+ };
19
+ export type Truncation = ClosedEnum<typeof Truncation>;
20
+ /**
21
+ * Data collection setting. If no available model provider meets the requirement, your request will return an error.
22
+ *
23
+ * @remarks
24
+ * - allow: (default) allow providers which store user data non-transiently and may train on it
25
+ * - deny: use only providers which do not collect user data.
26
+ */
27
+ export declare const SendResponsesRequestDataCollection: {
28
+ readonly Deny: "deny";
29
+ readonly Allow: "allow";
30
+ };
31
+ /**
32
+ * Data collection setting. If no available model provider meets the requirement, your request will return an error.
33
+ *
34
+ * @remarks
35
+ * - allow: (default) allow providers which store user data non-transiently and may train on it
36
+ * - deny: use only providers which do not collect user data.
37
+ */
38
+ export type SendResponsesRequestDataCollection = ClosedEnum<typeof SendResponsesRequestDataCollection>;
39
+ export declare const SendResponsesRequestOrderEnum: {
40
+ readonly AnyScale: "AnyScale";
41
+ readonly CentML: "Cent-ML";
42
+ readonly HuggingFace: "HuggingFace";
43
+ readonly Hyperbolic2: "Hyperbolic 2";
44
+ readonly Lepton: "Lepton";
45
+ readonly Lynn2: "Lynn 2";
46
+ readonly Lynn: "Lynn";
47
+ readonly Mancer: "Mancer";
48
+ readonly Modal: "Modal";
49
+ readonly OctoAI: "OctoAI";
50
+ readonly Recursal: "Recursal";
51
+ readonly Reflection: "Reflection";
52
+ readonly Replicate: "Replicate";
53
+ readonly SambaNova2: "SambaNova 2";
54
+ readonly SFCompute: "SF Compute";
55
+ readonly Together2: "Together 2";
56
+ readonly OneDotAI: "01.AI";
57
+ readonly Ai21: "AI21";
58
+ readonly AionLabs: "AionLabs";
59
+ readonly Alibaba: "Alibaba";
60
+ readonly AmazonBedrock: "Amazon Bedrock";
61
+ readonly Anthropic: "Anthropic";
62
+ readonly AtlasCloud: "AtlasCloud";
63
+ readonly Atoma: "Atoma";
64
+ readonly Avian: "Avian";
65
+ readonly Azure: "Azure";
66
+ readonly BaseTen: "BaseTen";
67
+ readonly Cerebras: "Cerebras";
68
+ readonly Chutes: "Chutes";
69
+ readonly Cloudflare: "Cloudflare";
70
+ readonly Cohere: "Cohere";
71
+ readonly CrofAI: "CrofAI";
72
+ readonly Crusoe: "Crusoe";
73
+ readonly DeepInfra: "DeepInfra";
74
+ readonly DeepSeek: "DeepSeek";
75
+ readonly Enfer: "Enfer";
76
+ readonly Featherless: "Featherless";
77
+ readonly Fireworks: "Fireworks";
78
+ readonly Friendli: "Friendli";
79
+ readonly GMICloud: "GMICloud";
80
+ readonly Google: "Google";
81
+ readonly GoogleAIStudio: "Google AI Studio";
82
+ readonly Groq: "Groq";
83
+ readonly Hyperbolic: "Hyperbolic";
84
+ readonly Inception: "Inception";
85
+ readonly InferenceNet: "InferenceNet";
86
+ readonly Infermatic: "Infermatic";
87
+ readonly Inflection: "Inflection";
88
+ readonly InoCloud: "InoCloud";
89
+ readonly Kluster: "Kluster";
90
+ readonly Lambda: "Lambda";
91
+ readonly Liquid: "Liquid";
92
+ readonly Mancer2: "Mancer 2";
93
+ readonly Meta: "Meta";
94
+ readonly Minimax: "Minimax";
95
+ readonly Mistral: "Mistral";
96
+ readonly MoonshotAI: "Moonshot AI";
97
+ readonly Morph: "Morph";
98
+ readonly NCompass: "NCompass";
99
+ readonly Nebius: "Nebius";
100
+ readonly NextBit: "NextBit";
101
+ readonly Nineteen: "Nineteen";
102
+ readonly Novita: "Novita";
103
+ readonly Nvidia: "Nvidia";
104
+ readonly OpenAI: "OpenAI";
105
+ readonly OpenInference: "OpenInference";
106
+ readonly Parasail: "Parasail";
107
+ readonly Perplexity: "Perplexity";
108
+ readonly Phala: "Phala";
109
+ readonly Relace: "Relace";
110
+ readonly SambaNova: "SambaNova";
111
+ readonly SiliconFlow: "SiliconFlow";
112
+ readonly Stealth: "Stealth";
113
+ readonly Switchpoint: "Switchpoint";
114
+ readonly Targon: "Targon";
115
+ readonly Together: "Together";
116
+ readonly Ubicloud: "Ubicloud";
117
+ readonly Venice: "Venice";
118
+ readonly WandB: "WandB";
119
+ readonly XAI: "xAI";
120
+ readonly ZAi: "Z.AI";
121
+ readonly FakeProvider: "FakeProvider";
122
+ };
123
+ export type SendResponsesRequestOrderEnum = ClosedEnum<typeof SendResponsesRequestOrderEnum>;
124
+ export type SendResponsesRequestOrderUnion = SendResponsesRequestOrderEnum | string;
125
+ export declare const SendResponsesRequestOnlyEnum: {
126
+ readonly AnyScale: "AnyScale";
127
+ readonly CentML: "Cent-ML";
128
+ readonly HuggingFace: "HuggingFace";
129
+ readonly Hyperbolic2: "Hyperbolic 2";
130
+ readonly Lepton: "Lepton";
131
+ readonly Lynn2: "Lynn 2";
132
+ readonly Lynn: "Lynn";
133
+ readonly Mancer: "Mancer";
134
+ readonly Modal: "Modal";
135
+ readonly OctoAI: "OctoAI";
136
+ readonly Recursal: "Recursal";
137
+ readonly Reflection: "Reflection";
138
+ readonly Replicate: "Replicate";
139
+ readonly SambaNova2: "SambaNova 2";
140
+ readonly SFCompute: "SF Compute";
141
+ readonly Together2: "Together 2";
142
+ readonly OneDotAI: "01.AI";
143
+ readonly Ai21: "AI21";
144
+ readonly AionLabs: "AionLabs";
145
+ readonly Alibaba: "Alibaba";
146
+ readonly AmazonBedrock: "Amazon Bedrock";
147
+ readonly Anthropic: "Anthropic";
148
+ readonly AtlasCloud: "AtlasCloud";
149
+ readonly Atoma: "Atoma";
150
+ readonly Avian: "Avian";
151
+ readonly Azure: "Azure";
152
+ readonly BaseTen: "BaseTen";
153
+ readonly Cerebras: "Cerebras";
154
+ readonly Chutes: "Chutes";
155
+ readonly Cloudflare: "Cloudflare";
156
+ readonly Cohere: "Cohere";
157
+ readonly CrofAI: "CrofAI";
158
+ readonly Crusoe: "Crusoe";
159
+ readonly DeepInfra: "DeepInfra";
160
+ readonly DeepSeek: "DeepSeek";
161
+ readonly Enfer: "Enfer";
162
+ readonly Featherless: "Featherless";
163
+ readonly Fireworks: "Fireworks";
164
+ readonly Friendli: "Friendli";
165
+ readonly GMICloud: "GMICloud";
166
+ readonly Google: "Google";
167
+ readonly GoogleAIStudio: "Google AI Studio";
168
+ readonly Groq: "Groq";
169
+ readonly Hyperbolic: "Hyperbolic";
170
+ readonly Inception: "Inception";
171
+ readonly InferenceNet: "InferenceNet";
172
+ readonly Infermatic: "Infermatic";
173
+ readonly Inflection: "Inflection";
174
+ readonly InoCloud: "InoCloud";
175
+ readonly Kluster: "Kluster";
176
+ readonly Lambda: "Lambda";
177
+ readonly Liquid: "Liquid";
178
+ readonly Mancer2: "Mancer 2";
179
+ readonly Meta: "Meta";
180
+ readonly Minimax: "Minimax";
181
+ readonly Mistral: "Mistral";
182
+ readonly MoonshotAI: "Moonshot AI";
183
+ readonly Morph: "Morph";
184
+ readonly NCompass: "NCompass";
185
+ readonly Nebius: "Nebius";
186
+ readonly NextBit: "NextBit";
187
+ readonly Nineteen: "Nineteen";
188
+ readonly Novita: "Novita";
189
+ readonly Nvidia: "Nvidia";
190
+ readonly OpenAI: "OpenAI";
191
+ readonly OpenInference: "OpenInference";
192
+ readonly Parasail: "Parasail";
193
+ readonly Perplexity: "Perplexity";
194
+ readonly Phala: "Phala";
195
+ readonly Relace: "Relace";
196
+ readonly SambaNova: "SambaNova";
197
+ readonly SiliconFlow: "SiliconFlow";
198
+ readonly Stealth: "Stealth";
199
+ readonly Switchpoint: "Switchpoint";
200
+ readonly Targon: "Targon";
201
+ readonly Together: "Together";
202
+ readonly Ubicloud: "Ubicloud";
203
+ readonly Venice: "Venice";
204
+ readonly WandB: "WandB";
205
+ readonly XAI: "xAI";
206
+ readonly ZAi: "Z.AI";
207
+ readonly FakeProvider: "FakeProvider";
208
+ };
209
+ export type SendResponsesRequestOnlyEnum = ClosedEnum<typeof SendResponsesRequestOnlyEnum>;
210
+ export type SendResponsesRequestOnlyUnion = SendResponsesRequestOnlyEnum | string;
211
+ export declare const SendResponsesRequestIgnoreEnum: {
212
+ readonly AnyScale: "AnyScale";
213
+ readonly CentML: "Cent-ML";
214
+ readonly HuggingFace: "HuggingFace";
215
+ readonly Hyperbolic2: "Hyperbolic 2";
216
+ readonly Lepton: "Lepton";
217
+ readonly Lynn2: "Lynn 2";
218
+ readonly Lynn: "Lynn";
219
+ readonly Mancer: "Mancer";
220
+ readonly Modal: "Modal";
221
+ readonly OctoAI: "OctoAI";
222
+ readonly Recursal: "Recursal";
223
+ readonly Reflection: "Reflection";
224
+ readonly Replicate: "Replicate";
225
+ readonly SambaNova2: "SambaNova 2";
226
+ readonly SFCompute: "SF Compute";
227
+ readonly Together2: "Together 2";
228
+ readonly OneDotAI: "01.AI";
229
+ readonly Ai21: "AI21";
230
+ readonly AionLabs: "AionLabs";
231
+ readonly Alibaba: "Alibaba";
232
+ readonly AmazonBedrock: "Amazon Bedrock";
233
+ readonly Anthropic: "Anthropic";
234
+ readonly AtlasCloud: "AtlasCloud";
235
+ readonly Atoma: "Atoma";
236
+ readonly Avian: "Avian";
237
+ readonly Azure: "Azure";
238
+ readonly BaseTen: "BaseTen";
239
+ readonly Cerebras: "Cerebras";
240
+ readonly Chutes: "Chutes";
241
+ readonly Cloudflare: "Cloudflare";
242
+ readonly Cohere: "Cohere";
243
+ readonly CrofAI: "CrofAI";
244
+ readonly Crusoe: "Crusoe";
245
+ readonly DeepInfra: "DeepInfra";
246
+ readonly DeepSeek: "DeepSeek";
247
+ readonly Enfer: "Enfer";
248
+ readonly Featherless: "Featherless";
249
+ readonly Fireworks: "Fireworks";
250
+ readonly Friendli: "Friendli";
251
+ readonly GMICloud: "GMICloud";
252
+ readonly Google: "Google";
253
+ readonly GoogleAIStudio: "Google AI Studio";
254
+ readonly Groq: "Groq";
255
+ readonly Hyperbolic: "Hyperbolic";
256
+ readonly Inception: "Inception";
257
+ readonly InferenceNet: "InferenceNet";
258
+ readonly Infermatic: "Infermatic";
259
+ readonly Inflection: "Inflection";
260
+ readonly InoCloud: "InoCloud";
261
+ readonly Kluster: "Kluster";
262
+ readonly Lambda: "Lambda";
263
+ readonly Liquid: "Liquid";
264
+ readonly Mancer2: "Mancer 2";
265
+ readonly Meta: "Meta";
266
+ readonly Minimax: "Minimax";
267
+ readonly Mistral: "Mistral";
268
+ readonly MoonshotAI: "Moonshot AI";
269
+ readonly Morph: "Morph";
270
+ readonly NCompass: "NCompass";
271
+ readonly Nebius: "Nebius";
272
+ readonly NextBit: "NextBit";
273
+ readonly Nineteen: "Nineteen";
274
+ readonly Novita: "Novita";
275
+ readonly Nvidia: "Nvidia";
276
+ readonly OpenAI: "OpenAI";
277
+ readonly OpenInference: "OpenInference";
278
+ readonly Parasail: "Parasail";
279
+ readonly Perplexity: "Perplexity";
280
+ readonly Phala: "Phala";
281
+ readonly Relace: "Relace";
282
+ readonly SambaNova: "SambaNova";
283
+ readonly SiliconFlow: "SiliconFlow";
284
+ readonly Stealth: "Stealth";
285
+ readonly Switchpoint: "Switchpoint";
286
+ readonly Targon: "Targon";
287
+ readonly Together: "Together";
288
+ readonly Ubicloud: "Ubicloud";
289
+ readonly Venice: "Venice";
290
+ readonly WandB: "WandB";
291
+ readonly XAI: "xAI";
292
+ readonly ZAi: "Z.AI";
293
+ readonly FakeProvider: "FakeProvider";
294
+ };
295
+ export type SendResponsesRequestIgnoreEnum = ClosedEnum<typeof SendResponsesRequestIgnoreEnum>;
296
+ export type SendResponsesRequestIgnoreUnion = SendResponsesRequestIgnoreEnum | string;
297
+ export declare const SendResponsesRequestQuantization: {
298
+ readonly Int4: "int4";
299
+ readonly Int8: "int8";
300
+ readonly Fp4: "fp4";
301
+ readonly Fp6: "fp6";
302
+ readonly Fp8: "fp8";
303
+ readonly Fp16: "fp16";
304
+ readonly Bf16: "bf16";
305
+ readonly Fp32: "fp32";
306
+ readonly Unknown: "unknown";
307
+ };
308
+ export type SendResponsesRequestQuantization = ClosedEnum<typeof SendResponsesRequestQuantization>;
309
+ /**
310
+ * The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
311
+ */
312
+ export declare const SendResponsesRequestSort: {
313
+ readonly Price: "price";
314
+ readonly Throughput: "throughput";
315
+ readonly Latency: "latency";
316
+ };
317
+ /**
318
+ * The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
319
+ */
320
+ export type SendResponsesRequestSort = ClosedEnum<typeof SendResponsesRequestSort>;
321
+ export type SendResponsesRequestPrompt = number | string | any;
322
+ export type SendResponsesRequestCompletion = number | string | any;
323
+ export type SendResponsesRequestImage = number | string | any;
324
+ export type SendResponsesRequestAudio = number | string | any;
325
+ export type SendResponsesRequestRequestUnion = number | string | any;
326
+ /**
327
+ * The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
328
+ */
329
+ export type SendResponsesRequestMaxPrice = {
330
+ prompt?: number | string | any | undefined;
331
+ completion?: number | string | any | undefined;
332
+ image?: number | string | any | undefined;
333
+ audio?: number | string | any | undefined;
334
+ request?: number | string | any | undefined;
335
+ };
336
+ export type SendResponsesRequestExperimental = {};
337
+ /**
338
+ * When multiple model providers are available, optionally indicate your routing preference.
339
+ */
340
+ export type SendResponsesRequestProvider = {
341
+ /**
342
+ * Whether to allow backup providers to serve requests
343
+ *
344
+ * @remarks
345
+ * - true: (default) when the primary provider (or your custom providers in "order") is unavailable, use the next best provider.
346
+ * - false: use only the primary/custom provider, and return the upstream error if it's unavailable.
347
+ */
348
+ allowFallbacks?: boolean | null | undefined;
349
+ /**
350
+ * Whether to filter providers to only those that support the parameters you've provided. If this setting is omitted or set to false, then providers will receive only the parameters they support, and ignore the rest.
351
+ */
352
+ requireParameters?: boolean | null | undefined;
353
+ /**
354
+ * Data collection setting. If no available model provider meets the requirement, your request will return an error.
355
+ *
356
+ * @remarks
357
+ * - allow: (default) allow providers which store user data non-transiently and may train on it
358
+ * - deny: use only providers which do not collect user data.
359
+ */
360
+ dataCollection?: SendResponsesRequestDataCollection | null | undefined;
361
+ /**
362
+ * Whether to restrict routing to only ZDR (Zero Data Retention) endpoints. When true, only endpoints that do not retain prompts will be used.
363
+ */
364
+ zdr?: boolean | null | undefined;
365
+ /**
366
+ * An ordered list of provider slugs. The router will attempt to use the first provider in the subset of this list that supports your requested model, and fall back to the next if it is unavailable. If no providers are available, the request will fail with an error message.
367
+ */
368
+ order?: Array<SendResponsesRequestOrderEnum | string> | null | undefined;
369
+ /**
370
+ * List of provider slugs to allow. If provided, this list is merged with your account-wide allowed provider settings for this request.
371
+ */
372
+ only?: Array<SendResponsesRequestOnlyEnum | string> | null | undefined;
373
+ /**
374
+ * List of provider slugs to ignore. If provided, this list is merged with your account-wide ignored provider settings for this request.
375
+ */
376
+ ignore?: Array<SendResponsesRequestIgnoreEnum | string> | null | undefined;
377
+ /**
378
+ * A list of quantization levels to filter the provider by.
379
+ */
380
+ quantizations?: Array<SendResponsesRequestQuantization> | null | undefined;
381
+ /**
382
+ * The sorting strategy to use for this request, if "order" is not specified. When set, no load balancing is performed.
383
+ */
384
+ sort?: SendResponsesRequestSort | null | undefined;
385
+ /**
386
+ * The object specifying the maximum price you want to pay for this request. USD price per million tokens, for prompt and completion.
387
+ */
388
+ maxPrice?: SendResponsesRequestMaxPrice | undefined;
389
+ experimental?: SendResponsesRequestExperimental | null | undefined;
390
+ };
391
+ export declare const IdFileParser: {
392
+ readonly FileParser: "file-parser";
393
+ };
394
+ export type IdFileParser = ClosedEnum<typeof IdFileParser>;
395
+ export declare const PdfEngine: {
396
+ readonly MistralOcr: "mistral-ocr";
397
+ readonly PdfText: "pdf-text";
398
+ readonly Native: "native";
399
+ };
400
+ export type PdfEngine = ClosedEnum<typeof PdfEngine>;
401
+ export type Pdf = {
402
+ engine?: PdfEngine | undefined;
403
+ };
404
+ export type PluginFileParser = {
405
+ id: IdFileParser;
406
+ maxFiles?: number | undefined;
407
+ pdf?: Pdf | undefined;
408
+ };
409
+ export declare const IdChainOfThought: {
410
+ readonly ChainOfThought: "chain-of-thought";
411
+ };
412
+ export type IdChainOfThought = ClosedEnum<typeof IdChainOfThought>;
413
+ export type PluginChainOfThought = {
414
+ id: IdChainOfThought;
415
+ };
416
+ export declare const IdWeb: {
417
+ readonly Web: "web";
418
+ };
419
+ export type IdWeb = ClosedEnum<typeof IdWeb>;
420
+ export declare const Engine: {
421
+ readonly Native: "native";
422
+ readonly Exa: "exa";
423
+ };
424
+ export type Engine = ClosedEnum<typeof Engine>;
425
+ export type PluginWeb = {
426
+ id: IdWeb;
427
+ maxResults?: number | undefined;
428
+ searchPrompt?: string | undefined;
429
+ engine?: Engine | undefined;
430
+ };
431
+ export declare const IdModeration: {
432
+ readonly Moderation: "moderation";
433
+ };
434
+ export type IdModeration = ClosedEnum<typeof IdModeration>;
435
+ export type PluginModeration = {
436
+ id: IdModeration;
437
+ };
438
+ export type Plugin = PluginModeration | PluginWeb | PluginChainOfThought | PluginFileParser;
439
+ /**
440
+ * Request schema for OpenAI-compatible Responses API
441
+ */
442
+ export type SendResponsesRequestRequest = {
443
+ /**
444
+ * Input for Responses API (can be a string or array of input items)
445
+ */
446
+ input?: models.ResponseInput | undefined;
447
+ instructions?: string | null | undefined;
448
+ /**
449
+ * Metadata for Responses API requests (max 16 pairs, keys ≤64 chars, values ≤512 chars)
450
+ */
451
+ metadata?: {
452
+ [k: string]: string;
453
+ } | null | undefined;
454
+ tools?: Array<models.Tool> | undefined;
455
+ /**
456
+ * Tool choice configuration
457
+ */
458
+ toolChoice?: models.ToolChoiceUnion | undefined;
459
+ parallelToolCalls?: boolean | null | undefined;
460
+ model?: string | undefined;
461
+ models?: Array<string> | undefined;
462
+ /**
463
+ * Text configuration for Responses API
464
+ */
465
+ text?: models.ResponseTextConfig | undefined;
466
+ /**
467
+ * Reasoning configuration for Responses API
468
+ */
469
+ reasoning?: models.ResponseReasoningConfig | null | undefined;
470
+ maxOutputTokens?: number | null | undefined;
471
+ temperature?: number | null | undefined;
472
+ topP?: number | null | undefined;
473
+ topK?: number | undefined;
474
+ promptCacheKey?: string | undefined;
475
+ previousResponseId?: string | null | undefined;
476
+ /**
477
+ * Prompt configuration with variables
478
+ */
479
+ prompt?: models.ResponsePrompt | null | undefined;
480
+ include?: Array<models.ResponseIncludable> | null | undefined;
481
+ background?: boolean | null | undefined;
482
+ safetyIdentifier?: string | undefined;
483
+ store?: boolean | null | undefined;
484
+ serviceTier?: ServiceTier | null | undefined;
485
+ truncation?: Truncation | null | undefined;
486
+ stream?: boolean | null | undefined;
487
+ /**
488
+ * When multiple model providers are available, optionally indicate your routing preference.
489
+ */
490
+ provider?: SendResponsesRequestProvider | null | undefined;
491
+ /**
492
+ * Plugins you want to enable for this request, including their settings.
493
+ */
494
+ plugins?: Array<PluginModeration | PluginWeb | PluginChainOfThought | PluginFileParser> | undefined;
495
+ /**
496
+ * A unique identifier representing your end-user, which helps distinguish between different users of your app. This allows your app to identify specific users in case of abuse reports, preventing your entire app from being affected by the actions of individual users. Maximum of 128 characters.
497
+ */
498
+ user?: string | undefined;
499
+ };
6
500
  /**
7
501
  * Successful response
8
502
  */
@@ -14,6 +508,1205 @@ export type SendResponsesRequestResponseBody = {
14
508
  };
15
509
  export type SendResponsesRequestResponse = models.ResponsesNonStreamingResponse | EventStream<SendResponsesRequestResponseBody>;
16
510
  /** @internal */
511
+ export declare const ServiceTier$inboundSchema: z.ZodNativeEnum<typeof ServiceTier>;
512
+ /** @internal */
513
+ export declare const ServiceTier$outboundSchema: z.ZodNativeEnum<typeof ServiceTier>;
514
+ /**
515
+ * @internal
516
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
517
+ */
518
+ export declare namespace ServiceTier$ {
519
+ /** @deprecated use `ServiceTier$inboundSchema` instead. */
520
+ const inboundSchema: z.ZodNativeEnum<{
521
+ readonly Auto: "auto";
522
+ readonly Default: "default";
523
+ readonly Flex: "flex";
524
+ readonly Priority: "priority";
525
+ readonly Scale: "scale";
526
+ }>;
527
+ /** @deprecated use `ServiceTier$outboundSchema` instead. */
528
+ const outboundSchema: z.ZodNativeEnum<{
529
+ readonly Auto: "auto";
530
+ readonly Default: "default";
531
+ readonly Flex: "flex";
532
+ readonly Priority: "priority";
533
+ readonly Scale: "scale";
534
+ }>;
535
+ }
536
+ /** @internal */
537
+ export declare const Truncation$inboundSchema: z.ZodNativeEnum<typeof Truncation>;
538
+ /** @internal */
539
+ export declare const Truncation$outboundSchema: z.ZodNativeEnum<typeof Truncation>;
540
+ /**
541
+ * @internal
542
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
543
+ */
544
+ export declare namespace Truncation$ {
545
+ /** @deprecated use `Truncation$inboundSchema` instead. */
546
+ const inboundSchema: z.ZodNativeEnum<{
547
+ readonly Auto: "auto";
548
+ readonly Disabled: "disabled";
549
+ }>;
550
+ /** @deprecated use `Truncation$outboundSchema` instead. */
551
+ const outboundSchema: z.ZodNativeEnum<{
552
+ readonly Auto: "auto";
553
+ readonly Disabled: "disabled";
554
+ }>;
555
+ }
556
+ /** @internal */
557
+ export declare const SendResponsesRequestDataCollection$inboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestDataCollection>;
558
+ /** @internal */
559
+ export declare const SendResponsesRequestDataCollection$outboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestDataCollection>;
560
+ /**
561
+ * @internal
562
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
563
+ */
564
+ export declare namespace SendResponsesRequestDataCollection$ {
565
+ /** @deprecated use `SendResponsesRequestDataCollection$inboundSchema` instead. */
566
+ const inboundSchema: z.ZodNativeEnum<{
567
+ readonly Deny: "deny";
568
+ readonly Allow: "allow";
569
+ }>;
570
+ /** @deprecated use `SendResponsesRequestDataCollection$outboundSchema` instead. */
571
+ const outboundSchema: z.ZodNativeEnum<{
572
+ readonly Deny: "deny";
573
+ readonly Allow: "allow";
574
+ }>;
575
+ }
576
+ /** @internal */
577
+ export declare const SendResponsesRequestOrderEnum$inboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestOrderEnum>;
578
+ /** @internal */
579
+ export declare const SendResponsesRequestOrderEnum$outboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestOrderEnum>;
580
+ /**
581
+ * @internal
582
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
583
+ */
584
+ export declare namespace SendResponsesRequestOrderEnum$ {
585
+ /** @deprecated use `SendResponsesRequestOrderEnum$inboundSchema` instead. */
586
+ const inboundSchema: z.ZodNativeEnum<{
587
+ readonly AnyScale: "AnyScale";
588
+ readonly CentML: "Cent-ML";
589
+ readonly HuggingFace: "HuggingFace";
590
+ readonly Hyperbolic2: "Hyperbolic 2";
591
+ readonly Lepton: "Lepton";
592
+ readonly Lynn2: "Lynn 2";
593
+ readonly Lynn: "Lynn";
594
+ readonly Mancer: "Mancer";
595
+ readonly Modal: "Modal";
596
+ readonly OctoAI: "OctoAI";
597
+ readonly Recursal: "Recursal";
598
+ readonly Reflection: "Reflection";
599
+ readonly Replicate: "Replicate";
600
+ readonly SambaNova2: "SambaNova 2";
601
+ readonly SFCompute: "SF Compute";
602
+ readonly Together2: "Together 2";
603
+ readonly OneDotAI: "01.AI";
604
+ readonly Ai21: "AI21";
605
+ readonly AionLabs: "AionLabs";
606
+ readonly Alibaba: "Alibaba";
607
+ readonly AmazonBedrock: "Amazon Bedrock";
608
+ readonly Anthropic: "Anthropic";
609
+ readonly AtlasCloud: "AtlasCloud";
610
+ readonly Atoma: "Atoma";
611
+ readonly Avian: "Avian";
612
+ readonly Azure: "Azure";
613
+ readonly BaseTen: "BaseTen";
614
+ readonly Cerebras: "Cerebras";
615
+ readonly Chutes: "Chutes";
616
+ readonly Cloudflare: "Cloudflare";
617
+ readonly Cohere: "Cohere";
618
+ readonly CrofAI: "CrofAI";
619
+ readonly Crusoe: "Crusoe";
620
+ readonly DeepInfra: "DeepInfra";
621
+ readonly DeepSeek: "DeepSeek";
622
+ readonly Enfer: "Enfer";
623
+ readonly Featherless: "Featherless";
624
+ readonly Fireworks: "Fireworks";
625
+ readonly Friendli: "Friendli";
626
+ readonly GMICloud: "GMICloud";
627
+ readonly Google: "Google";
628
+ readonly GoogleAIStudio: "Google AI Studio";
629
+ readonly Groq: "Groq";
630
+ readonly Hyperbolic: "Hyperbolic";
631
+ readonly Inception: "Inception";
632
+ readonly InferenceNet: "InferenceNet";
633
+ readonly Infermatic: "Infermatic";
634
+ readonly Inflection: "Inflection";
635
+ readonly InoCloud: "InoCloud";
636
+ readonly Kluster: "Kluster";
637
+ readonly Lambda: "Lambda";
638
+ readonly Liquid: "Liquid";
639
+ readonly Mancer2: "Mancer 2";
640
+ readonly Meta: "Meta";
641
+ readonly Minimax: "Minimax";
642
+ readonly Mistral: "Mistral";
643
+ readonly MoonshotAI: "Moonshot AI";
644
+ readonly Morph: "Morph";
645
+ readonly NCompass: "NCompass";
646
+ readonly Nebius: "Nebius";
647
+ readonly NextBit: "NextBit";
648
+ readonly Nineteen: "Nineteen";
649
+ readonly Novita: "Novita";
650
+ readonly Nvidia: "Nvidia";
651
+ readonly OpenAI: "OpenAI";
652
+ readonly OpenInference: "OpenInference";
653
+ readonly Parasail: "Parasail";
654
+ readonly Perplexity: "Perplexity";
655
+ readonly Phala: "Phala";
656
+ readonly Relace: "Relace";
657
+ readonly SambaNova: "SambaNova";
658
+ readonly SiliconFlow: "SiliconFlow";
659
+ readonly Stealth: "Stealth";
660
+ readonly Switchpoint: "Switchpoint";
661
+ readonly Targon: "Targon";
662
+ readonly Together: "Together";
663
+ readonly Ubicloud: "Ubicloud";
664
+ readonly Venice: "Venice";
665
+ readonly WandB: "WandB";
666
+ readonly XAI: "xAI";
667
+ readonly ZAi: "Z.AI";
668
+ readonly FakeProvider: "FakeProvider";
669
+ }>;
670
+ /** @deprecated use `SendResponsesRequestOrderEnum$outboundSchema` instead. */
671
+ const outboundSchema: z.ZodNativeEnum<{
672
+ readonly AnyScale: "AnyScale";
673
+ readonly CentML: "Cent-ML";
674
+ readonly HuggingFace: "HuggingFace";
675
+ readonly Hyperbolic2: "Hyperbolic 2";
676
+ readonly Lepton: "Lepton";
677
+ readonly Lynn2: "Lynn 2";
678
+ readonly Lynn: "Lynn";
679
+ readonly Mancer: "Mancer";
680
+ readonly Modal: "Modal";
681
+ readonly OctoAI: "OctoAI";
682
+ readonly Recursal: "Recursal";
683
+ readonly Reflection: "Reflection";
684
+ readonly Replicate: "Replicate";
685
+ readonly SambaNova2: "SambaNova 2";
686
+ readonly SFCompute: "SF Compute";
687
+ readonly Together2: "Together 2";
688
+ readonly OneDotAI: "01.AI";
689
+ readonly Ai21: "AI21";
690
+ readonly AionLabs: "AionLabs";
691
+ readonly Alibaba: "Alibaba";
692
+ readonly AmazonBedrock: "Amazon Bedrock";
693
+ readonly Anthropic: "Anthropic";
694
+ readonly AtlasCloud: "AtlasCloud";
695
+ readonly Atoma: "Atoma";
696
+ readonly Avian: "Avian";
697
+ readonly Azure: "Azure";
698
+ readonly BaseTen: "BaseTen";
699
+ readonly Cerebras: "Cerebras";
700
+ readonly Chutes: "Chutes";
701
+ readonly Cloudflare: "Cloudflare";
702
+ readonly Cohere: "Cohere";
703
+ readonly CrofAI: "CrofAI";
704
+ readonly Crusoe: "Crusoe";
705
+ readonly DeepInfra: "DeepInfra";
706
+ readonly DeepSeek: "DeepSeek";
707
+ readonly Enfer: "Enfer";
708
+ readonly Featherless: "Featherless";
709
+ readonly Fireworks: "Fireworks";
710
+ readonly Friendli: "Friendli";
711
+ readonly GMICloud: "GMICloud";
712
+ readonly Google: "Google";
713
+ readonly GoogleAIStudio: "Google AI Studio";
714
+ readonly Groq: "Groq";
715
+ readonly Hyperbolic: "Hyperbolic";
716
+ readonly Inception: "Inception";
717
+ readonly InferenceNet: "InferenceNet";
718
+ readonly Infermatic: "Infermatic";
719
+ readonly Inflection: "Inflection";
720
+ readonly InoCloud: "InoCloud";
721
+ readonly Kluster: "Kluster";
722
+ readonly Lambda: "Lambda";
723
+ readonly Liquid: "Liquid";
724
+ readonly Mancer2: "Mancer 2";
725
+ readonly Meta: "Meta";
726
+ readonly Minimax: "Minimax";
727
+ readonly Mistral: "Mistral";
728
+ readonly MoonshotAI: "Moonshot AI";
729
+ readonly Morph: "Morph";
730
+ readonly NCompass: "NCompass";
731
+ readonly Nebius: "Nebius";
732
+ readonly NextBit: "NextBit";
733
+ readonly Nineteen: "Nineteen";
734
+ readonly Novita: "Novita";
735
+ readonly Nvidia: "Nvidia";
736
+ readonly OpenAI: "OpenAI";
737
+ readonly OpenInference: "OpenInference";
738
+ readonly Parasail: "Parasail";
739
+ readonly Perplexity: "Perplexity";
740
+ readonly Phala: "Phala";
741
+ readonly Relace: "Relace";
742
+ readonly SambaNova: "SambaNova";
743
+ readonly SiliconFlow: "SiliconFlow";
744
+ readonly Stealth: "Stealth";
745
+ readonly Switchpoint: "Switchpoint";
746
+ readonly Targon: "Targon";
747
+ readonly Together: "Together";
748
+ readonly Ubicloud: "Ubicloud";
749
+ readonly Venice: "Venice";
750
+ readonly WandB: "WandB";
751
+ readonly XAI: "xAI";
752
+ readonly ZAi: "Z.AI";
753
+ readonly FakeProvider: "FakeProvider";
754
+ }>;
755
+ }
756
+ /** @internal */
757
+ export declare const SendResponsesRequestOrderUnion$inboundSchema: z.ZodType<SendResponsesRequestOrderUnion, z.ZodTypeDef, unknown>;
758
+ /** @internal */
759
+ export type SendResponsesRequestOrderUnion$Outbound = string | string;
760
+ /** @internal */
761
+ export declare const SendResponsesRequestOrderUnion$outboundSchema: z.ZodType<SendResponsesRequestOrderUnion$Outbound, z.ZodTypeDef, SendResponsesRequestOrderUnion>;
762
+ /**
763
+ * @internal
764
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
765
+ */
766
+ export declare namespace SendResponsesRequestOrderUnion$ {
767
+ /** @deprecated use `SendResponsesRequestOrderUnion$inboundSchema` instead. */
768
+ const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
769
+ /** @deprecated use `SendResponsesRequestOrderUnion$outboundSchema` instead. */
770
+ const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
771
+ /** @deprecated use `SendResponsesRequestOrderUnion$Outbound` instead. */
772
+ type Outbound = SendResponsesRequestOrderUnion$Outbound;
773
+ }
774
+ export declare function sendResponsesRequestOrderUnionToJSON(sendResponsesRequestOrderUnion: SendResponsesRequestOrderUnion): string;
775
+ export declare function sendResponsesRequestOrderUnionFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestOrderUnion, SDKValidationError>;
776
+ /** @internal */
777
+ export declare const SendResponsesRequestOnlyEnum$inboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestOnlyEnum>;
778
+ /** @internal */
779
+ export declare const SendResponsesRequestOnlyEnum$outboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestOnlyEnum>;
780
+ /**
781
+ * @internal
782
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
783
+ */
784
+ export declare namespace SendResponsesRequestOnlyEnum$ {
785
+ /** @deprecated use `SendResponsesRequestOnlyEnum$inboundSchema` instead. */
786
+ const inboundSchema: z.ZodNativeEnum<{
787
+ readonly AnyScale: "AnyScale";
788
+ readonly CentML: "Cent-ML";
789
+ readonly HuggingFace: "HuggingFace";
790
+ readonly Hyperbolic2: "Hyperbolic 2";
791
+ readonly Lepton: "Lepton";
792
+ readonly Lynn2: "Lynn 2";
793
+ readonly Lynn: "Lynn";
794
+ readonly Mancer: "Mancer";
795
+ readonly Modal: "Modal";
796
+ readonly OctoAI: "OctoAI";
797
+ readonly Recursal: "Recursal";
798
+ readonly Reflection: "Reflection";
799
+ readonly Replicate: "Replicate";
800
+ readonly SambaNova2: "SambaNova 2";
801
+ readonly SFCompute: "SF Compute";
802
+ readonly Together2: "Together 2";
803
+ readonly OneDotAI: "01.AI";
804
+ readonly Ai21: "AI21";
805
+ readonly AionLabs: "AionLabs";
806
+ readonly Alibaba: "Alibaba";
807
+ readonly AmazonBedrock: "Amazon Bedrock";
808
+ readonly Anthropic: "Anthropic";
809
+ readonly AtlasCloud: "AtlasCloud";
810
+ readonly Atoma: "Atoma";
811
+ readonly Avian: "Avian";
812
+ readonly Azure: "Azure";
813
+ readonly BaseTen: "BaseTen";
814
+ readonly Cerebras: "Cerebras";
815
+ readonly Chutes: "Chutes";
816
+ readonly Cloudflare: "Cloudflare";
817
+ readonly Cohere: "Cohere";
818
+ readonly CrofAI: "CrofAI";
819
+ readonly Crusoe: "Crusoe";
820
+ readonly DeepInfra: "DeepInfra";
821
+ readonly DeepSeek: "DeepSeek";
822
+ readonly Enfer: "Enfer";
823
+ readonly Featherless: "Featherless";
824
+ readonly Fireworks: "Fireworks";
825
+ readonly Friendli: "Friendli";
826
+ readonly GMICloud: "GMICloud";
827
+ readonly Google: "Google";
828
+ readonly GoogleAIStudio: "Google AI Studio";
829
+ readonly Groq: "Groq";
830
+ readonly Hyperbolic: "Hyperbolic";
831
+ readonly Inception: "Inception";
832
+ readonly InferenceNet: "InferenceNet";
833
+ readonly Infermatic: "Infermatic";
834
+ readonly Inflection: "Inflection";
835
+ readonly InoCloud: "InoCloud";
836
+ readonly Kluster: "Kluster";
837
+ readonly Lambda: "Lambda";
838
+ readonly Liquid: "Liquid";
839
+ readonly Mancer2: "Mancer 2";
840
+ readonly Meta: "Meta";
841
+ readonly Minimax: "Minimax";
842
+ readonly Mistral: "Mistral";
843
+ readonly MoonshotAI: "Moonshot AI";
844
+ readonly Morph: "Morph";
845
+ readonly NCompass: "NCompass";
846
+ readonly Nebius: "Nebius";
847
+ readonly NextBit: "NextBit";
848
+ readonly Nineteen: "Nineteen";
849
+ readonly Novita: "Novita";
850
+ readonly Nvidia: "Nvidia";
851
+ readonly OpenAI: "OpenAI";
852
+ readonly OpenInference: "OpenInference";
853
+ readonly Parasail: "Parasail";
854
+ readonly Perplexity: "Perplexity";
855
+ readonly Phala: "Phala";
856
+ readonly Relace: "Relace";
857
+ readonly SambaNova: "SambaNova";
858
+ readonly SiliconFlow: "SiliconFlow";
859
+ readonly Stealth: "Stealth";
860
+ readonly Switchpoint: "Switchpoint";
861
+ readonly Targon: "Targon";
862
+ readonly Together: "Together";
863
+ readonly Ubicloud: "Ubicloud";
864
+ readonly Venice: "Venice";
865
+ readonly WandB: "WandB";
866
+ readonly XAI: "xAI";
867
+ readonly ZAi: "Z.AI";
868
+ readonly FakeProvider: "FakeProvider";
869
+ }>;
870
+ /** @deprecated use `SendResponsesRequestOnlyEnum$outboundSchema` instead. */
871
+ const outboundSchema: z.ZodNativeEnum<{
872
+ readonly AnyScale: "AnyScale";
873
+ readonly CentML: "Cent-ML";
874
+ readonly HuggingFace: "HuggingFace";
875
+ readonly Hyperbolic2: "Hyperbolic 2";
876
+ readonly Lepton: "Lepton";
877
+ readonly Lynn2: "Lynn 2";
878
+ readonly Lynn: "Lynn";
879
+ readonly Mancer: "Mancer";
880
+ readonly Modal: "Modal";
881
+ readonly OctoAI: "OctoAI";
882
+ readonly Recursal: "Recursal";
883
+ readonly Reflection: "Reflection";
884
+ readonly Replicate: "Replicate";
885
+ readonly SambaNova2: "SambaNova 2";
886
+ readonly SFCompute: "SF Compute";
887
+ readonly Together2: "Together 2";
888
+ readonly OneDotAI: "01.AI";
889
+ readonly Ai21: "AI21";
890
+ readonly AionLabs: "AionLabs";
891
+ readonly Alibaba: "Alibaba";
892
+ readonly AmazonBedrock: "Amazon Bedrock";
893
+ readonly Anthropic: "Anthropic";
894
+ readonly AtlasCloud: "AtlasCloud";
895
+ readonly Atoma: "Atoma";
896
+ readonly Avian: "Avian";
897
+ readonly Azure: "Azure";
898
+ readonly BaseTen: "BaseTen";
899
+ readonly Cerebras: "Cerebras";
900
+ readonly Chutes: "Chutes";
901
+ readonly Cloudflare: "Cloudflare";
902
+ readonly Cohere: "Cohere";
903
+ readonly CrofAI: "CrofAI";
904
+ readonly Crusoe: "Crusoe";
905
+ readonly DeepInfra: "DeepInfra";
906
+ readonly DeepSeek: "DeepSeek";
907
+ readonly Enfer: "Enfer";
908
+ readonly Featherless: "Featherless";
909
+ readonly Fireworks: "Fireworks";
910
+ readonly Friendli: "Friendli";
911
+ readonly GMICloud: "GMICloud";
912
+ readonly Google: "Google";
913
+ readonly GoogleAIStudio: "Google AI Studio";
914
+ readonly Groq: "Groq";
915
+ readonly Hyperbolic: "Hyperbolic";
916
+ readonly Inception: "Inception";
917
+ readonly InferenceNet: "InferenceNet";
918
+ readonly Infermatic: "Infermatic";
919
+ readonly Inflection: "Inflection";
920
+ readonly InoCloud: "InoCloud";
921
+ readonly Kluster: "Kluster";
922
+ readonly Lambda: "Lambda";
923
+ readonly Liquid: "Liquid";
924
+ readonly Mancer2: "Mancer 2";
925
+ readonly Meta: "Meta";
926
+ readonly Minimax: "Minimax";
927
+ readonly Mistral: "Mistral";
928
+ readonly MoonshotAI: "Moonshot AI";
929
+ readonly Morph: "Morph";
930
+ readonly NCompass: "NCompass";
931
+ readonly Nebius: "Nebius";
932
+ readonly NextBit: "NextBit";
933
+ readonly Nineteen: "Nineteen";
934
+ readonly Novita: "Novita";
935
+ readonly Nvidia: "Nvidia";
936
+ readonly OpenAI: "OpenAI";
937
+ readonly OpenInference: "OpenInference";
938
+ readonly Parasail: "Parasail";
939
+ readonly Perplexity: "Perplexity";
940
+ readonly Phala: "Phala";
941
+ readonly Relace: "Relace";
942
+ readonly SambaNova: "SambaNova";
943
+ readonly SiliconFlow: "SiliconFlow";
944
+ readonly Stealth: "Stealth";
945
+ readonly Switchpoint: "Switchpoint";
946
+ readonly Targon: "Targon";
947
+ readonly Together: "Together";
948
+ readonly Ubicloud: "Ubicloud";
949
+ readonly Venice: "Venice";
950
+ readonly WandB: "WandB";
951
+ readonly XAI: "xAI";
952
+ readonly ZAi: "Z.AI";
953
+ readonly FakeProvider: "FakeProvider";
954
+ }>;
955
+ }
956
+ /** @internal */
957
+ export declare const SendResponsesRequestOnlyUnion$inboundSchema: z.ZodType<SendResponsesRequestOnlyUnion, z.ZodTypeDef, unknown>;
958
+ /** @internal */
959
+ export type SendResponsesRequestOnlyUnion$Outbound = string | string;
960
+ /** @internal */
961
+ export declare const SendResponsesRequestOnlyUnion$outboundSchema: z.ZodType<SendResponsesRequestOnlyUnion$Outbound, z.ZodTypeDef, SendResponsesRequestOnlyUnion>;
962
+ /**
963
+ * @internal
964
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
965
+ */
966
+ export declare namespace SendResponsesRequestOnlyUnion$ {
967
+ /** @deprecated use `SendResponsesRequestOnlyUnion$inboundSchema` instead. */
968
+ const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
969
+ /** @deprecated use `SendResponsesRequestOnlyUnion$outboundSchema` instead. */
970
+ const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
971
+ /** @deprecated use `SendResponsesRequestOnlyUnion$Outbound` instead. */
972
+ type Outbound = SendResponsesRequestOnlyUnion$Outbound;
973
+ }
974
+ export declare function sendResponsesRequestOnlyUnionToJSON(sendResponsesRequestOnlyUnion: SendResponsesRequestOnlyUnion): string;
975
+ export declare function sendResponsesRequestOnlyUnionFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestOnlyUnion, SDKValidationError>;
976
+ /** @internal */
977
+ export declare const SendResponsesRequestIgnoreEnum$inboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestIgnoreEnum>;
978
+ /** @internal */
979
+ export declare const SendResponsesRequestIgnoreEnum$outboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestIgnoreEnum>;
980
+ /**
981
+ * @internal
982
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
983
+ */
984
+ export declare namespace SendResponsesRequestIgnoreEnum$ {
985
+ /** @deprecated use `SendResponsesRequestIgnoreEnum$inboundSchema` instead. */
986
+ const inboundSchema: z.ZodNativeEnum<{
987
+ readonly AnyScale: "AnyScale";
988
+ readonly CentML: "Cent-ML";
989
+ readonly HuggingFace: "HuggingFace";
990
+ readonly Hyperbolic2: "Hyperbolic 2";
991
+ readonly Lepton: "Lepton";
992
+ readonly Lynn2: "Lynn 2";
993
+ readonly Lynn: "Lynn";
994
+ readonly Mancer: "Mancer";
995
+ readonly Modal: "Modal";
996
+ readonly OctoAI: "OctoAI";
997
+ readonly Recursal: "Recursal";
998
+ readonly Reflection: "Reflection";
999
+ readonly Replicate: "Replicate";
1000
+ readonly SambaNova2: "SambaNova 2";
1001
+ readonly SFCompute: "SF Compute";
1002
+ readonly Together2: "Together 2";
1003
+ readonly OneDotAI: "01.AI";
1004
+ readonly Ai21: "AI21";
1005
+ readonly AionLabs: "AionLabs";
1006
+ readonly Alibaba: "Alibaba";
1007
+ readonly AmazonBedrock: "Amazon Bedrock";
1008
+ readonly Anthropic: "Anthropic";
1009
+ readonly AtlasCloud: "AtlasCloud";
1010
+ readonly Atoma: "Atoma";
1011
+ readonly Avian: "Avian";
1012
+ readonly Azure: "Azure";
1013
+ readonly BaseTen: "BaseTen";
1014
+ readonly Cerebras: "Cerebras";
1015
+ readonly Chutes: "Chutes";
1016
+ readonly Cloudflare: "Cloudflare";
1017
+ readonly Cohere: "Cohere";
1018
+ readonly CrofAI: "CrofAI";
1019
+ readonly Crusoe: "Crusoe";
1020
+ readonly DeepInfra: "DeepInfra";
1021
+ readonly DeepSeek: "DeepSeek";
1022
+ readonly Enfer: "Enfer";
1023
+ readonly Featherless: "Featherless";
1024
+ readonly Fireworks: "Fireworks";
1025
+ readonly Friendli: "Friendli";
1026
+ readonly GMICloud: "GMICloud";
1027
+ readonly Google: "Google";
1028
+ readonly GoogleAIStudio: "Google AI Studio";
1029
+ readonly Groq: "Groq";
1030
+ readonly Hyperbolic: "Hyperbolic";
1031
+ readonly Inception: "Inception";
1032
+ readonly InferenceNet: "InferenceNet";
1033
+ readonly Infermatic: "Infermatic";
1034
+ readonly Inflection: "Inflection";
1035
+ readonly InoCloud: "InoCloud";
1036
+ readonly Kluster: "Kluster";
1037
+ readonly Lambda: "Lambda";
1038
+ readonly Liquid: "Liquid";
1039
+ readonly Mancer2: "Mancer 2";
1040
+ readonly Meta: "Meta";
1041
+ readonly Minimax: "Minimax";
1042
+ readonly Mistral: "Mistral";
1043
+ readonly MoonshotAI: "Moonshot AI";
1044
+ readonly Morph: "Morph";
1045
+ readonly NCompass: "NCompass";
1046
+ readonly Nebius: "Nebius";
1047
+ readonly NextBit: "NextBit";
1048
+ readonly Nineteen: "Nineteen";
1049
+ readonly Novita: "Novita";
1050
+ readonly Nvidia: "Nvidia";
1051
+ readonly OpenAI: "OpenAI";
1052
+ readonly OpenInference: "OpenInference";
1053
+ readonly Parasail: "Parasail";
1054
+ readonly Perplexity: "Perplexity";
1055
+ readonly Phala: "Phala";
1056
+ readonly Relace: "Relace";
1057
+ readonly SambaNova: "SambaNova";
1058
+ readonly SiliconFlow: "SiliconFlow";
1059
+ readonly Stealth: "Stealth";
1060
+ readonly Switchpoint: "Switchpoint";
1061
+ readonly Targon: "Targon";
1062
+ readonly Together: "Together";
1063
+ readonly Ubicloud: "Ubicloud";
1064
+ readonly Venice: "Venice";
1065
+ readonly WandB: "WandB";
1066
+ readonly XAI: "xAI";
1067
+ readonly ZAi: "Z.AI";
1068
+ readonly FakeProvider: "FakeProvider";
1069
+ }>;
1070
+ /** @deprecated use `SendResponsesRequestIgnoreEnum$outboundSchema` instead. */
1071
+ const outboundSchema: z.ZodNativeEnum<{
1072
+ readonly AnyScale: "AnyScale";
1073
+ readonly CentML: "Cent-ML";
1074
+ readonly HuggingFace: "HuggingFace";
1075
+ readonly Hyperbolic2: "Hyperbolic 2";
1076
+ readonly Lepton: "Lepton";
1077
+ readonly Lynn2: "Lynn 2";
1078
+ readonly Lynn: "Lynn";
1079
+ readonly Mancer: "Mancer";
1080
+ readonly Modal: "Modal";
1081
+ readonly OctoAI: "OctoAI";
1082
+ readonly Recursal: "Recursal";
1083
+ readonly Reflection: "Reflection";
1084
+ readonly Replicate: "Replicate";
1085
+ readonly SambaNova2: "SambaNova 2";
1086
+ readonly SFCompute: "SF Compute";
1087
+ readonly Together2: "Together 2";
1088
+ readonly OneDotAI: "01.AI";
1089
+ readonly Ai21: "AI21";
1090
+ readonly AionLabs: "AionLabs";
1091
+ readonly Alibaba: "Alibaba";
1092
+ readonly AmazonBedrock: "Amazon Bedrock";
1093
+ readonly Anthropic: "Anthropic";
1094
+ readonly AtlasCloud: "AtlasCloud";
1095
+ readonly Atoma: "Atoma";
1096
+ readonly Avian: "Avian";
1097
+ readonly Azure: "Azure";
1098
+ readonly BaseTen: "BaseTen";
1099
+ readonly Cerebras: "Cerebras";
1100
+ readonly Chutes: "Chutes";
1101
+ readonly Cloudflare: "Cloudflare";
1102
+ readonly Cohere: "Cohere";
1103
+ readonly CrofAI: "CrofAI";
1104
+ readonly Crusoe: "Crusoe";
1105
+ readonly DeepInfra: "DeepInfra";
1106
+ readonly DeepSeek: "DeepSeek";
1107
+ readonly Enfer: "Enfer";
1108
+ readonly Featherless: "Featherless";
1109
+ readonly Fireworks: "Fireworks";
1110
+ readonly Friendli: "Friendli";
1111
+ readonly GMICloud: "GMICloud";
1112
+ readonly Google: "Google";
1113
+ readonly GoogleAIStudio: "Google AI Studio";
1114
+ readonly Groq: "Groq";
1115
+ readonly Hyperbolic: "Hyperbolic";
1116
+ readonly Inception: "Inception";
1117
+ readonly InferenceNet: "InferenceNet";
1118
+ readonly Infermatic: "Infermatic";
1119
+ readonly Inflection: "Inflection";
1120
+ readonly InoCloud: "InoCloud";
1121
+ readonly Kluster: "Kluster";
1122
+ readonly Lambda: "Lambda";
1123
+ readonly Liquid: "Liquid";
1124
+ readonly Mancer2: "Mancer 2";
1125
+ readonly Meta: "Meta";
1126
+ readonly Minimax: "Minimax";
1127
+ readonly Mistral: "Mistral";
1128
+ readonly MoonshotAI: "Moonshot AI";
1129
+ readonly Morph: "Morph";
1130
+ readonly NCompass: "NCompass";
1131
+ readonly Nebius: "Nebius";
1132
+ readonly NextBit: "NextBit";
1133
+ readonly Nineteen: "Nineteen";
1134
+ readonly Novita: "Novita";
1135
+ readonly Nvidia: "Nvidia";
1136
+ readonly OpenAI: "OpenAI";
1137
+ readonly OpenInference: "OpenInference";
1138
+ readonly Parasail: "Parasail";
1139
+ readonly Perplexity: "Perplexity";
1140
+ readonly Phala: "Phala";
1141
+ readonly Relace: "Relace";
1142
+ readonly SambaNova: "SambaNova";
1143
+ readonly SiliconFlow: "SiliconFlow";
1144
+ readonly Stealth: "Stealth";
1145
+ readonly Switchpoint: "Switchpoint";
1146
+ readonly Targon: "Targon";
1147
+ readonly Together: "Together";
1148
+ readonly Ubicloud: "Ubicloud";
1149
+ readonly Venice: "Venice";
1150
+ readonly WandB: "WandB";
1151
+ readonly XAI: "xAI";
1152
+ readonly ZAi: "Z.AI";
1153
+ readonly FakeProvider: "FakeProvider";
1154
+ }>;
1155
+ }
1156
+ /** @internal */
1157
+ export declare const SendResponsesRequestIgnoreUnion$inboundSchema: z.ZodType<SendResponsesRequestIgnoreUnion, z.ZodTypeDef, unknown>;
1158
+ /** @internal */
1159
+ export type SendResponsesRequestIgnoreUnion$Outbound = string | string;
1160
+ /** @internal */
1161
+ export declare const SendResponsesRequestIgnoreUnion$outboundSchema: z.ZodType<SendResponsesRequestIgnoreUnion$Outbound, z.ZodTypeDef, SendResponsesRequestIgnoreUnion>;
1162
+ /**
1163
+ * @internal
1164
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1165
+ */
1166
+ export declare namespace SendResponsesRequestIgnoreUnion$ {
1167
+ /** @deprecated use `SendResponsesRequestIgnoreUnion$inboundSchema` instead. */
1168
+ const inboundSchema: z.ZodType<string, z.ZodTypeDef, unknown>;
1169
+ /** @deprecated use `SendResponsesRequestIgnoreUnion$outboundSchema` instead. */
1170
+ const outboundSchema: z.ZodType<string, z.ZodTypeDef, string>;
1171
+ /** @deprecated use `SendResponsesRequestIgnoreUnion$Outbound` instead. */
1172
+ type Outbound = SendResponsesRequestIgnoreUnion$Outbound;
1173
+ }
1174
+ export declare function sendResponsesRequestIgnoreUnionToJSON(sendResponsesRequestIgnoreUnion: SendResponsesRequestIgnoreUnion): string;
1175
+ export declare function sendResponsesRequestIgnoreUnionFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestIgnoreUnion, SDKValidationError>;
1176
+ /** @internal */
1177
+ export declare const SendResponsesRequestQuantization$inboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestQuantization>;
1178
+ /** @internal */
1179
+ export declare const SendResponsesRequestQuantization$outboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestQuantization>;
1180
+ /**
1181
+ * @internal
1182
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1183
+ */
1184
+ export declare namespace SendResponsesRequestQuantization$ {
1185
+ /** @deprecated use `SendResponsesRequestQuantization$inboundSchema` instead. */
1186
+ const inboundSchema: z.ZodNativeEnum<{
1187
+ readonly Int4: "int4";
1188
+ readonly Int8: "int8";
1189
+ readonly Fp4: "fp4";
1190
+ readonly Fp6: "fp6";
1191
+ readonly Fp8: "fp8";
1192
+ readonly Fp16: "fp16";
1193
+ readonly Bf16: "bf16";
1194
+ readonly Fp32: "fp32";
1195
+ readonly Unknown: "unknown";
1196
+ }>;
1197
+ /** @deprecated use `SendResponsesRequestQuantization$outboundSchema` instead. */
1198
+ const outboundSchema: z.ZodNativeEnum<{
1199
+ readonly Int4: "int4";
1200
+ readonly Int8: "int8";
1201
+ readonly Fp4: "fp4";
1202
+ readonly Fp6: "fp6";
1203
+ readonly Fp8: "fp8";
1204
+ readonly Fp16: "fp16";
1205
+ readonly Bf16: "bf16";
1206
+ readonly Fp32: "fp32";
1207
+ readonly Unknown: "unknown";
1208
+ }>;
1209
+ }
1210
+ /** @internal */
1211
+ export declare const SendResponsesRequestSort$inboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestSort>;
1212
+ /** @internal */
1213
+ export declare const SendResponsesRequestSort$outboundSchema: z.ZodNativeEnum<typeof SendResponsesRequestSort>;
1214
+ /**
1215
+ * @internal
1216
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1217
+ */
1218
+ export declare namespace SendResponsesRequestSort$ {
1219
+ /** @deprecated use `SendResponsesRequestSort$inboundSchema` instead. */
1220
+ const inboundSchema: z.ZodNativeEnum<{
1221
+ readonly Price: "price";
1222
+ readonly Throughput: "throughput";
1223
+ readonly Latency: "latency";
1224
+ }>;
1225
+ /** @deprecated use `SendResponsesRequestSort$outboundSchema` instead. */
1226
+ const outboundSchema: z.ZodNativeEnum<{
1227
+ readonly Price: "price";
1228
+ readonly Throughput: "throughput";
1229
+ readonly Latency: "latency";
1230
+ }>;
1231
+ }
1232
+ /** @internal */
1233
+ export declare const SendResponsesRequestPrompt$inboundSchema: z.ZodType<SendResponsesRequestPrompt, z.ZodTypeDef, unknown>;
1234
+ /** @internal */
1235
+ export type SendResponsesRequestPrompt$Outbound = number | string | any;
1236
+ /** @internal */
1237
+ export declare const SendResponsesRequestPrompt$outboundSchema: z.ZodType<SendResponsesRequestPrompt$Outbound, z.ZodTypeDef, SendResponsesRequestPrompt>;
1238
+ /**
1239
+ * @internal
1240
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1241
+ */
1242
+ export declare namespace SendResponsesRequestPrompt$ {
1243
+ /** @deprecated use `SendResponsesRequestPrompt$inboundSchema` instead. */
1244
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
1245
+ /** @deprecated use `SendResponsesRequestPrompt$outboundSchema` instead. */
1246
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
1247
+ /** @deprecated use `SendResponsesRequestPrompt$Outbound` instead. */
1248
+ type Outbound = SendResponsesRequestPrompt$Outbound;
1249
+ }
1250
+ export declare function sendResponsesRequestPromptToJSON(sendResponsesRequestPrompt: SendResponsesRequestPrompt): string;
1251
+ export declare function sendResponsesRequestPromptFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestPrompt, SDKValidationError>;
1252
+ /** @internal */
1253
+ export declare const SendResponsesRequestCompletion$inboundSchema: z.ZodType<SendResponsesRequestCompletion, z.ZodTypeDef, unknown>;
1254
+ /** @internal */
1255
+ export type SendResponsesRequestCompletion$Outbound = number | string | any;
1256
+ /** @internal */
1257
+ export declare const SendResponsesRequestCompletion$outboundSchema: z.ZodType<SendResponsesRequestCompletion$Outbound, z.ZodTypeDef, SendResponsesRequestCompletion>;
1258
+ /**
1259
+ * @internal
1260
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1261
+ */
1262
+ export declare namespace SendResponsesRequestCompletion$ {
1263
+ /** @deprecated use `SendResponsesRequestCompletion$inboundSchema` instead. */
1264
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
1265
+ /** @deprecated use `SendResponsesRequestCompletion$outboundSchema` instead. */
1266
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
1267
+ /** @deprecated use `SendResponsesRequestCompletion$Outbound` instead. */
1268
+ type Outbound = SendResponsesRequestCompletion$Outbound;
1269
+ }
1270
+ export declare function sendResponsesRequestCompletionToJSON(sendResponsesRequestCompletion: SendResponsesRequestCompletion): string;
1271
+ export declare function sendResponsesRequestCompletionFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestCompletion, SDKValidationError>;
1272
+ /** @internal */
1273
+ export declare const SendResponsesRequestImage$inboundSchema: z.ZodType<SendResponsesRequestImage, z.ZodTypeDef, unknown>;
1274
+ /** @internal */
1275
+ export type SendResponsesRequestImage$Outbound = number | string | any;
1276
+ /** @internal */
1277
+ export declare const SendResponsesRequestImage$outboundSchema: z.ZodType<SendResponsesRequestImage$Outbound, z.ZodTypeDef, SendResponsesRequestImage>;
1278
+ /**
1279
+ * @internal
1280
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1281
+ */
1282
+ export declare namespace SendResponsesRequestImage$ {
1283
+ /** @deprecated use `SendResponsesRequestImage$inboundSchema` instead. */
1284
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
1285
+ /** @deprecated use `SendResponsesRequestImage$outboundSchema` instead. */
1286
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
1287
+ /** @deprecated use `SendResponsesRequestImage$Outbound` instead. */
1288
+ type Outbound = SendResponsesRequestImage$Outbound;
1289
+ }
1290
+ export declare function sendResponsesRequestImageToJSON(sendResponsesRequestImage: SendResponsesRequestImage): string;
1291
+ export declare function sendResponsesRequestImageFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestImage, SDKValidationError>;
1292
+ /** @internal */
1293
+ export declare const SendResponsesRequestAudio$inboundSchema: z.ZodType<SendResponsesRequestAudio, z.ZodTypeDef, unknown>;
1294
+ /** @internal */
1295
+ export type SendResponsesRequestAudio$Outbound = number | string | any;
1296
+ /** @internal */
1297
+ export declare const SendResponsesRequestAudio$outboundSchema: z.ZodType<SendResponsesRequestAudio$Outbound, z.ZodTypeDef, SendResponsesRequestAudio>;
1298
+ /**
1299
+ * @internal
1300
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1301
+ */
1302
+ export declare namespace SendResponsesRequestAudio$ {
1303
+ /** @deprecated use `SendResponsesRequestAudio$inboundSchema` instead. */
1304
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
1305
+ /** @deprecated use `SendResponsesRequestAudio$outboundSchema` instead. */
1306
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
1307
+ /** @deprecated use `SendResponsesRequestAudio$Outbound` instead. */
1308
+ type Outbound = SendResponsesRequestAudio$Outbound;
1309
+ }
1310
+ export declare function sendResponsesRequestAudioToJSON(sendResponsesRequestAudio: SendResponsesRequestAudio): string;
1311
+ export declare function sendResponsesRequestAudioFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestAudio, SDKValidationError>;
1312
+ /** @internal */
1313
+ export declare const SendResponsesRequestRequestUnion$inboundSchema: z.ZodType<SendResponsesRequestRequestUnion, z.ZodTypeDef, unknown>;
1314
+ /** @internal */
1315
+ export type SendResponsesRequestRequestUnion$Outbound = number | string | any;
1316
+ /** @internal */
1317
+ export declare const SendResponsesRequestRequestUnion$outboundSchema: z.ZodType<SendResponsesRequestRequestUnion$Outbound, z.ZodTypeDef, SendResponsesRequestRequestUnion>;
1318
+ /**
1319
+ * @internal
1320
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1321
+ */
1322
+ export declare namespace SendResponsesRequestRequestUnion$ {
1323
+ /** @deprecated use `SendResponsesRequestRequestUnion$inboundSchema` instead. */
1324
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
1325
+ /** @deprecated use `SendResponsesRequestRequestUnion$outboundSchema` instead. */
1326
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
1327
+ /** @deprecated use `SendResponsesRequestRequestUnion$Outbound` instead. */
1328
+ type Outbound = SendResponsesRequestRequestUnion$Outbound;
1329
+ }
1330
+ export declare function sendResponsesRequestRequestUnionToJSON(sendResponsesRequestRequestUnion: SendResponsesRequestRequestUnion): string;
1331
+ export declare function sendResponsesRequestRequestUnionFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestRequestUnion, SDKValidationError>;
1332
+ /** @internal */
1333
+ export declare const SendResponsesRequestMaxPrice$inboundSchema: z.ZodType<SendResponsesRequestMaxPrice, z.ZodTypeDef, unknown>;
1334
+ /** @internal */
1335
+ export type SendResponsesRequestMaxPrice$Outbound = {
1336
+ prompt?: number | string | any | undefined;
1337
+ completion?: number | string | any | undefined;
1338
+ image?: number | string | any | undefined;
1339
+ audio?: number | string | any | undefined;
1340
+ request?: number | string | any | undefined;
1341
+ };
1342
+ /** @internal */
1343
+ export declare const SendResponsesRequestMaxPrice$outboundSchema: z.ZodType<SendResponsesRequestMaxPrice$Outbound, z.ZodTypeDef, SendResponsesRequestMaxPrice>;
1344
+ /**
1345
+ * @internal
1346
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1347
+ */
1348
+ export declare namespace SendResponsesRequestMaxPrice$ {
1349
+ /** @deprecated use `SendResponsesRequestMaxPrice$inboundSchema` instead. */
1350
+ const inboundSchema: z.ZodType<SendResponsesRequestMaxPrice, z.ZodTypeDef, unknown>;
1351
+ /** @deprecated use `SendResponsesRequestMaxPrice$outboundSchema` instead. */
1352
+ const outboundSchema: z.ZodType<SendResponsesRequestMaxPrice$Outbound, z.ZodTypeDef, SendResponsesRequestMaxPrice>;
1353
+ /** @deprecated use `SendResponsesRequestMaxPrice$Outbound` instead. */
1354
+ type Outbound = SendResponsesRequestMaxPrice$Outbound;
1355
+ }
1356
+ export declare function sendResponsesRequestMaxPriceToJSON(sendResponsesRequestMaxPrice: SendResponsesRequestMaxPrice): string;
1357
+ export declare function sendResponsesRequestMaxPriceFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestMaxPrice, SDKValidationError>;
1358
+ /** @internal */
1359
+ export declare const SendResponsesRequestExperimental$inboundSchema: z.ZodType<SendResponsesRequestExperimental, z.ZodTypeDef, unknown>;
1360
+ /** @internal */
1361
+ export type SendResponsesRequestExperimental$Outbound = {};
1362
+ /** @internal */
1363
+ export declare const SendResponsesRequestExperimental$outboundSchema: z.ZodType<SendResponsesRequestExperimental$Outbound, z.ZodTypeDef, SendResponsesRequestExperimental>;
1364
+ /**
1365
+ * @internal
1366
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1367
+ */
1368
+ export declare namespace SendResponsesRequestExperimental$ {
1369
+ /** @deprecated use `SendResponsesRequestExperimental$inboundSchema` instead. */
1370
+ const inboundSchema: z.ZodType<SendResponsesRequestExperimental, z.ZodTypeDef, unknown>;
1371
+ /** @deprecated use `SendResponsesRequestExperimental$outboundSchema` instead. */
1372
+ const outboundSchema: z.ZodType<SendResponsesRequestExperimental$Outbound, z.ZodTypeDef, SendResponsesRequestExperimental>;
1373
+ /** @deprecated use `SendResponsesRequestExperimental$Outbound` instead. */
1374
+ type Outbound = SendResponsesRequestExperimental$Outbound;
1375
+ }
1376
+ export declare function sendResponsesRequestExperimentalToJSON(sendResponsesRequestExperimental: SendResponsesRequestExperimental): string;
1377
+ export declare function sendResponsesRequestExperimentalFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestExperimental, SDKValidationError>;
1378
+ /** @internal */
1379
+ export declare const SendResponsesRequestProvider$inboundSchema: z.ZodType<SendResponsesRequestProvider, z.ZodTypeDef, unknown>;
1380
+ /** @internal */
1381
+ export type SendResponsesRequestProvider$Outbound = {
1382
+ allow_fallbacks?: boolean | null | undefined;
1383
+ require_parameters?: boolean | null | undefined;
1384
+ data_collection?: string | null | undefined;
1385
+ zdr?: boolean | null | undefined;
1386
+ order?: Array<string | string> | null | undefined;
1387
+ only?: Array<string | string> | null | undefined;
1388
+ ignore?: Array<string | string> | null | undefined;
1389
+ quantizations?: Array<string> | null | undefined;
1390
+ sort?: string | null | undefined;
1391
+ max_price?: SendResponsesRequestMaxPrice$Outbound | undefined;
1392
+ experimental?: SendResponsesRequestExperimental$Outbound | null | undefined;
1393
+ };
1394
+ /** @internal */
1395
+ export declare const SendResponsesRequestProvider$outboundSchema: z.ZodType<SendResponsesRequestProvider$Outbound, z.ZodTypeDef, SendResponsesRequestProvider>;
1396
+ /**
1397
+ * @internal
1398
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1399
+ */
1400
+ export declare namespace SendResponsesRequestProvider$ {
1401
+ /** @deprecated use `SendResponsesRequestProvider$inboundSchema` instead. */
1402
+ const inboundSchema: z.ZodType<SendResponsesRequestProvider, z.ZodTypeDef, unknown>;
1403
+ /** @deprecated use `SendResponsesRequestProvider$outboundSchema` instead. */
1404
+ const outboundSchema: z.ZodType<SendResponsesRequestProvider$Outbound, z.ZodTypeDef, SendResponsesRequestProvider>;
1405
+ /** @deprecated use `SendResponsesRequestProvider$Outbound` instead. */
1406
+ type Outbound = SendResponsesRequestProvider$Outbound;
1407
+ }
1408
+ export declare function sendResponsesRequestProviderToJSON(sendResponsesRequestProvider: SendResponsesRequestProvider): string;
1409
+ export declare function sendResponsesRequestProviderFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestProvider, SDKValidationError>;
1410
+ /** @internal */
1411
+ export declare const IdFileParser$inboundSchema: z.ZodNativeEnum<typeof IdFileParser>;
1412
+ /** @internal */
1413
+ export declare const IdFileParser$outboundSchema: z.ZodNativeEnum<typeof IdFileParser>;
1414
+ /**
1415
+ * @internal
1416
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1417
+ */
1418
+ export declare namespace IdFileParser$ {
1419
+ /** @deprecated use `IdFileParser$inboundSchema` instead. */
1420
+ const inboundSchema: z.ZodNativeEnum<{
1421
+ readonly FileParser: "file-parser";
1422
+ }>;
1423
+ /** @deprecated use `IdFileParser$outboundSchema` instead. */
1424
+ const outboundSchema: z.ZodNativeEnum<{
1425
+ readonly FileParser: "file-parser";
1426
+ }>;
1427
+ }
1428
+ /** @internal */
1429
+ export declare const PdfEngine$inboundSchema: z.ZodNativeEnum<typeof PdfEngine>;
1430
+ /** @internal */
1431
+ export declare const PdfEngine$outboundSchema: z.ZodNativeEnum<typeof PdfEngine>;
1432
+ /**
1433
+ * @internal
1434
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1435
+ */
1436
+ export declare namespace PdfEngine$ {
1437
+ /** @deprecated use `PdfEngine$inboundSchema` instead. */
1438
+ const inboundSchema: z.ZodNativeEnum<{
1439
+ readonly MistralOcr: "mistral-ocr";
1440
+ readonly PdfText: "pdf-text";
1441
+ readonly Native: "native";
1442
+ }>;
1443
+ /** @deprecated use `PdfEngine$outboundSchema` instead. */
1444
+ const outboundSchema: z.ZodNativeEnum<{
1445
+ readonly MistralOcr: "mistral-ocr";
1446
+ readonly PdfText: "pdf-text";
1447
+ readonly Native: "native";
1448
+ }>;
1449
+ }
1450
+ /** @internal */
1451
+ export declare const Pdf$inboundSchema: z.ZodType<Pdf, z.ZodTypeDef, unknown>;
1452
+ /** @internal */
1453
+ export type Pdf$Outbound = {
1454
+ engine?: string | undefined;
1455
+ };
1456
+ /** @internal */
1457
+ export declare const Pdf$outboundSchema: z.ZodType<Pdf$Outbound, z.ZodTypeDef, Pdf>;
1458
+ /**
1459
+ * @internal
1460
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1461
+ */
1462
+ export declare namespace Pdf$ {
1463
+ /** @deprecated use `Pdf$inboundSchema` instead. */
1464
+ const inboundSchema: z.ZodType<Pdf, z.ZodTypeDef, unknown>;
1465
+ /** @deprecated use `Pdf$outboundSchema` instead. */
1466
+ const outboundSchema: z.ZodType<Pdf$Outbound, z.ZodTypeDef, Pdf>;
1467
+ /** @deprecated use `Pdf$Outbound` instead. */
1468
+ type Outbound = Pdf$Outbound;
1469
+ }
1470
+ export declare function pdfToJSON(pdf: Pdf): string;
1471
+ export declare function pdfFromJSON(jsonString: string): SafeParseResult<Pdf, SDKValidationError>;
1472
+ /** @internal */
1473
+ export declare const PluginFileParser$inboundSchema: z.ZodType<PluginFileParser, z.ZodTypeDef, unknown>;
1474
+ /** @internal */
1475
+ export type PluginFileParser$Outbound = {
1476
+ id: string;
1477
+ max_files?: number | undefined;
1478
+ pdf?: Pdf$Outbound | undefined;
1479
+ };
1480
+ /** @internal */
1481
+ export declare const PluginFileParser$outboundSchema: z.ZodType<PluginFileParser$Outbound, z.ZodTypeDef, PluginFileParser>;
1482
+ /**
1483
+ * @internal
1484
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1485
+ */
1486
+ export declare namespace PluginFileParser$ {
1487
+ /** @deprecated use `PluginFileParser$inboundSchema` instead. */
1488
+ const inboundSchema: z.ZodType<PluginFileParser, z.ZodTypeDef, unknown>;
1489
+ /** @deprecated use `PluginFileParser$outboundSchema` instead. */
1490
+ const outboundSchema: z.ZodType<PluginFileParser$Outbound, z.ZodTypeDef, PluginFileParser>;
1491
+ /** @deprecated use `PluginFileParser$Outbound` instead. */
1492
+ type Outbound = PluginFileParser$Outbound;
1493
+ }
1494
+ export declare function pluginFileParserToJSON(pluginFileParser: PluginFileParser): string;
1495
+ export declare function pluginFileParserFromJSON(jsonString: string): SafeParseResult<PluginFileParser, SDKValidationError>;
1496
+ /** @internal */
1497
+ export declare const IdChainOfThought$inboundSchema: z.ZodNativeEnum<typeof IdChainOfThought>;
1498
+ /** @internal */
1499
+ export declare const IdChainOfThought$outboundSchema: z.ZodNativeEnum<typeof IdChainOfThought>;
1500
+ /**
1501
+ * @internal
1502
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1503
+ */
1504
+ export declare namespace IdChainOfThought$ {
1505
+ /** @deprecated use `IdChainOfThought$inboundSchema` instead. */
1506
+ const inboundSchema: z.ZodNativeEnum<{
1507
+ readonly ChainOfThought: "chain-of-thought";
1508
+ }>;
1509
+ /** @deprecated use `IdChainOfThought$outboundSchema` instead. */
1510
+ const outboundSchema: z.ZodNativeEnum<{
1511
+ readonly ChainOfThought: "chain-of-thought";
1512
+ }>;
1513
+ }
1514
+ /** @internal */
1515
+ export declare const PluginChainOfThought$inboundSchema: z.ZodType<PluginChainOfThought, z.ZodTypeDef, unknown>;
1516
+ /** @internal */
1517
+ export type PluginChainOfThought$Outbound = {
1518
+ id: string;
1519
+ };
1520
+ /** @internal */
1521
+ export declare const PluginChainOfThought$outboundSchema: z.ZodType<PluginChainOfThought$Outbound, z.ZodTypeDef, PluginChainOfThought>;
1522
+ /**
1523
+ * @internal
1524
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1525
+ */
1526
+ export declare namespace PluginChainOfThought$ {
1527
+ /** @deprecated use `PluginChainOfThought$inboundSchema` instead. */
1528
+ const inboundSchema: z.ZodType<PluginChainOfThought, z.ZodTypeDef, unknown>;
1529
+ /** @deprecated use `PluginChainOfThought$outboundSchema` instead. */
1530
+ const outboundSchema: z.ZodType<PluginChainOfThought$Outbound, z.ZodTypeDef, PluginChainOfThought>;
1531
+ /** @deprecated use `PluginChainOfThought$Outbound` instead. */
1532
+ type Outbound = PluginChainOfThought$Outbound;
1533
+ }
1534
+ export declare function pluginChainOfThoughtToJSON(pluginChainOfThought: PluginChainOfThought): string;
1535
+ export declare function pluginChainOfThoughtFromJSON(jsonString: string): SafeParseResult<PluginChainOfThought, SDKValidationError>;
1536
+ /** @internal */
1537
+ export declare const IdWeb$inboundSchema: z.ZodNativeEnum<typeof IdWeb>;
1538
+ /** @internal */
1539
+ export declare const IdWeb$outboundSchema: z.ZodNativeEnum<typeof IdWeb>;
1540
+ /**
1541
+ * @internal
1542
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1543
+ */
1544
+ export declare namespace IdWeb$ {
1545
+ /** @deprecated use `IdWeb$inboundSchema` instead. */
1546
+ const inboundSchema: z.ZodNativeEnum<{
1547
+ readonly Web: "web";
1548
+ }>;
1549
+ /** @deprecated use `IdWeb$outboundSchema` instead. */
1550
+ const outboundSchema: z.ZodNativeEnum<{
1551
+ readonly Web: "web";
1552
+ }>;
1553
+ }
1554
+ /** @internal */
1555
+ export declare const Engine$inboundSchema: z.ZodNativeEnum<typeof Engine>;
1556
+ /** @internal */
1557
+ export declare const Engine$outboundSchema: z.ZodNativeEnum<typeof Engine>;
1558
+ /**
1559
+ * @internal
1560
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1561
+ */
1562
+ export declare namespace Engine$ {
1563
+ /** @deprecated use `Engine$inboundSchema` instead. */
1564
+ const inboundSchema: z.ZodNativeEnum<{
1565
+ readonly Native: "native";
1566
+ readonly Exa: "exa";
1567
+ }>;
1568
+ /** @deprecated use `Engine$outboundSchema` instead. */
1569
+ const outboundSchema: z.ZodNativeEnum<{
1570
+ readonly Native: "native";
1571
+ readonly Exa: "exa";
1572
+ }>;
1573
+ }
1574
+ /** @internal */
1575
+ export declare const PluginWeb$inboundSchema: z.ZodType<PluginWeb, z.ZodTypeDef, unknown>;
1576
+ /** @internal */
1577
+ export type PluginWeb$Outbound = {
1578
+ id: string;
1579
+ max_results?: number | undefined;
1580
+ search_prompt?: string | undefined;
1581
+ engine?: string | undefined;
1582
+ };
1583
+ /** @internal */
1584
+ export declare const PluginWeb$outboundSchema: z.ZodType<PluginWeb$Outbound, z.ZodTypeDef, PluginWeb>;
1585
+ /**
1586
+ * @internal
1587
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1588
+ */
1589
+ export declare namespace PluginWeb$ {
1590
+ /** @deprecated use `PluginWeb$inboundSchema` instead. */
1591
+ const inboundSchema: z.ZodType<PluginWeb, z.ZodTypeDef, unknown>;
1592
+ /** @deprecated use `PluginWeb$outboundSchema` instead. */
1593
+ const outboundSchema: z.ZodType<PluginWeb$Outbound, z.ZodTypeDef, PluginWeb>;
1594
+ /** @deprecated use `PluginWeb$Outbound` instead. */
1595
+ type Outbound = PluginWeb$Outbound;
1596
+ }
1597
+ export declare function pluginWebToJSON(pluginWeb: PluginWeb): string;
1598
+ export declare function pluginWebFromJSON(jsonString: string): SafeParseResult<PluginWeb, SDKValidationError>;
1599
+ /** @internal */
1600
+ export declare const IdModeration$inboundSchema: z.ZodNativeEnum<typeof IdModeration>;
1601
+ /** @internal */
1602
+ export declare const IdModeration$outboundSchema: z.ZodNativeEnum<typeof IdModeration>;
1603
+ /**
1604
+ * @internal
1605
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1606
+ */
1607
+ export declare namespace IdModeration$ {
1608
+ /** @deprecated use `IdModeration$inboundSchema` instead. */
1609
+ const inboundSchema: z.ZodNativeEnum<{
1610
+ readonly Moderation: "moderation";
1611
+ }>;
1612
+ /** @deprecated use `IdModeration$outboundSchema` instead. */
1613
+ const outboundSchema: z.ZodNativeEnum<{
1614
+ readonly Moderation: "moderation";
1615
+ }>;
1616
+ }
1617
+ /** @internal */
1618
+ export declare const PluginModeration$inboundSchema: z.ZodType<PluginModeration, z.ZodTypeDef, unknown>;
1619
+ /** @internal */
1620
+ export type PluginModeration$Outbound = {
1621
+ id: string;
1622
+ };
1623
+ /** @internal */
1624
+ export declare const PluginModeration$outboundSchema: z.ZodType<PluginModeration$Outbound, z.ZodTypeDef, PluginModeration>;
1625
+ /**
1626
+ * @internal
1627
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1628
+ */
1629
+ export declare namespace PluginModeration$ {
1630
+ /** @deprecated use `PluginModeration$inboundSchema` instead. */
1631
+ const inboundSchema: z.ZodType<PluginModeration, z.ZodTypeDef, unknown>;
1632
+ /** @deprecated use `PluginModeration$outboundSchema` instead. */
1633
+ const outboundSchema: z.ZodType<PluginModeration$Outbound, z.ZodTypeDef, PluginModeration>;
1634
+ /** @deprecated use `PluginModeration$Outbound` instead. */
1635
+ type Outbound = PluginModeration$Outbound;
1636
+ }
1637
+ export declare function pluginModerationToJSON(pluginModeration: PluginModeration): string;
1638
+ export declare function pluginModerationFromJSON(jsonString: string): SafeParseResult<PluginModeration, SDKValidationError>;
1639
+ /** @internal */
1640
+ export declare const Plugin$inboundSchema: z.ZodType<Plugin, z.ZodTypeDef, unknown>;
1641
+ /** @internal */
1642
+ export type Plugin$Outbound = PluginModeration$Outbound | PluginWeb$Outbound | PluginChainOfThought$Outbound | PluginFileParser$Outbound;
1643
+ /** @internal */
1644
+ export declare const Plugin$outboundSchema: z.ZodType<Plugin$Outbound, z.ZodTypeDef, Plugin>;
1645
+ /**
1646
+ * @internal
1647
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1648
+ */
1649
+ export declare namespace Plugin$ {
1650
+ /** @deprecated use `Plugin$inboundSchema` instead. */
1651
+ const inboundSchema: z.ZodType<Plugin, z.ZodTypeDef, unknown>;
1652
+ /** @deprecated use `Plugin$outboundSchema` instead. */
1653
+ const outboundSchema: z.ZodType<Plugin$Outbound, z.ZodTypeDef, Plugin>;
1654
+ /** @deprecated use `Plugin$Outbound` instead. */
1655
+ type Outbound = Plugin$Outbound;
1656
+ }
1657
+ export declare function pluginToJSON(plugin: Plugin): string;
1658
+ export declare function pluginFromJSON(jsonString: string): SafeParseResult<Plugin, SDKValidationError>;
1659
+ /** @internal */
1660
+ export declare const SendResponsesRequestRequest$inboundSchema: z.ZodType<SendResponsesRequestRequest, z.ZodTypeDef, unknown>;
1661
+ /** @internal */
1662
+ export type SendResponsesRequestRequest$Outbound = {
1663
+ input?: models.ResponseInput$Outbound | undefined;
1664
+ instructions?: string | null | undefined;
1665
+ metadata?: {
1666
+ [k: string]: string;
1667
+ } | null | undefined;
1668
+ tools?: Array<models.Tool$Outbound> | undefined;
1669
+ tool_choice?: models.ToolChoiceUnion$Outbound | undefined;
1670
+ parallel_tool_calls?: boolean | null | undefined;
1671
+ model?: string | undefined;
1672
+ models?: Array<string> | undefined;
1673
+ text?: models.ResponseTextConfig$Outbound | undefined;
1674
+ reasoning?: models.ResponseReasoningConfig$Outbound | null | undefined;
1675
+ max_output_tokens?: number | null | undefined;
1676
+ temperature?: number | null | undefined;
1677
+ top_p?: number | null | undefined;
1678
+ top_k?: number | undefined;
1679
+ prompt_cache_key?: string | undefined;
1680
+ previous_response_id?: string | null | undefined;
1681
+ prompt?: models.ResponsePrompt$Outbound | null | undefined;
1682
+ include?: Array<string> | null | undefined;
1683
+ background?: boolean | null | undefined;
1684
+ safety_identifier?: string | undefined;
1685
+ store?: boolean | null | undefined;
1686
+ service_tier?: string | null | undefined;
1687
+ truncation?: string | null | undefined;
1688
+ stream?: boolean | null | undefined;
1689
+ provider?: SendResponsesRequestProvider$Outbound | null | undefined;
1690
+ plugins?: Array<PluginModeration$Outbound | PluginWeb$Outbound | PluginChainOfThought$Outbound | PluginFileParser$Outbound> | undefined;
1691
+ user?: string | undefined;
1692
+ };
1693
+ /** @internal */
1694
+ export declare const SendResponsesRequestRequest$outboundSchema: z.ZodType<SendResponsesRequestRequest$Outbound, z.ZodTypeDef, SendResponsesRequestRequest>;
1695
+ /**
1696
+ * @internal
1697
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1698
+ */
1699
+ export declare namespace SendResponsesRequestRequest$ {
1700
+ /** @deprecated use `SendResponsesRequestRequest$inboundSchema` instead. */
1701
+ const inboundSchema: z.ZodType<SendResponsesRequestRequest, z.ZodTypeDef, unknown>;
1702
+ /** @deprecated use `SendResponsesRequestRequest$outboundSchema` instead. */
1703
+ const outboundSchema: z.ZodType<SendResponsesRequestRequest$Outbound, z.ZodTypeDef, SendResponsesRequestRequest>;
1704
+ /** @deprecated use `SendResponsesRequestRequest$Outbound` instead. */
1705
+ type Outbound = SendResponsesRequestRequest$Outbound;
1706
+ }
1707
+ export declare function sendResponsesRequestRequestToJSON(sendResponsesRequestRequest: SendResponsesRequestRequest): string;
1708
+ export declare function sendResponsesRequestRequestFromJSON(jsonString: string): SafeParseResult<SendResponsesRequestRequest, SDKValidationError>;
1709
+ /** @internal */
17
1710
  export declare const SendResponsesRequestResponseBody$inboundSchema: z.ZodType<SendResponsesRequestResponseBody, z.ZodTypeDef, unknown>;
18
1711
  /** @internal */
19
1712
  export type SendResponsesRequestResponseBody$Outbound = {