@openrouter/sdk 0.13.7 → 0.13.14
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/README.md +3 -9
- package/esm/funcs/benchmarksGetBenchmarks.d.ts +19 -0
- package/esm/funcs/{datasetsGetBenchmarksDesignArena.js → benchmarksGetBenchmarks.js} +11 -10
- package/esm/funcs/classificationsGetTaskClassifications.d.ts +37 -0
- package/esm/funcs/classificationsGetTaskClassifications.js +119 -0
- package/esm/funcs/imagesGenerate.d.ts +30 -0
- package/esm/funcs/imagesGenerate.js +95 -0
- package/esm/funcs/imagesListModelEndpoints.d.ts +19 -0
- package/esm/funcs/imagesListModelEndpoints.js +107 -0
- package/esm/funcs/{datasetsGetBenchmarksDesignArena.d.ts → imagesListModels.d.ts} +4 -4
- package/esm/funcs/{datasetsGetBenchmarksArtificialAnalysis.js → imagesListModels.js} +10 -15
- package/esm/funcs/workspacesDeleteBudget.d.ts +19 -0
- package/esm/funcs/workspacesDeleteBudget.js +107 -0
- package/esm/funcs/workspacesListBudgets.d.ts +19 -0
- package/esm/funcs/workspacesListBudgets.js +103 -0
- package/esm/funcs/workspacesSetBudget.d.ts +19 -0
- package/esm/funcs/workspacesSetBudget.js +110 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/advisorreasoning.d.ts +1 -0
- package/esm/models/advisorreasoning.js +1 -0
- package/esm/models/anthropicadvisormessageusageiteration.d.ts +24 -0
- package/esm/models/anthropicadvisormessageusageiteration.js +36 -0
- package/esm/models/anthropiccompactionusageiteration.d.ts +23 -0
- package/esm/models/anthropiccompactionusageiteration.js +35 -0
- package/esm/models/anthropicdocumentblockparam.d.ts +5 -4
- package/esm/models/anthropicdocumentblockparam.js +3 -0
- package/esm/models/anthropicfiledocumentsource.d.ts +14 -0
- package/esm/models/anthropicfiledocumentsource.js +19 -0
- package/esm/models/anthropiciterationcachecreation.d.ts +11 -0
- package/esm/models/anthropiciterationcachecreation.js +21 -0
- package/esm/models/anthropicmessageusageiteration.d.ts +24 -0
- package/esm/models/anthropicmessageusageiteration.js +36 -0
- package/esm/models/anthropicspeed.d.ts +10 -0
- package/esm/models/anthropicspeed.js +12 -0
- package/esm/models/anthropicunknownusageiteration.d.ts +16 -0
- package/esm/models/anthropicunknownusageiteration.js +30 -0
- package/esm/models/anthropicusageiteration.d.ts +12 -0
- package/esm/models/anthropicusageiteration.js +21 -0
- package/esm/models/apierrortype.d.ts +41 -0
- package/esm/models/apierrortype.js +40 -0
- package/esm/models/booleancapability.d.ts +13 -0
- package/esm/models/booleancapability.js +14 -0
- package/esm/models/byokproviderslug.d.ts +4 -0
- package/esm/models/byokproviderslug.js +4 -0
- package/esm/models/capabilitydescriptor.d.ts +15 -0
- package/esm/models/capabilitydescriptor.js +19 -0
- package/esm/models/chatrequest.d.ts +2 -0
- package/esm/models/chatrequest.js +2 -0
- package/esm/models/chatstreamchunk.d.ts +25 -4
- package/esm/models/chatstreamchunk.js +19 -4
- package/esm/models/chatusage.d.ts +32 -8
- package/esm/models/chatusage.js +25 -8
- package/esm/models/chatwebsearchshorthand.d.ts +1 -1
- package/esm/models/contentpartimage.d.ts +9 -2
- package/esm/models/contentpartimage.js +6 -1
- package/esm/models/debugevent.d.ts +42 -0
- package/esm/models/debugevent.js +58 -0
- package/esm/models/deleteworkspacebudgetresponse.d.ts +13 -0
- package/esm/models/deleteworkspacebudgetresponse.js +14 -0
- package/esm/models/enumcapability.d.ts +14 -0
- package/esm/models/enumcapability.js +15 -0
- package/esm/models/fusionplugin.d.ts +1 -0
- package/esm/models/fusionplugin.js +1 -0
- package/esm/models/fusionservertoolconfig.d.ts +8 -1
- package/esm/models/fusionservertoolconfig.js +4 -0
- package/esm/models/imageendpoint.d.ts +41 -0
- package/esm/models/imageendpoint.js +33 -0
- package/esm/models/imagegencompletedevent.d.ts +29 -0
- package/esm/models/imagegencompletedevent.js +23 -0
- package/esm/models/imagegenerationrequest.d.ts +914 -0
- package/esm/models/imagegenerationrequest.js +267 -0
- package/esm/models/imagegenerationresponse.d.ts +34 -0
- package/esm/models/imagegenerationresponse.js +29 -0
- package/esm/models/imagegenerationservertool.d.ts +15 -15
- package/esm/models/imagegenerationservertool.js +15 -17
- package/esm/models/imagegenerationusage.d.ts +119 -0
- package/esm/models/imagegenerationusage.js +93 -0
- package/esm/models/imagegenpartialimageevent.d.ts +24 -0
- package/esm/models/imagegenpartialimageevent.js +22 -0
- package/esm/models/imagegenstreamerrorevent.d.ts +44 -0
- package/esm/models/imagegenstreamerrorevent.js +25 -0
- package/esm/models/imagemodelarchitecture.d.ts +19 -0
- package/esm/models/imagemodelarchitecture.js +23 -0
- package/esm/models/imagemodelendpointsresponse.d.ts +18 -0
- package/esm/models/imagemodelendpointsresponse.js +16 -0
- package/esm/models/imagemodellistitem.d.ts +42 -0
- package/esm/models/imagemodellistitem.js +29 -0
- package/esm/models/imagemodelslistresponse.d.ts +14 -0
- package/esm/models/imagemodelslistresponse.js +15 -0
- package/esm/models/imageoutputmodality.d.ts +16 -0
- package/esm/models/imageoutputmodality.js +18 -0
- package/esm/models/imagepricingentry.d.ts +35 -0
- package/esm/models/imagepricingentry.js +41 -0
- package/esm/models/imagestreamingresponse.d.ts +18 -0
- package/esm/models/imagestreamingresponse.js +43 -0
- package/esm/models/index.d.ts +44 -7
- package/esm/models/index.js +44 -7
- package/esm/models/inputreference.d.ts +6 -2
- package/esm/models/inputreference.js +1 -1
- package/esm/models/legacywebsearchservertool.d.ts +1 -1
- package/esm/models/listworkspacebudgetsresponse.d.ts +14 -0
- package/esm/models/listworkspacebudgetsresponse.js +15 -0
- package/esm/models/messagesrequest.d.ts +6 -6
- package/esm/models/messagesrequest.js +4 -5
- package/esm/models/model.d.ts +5 -0
- package/esm/models/model.js +2 -0
- package/esm/models/modelreasoning.d.ts +49 -0
- package/esm/models/modelreasoning.js +42 -0
- package/esm/models/observabilityarizedestination.d.ts +3 -0
- package/esm/models/openresponsesresult.d.ts +5 -0
- package/esm/models/openresponsesresult.js +3 -0
- package/esm/models/operations/createembeddings.d.ts +19 -0
- package/esm/models/operations/createembeddings.js +20 -0
- package/esm/models/operations/createimages.d.ts +63 -0
- package/esm/models/operations/createimages.js +44 -0
- package/esm/models/operations/{getbenchmarksartificialanalysis.d.ts → deleteworkspacebudget.d.ts} +15 -9
- package/esm/models/operations/deleteworkspacebudget.js +23 -0
- package/esm/models/operations/getbenchmarks.d.ts +120 -0
- package/esm/models/operations/getbenchmarks.js +60 -0
- package/esm/models/operations/getmodels.d.ts +5 -3
- package/esm/models/operations/getmodels.js +3 -1
- package/esm/models/operations/{getbenchmarksdesignarena.d.ts → gettaskclassifications.d.ts} +16 -28
- package/esm/models/operations/gettaskclassifications.js +29 -0
- package/esm/models/operations/index.d.ts +8 -2
- package/esm/models/operations/index.js +8 -2
- package/esm/models/operations/listbyokkeys.d.ts +4 -0
- package/esm/models/operations/listbyokkeys.js +4 -0
- package/esm/models/operations/listimagemodelendpoints.d.ts +63 -0
- package/esm/models/operations/listimagemodelendpoints.js +22 -0
- package/esm/models/operations/listimagemodels.d.ts +53 -0
- package/esm/models/operations/listimagemodels.js +20 -0
- package/esm/models/operations/listworkspacebudgets.d.ts +58 -0
- package/esm/models/operations/listworkspacebudgets.js +21 -0
- package/esm/models/operations/queryanalytics.d.ts +7 -3
- package/esm/models/operations/queryanalytics.js +1 -0
- package/esm/models/operations/upsertworkspacebudget.d.ts +66 -0
- package/esm/models/operations/upsertworkspacebudget.js +25 -0
- package/esm/models/preview20250311websearchservertool.d.ts +1 -1
- package/esm/models/previewwebsearchservertool.d.ts +1 -1
- package/esm/models/providername.d.ts +4 -0
- package/esm/models/providername.js +4 -0
- package/esm/models/provideroptions.d.ts +25 -1
- package/esm/models/provideroptions.js +6 -0
- package/esm/models/providerresponse.d.ts +4 -0
- package/esm/models/providerresponse.js +4 -0
- package/esm/models/rangecapability.d.ts +15 -0
- package/esm/models/rangecapability.js +16 -0
- package/esm/models/reasoningeffort.d.ts +1 -0
- package/esm/models/reasoningeffort.js +1 -0
- package/esm/models/responsesrequest.d.ts +6 -0
- package/esm/models/responsesrequest.js +2 -0
- package/esm/models/speechrequest.d.ts +1 -1
- package/esm/models/streamevents.d.ts +2 -1
- package/esm/models/streamevents.js +2 -0
- package/esm/models/sttrequest.d.ts +1 -1
- package/esm/models/subagentreasoning.d.ts +1 -0
- package/esm/models/subagentreasoning.js +1 -0
- package/esm/models/taskclassificationitem.d.ts +42 -0
- package/esm/models/taskclassificationitem.js +32 -0
- package/esm/models/taskclassificationmacrocategory.d.ts +25 -0
- package/esm/models/taskclassificationmacrocategory.js +23 -0
- package/esm/models/taskclassificationmodel.d.ts +21 -0
- package/esm/models/taskclassificationmodel.js +22 -0
- package/esm/models/taskclassificationresponse.d.ts +33 -0
- package/esm/models/taskclassificationresponse.js +33 -0
- package/esm/models/{benchmarkpricing.d.ts → unifiedbenchmarkpricing.d.ts} +4 -4
- package/esm/models/unifiedbenchmarkpricing.js +15 -0
- package/esm/models/{benchmarksaaitem.d.ts → unifiedbenchmarksaaitem.d.ts} +14 -10
- package/esm/models/unifiedbenchmarksaaitem.js +30 -0
- package/esm/models/{benchmarksdaitem.d.ts → unifiedbenchmarksdaitem.d.ts} +11 -7
- package/esm/models/{benchmarksdaitem.js → unifiedbenchmarksdaitem.js} +8 -7
- package/esm/models/unifiedbenchmarksmeta.d.ts +63 -0
- package/esm/models/unifiedbenchmarksmeta.js +46 -0
- package/esm/models/unifiedbenchmarksresponse.d.ts +19 -0
- package/esm/models/unifiedbenchmarksresponse.js +30 -0
- package/esm/models/upsertworkspacebudgetrequest.d.ts +15 -0
- package/esm/models/upsertworkspacebudgetrequest.js +18 -0
- package/esm/models/upsertworkspacebudgetresponse.d.ts +11 -0
- package/esm/models/upsertworkspacebudgetresponse.js +15 -0
- package/esm/models/videogenerationrequest.d.ts +39 -15
- package/esm/models/videogenerationrequest.js +17 -11
- package/esm/models/websearchconfig.d.ts +1 -1
- package/esm/models/websearchservertool.d.ts +1 -1
- package/esm/models/websearchservertoolconfig.d.ts +1 -1
- package/esm/models/workspacebudget.d.ts +48 -0
- package/esm/models/workspacebudget.js +39 -0
- package/esm/models/workspacebudgetinterval.d.ts +18 -0
- package/esm/models/workspacebudgetinterval.js +17 -0
- package/esm/sdk/benchmarks.d.ts +13 -0
- package/esm/sdk/benchmarks.js +19 -0
- package/esm/sdk/classifications.d.ts +31 -0
- package/esm/sdk/classifications.js +37 -0
- package/esm/sdk/datasets.d.ts +0 -14
- package/esm/sdk/datasets.js +0 -20
- package/esm/sdk/images.d.ts +38 -0
- package/esm/sdk/images.js +33 -0
- package/esm/sdk/sdk.d.ts +9 -0
- package/esm/sdk/sdk.js +12 -0
- package/esm/sdk/workspaces.d.ts +21 -0
- package/esm/sdk/workspaces.js +30 -0
- package/jsr.json +1 -1
- package/package.json +7 -7
- package/esm/funcs/datasetsGetBenchmarksArtificialAnalysis.d.ts +0 -19
- package/esm/models/benchmarkpricing.js +0 -15
- package/esm/models/benchmarksaaitem.js +0 -29
- package/esm/models/benchmarksaameta.d.ts +0 -70
- package/esm/models/benchmarksaameta.js +0 -50
- package/esm/models/benchmarksaaresponse.d.ts +0 -13
- package/esm/models/benchmarksaaresponse.js +0 -17
- package/esm/models/benchmarksdameta.d.ts +0 -98
- package/esm/models/benchmarksdameta.js +0 -62
- package/esm/models/benchmarksdaresponse.d.ts +0 -13
- package/esm/models/benchmarksdaresponse.js +0 -17
- package/esm/models/operations/getbenchmarksartificialanalysis.js +0 -22
- package/esm/models/operations/getbenchmarksdesignarena.js +0 -36
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
-
import { BenchmarkPricing } from "./benchmarkpricing.js";
|
|
4
3
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
* Model name as listed on Artificial Analysis.
|
|
8
|
-
*/
|
|
9
|
-
aaName: string;
|
|
4
|
+
import { UnifiedBenchmarkPricing } from "./unifiedbenchmarkpricing.js";
|
|
5
|
+
export type UnifiedBenchmarksAAItem = {
|
|
10
6
|
/**
|
|
11
7
|
* Artificial Analysis Agentic Index composite score. Higher is better.
|
|
12
8
|
*/
|
|
@@ -15,6 +11,10 @@ export type BenchmarksAAItem = {
|
|
|
15
11
|
* Artificial Analysis Coding Index composite score. Higher is better.
|
|
16
12
|
*/
|
|
17
13
|
codingIndex: number | null;
|
|
14
|
+
/**
|
|
15
|
+
* Model name as listed on Artificial Analysis.
|
|
16
|
+
*/
|
|
17
|
+
displayName: string;
|
|
18
18
|
/**
|
|
19
19
|
* Artificial Analysis Intelligence Index composite score. Higher is better.
|
|
20
20
|
*/
|
|
@@ -26,9 +26,13 @@ export type BenchmarksAAItem = {
|
|
|
26
26
|
/**
|
|
27
27
|
* OpenRouter pricing per token for this model. Null if pricing is unavailable.
|
|
28
28
|
*/
|
|
29
|
-
pricing:
|
|
29
|
+
pricing: UnifiedBenchmarkPricing | null;
|
|
30
|
+
/**
|
|
31
|
+
* Benchmark source discriminator.
|
|
32
|
+
*/
|
|
33
|
+
source: "artificial-analysis";
|
|
30
34
|
};
|
|
31
35
|
/** @internal */
|
|
32
|
-
export declare const
|
|
33
|
-
export declare function
|
|
34
|
-
//# sourceMappingURL=
|
|
36
|
+
export declare const UnifiedBenchmarksAAItem$inboundSchema: z.ZodType<UnifiedBenchmarksAAItem, unknown>;
|
|
37
|
+
export declare function unifiedBenchmarksAAItemFromJSON(jsonString: string): SafeParseResult<UnifiedBenchmarksAAItem, SDKValidationError>;
|
|
38
|
+
//# sourceMappingURL=unifiedbenchmarksaaitem.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: 436660899947
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import { UnifiedBenchmarkPricing$inboundSchema, } from "./unifiedbenchmarkpricing.js";
|
|
9
|
+
/** @internal */
|
|
10
|
+
export const UnifiedBenchmarksAAItem$inboundSchema = z.object({
|
|
11
|
+
agentic_index: z.nullable(z.number()),
|
|
12
|
+
coding_index: z.nullable(z.number()),
|
|
13
|
+
display_name: z.string(),
|
|
14
|
+
intelligence_index: z.nullable(z.number()),
|
|
15
|
+
model_permaslug: z.string(),
|
|
16
|
+
pricing: z.nullable(UnifiedBenchmarkPricing$inboundSchema),
|
|
17
|
+
source: z.literal("artificial-analysis"),
|
|
18
|
+
}).transform((v) => {
|
|
19
|
+
return remap$(v, {
|
|
20
|
+
"agentic_index": "agenticIndex",
|
|
21
|
+
"coding_index": "codingIndex",
|
|
22
|
+
"display_name": "displayName",
|
|
23
|
+
"intelligence_index": "intelligenceIndex",
|
|
24
|
+
"model_permaslug": "modelPermaslug",
|
|
25
|
+
});
|
|
26
|
+
});
|
|
27
|
+
export function unifiedBenchmarksAAItemFromJSON(jsonString) {
|
|
28
|
+
return safeParse(jsonString, (x) => UnifiedBenchmarksAAItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnifiedBenchmarksAAItem' from JSON`);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=unifiedbenchmarksaaitem.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as z from "zod/v4";
|
|
2
2
|
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
-
import { BenchmarkPricing } from "./benchmarkpricing.js";
|
|
4
3
|
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
+
import { UnifiedBenchmarkPricing } from "./unifiedbenchmarkpricing.js";
|
|
5
5
|
/**
|
|
6
6
|
* Placement distribution from tournament matches.
|
|
7
7
|
*/
|
|
@@ -12,7 +12,7 @@ export type TournamentStats = {
|
|
|
12
12
|
thirdPlace: number | null;
|
|
13
13
|
total: number | null;
|
|
14
14
|
};
|
|
15
|
-
export type
|
|
15
|
+
export type UnifiedBenchmarksDAItem = {
|
|
16
16
|
/**
|
|
17
17
|
* Arena this ranking belongs to.
|
|
18
18
|
*/
|
|
@@ -34,13 +34,17 @@ export type BenchmarksDAItem = {
|
|
|
34
34
|
*/
|
|
35
35
|
elo: number;
|
|
36
36
|
/**
|
|
37
|
-
* Stable OpenRouter model identifier when
|
|
37
|
+
* Stable OpenRouter model identifier when mapped; otherwise the upstream Design Arena model id.
|
|
38
38
|
*/
|
|
39
39
|
modelPermaslug: string;
|
|
40
40
|
/**
|
|
41
41
|
* OpenRouter pricing per token for this model. Null if pricing is unavailable.
|
|
42
42
|
*/
|
|
43
|
-
pricing:
|
|
43
|
+
pricing: UnifiedBenchmarkPricing | null;
|
|
44
|
+
/**
|
|
45
|
+
* Benchmark source discriminator.
|
|
46
|
+
*/
|
|
47
|
+
source: "design-arena";
|
|
44
48
|
/**
|
|
45
49
|
* Placement distribution from tournament matches.
|
|
46
50
|
*/
|
|
@@ -54,6 +58,6 @@ export type BenchmarksDAItem = {
|
|
|
54
58
|
export declare const TournamentStats$inboundSchema: z.ZodType<TournamentStats, unknown>;
|
|
55
59
|
export declare function tournamentStatsFromJSON(jsonString: string): SafeParseResult<TournamentStats, SDKValidationError>;
|
|
56
60
|
/** @internal */
|
|
57
|
-
export declare const
|
|
58
|
-
export declare function
|
|
59
|
-
//# sourceMappingURL=
|
|
61
|
+
export declare const UnifiedBenchmarksDAItem$inboundSchema: z.ZodType<UnifiedBenchmarksDAItem, unknown>;
|
|
62
|
+
export declare function unifiedBenchmarksDAItemFromJSON(jsonString: string): SafeParseResult<UnifiedBenchmarksDAItem, SDKValidationError>;
|
|
63
|
+
//# sourceMappingURL=unifiedbenchmarksdaitem.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
* @generated-id:
|
|
3
|
+
* @generated-id: f911314affb3
|
|
4
4
|
*/
|
|
5
5
|
import * as z from "zod/v4";
|
|
6
6
|
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
7
|
import { safeParse } from "../lib/schemas.js";
|
|
8
|
-
import {
|
|
8
|
+
import { UnifiedBenchmarkPricing$inboundSchema, } from "./unifiedbenchmarkpricing.js";
|
|
9
9
|
/** @internal */
|
|
10
10
|
export const TournamentStats$inboundSchema = z.object({
|
|
11
11
|
first_place: z.nullable(z.int()),
|
|
@@ -25,14 +25,15 @@ export function tournamentStatsFromJSON(jsonString) {
|
|
|
25
25
|
return safeParse(jsonString, (x) => TournamentStats$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TournamentStats' from JSON`);
|
|
26
26
|
}
|
|
27
27
|
/** @internal */
|
|
28
|
-
export const
|
|
28
|
+
export const UnifiedBenchmarksDAItem$inboundSchema = z.object({
|
|
29
29
|
arena: z.string(),
|
|
30
30
|
avg_generation_time_ms: z.nullable(z.number()),
|
|
31
31
|
category: z.string(),
|
|
32
32
|
display_name: z.string(),
|
|
33
33
|
elo: z.number(),
|
|
34
34
|
model_permaslug: z.string(),
|
|
35
|
-
pricing: z.nullable(
|
|
35
|
+
pricing: z.nullable(UnifiedBenchmarkPricing$inboundSchema),
|
|
36
|
+
source: z.literal("design-arena"),
|
|
36
37
|
tournament_stats: z.lazy(() => TournamentStats$inboundSchema),
|
|
37
38
|
win_rate: z.number(),
|
|
38
39
|
}).transform((v) => {
|
|
@@ -44,7 +45,7 @@ export const BenchmarksDAItem$inboundSchema = z.object({
|
|
|
44
45
|
"win_rate": "winRate",
|
|
45
46
|
});
|
|
46
47
|
});
|
|
47
|
-
export function
|
|
48
|
-
return safeParse(jsonString, (x) =>
|
|
48
|
+
export function unifiedBenchmarksDAItemFromJSON(jsonString) {
|
|
49
|
+
return safeParse(jsonString, (x) => UnifiedBenchmarksDAItem$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnifiedBenchmarksDAItem' from JSON`);
|
|
49
50
|
}
|
|
50
|
-
//# sourceMappingURL=
|
|
51
|
+
//# sourceMappingURL=unifiedbenchmarksdaitem.js.map
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { ClosedEnum, OpenEnum } from "../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* The source filter applied, or null when all sources are returned.
|
|
7
|
+
*/
|
|
8
|
+
export declare const SourceEnum: {
|
|
9
|
+
readonly ArtificialAnalysis: "artificial-analysis";
|
|
10
|
+
readonly DesignArena: "design-arena";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The source filter applied, or null when all sources are returned.
|
|
14
|
+
*/
|
|
15
|
+
export type SourceEnum = OpenEnum<typeof SourceEnum>;
|
|
16
|
+
/**
|
|
17
|
+
* Dataset version.
|
|
18
|
+
*/
|
|
19
|
+
export declare const UnifiedBenchmarksMetaVersion: {
|
|
20
|
+
readonly V1: "v1";
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Dataset version.
|
|
24
|
+
*/
|
|
25
|
+
export type UnifiedBenchmarksMetaVersion = ClosedEnum<typeof UnifiedBenchmarksMetaVersion>;
|
|
26
|
+
export type UnifiedBenchmarksMeta = {
|
|
27
|
+
/**
|
|
28
|
+
* ISO-8601 timestamp of when this data was last updated.
|
|
29
|
+
*/
|
|
30
|
+
asOf: string;
|
|
31
|
+
/**
|
|
32
|
+
* Required attribution when republishing this data, or null when results span multiple sources (attribute each item individually by its `source` discriminator).
|
|
33
|
+
*/
|
|
34
|
+
citation: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* Number of unique models in the response.
|
|
37
|
+
*/
|
|
38
|
+
modelCount: number;
|
|
39
|
+
/**
|
|
40
|
+
* The source filter applied, or null when all sources are returned.
|
|
41
|
+
*/
|
|
42
|
+
source: SourceEnum | null;
|
|
43
|
+
/**
|
|
44
|
+
* URL of the upstream data source, or null when results span multiple sources.
|
|
45
|
+
*/
|
|
46
|
+
sourceUrl: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* The task_type filter applied, or null if showing all.
|
|
49
|
+
*/
|
|
50
|
+
taskType: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Dataset version.
|
|
53
|
+
*/
|
|
54
|
+
version: UnifiedBenchmarksMetaVersion;
|
|
55
|
+
};
|
|
56
|
+
/** @internal */
|
|
57
|
+
export declare const SourceEnum$inboundSchema: z.ZodType<SourceEnum, unknown>;
|
|
58
|
+
/** @internal */
|
|
59
|
+
export declare const UnifiedBenchmarksMetaVersion$inboundSchema: z.ZodEnum<typeof UnifiedBenchmarksMetaVersion>;
|
|
60
|
+
/** @internal */
|
|
61
|
+
export declare const UnifiedBenchmarksMeta$inboundSchema: z.ZodType<UnifiedBenchmarksMeta, unknown>;
|
|
62
|
+
export declare function unifiedBenchmarksMetaFromJSON(jsonString: string): SafeParseResult<UnifiedBenchmarksMeta, SDKValidationError>;
|
|
63
|
+
//# sourceMappingURL=unifiedbenchmarksmeta.d.ts.map
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: d146ee8b8956
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../types/enums.js";
|
|
9
|
+
/**
|
|
10
|
+
* The source filter applied, or null when all sources are returned.
|
|
11
|
+
*/
|
|
12
|
+
export const SourceEnum = {
|
|
13
|
+
ArtificialAnalysis: "artificial-analysis",
|
|
14
|
+
DesignArena: "design-arena",
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Dataset version.
|
|
18
|
+
*/
|
|
19
|
+
export const UnifiedBenchmarksMetaVersion = {
|
|
20
|
+
V1: "v1",
|
|
21
|
+
};
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const SourceEnum$inboundSchema = openEnums.inboundSchema(SourceEnum);
|
|
24
|
+
/** @internal */
|
|
25
|
+
export const UnifiedBenchmarksMetaVersion$inboundSchema = z.enum(UnifiedBenchmarksMetaVersion);
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const UnifiedBenchmarksMeta$inboundSchema = z.object({
|
|
28
|
+
as_of: z.string(),
|
|
29
|
+
citation: z.nullable(z.string()),
|
|
30
|
+
model_count: z.int(),
|
|
31
|
+
source: z.nullable(SourceEnum$inboundSchema),
|
|
32
|
+
source_url: z.nullable(z.string()),
|
|
33
|
+
task_type: z.nullable(z.string()),
|
|
34
|
+
version: UnifiedBenchmarksMetaVersion$inboundSchema,
|
|
35
|
+
}).transform((v) => {
|
|
36
|
+
return remap$(v, {
|
|
37
|
+
"as_of": "asOf",
|
|
38
|
+
"model_count": "modelCount",
|
|
39
|
+
"source_url": "sourceUrl",
|
|
40
|
+
"task_type": "taskType",
|
|
41
|
+
});
|
|
42
|
+
});
|
|
43
|
+
export function unifiedBenchmarksMetaFromJSON(jsonString) {
|
|
44
|
+
return safeParse(jsonString, (x) => UnifiedBenchmarksMeta$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnifiedBenchmarksMeta' from JSON`);
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=unifiedbenchmarksmeta.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import * as discriminatedUnionTypes from "../types/discriminatedUnion.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
5
|
+
import { UnifiedBenchmarksAAItem } from "./unifiedbenchmarksaaitem.js";
|
|
6
|
+
import { UnifiedBenchmarksDAItem } from "./unifiedbenchmarksdaitem.js";
|
|
7
|
+
import { UnifiedBenchmarksMeta } from "./unifiedbenchmarksmeta.js";
|
|
8
|
+
export type UnifiedBenchmarksResponseData = UnifiedBenchmarksAAItem | UnifiedBenchmarksDAItem | discriminatedUnionTypes.Unknown<"source">;
|
|
9
|
+
export type UnifiedBenchmarksResponse = {
|
|
10
|
+
data: Array<UnifiedBenchmarksAAItem | UnifiedBenchmarksDAItem | discriminatedUnionTypes.Unknown<"source">>;
|
|
11
|
+
meta: UnifiedBenchmarksMeta;
|
|
12
|
+
};
|
|
13
|
+
/** @internal */
|
|
14
|
+
export declare const UnifiedBenchmarksResponseData$inboundSchema: z.ZodType<UnifiedBenchmarksResponseData, unknown>;
|
|
15
|
+
export declare function unifiedBenchmarksResponseDataFromJSON(jsonString: string): SafeParseResult<UnifiedBenchmarksResponseData, SDKValidationError>;
|
|
16
|
+
/** @internal */
|
|
17
|
+
export declare const UnifiedBenchmarksResponse$inboundSchema: z.ZodType<UnifiedBenchmarksResponse, unknown>;
|
|
18
|
+
export declare function unifiedBenchmarksResponseFromJSON(jsonString: string): SafeParseResult<UnifiedBenchmarksResponse, SDKValidationError>;
|
|
19
|
+
//# sourceMappingURL=unifiedbenchmarksresponse.d.ts.map
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: b3f08556727b
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { discriminatedUnion } from "../types/discriminatedUnion.js";
|
|
8
|
+
import { UnifiedBenchmarksAAItem$inboundSchema, } from "./unifiedbenchmarksaaitem.js";
|
|
9
|
+
import { UnifiedBenchmarksDAItem$inboundSchema, } from "./unifiedbenchmarksdaitem.js";
|
|
10
|
+
import { UnifiedBenchmarksMeta$inboundSchema, } from "./unifiedbenchmarksmeta.js";
|
|
11
|
+
/** @internal */
|
|
12
|
+
export const UnifiedBenchmarksResponseData$inboundSchema = discriminatedUnion("source", {
|
|
13
|
+
["artificial-analysis"]: UnifiedBenchmarksAAItem$inboundSchema,
|
|
14
|
+
["design-arena"]: UnifiedBenchmarksDAItem$inboundSchema,
|
|
15
|
+
});
|
|
16
|
+
export function unifiedBenchmarksResponseDataFromJSON(jsonString) {
|
|
17
|
+
return safeParse(jsonString, (x) => UnifiedBenchmarksResponseData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnifiedBenchmarksResponseData' from JSON`);
|
|
18
|
+
}
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const UnifiedBenchmarksResponse$inboundSchema = z.object({
|
|
21
|
+
data: z.array(discriminatedUnion("source", {
|
|
22
|
+
["artificial-analysis"]: UnifiedBenchmarksAAItem$inboundSchema,
|
|
23
|
+
["design-arena"]: UnifiedBenchmarksDAItem$inboundSchema,
|
|
24
|
+
})),
|
|
25
|
+
meta: UnifiedBenchmarksMeta$inboundSchema,
|
|
26
|
+
});
|
|
27
|
+
export function unifiedBenchmarksResponseFromJSON(jsonString) {
|
|
28
|
+
return safeParse(jsonString, (x) => UnifiedBenchmarksResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UnifiedBenchmarksResponse' from JSON`);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=unifiedbenchmarksresponse.js.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
export type UpsertWorkspaceBudgetRequest = {
|
|
3
|
+
/**
|
|
4
|
+
* Spending limit in USD. Must be greater than 0.
|
|
5
|
+
*/
|
|
6
|
+
limitUsd: number;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export type UpsertWorkspaceBudgetRequest$Outbound = {
|
|
10
|
+
limit_usd: number;
|
|
11
|
+
};
|
|
12
|
+
/** @internal */
|
|
13
|
+
export declare const UpsertWorkspaceBudgetRequest$outboundSchema: z.ZodType<UpsertWorkspaceBudgetRequest$Outbound, UpsertWorkspaceBudgetRequest>;
|
|
14
|
+
export declare function upsertWorkspaceBudgetRequestToJSON(upsertWorkspaceBudgetRequest: UpsertWorkspaceBudgetRequest): string;
|
|
15
|
+
//# sourceMappingURL=upsertworkspacebudgetrequest.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: ff35250e4ab2
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { remap as remap$ } from "../lib/primitives.js";
|
|
7
|
+
/** @internal */
|
|
8
|
+
export const UpsertWorkspaceBudgetRequest$outboundSchema = z.object({
|
|
9
|
+
limitUsd: z.number(),
|
|
10
|
+
}).transform((v) => {
|
|
11
|
+
return remap$(v, {
|
|
12
|
+
limitUsd: "limit_usd",
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
export function upsertWorkspaceBudgetRequestToJSON(upsertWorkspaceBudgetRequest) {
|
|
16
|
+
return JSON.stringify(UpsertWorkspaceBudgetRequest$outboundSchema.parse(upsertWorkspaceBudgetRequest));
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=upsertworkspacebudgetrequest.js.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as z from "zod/v4";
|
|
2
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
|
|
4
|
+
import { WorkspaceBudget } from "./workspacebudget.js";
|
|
5
|
+
export type UpsertWorkspaceBudgetResponse = {
|
|
6
|
+
data: WorkspaceBudget;
|
|
7
|
+
};
|
|
8
|
+
/** @internal */
|
|
9
|
+
export declare const UpsertWorkspaceBudgetResponse$inboundSchema: z.ZodType<UpsertWorkspaceBudgetResponse, unknown>;
|
|
10
|
+
export declare function upsertWorkspaceBudgetResponseFromJSON(jsonString: string): SafeParseResult<UpsertWorkspaceBudgetResponse, SDKValidationError>;
|
|
11
|
+
//# sourceMappingURL=upsertworkspacebudgetresponse.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
* @generated-id: ad34c44c01ce
|
|
4
|
+
*/
|
|
5
|
+
import * as z from "zod/v4";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { WorkspaceBudget$inboundSchema, } from "./workspacebudget.js";
|
|
8
|
+
/** @internal */
|
|
9
|
+
export const UpsertWorkspaceBudgetResponse$inboundSchema = z.object({
|
|
10
|
+
data: WorkspaceBudget$inboundSchema,
|
|
11
|
+
});
|
|
12
|
+
export function upsertWorkspaceBudgetResponseFromJSON(jsonString) {
|
|
13
|
+
return safeParse(jsonString, (x) => UpsertWorkspaceBudgetResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'UpsertWorkspaceBudgetResponse' from JSON`);
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=upsertworkspacebudgetresponse.js.map
|
|
@@ -5,7 +5,7 @@ import { InputReference, InputReference$Outbound } from "./inputreference.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Aspect ratio of the generated video
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const VideoGenerationRequestAspectRatio: {
|
|
9
9
|
readonly OneHundredAndSixtyNine: "16:9";
|
|
10
10
|
readonly NineHundredAndSixteen: "9:16";
|
|
11
11
|
readonly Eleven: "1:1";
|
|
@@ -19,11 +19,11 @@ export declare const AspectRatio: {
|
|
|
19
19
|
/**
|
|
20
20
|
* Aspect ratio of the generated video
|
|
21
21
|
*/
|
|
22
|
-
export type
|
|
22
|
+
export type VideoGenerationRequestAspectRatio = OpenEnum<typeof VideoGenerationRequestAspectRatio>;
|
|
23
23
|
/**
|
|
24
|
-
* Provider-specific options keyed by provider slug.
|
|
24
|
+
* Provider-specific options keyed by provider slug. Only options for the matched provider are forwarded; the rest are ignored. Unrecognized keys are silently dropped.
|
|
25
25
|
*/
|
|
26
|
-
export type
|
|
26
|
+
export type VideoGenerationRequestOptions = {
|
|
27
27
|
oneai?: {
|
|
28
28
|
[k: string]: any | null;
|
|
29
29
|
} | undefined;
|
|
@@ -159,6 +159,9 @@ export type Options = {
|
|
|
159
159
|
groq?: {
|
|
160
160
|
[k: string]: any | null;
|
|
161
161
|
} | undefined;
|
|
162
|
+
heygen?: {
|
|
163
|
+
[k: string]: any | null;
|
|
164
|
+
} | undefined;
|
|
162
165
|
huggingface?: {
|
|
163
166
|
[k: string]: any | null;
|
|
164
167
|
} | undefined;
|
|
@@ -174,6 +177,9 @@ export type Options = {
|
|
|
174
177
|
inceptron?: {
|
|
175
178
|
[k: string]: any | null;
|
|
176
179
|
} | undefined;
|
|
180
|
+
inferactVllm?: {
|
|
181
|
+
[k: string]: any | null;
|
|
182
|
+
} | undefined;
|
|
177
183
|
inferenceNet?: {
|
|
178
184
|
[k: string]: any | null;
|
|
179
185
|
} | undefined;
|
|
@@ -306,6 +312,9 @@ export type Options = {
|
|
|
306
312
|
replicate?: {
|
|
307
313
|
[k: string]: any | null;
|
|
308
314
|
} | undefined;
|
|
315
|
+
sakanaAi?: {
|
|
316
|
+
[k: string]: any | null;
|
|
317
|
+
} | undefined;
|
|
309
318
|
sambanova?: {
|
|
310
319
|
[k: string]: any | null;
|
|
311
320
|
} | undefined;
|
|
@@ -339,6 +348,9 @@ export type Options = {
|
|
|
339
348
|
targon?: {
|
|
340
349
|
[k: string]: any | null;
|
|
341
350
|
} | undefined;
|
|
351
|
+
tenstorrent?: {
|
|
352
|
+
[k: string]: any | null;
|
|
353
|
+
} | undefined;
|
|
342
354
|
together?: {
|
|
343
355
|
[k: string]: any | null;
|
|
344
356
|
} | undefined;
|
|
@@ -374,12 +386,12 @@ export type Options = {
|
|
|
374
386
|
* Provider-specific passthrough configuration
|
|
375
387
|
*/
|
|
376
388
|
export type VideoGenerationRequestProvider = {
|
|
377
|
-
options?:
|
|
389
|
+
options?: VideoGenerationRequestOptions | undefined;
|
|
378
390
|
};
|
|
379
391
|
/**
|
|
380
392
|
* Resolution of the generated video
|
|
381
393
|
*/
|
|
382
|
-
export declare const
|
|
394
|
+
export declare const VideoGenerationRequestResolution: {
|
|
383
395
|
readonly FourHundredAndEightyp: "480p";
|
|
384
396
|
readonly SevenHundredAndTwentyp: "720p";
|
|
385
397
|
readonly OneThousandAndEightyp: "1080p";
|
|
@@ -390,12 +402,12 @@ export declare const Resolution: {
|
|
|
390
402
|
/**
|
|
391
403
|
* Resolution of the generated video
|
|
392
404
|
*/
|
|
393
|
-
export type
|
|
405
|
+
export type VideoGenerationRequestResolution = OpenEnum<typeof VideoGenerationRequestResolution>;
|
|
394
406
|
export type VideoGenerationRequest = {
|
|
395
407
|
/**
|
|
396
408
|
* Aspect ratio of the generated video
|
|
397
409
|
*/
|
|
398
|
-
aspectRatio?:
|
|
410
|
+
aspectRatio?: VideoGenerationRequestAspectRatio | undefined;
|
|
399
411
|
/**
|
|
400
412
|
* URL to receive a webhook notification when the video generation job completes. Overrides the workspace-level default callback URL if set. Must be HTTPS.
|
|
401
413
|
*/
|
|
@@ -425,7 +437,7 @@ export type VideoGenerationRequest = {
|
|
|
425
437
|
/**
|
|
426
438
|
* Resolution of the generated video
|
|
427
439
|
*/
|
|
428
|
-
resolution?:
|
|
440
|
+
resolution?: VideoGenerationRequestResolution | undefined;
|
|
429
441
|
/**
|
|
430
442
|
* If specified, the generation will sample deterministically, such that repeated requests with the same seed and parameters should return the same result. Determinism is not guaranteed for all providers.
|
|
431
443
|
*/
|
|
@@ -436,9 +448,9 @@ export type VideoGenerationRequest = {
|
|
|
436
448
|
size?: string | undefined;
|
|
437
449
|
};
|
|
438
450
|
/** @internal */
|
|
439
|
-
export declare const
|
|
451
|
+
export declare const VideoGenerationRequestAspectRatio$outboundSchema: z.ZodType<string, VideoGenerationRequestAspectRatio>;
|
|
440
452
|
/** @internal */
|
|
441
|
-
export type
|
|
453
|
+
export type VideoGenerationRequestOptions$Outbound = {
|
|
442
454
|
"01ai"?: {
|
|
443
455
|
[k: string]: any | null;
|
|
444
456
|
} | undefined;
|
|
@@ -574,6 +586,9 @@ export type Options$Outbound = {
|
|
|
574
586
|
groq?: {
|
|
575
587
|
[k: string]: any | null;
|
|
576
588
|
} | undefined;
|
|
589
|
+
heygen?: {
|
|
590
|
+
[k: string]: any | null;
|
|
591
|
+
} | undefined;
|
|
577
592
|
huggingface?: {
|
|
578
593
|
[k: string]: any | null;
|
|
579
594
|
} | undefined;
|
|
@@ -589,6 +604,9 @@ export type Options$Outbound = {
|
|
|
589
604
|
inceptron?: {
|
|
590
605
|
[k: string]: any | null;
|
|
591
606
|
} | undefined;
|
|
607
|
+
"inferact-vllm"?: {
|
|
608
|
+
[k: string]: any | null;
|
|
609
|
+
} | undefined;
|
|
592
610
|
"inference-net"?: {
|
|
593
611
|
[k: string]: any | null;
|
|
594
612
|
} | undefined;
|
|
@@ -721,6 +739,9 @@ export type Options$Outbound = {
|
|
|
721
739
|
replicate?: {
|
|
722
740
|
[k: string]: any | null;
|
|
723
741
|
} | undefined;
|
|
742
|
+
"sakana-ai"?: {
|
|
743
|
+
[k: string]: any | null;
|
|
744
|
+
} | undefined;
|
|
724
745
|
sambanova?: {
|
|
725
746
|
[k: string]: any | null;
|
|
726
747
|
} | undefined;
|
|
@@ -754,6 +775,9 @@ export type Options$Outbound = {
|
|
|
754
775
|
targon?: {
|
|
755
776
|
[k: string]: any | null;
|
|
756
777
|
} | undefined;
|
|
778
|
+
tenstorrent?: {
|
|
779
|
+
[k: string]: any | null;
|
|
780
|
+
} | undefined;
|
|
757
781
|
together?: {
|
|
758
782
|
[k: string]: any | null;
|
|
759
783
|
} | undefined;
|
|
@@ -786,17 +810,17 @@ export type Options$Outbound = {
|
|
|
786
810
|
} | undefined;
|
|
787
811
|
};
|
|
788
812
|
/** @internal */
|
|
789
|
-
export declare const
|
|
790
|
-
export declare function
|
|
813
|
+
export declare const VideoGenerationRequestOptions$outboundSchema: z.ZodType<VideoGenerationRequestOptions$Outbound, VideoGenerationRequestOptions>;
|
|
814
|
+
export declare function videoGenerationRequestOptionsToJSON(videoGenerationRequestOptions: VideoGenerationRequestOptions): string;
|
|
791
815
|
/** @internal */
|
|
792
816
|
export type VideoGenerationRequestProvider$Outbound = {
|
|
793
|
-
options?:
|
|
817
|
+
options?: VideoGenerationRequestOptions$Outbound | undefined;
|
|
794
818
|
};
|
|
795
819
|
/** @internal */
|
|
796
820
|
export declare const VideoGenerationRequestProvider$outboundSchema: z.ZodType<VideoGenerationRequestProvider$Outbound, VideoGenerationRequestProvider>;
|
|
797
821
|
export declare function videoGenerationRequestProviderToJSON(videoGenerationRequestProvider: VideoGenerationRequestProvider): string;
|
|
798
822
|
/** @internal */
|
|
799
|
-
export declare const
|
|
823
|
+
export declare const VideoGenerationRequestResolution$outboundSchema: z.ZodType<string, VideoGenerationRequestResolution>;
|
|
800
824
|
/** @internal */
|
|
801
825
|
export type VideoGenerationRequest$Outbound = {
|
|
802
826
|
aspect_ratio?: string | undefined;
|