@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.
- package/FUNCTIONS.md +2 -0
- package/REACT_QUERY.md +2 -0
- package/README.md +12 -0
- package/dist/commonjs/funcs/endpointsList.d.ts +1 -1
- package/dist/commonjs/funcs/endpointsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/endpointsList.js +1 -1
- package/dist/commonjs/funcs/endpointsList.js.map +1 -1
- package/dist/commonjs/funcs/modelsList.d.ts +1 -1
- package/dist/commonjs/funcs/modelsList.d.ts.map +1 -1
- package/dist/commonjs/funcs/modelsList.js +1 -1
- package/dist/commonjs/funcs/modelsList.js.map +1 -1
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/models/endpointslist.d.ts +768 -0
- package/dist/commonjs/models/endpointslist.d.ts.map +1 -0
- package/dist/commonjs/models/endpointslist.js +625 -0
- package/dist/commonjs/models/endpointslist.js.map +1 -0
- package/dist/commonjs/models/index.d.ts +3 -0
- package/dist/commonjs/models/index.d.ts.map +1 -1
- package/dist/commonjs/models/index.js +3 -0
- package/dist/commonjs/models/index.js.map +1 -1
- package/dist/commonjs/models/keyinfo.d.ts +155 -0
- package/dist/commonjs/models/keyinfo.d.ts.map +1 -0
- package/dist/commonjs/models/keyinfo.js +163 -0
- package/dist/commonjs/models/keyinfo.js.map +1 -0
- package/dist/commonjs/models/modelslist.d.ts +854 -0
- package/dist/commonjs/models/modelslist.d.ts.map +1 -0
- package/dist/commonjs/models/modelslist.js +768 -0
- package/dist/commonjs/models/modelslist.js.map +1 -0
- package/dist/commonjs/models/openairesponsesrequest.d.ts +52 -52
- package/dist/commonjs/models/openairesponsesrequest.d.ts.map +1 -1
- package/dist/commonjs/models/openairesponsesrequest.js +74 -76
- package/dist/commonjs/models/openairesponsesrequest.js.map +1 -1
- package/dist/commonjs/models/operations/getcurrentkey.d.ts +3 -108
- package/dist/commonjs/models/operations/getcurrentkey.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getcurrentkey.js +4 -88
- package/dist/commonjs/models/operations/getcurrentkey.js.map +1 -1
- package/dist/commonjs/models/operations/list.d.ts +63 -825
- package/dist/commonjs/models/operations/list.d.ts.map +1 -1
- package/dist/commonjs/models/operations/list.js +86 -667
- package/dist/commonjs/models/operations/list.js.map +1 -1
- package/dist/commonjs/models/operations/listmodels.d.ts +16 -865
- package/dist/commonjs/models/operations/listmodels.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listmodels.js +19 -742
- package/dist/commonjs/models/operations/listmodels.js.map +1 -1
- package/dist/commonjs/models/operations/listusermodels.d.ts +3 -852
- package/dist/commonjs/models/operations/listusermodels.d.ts.map +1 -1
- package/dist/commonjs/models/operations/listusermodels.js +4 -730
- package/dist/commonjs/models/operations/listusermodels.js.map +1 -1
- package/dist/commonjs/models/operations/previewzdr.d.ts +97 -97
- package/dist/commonjs/models/operations/previewzdr.d.ts.map +1 -1
- package/dist/commonjs/models/operations/previewzdr.js +134 -133
- package/dist/commonjs/models/operations/previewzdr.js.map +1 -1
- package/dist/commonjs/models/responsereasoningconfig.d.ts +4 -0
- package/dist/commonjs/models/responsereasoningconfig.d.ts.map +1 -1
- package/dist/commonjs/models/responsereasoningconfig.js +13 -0
- package/dist/commonjs/models/responsereasoningconfig.js.map +1 -1
- package/dist/commonjs/models/responsesusage.d.ts +41 -0
- package/dist/commonjs/models/responsesusage.d.ts.map +1 -1
- package/dist/commonjs/models/responsesusage.js +54 -1
- package/dist/commonjs/models/responsesusage.js.map +1 -1
- package/dist/commonjs/react-query/endpointsList.d.ts +4 -4
- package/dist/commonjs/react-query/endpointsList.d.ts.map +1 -1
- package/dist/commonjs/react-query/endpointsList.js.map +1 -1
- package/dist/commonjs/react-query/modelsList.d.ts +4 -4
- package/dist/commonjs/react-query/modelsList.d.ts.map +1 -1
- package/dist/commonjs/react-query/modelsList.js.map +1 -1
- package/dist/commonjs/sdk/endpoints.d.ts +1 -1
- package/dist/commonjs/sdk/endpoints.d.ts.map +1 -1
- package/dist/commonjs/sdk/endpoints.js.map +1 -1
- package/dist/commonjs/sdk/models.d.ts +1 -1
- package/dist/commonjs/sdk/models.d.ts.map +1 -1
- package/dist/commonjs/sdk/models.js.map +1 -1
- package/dist/esm/funcs/endpointsList.d.ts +1 -1
- package/dist/esm/funcs/endpointsList.d.ts.map +1 -1
- package/dist/esm/funcs/endpointsList.js +1 -1
- package/dist/esm/funcs/endpointsList.js.map +1 -1
- package/dist/esm/funcs/modelsList.d.ts +1 -1
- package/dist/esm/funcs/modelsList.d.ts.map +1 -1
- package/dist/esm/funcs/modelsList.js +1 -1
- package/dist/esm/funcs/modelsList.js.map +1 -1
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/models/endpointslist.d.ts +768 -0
- package/dist/esm/models/endpointslist.d.ts.map +1 -0
- package/dist/esm/models/endpointslist.js +562 -0
- package/dist/esm/models/endpointslist.js.map +1 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.d.ts.map +1 -1
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/models/index.js.map +1 -1
- package/dist/esm/models/keyinfo.d.ts +155 -0
- package/dist/esm/models/keyinfo.d.ts.map +1 -0
- package/dist/esm/models/keyinfo.js +123 -0
- package/dist/esm/models/keyinfo.js.map +1 -0
- package/dist/esm/models/modelslist.d.ts +854 -0
- package/dist/esm/models/modelslist.d.ts.map +1 -0
- package/dist/esm/models/modelslist.js +697 -0
- package/dist/esm/models/modelslist.js.map +1 -0
- package/dist/esm/models/openairesponsesrequest.d.ts +52 -52
- package/dist/esm/models/openairesponsesrequest.d.ts.map +1 -1
- package/dist/esm/models/openairesponsesrequest.js +64 -66
- package/dist/esm/models/openairesponsesrequest.js.map +1 -1
- package/dist/esm/models/operations/getcurrentkey.d.ts +3 -108
- package/dist/esm/models/operations/getcurrentkey.d.ts.map +1 -1
- package/dist/esm/models/operations/getcurrentkey.js +3 -83
- package/dist/esm/models/operations/getcurrentkey.js.map +1 -1
- package/dist/esm/models/operations/list.d.ts +63 -825
- package/dist/esm/models/operations/list.d.ts.map +1 -1
- package/dist/esm/models/operations/list.js +81 -635
- package/dist/esm/models/operations/list.js.map +1 -1
- package/dist/esm/models/operations/listmodels.d.ts +16 -865
- package/dist/esm/models/operations/listmodels.d.ts.map +1 -1
- package/dist/esm/models/operations/listmodels.js +16 -704
- package/dist/esm/models/operations/listmodels.js.map +1 -1
- package/dist/esm/models/operations/listusermodels.d.ts +3 -852
- package/dist/esm/models/operations/listusermodels.d.ts.map +1 -1
- package/dist/esm/models/operations/listusermodels.js +3 -694
- package/dist/esm/models/operations/listusermodels.js.map +1 -1
- package/dist/esm/models/operations/previewzdr.d.ts +97 -97
- package/dist/esm/models/operations/previewzdr.d.ts.map +1 -1
- package/dist/esm/models/operations/previewzdr.js +118 -117
- package/dist/esm/models/operations/previewzdr.js.map +1 -1
- package/dist/esm/models/responsereasoningconfig.d.ts +4 -0
- package/dist/esm/models/responsereasoningconfig.d.ts.map +1 -1
- package/dist/esm/models/responsereasoningconfig.js +13 -0
- package/dist/esm/models/responsereasoningconfig.js.map +1 -1
- package/dist/esm/models/responsesusage.d.ts +41 -0
- package/dist/esm/models/responsesusage.d.ts.map +1 -1
- package/dist/esm/models/responsesusage.js +51 -0
- package/dist/esm/models/responsesusage.js.map +1 -1
- package/dist/esm/react-query/endpointsList.d.ts +4 -4
- package/dist/esm/react-query/endpointsList.d.ts.map +1 -1
- package/dist/esm/react-query/endpointsList.js.map +1 -1
- package/dist/esm/react-query/modelsList.d.ts +4 -4
- package/dist/esm/react-query/modelsList.d.ts.map +1 -1
- package/dist/esm/react-query/modelsList.js.map +1 -1
- package/dist/esm/sdk/endpoints.d.ts +1 -1
- package/dist/esm/sdk/endpoints.d.ts.map +1 -1
- package/dist/esm/sdk/endpoints.js.map +1 -1
- package/dist/esm/sdk/models.d.ts +1 -1
- package/dist/esm/sdk/models.d.ts.map +1 -1
- package/dist/esm/sdk/models.js.map +1 -1
- package/docs/sdks/endpoints/README.md +1 -1
- package/docs/sdks/models/README.md +1 -1
- package/docs/sdks/responses/README.md +4 -0
- package/examples/betaResponsesSendRequest.example.ts +2 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/endpointsList.ts +3 -3
- package/src/funcs/modelsList.ts +3 -5
- package/src/lib/config.ts +2 -2
- package/src/models/endpointslist.ts +1034 -0
- package/src/models/index.ts +3 -0
- package/src/models/keyinfo.ts +281 -0
- package/src/models/modelslist.ts +1394 -0
- package/src/models/openairesponsesrequest.ts +133 -94
- package/src/models/operations/getcurrentkey.ts +5 -203
- package/src/models/operations/list.ts +109 -1106
- package/src/models/operations/listmodels.ts +26 -1436
- package/src/models/operations/listusermodels.ts +5 -1440
- package/src/models/operations/previewzdr.ts +196 -225
- package/src/models/responsereasoningconfig.ts +17 -0
- package/src/models/responsesusage.ts +96 -0
- package/src/react-query/endpointsList.ts +4 -4
- package/src/react-query/modelsList.ts +4 -4
- package/src/sdk/endpoints.ts +1 -1
- package/src/sdk/models.ts +1 -1
|
@@ -2,14 +2,15 @@ import * as z from "zod";
|
|
|
2
2
|
import { ClosedEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
-
|
|
5
|
+
import * as models from "../index.js";
|
|
6
|
+
export type ListRequest = {
|
|
6
7
|
author: string;
|
|
7
8
|
slug: string;
|
|
8
9
|
};
|
|
9
10
|
/**
|
|
10
11
|
* Tokenizer type used by the model
|
|
11
12
|
*/
|
|
12
|
-
export declare const
|
|
13
|
+
export declare const Tokenizer: {
|
|
13
14
|
readonly Router: "Router";
|
|
14
15
|
readonly Media: "Media";
|
|
15
16
|
readonly Other: "Other";
|
|
@@ -33,11 +34,11 @@ export declare const ListTokenizer: {
|
|
|
33
34
|
/**
|
|
34
35
|
* Tokenizer type used by the model
|
|
35
36
|
*/
|
|
36
|
-
export type
|
|
37
|
+
export type Tokenizer = ClosedEnum<typeof Tokenizer>;
|
|
37
38
|
/**
|
|
38
39
|
* Instruction format type
|
|
39
40
|
*/
|
|
40
|
-
export declare const
|
|
41
|
+
export declare const InstructType: {
|
|
41
42
|
readonly None: "none";
|
|
42
43
|
readonly Airoboros: "airoboros";
|
|
43
44
|
readonly Alpaca: "alpaca";
|
|
@@ -64,32 +65,32 @@ export declare const ListInstructType: {
|
|
|
64
65
|
/**
|
|
65
66
|
* Instruction format type
|
|
66
67
|
*/
|
|
67
|
-
export type
|
|
68
|
-
export declare const
|
|
68
|
+
export type InstructType = ClosedEnum<typeof InstructType>;
|
|
69
|
+
export declare const InputModality: {
|
|
69
70
|
readonly Text: "text";
|
|
70
71
|
readonly Image: "image";
|
|
71
72
|
readonly File: "file";
|
|
72
73
|
readonly Audio: "audio";
|
|
73
74
|
};
|
|
74
|
-
export type
|
|
75
|
-
export declare const
|
|
75
|
+
export type InputModality = ClosedEnum<typeof InputModality>;
|
|
76
|
+
export declare const OutputModality: {
|
|
76
77
|
readonly Text: "text";
|
|
77
78
|
readonly Image: "image";
|
|
78
79
|
readonly Embeddings: "embeddings";
|
|
79
80
|
};
|
|
80
|
-
export type
|
|
81
|
+
export type OutputModality = ClosedEnum<typeof OutputModality>;
|
|
81
82
|
/**
|
|
82
83
|
* Model architecture information
|
|
83
84
|
*/
|
|
84
|
-
export type
|
|
85
|
+
export type Architecture = {
|
|
85
86
|
/**
|
|
86
87
|
* Tokenizer type used by the model
|
|
87
88
|
*/
|
|
88
|
-
tokenizer:
|
|
89
|
+
tokenizer: Tokenizer | null;
|
|
89
90
|
/**
|
|
90
91
|
* Instruction format type
|
|
91
92
|
*/
|
|
92
|
-
instructType:
|
|
93
|
+
instructType: InstructType | null;
|
|
93
94
|
/**
|
|
94
95
|
* Primary modality of the model
|
|
95
96
|
*/
|
|
@@ -97,183 +98,11 @@ export type ListArchitecture = {
|
|
|
97
98
|
/**
|
|
98
99
|
* Supported input modalities
|
|
99
100
|
*/
|
|
100
|
-
inputModalities: Array<
|
|
101
|
+
inputModalities: Array<InputModality>;
|
|
101
102
|
/**
|
|
102
103
|
* Supported output modalities
|
|
103
104
|
*/
|
|
104
|
-
outputModalities: Array<
|
|
105
|
-
};
|
|
106
|
-
export type ListPrompt = number | string | any;
|
|
107
|
-
export type ListCompletion = number | string | any;
|
|
108
|
-
export type EndpointsListRequest = number | string | any;
|
|
109
|
-
export type ListImage = number | string | any;
|
|
110
|
-
export type ListImageOutput = number | string | any;
|
|
111
|
-
export type ListAudio = number | string | any;
|
|
112
|
-
export type ListInputAudioCache = number | string | any;
|
|
113
|
-
export type ListWebSearch = number | string | any;
|
|
114
|
-
export type ListInternalReasoning = number | string | any;
|
|
115
|
-
export type ListInputCacheRead = number | string | any;
|
|
116
|
-
export type ListInputCacheWrite = number | string | any;
|
|
117
|
-
export type ListPricing = {
|
|
118
|
-
prompt?: number | string | any | undefined;
|
|
119
|
-
completion?: number | string | any | undefined;
|
|
120
|
-
request?: number | string | any | undefined;
|
|
121
|
-
image?: number | string | any | undefined;
|
|
122
|
-
imageOutput?: number | string | any | undefined;
|
|
123
|
-
audio?: number | string | any | undefined;
|
|
124
|
-
inputAudioCache?: number | string | any | undefined;
|
|
125
|
-
webSearch?: number | string | any | undefined;
|
|
126
|
-
internalReasoning?: number | string | any | undefined;
|
|
127
|
-
inputCacheRead?: number | string | any | undefined;
|
|
128
|
-
inputCacheWrite?: number | string | any | undefined;
|
|
129
|
-
discount?: number | undefined;
|
|
130
|
-
};
|
|
131
|
-
export declare const ListProviderName: {
|
|
132
|
-
readonly AnyScale: "AnyScale";
|
|
133
|
-
readonly CentML: "Cent-ML";
|
|
134
|
-
readonly HuggingFace: "HuggingFace";
|
|
135
|
-
readonly Hyperbolic2: "Hyperbolic 2";
|
|
136
|
-
readonly Lepton: "Lepton";
|
|
137
|
-
readonly Lynn2: "Lynn 2";
|
|
138
|
-
readonly Lynn: "Lynn";
|
|
139
|
-
readonly Mancer: "Mancer";
|
|
140
|
-
readonly Modal: "Modal";
|
|
141
|
-
readonly OctoAI: "OctoAI";
|
|
142
|
-
readonly Recursal: "Recursal";
|
|
143
|
-
readonly Reflection: "Reflection";
|
|
144
|
-
readonly Replicate: "Replicate";
|
|
145
|
-
readonly SambaNova2: "SambaNova 2";
|
|
146
|
-
readonly SFCompute: "SF Compute";
|
|
147
|
-
readonly Together2: "Together 2";
|
|
148
|
-
readonly OneDotAI: "01.AI";
|
|
149
|
-
readonly Ai21: "AI21";
|
|
150
|
-
readonly AionLabs: "AionLabs";
|
|
151
|
-
readonly Alibaba: "Alibaba";
|
|
152
|
-
readonly AmazonBedrock: "Amazon Bedrock";
|
|
153
|
-
readonly Anthropic: "Anthropic";
|
|
154
|
-
readonly AtlasCloud: "AtlasCloud";
|
|
155
|
-
readonly Atoma: "Atoma";
|
|
156
|
-
readonly Avian: "Avian";
|
|
157
|
-
readonly Azure: "Azure";
|
|
158
|
-
readonly BaseTen: "BaseTen";
|
|
159
|
-
readonly Cerebras: "Cerebras";
|
|
160
|
-
readonly Chutes: "Chutes";
|
|
161
|
-
readonly Cloudflare: "Cloudflare";
|
|
162
|
-
readonly Cohere: "Cohere";
|
|
163
|
-
readonly CrofAI: "CrofAI";
|
|
164
|
-
readonly Crusoe: "Crusoe";
|
|
165
|
-
readonly DeepInfra: "DeepInfra";
|
|
166
|
-
readonly DeepSeek: "DeepSeek";
|
|
167
|
-
readonly Enfer: "Enfer";
|
|
168
|
-
readonly Featherless: "Featherless";
|
|
169
|
-
readonly Fireworks: "Fireworks";
|
|
170
|
-
readonly Friendli: "Friendli";
|
|
171
|
-
readonly GMICloud: "GMICloud";
|
|
172
|
-
readonly Google: "Google";
|
|
173
|
-
readonly GoogleAIStudio: "Google AI Studio";
|
|
174
|
-
readonly Groq: "Groq";
|
|
175
|
-
readonly Hyperbolic: "Hyperbolic";
|
|
176
|
-
readonly Inception: "Inception";
|
|
177
|
-
readonly InferenceNet: "InferenceNet";
|
|
178
|
-
readonly Infermatic: "Infermatic";
|
|
179
|
-
readonly Inflection: "Inflection";
|
|
180
|
-
readonly InoCloud: "InoCloud";
|
|
181
|
-
readonly Kluster: "Kluster";
|
|
182
|
-
readonly Lambda: "Lambda";
|
|
183
|
-
readonly Liquid: "Liquid";
|
|
184
|
-
readonly Mancer2: "Mancer 2";
|
|
185
|
-
readonly Meta: "Meta";
|
|
186
|
-
readonly Minimax: "Minimax";
|
|
187
|
-
readonly Mistral: "Mistral";
|
|
188
|
-
readonly MoonshotAI: "Moonshot AI";
|
|
189
|
-
readonly Morph: "Morph";
|
|
190
|
-
readonly NCompass: "NCompass";
|
|
191
|
-
readonly Nebius: "Nebius";
|
|
192
|
-
readonly NextBit: "NextBit";
|
|
193
|
-
readonly Nineteen: "Nineteen";
|
|
194
|
-
readonly Novita: "Novita";
|
|
195
|
-
readonly Nvidia: "Nvidia";
|
|
196
|
-
readonly OpenAI: "OpenAI";
|
|
197
|
-
readonly OpenInference: "OpenInference";
|
|
198
|
-
readonly Parasail: "Parasail";
|
|
199
|
-
readonly Perplexity: "Perplexity";
|
|
200
|
-
readonly Phala: "Phala";
|
|
201
|
-
readonly Relace: "Relace";
|
|
202
|
-
readonly SambaNova: "SambaNova";
|
|
203
|
-
readonly SiliconFlow: "SiliconFlow";
|
|
204
|
-
readonly Stealth: "Stealth";
|
|
205
|
-
readonly Switchpoint: "Switchpoint";
|
|
206
|
-
readonly Targon: "Targon";
|
|
207
|
-
readonly Together: "Together";
|
|
208
|
-
readonly Ubicloud: "Ubicloud";
|
|
209
|
-
readonly Venice: "Venice";
|
|
210
|
-
readonly WandB: "WandB";
|
|
211
|
-
readonly XAI: "xAI";
|
|
212
|
-
readonly ZAi: "Z.AI";
|
|
213
|
-
readonly FakeProvider: "FakeProvider";
|
|
214
|
-
};
|
|
215
|
-
export type ListProviderName = ClosedEnum<typeof ListProviderName>;
|
|
216
|
-
export declare const ListQuantization: {
|
|
217
|
-
readonly Int4: "int4";
|
|
218
|
-
readonly Int8: "int8";
|
|
219
|
-
readonly Fp4: "fp4";
|
|
220
|
-
readonly Fp6: "fp6";
|
|
221
|
-
readonly Fp8: "fp8";
|
|
222
|
-
readonly Fp16: "fp16";
|
|
223
|
-
readonly Bf16: "bf16";
|
|
224
|
-
readonly Fp32: "fp32";
|
|
225
|
-
readonly Unknown: "unknown";
|
|
226
|
-
};
|
|
227
|
-
export type ListQuantization = ClosedEnum<typeof ListQuantization>;
|
|
228
|
-
export declare const ListSupportedParameter: {
|
|
229
|
-
readonly Temperature: "temperature";
|
|
230
|
-
readonly TopP: "top_p";
|
|
231
|
-
readonly TopK: "top_k";
|
|
232
|
-
readonly MinP: "min_p";
|
|
233
|
-
readonly TopA: "top_a";
|
|
234
|
-
readonly FrequencyPenalty: "frequency_penalty";
|
|
235
|
-
readonly PresencePenalty: "presence_penalty";
|
|
236
|
-
readonly RepetitionPenalty: "repetition_penalty";
|
|
237
|
-
readonly MaxTokens: "max_tokens";
|
|
238
|
-
readonly LogitBias: "logit_bias";
|
|
239
|
-
readonly Logprobs: "logprobs";
|
|
240
|
-
readonly TopLogprobs: "top_logprobs";
|
|
241
|
-
readonly Seed: "seed";
|
|
242
|
-
readonly ResponseFormat: "response_format";
|
|
243
|
-
readonly StructuredOutputs: "structured_outputs";
|
|
244
|
-
readonly Stop: "stop";
|
|
245
|
-
readonly Tools: "tools";
|
|
246
|
-
readonly ToolChoice: "tool_choice";
|
|
247
|
-
readonly ParallelToolCalls: "parallel_tool_calls";
|
|
248
|
-
readonly IncludeReasoning: "include_reasoning";
|
|
249
|
-
readonly Reasoning: "reasoning";
|
|
250
|
-
readonly WebSearchOptions: "web_search_options";
|
|
251
|
-
readonly Verbosity: "verbosity";
|
|
252
|
-
};
|
|
253
|
-
export type ListSupportedParameter = ClosedEnum<typeof ListSupportedParameter>;
|
|
254
|
-
export declare const ListStatus: {
|
|
255
|
-
readonly Zero: 0;
|
|
256
|
-
readonly Minus1: -1;
|
|
257
|
-
readonly Minus2: -2;
|
|
258
|
-
readonly Minus3: -3;
|
|
259
|
-
readonly Minus5: -5;
|
|
260
|
-
readonly Minus10: -10;
|
|
261
|
-
};
|
|
262
|
-
export type ListStatus = ClosedEnum<typeof ListStatus>;
|
|
263
|
-
export type Endpoint = {
|
|
264
|
-
name: string;
|
|
265
|
-
modelName: string;
|
|
266
|
-
contextLength: number;
|
|
267
|
-
pricing: ListPricing;
|
|
268
|
-
providerName: ListProviderName;
|
|
269
|
-
tag: string;
|
|
270
|
-
quantization: ListQuantization | null;
|
|
271
|
-
maxCompletionTokens: number | null;
|
|
272
|
-
maxPromptTokens: number | null;
|
|
273
|
-
supportedParameters: Array<ListSupportedParameter>;
|
|
274
|
-
status?: ListStatus | undefined;
|
|
275
|
-
uptimeLast30m: number | null;
|
|
276
|
-
supportsImplicitCaching: boolean;
|
|
105
|
+
outputModalities: Array<OutputModality>;
|
|
277
106
|
};
|
|
278
107
|
export type ListData = {
|
|
279
108
|
/**
|
|
@@ -295,11 +124,11 @@ export type ListData = {
|
|
|
295
124
|
/**
|
|
296
125
|
* Model architecture information
|
|
297
126
|
*/
|
|
298
|
-
architecture:
|
|
127
|
+
architecture: Architecture;
|
|
299
128
|
/**
|
|
300
129
|
* List of available endpoints for this model
|
|
301
130
|
*/
|
|
302
|
-
endpoints: Array<
|
|
131
|
+
endpoints: Array<models.EndpointsList>;
|
|
303
132
|
};
|
|
304
133
|
/**
|
|
305
134
|
* Returns a list of endpoints
|
|
@@ -308,38 +137,38 @@ export type ListResponse = {
|
|
|
308
137
|
data: ListData;
|
|
309
138
|
};
|
|
310
139
|
/** @internal */
|
|
311
|
-
export declare const
|
|
140
|
+
export declare const ListRequest$inboundSchema: z.ZodType<ListRequest, z.ZodTypeDef, unknown>;
|
|
312
141
|
/** @internal */
|
|
313
|
-
export type
|
|
142
|
+
export type ListRequest$Outbound = {
|
|
314
143
|
author: string;
|
|
315
144
|
slug: string;
|
|
316
145
|
};
|
|
317
146
|
/** @internal */
|
|
318
|
-
export declare const
|
|
147
|
+
export declare const ListRequest$outboundSchema: z.ZodType<ListRequest$Outbound, z.ZodTypeDef, ListRequest>;
|
|
319
148
|
/**
|
|
320
149
|
* @internal
|
|
321
150
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
322
151
|
*/
|
|
323
|
-
export declare namespace
|
|
324
|
-
/** @deprecated use `
|
|
325
|
-
const inboundSchema: z.ZodType<
|
|
326
|
-
/** @deprecated use `
|
|
327
|
-
const outboundSchema: z.ZodType<
|
|
328
|
-
/** @deprecated use `
|
|
329
|
-
type Outbound =
|
|
152
|
+
export declare namespace ListRequest$ {
|
|
153
|
+
/** @deprecated use `ListRequest$inboundSchema` instead. */
|
|
154
|
+
const inboundSchema: z.ZodType<ListRequest, z.ZodTypeDef, unknown>;
|
|
155
|
+
/** @deprecated use `ListRequest$outboundSchema` instead. */
|
|
156
|
+
const outboundSchema: z.ZodType<ListRequest$Outbound, z.ZodTypeDef, ListRequest>;
|
|
157
|
+
/** @deprecated use `ListRequest$Outbound` instead. */
|
|
158
|
+
type Outbound = ListRequest$Outbound;
|
|
330
159
|
}
|
|
331
|
-
export declare function
|
|
332
|
-
export declare function
|
|
160
|
+
export declare function listRequestToJSON(listRequest: ListRequest): string;
|
|
161
|
+
export declare function listRequestFromJSON(jsonString: string): SafeParseResult<ListRequest, SDKValidationError>;
|
|
333
162
|
/** @internal */
|
|
334
|
-
export declare const
|
|
163
|
+
export declare const Tokenizer$inboundSchema: z.ZodNativeEnum<typeof Tokenizer>;
|
|
335
164
|
/** @internal */
|
|
336
|
-
export declare const
|
|
165
|
+
export declare const Tokenizer$outboundSchema: z.ZodNativeEnum<typeof Tokenizer>;
|
|
337
166
|
/**
|
|
338
167
|
* @internal
|
|
339
168
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
340
169
|
*/
|
|
341
|
-
export declare namespace
|
|
342
|
-
/** @deprecated use `
|
|
170
|
+
export declare namespace Tokenizer$ {
|
|
171
|
+
/** @deprecated use `Tokenizer$inboundSchema` instead. */
|
|
343
172
|
const inboundSchema: z.ZodNativeEnum<{
|
|
344
173
|
readonly Router: "Router";
|
|
345
174
|
readonly Media: "Media";
|
|
@@ -361,7 +190,7 @@ export declare namespace ListTokenizer$ {
|
|
|
361
190
|
readonly Rwkv: "RWKV";
|
|
362
191
|
readonly Qwen3: "Qwen3";
|
|
363
192
|
}>;
|
|
364
|
-
/** @deprecated use `
|
|
193
|
+
/** @deprecated use `Tokenizer$outboundSchema` instead. */
|
|
365
194
|
const outboundSchema: z.ZodNativeEnum<{
|
|
366
195
|
readonly Router: "Router";
|
|
367
196
|
readonly Media: "Media";
|
|
@@ -385,15 +214,15 @@ export declare namespace ListTokenizer$ {
|
|
|
385
214
|
}>;
|
|
386
215
|
}
|
|
387
216
|
/** @internal */
|
|
388
|
-
export declare const
|
|
217
|
+
export declare const InstructType$inboundSchema: z.ZodNativeEnum<typeof InstructType>;
|
|
389
218
|
/** @internal */
|
|
390
|
-
export declare const
|
|
219
|
+
export declare const InstructType$outboundSchema: z.ZodNativeEnum<typeof InstructType>;
|
|
391
220
|
/**
|
|
392
221
|
* @internal
|
|
393
222
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
394
223
|
*/
|
|
395
|
-
export declare namespace
|
|
396
|
-
/** @deprecated use `
|
|
224
|
+
export declare namespace InstructType$ {
|
|
225
|
+
/** @deprecated use `InstructType$inboundSchema` instead. */
|
|
397
226
|
const inboundSchema: z.ZodNativeEnum<{
|
|
398
227
|
readonly None: "none";
|
|
399
228
|
readonly Airoboros: "airoboros";
|
|
@@ -418,7 +247,7 @@ export declare namespace ListInstructType$ {
|
|
|
418
247
|
readonly Qwq: "qwq";
|
|
419
248
|
readonly Qwen3: "qwen3";
|
|
420
249
|
}>;
|
|
421
|
-
/** @deprecated use `
|
|
250
|
+
/** @deprecated use `InstructType$outboundSchema` instead. */
|
|
422
251
|
const outboundSchema: z.ZodNativeEnum<{
|
|
423
252
|
readonly None: "none";
|
|
424
253
|
readonly Airoboros: "airoboros";
|
|
@@ -445,22 +274,22 @@ export declare namespace ListInstructType$ {
|
|
|
445
274
|
}>;
|
|
446
275
|
}
|
|
447
276
|
/** @internal */
|
|
448
|
-
export declare const
|
|
277
|
+
export declare const InputModality$inboundSchema: z.ZodNativeEnum<typeof InputModality>;
|
|
449
278
|
/** @internal */
|
|
450
|
-
export declare const
|
|
279
|
+
export declare const InputModality$outboundSchema: z.ZodNativeEnum<typeof InputModality>;
|
|
451
280
|
/**
|
|
452
281
|
* @internal
|
|
453
282
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
454
283
|
*/
|
|
455
|
-
export declare namespace
|
|
456
|
-
/** @deprecated use `
|
|
284
|
+
export declare namespace InputModality$ {
|
|
285
|
+
/** @deprecated use `InputModality$inboundSchema` instead. */
|
|
457
286
|
const inboundSchema: z.ZodNativeEnum<{
|
|
458
287
|
readonly Text: "text";
|
|
459
288
|
readonly Image: "image";
|
|
460
289
|
readonly File: "file";
|
|
461
290
|
readonly Audio: "audio";
|
|
462
291
|
}>;
|
|
463
|
-
/** @deprecated use `
|
|
292
|
+
/** @deprecated use `InputModality$outboundSchema` instead. */
|
|
464
293
|
const outboundSchema: z.ZodNativeEnum<{
|
|
465
294
|
readonly Text: "text";
|
|
466
295
|
readonly Image: "image";
|
|
@@ -469,21 +298,21 @@ export declare namespace ListInputModality$ {
|
|
|
469
298
|
}>;
|
|
470
299
|
}
|
|
471
300
|
/** @internal */
|
|
472
|
-
export declare const
|
|
301
|
+
export declare const OutputModality$inboundSchema: z.ZodNativeEnum<typeof OutputModality>;
|
|
473
302
|
/** @internal */
|
|
474
|
-
export declare const
|
|
303
|
+
export declare const OutputModality$outboundSchema: z.ZodNativeEnum<typeof OutputModality>;
|
|
475
304
|
/**
|
|
476
305
|
* @internal
|
|
477
306
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
478
307
|
*/
|
|
479
|
-
export declare namespace
|
|
480
|
-
/** @deprecated use `
|
|
308
|
+
export declare namespace OutputModality$ {
|
|
309
|
+
/** @deprecated use `OutputModality$inboundSchema` instead. */
|
|
481
310
|
const inboundSchema: z.ZodNativeEnum<{
|
|
482
311
|
readonly Text: "text";
|
|
483
312
|
readonly Image: "image";
|
|
484
313
|
readonly Embeddings: "embeddings";
|
|
485
314
|
}>;
|
|
486
|
-
/** @deprecated use `
|
|
315
|
+
/** @deprecated use `OutputModality$outboundSchema` instead. */
|
|
487
316
|
const outboundSchema: z.ZodNativeEnum<{
|
|
488
317
|
readonly Text: "text";
|
|
489
318
|
readonly Image: "image";
|
|
@@ -491,9 +320,9 @@ export declare namespace ListOutputModality$ {
|
|
|
491
320
|
}>;
|
|
492
321
|
}
|
|
493
322
|
/** @internal */
|
|
494
|
-
export declare const
|
|
323
|
+
export declare const Architecture$inboundSchema: z.ZodType<Architecture, z.ZodTypeDef, unknown>;
|
|
495
324
|
/** @internal */
|
|
496
|
-
export type
|
|
325
|
+
export type Architecture$Outbound = {
|
|
497
326
|
tokenizer: string | null;
|
|
498
327
|
instruct_type: string | null;
|
|
499
328
|
modality: string | null;
|
|
@@ -501,612 +330,21 @@ export type ListArchitecture$Outbound = {
|
|
|
501
330
|
output_modalities: Array<string>;
|
|
502
331
|
};
|
|
503
332
|
/** @internal */
|
|
504
|
-
export declare const
|
|
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 ListArchitecture$ {
|
|
510
|
-
/** @deprecated use `ListArchitecture$inboundSchema` instead. */
|
|
511
|
-
const inboundSchema: z.ZodType<ListArchitecture, z.ZodTypeDef, unknown>;
|
|
512
|
-
/** @deprecated use `ListArchitecture$outboundSchema` instead. */
|
|
513
|
-
const outboundSchema: z.ZodType<ListArchitecture$Outbound, z.ZodTypeDef, ListArchitecture>;
|
|
514
|
-
/** @deprecated use `ListArchitecture$Outbound` instead. */
|
|
515
|
-
type Outbound = ListArchitecture$Outbound;
|
|
516
|
-
}
|
|
517
|
-
export declare function listArchitectureToJSON(listArchitecture: ListArchitecture): string;
|
|
518
|
-
export declare function listArchitectureFromJSON(jsonString: string): SafeParseResult<ListArchitecture, SDKValidationError>;
|
|
519
|
-
/** @internal */
|
|
520
|
-
export declare const ListPrompt$inboundSchema: z.ZodType<ListPrompt, z.ZodTypeDef, unknown>;
|
|
521
|
-
/** @internal */
|
|
522
|
-
export type ListPrompt$Outbound = number | string | any;
|
|
523
|
-
/** @internal */
|
|
524
|
-
export declare const ListPrompt$outboundSchema: z.ZodType<ListPrompt$Outbound, z.ZodTypeDef, ListPrompt>;
|
|
525
|
-
/**
|
|
526
|
-
* @internal
|
|
527
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
528
|
-
*/
|
|
529
|
-
export declare namespace ListPrompt$ {
|
|
530
|
-
/** @deprecated use `ListPrompt$inboundSchema` instead. */
|
|
531
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
532
|
-
/** @deprecated use `ListPrompt$outboundSchema` instead. */
|
|
533
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
534
|
-
/** @deprecated use `ListPrompt$Outbound` instead. */
|
|
535
|
-
type Outbound = ListPrompt$Outbound;
|
|
536
|
-
}
|
|
537
|
-
export declare function listPromptToJSON(listPrompt: ListPrompt): string;
|
|
538
|
-
export declare function listPromptFromJSON(jsonString: string): SafeParseResult<ListPrompt, SDKValidationError>;
|
|
539
|
-
/** @internal */
|
|
540
|
-
export declare const ListCompletion$inboundSchema: z.ZodType<ListCompletion, z.ZodTypeDef, unknown>;
|
|
541
|
-
/** @internal */
|
|
542
|
-
export type ListCompletion$Outbound = number | string | any;
|
|
543
|
-
/** @internal */
|
|
544
|
-
export declare const ListCompletion$outboundSchema: z.ZodType<ListCompletion$Outbound, z.ZodTypeDef, ListCompletion>;
|
|
545
|
-
/**
|
|
546
|
-
* @internal
|
|
547
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
548
|
-
*/
|
|
549
|
-
export declare namespace ListCompletion$ {
|
|
550
|
-
/** @deprecated use `ListCompletion$inboundSchema` instead. */
|
|
551
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
552
|
-
/** @deprecated use `ListCompletion$outboundSchema` instead. */
|
|
553
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
554
|
-
/** @deprecated use `ListCompletion$Outbound` instead. */
|
|
555
|
-
type Outbound = ListCompletion$Outbound;
|
|
556
|
-
}
|
|
557
|
-
export declare function listCompletionToJSON(listCompletion: ListCompletion): string;
|
|
558
|
-
export declare function listCompletionFromJSON(jsonString: string): SafeParseResult<ListCompletion, SDKValidationError>;
|
|
559
|
-
/** @internal */
|
|
560
|
-
export declare const EndpointsListRequest$inboundSchema: z.ZodType<EndpointsListRequest, z.ZodTypeDef, unknown>;
|
|
561
|
-
/** @internal */
|
|
562
|
-
export type EndpointsListRequest$Outbound = number | string | any;
|
|
563
|
-
/** @internal */
|
|
564
|
-
export declare const EndpointsListRequest$outboundSchema: z.ZodType<EndpointsListRequest$Outbound, z.ZodTypeDef, EndpointsListRequest>;
|
|
565
|
-
/**
|
|
566
|
-
* @internal
|
|
567
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
568
|
-
*/
|
|
569
|
-
export declare namespace EndpointsListRequest$ {
|
|
570
|
-
/** @deprecated use `EndpointsListRequest$inboundSchema` instead. */
|
|
571
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
572
|
-
/** @deprecated use `EndpointsListRequest$outboundSchema` instead. */
|
|
573
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
574
|
-
/** @deprecated use `EndpointsListRequest$Outbound` instead. */
|
|
575
|
-
type Outbound = EndpointsListRequest$Outbound;
|
|
576
|
-
}
|
|
577
|
-
export declare function endpointsListRequestToJSON(endpointsListRequest: EndpointsListRequest): string;
|
|
578
|
-
export declare function endpointsListRequestFromJSON(jsonString: string): SafeParseResult<EndpointsListRequest, SDKValidationError>;
|
|
579
|
-
/** @internal */
|
|
580
|
-
export declare const ListImage$inboundSchema: z.ZodType<ListImage, z.ZodTypeDef, unknown>;
|
|
581
|
-
/** @internal */
|
|
582
|
-
export type ListImage$Outbound = number | string | any;
|
|
583
|
-
/** @internal */
|
|
584
|
-
export declare const ListImage$outboundSchema: z.ZodType<ListImage$Outbound, z.ZodTypeDef, ListImage>;
|
|
585
|
-
/**
|
|
586
|
-
* @internal
|
|
587
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
588
|
-
*/
|
|
589
|
-
export declare namespace ListImage$ {
|
|
590
|
-
/** @deprecated use `ListImage$inboundSchema` instead. */
|
|
591
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
592
|
-
/** @deprecated use `ListImage$outboundSchema` instead. */
|
|
593
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
594
|
-
/** @deprecated use `ListImage$Outbound` instead. */
|
|
595
|
-
type Outbound = ListImage$Outbound;
|
|
596
|
-
}
|
|
597
|
-
export declare function listImageToJSON(listImage: ListImage): string;
|
|
598
|
-
export declare function listImageFromJSON(jsonString: string): SafeParseResult<ListImage, SDKValidationError>;
|
|
599
|
-
/** @internal */
|
|
600
|
-
export declare const ListImageOutput$inboundSchema: z.ZodType<ListImageOutput, z.ZodTypeDef, unknown>;
|
|
601
|
-
/** @internal */
|
|
602
|
-
export type ListImageOutput$Outbound = number | string | any;
|
|
603
|
-
/** @internal */
|
|
604
|
-
export declare const ListImageOutput$outboundSchema: z.ZodType<ListImageOutput$Outbound, z.ZodTypeDef, ListImageOutput>;
|
|
605
|
-
/**
|
|
606
|
-
* @internal
|
|
607
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
608
|
-
*/
|
|
609
|
-
export declare namespace ListImageOutput$ {
|
|
610
|
-
/** @deprecated use `ListImageOutput$inboundSchema` instead. */
|
|
611
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
612
|
-
/** @deprecated use `ListImageOutput$outboundSchema` instead. */
|
|
613
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
614
|
-
/** @deprecated use `ListImageOutput$Outbound` instead. */
|
|
615
|
-
type Outbound = ListImageOutput$Outbound;
|
|
616
|
-
}
|
|
617
|
-
export declare function listImageOutputToJSON(listImageOutput: ListImageOutput): string;
|
|
618
|
-
export declare function listImageOutputFromJSON(jsonString: string): SafeParseResult<ListImageOutput, SDKValidationError>;
|
|
619
|
-
/** @internal */
|
|
620
|
-
export declare const ListAudio$inboundSchema: z.ZodType<ListAudio, z.ZodTypeDef, unknown>;
|
|
621
|
-
/** @internal */
|
|
622
|
-
export type ListAudio$Outbound = number | string | any;
|
|
623
|
-
/** @internal */
|
|
624
|
-
export declare const ListAudio$outboundSchema: z.ZodType<ListAudio$Outbound, z.ZodTypeDef, ListAudio>;
|
|
625
|
-
/**
|
|
626
|
-
* @internal
|
|
627
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
628
|
-
*/
|
|
629
|
-
export declare namespace ListAudio$ {
|
|
630
|
-
/** @deprecated use `ListAudio$inboundSchema` instead. */
|
|
631
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
632
|
-
/** @deprecated use `ListAudio$outboundSchema` instead. */
|
|
633
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
634
|
-
/** @deprecated use `ListAudio$Outbound` instead. */
|
|
635
|
-
type Outbound = ListAudio$Outbound;
|
|
636
|
-
}
|
|
637
|
-
export declare function listAudioToJSON(listAudio: ListAudio): string;
|
|
638
|
-
export declare function listAudioFromJSON(jsonString: string): SafeParseResult<ListAudio, SDKValidationError>;
|
|
639
|
-
/** @internal */
|
|
640
|
-
export declare const ListInputAudioCache$inboundSchema: z.ZodType<ListInputAudioCache, z.ZodTypeDef, unknown>;
|
|
641
|
-
/** @internal */
|
|
642
|
-
export type ListInputAudioCache$Outbound = number | string | any;
|
|
643
|
-
/** @internal */
|
|
644
|
-
export declare const ListInputAudioCache$outboundSchema: z.ZodType<ListInputAudioCache$Outbound, z.ZodTypeDef, ListInputAudioCache>;
|
|
645
|
-
/**
|
|
646
|
-
* @internal
|
|
647
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
648
|
-
*/
|
|
649
|
-
export declare namespace ListInputAudioCache$ {
|
|
650
|
-
/** @deprecated use `ListInputAudioCache$inboundSchema` instead. */
|
|
651
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
652
|
-
/** @deprecated use `ListInputAudioCache$outboundSchema` instead. */
|
|
653
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
654
|
-
/** @deprecated use `ListInputAudioCache$Outbound` instead. */
|
|
655
|
-
type Outbound = ListInputAudioCache$Outbound;
|
|
656
|
-
}
|
|
657
|
-
export declare function listInputAudioCacheToJSON(listInputAudioCache: ListInputAudioCache): string;
|
|
658
|
-
export declare function listInputAudioCacheFromJSON(jsonString: string): SafeParseResult<ListInputAudioCache, SDKValidationError>;
|
|
659
|
-
/** @internal */
|
|
660
|
-
export declare const ListWebSearch$inboundSchema: z.ZodType<ListWebSearch, z.ZodTypeDef, unknown>;
|
|
661
|
-
/** @internal */
|
|
662
|
-
export type ListWebSearch$Outbound = number | string | any;
|
|
663
|
-
/** @internal */
|
|
664
|
-
export declare const ListWebSearch$outboundSchema: z.ZodType<ListWebSearch$Outbound, z.ZodTypeDef, ListWebSearch>;
|
|
665
|
-
/**
|
|
666
|
-
* @internal
|
|
667
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
668
|
-
*/
|
|
669
|
-
export declare namespace ListWebSearch$ {
|
|
670
|
-
/** @deprecated use `ListWebSearch$inboundSchema` instead. */
|
|
671
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
672
|
-
/** @deprecated use `ListWebSearch$outboundSchema` instead. */
|
|
673
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
674
|
-
/** @deprecated use `ListWebSearch$Outbound` instead. */
|
|
675
|
-
type Outbound = ListWebSearch$Outbound;
|
|
676
|
-
}
|
|
677
|
-
export declare function listWebSearchToJSON(listWebSearch: ListWebSearch): string;
|
|
678
|
-
export declare function listWebSearchFromJSON(jsonString: string): SafeParseResult<ListWebSearch, SDKValidationError>;
|
|
679
|
-
/** @internal */
|
|
680
|
-
export declare const ListInternalReasoning$inboundSchema: z.ZodType<ListInternalReasoning, z.ZodTypeDef, unknown>;
|
|
681
|
-
/** @internal */
|
|
682
|
-
export type ListInternalReasoning$Outbound = number | string | any;
|
|
683
|
-
/** @internal */
|
|
684
|
-
export declare const ListInternalReasoning$outboundSchema: z.ZodType<ListInternalReasoning$Outbound, z.ZodTypeDef, ListInternalReasoning>;
|
|
685
|
-
/**
|
|
686
|
-
* @internal
|
|
687
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
688
|
-
*/
|
|
689
|
-
export declare namespace ListInternalReasoning$ {
|
|
690
|
-
/** @deprecated use `ListInternalReasoning$inboundSchema` instead. */
|
|
691
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
692
|
-
/** @deprecated use `ListInternalReasoning$outboundSchema` instead. */
|
|
693
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
694
|
-
/** @deprecated use `ListInternalReasoning$Outbound` instead. */
|
|
695
|
-
type Outbound = ListInternalReasoning$Outbound;
|
|
696
|
-
}
|
|
697
|
-
export declare function listInternalReasoningToJSON(listInternalReasoning: ListInternalReasoning): string;
|
|
698
|
-
export declare function listInternalReasoningFromJSON(jsonString: string): SafeParseResult<ListInternalReasoning, SDKValidationError>;
|
|
699
|
-
/** @internal */
|
|
700
|
-
export declare const ListInputCacheRead$inboundSchema: z.ZodType<ListInputCacheRead, z.ZodTypeDef, unknown>;
|
|
701
|
-
/** @internal */
|
|
702
|
-
export type ListInputCacheRead$Outbound = number | string | any;
|
|
703
|
-
/** @internal */
|
|
704
|
-
export declare const ListInputCacheRead$outboundSchema: z.ZodType<ListInputCacheRead$Outbound, z.ZodTypeDef, ListInputCacheRead>;
|
|
705
|
-
/**
|
|
706
|
-
* @internal
|
|
707
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
708
|
-
*/
|
|
709
|
-
export declare namespace ListInputCacheRead$ {
|
|
710
|
-
/** @deprecated use `ListInputCacheRead$inboundSchema` instead. */
|
|
711
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
712
|
-
/** @deprecated use `ListInputCacheRead$outboundSchema` instead. */
|
|
713
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
714
|
-
/** @deprecated use `ListInputCacheRead$Outbound` instead. */
|
|
715
|
-
type Outbound = ListInputCacheRead$Outbound;
|
|
716
|
-
}
|
|
717
|
-
export declare function listInputCacheReadToJSON(listInputCacheRead: ListInputCacheRead): string;
|
|
718
|
-
export declare function listInputCacheReadFromJSON(jsonString: string): SafeParseResult<ListInputCacheRead, SDKValidationError>;
|
|
719
|
-
/** @internal */
|
|
720
|
-
export declare const ListInputCacheWrite$inboundSchema: z.ZodType<ListInputCacheWrite, z.ZodTypeDef, unknown>;
|
|
721
|
-
/** @internal */
|
|
722
|
-
export type ListInputCacheWrite$Outbound = number | string | any;
|
|
723
|
-
/** @internal */
|
|
724
|
-
export declare const ListInputCacheWrite$outboundSchema: z.ZodType<ListInputCacheWrite$Outbound, z.ZodTypeDef, ListInputCacheWrite>;
|
|
725
|
-
/**
|
|
726
|
-
* @internal
|
|
727
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
728
|
-
*/
|
|
729
|
-
export declare namespace ListInputCacheWrite$ {
|
|
730
|
-
/** @deprecated use `ListInputCacheWrite$inboundSchema` instead. */
|
|
731
|
-
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
732
|
-
/** @deprecated use `ListInputCacheWrite$outboundSchema` instead. */
|
|
733
|
-
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
734
|
-
/** @deprecated use `ListInputCacheWrite$Outbound` instead. */
|
|
735
|
-
type Outbound = ListInputCacheWrite$Outbound;
|
|
736
|
-
}
|
|
737
|
-
export declare function listInputCacheWriteToJSON(listInputCacheWrite: ListInputCacheWrite): string;
|
|
738
|
-
export declare function listInputCacheWriteFromJSON(jsonString: string): SafeParseResult<ListInputCacheWrite, SDKValidationError>;
|
|
739
|
-
/** @internal */
|
|
740
|
-
export declare const ListPricing$inboundSchema: z.ZodType<ListPricing, z.ZodTypeDef, unknown>;
|
|
741
|
-
/** @internal */
|
|
742
|
-
export type ListPricing$Outbound = {
|
|
743
|
-
prompt?: number | string | any | undefined;
|
|
744
|
-
completion?: number | string | any | undefined;
|
|
745
|
-
request?: number | string | any | undefined;
|
|
746
|
-
image?: number | string | any | undefined;
|
|
747
|
-
image_output?: number | string | any | undefined;
|
|
748
|
-
audio?: number | string | any | undefined;
|
|
749
|
-
input_audio_cache?: number | string | any | undefined;
|
|
750
|
-
web_search?: number | string | any | undefined;
|
|
751
|
-
internal_reasoning?: number | string | any | undefined;
|
|
752
|
-
input_cache_read?: number | string | any | undefined;
|
|
753
|
-
input_cache_write?: number | string | any | undefined;
|
|
754
|
-
discount?: number | undefined;
|
|
755
|
-
};
|
|
756
|
-
/** @internal */
|
|
757
|
-
export declare const ListPricing$outboundSchema: z.ZodType<ListPricing$Outbound, z.ZodTypeDef, ListPricing>;
|
|
758
|
-
/**
|
|
759
|
-
* @internal
|
|
760
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
761
|
-
*/
|
|
762
|
-
export declare namespace ListPricing$ {
|
|
763
|
-
/** @deprecated use `ListPricing$inboundSchema` instead. */
|
|
764
|
-
const inboundSchema: z.ZodType<ListPricing, z.ZodTypeDef, unknown>;
|
|
765
|
-
/** @deprecated use `ListPricing$outboundSchema` instead. */
|
|
766
|
-
const outboundSchema: z.ZodType<ListPricing$Outbound, z.ZodTypeDef, ListPricing>;
|
|
767
|
-
/** @deprecated use `ListPricing$Outbound` instead. */
|
|
768
|
-
type Outbound = ListPricing$Outbound;
|
|
769
|
-
}
|
|
770
|
-
export declare function listPricingToJSON(listPricing: ListPricing): string;
|
|
771
|
-
export declare function listPricingFromJSON(jsonString: string): SafeParseResult<ListPricing, SDKValidationError>;
|
|
772
|
-
/** @internal */
|
|
773
|
-
export declare const ListProviderName$inboundSchema: z.ZodNativeEnum<typeof ListProviderName>;
|
|
774
|
-
/** @internal */
|
|
775
|
-
export declare const ListProviderName$outboundSchema: z.ZodNativeEnum<typeof ListProviderName>;
|
|
776
|
-
/**
|
|
777
|
-
* @internal
|
|
778
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
779
|
-
*/
|
|
780
|
-
export declare namespace ListProviderName$ {
|
|
781
|
-
/** @deprecated use `ListProviderName$inboundSchema` instead. */
|
|
782
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
783
|
-
readonly AnyScale: "AnyScale";
|
|
784
|
-
readonly CentML: "Cent-ML";
|
|
785
|
-
readonly HuggingFace: "HuggingFace";
|
|
786
|
-
readonly Hyperbolic2: "Hyperbolic 2";
|
|
787
|
-
readonly Lepton: "Lepton";
|
|
788
|
-
readonly Lynn2: "Lynn 2";
|
|
789
|
-
readonly Lynn: "Lynn";
|
|
790
|
-
readonly Mancer: "Mancer";
|
|
791
|
-
readonly Modal: "Modal";
|
|
792
|
-
readonly OctoAI: "OctoAI";
|
|
793
|
-
readonly Recursal: "Recursal";
|
|
794
|
-
readonly Reflection: "Reflection";
|
|
795
|
-
readonly Replicate: "Replicate";
|
|
796
|
-
readonly SambaNova2: "SambaNova 2";
|
|
797
|
-
readonly SFCompute: "SF Compute";
|
|
798
|
-
readonly Together2: "Together 2";
|
|
799
|
-
readonly OneDotAI: "01.AI";
|
|
800
|
-
readonly Ai21: "AI21";
|
|
801
|
-
readonly AionLabs: "AionLabs";
|
|
802
|
-
readonly Alibaba: "Alibaba";
|
|
803
|
-
readonly AmazonBedrock: "Amazon Bedrock";
|
|
804
|
-
readonly Anthropic: "Anthropic";
|
|
805
|
-
readonly AtlasCloud: "AtlasCloud";
|
|
806
|
-
readonly Atoma: "Atoma";
|
|
807
|
-
readonly Avian: "Avian";
|
|
808
|
-
readonly Azure: "Azure";
|
|
809
|
-
readonly BaseTen: "BaseTen";
|
|
810
|
-
readonly Cerebras: "Cerebras";
|
|
811
|
-
readonly Chutes: "Chutes";
|
|
812
|
-
readonly Cloudflare: "Cloudflare";
|
|
813
|
-
readonly Cohere: "Cohere";
|
|
814
|
-
readonly CrofAI: "CrofAI";
|
|
815
|
-
readonly Crusoe: "Crusoe";
|
|
816
|
-
readonly DeepInfra: "DeepInfra";
|
|
817
|
-
readonly DeepSeek: "DeepSeek";
|
|
818
|
-
readonly Enfer: "Enfer";
|
|
819
|
-
readonly Featherless: "Featherless";
|
|
820
|
-
readonly Fireworks: "Fireworks";
|
|
821
|
-
readonly Friendli: "Friendli";
|
|
822
|
-
readonly GMICloud: "GMICloud";
|
|
823
|
-
readonly Google: "Google";
|
|
824
|
-
readonly GoogleAIStudio: "Google AI Studio";
|
|
825
|
-
readonly Groq: "Groq";
|
|
826
|
-
readonly Hyperbolic: "Hyperbolic";
|
|
827
|
-
readonly Inception: "Inception";
|
|
828
|
-
readonly InferenceNet: "InferenceNet";
|
|
829
|
-
readonly Infermatic: "Infermatic";
|
|
830
|
-
readonly Inflection: "Inflection";
|
|
831
|
-
readonly InoCloud: "InoCloud";
|
|
832
|
-
readonly Kluster: "Kluster";
|
|
833
|
-
readonly Lambda: "Lambda";
|
|
834
|
-
readonly Liquid: "Liquid";
|
|
835
|
-
readonly Mancer2: "Mancer 2";
|
|
836
|
-
readonly Meta: "Meta";
|
|
837
|
-
readonly Minimax: "Minimax";
|
|
838
|
-
readonly Mistral: "Mistral";
|
|
839
|
-
readonly MoonshotAI: "Moonshot AI";
|
|
840
|
-
readonly Morph: "Morph";
|
|
841
|
-
readonly NCompass: "NCompass";
|
|
842
|
-
readonly Nebius: "Nebius";
|
|
843
|
-
readonly NextBit: "NextBit";
|
|
844
|
-
readonly Nineteen: "Nineteen";
|
|
845
|
-
readonly Novita: "Novita";
|
|
846
|
-
readonly Nvidia: "Nvidia";
|
|
847
|
-
readonly OpenAI: "OpenAI";
|
|
848
|
-
readonly OpenInference: "OpenInference";
|
|
849
|
-
readonly Parasail: "Parasail";
|
|
850
|
-
readonly Perplexity: "Perplexity";
|
|
851
|
-
readonly Phala: "Phala";
|
|
852
|
-
readonly Relace: "Relace";
|
|
853
|
-
readonly SambaNova: "SambaNova";
|
|
854
|
-
readonly SiliconFlow: "SiliconFlow";
|
|
855
|
-
readonly Stealth: "Stealth";
|
|
856
|
-
readonly Switchpoint: "Switchpoint";
|
|
857
|
-
readonly Targon: "Targon";
|
|
858
|
-
readonly Together: "Together";
|
|
859
|
-
readonly Ubicloud: "Ubicloud";
|
|
860
|
-
readonly Venice: "Venice";
|
|
861
|
-
readonly WandB: "WandB";
|
|
862
|
-
readonly XAI: "xAI";
|
|
863
|
-
readonly ZAi: "Z.AI";
|
|
864
|
-
readonly FakeProvider: "FakeProvider";
|
|
865
|
-
}>;
|
|
866
|
-
/** @deprecated use `ListProviderName$outboundSchema` instead. */
|
|
867
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
868
|
-
readonly AnyScale: "AnyScale";
|
|
869
|
-
readonly CentML: "Cent-ML";
|
|
870
|
-
readonly HuggingFace: "HuggingFace";
|
|
871
|
-
readonly Hyperbolic2: "Hyperbolic 2";
|
|
872
|
-
readonly Lepton: "Lepton";
|
|
873
|
-
readonly Lynn2: "Lynn 2";
|
|
874
|
-
readonly Lynn: "Lynn";
|
|
875
|
-
readonly Mancer: "Mancer";
|
|
876
|
-
readonly Modal: "Modal";
|
|
877
|
-
readonly OctoAI: "OctoAI";
|
|
878
|
-
readonly Recursal: "Recursal";
|
|
879
|
-
readonly Reflection: "Reflection";
|
|
880
|
-
readonly Replicate: "Replicate";
|
|
881
|
-
readonly SambaNova2: "SambaNova 2";
|
|
882
|
-
readonly SFCompute: "SF Compute";
|
|
883
|
-
readonly Together2: "Together 2";
|
|
884
|
-
readonly OneDotAI: "01.AI";
|
|
885
|
-
readonly Ai21: "AI21";
|
|
886
|
-
readonly AionLabs: "AionLabs";
|
|
887
|
-
readonly Alibaba: "Alibaba";
|
|
888
|
-
readonly AmazonBedrock: "Amazon Bedrock";
|
|
889
|
-
readonly Anthropic: "Anthropic";
|
|
890
|
-
readonly AtlasCloud: "AtlasCloud";
|
|
891
|
-
readonly Atoma: "Atoma";
|
|
892
|
-
readonly Avian: "Avian";
|
|
893
|
-
readonly Azure: "Azure";
|
|
894
|
-
readonly BaseTen: "BaseTen";
|
|
895
|
-
readonly Cerebras: "Cerebras";
|
|
896
|
-
readonly Chutes: "Chutes";
|
|
897
|
-
readonly Cloudflare: "Cloudflare";
|
|
898
|
-
readonly Cohere: "Cohere";
|
|
899
|
-
readonly CrofAI: "CrofAI";
|
|
900
|
-
readonly Crusoe: "Crusoe";
|
|
901
|
-
readonly DeepInfra: "DeepInfra";
|
|
902
|
-
readonly DeepSeek: "DeepSeek";
|
|
903
|
-
readonly Enfer: "Enfer";
|
|
904
|
-
readonly Featherless: "Featherless";
|
|
905
|
-
readonly Fireworks: "Fireworks";
|
|
906
|
-
readonly Friendli: "Friendli";
|
|
907
|
-
readonly GMICloud: "GMICloud";
|
|
908
|
-
readonly Google: "Google";
|
|
909
|
-
readonly GoogleAIStudio: "Google AI Studio";
|
|
910
|
-
readonly Groq: "Groq";
|
|
911
|
-
readonly Hyperbolic: "Hyperbolic";
|
|
912
|
-
readonly Inception: "Inception";
|
|
913
|
-
readonly InferenceNet: "InferenceNet";
|
|
914
|
-
readonly Infermatic: "Infermatic";
|
|
915
|
-
readonly Inflection: "Inflection";
|
|
916
|
-
readonly InoCloud: "InoCloud";
|
|
917
|
-
readonly Kluster: "Kluster";
|
|
918
|
-
readonly Lambda: "Lambda";
|
|
919
|
-
readonly Liquid: "Liquid";
|
|
920
|
-
readonly Mancer2: "Mancer 2";
|
|
921
|
-
readonly Meta: "Meta";
|
|
922
|
-
readonly Minimax: "Minimax";
|
|
923
|
-
readonly Mistral: "Mistral";
|
|
924
|
-
readonly MoonshotAI: "Moonshot AI";
|
|
925
|
-
readonly Morph: "Morph";
|
|
926
|
-
readonly NCompass: "NCompass";
|
|
927
|
-
readonly Nebius: "Nebius";
|
|
928
|
-
readonly NextBit: "NextBit";
|
|
929
|
-
readonly Nineteen: "Nineteen";
|
|
930
|
-
readonly Novita: "Novita";
|
|
931
|
-
readonly Nvidia: "Nvidia";
|
|
932
|
-
readonly OpenAI: "OpenAI";
|
|
933
|
-
readonly OpenInference: "OpenInference";
|
|
934
|
-
readonly Parasail: "Parasail";
|
|
935
|
-
readonly Perplexity: "Perplexity";
|
|
936
|
-
readonly Phala: "Phala";
|
|
937
|
-
readonly Relace: "Relace";
|
|
938
|
-
readonly SambaNova: "SambaNova";
|
|
939
|
-
readonly SiliconFlow: "SiliconFlow";
|
|
940
|
-
readonly Stealth: "Stealth";
|
|
941
|
-
readonly Switchpoint: "Switchpoint";
|
|
942
|
-
readonly Targon: "Targon";
|
|
943
|
-
readonly Together: "Together";
|
|
944
|
-
readonly Ubicloud: "Ubicloud";
|
|
945
|
-
readonly Venice: "Venice";
|
|
946
|
-
readonly WandB: "WandB";
|
|
947
|
-
readonly XAI: "xAI";
|
|
948
|
-
readonly ZAi: "Z.AI";
|
|
949
|
-
readonly FakeProvider: "FakeProvider";
|
|
950
|
-
}>;
|
|
951
|
-
}
|
|
952
|
-
/** @internal */
|
|
953
|
-
export declare const ListQuantization$inboundSchema: z.ZodNativeEnum<typeof ListQuantization>;
|
|
954
|
-
/** @internal */
|
|
955
|
-
export declare const ListQuantization$outboundSchema: z.ZodNativeEnum<typeof ListQuantization>;
|
|
956
|
-
/**
|
|
957
|
-
* @internal
|
|
958
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
959
|
-
*/
|
|
960
|
-
export declare namespace ListQuantization$ {
|
|
961
|
-
/** @deprecated use `ListQuantization$inboundSchema` instead. */
|
|
962
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
963
|
-
readonly Int4: "int4";
|
|
964
|
-
readonly Int8: "int8";
|
|
965
|
-
readonly Fp4: "fp4";
|
|
966
|
-
readonly Fp6: "fp6";
|
|
967
|
-
readonly Fp8: "fp8";
|
|
968
|
-
readonly Fp16: "fp16";
|
|
969
|
-
readonly Bf16: "bf16";
|
|
970
|
-
readonly Fp32: "fp32";
|
|
971
|
-
readonly Unknown: "unknown";
|
|
972
|
-
}>;
|
|
973
|
-
/** @deprecated use `ListQuantization$outboundSchema` instead. */
|
|
974
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
975
|
-
readonly Int4: "int4";
|
|
976
|
-
readonly Int8: "int8";
|
|
977
|
-
readonly Fp4: "fp4";
|
|
978
|
-
readonly Fp6: "fp6";
|
|
979
|
-
readonly Fp8: "fp8";
|
|
980
|
-
readonly Fp16: "fp16";
|
|
981
|
-
readonly Bf16: "bf16";
|
|
982
|
-
readonly Fp32: "fp32";
|
|
983
|
-
readonly Unknown: "unknown";
|
|
984
|
-
}>;
|
|
985
|
-
}
|
|
986
|
-
/** @internal */
|
|
987
|
-
export declare const ListSupportedParameter$inboundSchema: z.ZodNativeEnum<typeof ListSupportedParameter>;
|
|
988
|
-
/** @internal */
|
|
989
|
-
export declare const ListSupportedParameter$outboundSchema: z.ZodNativeEnum<typeof ListSupportedParameter>;
|
|
990
|
-
/**
|
|
991
|
-
* @internal
|
|
992
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
993
|
-
*/
|
|
994
|
-
export declare namespace ListSupportedParameter$ {
|
|
995
|
-
/** @deprecated use `ListSupportedParameter$inboundSchema` instead. */
|
|
996
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
997
|
-
readonly Temperature: "temperature";
|
|
998
|
-
readonly TopP: "top_p";
|
|
999
|
-
readonly TopK: "top_k";
|
|
1000
|
-
readonly MinP: "min_p";
|
|
1001
|
-
readonly TopA: "top_a";
|
|
1002
|
-
readonly FrequencyPenalty: "frequency_penalty";
|
|
1003
|
-
readonly PresencePenalty: "presence_penalty";
|
|
1004
|
-
readonly RepetitionPenalty: "repetition_penalty";
|
|
1005
|
-
readonly MaxTokens: "max_tokens";
|
|
1006
|
-
readonly LogitBias: "logit_bias";
|
|
1007
|
-
readonly Logprobs: "logprobs";
|
|
1008
|
-
readonly TopLogprobs: "top_logprobs";
|
|
1009
|
-
readonly Seed: "seed";
|
|
1010
|
-
readonly ResponseFormat: "response_format";
|
|
1011
|
-
readonly StructuredOutputs: "structured_outputs";
|
|
1012
|
-
readonly Stop: "stop";
|
|
1013
|
-
readonly Tools: "tools";
|
|
1014
|
-
readonly ToolChoice: "tool_choice";
|
|
1015
|
-
readonly ParallelToolCalls: "parallel_tool_calls";
|
|
1016
|
-
readonly IncludeReasoning: "include_reasoning";
|
|
1017
|
-
readonly Reasoning: "reasoning";
|
|
1018
|
-
readonly WebSearchOptions: "web_search_options";
|
|
1019
|
-
readonly Verbosity: "verbosity";
|
|
1020
|
-
}>;
|
|
1021
|
-
/** @deprecated use `ListSupportedParameter$outboundSchema` instead. */
|
|
1022
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1023
|
-
readonly Temperature: "temperature";
|
|
1024
|
-
readonly TopP: "top_p";
|
|
1025
|
-
readonly TopK: "top_k";
|
|
1026
|
-
readonly MinP: "min_p";
|
|
1027
|
-
readonly TopA: "top_a";
|
|
1028
|
-
readonly FrequencyPenalty: "frequency_penalty";
|
|
1029
|
-
readonly PresencePenalty: "presence_penalty";
|
|
1030
|
-
readonly RepetitionPenalty: "repetition_penalty";
|
|
1031
|
-
readonly MaxTokens: "max_tokens";
|
|
1032
|
-
readonly LogitBias: "logit_bias";
|
|
1033
|
-
readonly Logprobs: "logprobs";
|
|
1034
|
-
readonly TopLogprobs: "top_logprobs";
|
|
1035
|
-
readonly Seed: "seed";
|
|
1036
|
-
readonly ResponseFormat: "response_format";
|
|
1037
|
-
readonly StructuredOutputs: "structured_outputs";
|
|
1038
|
-
readonly Stop: "stop";
|
|
1039
|
-
readonly Tools: "tools";
|
|
1040
|
-
readonly ToolChoice: "tool_choice";
|
|
1041
|
-
readonly ParallelToolCalls: "parallel_tool_calls";
|
|
1042
|
-
readonly IncludeReasoning: "include_reasoning";
|
|
1043
|
-
readonly Reasoning: "reasoning";
|
|
1044
|
-
readonly WebSearchOptions: "web_search_options";
|
|
1045
|
-
readonly Verbosity: "verbosity";
|
|
1046
|
-
}>;
|
|
1047
|
-
}
|
|
1048
|
-
/** @internal */
|
|
1049
|
-
export declare const ListStatus$inboundSchema: z.ZodNativeEnum<typeof ListStatus>;
|
|
1050
|
-
/** @internal */
|
|
1051
|
-
export declare const ListStatus$outboundSchema: z.ZodNativeEnum<typeof ListStatus>;
|
|
1052
|
-
/**
|
|
1053
|
-
* @internal
|
|
1054
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1055
|
-
*/
|
|
1056
|
-
export declare namespace ListStatus$ {
|
|
1057
|
-
/** @deprecated use `ListStatus$inboundSchema` instead. */
|
|
1058
|
-
const inboundSchema: z.ZodNativeEnum<{
|
|
1059
|
-
readonly Zero: 0;
|
|
1060
|
-
readonly Minus1: -1;
|
|
1061
|
-
readonly Minus2: -2;
|
|
1062
|
-
readonly Minus3: -3;
|
|
1063
|
-
readonly Minus5: -5;
|
|
1064
|
-
readonly Minus10: -10;
|
|
1065
|
-
}>;
|
|
1066
|
-
/** @deprecated use `ListStatus$outboundSchema` instead. */
|
|
1067
|
-
const outboundSchema: z.ZodNativeEnum<{
|
|
1068
|
-
readonly Zero: 0;
|
|
1069
|
-
readonly Minus1: -1;
|
|
1070
|
-
readonly Minus2: -2;
|
|
1071
|
-
readonly Minus3: -3;
|
|
1072
|
-
readonly Minus5: -5;
|
|
1073
|
-
readonly Minus10: -10;
|
|
1074
|
-
}>;
|
|
1075
|
-
}
|
|
1076
|
-
/** @internal */
|
|
1077
|
-
export declare const Endpoint$inboundSchema: z.ZodType<Endpoint, z.ZodTypeDef, unknown>;
|
|
1078
|
-
/** @internal */
|
|
1079
|
-
export type Endpoint$Outbound = {
|
|
1080
|
-
name: string;
|
|
1081
|
-
model_name: string;
|
|
1082
|
-
context_length: number;
|
|
1083
|
-
pricing: ListPricing$Outbound;
|
|
1084
|
-
provider_name: string;
|
|
1085
|
-
tag: string;
|
|
1086
|
-
quantization: string | null;
|
|
1087
|
-
max_completion_tokens: number | null;
|
|
1088
|
-
max_prompt_tokens: number | null;
|
|
1089
|
-
supported_parameters: Array<string>;
|
|
1090
|
-
status?: number | undefined;
|
|
1091
|
-
uptime_last_30m: number | null;
|
|
1092
|
-
supports_implicit_caching: boolean;
|
|
1093
|
-
};
|
|
1094
|
-
/** @internal */
|
|
1095
|
-
export declare const Endpoint$outboundSchema: z.ZodType<Endpoint$Outbound, z.ZodTypeDef, Endpoint>;
|
|
333
|
+
export declare const Architecture$outboundSchema: z.ZodType<Architecture$Outbound, z.ZodTypeDef, Architecture>;
|
|
1096
334
|
/**
|
|
1097
335
|
* @internal
|
|
1098
336
|
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1099
337
|
*/
|
|
1100
|
-
export declare namespace
|
|
1101
|
-
/** @deprecated use `
|
|
1102
|
-
const inboundSchema: z.ZodType<
|
|
1103
|
-
/** @deprecated use `
|
|
1104
|
-
const outboundSchema: z.ZodType<
|
|
1105
|
-
/** @deprecated use `
|
|
1106
|
-
type Outbound =
|
|
338
|
+
export declare namespace Architecture$ {
|
|
339
|
+
/** @deprecated use `Architecture$inboundSchema` instead. */
|
|
340
|
+
const inboundSchema: z.ZodType<Architecture, z.ZodTypeDef, unknown>;
|
|
341
|
+
/** @deprecated use `Architecture$outboundSchema` instead. */
|
|
342
|
+
const outboundSchema: z.ZodType<Architecture$Outbound, z.ZodTypeDef, Architecture>;
|
|
343
|
+
/** @deprecated use `Architecture$Outbound` instead. */
|
|
344
|
+
type Outbound = Architecture$Outbound;
|
|
1107
345
|
}
|
|
1108
|
-
export declare function
|
|
1109
|
-
export declare function
|
|
346
|
+
export declare function architectureToJSON(architecture: Architecture): string;
|
|
347
|
+
export declare function architectureFromJSON(jsonString: string): SafeParseResult<Architecture, SDKValidationError>;
|
|
1110
348
|
/** @internal */
|
|
1111
349
|
export declare const ListData$inboundSchema: z.ZodType<ListData, z.ZodTypeDef, unknown>;
|
|
1112
350
|
/** @internal */
|
|
@@ -1115,8 +353,8 @@ export type ListData$Outbound = {
|
|
|
1115
353
|
name: string;
|
|
1116
354
|
created: number;
|
|
1117
355
|
description: string;
|
|
1118
|
-
architecture:
|
|
1119
|
-
endpoints: Array<
|
|
356
|
+
architecture: Architecture$Outbound;
|
|
357
|
+
endpoints: Array<models.EndpointsList$Outbound>;
|
|
1120
358
|
};
|
|
1121
359
|
/** @internal */
|
|
1122
360
|
export declare const ListData$outboundSchema: z.ZodType<ListData$Outbound, z.ZodTypeDef, ListData>;
|