@wix/auto_sdk_ai-gateway_generators 1.0.73 → 1.0.74

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 +1 -102
  2. package/build/cjs/index.js +0 -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 +0 -101
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +1 -100
  8. package/build/cjs/meta.js +0 -101
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -102
  11. package/build/es/index.mjs +0 -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 +0 -100
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +1 -100
  17. package/build/es/meta.mjs +0 -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 +0 -101
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +11 -112
  23. package/build/internal/cjs/index.typings.js +0 -101
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +1 -100
  26. package/build/internal/cjs/meta.js +0 -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 +0 -100
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +11 -112
  32. package/build/internal/es/index.typings.mjs +0 -100
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +1 -100
  35. package/build/internal/es/meta.mjs +0 -100
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
package/build/cjs/meta.js CHANGED
@@ -22,7 +22,6 @@ var meta_exports = {};
22
22
  __export(meta_exports, {
23
23
  AnthropicModelOriginal: () => AnthropicModel,
24
24
  CacheControlTypeOriginal: () => CacheControlType,
25
- ChatBisonModelOriginal: () => ChatBisonModel,
26
25
  ChatCompletionMessageMessageRoleOriginal: () => ChatCompletionMessageMessageRole,
27
26
  ChatCompletionModelOriginal: () => ChatCompletionModel,
28
27
  ClaudeModelOriginal: () => ClaudeModel,
@@ -251,10 +250,6 @@ function generateTextByPrompt(payload) {
251
250
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
252
251
  isRepeated: true
253
252
  },
254
- {
255
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
256
- isRepeated: true
257
- },
258
253
  {
259
254
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
260
255
  },
@@ -278,12 +273,6 @@ function generateTextByPrompt(payload) {
278
273
  {
279
274
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
280
275
  },
281
- {
282
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
283
- },
284
- {
285
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
286
- },
287
276
  {
288
277
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
289
278
  },
@@ -514,8 +503,6 @@ function generateTextByPromptObject(payload) {
514
503
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
515
504
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
516
505
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
517
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
518
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
519
506
  { path: "prompt.azureChatCompletionRequest.temperature" },
520
507
  { path: "prompt.azureChatCompletionRequest.topP" },
521
508
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -623,10 +610,6 @@ function generateTextByPromptObject(payload) {
623
610
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
624
611
  isRepeated: true
625
612
  },
626
- {
627
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
628
- isRepeated: true
629
- },
630
613
  {
631
614
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
632
615
  },
@@ -650,12 +633,6 @@ function generateTextByPromptObject(payload) {
650
633
  {
651
634
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
652
635
  },
653
- {
654
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
655
- },
656
- {
657
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
658
- },
659
636
  {
660
637
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
661
638
  },
@@ -837,8 +814,6 @@ function generateTextByPromptObjectStreamed(payload) {
837
814
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
838
815
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
839
816
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
840
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
841
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
842
817
  { path: "prompt.azureChatCompletionRequest.temperature" },
843
818
  { path: "prompt.azureChatCompletionRequest.topP" },
844
819
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -1035,10 +1010,6 @@ function generateTextByProject(payload) {
1035
1010
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
1036
1011
  isRepeated: true
1037
1012
  },
1038
- {
1039
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
1040
- isRepeated: true
1041
- },
1042
1013
  {
1043
1014
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
1044
1015
  },
@@ -1062,12 +1033,6 @@ function generateTextByProject(payload) {
1062
1033
  {
1063
1034
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1064
1035
  },
1065
- {
1066
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1067
- },
1068
- {
1069
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1070
- },
1071
1036
  {
1072
1037
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1073
1038
  },
@@ -1347,12 +1312,6 @@ function generateImageByProject(payload) {
1347
1312
  {
1348
1313
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1349
1314
  },
1350
- {
1351
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1352
- },
1353
- {
1354
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1355
- },
1356
1315
  {
1357
1316
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1358
1317
  },
@@ -1547,12 +1506,6 @@ function generateImageByPrompt(payload) {
1547
1506
  {
1548
1507
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1549
1508
  },
1550
- {
1551
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1552
- },
1553
- {
1554
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1555
- },
1556
1509
  {
1557
1510
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1558
1511
  },
@@ -1719,8 +1672,6 @@ function generateImageByPromptObject(payload) {
1719
1672
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
1720
1673
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
1721
1674
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
1722
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
1723
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
1724
1675
  { path: "prompt.azureChatCompletionRequest.temperature" },
1725
1676
  { path: "prompt.azureChatCompletionRequest.topP" },
1726
1677
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -1844,12 +1795,6 @@ function generateImageByPromptObject(payload) {
1844
1795
  {
1845
1796
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1846
1797
  },
1847
- {
1848
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1849
- },
1850
- {
1851
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1852
- },
1853
1798
  {
1854
1799
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1855
1800
  },
@@ -2028,10 +1973,6 @@ function generateContentByPrompt(payload) {
2028
1973
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2029
1974
  isRepeated: true
2030
1975
  },
2031
- {
2032
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
2033
- isRepeated: true
2034
- },
2035
1976
  {
2036
1977
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2037
1978
  },
@@ -2060,12 +2001,6 @@ function generateContentByPrompt(payload) {
2060
2001
  {
2061
2002
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2062
2003
  },
2063
- {
2064
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
2065
- },
2066
- {
2067
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
2068
- },
2069
2004
  {
2070
2005
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2071
2006
  },
@@ -2259,10 +2194,6 @@ function generateContentByProject(payload) {
2259
2194
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2260
2195
  isRepeated: true
2261
2196
  },
2262
- {
2263
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
2264
- isRepeated: true
2265
- },
2266
2197
  {
2267
2198
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2268
2199
  },
@@ -2291,12 +2222,6 @@ function generateContentByProject(payload) {
2291
2222
  {
2292
2223
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2293
2224
  },
2294
- {
2295
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
2296
- },
2297
- {
2298
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
2299
- },
2300
2225
  {
2301
2226
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2302
2227
  },
@@ -2478,8 +2403,6 @@ function generateContentByPromptObject(payload) {
2478
2403
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2479
2404
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2480
2405
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
2481
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2482
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2483
2406
  { path: "prompt.azureChatCompletionRequest.temperature" },
2484
2407
  { path: "prompt.azureChatCompletionRequest.topP" },
2485
2408
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -2587,10 +2510,6 @@ function generateContentByPromptObject(payload) {
2587
2510
  path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2588
2511
  isRepeated: true
2589
2512
  },
2590
- {
2591
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
2592
- isRepeated: true
2593
- },
2594
2513
  {
2595
2514
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2596
2515
  },
@@ -2619,12 +2538,6 @@ function generateContentByPromptObject(payload) {
2619
2538
  {
2620
2539
  path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2621
2540
  },
2622
- {
2623
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
2624
- },
2625
- {
2626
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
2627
- },
2628
2541
  {
2629
2542
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2630
2543
  },
@@ -2956,8 +2869,6 @@ function publishPrompt(payload) {
2956
2869
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2957
2870
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2958
2871
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
2959
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2960
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2961
2872
  { path: "prompt.azureChatCompletionRequest.temperature" },
2962
2873
  { path: "prompt.azureChatCompletionRequest.topP" },
2963
2874
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -3088,8 +2999,6 @@ function getPrompt(payload) {
3088
2999
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
3089
3000
  { path: "prompt.googleTextBisonRequest.parameters.temperature" },
3090
3001
  { path: "prompt.googleTextBisonRequest.parameters.topP" },
3091
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
3092
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
3093
3002
  { path: "prompt.azureChatCompletionRequest.temperature" },
3094
3003
  { path: "prompt.azureChatCompletionRequest.topP" },
3095
3004
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -3419,15 +3328,6 @@ var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
3419
3328
  TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
3420
3329
  return TextBisonModel2;
3421
3330
  })(TextBisonModel || {});
3422
- var ChatBisonModel = /* @__PURE__ */ ((ChatBisonModel2) => {
3423
- ChatBisonModel2["UNKNOWN_CHAT_BISON_MODEL"] = "UNKNOWN_CHAT_BISON_MODEL";
3424
- ChatBisonModel2["CHAT_BISON"] = "CHAT_BISON";
3425
- ChatBisonModel2["CHAT_BISON_001"] = "CHAT_BISON_001";
3426
- ChatBisonModel2["CHAT_BISON_32K"] = "CHAT_BISON_32K";
3427
- ChatBisonModel2["CHAT_BISON_002"] = "CHAT_BISON_002";
3428
- ChatBisonModel2["CHAT_BISON_32K_002"] = "CHAT_BISON_32K_002";
3429
- return ChatBisonModel2;
3430
- })(ChatBisonModel || {});
3431
3331
  var V1Model = /* @__PURE__ */ ((V1Model2) => {
3432
3332
  V1Model2["UNKNOWN"] = "UNKNOWN";
3433
3333
  V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
@@ -4704,7 +4604,6 @@ function pollImageGenerationResult2() {
4704
4604
  0 && (module.exports = {
4705
4605
  AnthropicModelOriginal,
4706
4606
  CacheControlTypeOriginal,
4707
- ChatBisonModelOriginal,
4708
4607
  ChatCompletionMessageMessageRoleOriginal,
4709
4608
  ChatCompletionModelOriginal,
4710
4609
  ClaudeModelOriginal,