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