@wix/auto_sdk_ai-gateway_generators 1.0.115 → 1.0.117

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.
@@ -387,6 +387,12 @@ interface OpenaiproxyV1ChatCompletionMessage {
387
387
  * @maxLength 1000000000
388
388
  */
389
389
  content?: string | null;
390
+ /**
391
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
392
+ * (e.g. a safety refusal). May be null for normal completions.
393
+ * @maxLength 1000000000
394
+ */
395
+ refusal?: string | null;
390
396
  /**
391
397
  * The name of the author of this message. name is required if role is function, and it should be the name of
392
398
  * the function whose response is in the content. May contain a-z, A-Z, 0-9, and underscores, with a maximum length of 64 characters.
@@ -710,6 +716,12 @@ interface V1ChatCompletionMessage {
710
716
  * @maxLength 1000000000
711
717
  */
712
718
  content?: string | null;
719
+ /**
720
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
721
+ * (e.g. a safety refusal). May be null for normal completions.
722
+ * @maxLength 1000000000
723
+ */
724
+ refusal?: string | null;
713
725
  /**
714
726
  * The name of the author of this message. name is required if role is function, and it should be the name of
715
727
  * the function whose response is in the content. May contain a-z, A-Z, 0-9, and underscores, with a maximum length of 64 characters.
@@ -888,10 +900,11 @@ declare enum GoogleproxyV1Model {
888
900
  GEMINI_3_1_PRO = "GEMINI_3_1_PRO",
889
901
  GEMINI_3_1_FLASH_IMAGE = "GEMINI_3_1_FLASH_IMAGE",
890
902
  GEMINI_3_1_FLASH_LITE = "GEMINI_3_1_FLASH_LITE",
891
- GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH"
903
+ GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH",
904
+ GEMINI_3_5_PRO_FAST = "GEMINI_3_5_PRO_FAST"
892
905
  }
893
906
  /** @enumType */
894
- 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';
907
+ 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';
895
908
  interface Content {
896
909
  /**
897
910
  * The role in a conversation associated with the content.
@@ -10996,6 +11009,12 @@ interface ChunkDelta {
10996
11009
  * @maxSize 100
10997
11010
  */
10998
11011
  toolCalls?: ToolCall[];
11012
+ /**
11013
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11014
+ * Populated (instead of content) when the model declines to answer.
11015
+ * @maxLength 1000
11016
+ */
11017
+ refusal?: string | null;
10999
11018
  }
11000
11019
  interface ChunkChoice {
11001
11020
  /** A chat completion delta generated by streamed model responses */
@@ -11062,6 +11081,12 @@ interface ChatCompletionChunkChunkChoiceChunkDelta {
11062
11081
  * @maxSize 100
11063
11082
  */
11064
11083
  toolCalls?: V1ChatCompletionMessageToolCall[];
11084
+ /**
11085
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11086
+ * Populated (instead of content) when the model declines to answer.
11087
+ * @maxLength 1000
11088
+ */
11089
+ refusal?: string | null;
11065
11090
  }
11066
11091
  interface V1ChatCompletionChunkChunkChoice {
11067
11092
  /** A chat completion delta generated by streamed model responses */
@@ -13669,6 +13694,12 @@ interface TraceParams {
13669
13694
  removeBg?: boolean;
13670
13695
  detectGradients?: boolean;
13671
13696
  removeColor?: boolean;
13697
+ invert?: boolean;
13698
+ scale?: number;
13699
+ /** @maxLength 7 */
13700
+ bgColor?: string;
13701
+ speckleSize?: number;
13702
+ optimizeCurves?: boolean;
13672
13703
  }
13673
13704
  interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
13674
13705
  /** Photoroom remove background response */
@@ -3152,7 +3152,8 @@ function editImage(payload) {
3152
3152
  {
3153
3153
  path: "montracerProxyTraceRequest.traceRequest.params.simplifyTolerance"
3154
3154
  },
3155
- { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" }
3155
+ { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" },
3156
+ { path: "montracerProxyTraceRequest.traceRequest.params.scale" }
3156
3157
  ]
3157
3158
  },
3158
3159
  {
@@ -3372,6 +3373,7 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
3372
3373
  GoogleproxyV1Model2["GEMINI_3_1_FLASH_IMAGE"] = "GEMINI_3_1_FLASH_IMAGE";
3373
3374
  GoogleproxyV1Model2["GEMINI_3_1_FLASH_LITE"] = "GEMINI_3_1_FLASH_LITE";
3374
3375
  GoogleproxyV1Model2["GEMINI_3_5_FLASH"] = "GEMINI_3_5_FLASH";
3376
+ GoogleproxyV1Model2["GEMINI_3_5_PRO_FAST"] = "GEMINI_3_5_PRO_FAST";
3375
3377
  return GoogleproxyV1Model2;
3376
3378
  })(GoogleproxyV1Model || {});
3377
3379
  var ContentRole = /* @__PURE__ */ ((ContentRole2) => {