@wix/auto_sdk_ai-gateway_generators 1.0.76 → 1.0.78

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 +246 -6
  2. package/build/cjs/index.js +93 -3
  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 +93 -3
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +240 -4
  8. package/build/cjs/meta.js +89 -1
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +246 -6
  11. package/build/es/index.mjs +93 -3
  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 +93 -3
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +240 -4
  17. package/build/es/meta.mjs +89 -1
  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 +93 -3
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +256 -16
  23. package/build/internal/cjs/index.typings.js +93 -3
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +240 -4
  26. package/build/internal/cjs/meta.js +89 -1
  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 +93 -3
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +256 -16
  32. package/build/internal/es/index.typings.mjs +93 -3
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +240 -4
  35. package/build/internal/es/meta.mjs +89 -1
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
package/build/cjs/meta.js CHANGED
@@ -251,6 +251,12 @@ function generateTextByPrompt(payload) {
251
251
  {
252
252
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
253
253
  },
254
+ {
255
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
256
+ },
257
+ {
258
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
259
+ },
254
260
  { path: "response.openAiResponsesResponse.temperature" },
255
261
  {
256
262
  path: "materializedPrompt.openAiChatCompletionRequest.temperature"
@@ -457,6 +463,12 @@ function generateTextByPromptStreamed(payload) {
457
463
  {
458
464
  path: "googleGeminiStreamChunk.candidates.safetyRatings.severityScore"
459
465
  },
466
+ {
467
+ path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.probabilityScore"
468
+ },
469
+ {
470
+ path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.severityScore"
471
+ },
460
472
  {
461
473
  path: "googleGeminiStreamChunk.candidates.groundingMetadata.groundingSupports.confidenceScores",
462
474
  isRepeated: true
@@ -599,6 +611,12 @@ function generateTextByPromptObject(payload) {
599
611
  {
600
612
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
601
613
  },
614
+ {
615
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
616
+ },
617
+ {
618
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
619
+ },
602
620
  { path: "response.openAiResponsesResponse.temperature" },
603
621
  {
604
622
  path: "materializedPrompt.openAiChatCompletionRequest.temperature"
@@ -898,6 +916,12 @@ function generateTextByPromptObjectStreamed(payload) {
898
916
  {
899
917
  path: "googleGeminiStreamChunk.candidates.safetyRatings.severityScore"
900
918
  },
919
+ {
920
+ path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.probabilityScore"
921
+ },
922
+ {
923
+ path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.severityScore"
924
+ },
901
925
  {
902
926
  path: "googleGeminiStreamChunk.candidates.groundingMetadata.groundingSupports.confidenceScores",
903
927
  isRepeated: true
@@ -987,6 +1011,12 @@ function generateTextByProject(payload) {
987
1011
  {
988
1012
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
989
1013
  },
1014
+ {
1015
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
1016
+ },
1017
+ {
1018
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
1019
+ },
990
1020
  { path: "response.openAiResponsesResponse.temperature" },
991
1021
  {
992
1022
  path: "materializedPrompt.openAiChatCompletionRequest.temperature"
@@ -1193,6 +1223,12 @@ function generateTextByProjectStreamed(payload) {
1193
1223
  {
1194
1224
  path: "googleGeminiStreamChunk.candidates.safetyRatings.severityScore"
1195
1225
  },
1226
+ {
1227
+ path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.probabilityScore"
1228
+ },
1229
+ {
1230
+ path: "googleGeminiStreamChunk.promptFeedback.safetyRatings.severityScore"
1231
+ },
1196
1232
  {
1197
1233
  path: "googleGeminiStreamChunk.candidates.groundingMetadata.groundingSupports.confidenceScores",
1198
1234
  isRepeated: true
@@ -1920,6 +1956,12 @@ function generateContentByPrompt(payload) {
1920
1956
  {
1921
1957
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
1922
1958
  },
1959
+ {
1960
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
1961
+ },
1962
+ {
1963
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
1964
+ },
1923
1965
  {
1924
1966
  path: "response.googleGenerateImageResponse.predictions.safetyAttributes.scores",
1925
1967
  isRepeated: true
@@ -2131,6 +2173,12 @@ function generateContentByProject(payload) {
2131
2173
  {
2132
2174
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
2133
2175
  },
2176
+ {
2177
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
2178
+ },
2179
+ {
2180
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
2181
+ },
2134
2182
  {
2135
2183
  path: "response.googleGenerateImageResponse.predictions.safetyAttributes.scores",
2136
2184
  isRepeated: true
@@ -2435,6 +2483,12 @@ function generateContentByPromptObject(payload) {
2435
2483
  {
2436
2484
  path: "response.googleGeminiGenerateContentResponse.candidates.safetyRatings.severityScore"
2437
2485
  },
2486
+ {
2487
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.probabilityScore"
2488
+ },
2489
+ {
2490
+ path: "response.googleGeminiGenerateContentResponse.promptFeedback.safetyRatings.severityScore"
2491
+ },
2438
2492
  {
2439
2493
  path: "response.googleGenerateImageResponse.predictions.safetyAttributes.scores",
2440
2494
  isRepeated: true
@@ -3140,7 +3194,38 @@ function editImage(payload) {
3140
3194
  { path: "replicateEditImageResponse.metrics.predictTime" },
3141
3195
  { path: "replicateEditImageResponse.metrics.totalTime" },
3142
3196
  { path: "replicateExtractFromImageResponse.metrics.extractTime" },
3143
- { path: "replicateExtractFromImageResponse.metrics.totalTime" }
3197
+ { path: "replicateExtractFromImageResponse.metrics.totalTime" },
3198
+ { path: "googleDetectTextResponse.textAnnotations.confidence" },
3199
+ {
3200
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.confidence"
3201
+ },
3202
+ {
3203
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.property.detectedLanguages.confidence"
3204
+ },
3205
+ {
3206
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.confidence"
3207
+ },
3208
+ {
3209
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.property.detectedLanguages.confidence"
3210
+ },
3211
+ {
3212
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.confidence"
3213
+ },
3214
+ {
3215
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.property.detectedLanguages.confidence"
3216
+ },
3217
+ {
3218
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.confidence"
3219
+ },
3220
+ {
3221
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.property.detectedLanguages.confidence"
3222
+ },
3223
+ {
3224
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.symbols.confidence"
3225
+ },
3226
+ {
3227
+ path: "googleDetectTextResponse.fullTextAnnotation.pages.blocks.paragraphs.words.symbols.property.detectedLanguages.confidence"
3228
+ }
3144
3229
  ]
3145
3230
  }
3146
3231
  ])
@@ -3273,6 +3358,8 @@ var GoogleproxyV1Model = /* @__PURE__ */ ((GoogleproxyV1Model2) => {
3273
3358
  GoogleproxyV1Model2["GEMINI_3_0_PRO_IMAGE"] = "GEMINI_3_0_PRO_IMAGE";
3274
3359
  GoogleproxyV1Model2["GEMINI_3_0_FLASH"] = "GEMINI_3_0_FLASH";
3275
3360
  GoogleproxyV1Model2["GEMINI_3_1_PRO"] = "GEMINI_3_1_PRO";
3361
+ GoogleproxyV1Model2["GEMINI_3_1_FLASH_IMAGE"] = "GEMINI_3_1_FLASH_IMAGE";
3362
+ GoogleproxyV1Model2["GEMINI_3_1_FLASH_LITE"] = "GEMINI_3_1_FLASH_LITE";
3276
3363
  return GoogleproxyV1Model2;
3277
3364
  })(GoogleproxyV1Model || {});
3278
3365
  var ContentRole = /* @__PURE__ */ ((ContentRole2) => {
@@ -3887,6 +3974,7 @@ var FinishReason = /* @__PURE__ */ ((FinishReason2) => {
3887
3974
  FinishReason2["SPII"] = "SPII";
3888
3975
  FinishReason2["MALFORMED_FUNCTION_CALL"] = "MALFORMED_FUNCTION_CALL";
3889
3976
  FinishReason2["IMAGE_SAFETY"] = "IMAGE_SAFETY";
3977
+ FinishReason2["MODEL_ARMOR"] = "MODEL_ARMOR";
3890
3978
  FinishReason2["UNEXPECTED_TOOL_CALL"] = "UNEXPECTED_TOOL_CALL";
3891
3979
  FinishReason2["TOO_MANY_TOOL_CALLS"] = "TOO_MANY_TOOL_CALLS";
3892
3980
  FinishReason2["IMAGE_PROHIBITED_CONTENT"] = "IMAGE_PROHIBITED_CONTENT";