@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.
- package/build/cjs/index.d.ts +33 -2
- package/build/cjs/index.js +3 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +3 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +33 -2
- package/build/cjs/meta.js +3 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +33 -2
- package/build/es/index.mjs +3 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +3 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +33 -2
- package/build/es/meta.mjs +3 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +3 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +33 -2
- package/build/internal/cjs/index.typings.js +3 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +33 -2
- package/build/internal/cjs/meta.js +3 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +3 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +33 -2
- package/build/internal/es/index.typings.mjs +3 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +33 -2
- package/build/internal/es/meta.mjs +3 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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 */
|
|
@@ -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) => {
|