@oxy.so/contracts 5.8.0 → 6.0.0
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/dist/cjs/accountAccess.js +6 -5
- package/dist/cjs/accountEmail.js +13 -5
- package/dist/cjs/accountGraph.js +10 -9
- package/dist/cjs/accountName.js +3 -2
- package/dist/cjs/agency.js +91 -34
- package/dist/cjs/agentKeys.js +21 -17
- package/dist/cjs/appAssertions.js +14 -13
- package/dist/cjs/applicationRoles.js +19 -12
- package/dist/cjs/civic.js +10 -9
- package/dist/cjs/client/check.js +61 -53
- package/dist/cjs/consoleOnboarding.js +9 -4
- package/dist/cjs/contentClaims.js +23 -14
- package/dist/cjs/deviceDirectory.js +11 -9
- package/dist/cjs/deviceSession.js +27 -25
- package/dist/cjs/email/messages.js +20 -18
- package/dist/cjs/emailAgentContext.js +11 -9
- package/dist/cjs/externalIdentity.js +15 -11
- package/dist/cjs/federationInstanceFetch.js +12 -7
- package/dist/cjs/identity.js +19 -17
- package/dist/cjs/identityLink.js +6 -4
- package/dist/cjs/identityProof.js +6 -4
- package/dist/cjs/inboxPush.js +5 -4
- package/dist/cjs/index.js +15 -6
- package/dist/cjs/inference/accountBilling.js +35 -33
- package/dist/cjs/inference/aliaModelRelease.js +9 -7
- package/dist/cjs/inference/attribution.js +14 -12
- package/dist/cjs/inference/catalogue.js +35 -29
- package/dist/cjs/inference/economics.js +24 -19
- package/dist/cjs/inference/embeddings.js +9 -7
- package/dist/cjs/inference/entitlement.js +17 -15
- package/dist/cjs/inference/errors.js +15 -8
- package/dist/cjs/inference/identifiers.js +33 -21
- package/dist/cjs/inference/inbox.js +37 -35
- package/dist/cjs/inference/modelDocumentation.js +16 -14
- package/dist/cjs/inference/money.js +5 -4
- package/dist/cjs/inference/priceVersion.js +10 -5
- package/dist/cjs/inference/providerConnection.js +21 -14
- package/dist/cjs/inference/realtime.js +88 -47
- package/dist/cjs/inference/request.js +27 -25
- package/dist/cjs/inference/routingPolicy.js +12 -10
- package/dist/cjs/inference/streamEvents.js +22 -16
- package/dist/cjs/inference/usage.js +32 -15
- package/dist/cjs/keyRecovery.js +8 -6
- package/dist/cjs/keyRotation.js +5 -4
- package/dist/cjs/linkedAccounts.js +22 -18
- package/dist/cjs/moderationReputation.js +29 -27
- package/dist/cjs/notifications.js +25 -9
- package/dist/cjs/numberChecks.js +45 -0
- package/dist/cjs/oauth.js +14 -12
- package/dist/cjs/organizations.js +23 -21
- package/dist/cjs/products/access.js +10 -8
- package/dist/cjs/products/billing.js +10 -8
- package/dist/cjs/products/checkout.js +22 -10
- package/dist/cjs/products/plans.js +15 -10
- package/dist/cjs/protocol.js +6 -5
- package/dist/cjs/recommendations.js +27 -19
- package/dist/cjs/reputation.js +15 -13
- package/dist/cjs/safety.js +43 -27
- package/dist/cjs/serviceToken.js +81 -2
- package/dist/cjs/sessionRevocation.js +8 -6
- package/dist/cjs/signIn.js +42 -24
- package/dist/cjs/stickers.js +19 -15
- package/dist/cjs/stringChecks.js +70 -0
- package/dist/cjs/transparency.js +14 -12
- package/dist/cjs/updates.js +24 -22
- package/dist/cjs/userInvalidation.js +7 -5
- package/dist/cjs/userResponse.js +8 -7
- package/dist/cjs/username.js +7 -6
- package/dist/esm/accountAccess.js +4 -3
- package/dist/esm/accountEmail.js +13 -5
- package/dist/esm/accountGraph.js +8 -7
- package/dist/esm/accountName.js +3 -2
- package/dist/esm/agency.js +90 -33
- package/dist/esm/agentKeys.js +21 -17
- package/dist/esm/appAssertions.js +11 -10
- package/dist/esm/applicationRoles.js +16 -9
- package/dist/esm/civic.js +8 -7
- package/dist/esm/client/check.js +61 -53
- package/dist/esm/consoleOnboarding.js +7 -2
- package/dist/esm/contentClaims.js +23 -14
- package/dist/esm/deviceDirectory.js +11 -9
- package/dist/esm/deviceSession.js +27 -25
- package/dist/esm/email/messages.js +18 -16
- package/dist/esm/emailAgentContext.js +11 -9
- package/dist/esm/externalIdentity.js +15 -11
- package/dist/esm/federationInstanceFetch.js +10 -5
- package/dist/esm/identity.js +17 -15
- package/dist/esm/identityLink.js +6 -4
- package/dist/esm/identityProof.js +6 -4
- package/dist/esm/inboxPush.js +3 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/inference/accountBilling.js +33 -31
- package/dist/esm/inference/aliaModelRelease.js +7 -5
- package/dist/esm/inference/attribution.js +14 -12
- package/dist/esm/inference/catalogue.js +33 -27
- package/dist/esm/inference/economics.js +22 -17
- package/dist/esm/inference/embeddings.js +9 -7
- package/dist/esm/inference/entitlement.js +15 -13
- package/dist/esm/inference/errors.js +13 -6
- package/dist/esm/inference/identifiers.js +31 -19
- package/dist/esm/inference/inbox.js +37 -35
- package/dist/esm/inference/modelDocumentation.js +14 -12
- package/dist/esm/inference/money.js +3 -2
- package/dist/esm/inference/priceVersion.js +8 -3
- package/dist/esm/inference/providerConnection.js +19 -12
- package/dist/esm/inference/realtime.js +85 -44
- package/dist/esm/inference/request.js +25 -23
- package/dist/esm/inference/routingPolicy.js +9 -7
- package/dist/esm/inference/streamEvents.js +20 -14
- package/dist/esm/inference/usage.js +30 -13
- package/dist/esm/keyRecovery.js +8 -6
- package/dist/esm/keyRotation.js +5 -4
- package/dist/esm/linkedAccounts.js +20 -16
- package/dist/esm/moderationReputation.js +27 -25
- package/dist/esm/notifications.js +23 -7
- package/dist/esm/numberChecks.js +41 -0
- package/dist/esm/oauth.js +14 -12
- package/dist/esm/organizations.js +23 -21
- package/dist/esm/products/access.js +10 -8
- package/dist/esm/products/billing.js +10 -8
- package/dist/esm/products/checkout.js +22 -10
- package/dist/esm/products/plans.js +15 -10
- package/dist/esm/protocol.js +4 -3
- package/dist/esm/recommendations.js +25 -17
- package/dist/esm/reputation.js +13 -11
- package/dist/esm/safety.js +43 -27
- package/dist/esm/serviceToken.js +80 -1
- package/dist/esm/sessionRevocation.js +6 -4
- package/dist/esm/signIn.js +42 -24
- package/dist/esm/stickers.js +17 -13
- package/dist/esm/stringChecks.js +63 -0
- package/dist/esm/transparency.js +14 -12
- package/dist/esm/updates.js +22 -20
- package/dist/esm/userInvalidation.js +4 -2
- package/dist/esm/userResponse.js +4 -3
- package/dist/esm/username.js +3 -2
- package/dist/types/accountAccess.d.ts +29 -70
- package/dist/types/accountEmail.d.ts +2 -14
- package/dist/types/accountGraph.d.ts +179 -171
- package/dist/types/accountName.d.ts +1 -1
- package/dist/types/accountSubject.d.ts +20 -93
- package/dist/types/agency.d.ts +528 -2924
- package/dist/types/agentKeys.d.ts +48 -421
- package/dist/types/appAssertions.d.ts +56 -210
- package/dist/types/applicationRoles.d.ts +30 -276
- package/dist/types/avatarCharacter.d.ts +1 -1
- package/dist/types/civic.d.ts +1 -13
- package/dist/types/client/agentKeys.d.ts +18 -18
- package/dist/types/client/appAssertions.d.ts +3 -3
- package/dist/types/client/check.d.ts +13 -13
- package/dist/types/client/deviceDirectory.d.ts +51 -51
- package/dist/types/client/deviceSession.d.ts +14 -14
- package/dist/types/client/organizations.d.ts +25 -25
- package/dist/types/client/products.d.ts +33 -33
- package/dist/types/client/recommendations.d.ts +2 -2
- package/dist/types/client/safety.d.ts +45 -45
- package/dist/types/client/sessionStatus.d.ts +4 -4
- package/dist/types/client/signIn.d.ts +1 -1
- package/dist/types/commonsSignIn.d.ts +4 -1
- package/dist/types/consoleOnboarding.d.ts +24 -44
- package/dist/types/contentClaims.d.ts +24 -180
- package/dist/types/deviceDirectory.d.ts +109 -1040
- package/dist/types/deviceSession.d.ts +36 -298
- package/dist/types/email/messages.d.ts +212 -1793
- package/dist/types/emailAgentContext.d.ts +10 -194
- package/dist/types/externalIdentity.d.ts +121 -615
- package/dist/types/federationInstanceFetch.d.ts +3 -32
- package/dist/types/identity.d.ts +15 -92
- package/dist/types/identityLink.d.ts +6 -84
- package/dist/types/identityProof.d.ts +5 -17
- package/dist/types/inboxPush.d.ts +1 -9
- package/dist/types/index.d.ts +5 -3
- package/dist/types/inference/accountBilling.d.ts +151 -488
- package/dist/types/inference/aliaModelRelease.d.ts +42 -439
- package/dist/types/inference/attribution.d.ts +75 -104
- package/dist/types/inference/catalogue.d.ts +417 -1599
- package/dist/types/inference/economics.d.ts +69 -276
- package/dist/types/inference/embeddings.d.ts +110 -406
- package/dist/types/inference/entitlement.d.ts +80 -335
- package/dist/types/inference/errors.d.ts +90 -102
- package/dist/types/inference/identifiers.d.ts +12 -4
- package/dist/types/inference/inbox.d.ts +105 -420
- package/dist/types/inference/modelDocumentation.d.ts +201 -1390
- package/dist/types/inference/money.d.ts +65 -32
- package/dist/types/inference/priceVersion.d.ts +53 -120
- package/dist/types/inference/providerConnection.d.ts +253 -710
- package/dist/types/inference/realtime.d.ts +954 -6825
- package/dist/types/inference/request.d.ts +300 -2572
- package/dist/types/inference/routingPolicy.d.ts +95 -503
- package/dist/types/inference/streamEvents.d.ts +253 -721
- package/dist/types/inference/usage.d.ts +317 -950
- package/dist/types/keyRecovery.d.ts +3 -51
- package/dist/types/keyRotation.d.ts +3 -38
- package/dist/types/linkedAccounts.d.ts +50 -236
- package/dist/types/moderationReputation.d.ts +81 -14
- package/dist/types/notifications.d.ts +19 -51
- package/dist/types/numberChecks.d.ts +9 -0
- package/dist/types/oauth.d.ts +101 -809
- package/dist/types/organizations.d.ts +268 -921
- package/dist/types/oxyRecordTypes.d.ts +11 -1
- package/dist/types/products/access.d.ts +125 -775
- package/dist/types/products/billing.d.ts +67 -503
- package/dist/types/products/checkout.d.ts +16 -69
- package/dist/types/products/plans.d.ts +33 -366
- package/dist/types/recommendations.d.ts +76 -389
- package/dist/types/reputation.d.ts +37 -5
- package/dist/types/safety.d.ts +408 -2048
- package/dist/types/serviceToken.d.ts +247 -7
- package/dist/types/sessionRevocation.d.ts +2 -17
- package/dist/types/sessionStatus.d.ts +27 -115
- package/dist/types/signIn.d.ts +53 -553
- package/dist/types/stickers.d.ts +67 -819
- package/dist/types/stringChecks.d.ts +16 -0
- package/dist/types/transparency.d.ts +14 -302
- package/dist/types/updates.d.ts +60 -316
- package/dist/types/userInvalidation.d.ts +4 -13
- package/dist/types/userResponse.d.ts +302 -2400
- package/dist/types/username.d.ts +3 -3
- package/package.json +2 -2
|
@@ -28,9 +28,22 @@
|
|
|
28
28
|
*/
|
|
29
29
|
import { z } from 'zod';
|
|
30
30
|
/** Input/request modalities; structured decisions are an output, never an input. */
|
|
31
|
-
export declare const inferenceModalitySchema: z.ZodEnum<
|
|
31
|
+
export declare const inferenceModalitySchema: z.ZodEnum<{
|
|
32
|
+
image: "image";
|
|
33
|
+
embedding: "embedding";
|
|
34
|
+
text: "text";
|
|
35
|
+
audio: "audio";
|
|
36
|
+
video: "video";
|
|
37
|
+
}>;
|
|
32
38
|
/** Declared model outputs, separate from request/input modalities. */
|
|
33
|
-
export declare const inferenceOutputModalitySchema: z.ZodEnum<
|
|
39
|
+
export declare const inferenceOutputModalitySchema: z.ZodEnum<{
|
|
40
|
+
image: "image";
|
|
41
|
+
embedding: "embedding";
|
|
42
|
+
text: "text";
|
|
43
|
+
audio: "audio";
|
|
44
|
+
video: "video";
|
|
45
|
+
decisions: "decisions";
|
|
46
|
+
}>;
|
|
34
47
|
/**
|
|
35
48
|
* How hard a reasoning model is asked to think before it answers.
|
|
36
49
|
*
|
|
@@ -39,7 +52,11 @@ export declare const inferenceOutputModalitySchema: z.ZodEnum<["text", "image",
|
|
|
39
52
|
* `modelCapabilitiesSchema.reasoningEfforts`, and Oxy refuses a request for an
|
|
40
53
|
* effort the resolved model does not advertise rather than dropping it.
|
|
41
54
|
*/
|
|
42
|
-
export declare const reasoningEffortSchema: z.ZodEnum<
|
|
55
|
+
export declare const reasoningEffortSchema: z.ZodEnum<{
|
|
56
|
+
low: "low";
|
|
57
|
+
medium: "medium";
|
|
58
|
+
high: "high";
|
|
59
|
+
}>;
|
|
43
60
|
/**
|
|
44
61
|
* A POWER LEVEL: the public name of a product-preset routing profile that asks
|
|
45
62
|
* Oxy to choose a model by capability tier instead of naming one (contract set
|
|
@@ -57,14 +74,28 @@ export declare const reasoningEffortSchema: z.ZodEnum<["low", "medium", "high"]>
|
|
|
57
74
|
* A power level is a routing profile, never a model: its slug has no `/`, and
|
|
58
75
|
* the response always reports the concrete model that ran.
|
|
59
76
|
*/
|
|
60
|
-
export declare const powerLevelSchema: z.ZodEnum<
|
|
77
|
+
export declare const powerLevelSchema: z.ZodEnum<{
|
|
78
|
+
medium: "medium";
|
|
79
|
+
high: "high";
|
|
80
|
+
auto: "auto";
|
|
81
|
+
instant: "instant";
|
|
82
|
+
xhigh: "xhigh";
|
|
83
|
+
pro: "pro";
|
|
84
|
+
ultra: "ultra";
|
|
85
|
+
}>;
|
|
61
86
|
/**
|
|
62
87
|
* The reviewed capability tier of one MODEL, which power levels choose from.
|
|
63
88
|
* `xhigh` and `auto` are not classes: `xhigh` runs `high`-class models at a
|
|
64
89
|
* higher effort, and `auto` chooses a level. Reviewed catalogue data with a
|
|
65
90
|
* cited public benchmark source — never inferred from a model's name.
|
|
66
91
|
*/
|
|
67
|
-
export declare const modelPowerClassSchema: z.ZodEnum<
|
|
92
|
+
export declare const modelPowerClassSchema: z.ZodEnum<{
|
|
93
|
+
medium: "medium";
|
|
94
|
+
high: "high";
|
|
95
|
+
instant: "instant";
|
|
96
|
+
pro: "pro";
|
|
97
|
+
ultra: "ultra";
|
|
98
|
+
}>;
|
|
68
99
|
/**
|
|
69
100
|
* The public dialects a request can arrive in — `client.apiFormat` on the
|
|
70
101
|
* envelope, and the list a deployment declares it can execute.
|
|
@@ -73,7 +104,17 @@ export declare const modelPowerClassSchema: z.ZodEnum<["instant", "medium", "hig
|
|
|
73
104
|
* two uses cannot drift: a capability naming a dialect the envelope cannot
|
|
74
105
|
* carry, or the reverse, would authorize a request no route can serve.
|
|
75
106
|
*/
|
|
76
|
-
export declare const inferenceApiFormatSchema: z.ZodEnum<
|
|
107
|
+
export declare const inferenceApiFormatSchema: z.ZodEnum<{
|
|
108
|
+
embeddings: "embeddings";
|
|
109
|
+
decisions: "decisions";
|
|
110
|
+
responses: "responses";
|
|
111
|
+
chat_completions: "chat_completions";
|
|
112
|
+
images_generations: "images_generations";
|
|
113
|
+
audio_transcriptions: "audio_transcriptions";
|
|
114
|
+
audio_speech: "audio_speech";
|
|
115
|
+
rerank: "rerank";
|
|
116
|
+
batches: "batches";
|
|
117
|
+
}>;
|
|
77
118
|
/**
|
|
78
119
|
* What a realtime session is FOR. The three are different upstream products
|
|
79
120
|
* with different event families and different metering, not options of one:
|
|
@@ -84,179 +125,105 @@ export declare const inferenceApiFormatSchema: z.ZodEnum<["responses", "chat_com
|
|
|
84
125
|
* transcribes committed input audio.
|
|
85
126
|
* - `translation` — live speech-to-speech translation into one target language.
|
|
86
127
|
*/
|
|
87
|
-
export declare const realtimeSessionKindSchema: z.ZodEnum<
|
|
128
|
+
export declare const realtimeSessionKindSchema: z.ZodEnum<{
|
|
129
|
+
conversation: "conversation";
|
|
130
|
+
transcription: "transcription";
|
|
131
|
+
translation: "translation";
|
|
132
|
+
}>;
|
|
88
133
|
/**
|
|
89
134
|
* How a realtime session is carried. One member today: a WebSocket, whose every
|
|
90
135
|
* frame is one JSON message (see `realtime.ts`). WebRTC and SIP are separate
|
|
91
136
|
* transports with separate media handling, and are added as members only when a
|
|
92
137
|
* deployment can actually execute them.
|
|
93
138
|
*/
|
|
94
|
-
export declare const realtimeSessionTransportSchema: z.ZodEnum<
|
|
139
|
+
export declare const realtimeSessionTransportSchema: z.ZodEnum<{
|
|
140
|
+
websocket: "websocket";
|
|
141
|
+
}>;
|
|
95
142
|
/**
|
|
96
143
|
* What a deployment can execute as a realtime session. Present only on a model
|
|
97
144
|
* that holds sessions; absent means it holds none, which is the state of every
|
|
98
145
|
* catalogue written before contract set 3.2.0.
|
|
99
146
|
*/
|
|
100
147
|
export declare const modelRealtimeCapabilitiesSchema: z.ZodObject<{
|
|
101
|
-
transports: z.ZodArray<z.ZodEnum<
|
|
102
|
-
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}>;
|
|
148
|
+
transports: z.ZodArray<z.ZodEnum<{
|
|
149
|
+
websocket: "websocket";
|
|
150
|
+
}>>;
|
|
151
|
+
sessionKinds: z.ZodArray<z.ZodEnum<{
|
|
152
|
+
conversation: "conversation";
|
|
153
|
+
transcription: "transcription";
|
|
154
|
+
translation: "translation";
|
|
155
|
+
}>>;
|
|
156
|
+
}, z.core.$strict>;
|
|
110
157
|
/**
|
|
111
158
|
* What a model can do, in the terms a caller has to decide against before
|
|
112
159
|
* sending a request: can it call tools, does it accept images, will it honour a
|
|
113
160
|
* JSON schema, how much context does it take, how much can it emit.
|
|
114
161
|
*/
|
|
115
|
-
export declare const modelCapabilitiesSchema: z.
|
|
116
|
-
inputModalities: z.ZodArray<z.ZodEnum<
|
|
117
|
-
|
|
162
|
+
export declare const modelCapabilitiesSchema: z.ZodObject<{
|
|
163
|
+
inputModalities: z.ZodArray<z.ZodEnum<{
|
|
164
|
+
image: "image";
|
|
165
|
+
embedding: "embedding";
|
|
166
|
+
text: "text";
|
|
167
|
+
audio: "audio";
|
|
168
|
+
video: "video";
|
|
169
|
+
}>>;
|
|
170
|
+
outputModalities: z.ZodArray<z.ZodEnum<{
|
|
171
|
+
image: "image";
|
|
172
|
+
embedding: "embedding";
|
|
173
|
+
text: "text";
|
|
174
|
+
audio: "audio";
|
|
175
|
+
video: "video";
|
|
176
|
+
decisions: "decisions";
|
|
177
|
+
}>>;
|
|
118
178
|
tools: z.ZodBoolean;
|
|
119
179
|
parallelToolCalls: z.ZodBoolean;
|
|
120
180
|
structuredOutput: z.ZodBoolean;
|
|
121
181
|
jsonMode: z.ZodBoolean;
|
|
122
182
|
reasoning: z.ZodBoolean;
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
*/
|
|
129
|
-
reasoningEfforts: z.ZodDefault<z.ZodArray<z.ZodEnum<["low", "medium", "high"]>, "many">>;
|
|
183
|
+
reasoningEfforts: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
184
|
+
low: "low";
|
|
185
|
+
medium: "medium";
|
|
186
|
+
high: "high";
|
|
187
|
+
}>>>;
|
|
130
188
|
streaming: z.ZodBoolean;
|
|
131
189
|
promptCaching: z.ZodBoolean;
|
|
132
190
|
maxContextTokens: z.ZodNumber;
|
|
133
191
|
maxOutputTokens: z.ZodNumber;
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
* declaration (audio output on `chat_completions`, a realtime session).
|
|
146
|
-
*/
|
|
147
|
-
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
148
|
-
/** Realtime sessions this model holds; absent means none. Contract set 3.2.0. */
|
|
192
|
+
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
193
|
+
embeddings: "embeddings";
|
|
194
|
+
decisions: "decisions";
|
|
195
|
+
responses: "responses";
|
|
196
|
+
chat_completions: "chat_completions";
|
|
197
|
+
images_generations: "images_generations";
|
|
198
|
+
audio_transcriptions: "audio_transcriptions";
|
|
199
|
+
audio_speech: "audio_speech";
|
|
200
|
+
rerank: "rerank";
|
|
201
|
+
batches: "batches";
|
|
202
|
+
}>>>;
|
|
149
203
|
realtime: z.ZodOptional<z.ZodObject<{
|
|
150
|
-
transports: z.ZodArray<z.ZodEnum<
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}>>;
|
|
159
|
-
},
|
|
160
|
-
tools: boolean;
|
|
161
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
162
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
163
|
-
parallelToolCalls: boolean;
|
|
164
|
-
structuredOutput: boolean;
|
|
165
|
-
jsonMode: boolean;
|
|
166
|
-
reasoning: boolean;
|
|
167
|
-
reasoningEfforts: ("low" | "medium" | "high")[];
|
|
168
|
-
streaming: boolean;
|
|
169
|
-
promptCaching: boolean;
|
|
170
|
-
maxContextTokens: number;
|
|
171
|
-
maxOutputTokens: number;
|
|
172
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
173
|
-
realtime?: {
|
|
174
|
-
transports: "websocket"[];
|
|
175
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
176
|
-
} | undefined;
|
|
177
|
-
}, {
|
|
178
|
-
tools: boolean;
|
|
179
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
180
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
181
|
-
parallelToolCalls: boolean;
|
|
182
|
-
structuredOutput: boolean;
|
|
183
|
-
jsonMode: boolean;
|
|
184
|
-
reasoning: boolean;
|
|
185
|
-
streaming: boolean;
|
|
186
|
-
promptCaching: boolean;
|
|
187
|
-
maxContextTokens: number;
|
|
188
|
-
maxOutputTokens: number;
|
|
189
|
-
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
190
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
191
|
-
realtime?: {
|
|
192
|
-
transports: "websocket"[];
|
|
193
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
194
|
-
} | undefined;
|
|
195
|
-
}>, {
|
|
196
|
-
tools: boolean;
|
|
197
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
198
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
199
|
-
parallelToolCalls: boolean;
|
|
200
|
-
structuredOutput: boolean;
|
|
201
|
-
jsonMode: boolean;
|
|
202
|
-
reasoning: boolean;
|
|
203
|
-
reasoningEfforts: ("low" | "medium" | "high")[];
|
|
204
|
-
streaming: boolean;
|
|
205
|
-
promptCaching: boolean;
|
|
206
|
-
maxContextTokens: number;
|
|
207
|
-
maxOutputTokens: number;
|
|
208
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
209
|
-
realtime?: {
|
|
210
|
-
transports: "websocket"[];
|
|
211
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
212
|
-
} | undefined;
|
|
213
|
-
}, {
|
|
214
|
-
tools: boolean;
|
|
215
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
216
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
217
|
-
parallelToolCalls: boolean;
|
|
218
|
-
structuredOutput: boolean;
|
|
219
|
-
jsonMode: boolean;
|
|
220
|
-
reasoning: boolean;
|
|
221
|
-
streaming: boolean;
|
|
222
|
-
promptCaching: boolean;
|
|
223
|
-
maxContextTokens: number;
|
|
224
|
-
maxOutputTokens: number;
|
|
225
|
-
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
226
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
227
|
-
realtime?: {
|
|
228
|
-
transports: "websocket"[];
|
|
229
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
230
|
-
} | undefined;
|
|
231
|
-
}>;
|
|
204
|
+
transports: z.ZodArray<z.ZodEnum<{
|
|
205
|
+
websocket: "websocket";
|
|
206
|
+
}>>;
|
|
207
|
+
sessionKinds: z.ZodArray<z.ZodEnum<{
|
|
208
|
+
conversation: "conversation";
|
|
209
|
+
transcription: "transcription";
|
|
210
|
+
translation: "translation";
|
|
211
|
+
}>>;
|
|
212
|
+
}, z.core.$strict>>;
|
|
213
|
+
}, z.core.$strict>;
|
|
232
214
|
/**
|
|
233
215
|
* License terms, including the two questions that decide whether Oxy may serve
|
|
234
216
|
* a model to third parties at all: is commercial use permitted, and must the
|
|
235
217
|
* base model be attributed.
|
|
236
218
|
*/
|
|
237
219
|
export declare const modelLicenseSchema: z.ZodObject<{
|
|
238
|
-
/** SPDX identifier where one exists, otherwise the publisher's own name. */
|
|
239
220
|
licenseId: z.ZodString;
|
|
240
221
|
displayName: z.ZodString;
|
|
241
222
|
url: z.ZodOptional<z.ZodString>;
|
|
242
223
|
commercialUseAllowed: z.ZodBoolean;
|
|
243
224
|
requiresAttribution: z.ZodBoolean;
|
|
244
225
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
245
|
-
},
|
|
246
|
-
displayName: string;
|
|
247
|
-
licenseId: string;
|
|
248
|
-
commercialUseAllowed: boolean;
|
|
249
|
-
requiresAttribution: boolean;
|
|
250
|
-
url?: string | undefined;
|
|
251
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
252
|
-
}, {
|
|
253
|
-
displayName: string;
|
|
254
|
-
licenseId: string;
|
|
255
|
-
commercialUseAllowed: boolean;
|
|
256
|
-
requiresAttribution: boolean;
|
|
257
|
-
url?: string | undefined;
|
|
258
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
259
|
-
}>;
|
|
226
|
+
}, z.core.$strict>;
|
|
260
227
|
/**
|
|
261
228
|
* How a model came to exist.
|
|
262
229
|
*
|
|
@@ -265,165 +232,97 @@ export declare const modelLicenseSchema: z.ZodObject<{
|
|
|
265
232
|
* derived, never a third-party route wearing an Oxy name.
|
|
266
233
|
*/
|
|
267
234
|
export declare const modelProvenanceSchema: z.ZodObject<{
|
|
268
|
-
releaseKind: z.ZodEnum<
|
|
269
|
-
|
|
235
|
+
releaseKind: z.ZodEnum<{
|
|
236
|
+
first_party_original: "first_party_original";
|
|
237
|
+
first_party_derived: "first_party_derived";
|
|
238
|
+
open_weight: "open_weight";
|
|
239
|
+
third_party_hosted: "third_party_hosted";
|
|
240
|
+
}>;
|
|
270
241
|
baseModelId: z.ZodOptional<z.ZodString>;
|
|
271
242
|
trainingOrganization: z.ZodOptional<z.ZodString>;
|
|
272
|
-
},
|
|
273
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
274
|
-
baseModelId?: string | undefined;
|
|
275
|
-
trainingOrganization?: string | undefined;
|
|
276
|
-
}, {
|
|
277
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
278
|
-
baseModelId?: string | undefined;
|
|
279
|
-
trainingOrganization?: string | undefined;
|
|
280
|
-
}>;
|
|
243
|
+
}, z.core.$strict>;
|
|
281
244
|
/**
|
|
282
245
|
* What happens to the customer's prompts and responses on a given route.
|
|
283
246
|
*
|
|
284
247
|
* Every field here is enforceable by a routing policy, which is the reason they
|
|
285
248
|
* are structured rather than a prose paragraph on a docs page.
|
|
286
249
|
*/
|
|
287
|
-
export declare const inferenceDataPolicySchema: z.
|
|
250
|
+
export declare const inferenceDataPolicySchema: z.ZodObject<{
|
|
288
251
|
retainsPayloads: z.ZodBoolean;
|
|
289
|
-
/** Zero when nothing is retained. */
|
|
290
252
|
retentionDays: z.ZodNumber;
|
|
291
253
|
trainsOnCustomerData: z.ZodBoolean;
|
|
292
254
|
zeroDataRetentionAvailable: z.ZodBoolean;
|
|
293
|
-
|
|
294
|
-
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
255
|
+
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
295
256
|
policyUrl: z.ZodOptional<z.ZodString>;
|
|
296
|
-
},
|
|
297
|
-
retainsPayloads: boolean;
|
|
298
|
-
retentionDays: number;
|
|
299
|
-
trainsOnCustomerData: boolean;
|
|
300
|
-
zeroDataRetentionAvailable: boolean;
|
|
301
|
-
subprocessors: string[];
|
|
302
|
-
policyUrl?: string | undefined;
|
|
303
|
-
}, {
|
|
304
|
-
retainsPayloads: boolean;
|
|
305
|
-
retentionDays: number;
|
|
306
|
-
trainsOnCustomerData: boolean;
|
|
307
|
-
zeroDataRetentionAvailable: boolean;
|
|
308
|
-
subprocessors?: string[] | undefined;
|
|
309
|
-
policyUrl?: string | undefined;
|
|
310
|
-
}>, {
|
|
311
|
-
retainsPayloads: boolean;
|
|
312
|
-
retentionDays: number;
|
|
313
|
-
trainsOnCustomerData: boolean;
|
|
314
|
-
zeroDataRetentionAvailable: boolean;
|
|
315
|
-
subprocessors: string[];
|
|
316
|
-
policyUrl?: string | undefined;
|
|
317
|
-
}, {
|
|
318
|
-
retainsPayloads: boolean;
|
|
319
|
-
retentionDays: number;
|
|
320
|
-
trainsOnCustomerData: boolean;
|
|
321
|
-
zeroDataRetentionAvailable: boolean;
|
|
322
|
-
subprocessors?: string[] | undefined;
|
|
323
|
-
policyUrl?: string | undefined;
|
|
324
|
-
}>;
|
|
257
|
+
}, z.core.$strict>;
|
|
325
258
|
/**
|
|
326
259
|
* Who a route may be served to. Availability to an official Oxy product never
|
|
327
260
|
* implies permission to resell the same provider/model publicly, which is why
|
|
328
261
|
* this is an explicit scope on the route rather than a boolean derived from
|
|
329
262
|
* "it works".
|
|
330
263
|
*/
|
|
331
|
-
export declare const availabilityScopeSchema: z.ZodEnum<
|
|
264
|
+
export declare const availabilityScopeSchema: z.ZodEnum<{
|
|
265
|
+
platform_internal: "platform_internal";
|
|
266
|
+
public_payg: "public_payg";
|
|
267
|
+
enterprise: "enterprise";
|
|
268
|
+
byok_only: "byok_only";
|
|
269
|
+
oxy_hosted: "oxy_hosted";
|
|
270
|
+
}>;
|
|
332
271
|
/** The commercial basis on which Oxy may serve a route. */
|
|
333
|
-
export declare const commercialPermissionSchema: z.ZodEnum<
|
|
272
|
+
export declare const commercialPermissionSchema: z.ZodEnum<{
|
|
273
|
+
standard_application_use: "standard_application_use";
|
|
274
|
+
public_resale_approved: "public_resale_approved";
|
|
275
|
+
wholesale_contract: "wholesale_contract";
|
|
276
|
+
customer_byok: "customer_byok";
|
|
277
|
+
open_weight_hosting: "open_weight_hosting";
|
|
278
|
+
}>;
|
|
334
279
|
/** Deprecation state, with the replacement a customer should migrate to. */
|
|
335
|
-
export declare const modelDeprecationSchema: z.
|
|
336
|
-
status: z.ZodEnum<
|
|
280
|
+
export declare const modelDeprecationSchema: z.ZodObject<{
|
|
281
|
+
status: z.ZodEnum<{
|
|
282
|
+
deprecated: "deprecated";
|
|
283
|
+
active: "active";
|
|
284
|
+
retired: "retired";
|
|
285
|
+
}>;
|
|
337
286
|
replacementModelReference: z.ZodOptional<z.ZodString>;
|
|
338
287
|
announcedAt: z.ZodOptional<z.ZodString>;
|
|
339
288
|
sunsetAt: z.ZodOptional<z.ZodString>;
|
|
340
|
-
},
|
|
341
|
-
status: "active" | "retired" | "deprecated";
|
|
342
|
-
replacementModelReference?: string | undefined;
|
|
343
|
-
announcedAt?: string | undefined;
|
|
344
|
-
sunsetAt?: string | undefined;
|
|
345
|
-
}, {
|
|
346
|
-
status: "active" | "retired" | "deprecated";
|
|
347
|
-
replacementModelReference?: string | undefined;
|
|
348
|
-
announcedAt?: string | undefined;
|
|
349
|
-
sunsetAt?: string | undefined;
|
|
350
|
-
}>, {
|
|
351
|
-
status: "active" | "retired" | "deprecated";
|
|
352
|
-
replacementModelReference?: string | undefined;
|
|
353
|
-
announcedAt?: string | undefined;
|
|
354
|
-
sunsetAt?: string | undefined;
|
|
355
|
-
}, {
|
|
356
|
-
status: "active" | "retired" | "deprecated";
|
|
357
|
-
replacementModelReference?: string | undefined;
|
|
358
|
-
announcedAt?: string | undefined;
|
|
359
|
-
sunsetAt?: string | undefined;
|
|
360
|
-
}>;
|
|
289
|
+
}, z.core.$strict>;
|
|
361
290
|
/** One published evaluation result for a revision. */
|
|
362
291
|
export declare const modelEvaluationResultSchema: z.ZodObject<{
|
|
363
292
|
suite: z.ZodString;
|
|
364
293
|
metric: z.ZodString;
|
|
365
|
-
/** Kept as a string: an eval score is published text, not arithmetic. */
|
|
366
294
|
score: z.ZodString;
|
|
367
295
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
368
296
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
369
|
-
},
|
|
370
|
-
score: string;
|
|
371
|
-
suite: string;
|
|
372
|
-
metric: string;
|
|
373
|
-
evaluatedAt?: string | undefined;
|
|
374
|
-
reportUrl?: string | undefined;
|
|
375
|
-
}, {
|
|
376
|
-
score: string;
|
|
377
|
-
suite: string;
|
|
378
|
-
metric: string;
|
|
379
|
-
evaluatedAt?: string | undefined;
|
|
380
|
-
reportUrl?: string | undefined;
|
|
381
|
-
}>;
|
|
297
|
+
}, z.core.$strict>;
|
|
382
298
|
/**
|
|
383
299
|
* Safety metadata a downstream developer needs, and the EU AI Act / GPAI
|
|
384
300
|
* documentation trail expects to find beside a served model.
|
|
385
301
|
*/
|
|
386
302
|
export declare const modelSafetyMetadataSchema: z.ZodObject<{
|
|
387
303
|
safetyCardUrl: z.ZodOptional<z.ZodString>;
|
|
388
|
-
contentFilteringDefault: z.ZodEnum<
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
knownLimitations?: string[] | undefined;
|
|
402
|
-
}>;
|
|
304
|
+
contentFilteringDefault: z.ZodEnum<{
|
|
305
|
+
none: "none";
|
|
306
|
+
strict: "strict";
|
|
307
|
+
provider_default: "provider_default";
|
|
308
|
+
}>;
|
|
309
|
+
knownLimitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
310
|
+
provenanceMarking: z.ZodEnum<{
|
|
311
|
+
none: "none";
|
|
312
|
+
visible_watermark: "visible_watermark";
|
|
313
|
+
invisible_watermark: "invisible_watermark";
|
|
314
|
+
c2pa: "c2pa";
|
|
315
|
+
}>;
|
|
316
|
+
}, z.core.$strict>;
|
|
403
317
|
/** Who released a model. Never a provider, and never a routing profile. */
|
|
404
318
|
export declare const modelPublisherSchema: z.ZodObject<{
|
|
405
|
-
/** See `version.ts`: served on its own by the catalogue, so it is versioned. */
|
|
406
319
|
schemaVersion: z.ZodLiteral<1>;
|
|
407
320
|
publisherId: z.ZodString;
|
|
408
321
|
slug: z.ZodString;
|
|
409
322
|
displayName: z.ZodString;
|
|
410
323
|
description: z.ZodOptional<z.ZodString>;
|
|
411
324
|
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
412
|
-
},
|
|
413
|
-
displayName: string;
|
|
414
|
-
schemaVersion: 1;
|
|
415
|
-
publisherId: string;
|
|
416
|
-
slug: string;
|
|
417
|
-
websiteUrl?: string | undefined;
|
|
418
|
-
description?: string | undefined;
|
|
419
|
-
}, {
|
|
420
|
-
displayName: string;
|
|
421
|
-
schemaVersion: 1;
|
|
422
|
-
publisherId: string;
|
|
423
|
-
slug: string;
|
|
424
|
-
websiteUrl?: string | undefined;
|
|
425
|
-
description?: string | undefined;
|
|
426
|
-
}>;
|
|
325
|
+
}, z.core.$strip>;
|
|
427
326
|
/**
|
|
428
327
|
* A model: the long-lived product identity `<publisher>/<model>`.
|
|
429
328
|
*
|
|
@@ -431,391 +330,97 @@ export declare const modelPublisherSchema: z.ZodObject<{
|
|
|
431
330
|
* to a DEPLOYMENT, because the same model is served on several routes whose
|
|
432
331
|
* answers to those questions differ.
|
|
433
332
|
*/
|
|
434
|
-
export declare const catalogueModelSchema: z.
|
|
435
|
-
/** See `version.ts`: served on its own by the catalogue, so it is versioned. */
|
|
333
|
+
export declare const catalogueModelSchema: z.ZodObject<{
|
|
436
334
|
schemaVersion: z.ZodLiteral<1>;
|
|
437
335
|
modelId: z.ZodString;
|
|
438
336
|
publisher: z.ZodString;
|
|
439
337
|
slug: z.ZodString;
|
|
440
338
|
displayName: z.ZodString;
|
|
441
339
|
description: z.ZodOptional<z.ZodString>;
|
|
442
|
-
capabilities: z.
|
|
443
|
-
inputModalities: z.ZodArray<z.ZodEnum<
|
|
444
|
-
|
|
340
|
+
capabilities: z.ZodObject<{
|
|
341
|
+
inputModalities: z.ZodArray<z.ZodEnum<{
|
|
342
|
+
image: "image";
|
|
343
|
+
embedding: "embedding";
|
|
344
|
+
text: "text";
|
|
345
|
+
audio: "audio";
|
|
346
|
+
video: "video";
|
|
347
|
+
}>>;
|
|
348
|
+
outputModalities: z.ZodArray<z.ZodEnum<{
|
|
349
|
+
image: "image";
|
|
350
|
+
embedding: "embedding";
|
|
351
|
+
text: "text";
|
|
352
|
+
audio: "audio";
|
|
353
|
+
video: "video";
|
|
354
|
+
decisions: "decisions";
|
|
355
|
+
}>>;
|
|
445
356
|
tools: z.ZodBoolean;
|
|
446
357
|
parallelToolCalls: z.ZodBoolean;
|
|
447
358
|
structuredOutput: z.ZodBoolean;
|
|
448
359
|
jsonMode: z.ZodBoolean;
|
|
449
360
|
reasoning: z.ZodBoolean;
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
*/
|
|
456
|
-
reasoningEfforts: z.ZodDefault<z.ZodArray<z.ZodEnum<["low", "medium", "high"]>, "many">>;
|
|
361
|
+
reasoningEfforts: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
362
|
+
low: "low";
|
|
363
|
+
medium: "medium";
|
|
364
|
+
high: "high";
|
|
365
|
+
}>>>;
|
|
457
366
|
streaming: z.ZodBoolean;
|
|
458
367
|
promptCaching: z.ZodBoolean;
|
|
459
368
|
maxContextTokens: z.ZodNumber;
|
|
460
369
|
maxOutputTokens: z.ZodNumber;
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
* declaration (audio output on `chat_completions`, a realtime session).
|
|
473
|
-
*/
|
|
474
|
-
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
475
|
-
/** Realtime sessions this model holds; absent means none. Contract set 3.2.0. */
|
|
370
|
+
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
371
|
+
embeddings: "embeddings";
|
|
372
|
+
decisions: "decisions";
|
|
373
|
+
responses: "responses";
|
|
374
|
+
chat_completions: "chat_completions";
|
|
375
|
+
images_generations: "images_generations";
|
|
376
|
+
audio_transcriptions: "audio_transcriptions";
|
|
377
|
+
audio_speech: "audio_speech";
|
|
378
|
+
rerank: "rerank";
|
|
379
|
+
batches: "batches";
|
|
380
|
+
}>>>;
|
|
476
381
|
realtime: z.ZodOptional<z.ZodObject<{
|
|
477
|
-
transports: z.ZodArray<z.ZodEnum<
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
}>>;
|
|
486
|
-
},
|
|
487
|
-
tools: boolean;
|
|
488
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
489
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
490
|
-
parallelToolCalls: boolean;
|
|
491
|
-
structuredOutput: boolean;
|
|
492
|
-
jsonMode: boolean;
|
|
493
|
-
reasoning: boolean;
|
|
494
|
-
reasoningEfforts: ("low" | "medium" | "high")[];
|
|
495
|
-
streaming: boolean;
|
|
496
|
-
promptCaching: boolean;
|
|
497
|
-
maxContextTokens: number;
|
|
498
|
-
maxOutputTokens: number;
|
|
499
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
500
|
-
realtime?: {
|
|
501
|
-
transports: "websocket"[];
|
|
502
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
503
|
-
} | undefined;
|
|
504
|
-
}, {
|
|
505
|
-
tools: boolean;
|
|
506
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
507
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
508
|
-
parallelToolCalls: boolean;
|
|
509
|
-
structuredOutput: boolean;
|
|
510
|
-
jsonMode: boolean;
|
|
511
|
-
reasoning: boolean;
|
|
512
|
-
streaming: boolean;
|
|
513
|
-
promptCaching: boolean;
|
|
514
|
-
maxContextTokens: number;
|
|
515
|
-
maxOutputTokens: number;
|
|
516
|
-
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
517
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
518
|
-
realtime?: {
|
|
519
|
-
transports: "websocket"[];
|
|
520
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
521
|
-
} | undefined;
|
|
522
|
-
}>, {
|
|
523
|
-
tools: boolean;
|
|
524
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
525
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
526
|
-
parallelToolCalls: boolean;
|
|
527
|
-
structuredOutput: boolean;
|
|
528
|
-
jsonMode: boolean;
|
|
529
|
-
reasoning: boolean;
|
|
530
|
-
reasoningEfforts: ("low" | "medium" | "high")[];
|
|
531
|
-
streaming: boolean;
|
|
532
|
-
promptCaching: boolean;
|
|
533
|
-
maxContextTokens: number;
|
|
534
|
-
maxOutputTokens: number;
|
|
535
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
536
|
-
realtime?: {
|
|
537
|
-
transports: "websocket"[];
|
|
538
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
539
|
-
} | undefined;
|
|
540
|
-
}, {
|
|
541
|
-
tools: boolean;
|
|
542
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
543
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
544
|
-
parallelToolCalls: boolean;
|
|
545
|
-
structuredOutput: boolean;
|
|
546
|
-
jsonMode: boolean;
|
|
547
|
-
reasoning: boolean;
|
|
548
|
-
streaming: boolean;
|
|
549
|
-
promptCaching: boolean;
|
|
550
|
-
maxContextTokens: number;
|
|
551
|
-
maxOutputTokens: number;
|
|
552
|
-
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
553
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
554
|
-
realtime?: {
|
|
555
|
-
transports: "websocket"[];
|
|
556
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
557
|
-
} | undefined;
|
|
558
|
-
}>;
|
|
382
|
+
transports: z.ZodArray<z.ZodEnum<{
|
|
383
|
+
websocket: "websocket";
|
|
384
|
+
}>>;
|
|
385
|
+
sessionKinds: z.ZodArray<z.ZodEnum<{
|
|
386
|
+
conversation: "conversation";
|
|
387
|
+
transcription: "transcription";
|
|
388
|
+
translation: "translation";
|
|
389
|
+
}>>;
|
|
390
|
+
}, z.core.$strict>>;
|
|
391
|
+
}, z.core.$strict>;
|
|
559
392
|
license: z.ZodObject<{
|
|
560
|
-
/** SPDX identifier where one exists, otherwise the publisher's own name. */
|
|
561
393
|
licenseId: z.ZodString;
|
|
562
394
|
displayName: z.ZodString;
|
|
563
395
|
url: z.ZodOptional<z.ZodString>;
|
|
564
396
|
commercialUseAllowed: z.ZodBoolean;
|
|
565
397
|
requiresAttribution: z.ZodBoolean;
|
|
566
398
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
567
|
-
},
|
|
568
|
-
displayName: string;
|
|
569
|
-
licenseId: string;
|
|
570
|
-
commercialUseAllowed: boolean;
|
|
571
|
-
requiresAttribution: boolean;
|
|
572
|
-
url?: string | undefined;
|
|
573
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
574
|
-
}, {
|
|
575
|
-
displayName: string;
|
|
576
|
-
licenseId: string;
|
|
577
|
-
commercialUseAllowed: boolean;
|
|
578
|
-
requiresAttribution: boolean;
|
|
579
|
-
url?: string | undefined;
|
|
580
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
581
|
-
}>;
|
|
399
|
+
}, z.core.$strict>;
|
|
582
400
|
provenance: z.ZodObject<{
|
|
583
|
-
releaseKind: z.ZodEnum<
|
|
584
|
-
|
|
401
|
+
releaseKind: z.ZodEnum<{
|
|
402
|
+
first_party_original: "first_party_original";
|
|
403
|
+
first_party_derived: "first_party_derived";
|
|
404
|
+
open_weight: "open_weight";
|
|
405
|
+
third_party_hosted: "third_party_hosted";
|
|
406
|
+
}>;
|
|
585
407
|
baseModelId: z.ZodOptional<z.ZodString>;
|
|
586
408
|
trainingOrganization: z.ZodOptional<z.ZodString>;
|
|
587
|
-
},
|
|
588
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
589
|
-
baseModelId?: string | undefined;
|
|
590
|
-
trainingOrganization?: string | undefined;
|
|
591
|
-
}, {
|
|
592
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
593
|
-
baseModelId?: string | undefined;
|
|
594
|
-
trainingOrganization?: string | undefined;
|
|
595
|
-
}>;
|
|
409
|
+
}, z.core.$strict>;
|
|
596
410
|
knowledgeCutoff: z.ZodOptional<z.ZodString>;
|
|
597
411
|
releasedOn: z.ZodOptional<z.ZodString>;
|
|
598
|
-
/** The revision served when a caller names the model without pinning one. */
|
|
599
412
|
currentRevision: z.ZodString;
|
|
600
|
-
deprecation: z.
|
|
601
|
-
status: z.ZodEnum<
|
|
413
|
+
deprecation: z.ZodObject<{
|
|
414
|
+
status: z.ZodEnum<{
|
|
415
|
+
deprecated: "deprecated";
|
|
416
|
+
active: "active";
|
|
417
|
+
retired: "retired";
|
|
418
|
+
}>;
|
|
602
419
|
replacementModelReference: z.ZodOptional<z.ZodString>;
|
|
603
420
|
announcedAt: z.ZodOptional<z.ZodString>;
|
|
604
421
|
sunsetAt: z.ZodOptional<z.ZodString>;
|
|
605
|
-
},
|
|
606
|
-
|
|
607
|
-
replacementModelReference?: string | undefined;
|
|
608
|
-
announcedAt?: string | undefined;
|
|
609
|
-
sunsetAt?: string | undefined;
|
|
610
|
-
}, {
|
|
611
|
-
status: "active" | "retired" | "deprecated";
|
|
612
|
-
replacementModelReference?: string | undefined;
|
|
613
|
-
announcedAt?: string | undefined;
|
|
614
|
-
sunsetAt?: string | undefined;
|
|
615
|
-
}>, {
|
|
616
|
-
status: "active" | "retired" | "deprecated";
|
|
617
|
-
replacementModelReference?: string | undefined;
|
|
618
|
-
announcedAt?: string | undefined;
|
|
619
|
-
sunsetAt?: string | undefined;
|
|
620
|
-
}, {
|
|
621
|
-
status: "active" | "retired" | "deprecated";
|
|
622
|
-
replacementModelReference?: string | undefined;
|
|
623
|
-
announcedAt?: string | undefined;
|
|
624
|
-
sunsetAt?: string | undefined;
|
|
625
|
-
}>;
|
|
626
|
-
}, "strip", z.ZodTypeAny, {
|
|
627
|
-
displayName: string;
|
|
628
|
-
schemaVersion: 1;
|
|
629
|
-
capabilities: {
|
|
630
|
-
tools: boolean;
|
|
631
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
632
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
633
|
-
parallelToolCalls: boolean;
|
|
634
|
-
structuredOutput: boolean;
|
|
635
|
-
jsonMode: boolean;
|
|
636
|
-
reasoning: boolean;
|
|
637
|
-
reasoningEfforts: ("low" | "medium" | "high")[];
|
|
638
|
-
streaming: boolean;
|
|
639
|
-
promptCaching: boolean;
|
|
640
|
-
maxContextTokens: number;
|
|
641
|
-
maxOutputTokens: number;
|
|
642
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
643
|
-
realtime?: {
|
|
644
|
-
transports: "websocket"[];
|
|
645
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
646
|
-
} | undefined;
|
|
647
|
-
};
|
|
648
|
-
slug: string;
|
|
649
|
-
modelId: string;
|
|
650
|
-
publisher: string;
|
|
651
|
-
license: {
|
|
652
|
-
displayName: string;
|
|
653
|
-
licenseId: string;
|
|
654
|
-
commercialUseAllowed: boolean;
|
|
655
|
-
requiresAttribution: boolean;
|
|
656
|
-
url?: string | undefined;
|
|
657
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
658
|
-
};
|
|
659
|
-
provenance: {
|
|
660
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
661
|
-
baseModelId?: string | undefined;
|
|
662
|
-
trainingOrganization?: string | undefined;
|
|
663
|
-
};
|
|
664
|
-
currentRevision: string;
|
|
665
|
-
deprecation: {
|
|
666
|
-
status: "active" | "retired" | "deprecated";
|
|
667
|
-
replacementModelReference?: string | undefined;
|
|
668
|
-
announcedAt?: string | undefined;
|
|
669
|
-
sunsetAt?: string | undefined;
|
|
670
|
-
};
|
|
671
|
-
description?: string | undefined;
|
|
672
|
-
knowledgeCutoff?: string | undefined;
|
|
673
|
-
releasedOn?: string | undefined;
|
|
674
|
-
}, {
|
|
675
|
-
displayName: string;
|
|
676
|
-
schemaVersion: 1;
|
|
677
|
-
capabilities: {
|
|
678
|
-
tools: boolean;
|
|
679
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
680
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
681
|
-
parallelToolCalls: boolean;
|
|
682
|
-
structuredOutput: boolean;
|
|
683
|
-
jsonMode: boolean;
|
|
684
|
-
reasoning: boolean;
|
|
685
|
-
streaming: boolean;
|
|
686
|
-
promptCaching: boolean;
|
|
687
|
-
maxContextTokens: number;
|
|
688
|
-
maxOutputTokens: number;
|
|
689
|
-
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
690
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
691
|
-
realtime?: {
|
|
692
|
-
transports: "websocket"[];
|
|
693
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
694
|
-
} | undefined;
|
|
695
|
-
};
|
|
696
|
-
slug: string;
|
|
697
|
-
modelId: string;
|
|
698
|
-
publisher: string;
|
|
699
|
-
license: {
|
|
700
|
-
displayName: string;
|
|
701
|
-
licenseId: string;
|
|
702
|
-
commercialUseAllowed: boolean;
|
|
703
|
-
requiresAttribution: boolean;
|
|
704
|
-
url?: string | undefined;
|
|
705
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
706
|
-
};
|
|
707
|
-
provenance: {
|
|
708
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
709
|
-
baseModelId?: string | undefined;
|
|
710
|
-
trainingOrganization?: string | undefined;
|
|
711
|
-
};
|
|
712
|
-
currentRevision: string;
|
|
713
|
-
deprecation: {
|
|
714
|
-
status: "active" | "retired" | "deprecated";
|
|
715
|
-
replacementModelReference?: string | undefined;
|
|
716
|
-
announcedAt?: string | undefined;
|
|
717
|
-
sunsetAt?: string | undefined;
|
|
718
|
-
};
|
|
719
|
-
description?: string | undefined;
|
|
720
|
-
knowledgeCutoff?: string | undefined;
|
|
721
|
-
releasedOn?: string | undefined;
|
|
722
|
-
}>, {
|
|
723
|
-
displayName: string;
|
|
724
|
-
schemaVersion: 1;
|
|
725
|
-
capabilities: {
|
|
726
|
-
tools: boolean;
|
|
727
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
728
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
729
|
-
parallelToolCalls: boolean;
|
|
730
|
-
structuredOutput: boolean;
|
|
731
|
-
jsonMode: boolean;
|
|
732
|
-
reasoning: boolean;
|
|
733
|
-
reasoningEfforts: ("low" | "medium" | "high")[];
|
|
734
|
-
streaming: boolean;
|
|
735
|
-
promptCaching: boolean;
|
|
736
|
-
maxContextTokens: number;
|
|
737
|
-
maxOutputTokens: number;
|
|
738
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
739
|
-
realtime?: {
|
|
740
|
-
transports: "websocket"[];
|
|
741
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
742
|
-
} | undefined;
|
|
743
|
-
};
|
|
744
|
-
slug: string;
|
|
745
|
-
modelId: string;
|
|
746
|
-
publisher: string;
|
|
747
|
-
license: {
|
|
748
|
-
displayName: string;
|
|
749
|
-
licenseId: string;
|
|
750
|
-
commercialUseAllowed: boolean;
|
|
751
|
-
requiresAttribution: boolean;
|
|
752
|
-
url?: string | undefined;
|
|
753
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
754
|
-
};
|
|
755
|
-
provenance: {
|
|
756
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
757
|
-
baseModelId?: string | undefined;
|
|
758
|
-
trainingOrganization?: string | undefined;
|
|
759
|
-
};
|
|
760
|
-
currentRevision: string;
|
|
761
|
-
deprecation: {
|
|
762
|
-
status: "active" | "retired" | "deprecated";
|
|
763
|
-
replacementModelReference?: string | undefined;
|
|
764
|
-
announcedAt?: string | undefined;
|
|
765
|
-
sunsetAt?: string | undefined;
|
|
766
|
-
};
|
|
767
|
-
description?: string | undefined;
|
|
768
|
-
knowledgeCutoff?: string | undefined;
|
|
769
|
-
releasedOn?: string | undefined;
|
|
770
|
-
}, {
|
|
771
|
-
displayName: string;
|
|
772
|
-
schemaVersion: 1;
|
|
773
|
-
capabilities: {
|
|
774
|
-
tools: boolean;
|
|
775
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
776
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
777
|
-
parallelToolCalls: boolean;
|
|
778
|
-
structuredOutput: boolean;
|
|
779
|
-
jsonMode: boolean;
|
|
780
|
-
reasoning: boolean;
|
|
781
|
-
streaming: boolean;
|
|
782
|
-
promptCaching: boolean;
|
|
783
|
-
maxContextTokens: number;
|
|
784
|
-
maxOutputTokens: number;
|
|
785
|
-
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
786
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
787
|
-
realtime?: {
|
|
788
|
-
transports: "websocket"[];
|
|
789
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
790
|
-
} | undefined;
|
|
791
|
-
};
|
|
792
|
-
slug: string;
|
|
793
|
-
modelId: string;
|
|
794
|
-
publisher: string;
|
|
795
|
-
license: {
|
|
796
|
-
displayName: string;
|
|
797
|
-
licenseId: string;
|
|
798
|
-
commercialUseAllowed: boolean;
|
|
799
|
-
requiresAttribution: boolean;
|
|
800
|
-
url?: string | undefined;
|
|
801
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
802
|
-
};
|
|
803
|
-
provenance: {
|
|
804
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
805
|
-
baseModelId?: string | undefined;
|
|
806
|
-
trainingOrganization?: string | undefined;
|
|
807
|
-
};
|
|
808
|
-
currentRevision: string;
|
|
809
|
-
deprecation: {
|
|
810
|
-
status: "active" | "retired" | "deprecated";
|
|
811
|
-
replacementModelReference?: string | undefined;
|
|
812
|
-
announcedAt?: string | undefined;
|
|
813
|
-
sunsetAt?: string | undefined;
|
|
814
|
-
};
|
|
815
|
-
description?: string | undefined;
|
|
816
|
-
knowledgeCutoff?: string | undefined;
|
|
817
|
-
releasedOn?: string | undefined;
|
|
818
|
-
}>;
|
|
422
|
+
}, z.core.$strict>;
|
|
423
|
+
}, z.core.$strip>;
|
|
819
424
|
/**
|
|
820
425
|
* An immutable revision of a model.
|
|
821
426
|
*
|
|
@@ -824,8 +429,7 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
824
429
|
* resolves elsewhere. Evaluation and safety metadata hang here rather than on
|
|
825
430
|
* the model, because they describe specific weights.
|
|
826
431
|
*/
|
|
827
|
-
export declare const modelRevisionSchema: z.
|
|
828
|
-
/** See `version.ts`: served on its own by the catalogue, so it is versioned. */
|
|
432
|
+
export declare const modelRevisionSchema: z.ZodObject<{
|
|
829
433
|
schemaVersion: z.ZodLiteral<1>;
|
|
830
434
|
revisionId: z.ZodString;
|
|
831
435
|
modelId: z.ZodString;
|
|
@@ -833,227 +437,54 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
833
437
|
reference: z.ZodString;
|
|
834
438
|
releasedAt: z.ZodString;
|
|
835
439
|
retiredAt: z.ZodOptional<z.ZodString>;
|
|
836
|
-
/** Digest of the served artifact, where Oxy hosts the weights itself. */
|
|
837
440
|
artifactDigest: z.ZodOptional<z.ZodString>;
|
|
838
441
|
modelCardUrl: z.ZodOptional<z.ZodString>;
|
|
839
442
|
evaluations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
840
443
|
suite: z.ZodString;
|
|
841
444
|
metric: z.ZodString;
|
|
842
|
-
/** Kept as a string: an eval score is published text, not arithmetic. */
|
|
843
445
|
score: z.ZodString;
|
|
844
446
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
845
447
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
846
|
-
},
|
|
847
|
-
score: string;
|
|
848
|
-
suite: string;
|
|
849
|
-
metric: string;
|
|
850
|
-
evaluatedAt?: string | undefined;
|
|
851
|
-
reportUrl?: string | undefined;
|
|
852
|
-
}, {
|
|
853
|
-
score: string;
|
|
854
|
-
suite: string;
|
|
855
|
-
metric: string;
|
|
856
|
-
evaluatedAt?: string | undefined;
|
|
857
|
-
reportUrl?: string | undefined;
|
|
858
|
-
}>, "many">>;
|
|
448
|
+
}, z.core.$strict>>>;
|
|
859
449
|
safety: z.ZodOptional<z.ZodObject<{
|
|
860
450
|
safetyCardUrl: z.ZodOptional<z.ZodString>;
|
|
861
|
-
contentFilteringDefault: z.ZodEnum<
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
}>>;
|
|
876
|
-
}, "strip", z.ZodTypeAny, {
|
|
877
|
-
schemaVersion: 1;
|
|
878
|
-
revision: string;
|
|
879
|
-
reference: string;
|
|
880
|
-
modelId: string;
|
|
881
|
-
revisionId: string;
|
|
882
|
-
releasedAt: string;
|
|
883
|
-
evaluations: {
|
|
884
|
-
score: string;
|
|
885
|
-
suite: string;
|
|
886
|
-
metric: string;
|
|
887
|
-
evaluatedAt?: string | undefined;
|
|
888
|
-
reportUrl?: string | undefined;
|
|
889
|
-
}[];
|
|
890
|
-
retiredAt?: string | undefined;
|
|
891
|
-
artifactDigest?: string | undefined;
|
|
892
|
-
modelCardUrl?: string | undefined;
|
|
893
|
-
safety?: {
|
|
894
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
895
|
-
knownLimitations: string[];
|
|
896
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
897
|
-
safetyCardUrl?: string | undefined;
|
|
898
|
-
} | undefined;
|
|
899
|
-
}, {
|
|
900
|
-
schemaVersion: 1;
|
|
901
|
-
revision: string;
|
|
902
|
-
reference: string;
|
|
903
|
-
modelId: string;
|
|
904
|
-
revisionId: string;
|
|
905
|
-
releasedAt: string;
|
|
906
|
-
retiredAt?: string | undefined;
|
|
907
|
-
artifactDigest?: string | undefined;
|
|
908
|
-
modelCardUrl?: string | undefined;
|
|
909
|
-
evaluations?: {
|
|
910
|
-
score: string;
|
|
911
|
-
suite: string;
|
|
912
|
-
metric: string;
|
|
913
|
-
evaluatedAt?: string | undefined;
|
|
914
|
-
reportUrl?: string | undefined;
|
|
915
|
-
}[] | undefined;
|
|
916
|
-
safety?: {
|
|
917
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
918
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
919
|
-
safetyCardUrl?: string | undefined;
|
|
920
|
-
knownLimitations?: string[] | undefined;
|
|
921
|
-
} | undefined;
|
|
922
|
-
}>, {
|
|
923
|
-
schemaVersion: 1;
|
|
924
|
-
revision: string;
|
|
925
|
-
reference: string;
|
|
926
|
-
modelId: string;
|
|
927
|
-
revisionId: string;
|
|
928
|
-
releasedAt: string;
|
|
929
|
-
evaluations: {
|
|
930
|
-
score: string;
|
|
931
|
-
suite: string;
|
|
932
|
-
metric: string;
|
|
933
|
-
evaluatedAt?: string | undefined;
|
|
934
|
-
reportUrl?: string | undefined;
|
|
935
|
-
}[];
|
|
936
|
-
retiredAt?: string | undefined;
|
|
937
|
-
artifactDigest?: string | undefined;
|
|
938
|
-
modelCardUrl?: string | undefined;
|
|
939
|
-
safety?: {
|
|
940
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
941
|
-
knownLimitations: string[];
|
|
942
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
943
|
-
safetyCardUrl?: string | undefined;
|
|
944
|
-
} | undefined;
|
|
945
|
-
}, {
|
|
946
|
-
schemaVersion: 1;
|
|
947
|
-
revision: string;
|
|
948
|
-
reference: string;
|
|
949
|
-
modelId: string;
|
|
950
|
-
revisionId: string;
|
|
951
|
-
releasedAt: string;
|
|
952
|
-
retiredAt?: string | undefined;
|
|
953
|
-
artifactDigest?: string | undefined;
|
|
954
|
-
modelCardUrl?: string | undefined;
|
|
955
|
-
evaluations?: {
|
|
956
|
-
score: string;
|
|
957
|
-
suite: string;
|
|
958
|
-
metric: string;
|
|
959
|
-
evaluatedAt?: string | undefined;
|
|
960
|
-
reportUrl?: string | undefined;
|
|
961
|
-
}[] | undefined;
|
|
962
|
-
safety?: {
|
|
963
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
964
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
965
|
-
safetyCardUrl?: string | undefined;
|
|
966
|
-
knownLimitations?: string[] | undefined;
|
|
967
|
-
} | undefined;
|
|
968
|
-
}>;
|
|
451
|
+
contentFilteringDefault: z.ZodEnum<{
|
|
452
|
+
none: "none";
|
|
453
|
+
strict: "strict";
|
|
454
|
+
provider_default: "provider_default";
|
|
455
|
+
}>;
|
|
456
|
+
knownLimitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
457
|
+
provenanceMarking: z.ZodEnum<{
|
|
458
|
+
none: "none";
|
|
459
|
+
visible_watermark: "visible_watermark";
|
|
460
|
+
invisible_watermark: "invisible_watermark";
|
|
461
|
+
c2pa: "c2pa";
|
|
462
|
+
}>;
|
|
463
|
+
}, z.core.$strict>>;
|
|
464
|
+
}, z.core.$strip>;
|
|
969
465
|
/** Who runs the weights for a route. */
|
|
970
466
|
export declare const inferenceProviderSchema: z.ZodObject<{
|
|
971
|
-
/** See `version.ts`: served on its own by the catalogue, so it is versioned. */
|
|
972
467
|
schemaVersion: z.ZodLiteral<1>;
|
|
973
468
|
providerId: z.ZodString;
|
|
974
469
|
slug: z.ZodString;
|
|
975
470
|
displayName: z.ZodString;
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
471
|
+
kind: z.ZodEnum<{
|
|
472
|
+
third_party: "third_party";
|
|
473
|
+
oxy_hosted: "oxy_hosted";
|
|
474
|
+
customer_byok: "customer_byok";
|
|
475
|
+
}>;
|
|
981
476
|
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
982
477
|
statusPageUrl: z.ZodOptional<z.ZodString>;
|
|
983
|
-
regions: z.ZodDefault<z.ZodArray<z.ZodString
|
|
984
|
-
dataPolicy: z.
|
|
478
|
+
regions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
479
|
+
dataPolicy: z.ZodObject<{
|
|
985
480
|
retainsPayloads: z.ZodBoolean;
|
|
986
|
-
/** Zero when nothing is retained. */
|
|
987
481
|
retentionDays: z.ZodNumber;
|
|
988
482
|
trainsOnCustomerData: z.ZodBoolean;
|
|
989
483
|
zeroDataRetentionAvailable: z.ZodBoolean;
|
|
990
|
-
|
|
991
|
-
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
484
|
+
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
992
485
|
policyUrl: z.ZodOptional<z.ZodString>;
|
|
993
|
-
},
|
|
994
|
-
|
|
995
|
-
retentionDays: number;
|
|
996
|
-
trainsOnCustomerData: boolean;
|
|
997
|
-
zeroDataRetentionAvailable: boolean;
|
|
998
|
-
subprocessors: string[];
|
|
999
|
-
policyUrl?: string | undefined;
|
|
1000
|
-
}, {
|
|
1001
|
-
retainsPayloads: boolean;
|
|
1002
|
-
retentionDays: number;
|
|
1003
|
-
trainsOnCustomerData: boolean;
|
|
1004
|
-
zeroDataRetentionAvailable: boolean;
|
|
1005
|
-
subprocessors?: string[] | undefined;
|
|
1006
|
-
policyUrl?: string | undefined;
|
|
1007
|
-
}>, {
|
|
1008
|
-
retainsPayloads: boolean;
|
|
1009
|
-
retentionDays: number;
|
|
1010
|
-
trainsOnCustomerData: boolean;
|
|
1011
|
-
zeroDataRetentionAvailable: boolean;
|
|
1012
|
-
subprocessors: string[];
|
|
1013
|
-
policyUrl?: string | undefined;
|
|
1014
|
-
}, {
|
|
1015
|
-
retainsPayloads: boolean;
|
|
1016
|
-
retentionDays: number;
|
|
1017
|
-
trainsOnCustomerData: boolean;
|
|
1018
|
-
zeroDataRetentionAvailable: boolean;
|
|
1019
|
-
subprocessors?: string[] | undefined;
|
|
1020
|
-
policyUrl?: string | undefined;
|
|
1021
|
-
}>;
|
|
1022
|
-
}, "strip", z.ZodTypeAny, {
|
|
1023
|
-
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1024
|
-
displayName: string;
|
|
1025
|
-
schemaVersion: 1;
|
|
1026
|
-
slug: string;
|
|
1027
|
-
providerId: string;
|
|
1028
|
-
regions: string[];
|
|
1029
|
-
dataPolicy: {
|
|
1030
|
-
retainsPayloads: boolean;
|
|
1031
|
-
retentionDays: number;
|
|
1032
|
-
trainsOnCustomerData: boolean;
|
|
1033
|
-
zeroDataRetentionAvailable: boolean;
|
|
1034
|
-
subprocessors: string[];
|
|
1035
|
-
policyUrl?: string | undefined;
|
|
1036
|
-
};
|
|
1037
|
-
websiteUrl?: string | undefined;
|
|
1038
|
-
statusPageUrl?: string | undefined;
|
|
1039
|
-
}, {
|
|
1040
|
-
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1041
|
-
displayName: string;
|
|
1042
|
-
schemaVersion: 1;
|
|
1043
|
-
slug: string;
|
|
1044
|
-
providerId: string;
|
|
1045
|
-
dataPolicy: {
|
|
1046
|
-
retainsPayloads: boolean;
|
|
1047
|
-
retentionDays: number;
|
|
1048
|
-
trainsOnCustomerData: boolean;
|
|
1049
|
-
zeroDataRetentionAvailable: boolean;
|
|
1050
|
-
subprocessors?: string[] | undefined;
|
|
1051
|
-
policyUrl?: string | undefined;
|
|
1052
|
-
};
|
|
1053
|
-
websiteUrl?: string | undefined;
|
|
1054
|
-
statusPageUrl?: string | undefined;
|
|
1055
|
-
regions?: string[] | undefined;
|
|
1056
|
-
}>;
|
|
486
|
+
}, z.core.$strict>;
|
|
487
|
+
}, z.core.$strip>;
|
|
1057
488
|
/**
|
|
1058
489
|
* One concrete servable route: a revision, on a provider, with its attested
|
|
1059
490
|
* regions, data policy, availability scope and commercial permission.
|
|
@@ -1067,148 +498,48 @@ export declare const inferenceProviderSchema: z.ZodObject<{
|
|
|
1067
498
|
* moves between; moving to a deployment of a different revision or model is a
|
|
1068
499
|
* cross-model fallback and needs explicit authorization.
|
|
1069
500
|
*/
|
|
1070
|
-
export declare const modelDeploymentSchema: z.
|
|
1071
|
-
/** See `version.ts`: exchanged with the data plane on its own. */
|
|
501
|
+
export declare const modelDeploymentSchema: z.ZodObject<{
|
|
1072
502
|
schemaVersion: z.ZodLiteral<2>;
|
|
1073
503
|
deploymentId: z.ZodString;
|
|
1074
504
|
provider: z.ZodString;
|
|
1075
|
-
/** Always revision-pinned: a deployment serves specific weights. */
|
|
1076
505
|
modelReference: z.ZodString;
|
|
1077
|
-
regions: z.ZodArray<z.ZodString
|
|
1078
|
-
dataPolicy: z.
|
|
506
|
+
regions: z.ZodArray<z.ZodString>;
|
|
507
|
+
dataPolicy: z.ZodObject<{
|
|
1079
508
|
retainsPayloads: z.ZodBoolean;
|
|
1080
|
-
/** Zero when nothing is retained. */
|
|
1081
509
|
retentionDays: z.ZodNumber;
|
|
1082
510
|
trainsOnCustomerData: z.ZodBoolean;
|
|
1083
511
|
zeroDataRetentionAvailable: z.ZodBoolean;
|
|
1084
|
-
|
|
1085
|
-
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
512
|
+
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1086
513
|
policyUrl: z.ZodOptional<z.ZodString>;
|
|
1087
|
-
},
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
policyUrl?: string | undefined;
|
|
1108
|
-
}, {
|
|
1109
|
-
retainsPayloads: boolean;
|
|
1110
|
-
retentionDays: number;
|
|
1111
|
-
trainsOnCustomerData: boolean;
|
|
1112
|
-
zeroDataRetentionAvailable: boolean;
|
|
1113
|
-
subprocessors?: string[] | undefined;
|
|
1114
|
-
policyUrl?: string | undefined;
|
|
514
|
+
}, z.core.$strict>;
|
|
515
|
+
availabilityScope: z.ZodEnum<{
|
|
516
|
+
platform_internal: "platform_internal";
|
|
517
|
+
public_payg: "public_payg";
|
|
518
|
+
enterprise: "enterprise";
|
|
519
|
+
byok_only: "byok_only";
|
|
520
|
+
oxy_hosted: "oxy_hosted";
|
|
521
|
+
}>;
|
|
522
|
+
commercialPermission: z.ZodEnum<{
|
|
523
|
+
standard_application_use: "standard_application_use";
|
|
524
|
+
public_resale_approved: "public_resale_approved";
|
|
525
|
+
wholesale_contract: "wholesale_contract";
|
|
526
|
+
customer_byok: "customer_byok";
|
|
527
|
+
open_weight_hosting: "open_weight_hosting";
|
|
528
|
+
}>;
|
|
529
|
+
status: z.ZodEnum<{
|
|
530
|
+
active: "active";
|
|
531
|
+
retired: "retired";
|
|
532
|
+
disabled: "disabled";
|
|
533
|
+
degraded: "degraded";
|
|
1115
534
|
}>;
|
|
1116
|
-
availabilityScope: z.ZodEnum<["platform_internal", "public_payg", "enterprise", "byok_only", "oxy_hosted"]>;
|
|
1117
|
-
commercialPermission: z.ZodEnum<["standard_application_use", "public_resale_approved", "wholesale_contract", "customer_byok", "open_weight_hosting"]>;
|
|
1118
|
-
status: z.ZodEnum<["active", "degraded", "disabled", "retired"]>;
|
|
1119
|
-
/** Reserved capacity for one enterprise account rather than shared. */
|
|
1120
535
|
dedicatedCapacity: z.ZodBoolean;
|
|
1121
|
-
/** The price version customers are charged under on this route. */
|
|
1122
536
|
priceVersionId: z.ZodOptional<z.ZodString>;
|
|
1123
|
-
},
|
|
1124
|
-
status: "active" | "retired" | "disabled" | "degraded";
|
|
1125
|
-
schemaVersion: 2;
|
|
1126
|
-
provider: string;
|
|
1127
|
-
modelReference: string;
|
|
1128
|
-
regions: string[];
|
|
1129
|
-
dataPolicy: {
|
|
1130
|
-
retainsPayloads: boolean;
|
|
1131
|
-
retentionDays: number;
|
|
1132
|
-
trainsOnCustomerData: boolean;
|
|
1133
|
-
zeroDataRetentionAvailable: boolean;
|
|
1134
|
-
subprocessors: string[];
|
|
1135
|
-
policyUrl?: string | undefined;
|
|
1136
|
-
};
|
|
1137
|
-
deploymentId: string;
|
|
1138
|
-
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1139
|
-
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1140
|
-
dedicatedCapacity: boolean;
|
|
1141
|
-
priceVersionId?: string | undefined;
|
|
1142
|
-
}, {
|
|
1143
|
-
status: "active" | "retired" | "disabled" | "degraded";
|
|
1144
|
-
schemaVersion: 2;
|
|
1145
|
-
provider: string;
|
|
1146
|
-
modelReference: string;
|
|
1147
|
-
regions: string[];
|
|
1148
|
-
dataPolicy: {
|
|
1149
|
-
retainsPayloads: boolean;
|
|
1150
|
-
retentionDays: number;
|
|
1151
|
-
trainsOnCustomerData: boolean;
|
|
1152
|
-
zeroDataRetentionAvailable: boolean;
|
|
1153
|
-
subprocessors?: string[] | undefined;
|
|
1154
|
-
policyUrl?: string | undefined;
|
|
1155
|
-
};
|
|
1156
|
-
deploymentId: string;
|
|
1157
|
-
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1158
|
-
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1159
|
-
dedicatedCapacity: boolean;
|
|
1160
|
-
priceVersionId?: string | undefined;
|
|
1161
|
-
}>, {
|
|
1162
|
-
status: "active" | "retired" | "disabled" | "degraded";
|
|
1163
|
-
schemaVersion: 2;
|
|
1164
|
-
provider: string;
|
|
1165
|
-
modelReference: string;
|
|
1166
|
-
regions: string[];
|
|
1167
|
-
dataPolicy: {
|
|
1168
|
-
retainsPayloads: boolean;
|
|
1169
|
-
retentionDays: number;
|
|
1170
|
-
trainsOnCustomerData: boolean;
|
|
1171
|
-
zeroDataRetentionAvailable: boolean;
|
|
1172
|
-
subprocessors: string[];
|
|
1173
|
-
policyUrl?: string | undefined;
|
|
1174
|
-
};
|
|
1175
|
-
deploymentId: string;
|
|
1176
|
-
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1177
|
-
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1178
|
-
dedicatedCapacity: boolean;
|
|
1179
|
-
priceVersionId?: string | undefined;
|
|
1180
|
-
}, {
|
|
1181
|
-
status: "active" | "retired" | "disabled" | "degraded";
|
|
1182
|
-
schemaVersion: 2;
|
|
1183
|
-
provider: string;
|
|
1184
|
-
modelReference: string;
|
|
1185
|
-
regions: string[];
|
|
1186
|
-
dataPolicy: {
|
|
1187
|
-
retainsPayloads: boolean;
|
|
1188
|
-
retentionDays: number;
|
|
1189
|
-
trainsOnCustomerData: boolean;
|
|
1190
|
-
zeroDataRetentionAvailable: boolean;
|
|
1191
|
-
subprocessors?: string[] | undefined;
|
|
1192
|
-
policyUrl?: string | undefined;
|
|
1193
|
-
};
|
|
1194
|
-
deploymentId: string;
|
|
1195
|
-
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1196
|
-
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1197
|
-
dedicatedCapacity: boolean;
|
|
1198
|
-
priceVersionId?: string | undefined;
|
|
1199
|
-
}>;
|
|
537
|
+
}, z.core.$strip>;
|
|
1200
538
|
/** One candidate a profile may resolve to, and how strongly it is preferred. */
|
|
1201
539
|
export declare const routingProfileCandidateSchema: z.ZodObject<{
|
|
1202
540
|
modelReference: z.ZodString;
|
|
1203
|
-
/** Lower sorts first. Ties are broken by the profile's optimisation target. */
|
|
1204
541
|
priority: z.ZodNumber;
|
|
1205
|
-
},
|
|
1206
|
-
modelReference: string;
|
|
1207
|
-
priority: number;
|
|
1208
|
-
}, {
|
|
1209
|
-
modelReference: string;
|
|
1210
|
-
priority: number;
|
|
1211
|
-
}>;
|
|
542
|
+
}, z.core.$strict>;
|
|
1212
543
|
/**
|
|
1213
544
|
* A named strategy for choosing among routes — `auto`, `fast`, `quality`.
|
|
1214
545
|
*
|
|
@@ -1218,84 +549,44 @@ export declare const routingProfileCandidateSchema: z.ZodObject<{
|
|
|
1218
549
|
* the distinction the "never silently substituted" invariant rests on.
|
|
1219
550
|
*/
|
|
1220
551
|
export declare const routingProfileSchema: z.ZodObject<{
|
|
1221
|
-
/** See `version.ts`: served on its own by the catalogue, so it is versioned. */
|
|
1222
552
|
schemaVersion: z.ZodLiteral<1>;
|
|
1223
553
|
routingProfileId: z.ZodString;
|
|
1224
554
|
slug: z.ZodString;
|
|
1225
555
|
displayName: z.ZodString;
|
|
1226
556
|
description: z.ZodOptional<z.ZodString>;
|
|
1227
|
-
|
|
1228
|
-
|
|
557
|
+
optimiseFor: z.ZodEnum<{
|
|
558
|
+
price: "price";
|
|
559
|
+
latency: "latency";
|
|
560
|
+
throughput: "throughput";
|
|
561
|
+
quality: "quality";
|
|
562
|
+
balanced: "balanced";
|
|
563
|
+
}>;
|
|
1229
564
|
candidates: z.ZodArray<z.ZodObject<{
|
|
1230
565
|
modelReference: z.ZodString;
|
|
1231
|
-
/** Lower sorts first. Ties are broken by the profile's optimisation target. */
|
|
1232
566
|
priority: z.ZodNumber;
|
|
1233
|
-
},
|
|
1234
|
-
modelReference: string;
|
|
1235
|
-
priority: number;
|
|
1236
|
-
}, {
|
|
1237
|
-
modelReference: string;
|
|
1238
|
-
priority: number;
|
|
1239
|
-
}>, "many">;
|
|
1240
|
-
/** A product preset (Alia's "fast" toggle) rather than a customer's own profile. */
|
|
567
|
+
}, z.core.$strict>>;
|
|
1241
568
|
isProductPreset: z.ZodBoolean;
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
},
|
|
1257
|
-
displayName: string;
|
|
1258
|
-
schemaVersion: 1;
|
|
1259
|
-
slug: string;
|
|
1260
|
-
routingProfileId: string;
|
|
1261
|
-
optimiseFor: "price" | "latency" | "throughput" | "quality" | "balanced";
|
|
1262
|
-
candidates: {
|
|
1263
|
-
modelReference: string;
|
|
1264
|
-
priority: number;
|
|
1265
|
-
}[];
|
|
1266
|
-
isProductPreset: boolean;
|
|
1267
|
-
description?: string | undefined;
|
|
1268
|
-
powerLevel?: "medium" | "high" | "auto" | "instant" | "xhigh" | "pro" | "ultra" | undefined;
|
|
1269
|
-
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
1270
|
-
}, {
|
|
1271
|
-
displayName: string;
|
|
1272
|
-
schemaVersion: 1;
|
|
1273
|
-
slug: string;
|
|
1274
|
-
routingProfileId: string;
|
|
1275
|
-
optimiseFor: "price" | "latency" | "throughput" | "quality" | "balanced";
|
|
1276
|
-
candidates: {
|
|
1277
|
-
modelReference: string;
|
|
1278
|
-
priority: number;
|
|
1279
|
-
}[];
|
|
1280
|
-
isProductPreset: boolean;
|
|
1281
|
-
description?: string | undefined;
|
|
1282
|
-
powerLevel?: "medium" | "high" | "auto" | "instant" | "xhigh" | "pro" | "ultra" | undefined;
|
|
1283
|
-
reasoningEffort?: "low" | "medium" | "high" | undefined;
|
|
1284
|
-
}>;
|
|
569
|
+
powerLevel: z.ZodOptional<z.ZodEnum<{
|
|
570
|
+
medium: "medium";
|
|
571
|
+
high: "high";
|
|
572
|
+
auto: "auto";
|
|
573
|
+
instant: "instant";
|
|
574
|
+
xhigh: "xhigh";
|
|
575
|
+
pro: "pro";
|
|
576
|
+
ultra: "ultra";
|
|
577
|
+
}>>;
|
|
578
|
+
reasoningEffort: z.ZodOptional<z.ZodEnum<{
|
|
579
|
+
low: "low";
|
|
580
|
+
medium: "medium";
|
|
581
|
+
high: "high";
|
|
582
|
+
}>>;
|
|
583
|
+
}, z.core.$strip>;
|
|
1285
584
|
/** The publisher fields a customer sees beside a model. */
|
|
1286
585
|
export declare const cataloguePublisherSummarySchema: z.ZodObject<{
|
|
1287
586
|
slug: z.ZodString;
|
|
1288
587
|
displayName: z.ZodString;
|
|
1289
588
|
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
1290
|
-
},
|
|
1291
|
-
displayName: string;
|
|
1292
|
-
slug: string;
|
|
1293
|
-
websiteUrl?: string | undefined;
|
|
1294
|
-
}, {
|
|
1295
|
-
displayName: string;
|
|
1296
|
-
slug: string;
|
|
1297
|
-
websiteUrl?: string | undefined;
|
|
1298
|
-
}>;
|
|
589
|
+
}, z.core.$strict>;
|
|
1299
590
|
/**
|
|
1300
591
|
* A serving provider as a customer may see it: who ran the request and where.
|
|
1301
592
|
*
|
|
@@ -1306,70 +597,16 @@ export declare const cataloguePublisherSummarySchema: z.ZodObject<{
|
|
|
1306
597
|
export declare const catalogueServingProviderSummarySchema: z.ZodObject<{
|
|
1307
598
|
slug: z.ZodString;
|
|
1308
599
|
displayName: z.ZodString;
|
|
1309
|
-
regions: z.ZodDefault<z.ZodArray<z.ZodString
|
|
1310
|
-
dataPolicy: z.
|
|
600
|
+
regions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
601
|
+
dataPolicy: z.ZodObject<{
|
|
1311
602
|
retainsPayloads: z.ZodBoolean;
|
|
1312
|
-
/** Zero when nothing is retained. */
|
|
1313
603
|
retentionDays: z.ZodNumber;
|
|
1314
604
|
trainsOnCustomerData: z.ZodBoolean;
|
|
1315
605
|
zeroDataRetentionAvailable: z.ZodBoolean;
|
|
1316
|
-
|
|
1317
|
-
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
606
|
+
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1318
607
|
policyUrl: z.ZodOptional<z.ZodString>;
|
|
1319
|
-
},
|
|
1320
|
-
|
|
1321
|
-
retentionDays: number;
|
|
1322
|
-
trainsOnCustomerData: boolean;
|
|
1323
|
-
zeroDataRetentionAvailable: boolean;
|
|
1324
|
-
subprocessors: string[];
|
|
1325
|
-
policyUrl?: string | undefined;
|
|
1326
|
-
}, {
|
|
1327
|
-
retainsPayloads: boolean;
|
|
1328
|
-
retentionDays: number;
|
|
1329
|
-
trainsOnCustomerData: boolean;
|
|
1330
|
-
zeroDataRetentionAvailable: boolean;
|
|
1331
|
-
subprocessors?: string[] | undefined;
|
|
1332
|
-
policyUrl?: string | undefined;
|
|
1333
|
-
}>, {
|
|
1334
|
-
retainsPayloads: boolean;
|
|
1335
|
-
retentionDays: number;
|
|
1336
|
-
trainsOnCustomerData: boolean;
|
|
1337
|
-
zeroDataRetentionAvailable: boolean;
|
|
1338
|
-
subprocessors: string[];
|
|
1339
|
-
policyUrl?: string | undefined;
|
|
1340
|
-
}, {
|
|
1341
|
-
retainsPayloads: boolean;
|
|
1342
|
-
retentionDays: number;
|
|
1343
|
-
trainsOnCustomerData: boolean;
|
|
1344
|
-
zeroDataRetentionAvailable: boolean;
|
|
1345
|
-
subprocessors?: string[] | undefined;
|
|
1346
|
-
policyUrl?: string | undefined;
|
|
1347
|
-
}>;
|
|
1348
|
-
}, "strict", z.ZodTypeAny, {
|
|
1349
|
-
displayName: string;
|
|
1350
|
-
slug: string;
|
|
1351
|
-
regions: string[];
|
|
1352
|
-
dataPolicy: {
|
|
1353
|
-
retainsPayloads: boolean;
|
|
1354
|
-
retentionDays: number;
|
|
1355
|
-
trainsOnCustomerData: boolean;
|
|
1356
|
-
zeroDataRetentionAvailable: boolean;
|
|
1357
|
-
subprocessors: string[];
|
|
1358
|
-
policyUrl?: string | undefined;
|
|
1359
|
-
};
|
|
1360
|
-
}, {
|
|
1361
|
-
displayName: string;
|
|
1362
|
-
slug: string;
|
|
1363
|
-
dataPolicy: {
|
|
1364
|
-
retainsPayloads: boolean;
|
|
1365
|
-
retentionDays: number;
|
|
1366
|
-
trainsOnCustomerData: boolean;
|
|
1367
|
-
zeroDataRetentionAvailable: boolean;
|
|
1368
|
-
subprocessors?: string[] | undefined;
|
|
1369
|
-
policyUrl?: string | undefined;
|
|
1370
|
-
};
|
|
1371
|
-
regions?: string[] | undefined;
|
|
1372
|
-
}>;
|
|
608
|
+
}, z.core.$strict>;
|
|
609
|
+
}, z.core.$strict>;
|
|
1373
610
|
/**
|
|
1374
611
|
* One entry of the customer-facing catalogue (`GET /v1/models`).
|
|
1375
612
|
*
|
|
@@ -1378,613 +615,194 @@ export declare const catalogueServingProviderSummarySchema: z.ZodObject<{
|
|
|
1378
615
|
* a customer by being nested one level deeper than anybody looked.
|
|
1379
616
|
*/
|
|
1380
617
|
export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
1381
|
-
/** See `version.ts`: this is the public catalogue response shape. */
|
|
1382
618
|
schemaVersion: z.ZodLiteral<3>;
|
|
1383
619
|
modelId: z.ZodString;
|
|
1384
620
|
publisher: z.ZodObject<{
|
|
1385
621
|
slug: z.ZodString;
|
|
1386
622
|
displayName: z.ZodString;
|
|
1387
623
|
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
1388
|
-
},
|
|
1389
|
-
displayName: string;
|
|
1390
|
-
slug: string;
|
|
1391
|
-
websiteUrl?: string | undefined;
|
|
1392
|
-
}, {
|
|
1393
|
-
displayName: string;
|
|
1394
|
-
slug: string;
|
|
1395
|
-
websiteUrl?: string | undefined;
|
|
1396
|
-
}>;
|
|
624
|
+
}, z.core.$strict>;
|
|
1397
625
|
displayName: z.ZodString;
|
|
1398
626
|
description: z.ZodOptional<z.ZodString>;
|
|
1399
627
|
currentRevision: z.ZodString;
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
628
|
+
availableRevisions: z.ZodArray<z.ZodString>;
|
|
629
|
+
capabilities: z.ZodObject<{
|
|
630
|
+
inputModalities: z.ZodArray<z.ZodEnum<{
|
|
631
|
+
image: "image";
|
|
632
|
+
embedding: "embedding";
|
|
633
|
+
text: "text";
|
|
634
|
+
audio: "audio";
|
|
635
|
+
video: "video";
|
|
636
|
+
}>>;
|
|
637
|
+
outputModalities: z.ZodArray<z.ZodEnum<{
|
|
638
|
+
image: "image";
|
|
639
|
+
embedding: "embedding";
|
|
640
|
+
text: "text";
|
|
641
|
+
audio: "audio";
|
|
642
|
+
video: "video";
|
|
643
|
+
decisions: "decisions";
|
|
644
|
+
}>>;
|
|
1405
645
|
tools: z.ZodBoolean;
|
|
1406
646
|
parallelToolCalls: z.ZodBoolean;
|
|
1407
647
|
structuredOutput: z.ZodBoolean;
|
|
1408
648
|
jsonMode: z.ZodBoolean;
|
|
1409
649
|
reasoning: z.ZodBoolean;
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
*/
|
|
1416
|
-
reasoningEfforts: z.ZodDefault<z.ZodArray<z.ZodEnum<["low", "medium", "high"]>, "many">>;
|
|
650
|
+
reasoningEfforts: z.ZodDefault<z.ZodArray<z.ZodEnum<{
|
|
651
|
+
low: "low";
|
|
652
|
+
medium: "medium";
|
|
653
|
+
high: "high";
|
|
654
|
+
}>>>;
|
|
1417
655
|
streaming: z.ZodBoolean;
|
|
1418
656
|
promptCaching: z.ZodBoolean;
|
|
1419
657
|
maxContextTokens: z.ZodNumber;
|
|
1420
658
|
maxOutputTokens: z.ZodNumber;
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
* declaration (audio output on `chat_completions`, a realtime session).
|
|
1433
|
-
*/
|
|
1434
|
-
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
1435
|
-
/** Realtime sessions this model holds; absent means none. Contract set 3.2.0. */
|
|
659
|
+
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
660
|
+
embeddings: "embeddings";
|
|
661
|
+
decisions: "decisions";
|
|
662
|
+
responses: "responses";
|
|
663
|
+
chat_completions: "chat_completions";
|
|
664
|
+
images_generations: "images_generations";
|
|
665
|
+
audio_transcriptions: "audio_transcriptions";
|
|
666
|
+
audio_speech: "audio_speech";
|
|
667
|
+
rerank: "rerank";
|
|
668
|
+
batches: "batches";
|
|
669
|
+
}>>>;
|
|
1436
670
|
realtime: z.ZodOptional<z.ZodObject<{
|
|
1437
|
-
transports: z.ZodArray<z.ZodEnum<
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
}>>;
|
|
1446
|
-
},
|
|
1447
|
-
tools: boolean;
|
|
1448
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1449
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
1450
|
-
parallelToolCalls: boolean;
|
|
1451
|
-
structuredOutput: boolean;
|
|
1452
|
-
jsonMode: boolean;
|
|
1453
|
-
reasoning: boolean;
|
|
1454
|
-
reasoningEfforts: ("low" | "medium" | "high")[];
|
|
1455
|
-
streaming: boolean;
|
|
1456
|
-
promptCaching: boolean;
|
|
1457
|
-
maxContextTokens: number;
|
|
1458
|
-
maxOutputTokens: number;
|
|
1459
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1460
|
-
realtime?: {
|
|
1461
|
-
transports: "websocket"[];
|
|
1462
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1463
|
-
} | undefined;
|
|
1464
|
-
}, {
|
|
1465
|
-
tools: boolean;
|
|
1466
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1467
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
1468
|
-
parallelToolCalls: boolean;
|
|
1469
|
-
structuredOutput: boolean;
|
|
1470
|
-
jsonMode: boolean;
|
|
1471
|
-
reasoning: boolean;
|
|
1472
|
-
streaming: boolean;
|
|
1473
|
-
promptCaching: boolean;
|
|
1474
|
-
maxContextTokens: number;
|
|
1475
|
-
maxOutputTokens: number;
|
|
1476
|
-
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1477
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1478
|
-
realtime?: {
|
|
1479
|
-
transports: "websocket"[];
|
|
1480
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1481
|
-
} | undefined;
|
|
1482
|
-
}>, {
|
|
1483
|
-
tools: boolean;
|
|
1484
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1485
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
1486
|
-
parallelToolCalls: boolean;
|
|
1487
|
-
structuredOutput: boolean;
|
|
1488
|
-
jsonMode: boolean;
|
|
1489
|
-
reasoning: boolean;
|
|
1490
|
-
reasoningEfforts: ("low" | "medium" | "high")[];
|
|
1491
|
-
streaming: boolean;
|
|
1492
|
-
promptCaching: boolean;
|
|
1493
|
-
maxContextTokens: number;
|
|
1494
|
-
maxOutputTokens: number;
|
|
1495
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1496
|
-
realtime?: {
|
|
1497
|
-
transports: "websocket"[];
|
|
1498
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1499
|
-
} | undefined;
|
|
1500
|
-
}, {
|
|
1501
|
-
tools: boolean;
|
|
1502
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1503
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
1504
|
-
parallelToolCalls: boolean;
|
|
1505
|
-
structuredOutput: boolean;
|
|
1506
|
-
jsonMode: boolean;
|
|
1507
|
-
reasoning: boolean;
|
|
1508
|
-
streaming: boolean;
|
|
1509
|
-
promptCaching: boolean;
|
|
1510
|
-
maxContextTokens: number;
|
|
1511
|
-
maxOutputTokens: number;
|
|
1512
|
-
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1513
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1514
|
-
realtime?: {
|
|
1515
|
-
transports: "websocket"[];
|
|
1516
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1517
|
-
} | undefined;
|
|
1518
|
-
}>;
|
|
671
|
+
transports: z.ZodArray<z.ZodEnum<{
|
|
672
|
+
websocket: "websocket";
|
|
673
|
+
}>>;
|
|
674
|
+
sessionKinds: z.ZodArray<z.ZodEnum<{
|
|
675
|
+
conversation: "conversation";
|
|
676
|
+
transcription: "transcription";
|
|
677
|
+
translation: "translation";
|
|
678
|
+
}>>;
|
|
679
|
+
}, z.core.$strict>>;
|
|
680
|
+
}, z.core.$strict>;
|
|
1519
681
|
license: z.ZodObject<{
|
|
1520
|
-
/** SPDX identifier where one exists, otherwise the publisher's own name. */
|
|
1521
682
|
licenseId: z.ZodString;
|
|
1522
683
|
displayName: z.ZodString;
|
|
1523
684
|
url: z.ZodOptional<z.ZodString>;
|
|
1524
685
|
commercialUseAllowed: z.ZodBoolean;
|
|
1525
686
|
requiresAttribution: z.ZodBoolean;
|
|
1526
687
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
1527
|
-
},
|
|
1528
|
-
displayName: string;
|
|
1529
|
-
licenseId: string;
|
|
1530
|
-
commercialUseAllowed: boolean;
|
|
1531
|
-
requiresAttribution: boolean;
|
|
1532
|
-
url?: string | undefined;
|
|
1533
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
1534
|
-
}, {
|
|
1535
|
-
displayName: string;
|
|
1536
|
-
licenseId: string;
|
|
1537
|
-
commercialUseAllowed: boolean;
|
|
1538
|
-
requiresAttribution: boolean;
|
|
1539
|
-
url?: string | undefined;
|
|
1540
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
1541
|
-
}>;
|
|
688
|
+
}, z.core.$strict>;
|
|
1542
689
|
provenance: z.ZodObject<{
|
|
1543
|
-
releaseKind: z.ZodEnum<
|
|
1544
|
-
|
|
690
|
+
releaseKind: z.ZodEnum<{
|
|
691
|
+
first_party_original: "first_party_original";
|
|
692
|
+
first_party_derived: "first_party_derived";
|
|
693
|
+
open_weight: "open_weight";
|
|
694
|
+
third_party_hosted: "third_party_hosted";
|
|
695
|
+
}>;
|
|
1545
696
|
baseModelId: z.ZodOptional<z.ZodString>;
|
|
1546
697
|
trainingOrganization: z.ZodOptional<z.ZodString>;
|
|
1547
|
-
},
|
|
1548
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
1549
|
-
baseModelId?: string | undefined;
|
|
1550
|
-
trainingOrganization?: string | undefined;
|
|
1551
|
-
}, {
|
|
1552
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
1553
|
-
baseModelId?: string | undefined;
|
|
1554
|
-
trainingOrganization?: string | undefined;
|
|
1555
|
-
}>;
|
|
698
|
+
}, z.core.$strict>;
|
|
1556
699
|
knowledgeCutoff: z.ZodOptional<z.ZodString>;
|
|
1557
700
|
releasedOn: z.ZodOptional<z.ZodString>;
|
|
1558
|
-
/**
|
|
1559
|
-
* When the upstream provider first published this model, as that provider
|
|
1560
|
-
* reports it. Present only when a provider reported it; never an Oxy or Kaana
|
|
1561
|
-
* observation time. Lets a picker order models newest first.
|
|
1562
|
-
*/
|
|
1563
701
|
releasedAt: z.ZodOptional<z.ZodString>;
|
|
1564
|
-
regions: z.ZodDefault<z.ZodArray<z.ZodString
|
|
702
|
+
regions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1565
703
|
servingProviders: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1566
704
|
slug: z.ZodString;
|
|
1567
705
|
displayName: z.ZodString;
|
|
1568
|
-
regions: z.ZodDefault<z.ZodArray<z.ZodString
|
|
1569
|
-
dataPolicy: z.
|
|
706
|
+
regions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
707
|
+
dataPolicy: z.ZodObject<{
|
|
1570
708
|
retainsPayloads: z.ZodBoolean;
|
|
1571
|
-
/** Zero when nothing is retained. */
|
|
1572
709
|
retentionDays: z.ZodNumber;
|
|
1573
710
|
trainsOnCustomerData: z.ZodBoolean;
|
|
1574
711
|
zeroDataRetentionAvailable: z.ZodBoolean;
|
|
1575
|
-
|
|
1576
|
-
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
712
|
+
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1577
713
|
policyUrl: z.ZodOptional<z.ZodString>;
|
|
1578
|
-
},
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
trainsOnCustomerData: boolean;
|
|
1582
|
-
zeroDataRetentionAvailable: boolean;
|
|
1583
|
-
subprocessors: string[];
|
|
1584
|
-
policyUrl?: string | undefined;
|
|
1585
|
-
}, {
|
|
1586
|
-
retainsPayloads: boolean;
|
|
1587
|
-
retentionDays: number;
|
|
1588
|
-
trainsOnCustomerData: boolean;
|
|
1589
|
-
zeroDataRetentionAvailable: boolean;
|
|
1590
|
-
subprocessors?: string[] | undefined;
|
|
1591
|
-
policyUrl?: string | undefined;
|
|
1592
|
-
}>, {
|
|
1593
|
-
retainsPayloads: boolean;
|
|
1594
|
-
retentionDays: number;
|
|
1595
|
-
trainsOnCustomerData: boolean;
|
|
1596
|
-
zeroDataRetentionAvailable: boolean;
|
|
1597
|
-
subprocessors: string[];
|
|
1598
|
-
policyUrl?: string | undefined;
|
|
1599
|
-
}, {
|
|
1600
|
-
retainsPayloads: boolean;
|
|
1601
|
-
retentionDays: number;
|
|
1602
|
-
trainsOnCustomerData: boolean;
|
|
1603
|
-
zeroDataRetentionAvailable: boolean;
|
|
1604
|
-
subprocessors?: string[] | undefined;
|
|
1605
|
-
policyUrl?: string | undefined;
|
|
1606
|
-
}>;
|
|
1607
|
-
}, "strict", z.ZodTypeAny, {
|
|
1608
|
-
displayName: string;
|
|
1609
|
-
slug: string;
|
|
1610
|
-
regions: string[];
|
|
1611
|
-
dataPolicy: {
|
|
1612
|
-
retainsPayloads: boolean;
|
|
1613
|
-
retentionDays: number;
|
|
1614
|
-
trainsOnCustomerData: boolean;
|
|
1615
|
-
zeroDataRetentionAvailable: boolean;
|
|
1616
|
-
subprocessors: string[];
|
|
1617
|
-
policyUrl?: string | undefined;
|
|
1618
|
-
};
|
|
1619
|
-
}, {
|
|
1620
|
-
displayName: string;
|
|
1621
|
-
slug: string;
|
|
1622
|
-
dataPolicy: {
|
|
1623
|
-
retainsPayloads: boolean;
|
|
1624
|
-
retentionDays: number;
|
|
1625
|
-
trainsOnCustomerData: boolean;
|
|
1626
|
-
zeroDataRetentionAvailable: boolean;
|
|
1627
|
-
subprocessors?: string[] | undefined;
|
|
1628
|
-
policyUrl?: string | undefined;
|
|
1629
|
-
};
|
|
1630
|
-
regions?: string[] | undefined;
|
|
1631
|
-
}>, "many">>;
|
|
1632
|
-
dataPolicy: z.ZodEffects<z.ZodObject<{
|
|
714
|
+
}, z.core.$strict>;
|
|
715
|
+
}, z.core.$strict>>>;
|
|
716
|
+
dataPolicy: z.ZodObject<{
|
|
1633
717
|
retainsPayloads: z.ZodBoolean;
|
|
1634
|
-
/** Zero when nothing is retained. */
|
|
1635
718
|
retentionDays: z.ZodNumber;
|
|
1636
719
|
trainsOnCustomerData: z.ZodBoolean;
|
|
1637
720
|
zeroDataRetentionAvailable: z.ZodBoolean;
|
|
1638
|
-
|
|
1639
|
-
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
721
|
+
subprocessors: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1640
722
|
policyUrl: z.ZodOptional<z.ZodString>;
|
|
1641
|
-
},
|
|
1642
|
-
retainsPayloads: boolean;
|
|
1643
|
-
retentionDays: number;
|
|
1644
|
-
trainsOnCustomerData: boolean;
|
|
1645
|
-
zeroDataRetentionAvailable: boolean;
|
|
1646
|
-
subprocessors: string[];
|
|
1647
|
-
policyUrl?: string | undefined;
|
|
1648
|
-
}, {
|
|
1649
|
-
retainsPayloads: boolean;
|
|
1650
|
-
retentionDays: number;
|
|
1651
|
-
trainsOnCustomerData: boolean;
|
|
1652
|
-
zeroDataRetentionAvailable: boolean;
|
|
1653
|
-
subprocessors?: string[] | undefined;
|
|
1654
|
-
policyUrl?: string | undefined;
|
|
1655
|
-
}>, {
|
|
1656
|
-
retainsPayloads: boolean;
|
|
1657
|
-
retentionDays: number;
|
|
1658
|
-
trainsOnCustomerData: boolean;
|
|
1659
|
-
zeroDataRetentionAvailable: boolean;
|
|
1660
|
-
subprocessors: string[];
|
|
1661
|
-
policyUrl?: string | undefined;
|
|
1662
|
-
}, {
|
|
1663
|
-
retainsPayloads: boolean;
|
|
1664
|
-
retentionDays: number;
|
|
1665
|
-
trainsOnCustomerData: boolean;
|
|
1666
|
-
zeroDataRetentionAvailable: boolean;
|
|
1667
|
-
subprocessors?: string[] | undefined;
|
|
1668
|
-
policyUrl?: string | undefined;
|
|
1669
|
-
}>;
|
|
1670
|
-
/** Absent for routes a customer cannot buy per-unit (BYOK-only, internal). */
|
|
723
|
+
}, z.core.$strict>;
|
|
1671
724
|
pricing: z.ZodOptional<z.ZodObject<{
|
|
1672
725
|
priceVersionId: z.ZodString;
|
|
1673
726
|
currency: z.ZodString;
|
|
1674
727
|
unitPrices: z.ZodArray<z.ZodObject<{
|
|
1675
|
-
unit: z.ZodEnum<
|
|
1676
|
-
|
|
728
|
+
unit: z.ZodEnum<{
|
|
729
|
+
input_tokens: "input_tokens";
|
|
730
|
+
cached_input_tokens: "cached_input_tokens";
|
|
731
|
+
output_tokens: "output_tokens";
|
|
732
|
+
reasoning_tokens: "reasoning_tokens";
|
|
733
|
+
requests: "requests";
|
|
734
|
+
images: "images";
|
|
735
|
+
audio_input_milliseconds: "audio_input_milliseconds";
|
|
736
|
+
audio_output_milliseconds: "audio_output_milliseconds";
|
|
737
|
+
video_milliseconds: "video_milliseconds";
|
|
738
|
+
characters: "characters";
|
|
739
|
+
embeddings: "embeddings";
|
|
740
|
+
audio_input_tokens: "audio_input_tokens";
|
|
741
|
+
cached_audio_input_tokens: "cached_audio_input_tokens";
|
|
742
|
+
audio_output_tokens: "audio_output_tokens";
|
|
743
|
+
session_milliseconds: "session_milliseconds";
|
|
744
|
+
input_transcription_milliseconds: "input_transcription_milliseconds";
|
|
745
|
+
}>;
|
|
746
|
+
amount: z.core.$ZodBranded<z.ZodString, "ExactDecimal", "out">;
|
|
1677
747
|
per: z.ZodNumber;
|
|
1678
748
|
currency: z.ZodString;
|
|
1679
|
-
},
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
currency: string;
|
|
1695
|
-
amount: string & z.BRAND<"ExactDecimal">;
|
|
1696
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
1697
|
-
per: number;
|
|
1698
|
-
}[];
|
|
1699
|
-
}, {
|
|
1700
|
-
currency: string;
|
|
1701
|
-
priceVersionId: string;
|
|
1702
|
-
unitPrices: {
|
|
1703
|
-
currency: string;
|
|
1704
|
-
amount: string;
|
|
1705
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
1706
|
-
per: number;
|
|
1707
|
-
}[];
|
|
749
|
+
}, z.core.$strict>>;
|
|
750
|
+
}, z.core.$strict>>;
|
|
751
|
+
availabilityScope: z.ZodOptional<z.ZodEnum<{
|
|
752
|
+
platform_internal: "platform_internal";
|
|
753
|
+
public_payg: "public_payg";
|
|
754
|
+
enterprise: "enterprise";
|
|
755
|
+
byok_only: "byok_only";
|
|
756
|
+
oxy_hosted: "oxy_hosted";
|
|
757
|
+
}>>;
|
|
758
|
+
commercialPermission: z.ZodOptional<z.ZodEnum<{
|
|
759
|
+
standard_application_use: "standard_application_use";
|
|
760
|
+
public_resale_approved: "public_resale_approved";
|
|
761
|
+
wholesale_contract: "wholesale_contract";
|
|
762
|
+
customer_byok: "customer_byok";
|
|
763
|
+
open_weight_hosting: "open_weight_hosting";
|
|
1708
764
|
}>>;
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
765
|
+
deprecation: z.ZodObject<{
|
|
766
|
+
status: z.ZodEnum<{
|
|
767
|
+
deprecated: "deprecated";
|
|
768
|
+
active: "active";
|
|
769
|
+
retired: "retired";
|
|
770
|
+
}>;
|
|
1715
771
|
replacementModelReference: z.ZodOptional<z.ZodString>;
|
|
1716
772
|
announcedAt: z.ZodOptional<z.ZodString>;
|
|
1717
773
|
sunsetAt: z.ZodOptional<z.ZodString>;
|
|
1718
|
-
},
|
|
1719
|
-
status: "active" | "retired" | "deprecated";
|
|
1720
|
-
replacementModelReference?: string | undefined;
|
|
1721
|
-
announcedAt?: string | undefined;
|
|
1722
|
-
sunsetAt?: string | undefined;
|
|
1723
|
-
}, {
|
|
1724
|
-
status: "active" | "retired" | "deprecated";
|
|
1725
|
-
replacementModelReference?: string | undefined;
|
|
1726
|
-
announcedAt?: string | undefined;
|
|
1727
|
-
sunsetAt?: string | undefined;
|
|
1728
|
-
}>, {
|
|
1729
|
-
status: "active" | "retired" | "deprecated";
|
|
1730
|
-
replacementModelReference?: string | undefined;
|
|
1731
|
-
announcedAt?: string | undefined;
|
|
1732
|
-
sunsetAt?: string | undefined;
|
|
1733
|
-
}, {
|
|
1734
|
-
status: "active" | "retired" | "deprecated";
|
|
1735
|
-
replacementModelReference?: string | undefined;
|
|
1736
|
-
announcedAt?: string | undefined;
|
|
1737
|
-
sunsetAt?: string | undefined;
|
|
1738
|
-
}>;
|
|
774
|
+
}, z.core.$strict>;
|
|
1739
775
|
evaluations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1740
776
|
suite: z.ZodString;
|
|
1741
777
|
metric: z.ZodString;
|
|
1742
|
-
/** Kept as a string: an eval score is published text, not arithmetic. */
|
|
1743
778
|
score: z.ZodString;
|
|
1744
779
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
1745
780
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
1746
|
-
},
|
|
1747
|
-
score: string;
|
|
1748
|
-
suite: string;
|
|
1749
|
-
metric: string;
|
|
1750
|
-
evaluatedAt?: string | undefined;
|
|
1751
|
-
reportUrl?: string | undefined;
|
|
1752
|
-
}, {
|
|
1753
|
-
score: string;
|
|
1754
|
-
suite: string;
|
|
1755
|
-
metric: string;
|
|
1756
|
-
evaluatedAt?: string | undefined;
|
|
1757
|
-
reportUrl?: string | undefined;
|
|
1758
|
-
}>, "many">>;
|
|
781
|
+
}, z.core.$strict>>>;
|
|
1759
782
|
safety: z.ZodOptional<z.ZodObject<{
|
|
1760
783
|
safetyCardUrl: z.ZodOptional<z.ZodString>;
|
|
1761
|
-
contentFilteringDefault: z.ZodEnum<
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
knownLimitations?: string[] | undefined;
|
|
1775
|
-
}>>;
|
|
784
|
+
contentFilteringDefault: z.ZodEnum<{
|
|
785
|
+
none: "none";
|
|
786
|
+
strict: "strict";
|
|
787
|
+
provider_default: "provider_default";
|
|
788
|
+
}>;
|
|
789
|
+
knownLimitations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
790
|
+
provenanceMarking: z.ZodEnum<{
|
|
791
|
+
none: "none";
|
|
792
|
+
visible_watermark: "visible_watermark";
|
|
793
|
+
invisible_watermark: "invisible_watermark";
|
|
794
|
+
c2pa: "c2pa";
|
|
795
|
+
}>;
|
|
796
|
+
}, z.core.$strict>>;
|
|
1776
797
|
modelCardUrl: z.ZodOptional<z.ZodString>;
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
}
|
|
1784
|
-
|
|
1785
|
-
schemaVersion: 3;
|
|
1786
|
-
capabilities: {
|
|
1787
|
-
tools: boolean;
|
|
1788
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1789
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
1790
|
-
parallelToolCalls: boolean;
|
|
1791
|
-
structuredOutput: boolean;
|
|
1792
|
-
jsonMode: boolean;
|
|
1793
|
-
reasoning: boolean;
|
|
1794
|
-
reasoningEfforts: ("low" | "medium" | "high")[];
|
|
1795
|
-
streaming: boolean;
|
|
1796
|
-
promptCaching: boolean;
|
|
1797
|
-
maxContextTokens: number;
|
|
1798
|
-
maxOutputTokens: number;
|
|
1799
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1800
|
-
realtime?: {
|
|
1801
|
-
transports: "websocket"[];
|
|
1802
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1803
|
-
} | undefined;
|
|
1804
|
-
};
|
|
1805
|
-
modelId: string;
|
|
1806
|
-
publisher: {
|
|
1807
|
-
displayName: string;
|
|
1808
|
-
slug: string;
|
|
1809
|
-
websiteUrl?: string | undefined;
|
|
1810
|
-
};
|
|
1811
|
-
license: {
|
|
1812
|
-
displayName: string;
|
|
1813
|
-
licenseId: string;
|
|
1814
|
-
commercialUseAllowed: boolean;
|
|
1815
|
-
requiresAttribution: boolean;
|
|
1816
|
-
url?: string | undefined;
|
|
1817
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
1818
|
-
};
|
|
1819
|
-
provenance: {
|
|
1820
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
1821
|
-
baseModelId?: string | undefined;
|
|
1822
|
-
trainingOrganization?: string | undefined;
|
|
1823
|
-
};
|
|
1824
|
-
currentRevision: string;
|
|
1825
|
-
deprecation: {
|
|
1826
|
-
status: "active" | "retired" | "deprecated";
|
|
1827
|
-
replacementModelReference?: string | undefined;
|
|
1828
|
-
announcedAt?: string | undefined;
|
|
1829
|
-
sunsetAt?: string | undefined;
|
|
1830
|
-
};
|
|
1831
|
-
evaluations: {
|
|
1832
|
-
score: string;
|
|
1833
|
-
suite: string;
|
|
1834
|
-
metric: string;
|
|
1835
|
-
evaluatedAt?: string | undefined;
|
|
1836
|
-
reportUrl?: string | undefined;
|
|
1837
|
-
}[];
|
|
1838
|
-
regions: string[];
|
|
1839
|
-
dataPolicy: {
|
|
1840
|
-
retainsPayloads: boolean;
|
|
1841
|
-
retentionDays: number;
|
|
1842
|
-
trainsOnCustomerData: boolean;
|
|
1843
|
-
zeroDataRetentionAvailable: boolean;
|
|
1844
|
-
subprocessors: string[];
|
|
1845
|
-
policyUrl?: string | undefined;
|
|
1846
|
-
};
|
|
1847
|
-
availableRevisions: string[];
|
|
1848
|
-
servingProviders: {
|
|
1849
|
-
displayName: string;
|
|
1850
|
-
slug: string;
|
|
1851
|
-
regions: string[];
|
|
1852
|
-
dataPolicy: {
|
|
1853
|
-
retainsPayloads: boolean;
|
|
1854
|
-
retentionDays: number;
|
|
1855
|
-
trainsOnCustomerData: boolean;
|
|
1856
|
-
zeroDataRetentionAvailable: boolean;
|
|
1857
|
-
subprocessors: string[];
|
|
1858
|
-
policyUrl?: string | undefined;
|
|
1859
|
-
};
|
|
1860
|
-
}[];
|
|
1861
|
-
description?: string | undefined;
|
|
1862
|
-
knowledgeCutoff?: string | undefined;
|
|
1863
|
-
releasedOn?: string | undefined;
|
|
1864
|
-
releasedAt?: string | undefined;
|
|
1865
|
-
modelCardUrl?: string | undefined;
|
|
1866
|
-
safety?: {
|
|
1867
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
1868
|
-
knownLimitations: string[];
|
|
1869
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
1870
|
-
safetyCardUrl?: string | undefined;
|
|
1871
|
-
} | undefined;
|
|
1872
|
-
availabilityScope?: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted" | undefined;
|
|
1873
|
-
commercialPermission?: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting" | undefined;
|
|
1874
|
-
pricing?: {
|
|
1875
|
-
currency: string;
|
|
1876
|
-
priceVersionId: string;
|
|
1877
|
-
unitPrices: {
|
|
1878
|
-
currency: string;
|
|
1879
|
-
amount: string & z.BRAND<"ExactDecimal">;
|
|
1880
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
1881
|
-
per: number;
|
|
1882
|
-
}[];
|
|
1883
|
-
} | undefined;
|
|
1884
|
-
powerClass?: "medium" | "high" | "instant" | "pro" | "ultra" | undefined;
|
|
1885
|
-
}, {
|
|
1886
|
-
displayName: string;
|
|
1887
|
-
schemaVersion: 3;
|
|
1888
|
-
capabilities: {
|
|
1889
|
-
tools: boolean;
|
|
1890
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1891
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video" | "decisions")[];
|
|
1892
|
-
parallelToolCalls: boolean;
|
|
1893
|
-
structuredOutput: boolean;
|
|
1894
|
-
jsonMode: boolean;
|
|
1895
|
-
reasoning: boolean;
|
|
1896
|
-
streaming: boolean;
|
|
1897
|
-
promptCaching: boolean;
|
|
1898
|
-
maxContextTokens: number;
|
|
1899
|
-
maxOutputTokens: number;
|
|
1900
|
-
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1901
|
-
apiFormats?: ("embeddings" | "decisions" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1902
|
-
realtime?: {
|
|
1903
|
-
transports: "websocket"[];
|
|
1904
|
-
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1905
|
-
} | undefined;
|
|
1906
|
-
};
|
|
1907
|
-
modelId: string;
|
|
1908
|
-
publisher: {
|
|
1909
|
-
displayName: string;
|
|
1910
|
-
slug: string;
|
|
1911
|
-
websiteUrl?: string | undefined;
|
|
1912
|
-
};
|
|
1913
|
-
license: {
|
|
1914
|
-
displayName: string;
|
|
1915
|
-
licenseId: string;
|
|
1916
|
-
commercialUseAllowed: boolean;
|
|
1917
|
-
requiresAttribution: boolean;
|
|
1918
|
-
url?: string | undefined;
|
|
1919
|
-
acceptableUsePolicyUrl?: string | undefined;
|
|
1920
|
-
};
|
|
1921
|
-
provenance: {
|
|
1922
|
-
releaseKind: "first_party_original" | "first_party_derived" | "open_weight" | "third_party_hosted";
|
|
1923
|
-
baseModelId?: string | undefined;
|
|
1924
|
-
trainingOrganization?: string | undefined;
|
|
1925
|
-
};
|
|
1926
|
-
currentRevision: string;
|
|
1927
|
-
deprecation: {
|
|
1928
|
-
status: "active" | "retired" | "deprecated";
|
|
1929
|
-
replacementModelReference?: string | undefined;
|
|
1930
|
-
announcedAt?: string | undefined;
|
|
1931
|
-
sunsetAt?: string | undefined;
|
|
1932
|
-
};
|
|
1933
|
-
dataPolicy: {
|
|
1934
|
-
retainsPayloads: boolean;
|
|
1935
|
-
retentionDays: number;
|
|
1936
|
-
trainsOnCustomerData: boolean;
|
|
1937
|
-
zeroDataRetentionAvailable: boolean;
|
|
1938
|
-
subprocessors?: string[] | undefined;
|
|
1939
|
-
policyUrl?: string | undefined;
|
|
1940
|
-
};
|
|
1941
|
-
availableRevisions: string[];
|
|
1942
|
-
description?: string | undefined;
|
|
1943
|
-
knowledgeCutoff?: string | undefined;
|
|
1944
|
-
releasedOn?: string | undefined;
|
|
1945
|
-
releasedAt?: string | undefined;
|
|
1946
|
-
modelCardUrl?: string | undefined;
|
|
1947
|
-
evaluations?: {
|
|
1948
|
-
score: string;
|
|
1949
|
-
suite: string;
|
|
1950
|
-
metric: string;
|
|
1951
|
-
evaluatedAt?: string | undefined;
|
|
1952
|
-
reportUrl?: string | undefined;
|
|
1953
|
-
}[] | undefined;
|
|
1954
|
-
safety?: {
|
|
1955
|
-
contentFilteringDefault: "strict" | "none" | "provider_default";
|
|
1956
|
-
provenanceMarking: "none" | "visible_watermark" | "invisible_watermark" | "c2pa";
|
|
1957
|
-
safetyCardUrl?: string | undefined;
|
|
1958
|
-
knownLimitations?: string[] | undefined;
|
|
1959
|
-
} | undefined;
|
|
1960
|
-
regions?: string[] | undefined;
|
|
1961
|
-
availabilityScope?: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted" | undefined;
|
|
1962
|
-
commercialPermission?: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting" | undefined;
|
|
1963
|
-
servingProviders?: {
|
|
1964
|
-
displayName: string;
|
|
1965
|
-
slug: string;
|
|
1966
|
-
dataPolicy: {
|
|
1967
|
-
retainsPayloads: boolean;
|
|
1968
|
-
retentionDays: number;
|
|
1969
|
-
trainsOnCustomerData: boolean;
|
|
1970
|
-
zeroDataRetentionAvailable: boolean;
|
|
1971
|
-
subprocessors?: string[] | undefined;
|
|
1972
|
-
policyUrl?: string | undefined;
|
|
1973
|
-
};
|
|
1974
|
-
regions?: string[] | undefined;
|
|
1975
|
-
}[] | undefined;
|
|
1976
|
-
pricing?: {
|
|
1977
|
-
currency: string;
|
|
1978
|
-
priceVersionId: string;
|
|
1979
|
-
unitPrices: {
|
|
1980
|
-
currency: string;
|
|
1981
|
-
amount: string;
|
|
1982
|
-
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds" | "input_transcription_milliseconds";
|
|
1983
|
-
per: number;
|
|
1984
|
-
}[];
|
|
1985
|
-
} | undefined;
|
|
1986
|
-
powerClass?: "medium" | "high" | "instant" | "pro" | "ultra" | undefined;
|
|
1987
|
-
}>;
|
|
798
|
+
powerClass: z.ZodOptional<z.ZodEnum<{
|
|
799
|
+
medium: "medium";
|
|
800
|
+
high: "high";
|
|
801
|
+
instant: "instant";
|
|
802
|
+
pro: "pro";
|
|
803
|
+
ultra: "ultra";
|
|
804
|
+
}>>;
|
|
805
|
+
}, z.core.$strip>;
|
|
1988
806
|
export type InferenceOutputModality = z.infer<typeof inferenceOutputModalitySchema>;
|
|
1989
807
|
export type InferenceModality = z.infer<typeof inferenceModalitySchema>;
|
|
1990
808
|
export type ReasoningEffort = z.infer<typeof reasoningEffortSchema>;
|