@wix/auto_sdk_ai-gateway_generators 1.0.74 → 1.0.75
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 +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -94,7 +94,6 @@ __export(index_exports, {
|
|
|
94
94
|
StylePreset: () => StylePreset,
|
|
95
95
|
TaskInput: () => TaskInput,
|
|
96
96
|
TaskType: () => TaskType,
|
|
97
|
-
TextBisonModel: () => TextBisonModel,
|
|
98
97
|
TextToImageRequestModel: () => TextToImageRequestModel,
|
|
99
98
|
TextToImageRequestStylePreset: () => TextToImageRequestStylePreset,
|
|
100
99
|
Threshold: () => Threshold,
|
|
@@ -250,10 +249,6 @@ function generateTextByPrompt(payload) {
|
|
|
250
249
|
{
|
|
251
250
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
252
251
|
paths: [
|
|
253
|
-
{
|
|
254
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
255
|
-
isRepeated: true
|
|
256
|
-
},
|
|
257
252
|
{
|
|
258
253
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
259
254
|
},
|
|
@@ -271,12 +266,6 @@ function generateTextByPrompt(payload) {
|
|
|
271
266
|
{
|
|
272
267
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
273
268
|
},
|
|
274
|
-
{
|
|
275
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
279
|
-
},
|
|
280
269
|
{
|
|
281
270
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
282
271
|
},
|
|
@@ -505,8 +494,6 @@ function generateTextByPromptObject(payload) {
|
|
|
505
494
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
506
495
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
507
496
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
508
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
509
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
510
497
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
511
498
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
512
499
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -610,10 +597,6 @@ function generateTextByPromptObject(payload) {
|
|
|
610
597
|
{
|
|
611
598
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
612
599
|
paths: [
|
|
613
|
-
{
|
|
614
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
615
|
-
isRepeated: true
|
|
616
|
-
},
|
|
617
600
|
{
|
|
618
601
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
619
602
|
},
|
|
@@ -631,12 +614,6 @@ function generateTextByPromptObject(payload) {
|
|
|
631
614
|
{
|
|
632
615
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
633
616
|
},
|
|
634
|
-
{
|
|
635
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
639
|
-
},
|
|
640
617
|
{
|
|
641
618
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
642
619
|
},
|
|
@@ -816,8 +793,6 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
816
793
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
817
794
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
818
795
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
819
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
820
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
821
796
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
822
797
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
823
798
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1010,10 +985,6 @@ function generateTextByProject(payload) {
|
|
|
1010
985
|
{
|
|
1011
986
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1012
987
|
paths: [
|
|
1013
|
-
{
|
|
1014
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
1015
|
-
isRepeated: true
|
|
1016
|
-
},
|
|
1017
988
|
{
|
|
1018
989
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
1019
990
|
},
|
|
@@ -1031,12 +1002,6 @@ function generateTextByProject(payload) {
|
|
|
1031
1002
|
{
|
|
1032
1003
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1033
1004
|
},
|
|
1034
|
-
{
|
|
1035
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1036
|
-
},
|
|
1037
|
-
{
|
|
1038
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1039
|
-
},
|
|
1040
1005
|
{
|
|
1041
1006
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1042
1007
|
},
|
|
@@ -1310,12 +1275,6 @@ function generateImageByProject(payload) {
|
|
|
1310
1275
|
{
|
|
1311
1276
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1312
1277
|
},
|
|
1313
|
-
{
|
|
1314
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1315
|
-
},
|
|
1316
|
-
{
|
|
1317
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1318
|
-
},
|
|
1319
1278
|
{
|
|
1320
1279
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1321
1280
|
},
|
|
@@ -1504,12 +1463,6 @@ function generateImageByPrompt(payload) {
|
|
|
1504
1463
|
{
|
|
1505
1464
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1506
1465
|
},
|
|
1507
|
-
{
|
|
1508
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1509
|
-
},
|
|
1510
|
-
{
|
|
1511
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1512
|
-
},
|
|
1513
1466
|
{
|
|
1514
1467
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1515
1468
|
},
|
|
@@ -1674,8 +1627,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1674
1627
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
1675
1628
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
1676
1629
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
1677
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
1678
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
1679
1630
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
1680
1631
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
1681
1632
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1793,12 +1744,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1793
1744
|
{
|
|
1794
1745
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1795
1746
|
},
|
|
1796
|
-
{
|
|
1797
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1801
|
-
},
|
|
1802
1747
|
{
|
|
1803
1748
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1804
1749
|
},
|
|
@@ -1973,10 +1918,6 @@ function generateContentByPrompt(payload) {
|
|
|
1973
1918
|
{
|
|
1974
1919
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1975
1920
|
paths: [
|
|
1976
|
-
{
|
|
1977
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
1978
|
-
isRepeated: true
|
|
1979
|
-
},
|
|
1980
1921
|
{
|
|
1981
1922
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
1982
1923
|
},
|
|
@@ -1999,12 +1940,6 @@ function generateContentByPrompt(payload) {
|
|
|
1999
1940
|
{
|
|
2000
1941
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
2001
1942
|
},
|
|
2002
|
-
{
|
|
2003
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
2004
|
-
},
|
|
2005
|
-
{
|
|
2006
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2007
|
-
},
|
|
2008
1943
|
{
|
|
2009
1944
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2010
1945
|
},
|
|
@@ -2194,10 +2129,6 @@ function generateContentByProject(payload) {
|
|
|
2194
2129
|
{
|
|
2195
2130
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
2196
2131
|
paths: [
|
|
2197
|
-
{
|
|
2198
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2199
|
-
isRepeated: true
|
|
2200
|
-
},
|
|
2201
2132
|
{
|
|
2202
2133
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2203
2134
|
},
|
|
@@ -2220,12 +2151,6 @@ function generateContentByProject(payload) {
|
|
|
2220
2151
|
{
|
|
2221
2152
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
2222
2153
|
},
|
|
2223
|
-
{
|
|
2224
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2228
|
-
},
|
|
2229
2154
|
{
|
|
2230
2155
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2231
2156
|
},
|
|
@@ -2405,8 +2330,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2405
2330
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
2406
2331
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
2407
2332
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2408
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2409
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2410
2333
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2411
2334
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2412
2335
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2510,10 +2433,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2510
2433
|
{
|
|
2511
2434
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
2512
2435
|
paths: [
|
|
2513
|
-
{
|
|
2514
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2515
|
-
isRepeated: true
|
|
2516
|
-
},
|
|
2517
2436
|
{
|
|
2518
2437
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2519
2438
|
},
|
|
@@ -2536,12 +2455,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2536
2455
|
{
|
|
2537
2456
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
2538
2457
|
},
|
|
2539
|
-
{
|
|
2540
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
2541
|
-
},
|
|
2542
|
-
{
|
|
2543
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2544
|
-
},
|
|
2545
2458
|
{
|
|
2546
2459
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2547
2460
|
},
|
|
@@ -2871,8 +2784,6 @@ function publishPrompt(payload) {
|
|
|
2871
2784
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
2872
2785
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
2873
2786
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2874
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2875
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2876
2787
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2877
2788
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2878
2789
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3001,8 +2912,6 @@ function getPrompt(payload) {
|
|
|
3001
2912
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
3002
2913
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
3003
2914
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
3004
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
3005
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
3006
2915
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
3007
2916
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
3008
2917
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3311,6 +3220,8 @@ var OpenaiproxyV1Model = /* @__PURE__ */ ((OpenaiproxyV1Model2) => {
|
|
|
3311
3220
|
OpenaiproxyV1Model2["GPT_5_2_2025_12_11_COMPLETION"] = "GPT_5_2_2025_12_11_COMPLETION";
|
|
3312
3221
|
OpenaiproxyV1Model2["GPT_5_1_2025_11_13_COMPLETION"] = "GPT_5_1_2025_11_13_COMPLETION";
|
|
3313
3222
|
OpenaiproxyV1Model2["GPT_5_4_2026_03_05_COMPLETION"] = "GPT_5_4_2026_03_05_COMPLETION";
|
|
3223
|
+
OpenaiproxyV1Model2["GPT_5_4_MINI_2026_03_17_COMPLETION"] = "GPT_5_4_MINI_2026_03_17_COMPLETION";
|
|
3224
|
+
OpenaiproxyV1Model2["GPT_5_4_NANO_2026_03_17_COMPLETION"] = "GPT_5_4_NANO_2026_03_17_COMPLETION";
|
|
3314
3225
|
return OpenaiproxyV1Model2;
|
|
3315
3226
|
})(OpenaiproxyV1Model || {});
|
|
3316
3227
|
var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((OpenaiproxyV1ChatCompletionMessageMessageRole2) => {
|
|
@@ -3323,15 +3234,6 @@ var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Openaiprox
|
|
|
3323
3234
|
OpenaiproxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
3324
3235
|
return OpenaiproxyV1ChatCompletionMessageMessageRole2;
|
|
3325
3236
|
})(OpenaiproxyV1ChatCompletionMessageMessageRole || {});
|
|
3326
|
-
var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
|
|
3327
|
-
TextBisonModel2["UNKNOWN_TEXT_BISON_MODEL"] = "UNKNOWN_TEXT_BISON_MODEL";
|
|
3328
|
-
TextBisonModel2["TEXT_BISON"] = "TEXT_BISON";
|
|
3329
|
-
TextBisonModel2["TEXT_BISON_001"] = "TEXT_BISON_001";
|
|
3330
|
-
TextBisonModel2["TEXT_BISON_32K"] = "TEXT_BISON_32K";
|
|
3331
|
-
TextBisonModel2["TEXT_BISON_002"] = "TEXT_BISON_002";
|
|
3332
|
-
TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
|
|
3333
|
-
return TextBisonModel2;
|
|
3334
|
-
})(TextBisonModel || {});
|
|
3335
3237
|
var V1Model = /* @__PURE__ */ ((V1Model2) => {
|
|
3336
3238
|
V1Model2["UNKNOWN"] = "UNKNOWN";
|
|
3337
3239
|
V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
|
|
@@ -3924,6 +3826,8 @@ var V1ResponsesModel = /* @__PURE__ */ ((V1ResponsesModel2) => {
|
|
|
3924
3826
|
V1ResponsesModel2["GPT_5_3_CODEX"] = "GPT_5_3_CODEX";
|
|
3925
3827
|
V1ResponsesModel2["GPT_5_4_2026_03_05"] = "GPT_5_4_2026_03_05";
|
|
3926
3828
|
V1ResponsesModel2["GPT_5_4_PRO_2026_03_05"] = "GPT_5_4_PRO_2026_03_05";
|
|
3829
|
+
V1ResponsesModel2["GPT_5_4_MINI_2026_03_17"] = "GPT_5_4_MINI_2026_03_17";
|
|
3830
|
+
V1ResponsesModel2["GPT_5_4_NANO_2026_03_17"] = "GPT_5_4_NANO_2026_03_17";
|
|
3927
3831
|
return V1ResponsesModel2;
|
|
3928
3832
|
})(V1ResponsesModel || {});
|
|
3929
3833
|
var ResponsesInputMessageResponsesMessageRole = /* @__PURE__ */ ((ResponsesInputMessageResponsesMessageRole2) => {
|
|
@@ -5300,7 +5204,6 @@ var pollImageGenerationResult4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
5300
5204
|
StylePreset,
|
|
5301
5205
|
TaskInput,
|
|
5302
5206
|
TaskType,
|
|
5303
|
-
TextBisonModel,
|
|
5304
5207
|
TextToImageRequestModel,
|
|
5305
5208
|
TextToImageRequestStylePreset,
|
|
5306
5209
|
Threshold,
|