@wix/auto_sdk_ai-gateway_generators 1.0.73 → 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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +47 -298
  2. package/build/cjs/index.js +4 -202
  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 -202
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +47 -294
  8. package/build/cjs/meta.js +4 -202
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +47 -298
  11. package/build/es/index.mjs +4 -200
  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 -200
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +47 -294
  17. package/build/es/meta.mjs +4 -200
  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 -202
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +57 -308
  23. package/build/internal/cjs/index.typings.js +4 -202
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +47 -294
  26. package/build/internal/cjs/meta.js +4 -202
  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 -200
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +57 -308
  32. package/build/internal/es/index.typings.mjs +4 -200
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +47 -294
  35. package/build/internal/es/meta.mjs +4 -200
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -104,14 +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
- {
112
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
113
- isRepeated: true
114
- },
115
107
  {
116
108
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
117
109
  },
@@ -129,18 +121,6 @@ function generateTextByPrompt(payload) {
129
121
  {
130
122
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
131
123
  },
132
- {
133
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
134
- },
135
- {
136
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
137
- },
138
- {
139
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
140
- },
141
- {
142
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
143
- },
144
124
  {
145
125
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
146
126
  },
@@ -369,10 +349,6 @@ function generateTextByPromptObject(payload) {
369
349
  { path: "prompt.openAiChatCompletionRequest.topP" },
370
350
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
371
351
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
372
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
373
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
374
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
375
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
376
352
  { path: "prompt.azureChatCompletionRequest.temperature" },
377
353
  { path: "prompt.azureChatCompletionRequest.topP" },
378
354
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -476,14 +452,6 @@ function generateTextByPromptObject(payload) {
476
452
  {
477
453
  transformFn: transformRESTFloatToSDKFloat,
478
454
  paths: [
479
- {
480
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
481
- isRepeated: true
482
- },
483
- {
484
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
485
- isRepeated: true
486
- },
487
455
  {
488
456
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
489
457
  },
@@ -501,18 +469,6 @@ function generateTextByPromptObject(payload) {
501
469
  {
502
470
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
503
471
  },
504
- {
505
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
506
- },
507
- {
508
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
509
- },
510
- {
511
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
512
- },
513
- {
514
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
515
- },
516
472
  {
517
473
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
518
474
  },
@@ -692,10 +648,6 @@ function generateTextByPromptObjectStreamed(payload) {
692
648
  { path: "prompt.openAiChatCompletionRequest.topP" },
693
649
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
694
650
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
695
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
696
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
697
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
698
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
699
651
  { path: "prompt.azureChatCompletionRequest.temperature" },
700
652
  { path: "prompt.azureChatCompletionRequest.topP" },
701
653
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -888,14 +840,6 @@ function generateTextByProject(payload) {
888
840
  {
889
841
  transformFn: transformRESTFloatToSDKFloat,
890
842
  paths: [
891
- {
892
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
893
- isRepeated: true
894
- },
895
- {
896
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
897
- isRepeated: true
898
- },
899
843
  {
900
844
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
901
845
  },
@@ -913,18 +857,6 @@ function generateTextByProject(payload) {
913
857
  {
914
858
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
915
859
  },
916
- {
917
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
918
- },
919
- {
920
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
921
- },
922
- {
923
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
924
- },
925
- {
926
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
927
- },
928
860
  {
929
861
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
930
862
  },
@@ -1198,18 +1130,6 @@ function generateImageByProject(payload) {
1198
1130
  {
1199
1131
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1200
1132
  },
1201
- {
1202
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1203
- },
1204
- {
1205
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1206
- },
1207
- {
1208
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1209
- },
1210
- {
1211
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1212
- },
1213
1133
  {
1214
1134
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1215
1135
  },
@@ -1398,18 +1318,6 @@ function generateImageByPrompt(payload) {
1398
1318
  {
1399
1319
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1400
1320
  },
1401
- {
1402
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1403
- },
1404
- {
1405
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1406
- },
1407
- {
1408
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1409
- },
1410
- {
1411
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1412
- },
1413
1321
  {
1414
1322
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1415
1323
  },
@@ -1574,10 +1482,6 @@ function generateImageByPromptObject(payload) {
1574
1482
  { path: "prompt.openAiChatCompletionRequest.topP" },
1575
1483
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
1576
1484
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
1577
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
1578
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
1579
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
1580
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
1581
1485
  { path: "prompt.azureChatCompletionRequest.temperature" },
1582
1486
  { path: "prompt.azureChatCompletionRequest.topP" },
1583
1487
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -1695,18 +1599,6 @@ function generateImageByPromptObject(payload) {
1695
1599
  {
1696
1600
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1697
1601
  },
1698
- {
1699
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1700
- },
1701
- {
1702
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1703
- },
1704
- {
1705
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1706
- },
1707
- {
1708
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1709
- },
1710
1602
  {
1711
1603
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1712
1604
  },
@@ -1881,14 +1773,6 @@ function generateContentByPrompt(payload) {
1881
1773
  {
1882
1774
  transformFn: transformRESTFloatToSDKFloat,
1883
1775
  paths: [
1884
- {
1885
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
1886
- isRepeated: true
1887
- },
1888
- {
1889
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
1890
- isRepeated: true
1891
- },
1892
1776
  {
1893
1777
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
1894
1778
  },
@@ -1911,18 +1795,6 @@ function generateContentByPrompt(payload) {
1911
1795
  {
1912
1796
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1913
1797
  },
1914
- {
1915
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1916
- },
1917
- {
1918
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1919
- },
1920
- {
1921
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1922
- },
1923
- {
1924
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1925
- },
1926
1798
  {
1927
1799
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1928
1800
  },
@@ -2112,14 +1984,6 @@ function generateContentByProject(payload) {
2112
1984
  {
2113
1985
  transformFn: transformRESTFloatToSDKFloat,
2114
1986
  paths: [
2115
- {
2116
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2117
- isRepeated: true
2118
- },
2119
- {
2120
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
2121
- isRepeated: true
2122
- },
2123
1987
  {
2124
1988
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2125
1989
  },
@@ -2142,18 +2006,6 @@ function generateContentByProject(payload) {
2142
2006
  {
2143
2007
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
2144
2008
  },
2145
- {
2146
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
2147
- },
2148
- {
2149
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2150
- },
2151
- {
2152
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
2153
- },
2154
- {
2155
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
2156
- },
2157
2009
  {
2158
2010
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2159
2011
  },
@@ -2333,10 +2185,6 @@ function generateContentByPromptObject(payload) {
2333
2185
  { path: "prompt.openAiChatCompletionRequest.topP" },
2334
2186
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
2335
2187
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2336
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2337
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
2338
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2339
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2340
2188
  { path: "prompt.azureChatCompletionRequest.temperature" },
2341
2189
  { path: "prompt.azureChatCompletionRequest.topP" },
2342
2190
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -2440,14 +2288,6 @@ function generateContentByPromptObject(payload) {
2440
2288
  {
2441
2289
  transformFn: transformRESTFloatToSDKFloat,
2442
2290
  paths: [
2443
- {
2444
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2445
- isRepeated: true
2446
- },
2447
- {
2448
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
2449
- isRepeated: true
2450
- },
2451
2291
  {
2452
2292
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2453
2293
  },
@@ -2470,18 +2310,6 @@ function generateContentByPromptObject(payload) {
2470
2310
  {
2471
2311
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
2472
2312
  },
2473
- {
2474
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
2475
- },
2476
- {
2477
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2478
- },
2479
- {
2480
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
2481
- },
2482
- {
2483
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
2484
- },
2485
2313
  {
2486
2314
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2487
2315
  },
@@ -2811,10 +2639,6 @@ function publishPrompt(payload) {
2811
2639
  { path: "prompt.openAiChatCompletionRequest.topP" },
2812
2640
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
2813
2641
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2814
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2815
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
2816
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2817
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2818
2642
  { path: "prompt.azureChatCompletionRequest.temperature" },
2819
2643
  { path: "prompt.azureChatCompletionRequest.topP" },
2820
2644
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -2943,10 +2767,6 @@ function getPrompt(payload) {
2943
2767
  { path: "prompt.openAiChatCompletionRequest.topP" },
2944
2768
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
2945
2769
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2946
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2947
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
2948
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2949
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2950
2770
  { path: "prompt.azureChatCompletionRequest.temperature" },
2951
2771
  { path: "prompt.azureChatCompletionRequest.topP" },
2952
2772
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -3255,6 +3075,8 @@ var OpenaiproxyV1Model = /* @__PURE__ */ ((OpenaiproxyV1Model2) => {
3255
3075
  OpenaiproxyV1Model2["GPT_5_2_2025_12_11_COMPLETION"] = "GPT_5_2_2025_12_11_COMPLETION";
3256
3076
  OpenaiproxyV1Model2["GPT_5_1_2025_11_13_COMPLETION"] = "GPT_5_1_2025_11_13_COMPLETION";
3257
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";
3258
3080
  return OpenaiproxyV1Model2;
3259
3081
  })(OpenaiproxyV1Model || {});
3260
3082
  var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((OpenaiproxyV1ChatCompletionMessageMessageRole2) => {
@@ -3267,24 +3089,6 @@ var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Openaiprox
3267
3089
  OpenaiproxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
3268
3090
  return OpenaiproxyV1ChatCompletionMessageMessageRole2;
3269
3091
  })(OpenaiproxyV1ChatCompletionMessageMessageRole || {});
3270
- var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
3271
- TextBisonModel2["UNKNOWN_TEXT_BISON_MODEL"] = "UNKNOWN_TEXT_BISON_MODEL";
3272
- TextBisonModel2["TEXT_BISON"] = "TEXT_BISON";
3273
- TextBisonModel2["TEXT_BISON_001"] = "TEXT_BISON_001";
3274
- TextBisonModel2["TEXT_BISON_32K"] = "TEXT_BISON_32K";
3275
- TextBisonModel2["TEXT_BISON_002"] = "TEXT_BISON_002";
3276
- TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
3277
- return TextBisonModel2;
3278
- })(TextBisonModel || {});
3279
- var ChatBisonModel = /* @__PURE__ */ ((ChatBisonModel2) => {
3280
- ChatBisonModel2["UNKNOWN_CHAT_BISON_MODEL"] = "UNKNOWN_CHAT_BISON_MODEL";
3281
- ChatBisonModel2["CHAT_BISON"] = "CHAT_BISON";
3282
- ChatBisonModel2["CHAT_BISON_001"] = "CHAT_BISON_001";
3283
- ChatBisonModel2["CHAT_BISON_32K"] = "CHAT_BISON_32K";
3284
- ChatBisonModel2["CHAT_BISON_002"] = "CHAT_BISON_002";
3285
- ChatBisonModel2["CHAT_BISON_32K_002"] = "CHAT_BISON_32K_002";
3286
- return ChatBisonModel2;
3287
- })(ChatBisonModel || {});
3288
3092
  var V1Model = /* @__PURE__ */ ((V1Model2) => {
3289
3093
  V1Model2["UNKNOWN"] = "UNKNOWN";
3290
3094
  V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
@@ -3877,6 +3681,8 @@ var V1ResponsesModel = /* @__PURE__ */ ((V1ResponsesModel2) => {
3877
3681
  V1ResponsesModel2["GPT_5_3_CODEX"] = "GPT_5_3_CODEX";
3878
3682
  V1ResponsesModel2["GPT_5_4_2026_03_05"] = "GPT_5_4_2026_03_05";
3879
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";
3880
3686
  return V1ResponsesModel2;
3881
3687
  })(V1ResponsesModel || {});
3882
3688
  var ResponsesInputMessageResponsesMessageRole = /* @__PURE__ */ ((ResponsesInputMessageResponsesMessageRole2) => {
@@ -4964,7 +4770,6 @@ async function pollImageGenerationResult2(options) {
4964
4770
  export {
4965
4771
  AnthropicModel,
4966
4772
  CacheControlType,
4967
- ChatBisonModel,
4968
4773
  ChatCompletionMessageMessageRole,
4969
4774
  ChatCompletionModel,
4970
4775
  ClaudeModel,
@@ -5037,7 +4842,6 @@ export {
5037
4842
  StylePreset,
5038
4843
  TaskInput,
5039
4844
  TaskType,
5040
- TextBisonModel,
5041
4845
  TextToImageRequestModel,
5042
4846
  TextToImageRequestStylePreset,
5043
4847
  Threshold,