@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.
@@ -389,6 +389,12 @@ interface OpenaiproxyV1ChatCompletionMessage {
389
389
  * @maxLength 1000000000
390
390
  */
391
391
  content?: string | null;
392
+ /**
393
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
394
+ * (e.g. a safety refusal). May be null for normal completions.
395
+ * @maxLength 1000000000
396
+ */
397
+ refusal?: string | null;
392
398
  /**
393
399
  * The name of the author of this message. name is required if role is function, and it should be the name of
394
400
  * 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.
@@ -712,6 +718,12 @@ interface V1ChatCompletionMessage {
712
718
  * @maxLength 1000000000
713
719
  */
714
720
  content?: string | null;
721
+ /**
722
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
723
+ * (e.g. a safety refusal). May be null for normal completions.
724
+ * @maxLength 1000000000
725
+ */
726
+ refusal?: string | null;
715
727
  /**
716
728
  * The name of the author of this message. name is required if role is function, and it should be the name of
717
729
  * 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.
@@ -890,10 +902,11 @@ declare enum GoogleproxyV1Model {
890
902
  GEMINI_3_1_PRO = "GEMINI_3_1_PRO",
891
903
  GEMINI_3_1_FLASH_IMAGE = "GEMINI_3_1_FLASH_IMAGE",
892
904
  GEMINI_3_1_FLASH_LITE = "GEMINI_3_1_FLASH_LITE",
893
- GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH"
905
+ GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH",
906
+ GEMINI_3_5_PRO_FAST = "GEMINI_3_5_PRO_FAST"
894
907
  }
895
908
  /** @enumType */
896
- 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';
909
+ 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';
897
910
  interface Content {
898
911
  /**
899
912
  * The role in a conversation associated with the content.
@@ -10998,6 +11011,12 @@ interface ChunkDelta {
10998
11011
  * @maxSize 100
10999
11012
  */
11000
11013
  toolCalls?: ToolCall[];
11014
+ /**
11015
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11016
+ * Populated (instead of content) when the model declines to answer.
11017
+ * @maxLength 1000
11018
+ */
11019
+ refusal?: string | null;
11001
11020
  }
11002
11021
  interface ChunkChoice {
11003
11022
  /** A chat completion delta generated by streamed model responses */
@@ -11064,6 +11083,12 @@ interface ChatCompletionChunkChunkChoiceChunkDelta {
11064
11083
  * @maxSize 100
11065
11084
  */
11066
11085
  toolCalls?: V1ChatCompletionMessageToolCall[];
11086
+ /**
11087
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11088
+ * Populated (instead of content) when the model declines to answer.
11089
+ * @maxLength 1000
11090
+ */
11091
+ refusal?: string | null;
11067
11092
  }
11068
11093
  interface V1ChatCompletionChunkChunkChoice {
11069
11094
  /** A chat completion delta generated by streamed model responses */
@@ -13671,6 +13696,12 @@ interface TraceParams {
13671
13696
  removeBg?: boolean;
13672
13697
  detectGradients?: boolean;
13673
13698
  removeColor?: boolean;
13699
+ invert?: boolean;
13700
+ scale?: number;
13701
+ /** @maxLength 7 */
13702
+ bgColor?: string;
13703
+ speckleSize?: number;
13704
+ optimizeCurves?: boolean;
13674
13705
  }
13675
13706
  interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
13676
13707
  /** Photoroom remove background response */
@@ -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) => {