@wix/auto_sdk_ai-gateway_generators 1.0.97 → 1.0.99
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 +532 -9
- package/build/cjs/index.js +132 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +132 -3
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +528 -9
- package/build/cjs/meta.js +132 -3
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +532 -9
- package/build/es/index.mjs +131 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +131 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +528 -9
- package/build/es/meta.mjs +131 -3
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +132 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +545 -22
- package/build/internal/cjs/index.typings.js +132 -3
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +528 -9
- package/build/internal/cjs/meta.js +132 -3
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.mjs +131 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +545 -22
- package/build/internal/es/index.typings.mjs +131 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +528 -9
- package/build/internal/es/meta.mjs +131 -3
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -118,6 +118,7 @@ __export(index_typings_exports, {
|
|
|
118
118
|
V1VideoModel: () => V1VideoModel,
|
|
119
119
|
VideoGenModel: () => VideoGenModel,
|
|
120
120
|
VideoModel: () => VideoModel,
|
|
121
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole: () => Vllm_proxyV1ChatCompletionMessageMessageRole,
|
|
121
122
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
122
123
|
editImage: () => editImage2,
|
|
123
124
|
generateAudio: () => generateAudio2,
|
|
@@ -391,6 +392,16 @@ function generateTextByPrompt(payload) {
|
|
|
391
392
|
{
|
|
392
393
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
393
394
|
},
|
|
395
|
+
{
|
|
396
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
397
|
+
},
|
|
398
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
399
|
+
{
|
|
400
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
404
|
+
},
|
|
394
405
|
{
|
|
395
406
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
396
407
|
isRepeated: true
|
|
@@ -577,6 +588,10 @@ function generateTextByPromptObject(payload) {
|
|
|
577
588
|
{
|
|
578
589
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
579
590
|
},
|
|
591
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
592
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
593
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
594
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
580
595
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
581
596
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
582
597
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -751,6 +766,16 @@ function generateTextByPromptObject(payload) {
|
|
|
751
766
|
{
|
|
752
767
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
753
768
|
},
|
|
769
|
+
{
|
|
770
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
771
|
+
},
|
|
772
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
773
|
+
{
|
|
774
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
778
|
+
},
|
|
754
779
|
{
|
|
755
780
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
756
781
|
isRepeated: true
|
|
@@ -882,6 +907,10 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
882
907
|
{
|
|
883
908
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
884
909
|
},
|
|
910
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
911
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
912
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
913
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
885
914
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
886
915
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
887
916
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -1151,6 +1180,16 @@ function generateTextByProject(payload) {
|
|
|
1151
1180
|
{
|
|
1152
1181
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1153
1182
|
},
|
|
1183
|
+
{
|
|
1184
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
1185
|
+
},
|
|
1186
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1187
|
+
{
|
|
1188
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1192
|
+
},
|
|
1154
1193
|
{
|
|
1155
1194
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
1156
1195
|
isRepeated: true
|
|
@@ -1430,6 +1469,16 @@ function generateImageByProject(payload) {
|
|
|
1430
1469
|
{
|
|
1431
1470
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1432
1471
|
},
|
|
1472
|
+
{
|
|
1473
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
1474
|
+
},
|
|
1475
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1476
|
+
{
|
|
1477
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1481
|
+
},
|
|
1433
1482
|
{ path: "materializedPrompt.llamaModelRequest.temperature" },
|
|
1434
1483
|
{ path: "materializedPrompt.llamaModelRequest.topP" },
|
|
1435
1484
|
{ path: "materializedPrompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -1618,6 +1667,16 @@ function generateImageByPrompt(payload) {
|
|
|
1618
1667
|
{
|
|
1619
1668
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1620
1669
|
},
|
|
1670
|
+
{
|
|
1671
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
1672
|
+
},
|
|
1673
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1674
|
+
{
|
|
1675
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
1676
|
+
},
|
|
1677
|
+
{
|
|
1678
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1679
|
+
},
|
|
1621
1680
|
{ path: "materializedPrompt.llamaModelRequest.temperature" },
|
|
1622
1681
|
{ path: "materializedPrompt.llamaModelRequest.topP" },
|
|
1623
1682
|
{ path: "materializedPrompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -1734,6 +1793,10 @@ function generateImageByPromptObject(payload) {
|
|
|
1734
1793
|
{
|
|
1735
1794
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1736
1795
|
},
|
|
1796
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
1797
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1798
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
1799
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
1737
1800
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
1738
1801
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
1739
1802
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -1899,6 +1962,16 @@ function generateImageByPromptObject(payload) {
|
|
|
1899
1962
|
{
|
|
1900
1963
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1901
1964
|
},
|
|
1965
|
+
{
|
|
1966
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
1967
|
+
},
|
|
1968
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
1969
|
+
{
|
|
1970
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
1974
|
+
},
|
|
1902
1975
|
{ path: "materializedPrompt.llamaModelRequest.temperature" },
|
|
1903
1976
|
{ path: "materializedPrompt.llamaModelRequest.topP" },
|
|
1904
1977
|
{ path: "materializedPrompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -2101,6 +2174,16 @@ function generateContentByPrompt(payload) {
|
|
|
2101
2174
|
{
|
|
2102
2175
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2103
2176
|
},
|
|
2177
|
+
{
|
|
2178
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2179
|
+
},
|
|
2180
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2181
|
+
{
|
|
2182
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2183
|
+
},
|
|
2184
|
+
{
|
|
2185
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2186
|
+
},
|
|
2104
2187
|
{
|
|
2105
2188
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2106
2189
|
isRepeated: true
|
|
@@ -2143,7 +2226,8 @@ function generateContentByPrompt(payload) {
|
|
|
2143
2226
|
paths: [
|
|
2144
2227
|
{
|
|
2145
2228
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.searchEntryPoint.sdkBlob"
|
|
2146
|
-
}
|
|
2229
|
+
},
|
|
2230
|
+
{ path: "response.falRawResponse.body" }
|
|
2147
2231
|
]
|
|
2148
2232
|
}
|
|
2149
2233
|
])
|
|
@@ -2318,6 +2402,16 @@ function generateContentByProject(payload) {
|
|
|
2318
2402
|
{
|
|
2319
2403
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2320
2404
|
},
|
|
2405
|
+
{
|
|
2406
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2407
|
+
},
|
|
2408
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2409
|
+
{
|
|
2410
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2414
|
+
},
|
|
2321
2415
|
{
|
|
2322
2416
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2323
2417
|
isRepeated: true
|
|
@@ -2360,7 +2454,8 @@ function generateContentByProject(payload) {
|
|
|
2360
2454
|
paths: [
|
|
2361
2455
|
{
|
|
2362
2456
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.searchEntryPoint.sdkBlob"
|
|
2363
|
-
}
|
|
2457
|
+
},
|
|
2458
|
+
{ path: "response.falRawResponse.body" }
|
|
2364
2459
|
]
|
|
2365
2460
|
}
|
|
2366
2461
|
])
|
|
@@ -2449,6 +2544,10 @@ function generateContentByPromptObject(payload) {
|
|
|
2449
2544
|
{
|
|
2450
2545
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2451
2546
|
},
|
|
2547
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
2548
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2549
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
2550
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
2452
2551
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
2453
2552
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
2454
2553
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -2628,6 +2727,16 @@ function generateContentByPromptObject(payload) {
|
|
|
2628
2727
|
{
|
|
2629
2728
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2630
2729
|
},
|
|
2730
|
+
{
|
|
2731
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2732
|
+
},
|
|
2733
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2734
|
+
{
|
|
2735
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2736
|
+
},
|
|
2737
|
+
{
|
|
2738
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2739
|
+
},
|
|
2631
2740
|
{
|
|
2632
2741
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2633
2742
|
isRepeated: true
|
|
@@ -2670,7 +2779,8 @@ function generateContentByPromptObject(payload) {
|
|
|
2670
2779
|
paths: [
|
|
2671
2780
|
{
|
|
2672
2781
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.searchEntryPoint.sdkBlob"
|
|
2673
|
-
}
|
|
2782
|
+
},
|
|
2783
|
+
{ path: "response.falRawResponse.body" }
|
|
2674
2784
|
]
|
|
2675
2785
|
}
|
|
2676
2786
|
])
|
|
@@ -2909,6 +3019,10 @@ function publishPrompt(payload) {
|
|
|
2909
3019
|
{
|
|
2910
3020
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2911
3021
|
},
|
|
3022
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
3023
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
3024
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
3025
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
2912
3026
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
2913
3027
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
2914
3028
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -3053,6 +3167,10 @@ function getPrompt(payload) {
|
|
|
3053
3167
|
{
|
|
3054
3168
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
3055
3169
|
},
|
|
3170
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
3171
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
3172
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
3173
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
3056
3174
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
3057
3175
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
3058
3176
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -3964,6 +4082,16 @@ var Fireworks_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Firewo
|
|
|
3964
4082
|
Fireworks_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
3965
4083
|
return Fireworks_proxyV1ChatCompletionMessageMessageRole2;
|
|
3966
4084
|
})(Fireworks_proxyV1ChatCompletionMessageMessageRole || {});
|
|
4085
|
+
var Vllm_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Vllm_proxyV1ChatCompletionMessageMessageRole2) => {
|
|
4086
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["UNKNOWN"] = "UNKNOWN";
|
|
4087
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["USER"] = "USER";
|
|
4088
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["ASSISTANT"] = "ASSISTANT";
|
|
4089
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["SYSTEM"] = "SYSTEM";
|
|
4090
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["FUNCTION"] = "FUNCTION";
|
|
4091
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["TOOL"] = "TOOL";
|
|
4092
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
4093
|
+
return Vllm_proxyV1ChatCompletionMessageMessageRole2;
|
|
4094
|
+
})(Vllm_proxyV1ChatCompletionMessageMessageRole || {});
|
|
3967
4095
|
var GatewayMessageDefinitionRole = /* @__PURE__ */ ((GatewayMessageDefinitionRole2) => {
|
|
3968
4096
|
GatewayMessageDefinitionRole2["UNKNOWN"] = "UNKNOWN";
|
|
3969
4097
|
GatewayMessageDefinitionRole2["USER"] = "USER";
|
|
@@ -5118,6 +5246,7 @@ async function pollImageGenerationResult2(options) {
|
|
|
5118
5246
|
V1VideoModel,
|
|
5119
5247
|
VideoGenModel,
|
|
5120
5248
|
VideoModel,
|
|
5249
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole,
|
|
5121
5250
|
WebhookIdentityType,
|
|
5122
5251
|
editImage,
|
|
5123
5252
|
generateAudio,
|