@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
@@ -97,14 +97,6 @@ function generateTextByPrompt(payload) {
97
97
  {
98
98
  transformFn: transformRESTFloatToSDKFloat,
99
99
  paths: [
100
- {
101
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
102
- isRepeated: true
103
- },
104
- {
105
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
106
- isRepeated: true
107
- },
108
100
  {
109
101
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
110
102
  },
@@ -122,18 +114,6 @@ function generateTextByPrompt(payload) {
122
114
  {
123
115
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
124
116
  },
125
- {
126
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
127
- },
128
- {
129
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
130
- },
131
- {
132
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
133
- },
134
- {
135
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
136
- },
137
117
  {
138
118
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
139
119
  },
@@ -362,10 +342,6 @@ function generateTextByPromptObject(payload) {
362
342
  { path: "prompt.openAiChatCompletionRequest.topP" },
363
343
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
364
344
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
365
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
366
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
367
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
368
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
369
345
  { path: "prompt.azureChatCompletionRequest.temperature" },
370
346
  { path: "prompt.azureChatCompletionRequest.topP" },
371
347
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -469,14 +445,6 @@ function generateTextByPromptObject(payload) {
469
445
  {
470
446
  transformFn: transformRESTFloatToSDKFloat,
471
447
  paths: [
472
- {
473
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
474
- isRepeated: true
475
- },
476
- {
477
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
478
- isRepeated: true
479
- },
480
448
  {
481
449
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
482
450
  },
@@ -494,18 +462,6 @@ function generateTextByPromptObject(payload) {
494
462
  {
495
463
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
496
464
  },
497
- {
498
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
499
- },
500
- {
501
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
502
- },
503
- {
504
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
505
- },
506
- {
507
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
508
- },
509
465
  {
510
466
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
511
467
  },
@@ -685,10 +641,6 @@ function generateTextByPromptObjectStreamed(payload) {
685
641
  { path: "prompt.openAiChatCompletionRequest.topP" },
686
642
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
687
643
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
688
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
689
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
690
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
691
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
692
644
  { path: "prompt.azureChatCompletionRequest.temperature" },
693
645
  { path: "prompt.azureChatCompletionRequest.topP" },
694
646
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -881,14 +833,6 @@ function generateTextByProject(payload) {
881
833
  {
882
834
  transformFn: transformRESTFloatToSDKFloat,
883
835
  paths: [
884
- {
885
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
886
- isRepeated: true
887
- },
888
- {
889
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
890
- isRepeated: true
891
- },
892
836
  {
893
837
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
894
838
  },
@@ -906,18 +850,6 @@ function generateTextByProject(payload) {
906
850
  {
907
851
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
908
852
  },
909
- {
910
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
911
- },
912
- {
913
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
914
- },
915
- {
916
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
917
- },
918
- {
919
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
920
- },
921
853
  {
922
854
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
923
855
  },
@@ -1191,18 +1123,6 @@ function generateImageByProject(payload) {
1191
1123
  {
1192
1124
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1193
1125
  },
1194
- {
1195
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1196
- },
1197
- {
1198
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1199
- },
1200
- {
1201
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1202
- },
1203
- {
1204
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1205
- },
1206
1126
  {
1207
1127
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1208
1128
  },
@@ -1391,18 +1311,6 @@ function generateImageByPrompt(payload) {
1391
1311
  {
1392
1312
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1393
1313
  },
1394
- {
1395
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1396
- },
1397
- {
1398
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1399
- },
1400
- {
1401
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1402
- },
1403
- {
1404
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1405
- },
1406
1314
  {
1407
1315
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1408
1316
  },
@@ -1567,10 +1475,6 @@ function generateImageByPromptObject(payload) {
1567
1475
  { path: "prompt.openAiChatCompletionRequest.topP" },
1568
1476
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
1569
1477
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
1570
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
1571
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
1572
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
1573
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
1574
1478
  { path: "prompt.azureChatCompletionRequest.temperature" },
1575
1479
  { path: "prompt.azureChatCompletionRequest.topP" },
1576
1480
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -1688,18 +1592,6 @@ function generateImageByPromptObject(payload) {
1688
1592
  {
1689
1593
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1690
1594
  },
1691
- {
1692
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1693
- },
1694
- {
1695
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1696
- },
1697
- {
1698
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1699
- },
1700
- {
1701
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1702
- },
1703
1595
  {
1704
1596
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1705
1597
  },
@@ -1874,14 +1766,6 @@ function generateContentByPrompt(payload) {
1874
1766
  {
1875
1767
  transformFn: transformRESTFloatToSDKFloat,
1876
1768
  paths: [
1877
- {
1878
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
1879
- isRepeated: true
1880
- },
1881
- {
1882
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
1883
- isRepeated: true
1884
- },
1885
1769
  {
1886
1770
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
1887
1771
  },
@@ -1904,18 +1788,6 @@ function generateContentByPrompt(payload) {
1904
1788
  {
1905
1789
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
1906
1790
  },
1907
- {
1908
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
1909
- },
1910
- {
1911
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
1912
- },
1913
- {
1914
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
1915
- },
1916
- {
1917
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
1918
- },
1919
1791
  {
1920
1792
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
1921
1793
  },
@@ -2105,14 +1977,6 @@ function generateContentByProject(payload) {
2105
1977
  {
2106
1978
  transformFn: transformRESTFloatToSDKFloat,
2107
1979
  paths: [
2108
- {
2109
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2110
- isRepeated: true
2111
- },
2112
- {
2113
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
2114
- isRepeated: true
2115
- },
2116
1980
  {
2117
1981
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2118
1982
  },
@@ -2135,18 +1999,6 @@ function generateContentByProject(payload) {
2135
1999
  {
2136
2000
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
2137
2001
  },
2138
- {
2139
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
2140
- },
2141
- {
2142
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2143
- },
2144
- {
2145
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
2146
- },
2147
- {
2148
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
2149
- },
2150
2002
  {
2151
2003
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2152
2004
  },
@@ -2326,10 +2178,6 @@ function generateContentByPromptObject(payload) {
2326
2178
  { path: "prompt.openAiChatCompletionRequest.topP" },
2327
2179
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
2328
2180
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2329
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2330
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
2331
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2332
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2333
2181
  { path: "prompt.azureChatCompletionRequest.temperature" },
2334
2182
  { path: "prompt.azureChatCompletionRequest.topP" },
2335
2183
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -2433,14 +2281,6 @@ function generateContentByPromptObject(payload) {
2433
2281
  {
2434
2282
  transformFn: transformRESTFloatToSDKFloat,
2435
2283
  paths: [
2436
- {
2437
- path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
2438
- isRepeated: true
2439
- },
2440
- {
2441
- path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
2442
- isRepeated: true
2443
- },
2444
2284
  {
2445
2285
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
2446
2286
  },
@@ -2463,18 +2303,6 @@ function generateContentByPromptObject(payload) {
2463
2303
  {
2464
2304
  path: "materializedPrompt.openAiChatCompletionRequest.frequencyPenalty"
2465
2305
  },
2466
- {
2467
- path: "materializedPrompt.googleTextBisonRequest.parameters.temperature"
2468
- },
2469
- {
2470
- path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
2471
- },
2472
- {
2473
- path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
2474
- },
2475
- {
2476
- path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
2477
- },
2478
2306
  {
2479
2307
  path: "materializedPrompt.azureChatCompletionRequest.temperature"
2480
2308
  },
@@ -2804,10 +2632,6 @@ function publishPrompt(payload) {
2804
2632
  { path: "prompt.openAiChatCompletionRequest.topP" },
2805
2633
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
2806
2634
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2807
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2808
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
2809
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2810
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2811
2635
  { path: "prompt.azureChatCompletionRequest.temperature" },
2812
2636
  { path: "prompt.azureChatCompletionRequest.topP" },
2813
2637
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -2936,10 +2760,6 @@ function getPrompt(payload) {
2936
2760
  { path: "prompt.openAiChatCompletionRequest.topP" },
2937
2761
  { path: "prompt.openAiChatCompletionRequest.presencePenalty" },
2938
2762
  { path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
2939
- { path: "prompt.googleTextBisonRequest.parameters.temperature" },
2940
- { path: "prompt.googleTextBisonRequest.parameters.topP" },
2941
- { path: "prompt.googleChatBisonRequest.parameters.temperature" },
2942
- { path: "prompt.googleChatBisonRequest.parameters.topP" },
2943
2763
  { path: "prompt.azureChatCompletionRequest.temperature" },
2944
2764
  { path: "prompt.azureChatCompletionRequest.topP" },
2945
2765
  { path: "prompt.azureChatCompletionRequest.presencePenalty" },
@@ -3248,6 +3068,8 @@ var OpenaiproxyV1Model = /* @__PURE__ */ ((OpenaiproxyV1Model2) => {
3248
3068
  OpenaiproxyV1Model2["GPT_5_2_2025_12_11_COMPLETION"] = "GPT_5_2_2025_12_11_COMPLETION";
3249
3069
  OpenaiproxyV1Model2["GPT_5_1_2025_11_13_COMPLETION"] = "GPT_5_1_2025_11_13_COMPLETION";
3250
3070
  OpenaiproxyV1Model2["GPT_5_4_2026_03_05_COMPLETION"] = "GPT_5_4_2026_03_05_COMPLETION";
3071
+ OpenaiproxyV1Model2["GPT_5_4_MINI_2026_03_17_COMPLETION"] = "GPT_5_4_MINI_2026_03_17_COMPLETION";
3072
+ OpenaiproxyV1Model2["GPT_5_4_NANO_2026_03_17_COMPLETION"] = "GPT_5_4_NANO_2026_03_17_COMPLETION";
3251
3073
  return OpenaiproxyV1Model2;
3252
3074
  })(OpenaiproxyV1Model || {});
3253
3075
  var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((OpenaiproxyV1ChatCompletionMessageMessageRole2) => {
@@ -3260,24 +3082,6 @@ var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Openaiprox
3260
3082
  OpenaiproxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
3261
3083
  return OpenaiproxyV1ChatCompletionMessageMessageRole2;
3262
3084
  })(OpenaiproxyV1ChatCompletionMessageMessageRole || {});
3263
- var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
3264
- TextBisonModel2["UNKNOWN_TEXT_BISON_MODEL"] = "UNKNOWN_TEXT_BISON_MODEL";
3265
- TextBisonModel2["TEXT_BISON"] = "TEXT_BISON";
3266
- TextBisonModel2["TEXT_BISON_001"] = "TEXT_BISON_001";
3267
- TextBisonModel2["TEXT_BISON_32K"] = "TEXT_BISON_32K";
3268
- TextBisonModel2["TEXT_BISON_002"] = "TEXT_BISON_002";
3269
- TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
3270
- return TextBisonModel2;
3271
- })(TextBisonModel || {});
3272
- var ChatBisonModel = /* @__PURE__ */ ((ChatBisonModel2) => {
3273
- ChatBisonModel2["UNKNOWN_CHAT_BISON_MODEL"] = "UNKNOWN_CHAT_BISON_MODEL";
3274
- ChatBisonModel2["CHAT_BISON"] = "CHAT_BISON";
3275
- ChatBisonModel2["CHAT_BISON_001"] = "CHAT_BISON_001";
3276
- ChatBisonModel2["CHAT_BISON_32K"] = "CHAT_BISON_32K";
3277
- ChatBisonModel2["CHAT_BISON_002"] = "CHAT_BISON_002";
3278
- ChatBisonModel2["CHAT_BISON_32K_002"] = "CHAT_BISON_32K_002";
3279
- return ChatBisonModel2;
3280
- })(ChatBisonModel || {});
3281
3085
  var V1Model = /* @__PURE__ */ ((V1Model2) => {
3282
3086
  V1Model2["UNKNOWN"] = "UNKNOWN";
3283
3087
  V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
@@ -3870,6 +3674,8 @@ var V1ResponsesModel = /* @__PURE__ */ ((V1ResponsesModel2) => {
3870
3674
  V1ResponsesModel2["GPT_5_3_CODEX"] = "GPT_5_3_CODEX";
3871
3675
  V1ResponsesModel2["GPT_5_4_2026_03_05"] = "GPT_5_4_2026_03_05";
3872
3676
  V1ResponsesModel2["GPT_5_4_PRO_2026_03_05"] = "GPT_5_4_PRO_2026_03_05";
3677
+ V1ResponsesModel2["GPT_5_4_MINI_2026_03_17"] = "GPT_5_4_MINI_2026_03_17";
3678
+ V1ResponsesModel2["GPT_5_4_NANO_2026_03_17"] = "GPT_5_4_NANO_2026_03_17";
3873
3679
  return V1ResponsesModel2;
3874
3680
  })(V1ResponsesModel || {});
3875
3681
  var ResponsesInputMessageResponsesMessageRole = /* @__PURE__ */ ((ResponsesInputMessageResponsesMessageRole2) => {
@@ -4553,7 +4359,6 @@ function pollImageGenerationResult2() {
4553
4359
  export {
4554
4360
  AnthropicModel as AnthropicModelOriginal,
4555
4361
  CacheControlType as CacheControlTypeOriginal,
4556
- ChatBisonModel as ChatBisonModelOriginal,
4557
4362
  ChatCompletionMessageMessageRole as ChatCompletionMessageMessageRoleOriginal,
4558
4363
  ChatCompletionModel as ChatCompletionModelOriginal,
4559
4364
  ClaudeModel as ClaudeModelOriginal,
@@ -4626,7 +4431,6 @@ export {
4626
4431
  StylePreset as StylePresetOriginal,
4627
4432
  TaskInput as TaskInputOriginal,
4628
4433
  TaskType as TaskTypeOriginal,
4629
- TextBisonModel as TextBisonModelOriginal,
4630
4434
  TextToImageRequestModel as TextToImageRequestModelOriginal,
4631
4435
  TextToImageRequestStylePreset as TextToImageRequestStylePresetOriginal,
4632
4436
  Threshold as ThresholdOriginal,