@wix/auto_sdk_ai-gateway_generators 1.0.62 → 1.0.63

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 +395 -7
  2. package/build/cjs/index.js +158 -0
  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 +158 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +393 -7
  8. package/build/cjs/meta.js +158 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +395 -7
  11. package/build/es/index.mjs +157 -0
  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 +157 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +393 -7
  17. package/build/es/meta.mjs +157 -0
  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 +158 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +405 -17
  23. package/build/internal/cjs/index.typings.js +158 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +393 -7
  26. package/build/internal/cjs/meta.js +158 -0
  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 +157 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +405 -17
  32. package/build/internal/es/index.typings.mjs +157 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +393 -7
  35. package/build/internal/es/meta.mjs +157 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -41,6 +41,7 @@ __export(index_typings_exports, {
41
41
  EntityType: () => EntityType,
42
42
  Environment: () => Environment,
43
43
  FinishReason: () => FinishReason,
44
+ Fireworks_proxyV1ChatCompletionMessageMessageRole: () => Fireworks_proxyV1ChatCompletionMessageMessageRole,
44
45
  GatewayMessageDefinitionRole: () => GatewayMessageDefinitionRole,
45
46
  GenerateAnImageModel: () => GenerateAnImageModel,
46
47
  GenerateCoreRequestStylePreset: () => GenerateCoreRequestStylePreset,
@@ -392,6 +393,18 @@ function generateTextByPrompt(payload) {
392
393
  path: "materializedPrompt.azureOpenAiResponsesRequest.temperature"
393
394
  },
394
395
  { path: "materializedPrompt.azureOpenAiResponsesRequest.topP" },
396
+ {
397
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.temperature"
398
+ },
399
+ {
400
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.topP"
401
+ },
402
+ {
403
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
404
+ },
405
+ {
406
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
407
+ },
395
408
  {
396
409
  path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
397
410
  isRepeated: true
@@ -570,6 +583,12 @@ function generateTextByPromptObject(payload) {
570
583
  { path: "prompt.openAiResponsesRequest.topP" },
571
584
  { path: "prompt.azureOpenAiResponsesRequest.temperature" },
572
585
  { path: "prompt.azureOpenAiResponsesRequest.topP" },
586
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.temperature" },
587
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.topP" },
588
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.presencePenalty" },
589
+ {
590
+ path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
591
+ },
573
592
  { path: "prompt.llamaModelRequest.temperature" },
574
593
  { path: "prompt.llamaModelRequest.topP" },
575
594
  { path: "prompt.runwareTextToImageRequest.cfgScale" },
@@ -746,6 +765,18 @@ function generateTextByPromptObject(payload) {
746
765
  path: "materializedPrompt.azureOpenAiResponsesRequest.temperature"
747
766
  },
748
767
  { path: "materializedPrompt.azureOpenAiResponsesRequest.topP" },
768
+ {
769
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.temperature"
770
+ },
771
+ {
772
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.topP"
773
+ },
774
+ {
775
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
776
+ },
777
+ {
778
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
779
+ },
749
780
  {
750
781
  path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
751
782
  isRepeated: true
@@ -875,6 +906,12 @@ function generateTextByPromptObjectStreamed(payload) {
875
906
  { path: "prompt.openAiResponsesRequest.topP" },
876
907
  { path: "prompt.azureOpenAiResponsesRequest.temperature" },
877
908
  { path: "prompt.azureOpenAiResponsesRequest.topP" },
909
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.temperature" },
910
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.topP" },
911
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.presencePenalty" },
912
+ {
913
+ path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
914
+ },
878
915
  { path: "prompt.llamaModelRequest.temperature" },
879
916
  { path: "prompt.llamaModelRequest.topP" },
880
917
  { path: "prompt.runwareTextToImageRequest.cfgScale" },
@@ -1140,6 +1177,18 @@ function generateTextByProject(payload) {
1140
1177
  path: "materializedPrompt.azureOpenAiResponsesRequest.temperature"
1141
1178
  },
1142
1179
  { path: "materializedPrompt.azureOpenAiResponsesRequest.topP" },
1180
+ {
1181
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.temperature"
1182
+ },
1183
+ {
1184
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.topP"
1185
+ },
1186
+ {
1187
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
1188
+ },
1189
+ {
1190
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
1191
+ },
1143
1192
  {
1144
1193
  path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
1145
1194
  isRepeated: true
@@ -1413,6 +1462,18 @@ function generateImageByProject(payload) {
1413
1462
  path: "materializedPrompt.azureOpenAiResponsesRequest.temperature"
1414
1463
  },
1415
1464
  { path: "materializedPrompt.azureOpenAiResponsesRequest.topP" },
1465
+ {
1466
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.temperature"
1467
+ },
1468
+ {
1469
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.topP"
1470
+ },
1471
+ {
1472
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
1473
+ },
1474
+ {
1475
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
1476
+ },
1416
1477
  { path: "materializedPrompt.llamaModelRequest.temperature" },
1417
1478
  { path: "materializedPrompt.llamaModelRequest.topP" },
1418
1479
  { path: "materializedPrompt.runwareTextToImageRequest.cfgScale" },
@@ -1601,6 +1662,18 @@ function generateImageByPrompt(payload) {
1601
1662
  path: "materializedPrompt.azureOpenAiResponsesRequest.temperature"
1602
1663
  },
1603
1664
  { path: "materializedPrompt.azureOpenAiResponsesRequest.topP" },
1665
+ {
1666
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.temperature"
1667
+ },
1668
+ {
1669
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.topP"
1670
+ },
1671
+ {
1672
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
1673
+ },
1674
+ {
1675
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
1676
+ },
1604
1677
  { path: "materializedPrompt.llamaModelRequest.temperature" },
1605
1678
  { path: "materializedPrompt.llamaModelRequest.topP" },
1606
1679
  { path: "materializedPrompt.runwareTextToImageRequest.cfgScale" },
@@ -1715,6 +1788,12 @@ function generateImageByPromptObject(payload) {
1715
1788
  { path: "prompt.openAiResponsesRequest.topP" },
1716
1789
  { path: "prompt.azureOpenAiResponsesRequest.temperature" },
1717
1790
  { path: "prompt.azureOpenAiResponsesRequest.topP" },
1791
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.temperature" },
1792
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.topP" },
1793
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.presencePenalty" },
1794
+ {
1795
+ path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
1796
+ },
1718
1797
  { path: "prompt.llamaModelRequest.temperature" },
1719
1798
  { path: "prompt.llamaModelRequest.topP" },
1720
1799
  { path: "prompt.runwareTextToImageRequest.cfgScale" },
@@ -1880,6 +1959,18 @@ function generateImageByPromptObject(payload) {
1880
1959
  path: "materializedPrompt.azureOpenAiResponsesRequest.temperature"
1881
1960
  },
1882
1961
  { path: "materializedPrompt.azureOpenAiResponsesRequest.topP" },
1962
+ {
1963
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.temperature"
1964
+ },
1965
+ {
1966
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.topP"
1967
+ },
1968
+ {
1969
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
1970
+ },
1971
+ {
1972
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
1973
+ },
1883
1974
  { path: "materializedPrompt.llamaModelRequest.temperature" },
1884
1975
  { path: "materializedPrompt.llamaModelRequest.topP" },
1885
1976
  { path: "materializedPrompt.runwareTextToImageRequest.cfgScale" },
@@ -2084,6 +2175,18 @@ function generateContentByPrompt(payload) {
2084
2175
  path: "materializedPrompt.azureOpenAiResponsesRequest.temperature"
2085
2176
  },
2086
2177
  { path: "materializedPrompt.azureOpenAiResponsesRequest.topP" },
2178
+ {
2179
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.temperature"
2180
+ },
2181
+ {
2182
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.topP"
2183
+ },
2184
+ {
2185
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
2186
+ },
2187
+ {
2188
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
2189
+ },
2087
2190
  {
2088
2191
  path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
2089
2192
  isRepeated: true
@@ -2303,6 +2406,18 @@ function generateContentByProject(payload) {
2303
2406
  path: "materializedPrompt.azureOpenAiResponsesRequest.temperature"
2304
2407
  },
2305
2408
  { path: "materializedPrompt.azureOpenAiResponsesRequest.topP" },
2409
+ {
2410
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.temperature"
2411
+ },
2412
+ {
2413
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.topP"
2414
+ },
2415
+ {
2416
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
2417
+ },
2418
+ {
2419
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
2420
+ },
2306
2421
  {
2307
2422
  path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
2308
2423
  isRepeated: true
@@ -2432,6 +2547,12 @@ function generateContentByPromptObject(payload) {
2432
2547
  { path: "prompt.openAiResponsesRequest.topP" },
2433
2548
  { path: "prompt.azureOpenAiResponsesRequest.temperature" },
2434
2549
  { path: "prompt.azureOpenAiResponsesRequest.topP" },
2550
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.temperature" },
2551
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.topP" },
2552
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.presencePenalty" },
2553
+ {
2554
+ path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
2555
+ },
2435
2556
  { path: "prompt.llamaModelRequest.temperature" },
2436
2557
  { path: "prompt.llamaModelRequest.topP" },
2437
2558
  { path: "prompt.runwareTextToImageRequest.cfgScale" },
@@ -2613,6 +2734,18 @@ function generateContentByPromptObject(payload) {
2613
2734
  path: "materializedPrompt.azureOpenAiResponsesRequest.temperature"
2614
2735
  },
2615
2736
  { path: "materializedPrompt.azureOpenAiResponsesRequest.topP" },
2737
+ {
2738
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.temperature"
2739
+ },
2740
+ {
2741
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.topP"
2742
+ },
2743
+ {
2744
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
2745
+ },
2746
+ {
2747
+ path: "materializedPrompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
2748
+ },
2616
2749
  {
2617
2750
  path: "response.googleGeminiGenerateContentResponse.candidates.groundingMetadata.groundingSupports.confidenceScores",
2618
2751
  isRepeated: true
@@ -2892,6 +3025,12 @@ function publishPrompt(payload) {
2892
3025
  { path: "prompt.openAiResponsesRequest.topP" },
2893
3026
  { path: "prompt.azureOpenAiResponsesRequest.temperature" },
2894
3027
  { path: "prompt.azureOpenAiResponsesRequest.topP" },
3028
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.temperature" },
3029
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.topP" },
3030
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.presencePenalty" },
3031
+ {
3032
+ path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
3033
+ },
2895
3034
  { path: "prompt.llamaModelRequest.temperature" },
2896
3035
  { path: "prompt.llamaModelRequest.topP" },
2897
3036
  { path: "prompt.runwareTextToImageRequest.cfgScale" },
@@ -3032,6 +3171,14 @@ function getPrompt(payload) {
3032
3171
  { path: "prompt.openAiResponsesRequest.topP" },
3033
3172
  { path: "prompt.azureOpenAiResponsesRequest.temperature" },
3034
3173
  { path: "prompt.azureOpenAiResponsesRequest.topP" },
3174
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.temperature" },
3175
+ { path: "prompt.fireworksInvokeCustomOpenAiRequest.topP" },
3176
+ {
3177
+ path: "prompt.fireworksInvokeCustomOpenAiRequest.presencePenalty"
3178
+ },
3179
+ {
3180
+ path: "prompt.fireworksInvokeCustomOpenAiRequest.frequencyPenalty"
3181
+ },
3035
3182
  { path: "prompt.llamaModelRequest.temperature" },
3036
3183
  { path: "prompt.llamaModelRequest.topP" },
3037
3184
  { path: "prompt.runwareTextToImageRequest.cfgScale" },
@@ -3887,6 +4034,16 @@ var V1VideoModel = /* @__PURE__ */ ((V1VideoModel2) => {
3887
4034
  V1VideoModel2["SORA_2_PRO"] = "SORA_2_PRO";
3888
4035
  return V1VideoModel2;
3889
4036
  })(V1VideoModel || {});
4037
+ var Fireworks_proxyV1ChatCompletionMessageMessageRole = /* @__PURE__ */ ((Fireworks_proxyV1ChatCompletionMessageMessageRole2) => {
4038
+ Fireworks_proxyV1ChatCompletionMessageMessageRole2["UNKNOWN"] = "UNKNOWN";
4039
+ Fireworks_proxyV1ChatCompletionMessageMessageRole2["USER"] = "USER";
4040
+ Fireworks_proxyV1ChatCompletionMessageMessageRole2["ASSISTANT"] = "ASSISTANT";
4041
+ Fireworks_proxyV1ChatCompletionMessageMessageRole2["SYSTEM"] = "SYSTEM";
4042
+ Fireworks_proxyV1ChatCompletionMessageMessageRole2["FUNCTION"] = "FUNCTION";
4043
+ Fireworks_proxyV1ChatCompletionMessageMessageRole2["TOOL"] = "TOOL";
4044
+ Fireworks_proxyV1ChatCompletionMessageMessageRole2["DEVELOPER"] = "DEVELOPER";
4045
+ return Fireworks_proxyV1ChatCompletionMessageMessageRole2;
4046
+ })(Fireworks_proxyV1ChatCompletionMessageMessageRole || {});
3890
4047
  var FinishReason = /* @__PURE__ */ ((FinishReason2) => {
3891
4048
  FinishReason2["UNKNOWN_FINISH_REASON"] = "UNKNOWN_FINISH_REASON";
3892
4049
  FinishReason2["UNSPECIFIED"] = "UNSPECIFIED";
@@ -4945,6 +5102,7 @@ async function pollImageGenerationResult2(options) {
4945
5102
  EntityType,
4946
5103
  Environment,
4947
5104
  FinishReason,
5105
+ Fireworks_proxyV1ChatCompletionMessageMessageRole,
4948
5106
  GatewayMessageDefinitionRole,
4949
5107
  GenerateAnImageModel,
4950
5108
  GenerateCoreRequestStylePreset,