@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.
@@ -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 {
@@ -6084,6 +6092,14 @@ interface V1OpenAiResponsesRequest {
6084
6092
  truncation?: string | null;
6085
6093
  /** Whether to store the generated model response for later retrieval via API. */
6086
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;
6087
6103
  }
6088
6104
  declare enum V1ResponsesModel {
6089
6105
  MODEL_UNSPECIFIED = "MODEL_UNSPECIFIED",
@@ -8742,6 +8758,13 @@ interface OpenaiproxyV1CreateChatCompletionResponse {
8742
8758
  * @maxLength 10000
8743
8759
  */
8744
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;
8745
8768
  }
8746
8769
  interface CreateChatCompletionResponsePromptTokenDetails {
8747
8770
  /** Audio input tokens present in the prompt. */
@@ -10192,6 +10215,12 @@ interface V1OpenAiResponsesResponse {
10192
10215
  usage?: V1ResponsesTokenUsage;
10193
10216
  /** Cost of the request in microcents. */
10194
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;
10195
10224
  }
10196
10225
  interface OpenAiResponsesResponseIncompleteDetails {
10197
10226
  /**
@@ -11063,6 +11092,11 @@ interface OpenaiproxyV1ChatCompletionChunk {
11063
11092
  usage?: OpenaiproxyV1CreateChatCompletionResponseTokenUsage;
11064
11093
  /** Cost of the entire request in micro cents. Calculated manually and is present only in the last chunk. */
11065
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;
11066
11100
  }
11067
11101
  interface ChatCompletionChunkChunkChoiceChunkDelta {
11068
11102
  /**
@@ -14398,6 +14432,11 @@ interface PollImageGenerationResultResponse extends PollImageGenerationResultRes
14398
14432
  bytedanceGetContentTaskResponse?: GetContentTaskResponse;
14399
14433
  /** Fal schemaless proxy GetQueueResult response */
14400
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;
14401
14440
  }
14402
14441
  /** @oneof */
14403
14442
  interface PollImageGenerationResultResponseResponseOneOf {