@wix/auto_sdk_ai-gateway_generators 1.0.72 → 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.
- package/build/cjs/index.d.ts +912 -458
- package/build/cjs/index.js +25 -112
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -1
- package/build/cjs/index.typings.js +25 -112
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +903 -455
- package/build/cjs/meta.js +21 -110
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +912 -458
- package/build/es/index.mjs +25 -111
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -1
- package/build/es/index.typings.mjs +25 -111
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +903 -455
- package/build/es/meta.mjs +21 -109
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +14 -14
- package/build/internal/cjs/index.js +25 -112
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +925 -471
- package/build/internal/cjs/index.typings.js +25 -112
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +903 -455
- package/build/internal/cjs/meta.js +21 -110
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +14 -14
- package/build/internal/es/index.mjs +25 -111
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +925 -471
- package/build/internal/es/index.typings.mjs +25 -111
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +903 -455
- package/build/internal/es/meta.mjs +21 -109
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -22,7 +22,6 @@ var index_exports = {};
|
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
AnthropicModel: () => AnthropicModel,
|
|
24
24
|
CacheControlType: () => CacheControlType,
|
|
25
|
-
ChatBisonModel: () => ChatBisonModel,
|
|
26
25
|
ChatCompletionMessageMessageRole: () => ChatCompletionMessageMessageRole,
|
|
27
26
|
ChatCompletionModel: () => ChatCompletionModel,
|
|
28
27
|
ClaudeModel: () => ClaudeModel,
|
|
@@ -255,10 +254,6 @@ function generateTextByPrompt(payload) {
|
|
|
255
254
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
256
255
|
isRepeated: true
|
|
257
256
|
},
|
|
258
|
-
{
|
|
259
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
260
|
-
isRepeated: true
|
|
261
|
-
},
|
|
262
257
|
{
|
|
263
258
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
264
259
|
},
|
|
@@ -282,12 +277,6 @@ function generateTextByPrompt(payload) {
|
|
|
282
277
|
{
|
|
283
278
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
284
279
|
},
|
|
285
|
-
{
|
|
286
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
287
|
-
},
|
|
288
|
-
{
|
|
289
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
290
|
-
},
|
|
291
280
|
{
|
|
292
281
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
293
282
|
},
|
|
@@ -518,8 +507,6 @@ function generateTextByPromptObject(payload) {
|
|
|
518
507
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
519
508
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
520
509
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
521
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
522
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
523
510
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
524
511
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
525
512
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -627,10 +614,6 @@ function generateTextByPromptObject(payload) {
|
|
|
627
614
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
628
615
|
isRepeated: true
|
|
629
616
|
},
|
|
630
|
-
{
|
|
631
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
632
|
-
isRepeated: true
|
|
633
|
-
},
|
|
634
617
|
{
|
|
635
618
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
636
619
|
},
|
|
@@ -654,12 +637,6 @@ function generateTextByPromptObject(payload) {
|
|
|
654
637
|
{
|
|
655
638
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
656
639
|
},
|
|
657
|
-
{
|
|
658
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
659
|
-
},
|
|
660
|
-
{
|
|
661
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
662
|
-
},
|
|
663
640
|
{
|
|
664
641
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
665
642
|
},
|
|
@@ -841,8 +818,6 @@ function generateTextByPromptObjectStreamed(payload) {
|
|
|
841
818
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
842
819
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
843
820
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
844
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
845
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
846
821
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
847
822
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
848
823
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1039,10 +1014,6 @@ function generateTextByProject(payload) {
|
|
|
1039
1014
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
1040
1015
|
isRepeated: true
|
|
1041
1016
|
},
|
|
1042
|
-
{
|
|
1043
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
1044
|
-
isRepeated: true
|
|
1045
|
-
},
|
|
1046
1017
|
{
|
|
1047
1018
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
1048
1019
|
},
|
|
@@ -1066,12 +1037,6 @@ function generateTextByProject(payload) {
|
|
|
1066
1037
|
{
|
|
1067
1038
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1068
1039
|
},
|
|
1069
|
-
{
|
|
1070
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1071
|
-
},
|
|
1072
|
-
{
|
|
1073
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1074
|
-
},
|
|
1075
1040
|
{
|
|
1076
1041
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1077
1042
|
},
|
|
@@ -1351,12 +1316,6 @@ function generateImageByProject(payload) {
|
|
|
1351
1316
|
{
|
|
1352
1317
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1353
1318
|
},
|
|
1354
|
-
{
|
|
1355
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1356
|
-
},
|
|
1357
|
-
{
|
|
1358
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1359
|
-
},
|
|
1360
1319
|
{
|
|
1361
1320
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1362
1321
|
},
|
|
@@ -1551,12 +1510,6 @@ function generateImageByPrompt(payload) {
|
|
|
1551
1510
|
{
|
|
1552
1511
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1553
1512
|
},
|
|
1554
|
-
{
|
|
1555
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1556
|
-
},
|
|
1557
|
-
{
|
|
1558
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1559
|
-
},
|
|
1560
1513
|
{
|
|
1561
1514
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1562
1515
|
},
|
|
@@ -1723,8 +1676,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1723
1676
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
1724
1677
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
1725
1678
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
1726
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
1727
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
1728
1679
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
1729
1680
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
1730
1681
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -1848,12 +1799,6 @@ function generateImageByPromptObject(payload) {
|
|
|
1848
1799
|
{
|
|
1849
1800
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
1850
1801
|
},
|
|
1851
|
-
{
|
|
1852
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
1853
|
-
},
|
|
1854
|
-
{
|
|
1855
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
1856
|
-
},
|
|
1857
1802
|
{
|
|
1858
1803
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
1859
1804
|
},
|
|
@@ -2032,10 +1977,6 @@ function generateContentByPrompt(payload) {
|
|
|
2032
1977
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2033
1978
|
isRepeated: true
|
|
2034
1979
|
},
|
|
2035
|
-
{
|
|
2036
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2037
|
-
isRepeated: true
|
|
2038
|
-
},
|
|
2039
1980
|
{
|
|
2040
1981
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2041
1982
|
},
|
|
@@ -2064,12 +2005,6 @@ function generateContentByPrompt(payload) {
|
|
|
2064
2005
|
{
|
|
2065
2006
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2066
2007
|
},
|
|
2067
|
-
{
|
|
2068
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2069
|
-
},
|
|
2070
|
-
{
|
|
2071
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2072
|
-
},
|
|
2073
2008
|
{
|
|
2074
2009
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2075
2010
|
},
|
|
@@ -2263,10 +2198,6 @@ function generateContentByProject(payload) {
|
|
|
2263
2198
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2264
2199
|
isRepeated: true
|
|
2265
2200
|
},
|
|
2266
|
-
{
|
|
2267
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2268
|
-
isRepeated: true
|
|
2269
|
-
},
|
|
2270
2201
|
{
|
|
2271
2202
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2272
2203
|
},
|
|
@@ -2295,12 +2226,6 @@ function generateContentByProject(payload) {
|
|
|
2295
2226
|
{
|
|
2296
2227
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2297
2228
|
},
|
|
2298
|
-
{
|
|
2299
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2300
|
-
},
|
|
2301
|
-
{
|
|
2302
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2303
|
-
},
|
|
2304
2229
|
{
|
|
2305
2230
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2306
2231
|
},
|
|
@@ -2482,8 +2407,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2482
2407
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2483
2408
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2484
2409
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2485
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2486
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2487
2410
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2488
2411
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2489
2412
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -2591,10 +2514,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2591
2514
|
path: "response.googleTextBisonResponse.predictions.safetyAttributes.scores",
|
|
2592
2515
|
isRepeated: true
|
|
2593
2516
|
},
|
|
2594
|
-
{
|
|
2595
|
-
path: "response.googleChatBisonResponse.predictions.safetyAttributes.scores",
|
|
2596
|
-
isRepeated: true
|
|
2597
|
-
},
|
|
2598
2517
|
{
|
|
2599
2518
|
path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.probabilityScore"
|
|
2600
2519
|
},
|
|
@@ -2623,12 +2542,6 @@ function generateContentByPromptObject(payload) {
|
|
|
2623
2542
|
{
|
|
2624
2543
|
path: "materializedPrompt.googleTextBisonRequest.parameters.topP"
|
|
2625
2544
|
},
|
|
2626
|
-
{
|
|
2627
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.temperature"
|
|
2628
|
-
},
|
|
2629
|
-
{
|
|
2630
|
-
path: "materializedPrompt.googleChatBisonRequest.parameters.topP"
|
|
2631
|
-
},
|
|
2632
2545
|
{
|
|
2633
2546
|
path: "materializedPrompt.azureChatCompletionRequest.temperature"
|
|
2634
2547
|
},
|
|
@@ -2960,8 +2873,6 @@ function publishPrompt(payload) {
|
|
|
2960
2873
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
2961
2874
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
2962
2875
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
2963
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
2964
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
2965
2876
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
2966
2877
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
2967
2878
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3092,8 +3003,6 @@ function getPrompt(payload) {
|
|
|
3092
3003
|
{ path: "prompt.openAiChatCompletionRequest.frequencyPenalty" },
|
|
3093
3004
|
{ path: "prompt.googleTextBisonRequest.parameters.temperature" },
|
|
3094
3005
|
{ path: "prompt.googleTextBisonRequest.parameters.topP" },
|
|
3095
|
-
{ path: "prompt.googleChatBisonRequest.parameters.temperature" },
|
|
3096
|
-
{ path: "prompt.googleChatBisonRequest.parameters.topP" },
|
|
3097
3006
|
{ path: "prompt.azureChatCompletionRequest.temperature" },
|
|
3098
3007
|
{ path: "prompt.azureChatCompletionRequest.topP" },
|
|
3099
3008
|
{ path: "prompt.azureChatCompletionRequest.presencePenalty" },
|
|
@@ -3401,6 +3310,7 @@ var OpenaiproxyV1Model = /* @__PURE__ */ ((OpenaiproxyV1Model2) => {
|
|
|
3401
3310
|
OpenaiproxyV1Model2["GPT_5_NANO_2025_08_07"] = "GPT_5_NANO_2025_08_07";
|
|
3402
3311
|
OpenaiproxyV1Model2["GPT_5_2_2025_12_11_COMPLETION"] = "GPT_5_2_2025_12_11_COMPLETION";
|
|
3403
3312
|
OpenaiproxyV1Model2["GPT_5_1_2025_11_13_COMPLETION"] = "GPT_5_1_2025_11_13_COMPLETION";
|
|
3313
|
+
OpenaiproxyV1Model2["GPT_5_4_2026_03_05_COMPLETION"] = "GPT_5_4_2026_03_05_COMPLETION";
|
|
3404
3314
|
return OpenaiproxyV1Model2;
|
|
3405
3315
|
})(OpenaiproxyV1Model || {});
|
|
3406
3316
|
var OpenaiproxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((OpenaiproxyV1ChatCompletionMessageMessageRole2) => {
|
|
@@ -3422,15 +3332,6 @@ var TextBisonModel = /* @__PURE__ */ ((TextBisonModel2) => {
|
|
|
3422
3332
|
TextBisonModel2["TEXT_BISON_32K_002"] = "TEXT_BISON_32K_002";
|
|
3423
3333
|
return TextBisonModel2;
|
|
3424
3334
|
})(TextBisonModel || {});
|
|
3425
|
-
var ChatBisonModel = /* @__PURE__ */ ((ChatBisonModel2) => {
|
|
3426
|
-
ChatBisonModel2["UNKNOWN_CHAT_BISON_MODEL"] = "UNKNOWN_CHAT_BISON_MODEL";
|
|
3427
|
-
ChatBisonModel2["CHAT_BISON"] = "CHAT_BISON";
|
|
3428
|
-
ChatBisonModel2["CHAT_BISON_001"] = "CHAT_BISON_001";
|
|
3429
|
-
ChatBisonModel2["CHAT_BISON_32K"] = "CHAT_BISON_32K";
|
|
3430
|
-
ChatBisonModel2["CHAT_BISON_002"] = "CHAT_BISON_002";
|
|
3431
|
-
ChatBisonModel2["CHAT_BISON_32K_002"] = "CHAT_BISON_32K_002";
|
|
3432
|
-
return ChatBisonModel2;
|
|
3433
|
-
})(ChatBisonModel || {});
|
|
3434
3335
|
var V1Model = /* @__PURE__ */ ((V1Model2) => {
|
|
3435
3336
|
V1Model2["UNKNOWN"] = "UNKNOWN";
|
|
3436
3337
|
V1Model2["GPT_3_5_TURBO"] = "GPT_3_5_TURBO";
|
|
@@ -3473,6 +3374,7 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
|
|
|
3473
3374
|
GoogleproxyV1Model2["GEMINI_3_0_PRO"] = "GEMINI_3_0_PRO";
|
|
3474
3375
|
GoogleproxyV1Model2["GEMINI_3_0_PRO_IMAGE"] = "GEMINI_3_0_PRO_IMAGE";
|
|
3475
3376
|
GoogleproxyV1Model2["GEMINI_3_0_FLASH"] = "GEMINI_3_0_FLASH";
|
|
3377
|
+
GoogleproxyV1Model2["GEMINI_3_1_PRO"] = "GEMINI_3_1_PRO";
|
|
3476
3378
|
return GoogleproxyV1Model2;
|
|
3477
3379
|
})(GoogleproxyV1Model || {});
|
|
3478
3380
|
var ContentRole = /* @__PURE__ */ ((ContentRole2) => {
|
|
@@ -3567,6 +3469,8 @@ var Model = /* @__PURE__ */ ((Model2) => {
|
|
|
3567
3469
|
Model2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
|
|
3568
3470
|
Model2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";
|
|
3569
3471
|
Model2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
|
|
3472
|
+
Model2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
|
|
3473
|
+
Model2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
|
|
3570
3474
|
return Model2;
|
|
3571
3475
|
})(Model || {});
|
|
3572
3476
|
var Role = /* @__PURE__ */ ((Role2) => {
|
|
@@ -3613,6 +3517,8 @@ var ClaudeModel = /* @__PURE__ */ ((ClaudeModel2) => {
|
|
|
3613
3517
|
ClaudeModel2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
|
|
3614
3518
|
ClaudeModel2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";
|
|
3615
3519
|
ClaudeModel2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
|
|
3520
|
+
ClaudeModel2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
|
|
3521
|
+
ClaudeModel2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
|
|
3616
3522
|
return ClaudeModel2;
|
|
3617
3523
|
})(ClaudeModel || {});
|
|
3618
3524
|
var V1MessageRoleRole = /* @__PURE__ */ ((V1MessageRoleRole2) => {
|
|
@@ -3653,6 +3559,8 @@ var AnthropicModel = /* @__PURE__ */ ((AnthropicModel2) => {
|
|
|
3653
3559
|
AnthropicModel2["CLAUDE_4_5_SONNET_1_0"] = "CLAUDE_4_5_SONNET_1_0";
|
|
3654
3560
|
AnthropicModel2["CLAUDE_4_5_HAIKU_1_0"] = "CLAUDE_4_5_HAIKU_1_0";
|
|
3655
3561
|
AnthropicModel2["CLAUDE_4_5_OPUS_1_0"] = "CLAUDE_4_5_OPUS_1_0";
|
|
3562
|
+
AnthropicModel2["CLAUDE_4_6_OPUS_1_0"] = "CLAUDE_4_6_OPUS_1_0";
|
|
3563
|
+
AnthropicModel2["CLAUDE_4_6_SONNET_1_0"] = "CLAUDE_4_6_SONNET_1_0";
|
|
3656
3564
|
return AnthropicModel2;
|
|
3657
3565
|
})(AnthropicModel || {});
|
|
3658
3566
|
var MessageRoleRole = /* @__PURE__ */ ((MessageRoleRole2) => {
|
|
@@ -4012,6 +3920,10 @@ var V1ResponsesModel = /* @__PURE__ */ ((V1ResponsesModel2) => {
|
|
|
4012
3920
|
V1ResponsesModel2["GPT_EXP_RESPONSES_3"] = "GPT_EXP_RESPONSES_3";
|
|
4013
3921
|
V1ResponsesModel2["GPT_5_1_CODEX_MAX"] = "GPT_5_1_CODEX_MAX";
|
|
4014
3922
|
V1ResponsesModel2["GPT_5_2_2025_12_11"] = "GPT_5_2_2025_12_11";
|
|
3923
|
+
V1ResponsesModel2["GPT_5_2_CODEX"] = "GPT_5_2_CODEX";
|
|
3924
|
+
V1ResponsesModel2["GPT_5_3_CODEX"] = "GPT_5_3_CODEX";
|
|
3925
|
+
V1ResponsesModel2["GPT_5_4_2026_03_05"] = "GPT_5_4_2026_03_05";
|
|
3926
|
+
V1ResponsesModel2["GPT_5_4_PRO_2026_03_05"] = "GPT_5_4_PRO_2026_03_05";
|
|
4015
3927
|
return V1ResponsesModel2;
|
|
4016
3928
|
})(V1ResponsesModel || {});
|
|
4017
3929
|
var ResponsesInputMessageResponsesMessageRole = /* @__PURE__ */ ((ResponsesInputMessageResponsesMessageRole2) => {
|
|
@@ -4052,6 +3964,15 @@ var Fireworks_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Firewo
|
|
|
4052
3964
|
Fireworks_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
|
|
4053
3965
|
return Fireworks_proxyV1ChatCompletionMessageMessageRole2;
|
|
4054
3966
|
})(Fireworks_proxyV1ChatCompletionMessageMessageRole || {});
|
|
3967
|
+
var GatewayMessageDefinitionRole = /* @__PURE__ */ ((GatewayMessageDefinitionRole2) => {
|
|
3968
|
+
GatewayMessageDefinitionRole2["UNKNOWN"] = "UNKNOWN";
|
|
3969
|
+
GatewayMessageDefinitionRole2["USER"] = "USER";
|
|
3970
|
+
GatewayMessageDefinitionRole2["ASSISTANT"] = "ASSISTANT";
|
|
3971
|
+
GatewayMessageDefinitionRole2["SYSTEM"] = "SYSTEM";
|
|
3972
|
+
GatewayMessageDefinitionRole2["TOOL"] = "TOOL";
|
|
3973
|
+
GatewayMessageDefinitionRole2["DEVELOPER"] = "DEVELOPER";
|
|
3974
|
+
return GatewayMessageDefinitionRole2;
|
|
3975
|
+
})(GatewayMessageDefinitionRole || {});
|
|
4055
3976
|
var FinishReason = /* @__PURE__ */ ((FinishReason2) => {
|
|
4056
3977
|
FinishReason2["UNKNOWN_FINISH_REASON"] = "UNKNOWN_FINISH_REASON";
|
|
4057
3978
|
FinishReason2["UNSPECIFIED"] = "UNSPECIFIED";
|
|
@@ -4098,15 +4019,6 @@ var V1ResponseTypeType = /* @__PURE__ */ ((V1ResponseTypeType2) => {
|
|
|
4098
4019
|
V1ResponseTypeType2["MESSAGE"] = "MESSAGE";
|
|
4099
4020
|
return V1ResponseTypeType2;
|
|
4100
4021
|
})(V1ResponseTypeType || {});
|
|
4101
|
-
var GatewayMessageDefinitionRole = /* @__PURE__ */ ((GatewayMessageDefinitionRole2) => {
|
|
4102
|
-
GatewayMessageDefinitionRole2["UNKNOWN"] = "UNKNOWN";
|
|
4103
|
-
GatewayMessageDefinitionRole2["USER"] = "USER";
|
|
4104
|
-
GatewayMessageDefinitionRole2["ASSISTANT"] = "ASSISTANT";
|
|
4105
|
-
GatewayMessageDefinitionRole2["SYSTEM"] = "SYSTEM";
|
|
4106
|
-
GatewayMessageDefinitionRole2["TOOL"] = "TOOL";
|
|
4107
|
-
GatewayMessageDefinitionRole2["DEVELOPER"] = "DEVELOPER";
|
|
4108
|
-
return GatewayMessageDefinitionRole2;
|
|
4109
|
-
})(GatewayMessageDefinitionRole || {});
|
|
4110
4022
|
var OpenaiproxyV1EmbeddingModel = /* @__PURE__ */ ((OpenaiproxyV1EmbeddingModel2) => {
|
|
4111
4023
|
OpenaiproxyV1EmbeddingModel2["UNKNOWN_EMBEDDING_MODEL"] = "UNKNOWN_EMBEDDING_MODEL";
|
|
4112
4024
|
OpenaiproxyV1EmbeddingModel2["TEXT_EMBEDDING_ADA_002"] = "TEXT_EMBEDDING_ADA_002";
|
|
@@ -5066,7 +4978,8 @@ async function pollImageGenerationResult2(options) {
|
|
|
5066
4978
|
replicateGetResultRequest: options?.replicateGetResultRequest,
|
|
5067
4979
|
bflGetResultRequest: options?.bflGetResultRequest,
|
|
5068
4980
|
runwareGetTaskResultRequest: options?.runwareGetTaskResultRequest,
|
|
5069
|
-
openAiGetVideoResultRequest: options?.openAiGetVideoResultRequest
|
|
4981
|
+
openAiGetVideoResultRequest: options?.openAiGetVideoResultRequest,
|
|
4982
|
+
bytedanceGetContentTaskRequest: options?.bytedanceGetContentTaskRequest
|
|
5070
4983
|
});
|
|
5071
4984
|
const reqOpts = pollImageGenerationResult(payload);
|
|
5072
4985
|
sideEffects?.onSiteCall?.();
|
|
@@ -5084,7 +4997,8 @@ async function pollImageGenerationResult2(options) {
|
|
|
5084
4997
|
replicateGetResultRequest: "$[0].replicateGetResultRequest",
|
|
5085
4998
|
bflGetResultRequest: "$[0].bflGetResultRequest",
|
|
5086
4999
|
runwareGetTaskResultRequest: "$[0].runwareGetTaskResultRequest",
|
|
5087
|
-
openAiGetVideoResultRequest: "$[0].openAiGetVideoResultRequest"
|
|
5000
|
+
openAiGetVideoResultRequest: "$[0].openAiGetVideoResultRequest",
|
|
5001
|
+
bytedanceGetContentTaskRequest: "$[0].bytedanceGetContentTaskRequest"
|
|
5088
5002
|
},
|
|
5089
5003
|
singleArgumentUnchanged: false
|
|
5090
5004
|
},
|
|
@@ -5314,7 +5228,6 @@ var pollImageGenerationResult4 = /* @__PURE__ */ (0, import_rest_modules3.create
|
|
|
5314
5228
|
0 && (module.exports = {
|
|
5315
5229
|
AnthropicModel,
|
|
5316
5230
|
CacheControlType,
|
|
5317
|
-
ChatBisonModel,
|
|
5318
5231
|
ChatCompletionMessageMessageRole,
|
|
5319
5232
|
ChatCompletionModel,
|
|
5320
5233
|
ClaudeModel,
|