@oxy.so/contracts 4.6.0 → 4.8.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/.tsbuildinfo +1 -1
- package/dist/cjs/agency.js +49 -0
- package/dist/cjs/capabilityInvocation.js +173 -0
- package/dist/cjs/index.js +28 -1
- package/dist/cjs/inference/catalogue.js +11 -4
- package/dist/cjs/inference/decisions.js +245 -0
- package/dist/cjs/inference/request.js +46 -1
- package/dist/cjs/inference/scopedExecution.js +87 -0
- package/dist/cjs/inference/version.js +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/agency.js +49 -0
- package/dist/esm/capabilityInvocation.js +165 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/inference/catalogue.js +9 -2
- package/dist/esm/inference/decisions.js +239 -0
- package/dist/esm/inference/request.js +45 -0
- package/dist/esm/inference/scopedExecution.js +83 -0
- package/dist/esm/inference/version.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/agency.d.ts +6 -6
- package/dist/types/capabilityInvocation.d.ts +80 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/inference/aliaModelRelease.d.ts +86 -86
- package/dist/types/inference/catalogue.d.ts +335 -142
- package/dist/types/inference/decisions.d.ts +1833 -0
- package/dist/types/inference/modelDocumentation.d.ts +236 -236
- package/dist/types/inference/realtime.d.ts +842 -842
- package/dist/types/inference/request.d.ts +3186 -419
- package/dist/types/inference/routingPolicy.d.ts +16 -16
- package/dist/types/inference/scopedExecution.d.ts +202 -0
- package/dist/types/inference/streamEvents.d.ts +8 -8
- package/dist/types/inference/usage.d.ts +4 -4
- package/dist/types/inference/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -44,7 +44,8 @@ export declare const reasoningEffortSchema: z.ZodEnum<["low", "medium", "high"]>
|
|
|
44
44
|
* 3.4.0). Ordered cheapest first; `auto` asks Oxy to pick the cheapest level
|
|
45
45
|
* that suffices for the request.
|
|
46
46
|
*
|
|
47
|
-
* - `instant` — very cheap, fast small models;
|
|
47
|
+
* - `instant` — very cheap, fast small models; the least reasoning each model
|
|
48
|
+
* accepts (`low` on a reasoning model, nothing on one without effort control)
|
|
48
49
|
* - `medium` — mid-size models, low reasoning effort
|
|
49
50
|
* - `high` — strong models, medium reasoning effort
|
|
50
51
|
* - `xhigh` — strong models, high reasoning effort
|
|
@@ -70,7 +71,7 @@ export declare const modelPowerClassSchema: z.ZodEnum<["instant", "medium", "hig
|
|
|
70
71
|
* two uses cannot drift: a capability naming a dialect the envelope cannot
|
|
71
72
|
* carry, or the reverse, would authorize a request no route can serve.
|
|
72
73
|
*/
|
|
73
|
-
export declare const inferenceApiFormatSchema: z.ZodEnum<["responses", "chat_completions", "embeddings", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>;
|
|
74
|
+
export declare const inferenceApiFormatSchema: z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>;
|
|
74
75
|
/**
|
|
75
76
|
* What a realtime session is FOR. The three are different upstream products
|
|
76
77
|
* with different event families and different metering, not options of one:
|
|
@@ -141,7 +142,7 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
141
142
|
* applied before this field existed, and authorizes no format that needs a
|
|
142
143
|
* declaration (audio output on `chat_completions`, a realtime session).
|
|
143
144
|
*/
|
|
144
|
-
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
145
|
+
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
145
146
|
/** Realtime sessions this model holds; absent means none. Contract set 3.2.0. */
|
|
146
147
|
realtime: z.ZodOptional<z.ZodObject<{
|
|
147
148
|
transports: z.ZodArray<z.ZodEnum<["websocket"]>, "many">;
|
|
@@ -154,9 +155,9 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
154
155
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
155
156
|
}>>;
|
|
156
157
|
}, "strict", z.ZodTypeAny, {
|
|
158
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
159
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
157
160
|
tools: boolean;
|
|
158
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
159
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
160
161
|
parallelToolCalls: boolean;
|
|
161
162
|
structuredOutput: boolean;
|
|
162
163
|
jsonMode: boolean;
|
|
@@ -166,15 +167,15 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
166
167
|
promptCaching: boolean;
|
|
167
168
|
maxContextTokens: number;
|
|
168
169
|
maxOutputTokens: number;
|
|
169
|
-
apiFormats?: ("
|
|
170
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
170
171
|
realtime?: {
|
|
171
172
|
transports: "websocket"[];
|
|
172
173
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
173
174
|
} | undefined;
|
|
174
175
|
}, {
|
|
176
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
177
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
175
178
|
tools: boolean;
|
|
176
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
177
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
178
179
|
parallelToolCalls: boolean;
|
|
179
180
|
structuredOutput: boolean;
|
|
180
181
|
jsonMode: boolean;
|
|
@@ -184,15 +185,15 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
184
185
|
maxContextTokens: number;
|
|
185
186
|
maxOutputTokens: number;
|
|
186
187
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
187
|
-
apiFormats?: ("
|
|
188
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
188
189
|
realtime?: {
|
|
189
190
|
transports: "websocket"[];
|
|
190
191
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
191
192
|
} | undefined;
|
|
192
193
|
}>, {
|
|
194
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
195
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
193
196
|
tools: boolean;
|
|
194
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
195
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
196
197
|
parallelToolCalls: boolean;
|
|
197
198
|
structuredOutput: boolean;
|
|
198
199
|
jsonMode: boolean;
|
|
@@ -202,15 +203,15 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
202
203
|
promptCaching: boolean;
|
|
203
204
|
maxContextTokens: number;
|
|
204
205
|
maxOutputTokens: number;
|
|
205
|
-
apiFormats?: ("
|
|
206
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
206
207
|
realtime?: {
|
|
207
208
|
transports: "websocket"[];
|
|
208
209
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
209
210
|
} | undefined;
|
|
210
211
|
}, {
|
|
212
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
213
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
211
214
|
tools: boolean;
|
|
212
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
213
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
214
215
|
parallelToolCalls: boolean;
|
|
215
216
|
structuredOutput: boolean;
|
|
216
217
|
jsonMode: boolean;
|
|
@@ -220,7 +221,7 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
220
221
|
maxContextTokens: number;
|
|
221
222
|
maxOutputTokens: number;
|
|
222
223
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
223
|
-
apiFormats?: ("
|
|
224
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
224
225
|
realtime?: {
|
|
225
226
|
transports: "websocket"[];
|
|
226
227
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -240,15 +241,15 @@ export declare const modelLicenseSchema: z.ZodObject<{
|
|
|
240
241
|
requiresAttribution: z.ZodBoolean;
|
|
241
242
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
242
243
|
}, "strict", z.ZodTypeAny, {
|
|
243
|
-
displayName: string;
|
|
244
244
|
licenseId: string;
|
|
245
|
+
displayName: string;
|
|
245
246
|
commercialUseAllowed: boolean;
|
|
246
247
|
requiresAttribution: boolean;
|
|
247
248
|
url?: string | undefined;
|
|
248
249
|
acceptableUsePolicyUrl?: string | undefined;
|
|
249
250
|
}, {
|
|
250
|
-
displayName: string;
|
|
251
251
|
licenseId: string;
|
|
252
|
+
displayName: string;
|
|
252
253
|
commercialUseAllowed: boolean;
|
|
253
254
|
requiresAttribution: boolean;
|
|
254
255
|
url?: string | undefined;
|
|
@@ -364,15 +365,15 @@ export declare const modelEvaluationResultSchema: z.ZodObject<{
|
|
|
364
365
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
365
366
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
366
367
|
}, "strict", z.ZodTypeAny, {
|
|
367
|
-
score: string;
|
|
368
368
|
suite: string;
|
|
369
369
|
metric: string;
|
|
370
|
+
score: string;
|
|
370
371
|
evaluatedAt?: string | undefined;
|
|
371
372
|
reportUrl?: string | undefined;
|
|
372
373
|
}, {
|
|
373
|
-
score: string;
|
|
374
374
|
suite: string;
|
|
375
375
|
metric: string;
|
|
376
|
+
score: string;
|
|
376
377
|
evaluatedAt?: string | undefined;
|
|
377
378
|
reportUrl?: string | undefined;
|
|
378
379
|
}>;
|
|
@@ -468,7 +469,7 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
468
469
|
* applied before this field existed, and authorizes no format that needs a
|
|
469
470
|
* declaration (audio output on `chat_completions`, a realtime session).
|
|
470
471
|
*/
|
|
471
|
-
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
472
|
+
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
472
473
|
/** Realtime sessions this model holds; absent means none. Contract set 3.2.0. */
|
|
473
474
|
realtime: z.ZodOptional<z.ZodObject<{
|
|
474
475
|
transports: z.ZodArray<z.ZodEnum<["websocket"]>, "many">;
|
|
@@ -481,9 +482,9 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
481
482
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
482
483
|
}>>;
|
|
483
484
|
}, "strict", z.ZodTypeAny, {
|
|
485
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
486
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
484
487
|
tools: boolean;
|
|
485
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
486
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
487
488
|
parallelToolCalls: boolean;
|
|
488
489
|
structuredOutput: boolean;
|
|
489
490
|
jsonMode: boolean;
|
|
@@ -493,15 +494,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
493
494
|
promptCaching: boolean;
|
|
494
495
|
maxContextTokens: number;
|
|
495
496
|
maxOutputTokens: number;
|
|
496
|
-
apiFormats?: ("
|
|
497
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
497
498
|
realtime?: {
|
|
498
499
|
transports: "websocket"[];
|
|
499
500
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
500
501
|
} | undefined;
|
|
501
502
|
}, {
|
|
503
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
504
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
502
505
|
tools: boolean;
|
|
503
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
504
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
505
506
|
parallelToolCalls: boolean;
|
|
506
507
|
structuredOutput: boolean;
|
|
507
508
|
jsonMode: boolean;
|
|
@@ -511,15 +512,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
511
512
|
maxContextTokens: number;
|
|
512
513
|
maxOutputTokens: number;
|
|
513
514
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
514
|
-
apiFormats?: ("
|
|
515
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
515
516
|
realtime?: {
|
|
516
517
|
transports: "websocket"[];
|
|
517
518
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
518
519
|
} | undefined;
|
|
519
520
|
}>, {
|
|
521
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
522
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
520
523
|
tools: boolean;
|
|
521
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
522
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
523
524
|
parallelToolCalls: boolean;
|
|
524
525
|
structuredOutput: boolean;
|
|
525
526
|
jsonMode: boolean;
|
|
@@ -529,15 +530,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
529
530
|
promptCaching: boolean;
|
|
530
531
|
maxContextTokens: number;
|
|
531
532
|
maxOutputTokens: number;
|
|
532
|
-
apiFormats?: ("
|
|
533
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
533
534
|
realtime?: {
|
|
534
535
|
transports: "websocket"[];
|
|
535
536
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
536
537
|
} | undefined;
|
|
537
538
|
}, {
|
|
539
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
540
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
538
541
|
tools: boolean;
|
|
539
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
540
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
541
542
|
parallelToolCalls: boolean;
|
|
542
543
|
structuredOutput: boolean;
|
|
543
544
|
jsonMode: boolean;
|
|
@@ -547,7 +548,7 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
547
548
|
maxContextTokens: number;
|
|
548
549
|
maxOutputTokens: number;
|
|
549
550
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
550
|
-
apiFormats?: ("
|
|
551
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
551
552
|
realtime?: {
|
|
552
553
|
transports: "websocket"[];
|
|
553
554
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -562,15 +563,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
562
563
|
requiresAttribution: z.ZodBoolean;
|
|
563
564
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
564
565
|
}, "strict", z.ZodTypeAny, {
|
|
565
|
-
displayName: string;
|
|
566
566
|
licenseId: string;
|
|
567
|
+
displayName: string;
|
|
567
568
|
commercialUseAllowed: boolean;
|
|
568
569
|
requiresAttribution: boolean;
|
|
569
570
|
url?: string | undefined;
|
|
570
571
|
acceptableUsePolicyUrl?: string | undefined;
|
|
571
572
|
}, {
|
|
572
|
-
displayName: string;
|
|
573
573
|
licenseId: string;
|
|
574
|
+
displayName: string;
|
|
574
575
|
commercialUseAllowed: boolean;
|
|
575
576
|
requiresAttribution: boolean;
|
|
576
577
|
url?: string | undefined;
|
|
@@ -622,10 +623,14 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
622
623
|
}>;
|
|
623
624
|
}, "strip", z.ZodTypeAny, {
|
|
624
625
|
displayName: string;
|
|
626
|
+
schemaVersion: 1;
|
|
627
|
+
slug: string;
|
|
628
|
+
modelId: string;
|
|
629
|
+
publisher: string;
|
|
625
630
|
capabilities: {
|
|
631
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
632
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
626
633
|
tools: boolean;
|
|
627
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
628
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
629
634
|
parallelToolCalls: boolean;
|
|
630
635
|
structuredOutput: boolean;
|
|
631
636
|
jsonMode: boolean;
|
|
@@ -635,19 +640,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
635
640
|
promptCaching: boolean;
|
|
636
641
|
maxContextTokens: number;
|
|
637
642
|
maxOutputTokens: number;
|
|
638
|
-
apiFormats?: ("
|
|
643
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
639
644
|
realtime?: {
|
|
640
645
|
transports: "websocket"[];
|
|
641
646
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
642
647
|
} | undefined;
|
|
643
648
|
};
|
|
644
|
-
schemaVersion: 1;
|
|
645
|
-
slug: string;
|
|
646
|
-
modelId: string;
|
|
647
|
-
publisher: string;
|
|
648
649
|
license: {
|
|
649
|
-
displayName: string;
|
|
650
650
|
licenseId: string;
|
|
651
|
+
displayName: string;
|
|
651
652
|
commercialUseAllowed: boolean;
|
|
652
653
|
requiresAttribution: boolean;
|
|
653
654
|
url?: string | undefined;
|
|
@@ -670,10 +671,14 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
670
671
|
releasedOn?: string | undefined;
|
|
671
672
|
}, {
|
|
672
673
|
displayName: string;
|
|
674
|
+
schemaVersion: 1;
|
|
675
|
+
slug: string;
|
|
676
|
+
modelId: string;
|
|
677
|
+
publisher: string;
|
|
673
678
|
capabilities: {
|
|
679
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
680
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
674
681
|
tools: boolean;
|
|
675
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
676
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
677
682
|
parallelToolCalls: boolean;
|
|
678
683
|
structuredOutput: boolean;
|
|
679
684
|
jsonMode: boolean;
|
|
@@ -683,19 +688,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
683
688
|
maxContextTokens: number;
|
|
684
689
|
maxOutputTokens: number;
|
|
685
690
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
686
|
-
apiFormats?: ("
|
|
691
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
687
692
|
realtime?: {
|
|
688
693
|
transports: "websocket"[];
|
|
689
694
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
690
695
|
} | undefined;
|
|
691
696
|
};
|
|
692
|
-
schemaVersion: 1;
|
|
693
|
-
slug: string;
|
|
694
|
-
modelId: string;
|
|
695
|
-
publisher: string;
|
|
696
697
|
license: {
|
|
697
|
-
displayName: string;
|
|
698
698
|
licenseId: string;
|
|
699
|
+
displayName: string;
|
|
699
700
|
commercialUseAllowed: boolean;
|
|
700
701
|
requiresAttribution: boolean;
|
|
701
702
|
url?: string | undefined;
|
|
@@ -718,10 +719,14 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
718
719
|
releasedOn?: string | undefined;
|
|
719
720
|
}>, {
|
|
720
721
|
displayName: string;
|
|
722
|
+
schemaVersion: 1;
|
|
723
|
+
slug: string;
|
|
724
|
+
modelId: string;
|
|
725
|
+
publisher: string;
|
|
721
726
|
capabilities: {
|
|
727
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
728
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
722
729
|
tools: boolean;
|
|
723
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
724
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
725
730
|
parallelToolCalls: boolean;
|
|
726
731
|
structuredOutput: boolean;
|
|
727
732
|
jsonMode: boolean;
|
|
@@ -731,19 +736,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
731
736
|
promptCaching: boolean;
|
|
732
737
|
maxContextTokens: number;
|
|
733
738
|
maxOutputTokens: number;
|
|
734
|
-
apiFormats?: ("
|
|
739
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
735
740
|
realtime?: {
|
|
736
741
|
transports: "websocket"[];
|
|
737
742
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
738
743
|
} | undefined;
|
|
739
744
|
};
|
|
740
|
-
schemaVersion: 1;
|
|
741
|
-
slug: string;
|
|
742
|
-
modelId: string;
|
|
743
|
-
publisher: string;
|
|
744
745
|
license: {
|
|
745
|
-
displayName: string;
|
|
746
746
|
licenseId: string;
|
|
747
|
+
displayName: string;
|
|
747
748
|
commercialUseAllowed: boolean;
|
|
748
749
|
requiresAttribution: boolean;
|
|
749
750
|
url?: string | undefined;
|
|
@@ -766,10 +767,14 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
766
767
|
releasedOn?: string | undefined;
|
|
767
768
|
}, {
|
|
768
769
|
displayName: string;
|
|
770
|
+
schemaVersion: 1;
|
|
771
|
+
slug: string;
|
|
772
|
+
modelId: string;
|
|
773
|
+
publisher: string;
|
|
769
774
|
capabilities: {
|
|
775
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
776
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
770
777
|
tools: boolean;
|
|
771
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
772
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
773
778
|
parallelToolCalls: boolean;
|
|
774
779
|
structuredOutput: boolean;
|
|
775
780
|
jsonMode: boolean;
|
|
@@ -779,19 +784,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
779
784
|
maxContextTokens: number;
|
|
780
785
|
maxOutputTokens: number;
|
|
781
786
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
782
|
-
apiFormats?: ("
|
|
787
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
783
788
|
realtime?: {
|
|
784
789
|
transports: "websocket"[];
|
|
785
790
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
786
791
|
} | undefined;
|
|
787
792
|
};
|
|
788
|
-
schemaVersion: 1;
|
|
789
|
-
slug: string;
|
|
790
|
-
modelId: string;
|
|
791
|
-
publisher: string;
|
|
792
793
|
license: {
|
|
793
|
-
displayName: string;
|
|
794
794
|
licenseId: string;
|
|
795
|
+
displayName: string;
|
|
795
796
|
commercialUseAllowed: boolean;
|
|
796
797
|
requiresAttribution: boolean;
|
|
797
798
|
url?: string | undefined;
|
|
@@ -841,15 +842,15 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
841
842
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
842
843
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
843
844
|
}, "strict", z.ZodTypeAny, {
|
|
844
|
-
score: string;
|
|
845
845
|
suite: string;
|
|
846
846
|
metric: string;
|
|
847
|
+
score: string;
|
|
847
848
|
evaluatedAt?: string | undefined;
|
|
848
849
|
reportUrl?: string | undefined;
|
|
849
850
|
}, {
|
|
850
|
-
score: string;
|
|
851
851
|
suite: string;
|
|
852
852
|
metric: string;
|
|
853
|
+
score: string;
|
|
853
854
|
evaluatedAt?: string | undefined;
|
|
854
855
|
reportUrl?: string | undefined;
|
|
855
856
|
}>, "many">>;
|
|
@@ -872,15 +873,15 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
872
873
|
}>>;
|
|
873
874
|
}, "strip", z.ZodTypeAny, {
|
|
874
875
|
schemaVersion: 1;
|
|
875
|
-
revision: string;
|
|
876
876
|
modelId: string;
|
|
877
877
|
revisionId: string;
|
|
878
|
+
revision: string;
|
|
878
879
|
reference: string;
|
|
879
880
|
releasedAt: string;
|
|
880
881
|
evaluations: {
|
|
881
|
-
score: string;
|
|
882
882
|
suite: string;
|
|
883
883
|
metric: string;
|
|
884
|
+
score: string;
|
|
884
885
|
evaluatedAt?: string | undefined;
|
|
885
886
|
reportUrl?: string | undefined;
|
|
886
887
|
}[];
|
|
@@ -895,18 +896,18 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
895
896
|
} | undefined;
|
|
896
897
|
}, {
|
|
897
898
|
schemaVersion: 1;
|
|
898
|
-
revision: string;
|
|
899
899
|
modelId: string;
|
|
900
900
|
revisionId: string;
|
|
901
|
+
revision: string;
|
|
901
902
|
reference: string;
|
|
902
903
|
releasedAt: string;
|
|
903
904
|
retiredAt?: string | undefined;
|
|
904
905
|
artifactDigest?: string | undefined;
|
|
905
906
|
modelCardUrl?: string | undefined;
|
|
906
907
|
evaluations?: {
|
|
907
|
-
score: string;
|
|
908
908
|
suite: string;
|
|
909
909
|
metric: string;
|
|
910
|
+
score: string;
|
|
910
911
|
evaluatedAt?: string | undefined;
|
|
911
912
|
reportUrl?: string | undefined;
|
|
912
913
|
}[] | undefined;
|
|
@@ -918,15 +919,15 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
918
919
|
} | undefined;
|
|
919
920
|
}>, {
|
|
920
921
|
schemaVersion: 1;
|
|
921
|
-
revision: string;
|
|
922
922
|
modelId: string;
|
|
923
923
|
revisionId: string;
|
|
924
|
+
revision: string;
|
|
924
925
|
reference: string;
|
|
925
926
|
releasedAt: string;
|
|
926
927
|
evaluations: {
|
|
927
|
-
score: string;
|
|
928
928
|
suite: string;
|
|
929
929
|
metric: string;
|
|
930
|
+
score: string;
|
|
930
931
|
evaluatedAt?: string | undefined;
|
|
931
932
|
reportUrl?: string | undefined;
|
|
932
933
|
}[];
|
|
@@ -941,18 +942,18 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
941
942
|
} | undefined;
|
|
942
943
|
}, {
|
|
943
944
|
schemaVersion: 1;
|
|
944
|
-
revision: string;
|
|
945
945
|
modelId: string;
|
|
946
946
|
revisionId: string;
|
|
947
|
+
revision: string;
|
|
947
948
|
reference: string;
|
|
948
949
|
releasedAt: string;
|
|
949
950
|
retiredAt?: string | undefined;
|
|
950
951
|
artifactDigest?: string | undefined;
|
|
951
952
|
modelCardUrl?: string | undefined;
|
|
952
953
|
evaluations?: {
|
|
953
|
-
score: string;
|
|
954
954
|
suite: string;
|
|
955
955
|
metric: string;
|
|
956
|
+
score: string;
|
|
956
957
|
evaluatedAt?: string | undefined;
|
|
957
958
|
reportUrl?: string | undefined;
|
|
958
959
|
}[] | undefined;
|
|
@@ -1018,10 +1019,10 @@ export declare const inferenceProviderSchema: z.ZodObject<{
|
|
|
1018
1019
|
}>;
|
|
1019
1020
|
}, "strip", z.ZodTypeAny, {
|
|
1020
1021
|
displayName: string;
|
|
1021
|
-
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1022
1022
|
schemaVersion: 1;
|
|
1023
1023
|
slug: string;
|
|
1024
1024
|
providerId: string;
|
|
1025
|
+
kind: "oxy_hosted" | "customer_byok" | "third_party";
|
|
1025
1026
|
regions: string[];
|
|
1026
1027
|
dataPolicy: {
|
|
1027
1028
|
retainsPayloads: boolean;
|
|
@@ -1035,10 +1036,10 @@ export declare const inferenceProviderSchema: z.ZodObject<{
|
|
|
1035
1036
|
statusPageUrl?: string | undefined;
|
|
1036
1037
|
}, {
|
|
1037
1038
|
displayName: string;
|
|
1038
|
-
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1039
1039
|
schemaVersion: 1;
|
|
1040
1040
|
slug: string;
|
|
1041
1041
|
providerId: string;
|
|
1042
|
+
kind: "oxy_hosted" | "customer_byok" | "third_party";
|
|
1042
1043
|
dataPolicy: {
|
|
1043
1044
|
retainsPayloads: boolean;
|
|
1044
1045
|
retentionDays: number;
|
|
@@ -1068,6 +1069,96 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1068
1069
|
/** See `version.ts`: exchanged with the data plane on its own. */
|
|
1069
1070
|
schemaVersion: z.ZodLiteral<2>;
|
|
1070
1071
|
deploymentId: z.ZodString;
|
|
1072
|
+
/** Restrictive audience; never an eligibility approval. */
|
|
1073
|
+
scopedExecution: z.ZodOptional<z.ZodObject<{
|
|
1074
|
+
permitId: z.ZodString;
|
|
1075
|
+
idempotencyKey: z.ZodString;
|
|
1076
|
+
fixtureSha256: z.ZodString;
|
|
1077
|
+
expiresAt: z.ZodString;
|
|
1078
|
+
principal: z.ZodObject<{
|
|
1079
|
+
accountId: z.ZodString;
|
|
1080
|
+
applicationId: z.ZodString;
|
|
1081
|
+
credentialId: z.ZodString;
|
|
1082
|
+
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
1083
|
+
}, "strict", z.ZodTypeAny, {
|
|
1084
|
+
accountId: string;
|
|
1085
|
+
applicationId: string;
|
|
1086
|
+
credentialId: string;
|
|
1087
|
+
environment: "development" | "staging" | "production";
|
|
1088
|
+
}, {
|
|
1089
|
+
accountId: string;
|
|
1090
|
+
applicationId: string;
|
|
1091
|
+
credentialId: string;
|
|
1092
|
+
environment: "development" | "staging" | "production";
|
|
1093
|
+
}>;
|
|
1094
|
+
policy: z.ZodObject<{
|
|
1095
|
+
routingPolicyId: z.ZodString;
|
|
1096
|
+
policyVersion: z.ZodNumber;
|
|
1097
|
+
}, "strict", z.ZodTypeAny, {
|
|
1098
|
+
routingPolicyId: string;
|
|
1099
|
+
policyVersion: number;
|
|
1100
|
+
}, {
|
|
1101
|
+
routingPolicyId: string;
|
|
1102
|
+
policyVersion: number;
|
|
1103
|
+
}>;
|
|
1104
|
+
deploymentId: z.ZodString;
|
|
1105
|
+
provider: z.ZodString;
|
|
1106
|
+
keyId: z.ZodString;
|
|
1107
|
+
modelReference: z.ZodEffects<z.ZodString, string, string>;
|
|
1108
|
+
upstreamModelId: z.ZodString;
|
|
1109
|
+
priceVersionId: z.ZodString;
|
|
1110
|
+
providerRateCardVersionId: z.ZodString;
|
|
1111
|
+
providerSourceVersion: z.ZodString;
|
|
1112
|
+
maxCostUsd: z.ZodEffects<z.ZodBranded<z.ZodString, "ExactDecimal">, string & z.BRAND<"ExactDecimal">, string>;
|
|
1113
|
+
}, "strict", z.ZodTypeAny, {
|
|
1114
|
+
permitId: string;
|
|
1115
|
+
idempotencyKey: string;
|
|
1116
|
+
fixtureSha256: string;
|
|
1117
|
+
expiresAt: string;
|
|
1118
|
+
principal: {
|
|
1119
|
+
accountId: string;
|
|
1120
|
+
applicationId: string;
|
|
1121
|
+
credentialId: string;
|
|
1122
|
+
environment: "development" | "staging" | "production";
|
|
1123
|
+
};
|
|
1124
|
+
policy: {
|
|
1125
|
+
routingPolicyId: string;
|
|
1126
|
+
policyVersion: number;
|
|
1127
|
+
};
|
|
1128
|
+
deploymentId: string;
|
|
1129
|
+
provider: string;
|
|
1130
|
+
keyId: string;
|
|
1131
|
+
modelReference: string;
|
|
1132
|
+
upstreamModelId: string;
|
|
1133
|
+
priceVersionId: string;
|
|
1134
|
+
providerRateCardVersionId: string;
|
|
1135
|
+
providerSourceVersion: string;
|
|
1136
|
+
maxCostUsd: string & z.BRAND<"ExactDecimal">;
|
|
1137
|
+
}, {
|
|
1138
|
+
permitId: string;
|
|
1139
|
+
idempotencyKey: string;
|
|
1140
|
+
fixtureSha256: string;
|
|
1141
|
+
expiresAt: string;
|
|
1142
|
+
principal: {
|
|
1143
|
+
accountId: string;
|
|
1144
|
+
applicationId: string;
|
|
1145
|
+
credentialId: string;
|
|
1146
|
+
environment: "development" | "staging" | "production";
|
|
1147
|
+
};
|
|
1148
|
+
policy: {
|
|
1149
|
+
routingPolicyId: string;
|
|
1150
|
+
policyVersion: number;
|
|
1151
|
+
};
|
|
1152
|
+
deploymentId: string;
|
|
1153
|
+
provider: string;
|
|
1154
|
+
keyId: string;
|
|
1155
|
+
modelReference: string;
|
|
1156
|
+
upstreamModelId: string;
|
|
1157
|
+
priceVersionId: string;
|
|
1158
|
+
providerRateCardVersionId: string;
|
|
1159
|
+
providerSourceVersion: string;
|
|
1160
|
+
maxCostUsd: string;
|
|
1161
|
+
}>>;
|
|
1071
1162
|
provider: z.ZodString;
|
|
1072
1163
|
/** Always revision-pinned: a deployment serves specific weights. */
|
|
1073
1164
|
modelReference: z.ZodString;
|
|
@@ -1118,10 +1209,11 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1118
1209
|
/** The price version customers are charged under on this route. */
|
|
1119
1210
|
priceVersionId: z.ZodOptional<z.ZodString>;
|
|
1120
1211
|
}, "strip", z.ZodTypeAny, {
|
|
1121
|
-
status: "active" | "
|
|
1122
|
-
|
|
1212
|
+
status: "active" | "retired" | "degraded" | "disabled";
|
|
1213
|
+
deploymentId: string;
|
|
1123
1214
|
provider: string;
|
|
1124
1215
|
modelReference: string;
|
|
1216
|
+
schemaVersion: 2;
|
|
1125
1217
|
regions: string[];
|
|
1126
1218
|
dataPolicy: {
|
|
1127
1219
|
retainsPayloads: boolean;
|
|
@@ -1131,16 +1223,41 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1131
1223
|
subprocessors: string[];
|
|
1132
1224
|
policyUrl?: string | undefined;
|
|
1133
1225
|
};
|
|
1134
|
-
deploymentId: string;
|
|
1135
1226
|
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1136
1227
|
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1137
1228
|
dedicatedCapacity: boolean;
|
|
1138
1229
|
priceVersionId?: string | undefined;
|
|
1230
|
+
scopedExecution?: {
|
|
1231
|
+
permitId: string;
|
|
1232
|
+
idempotencyKey: string;
|
|
1233
|
+
fixtureSha256: string;
|
|
1234
|
+
expiresAt: string;
|
|
1235
|
+
principal: {
|
|
1236
|
+
accountId: string;
|
|
1237
|
+
applicationId: string;
|
|
1238
|
+
credentialId: string;
|
|
1239
|
+
environment: "development" | "staging" | "production";
|
|
1240
|
+
};
|
|
1241
|
+
policy: {
|
|
1242
|
+
routingPolicyId: string;
|
|
1243
|
+
policyVersion: number;
|
|
1244
|
+
};
|
|
1245
|
+
deploymentId: string;
|
|
1246
|
+
provider: string;
|
|
1247
|
+
keyId: string;
|
|
1248
|
+
modelReference: string;
|
|
1249
|
+
upstreamModelId: string;
|
|
1250
|
+
priceVersionId: string;
|
|
1251
|
+
providerRateCardVersionId: string;
|
|
1252
|
+
providerSourceVersion: string;
|
|
1253
|
+
maxCostUsd: string & z.BRAND<"ExactDecimal">;
|
|
1254
|
+
} | undefined;
|
|
1139
1255
|
}, {
|
|
1140
|
-
status: "active" | "
|
|
1141
|
-
|
|
1256
|
+
status: "active" | "retired" | "degraded" | "disabled";
|
|
1257
|
+
deploymentId: string;
|
|
1142
1258
|
provider: string;
|
|
1143
1259
|
modelReference: string;
|
|
1260
|
+
schemaVersion: 2;
|
|
1144
1261
|
regions: string[];
|
|
1145
1262
|
dataPolicy: {
|
|
1146
1263
|
retainsPayloads: boolean;
|
|
@@ -1150,16 +1267,41 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1150
1267
|
subprocessors?: string[] | undefined;
|
|
1151
1268
|
policyUrl?: string | undefined;
|
|
1152
1269
|
};
|
|
1153
|
-
deploymentId: string;
|
|
1154
1270
|
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1155
1271
|
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1156
1272
|
dedicatedCapacity: boolean;
|
|
1157
1273
|
priceVersionId?: string | undefined;
|
|
1274
|
+
scopedExecution?: {
|
|
1275
|
+
permitId: string;
|
|
1276
|
+
idempotencyKey: string;
|
|
1277
|
+
fixtureSha256: string;
|
|
1278
|
+
expiresAt: string;
|
|
1279
|
+
principal: {
|
|
1280
|
+
accountId: string;
|
|
1281
|
+
applicationId: string;
|
|
1282
|
+
credentialId: string;
|
|
1283
|
+
environment: "development" | "staging" | "production";
|
|
1284
|
+
};
|
|
1285
|
+
policy: {
|
|
1286
|
+
routingPolicyId: string;
|
|
1287
|
+
policyVersion: number;
|
|
1288
|
+
};
|
|
1289
|
+
deploymentId: string;
|
|
1290
|
+
provider: string;
|
|
1291
|
+
keyId: string;
|
|
1292
|
+
modelReference: string;
|
|
1293
|
+
upstreamModelId: string;
|
|
1294
|
+
priceVersionId: string;
|
|
1295
|
+
providerRateCardVersionId: string;
|
|
1296
|
+
providerSourceVersion: string;
|
|
1297
|
+
maxCostUsd: string;
|
|
1298
|
+
} | undefined;
|
|
1158
1299
|
}>, {
|
|
1159
|
-
status: "active" | "
|
|
1160
|
-
|
|
1300
|
+
status: "active" | "retired" | "degraded" | "disabled";
|
|
1301
|
+
deploymentId: string;
|
|
1161
1302
|
provider: string;
|
|
1162
1303
|
modelReference: string;
|
|
1304
|
+
schemaVersion: 2;
|
|
1163
1305
|
regions: string[];
|
|
1164
1306
|
dataPolicy: {
|
|
1165
1307
|
retainsPayloads: boolean;
|
|
@@ -1169,16 +1311,41 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1169
1311
|
subprocessors: string[];
|
|
1170
1312
|
policyUrl?: string | undefined;
|
|
1171
1313
|
};
|
|
1172
|
-
deploymentId: string;
|
|
1173
1314
|
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1174
1315
|
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1175
1316
|
dedicatedCapacity: boolean;
|
|
1176
1317
|
priceVersionId?: string | undefined;
|
|
1318
|
+
scopedExecution?: {
|
|
1319
|
+
permitId: string;
|
|
1320
|
+
idempotencyKey: string;
|
|
1321
|
+
fixtureSha256: string;
|
|
1322
|
+
expiresAt: string;
|
|
1323
|
+
principal: {
|
|
1324
|
+
accountId: string;
|
|
1325
|
+
applicationId: string;
|
|
1326
|
+
credentialId: string;
|
|
1327
|
+
environment: "development" | "staging" | "production";
|
|
1328
|
+
};
|
|
1329
|
+
policy: {
|
|
1330
|
+
routingPolicyId: string;
|
|
1331
|
+
policyVersion: number;
|
|
1332
|
+
};
|
|
1333
|
+
deploymentId: string;
|
|
1334
|
+
provider: string;
|
|
1335
|
+
keyId: string;
|
|
1336
|
+
modelReference: string;
|
|
1337
|
+
upstreamModelId: string;
|
|
1338
|
+
priceVersionId: string;
|
|
1339
|
+
providerRateCardVersionId: string;
|
|
1340
|
+
providerSourceVersion: string;
|
|
1341
|
+
maxCostUsd: string & z.BRAND<"ExactDecimal">;
|
|
1342
|
+
} | undefined;
|
|
1177
1343
|
}, {
|
|
1178
|
-
status: "active" | "
|
|
1179
|
-
|
|
1344
|
+
status: "active" | "retired" | "degraded" | "disabled";
|
|
1345
|
+
deploymentId: string;
|
|
1180
1346
|
provider: string;
|
|
1181
1347
|
modelReference: string;
|
|
1348
|
+
schemaVersion: 2;
|
|
1182
1349
|
regions: string[];
|
|
1183
1350
|
dataPolicy: {
|
|
1184
1351
|
retainsPayloads: boolean;
|
|
@@ -1188,11 +1355,35 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1188
1355
|
subprocessors?: string[] | undefined;
|
|
1189
1356
|
policyUrl?: string | undefined;
|
|
1190
1357
|
};
|
|
1191
|
-
deploymentId: string;
|
|
1192
1358
|
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1193
1359
|
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1194
1360
|
dedicatedCapacity: boolean;
|
|
1195
1361
|
priceVersionId?: string | undefined;
|
|
1362
|
+
scopedExecution?: {
|
|
1363
|
+
permitId: string;
|
|
1364
|
+
idempotencyKey: string;
|
|
1365
|
+
fixtureSha256: string;
|
|
1366
|
+
expiresAt: string;
|
|
1367
|
+
principal: {
|
|
1368
|
+
accountId: string;
|
|
1369
|
+
applicationId: string;
|
|
1370
|
+
credentialId: string;
|
|
1371
|
+
environment: "development" | "staging" | "production";
|
|
1372
|
+
};
|
|
1373
|
+
policy: {
|
|
1374
|
+
routingPolicyId: string;
|
|
1375
|
+
policyVersion: number;
|
|
1376
|
+
};
|
|
1377
|
+
deploymentId: string;
|
|
1378
|
+
provider: string;
|
|
1379
|
+
keyId: string;
|
|
1380
|
+
modelReference: string;
|
|
1381
|
+
upstreamModelId: string;
|
|
1382
|
+
priceVersionId: string;
|
|
1383
|
+
providerRateCardVersionId: string;
|
|
1384
|
+
providerSourceVersion: string;
|
|
1385
|
+
maxCostUsd: string;
|
|
1386
|
+
} | undefined;
|
|
1196
1387
|
}>;
|
|
1197
1388
|
/** One candidate a profile may resolve to, and how strongly it is preferred. */
|
|
1198
1389
|
export declare const routingProfileCandidateSchema: z.ZodObject<{
|
|
@@ -1245,7 +1436,9 @@ export declare const routingProfileSchema: z.ZodObject<{
|
|
|
1245
1436
|
powerLevel: z.ZodOptional<z.ZodEnum<["auto", "instant", "medium", "high", "xhigh", "pro", "ultra"]>>;
|
|
1246
1437
|
/**
|
|
1247
1438
|
* The reasoning effort a power level asks for when the request names none,
|
|
1248
|
-
*
|
|
1439
|
+
* clamped to the nearest effort the chosen model accepts (the lowest at or
|
|
1440
|
+
* above it, else the highest). Absent: the level asks for no reasoning, sent
|
|
1441
|
+
* as the least effort a reasoning model accepts.
|
|
1249
1442
|
*/
|
|
1250
1443
|
reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
|
|
1251
1444
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1426,7 +1619,7 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1426
1619
|
* applied before this field existed, and authorizes no format that needs a
|
|
1427
1620
|
* declaration (audio output on `chat_completions`, a realtime session).
|
|
1428
1621
|
*/
|
|
1429
|
-
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
1622
|
+
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
1430
1623
|
/** Realtime sessions this model holds; absent means none. Contract set 3.2.0. */
|
|
1431
1624
|
realtime: z.ZodOptional<z.ZodObject<{
|
|
1432
1625
|
transports: z.ZodArray<z.ZodEnum<["websocket"]>, "many">;
|
|
@@ -1439,9 +1632,9 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1439
1632
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1440
1633
|
}>>;
|
|
1441
1634
|
}, "strict", z.ZodTypeAny, {
|
|
1635
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1636
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1442
1637
|
tools: boolean;
|
|
1443
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1444
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1445
1638
|
parallelToolCalls: boolean;
|
|
1446
1639
|
structuredOutput: boolean;
|
|
1447
1640
|
jsonMode: boolean;
|
|
@@ -1451,15 +1644,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1451
1644
|
promptCaching: boolean;
|
|
1452
1645
|
maxContextTokens: number;
|
|
1453
1646
|
maxOutputTokens: number;
|
|
1454
|
-
apiFormats?: ("
|
|
1647
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1455
1648
|
realtime?: {
|
|
1456
1649
|
transports: "websocket"[];
|
|
1457
1650
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1458
1651
|
} | undefined;
|
|
1459
1652
|
}, {
|
|
1653
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1654
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1460
1655
|
tools: boolean;
|
|
1461
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1462
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1463
1656
|
parallelToolCalls: boolean;
|
|
1464
1657
|
structuredOutput: boolean;
|
|
1465
1658
|
jsonMode: boolean;
|
|
@@ -1469,15 +1662,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1469
1662
|
maxContextTokens: number;
|
|
1470
1663
|
maxOutputTokens: number;
|
|
1471
1664
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1472
|
-
apiFormats?: ("
|
|
1665
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1473
1666
|
realtime?: {
|
|
1474
1667
|
transports: "websocket"[];
|
|
1475
1668
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1476
1669
|
} | undefined;
|
|
1477
1670
|
}>, {
|
|
1671
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1672
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1478
1673
|
tools: boolean;
|
|
1479
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1480
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1481
1674
|
parallelToolCalls: boolean;
|
|
1482
1675
|
structuredOutput: boolean;
|
|
1483
1676
|
jsonMode: boolean;
|
|
@@ -1487,15 +1680,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1487
1680
|
promptCaching: boolean;
|
|
1488
1681
|
maxContextTokens: number;
|
|
1489
1682
|
maxOutputTokens: number;
|
|
1490
|
-
apiFormats?: ("
|
|
1683
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1491
1684
|
realtime?: {
|
|
1492
1685
|
transports: "websocket"[];
|
|
1493
1686
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1494
1687
|
} | undefined;
|
|
1495
1688
|
}, {
|
|
1689
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1690
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1496
1691
|
tools: boolean;
|
|
1497
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1498
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1499
1692
|
parallelToolCalls: boolean;
|
|
1500
1693
|
structuredOutput: boolean;
|
|
1501
1694
|
jsonMode: boolean;
|
|
@@ -1505,7 +1698,7 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1505
1698
|
maxContextTokens: number;
|
|
1506
1699
|
maxOutputTokens: number;
|
|
1507
1700
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1508
|
-
apiFormats?: ("
|
|
1701
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1509
1702
|
realtime?: {
|
|
1510
1703
|
transports: "websocket"[];
|
|
1511
1704
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1520,15 +1713,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1520
1713
|
requiresAttribution: z.ZodBoolean;
|
|
1521
1714
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
1522
1715
|
}, "strict", z.ZodTypeAny, {
|
|
1523
|
-
displayName: string;
|
|
1524
1716
|
licenseId: string;
|
|
1717
|
+
displayName: string;
|
|
1525
1718
|
commercialUseAllowed: boolean;
|
|
1526
1719
|
requiresAttribution: boolean;
|
|
1527
1720
|
url?: string | undefined;
|
|
1528
1721
|
acceptableUsePolicyUrl?: string | undefined;
|
|
1529
1722
|
}, {
|
|
1530
|
-
displayName: string;
|
|
1531
1723
|
licenseId: string;
|
|
1724
|
+
displayName: string;
|
|
1532
1725
|
commercialUseAllowed: boolean;
|
|
1533
1726
|
requiresAttribution: boolean;
|
|
1534
1727
|
url?: string | undefined;
|
|
@@ -1673,31 +1866,31 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1673
1866
|
currency: z.ZodString;
|
|
1674
1867
|
}, "strict", z.ZodTypeAny, {
|
|
1675
1868
|
currency: string;
|
|
1869
|
+
unit: "embeddings" | "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1676
1870
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1677
|
-
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";
|
|
1678
1871
|
per: number;
|
|
1679
1872
|
}, {
|
|
1680
1873
|
currency: string;
|
|
1874
|
+
unit: "embeddings" | "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1681
1875
|
amount: string;
|
|
1682
|
-
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";
|
|
1683
1876
|
per: number;
|
|
1684
1877
|
}>, "many">;
|
|
1685
1878
|
}, "strict", z.ZodTypeAny, {
|
|
1686
|
-
currency: string;
|
|
1687
1879
|
priceVersionId: string;
|
|
1880
|
+
currency: string;
|
|
1688
1881
|
unitPrices: {
|
|
1689
1882
|
currency: string;
|
|
1883
|
+
unit: "embeddings" | "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1690
1884
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1691
|
-
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";
|
|
1692
1885
|
per: number;
|
|
1693
1886
|
}[];
|
|
1694
1887
|
}, {
|
|
1695
|
-
currency: string;
|
|
1696
1888
|
priceVersionId: string;
|
|
1889
|
+
currency: string;
|
|
1697
1890
|
unitPrices: {
|
|
1698
1891
|
currency: string;
|
|
1892
|
+
unit: "embeddings" | "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1699
1893
|
amount: string;
|
|
1700
|
-
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";
|
|
1701
1894
|
per: number;
|
|
1702
1895
|
}[];
|
|
1703
1896
|
}>>;
|
|
@@ -1739,15 +1932,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1739
1932
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
1740
1933
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
1741
1934
|
}, "strict", z.ZodTypeAny, {
|
|
1742
|
-
score: string;
|
|
1743
1935
|
suite: string;
|
|
1744
1936
|
metric: string;
|
|
1937
|
+
score: string;
|
|
1745
1938
|
evaluatedAt?: string | undefined;
|
|
1746
1939
|
reportUrl?: string | undefined;
|
|
1747
1940
|
}, {
|
|
1748
|
-
score: string;
|
|
1749
1941
|
suite: string;
|
|
1750
1942
|
metric: string;
|
|
1943
|
+
score: string;
|
|
1751
1944
|
evaluatedAt?: string | undefined;
|
|
1752
1945
|
reportUrl?: string | undefined;
|
|
1753
1946
|
}>, "many">>;
|
|
@@ -1777,10 +1970,17 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1777
1970
|
powerClass: z.ZodOptional<z.ZodEnum<["instant", "medium", "high", "pro", "ultra"]>>;
|
|
1778
1971
|
}, "strip", z.ZodTypeAny, {
|
|
1779
1972
|
displayName: string;
|
|
1973
|
+
schemaVersion: 3;
|
|
1974
|
+
modelId: string;
|
|
1975
|
+
publisher: {
|
|
1976
|
+
displayName: string;
|
|
1977
|
+
slug: string;
|
|
1978
|
+
websiteUrl?: string | undefined;
|
|
1979
|
+
};
|
|
1780
1980
|
capabilities: {
|
|
1981
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1982
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1781
1983
|
tools: boolean;
|
|
1782
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1783
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1784
1984
|
parallelToolCalls: boolean;
|
|
1785
1985
|
structuredOutput: boolean;
|
|
1786
1986
|
jsonMode: boolean;
|
|
@@ -1790,22 +1990,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1790
1990
|
promptCaching: boolean;
|
|
1791
1991
|
maxContextTokens: number;
|
|
1792
1992
|
maxOutputTokens: number;
|
|
1793
|
-
apiFormats?: ("
|
|
1993
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1794
1994
|
realtime?: {
|
|
1795
1995
|
transports: "websocket"[];
|
|
1796
1996
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1797
1997
|
} | undefined;
|
|
1798
1998
|
};
|
|
1799
|
-
schemaVersion: 3;
|
|
1800
|
-
modelId: string;
|
|
1801
|
-
publisher: {
|
|
1802
|
-
displayName: string;
|
|
1803
|
-
slug: string;
|
|
1804
|
-
websiteUrl?: string | undefined;
|
|
1805
|
-
};
|
|
1806
1999
|
license: {
|
|
1807
|
-
displayName: string;
|
|
1808
2000
|
licenseId: string;
|
|
2001
|
+
displayName: string;
|
|
1809
2002
|
commercialUseAllowed: boolean;
|
|
1810
2003
|
requiresAttribution: boolean;
|
|
1811
2004
|
url?: string | undefined;
|
|
@@ -1824,9 +2017,9 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1824
2017
|
sunsetAt?: string | undefined;
|
|
1825
2018
|
};
|
|
1826
2019
|
evaluations: {
|
|
1827
|
-
score: string;
|
|
1828
2020
|
suite: string;
|
|
1829
2021
|
metric: string;
|
|
2022
|
+
score: string;
|
|
1830
2023
|
evaluatedAt?: string | undefined;
|
|
1831
2024
|
reportUrl?: string | undefined;
|
|
1832
2025
|
}[];
|
|
@@ -1867,22 +2060,29 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1867
2060
|
availabilityScope?: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted" | undefined;
|
|
1868
2061
|
commercialPermission?: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting" | undefined;
|
|
1869
2062
|
pricing?: {
|
|
1870
|
-
currency: string;
|
|
1871
2063
|
priceVersionId: string;
|
|
2064
|
+
currency: string;
|
|
1872
2065
|
unitPrices: {
|
|
1873
2066
|
currency: string;
|
|
2067
|
+
unit: "embeddings" | "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1874
2068
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1875
|
-
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";
|
|
1876
2069
|
per: number;
|
|
1877
2070
|
}[];
|
|
1878
2071
|
} | undefined;
|
|
1879
2072
|
powerClass?: "medium" | "high" | "instant" | "pro" | "ultra" | undefined;
|
|
1880
2073
|
}, {
|
|
1881
2074
|
displayName: string;
|
|
2075
|
+
schemaVersion: 3;
|
|
2076
|
+
modelId: string;
|
|
2077
|
+
publisher: {
|
|
2078
|
+
displayName: string;
|
|
2079
|
+
slug: string;
|
|
2080
|
+
websiteUrl?: string | undefined;
|
|
2081
|
+
};
|
|
1882
2082
|
capabilities: {
|
|
2083
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
2084
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1883
2085
|
tools: boolean;
|
|
1884
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1885
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1886
2086
|
parallelToolCalls: boolean;
|
|
1887
2087
|
structuredOutput: boolean;
|
|
1888
2088
|
jsonMode: boolean;
|
|
@@ -1892,22 +2092,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1892
2092
|
maxContextTokens: number;
|
|
1893
2093
|
maxOutputTokens: number;
|
|
1894
2094
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1895
|
-
apiFormats?: ("
|
|
2095
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1896
2096
|
realtime?: {
|
|
1897
2097
|
transports: "websocket"[];
|
|
1898
2098
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1899
2099
|
} | undefined;
|
|
1900
2100
|
};
|
|
1901
|
-
schemaVersion: 3;
|
|
1902
|
-
modelId: string;
|
|
1903
|
-
publisher: {
|
|
1904
|
-
displayName: string;
|
|
1905
|
-
slug: string;
|
|
1906
|
-
websiteUrl?: string | undefined;
|
|
1907
|
-
};
|
|
1908
2101
|
license: {
|
|
1909
|
-
displayName: string;
|
|
1910
2102
|
licenseId: string;
|
|
2103
|
+
displayName: string;
|
|
1911
2104
|
commercialUseAllowed: boolean;
|
|
1912
2105
|
requiresAttribution: boolean;
|
|
1913
2106
|
url?: string | undefined;
|
|
@@ -1940,9 +2133,9 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1940
2133
|
releasedAt?: string | undefined;
|
|
1941
2134
|
modelCardUrl?: string | undefined;
|
|
1942
2135
|
evaluations?: {
|
|
1943
|
-
score: string;
|
|
1944
2136
|
suite: string;
|
|
1945
2137
|
metric: string;
|
|
2138
|
+
score: string;
|
|
1946
2139
|
evaluatedAt?: string | undefined;
|
|
1947
2140
|
reportUrl?: string | undefined;
|
|
1948
2141
|
}[] | undefined;
|
|
@@ -1969,12 +2162,12 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1969
2162
|
regions?: string[] | undefined;
|
|
1970
2163
|
}[] | undefined;
|
|
1971
2164
|
pricing?: {
|
|
1972
|
-
currency: string;
|
|
1973
2165
|
priceVersionId: string;
|
|
2166
|
+
currency: string;
|
|
1974
2167
|
unitPrices: {
|
|
1975
2168
|
currency: string;
|
|
2169
|
+
unit: "embeddings" | "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
1976
2170
|
amount: string;
|
|
1977
|
-
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";
|
|
1978
2171
|
per: number;
|
|
1979
2172
|
}[];
|
|
1980
2173
|
} | undefined;
|