@wix/auto_sdk_ai-gateway_generators 1.0.115 → 1.0.116
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 +30 -0
- package/build/cjs/index.js +2 -1
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.js +2 -1
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +30 -0
- package/build/cjs/meta.js +2 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +30 -0
- package/build/es/index.mjs +2 -1
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.mjs +2 -1
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +30 -0
- package/build/es/meta.mjs +2 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +2 -1
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +30 -0
- package/build/internal/cjs/index.typings.js +2 -1
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +30 -0
- package/build/internal/cjs/meta.js +2 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +2 -1
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +30 -0
- package/build/internal/es/index.typings.mjs +2 -1
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +30 -0
- package/build/internal/es/meta.mjs +2 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -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.
|
|
@@ -10994,6 +11006,12 @@ interface ChunkDelta {
|
|
|
10994
11006
|
* @maxSize 100
|
|
10995
11007
|
*/
|
|
10996
11008
|
toolCalls?: ToolCall[];
|
|
11009
|
+
/**
|
|
11010
|
+
* Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
|
|
11011
|
+
* Populated (instead of content) when the model declines to answer.
|
|
11012
|
+
* @maxLength 1000
|
|
11013
|
+
*/
|
|
11014
|
+
refusal?: string | null;
|
|
10997
11015
|
}
|
|
10998
11016
|
interface ChunkChoice {
|
|
10999
11017
|
/** A chat completion delta generated by streamed model responses */
|
|
@@ -11060,6 +11078,12 @@ interface ChatCompletionChunkChunkChoiceChunkDelta {
|
|
|
11060
11078
|
* @maxSize 100
|
|
11061
11079
|
*/
|
|
11062
11080
|
toolCalls?: V1ChatCompletionMessageToolCall[];
|
|
11081
|
+
/**
|
|
11082
|
+
* Streamed delta of the model's refusal message. Concatenate across chunks to reconstruct the full refusal.
|
|
11083
|
+
* Populated (instead of content) when the model declines to answer.
|
|
11084
|
+
* @maxLength 1000
|
|
11085
|
+
*/
|
|
11086
|
+
refusal?: string | null;
|
|
11063
11087
|
}
|
|
11064
11088
|
interface V1ChatCompletionChunkChunkChoice {
|
|
11065
11089
|
/** A chat completion delta generated by streamed model responses */
|
|
@@ -13667,6 +13691,12 @@ interface TraceParams {
|
|
|
13667
13691
|
removeBg?: boolean;
|
|
13668
13692
|
detectGradients?: boolean;
|
|
13669
13693
|
removeColor?: boolean;
|
|
13694
|
+
invert?: boolean;
|
|
13695
|
+
scale?: number;
|
|
13696
|
+
/** @maxLength 7 */
|
|
13697
|
+
bgColor?: string;
|
|
13698
|
+
speckleSize?: number;
|
|
13699
|
+
optimizeCurves?: boolean;
|
|
13670
13700
|
}
|
|
13671
13701
|
interface Wix_ai_gatewayV1EditImageResponse extends Wix_ai_gatewayV1EditImageResponseResponseOneOf {
|
|
13672
13702
|
/** Photoroom remove background response */
|
package/build/cjs/index.js
CHANGED
|
@@ -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
|
{
|