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