@oxy.so/contracts 4.7.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/index.js +9 -1
- package/dist/cjs/inference/catalogue.js +5 -2
- package/dist/cjs/inference/request.js +33 -1
- package/dist/cjs/inference/scopedExecution.js +87 -0
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/inference/catalogue.js +3 -0
- package/dist/esm/inference/request.js +32 -0
- package/dist/esm/inference/scopedExecution.js +83 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +4 -0
- package/dist/types/inference/aliaModelRelease.d.ts +86 -86
- package/dist/types/inference/catalogue.d.ts +326 -136
- package/dist/types/inference/modelDocumentation.d.ts +234 -234
- package/dist/types/inference/realtime.d.ts +798 -798
- package/dist/types/inference/request.d.ts +2697 -424
- package/dist/types/inference/routingPolicy.d.ts +16 -16
- package/dist/types/inference/scopedExecution.d.ts +202 -0
- package/package.json +1 -1
|
@@ -155,9 +155,9 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
155
155
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
156
156
|
}>>;
|
|
157
157
|
}, "strict", z.ZodTypeAny, {
|
|
158
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
159
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
158
160
|
tools: boolean;
|
|
159
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
160
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
161
161
|
parallelToolCalls: boolean;
|
|
162
162
|
structuredOutput: boolean;
|
|
163
163
|
jsonMode: boolean;
|
|
@@ -167,15 +167,15 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
167
167
|
promptCaching: boolean;
|
|
168
168
|
maxContextTokens: number;
|
|
169
169
|
maxOutputTokens: number;
|
|
170
|
-
apiFormats?: ("
|
|
170
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
171
171
|
realtime?: {
|
|
172
172
|
transports: "websocket"[];
|
|
173
173
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
174
174
|
} | undefined;
|
|
175
175
|
}, {
|
|
176
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
177
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
176
178
|
tools: boolean;
|
|
177
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
178
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
179
179
|
parallelToolCalls: boolean;
|
|
180
180
|
structuredOutput: boolean;
|
|
181
181
|
jsonMode: boolean;
|
|
@@ -185,15 +185,15 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
185
185
|
maxContextTokens: number;
|
|
186
186
|
maxOutputTokens: number;
|
|
187
187
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
188
|
-
apiFormats?: ("
|
|
188
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
189
189
|
realtime?: {
|
|
190
190
|
transports: "websocket"[];
|
|
191
191
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
192
192
|
} | undefined;
|
|
193
193
|
}>, {
|
|
194
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
195
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
194
196
|
tools: boolean;
|
|
195
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
196
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
197
197
|
parallelToolCalls: boolean;
|
|
198
198
|
structuredOutput: boolean;
|
|
199
199
|
jsonMode: boolean;
|
|
@@ -203,15 +203,15 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
203
203
|
promptCaching: boolean;
|
|
204
204
|
maxContextTokens: number;
|
|
205
205
|
maxOutputTokens: number;
|
|
206
|
-
apiFormats?: ("
|
|
206
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
207
207
|
realtime?: {
|
|
208
208
|
transports: "websocket"[];
|
|
209
209
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
210
210
|
} | undefined;
|
|
211
211
|
}, {
|
|
212
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
213
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
212
214
|
tools: boolean;
|
|
213
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
214
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
215
215
|
parallelToolCalls: boolean;
|
|
216
216
|
structuredOutput: boolean;
|
|
217
217
|
jsonMode: boolean;
|
|
@@ -221,7 +221,7 @@ export declare const modelCapabilitiesSchema: z.ZodEffects<z.ZodObject<{
|
|
|
221
221
|
maxContextTokens: number;
|
|
222
222
|
maxOutputTokens: number;
|
|
223
223
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
224
|
-
apiFormats?: ("
|
|
224
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
225
225
|
realtime?: {
|
|
226
226
|
transports: "websocket"[];
|
|
227
227
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -241,15 +241,15 @@ export declare const modelLicenseSchema: z.ZodObject<{
|
|
|
241
241
|
requiresAttribution: z.ZodBoolean;
|
|
242
242
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
243
243
|
}, "strict", z.ZodTypeAny, {
|
|
244
|
-
displayName: string;
|
|
245
244
|
licenseId: string;
|
|
245
|
+
displayName: string;
|
|
246
246
|
commercialUseAllowed: boolean;
|
|
247
247
|
requiresAttribution: boolean;
|
|
248
248
|
url?: string | undefined;
|
|
249
249
|
acceptableUsePolicyUrl?: string | undefined;
|
|
250
250
|
}, {
|
|
251
|
-
displayName: string;
|
|
252
251
|
licenseId: string;
|
|
252
|
+
displayName: string;
|
|
253
253
|
commercialUseAllowed: boolean;
|
|
254
254
|
requiresAttribution: boolean;
|
|
255
255
|
url?: string | undefined;
|
|
@@ -365,15 +365,15 @@ export declare const modelEvaluationResultSchema: z.ZodObject<{
|
|
|
365
365
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
366
366
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
367
367
|
}, "strict", z.ZodTypeAny, {
|
|
368
|
-
score: string;
|
|
369
368
|
suite: string;
|
|
370
369
|
metric: string;
|
|
370
|
+
score: string;
|
|
371
371
|
evaluatedAt?: string | undefined;
|
|
372
372
|
reportUrl?: string | undefined;
|
|
373
373
|
}, {
|
|
374
|
-
score: string;
|
|
375
374
|
suite: string;
|
|
376
375
|
metric: string;
|
|
376
|
+
score: string;
|
|
377
377
|
evaluatedAt?: string | undefined;
|
|
378
378
|
reportUrl?: string | undefined;
|
|
379
379
|
}>;
|
|
@@ -482,9 +482,9 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
482
482
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
483
483
|
}>>;
|
|
484
484
|
}, "strict", z.ZodTypeAny, {
|
|
485
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
486
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
485
487
|
tools: boolean;
|
|
486
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
487
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
488
488
|
parallelToolCalls: boolean;
|
|
489
489
|
structuredOutput: boolean;
|
|
490
490
|
jsonMode: boolean;
|
|
@@ -494,15 +494,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
494
494
|
promptCaching: boolean;
|
|
495
495
|
maxContextTokens: number;
|
|
496
496
|
maxOutputTokens: number;
|
|
497
|
-
apiFormats?: ("
|
|
497
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
498
498
|
realtime?: {
|
|
499
499
|
transports: "websocket"[];
|
|
500
500
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
501
501
|
} | undefined;
|
|
502
502
|
}, {
|
|
503
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
504
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
503
505
|
tools: boolean;
|
|
504
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
505
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
506
506
|
parallelToolCalls: boolean;
|
|
507
507
|
structuredOutput: boolean;
|
|
508
508
|
jsonMode: boolean;
|
|
@@ -512,15 +512,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
512
512
|
maxContextTokens: number;
|
|
513
513
|
maxOutputTokens: number;
|
|
514
514
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
515
|
-
apiFormats?: ("
|
|
515
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
516
516
|
realtime?: {
|
|
517
517
|
transports: "websocket"[];
|
|
518
518
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
519
519
|
} | undefined;
|
|
520
520
|
}>, {
|
|
521
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
522
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
521
523
|
tools: boolean;
|
|
522
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
523
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
524
524
|
parallelToolCalls: boolean;
|
|
525
525
|
structuredOutput: boolean;
|
|
526
526
|
jsonMode: boolean;
|
|
@@ -530,15 +530,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
530
530
|
promptCaching: boolean;
|
|
531
531
|
maxContextTokens: number;
|
|
532
532
|
maxOutputTokens: number;
|
|
533
|
-
apiFormats?: ("
|
|
533
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
534
534
|
realtime?: {
|
|
535
535
|
transports: "websocket"[];
|
|
536
536
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
537
537
|
} | undefined;
|
|
538
538
|
}, {
|
|
539
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
540
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
539
541
|
tools: boolean;
|
|
540
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
541
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
542
542
|
parallelToolCalls: boolean;
|
|
543
543
|
structuredOutput: boolean;
|
|
544
544
|
jsonMode: boolean;
|
|
@@ -548,7 +548,7 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
548
548
|
maxContextTokens: number;
|
|
549
549
|
maxOutputTokens: number;
|
|
550
550
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
551
|
-
apiFormats?: ("
|
|
551
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
552
552
|
realtime?: {
|
|
553
553
|
transports: "websocket"[];
|
|
554
554
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -563,15 +563,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
563
563
|
requiresAttribution: z.ZodBoolean;
|
|
564
564
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
565
565
|
}, "strict", z.ZodTypeAny, {
|
|
566
|
-
displayName: string;
|
|
567
566
|
licenseId: string;
|
|
567
|
+
displayName: string;
|
|
568
568
|
commercialUseAllowed: boolean;
|
|
569
569
|
requiresAttribution: boolean;
|
|
570
570
|
url?: string | undefined;
|
|
571
571
|
acceptableUsePolicyUrl?: string | undefined;
|
|
572
572
|
}, {
|
|
573
|
-
displayName: string;
|
|
574
573
|
licenseId: string;
|
|
574
|
+
displayName: string;
|
|
575
575
|
commercialUseAllowed: boolean;
|
|
576
576
|
requiresAttribution: boolean;
|
|
577
577
|
url?: string | undefined;
|
|
@@ -623,10 +623,14 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
623
623
|
}>;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
displayName: string;
|
|
626
|
+
schemaVersion: 1;
|
|
627
|
+
slug: string;
|
|
628
|
+
modelId: string;
|
|
629
|
+
publisher: string;
|
|
626
630
|
capabilities: {
|
|
631
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
632
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
627
633
|
tools: boolean;
|
|
628
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
629
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
630
634
|
parallelToolCalls: boolean;
|
|
631
635
|
structuredOutput: boolean;
|
|
632
636
|
jsonMode: boolean;
|
|
@@ -636,19 +640,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
636
640
|
promptCaching: boolean;
|
|
637
641
|
maxContextTokens: number;
|
|
638
642
|
maxOutputTokens: number;
|
|
639
|
-
apiFormats?: ("
|
|
643
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
640
644
|
realtime?: {
|
|
641
645
|
transports: "websocket"[];
|
|
642
646
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
643
647
|
} | undefined;
|
|
644
648
|
};
|
|
645
|
-
schemaVersion: 1;
|
|
646
|
-
slug: string;
|
|
647
|
-
modelId: string;
|
|
648
|
-
publisher: string;
|
|
649
649
|
license: {
|
|
650
|
-
displayName: string;
|
|
651
650
|
licenseId: string;
|
|
651
|
+
displayName: string;
|
|
652
652
|
commercialUseAllowed: boolean;
|
|
653
653
|
requiresAttribution: boolean;
|
|
654
654
|
url?: string | undefined;
|
|
@@ -671,10 +671,14 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
671
671
|
releasedOn?: string | undefined;
|
|
672
672
|
}, {
|
|
673
673
|
displayName: string;
|
|
674
|
+
schemaVersion: 1;
|
|
675
|
+
slug: string;
|
|
676
|
+
modelId: string;
|
|
677
|
+
publisher: string;
|
|
674
678
|
capabilities: {
|
|
679
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
680
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
675
681
|
tools: boolean;
|
|
676
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
677
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
678
682
|
parallelToolCalls: boolean;
|
|
679
683
|
structuredOutput: boolean;
|
|
680
684
|
jsonMode: boolean;
|
|
@@ -684,19 +688,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
684
688
|
maxContextTokens: number;
|
|
685
689
|
maxOutputTokens: number;
|
|
686
690
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
687
|
-
apiFormats?: ("
|
|
691
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
688
692
|
realtime?: {
|
|
689
693
|
transports: "websocket"[];
|
|
690
694
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
691
695
|
} | undefined;
|
|
692
696
|
};
|
|
693
|
-
schemaVersion: 1;
|
|
694
|
-
slug: string;
|
|
695
|
-
modelId: string;
|
|
696
|
-
publisher: string;
|
|
697
697
|
license: {
|
|
698
|
-
displayName: string;
|
|
699
698
|
licenseId: string;
|
|
699
|
+
displayName: string;
|
|
700
700
|
commercialUseAllowed: boolean;
|
|
701
701
|
requiresAttribution: boolean;
|
|
702
702
|
url?: string | undefined;
|
|
@@ -719,10 +719,14 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
719
719
|
releasedOn?: string | undefined;
|
|
720
720
|
}>, {
|
|
721
721
|
displayName: string;
|
|
722
|
+
schemaVersion: 1;
|
|
723
|
+
slug: string;
|
|
724
|
+
modelId: string;
|
|
725
|
+
publisher: string;
|
|
722
726
|
capabilities: {
|
|
727
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
728
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
723
729
|
tools: boolean;
|
|
724
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
725
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
726
730
|
parallelToolCalls: boolean;
|
|
727
731
|
structuredOutput: boolean;
|
|
728
732
|
jsonMode: boolean;
|
|
@@ -732,19 +736,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
732
736
|
promptCaching: boolean;
|
|
733
737
|
maxContextTokens: number;
|
|
734
738
|
maxOutputTokens: number;
|
|
735
|
-
apiFormats?: ("
|
|
739
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
736
740
|
realtime?: {
|
|
737
741
|
transports: "websocket"[];
|
|
738
742
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
739
743
|
} | undefined;
|
|
740
744
|
};
|
|
741
|
-
schemaVersion: 1;
|
|
742
|
-
slug: string;
|
|
743
|
-
modelId: string;
|
|
744
|
-
publisher: string;
|
|
745
745
|
license: {
|
|
746
|
-
displayName: string;
|
|
747
746
|
licenseId: string;
|
|
747
|
+
displayName: string;
|
|
748
748
|
commercialUseAllowed: boolean;
|
|
749
749
|
requiresAttribution: boolean;
|
|
750
750
|
url?: string | undefined;
|
|
@@ -767,10 +767,14 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
767
767
|
releasedOn?: string | undefined;
|
|
768
768
|
}, {
|
|
769
769
|
displayName: string;
|
|
770
|
+
schemaVersion: 1;
|
|
771
|
+
slug: string;
|
|
772
|
+
modelId: string;
|
|
773
|
+
publisher: string;
|
|
770
774
|
capabilities: {
|
|
775
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
776
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
771
777
|
tools: boolean;
|
|
772
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
773
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
774
778
|
parallelToolCalls: boolean;
|
|
775
779
|
structuredOutput: boolean;
|
|
776
780
|
jsonMode: boolean;
|
|
@@ -780,19 +784,15 @@ export declare const catalogueModelSchema: z.ZodEffects<z.ZodObject<{
|
|
|
780
784
|
maxContextTokens: number;
|
|
781
785
|
maxOutputTokens: number;
|
|
782
786
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
783
|
-
apiFormats?: ("
|
|
787
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
784
788
|
realtime?: {
|
|
785
789
|
transports: "websocket"[];
|
|
786
790
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
787
791
|
} | undefined;
|
|
788
792
|
};
|
|
789
|
-
schemaVersion: 1;
|
|
790
|
-
slug: string;
|
|
791
|
-
modelId: string;
|
|
792
|
-
publisher: string;
|
|
793
793
|
license: {
|
|
794
|
-
displayName: string;
|
|
795
794
|
licenseId: string;
|
|
795
|
+
displayName: string;
|
|
796
796
|
commercialUseAllowed: boolean;
|
|
797
797
|
requiresAttribution: boolean;
|
|
798
798
|
url?: string | undefined;
|
|
@@ -842,15 +842,15 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
842
842
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
843
843
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
844
844
|
}, "strict", z.ZodTypeAny, {
|
|
845
|
-
score: string;
|
|
846
845
|
suite: string;
|
|
847
846
|
metric: string;
|
|
847
|
+
score: string;
|
|
848
848
|
evaluatedAt?: string | undefined;
|
|
849
849
|
reportUrl?: string | undefined;
|
|
850
850
|
}, {
|
|
851
|
-
score: string;
|
|
852
851
|
suite: string;
|
|
853
852
|
metric: string;
|
|
853
|
+
score: string;
|
|
854
854
|
evaluatedAt?: string | undefined;
|
|
855
855
|
reportUrl?: string | undefined;
|
|
856
856
|
}>, "many">>;
|
|
@@ -873,15 +873,15 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
873
873
|
}>>;
|
|
874
874
|
}, "strip", z.ZodTypeAny, {
|
|
875
875
|
schemaVersion: 1;
|
|
876
|
-
revision: string;
|
|
877
876
|
modelId: string;
|
|
878
877
|
revisionId: string;
|
|
878
|
+
revision: string;
|
|
879
879
|
reference: string;
|
|
880
880
|
releasedAt: string;
|
|
881
881
|
evaluations: {
|
|
882
|
-
score: string;
|
|
883
882
|
suite: string;
|
|
884
883
|
metric: string;
|
|
884
|
+
score: string;
|
|
885
885
|
evaluatedAt?: string | undefined;
|
|
886
886
|
reportUrl?: string | undefined;
|
|
887
887
|
}[];
|
|
@@ -896,18 +896,18 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
896
896
|
} | undefined;
|
|
897
897
|
}, {
|
|
898
898
|
schemaVersion: 1;
|
|
899
|
-
revision: string;
|
|
900
899
|
modelId: string;
|
|
901
900
|
revisionId: string;
|
|
901
|
+
revision: string;
|
|
902
902
|
reference: string;
|
|
903
903
|
releasedAt: string;
|
|
904
904
|
retiredAt?: string | undefined;
|
|
905
905
|
artifactDigest?: string | undefined;
|
|
906
906
|
modelCardUrl?: string | undefined;
|
|
907
907
|
evaluations?: {
|
|
908
|
-
score: string;
|
|
909
908
|
suite: string;
|
|
910
909
|
metric: string;
|
|
910
|
+
score: string;
|
|
911
911
|
evaluatedAt?: string | undefined;
|
|
912
912
|
reportUrl?: string | undefined;
|
|
913
913
|
}[] | undefined;
|
|
@@ -919,15 +919,15 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
919
919
|
} | undefined;
|
|
920
920
|
}>, {
|
|
921
921
|
schemaVersion: 1;
|
|
922
|
-
revision: string;
|
|
923
922
|
modelId: string;
|
|
924
923
|
revisionId: string;
|
|
924
|
+
revision: string;
|
|
925
925
|
reference: string;
|
|
926
926
|
releasedAt: string;
|
|
927
927
|
evaluations: {
|
|
928
|
-
score: string;
|
|
929
928
|
suite: string;
|
|
930
929
|
metric: string;
|
|
930
|
+
score: string;
|
|
931
931
|
evaluatedAt?: string | undefined;
|
|
932
932
|
reportUrl?: string | undefined;
|
|
933
933
|
}[];
|
|
@@ -942,18 +942,18 @@ export declare const modelRevisionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
942
942
|
} | undefined;
|
|
943
943
|
}, {
|
|
944
944
|
schemaVersion: 1;
|
|
945
|
-
revision: string;
|
|
946
945
|
modelId: string;
|
|
947
946
|
revisionId: string;
|
|
947
|
+
revision: string;
|
|
948
948
|
reference: string;
|
|
949
949
|
releasedAt: string;
|
|
950
950
|
retiredAt?: string | undefined;
|
|
951
951
|
artifactDigest?: string | undefined;
|
|
952
952
|
modelCardUrl?: string | undefined;
|
|
953
953
|
evaluations?: {
|
|
954
|
-
score: string;
|
|
955
954
|
suite: string;
|
|
956
955
|
metric: string;
|
|
956
|
+
score: string;
|
|
957
957
|
evaluatedAt?: string | undefined;
|
|
958
958
|
reportUrl?: string | undefined;
|
|
959
959
|
}[] | undefined;
|
|
@@ -1019,10 +1019,10 @@ export declare const inferenceProviderSchema: z.ZodObject<{
|
|
|
1019
1019
|
}>;
|
|
1020
1020
|
}, "strip", z.ZodTypeAny, {
|
|
1021
1021
|
displayName: string;
|
|
1022
|
-
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1023
1022
|
schemaVersion: 1;
|
|
1024
1023
|
slug: string;
|
|
1025
1024
|
providerId: string;
|
|
1025
|
+
kind: "oxy_hosted" | "customer_byok" | "third_party";
|
|
1026
1026
|
regions: string[];
|
|
1027
1027
|
dataPolicy: {
|
|
1028
1028
|
retainsPayloads: boolean;
|
|
@@ -1036,10 +1036,10 @@ export declare const inferenceProviderSchema: z.ZodObject<{
|
|
|
1036
1036
|
statusPageUrl?: string | undefined;
|
|
1037
1037
|
}, {
|
|
1038
1038
|
displayName: string;
|
|
1039
|
-
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1040
1039
|
schemaVersion: 1;
|
|
1041
1040
|
slug: string;
|
|
1042
1041
|
providerId: string;
|
|
1042
|
+
kind: "oxy_hosted" | "customer_byok" | "third_party";
|
|
1043
1043
|
dataPolicy: {
|
|
1044
1044
|
retainsPayloads: boolean;
|
|
1045
1045
|
retentionDays: number;
|
|
@@ -1069,6 +1069,96 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1069
1069
|
/** See `version.ts`: exchanged with the data plane on its own. */
|
|
1070
1070
|
schemaVersion: z.ZodLiteral<2>;
|
|
1071
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
|
+
}>>;
|
|
1072
1162
|
provider: z.ZodString;
|
|
1073
1163
|
/** Always revision-pinned: a deployment serves specific weights. */
|
|
1074
1164
|
modelReference: z.ZodString;
|
|
@@ -1119,10 +1209,11 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1119
1209
|
/** The price version customers are charged under on this route. */
|
|
1120
1210
|
priceVersionId: z.ZodOptional<z.ZodString>;
|
|
1121
1211
|
}, "strip", z.ZodTypeAny, {
|
|
1122
|
-
status: "active" | "
|
|
1123
|
-
|
|
1212
|
+
status: "active" | "retired" | "degraded" | "disabled";
|
|
1213
|
+
deploymentId: string;
|
|
1124
1214
|
provider: string;
|
|
1125
1215
|
modelReference: string;
|
|
1216
|
+
schemaVersion: 2;
|
|
1126
1217
|
regions: string[];
|
|
1127
1218
|
dataPolicy: {
|
|
1128
1219
|
retainsPayloads: boolean;
|
|
@@ -1132,16 +1223,41 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1132
1223
|
subprocessors: string[];
|
|
1133
1224
|
policyUrl?: string | undefined;
|
|
1134
1225
|
};
|
|
1135
|
-
deploymentId: string;
|
|
1136
1226
|
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1137
1227
|
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1138
1228
|
dedicatedCapacity: boolean;
|
|
1139
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;
|
|
1140
1255
|
}, {
|
|
1141
|
-
status: "active" | "
|
|
1142
|
-
|
|
1256
|
+
status: "active" | "retired" | "degraded" | "disabled";
|
|
1257
|
+
deploymentId: string;
|
|
1143
1258
|
provider: string;
|
|
1144
1259
|
modelReference: string;
|
|
1260
|
+
schemaVersion: 2;
|
|
1145
1261
|
regions: string[];
|
|
1146
1262
|
dataPolicy: {
|
|
1147
1263
|
retainsPayloads: boolean;
|
|
@@ -1151,16 +1267,41 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1151
1267
|
subprocessors?: string[] | undefined;
|
|
1152
1268
|
policyUrl?: string | undefined;
|
|
1153
1269
|
};
|
|
1154
|
-
deploymentId: string;
|
|
1155
1270
|
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1156
1271
|
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1157
1272
|
dedicatedCapacity: boolean;
|
|
1158
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;
|
|
1159
1299
|
}>, {
|
|
1160
|
-
status: "active" | "
|
|
1161
|
-
|
|
1300
|
+
status: "active" | "retired" | "degraded" | "disabled";
|
|
1301
|
+
deploymentId: string;
|
|
1162
1302
|
provider: string;
|
|
1163
1303
|
modelReference: string;
|
|
1304
|
+
schemaVersion: 2;
|
|
1164
1305
|
regions: string[];
|
|
1165
1306
|
dataPolicy: {
|
|
1166
1307
|
retainsPayloads: boolean;
|
|
@@ -1170,16 +1311,41 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1170
1311
|
subprocessors: string[];
|
|
1171
1312
|
policyUrl?: string | undefined;
|
|
1172
1313
|
};
|
|
1173
|
-
deploymentId: string;
|
|
1174
1314
|
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1175
1315
|
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1176
1316
|
dedicatedCapacity: boolean;
|
|
1177
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;
|
|
1178
1343
|
}, {
|
|
1179
|
-
status: "active" | "
|
|
1180
|
-
|
|
1344
|
+
status: "active" | "retired" | "degraded" | "disabled";
|
|
1345
|
+
deploymentId: string;
|
|
1181
1346
|
provider: string;
|
|
1182
1347
|
modelReference: string;
|
|
1348
|
+
schemaVersion: 2;
|
|
1183
1349
|
regions: string[];
|
|
1184
1350
|
dataPolicy: {
|
|
1185
1351
|
retainsPayloads: boolean;
|
|
@@ -1189,11 +1355,35 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1189
1355
|
subprocessors?: string[] | undefined;
|
|
1190
1356
|
policyUrl?: string | undefined;
|
|
1191
1357
|
};
|
|
1192
|
-
deploymentId: string;
|
|
1193
1358
|
availabilityScope: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted";
|
|
1194
1359
|
commercialPermission: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting";
|
|
1195
1360
|
dedicatedCapacity: boolean;
|
|
1196
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;
|
|
1197
1387
|
}>;
|
|
1198
1388
|
/** One candidate a profile may resolve to, and how strongly it is preferred. */
|
|
1199
1389
|
export declare const routingProfileCandidateSchema: z.ZodObject<{
|
|
@@ -1442,9 +1632,9 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1442
1632
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1443
1633
|
}>>;
|
|
1444
1634
|
}, "strict", z.ZodTypeAny, {
|
|
1635
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1636
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1445
1637
|
tools: boolean;
|
|
1446
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1447
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1448
1638
|
parallelToolCalls: boolean;
|
|
1449
1639
|
structuredOutput: boolean;
|
|
1450
1640
|
jsonMode: boolean;
|
|
@@ -1454,15 +1644,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1454
1644
|
promptCaching: boolean;
|
|
1455
1645
|
maxContextTokens: number;
|
|
1456
1646
|
maxOutputTokens: number;
|
|
1457
|
-
apiFormats?: ("
|
|
1647
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1458
1648
|
realtime?: {
|
|
1459
1649
|
transports: "websocket"[];
|
|
1460
1650
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1461
1651
|
} | undefined;
|
|
1462
1652
|
}, {
|
|
1653
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1654
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1463
1655
|
tools: boolean;
|
|
1464
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1465
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1466
1656
|
parallelToolCalls: boolean;
|
|
1467
1657
|
structuredOutput: boolean;
|
|
1468
1658
|
jsonMode: boolean;
|
|
@@ -1472,15 +1662,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1472
1662
|
maxContextTokens: number;
|
|
1473
1663
|
maxOutputTokens: number;
|
|
1474
1664
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1475
|
-
apiFormats?: ("
|
|
1665
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1476
1666
|
realtime?: {
|
|
1477
1667
|
transports: "websocket"[];
|
|
1478
1668
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1479
1669
|
} | undefined;
|
|
1480
1670
|
}>, {
|
|
1671
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1672
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1481
1673
|
tools: boolean;
|
|
1482
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1483
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1484
1674
|
parallelToolCalls: boolean;
|
|
1485
1675
|
structuredOutput: boolean;
|
|
1486
1676
|
jsonMode: boolean;
|
|
@@ -1490,15 +1680,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1490
1680
|
promptCaching: boolean;
|
|
1491
1681
|
maxContextTokens: number;
|
|
1492
1682
|
maxOutputTokens: number;
|
|
1493
|
-
apiFormats?: ("
|
|
1683
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1494
1684
|
realtime?: {
|
|
1495
1685
|
transports: "websocket"[];
|
|
1496
1686
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1497
1687
|
} | undefined;
|
|
1498
1688
|
}, {
|
|
1689
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1690
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1499
1691
|
tools: boolean;
|
|
1500
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1501
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1502
1692
|
parallelToolCalls: boolean;
|
|
1503
1693
|
structuredOutput: boolean;
|
|
1504
1694
|
jsonMode: boolean;
|
|
@@ -1508,7 +1698,7 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1508
1698
|
maxContextTokens: number;
|
|
1509
1699
|
maxOutputTokens: number;
|
|
1510
1700
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1511
|
-
apiFormats?: ("
|
|
1701
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1512
1702
|
realtime?: {
|
|
1513
1703
|
transports: "websocket"[];
|
|
1514
1704
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1523,15 +1713,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1523
1713
|
requiresAttribution: z.ZodBoolean;
|
|
1524
1714
|
acceptableUsePolicyUrl: z.ZodOptional<z.ZodString>;
|
|
1525
1715
|
}, "strict", z.ZodTypeAny, {
|
|
1526
|
-
displayName: string;
|
|
1527
1716
|
licenseId: string;
|
|
1717
|
+
displayName: string;
|
|
1528
1718
|
commercialUseAllowed: boolean;
|
|
1529
1719
|
requiresAttribution: boolean;
|
|
1530
1720
|
url?: string | undefined;
|
|
1531
1721
|
acceptableUsePolicyUrl?: string | undefined;
|
|
1532
1722
|
}, {
|
|
1533
|
-
displayName: string;
|
|
1534
1723
|
licenseId: string;
|
|
1724
|
+
displayName: string;
|
|
1535
1725
|
commercialUseAllowed: boolean;
|
|
1536
1726
|
requiresAttribution: boolean;
|
|
1537
1727
|
url?: string | undefined;
|
|
@@ -1676,31 +1866,31 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1676
1866
|
currency: z.ZodString;
|
|
1677
1867
|
}, "strict", z.ZodTypeAny, {
|
|
1678
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";
|
|
1679
1870
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1680
|
-
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";
|
|
1681
1871
|
per: number;
|
|
1682
1872
|
}, {
|
|
1683
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";
|
|
1684
1875
|
amount: string;
|
|
1685
|
-
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";
|
|
1686
1876
|
per: number;
|
|
1687
1877
|
}>, "many">;
|
|
1688
1878
|
}, "strict", z.ZodTypeAny, {
|
|
1689
|
-
currency: string;
|
|
1690
1879
|
priceVersionId: string;
|
|
1880
|
+
currency: string;
|
|
1691
1881
|
unitPrices: {
|
|
1692
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";
|
|
1693
1884
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1694
|
-
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";
|
|
1695
1885
|
per: number;
|
|
1696
1886
|
}[];
|
|
1697
1887
|
}, {
|
|
1698
|
-
currency: string;
|
|
1699
1888
|
priceVersionId: string;
|
|
1889
|
+
currency: string;
|
|
1700
1890
|
unitPrices: {
|
|
1701
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";
|
|
1702
1893
|
amount: string;
|
|
1703
|
-
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";
|
|
1704
1894
|
per: number;
|
|
1705
1895
|
}[];
|
|
1706
1896
|
}>>;
|
|
@@ -1742,15 +1932,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1742
1932
|
evaluatedAt: z.ZodOptional<z.ZodString>;
|
|
1743
1933
|
reportUrl: z.ZodOptional<z.ZodString>;
|
|
1744
1934
|
}, "strict", z.ZodTypeAny, {
|
|
1745
|
-
score: string;
|
|
1746
1935
|
suite: string;
|
|
1747
1936
|
metric: string;
|
|
1937
|
+
score: string;
|
|
1748
1938
|
evaluatedAt?: string | undefined;
|
|
1749
1939
|
reportUrl?: string | undefined;
|
|
1750
1940
|
}, {
|
|
1751
|
-
score: string;
|
|
1752
1941
|
suite: string;
|
|
1753
1942
|
metric: string;
|
|
1943
|
+
score: string;
|
|
1754
1944
|
evaluatedAt?: string | undefined;
|
|
1755
1945
|
reportUrl?: string | undefined;
|
|
1756
1946
|
}>, "many">>;
|
|
@@ -1780,10 +1970,17 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1780
1970
|
powerClass: z.ZodOptional<z.ZodEnum<["instant", "medium", "high", "pro", "ultra"]>>;
|
|
1781
1971
|
}, "strip", z.ZodTypeAny, {
|
|
1782
1972
|
displayName: string;
|
|
1973
|
+
schemaVersion: 3;
|
|
1974
|
+
modelId: string;
|
|
1975
|
+
publisher: {
|
|
1976
|
+
displayName: string;
|
|
1977
|
+
slug: string;
|
|
1978
|
+
websiteUrl?: string | undefined;
|
|
1979
|
+
};
|
|
1783
1980
|
capabilities: {
|
|
1981
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1982
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1784
1983
|
tools: boolean;
|
|
1785
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1786
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1787
1984
|
parallelToolCalls: boolean;
|
|
1788
1985
|
structuredOutput: boolean;
|
|
1789
1986
|
jsonMode: boolean;
|
|
@@ -1793,22 +1990,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1793
1990
|
promptCaching: boolean;
|
|
1794
1991
|
maxContextTokens: number;
|
|
1795
1992
|
maxOutputTokens: number;
|
|
1796
|
-
apiFormats?: ("
|
|
1993
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1797
1994
|
realtime?: {
|
|
1798
1995
|
transports: "websocket"[];
|
|
1799
1996
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1800
1997
|
} | undefined;
|
|
1801
1998
|
};
|
|
1802
|
-
schemaVersion: 3;
|
|
1803
|
-
modelId: string;
|
|
1804
|
-
publisher: {
|
|
1805
|
-
displayName: string;
|
|
1806
|
-
slug: string;
|
|
1807
|
-
websiteUrl?: string | undefined;
|
|
1808
|
-
};
|
|
1809
1999
|
license: {
|
|
1810
|
-
displayName: string;
|
|
1811
2000
|
licenseId: string;
|
|
2001
|
+
displayName: string;
|
|
1812
2002
|
commercialUseAllowed: boolean;
|
|
1813
2003
|
requiresAttribution: boolean;
|
|
1814
2004
|
url?: string | undefined;
|
|
@@ -1827,9 +2017,9 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1827
2017
|
sunsetAt?: string | undefined;
|
|
1828
2018
|
};
|
|
1829
2019
|
evaluations: {
|
|
1830
|
-
score: string;
|
|
1831
2020
|
suite: string;
|
|
1832
2021
|
metric: string;
|
|
2022
|
+
score: string;
|
|
1833
2023
|
evaluatedAt?: string | undefined;
|
|
1834
2024
|
reportUrl?: string | undefined;
|
|
1835
2025
|
}[];
|
|
@@ -1870,22 +2060,29 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1870
2060
|
availabilityScope?: "platform_internal" | "public_payg" | "enterprise" | "byok_only" | "oxy_hosted" | undefined;
|
|
1871
2061
|
commercialPermission?: "standard_application_use" | "public_resale_approved" | "wholesale_contract" | "customer_byok" | "open_weight_hosting" | undefined;
|
|
1872
2062
|
pricing?: {
|
|
1873
|
-
currency: string;
|
|
1874
2063
|
priceVersionId: string;
|
|
2064
|
+
currency: string;
|
|
1875
2065
|
unitPrices: {
|
|
1876
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";
|
|
1877
2068
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
1878
|
-
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";
|
|
1879
2069
|
per: number;
|
|
1880
2070
|
}[];
|
|
1881
2071
|
} | undefined;
|
|
1882
2072
|
powerClass?: "medium" | "high" | "instant" | "pro" | "ultra" | undefined;
|
|
1883
2073
|
}, {
|
|
1884
2074
|
displayName: string;
|
|
2075
|
+
schemaVersion: 3;
|
|
2076
|
+
modelId: string;
|
|
2077
|
+
publisher: {
|
|
2078
|
+
displayName: string;
|
|
2079
|
+
slug: string;
|
|
2080
|
+
websiteUrl?: string | undefined;
|
|
2081
|
+
};
|
|
1885
2082
|
capabilities: {
|
|
2083
|
+
inputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
2084
|
+
outputModalities: ("text" | "image" | "audio" | "video" | "embedding")[];
|
|
1886
2085
|
tools: boolean;
|
|
1887
|
-
inputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1888
|
-
outputModalities: ("image" | "embedding" | "text" | "audio" | "video")[];
|
|
1889
2086
|
parallelToolCalls: boolean;
|
|
1890
2087
|
structuredOutput: boolean;
|
|
1891
2088
|
jsonMode: boolean;
|
|
@@ -1895,22 +2092,15 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1895
2092
|
maxContextTokens: number;
|
|
1896
2093
|
maxOutputTokens: number;
|
|
1897
2094
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1898
|
-
apiFormats?: ("
|
|
2095
|
+
apiFormats?: ("responses" | "chat_completions" | "embeddings" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1899
2096
|
realtime?: {
|
|
1900
2097
|
transports: "websocket"[];
|
|
1901
2098
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
1902
2099
|
} | undefined;
|
|
1903
2100
|
};
|
|
1904
|
-
schemaVersion: 3;
|
|
1905
|
-
modelId: string;
|
|
1906
|
-
publisher: {
|
|
1907
|
-
displayName: string;
|
|
1908
|
-
slug: string;
|
|
1909
|
-
websiteUrl?: string | undefined;
|
|
1910
|
-
};
|
|
1911
2101
|
license: {
|
|
1912
|
-
displayName: string;
|
|
1913
2102
|
licenseId: string;
|
|
2103
|
+
displayName: string;
|
|
1914
2104
|
commercialUseAllowed: boolean;
|
|
1915
2105
|
requiresAttribution: boolean;
|
|
1916
2106
|
url?: string | undefined;
|
|
@@ -1943,9 +2133,9 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1943
2133
|
releasedAt?: string | undefined;
|
|
1944
2134
|
modelCardUrl?: string | undefined;
|
|
1945
2135
|
evaluations?: {
|
|
1946
|
-
score: string;
|
|
1947
2136
|
suite: string;
|
|
1948
2137
|
metric: string;
|
|
2138
|
+
score: string;
|
|
1949
2139
|
evaluatedAt?: string | undefined;
|
|
1950
2140
|
reportUrl?: string | undefined;
|
|
1951
2141
|
}[] | undefined;
|
|
@@ -1972,12 +2162,12 @@ export declare const modelCatalogueEntrySchema: z.ZodObject<{
|
|
|
1972
2162
|
regions?: string[] | undefined;
|
|
1973
2163
|
}[] | undefined;
|
|
1974
2164
|
pricing?: {
|
|
1975
|
-
currency: string;
|
|
1976
2165
|
priceVersionId: string;
|
|
2166
|
+
currency: string;
|
|
1977
2167
|
unitPrices: {
|
|
1978
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";
|
|
1979
2170
|
amount: string;
|
|
1980
|
-
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";
|
|
1981
2171
|
per: number;
|
|
1982
2172
|
}[];
|
|
1983
2173
|
} | undefined;
|