@wix/auto_sdk_ai-gateway_generators 1.0.112 → 1.0.113
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/build/cjs/index.d.ts +120 -1
- package/build/cjs/index.js +17 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +17 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +112 -1
- package/build/cjs/meta.js +11 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +120 -1
- package/build/es/index.mjs +16 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +16 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +112 -1
- package/build/es/meta.mjs +10 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +17 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +121 -2
- package/build/internal/cjs/index.typings.js +17 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +112 -1
- package/build/internal/cjs/meta.js +11 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +16 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +121 -2
- package/build/internal/es/index.typings.mjs +16 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +112 -1
- package/build/internal/es/meta.mjs +10 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/index.d.mts
CHANGED
|
@@ -11531,6 +11531,8 @@ interface GenerateEmbeddingsRequest extends GenerateEmbeddingsRequestEmbeddingRe
|
|
|
11531
11531
|
azureEmbeddingsRequest?: CreateEmbeddingsRequest;
|
|
11532
11532
|
/** Google Vertex Embeddings Request */
|
|
11533
11533
|
googleEmbeddingsRequest?: GetEmbeddingRequest;
|
|
11534
|
+
/** Google multimodal embedContent Request (gemini-embedding-2) */
|
|
11535
|
+
googleEmbedContentRequest?: EmbedContentRequest;
|
|
11534
11536
|
/** Contains additional information for the request, such as interaction ID and additional tags (comma-separated string). */
|
|
11535
11537
|
userRequestInfo?: UserRequestInfo;
|
|
11536
11538
|
}
|
|
@@ -11542,6 +11544,8 @@ interface GenerateEmbeddingsRequestEmbeddingRequestOneOf {
|
|
|
11542
11544
|
azureEmbeddingsRequest?: CreateEmbeddingsRequest;
|
|
11543
11545
|
/** Google Vertex Embeddings Request */
|
|
11544
11546
|
googleEmbeddingsRequest?: GetEmbeddingRequest;
|
|
11547
|
+
/** Google multimodal embedContent Request (gemini-embedding-2) */
|
|
11548
|
+
googleEmbedContentRequest?: EmbedContentRequest;
|
|
11545
11549
|
}
|
|
11546
11550
|
interface V1CreateEmbeddingsRequest {
|
|
11547
11551
|
/**
|
|
@@ -11693,6 +11697,61 @@ interface TextEmbeddingParameters {
|
|
|
11693
11697
|
/** Optional: When set to true, input text will be truncated. When set to false, an error is returned if the input text is longer than the maximum length supported by the model. Defaults to true. */
|
|
11694
11698
|
autoTruncate?: boolean;
|
|
11695
11699
|
}
|
|
11700
|
+
/**
|
|
11701
|
+
* Request for generating a single multimodal embedding via the embedContent endpoint.
|
|
11702
|
+
* All parts across all contents are fused into one embedding (Vertex exposes only
|
|
11703
|
+
* single-content embedContent, no batchEmbedContents).
|
|
11704
|
+
*/
|
|
11705
|
+
interface EmbedContentRequest {
|
|
11706
|
+
/** The model to use for generating the embedding. */
|
|
11707
|
+
model?: EmbedContentModelWithLiterals;
|
|
11708
|
+
/**
|
|
11709
|
+
* The content to embed. Only embeddable parts are accepted (text or media);
|
|
11710
|
+
* unlike GenerateContent, there is no support for tools, function calls, thoughts, etc.
|
|
11711
|
+
* Task-type instructions (e.g. "task: search result | query: ...") should be
|
|
11712
|
+
* placed inside the text part by the caller; there is no task_type field.
|
|
11713
|
+
* @minSize 1
|
|
11714
|
+
* @maxSize 1000
|
|
11715
|
+
*/
|
|
11716
|
+
contents?: EmbedContentInput[];
|
|
11717
|
+
/**
|
|
11718
|
+
* Optional: truncates the output embedding to the given size (128-3072).
|
|
11719
|
+
* Truncated dimensions are auto-normalized by gemini-embedding-2.
|
|
11720
|
+
*/
|
|
11721
|
+
outputDimensionality?: number | null;
|
|
11722
|
+
}
|
|
11723
|
+
/**
|
|
11724
|
+
* Multimodal embedding models served via the Vertex AI embedContent endpoint.
|
|
11725
|
+
* Kept separate from EmbeddingModel (which targets the legacy :predict endpoint).
|
|
11726
|
+
*/
|
|
11727
|
+
declare enum EmbedContentModel {
|
|
11728
|
+
UNKNOWN_EMBED_CONTENT_MODEL = "UNKNOWN_EMBED_CONTENT_MODEL",
|
|
11729
|
+
/** First natively multimodal embedding model (text, image, audio, video, PDF). */
|
|
11730
|
+
GEMINI_EMBEDDING_2 = "GEMINI_EMBEDDING_2"
|
|
11731
|
+
}
|
|
11732
|
+
/** @enumType */
|
|
11733
|
+
type EmbedContentModelWithLiterals = EmbedContentModel | 'UNKNOWN_EMBED_CONTENT_MODEL' | 'GEMINI_EMBEDDING_2';
|
|
11734
|
+
/** A single embeddable input, mirroring the embedContent `content` object. */
|
|
11735
|
+
interface EmbedContentInput {
|
|
11736
|
+
/**
|
|
11737
|
+
* Ordered parts to embed. Parts may mix text and media (image/audio/video/PDF).
|
|
11738
|
+
* @minSize 1
|
|
11739
|
+
* @maxSize 1000
|
|
11740
|
+
*/
|
|
11741
|
+
parts?: EmbedContentPart[];
|
|
11742
|
+
}
|
|
11743
|
+
/** A single embeddable part. Exactly one field should be set. */
|
|
11744
|
+
interface EmbedContentPart {
|
|
11745
|
+
/**
|
|
11746
|
+
* The text to embed.
|
|
11747
|
+
* @maxLength 1000000000
|
|
11748
|
+
*/
|
|
11749
|
+
text?: string | null;
|
|
11750
|
+
/** Media to embed, provided by URL (a valid wix mp or wix static URL). */
|
|
11751
|
+
contentData?: ContentData;
|
|
11752
|
+
/** Inline media bytes to embed (fetched from the passed URL in the request). */
|
|
11753
|
+
inlineData?: Blob;
|
|
11754
|
+
}
|
|
11696
11755
|
interface GenerateEmbeddingsResponse extends GenerateEmbeddingsResponseEmbeddingResponseOneOf {
|
|
11697
11756
|
/** OpenAi Embeddings Response */
|
|
11698
11757
|
openAiEmbeddingsResponse?: V1CreateEmbeddingsResponse;
|
|
@@ -11700,6 +11759,8 @@ interface GenerateEmbeddingsResponse extends GenerateEmbeddingsResponseEmbedding
|
|
|
11700
11759
|
azureEmbeddingsResponse?: CreateEmbeddingsResponse;
|
|
11701
11760
|
/** Google Vertex Embeddings Response */
|
|
11702
11761
|
googleEmbeddingsResponse?: GetEmbeddingResponse;
|
|
11762
|
+
/** Google multimodal embedContent Response (gemini-embedding-2) */
|
|
11763
|
+
googleEmbedContentResponse?: EmbedContentResponse;
|
|
11703
11764
|
}
|
|
11704
11765
|
/** @oneof */
|
|
11705
11766
|
interface GenerateEmbeddingsResponseEmbeddingResponseOneOf {
|
|
@@ -11709,6 +11770,8 @@ interface GenerateEmbeddingsResponseEmbeddingResponseOneOf {
|
|
|
11709
11770
|
azureEmbeddingsResponse?: CreateEmbeddingsResponse;
|
|
11710
11771
|
/** Google Vertex Embeddings Response */
|
|
11711
11772
|
googleEmbeddingsResponse?: GetEmbeddingResponse;
|
|
11773
|
+
/** Google multimodal embedContent Response (gemini-embedding-2) */
|
|
11774
|
+
googleEmbedContentResponse?: EmbedContentResponse;
|
|
11712
11775
|
}
|
|
11713
11776
|
interface V1CreateEmbeddingsResponse {
|
|
11714
11777
|
/**
|
|
@@ -11855,6 +11918,30 @@ interface Statistics {
|
|
|
11855
11918
|
/** Truncation indicator */
|
|
11856
11919
|
truncated?: boolean | null;
|
|
11857
11920
|
}
|
|
11921
|
+
/** Response containing the generated multimodal embedding. */
|
|
11922
|
+
interface EmbedContentResponse {
|
|
11923
|
+
/** The generated embedding. */
|
|
11924
|
+
embedding?: ContentEmbedding;
|
|
11925
|
+
/** Cost of the request in micro cents. */
|
|
11926
|
+
microcentsSpent?: string | null;
|
|
11927
|
+
/** Statistics about the generation. */
|
|
11928
|
+
statistics?: EmbedContentStatistics;
|
|
11929
|
+
}
|
|
11930
|
+
/** A single content embedding. */
|
|
11931
|
+
interface ContentEmbedding {
|
|
11932
|
+
/**
|
|
11933
|
+
* The generated embedding values.
|
|
11934
|
+
* @maxSize 10000
|
|
11935
|
+
*/
|
|
11936
|
+
values?: number[];
|
|
11937
|
+
}
|
|
11938
|
+
/** Statistics about an embedContent generation. */
|
|
11939
|
+
interface EmbedContentStatistics {
|
|
11940
|
+
/** Number of tokens processed across all modalities. */
|
|
11941
|
+
tokenCount?: number | null;
|
|
11942
|
+
/** Truncation indicator. */
|
|
11943
|
+
truncated?: boolean | null;
|
|
11944
|
+
}
|
|
11858
11945
|
interface GenerateTextByProjectRequest {
|
|
11859
11946
|
/**
|
|
11860
11947
|
* Id of the Project that will be used to facilitate text generation request.
|
|
@@ -14189,6 +14276,8 @@ interface PollImageGenerationResultRequest extends PollImageGenerationResultRequ
|
|
|
14189
14276
|
openAiGetVideoResultRequest?: GetVideoResultRequest;
|
|
14190
14277
|
/** Bytedance getContentTask request */
|
|
14191
14278
|
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
14279
|
+
/** Fal schemaless proxy GetQueueResult request */
|
|
14280
|
+
falGetQueueResultRequest?: FalGetQueueResultRequest;
|
|
14192
14281
|
/** Contains additional information for the request. */
|
|
14193
14282
|
userRequestInfo?: UserRequestInfo;
|
|
14194
14283
|
}
|
|
@@ -14204,6 +14293,8 @@ interface PollImageGenerationResultRequestRequestOneOf {
|
|
|
14204
14293
|
openAiGetVideoResultRequest?: GetVideoResultRequest;
|
|
14205
14294
|
/** Bytedance getContentTask request */
|
|
14206
14295
|
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
14296
|
+
/** Fal schemaless proxy GetQueueResult request */
|
|
14297
|
+
falGetQueueResultRequest?: FalGetQueueResultRequest;
|
|
14207
14298
|
}
|
|
14208
14299
|
interface V1GetResultRequest {
|
|
14209
14300
|
/**
|
|
@@ -14240,6 +14331,18 @@ interface GetContentTaskRequest {
|
|
|
14240
14331
|
*/
|
|
14241
14332
|
taskId?: string;
|
|
14242
14333
|
}
|
|
14334
|
+
interface FalGetQueueResultRequest {
|
|
14335
|
+
/**
|
|
14336
|
+
* Model ID that Gateway will add to the queue result proxy URL.
|
|
14337
|
+
* @maxLength 1000
|
|
14338
|
+
*/
|
|
14339
|
+
modelId?: string;
|
|
14340
|
+
/**
|
|
14341
|
+
* Queue request ID whose result should be polled.
|
|
14342
|
+
* @maxLength 1000
|
|
14343
|
+
*/
|
|
14344
|
+
requestId?: string;
|
|
14345
|
+
}
|
|
14243
14346
|
interface PollImageGenerationResultResponse extends PollImageGenerationResultResponseResponseOneOf {
|
|
14244
14347
|
/** replicate proxy getResult response */
|
|
14245
14348
|
replicateGetResultResponse?: V1GetResultResponse;
|
|
@@ -14251,6 +14354,8 @@ interface PollImageGenerationResultResponse extends PollImageGenerationResultRes
|
|
|
14251
14354
|
openAiGetVideoResultResponse?: GetVideoResultResponse;
|
|
14252
14355
|
/** Bytedance getContentTask response */
|
|
14253
14356
|
bytedanceGetContentTaskResponse?: GetContentTaskResponse;
|
|
14357
|
+
/** Fal schemaless proxy GetQueueResult response */
|
|
14358
|
+
falGetQueueResultResponse?: FalGetQueueResultResponse;
|
|
14254
14359
|
}
|
|
14255
14360
|
/** @oneof */
|
|
14256
14361
|
interface PollImageGenerationResultResponseResponseOneOf {
|
|
@@ -14264,6 +14369,8 @@ interface PollImageGenerationResultResponseResponseOneOf {
|
|
|
14264
14369
|
openAiGetVideoResultResponse?: GetVideoResultResponse;
|
|
14265
14370
|
/** Bytedance getContentTask response */
|
|
14266
14371
|
bytedanceGetContentTaskResponse?: GetContentTaskResponse;
|
|
14372
|
+
/** Fal schemaless proxy GetQueueResult response */
|
|
14373
|
+
falGetQueueResultResponse?: FalGetQueueResultResponse;
|
|
14267
14374
|
}
|
|
14268
14375
|
interface V1GetResultResponse {
|
|
14269
14376
|
/**
|
|
@@ -14334,6 +14441,10 @@ interface GetContentTaskResponse {
|
|
|
14334
14441
|
/** The queried video generation task, including its status and result. */
|
|
14335
14442
|
task?: CommonContentTaskResponse;
|
|
14336
14443
|
}
|
|
14444
|
+
interface FalGetQueueResultResponse {
|
|
14445
|
+
/** Raw FAL queue result JSON body. */
|
|
14446
|
+
body?: Record<string, any> | null;
|
|
14447
|
+
}
|
|
14337
14448
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
14338
14449
|
createdEvent?: EntityCreatedEvent;
|
|
14339
14450
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -14571,6 +14682,8 @@ interface GenerateEmbeddingOptions extends GenerateEmbeddingOptionsEmbeddingRequ
|
|
|
14571
14682
|
azureEmbeddingsRequest?: CreateEmbeddingsRequest;
|
|
14572
14683
|
/** Google Vertex Embeddings Request */
|
|
14573
14684
|
googleEmbeddingsRequest?: GetEmbeddingRequest;
|
|
14685
|
+
/** Google multimodal embedContent Request (gemini-embedding-2) */
|
|
14686
|
+
googleEmbedContentRequest?: EmbedContentRequest;
|
|
14574
14687
|
/** Contains additional information for the request, such as interaction ID and additional tags (comma-separated string). */
|
|
14575
14688
|
userRequestInfo?: UserRequestInfo;
|
|
14576
14689
|
}
|
|
@@ -14582,6 +14695,8 @@ interface GenerateEmbeddingOptionsEmbeddingRequestOneOf {
|
|
|
14582
14695
|
azureEmbeddingsRequest?: CreateEmbeddingsRequest;
|
|
14583
14696
|
/** Google Vertex Embeddings Request */
|
|
14584
14697
|
googleEmbeddingsRequest?: GetEmbeddingRequest;
|
|
14698
|
+
/** Google multimodal embedContent Request (gemini-embedding-2) */
|
|
14699
|
+
googleEmbedContentRequest?: EmbedContentRequest;
|
|
14585
14700
|
}
|
|
14586
14701
|
interface GenerateTextByProjectOptions {
|
|
14587
14702
|
/** Key-value pairs that will be used to substitute templated parameters in the prompt. */
|
|
@@ -14960,6 +15075,8 @@ interface PollImageGenerationResultOptions extends PollImageGenerationResultOpti
|
|
|
14960
15075
|
openAiGetVideoResultRequest?: GetVideoResultRequest;
|
|
14961
15076
|
/** Bytedance getContentTask request */
|
|
14962
15077
|
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
15078
|
+
/** Fal schemaless proxy GetQueueResult request */
|
|
15079
|
+
falGetQueueResultRequest?: FalGetQueueResultRequest;
|
|
14963
15080
|
}
|
|
14964
15081
|
/** @oneof */
|
|
14965
15082
|
interface PollImageGenerationResultOptionsRequestOneOf {
|
|
@@ -14973,6 +15090,8 @@ interface PollImageGenerationResultOptionsRequestOneOf {
|
|
|
14973
15090
|
openAiGetVideoResultRequest?: GetVideoResultRequest;
|
|
14974
15091
|
/** Bytedance getContentTask request */
|
|
14975
15092
|
bytedanceGetContentTaskRequest?: GetContentTaskRequest;
|
|
15093
|
+
/** Fal schemaless proxy GetQueueResult request */
|
|
15094
|
+
falGetQueueResultRequest?: FalGetQueueResultRequest;
|
|
14976
15095
|
}
|
|
14977
15096
|
|
|
14978
|
-
export { type AccountInfo, type Action, type ActionEvent, type AlignmentInfoInChunk, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AnthropicStreamChunk, type AnthropicStreamChunkContentOneOf, type AnthropicStreamChunkMessageDelta, type AnthropicV1ImageUrl, type ApplicationBudgetInfo, type AsyncGenerationConfig, type AudioUrl, type Background, type BashTool, type Blob, type BoundingPoly, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, type ChatCompletionChunk, type ChatCompletionChunkChunkChoice, type ChatCompletionChunkChunkChoiceChunkDelta, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CommonContentTaskResponse, type CompletionTokenDetails, type ComputerUse, type ComputerUseTool, type ConductorExperimentConfig, type ConductorExperimentValue, type ConductorExperimentValueExperimentResultOneOf, type Container, type ContainerUpload, type Content, type ContentBlock, type ContentBlockDelta, type ContentBlockDeltaDeltaOneOf, type ContentBlockLocationCitation, type ContentBlockTypeOneOf, type ContentData, type ContentGenerationFailedEvent, type ContentGenerationRequestedEvent, type ContentGenerationSucceededEvent, type ContentItem, type ContentPart, type ContentPartContentValueOneOf, ContentRole, type ContentRoleWithLiterals, type ConverseContentBlock, type ConverseContentBlockContentOneOf, type ConverseInferenceConfig, type ConverseInputSchema, type ConverseMessage, ConverseModel, type ConverseModelWithLiterals, type ConversePerformanceConfig, type ConverseReasoningContent, type ConverseTool, type ConverseToolResult, type ConverseToolResultContent, type ConverseToolResultContentContentOneOf, type ConverseToolUse, type CreateChatCompletionRequest, type CreateChatCompletionRequestFunctionCallOneOf, type CreateChatCompletionRequestFunctionSignature, type CreateChatCompletionRequestResponseFormat, type CreateChatCompletionRequestTool, type CreateChatCompletionResponse, type CreateChatCompletionResponseChoice, type CreateChatCompletionResponseCompletionTokenDetails, type CreateChatCompletionResponsePromptTokenDetails, type CreateChatCompletionResponseTokenUsage, type CreateContentTaskRequest, type CreateContentTaskResponse, type CreateEmbeddingsRequest, type CreateEmbeddingsResponse, type CreateEmbeddingsResponseEmbeddingUsage, type CreateImageOpenAiRequest, type CreateImageOpenAiResponse, type CreateImageRequest, type CreateImageResponse, type CreateModerationRequest, type CreateModerationResponse, CreatePredictionModel, type CreatePredictionModelWithLiterals, type CreatePredictionRequest, type CreatePredictionRequestInputOneOf, type CreatePredictionResponse, type CreatePredictionResponseTokenUsage, type CreateSpeechRequest, type CreateSpeechResponse, type CreateTranscriptionRequest, CreateTranscriptionRequestResponseFormat, type CreateTranscriptionRequestResponseFormatWithLiterals, type CreateTranscriptionResponse, type CreateVideoRequest, type CreateVideoResponse, type CustomTool, type DatalabOcr, type DatalabOcrOutput, type DetectTextRequest, type DetectTextResponse, type DocumentContent, type DocumentSource, type DomainEvent, type DomainEventBodyOneOf, type DraftTask, type DynamicRequestConfig, type DynamicRetrievalConfig, DynamicRetrievalConfigMode, type DynamicRetrievalConfigModeWithLiterals, EditAction, type EditActionWithLiterals, type EditImageInput, EditImageModel, type EditImageModelWithLiterals, type EditImageOpenAiRequest, type EditImageOpenAiResponse, type EditImageOptions, type EditImageOptionsRequestOneOf, type EditImageRequest, EditImageRequestModel, type EditImageRequestModelWithLiterals, type EditImageResponse, type EditImageTaskResult, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, type EditVideoOptions, type EditVideoOptionsRequestOneOf, type EditVideoRequest, EditVideoRequestModel, type EditVideoRequestModelWithLiterals, type EditVideoResponse, type EditVideoTaskResult, type Element, ElevenLabsTextToSpeechModel, type ElevenLabsTextToSpeechModelWithLiterals, EmbeddingEncodingFormat, type EmbeddingEncodingFormatWithLiterals, type EmbeddingInfo, type EmbeddingInfoEmbeddingResultOneOf, type EmbeddingInstance, EmbeddingModel, type EmbeddingModelWithLiterals, type EmbeddingPrediction, type EmbeddingUsage, type EntityCreatedEvent, type EntityDeletedEvent, EntityType, type EntityTypeWithLiterals, type EntityUpdatedEvent, Environment, type EnvironmentWithLiterals, type ErrorInfo, type ExecutableCode, type Expand, type ExperimentalPromptConfig, type Export, type ExtractFromImageMetrics, ExtractFromImageModel, type ExtractFromImageModelWithLiterals, type ExtractFromImageRequest, type ExtractFromImageRequestInputOneOf, type ExtractFromImageResponse, type ExtractFromImageResponseOutputOneOf, type ExtractFromImageResponseTokenUsage, type ExtractFromImageUrls, type FalGatewayPayload, type FalGatewayResponse, type FallbackPromptConfig, type FallbackProperties, type FileContent, type FileInput, type FineTuningSpec, FinishReason, type FinishReasonWithLiterals, type Fireworks_proxyV1ChatCompletionMessage, type Fireworks_proxyV1ChatCompletionMessageContentPart, type Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOf, type Fireworks_proxyV1ChatCompletionMessageImageUrlContent, Fireworks_proxyV1ChatCompletionMessageMessageRole, type Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals, type FloatEmbedding, type FluxDevControlnet, type FluxPulid, type FrameImage, type FullTextAnnotation, type FunctionCall, type FunctionCallingConfig, type FunctionDeclaration, type FunctionResponse, type FunctionResponseBlob, type FunctionResponsePart, type FunctionResponsePartDataOneOf, type FunctionSignature, type FunctionWithArgs, type GatewayContentBlock, type GatewayContentBlockTypeOneOf, type GatewayMessageDefinition, GatewayMessageDefinitionRole, type GatewayMessageDefinitionRoleWithLiterals, type GatewayToolDefinition, type GatewayToolDefinitionCustomTool, type GatewayToolDefinitionToolOneOf, GenerateAnImageModel, type GenerateAnImageModelWithLiterals, type GenerateAnImageRequest, type GenerateAnImageResponse, type GenerateAudioOptions, type GenerateAudioOptionsAudioRequestOneOf, type GenerateAudioRequest, type GenerateAudioRequestAudioRequestOneOf, type GenerateAudioResponse, type GenerateAudioResponseAudioResponseOneOf, type GenerateAudioStreamedOptions, type GenerateAudioStreamedOptionsAudioRequestOneOf, type GenerateContentByProjectOptions, type GenerateContentByProjectRequest, type GenerateContentByProjectResponse, type GenerateContentByPromptObjectOptions, type GenerateContentByPromptObjectRequest, type GenerateContentByPromptObjectResponse, type GenerateContentByPromptOptions, type GenerateContentByPromptRequest, type GenerateContentByPromptResponse, type GenerateContentModelResponse, type GenerateContentModelResponseResponseOneOf, type GenerateContentRequest, type GenerateContentResponse, type GenerateCoreRequest, GenerateCoreRequestStylePreset, type GenerateCoreRequestStylePresetWithLiterals, type GenerateCoreResponse, type GenerateEmbeddingOptions, type GenerateEmbeddingOptionsEmbeddingRequestOneOf, type GenerateEmbeddingsRequest, type GenerateEmbeddingsRequestEmbeddingRequestOneOf, type GenerateEmbeddingsResponse, type GenerateEmbeddingsResponseEmbeddingResponseOneOf, type GenerateImageByProjectOptions, type GenerateImageByProjectRequest, type GenerateImageByProjectResponse, type GenerateImageByPromptObjectOptions, type GenerateImageByPromptObjectRequest, type GenerateImageByPromptObjectResponse, type GenerateImageByPromptOptions, type GenerateImageByPromptRequest, type GenerateImageByPromptResponse, GenerateImageMlPlatformModel, type GenerateImageMlPlatformModelWithLiterals, type GenerateImageMlPlatformRequest, type GenerateImageMlPlatformRequestInputOneOf, type GenerateImageMlPlatformResponse, type GenerateImageRequest, type GenerateImageResponse, type GenerateModerationOptions, type GenerateModerationOptionsModerationRequestOneOf, type GenerateModerationRequest, type GenerateModerationRequestModerationRequestOneOf, type GenerateModerationResponse, type GenerateModerationResponseModerationResponseOneOf, type GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, type GenerateStableDiffusionRequestOutputFormatWithLiterals, type GenerateStableDiffusionResponse, type GenerateTextByProjectOptions, type GenerateTextByProjectRequest, type GenerateTextByProjectResponse, type GenerateTextByProjectStreamedOptions, type GenerateTextByPromptObjectOptions, type GenerateTextByPromptObjectRequest, type GenerateTextByPromptObjectResponse, type GenerateTextByPromptObjectStreamedOptions, type GenerateTextByPromptOptions, type GenerateTextByPromptRequest, type GenerateTextByPromptResponse, type GenerateTextByPromptStreamedOptions, type GenerateTranscriptionOptions, type GenerateTranscriptionOptionsTranscriptionRequestOneOf, type GenerateTranscriptionRequest, type GenerateTranscriptionRequestTranscriptionRequestOneOf, type GenerateTranscriptionResponse, type GenerateTranscriptionResponseTranscriptionResponseOneOf, type GenerateVideoInstance, type GenerateVideoParameters, type GenerateVideoRequest, type GenerateVideoResponse, type GeneratedAudioChunk, type GeneratedAudioChunkAudioChunkOneOf, type GeneratedContent, type GeneratedTextChunk, type GeneratedTextChunkModelChunkOneOf, type GeneratedVideo, type GenerationConfig, GenerationMode, type GenerationModeWithLiterals, type GenerationRequestedEvent, type GenerationThinkingConfig, type GetApplicationUsageRequest, type GetApplicationUsageResponse, type GetContentTaskRequest, type GetContentTaskResponse, type GetEmbeddingRequest, type GetEmbeddingResponse, type GetProjectRequest, type GetProjectResponse, type GetPromptOptions, type GetPromptRequest, type GetPromptResponse, type GetResultRequest, type GetResultResponse, type GetStatusRequest, type GetStatusResponse, type GetTaskResultRequest, type GetTaskResultResponse, type GetTaskResultResponseResponseOneOf, type GetVideoResultRequest, type GetVideoResultResponse, type GoogleSearch, type GoogleSearchRetrieval, type GoogleproxyV1AnthropicStreamChunk, type GoogleproxyV1AnthropicStreamChunkContentOneOf, type GoogleproxyV1CacheControl, type GoogleproxyV1ChatCompletionMessage, type GoogleproxyV1ContentBlock, type GoogleproxyV1ContentBlockDelta, type GoogleproxyV1ContentBlockDeltaDeltaOneOf, type GoogleproxyV1ContentBlockTypeOneOf, type GoogleproxyV1ImageUrl, type GoogleproxyV1InputSchema, type GoogleproxyV1JsonOutputFormat, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1OutputConfig, type GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, type GoogleproxyV1ResponseTypeTypeWithLiterals, type GoogleproxyV1Text, type GoogleproxyV1Thinking, type GoogleproxyV1ThinkingConfig, type GoogleproxyV1Tool, type GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, type GoogleproxyV1ToolChoiceTypeWithLiterals, type GoogleproxyV1ToolResult, type GoogleproxyV1ToolUse, type GoogleproxyV1Usage, type GroundingChunk, type GroundingChunkChunkTypeOneOf, type GroundingMetadata, type GroundingSupport, type Guidance, HarmCategory, type HarmCategoryWithLiterals, HarmProbability, type HarmProbabilityWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, type ImageConfig, ImageCoreModel, type ImageCoreModelWithLiterals, type ImageData, ImageEditingModel, type ImageEditingModelWithLiterals, type ImageEditingRequest, type ImageEditingResponse, type ImageError, type ImageGenerationFailedEvent, type ImageGenerationRequestedEvent, type ImageGenerationSucceededEvent, type ImageInput, ImageMediaTypeMediaType, type ImageMediaTypeMediaTypeWithLiterals, ImageModel, type ImageModelResponse, type ImageModelResponseResponseOneOf, type ImageModelWithLiterals, type ImageObject, type ImageOutputOptions, ImageQuality, type ImageQualityWithLiterals, ImageSize, type ImageSizeWithLiterals, ImageStableDiffusionModel, type ImageStableDiffusionModelWithLiterals, ImageStyle, type ImageStyleWithLiterals, type ImageUrl, type ImageUrlContent, type ImageUrlInput, type ImageUsage, ImagenModel, type ImagenModelWithLiterals, type IncompleteDetails, type InputSchema, type Inputs, type Instance, type InvokeAnthropicClaudeModelRequest, type InvokeAnthropicClaudeModelRequestTool, type InvokeAnthropicClaudeModelResponse, type InvokeAnthropicModelRequest, type InvokeAnthropicModelResponse, type InvokeChatCompletionRequest, type InvokeChatCompletionRequestResponseFormat, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, type InvokeChatCompletionResponse, type InvokeChatCompletionResponseChoice, type InvokeChatCompletionResponseUsage, type InvokeConverseRequest, type InvokeConverseResponse, type InvokeConverseResponseTokenUsage, type InvokeCustomOpenAiModelRequest, type InvokeCustomOpenAiModelRequestFunctionCallOneOf, type InvokeCustomOpenAiModelRequestFunctionSignature, type InvokeCustomOpenAiModelRequestResponseFormat, type InvokeCustomOpenAiModelRequestTool, type InvokeCustomOpenAiModelResponse, type InvokeCustomOpenAiModelResponseChoice, type InvokeCustomOpenAiModelResponseCompletionTokenDetails, type InvokeCustomOpenAiModelResponsePromptTokenDetails, type InvokeCustomOpenAiModelResponseTokenUsage, type InvokeCustomOpenAiModelStreamedResponse, type InvokeCustomOpenAiModelStreamedResponseChunkChoice, type InvokeCustomOpenAiModelStreamedResponseChunkChoiceChunkDelta, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonOutputFormat, type JsonSchema, Language, type LanguageWithLiterals, type LayerInfo, type Lighting, LlamaModel, type LlamaModelWithLiterals, type LoraModelSelect, type LucatacoFlorence2Large, type Margin, type McpServer, type McpServerToolConfiguration, McpServerType, type McpServerTypeWithLiterals, type McpToolUse, type MediaContent, type MediaResolution, MediaResolutionLevel, type MediaResolutionLevelWithLiterals, MediaType, type MediaTypeWithLiterals, type MessageDelta, type MessageEnvelope, MessageRole, MessageRoleRole, type MessageRoleRoleWithLiterals, type MessageRoleWithLiterals, type Metrics, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelResponse, type ModelResponseResponseOneOf, type ModelWithLiterals, type ModerationResult, type MultiModalInput, type MultiModalInputContentValueOneOf, type OcrBlock, type OcrDetectedBreak, type OcrDetectedLanguage, type OcrPage, type OcrParagraph, type OcrSymbol, type OcrTextProperty, type OcrWord, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, type OpenaiproxyV1ChatCompletionChunk, type OpenaiproxyV1ChatCompletionMessage, type OpenaiproxyV1ChatCompletionMessageContentPart, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, type OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, type OpenaiproxyV1CreateChatCompletionRequest, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat, type OpenaiproxyV1CreateChatCompletionResponse, type OpenaiproxyV1CreateChatCompletionResponseChoice, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1EmbeddingModel, type OpenaiproxyV1EmbeddingModelWithLiterals, OpenaiproxyV1Model, type OpenaiproxyV1ModelWithLiterals, type OptimizePromptOptions, OutageStatus, type OutageStatusWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type Output, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, type OutputConfig, type OutputContent, OutputFormat, type OutputFormatWithLiterals, type OutputOptions, type Padding, type PageLocationCitation, type Parameters, type PerceptronIsaac01, type PerplexityImageDescriptor, type PerplexityMessage, PerplexityMessageMessageRole, type PerplexityMessageMessageRoleWithLiterals, PerplexityModel, type PerplexityModelWithLiterals, PersonGeneration, type PersonGenerationWithLiterals, type PollImageGenerationResultOptions, type PollImageGenerationResultOptionsRequestOneOf, type PollImageGenerationResultRequest, type PollImageGenerationResultRequestRequestOneOf, type PollImageGenerationResultResponse, type PollImageGenerationResultResponseResponseOneOf, type Prediction, type PredictionMetrics, type PredictionUrls, type Project, type ProjectConfigChangedDomainEvent, type Prompt, type PromptFeedback, type PromptModelRequestOneOf, type PromptTokenDetails, type PronunciationDictionaryLocator, type ProxyTraceRequest, type ProxyTraceResponse, type PrunaaiZImageTurbo, type PublicationDate, type PublishProjectOptions, type PublishProjectRequest, type PublishProjectResponse, type PublishPromptOptions, type PublishPromptRequest, type PublishPromptResponse, type QwenImageLayered, type ReasoningText, type Recraft_proxyV1EditImageRequest, type Recraft_proxyV1EditImageResponse, type RedactedThinking, type RemoveBackgroundRequest, type RemoveBackgroundResponse, type RequestMetadata, type ResponseFormat, type ResponseMetadata, ResponseType, ResponseTypeType, type ResponseTypeTypeWithLiterals, type ResponseTypeWithLiterals, type ResponsesCodeInterpreter, type ResponsesCodeInterpreterContainer, type ResponsesCodeInterpreterContainerAuto, type ResponsesCodeInterpreterContainerContainerTypeOneOf, type ResponsesCodeInterpreterImageOutput, type ResponsesCodeInterpreterLogsOutput, type ResponsesCodeInterpreterOutput, type ResponsesCodeInterpreterOutputOutputTypeOneOf, type ResponsesCodeInterpreterToolCall, type ResponsesFunction, type ResponsesFunctionToolCall, type ResponsesFunctionToolCallOutput, type ResponsesInputItem, type ResponsesInputItemItemOneOf, type ResponsesInputMessage, type ResponsesInputMessageContent, type ResponsesInputMessageContentContentValueOneOf, type ResponsesInputMessageContentFileInput, type ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, type ResponsesInputMessageResponsesMessageRoleWithLiterals, type ResponsesInputTokensDetails, ResponsesMessageRole, type ResponsesMessageRoleWithLiterals, ResponsesModel, type ResponsesModelWithLiterals, type ResponsesOutput, type ResponsesOutputMessage, type ResponsesOutputMessageOutputContent, type ResponsesOutputOutputOneOf, type ResponsesOutputTokensDetails, type ResponsesReasoning, type ResponsesReasoningContent, type ResponsesReasoningOutput, type ResponsesReasoningSummaryContent, type ResponsesTextFormat, type ResponsesTextFormatFormatOneOf, type ResponsesTextFormatJsonSchema, type ResponsesTokenUsage, type ResponsesTool, type ResponsesToolChoice, type ResponsesToolToolTypeOneOf, type ResponsesWebSearch, type ResponsesWebSearchToolCall, type ResponsesWebSearchToolCallAction, type ResponsesWebSearchUserLocation, type RestoreInfo, type ResultObject, type RetrievalMetadata, type RetrievedContext, type ReveEdit, Role, type RoleWithLiterals, type Safety, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type Segmentation, type SequentialImageGenerationOptions, type ServerToolUse, type Shadow, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, type SpeechChunk, SpeechModel, type SpeechModelWithLiterals, type SpiGenerationConfig, type StabilityproxyV1EditImageRequest, type StabilityproxyV1EditImageResponse, type Statistics, StylePreset, type StylePresetWithLiterals, type SystemContentBlock, type SystemInstruction, type TaskContent, type TaskError, TaskInput, type TaskInputWithLiterals, TaskType, type TaskTypeWithLiterals, type TaskUsage, type Text, type TextAnnotation, type TextContent, type TextEditorTool, type TextEmbeddingInstance, type TextEmbeddingParameters, type TextGenerationFailedEvent, type TextGenerationSucceededEvent, type TextPrompt, type TextRemoval, type TextToImageRequest, TextToImageRequestModel, type TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, type TextToImageRequestStylePresetWithLiterals, type TextToImageResponse, type TextToImageTaskResult, type TextToSpeechChunk, type TextToSpeechRequest, type Thinking, type ThinkingConfig, type ThinkingTextContent, Threshold, type ThresholdWithLiterals, type TimestampGranularities, TimestampGranularity, type TimestampGranularityWithLiterals, type TokenUsage, type Tool, type ToolCall, type ToolChoice, ToolChoiceType, type ToolChoiceTypeWithLiterals, type ToolConfig, type ToolConfiguration, type ToolResult, type ToolResultContent, type ToolResultContentBlock, type ToolResultContentBlockTypeOneOf, type ToolResultSearchResult, type ToolSpecification, type ToolUse, type ToolUseContent, type TraceMeta, TraceMode, type TraceModeWithLiterals, type TraceParams, type TraceRequest, TranscriptionModel, type TranscriptionModelWithLiterals, Type, type TypeWithLiterals, type UrlCitation, type Usage, type UsageCacheCreation, type UsageMetadata, type UsageServerToolUse, type UserLocation, type UserPerApplicationBudgetInfo, type UserRequestInfo, type V1AnthropicClaudeMessage, type V1AnthropicStreamChunk, type V1AnthropicStreamChunkContentOneOf, type V1AnthropicStreamChunkMessageDelta, type V1CacheControl, V1CacheControlType, type V1CacheControlTypeWithLiterals, type V1ChatCompletionChunk, type V1ChatCompletionChunkChunkChoice, type V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageFunctionWithArgs, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1ChatCompletionMessageToolCall, type V1CodeExecutionResult, type V1ContentBlock, type V1ContentBlockDelta, type V1ContentBlockDeltaDeltaOneOf, type V1ContentBlockTypeOneOf, type V1ContentPart, type V1CreateChatCompletionRequest, type V1CreateChatCompletionRequestResponseFormat, type V1CreateChatCompletionRequestTool, type V1CreateChatCompletionResponse, type V1CreateChatCompletionResponseChoice, type V1CreateChatCompletionResponseTokenUsage, type V1CreateEmbeddingsRequest, type V1CreateEmbeddingsResponse, V1EditImageModel, type V1EditImageModelWithLiterals, type V1EditImageRequest, type V1EditImageResponse, type V1EditVideoRequest, type V1EditVideoRequestRequestOneOf, type V1EditVideoResponse, type V1EditVideoResponseResponseOneOf, V1EmbeddingEncodingFormat, type V1EmbeddingEncodingFormatWithLiterals, type V1EmbeddingInfo, type V1EmbeddingInfoEmbeddingResultOneOf, V1EmbeddingModel, type V1EmbeddingModelWithLiterals, type V1FineTuningSpec, type V1FloatEmbedding, type V1FluxPulid, type V1GenerateImageRequest, type V1GenerateImageResponse, type V1GetResultRequest, type V1GetResultResponse, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1ImageUsage, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1InvokeCustomOpenAiModelRequest, type V1InvokeCustomOpenAiModelRequestFunctionCallOneOf, type V1InvokeCustomOpenAiModelRequestFunctionSignature, type V1InvokeCustomOpenAiModelRequestResponseFormat, type V1InvokeCustomOpenAiModelRequestTool, type V1InvokeCustomOpenAiModelResponse, type V1InvokeCustomOpenAiModelResponseChoice, type V1InvokeCustomOpenAiModelResponseCompletionTokenDetails, type V1InvokeCustomOpenAiModelResponsePromptTokenDetails, type V1InvokeCustomOpenAiModelResponseTokenUsage, type V1JsonOutputFormat, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1OutputConfig, type V1RedactedThinking, V1ResponseTypeType, type V1ResponseTypeTypeWithLiterals, type V1ResponsesCodeInterpreter, type V1ResponsesCodeInterpreterContainer, type V1ResponsesCodeInterpreterContainerAuto, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf, type V1ResponsesCodeInterpreterImageOutput, type V1ResponsesCodeInterpreterLogsOutput, type V1ResponsesCodeInterpreterOutput, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf, type V1ResponsesCodeInterpreterToolCall, type V1ResponsesFunction, type V1ResponsesFunctionToolCall, type V1ResponsesFunctionToolCallOutput, type V1ResponsesInputItem, type V1ResponsesInputItemItemOneOf, type V1ResponsesInputMessage, type V1ResponsesInputMessageContent, type V1ResponsesInputMessageContentContentValueOneOf, type V1ResponsesInputTokensDetails, V1ResponsesModel, type V1ResponsesModelWithLiterals, type V1ResponsesOutput, type V1ResponsesOutputMessage, type V1ResponsesOutputOutputOneOf, type V1ResponsesOutputTokensDetails, type V1ResponsesReasoning, type V1ResponsesReasoningContent, type V1ResponsesReasoningOutput, type V1ResponsesReasoningSummaryContent, type V1ResponsesTextFormat, type V1ResponsesTextFormatFormatOneOf, type V1ResponsesTokenUsage, type V1ResponsesTool, type V1ResponsesToolChoice, type V1ResponsesToolToolTypeOneOf, type V1ResponsesWebSearch, type V1ResponsesWebSearchToolCall, type V1Segment, type V1SimpleContentBlock, type V1SimpleContentBlockTypeOneOf, type V1Text, type V1TextToImageRequest, type V1TextToImageResponse, type V1Thinking, type V1ThinkingConfig, type V1TokenUsage, type V1Tool, type V1ToolChoice, V1ToolChoiceType, type V1ToolChoiceTypeWithLiterals, type V1ToolConfig, type V1ToolKindOneOf, type V1ToolResult, type V1ToolUse, type V1UrlCitation, type V1Usage, V1VideoModel, type V1VideoModelWithLiterals, type Vertex, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, type VideoInputs, type VideoJob, VideoModel, type VideoModelWithLiterals, type VideoUrl, type VisionImage, type VisionImageContext, type Vllm_proxyV1ChatCompletionMessage, type Vllm_proxyV1ChatCompletionMessageContentPart, type Vllm_proxyV1ChatCompletionMessageContentPartContentValueOneOf, type Vllm_proxyV1ChatCompletionMessageFunctionWithArgs, type Vllm_proxyV1ChatCompletionMessageImageUrlContent, Vllm_proxyV1ChatCompletionMessageMessageRole, type Vllm_proxyV1ChatCompletionMessageMessageRoleWithLiterals, type Vllm_proxyV1ChatCompletionMessageToolCall, type VoiceSettings, type Web, type WebFetchTool, type WebFetchToolResult, type WebFetchToolResultContentError, type WebFetchToolResultContentOneOf, type WebFetchToolResultContentSuccess, type WebSearchResult, type WebSearchResultList, type WebSearchResultLocationCitation, type WebSearchTool, type WebSearchToolResult, type WebSearchToolResultContentOneOf, type WebSearchToolResultError, type WebSearchUserLocation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type Wix_ai_gatewayV1EditImageRequest, type Wix_ai_gatewayV1EditImageRequestRequestOneOf, type Wix_ai_gatewayV1EditImageResponse, type Wix_ai_gatewayV1EditImageResponseResponseOneOf, type Word };
|
|
15097
|
+
export { type AccountInfo, type Action, type ActionEvent, type AlignmentInfoInChunk, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AnthropicStreamChunk, type AnthropicStreamChunkContentOneOf, type AnthropicStreamChunkMessageDelta, type AnthropicV1ImageUrl, type ApplicationBudgetInfo, type AsyncGenerationConfig, type AudioUrl, type Background, type BashTool, type Blob, type BoundingPoly, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, type ChatCompletionChunk, type ChatCompletionChunkChunkChoice, type ChatCompletionChunkChunkChoiceChunkDelta, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CommonContentTaskResponse, type CompletionTokenDetails, type ComputerUse, type ComputerUseTool, type ConductorExperimentConfig, type ConductorExperimentValue, type ConductorExperimentValueExperimentResultOneOf, type Container, type ContainerUpload, type Content, type ContentBlock, type ContentBlockDelta, type ContentBlockDeltaDeltaOneOf, type ContentBlockLocationCitation, type ContentBlockTypeOneOf, type ContentData, type ContentEmbedding, type ContentGenerationFailedEvent, type ContentGenerationRequestedEvent, type ContentGenerationSucceededEvent, type ContentItem, type ContentPart, type ContentPartContentValueOneOf, ContentRole, type ContentRoleWithLiterals, type ConverseContentBlock, type ConverseContentBlockContentOneOf, type ConverseInferenceConfig, type ConverseInputSchema, type ConverseMessage, ConverseModel, type ConverseModelWithLiterals, type ConversePerformanceConfig, type ConverseReasoningContent, type ConverseTool, type ConverseToolResult, type ConverseToolResultContent, type ConverseToolResultContentContentOneOf, type ConverseToolUse, type CreateChatCompletionRequest, type CreateChatCompletionRequestFunctionCallOneOf, type CreateChatCompletionRequestFunctionSignature, type CreateChatCompletionRequestResponseFormat, type CreateChatCompletionRequestTool, type CreateChatCompletionResponse, type CreateChatCompletionResponseChoice, type CreateChatCompletionResponseCompletionTokenDetails, type CreateChatCompletionResponsePromptTokenDetails, type CreateChatCompletionResponseTokenUsage, type CreateContentTaskRequest, type CreateContentTaskResponse, type CreateEmbeddingsRequest, type CreateEmbeddingsResponse, type CreateEmbeddingsResponseEmbeddingUsage, type CreateImageOpenAiRequest, type CreateImageOpenAiResponse, type CreateImageRequest, type CreateImageResponse, type CreateModerationRequest, type CreateModerationResponse, CreatePredictionModel, type CreatePredictionModelWithLiterals, type CreatePredictionRequest, type CreatePredictionRequestInputOneOf, type CreatePredictionResponse, type CreatePredictionResponseTokenUsage, type CreateSpeechRequest, type CreateSpeechResponse, type CreateTranscriptionRequest, CreateTranscriptionRequestResponseFormat, type CreateTranscriptionRequestResponseFormatWithLiterals, type CreateTranscriptionResponse, type CreateVideoRequest, type CreateVideoResponse, type CustomTool, type DatalabOcr, type DatalabOcrOutput, type DetectTextRequest, type DetectTextResponse, type DocumentContent, type DocumentSource, type DomainEvent, type DomainEventBodyOneOf, type DraftTask, type DynamicRequestConfig, type DynamicRetrievalConfig, DynamicRetrievalConfigMode, type DynamicRetrievalConfigModeWithLiterals, EditAction, type EditActionWithLiterals, type EditImageInput, EditImageModel, type EditImageModelWithLiterals, type EditImageOpenAiRequest, type EditImageOpenAiResponse, type EditImageOptions, type EditImageOptionsRequestOneOf, type EditImageRequest, EditImageRequestModel, type EditImageRequestModelWithLiterals, type EditImageResponse, type EditImageTaskResult, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, type EditVideoOptions, type EditVideoOptionsRequestOneOf, type EditVideoRequest, EditVideoRequestModel, type EditVideoRequestModelWithLiterals, type EditVideoResponse, type EditVideoTaskResult, type Element, ElevenLabsTextToSpeechModel, type ElevenLabsTextToSpeechModelWithLiterals, type EmbedContentInput, EmbedContentModel, type EmbedContentModelWithLiterals, type EmbedContentPart, type EmbedContentRequest, type EmbedContentResponse, type EmbedContentStatistics, EmbeddingEncodingFormat, type EmbeddingEncodingFormatWithLiterals, type EmbeddingInfo, type EmbeddingInfoEmbeddingResultOneOf, type EmbeddingInstance, EmbeddingModel, type EmbeddingModelWithLiterals, type EmbeddingPrediction, type EmbeddingUsage, type EntityCreatedEvent, type EntityDeletedEvent, EntityType, type EntityTypeWithLiterals, type EntityUpdatedEvent, Environment, type EnvironmentWithLiterals, type ErrorInfo, type ExecutableCode, type Expand, type ExperimentalPromptConfig, type Export, type ExtractFromImageMetrics, ExtractFromImageModel, type ExtractFromImageModelWithLiterals, type ExtractFromImageRequest, type ExtractFromImageRequestInputOneOf, type ExtractFromImageResponse, type ExtractFromImageResponseOutputOneOf, type ExtractFromImageResponseTokenUsage, type ExtractFromImageUrls, type FalGatewayPayload, type FalGatewayResponse, type FalGetQueueResultRequest, type FalGetQueueResultResponse, type FallbackPromptConfig, type FallbackProperties, type FileContent, type FileInput, type FineTuningSpec, FinishReason, type FinishReasonWithLiterals, type Fireworks_proxyV1ChatCompletionMessage, type Fireworks_proxyV1ChatCompletionMessageContentPart, type Fireworks_proxyV1ChatCompletionMessageContentPartContentValueOneOf, type Fireworks_proxyV1ChatCompletionMessageImageUrlContent, Fireworks_proxyV1ChatCompletionMessageMessageRole, type Fireworks_proxyV1ChatCompletionMessageMessageRoleWithLiterals, type FloatEmbedding, type FluxDevControlnet, type FluxPulid, type FrameImage, type FullTextAnnotation, type FunctionCall, type FunctionCallingConfig, type FunctionDeclaration, type FunctionResponse, type FunctionResponseBlob, type FunctionResponsePart, type FunctionResponsePartDataOneOf, type FunctionSignature, type FunctionWithArgs, type GatewayContentBlock, type GatewayContentBlockTypeOneOf, type GatewayMessageDefinition, GatewayMessageDefinitionRole, type GatewayMessageDefinitionRoleWithLiterals, type GatewayToolDefinition, type GatewayToolDefinitionCustomTool, type GatewayToolDefinitionToolOneOf, GenerateAnImageModel, type GenerateAnImageModelWithLiterals, type GenerateAnImageRequest, type GenerateAnImageResponse, type GenerateAudioOptions, type GenerateAudioOptionsAudioRequestOneOf, type GenerateAudioRequest, type GenerateAudioRequestAudioRequestOneOf, type GenerateAudioResponse, type GenerateAudioResponseAudioResponseOneOf, type GenerateAudioStreamedOptions, type GenerateAudioStreamedOptionsAudioRequestOneOf, type GenerateContentByProjectOptions, type GenerateContentByProjectRequest, type GenerateContentByProjectResponse, type GenerateContentByPromptObjectOptions, type GenerateContentByPromptObjectRequest, type GenerateContentByPromptObjectResponse, type GenerateContentByPromptOptions, type GenerateContentByPromptRequest, type GenerateContentByPromptResponse, type GenerateContentModelResponse, type GenerateContentModelResponseResponseOneOf, type GenerateContentRequest, type GenerateContentResponse, type GenerateCoreRequest, GenerateCoreRequestStylePreset, type GenerateCoreRequestStylePresetWithLiterals, type GenerateCoreResponse, type GenerateEmbeddingOptions, type GenerateEmbeddingOptionsEmbeddingRequestOneOf, type GenerateEmbeddingsRequest, type GenerateEmbeddingsRequestEmbeddingRequestOneOf, type GenerateEmbeddingsResponse, type GenerateEmbeddingsResponseEmbeddingResponseOneOf, type GenerateImageByProjectOptions, type GenerateImageByProjectRequest, type GenerateImageByProjectResponse, type GenerateImageByPromptObjectOptions, type GenerateImageByPromptObjectRequest, type GenerateImageByPromptObjectResponse, type GenerateImageByPromptOptions, type GenerateImageByPromptRequest, type GenerateImageByPromptResponse, GenerateImageMlPlatformModel, type GenerateImageMlPlatformModelWithLiterals, type GenerateImageMlPlatformRequest, type GenerateImageMlPlatformRequestInputOneOf, type GenerateImageMlPlatformResponse, type GenerateImageRequest, type GenerateImageResponse, type GenerateModerationOptions, type GenerateModerationOptionsModerationRequestOneOf, type GenerateModerationRequest, type GenerateModerationRequestModerationRequestOneOf, type GenerateModerationResponse, type GenerateModerationResponseModerationResponseOneOf, type GenerateStableDiffusionRequest, GenerateStableDiffusionRequestOutputFormat, type GenerateStableDiffusionRequestOutputFormatWithLiterals, type GenerateStableDiffusionResponse, type GenerateTextByProjectOptions, type GenerateTextByProjectRequest, type GenerateTextByProjectResponse, type GenerateTextByProjectStreamedOptions, type GenerateTextByPromptObjectOptions, type GenerateTextByPromptObjectRequest, type GenerateTextByPromptObjectResponse, type GenerateTextByPromptObjectStreamedOptions, type GenerateTextByPromptOptions, type GenerateTextByPromptRequest, type GenerateTextByPromptResponse, type GenerateTextByPromptStreamedOptions, type GenerateTranscriptionOptions, type GenerateTranscriptionOptionsTranscriptionRequestOneOf, type GenerateTranscriptionRequest, type GenerateTranscriptionRequestTranscriptionRequestOneOf, type GenerateTranscriptionResponse, type GenerateTranscriptionResponseTranscriptionResponseOneOf, type GenerateVideoInstance, type GenerateVideoParameters, type GenerateVideoRequest, type GenerateVideoResponse, type GeneratedAudioChunk, type GeneratedAudioChunkAudioChunkOneOf, type GeneratedContent, type GeneratedTextChunk, type GeneratedTextChunkModelChunkOneOf, type GeneratedVideo, type GenerationConfig, GenerationMode, type GenerationModeWithLiterals, type GenerationRequestedEvent, type GenerationThinkingConfig, type GetApplicationUsageRequest, type GetApplicationUsageResponse, type GetContentTaskRequest, type GetContentTaskResponse, type GetEmbeddingRequest, type GetEmbeddingResponse, type GetProjectRequest, type GetProjectResponse, type GetPromptOptions, type GetPromptRequest, type GetPromptResponse, type GetResultRequest, type GetResultResponse, type GetStatusRequest, type GetStatusResponse, type GetTaskResultRequest, type GetTaskResultResponse, type GetTaskResultResponseResponseOneOf, type GetVideoResultRequest, type GetVideoResultResponse, type GoogleSearch, type GoogleSearchRetrieval, type GoogleproxyV1AnthropicStreamChunk, type GoogleproxyV1AnthropicStreamChunkContentOneOf, type GoogleproxyV1CacheControl, type GoogleproxyV1ChatCompletionMessage, type GoogleproxyV1ContentBlock, type GoogleproxyV1ContentBlockDelta, type GoogleproxyV1ContentBlockDeltaDeltaOneOf, type GoogleproxyV1ContentBlockTypeOneOf, type GoogleproxyV1ImageUrl, type GoogleproxyV1InputSchema, type GoogleproxyV1JsonOutputFormat, type GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, type GoogleproxyV1OutputConfig, type GoogleproxyV1RedactedThinking, GoogleproxyV1ResponseTypeType, type GoogleproxyV1ResponseTypeTypeWithLiterals, type GoogleproxyV1Text, type GoogleproxyV1Thinking, type GoogleproxyV1ThinkingConfig, type GoogleproxyV1Tool, type GoogleproxyV1ToolChoice, GoogleproxyV1ToolChoiceType, type GoogleproxyV1ToolChoiceTypeWithLiterals, type GoogleproxyV1ToolResult, type GoogleproxyV1ToolUse, type GoogleproxyV1Usage, type GroundingChunk, type GroundingChunkChunkTypeOneOf, type GroundingMetadata, type GroundingSupport, type Guidance, HarmCategory, type HarmCategoryWithLiterals, HarmProbability, type HarmProbabilityWithLiterals, type IdentificationData, type IdentificationDataIdOneOf, type ImageConfig, ImageCoreModel, type ImageCoreModelWithLiterals, type ImageData, ImageEditingModel, type ImageEditingModelWithLiterals, type ImageEditingRequest, type ImageEditingResponse, type ImageError, type ImageGenerationFailedEvent, type ImageGenerationRequestedEvent, type ImageGenerationSucceededEvent, type ImageInput, ImageMediaTypeMediaType, type ImageMediaTypeMediaTypeWithLiterals, ImageModel, type ImageModelResponse, type ImageModelResponseResponseOneOf, type ImageModelWithLiterals, type ImageObject, type ImageOutputOptions, ImageQuality, type ImageQualityWithLiterals, ImageSize, type ImageSizeWithLiterals, ImageStableDiffusionModel, type ImageStableDiffusionModelWithLiterals, ImageStyle, type ImageStyleWithLiterals, type ImageUrl, type ImageUrlContent, type ImageUrlInput, type ImageUsage, ImagenModel, type ImagenModelWithLiterals, type IncompleteDetails, type InputSchema, type Inputs, type Instance, type InvokeAnthropicClaudeModelRequest, type InvokeAnthropicClaudeModelRequestTool, type InvokeAnthropicClaudeModelResponse, type InvokeAnthropicModelRequest, type InvokeAnthropicModelResponse, type InvokeChatCompletionRequest, type InvokeChatCompletionRequestResponseFormat, type InvokeChatCompletionRequestResponseFormatFormatDetailsOneOf, type InvokeChatCompletionResponse, type InvokeChatCompletionResponseChoice, type InvokeChatCompletionResponseUsage, type InvokeConverseRequest, type InvokeConverseResponse, type InvokeConverseResponseTokenUsage, type InvokeCustomOpenAiModelRequest, type InvokeCustomOpenAiModelRequestFunctionCallOneOf, type InvokeCustomOpenAiModelRequestFunctionSignature, type InvokeCustomOpenAiModelRequestResponseFormat, type InvokeCustomOpenAiModelRequestTool, type InvokeCustomOpenAiModelResponse, type InvokeCustomOpenAiModelResponseChoice, type InvokeCustomOpenAiModelResponseCompletionTokenDetails, type InvokeCustomOpenAiModelResponsePromptTokenDetails, type InvokeCustomOpenAiModelResponseTokenUsage, type InvokeCustomOpenAiModelStreamedResponse, type InvokeCustomOpenAiModelStreamedResponseChunkChoice, type InvokeCustomOpenAiModelStreamedResponseChunkChoiceChunkDelta, type InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonOutputFormat, type JsonSchema, Language, type LanguageWithLiterals, type LayerInfo, type Lighting, LlamaModel, type LlamaModelWithLiterals, type LoraModelSelect, type LucatacoFlorence2Large, type Margin, type McpServer, type McpServerToolConfiguration, McpServerType, type McpServerTypeWithLiterals, type McpToolUse, type MediaContent, type MediaResolution, MediaResolutionLevel, type MediaResolutionLevelWithLiterals, MediaType, type MediaTypeWithLiterals, type MessageDelta, type MessageEnvelope, MessageRole, MessageRoleRole, type MessageRoleRoleWithLiterals, type MessageRoleWithLiterals, type Metrics, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelResponse, type ModelResponseResponseOneOf, type ModelWithLiterals, type ModerationResult, type MultiModalInput, type MultiModalInputContentValueOneOf, type OcrBlock, type OcrDetectedBreak, type OcrDetectedLanguage, type OcrPage, type OcrParagraph, type OcrSymbol, type OcrTextProperty, type OcrWord, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, type OpenaiproxyV1ChatCompletionChunk, type OpenaiproxyV1ChatCompletionMessage, type OpenaiproxyV1ChatCompletionMessageContentPart, type OpenaiproxyV1ChatCompletionMessageContentPartContentValueOneOf, type OpenaiproxyV1ChatCompletionMessageImageUrlContent, OpenaiproxyV1ChatCompletionMessageMessageRole, type OpenaiproxyV1ChatCompletionMessageMessageRoleWithLiterals, type OpenaiproxyV1CreateChatCompletionRequest, type OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf, type OpenaiproxyV1CreateChatCompletionRequestResponseFormat, type OpenaiproxyV1CreateChatCompletionResponse, type OpenaiproxyV1CreateChatCompletionResponseChoice, type OpenaiproxyV1CreateChatCompletionResponseTokenUsage, OpenaiproxyV1EmbeddingModel, type OpenaiproxyV1EmbeddingModelWithLiterals, OpenaiproxyV1Model, type OpenaiproxyV1ModelWithLiterals, type OptimizePromptOptions, OutageStatus, type OutageStatusWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type Output, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, type OutputConfig, type OutputContent, OutputFormat, type OutputFormatWithLiterals, type OutputOptions, type Padding, type PageLocationCitation, type Parameters, type PerceptronIsaac01, type PerplexityImageDescriptor, type PerplexityMessage, PerplexityMessageMessageRole, type PerplexityMessageMessageRoleWithLiterals, PerplexityModel, type PerplexityModelWithLiterals, PersonGeneration, type PersonGenerationWithLiterals, type PollImageGenerationResultOptions, type PollImageGenerationResultOptionsRequestOneOf, type PollImageGenerationResultRequest, type PollImageGenerationResultRequestRequestOneOf, type PollImageGenerationResultResponse, type PollImageGenerationResultResponseResponseOneOf, type Prediction, type PredictionMetrics, type PredictionUrls, type Project, type ProjectConfigChangedDomainEvent, type Prompt, type PromptFeedback, type PromptModelRequestOneOf, type PromptTokenDetails, type PronunciationDictionaryLocator, type ProxyTraceRequest, type ProxyTraceResponse, type PrunaaiZImageTurbo, type PublicationDate, type PublishProjectOptions, type PublishProjectRequest, type PublishProjectResponse, type PublishPromptOptions, type PublishPromptRequest, type PublishPromptResponse, type QwenImageLayered, type ReasoningText, type Recraft_proxyV1EditImageRequest, type Recraft_proxyV1EditImageResponse, type RedactedThinking, type RemoveBackgroundRequest, type RemoveBackgroundResponse, type RequestMetadata, type ResponseFormat, type ResponseMetadata, ResponseType, ResponseTypeType, type ResponseTypeTypeWithLiterals, type ResponseTypeWithLiterals, type ResponsesCodeInterpreter, type ResponsesCodeInterpreterContainer, type ResponsesCodeInterpreterContainerAuto, type ResponsesCodeInterpreterContainerContainerTypeOneOf, type ResponsesCodeInterpreterImageOutput, type ResponsesCodeInterpreterLogsOutput, type ResponsesCodeInterpreterOutput, type ResponsesCodeInterpreterOutputOutputTypeOneOf, type ResponsesCodeInterpreterToolCall, type ResponsesFunction, type ResponsesFunctionToolCall, type ResponsesFunctionToolCallOutput, type ResponsesInputItem, type ResponsesInputItemItemOneOf, type ResponsesInputMessage, type ResponsesInputMessageContent, type ResponsesInputMessageContentContentValueOneOf, type ResponsesInputMessageContentFileInput, type ResponsesInputMessageContentImageInput, ResponsesInputMessageResponsesMessageRole, type ResponsesInputMessageResponsesMessageRoleWithLiterals, type ResponsesInputTokensDetails, ResponsesMessageRole, type ResponsesMessageRoleWithLiterals, ResponsesModel, type ResponsesModelWithLiterals, type ResponsesOutput, type ResponsesOutputMessage, type ResponsesOutputMessageOutputContent, type ResponsesOutputOutputOneOf, type ResponsesOutputTokensDetails, type ResponsesReasoning, type ResponsesReasoningContent, type ResponsesReasoningOutput, type ResponsesReasoningSummaryContent, type ResponsesTextFormat, type ResponsesTextFormatFormatOneOf, type ResponsesTextFormatJsonSchema, type ResponsesTokenUsage, type ResponsesTool, type ResponsesToolChoice, type ResponsesToolToolTypeOneOf, type ResponsesWebSearch, type ResponsesWebSearchToolCall, type ResponsesWebSearchToolCallAction, type ResponsesWebSearchUserLocation, type RestoreInfo, type ResultObject, type RetrievalMetadata, type RetrievedContext, type ReveEdit, Role, type RoleWithLiterals, type Safety, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type Segmentation, type SequentialImageGenerationOptions, type ServerToolUse, type Shadow, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, type SpeechChunk, SpeechModel, type SpeechModelWithLiterals, type SpiGenerationConfig, type StabilityproxyV1EditImageRequest, type StabilityproxyV1EditImageResponse, type Statistics, StylePreset, type StylePresetWithLiterals, type SystemContentBlock, type SystemInstruction, type TaskContent, type TaskError, TaskInput, type TaskInputWithLiterals, TaskType, type TaskTypeWithLiterals, type TaskUsage, type Text, type TextAnnotation, type TextContent, type TextEditorTool, type TextEmbeddingInstance, type TextEmbeddingParameters, type TextGenerationFailedEvent, type TextGenerationSucceededEvent, type TextPrompt, type TextRemoval, type TextToImageRequest, TextToImageRequestModel, type TextToImageRequestModelWithLiterals, TextToImageRequestStylePreset, type TextToImageRequestStylePresetWithLiterals, type TextToImageResponse, type TextToImageTaskResult, type TextToSpeechChunk, type TextToSpeechRequest, type Thinking, type ThinkingConfig, type ThinkingTextContent, Threshold, type ThresholdWithLiterals, type TimestampGranularities, TimestampGranularity, type TimestampGranularityWithLiterals, type TokenUsage, type Tool, type ToolCall, type ToolChoice, ToolChoiceType, type ToolChoiceTypeWithLiterals, type ToolConfig, type ToolConfiguration, type ToolResult, type ToolResultContent, type ToolResultContentBlock, type ToolResultContentBlockTypeOneOf, type ToolResultSearchResult, type ToolSpecification, type ToolUse, type ToolUseContent, type TraceMeta, TraceMode, type TraceModeWithLiterals, type TraceParams, type TraceRequest, TranscriptionModel, type TranscriptionModelWithLiterals, Type, type TypeWithLiterals, type UrlCitation, type Usage, type UsageCacheCreation, type UsageMetadata, type UsageServerToolUse, type UserLocation, type UserPerApplicationBudgetInfo, type UserRequestInfo, type V1AnthropicClaudeMessage, type V1AnthropicStreamChunk, type V1AnthropicStreamChunkContentOneOf, type V1AnthropicStreamChunkMessageDelta, type V1CacheControl, V1CacheControlType, type V1CacheControlTypeWithLiterals, type V1ChatCompletionChunk, type V1ChatCompletionChunkChunkChoice, type V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageFunctionWithArgs, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1ChatCompletionMessageToolCall, type V1CodeExecutionResult, type V1ContentBlock, type V1ContentBlockDelta, type V1ContentBlockDeltaDeltaOneOf, type V1ContentBlockTypeOneOf, type V1ContentPart, type V1CreateChatCompletionRequest, type V1CreateChatCompletionRequestResponseFormat, type V1CreateChatCompletionRequestTool, type V1CreateChatCompletionResponse, type V1CreateChatCompletionResponseChoice, type V1CreateChatCompletionResponseTokenUsage, type V1CreateEmbeddingsRequest, type V1CreateEmbeddingsResponse, V1EditImageModel, type V1EditImageModelWithLiterals, type V1EditImageRequest, type V1EditImageResponse, type V1EditVideoRequest, type V1EditVideoRequestRequestOneOf, type V1EditVideoResponse, type V1EditVideoResponseResponseOneOf, V1EmbeddingEncodingFormat, type V1EmbeddingEncodingFormatWithLiterals, type V1EmbeddingInfo, type V1EmbeddingInfoEmbeddingResultOneOf, V1EmbeddingModel, type V1EmbeddingModelWithLiterals, type V1FineTuningSpec, type V1FloatEmbedding, type V1FluxPulid, type V1GenerateImageRequest, type V1GenerateImageResponse, type V1GetResultRequest, type V1GetResultResponse, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1ImageUsage, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1InvokeCustomOpenAiModelRequest, type V1InvokeCustomOpenAiModelRequestFunctionCallOneOf, type V1InvokeCustomOpenAiModelRequestFunctionSignature, type V1InvokeCustomOpenAiModelRequestResponseFormat, type V1InvokeCustomOpenAiModelRequestTool, type V1InvokeCustomOpenAiModelResponse, type V1InvokeCustomOpenAiModelResponseChoice, type V1InvokeCustomOpenAiModelResponseCompletionTokenDetails, type V1InvokeCustomOpenAiModelResponsePromptTokenDetails, type V1InvokeCustomOpenAiModelResponseTokenUsage, type V1JsonOutputFormat, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, type V1OutputConfig, type V1RedactedThinking, V1ResponseTypeType, type V1ResponseTypeTypeWithLiterals, type V1ResponsesCodeInterpreter, type V1ResponsesCodeInterpreterContainer, type V1ResponsesCodeInterpreterContainerAuto, type V1ResponsesCodeInterpreterContainerContainerTypeOneOf, type V1ResponsesCodeInterpreterImageOutput, type V1ResponsesCodeInterpreterLogsOutput, type V1ResponsesCodeInterpreterOutput, type V1ResponsesCodeInterpreterOutputOutputTypeOneOf, type V1ResponsesCodeInterpreterToolCall, type V1ResponsesFunction, type V1ResponsesFunctionToolCall, type V1ResponsesFunctionToolCallOutput, type V1ResponsesInputItem, type V1ResponsesInputItemItemOneOf, type V1ResponsesInputMessage, type V1ResponsesInputMessageContent, type V1ResponsesInputMessageContentContentValueOneOf, type V1ResponsesInputTokensDetails, V1ResponsesModel, type V1ResponsesModelWithLiterals, type V1ResponsesOutput, type V1ResponsesOutputMessage, type V1ResponsesOutputOutputOneOf, type V1ResponsesOutputTokensDetails, type V1ResponsesReasoning, type V1ResponsesReasoningContent, type V1ResponsesReasoningOutput, type V1ResponsesReasoningSummaryContent, type V1ResponsesTextFormat, type V1ResponsesTextFormatFormatOneOf, type V1ResponsesTokenUsage, type V1ResponsesTool, type V1ResponsesToolChoice, type V1ResponsesToolToolTypeOneOf, type V1ResponsesWebSearch, type V1ResponsesWebSearchToolCall, type V1Segment, type V1SimpleContentBlock, type V1SimpleContentBlockTypeOneOf, type V1Text, type V1TextToImageRequest, type V1TextToImageResponse, type V1Thinking, type V1ThinkingConfig, type V1TokenUsage, type V1Tool, type V1ToolChoice, V1ToolChoiceType, type V1ToolChoiceTypeWithLiterals, type V1ToolConfig, type V1ToolKindOneOf, type V1ToolResult, type V1ToolUse, type V1UrlCitation, type V1Usage, V1VideoModel, type V1VideoModelWithLiterals, type Vertex, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, type VideoInputs, type VideoJob, VideoModel, type VideoModelWithLiterals, type VideoUrl, type VisionImage, type VisionImageContext, type Vllm_proxyV1ChatCompletionMessage, type Vllm_proxyV1ChatCompletionMessageContentPart, type Vllm_proxyV1ChatCompletionMessageContentPartContentValueOneOf, type Vllm_proxyV1ChatCompletionMessageFunctionWithArgs, type Vllm_proxyV1ChatCompletionMessageImageUrlContent, Vllm_proxyV1ChatCompletionMessageMessageRole, type Vllm_proxyV1ChatCompletionMessageMessageRoleWithLiterals, type Vllm_proxyV1ChatCompletionMessageToolCall, type VoiceSettings, type Web, type WebFetchTool, type WebFetchToolResult, type WebFetchToolResultContentError, type WebFetchToolResultContentOneOf, type WebFetchToolResultContentSuccess, type WebSearchResult, type WebSearchResultList, type WebSearchResultLocationCitation, type WebSearchTool, type WebSearchToolResult, type WebSearchToolResultContentOneOf, type WebSearchToolResultError, type WebSearchUserLocation, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type Wix_ai_gatewayV1EditImageRequest, type Wix_ai_gatewayV1EditImageRequestRequestOneOf, type Wix_ai_gatewayV1EditImageResponse, type Wix_ai_gatewayV1EditImageResponseResponseOneOf, type Word };
|
package/build/es/index.mjs
CHANGED
|
@@ -863,6 +863,10 @@ function generateEmbedding(payload) {
|
|
|
863
863
|
{
|
|
864
864
|
path: "googleEmbeddingsResponse.predictions.embeddings.embedding",
|
|
865
865
|
isRepeated: true
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
path: "googleEmbedContentResponse.embedding.values",
|
|
869
|
+
isRepeated: true
|
|
866
870
|
}
|
|
867
871
|
]
|
|
868
872
|
}
|
|
@@ -4079,6 +4083,11 @@ var TaskType = /* @__PURE__ */ ((TaskType2) => {
|
|
|
4079
4083
|
TaskType2["CODE_RETRIEVAL_QUERY"] = "CODE_RETRIEVAL_QUERY";
|
|
4080
4084
|
return TaskType2;
|
|
4081
4085
|
})(TaskType || {});
|
|
4086
|
+
var EmbedContentModel = /* @__PURE__ */ ((EmbedContentModel2) => {
|
|
4087
|
+
EmbedContentModel2["UNKNOWN_EMBED_CONTENT_MODEL"] = "UNKNOWN_EMBED_CONTENT_MODEL";
|
|
4088
|
+
EmbedContentModel2["GEMINI_EMBEDDING_2"] = "GEMINI_EMBEDDING_2";
|
|
4089
|
+
return EmbedContentModel2;
|
|
4090
|
+
})(EmbedContentModel || {});
|
|
4082
4091
|
var TranscriptionModel = /* @__PURE__ */ ((TranscriptionModel2) => {
|
|
4083
4092
|
TranscriptionModel2["UNKNOWN_TRANSCRIPTION_MODEL"] = "UNKNOWN_TRANSCRIPTION_MODEL";
|
|
4084
4093
|
TranscriptionModel2["WHISPER_1"] = "WHISPER_1";
|
|
@@ -4344,6 +4353,7 @@ async function generateEmbedding2(options) {
|
|
|
4344
4353
|
openAiEmbeddingsRequest: options?.openAiEmbeddingsRequest,
|
|
4345
4354
|
azureEmbeddingsRequest: options?.azureEmbeddingsRequest,
|
|
4346
4355
|
googleEmbeddingsRequest: options?.googleEmbeddingsRequest,
|
|
4356
|
+
googleEmbedContentRequest: options?.googleEmbedContentRequest,
|
|
4347
4357
|
userRequestInfo: options?.userRequestInfo
|
|
4348
4358
|
});
|
|
4349
4359
|
const reqOpts = generateEmbedding(payload);
|
|
@@ -4361,6 +4371,7 @@ async function generateEmbedding2(options) {
|
|
|
4361
4371
|
openAiEmbeddingsRequest: "$[0].openAiEmbeddingsRequest",
|
|
4362
4372
|
azureEmbeddingsRequest: "$[0].azureEmbeddingsRequest",
|
|
4363
4373
|
googleEmbeddingsRequest: "$[0].googleEmbeddingsRequest",
|
|
4374
|
+
googleEmbedContentRequest: "$[0].googleEmbedContentRequest",
|
|
4364
4375
|
userRequestInfo: "$[0].userRequestInfo"
|
|
4365
4376
|
},
|
|
4366
4377
|
singleArgumentUnchanged: false
|
|
@@ -5044,7 +5055,8 @@ async function pollImageGenerationResult2(options) {
|
|
|
5044
5055
|
bflGetResultRequest: options?.bflGetResultRequest,
|
|
5045
5056
|
runwareGetTaskResultRequest: options?.runwareGetTaskResultRequest,
|
|
5046
5057
|
openAiGetVideoResultRequest: options?.openAiGetVideoResultRequest,
|
|
5047
|
-
bytedanceGetContentTaskRequest: options?.bytedanceGetContentTaskRequest
|
|
5058
|
+
bytedanceGetContentTaskRequest: options?.bytedanceGetContentTaskRequest,
|
|
5059
|
+
falGetQueueResultRequest: options?.falGetQueueResultRequest
|
|
5048
5060
|
});
|
|
5049
5061
|
const reqOpts = pollImageGenerationResult(payload);
|
|
5050
5062
|
sideEffects?.onSiteCall?.();
|
|
@@ -5063,7 +5075,8 @@ async function pollImageGenerationResult2(options) {
|
|
|
5063
5075
|
bflGetResultRequest: "$[0].bflGetResultRequest",
|
|
5064
5076
|
runwareGetTaskResultRequest: "$[0].runwareGetTaskResultRequest",
|
|
5065
5077
|
openAiGetVideoResultRequest: "$[0].openAiGetVideoResultRequest",
|
|
5066
|
-
bytedanceGetContentTaskRequest: "$[0].bytedanceGetContentTaskRequest"
|
|
5078
|
+
bytedanceGetContentTaskRequest: "$[0].bytedanceGetContentTaskRequest",
|
|
5079
|
+
falGetQueueResultRequest: "$[0].falGetQueueResultRequest"
|
|
5067
5080
|
},
|
|
5068
5081
|
singleArgumentUnchanged: false
|
|
5069
5082
|
},
|
|
@@ -5315,6 +5328,7 @@ export {
|
|
|
5315
5328
|
EditImageWithPromptRequestModel,
|
|
5316
5329
|
EditVideoRequestModel,
|
|
5317
5330
|
ElevenLabsTextToSpeechModel,
|
|
5331
|
+
EmbedContentModel,
|
|
5318
5332
|
EmbeddingEncodingFormat,
|
|
5319
5333
|
EmbeddingModel,
|
|
5320
5334
|
EntityType,
|