@wix/auto_sdk_ai-gateway_generators 1.0.125 → 1.0.127
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 +42 -2
- package/build/cjs/index.js +1 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +1 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +42 -2
- package/build/cjs/meta.js +1 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +42 -2
- package/build/es/index.mjs +1 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +1 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +42 -2
- package/build/es/meta.mjs +1 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +1 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +42 -2
- package/build/internal/cjs/index.typings.js +1 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +42 -2
- package/build/internal/cjs/meta.js +1 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +1 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +42 -2
- package/build/internal/es/index.typings.mjs +1 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +42 -2
- package/build/internal/es/meta.mjs +1 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -302,6 +302,14 @@ interface OpenaiproxyV1CreateChatCompletionRequest extends OpenaiproxyV1CreateCh
|
|
|
302
302
|
* @maxLength 100
|
|
303
303
|
*/
|
|
304
304
|
verbosity?: string | null;
|
|
305
|
+
/**
|
|
306
|
+
* Specifies the processing tier used for serving the request. Passed through to OpenAI as "service_tier".
|
|
307
|
+
* "auto" lets the project default decide, "default" uses standard processing, "flex" uses cheaper/slower
|
|
308
|
+
* flex processing, and "priority" uses low-latency priority processing.
|
|
309
|
+
* See https://developers.openai.com/api/docs/guides/priority-processing
|
|
310
|
+
* @maxLength 100
|
|
311
|
+
*/
|
|
312
|
+
serviceTier?: string | null;
|
|
305
313
|
}
|
|
306
314
|
/** @oneof */
|
|
307
315
|
interface OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf {
|
|
@@ -907,10 +915,11 @@ declare enum GoogleproxyV1Model {
|
|
|
907
915
|
GEMINI_3_1_FLASH_LITE = "GEMINI_3_1_FLASH_LITE",
|
|
908
916
|
GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH",
|
|
909
917
|
GEMINI_3_5_PRO_FAST = "GEMINI_3_5_PRO_FAST",
|
|
910
|
-
GEMINI_3_5_FLASH_LITE = "GEMINI_3_5_FLASH_LITE"
|
|
918
|
+
GEMINI_3_5_FLASH_LITE = "GEMINI_3_5_FLASH_LITE",
|
|
919
|
+
GEMINI_3_6_FLASH = "GEMINI_3_6_FLASH"
|
|
911
920
|
}
|
|
912
921
|
/** @enumType */
|
|
913
|
-
type GoogleproxyV1ModelWithLiterals = GoogleproxyV1Model | 'UNKNOWN_MODEL' | 'GEMINI_1_0_PRO' | 'GEMINI_1_0_PRO_VISION' | 'GEMINI_1_5_PRO' | 'GEMINI_1_5_FLASH' | 'GEMINI_2_0_FLASH' | 'GEMINI_2_0_FLASH_LITE' | 'GEMINI_2_5_PRO' | 'GEMINI_2_5_FLASH' | 'GEMINI_2_5_FLASH_LITE' | 'GEMINI_2_5_FLASH_IMAGE' | 'GEMINI_2_5_COMPUTER_USE' | 'GEMINI_3_0_PRO' | 'GEMINI_3_0_PRO_IMAGE' | 'GEMINI_3_0_FLASH' | 'GEMINI_3_1_PRO' | 'GEMINI_3_1_FLASH_IMAGE' | 'GEMINI_3_1_FLASH_LITE' | 'GEMINI_3_5_FLASH' | 'GEMINI_3_5_PRO_FAST' | 'GEMINI_3_5_FLASH_LITE';
|
|
922
|
+
type GoogleproxyV1ModelWithLiterals = GoogleproxyV1Model | 'UNKNOWN_MODEL' | 'GEMINI_1_0_PRO' | 'GEMINI_1_0_PRO_VISION' | 'GEMINI_1_5_PRO' | 'GEMINI_1_5_FLASH' | 'GEMINI_2_0_FLASH' | 'GEMINI_2_0_FLASH_LITE' | 'GEMINI_2_5_PRO' | 'GEMINI_2_5_FLASH' | 'GEMINI_2_5_FLASH_LITE' | 'GEMINI_2_5_FLASH_IMAGE' | 'GEMINI_2_5_COMPUTER_USE' | 'GEMINI_3_0_PRO' | 'GEMINI_3_0_PRO_IMAGE' | 'GEMINI_3_0_FLASH' | 'GEMINI_3_1_PRO' | 'GEMINI_3_1_FLASH_IMAGE' | 'GEMINI_3_1_FLASH_LITE' | 'GEMINI_3_5_FLASH' | 'GEMINI_3_5_PRO_FAST' | 'GEMINI_3_5_FLASH_LITE' | 'GEMINI_3_6_FLASH';
|
|
914
923
|
interface Content {
|
|
915
924
|
/**
|
|
916
925
|
* The role in a conversation associated with the content.
|
|
@@ -6083,6 +6092,14 @@ interface V1OpenAiResponsesRequest {
|
|
|
6083
6092
|
truncation?: string | null;
|
|
6084
6093
|
/** Whether to store the generated model response for later retrieval via API. */
|
|
6085
6094
|
store?: boolean | null;
|
|
6095
|
+
/**
|
|
6096
|
+
* Specifies the processing tier used for serving the request. Passed through to OpenAI as "service_tier".
|
|
6097
|
+
* "auto" lets the project default decide, "default" uses standard processing, "flex" uses cheaper/slower
|
|
6098
|
+
* flex processing, and "priority" uses low-latency priority processing.
|
|
6099
|
+
* See https://developers.openai.com/api/docs/guides/priority-processing
|
|
6100
|
+
* @maxLength 100
|
|
6101
|
+
*/
|
|
6102
|
+
serviceTier?: string | null;
|
|
6086
6103
|
}
|
|
6087
6104
|
declare enum V1ResponsesModel {
|
|
6088
6105
|
MODEL_UNSPECIFIED = "MODEL_UNSPECIFIED",
|
|
@@ -8741,6 +8758,13 @@ interface OpenaiproxyV1CreateChatCompletionResponse {
|
|
|
8741
8758
|
* @maxLength 10000
|
|
8742
8759
|
*/
|
|
8743
8760
|
systemFingerprint?: string | null;
|
|
8761
|
+
/**
|
|
8762
|
+
* The processing tier that OpenAI actually used to serve the request (echoed from OpenAI's "service_tier").
|
|
8763
|
+
* May differ from the requested tier, e.g. "default" when a requested "priority" was downgraded. This is the
|
|
8764
|
+
* tier the cost (microcents_spent) is calculated from.
|
|
8765
|
+
* @maxLength 100
|
|
8766
|
+
*/
|
|
8767
|
+
serviceTier?: string | null;
|
|
8744
8768
|
}
|
|
8745
8769
|
interface CreateChatCompletionResponsePromptTokenDetails {
|
|
8746
8770
|
/** Audio input tokens present in the prompt. */
|
|
@@ -10191,6 +10215,12 @@ interface V1OpenAiResponsesResponse {
|
|
|
10191
10215
|
usage?: V1ResponsesTokenUsage;
|
|
10192
10216
|
/** Cost of the request in microcents. */
|
|
10193
10217
|
microcentsSpent?: string | null;
|
|
10218
|
+
/**
|
|
10219
|
+
* The processing tier that OpenAI actually used to serve the request (echoed from OpenAI's "service_tier").
|
|
10220
|
+
* May differ from the requested tier when OpenAI downgrades. This is the tier microcents_spent is based on.
|
|
10221
|
+
* @maxLength 100
|
|
10222
|
+
*/
|
|
10223
|
+
serviceTier?: string | null;
|
|
10194
10224
|
}
|
|
10195
10225
|
interface OpenAiResponsesResponseIncompleteDetails {
|
|
10196
10226
|
/**
|
|
@@ -11062,6 +11092,11 @@ interface OpenaiproxyV1ChatCompletionChunk {
|
|
|
11062
11092
|
usage?: OpenaiproxyV1CreateChatCompletionResponseTokenUsage;
|
|
11063
11093
|
/** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
|
|
11064
11094
|
microcentsSpent?: string | null;
|
|
11095
|
+
/**
|
|
11096
|
+
* The processing tier that OpenAI actually used to serve the request (echoed from OpenAI's "service_tier").
|
|
11097
|
+
* @maxLength 100
|
|
11098
|
+
*/
|
|
11099
|
+
serviceTier?: string | null;
|
|
11065
11100
|
}
|
|
11066
11101
|
interface ChatCompletionChunkChunkChoiceChunkDelta {
|
|
11067
11102
|
/**
|
|
@@ -14397,6 +14432,11 @@ interface PollImageGenerationResultResponse extends PollImageGenerationResultRes
|
|
|
14397
14432
|
bytedanceGetContentTaskResponse?: GetContentTaskResponse;
|
|
14398
14433
|
/** Fal schemaless proxy GetQueueResult response */
|
|
14399
14434
|
falGetQueueResultResponse?: FalGetQueueResultResponse;
|
|
14435
|
+
/**
|
|
14436
|
+
* Extracted cost of the polled request in microcents. Absent until the vendor has finished
|
|
14437
|
+
* processing and priced the result.
|
|
14438
|
+
*/
|
|
14439
|
+
cost?: string | null;
|
|
14400
14440
|
}
|
|
14401
14441
|
/** @oneof */
|
|
14402
14442
|
interface PollImageGenerationResultResponseResponseOneOf {
|
|
@@ -3525,6 +3525,7 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
|
|
|
3525
3525
|
GoogleproxyV1Model2["GEMINI_3_5_FLASH"] = "GEMINI_3_5_FLASH";
|
|
3526
3526
|
GoogleproxyV1Model2["GEMINI_3_5_PRO_FAST"] = "GEMINI_3_5_PRO_FAST";
|
|
3527
3527
|
GoogleproxyV1Model2["GEMINI_3_5_FLASH_LITE"] = "GEMINI_3_5_FLASH_LITE";
|
|
3528
|
+
GoogleproxyV1Model2["GEMINI_3_6_FLASH"] = "GEMINI_3_6_FLASH";
|
|
3528
3529
|
return GoogleproxyV1Model2;
|
|
3529
3530
|
})(GoogleproxyV1Model || {});
|
|
3530
3531
|
var ContentRole = /* @__PURE__ */ ((ContentRole2) => {
|