@wix/auto_sdk_ai-gateway_generators 1.0.126 → 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 +39 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +39 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +39 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +39 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +39 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +39 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +39 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +39 -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 {
|
|
@@ -6080,6 +6088,14 @@ interface V1OpenAiResponsesRequest {
|
|
|
6080
6088
|
truncation?: string | null;
|
|
6081
6089
|
/** Whether to store the generated model response for later retrieval via API. */
|
|
6082
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;
|
|
6083
6099
|
}
|
|
6084
6100
|
declare enum V1ResponsesModel {
|
|
6085
6101
|
MODEL_UNSPECIFIED = "MODEL_UNSPECIFIED",
|
|
@@ -8738,6 +8754,13 @@ interface OpenaiproxyV1CreateChatCompletionResponse {
|
|
|
8738
8754
|
* @maxLength 10000
|
|
8739
8755
|
*/
|
|
8740
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;
|
|
8741
8764
|
}
|
|
8742
8765
|
interface CreateChatCompletionResponsePromptTokenDetails {
|
|
8743
8766
|
/** Audio input tokens present in the prompt. */
|
|
@@ -10188,6 +10211,12 @@ interface V1OpenAiResponsesResponse {
|
|
|
10188
10211
|
usage?: V1ResponsesTokenUsage;
|
|
10189
10212
|
/** Cost of the request in microcents. */
|
|
10190
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;
|
|
10191
10220
|
}
|
|
10192
10221
|
interface OpenAiResponsesResponseIncompleteDetails {
|
|
10193
10222
|
/**
|
|
@@ -11059,6 +11088,11 @@ interface OpenaiproxyV1ChatCompletionChunk {
|
|
|
11059
11088
|
usage?: OpenaiproxyV1CreateChatCompletionResponseTokenUsage;
|
|
11060
11089
|
/** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
|
|
11061
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;
|
|
11062
11096
|
}
|
|
11063
11097
|
interface ChatCompletionChunkChunkChoiceChunkDelta {
|
|
11064
11098
|
/**
|
|
@@ -14394,6 +14428,11 @@ interface PollImageGenerationResultResponse extends PollImageGenerationResultRes
|
|
|
14394
14428
|
bytedanceGetContentTaskResponse?: GetContentTaskResponse;
|
|
14395
14429
|
/** Fal schemaless proxy GetQueueResult response */
|
|
14396
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;
|
|
14397
14436
|
}
|
|
14398
14437
|
/** @oneof */
|
|
14399
14438
|
interface PollImageGenerationResultResponseResponseOneOf {
|