@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
|
@@ -94,7 +94,6 @@ __export(meta_exports, {
|
|
|
94
94
|
StylePresetOriginal: () => StylePreset,
|
|
95
95
|
TaskInputOriginal: () => TaskInput,
|
|
96
96
|
TaskTypeOriginal: () => TaskType,
|
|
97
|
-
TextBisonModelOriginal: () => TextBisonModel,
|
|
98
97
|
TextToImageRequestModelOriginal: () => TextToImageRequestModel,
|
|
99
98
|
TextToImageRequestStylePresetOriginal: () => TextToImageRequestStylePreset,
|
|
100
99
|
ThresholdOriginal: () => Threshold,
|
|
@@ -246,10 +245,6 @@ function generateTextByPrompt(payload) {
|
|
|
246
245
|
{
|
|
247
246
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
248
247
|
paths: [
|
|
249
|
-
{
|
|
250
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
251
|
-
isRepeated: true
|
|
252
|
-
},
|
|
253
248
|
{
|
|
254
249
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
255
250
|
},
|
|
@@ -267,12 +262,6 @@ function generateTextByPrompt(payload) {
|
|
|
267
262
|
{
|
|
268
263
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
269
264
|
},
|
|
270
|
-
{
|
|
271
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
275
|
-
},
|
|
276
265
|
{
|
|
277
266
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
278
267
|
},
|
|
@@ -501,8 +490,6 @@ function generateTextByPromptObject(payload) {
|
|
|
501
490
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
502
491
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
503
492
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
504
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
505
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
506
493
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
507
494
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
508
495
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -606,10 +593,6 @@ function generateTextByPromptObject(payload) {
|
|
|
606
593
|
{
|
|
607
594
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
608
595
|
paths: [
|
|
609
|
-
{
|
|
610
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
611
|
-
isRepeated: true
|
|
612
|
-
},
|
|
613
596
|
{
|
|
614
597
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
615
598
|
},
|
|
@@ -627,12 +610,6 @@ function generateTextByPromptObject(payload) {
|
|
|
627
610
|
{
|
|
628
611
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
629
612
|
},
|
|
630
|
-
{
|
|
631
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
635
|
-
},
|
|
636
613
|
{
|
|
637
614
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
638
615
|
},
|
|
@@ -812,8 +789,6 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
812
789
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
813
790
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
814
791
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
815
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
816
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
817
792
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
818
793
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
819
794
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1006,10 +981,6 @@ function generateTextByProject(payload) {
|
|
|
1006
981
|
{
|
|
1007
982
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1008
983
|
paths: [
|
|
1009
|
-
{
|
|
1010
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
1011
|
-
isRepeated: true
|
|
1012
|
-
},
|
|
1013
984
|
{
|
|
1014
985
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
1015
986
|
},
|
|
@@ -1027,12 +998,6 @@ function generateTextByProject(payload) {
|
|
|
1027
998
|
{
|
|
1028
999
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1029
1000
|
},
|
|
1030
|
-
{
|
|
1031
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1032
|
-
},
|
|
1033
|
-
{
|
|
1034
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1035
|
-
},
|
|
1036
1001
|
{
|
|
1037
1002
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1038
1003
|
},
|
|
@@ -1306,12 +1271,6 @@ function generateImageByProject(payload) {
|
|
|
1306
1271
|
{
|
|
1307
1272
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1308
1273
|
},
|
|
1309
|
-
{
|
|
1310
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1311
|
-
},
|
|
1312
|
-
{
|
|
1313
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1314
|
-
},
|
|
1315
1274
|
{
|
|
1316
1275
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1317
1276
|
},
|
|
@@ -1500,12 +1459,6 @@ function generateImageByPrompt(payload) {
|
|
|
1500
1459
|
{
|
|
1501
1460
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1502
1461
|
},
|
|
1503
|
-
{
|
|
1504
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1505
|
-
},
|
|
1506
|
-
{
|
|
1507
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1508
|
-
},
|
|
1509
1462
|
{
|
|
1510
1463
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1511
1464
|
},
|
|
@@ -1670,8 +1623,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1670
1623
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
1671
1624
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
1672
1625
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
1673
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
1674
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
1675
1626
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
1676
1627
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
1677
1628
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1789,12 +1740,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1789
1740
|
{
|
|
1790
1741
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1791
1742
|
},
|
|
1792
|
-
{
|
|
1793
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1797
|
-
},
|
|
1798
1743
|
{
|
|
1799
1744
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1800
1745
|
},
|
|
@@ -1969,10 +1914,6 @@ function generateContentByPrompt(payload) {
|
|
|
1969
1914
|
{
|
|
1970
1915
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
1971
1916
|
paths: [
|
|
1972
|
-
{
|
|
1973
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
1974
|
-
isRepeated: true
|
|
1975
|
-
},
|
|
1976
1917
|
{
|
|
1977
1918
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
1978
1919
|
},
|
|
@@ -1995,12 +1936,6 @@ function generateContentByPrompt(payload) {
|
|
|
1995
1936
|
{
|
|
1996
1937
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
1997
1938
|
},
|
|
1998
|
-
{
|
|
1999
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
2000
|
-
},
|
|
2001
|
-
{
|
|
2002
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2003
|
-
},
|
|
2004
1939
|
{
|
|
2005
1940
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2006
1941
|
},
|
|
@@ -2190,10 +2125,6 @@ function generateContentByProject(payload) {
|
|
|
2190
2125
|
{
|
|
2191
2126
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
2192
2127
|
paths: [
|
|
2193
|
-
{
|
|
2194
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2195
|
-
isRepeated: true
|
|
2196
|
-
},
|
|
2197
2128
|
{
|
|
2198
2129
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2199
2130
|
},
|
|
@@ -2216,12 +2147,6 @@ function generateContentByProject(payload) {
|
|
|
2216
2147
|
{
|
|
2217
2148
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
2218
2149
|
},
|
|
2219
|
-
{
|
|
2220
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
2221
|
-
},
|
|
2222
|
-
{
|
|
2223
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2224
|
-
},
|
|
2225
2150
|
{
|
|
2226
2151
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2227
2152
|
},
|
|
@@ -2401,8 +2326,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2401
2326
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
2402
2327
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
2403
2328
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2404
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2405
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2406
2329
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2407
2330
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2408
2331
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2506,10 +2429,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2506
2429
|
{
|
|
2507
2430
|
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
2508
2431
|
paths: [
|
|
2509
|
-
{
|
|
2510
|
-
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2511
|
-
isRepeated: true
|
|
2512
|
-
},
|
|
2513
2432
|
{
|
|
2514
2433
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2515
2434
|
},
|
|
@@ -2532,12 +2451,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2532
2451
|
{
|
|
2533
2452
|
path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
|
|
2534
2453
|
},
|
|
2535
|
-
{
|
|
2536
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
|
|
2537
|
-
},
|
|
2538
|
-
{
|
|
2539
|
-
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2540
|
-
},
|
|
2541
2454
|
{
|
|
2542
2455
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2543
2456
|
},
|
|
@@ -2867,8 +2780,6 @@ function publishPrompt(payload) {
|
|
|
2867
2780
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
2868
2781
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
2869
2782
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2870
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2871
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2872
2783
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2873
2784
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2874
2785
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2997,8 +2908,6 @@ function getPrompt(payload) {
|
|
|
2997
2908
|
{ path: "prompt.openAiChatCompletionRequest.topP" },
|
|
2998
2909
|
{ path: "prompt.openAiChatCompletionRequest.presencePenalty" },
|
|
2999
2910
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
3000
|
-
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
3001
|
-
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
3002
2911
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
3003
2912
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
3004
2913
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3307,6 +3216,8 @@ var OpenaiproxyV1Model = /* @__PURE__ */ ((OpenaiproxyV1Model2) => {
|
|
|
3307
3216
|
OpenaiproxyV1Model2["GPT_5_2_2025_12_11_COMPLETION"] = "GPT_5_2_2025_12_11_COMPLETION";
|
|
3308
3217
|
OpenaiproxyV1Model2["GPT_5_1_2025_11_13_COMPLETION"] = "GPT_5_1_2025_11_13_COMPLETION";
|
|
3309
3218
|
OpenaiproxyV1Model2["GPT_5_4_2026_03_05_COMPLETION"] = "GPT_5_4_2026_03_05_COMPLETION";
|
|
3219
|
+
OpenaiproxyV1Model2["GPT_5_4_MINI_2026_03_17_COMPLETION"] = "GPT_5_4_MINI_2026_03_17_COMPLETION";
|
|
3220
|
+
OpenaiproxyV1Model2["GPT_5_4_NANO_2026_03_17_COMPLETION"] = "GPT_5_4_NANO_2026_03_17_COMPLETION";
|
|
3310
3221
|
return OpenaiproxyV1Model2;
|
|
3311
3222
|
})(OpenaiproxyV1Model || {});
|
|
3312
3223
|
var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((OpenaiproxyV1ChatCompletionMessageMessageRole2) => {
|
|
@@ -3319,15 +3230,6 @@ var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Openaiprox
|
|
|
3319
3230
|
OpenaiproxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
3320
3231
|
return OpenaiproxyV1ChatCompletionMessageMessageRole2;
|
|
3321
3232
|
})(OpenaiproxyV1ChatCompletionMessageMessageRole || {});
|
|
3322
|
-
var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
|
|
3323
|
-
TextBisonModel2["UNKNOWN_TEXT_BISON_MODEL"] = "UNKNOWN_TEXT_BISON_MODEL";
|
|
3324
|
-
TextBisonModel2["TEXT_BISON"] = "TEXT_BISON";
|
|
3325
|
-
TextBisonModel2["TEXT_BISON_001"] = "TEXT_BISON_001";
|
|
3326
|
-
TextBisonModel2["TEXT_BISON_32K"] = "TEXT_BISON_32K";
|
|
3327
|
-
TextBisonModel2["TEXT_BISON_002"] = "TEXT_BISON_002";
|
|
3328
|
-
TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
|
|
3329
|
-
return TextBisonModel2;
|
|
3330
|
-
})(TextBisonModel || {});
|
|
3331
3233
|
var V1Model = /* @__PURE__ */ ((V1Model2) => {
|
|
3332
3234
|
V1Model2["UNKNOWN"] = "UNKNOWN";
|
|
3333
3235
|
V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
|
|
@@ -3920,6 +3822,8 @@ var V1ResponsesModel = /* @__PURE__ */ ((V1ResponsesModel2) => {
|
|
|
3920
3822
|
V1ResponsesModel2["GPT_5_3_CODEX"] = "GPT_5_3_CODEX";
|
|
3921
3823
|
V1ResponsesModel2["GPT_5_4_2026_03_05"] = "GPT_5_4_2026_03_05";
|
|
3922
3824
|
V1ResponsesModel2["GPT_5_4_PRO_2026_03_05"] = "GPT_5_4_PRO_2026_03_05";
|
|
3825
|
+
V1ResponsesModel2["GPT_5_4_MINI_2026_03_17"] = "GPT_5_4_MINI_2026_03_17";
|
|
3826
|
+
V1ResponsesModel2["GPT_5_4_NANO_2026_03_17"] = "GPT_5_4_NANO_2026_03_17";
|
|
3923
3827
|
return V1ResponsesModel2;
|
|
3924
3828
|
})(V1ResponsesModel || {});
|
|
3925
3829
|
var ResponsesInputMessageResponsesMessageRole = /* @__PURE__ */ ((ResponsesInputMessageResponsesMessageRole2) => {
|
|
@@ -4676,7 +4580,6 @@ function pollImageGenerationResult2() {
|
|
|
4676
4580
|
StylePresetOriginal,
|
|
4677
4581
|
TaskInputOriginal,
|
|
4678
4582
|
TaskTypeOriginal,
|
|
4679
|
-
TextBisonModelOriginal,
|
|
4680
4583
|
TextToImageRequestModelOriginal,
|
|
4681
4584
|
TextToImageRequestStylePresetOriginal,
|
|
4682
4585
|
ThresholdOriginal,
|