@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.
@@ -385,6 +385,12 @@ interface OpenaiproxyV1ChatCompletionMessage {
385
385
  * @maxLength 1000000000
386
386
  */
387
387
  content?: string | null;
388
+ /**
389
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
390
+ * (e.g. a safety refusal). May be null for normal completions.
391
+ * @maxLength 1000000000
392
+ */
393
+ refusal?: string | null;
388
394
  /**
389
395
  * The name of the author of this message. name is required if role is function, and it should be the name of
390
396
  * 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.
@@ -708,6 +714,12 @@ interface V1ChatCompletionMessage {
708
714
  * @maxLength 1000000000
709
715
  */
710
716
  content?: string | null;
717
+ /**
718
+ * The refusal message generated by the model. Present (instead of content) when the model declines to answer
719
+ * (e.g. a safety refusal). May be null for normal completions.
720
+ * @maxLength 1000000000
721
+ */
722
+ refusal?: string | null;
711
723
  /**
712
724
  * The name of the author of this message. name is required if role is function, and it should be the name of
713
725
  * 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.
@@ -886,10 +898,11 @@ declare enum GoogleproxyV1Model {
886
898
  GEMINI_3_1_PRO = "GEMINI_3_1_PRO",
887
899
  GEMINI_3_1_FLASH_IMAGE = "GEMINI_3_1_FLASH_IMAGE",
888
900
  GEMINI_3_1_FLASH_LITE = "GEMINI_3_1_FLASH_LITE",
889
- GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH"
901
+ GEMINI_3_5_FLASH = "GEMINI_3_5_FLASH",
902
+ GEMINI_3_5_PRO_FAST = "GEMINI_3_5_PRO_FAST"
890
903
  }
891
904
  /** @enumType */
892
- 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';
905
+ 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';
893
906
  interface Content {
894
907
  /**
895
908
  * The role in a conversation associated with the content.
@@ -10994,6 +11007,12 @@ interface ChunkDelta {
10994
11007
  * @maxSize 100
10995
11008
  */
10996
11009
  toolCalls?: ToolCall[];
11010
+ /**
11011
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11012
+ * Populated (instead of content) when the model declines to answer.
11013
+ * @maxLength 1000
11014
+ */
11015
+ refusal?: string | null;
10997
11016
  }
10998
11017
  interface ChunkChoice {
10999
11018
  /** A chat completion delta generated by streamed model responses */
@@ -11060,6 +11079,12 @@ interface ChatCompletionChunkChunkChoiceChunkDelta {
11060
11079
  * @maxSize 100
11061
11080
  */
11062
11081
  toolCalls?: V1ChatCompletionMessageToolCall[];
11082
+ /**
11083
+ * Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
11084
+ * Populated (instead of content) when the model declines to answer.
11085
+ * @maxLength 1000
11086
+ */
11087
+ refusal?: string | null;
11063
11088
  }
11064
11089
  interface V1ChatCompletionChunkChunkChoice {
11065
11090
  /** A chat completion delta generated by streamed model responses */
@@ -13667,6 +13692,12 @@ interface TraceParams {
13667
13692
  removeBg?: boolean;
13668
13693
  detectGradients?: boolean;
13669
13694
  removeColor?: boolean;
13695
+ invert?: boolean;
13696
+ scale?: number;
13697
+ /** @maxLength 7 */
13698
+ bgColor?: string;
13699
+ speckleSize?: number;
13700
+ optimizeCurves?: boolean;
13670
13701
  }
13671
13702
  interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
13672
13703
  /** Photoroom remove background response */
@@ -3303,7 +3303,8 @@ function editImage(payload) {
3303
3303
  {
3304
3304
  path: "montracerProxyTraceRequest.traceRequest.params.simplifyTolerance"
3305
3305
  },
3306
- { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" }
3306
+ { path: "montracerProxyTraceRequest.traceRequest.params.gapFix" },
3307
+ { path: "montracerProxyTraceRequest.traceRequest.params.scale" }
3307
3308
  ]
3308
3309
  },
3309
3310
  {
@@ -3523,6 +3524,7 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
3523
3524
  GoogleproxyV1Model2["GEMINI_3_1_FLASH_IMAGE"] = "GEMINI_3_1_FLASH_IMAGE";
3524
3525
  GoogleproxyV1Model2["GEMINI_3_1_FLASH_LITE"] = "GEMINI_3_1_FLASH_LITE";
3525
3526
  GoogleproxyV1Model2["GEMINI_3_5_FLASH"] = "GEMINI_3_5_FLASH";
3527
+ GoogleproxyV1Model2["GEMINI_3_5_PRO_FAST"] = "GEMINI_3_5_PRO_FAST";
3526
3528
  return GoogleproxyV1Model2;
3527
3529
  })(GoogleproxyV1Model || {});
3528
3530
  var ContentRole = /* @__PURE__ */ ((ContentRole2) => {