@wix/auto_sdk_ai-gateway_generators 1.0.66 → 1.0.68
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 +167 -7
- package/build/cjs/index.js +17 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +17 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +163 -7
- package/build/cjs/meta.js +13 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +167 -7
- package/build/es/index.mjs +16 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +16 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +163 -7
- package/build/es/meta.mjs +12 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +17 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +168 -8
- package/build/internal/cjs/index.typings.js +17 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +163 -7
- package/build/internal/cjs/meta.js +13 -1
- 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 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +168 -8
- package/build/internal/es/index.typings.mjs +16 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +163 -7
- package/build/internal/es/meta.mjs +12 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1660,10 +1660,11 @@ declare enum Model {
|
|
|
1660
1660
|
/** us.anthropic.claude-sonnet-4-5-20250929-v1:0 */
|
|
1661
1661
|
CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
|
|
1662
1662
|
/** us.anthropic.claude-haiku-4-5-20251001-v1:0 */
|
|
1663
|
-
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0"
|
|
1663
|
+
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
|
|
1664
|
+
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
|
|
1664
1665
|
}
|
|
1665
1666
|
/** @enumType */
|
|
1666
|
-
type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_5_HAIKU_1_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0';
|
|
1667
|
+
type ModelWithLiterals = Model | 'UNKNOWN' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_5_HAIKU_1_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0';
|
|
1667
1668
|
interface AnthropicClaudeMessage {
|
|
1668
1669
|
/** The role of the message author. */
|
|
1669
1670
|
role?: RoleWithLiterals;
|
|
@@ -2052,10 +2053,11 @@ declare enum ClaudeModel {
|
|
|
2052
2053
|
CLAUDE_4_SONNET_1_0 = "CLAUDE_4_SONNET_1_0",
|
|
2053
2054
|
CLAUDE_4_OPUS_1_0 = "CLAUDE_4_OPUS_1_0",
|
|
2054
2055
|
CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
|
|
2055
|
-
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0"
|
|
2056
|
+
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
|
|
2057
|
+
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
|
|
2056
2058
|
}
|
|
2057
2059
|
/** @enumType */
|
|
2058
|
-
type ClaudeModelWithLiterals = ClaudeModel | 'UNKNOWN_CLAUDE_MODEL' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_OPUS_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0';
|
|
2060
|
+
type ClaudeModelWithLiterals = ClaudeModel | 'UNKNOWN_CLAUDE_MODEL' | 'CLAUDE_3_SONNET_1_0' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_OPUS_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0';
|
|
2059
2061
|
interface V1AnthropicClaudeMessage {
|
|
2060
2062
|
/** The role of the message author. */
|
|
2061
2063
|
role?: V1MessageRoleRoleWithLiterals;
|
|
@@ -2423,10 +2425,11 @@ declare enum AnthropicModel {
|
|
|
2423
2425
|
CLAUDE_4_OPUS_1_0 = "CLAUDE_4_OPUS_1_0",
|
|
2424
2426
|
CLAUDE_4_1_OPUS_1_0 = "CLAUDE_4_1_OPUS_1_0",
|
|
2425
2427
|
CLAUDE_4_5_SONNET_1_0 = "CLAUDE_4_5_SONNET_1_0",
|
|
2426
|
-
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0"
|
|
2428
|
+
CLAUDE_4_5_HAIKU_1_0 = "CLAUDE_4_5_HAIKU_1_0",
|
|
2429
|
+
CLAUDE_4_5_OPUS_1_0 = "CLAUDE_4_5_OPUS_1_0"
|
|
2427
2430
|
}
|
|
2428
2431
|
/** @enumType */
|
|
2429
|
-
type AnthropicModelWithLiterals = AnthropicModel | 'UNKNOWN_ANTHROPIC_MODEL' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_1_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0';
|
|
2432
|
+
type AnthropicModelWithLiterals = AnthropicModel | 'UNKNOWN_ANTHROPIC_MODEL' | 'CLAUDE_3_HAIKU_1_0' | 'CLAUDE_3_5_SONNET_1_0' | 'CLAUDE_3_5_SONNET_2_0' | 'CLAUDE_3_7_SONNET_1_0' | 'CLAUDE_4_SONNET_1_0' | 'CLAUDE_4_OPUS_1_0' | 'CLAUDE_4_1_OPUS_1_0' | 'CLAUDE_4_5_SONNET_1_0' | 'CLAUDE_4_5_HAIKU_1_0' | 'CLAUDE_4_5_OPUS_1_0';
|
|
2430
2433
|
interface AnthropicMessage {
|
|
2431
2434
|
/** The role of the message author. */
|
|
2432
2435
|
role?: MessageRoleRoleWithLiterals;
|
|
@@ -11724,6 +11727,8 @@ interface Wix_ai_gatewayV1EditImageRequest extends Wix_ai_gatewayV1EditImageRequ
|
|
|
11724
11727
|
replicateEditImageRequest?: EditImageRequest;
|
|
11725
11728
|
/** Recraft edit image */
|
|
11726
11729
|
recraftEditImageRequest?: Recraft_proxyV1EditImageRequest;
|
|
11730
|
+
/** Replicate extract from image */
|
|
11731
|
+
replicateExtractFromImageRequest?: ExtractFromImageRequest;
|
|
11727
11732
|
/** Contains additional information for the request. */
|
|
11728
11733
|
userRequestInfo?: UserRequestInfo;
|
|
11729
11734
|
}
|
|
@@ -11739,6 +11744,8 @@ interface Wix_ai_gatewayV1EditImageRequestRequestOneOf {
|
|
|
11739
11744
|
replicateEditImageRequest?: EditImageRequest;
|
|
11740
11745
|
/** Recraft edit image */
|
|
11741
11746
|
recraftEditImageRequest?: Recraft_proxyV1EditImageRequest;
|
|
11747
|
+
/** Replicate extract from image */
|
|
11748
|
+
replicateExtractFromImageRequest?: ExtractFromImageRequest;
|
|
11742
11749
|
}
|
|
11743
11750
|
interface RemoveBackgroundRequest {
|
|
11744
11751
|
/**
|
|
@@ -12214,6 +12221,40 @@ declare enum EditAction {
|
|
|
12214
12221
|
}
|
|
12215
12222
|
/** @enumType */
|
|
12216
12223
|
type EditActionWithLiterals = EditAction | 'UNKNOWN_EDIT_ACTION' | 'VECTORIZE' | 'REMOVE_BACKGROUND' | 'CRISP_UPSCALE' | 'CREATIVE_UPSCALE' | 'ERASE_REGION';
|
|
12224
|
+
interface ExtractFromImageRequest extends ExtractFromImageRequestInputOneOf {
|
|
12225
|
+
/** Input for datalab-to/ocr */
|
|
12226
|
+
datalabOcr?: DatalabOcr;
|
|
12227
|
+
/** The model to use for extraction */
|
|
12228
|
+
model?: ExtractFromImageModelWithLiterals;
|
|
12229
|
+
}
|
|
12230
|
+
/** @oneof */
|
|
12231
|
+
interface ExtractFromImageRequestInputOneOf {
|
|
12232
|
+
/** Input for datalab-to/ocr */
|
|
12233
|
+
datalabOcr?: DatalabOcr;
|
|
12234
|
+
}
|
|
12235
|
+
/** Request models for extraction from image */
|
|
12236
|
+
declare enum ExtractFromImageModel {
|
|
12237
|
+
/** Default */
|
|
12238
|
+
UNKNOWN_EXTRACT_FROM_IMAGE_MODEL = "UNKNOWN_EXTRACT_FROM_IMAGE_MODEL",
|
|
12239
|
+
/** https://replicate.com/datalab-to/ocr */
|
|
12240
|
+
DATALAB_OCR = "DATALAB_OCR"
|
|
12241
|
+
}
|
|
12242
|
+
/** @enumType */
|
|
12243
|
+
type ExtractFromImageModelWithLiterals = ExtractFromImageModel | 'UNKNOWN_EXTRACT_FROM_IMAGE_MODEL' | 'DATALAB_OCR';
|
|
12244
|
+
/** Input message for datalab-to/ocr model */
|
|
12245
|
+
interface DatalabOcr {
|
|
12246
|
+
/**
|
|
12247
|
+
* Input file URL (image or PDF)
|
|
12248
|
+
* @maxLength 1000
|
|
12249
|
+
*/
|
|
12250
|
+
file?: string | null;
|
|
12251
|
+
/** Whether to generate visualization with bounding boxes */
|
|
12252
|
+
visualize?: boolean | null;
|
|
12253
|
+
/** Whether to skip cache for this request */
|
|
12254
|
+
skipCache?: boolean | null;
|
|
12255
|
+
/** Whether to return individual pages (for PDF inputs) */
|
|
12256
|
+
returnPages?: boolean | null;
|
|
12257
|
+
}
|
|
12217
12258
|
interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
|
|
12218
12259
|
/** Photoroom remove background response */
|
|
12219
12260
|
photoroomRemoveBackgroundResponse?: RemoveBackgroundResponse;
|
|
@@ -12225,6 +12266,8 @@ interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageRes
|
|
|
12225
12266
|
replicateEditImageResponse?: EditImageResponse;
|
|
12226
12267
|
/** Recraft edit image */
|
|
12227
12268
|
recraftEditImageResponse?: Recraft_proxyV1EditImageResponse;
|
|
12269
|
+
/** Replicate extract from image response */
|
|
12270
|
+
replicateExtractFromImageResponse?: ExtractFromImageResponse;
|
|
12228
12271
|
/** Extracted cost of the request in microcents. */
|
|
12229
12272
|
cost?: string | null;
|
|
12230
12273
|
}
|
|
@@ -12240,6 +12283,8 @@ interface Wix_ai_gatewayV1EditImageResponseResponseOneOf {
|
|
|
12240
12283
|
replicateEditImageResponse?: EditImageResponse;
|
|
12241
12284
|
/** Recraft edit image */
|
|
12242
12285
|
recraftEditImageResponse?: Recraft_proxyV1EditImageResponse;
|
|
12286
|
+
/** Replicate extract from image response */
|
|
12287
|
+
replicateExtractFromImageResponse?: ExtractFromImageResponse;
|
|
12243
12288
|
}
|
|
12244
12289
|
interface RemoveBackgroundResponse {
|
|
12245
12290
|
/**
|
|
@@ -12383,6 +12428,117 @@ interface Recraft_proxyV1EditImageResponse {
|
|
|
12383
12428
|
/** Cost of the request in microcents */
|
|
12384
12429
|
microcentsSpent?: string | null;
|
|
12385
12430
|
}
|
|
12431
|
+
interface ExtractFromImageResponse extends ExtractFromImageResponseOutputOneOf {
|
|
12432
|
+
/** Output from datalab-to/ocr */
|
|
12433
|
+
datalabOcrOutput?: DatalabOcrOutput;
|
|
12434
|
+
/**
|
|
12435
|
+
* Basic response fields
|
|
12436
|
+
* @maxLength 1000
|
|
12437
|
+
*/
|
|
12438
|
+
_id?: string | null;
|
|
12439
|
+
/**
|
|
12440
|
+
* Model used for extraction
|
|
12441
|
+
* @maxLength 100
|
|
12442
|
+
*/
|
|
12443
|
+
model?: string | null;
|
|
12444
|
+
/**
|
|
12445
|
+
* Model version
|
|
12446
|
+
* @maxLength 100
|
|
12447
|
+
*/
|
|
12448
|
+
version?: string | null;
|
|
12449
|
+
/**
|
|
12450
|
+
* Extraction status
|
|
12451
|
+
* @maxLength 100
|
|
12452
|
+
*/
|
|
12453
|
+
status?: string | null;
|
|
12454
|
+
/**
|
|
12455
|
+
* Timestamps
|
|
12456
|
+
* Timestamp when the extraction was completed
|
|
12457
|
+
* @maxLength 2000
|
|
12458
|
+
*/
|
|
12459
|
+
completedAt?: string | null;
|
|
12460
|
+
/**
|
|
12461
|
+
* Timestamp when the extraction was created
|
|
12462
|
+
* @maxLength 2000
|
|
12463
|
+
*/
|
|
12464
|
+
createdAt?: string | null;
|
|
12465
|
+
/**
|
|
12466
|
+
* Timestamp when the extraction started
|
|
12467
|
+
* @maxLength 2000
|
|
12468
|
+
*/
|
|
12469
|
+
startedAt?: string | null;
|
|
12470
|
+
/**
|
|
12471
|
+
* Optional fields
|
|
12472
|
+
* Whether data has been removed
|
|
12473
|
+
*/
|
|
12474
|
+
dataRemoved?: boolean | null;
|
|
12475
|
+
/**
|
|
12476
|
+
* Error message if the extraction failed
|
|
12477
|
+
* @maxLength 1000
|
|
12478
|
+
*/
|
|
12479
|
+
error?: string | null;
|
|
12480
|
+
/**
|
|
12481
|
+
* Logs from the extraction process
|
|
12482
|
+
* @maxLength 10000
|
|
12483
|
+
*/
|
|
12484
|
+
logs?: string | null;
|
|
12485
|
+
/** Performance metrics */
|
|
12486
|
+
metrics?: ExtractFromImageMetrics;
|
|
12487
|
+
/** URLs for API operations */
|
|
12488
|
+
urls?: ExtractFromImageUrls;
|
|
12489
|
+
/** Cost and token usage (token usage only for relevant models) */
|
|
12490
|
+
microcentsSpent?: string | null;
|
|
12491
|
+
/** Optional - only populated for language/vision-language models */
|
|
12492
|
+
tokenUsage?: ExtractFromImageResponseTokenUsage;
|
|
12493
|
+
}
|
|
12494
|
+
/** @oneof */
|
|
12495
|
+
interface ExtractFromImageResponseOutputOneOf {
|
|
12496
|
+
/** Output from datalab-to/ocr */
|
|
12497
|
+
datalabOcrOutput?: DatalabOcrOutput;
|
|
12498
|
+
}
|
|
12499
|
+
/** Simple OCR output with just text and raw pages data */
|
|
12500
|
+
interface DatalabOcrOutput {
|
|
12501
|
+
/**
|
|
12502
|
+
* Main extracted text content
|
|
12503
|
+
* @maxLength 10000000
|
|
12504
|
+
*/
|
|
12505
|
+
text?: string | null;
|
|
12506
|
+
/**
|
|
12507
|
+
* Raw pages data as JSON string (contains all detailed OCR information)
|
|
12508
|
+
* @maxLength 100000000
|
|
12509
|
+
*/
|
|
12510
|
+
pages?: string | null;
|
|
12511
|
+
/**
|
|
12512
|
+
* URL of visualization image with bounding boxes (if requested)
|
|
12513
|
+
* @maxLength 2000
|
|
12514
|
+
* @maxSize 100
|
|
12515
|
+
*/
|
|
12516
|
+
visualizationUrls?: string[] | null;
|
|
12517
|
+
}
|
|
12518
|
+
interface ExtractFromImageMetrics {
|
|
12519
|
+
/** Time spent on extraction in seconds */
|
|
12520
|
+
extractTime?: number | null;
|
|
12521
|
+
/** Total time for the entire process in seconds */
|
|
12522
|
+
totalTime?: number | null;
|
|
12523
|
+
}
|
|
12524
|
+
interface ExtractFromImageUrls {
|
|
12525
|
+
/**
|
|
12526
|
+
* URL to get the extraction status
|
|
12527
|
+
* @maxLength 2000
|
|
12528
|
+
*/
|
|
12529
|
+
get?: string | null;
|
|
12530
|
+
/**
|
|
12531
|
+
* URL to cancel the extraction
|
|
12532
|
+
* @maxLength 2000
|
|
12533
|
+
*/
|
|
12534
|
+
cancel?: string | null;
|
|
12535
|
+
}
|
|
12536
|
+
interface ExtractFromImageResponseTokenUsage {
|
|
12537
|
+
/** Number of input tokens used in the request (if applicable) */
|
|
12538
|
+
inputTokens?: number | null;
|
|
12539
|
+
/** Number of output tokens generated by the model (if applicable) */
|
|
12540
|
+
outputTokens?: number | null;
|
|
12541
|
+
}
|
|
12386
12542
|
interface PollImageGenerationResultRequest extends PollImageGenerationResultRequestRequestOneOf {
|
|
12387
12543
|
/** replicate proxy getResult request */
|
|
12388
12544
|
replicateGetResultRequest?: V1GetResultRequest;
|
|
@@ -13084,6 +13240,8 @@ interface EditImageOptions extends EditImageOptionsRequestOneOf {
|
|
|
13084
13240
|
replicateEditImageRequest?: EditImageRequest;
|
|
13085
13241
|
/** Recraft edit image */
|
|
13086
13242
|
recraftEditImageRequest?: Recraft_proxyV1EditImageRequest;
|
|
13243
|
+
/** Replicate extract from image */
|
|
13244
|
+
replicateExtractFromImageRequest?: ExtractFromImageRequest;
|
|
13087
13245
|
}
|
|
13088
13246
|
/** @oneof */
|
|
13089
13247
|
interface EditImageOptionsRequestOneOf {
|
|
@@ -13097,6 +13255,8 @@ interface EditImageOptionsRequestOneOf {
|
|
|
13097
13255
|
replicateEditImageRequest?: EditImageRequest;
|
|
13098
13256
|
/** Recraft edit image */
|
|
13099
13257
|
recraftEditImageRequest?: Recraft_proxyV1EditImageRequest;
|
|
13258
|
+
/** Replicate extract from image */
|
|
13259
|
+
replicateExtractFromImageRequest?: ExtractFromImageRequest;
|
|
13100
13260
|
}
|
|
13101
13261
|
interface PollImageGenerationResultOptions extends PollImageGenerationResultOptionsRequestOneOf {
|
|
13102
13262
|
/** Contains additional information for the request. */
|
|
@@ -13122,4 +13282,4 @@ interface PollImageGenerationResultOptionsRequestOneOf {
|
|
|
13122
13282
|
openAiGetVideoResultRequest?: GetVideoResultRequest;
|
|
13123
13283
|
}
|
|
13124
13284
|
|
|
13125
|
-
export { type AccountInfo, type Action, type ActionEvent, type AlignmentInfoInChunk, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AnthropicStreamChunk, type AnthropicStreamChunkContentOneOf, type AnthropicStreamChunkMessageDelta, type ApplicationBudgetInfo, type AsyncGenerationConfig, type Background, type BashTool, type Blob, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, ChatBisonModel, type ChatBisonModelWithLiterals, type ChatBisonPredictRequest, type ChatBisonPredictResponse, type ChatBisonPrediction, type ChatCompletionChunk, type ChatCompletionChunkChunkChoice, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type ChatInstance, type ChatMessage, type Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, type CitationMetadata, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CompletionTokenDetails, type ComputerUse, type ComputerUseTool, 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 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 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 DocumentContent, type DocumentSource, type DomainEvent, type DomainEventBodyOneOf, 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, type EditImageResponse, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, 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 Example, type ExecutableCode, type Expand, type ExperimentalPromptConfig, type Export, 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 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 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 GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, 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, ImageEditingModel, type ImageEditingModelWithLiterals, type ImageEditingRequest, type ImageEditingResponse, 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 InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonSchema, Language, type LanguageWithLiterals, 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 Metadata, type Metrics, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelResponse, type ModelResponseResponseOneOf, type ModelWithLiterals, type ModerationResult, type MultiModalInput, type MultiModalInputContentValueOneOf, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, 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, OutageStatus, type OutageStatusWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type Output, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, 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 PredictParameters, type Prediction, type PredictionMetrics, type PredictionUrls, type Project, type ProjectConfigChangedDomainEvent, type Prompt, type PromptModelRequestOneOf, type PromptTokenDetails, type PronunciationDictionaryLocator, 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 SafetyAttribute, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type Segmentation, type ServerToolUse, type Shadow, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, type SpeechChunk, SpeechModel, type SpeechModelWithLiterals, type SpiGenerationConfig, type Statistics, StylePreset, type StylePresetWithLiterals, type SystemContentBlock, type SystemInstruction, TaskInput, type TaskInputWithLiterals, TaskType, type TaskTypeWithLiterals, type Text, TextBisonModel, type TextBisonModelWithLiterals, type TextBisonPredictRequest, type TextBisonPredictResponse, type TextBisonPrediction, type TextContent, type TextEditorTool, type TextEmbeddingInstance, type TextEmbeddingParameters, type TextGenerationFailedEvent, type TextGenerationSucceededEvent, type TextInstance, 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 TokenCount, type TokenMetadata, 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, 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 V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageFunctionWithArgs, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1ChatCompletionMessageToolCall, type V1Citation, 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, V1EmbeddingEncodingFormat, type V1EmbeddingEncodingFormatWithLiterals, type V1EmbeddingInfo, type V1EmbeddingInfoEmbeddingResultOneOf, V1EmbeddingModel, type V1EmbeddingModelWithLiterals, type V1FineTuningSpec, type V1FloatEmbedding, type V1FluxPulid, type V1GetResultRequest, type V1GetResultResponse, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, 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, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, type VideoJob, VideoModel, type VideoModelWithLiterals, 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 };
|
|
13285
|
+
export { type AccountInfo, type Action, type ActionEvent, type AlignmentInfoInChunk, type AnthropicClaudeMessage, type AnthropicMessage, AnthropicModel, type AnthropicModelWithLiterals, type AnthropicStreamChunk, type AnthropicStreamChunkContentOneOf, type AnthropicStreamChunkMessageDelta, type ApplicationBudgetInfo, type AsyncGenerationConfig, type Background, type BashTool, type Blob, type BuiltInTool, type CacheControl, CacheControlType, type CacheControlTypeWithLiterals, type Candidate, type CandidateCitationMetadata, type CandidateCitationMetadataCitation, type CandidateContent, type CandidateContentPart, type CharLocationCitation, ChatBisonModel, type ChatBisonModelWithLiterals, type ChatBisonPredictRequest, type ChatBisonPredictResponse, type ChatBisonPrediction, type ChatCompletionChunk, type ChatCompletionChunkChunkChoice, type ChatCompletionMessage, type ChatCompletionMessageContentPart, type ChatCompletionMessageContentPartContentValueOneOf, type ChatCompletionMessageFunctionWithArgs, type ChatCompletionMessageImageUrlContent, ChatCompletionMessageMessageRole, type ChatCompletionMessageMessageRoleWithLiterals, type ChatCompletionMessageToolCall, ChatCompletionModel, type ChatCompletionModelWithLiterals, type ChatInstance, type ChatMessage, type Choice, type ChunkChoice, type ChunkChoiceChunkDelta, type ChunkDelta, type Citation, type CitationMetadata, type CitationTypeOneOf, type CitationsEnabled, ClaudeModel, type ClaudeModelWithLiterals, ClipGuidancePreset, type ClipGuidancePresetWithLiterals, type CodeExecution, type CodeExecutionResult, type CodeExecutionTool, type CodeExecutionToolResult, type CodeExecutionToolResultContentOneOf, type CodeExecutionToolResultError, type CompletionTokenDetails, type ComputerUse, type ComputerUseTool, 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 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 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 DocumentContent, type DocumentSource, type DomainEvent, type DomainEventBodyOneOf, 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, type EditImageResponse, type EditImageWithPromptRequest, EditImageWithPromptRequestModel, type EditImageWithPromptRequestModelWithLiterals, type EditImageWithPromptResponse, 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 Example, 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 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 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 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 GoogleproxyV1McpServer, GoogleproxyV1McpServerType, type GoogleproxyV1McpServerTypeWithLiterals, GoogleproxyV1Model, type GoogleproxyV1ModelWithLiterals, 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, ImageEditingModel, type ImageEditingModelWithLiterals, type ImageEditingRequest, type ImageEditingResponse, 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 InvokeLlamaModelRequest, type InvokeLlamaModelResponse, type InvokeMlPlatformLlamaModelRequest, type InvokeMlPlatformLlamaModelResponse, type InvokeMlPlatformOpenAIChatCompletionRawRequest, type InvokeMlPlatformOpenAIChatCompletionRawResponse, type JsonSchema, Language, type LanguageWithLiterals, 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 Metadata, type Metrics, Modality, type ModalityTokenCount, type ModalityWithLiterals, Mode, type ModeWithLiterals, Model, type ModelResponse, type ModelResponseResponseOneOf, type ModelWithLiterals, type ModerationResult, type MultiModalInput, type MultiModalInputContentValueOneOf, OpenAiImageModel, type OpenAiImageModelWithLiterals, type OpenAiImageTokenDetails, type OpenAiResponsesRequest, type OpenAiResponsesResponse, type OpenAiResponsesResponseIncompleteDetails, 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, OutageStatus, type OutageStatusWithLiterals, Outcome, type OutcomeWithLiterals, type OutpaintDirection, type Output, type OutputAnnotation, type OutputAnnotationAnnotationTypeOneOf, 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 PredictParameters, type Prediction, type PredictionMetrics, type PredictionUrls, type Project, type ProjectConfigChangedDomainEvent, type Prompt, type PromptModelRequestOneOf, type PromptTokenDetails, type PronunciationDictionaryLocator, 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 SafetyAttribute, type SafetyAttributes, type SafetyRating, type SafetySetting, Sampler, type SamplerWithLiterals, type SearchEntryPoint, type SearchResultLocationCitation, type Segment, type Segmentation, type ServerToolUse, type Shadow, type SimpleContentBlock, type SimpleContentBlockTypeOneOf, type SpeechChunk, SpeechModel, type SpeechModelWithLiterals, type SpiGenerationConfig, type Statistics, StylePreset, type StylePresetWithLiterals, type SystemContentBlock, type SystemInstruction, TaskInput, type TaskInputWithLiterals, TaskType, type TaskTypeWithLiterals, type Text, TextBisonModel, type TextBisonModelWithLiterals, type TextBisonPredictRequest, type TextBisonPredictResponse, type TextBisonPrediction, type TextContent, type TextEditorTool, type TextEmbeddingInstance, type TextEmbeddingParameters, type TextGenerationFailedEvent, type TextGenerationSucceededEvent, type TextInstance, 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 TokenCount, type TokenMetadata, 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, 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 V1ChatCompletionMessage, type V1ChatCompletionMessageContentPart, type V1ChatCompletionMessageContentPartContentValueOneOf, type V1ChatCompletionMessageFunctionWithArgs, type V1ChatCompletionMessageImageUrlContent, V1ChatCompletionMessageMessageRole, type V1ChatCompletionMessageMessageRoleWithLiterals, type V1ChatCompletionMessageToolCall, type V1Citation, 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, V1EmbeddingEncodingFormat, type V1EmbeddingEncodingFormatWithLiterals, type V1EmbeddingInfo, type V1EmbeddingInfoEmbeddingResultOneOf, V1EmbeddingModel, type V1EmbeddingModelWithLiterals, type V1FineTuningSpec, type V1FloatEmbedding, type V1FluxPulid, type V1GetResultRequest, type V1GetResultResponse, type V1ImageInput, V1ImageMediaTypeMediaType, type V1ImageMediaTypeMediaTypeWithLiterals, V1ImageModel, type V1ImageModelWithLiterals, type V1ImageObject, type V1ImageUrl, type V1InputSchema, type V1InvokeAnthropicClaudeModelRequest, type V1InvokeAnthropicClaudeModelResponse, type V1McpServer, type V1McpServerToolConfiguration, V1McpServerType, type V1McpServerTypeWithLiterals, V1MessageRoleRole, type V1MessageRoleRoleWithLiterals, V1Model, type V1ModelWithLiterals, type V1OpenAiResponsesRequest, type V1OpenAiResponsesResponse, type V1OutputAnnotation, type V1OutputAnnotationAnnotationTypeOneOf, 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, VideoGenModel, type VideoGenModelWithLiterals, type VideoInferenceRequest, type VideoInferenceResponse, type VideoInferenceTaskResult, type VideoJob, VideoModel, type VideoModelWithLiterals, 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/cjs/index.js
CHANGED
|
@@ -40,6 +40,7 @@ __export(index_exports, {
|
|
|
40
40
|
EmbeddingModel: () => EmbeddingModel,
|
|
41
41
|
EntityType: () => EntityType,
|
|
42
42
|
Environment: () => Environment,
|
|
43
|
+
ExtractFromImageModel: () => ExtractFromImageModel,
|
|
43
44
|
FinishReason: () => FinishReason,
|
|
44
45
|
Fireworks_proxyV1ChatCompletionMessageMessageRole: () => Fireworks_proxyV1ChatCompletionMessageMessageRole,
|
|
45
46
|
GatewayMessageDefinitionRole: () => GatewayMessageDefinitionRole,
|
|
@@ -3323,7 +3324,9 @@ function editImage(payload) {
|
|
|
3323
3324
|
{ path: "photoroomRemoveBackgroundResponse.xUncertaintyScore" },
|
|
3324
3325
|
{ path: "photoroomImageEditingResponse.xUncertaintyScore" },
|
|
3325
3326
|
{ path: "replicateEditImageResponse.metrics.predictTime" },
|
|
3326
|
-
{ path: "replicateEditImageResponse.metrics.totalTime" }
|
|
3327
|
+
{ path: "replicateEditImageResponse.metrics.totalTime" },
|
|
3328
|
+
{ path: "replicateExtractFromImageResponse.metrics.extractTime" },
|
|
3329
|
+
{ path: "replicateExtractFromImageResponse.metrics.totalTime" }
|
|
3327
3330
|
]
|
|
3328
3331
|
}
|
|
3329
3332
|
])
|
|
@@ -3562,6 +3565,7 @@ var Model = /* @__PURE__ */ ((Model2) => {
|
|
|
3562
3565
|
Model2["CLAUDE_4_OPUS_1_0"] = "CLAUDE_4_OPUS_1_0";
|
|
3563
3566
|
Model2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
|
|
3564
3567
|
Model2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";
|
|
3568
|
+
Model2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
|
|
3565
3569
|
return Model2;
|
|
3566
3570
|
})(Model || {});
|
|
3567
3571
|
var Role = /* @__PURE__ */ ((Role2) => {
|
|
@@ -3607,6 +3611,7 @@ var ClaudeModel = /* @__PURE__ */ ((ClaudeModel2) => {
|
|
|
3607
3611
|
ClaudeModel2["CLAUDE_4_OPUS_1_0"] = "CLAUDE_4_OPUS_1_0";
|
|
3608
3612
|
ClaudeModel2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
|
|
3609
3613
|
ClaudeModel2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";
|
|
3614
|
+
ClaudeModel2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
|
|
3610
3615
|
return ClaudeModel2;
|
|
3611
3616
|
})(ClaudeModel || {});
|
|
3612
3617
|
var V1MessageRoleRole = /* @__PURE__ */ ((V1MessageRoleRole2) => {
|
|
@@ -3646,6 +3651,7 @@ var AnthropicModel = /* @__PURE__ */ ((AnthropicModel2) => {
|
|
|
3646
3651
|
AnthropicModel2["CLAUDE_4_1_OPUS_1_0"] = "CLAUDE_4_1_OPUS_1_0";
|
|
3647
3652
|
AnthropicModel2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
|
|
3648
3653
|
AnthropicModel2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";
|
|
3654
|
+
AnthropicModel2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
|
|
3649
3655
|
return AnthropicModel2;
|
|
3650
3656
|
})(AnthropicModel || {});
|
|
3651
3657
|
var MessageRoleRole = /* @__PURE__ */ ((MessageRoleRole2) => {
|
|
@@ -4218,6 +4224,11 @@ var EditAction = /* @__PURE__ */ ((EditAction2) => {
|
|
|
4218
4224
|
EditAction2["ERASE_REGION"] = "ERASE_REGION";
|
|
4219
4225
|
return EditAction2;
|
|
4220
4226
|
})(EditAction || {});
|
|
4227
|
+
var ExtractFromImageModel = /* @__PURE__ */ ((ExtractFromImageModel2) => {
|
|
4228
|
+
ExtractFromImageModel2["UNKNOWN_EXTRACT_FROM_IMAGE_MODEL"] = "UNKNOWN_EXTRACT_FROM_IMAGE_MODEL";
|
|
4229
|
+
ExtractFromImageModel2["DATALAB_OCR"] = "DATALAB_OCR";
|
|
4230
|
+
return ExtractFromImageModel2;
|
|
4231
|
+
})(ExtractFromImageModel || {});
|
|
4221
4232
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
4222
4233
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
4223
4234
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -5016,7 +5027,8 @@ async function editImage2(options) {
|
|
|
5016
5027
|
photoroomImageEditingRequest: options?.photoroomImageEditingRequest,
|
|
5017
5028
|
stabilityAiEditRequest: options?.stabilityAiEditRequest,
|
|
5018
5029
|
replicateEditImageRequest: options?.replicateEditImageRequest,
|
|
5019
|
-
recraftEditImageRequest: options?.recraftEditImageRequest
|
|
5030
|
+
recraftEditImageRequest: options?.recraftEditImageRequest,
|
|
5031
|
+
replicateExtractFromImageRequest: options?.replicateExtractFromImageRequest
|
|
5020
5032
|
});
|
|
5021
5033
|
const reqOpts = editImage(payload);
|
|
5022
5034
|
sideEffects?.onSiteCall?.();
|
|
@@ -5035,7 +5047,8 @@ async function editImage2(options) {
|
|
|
5035
5047
|
photoroomImageEditingRequest: "$[0].photoroomImageEditingRequest",
|
|
5036
5048
|
stabilityAiEditRequest: "$[0].stabilityAiEditRequest",
|
|
5037
5049
|
replicateEditImageRequest: "$[0].replicateEditImageRequest",
|
|
5038
|
-
recraftEditImageRequest: "$[0].recraftEditImageRequest"
|
|
5050
|
+
recraftEditImageRequest: "$[0].recraftEditImageRequest",
|
|
5051
|
+
replicateExtractFromImageRequest: "$[0].replicateExtractFromImageRequest"
|
|
5039
5052
|
},
|
|
5040
5053
|
singleArgumentUnchanged: false
|
|
5041
5054
|
},
|
|
@@ -5318,6 +5331,7 @@ var pollImageGenerationResult4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
5318
5331
|
EmbeddingModel,
|
|
5319
5332
|
EntityType,
|
|
5320
5333
|
Environment,
|
|
5334
|
+
ExtractFromImageModel,
|
|
5321
5335
|
FinishReason,
|
|
5322
5336
|
Fireworks_proxyV1ChatCompletionMessageMessageRole,
|
|
5323
5337
|
GatewayMessageDefinitionRole,
|