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