@wix/auto_sdk_ai-gateway_generators 1.0.105 → 1.0.107
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 +223 -31
- package/build/cjs/index.js +36 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +36 -5
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +205 -31
- package/build/cjs/meta.js +28 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +223 -31
- package/build/es/index.mjs +34 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +34 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +205 -31
- package/build/es/meta.mjs +26 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +6 -6
- package/build/internal/cjs/index.js +36 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +226 -34
- package/build/internal/cjs/index.typings.js +36 -5
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +205 -31
- package/build/internal/cjs/meta.js +28 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +6 -6
- package/build/internal/es/index.mjs +34 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +226 -34
- package/build/internal/es/index.typings.mjs +34 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +205 -31
- package/build/internal/es/meta.mjs +26 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -35,6 +35,7 @@ __export(index_typings_exports, {
|
|
|
35
35
|
EditImageModel: () => EditImageModel,
|
|
36
36
|
EditImageRequestModel: () => EditImageRequestModel,
|
|
37
37
|
EditImageWithPromptRequestModel: () => EditImageWithPromptRequestModel,
|
|
38
|
+
EditVideoRequestModel: () => EditVideoRequestModel,
|
|
38
39
|
ElevenLabsTextToSpeechModel: () => ElevenLabsTextToSpeechModel,
|
|
39
40
|
EmbeddingEncodingFormat: () => EmbeddingEncodingFormat,
|
|
40
41
|
EmbeddingModel: () => EmbeddingModel,
|
|
@@ -100,6 +101,7 @@ __export(index_typings_exports, {
|
|
|
100
101
|
Threshold: () => Threshold,
|
|
101
102
|
TimestampGranularity: () => TimestampGranularity,
|
|
102
103
|
ToolChoiceType: () => ToolChoiceType,
|
|
104
|
+
TraceMode: () => TraceMode,
|
|
103
105
|
TranscriptionModel: () => TranscriptionModel,
|
|
104
106
|
Type: () => Type,
|
|
105
107
|
V1CacheControlType: () => V1CacheControlType,
|
|
@@ -3292,8 +3294,20 @@ function editImage(payload) {
|
|
|
3292
3294
|
{ path: "photoroomImageEditingRequest.margin.bottom" },
|
|
3293
3295
|
{ path: "photoroomImageEditingRequest.margin.left" },
|
|
3294
3296
|
{ path: "photoroomImageEditingRequest.margin.right" },
|
|
3295
|
-
{ path: "photoroomImageEditingRequest.margin.top" }
|
|
3297
|
+
{ path: "photoroomImageEditingRequest.margin.top" },
|
|
3298
|
+
{ path: "montracerProxyTraceRequest.traceRequest.params.smoothing" },
|
|
3299
|
+
{
|
|
3300
|
+
path: "montracerProxyTraceRequest.traceRequest.params.mergeTolerance"
|
|
3301
|
+
},
|
|
3302
|
+
{
|
|
3303
|
+
path: "montracerProxyTraceRequest.traceRequest.params.simplifyTolerance"
|
|
3304
|
+
},
|
|
3305
|
+
{ path: "montracerProxyTraceRequest.traceRequest.params.gapFix" }
|
|
3296
3306
|
]
|
|
3307
|
+
},
|
|
3308
|
+
{
|
|
3309
|
+
transformFn: import_bytes.transformSDKBytesToRESTBytes,
|
|
3310
|
+
paths: [{ path: "montracerProxyTraceRequest.traceRequest.image" }]
|
|
3297
3311
|
}
|
|
3298
3312
|
]);
|
|
3299
3313
|
const metadata = {
|
|
@@ -4299,11 +4313,22 @@ var EditImageRequestModel = /* @__PURE__ */ ((EditImageRequestModel2) => {
|
|
|
4299
4313
|
EditImageRequestModel2["FROM_MODEL_ID"] = "FROM_MODEL_ID";
|
|
4300
4314
|
return EditImageRequestModel2;
|
|
4301
4315
|
})(EditImageRequestModel || {});
|
|
4316
|
+
var TraceMode = /* @__PURE__ */ ((TraceMode2) => {
|
|
4317
|
+
TraceMode2["TRACE_MODE_UNSPECIFIED"] = "TRACE_MODE_UNSPECIFIED";
|
|
4318
|
+
TraceMode2["TRACE_MODE_BW"] = "TRACE_MODE_BW";
|
|
4319
|
+
TraceMode2["TRACE_MODE_COLOR"] = "TRACE_MODE_COLOR";
|
|
4320
|
+
return TraceMode2;
|
|
4321
|
+
})(TraceMode || {});
|
|
4302
4322
|
var VideoUpscaleRequestModel = /* @__PURE__ */ ((VideoUpscaleRequestModel2) => {
|
|
4303
4323
|
VideoUpscaleRequestModel2["UNKNOWN_MODEL"] = "UNKNOWN_MODEL";
|
|
4304
4324
|
VideoUpscaleRequestModel2["FROM_MODEL_ID"] = "FROM_MODEL_ID";
|
|
4305
4325
|
return VideoUpscaleRequestModel2;
|
|
4306
4326
|
})(VideoUpscaleRequestModel || {});
|
|
4327
|
+
var EditVideoRequestModel = /* @__PURE__ */ ((EditVideoRequestModel2) => {
|
|
4328
|
+
EditVideoRequestModel2["UNKNOWN_MODEL"] = "UNKNOWN_MODEL";
|
|
4329
|
+
EditVideoRequestModel2["FROM_MODEL_ID"] = "FROM_MODEL_ID";
|
|
4330
|
+
return EditVideoRequestModel2;
|
|
4331
|
+
})(EditVideoRequestModel || {});
|
|
4307
4332
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
4308
4333
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
4309
4334
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -5105,7 +5130,8 @@ async function editImage2(options) {
|
|
|
5105
5130
|
recraftEditImageRequest: options?.recraftEditImageRequest,
|
|
5106
5131
|
replicateExtractFromImageRequest: options?.replicateExtractFromImageRequest,
|
|
5107
5132
|
googleDetectTextRequest: options?.googleDetectTextRequest,
|
|
5108
|
-
runwareEditImageRequest: options?.runwareEditImageRequest
|
|
5133
|
+
runwareEditImageRequest: options?.runwareEditImageRequest,
|
|
5134
|
+
montracerProxyTraceRequest: options?.montracerProxyTraceRequest
|
|
5109
5135
|
});
|
|
5110
5136
|
const reqOpts = editImage(payload);
|
|
5111
5137
|
sideEffects?.onSiteCall?.();
|
|
@@ -5127,7 +5153,8 @@ async function editImage2(options) {
|
|
|
5127
5153
|
recraftEditImageRequest: "$[0].recraftEditImageRequest",
|
|
5128
5154
|
replicateExtractFromImageRequest: "$[0].replicateExtractFromImageRequest",
|
|
5129
5155
|
googleDetectTextRequest: "$[0].googleDetectTextRequest",
|
|
5130
|
-
runwareEditImageRequest: "$[0].runwareEditImageRequest"
|
|
5156
|
+
runwareEditImageRequest: "$[0].runwareEditImageRequest",
|
|
5157
|
+
montracerProxyTraceRequest: "$[0].montracerProxyTraceRequest"
|
|
5131
5158
|
},
|
|
5132
5159
|
singleArgumentUnchanged: false
|
|
5133
5160
|
},
|
|
@@ -5141,7 +5168,8 @@ async function editVideo2(options) {
|
|
|
5141
5168
|
const { httpClient, sideEffects } = arguments[1];
|
|
5142
5169
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
5143
5170
|
userRequestInfo: options?.userRequestInfo,
|
|
5144
|
-
runwareVideoUpscaleRequest: options?.runwareVideoUpscaleRequest
|
|
5171
|
+
runwareVideoUpscaleRequest: options?.runwareVideoUpscaleRequest,
|
|
5172
|
+
runwareEditVideoRequest: options?.runwareEditVideoRequest
|
|
5145
5173
|
});
|
|
5146
5174
|
const reqOpts = editVideo(payload);
|
|
5147
5175
|
sideEffects?.onSiteCall?.();
|
|
@@ -5156,7 +5184,8 @@ async function editVideo2(options) {
|
|
|
5156
5184
|
spreadPathsToArguments: {},
|
|
5157
5185
|
explicitPathsToArguments: {
|
|
5158
5186
|
userRequestInfo: "$[0].userRequestInfo",
|
|
5159
|
-
runwareVideoUpscaleRequest: "$[0].runwareVideoUpscaleRequest"
|
|
5187
|
+
runwareVideoUpscaleRequest: "$[0].runwareVideoUpscaleRequest",
|
|
5188
|
+
runwareEditVideoRequest: "$[0].runwareEditVideoRequest"
|
|
5160
5189
|
},
|
|
5161
5190
|
singleArgumentUnchanged: false
|
|
5162
5191
|
},
|
|
@@ -5220,6 +5249,7 @@ async function pollImageGenerationResult2(options) {
|
|
|
5220
5249
|
EditImageModel,
|
|
5221
5250
|
EditImageRequestModel,
|
|
5222
5251
|
EditImageWithPromptRequestModel,
|
|
5252
|
+
EditVideoRequestModel,
|
|
5223
5253
|
ElevenLabsTextToSpeechModel,
|
|
5224
5254
|
EmbeddingEncodingFormat,
|
|
5225
5255
|
EmbeddingModel,
|
|
@@ -5285,6 +5315,7 @@ async function pollImageGenerationResult2(options) {
|
|
|
5285
5315
|
Threshold,
|
|
5286
5316
|
TimestampGranularity,
|
|
5287
5317
|
ToolChoiceType,
|
|
5318
|
+
TraceMode,
|
|
5288
5319
|
TranscriptionModel,
|
|
5289
5320
|
Type,
|
|
5290
5321
|
V1CacheControlType,
|