@wix/auto_sdk_ai-gateway_generators 1.0.74 → 1.0.76
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 +47 -197
- package/build/cjs/index.js +4 -101
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +4 -101
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +47 -195
- package/build/cjs/meta.js +4 -101
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +47 -197
- package/build/es/index.mjs +4 -100
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +4 -100
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +47 -195
- package/build/es/meta.mjs +4 -100
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +11 -11
- package/build/internal/cjs/index.js +4 -101
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +57 -207
- package/build/internal/cjs/index.typings.js +4 -101
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +47 -195
- package/build/internal/cjs/meta.js +4 -101
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +11 -11
- package/build/internal/es/index.mjs +4 -100
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +57 -207
- package/build/internal/es/index.typings.mjs +4 -100
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +47 -195
- package/build/internal/es/meta.mjs +4 -100
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -97,10 +97,6 @@ function generateTextByPrompt(payload) {
|
|
|
97
97
|
{
|
|
98
98
|
transformFn: transformRESTFloatToSDKFloat,
|
|
99
99
|
paths: [
|
|
100
|
-
{
|
|
101
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
102
|
-
isRepeated: true
|
|
103
|
-
},
|
|
104
100
|
{
|
|
105
101
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
106
102
|
},
|
|
@@ -118,12 +114,6 @@ function generateTextByPrompt(payload) {
|
|
|
118
114
|
{
|
|
119
115
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
120
116
|
},
|
|
121
|
-
{
|
|
122
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
126
|
-
},
|
|
127
117
|
{
|
|
128
118
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
129
119
|
},
|
|
@@ -352,8 +342,6 @@ function generateTextByPromptObject(payload) {
|
|
|
352
342
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
353
343
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
354
344
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
355
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
356
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
357
345
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
358
346
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
359
347
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -457,10 +445,6 @@ function generateTextByPromptObject(payload) {
|
|
|
457
445
|
{
|
|
458
446
|
transformFn: transformRESTFloatToSDKFloat,
|
|
459
447
|
paths: [
|
|
460
|
-
{
|
|
461
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
462
|
-
isRepeated: true
|
|
463
|
-
},
|
|
464
448
|
{
|
|
465
449
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
466
450
|
},
|
|
@@ -478,12 +462,6 @@ function generateTextByPromptObject(payload) {
|
|
|
478
462
|
{
|
|
479
463
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
480
464
|
},
|
|
481
|
-
{
|
|
482
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
483
|
-
},
|
|
484
|
-
{
|
|
485
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
486
|
-
},
|
|
487
465
|
{
|
|
488
466
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
489
467
|
},
|
|
@@ -663,8 +641,6 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
663
641
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
664
642
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
665
643
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
666
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
667
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
668
644
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
669
645
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
670
646
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -857,10 +833,6 @@ function generateTextByProject(payload) {
|
|
|
857
833
|
{
|
|
858
834
|
transformFn: transformRESTFloatToSDKFloat,
|
|
859
835
|
paths: [
|
|
860
|
-
{
|
|
861
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
862
|
-
isRepeated: true
|
|
863
|
-
},
|
|
864
836
|
{
|
|
865
837
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
866
838
|
},
|
|
@@ -878,12 +850,6 @@ function generateTextByProject(payload) {
|
|
|
878
850
|
{
|
|
879
851
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
880
852
|
},
|
|
881
|
-
{
|
|
882
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
886
|
-
},
|
|
887
853
|
{
|
|
888
854
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
889
855
|
},
|
|
@@ -1157,12 +1123,6 @@ function generateImageByProject(payload) {
|
|
|
1157
1123
|
{
|
|
1158
1124
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1159
1125
|
},
|
|
1160
|
-
{
|
|
1161
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1165
|
-
},
|
|
1166
1126
|
{
|
|
1167
1127
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1168
1128
|
},
|
|
@@ -1351,12 +1311,6 @@ function generateImageByPrompt(payload) {
|
|
|
1351
1311
|
{
|
|
1352
1312
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1353
1313
|
},
|
|
1354
|
-
{
|
|
1355
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1359
|
-
},
|
|
1360
1314
|
{
|
|
1361
1315
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1362
1316
|
},
|
|
@@ -1521,8 +1475,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1521
1475
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
1522
1476
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
1523
1477
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
1524
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
1525
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
1526
1478
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
1527
1479
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
1528
1480
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1640,12 +1592,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1640
1592
|
{
|
|
1641
1593
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1642
1594
|
},
|
|
1643
|
-
{
|
|
1644
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1645
|
-
},
|
|
1646
|
-
{
|
|
1647
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1648
|
-
},
|
|
1649
1595
|
{
|
|
1650
1596
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1651
1597
|
},
|
|
@@ -1820,10 +1766,6 @@ function generateContentByPrompt(payload) {
|
|
|
1820
1766
|
{
|
|
1821
1767
|
transformFn: transformRESTFloatToSDKFloat,
|
|
1822
1768
|
paths: [
|
|
1823
|
-
{
|
|
1824
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
1825
|
-
isRepeated: true
|
|
1826
|
-
},
|
|
1827
1769
|
{
|
|
1828
1770
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
1829
1771
|
},
|
|
@@ -1846,12 +1788,6 @@ function generateContentByPrompt(payload) {
|
|
|
1846
1788
|
{
|
|
1847
1789
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1848
1790
|
},
|
|
1849
|
-
{
|
|
1850
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1851
|
-
},
|
|
1852
|
-
{
|
|
1853
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1854
|
-
},
|
|
1855
1791
|
{
|
|
1856
1792
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1857
1793
|
},
|
|
@@ -2041,10 +1977,6 @@ function generateContentByProject(payload) {
|
|
|
2041
1977
|
{
|
|
2042
1978
|
transformFn: transformRESTFloatToSDKFloat,
|
|
2043
1979
|
paths: [
|
|
2044
|
-
{
|
|
2045
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2046
|
-
isRepeated: true
|
|
2047
|
-
},
|
|
2048
1980
|
{
|
|
2049
1981
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2050
1982
|
},
|
|
@@ -2067,12 +1999,6 @@ function generateContentByProject(payload) {
|
|
|
2067
1999
|
{
|
|
2068
2000
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
2069
2001
|
},
|
|
2070
|
-
{
|
|
2071
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
2072
|
-
},
|
|
2073
|
-
{
|
|
2074
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2075
|
-
},
|
|
2076
2002
|
{
|
|
2077
2003
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2078
2004
|
},
|
|
@@ -2252,8 +2178,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2252
2178
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
2253
2179
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
2254
2180
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2255
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2256
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2257
2181
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2258
2182
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2259
2183
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2357,10 +2281,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2357
2281
|
{
|
|
2358
2282
|
transformFn: transformRESTFloatToSDKFloat,
|
|
2359
2283
|
paths: [
|
|
2360
|
-
{
|
|
2361
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2362
|
-
isRepeated: true
|
|
2363
|
-
},
|
|
2364
2284
|
{
|
|
2365
2285
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2366
2286
|
},
|
|
@@ -2383,12 +2303,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2383
2303
|
{
|
|
2384
2304
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
2385
2305
|
},
|
|
2386
|
-
{
|
|
2387
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
2388
|
-
},
|
|
2389
|
-
{
|
|
2390
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2391
|
-
},
|
|
2392
2306
|
{
|
|
2393
2307
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2394
2308
|
},
|
|
@@ -2718,8 +2632,6 @@ function publishPrompt(payload) {
|
|
|
2718
2632
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
2719
2633
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
2720
2634
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2721
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2722
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2723
2635
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2724
2636
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2725
2637
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2848,8 +2760,6 @@ function getPrompt(payload) {
|
|
|
2848
2760
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
2849
2761
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
2850
2762
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2851
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2852
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2853
2763
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2854
2764
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2855
2765
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3158,6 +3068,8 @@ var OpenaiproxyV1Model = /* @__PURE__ */ ((OpenaiproxyV1Model2) => {
|
|
|
3158
3068
|
OpenaiproxyV1Model2["GPT_5_2_2025_12_11_COMPLETION"] = "GPT_5_2_2025_12_11_COMPLETION";
|
|
3159
3069
|
OpenaiproxyV1Model2["GPT_5_1_2025_11_13_COMPLETION"] = "GPT_5_1_2025_11_13_COMPLETION";
|
|
3160
3070
|
OpenaiproxyV1Model2["GPT_5_4_2026_03_05_COMPLETION"] = "GPT_5_4_2026_03_05_COMPLETION";
|
|
3071
|
+
OpenaiproxyV1Model2["GPT_5_4_MINI_2026_03_17_COMPLETION"] = "GPT_5_4_MINI_2026_03_17_COMPLETION";
|
|
3072
|
+
OpenaiproxyV1Model2["GPT_5_4_NANO_2026_03_17_COMPLETION"] = "GPT_5_4_NANO_2026_03_17_COMPLETION";
|
|
3161
3073
|
return OpenaiproxyV1Model2;
|
|
3162
3074
|
})(OpenaiproxyV1Model || {});
|
|
3163
3075
|
var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((OpenaiproxyV1ChatCompletionMessageMessageRole2) => {
|
|
@@ -3170,15 +3082,6 @@ var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Openaiprox
|
|
|
3170
3082
|
OpenaiproxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
3171
3083
|
return OpenaiproxyV1ChatCompletionMessageMessageRole2;
|
|
3172
3084
|
})(OpenaiproxyV1ChatCompletionMessageMessageRole || {});
|
|
3173
|
-
var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
|
|
3174
|
-
TextBisonModel2["UNKNOWN_TEXT_BISON_MODEL"] = "UNKNOWN_TEXT_BISON_MODEL";
|
|
3175
|
-
TextBisonModel2["TEXT_BISON"] = "TEXT_BISON";
|
|
3176
|
-
TextBisonModel2["TEXT_BISON_001"] = "TEXT_BISON_001";
|
|
3177
|
-
TextBisonModel2["TEXT_BISON_32K"] = "TEXT_BISON_32K";
|
|
3178
|
-
TextBisonModel2["TEXT_BISON_002"] = "TEXT_BISON_002";
|
|
3179
|
-
TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
|
|
3180
|
-
return TextBisonModel2;
|
|
3181
|
-
})(TextBisonModel || {});
|
|
3182
3085
|
var V1Model = /* @__PURE__ */ ((V1Model2) => {
|
|
3183
3086
|
V1Model2["UNKNOWN"] = "UNKNOWN";
|
|
3184
3087
|
V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
|
|
@@ -3771,6 +3674,8 @@ var V1ResponsesModel = /* @__PURE__ */ ((V1ResponsesModel2) => {
|
|
|
3771
3674
|
V1ResponsesModel2["GPT_5_3_CODEX"] = "GPT_5_3_CODEX";
|
|
3772
3675
|
V1ResponsesModel2["GPT_5_4_2026_03_05"] = "GPT_5_4_2026_03_05";
|
|
3773
3676
|
V1ResponsesModel2["GPT_5_4_PRO_2026_03_05"] = "GPT_5_4_PRO_2026_03_05";
|
|
3677
|
+
V1ResponsesModel2["GPT_5_4_MINI_2026_03_17"] = "GPT_5_4_MINI_2026_03_17";
|
|
3678
|
+
V1ResponsesModel2["GPT_5_4_NANO_2026_03_17"] = "GPT_5_4_NANO_2026_03_17";
|
|
3774
3679
|
return V1ResponsesModel2;
|
|
3775
3680
|
})(V1ResponsesModel || {});
|
|
3776
3681
|
var ResponsesInputMessageResponsesMessageRole = /* @__PURE__ */ ((ResponsesInputMessageResponsesMessageRole2) => {
|
|
@@ -4526,7 +4431,6 @@ export {
|
|
|
4526
4431
|
StylePreset as StylePresetOriginal,
|
|
4527
4432
|
TaskInput as TaskInputOriginal,
|
|
4528
4433
|
TaskType as TaskTypeOriginal,
|
|
4529
|
-
TextBisonModel as TextBisonModelOriginal,
|
|
4530
4434
|
TextToImageRequestModel as TextToImageRequestModelOriginal,
|
|
4531
4435
|
TextToImageRequestStylePreset as TextToImageRequestStylePresetOriginal,
|
|
4532
4436
|
Threshold as ThresholdOriginal,
|