@wix/auto_sdk_ai-gateway_generators 1.0.96 → 1.0.98
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 +479 -1
- package/build/cjs/index.js +126 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +126 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +477 -1
- package/build/cjs/meta.js +126 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +479 -1
- package/build/es/index.mjs +125 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +125 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +477 -1
- package/build/es/meta.mjs +125 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +126 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +492 -14
- package/build/internal/cjs/index.typings.js +126 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +477 -1
- package/build/internal/cjs/meta.js +126 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.mjs +125 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +492 -14
- package/build/internal/es/index.typings.mjs +125 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +477 -1
- package/build/internal/es/meta.mjs +125 -0
- 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
|
|
@@ -2318,6 +2401,16 @@ function generateContentByProject(payload) {
|
|
|
2318
2401
|
{
|
|
2319
2402
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2320
2403
|
},
|
|
2404
|
+
{
|
|
2405
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2406
|
+
},
|
|
2407
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2408
|
+
{
|
|
2409
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2413
|
+
},
|
|
2321
2414
|
{
|
|
2322
2415
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2323
2416
|
isRepeated: true
|
|
@@ -2449,6 +2542,10 @@ function generateContentByPromptObject(payload) {
|
|
|
2449
2542
|
{
|
|
2450
2543
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2451
2544
|
},
|
|
2545
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
2546
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2547
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
2548
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
2452
2549
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
2453
2550
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
2454
2551
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -2628,6 +2725,16 @@ function generateContentByPromptObject(payload) {
|
|
|
2628
2725
|
{
|
|
2629
2726
|
path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2630
2727
|
},
|
|
2728
|
+
{
|
|
2729
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.temperature"
|
|
2730
|
+
},
|
|
2731
|
+
{ path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
2732
|
+
{
|
|
2733
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.presencePenalty"
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
path: "materializedPrompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2737
|
+
},
|
|
2631
2738
|
{
|
|
2632
2739
|
path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
|
|
2633
2740
|
isRepeated: true
|
|
@@ -2909,6 +3016,10 @@ function publishPrompt(payload) {
|
|
|
2909
3016
|
{
|
|
2910
3017
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
2911
3018
|
},
|
|
3019
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
3020
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
3021
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
3022
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
2912
3023
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
2913
3024
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
2914
3025
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -3053,6 +3164,10 @@ function getPrompt(payload) {
|
|
|
3053
3164
|
{
|
|
3054
3165
|
path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
|
|
3055
3166
|
},
|
|
3167
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.temperature" },
|
|
3168
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.topP" },
|
|
3169
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.presencePenalty" },
|
|
3170
|
+
{ path: "prompt.vllmInvokeCustomOpenAiRequest.frequencyPenalty" },
|
|
3056
3171
|
{ path: "prompt.llamaModelRequest.temperature" },
|
|
3057
3172
|
{ path: "prompt.llamaModelRequest.topP" },
|
|
3058
3173
|
{ path: "prompt.runwareTextToImageRequest.cfgScale" },
|
|
@@ -3964,6 +4079,16 @@ var Fireworks_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Firewo
|
|
|
3964
4079
|
Fireworks_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
3965
4080
|
return Fireworks_proxyV1ChatCompletionMessageMessageRole2;
|
|
3966
4081
|
})(Fireworks_proxyV1ChatCompletionMessageMessageRole || {});
|
|
4082
|
+
var Vllm_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Vllm_proxyV1ChatCompletionMessageMessageRole2) => {
|
|
4083
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["UNKNOWN"] = "UNKNOWN";
|
|
4084
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["USER"] = "USER";
|
|
4085
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["ASSISTANT"] = "ASSISTANT";
|
|
4086
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["SYSTEM"] = "SYSTEM";
|
|
4087
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["FUNCTION"] = "FUNCTION";
|
|
4088
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["TOOL"] = "TOOL";
|
|
4089
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
4090
|
+
return Vllm_proxyV1ChatCompletionMessageMessageRole2;
|
|
4091
|
+
})(Vllm_proxyV1ChatCompletionMessageMessageRole || {});
|
|
3967
4092
|
var GatewayMessageDefinitionRole = /* @__PURE__ */ ((GatewayMessageDefinitionRole2) => {
|
|
3968
4093
|
GatewayMessageDefinitionRole2["UNKNOWN"] = "UNKNOWN";
|
|
3969
4094
|
GatewayMessageDefinitionRole2["USER"] = "USER";
|
|
@@ -5118,6 +5243,7 @@ async function pollImageGenerationResult2(options) {
|
|
|
5118
5243
|
V1VideoModel,
|
|
5119
5244
|
VideoGenModel,
|
|
5120
5245
|
VideoModel,
|
|
5246
|
+
Vllm_proxyV1ChatCompletionMessageMessageRole,
|
|
5121
5247
|
WebhookIdentityType,
|
|
5122
5248
|
editImage,
|
|
5123
5249
|
generateAudio,
|