@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
|
@@ -0,0 +1,768 @@
|
|
|
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 EndpointsListPrompt = number | string | any;
|
|
6
|
+
export type EndpointsListCompletion = number | string | any;
|
|
7
|
+
export type EndpointsListRequest = number | string | any;
|
|
8
|
+
export type EndpointsListImage = number | string | any;
|
|
9
|
+
export type EndpointsListImageOutput = number | string | any;
|
|
10
|
+
export type EndpointsListAudio = number | string | any;
|
|
11
|
+
export type EndpointsListInputAudioCache = number | string | any;
|
|
12
|
+
export type EndpointsListWebSearch = number | string | any;
|
|
13
|
+
export type EndpointsListInternalReasoning = number | string | any;
|
|
14
|
+
export type EndpointsListInputCacheRead = number | string | any;
|
|
15
|
+
export type EndpointsListInputCacheWrite = number | string | any;
|
|
16
|
+
export type EndpointsListPricing = {
|
|
17
|
+
prompt?: number | string | any | undefined;
|
|
18
|
+
completion?: number | string | any | undefined;
|
|
19
|
+
request?: number | string | any | undefined;
|
|
20
|
+
image?: number | string | any | undefined;
|
|
21
|
+
imageOutput?: number | string | any | undefined;
|
|
22
|
+
audio?: number | string | any | undefined;
|
|
23
|
+
inputAudioCache?: number | string | any | undefined;
|
|
24
|
+
webSearch?: number | string | any | undefined;
|
|
25
|
+
internalReasoning?: number | string | any | undefined;
|
|
26
|
+
inputCacheRead?: number | string | any | undefined;
|
|
27
|
+
inputCacheWrite?: number | string | any | undefined;
|
|
28
|
+
discount?: number | undefined;
|
|
29
|
+
};
|
|
30
|
+
export declare const ProviderName: {
|
|
31
|
+
readonly AnyScale: "AnyScale";
|
|
32
|
+
readonly CentML: "Cent-ML";
|
|
33
|
+
readonly HuggingFace: "HuggingFace";
|
|
34
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
35
|
+
readonly Lepton: "Lepton";
|
|
36
|
+
readonly Lynn2: "Lynn 2";
|
|
37
|
+
readonly Lynn: "Lynn";
|
|
38
|
+
readonly Mancer: "Mancer";
|
|
39
|
+
readonly Modal: "Modal";
|
|
40
|
+
readonly OctoAI: "OctoAI";
|
|
41
|
+
readonly Recursal: "Recursal";
|
|
42
|
+
readonly Reflection: "Reflection";
|
|
43
|
+
readonly Replicate: "Replicate";
|
|
44
|
+
readonly SambaNova2: "SambaNova 2";
|
|
45
|
+
readonly SFCompute: "SF Compute";
|
|
46
|
+
readonly Together2: "Together 2";
|
|
47
|
+
readonly OneDotAI: "01.AI";
|
|
48
|
+
readonly Ai21: "AI21";
|
|
49
|
+
readonly AionLabs: "AionLabs";
|
|
50
|
+
readonly Alibaba: "Alibaba";
|
|
51
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
52
|
+
readonly Anthropic: "Anthropic";
|
|
53
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
54
|
+
readonly Atoma: "Atoma";
|
|
55
|
+
readonly Avian: "Avian";
|
|
56
|
+
readonly Azure: "Azure";
|
|
57
|
+
readonly BaseTen: "BaseTen";
|
|
58
|
+
readonly Cerebras: "Cerebras";
|
|
59
|
+
readonly Chutes: "Chutes";
|
|
60
|
+
readonly Cloudflare: "Cloudflare";
|
|
61
|
+
readonly Cohere: "Cohere";
|
|
62
|
+
readonly CrofAI: "CrofAI";
|
|
63
|
+
readonly Crusoe: "Crusoe";
|
|
64
|
+
readonly DeepInfra: "DeepInfra";
|
|
65
|
+
readonly DeepSeek: "DeepSeek";
|
|
66
|
+
readonly Enfer: "Enfer";
|
|
67
|
+
readonly Featherless: "Featherless";
|
|
68
|
+
readonly Fireworks: "Fireworks";
|
|
69
|
+
readonly Friendli: "Friendli";
|
|
70
|
+
readonly GMICloud: "GMICloud";
|
|
71
|
+
readonly Google: "Google";
|
|
72
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
73
|
+
readonly Groq: "Groq";
|
|
74
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
75
|
+
readonly Inception: "Inception";
|
|
76
|
+
readonly InferenceNet: "InferenceNet";
|
|
77
|
+
readonly Infermatic: "Infermatic";
|
|
78
|
+
readonly Inflection: "Inflection";
|
|
79
|
+
readonly InoCloud: "InoCloud";
|
|
80
|
+
readonly Kluster: "Kluster";
|
|
81
|
+
readonly Lambda: "Lambda";
|
|
82
|
+
readonly Liquid: "Liquid";
|
|
83
|
+
readonly Mancer2: "Mancer 2";
|
|
84
|
+
readonly Meta: "Meta";
|
|
85
|
+
readonly Minimax: "Minimax";
|
|
86
|
+
readonly Mistral: "Mistral";
|
|
87
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
88
|
+
readonly Morph: "Morph";
|
|
89
|
+
readonly NCompass: "NCompass";
|
|
90
|
+
readonly Nebius: "Nebius";
|
|
91
|
+
readonly NextBit: "NextBit";
|
|
92
|
+
readonly Nineteen: "Nineteen";
|
|
93
|
+
readonly Novita: "Novita";
|
|
94
|
+
readonly Nvidia: "Nvidia";
|
|
95
|
+
readonly OpenAI: "OpenAI";
|
|
96
|
+
readonly OpenInference: "OpenInference";
|
|
97
|
+
readonly Parasail: "Parasail";
|
|
98
|
+
readonly Perplexity: "Perplexity";
|
|
99
|
+
readonly Phala: "Phala";
|
|
100
|
+
readonly Relace: "Relace";
|
|
101
|
+
readonly SambaNova: "SambaNova";
|
|
102
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
103
|
+
readonly Stealth: "Stealth";
|
|
104
|
+
readonly Switchpoint: "Switchpoint";
|
|
105
|
+
readonly Targon: "Targon";
|
|
106
|
+
readonly Together: "Together";
|
|
107
|
+
readonly Ubicloud: "Ubicloud";
|
|
108
|
+
readonly Venice: "Venice";
|
|
109
|
+
readonly WandB: "WandB";
|
|
110
|
+
readonly XAI: "xAI";
|
|
111
|
+
readonly ZAi: "Z.AI";
|
|
112
|
+
readonly FakeProvider: "FakeProvider";
|
|
113
|
+
};
|
|
114
|
+
export type ProviderName = ClosedEnum<typeof ProviderName>;
|
|
115
|
+
export declare const EndpointsListQuantization: {
|
|
116
|
+
readonly Int4: "int4";
|
|
117
|
+
readonly Int8: "int8";
|
|
118
|
+
readonly Fp4: "fp4";
|
|
119
|
+
readonly Fp6: "fp6";
|
|
120
|
+
readonly Fp8: "fp8";
|
|
121
|
+
readonly Fp16: "fp16";
|
|
122
|
+
readonly Bf16: "bf16";
|
|
123
|
+
readonly Fp32: "fp32";
|
|
124
|
+
readonly Unknown: "unknown";
|
|
125
|
+
};
|
|
126
|
+
export type EndpointsListQuantization = ClosedEnum<typeof EndpointsListQuantization>;
|
|
127
|
+
export declare const EndpointsListSupportedParameter: {
|
|
128
|
+
readonly Temperature: "temperature";
|
|
129
|
+
readonly TopP: "top_p";
|
|
130
|
+
readonly TopK: "top_k";
|
|
131
|
+
readonly MinP: "min_p";
|
|
132
|
+
readonly TopA: "top_a";
|
|
133
|
+
readonly FrequencyPenalty: "frequency_penalty";
|
|
134
|
+
readonly PresencePenalty: "presence_penalty";
|
|
135
|
+
readonly RepetitionPenalty: "repetition_penalty";
|
|
136
|
+
readonly MaxTokens: "max_tokens";
|
|
137
|
+
readonly LogitBias: "logit_bias";
|
|
138
|
+
readonly Logprobs: "logprobs";
|
|
139
|
+
readonly TopLogprobs: "top_logprobs";
|
|
140
|
+
readonly Seed: "seed";
|
|
141
|
+
readonly ResponseFormat: "response_format";
|
|
142
|
+
readonly StructuredOutputs: "structured_outputs";
|
|
143
|
+
readonly Stop: "stop";
|
|
144
|
+
readonly Tools: "tools";
|
|
145
|
+
readonly ToolChoice: "tool_choice";
|
|
146
|
+
readonly ParallelToolCalls: "parallel_tool_calls";
|
|
147
|
+
readonly IncludeReasoning: "include_reasoning";
|
|
148
|
+
readonly Reasoning: "reasoning";
|
|
149
|
+
readonly WebSearchOptions: "web_search_options";
|
|
150
|
+
readonly Verbosity: "verbosity";
|
|
151
|
+
};
|
|
152
|
+
export type EndpointsListSupportedParameter = ClosedEnum<typeof EndpointsListSupportedParameter>;
|
|
153
|
+
export declare const EndpointsListStatus: {
|
|
154
|
+
readonly Zero: 0;
|
|
155
|
+
readonly Minus1: -1;
|
|
156
|
+
readonly Minus2: -2;
|
|
157
|
+
readonly Minus3: -3;
|
|
158
|
+
readonly Minus5: -5;
|
|
159
|
+
readonly Minus10: -10;
|
|
160
|
+
};
|
|
161
|
+
export type EndpointsListStatus = ClosedEnum<typeof EndpointsListStatus>;
|
|
162
|
+
export type EndpointsList = {
|
|
163
|
+
name: string;
|
|
164
|
+
modelName: string;
|
|
165
|
+
contextLength: number;
|
|
166
|
+
pricing: EndpointsListPricing;
|
|
167
|
+
providerName: ProviderName;
|
|
168
|
+
tag: string;
|
|
169
|
+
quantization: EndpointsListQuantization | null;
|
|
170
|
+
maxCompletionTokens: number | null;
|
|
171
|
+
maxPromptTokens: number | null;
|
|
172
|
+
supportedParameters: Array<EndpointsListSupportedParameter>;
|
|
173
|
+
status?: EndpointsListStatus | undefined;
|
|
174
|
+
uptimeLast30m: number | null;
|
|
175
|
+
supportsImplicitCaching: boolean;
|
|
176
|
+
};
|
|
177
|
+
/** @internal */
|
|
178
|
+
export declare const EndpointsListPrompt$inboundSchema: z.ZodType<EndpointsListPrompt, z.ZodTypeDef, unknown>;
|
|
179
|
+
/** @internal */
|
|
180
|
+
export type EndpointsListPrompt$Outbound = number | string | any;
|
|
181
|
+
/** @internal */
|
|
182
|
+
export declare const EndpointsListPrompt$outboundSchema: z.ZodType<EndpointsListPrompt$Outbound, z.ZodTypeDef, EndpointsListPrompt>;
|
|
183
|
+
/**
|
|
184
|
+
* @internal
|
|
185
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
186
|
+
*/
|
|
187
|
+
export declare namespace EndpointsListPrompt$ {
|
|
188
|
+
/** @deprecated use `EndpointsListPrompt$inboundSchema` instead. */
|
|
189
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
190
|
+
/** @deprecated use `EndpointsListPrompt$outboundSchema` instead. */
|
|
191
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
192
|
+
/** @deprecated use `EndpointsListPrompt$Outbound` instead. */
|
|
193
|
+
type Outbound = EndpointsListPrompt$Outbound;
|
|
194
|
+
}
|
|
195
|
+
export declare function endpointsListPromptToJSON(endpointsListPrompt: EndpointsListPrompt): string;
|
|
196
|
+
export declare function endpointsListPromptFromJSON(jsonString: string): SafeParseResult<EndpointsListPrompt, SDKValidationError>;
|
|
197
|
+
/** @internal */
|
|
198
|
+
export declare const EndpointsListCompletion$inboundSchema: z.ZodType<EndpointsListCompletion, z.ZodTypeDef, unknown>;
|
|
199
|
+
/** @internal */
|
|
200
|
+
export type EndpointsListCompletion$Outbound = number | string | any;
|
|
201
|
+
/** @internal */
|
|
202
|
+
export declare const EndpointsListCompletion$outboundSchema: z.ZodType<EndpointsListCompletion$Outbound, z.ZodTypeDef, EndpointsListCompletion>;
|
|
203
|
+
/**
|
|
204
|
+
* @internal
|
|
205
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
206
|
+
*/
|
|
207
|
+
export declare namespace EndpointsListCompletion$ {
|
|
208
|
+
/** @deprecated use `EndpointsListCompletion$inboundSchema` instead. */
|
|
209
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
210
|
+
/** @deprecated use `EndpointsListCompletion$outboundSchema` instead. */
|
|
211
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
212
|
+
/** @deprecated use `EndpointsListCompletion$Outbound` instead. */
|
|
213
|
+
type Outbound = EndpointsListCompletion$Outbound;
|
|
214
|
+
}
|
|
215
|
+
export declare function endpointsListCompletionToJSON(endpointsListCompletion: EndpointsListCompletion): string;
|
|
216
|
+
export declare function endpointsListCompletionFromJSON(jsonString: string): SafeParseResult<EndpointsListCompletion, SDKValidationError>;
|
|
217
|
+
/** @internal */
|
|
218
|
+
export declare const EndpointsListRequest$inboundSchema: z.ZodType<EndpointsListRequest, z.ZodTypeDef, unknown>;
|
|
219
|
+
/** @internal */
|
|
220
|
+
export type EndpointsListRequest$Outbound = number | string | any;
|
|
221
|
+
/** @internal */
|
|
222
|
+
export declare const EndpointsListRequest$outboundSchema: z.ZodType<EndpointsListRequest$Outbound, z.ZodTypeDef, EndpointsListRequest>;
|
|
223
|
+
/**
|
|
224
|
+
* @internal
|
|
225
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
226
|
+
*/
|
|
227
|
+
export declare namespace EndpointsListRequest$ {
|
|
228
|
+
/** @deprecated use `EndpointsListRequest$inboundSchema` instead. */
|
|
229
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
230
|
+
/** @deprecated use `EndpointsListRequest$outboundSchema` instead. */
|
|
231
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
232
|
+
/** @deprecated use `EndpointsListRequest$Outbound` instead. */
|
|
233
|
+
type Outbound = EndpointsListRequest$Outbound;
|
|
234
|
+
}
|
|
235
|
+
export declare function endpointsListRequestToJSON(endpointsListRequest: EndpointsListRequest): string;
|
|
236
|
+
export declare function endpointsListRequestFromJSON(jsonString: string): SafeParseResult<EndpointsListRequest, SDKValidationError>;
|
|
237
|
+
/** @internal */
|
|
238
|
+
export declare const EndpointsListImage$inboundSchema: z.ZodType<EndpointsListImage, z.ZodTypeDef, unknown>;
|
|
239
|
+
/** @internal */
|
|
240
|
+
export type EndpointsListImage$Outbound = number | string | any;
|
|
241
|
+
/** @internal */
|
|
242
|
+
export declare const EndpointsListImage$outboundSchema: z.ZodType<EndpointsListImage$Outbound, z.ZodTypeDef, EndpointsListImage>;
|
|
243
|
+
/**
|
|
244
|
+
* @internal
|
|
245
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
246
|
+
*/
|
|
247
|
+
export declare namespace EndpointsListImage$ {
|
|
248
|
+
/** @deprecated use `EndpointsListImage$inboundSchema` instead. */
|
|
249
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
250
|
+
/** @deprecated use `EndpointsListImage$outboundSchema` instead. */
|
|
251
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
252
|
+
/** @deprecated use `EndpointsListImage$Outbound` instead. */
|
|
253
|
+
type Outbound = EndpointsListImage$Outbound;
|
|
254
|
+
}
|
|
255
|
+
export declare function endpointsListImageToJSON(endpointsListImage: EndpointsListImage): string;
|
|
256
|
+
export declare function endpointsListImageFromJSON(jsonString: string): SafeParseResult<EndpointsListImage, SDKValidationError>;
|
|
257
|
+
/** @internal */
|
|
258
|
+
export declare const EndpointsListImageOutput$inboundSchema: z.ZodType<EndpointsListImageOutput, z.ZodTypeDef, unknown>;
|
|
259
|
+
/** @internal */
|
|
260
|
+
export type EndpointsListImageOutput$Outbound = number | string | any;
|
|
261
|
+
/** @internal */
|
|
262
|
+
export declare const EndpointsListImageOutput$outboundSchema: z.ZodType<EndpointsListImageOutput$Outbound, z.ZodTypeDef, EndpointsListImageOutput>;
|
|
263
|
+
/**
|
|
264
|
+
* @internal
|
|
265
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
266
|
+
*/
|
|
267
|
+
export declare namespace EndpointsListImageOutput$ {
|
|
268
|
+
/** @deprecated use `EndpointsListImageOutput$inboundSchema` instead. */
|
|
269
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
270
|
+
/** @deprecated use `EndpointsListImageOutput$outboundSchema` instead. */
|
|
271
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
272
|
+
/** @deprecated use `EndpointsListImageOutput$Outbound` instead. */
|
|
273
|
+
type Outbound = EndpointsListImageOutput$Outbound;
|
|
274
|
+
}
|
|
275
|
+
export declare function endpointsListImageOutputToJSON(endpointsListImageOutput: EndpointsListImageOutput): string;
|
|
276
|
+
export declare function endpointsListImageOutputFromJSON(jsonString: string): SafeParseResult<EndpointsListImageOutput, SDKValidationError>;
|
|
277
|
+
/** @internal */
|
|
278
|
+
export declare const EndpointsListAudio$inboundSchema: z.ZodType<EndpointsListAudio, z.ZodTypeDef, unknown>;
|
|
279
|
+
/** @internal */
|
|
280
|
+
export type EndpointsListAudio$Outbound = number | string | any;
|
|
281
|
+
/** @internal */
|
|
282
|
+
export declare const EndpointsListAudio$outboundSchema: z.ZodType<EndpointsListAudio$Outbound, z.ZodTypeDef, EndpointsListAudio>;
|
|
283
|
+
/**
|
|
284
|
+
* @internal
|
|
285
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
286
|
+
*/
|
|
287
|
+
export declare namespace EndpointsListAudio$ {
|
|
288
|
+
/** @deprecated use `EndpointsListAudio$inboundSchema` instead. */
|
|
289
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
290
|
+
/** @deprecated use `EndpointsListAudio$outboundSchema` instead. */
|
|
291
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
292
|
+
/** @deprecated use `EndpointsListAudio$Outbound` instead. */
|
|
293
|
+
type Outbound = EndpointsListAudio$Outbound;
|
|
294
|
+
}
|
|
295
|
+
export declare function endpointsListAudioToJSON(endpointsListAudio: EndpointsListAudio): string;
|
|
296
|
+
export declare function endpointsListAudioFromJSON(jsonString: string): SafeParseResult<EndpointsListAudio, SDKValidationError>;
|
|
297
|
+
/** @internal */
|
|
298
|
+
export declare const EndpointsListInputAudioCache$inboundSchema: z.ZodType<EndpointsListInputAudioCache, z.ZodTypeDef, unknown>;
|
|
299
|
+
/** @internal */
|
|
300
|
+
export type EndpointsListInputAudioCache$Outbound = number | string | any;
|
|
301
|
+
/** @internal */
|
|
302
|
+
export declare const EndpointsListInputAudioCache$outboundSchema: z.ZodType<EndpointsListInputAudioCache$Outbound, z.ZodTypeDef, EndpointsListInputAudioCache>;
|
|
303
|
+
/**
|
|
304
|
+
* @internal
|
|
305
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
306
|
+
*/
|
|
307
|
+
export declare namespace EndpointsListInputAudioCache$ {
|
|
308
|
+
/** @deprecated use `EndpointsListInputAudioCache$inboundSchema` instead. */
|
|
309
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
310
|
+
/** @deprecated use `EndpointsListInputAudioCache$outboundSchema` instead. */
|
|
311
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
312
|
+
/** @deprecated use `EndpointsListInputAudioCache$Outbound` instead. */
|
|
313
|
+
type Outbound = EndpointsListInputAudioCache$Outbound;
|
|
314
|
+
}
|
|
315
|
+
export declare function endpointsListInputAudioCacheToJSON(endpointsListInputAudioCache: EndpointsListInputAudioCache): string;
|
|
316
|
+
export declare function endpointsListInputAudioCacheFromJSON(jsonString: string): SafeParseResult<EndpointsListInputAudioCache, SDKValidationError>;
|
|
317
|
+
/** @internal */
|
|
318
|
+
export declare const EndpointsListWebSearch$inboundSchema: z.ZodType<EndpointsListWebSearch, z.ZodTypeDef, unknown>;
|
|
319
|
+
/** @internal */
|
|
320
|
+
export type EndpointsListWebSearch$Outbound = number | string | any;
|
|
321
|
+
/** @internal */
|
|
322
|
+
export declare const EndpointsListWebSearch$outboundSchema: z.ZodType<EndpointsListWebSearch$Outbound, z.ZodTypeDef, EndpointsListWebSearch>;
|
|
323
|
+
/**
|
|
324
|
+
* @internal
|
|
325
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
326
|
+
*/
|
|
327
|
+
export declare namespace EndpointsListWebSearch$ {
|
|
328
|
+
/** @deprecated use `EndpointsListWebSearch$inboundSchema` instead. */
|
|
329
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
330
|
+
/** @deprecated use `EndpointsListWebSearch$outboundSchema` instead. */
|
|
331
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
332
|
+
/** @deprecated use `EndpointsListWebSearch$Outbound` instead. */
|
|
333
|
+
type Outbound = EndpointsListWebSearch$Outbound;
|
|
334
|
+
}
|
|
335
|
+
export declare function endpointsListWebSearchToJSON(endpointsListWebSearch: EndpointsListWebSearch): string;
|
|
336
|
+
export declare function endpointsListWebSearchFromJSON(jsonString: string): SafeParseResult<EndpointsListWebSearch, SDKValidationError>;
|
|
337
|
+
/** @internal */
|
|
338
|
+
export declare const EndpointsListInternalReasoning$inboundSchema: z.ZodType<EndpointsListInternalReasoning, z.ZodTypeDef, unknown>;
|
|
339
|
+
/** @internal */
|
|
340
|
+
export type EndpointsListInternalReasoning$Outbound = number | string | any;
|
|
341
|
+
/** @internal */
|
|
342
|
+
export declare const EndpointsListInternalReasoning$outboundSchema: z.ZodType<EndpointsListInternalReasoning$Outbound, z.ZodTypeDef, EndpointsListInternalReasoning>;
|
|
343
|
+
/**
|
|
344
|
+
* @internal
|
|
345
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
346
|
+
*/
|
|
347
|
+
export declare namespace EndpointsListInternalReasoning$ {
|
|
348
|
+
/** @deprecated use `EndpointsListInternalReasoning$inboundSchema` instead. */
|
|
349
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
350
|
+
/** @deprecated use `EndpointsListInternalReasoning$outboundSchema` instead. */
|
|
351
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
352
|
+
/** @deprecated use `EndpointsListInternalReasoning$Outbound` instead. */
|
|
353
|
+
type Outbound = EndpointsListInternalReasoning$Outbound;
|
|
354
|
+
}
|
|
355
|
+
export declare function endpointsListInternalReasoningToJSON(endpointsListInternalReasoning: EndpointsListInternalReasoning): string;
|
|
356
|
+
export declare function endpointsListInternalReasoningFromJSON(jsonString: string): SafeParseResult<EndpointsListInternalReasoning, SDKValidationError>;
|
|
357
|
+
/** @internal */
|
|
358
|
+
export declare const EndpointsListInputCacheRead$inboundSchema: z.ZodType<EndpointsListInputCacheRead, z.ZodTypeDef, unknown>;
|
|
359
|
+
/** @internal */
|
|
360
|
+
export type EndpointsListInputCacheRead$Outbound = number | string | any;
|
|
361
|
+
/** @internal */
|
|
362
|
+
export declare const EndpointsListInputCacheRead$outboundSchema: z.ZodType<EndpointsListInputCacheRead$Outbound, z.ZodTypeDef, EndpointsListInputCacheRead>;
|
|
363
|
+
/**
|
|
364
|
+
* @internal
|
|
365
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
366
|
+
*/
|
|
367
|
+
export declare namespace EndpointsListInputCacheRead$ {
|
|
368
|
+
/** @deprecated use `EndpointsListInputCacheRead$inboundSchema` instead. */
|
|
369
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
370
|
+
/** @deprecated use `EndpointsListInputCacheRead$outboundSchema` instead. */
|
|
371
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
372
|
+
/** @deprecated use `EndpointsListInputCacheRead$Outbound` instead. */
|
|
373
|
+
type Outbound = EndpointsListInputCacheRead$Outbound;
|
|
374
|
+
}
|
|
375
|
+
export declare function endpointsListInputCacheReadToJSON(endpointsListInputCacheRead: EndpointsListInputCacheRead): string;
|
|
376
|
+
export declare function endpointsListInputCacheReadFromJSON(jsonString: string): SafeParseResult<EndpointsListInputCacheRead, SDKValidationError>;
|
|
377
|
+
/** @internal */
|
|
378
|
+
export declare const EndpointsListInputCacheWrite$inboundSchema: z.ZodType<EndpointsListInputCacheWrite, z.ZodTypeDef, unknown>;
|
|
379
|
+
/** @internal */
|
|
380
|
+
export type EndpointsListInputCacheWrite$Outbound = number | string | any;
|
|
381
|
+
/** @internal */
|
|
382
|
+
export declare const EndpointsListInputCacheWrite$outboundSchema: z.ZodType<EndpointsListInputCacheWrite$Outbound, z.ZodTypeDef, EndpointsListInputCacheWrite>;
|
|
383
|
+
/**
|
|
384
|
+
* @internal
|
|
385
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
386
|
+
*/
|
|
387
|
+
export declare namespace EndpointsListInputCacheWrite$ {
|
|
388
|
+
/** @deprecated use `EndpointsListInputCacheWrite$inboundSchema` instead. */
|
|
389
|
+
const inboundSchema: z.ZodType<any, z.ZodTypeDef, unknown>;
|
|
390
|
+
/** @deprecated use `EndpointsListInputCacheWrite$outboundSchema` instead. */
|
|
391
|
+
const outboundSchema: z.ZodType<any, z.ZodTypeDef, any>;
|
|
392
|
+
/** @deprecated use `EndpointsListInputCacheWrite$Outbound` instead. */
|
|
393
|
+
type Outbound = EndpointsListInputCacheWrite$Outbound;
|
|
394
|
+
}
|
|
395
|
+
export declare function endpointsListInputCacheWriteToJSON(endpointsListInputCacheWrite: EndpointsListInputCacheWrite): string;
|
|
396
|
+
export declare function endpointsListInputCacheWriteFromJSON(jsonString: string): SafeParseResult<EndpointsListInputCacheWrite, SDKValidationError>;
|
|
397
|
+
/** @internal */
|
|
398
|
+
export declare const EndpointsListPricing$inboundSchema: z.ZodType<EndpointsListPricing, z.ZodTypeDef, unknown>;
|
|
399
|
+
/** @internal */
|
|
400
|
+
export type EndpointsListPricing$Outbound = {
|
|
401
|
+
prompt?: number | string | any | undefined;
|
|
402
|
+
completion?: number | string | any | undefined;
|
|
403
|
+
request?: number | string | any | undefined;
|
|
404
|
+
image?: number | string | any | undefined;
|
|
405
|
+
image_output?: number | string | any | undefined;
|
|
406
|
+
audio?: number | string | any | undefined;
|
|
407
|
+
input_audio_cache?: number | string | any | undefined;
|
|
408
|
+
web_search?: number | string | any | undefined;
|
|
409
|
+
internal_reasoning?: number | string | any | undefined;
|
|
410
|
+
input_cache_read?: number | string | any | undefined;
|
|
411
|
+
input_cache_write?: number | string | any | undefined;
|
|
412
|
+
discount?: number | undefined;
|
|
413
|
+
};
|
|
414
|
+
/** @internal */
|
|
415
|
+
export declare const EndpointsListPricing$outboundSchema: z.ZodType<EndpointsListPricing$Outbound, z.ZodTypeDef, EndpointsListPricing>;
|
|
416
|
+
/**
|
|
417
|
+
* @internal
|
|
418
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
419
|
+
*/
|
|
420
|
+
export declare namespace EndpointsListPricing$ {
|
|
421
|
+
/** @deprecated use `EndpointsListPricing$inboundSchema` instead. */
|
|
422
|
+
const inboundSchema: z.ZodType<EndpointsListPricing, z.ZodTypeDef, unknown>;
|
|
423
|
+
/** @deprecated use `EndpointsListPricing$outboundSchema` instead. */
|
|
424
|
+
const outboundSchema: z.ZodType<EndpointsListPricing$Outbound, z.ZodTypeDef, EndpointsListPricing>;
|
|
425
|
+
/** @deprecated use `EndpointsListPricing$Outbound` instead. */
|
|
426
|
+
type Outbound = EndpointsListPricing$Outbound;
|
|
427
|
+
}
|
|
428
|
+
export declare function endpointsListPricingToJSON(endpointsListPricing: EndpointsListPricing): string;
|
|
429
|
+
export declare function endpointsListPricingFromJSON(jsonString: string): SafeParseResult<EndpointsListPricing, SDKValidationError>;
|
|
430
|
+
/** @internal */
|
|
431
|
+
export declare const ProviderName$inboundSchema: z.ZodNativeEnum<typeof ProviderName>;
|
|
432
|
+
/** @internal */
|
|
433
|
+
export declare const ProviderName$outboundSchema: z.ZodNativeEnum<typeof ProviderName>;
|
|
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 ProviderName$ {
|
|
439
|
+
/** @deprecated use `ProviderName$inboundSchema` instead. */
|
|
440
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
441
|
+
readonly AnyScale: "AnyScale";
|
|
442
|
+
readonly CentML: "Cent-ML";
|
|
443
|
+
readonly HuggingFace: "HuggingFace";
|
|
444
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
445
|
+
readonly Lepton: "Lepton";
|
|
446
|
+
readonly Lynn2: "Lynn 2";
|
|
447
|
+
readonly Lynn: "Lynn";
|
|
448
|
+
readonly Mancer: "Mancer";
|
|
449
|
+
readonly Modal: "Modal";
|
|
450
|
+
readonly OctoAI: "OctoAI";
|
|
451
|
+
readonly Recursal: "Recursal";
|
|
452
|
+
readonly Reflection: "Reflection";
|
|
453
|
+
readonly Replicate: "Replicate";
|
|
454
|
+
readonly SambaNova2: "SambaNova 2";
|
|
455
|
+
readonly SFCompute: "SF Compute";
|
|
456
|
+
readonly Together2: "Together 2";
|
|
457
|
+
readonly OneDotAI: "01.AI";
|
|
458
|
+
readonly Ai21: "AI21";
|
|
459
|
+
readonly AionLabs: "AionLabs";
|
|
460
|
+
readonly Alibaba: "Alibaba";
|
|
461
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
462
|
+
readonly Anthropic: "Anthropic";
|
|
463
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
464
|
+
readonly Atoma: "Atoma";
|
|
465
|
+
readonly Avian: "Avian";
|
|
466
|
+
readonly Azure: "Azure";
|
|
467
|
+
readonly BaseTen: "BaseTen";
|
|
468
|
+
readonly Cerebras: "Cerebras";
|
|
469
|
+
readonly Chutes: "Chutes";
|
|
470
|
+
readonly Cloudflare: "Cloudflare";
|
|
471
|
+
readonly Cohere: "Cohere";
|
|
472
|
+
readonly CrofAI: "CrofAI";
|
|
473
|
+
readonly Crusoe: "Crusoe";
|
|
474
|
+
readonly DeepInfra: "DeepInfra";
|
|
475
|
+
readonly DeepSeek: "DeepSeek";
|
|
476
|
+
readonly Enfer: "Enfer";
|
|
477
|
+
readonly Featherless: "Featherless";
|
|
478
|
+
readonly Fireworks: "Fireworks";
|
|
479
|
+
readonly Friendli: "Friendli";
|
|
480
|
+
readonly GMICloud: "GMICloud";
|
|
481
|
+
readonly Google: "Google";
|
|
482
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
483
|
+
readonly Groq: "Groq";
|
|
484
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
485
|
+
readonly Inception: "Inception";
|
|
486
|
+
readonly InferenceNet: "InferenceNet";
|
|
487
|
+
readonly Infermatic: "Infermatic";
|
|
488
|
+
readonly Inflection: "Inflection";
|
|
489
|
+
readonly InoCloud: "InoCloud";
|
|
490
|
+
readonly Kluster: "Kluster";
|
|
491
|
+
readonly Lambda: "Lambda";
|
|
492
|
+
readonly Liquid: "Liquid";
|
|
493
|
+
readonly Mancer2: "Mancer 2";
|
|
494
|
+
readonly Meta: "Meta";
|
|
495
|
+
readonly Minimax: "Minimax";
|
|
496
|
+
readonly Mistral: "Mistral";
|
|
497
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
498
|
+
readonly Morph: "Morph";
|
|
499
|
+
readonly NCompass: "NCompass";
|
|
500
|
+
readonly Nebius: "Nebius";
|
|
501
|
+
readonly NextBit: "NextBit";
|
|
502
|
+
readonly Nineteen: "Nineteen";
|
|
503
|
+
readonly Novita: "Novita";
|
|
504
|
+
readonly Nvidia: "Nvidia";
|
|
505
|
+
readonly OpenAI: "OpenAI";
|
|
506
|
+
readonly OpenInference: "OpenInference";
|
|
507
|
+
readonly Parasail: "Parasail";
|
|
508
|
+
readonly Perplexity: "Perplexity";
|
|
509
|
+
readonly Phala: "Phala";
|
|
510
|
+
readonly Relace: "Relace";
|
|
511
|
+
readonly SambaNova: "SambaNova";
|
|
512
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
513
|
+
readonly Stealth: "Stealth";
|
|
514
|
+
readonly Switchpoint: "Switchpoint";
|
|
515
|
+
readonly Targon: "Targon";
|
|
516
|
+
readonly Together: "Together";
|
|
517
|
+
readonly Ubicloud: "Ubicloud";
|
|
518
|
+
readonly Venice: "Venice";
|
|
519
|
+
readonly WandB: "WandB";
|
|
520
|
+
readonly XAI: "xAI";
|
|
521
|
+
readonly ZAi: "Z.AI";
|
|
522
|
+
readonly FakeProvider: "FakeProvider";
|
|
523
|
+
}>;
|
|
524
|
+
/** @deprecated use `ProviderName$outboundSchema` instead. */
|
|
525
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
526
|
+
readonly AnyScale: "AnyScale";
|
|
527
|
+
readonly CentML: "Cent-ML";
|
|
528
|
+
readonly HuggingFace: "HuggingFace";
|
|
529
|
+
readonly Hyperbolic2: "Hyperbolic 2";
|
|
530
|
+
readonly Lepton: "Lepton";
|
|
531
|
+
readonly Lynn2: "Lynn 2";
|
|
532
|
+
readonly Lynn: "Lynn";
|
|
533
|
+
readonly Mancer: "Mancer";
|
|
534
|
+
readonly Modal: "Modal";
|
|
535
|
+
readonly OctoAI: "OctoAI";
|
|
536
|
+
readonly Recursal: "Recursal";
|
|
537
|
+
readonly Reflection: "Reflection";
|
|
538
|
+
readonly Replicate: "Replicate";
|
|
539
|
+
readonly SambaNova2: "SambaNova 2";
|
|
540
|
+
readonly SFCompute: "SF Compute";
|
|
541
|
+
readonly Together2: "Together 2";
|
|
542
|
+
readonly OneDotAI: "01.AI";
|
|
543
|
+
readonly Ai21: "AI21";
|
|
544
|
+
readonly AionLabs: "AionLabs";
|
|
545
|
+
readonly Alibaba: "Alibaba";
|
|
546
|
+
readonly AmazonBedrock: "Amazon Bedrock";
|
|
547
|
+
readonly Anthropic: "Anthropic";
|
|
548
|
+
readonly AtlasCloud: "AtlasCloud";
|
|
549
|
+
readonly Atoma: "Atoma";
|
|
550
|
+
readonly Avian: "Avian";
|
|
551
|
+
readonly Azure: "Azure";
|
|
552
|
+
readonly BaseTen: "BaseTen";
|
|
553
|
+
readonly Cerebras: "Cerebras";
|
|
554
|
+
readonly Chutes: "Chutes";
|
|
555
|
+
readonly Cloudflare: "Cloudflare";
|
|
556
|
+
readonly Cohere: "Cohere";
|
|
557
|
+
readonly CrofAI: "CrofAI";
|
|
558
|
+
readonly Crusoe: "Crusoe";
|
|
559
|
+
readonly DeepInfra: "DeepInfra";
|
|
560
|
+
readonly DeepSeek: "DeepSeek";
|
|
561
|
+
readonly Enfer: "Enfer";
|
|
562
|
+
readonly Featherless: "Featherless";
|
|
563
|
+
readonly Fireworks: "Fireworks";
|
|
564
|
+
readonly Friendli: "Friendli";
|
|
565
|
+
readonly GMICloud: "GMICloud";
|
|
566
|
+
readonly Google: "Google";
|
|
567
|
+
readonly GoogleAIStudio: "Google AI Studio";
|
|
568
|
+
readonly Groq: "Groq";
|
|
569
|
+
readonly Hyperbolic: "Hyperbolic";
|
|
570
|
+
readonly Inception: "Inception";
|
|
571
|
+
readonly InferenceNet: "InferenceNet";
|
|
572
|
+
readonly Infermatic: "Infermatic";
|
|
573
|
+
readonly Inflection: "Inflection";
|
|
574
|
+
readonly InoCloud: "InoCloud";
|
|
575
|
+
readonly Kluster: "Kluster";
|
|
576
|
+
readonly Lambda: "Lambda";
|
|
577
|
+
readonly Liquid: "Liquid";
|
|
578
|
+
readonly Mancer2: "Mancer 2";
|
|
579
|
+
readonly Meta: "Meta";
|
|
580
|
+
readonly Minimax: "Minimax";
|
|
581
|
+
readonly Mistral: "Mistral";
|
|
582
|
+
readonly MoonshotAI: "Moonshot AI";
|
|
583
|
+
readonly Morph: "Morph";
|
|
584
|
+
readonly NCompass: "NCompass";
|
|
585
|
+
readonly Nebius: "Nebius";
|
|
586
|
+
readonly NextBit: "NextBit";
|
|
587
|
+
readonly Nineteen: "Nineteen";
|
|
588
|
+
readonly Novita: "Novita";
|
|
589
|
+
readonly Nvidia: "Nvidia";
|
|
590
|
+
readonly OpenAI: "OpenAI";
|
|
591
|
+
readonly OpenInference: "OpenInference";
|
|
592
|
+
readonly Parasail: "Parasail";
|
|
593
|
+
readonly Perplexity: "Perplexity";
|
|
594
|
+
readonly Phala: "Phala";
|
|
595
|
+
readonly Relace: "Relace";
|
|
596
|
+
readonly SambaNova: "SambaNova";
|
|
597
|
+
readonly SiliconFlow: "SiliconFlow";
|
|
598
|
+
readonly Stealth: "Stealth";
|
|
599
|
+
readonly Switchpoint: "Switchpoint";
|
|
600
|
+
readonly Targon: "Targon";
|
|
601
|
+
readonly Together: "Together";
|
|
602
|
+
readonly Ubicloud: "Ubicloud";
|
|
603
|
+
readonly Venice: "Venice";
|
|
604
|
+
readonly WandB: "WandB";
|
|
605
|
+
readonly XAI: "xAI";
|
|
606
|
+
readonly ZAi: "Z.AI";
|
|
607
|
+
readonly FakeProvider: "FakeProvider";
|
|
608
|
+
}>;
|
|
609
|
+
}
|
|
610
|
+
/** @internal */
|
|
611
|
+
export declare const EndpointsListQuantization$inboundSchema: z.ZodNativeEnum<typeof EndpointsListQuantization>;
|
|
612
|
+
/** @internal */
|
|
613
|
+
export declare const EndpointsListQuantization$outboundSchema: z.ZodNativeEnum<typeof EndpointsListQuantization>;
|
|
614
|
+
/**
|
|
615
|
+
* @internal
|
|
616
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
617
|
+
*/
|
|
618
|
+
export declare namespace EndpointsListQuantization$ {
|
|
619
|
+
/** @deprecated use `EndpointsListQuantization$inboundSchema` instead. */
|
|
620
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
621
|
+
readonly Int4: "int4";
|
|
622
|
+
readonly Int8: "int8";
|
|
623
|
+
readonly Fp4: "fp4";
|
|
624
|
+
readonly Fp6: "fp6";
|
|
625
|
+
readonly Fp8: "fp8";
|
|
626
|
+
readonly Fp16: "fp16";
|
|
627
|
+
readonly Bf16: "bf16";
|
|
628
|
+
readonly Fp32: "fp32";
|
|
629
|
+
readonly Unknown: "unknown";
|
|
630
|
+
}>;
|
|
631
|
+
/** @deprecated use `EndpointsListQuantization$outboundSchema` instead. */
|
|
632
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
633
|
+
readonly Int4: "int4";
|
|
634
|
+
readonly Int8: "int8";
|
|
635
|
+
readonly Fp4: "fp4";
|
|
636
|
+
readonly Fp6: "fp6";
|
|
637
|
+
readonly Fp8: "fp8";
|
|
638
|
+
readonly Fp16: "fp16";
|
|
639
|
+
readonly Bf16: "bf16";
|
|
640
|
+
readonly Fp32: "fp32";
|
|
641
|
+
readonly Unknown: "unknown";
|
|
642
|
+
}>;
|
|
643
|
+
}
|
|
644
|
+
/** @internal */
|
|
645
|
+
export declare const EndpointsListSupportedParameter$inboundSchema: z.ZodNativeEnum<typeof EndpointsListSupportedParameter>;
|
|
646
|
+
/** @internal */
|
|
647
|
+
export declare const EndpointsListSupportedParameter$outboundSchema: z.ZodNativeEnum<typeof EndpointsListSupportedParameter>;
|
|
648
|
+
/**
|
|
649
|
+
* @internal
|
|
650
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
651
|
+
*/
|
|
652
|
+
export declare namespace EndpointsListSupportedParameter$ {
|
|
653
|
+
/** @deprecated use `EndpointsListSupportedParameter$inboundSchema` instead. */
|
|
654
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
655
|
+
readonly Temperature: "temperature";
|
|
656
|
+
readonly TopP: "top_p";
|
|
657
|
+
readonly TopK: "top_k";
|
|
658
|
+
readonly MinP: "min_p";
|
|
659
|
+
readonly TopA: "top_a";
|
|
660
|
+
readonly FrequencyPenalty: "frequency_penalty";
|
|
661
|
+
readonly PresencePenalty: "presence_penalty";
|
|
662
|
+
readonly RepetitionPenalty: "repetition_penalty";
|
|
663
|
+
readonly MaxTokens: "max_tokens";
|
|
664
|
+
readonly LogitBias: "logit_bias";
|
|
665
|
+
readonly Logprobs: "logprobs";
|
|
666
|
+
readonly TopLogprobs: "top_logprobs";
|
|
667
|
+
readonly Seed: "seed";
|
|
668
|
+
readonly ResponseFormat: "response_format";
|
|
669
|
+
readonly StructuredOutputs: "structured_outputs";
|
|
670
|
+
readonly Stop: "stop";
|
|
671
|
+
readonly Tools: "tools";
|
|
672
|
+
readonly ToolChoice: "tool_choice";
|
|
673
|
+
readonly ParallelToolCalls: "parallel_tool_calls";
|
|
674
|
+
readonly IncludeReasoning: "include_reasoning";
|
|
675
|
+
readonly Reasoning: "reasoning";
|
|
676
|
+
readonly WebSearchOptions: "web_search_options";
|
|
677
|
+
readonly Verbosity: "verbosity";
|
|
678
|
+
}>;
|
|
679
|
+
/** @deprecated use `EndpointsListSupportedParameter$outboundSchema` instead. */
|
|
680
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
681
|
+
readonly Temperature: "temperature";
|
|
682
|
+
readonly TopP: "top_p";
|
|
683
|
+
readonly TopK: "top_k";
|
|
684
|
+
readonly MinP: "min_p";
|
|
685
|
+
readonly TopA: "top_a";
|
|
686
|
+
readonly FrequencyPenalty: "frequency_penalty";
|
|
687
|
+
readonly PresencePenalty: "presence_penalty";
|
|
688
|
+
readonly RepetitionPenalty: "repetition_penalty";
|
|
689
|
+
readonly MaxTokens: "max_tokens";
|
|
690
|
+
readonly LogitBias: "logit_bias";
|
|
691
|
+
readonly Logprobs: "logprobs";
|
|
692
|
+
readonly TopLogprobs: "top_logprobs";
|
|
693
|
+
readonly Seed: "seed";
|
|
694
|
+
readonly ResponseFormat: "response_format";
|
|
695
|
+
readonly StructuredOutputs: "structured_outputs";
|
|
696
|
+
readonly Stop: "stop";
|
|
697
|
+
readonly Tools: "tools";
|
|
698
|
+
readonly ToolChoice: "tool_choice";
|
|
699
|
+
readonly ParallelToolCalls: "parallel_tool_calls";
|
|
700
|
+
readonly IncludeReasoning: "include_reasoning";
|
|
701
|
+
readonly Reasoning: "reasoning";
|
|
702
|
+
readonly WebSearchOptions: "web_search_options";
|
|
703
|
+
readonly Verbosity: "verbosity";
|
|
704
|
+
}>;
|
|
705
|
+
}
|
|
706
|
+
/** @internal */
|
|
707
|
+
export declare const EndpointsListStatus$inboundSchema: z.ZodNativeEnum<typeof EndpointsListStatus>;
|
|
708
|
+
/** @internal */
|
|
709
|
+
export declare const EndpointsListStatus$outboundSchema: z.ZodNativeEnum<typeof EndpointsListStatus>;
|
|
710
|
+
/**
|
|
711
|
+
* @internal
|
|
712
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
713
|
+
*/
|
|
714
|
+
export declare namespace EndpointsListStatus$ {
|
|
715
|
+
/** @deprecated use `EndpointsListStatus$inboundSchema` instead. */
|
|
716
|
+
const inboundSchema: z.ZodNativeEnum<{
|
|
717
|
+
readonly Zero: 0;
|
|
718
|
+
readonly Minus1: -1;
|
|
719
|
+
readonly Minus2: -2;
|
|
720
|
+
readonly Minus3: -3;
|
|
721
|
+
readonly Minus5: -5;
|
|
722
|
+
readonly Minus10: -10;
|
|
723
|
+
}>;
|
|
724
|
+
/** @deprecated use `EndpointsListStatus$outboundSchema` instead. */
|
|
725
|
+
const outboundSchema: z.ZodNativeEnum<{
|
|
726
|
+
readonly Zero: 0;
|
|
727
|
+
readonly Minus1: -1;
|
|
728
|
+
readonly Minus2: -2;
|
|
729
|
+
readonly Minus3: -3;
|
|
730
|
+
readonly Minus5: -5;
|
|
731
|
+
readonly Minus10: -10;
|
|
732
|
+
}>;
|
|
733
|
+
}
|
|
734
|
+
/** @internal */
|
|
735
|
+
export declare const EndpointsList$inboundSchema: z.ZodType<EndpointsList, z.ZodTypeDef, unknown>;
|
|
736
|
+
/** @internal */
|
|
737
|
+
export type EndpointsList$Outbound = {
|
|
738
|
+
name: string;
|
|
739
|
+
model_name: string;
|
|
740
|
+
context_length: number;
|
|
741
|
+
pricing: EndpointsListPricing$Outbound;
|
|
742
|
+
provider_name: string;
|
|
743
|
+
tag: string;
|
|
744
|
+
quantization: string | null;
|
|
745
|
+
max_completion_tokens: number | null;
|
|
746
|
+
max_prompt_tokens: number | null;
|
|
747
|
+
supported_parameters: Array<string>;
|
|
748
|
+
status?: number | undefined;
|
|
749
|
+
uptime_last_30m: number | null;
|
|
750
|
+
supports_implicit_caching: boolean;
|
|
751
|
+
};
|
|
752
|
+
/** @internal */
|
|
753
|
+
export declare const EndpointsList$outboundSchema: z.ZodType<EndpointsList$Outbound, z.ZodTypeDef, EndpointsList>;
|
|
754
|
+
/**
|
|
755
|
+
* @internal
|
|
756
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
757
|
+
*/
|
|
758
|
+
export declare namespace EndpointsList$ {
|
|
759
|
+
/** @deprecated use `EndpointsList$inboundSchema` instead. */
|
|
760
|
+
const inboundSchema: z.ZodType<EndpointsList, z.ZodTypeDef, unknown>;
|
|
761
|
+
/** @deprecated use `EndpointsList$outboundSchema` instead. */
|
|
762
|
+
const outboundSchema: z.ZodType<EndpointsList$Outbound, z.ZodTypeDef, EndpointsList>;
|
|
763
|
+
/** @deprecated use `EndpointsList$Outbound` instead. */
|
|
764
|
+
type Outbound = EndpointsList$Outbound;
|
|
765
|
+
}
|
|
766
|
+
export declare function endpointsListToJSON(endpointsList: EndpointsList): string;
|
|
767
|
+
export declare function endpointsListFromJSON(jsonString: string): SafeParseResult<EndpointsList, SDKValidationError>;
|
|
768
|
+
//# sourceMappingURL=endpointslist.d.ts.map
|