@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/es/meta.mjs CHANGED
@@ -3145,7 +3145,8 @@ function editImage(payload) {
3145
3145
  {
3146
3146
  path: "montracerProxyTraceRequest.traceRequest.params.simplifyTolerance"
3147
3147
  },
3148
- { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" }
3148
+ { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" },
3149
+ { path: "montracerProxyTraceRequest.traceRequest.params.scale" }
3149
3150
  ]
3150
3151
  },
3151
3152
  {
@@ -3365,6 +3366,7 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
3365
3366
  GoogleproxyV1Model2["GEMINI_3_1_FLASH_IMAGE"] = "GEMINI_3_1_FLASH_IMAGE";
3366
3367
  GoogleproxyV1Model2["GEMINI_3_1_FLASH_LITE"] = "GEMINI_3_1_FLASH_LITE";
3367
3368
  GoogleproxyV1Model2["GEMINI_3_5_FLASH"] = "GEMINI_3_5_FLASH";
3369
+ GoogleproxyV1Model2["GEMINI_3_5_PRO_FAST"] = "GEMINI_3_5_PRO_FAST";
3368
3370
  return GoogleproxyV1Model2;
3369
3371
  })(GoogleproxyV1Model || {});
3370
3372
  var ContentRole = /* @__PURE__ */ ((ContentRole2) => {