@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
package/build/cjs/index.d.ts
CHANGED
|
@@ -298,6 +298,14 @@ interface OpenaiproxyV1CreateChatCompletionRequest extends OpenaiproxyV1CreateCh
|
|
|
298
298
|
* @maxLength 100
|
|
299
299
|
*/
|
|
300
300
|
verbosity?: string | null;
|
|
301
|
+
/**
|
|
302
|
+
* Specifies the processing tier used for serving the request. Passed through to OpenAI as "service_tier".
|
|
303
|
+
* "auto" lets the project default decide, "default" uses standard processing, "flex" uses cheaper/slower
|
|
304
|
+
* flex processing, and "priority" uses low-latency priority processing.
|
|
305
|
+
* See https://developers.openai.com/api/docs/guides/priority-processing
|
|
306
|
+
* @maxLength 100
|
|
307
|
+
*/
|
|
308
|
+
serviceTier?: string | null;
|
|
301
309
|
}
|
|
302
310
|
/** @oneof */
|
|
303
311
|
interface OpenaiproxyV1CreateChatCompletionRequestFunctionCallOneOf {
|
|
@@ -903,10 +911,11 @@ declare enum GoogleproxyV1Model {
|
|
|
903
911
|
GEMINI_3_1_FLASH_LITE = "GEMINI_3_1_FLASH_LITE",
|
|
904
912
|
GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH",
|
|
905
913
|
GEMINI_3_5_PRO_FAST = "GEMINI_3_5_PRO_FAST",
|
|
906
|
-
GEMINI_3_5_FLASH_LITE = "GEMINI_3_5_FLASH_LITE"
|
|
914
|
+
GEMINI_3_5_FLASH_LITE = "GEMINI_3_5_FLASH_LITE",
|
|
915
|
+
GEMINI_3_6_FLASH = "GEMINI_3_6_FLASH"
|
|
907
916
|
}
|
|
908
917
|
/** @enumType */
|
|
909
|
-
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';
|
|
918
|
+
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';
|
|
910
919
|
interface Content {
|
|
911
920
|
/**
|
|
912
921
|
* The role in a conversation associated with the content.
|
|
@@ -6079,6 +6088,14 @@ interface V1OpenAiResponsesRequest {
|
|
|
6079
6088
|
truncation?: string | null;
|
|
6080
6089
|
/** Whether to store the generated model response for later retrieval via API. */
|
|
6081
6090
|
store?: boolean | null;
|
|
6091
|
+
/**
|
|
6092
|
+
* Specifies the processing tier used for serving the request. Passed through to OpenAI as "service_tier".
|
|
6093
|
+
* "auto" lets the project default decide, "default" uses standard processing, "flex" uses cheaper/slower
|
|
6094
|
+
* flex processing, and "priority" uses low-latency priority processing.
|
|
6095
|
+
* See https://developers.openai.com/api/docs/guides/priority-processing
|
|
6096
|
+
* @maxLength 100
|
|
6097
|
+
*/
|
|
6098
|
+
serviceTier?: string | null;
|
|
6082
6099
|
}
|
|
6083
6100
|
declare enum V1ResponsesModel {
|
|
6084
6101
|
MODEL_UNSPECIFIED = "MODEL_UNSPECIFIED",
|
|
@@ -8737,6 +8754,13 @@ interface OpenaiproxyV1CreateChatCompletionResponse {
|
|
|
8737
8754
|
* @maxLength 10000
|
|
8738
8755
|
*/
|
|
8739
8756
|
systemFingerprint?: string | null;
|
|
8757
|
+
/**
|
|
8758
|
+
* The processing tier that OpenAI actually used to serve the request (echoed from OpenAI's "service_tier").
|
|
8759
|
+
* May differ from the requested tier, e.g. "default" when a requested "priority" was downgraded. This is the
|
|
8760
|
+
* tier the cost (microcents_spent) is calculated from.
|
|
8761
|
+
* @maxLength 100
|
|
8762
|
+
*/
|
|
8763
|
+
serviceTier?: string | null;
|
|
8740
8764
|
}
|
|
8741
8765
|
interface CreateChatCompletionResponsePromptTokenDetails {
|
|
8742
8766
|
/** Audio input tokens present in the prompt. */
|
|
@@ -10187,6 +10211,12 @@ interface V1OpenAiResponsesResponse {
|
|
|
10187
10211
|
usage?: V1ResponsesTokenUsage;
|
|
10188
10212
|
/** Cost of the request in microcents. */
|
|
10189
10213
|
microcentsSpent?: string | null;
|
|
10214
|
+
/**
|
|
10215
|
+
* The processing tier that OpenAI actually used to serve the request (echoed from OpenAI's "service_tier").
|
|
10216
|
+
* May differ from the requested tier when OpenAI downgrades. This is the tier microcents_spent is based on.
|
|
10217
|
+
* @maxLength 100
|
|
10218
|
+
*/
|
|
10219
|
+
serviceTier?: string | null;
|
|
10190
10220
|
}
|
|
10191
10221
|
interface OpenAiResponsesResponseIncompleteDetails {
|
|
10192
10222
|
/**
|
|
@@ -11058,6 +11088,11 @@ interface OpenaiproxyV1ChatCompletionChunk {
|
|
|
11058
11088
|
usage?: OpenaiproxyV1CreateChatCompletionResponseTokenUsage;
|
|
11059
11089
|
/** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
|
|
11060
11090
|
microcentsSpent?: string | null;
|
|
11091
|
+
/**
|
|
11092
|
+
* The processing tier that OpenAI actually used to serve the request (echoed from OpenAI's "service_tier").
|
|
11093
|
+
* @maxLength 100
|
|
11094
|
+
*/
|
|
11095
|
+
serviceTier?: string | null;
|
|
11061
11096
|
}
|
|
11062
11097
|
interface ChatCompletionChunkChunkChoiceChunkDelta {
|
|
11063
11098
|
/**
|
|
@@ -14393,6 +14428,11 @@ interface PollImageGenerationResultResponse extends PollImageGenerationResultRes
|
|
|
14393
14428
|
bytedanceGetContentTaskResponse?: GetContentTaskResponse;
|
|
14394
14429
|
/** Fal schemaless proxy GetQueueResult response */
|
|
14395
14430
|
falGetQueueResultResponse?: FalGetQueueResultResponse;
|
|
14431
|
+
/**
|
|
14432
|
+
* Extracted cost of the polled request in microcents. Absent until the vendor has finished
|
|
14433
|
+
* processing and priced the result.
|
|
14434
|
+
*/
|
|
14435
|
+
cost?: string | null;
|
|
14396
14436
|
}
|
|
14397
14437
|
/** @oneof */
|
|
14398
14438
|
interface PollImageGenerationResultResponseResponseOneOf {
|
package/build/cjs/index.js
CHANGED
|
@@ -3529,6 +3529,7 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
|
|
|
3529
3529
|
GoogleproxyV1Model2["GEMINI_3_5_FLASH"] = "GEMINI_3_5_FLASH";
|
|
3530
3530
|
GoogleproxyV1Model2["GEMINI_3_5_PRO_FAST"] = "GEMINI_3_5_PRO_FAST";
|
|
3531
3531
|
GoogleproxyV1Model2["GEMINI_3_5_FLASH_LITE"] = "GEMINI_3_5_FLASH_LITE";
|
|
3532
|
+
GoogleproxyV1Model2["GEMINI_3_6_FLASH"] = "GEMINI_3_6_FLASH";
|
|
3532
3533
|
return GoogleproxyV1Model2;
|
|
3533
3534
|
})(GoogleproxyV1Model || {});
|
|
3534
3535
|
var ContentRole = /* @__PURE__ */ ((ContentRole2) => {
|