@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.
@@ -388,6 +388,12 @@ interface OpenaiproxyV1ChatCompletionMessage {
388
388
  * @maxLength 1000000000
389
389
  */
390
390
  content?: string | null;
391
+ /**
392
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
393
+ * (e.g. a safety refusal). May be null for normal completions.
394
+ * @maxLength 1000000000
395
+ */
396
+ refusal?: string | null;
391
397
  /**
392
398
  * The name of the author of this message. name is required if role is function, and it should be the name of
393
399
  * 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.
@@ -711,6 +717,12 @@ interface V1ChatCompletionMessage {
711
717
  * @maxLength 1000000000
712
718
  */
713
719
  content?: string | null;
720
+ /**
721
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
722
+ * (e.g. a safety refusal). May be null for normal completions.
723
+ * @maxLength 1000000000
724
+ */
725
+ refusal?: string | null;
714
726
  /**
715
727
  * The name of the author of this message. name is required if role is function, and it should be the name of
716
728
  * 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.
@@ -889,10 +901,11 @@ declare enum GoogleproxyV1Model {
889
901
  GEMINI_3_1_PRO = "GEMINI_3_1_PRO",
890
902
  GEMINI_3_1_FLASH_IMAGE = "GEMINI_3_1_FLASH_IMAGE",
891
903
  GEMINI_3_1_FLASH_LITE = "GEMINI_3_1_FLASH_LITE",
892
- GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH"
904
+ GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH",
905
+ GEMINI_3_5_PRO_FAST = "GEMINI_3_5_PRO_FAST"
893
906
  }
894
907
  /** @enumType */
895
- 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';
908
+ 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';
896
909
  interface Content {
897
910
  /**
898
911
  * The role in a conversation associated with the content.
@@ -10997,6 +11010,12 @@ interface ChunkDelta {
10997
11010
  * @maxSize 100
10998
11011
  */
10999
11012
  toolCalls?: ToolCall[];
11013
+ /**
11014
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11015
+ * Populated (instead of content) when the model declines to answer.
11016
+ * @maxLength 1000
11017
+ */
11018
+ refusal?: string | null;
11000
11019
  }
11001
11020
  interface ChunkChoice {
11002
11021
  /** A chat completion delta generated by streamed model responses */
@@ -11063,6 +11082,12 @@ interface ChatCompletionChunkChunkChoiceChunkDelta {
11063
11082
  * @maxSize 100
11064
11083
  */
11065
11084
  toolCalls?: V1ChatCompletionMessageToolCall[];
11085
+ /**
11086
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11087
+ * Populated (instead of content) when the model declines to answer.
11088
+ * @maxLength 1000
11089
+ */
11090
+ refusal?: string | null;
11066
11091
  }
11067
11092
  interface V1ChatCompletionChunkChunkChoice {
11068
11093
  /** A chat completion delta generated by streamed model responses */
@@ -13670,6 +13695,12 @@ interface TraceParams {
13670
13695
  removeBg?: boolean;
13671
13696
  detectGradients?: boolean;
13672
13697
  removeColor?: boolean;
13698
+ invert?: boolean;
13699
+ scale?: number;
13700
+ /** @maxLength 7 */
13701
+ bgColor?: string;
13702
+ speckleSize?: number;
13703
+ optimizeCurves?: boolean;
13673
13704
  }
13674
13705
  interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
13675
13706
  /** Photoroom remove background response */
package/build/cjs/meta.js CHANGED
@@ -3299,7 +3299,8 @@ function editImage(payload) {
3299
3299
  {
3300
3300
  path: "montracerProxyTraceRequest.traceRequest.params.simplifyTolerance"
3301
3301
  },
3302
- { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" }
3302
+ { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" },
3303
+ { path: "montracerProxyTraceRequest.traceRequest.params.scale" }
3303
3304
  ]
3304
3305
  },
3305
3306
  {
@@ -3519,6 +3520,7 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
3519
3520
  GoogleproxyV1Model2["GEMINI_3_1_FLASH_IMAGE"] = "GEMINI_3_1_FLASH_IMAGE";
3520
3521
  GoogleproxyV1Model2["GEMINI_3_1_FLASH_LITE"] = "GEMINI_3_1_FLASH_LITE";
3521
3522
  GoogleproxyV1Model2["GEMINI_3_5_FLASH"] = "GEMINI_3_5_FLASH";
3523
+ GoogleproxyV1Model2["GEMINI_3_5_PRO_FAST"] = "GEMINI_3_5_PRO_FAST";
3522
3524
  return GoogleproxyV1Model2;
3523
3525
  })(GoogleproxyV1Model || {});
3524
3526
  var ContentRole = /* @__PURE__ */ ((ContentRole2) => {