@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +47 -197
  2. package/build/cjs/index.js +4 -101
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +1 -1
  5. package/build/cjs/index.typings.js +4 -101
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +47 -195
  8. package/build/cjs/meta.js +4 -101
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +47 -197
  11. package/build/es/index.mjs +4 -100
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +1 -1
  14. package/build/es/index.typings.mjs +4 -100
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +47 -195
  17. package/build/es/meta.mjs +4 -100
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +11 -11
  20. package/build/internal/cjs/index.js +4 -101
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +57 -207
  23. package/build/internal/cjs/index.typings.js +4 -101
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +47 -195
  26. package/build/internal/cjs/meta.js +4 -101
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +11 -11
  29. package/build/internal/es/index.mjs +4 -100
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +57 -207
  32. package/build/internal/es/index.typings.mjs +4 -100
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +47 -195
  35. package/build/internal/es/meta.mjs +4 -100
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -104,10 +104,6 @@ function generateTextByPrompt(payload) {
104
104
  {
105
105
  transformFn: transformRESTFloatToSDKFloat,
106
106
  paths: [
107
- {
108
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
109
- isRepeated: true
110
- },
111
107
  {
112
108
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
113
109
  },
@@ -125,12 +121,6 @@ function generateTextByPrompt(payload) {
125
121
  {
126
122
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
127
123
  },
128
- {
129
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
130
- },
131
- {
132
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
133
- },
134
124
  {
135
125
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
136
126
  },
@@ -359,8 +349,6 @@ function generateTextByPromptObject(payload) {
359
349
  { path: "prompt.openAiChatCompletionRequest.topP" },
360
350
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
361
351
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
362
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
363
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
364
352
  { path: "prompt.azureChatCompletionRequest.temperature" },
365
353
  { path: "prompt.azureChatCompletionRequest.topP" },
366
354
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -464,10 +452,6 @@ function generateTextByPromptObject(payload) {
464
452
  {
465
453
  transformFn: transformRESTFloatToSDKFloat,
466
454
  paths: [
467
- {
468
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
469
- isRepeated: true
470
- },
471
455
  {
472
456
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
473
457
  },
@@ -485,12 +469,6 @@ function generateTextByPromptObject(payload) {
485
469
  {
486
470
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
487
471
  },
488
- {
489
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
490
- },
491
- {
492
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
493
- },
494
472
  {
495
473
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
496
474
  },
@@ -670,8 +648,6 @@ function generateTextByPromptObjectStreamed(payload) {
670
648
  { path: "prompt.openAiChatCompletionRequest.topP" },
671
649
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
672
650
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
673
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
674
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
675
651
  { path: "prompt.azureChatCompletionRequest.temperature" },
676
652
  { path: "prompt.azureChatCompletionRequest.topP" },
677
653
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -864,10 +840,6 @@ function generateTextByProject(payload) {
864
840
  {
865
841
  transformFn: transformRESTFloatToSDKFloat,
866
842
  paths: [
867
- {
868
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
869
- isRepeated: true
870
- },
871
843
  {
872
844
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
873
845
  },
@@ -885,12 +857,6 @@ function generateTextByProject(payload) {
885
857
  {
886
858
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
887
859
  },
888
- {
889
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
890
- },
891
- {
892
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
893
- },
894
860
  {
895
861
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
896
862
  },
@@ -1164,12 +1130,6 @@ function generateImageByProject(payload) {
1164
1130
  {
1165
1131
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1166
1132
  },
1167
- {
1168
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1169
- },
1170
- {
1171
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1172
- },
1173
1133
  {
1174
1134
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1175
1135
  },
@@ -1358,12 +1318,6 @@ function generateImageByPrompt(payload) {
1358
1318
  {
1359
1319
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1360
1320
  },
1361
- {
1362
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1363
- },
1364
- {
1365
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1366
- },
1367
1321
  {
1368
1322
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1369
1323
  },
@@ -1528,8 +1482,6 @@ function generateImageByPromptObject(payload) {
1528
1482
  { path: "prompt.openAiChatCompletionRequest.topP" },
1529
1483
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
1530
1484
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
1531
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
1532
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
1533
1485
  { path: "prompt.azureChatCompletionRequest.temperature" },
1534
1486
  { path: "prompt.azureChatCompletionRequest.topP" },
1535
1487
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -1647,12 +1599,6 @@ function generateImageByPromptObject(payload) {
1647
1599
  {
1648
1600
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1649
1601
  },
1650
- {
1651
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1652
- },
1653
- {
1654
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1655
- },
1656
1602
  {
1657
1603
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1658
1604
  },
@@ -1827,10 +1773,6 @@ function generateContentByPrompt(payload) {
1827
1773
  {
1828
1774
  transformFn: transformRESTFloatToSDKFloat,
1829
1775
  paths: [
1830
- {
1831
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
1832
- isRepeated: true
1833
- },
1834
1776
  {
1835
1777
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
1836
1778
  },
@@ -1853,12 +1795,6 @@ function generateContentByPrompt(payload) {
1853
1795
  {
1854
1796
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1855
1797
  },
1856
- {
1857
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1858
- },
1859
- {
1860
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1861
- },
1862
1798
  {
1863
1799
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1864
1800
  },
@@ -2048,10 +1984,6 @@ function generateContentByProject(payload) {
2048
1984
  {
2049
1985
  transformFn: transformRESTFloatToSDKFloat,
2050
1986
  paths: [
2051
- {
2052
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2053
- isRepeated: true
2054
- },
2055
1987
  {
2056
1988
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2057
1989
  },
@@ -2074,12 +2006,6 @@ function generateContentByProject(payload) {
2074
2006
  {
2075
2007
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
2076
2008
  },
2077
- {
2078
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
2079
- },
2080
- {
2081
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2082
- },
2083
2009
  {
2084
2010
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2085
2011
  },
@@ -2259,8 +2185,6 @@ function generateContentByPromptObject(payload) {
2259
2185
  { path: "prompt.openAiChatCompletionRequest.topP" },
2260
2186
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
2261
2187
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2262
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2263
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
2264
2188
  { path: "prompt.azureChatCompletionRequest.temperature" },
2265
2189
  { path: "prompt.azureChatCompletionRequest.topP" },
2266
2190
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -2364,10 +2288,6 @@ function generateContentByPromptObject(payload) {
2364
2288
  {
2365
2289
  transformFn: transformRESTFloatToSDKFloat,
2366
2290
  paths: [
2367
- {
2368
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2369
- isRepeated: true
2370
- },
2371
2291
  {
2372
2292
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2373
2293
  },
@@ -2390,12 +2310,6 @@ function generateContentByPromptObject(payload) {
2390
2310
  {
2391
2311
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
2392
2312
  },
2393
- {
2394
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
2395
- },
2396
- {
2397
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2398
- },
2399
2313
  {
2400
2314
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2401
2315
  },
@@ -2725,8 +2639,6 @@ function publishPrompt(payload) {
2725
2639
  { path: "prompt.openAiChatCompletionRequest.topP" },
2726
2640
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
2727
2641
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2728
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2729
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
2730
2642
  { path: "prompt.azureChatCompletionRequest.temperature" },
2731
2643
  { path: "prompt.azureChatCompletionRequest.topP" },
2732
2644
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -2855,8 +2767,6 @@ function getPrompt(payload) {
2855
2767
  { path: "prompt.openAiChatCompletionRequest.topP" },
2856
2768
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
2857
2769
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2858
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2859
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
2860
2770
  { path: "prompt.azureChatCompletionRequest.temperature" },
2861
2771
  { path: "prompt.azureChatCompletionRequest.topP" },
2862
2772
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -3165,6 +3075,8 @@ var OpenaiproxyV1Model = /* @__PURE__ */ ((OpenaiproxyV1Model2) => {
3165
3075
  OpenaiproxyV1Model2["GPT_5_2_2025_12_11_COMPLETION"] = "GPT_5_2_2025_12_11_COMPLETION";
3166
3076
  OpenaiproxyV1Model2["GPT_5_1_2025_11_13_COMPLETION"] = "GPT_5_1_2025_11_13_COMPLETION";
3167
3077
  OpenaiproxyV1Model2["GPT_5_4_2026_03_05_COMPLETION"] = "GPT_5_4_2026_03_05_COMPLETION";
3078
+ OpenaiproxyV1Model2["GPT_5_4_MINI_2026_03_17_COMPLETION"] = "GPT_5_4_MINI_2026_03_17_COMPLETION";
3079
+ OpenaiproxyV1Model2["GPT_5_4_NANO_2026_03_17_COMPLETION"] = "GPT_5_4_NANO_2026_03_17_COMPLETION";
3168
3080
  return OpenaiproxyV1Model2;
3169
3081
  })(OpenaiproxyV1Model || {});
3170
3082
  var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((OpenaiproxyV1ChatCompletionMessageMessageRole2) => {
@@ -3177,15 +3089,6 @@ var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Openaiprox
3177
3089
  OpenaiproxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
3178
3090
  return OpenaiproxyV1ChatCompletionMessageMessageRole2;
3179
3091
  })(OpenaiproxyV1ChatCompletionMessageMessageRole || {});
3180
- var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
3181
- TextBisonModel2["UNKNOWN_TEXT_BISON_MODEL"] = "UNKNOWN_TEXT_BISON_MODEL";
3182
- TextBisonModel2["TEXT_BISON"] = "TEXT_BISON";
3183
- TextBisonModel2["TEXT_BISON_001"] = "TEXT_BISON_001";
3184
- TextBisonModel2["TEXT_BISON_32K"] = "TEXT_BISON_32K";
3185
- TextBisonModel2["TEXT_BISON_002"] = "TEXT_BISON_002";
3186
- TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
3187
- return TextBisonModel2;
3188
- })(TextBisonModel || {});
3189
3092
  var V1Model = /* @__PURE__ */ ((V1Model2) => {
3190
3093
  V1Model2["UNKNOWN"] = "UNKNOWN";
3191
3094
  V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
@@ -3778,6 +3681,8 @@ var V1ResponsesModel = /* @__PURE__ */ ((V1ResponsesModel2) => {
3778
3681
  V1ResponsesModel2["GPT_5_3_CODEX"] = "GPT_5_3_CODEX";
3779
3682
  V1ResponsesModel2["GPT_5_4_2026_03_05"] = "GPT_5_4_2026_03_05";
3780
3683
  V1ResponsesModel2["GPT_5_4_PRO_2026_03_05"] = "GPT_5_4_PRO_2026_03_05";
3684
+ V1ResponsesModel2["GPT_5_4_MINI_2026_03_17"] = "GPT_5_4_MINI_2026_03_17";
3685
+ V1ResponsesModel2["GPT_5_4_NANO_2026_03_17"] = "GPT_5_4_NANO_2026_03_17";
3781
3686
  return V1ResponsesModel2;
3782
3687
  })(V1ResponsesModel || {});
3783
3688
  var ResponsesInputMessageResponsesMessageRole = /* @__PURE__ */ ((ResponsesInputMessageResponsesMessageRole2) => {
@@ -5153,7 +5058,6 @@ export {
5153
5058
  StylePreset,
5154
5059
  TaskInput,
5155
5060
  TaskType,
5156
- TextBisonModel,
5157
5061
  TextToImageRequestModel,
5158
5062
  TextToImageRequestStylePreset,
5159
5063
  Threshold,