@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.
@@ -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/cjs/meta.js CHANGED
@@ -3525,6 +3525,7 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
3525
3525
  GoogleproxyV1Model2["GEMINI_3_5_FLASH"] = "GEMINI_3_5_FLASH";
3526
3526
  GoogleproxyV1Model2["GEMINI_3_5_PRO_FAST"] = "GEMINI_3_5_PRO_FAST";
3527
3527
  GoogleproxyV1Model2["GEMINI_3_5_FLASH_LITE"] = "GEMINI_3_5_FLASH_LITE";
3528
+ GoogleproxyV1Model2["GEMINI_3_6_FLASH"] = "GEMINI_3_6_FLASH";
3528
3529
  return GoogleproxyV1Model2;
3529
3530
  })(GoogleproxyV1Model || {});
3530
3531
  var ContentRole = /* @__PURE__ */ ((ContentRole2) => {