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

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 (168) hide show
  1. package/FUNCTIONS.md +2 -0
  2. package/REACT_QUERY.md +2 -0
  3. package/README.md +12 -0
  4. package/dist/commonjs/funcs/endpointsList.d.ts +1 -1
  5. package/dist/commonjs/funcs/endpointsList.d.ts.map +1 -1
  6. package/dist/commonjs/funcs/endpointsList.js +1 -1
  7. package/dist/commonjs/funcs/endpointsList.js.map +1 -1
  8. package/dist/commonjs/funcs/modelsList.d.ts +1 -1
  9. package/dist/commonjs/funcs/modelsList.d.ts.map +1 -1
  10. package/dist/commonjs/funcs/modelsList.js +1 -1
  11. package/dist/commonjs/funcs/modelsList.js.map +1 -1
  12. package/dist/commonjs/lib/config.d.ts +2 -2
  13. package/dist/commonjs/lib/config.js +2 -2
  14. package/dist/commonjs/models/endpointslist.d.ts +768 -0
  15. package/dist/commonjs/models/endpointslist.d.ts.map +1 -0
  16. package/dist/commonjs/models/endpointslist.js +625 -0
  17. package/dist/commonjs/models/endpointslist.js.map +1 -0
  18. package/dist/commonjs/models/index.d.ts +3 -0
  19. package/dist/commonjs/models/index.d.ts.map +1 -1
  20. package/dist/commonjs/models/index.js +3 -0
  21. package/dist/commonjs/models/index.js.map +1 -1
  22. package/dist/commonjs/models/keyinfo.d.ts +155 -0
  23. package/dist/commonjs/models/keyinfo.d.ts.map +1 -0
  24. package/dist/commonjs/models/keyinfo.js +163 -0
  25. package/dist/commonjs/models/keyinfo.js.map +1 -0
  26. package/dist/commonjs/models/modelslist.d.ts +854 -0
  27. package/dist/commonjs/models/modelslist.d.ts.map +1 -0
  28. package/dist/commonjs/models/modelslist.js +768 -0
  29. package/dist/commonjs/models/modelslist.js.map +1 -0
  30. package/dist/commonjs/models/openairesponsesrequest.d.ts +52 -52
  31. package/dist/commonjs/models/openairesponsesrequest.d.ts.map +1 -1
  32. package/dist/commonjs/models/openairesponsesrequest.js +74 -76
  33. package/dist/commonjs/models/openairesponsesrequest.js.map +1 -1
  34. package/dist/commonjs/models/operations/getcurrentkey.d.ts +3 -108
  35. package/dist/commonjs/models/operations/getcurrentkey.d.ts.map +1 -1
  36. package/dist/commonjs/models/operations/getcurrentkey.js +4 -88
  37. package/dist/commonjs/models/operations/getcurrentkey.js.map +1 -1
  38. package/dist/commonjs/models/operations/list.d.ts +63 -825
  39. package/dist/commonjs/models/operations/list.d.ts.map +1 -1
  40. package/dist/commonjs/models/operations/list.js +86 -667
  41. package/dist/commonjs/models/operations/list.js.map +1 -1
  42. package/dist/commonjs/models/operations/listmodels.d.ts +16 -865
  43. package/dist/commonjs/models/operations/listmodels.d.ts.map +1 -1
  44. package/dist/commonjs/models/operations/listmodels.js +19 -742
  45. package/dist/commonjs/models/operations/listmodels.js.map +1 -1
  46. package/dist/commonjs/models/operations/listusermodels.d.ts +3 -852
  47. package/dist/commonjs/models/operations/listusermodels.d.ts.map +1 -1
  48. package/dist/commonjs/models/operations/listusermodels.js +4 -730
  49. package/dist/commonjs/models/operations/listusermodels.js.map +1 -1
  50. package/dist/commonjs/models/operations/previewzdr.d.ts +97 -97
  51. package/dist/commonjs/models/operations/previewzdr.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/previewzdr.js +134 -133
  53. package/dist/commonjs/models/operations/previewzdr.js.map +1 -1
  54. package/dist/commonjs/models/responsereasoningconfig.d.ts +4 -0
  55. package/dist/commonjs/models/responsereasoningconfig.d.ts.map +1 -1
  56. package/dist/commonjs/models/responsereasoningconfig.js +13 -0
  57. package/dist/commonjs/models/responsereasoningconfig.js.map +1 -1
  58. package/dist/commonjs/models/responsesusage.d.ts +41 -0
  59. package/dist/commonjs/models/responsesusage.d.ts.map +1 -1
  60. package/dist/commonjs/models/responsesusage.js +54 -1
  61. package/dist/commonjs/models/responsesusage.js.map +1 -1
  62. package/dist/commonjs/react-query/endpointsList.d.ts +4 -4
  63. package/dist/commonjs/react-query/endpointsList.d.ts.map +1 -1
  64. package/dist/commonjs/react-query/endpointsList.js.map +1 -1
  65. package/dist/commonjs/react-query/modelsList.d.ts +4 -4
  66. package/dist/commonjs/react-query/modelsList.d.ts.map +1 -1
  67. package/dist/commonjs/react-query/modelsList.js.map +1 -1
  68. package/dist/commonjs/sdk/endpoints.d.ts +1 -1
  69. package/dist/commonjs/sdk/endpoints.d.ts.map +1 -1
  70. package/dist/commonjs/sdk/endpoints.js.map +1 -1
  71. package/dist/commonjs/sdk/models.d.ts +1 -1
  72. package/dist/commonjs/sdk/models.d.ts.map +1 -1
  73. package/dist/commonjs/sdk/models.js.map +1 -1
  74. package/dist/esm/funcs/endpointsList.d.ts +1 -1
  75. package/dist/esm/funcs/endpointsList.d.ts.map +1 -1
  76. package/dist/esm/funcs/endpointsList.js +1 -1
  77. package/dist/esm/funcs/endpointsList.js.map +1 -1
  78. package/dist/esm/funcs/modelsList.d.ts +1 -1
  79. package/dist/esm/funcs/modelsList.d.ts.map +1 -1
  80. package/dist/esm/funcs/modelsList.js +1 -1
  81. package/dist/esm/funcs/modelsList.js.map +1 -1
  82. package/dist/esm/lib/config.d.ts +2 -2
  83. package/dist/esm/lib/config.js +2 -2
  84. package/dist/esm/models/endpointslist.d.ts +768 -0
  85. package/dist/esm/models/endpointslist.d.ts.map +1 -0
  86. package/dist/esm/models/endpointslist.js +562 -0
  87. package/dist/esm/models/endpointslist.js.map +1 -0
  88. package/dist/esm/models/index.d.ts +3 -0
  89. package/dist/esm/models/index.d.ts.map +1 -1
  90. package/dist/esm/models/index.js +3 -0
  91. package/dist/esm/models/index.js.map +1 -1
  92. package/dist/esm/models/keyinfo.d.ts +155 -0
  93. package/dist/esm/models/keyinfo.d.ts.map +1 -0
  94. package/dist/esm/models/keyinfo.js +123 -0
  95. package/dist/esm/models/keyinfo.js.map +1 -0
  96. package/dist/esm/models/modelslist.d.ts +854 -0
  97. package/dist/esm/models/modelslist.d.ts.map +1 -0
  98. package/dist/esm/models/modelslist.js +697 -0
  99. package/dist/esm/models/modelslist.js.map +1 -0
  100. package/dist/esm/models/openairesponsesrequest.d.ts +52 -52
  101. package/dist/esm/models/openairesponsesrequest.d.ts.map +1 -1
  102. package/dist/esm/models/openairesponsesrequest.js +64 -66
  103. package/dist/esm/models/openairesponsesrequest.js.map +1 -1
  104. package/dist/esm/models/operations/getcurrentkey.d.ts +3 -108
  105. package/dist/esm/models/operations/getcurrentkey.d.ts.map +1 -1
  106. package/dist/esm/models/operations/getcurrentkey.js +3 -83
  107. package/dist/esm/models/operations/getcurrentkey.js.map +1 -1
  108. package/dist/esm/models/operations/list.d.ts +63 -825
  109. package/dist/esm/models/operations/list.d.ts.map +1 -1
  110. package/dist/esm/models/operations/list.js +81 -635
  111. package/dist/esm/models/operations/list.js.map +1 -1
  112. package/dist/esm/models/operations/listmodels.d.ts +16 -865
  113. package/dist/esm/models/operations/listmodels.d.ts.map +1 -1
  114. package/dist/esm/models/operations/listmodels.js +16 -704
  115. package/dist/esm/models/operations/listmodels.js.map +1 -1
  116. package/dist/esm/models/operations/listusermodels.d.ts +3 -852
  117. package/dist/esm/models/operations/listusermodels.d.ts.map +1 -1
  118. package/dist/esm/models/operations/listusermodels.js +3 -694
  119. package/dist/esm/models/operations/listusermodels.js.map +1 -1
  120. package/dist/esm/models/operations/previewzdr.d.ts +97 -97
  121. package/dist/esm/models/operations/previewzdr.d.ts.map +1 -1
  122. package/dist/esm/models/operations/previewzdr.js +118 -117
  123. package/dist/esm/models/operations/previewzdr.js.map +1 -1
  124. package/dist/esm/models/responsereasoningconfig.d.ts +4 -0
  125. package/dist/esm/models/responsereasoningconfig.d.ts.map +1 -1
  126. package/dist/esm/models/responsereasoningconfig.js +13 -0
  127. package/dist/esm/models/responsereasoningconfig.js.map +1 -1
  128. package/dist/esm/models/responsesusage.d.ts +41 -0
  129. package/dist/esm/models/responsesusage.d.ts.map +1 -1
  130. package/dist/esm/models/responsesusage.js +51 -0
  131. package/dist/esm/models/responsesusage.js.map +1 -1
  132. package/dist/esm/react-query/endpointsList.d.ts +4 -4
  133. package/dist/esm/react-query/endpointsList.d.ts.map +1 -1
  134. package/dist/esm/react-query/endpointsList.js.map +1 -1
  135. package/dist/esm/react-query/modelsList.d.ts +4 -4
  136. package/dist/esm/react-query/modelsList.d.ts.map +1 -1
  137. package/dist/esm/react-query/modelsList.js.map +1 -1
  138. package/dist/esm/sdk/endpoints.d.ts +1 -1
  139. package/dist/esm/sdk/endpoints.d.ts.map +1 -1
  140. package/dist/esm/sdk/endpoints.js.map +1 -1
  141. package/dist/esm/sdk/models.d.ts +1 -1
  142. package/dist/esm/sdk/models.d.ts.map +1 -1
  143. package/dist/esm/sdk/models.js.map +1 -1
  144. package/docs/sdks/endpoints/README.md +1 -1
  145. package/docs/sdks/models/README.md +1 -1
  146. package/docs/sdks/responses/README.md +4 -0
  147. package/examples/betaResponsesSendRequest.example.ts +2 -0
  148. package/jsr.json +1 -1
  149. package/package.json +1 -1
  150. package/src/funcs/endpointsList.ts +3 -3
  151. package/src/funcs/modelsList.ts +3 -5
  152. package/src/lib/config.ts +2 -2
  153. package/src/models/endpointslist.ts +1034 -0
  154. package/src/models/index.ts +3 -0
  155. package/src/models/keyinfo.ts +281 -0
  156. package/src/models/modelslist.ts +1394 -0
  157. package/src/models/openairesponsesrequest.ts +133 -94
  158. package/src/models/operations/getcurrentkey.ts +5 -203
  159. package/src/models/operations/list.ts +109 -1106
  160. package/src/models/operations/listmodels.ts +26 -1436
  161. package/src/models/operations/listusermodels.ts +5 -1440
  162. package/src/models/operations/previewzdr.ts +196 -225
  163. package/src/models/responsereasoningconfig.ts +17 -0
  164. package/src/models/responsesusage.ts +96 -0
  165. package/src/react-query/endpointsList.ts +4 -4
  166. package/src/react-query/modelsList.ts +4 -4
  167. package/src/sdk/endpoints.ts +1 -1
  168. package/src/sdk/models.ts +1 -1
@@ -0,0 +1,854 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../types/enums.js";
3
+ import { Result as SafeParseResult } from "../types/fp.js";
4
+ import { SDKValidationError } from "./errors/sdkvalidationerror.js";
5
+ export type ModelsListPrompt = number | string | any;
6
+ export type ModelsListCompletion = number | string | any;
7
+ export type ModelsListRequest = number | string | any;
8
+ export type ModelsListImage = number | string | any;
9
+ export type ModelsListImageOutput = number | string | any;
10
+ export type ModelsListAudio = number | string | any;
11
+ export type ModelsListInputAudioCache = number | string | any;
12
+ export type ModelsListWebSearch = number | string | any;
13
+ export type ModelsListInternalReasoning = number | string | any;
14
+ export type ModelsListInputCacheRead = number | string | any;
15
+ export type ModelsListInputCacheWrite = number | string | any;
16
+ /**
17
+ * Pricing information for the model
18
+ */
19
+ export type ModelsListPricing = {
20
+ prompt?: number | string | any | undefined;
21
+ completion?: number | string | any | undefined;
22
+ request?: number | string | any | undefined;
23
+ image?: number | string | any | undefined;
24
+ imageOutput?: number | string | any | undefined;
25
+ audio?: number | string | any | undefined;
26
+ inputAudioCache?: number | string | any | undefined;
27
+ webSearch?: number | string | any | undefined;
28
+ internalReasoning?: number | string | any | undefined;
29
+ inputCacheRead?: number | string | any | undefined;
30
+ inputCacheWrite?: number | string | any | undefined;
31
+ discount?: number | undefined;
32
+ };
33
+ /**
34
+ * Tokenizer type used by the model
35
+ */
36
+ export declare const Tokenizer: {
37
+ readonly Router: "Router";
38
+ readonly Media: "Media";
39
+ readonly Other: "Other";
40
+ readonly Gpt: "GPT";
41
+ readonly Claude: "Claude";
42
+ readonly Gemini: "Gemini";
43
+ readonly Grok: "Grok";
44
+ readonly Cohere: "Cohere";
45
+ readonly Nova: "Nova";
46
+ readonly Qwen: "Qwen";
47
+ readonly Yi: "Yi";
48
+ readonly DeepSeek: "DeepSeek";
49
+ readonly Mistral: "Mistral";
50
+ readonly Llama2: "Llama2";
51
+ readonly Llama3: "Llama3";
52
+ readonly Llama4: "Llama4";
53
+ readonly PaLM: "PaLM";
54
+ readonly Rwkv: "RWKV";
55
+ readonly Qwen3: "Qwen3";
56
+ };
57
+ /**
58
+ * Tokenizer type used by the model
59
+ */
60
+ export type Tokenizer = ClosedEnum<typeof Tokenizer>;
61
+ /**
62
+ * Instruction format type
63
+ */
64
+ export declare const InstructType: {
65
+ readonly None: "none";
66
+ readonly Airoboros: "airoboros";
67
+ readonly Alpaca: "alpaca";
68
+ readonly AlpacaModif: "alpaca-modif";
69
+ readonly Chatml: "chatml";
70
+ readonly Claude: "claude";
71
+ readonly CodeLlama: "code-llama";
72
+ readonly Gemma: "gemma";
73
+ readonly Llama2: "llama2";
74
+ readonly Llama3: "llama3";
75
+ readonly Mistral: "mistral";
76
+ readonly Nemotron: "nemotron";
77
+ readonly Neural: "neural";
78
+ readonly Openchat: "openchat";
79
+ readonly Phi3: "phi3";
80
+ readonly Rwkv: "rwkv";
81
+ readonly Vicuna: "vicuna";
82
+ readonly Zephyr: "zephyr";
83
+ readonly DeepseekR1: "deepseek-r1";
84
+ readonly DeepseekV31: "deepseek-v3.1";
85
+ readonly Qwq: "qwq";
86
+ readonly Qwen3: "qwen3";
87
+ };
88
+ /**
89
+ * Instruction format type
90
+ */
91
+ export type InstructType = ClosedEnum<typeof InstructType>;
92
+ export declare const InputModality: {
93
+ readonly Text: "text";
94
+ readonly Image: "image";
95
+ readonly File: "file";
96
+ readonly Audio: "audio";
97
+ };
98
+ export type InputModality = ClosedEnum<typeof InputModality>;
99
+ export declare const OutputModality: {
100
+ readonly Text: "text";
101
+ readonly Image: "image";
102
+ readonly Embeddings: "embeddings";
103
+ };
104
+ export type OutputModality = ClosedEnum<typeof OutputModality>;
105
+ /**
106
+ * Model architecture information
107
+ */
108
+ export type Architecture = {
109
+ /**
110
+ * Tokenizer type used by the model
111
+ */
112
+ tokenizer?: Tokenizer | undefined;
113
+ /**
114
+ * Instruction format type
115
+ */
116
+ instructType?: InstructType | null | undefined;
117
+ /**
118
+ * Primary modality of the model
119
+ */
120
+ modality: string | null;
121
+ /**
122
+ * Supported input modalities
123
+ */
124
+ inputModalities: Array<InputModality>;
125
+ /**
126
+ * Supported output modalities
127
+ */
128
+ outputModalities: Array<OutputModality>;
129
+ };
130
+ /**
131
+ * Information about the top provider for this model
132
+ */
133
+ export type TopProvider = {
134
+ /**
135
+ * Context length from the top provider
136
+ */
137
+ contextLength?: number | null | undefined;
138
+ /**
139
+ * Maximum completion tokens from the top provider
140
+ */
141
+ maxCompletionTokens?: number | null | undefined;
142
+ /**
143
+ * Whether the top provider moderates content
144
+ */
145
+ isModerated: boolean;
146
+ };
147
+ /**
148
+ * Per-request token limits
149
+ */
150
+ export type PerRequestLimits = {
151
+ /**
152
+ * Maximum prompt tokens per request
153
+ */
154
+ promptTokens?: any | undefined;
155
+ /**
156
+ * Maximum completion tokens per request
157
+ */
158
+ completionTokens?: any | undefined;
159
+ };
160
+ export declare const ModelsListSupportedParameter: {
161
+ readonly Temperature: "temperature";
162
+ readonly TopP: "top_p";
163
+ readonly TopK: "top_k";
164
+ readonly MinP: "min_p";
165
+ readonly TopA: "top_a";
166
+ readonly FrequencyPenalty: "frequency_penalty";
167
+ readonly PresencePenalty: "presence_penalty";
168
+ readonly RepetitionPenalty: "repetition_penalty";
169
+ readonly MaxTokens: "max_tokens";
170
+ readonly LogitBias: "logit_bias";
171
+ readonly Logprobs: "logprobs";
172
+ readonly TopLogprobs: "top_logprobs";
173
+ readonly Seed: "seed";
174
+ readonly ResponseFormat: "response_format";
175
+ readonly StructuredOutputs: "structured_outputs";
176
+ readonly Stop: "stop";
177
+ readonly Tools: "tools";
178
+ readonly ToolChoice: "tool_choice";
179
+ readonly ParallelToolCalls: "parallel_tool_calls";
180
+ readonly IncludeReasoning: "include_reasoning";
181
+ readonly Reasoning: "reasoning";
182
+ readonly WebSearchOptions: "web_search_options";
183
+ readonly Verbosity: "verbosity";
184
+ };
185
+ export type ModelsListSupportedParameter = ClosedEnum<typeof ModelsListSupportedParameter>;
186
+ /**
187
+ * Default parameters for this model
188
+ */
189
+ export type DefaultParameters = {
190
+ temperature?: number | null | undefined;
191
+ topP?: number | null | undefined;
192
+ frequencyPenalty?: number | null | undefined;
193
+ };
194
+ export type ModelsList = {
195
+ /**
196
+ * Unique identifier for the model
197
+ */
198
+ id: string;
199
+ /**
200
+ * Canonical slug for the model
201
+ */
202
+ canonicalSlug: string;
203
+ /**
204
+ * Hugging Face model identifier, if applicable
205
+ */
206
+ huggingFaceId?: string | null | undefined;
207
+ /**
208
+ * Display name of the model
209
+ */
210
+ name: string;
211
+ /**
212
+ * Unix timestamp of when the model was created
213
+ */
214
+ created: number;
215
+ /**
216
+ * Description of the model
217
+ */
218
+ description?: string | undefined;
219
+ /**
220
+ * Pricing information for the model
221
+ */
222
+ pricing: ModelsListPricing;
223
+ /**
224
+ * Maximum context length in tokens
225
+ */
226
+ contextLength: number | null;
227
+ /**
228
+ * Model architecture information
229
+ */
230
+ architecture: Architecture;
231
+ /**
232
+ * Information about the top provider for this model
233
+ */
234
+ topProvider: TopProvider;
235
+ /**
236
+ * Per-request token limits
237
+ */
238
+ perRequestLimits: PerRequestLimits | null;
239
+ /**
240
+ * List of supported parameters for this model
241
+ */
242
+ supportedParameters: Array<ModelsListSupportedParameter>;
243
+ /**
244
+ * Default parameters for this model
245
+ */
246
+ defaultParameters: DefaultParameters | null;
247
+ };
248
+ /** @internal */
249
+ export declare const ModelsListPrompt$inboundSchema: z.ZodType<ModelsListPrompt, z.ZodTypeDef, unknown>;
250
+ /** @internal */
251
+ export type ModelsListPrompt$Outbound = number | string | any;
252
+ /** @internal */
253
+ export declare const ModelsListPrompt$outboundSchema: z.ZodType<ModelsListPrompt$Outbound, z.ZodTypeDef, ModelsListPrompt>;
254
+ /**
255
+ * @internal
256
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
257
+ */
258
+ export declare namespace ModelsListPrompt$ {
259
+ /** @deprecated use `ModelsListPrompt$inboundSchema` instead. */
260
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
261
+ /** @deprecated use `ModelsListPrompt$outboundSchema` instead. */
262
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
263
+ /** @deprecated use `ModelsListPrompt$Outbound` instead. */
264
+ type Outbound = ModelsListPrompt$Outbound;
265
+ }
266
+ export declare function modelsListPromptToJSON(modelsListPrompt: ModelsListPrompt): string;
267
+ export declare function modelsListPromptFromJSON(jsonString: string): SafeParseResult<ModelsListPrompt, SDKValidationError>;
268
+ /** @internal */
269
+ export declare const ModelsListCompletion$inboundSchema: z.ZodType<ModelsListCompletion, z.ZodTypeDef, unknown>;
270
+ /** @internal */
271
+ export type ModelsListCompletion$Outbound = number | string | any;
272
+ /** @internal */
273
+ export declare const ModelsListCompletion$outboundSchema: z.ZodType<ModelsListCompletion$Outbound, z.ZodTypeDef, ModelsListCompletion>;
274
+ /**
275
+ * @internal
276
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
277
+ */
278
+ export declare namespace ModelsListCompletion$ {
279
+ /** @deprecated use `ModelsListCompletion$inboundSchema` instead. */
280
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
281
+ /** @deprecated use `ModelsListCompletion$outboundSchema` instead. */
282
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
283
+ /** @deprecated use `ModelsListCompletion$Outbound` instead. */
284
+ type Outbound = ModelsListCompletion$Outbound;
285
+ }
286
+ export declare function modelsListCompletionToJSON(modelsListCompletion: ModelsListCompletion): string;
287
+ export declare function modelsListCompletionFromJSON(jsonString: string): SafeParseResult<ModelsListCompletion, SDKValidationError>;
288
+ /** @internal */
289
+ export declare const ModelsListRequest$inboundSchema: z.ZodType<ModelsListRequest, z.ZodTypeDef, unknown>;
290
+ /** @internal */
291
+ export type ModelsListRequest$Outbound = number | string | any;
292
+ /** @internal */
293
+ export declare const ModelsListRequest$outboundSchema: z.ZodType<ModelsListRequest$Outbound, z.ZodTypeDef, ModelsListRequest>;
294
+ /**
295
+ * @internal
296
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
297
+ */
298
+ export declare namespace ModelsListRequest$ {
299
+ /** @deprecated use `ModelsListRequest$inboundSchema` instead. */
300
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
301
+ /** @deprecated use `ModelsListRequest$outboundSchema` instead. */
302
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
303
+ /** @deprecated use `ModelsListRequest$Outbound` instead. */
304
+ type Outbound = ModelsListRequest$Outbound;
305
+ }
306
+ export declare function modelsListRequestToJSON(modelsListRequest: ModelsListRequest): string;
307
+ export declare function modelsListRequestFromJSON(jsonString: string): SafeParseResult<ModelsListRequest, SDKValidationError>;
308
+ /** @internal */
309
+ export declare const ModelsListImage$inboundSchema: z.ZodType<ModelsListImage, z.ZodTypeDef, unknown>;
310
+ /** @internal */
311
+ export type ModelsListImage$Outbound = number | string | any;
312
+ /** @internal */
313
+ export declare const ModelsListImage$outboundSchema: z.ZodType<ModelsListImage$Outbound, z.ZodTypeDef, ModelsListImage>;
314
+ /**
315
+ * @internal
316
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
317
+ */
318
+ export declare namespace ModelsListImage$ {
319
+ /** @deprecated use `ModelsListImage$inboundSchema` instead. */
320
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
321
+ /** @deprecated use `ModelsListImage$outboundSchema` instead. */
322
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
323
+ /** @deprecated use `ModelsListImage$Outbound` instead. */
324
+ type Outbound = ModelsListImage$Outbound;
325
+ }
326
+ export declare function modelsListImageToJSON(modelsListImage: ModelsListImage): string;
327
+ export declare function modelsListImageFromJSON(jsonString: string): SafeParseResult<ModelsListImage, SDKValidationError>;
328
+ /** @internal */
329
+ export declare const ModelsListImageOutput$inboundSchema: z.ZodType<ModelsListImageOutput, z.ZodTypeDef, unknown>;
330
+ /** @internal */
331
+ export type ModelsListImageOutput$Outbound = number | string | any;
332
+ /** @internal */
333
+ export declare const ModelsListImageOutput$outboundSchema: z.ZodType<ModelsListImageOutput$Outbound, z.ZodTypeDef, ModelsListImageOutput>;
334
+ /**
335
+ * @internal
336
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
337
+ */
338
+ export declare namespace ModelsListImageOutput$ {
339
+ /** @deprecated use `ModelsListImageOutput$inboundSchema` instead. */
340
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
341
+ /** @deprecated use `ModelsListImageOutput$outboundSchema` instead. */
342
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
343
+ /** @deprecated use `ModelsListImageOutput$Outbound` instead. */
344
+ type Outbound = ModelsListImageOutput$Outbound;
345
+ }
346
+ export declare function modelsListImageOutputToJSON(modelsListImageOutput: ModelsListImageOutput): string;
347
+ export declare function modelsListImageOutputFromJSON(jsonString: string): SafeParseResult<ModelsListImageOutput, SDKValidationError>;
348
+ /** @internal */
349
+ export declare const ModelsListAudio$inboundSchema: z.ZodType<ModelsListAudio, z.ZodTypeDef, unknown>;
350
+ /** @internal */
351
+ export type ModelsListAudio$Outbound = number | string | any;
352
+ /** @internal */
353
+ export declare const ModelsListAudio$outboundSchema: z.ZodType<ModelsListAudio$Outbound, z.ZodTypeDef, ModelsListAudio>;
354
+ /**
355
+ * @internal
356
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
357
+ */
358
+ export declare namespace ModelsListAudio$ {
359
+ /** @deprecated use `ModelsListAudio$inboundSchema` instead. */
360
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
361
+ /** @deprecated use `ModelsListAudio$outboundSchema` instead. */
362
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
363
+ /** @deprecated use `ModelsListAudio$Outbound` instead. */
364
+ type Outbound = ModelsListAudio$Outbound;
365
+ }
366
+ export declare function modelsListAudioToJSON(modelsListAudio: ModelsListAudio): string;
367
+ export declare function modelsListAudioFromJSON(jsonString: string): SafeParseResult<ModelsListAudio, SDKValidationError>;
368
+ /** @internal */
369
+ export declare const ModelsListInputAudioCache$inboundSchema: z.ZodType<ModelsListInputAudioCache, z.ZodTypeDef, unknown>;
370
+ /** @internal */
371
+ export type ModelsListInputAudioCache$Outbound = number | string | any;
372
+ /** @internal */
373
+ export declare const ModelsListInputAudioCache$outboundSchema: z.ZodType<ModelsListInputAudioCache$Outbound, z.ZodTypeDef, ModelsListInputAudioCache>;
374
+ /**
375
+ * @internal
376
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
377
+ */
378
+ export declare namespace ModelsListInputAudioCache$ {
379
+ /** @deprecated use `ModelsListInputAudioCache$inboundSchema` instead. */
380
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
381
+ /** @deprecated use `ModelsListInputAudioCache$outboundSchema` instead. */
382
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
383
+ /** @deprecated use `ModelsListInputAudioCache$Outbound` instead. */
384
+ type Outbound = ModelsListInputAudioCache$Outbound;
385
+ }
386
+ export declare function modelsListInputAudioCacheToJSON(modelsListInputAudioCache: ModelsListInputAudioCache): string;
387
+ export declare function modelsListInputAudioCacheFromJSON(jsonString: string): SafeParseResult<ModelsListInputAudioCache, SDKValidationError>;
388
+ /** @internal */
389
+ export declare const ModelsListWebSearch$inboundSchema: z.ZodType<ModelsListWebSearch, z.ZodTypeDef, unknown>;
390
+ /** @internal */
391
+ export type ModelsListWebSearch$Outbound = number | string | any;
392
+ /** @internal */
393
+ export declare const ModelsListWebSearch$outboundSchema: z.ZodType<ModelsListWebSearch$Outbound, z.ZodTypeDef, ModelsListWebSearch>;
394
+ /**
395
+ * @internal
396
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
397
+ */
398
+ export declare namespace ModelsListWebSearch$ {
399
+ /** @deprecated use `ModelsListWebSearch$inboundSchema` instead. */
400
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
401
+ /** @deprecated use `ModelsListWebSearch$outboundSchema` instead. */
402
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
403
+ /** @deprecated use `ModelsListWebSearch$Outbound` instead. */
404
+ type Outbound = ModelsListWebSearch$Outbound;
405
+ }
406
+ export declare function modelsListWebSearchToJSON(modelsListWebSearch: ModelsListWebSearch): string;
407
+ export declare function modelsListWebSearchFromJSON(jsonString: string): SafeParseResult<ModelsListWebSearch, SDKValidationError>;
408
+ /** @internal */
409
+ export declare const ModelsListInternalReasoning$inboundSchema: z.ZodType<ModelsListInternalReasoning, z.ZodTypeDef, unknown>;
410
+ /** @internal */
411
+ export type ModelsListInternalReasoning$Outbound = number | string | any;
412
+ /** @internal */
413
+ export declare const ModelsListInternalReasoning$outboundSchema: z.ZodType<ModelsListInternalReasoning$Outbound, z.ZodTypeDef, ModelsListInternalReasoning>;
414
+ /**
415
+ * @internal
416
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
417
+ */
418
+ export declare namespace ModelsListInternalReasoning$ {
419
+ /** @deprecated use `ModelsListInternalReasoning$inboundSchema` instead. */
420
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
421
+ /** @deprecated use `ModelsListInternalReasoning$outboundSchema` instead. */
422
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
423
+ /** @deprecated use `ModelsListInternalReasoning$Outbound` instead. */
424
+ type Outbound = ModelsListInternalReasoning$Outbound;
425
+ }
426
+ export declare function modelsListInternalReasoningToJSON(modelsListInternalReasoning: ModelsListInternalReasoning): string;
427
+ export declare function modelsListInternalReasoningFromJSON(jsonString: string): SafeParseResult<ModelsListInternalReasoning, SDKValidationError>;
428
+ /** @internal */
429
+ export declare const ModelsListInputCacheRead$inboundSchema: z.ZodType<ModelsListInputCacheRead, z.ZodTypeDef, unknown>;
430
+ /** @internal */
431
+ export type ModelsListInputCacheRead$Outbound = number | string | any;
432
+ /** @internal */
433
+ export declare const ModelsListInputCacheRead$outboundSchema: z.ZodType<ModelsListInputCacheRead$Outbound, z.ZodTypeDef, ModelsListInputCacheRead>;
434
+ /**
435
+ * @internal
436
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
437
+ */
438
+ export declare namespace ModelsListInputCacheRead$ {
439
+ /** @deprecated use `ModelsListInputCacheRead$inboundSchema` instead. */
440
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
441
+ /** @deprecated use `ModelsListInputCacheRead$outboundSchema` instead. */
442
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
443
+ /** @deprecated use `ModelsListInputCacheRead$Outbound` instead. */
444
+ type Outbound = ModelsListInputCacheRead$Outbound;
445
+ }
446
+ export declare function modelsListInputCacheReadToJSON(modelsListInputCacheRead: ModelsListInputCacheRead): string;
447
+ export declare function modelsListInputCacheReadFromJSON(jsonString: string): SafeParseResult<ModelsListInputCacheRead, SDKValidationError>;
448
+ /** @internal */
449
+ export declare const ModelsListInputCacheWrite$inboundSchema: z.ZodType<ModelsListInputCacheWrite, z.ZodTypeDef, unknown>;
450
+ /** @internal */
451
+ export type ModelsListInputCacheWrite$Outbound = number | string | any;
452
+ /** @internal */
453
+ export declare const ModelsListInputCacheWrite$outboundSchema: z.ZodType<ModelsListInputCacheWrite$Outbound, z.ZodTypeDef, ModelsListInputCacheWrite>;
454
+ /**
455
+ * @internal
456
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
457
+ */
458
+ export declare namespace ModelsListInputCacheWrite$ {
459
+ /** @deprecated use `ModelsListInputCacheWrite$inboundSchema` instead. */
460
+ const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
461
+ /** @deprecated use `ModelsListInputCacheWrite$outboundSchema` instead. */
462
+ const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
463
+ /** @deprecated use `ModelsListInputCacheWrite$Outbound` instead. */
464
+ type Outbound = ModelsListInputCacheWrite$Outbound;
465
+ }
466
+ export declare function modelsListInputCacheWriteToJSON(modelsListInputCacheWrite: ModelsListInputCacheWrite): string;
467
+ export declare function modelsListInputCacheWriteFromJSON(jsonString: string): SafeParseResult<ModelsListInputCacheWrite, SDKValidationError>;
468
+ /** @internal */
469
+ export declare const ModelsListPricing$inboundSchema: z.ZodType<ModelsListPricing, z.ZodTypeDef, unknown>;
470
+ /** @internal */
471
+ export type ModelsListPricing$Outbound = {
472
+ prompt?: number | string | any | undefined;
473
+ completion?: number | string | any | undefined;
474
+ request?: number | string | any | undefined;
475
+ image?: number | string | any | undefined;
476
+ image_output?: number | string | any | undefined;
477
+ audio?: number | string | any | undefined;
478
+ input_audio_cache?: number | string | any | undefined;
479
+ web_search?: number | string | any | undefined;
480
+ internal_reasoning?: number | string | any | undefined;
481
+ input_cache_read?: number | string | any | undefined;
482
+ input_cache_write?: number | string | any | undefined;
483
+ discount?: number | undefined;
484
+ };
485
+ /** @internal */
486
+ export declare const ModelsListPricing$outboundSchema: z.ZodType<ModelsListPricing$Outbound, z.ZodTypeDef, ModelsListPricing>;
487
+ /**
488
+ * @internal
489
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
490
+ */
491
+ export declare namespace ModelsListPricing$ {
492
+ /** @deprecated use `ModelsListPricing$inboundSchema` instead. */
493
+ const inboundSchema: z.ZodType<ModelsListPricing, z.ZodTypeDef, unknown>;
494
+ /** @deprecated use `ModelsListPricing$outboundSchema` instead. */
495
+ const outboundSchema: z.ZodType<ModelsListPricing$Outbound, z.ZodTypeDef, ModelsListPricing>;
496
+ /** @deprecated use `ModelsListPricing$Outbound` instead. */
497
+ type Outbound = ModelsListPricing$Outbound;
498
+ }
499
+ export declare function modelsListPricingToJSON(modelsListPricing: ModelsListPricing): string;
500
+ export declare function modelsListPricingFromJSON(jsonString: string): SafeParseResult<ModelsListPricing, SDKValidationError>;
501
+ /** @internal */
502
+ export declare const Tokenizer$inboundSchema: z.ZodNativeEnum<typeof Tokenizer>;
503
+ /** @internal */
504
+ export declare const Tokenizer$outboundSchema: z.ZodNativeEnum<typeof Tokenizer>;
505
+ /**
506
+ * @internal
507
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
508
+ */
509
+ export declare namespace Tokenizer$ {
510
+ /** @deprecated use `Tokenizer$inboundSchema` instead. */
511
+ const inboundSchema: z.ZodNativeEnum<{
512
+ readonly Router: "Router";
513
+ readonly Media: "Media";
514
+ readonly Other: "Other";
515
+ readonly Gpt: "GPT";
516
+ readonly Claude: "Claude";
517
+ readonly Gemini: "Gemini";
518
+ readonly Grok: "Grok";
519
+ readonly Cohere: "Cohere";
520
+ readonly Nova: "Nova";
521
+ readonly Qwen: "Qwen";
522
+ readonly Yi: "Yi";
523
+ readonly DeepSeek: "DeepSeek";
524
+ readonly Mistral: "Mistral";
525
+ readonly Llama2: "Llama2";
526
+ readonly Llama3: "Llama3";
527
+ readonly Llama4: "Llama4";
528
+ readonly PaLM: "PaLM";
529
+ readonly Rwkv: "RWKV";
530
+ readonly Qwen3: "Qwen3";
531
+ }>;
532
+ /** @deprecated use `Tokenizer$outboundSchema` instead. */
533
+ const outboundSchema: z.ZodNativeEnum<{
534
+ readonly Router: "Router";
535
+ readonly Media: "Media";
536
+ readonly Other: "Other";
537
+ readonly Gpt: "GPT";
538
+ readonly Claude: "Claude";
539
+ readonly Gemini: "Gemini";
540
+ readonly Grok: "Grok";
541
+ readonly Cohere: "Cohere";
542
+ readonly Nova: "Nova";
543
+ readonly Qwen: "Qwen";
544
+ readonly Yi: "Yi";
545
+ readonly DeepSeek: "DeepSeek";
546
+ readonly Mistral: "Mistral";
547
+ readonly Llama2: "Llama2";
548
+ readonly Llama3: "Llama3";
549
+ readonly Llama4: "Llama4";
550
+ readonly PaLM: "PaLM";
551
+ readonly Rwkv: "RWKV";
552
+ readonly Qwen3: "Qwen3";
553
+ }>;
554
+ }
555
+ /** @internal */
556
+ export declare const InstructType$inboundSchema: z.ZodNativeEnum<typeof InstructType>;
557
+ /** @internal */
558
+ export declare const InstructType$outboundSchema: z.ZodNativeEnum<typeof InstructType>;
559
+ /**
560
+ * @internal
561
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
562
+ */
563
+ export declare namespace InstructType$ {
564
+ /** @deprecated use `InstructType$inboundSchema` instead. */
565
+ const inboundSchema: z.ZodNativeEnum<{
566
+ readonly None: "none";
567
+ readonly Airoboros: "airoboros";
568
+ readonly Alpaca: "alpaca";
569
+ readonly AlpacaModif: "alpaca-modif";
570
+ readonly Chatml: "chatml";
571
+ readonly Claude: "claude";
572
+ readonly CodeLlama: "code-llama";
573
+ readonly Gemma: "gemma";
574
+ readonly Llama2: "llama2";
575
+ readonly Llama3: "llama3";
576
+ readonly Mistral: "mistral";
577
+ readonly Nemotron: "nemotron";
578
+ readonly Neural: "neural";
579
+ readonly Openchat: "openchat";
580
+ readonly Phi3: "phi3";
581
+ readonly Rwkv: "rwkv";
582
+ readonly Vicuna: "vicuna";
583
+ readonly Zephyr: "zephyr";
584
+ readonly DeepseekR1: "deepseek-r1";
585
+ readonly DeepseekV31: "deepseek-v3.1";
586
+ readonly Qwq: "qwq";
587
+ readonly Qwen3: "qwen3";
588
+ }>;
589
+ /** @deprecated use `InstructType$outboundSchema` instead. */
590
+ const outboundSchema: z.ZodNativeEnum<{
591
+ readonly None: "none";
592
+ readonly Airoboros: "airoboros";
593
+ readonly Alpaca: "alpaca";
594
+ readonly AlpacaModif: "alpaca-modif";
595
+ readonly Chatml: "chatml";
596
+ readonly Claude: "claude";
597
+ readonly CodeLlama: "code-llama";
598
+ readonly Gemma: "gemma";
599
+ readonly Llama2: "llama2";
600
+ readonly Llama3: "llama3";
601
+ readonly Mistral: "mistral";
602
+ readonly Nemotron: "nemotron";
603
+ readonly Neural: "neural";
604
+ readonly Openchat: "openchat";
605
+ readonly Phi3: "phi3";
606
+ readonly Rwkv: "rwkv";
607
+ readonly Vicuna: "vicuna";
608
+ readonly Zephyr: "zephyr";
609
+ readonly DeepseekR1: "deepseek-r1";
610
+ readonly DeepseekV31: "deepseek-v3.1";
611
+ readonly Qwq: "qwq";
612
+ readonly Qwen3: "qwen3";
613
+ }>;
614
+ }
615
+ /** @internal */
616
+ export declare const InputModality$inboundSchema: z.ZodNativeEnum<typeof InputModality>;
617
+ /** @internal */
618
+ export declare const InputModality$outboundSchema: z.ZodNativeEnum<typeof InputModality>;
619
+ /**
620
+ * @internal
621
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
622
+ */
623
+ export declare namespace InputModality$ {
624
+ /** @deprecated use `InputModality$inboundSchema` instead. */
625
+ const inboundSchema: z.ZodNativeEnum<{
626
+ readonly Text: "text";
627
+ readonly Image: "image";
628
+ readonly File: "file";
629
+ readonly Audio: "audio";
630
+ }>;
631
+ /** @deprecated use `InputModality$outboundSchema` instead. */
632
+ const outboundSchema: z.ZodNativeEnum<{
633
+ readonly Text: "text";
634
+ readonly Image: "image";
635
+ readonly File: "file";
636
+ readonly Audio: "audio";
637
+ }>;
638
+ }
639
+ /** @internal */
640
+ export declare const OutputModality$inboundSchema: z.ZodNativeEnum<typeof OutputModality>;
641
+ /** @internal */
642
+ export declare const OutputModality$outboundSchema: z.ZodNativeEnum<typeof OutputModality>;
643
+ /**
644
+ * @internal
645
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
646
+ */
647
+ export declare namespace OutputModality$ {
648
+ /** @deprecated use `OutputModality$inboundSchema` instead. */
649
+ const inboundSchema: z.ZodNativeEnum<{
650
+ readonly Text: "text";
651
+ readonly Image: "image";
652
+ readonly Embeddings: "embeddings";
653
+ }>;
654
+ /** @deprecated use `OutputModality$outboundSchema` instead. */
655
+ const outboundSchema: z.ZodNativeEnum<{
656
+ readonly Text: "text";
657
+ readonly Image: "image";
658
+ readonly Embeddings: "embeddings";
659
+ }>;
660
+ }
661
+ /** @internal */
662
+ export declare const Architecture$inboundSchema: z.ZodType<Architecture, z.ZodTypeDef, unknown>;
663
+ /** @internal */
664
+ export type Architecture$Outbound = {
665
+ tokenizer?: string | undefined;
666
+ instruct_type?: string | null | undefined;
667
+ modality: string | null;
668
+ input_modalities: Array<string>;
669
+ output_modalities: Array<string>;
670
+ };
671
+ /** @internal */
672
+ export declare const Architecture$outboundSchema: z.ZodType<Architecture$Outbound, z.ZodTypeDef, Architecture>;
673
+ /**
674
+ * @internal
675
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
676
+ */
677
+ export declare namespace Architecture$ {
678
+ /** @deprecated use `Architecture$inboundSchema` instead. */
679
+ const inboundSchema: z.ZodType<Architecture, z.ZodTypeDef, unknown>;
680
+ /** @deprecated use `Architecture$outboundSchema` instead. */
681
+ const outboundSchema: z.ZodType<Architecture$Outbound, z.ZodTypeDef, Architecture>;
682
+ /** @deprecated use `Architecture$Outbound` instead. */
683
+ type Outbound = Architecture$Outbound;
684
+ }
685
+ export declare function architectureToJSON(architecture: Architecture): string;
686
+ export declare function architectureFromJSON(jsonString: string): SafeParseResult<Architecture, SDKValidationError>;
687
+ /** @internal */
688
+ export declare const TopProvider$inboundSchema: z.ZodType<TopProvider, z.ZodTypeDef, unknown>;
689
+ /** @internal */
690
+ export type TopProvider$Outbound = {
691
+ context_length?: number | null | undefined;
692
+ max_completion_tokens?: number | null | undefined;
693
+ is_moderated: boolean;
694
+ };
695
+ /** @internal */
696
+ export declare const TopProvider$outboundSchema: z.ZodType<TopProvider$Outbound, z.ZodTypeDef, TopProvider>;
697
+ /**
698
+ * @internal
699
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
700
+ */
701
+ export declare namespace TopProvider$ {
702
+ /** @deprecated use `TopProvider$inboundSchema` instead. */
703
+ const inboundSchema: z.ZodType<TopProvider, z.ZodTypeDef, unknown>;
704
+ /** @deprecated use `TopProvider$outboundSchema` instead. */
705
+ const outboundSchema: z.ZodType<TopProvider$Outbound, z.ZodTypeDef, TopProvider>;
706
+ /** @deprecated use `TopProvider$Outbound` instead. */
707
+ type Outbound = TopProvider$Outbound;
708
+ }
709
+ export declare function topProviderToJSON(topProvider: TopProvider): string;
710
+ export declare function topProviderFromJSON(jsonString: string): SafeParseResult<TopProvider, SDKValidationError>;
711
+ /** @internal */
712
+ export declare const PerRequestLimits$inboundSchema: z.ZodType<PerRequestLimits, z.ZodTypeDef, unknown>;
713
+ /** @internal */
714
+ export type PerRequestLimits$Outbound = {
715
+ prompt_tokens?: any | undefined;
716
+ completion_tokens?: any | undefined;
717
+ };
718
+ /** @internal */
719
+ export declare const PerRequestLimits$outboundSchema: z.ZodType<PerRequestLimits$Outbound, z.ZodTypeDef, PerRequestLimits>;
720
+ /**
721
+ * @internal
722
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
723
+ */
724
+ export declare namespace PerRequestLimits$ {
725
+ /** @deprecated use `PerRequestLimits$inboundSchema` instead. */
726
+ const inboundSchema: z.ZodType<PerRequestLimits, z.ZodTypeDef, unknown>;
727
+ /** @deprecated use `PerRequestLimits$outboundSchema` instead. */
728
+ const outboundSchema: z.ZodType<PerRequestLimits$Outbound, z.ZodTypeDef, PerRequestLimits>;
729
+ /** @deprecated use `PerRequestLimits$Outbound` instead. */
730
+ type Outbound = PerRequestLimits$Outbound;
731
+ }
732
+ export declare function perRequestLimitsToJSON(perRequestLimits: PerRequestLimits): string;
733
+ export declare function perRequestLimitsFromJSON(jsonString: string): SafeParseResult<PerRequestLimits, SDKValidationError>;
734
+ /** @internal */
735
+ export declare const ModelsListSupportedParameter$inboundSchema: z.ZodNativeEnum<typeof ModelsListSupportedParameter>;
736
+ /** @internal */
737
+ export declare const ModelsListSupportedParameter$outboundSchema: z.ZodNativeEnum<typeof ModelsListSupportedParameter>;
738
+ /**
739
+ * @internal
740
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
741
+ */
742
+ export declare namespace ModelsListSupportedParameter$ {
743
+ /** @deprecated use `ModelsListSupportedParameter$inboundSchema` instead. */
744
+ const inboundSchema: z.ZodNativeEnum<{
745
+ readonly Temperature: "temperature";
746
+ readonly TopP: "top_p";
747
+ readonly TopK: "top_k";
748
+ readonly MinP: "min_p";
749
+ readonly TopA: "top_a";
750
+ readonly FrequencyPenalty: "frequency_penalty";
751
+ readonly PresencePenalty: "presence_penalty";
752
+ readonly RepetitionPenalty: "repetition_penalty";
753
+ readonly MaxTokens: "max_tokens";
754
+ readonly LogitBias: "logit_bias";
755
+ readonly Logprobs: "logprobs";
756
+ readonly TopLogprobs: "top_logprobs";
757
+ readonly Seed: "seed";
758
+ readonly ResponseFormat: "response_format";
759
+ readonly StructuredOutputs: "structured_outputs";
760
+ readonly Stop: "stop";
761
+ readonly Tools: "tools";
762
+ readonly ToolChoice: "tool_choice";
763
+ readonly ParallelToolCalls: "parallel_tool_calls";
764
+ readonly IncludeReasoning: "include_reasoning";
765
+ readonly Reasoning: "reasoning";
766
+ readonly WebSearchOptions: "web_search_options";
767
+ readonly Verbosity: "verbosity";
768
+ }>;
769
+ /** @deprecated use `ModelsListSupportedParameter$outboundSchema` instead. */
770
+ const outboundSchema: z.ZodNativeEnum<{
771
+ readonly Temperature: "temperature";
772
+ readonly TopP: "top_p";
773
+ readonly TopK: "top_k";
774
+ readonly MinP: "min_p";
775
+ readonly TopA: "top_a";
776
+ readonly FrequencyPenalty: "frequency_penalty";
777
+ readonly PresencePenalty: "presence_penalty";
778
+ readonly RepetitionPenalty: "repetition_penalty";
779
+ readonly MaxTokens: "max_tokens";
780
+ readonly LogitBias: "logit_bias";
781
+ readonly Logprobs: "logprobs";
782
+ readonly TopLogprobs: "top_logprobs";
783
+ readonly Seed: "seed";
784
+ readonly ResponseFormat: "response_format";
785
+ readonly StructuredOutputs: "structured_outputs";
786
+ readonly Stop: "stop";
787
+ readonly Tools: "tools";
788
+ readonly ToolChoice: "tool_choice";
789
+ readonly ParallelToolCalls: "parallel_tool_calls";
790
+ readonly IncludeReasoning: "include_reasoning";
791
+ readonly Reasoning: "reasoning";
792
+ readonly WebSearchOptions: "web_search_options";
793
+ readonly Verbosity: "verbosity";
794
+ }>;
795
+ }
796
+ /** @internal */
797
+ export declare const DefaultParameters$inboundSchema: z.ZodType<DefaultParameters, z.ZodTypeDef, unknown>;
798
+ /** @internal */
799
+ export type DefaultParameters$Outbound = {
800
+ temperature?: number | null | undefined;
801
+ top_p?: number | null | undefined;
802
+ frequency_penalty?: number | null | undefined;
803
+ };
804
+ /** @internal */
805
+ export declare const DefaultParameters$outboundSchema: z.ZodType<DefaultParameters$Outbound, z.ZodTypeDef, DefaultParameters>;
806
+ /**
807
+ * @internal
808
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
809
+ */
810
+ export declare namespace DefaultParameters$ {
811
+ /** @deprecated use `DefaultParameters$inboundSchema` instead. */
812
+ const inboundSchema: z.ZodType<DefaultParameters, z.ZodTypeDef, unknown>;
813
+ /** @deprecated use `DefaultParameters$outboundSchema` instead. */
814
+ const outboundSchema: z.ZodType<DefaultParameters$Outbound, z.ZodTypeDef, DefaultParameters>;
815
+ /** @deprecated use `DefaultParameters$Outbound` instead. */
816
+ type Outbound = DefaultParameters$Outbound;
817
+ }
818
+ export declare function defaultParametersToJSON(defaultParameters: DefaultParameters): string;
819
+ export declare function defaultParametersFromJSON(jsonString: string): SafeParseResult<DefaultParameters, SDKValidationError>;
820
+ /** @internal */
821
+ export declare const ModelsList$inboundSchema: z.ZodType<ModelsList, z.ZodTypeDef, unknown>;
822
+ /** @internal */
823
+ export type ModelsList$Outbound = {
824
+ id: string;
825
+ canonical_slug: string;
826
+ hugging_face_id?: string | null | undefined;
827
+ name: string;
828
+ created: number;
829
+ description?: string | undefined;
830
+ pricing: ModelsListPricing$Outbound;
831
+ context_length: number | null;
832
+ architecture: Architecture$Outbound;
833
+ top_provider: TopProvider$Outbound;
834
+ per_request_limits: PerRequestLimits$Outbound | null;
835
+ supported_parameters: Array<string>;
836
+ default_parameters: DefaultParameters$Outbound | null;
837
+ };
838
+ /** @internal */
839
+ export declare const ModelsList$outboundSchema: z.ZodType<ModelsList$Outbound, z.ZodTypeDef, ModelsList>;
840
+ /**
841
+ * @internal
842
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
843
+ */
844
+ export declare namespace ModelsList$ {
845
+ /** @deprecated use `ModelsList$inboundSchema` instead. */
846
+ const inboundSchema: z.ZodType<ModelsList, z.ZodTypeDef, unknown>;
847
+ /** @deprecated use `ModelsList$outboundSchema` instead. */
848
+ const outboundSchema: z.ZodType<ModelsList$Outbound, z.ZodTypeDef, ModelsList>;
849
+ /** @deprecated use `ModelsList$Outbound` instead. */
850
+ type Outbound = ModelsList$Outbound;
851
+ }
852
+ export declare function modelsListToJSON(modelsList: ModelsList): string;
853
+ export declare function modelsListFromJSON(jsonString: string): SafeParseResult<ModelsList, SDKValidationError>;
854
+ //# sourceMappingURL=modelslist.d.ts.map