@google/genai 2.10.0 → 2.11.0

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.
@@ -832,7 +832,7 @@ var PhishBlockThreshold;
832
832
  */
833
833
  PhishBlockThreshold["BLOCK_ONLY_EXTREMELY_HIGH"] = "BLOCK_ONLY_EXTREMELY_HIGH";
834
834
  })(PhishBlockThreshold || (PhishBlockThreshold = {}));
835
- /** Specifies the function Behavior. Currently only non-blocking functions are supported. If not specified, the system keeps the current function call behavior. This field is currently only supported by the BidiGenerateContent method. */
835
+ /** Specifies the function Behavior. If not specified, the system keeps the current function call behavior. This field is currently only supported by the BidiGenerateContent method. */
836
836
  var Behavior;
837
837
  (function (Behavior) {
838
838
  /**
@@ -1346,6 +1346,110 @@ var Modality;
1346
1346
  */
1347
1347
  Modality["VIDEO"] = "VIDEO";
1348
1348
  })(Modality || (Modality = {}));
1349
+ /** Delivery mode for the generated content. */
1350
+ var Delivery;
1351
+ (function (Delivery) {
1352
+ /**
1353
+ * Default value. This value is unused.
1354
+ */
1355
+ Delivery["DELIVERY_UNSPECIFIED"] = "DELIVERY_UNSPECIFIED";
1356
+ /**
1357
+ * Generated bytes are returned inline in the response.
1358
+ */
1359
+ Delivery["INLINE"] = "INLINE";
1360
+ /**
1361
+ * Generated content is stored and a URI is returned.
1362
+ */
1363
+ Delivery["URI"] = "URI";
1364
+ })(Delivery || (Delivery = {}));
1365
+ /** The aspect ratio for the image output. */
1366
+ var AspectRatio;
1367
+ (function (AspectRatio) {
1368
+ /**
1369
+ * Default value. This value is unused.
1370
+ */
1371
+ AspectRatio["ASPECT_RATIO_UNSPECIFIED"] = "ASPECT_RATIO_UNSPECIFIED";
1372
+ /**
1373
+ * 1:1 aspect ratio.
1374
+ */
1375
+ AspectRatio["ASPECT_RATIO_ONE_BY_ONE"] = "ASPECT_RATIO_ONE_BY_ONE";
1376
+ /**
1377
+ * 2:3 aspect ratio.
1378
+ */
1379
+ AspectRatio["ASPECT_RATIO_TWO_BY_THREE"] = "ASPECT_RATIO_TWO_BY_THREE";
1380
+ /**
1381
+ * 3:2 aspect ratio.
1382
+ */
1383
+ AspectRatio["ASPECT_RATIO_THREE_BY_TWO"] = "ASPECT_RATIO_THREE_BY_TWO";
1384
+ /**
1385
+ * 3:4 aspect ratio.
1386
+ */
1387
+ AspectRatio["ASPECT_RATIO_THREE_BY_FOUR"] = "ASPECT_RATIO_THREE_BY_FOUR";
1388
+ /**
1389
+ * 4:3 aspect ratio.
1390
+ */
1391
+ AspectRatio["ASPECT_RATIO_FOUR_BY_THREE"] = "ASPECT_RATIO_FOUR_BY_THREE";
1392
+ /**
1393
+ * 4:5 aspect ratio.
1394
+ */
1395
+ AspectRatio["ASPECT_RATIO_FOUR_BY_FIVE"] = "ASPECT_RATIO_FOUR_BY_FIVE";
1396
+ /**
1397
+ * 5:4 aspect ratio.
1398
+ */
1399
+ AspectRatio["ASPECT_RATIO_FIVE_BY_FOUR"] = "ASPECT_RATIO_FIVE_BY_FOUR";
1400
+ /**
1401
+ * 9:16 aspect ratio.
1402
+ */
1403
+ AspectRatio["ASPECT_RATIO_NINE_BY_SIXTEEN"] = "ASPECT_RATIO_NINE_BY_SIXTEEN";
1404
+ /**
1405
+ * 16:9 aspect ratio.
1406
+ */
1407
+ AspectRatio["ASPECT_RATIO_SIXTEEN_BY_NINE"] = "ASPECT_RATIO_SIXTEEN_BY_NINE";
1408
+ /**
1409
+ * 21:9 aspect ratio.
1410
+ */
1411
+ AspectRatio["ASPECT_RATIO_TWENTY_ONE_BY_NINE"] = "ASPECT_RATIO_TWENTY_ONE_BY_NINE";
1412
+ /**
1413
+ * 1:8 aspect ratio.
1414
+ */
1415
+ AspectRatio["ASPECT_RATIO_ONE_BY_EIGHT"] = "ASPECT_RATIO_ONE_BY_EIGHT";
1416
+ /**
1417
+ * 8:1 aspect ratio.
1418
+ */
1419
+ AspectRatio["ASPECT_RATIO_EIGHT_BY_ONE"] = "ASPECT_RATIO_EIGHT_BY_ONE";
1420
+ /**
1421
+ * 1:4 aspect ratio.
1422
+ */
1423
+ AspectRatio["ASPECT_RATIO_ONE_BY_FOUR"] = "ASPECT_RATIO_ONE_BY_FOUR";
1424
+ /**
1425
+ * 4:1 aspect ratio.
1426
+ */
1427
+ AspectRatio["ASPECT_RATIO_FOUR_BY_ONE"] = "ASPECT_RATIO_FOUR_BY_ONE";
1428
+ })(AspectRatio || (AspectRatio = {}));
1429
+ /** The size of the image output. */
1430
+ var ImageSize;
1431
+ (function (ImageSize) {
1432
+ /**
1433
+ * Default value. This value is unused.
1434
+ */
1435
+ ImageSize["IMAGE_SIZE_UNSPECIFIED"] = "IMAGE_SIZE_UNSPECIFIED";
1436
+ /**
1437
+ * 512px image size.
1438
+ */
1439
+ ImageSize["IMAGE_SIZE_FIVE_TWELVE"] = "IMAGE_SIZE_FIVE_TWELVE";
1440
+ /**
1441
+ * 1K image size.
1442
+ */
1443
+ ImageSize["IMAGE_SIZE_ONE_K"] = "IMAGE_SIZE_ONE_K";
1444
+ /**
1445
+ * 2K image size.
1446
+ */
1447
+ ImageSize["IMAGE_SIZE_TWO_K"] = "IMAGE_SIZE_TWO_K";
1448
+ /**
1449
+ * 4K image size.
1450
+ */
1451
+ ImageSize["IMAGE_SIZE_FOUR_K"] = "IMAGE_SIZE_FOUR_K";
1452
+ })(ImageSize || (ImageSize = {}));
1349
1453
  /** Tuning mode. This enum is not supported in Gemini API. */
1350
1454
  var TuningMode;
1351
1455
  (function (TuningMode) {
@@ -1394,6 +1498,58 @@ var AdapterSize;
1394
1498
  */
1395
1499
  AdapterSize["ADAPTER_SIZE_THIRTY_TWO"] = "ADAPTER_SIZE_THIRTY_TWO";
1396
1500
  })(AdapterSize || (AdapterSize = {}));
1501
+ /** Defines the type for parsing sample response. This enum is not supported in Gemini API. */
1502
+ var ResponseParseType;
1503
+ (function (ResponseParseType) {
1504
+ /**
1505
+ * Default value. Fallback to IDENTITY
1506
+ */
1507
+ ResponseParseType["RESPONSE_PARSE_TYPE_UNSPECIFIED"] = "RESPONSE_PARSE_TYPE_UNSPECIFIED";
1508
+ /**
1509
+ * Returns the sample response as is.
1510
+ */
1511
+ ResponseParseType["IDENTITY"] = "IDENTITY";
1512
+ /**
1513
+ * Uses regex to extract the important part of sample response. Similar to [GoogleSQL](https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#regexp_extract) `REGEX_EXTRACT(response, regex_extract_expression)`, but different in that if there are multiple matches, the last match will be returned.
1514
+ */
1515
+ ResponseParseType["REGEX_EXTRACT"] = "REGEX_EXTRACT";
1516
+ })(ResponseParseType || (ResponseParseType = {}));
1517
+ /** Match operation to use for evaluating rewards. This enum is not supported in Gemini API. */
1518
+ var MatchOperation;
1519
+ (function (MatchOperation) {
1520
+ /**
1521
+ * Default value. A user error will be returned if not set.
1522
+ */
1523
+ MatchOperation["MATCH_OPERATION_UNSPECIFIED"] = "MATCH_OPERATION_UNSPECIFIED";
1524
+ /**
1525
+ * Equivalent to [GoogleSQL](https://cloud.google.com/bigquery/docs/reference/standard-sql/string_functions#regexp_contains) `REGEX_CONTAINS(target, expression)`.
1526
+ */
1527
+ MatchOperation["REGEX_CONTAINS"] = "REGEX_CONTAINS";
1528
+ /**
1529
+ * The match operation returns `true` if expression is a substring of the target.
1530
+ */
1531
+ MatchOperation["PARTIAL_MATCH"] = "PARTIAL_MATCH";
1532
+ /**
1533
+ * The match operation returns `true` expression is an exact match of the target.
1534
+ */
1535
+ MatchOperation["EXACT_MATCH"] = "EXACT_MATCH";
1536
+ })(MatchOperation || (MatchOperation = {}));
1537
+ /** Represents how much to think for the tuning job. */
1538
+ var ReinforcementTuningThinkingLevel;
1539
+ (function (ReinforcementTuningThinkingLevel) {
1540
+ /**
1541
+ * Unspecified thinking level.
1542
+ */
1543
+ ReinforcementTuningThinkingLevel["REINFORCEMENT_TUNING_THINKING_LEVEL_UNSPECIFIED"] = "REINFORCEMENT_TUNING_THINKING_LEVEL_UNSPECIFIED";
1544
+ /**
1545
+ * Little to no thinking.
1546
+ */
1547
+ ReinforcementTuningThinkingLevel["MINIMAL"] = "MINIMAL";
1548
+ /**
1549
+ * High thinking level.
1550
+ */
1551
+ ReinforcementTuningThinkingLevel["HIGH"] = "HIGH";
1552
+ })(ReinforcementTuningThinkingLevel || (ReinforcementTuningThinkingLevel = {}));
1397
1553
  /** Job state. */
1398
1554
  var JobState;
1399
1555
  (function (JobState) {
@@ -1878,58 +2034,6 @@ var ImageResizeMode;
1878
2034
  */
1879
2035
  ImageResizeMode["PAD"] = "PAD";
1880
2036
  })(ImageResizeMode || (ImageResizeMode = {}));
1881
- /** Defines how to parse sample response. */
1882
- var ResponseParseType;
1883
- (function (ResponseParseType) {
1884
- /**
1885
- * Default value. This value is unused.
1886
- */
1887
- ResponseParseType["RESPONSE_PARSE_TYPE_UNSPECIFIED"] = "RESPONSE_PARSE_TYPE_UNSPECIFIED";
1888
- /**
1889
- * Use the sample response as is.
1890
- */
1891
- ResponseParseType["IDENTITY"] = "IDENTITY";
1892
- /**
1893
- * Use regex to extract the important part of sample response.
1894
- */
1895
- ResponseParseType["REGEX_EXTRACT"] = "REGEX_EXTRACT";
1896
- })(ResponseParseType || (ResponseParseType = {}));
1897
- /** Match operation to use for evaluation. */
1898
- var MatchOperation;
1899
- (function (MatchOperation) {
1900
- /**
1901
- * Default value. This value is unused.
1902
- */
1903
- MatchOperation["MATCH_OPERATION_UNSPECIFIED"] = "MATCH_OPERATION_UNSPECIFIED";
1904
- /**
1905
- * Equivalent to GoogleSQL `REGEX_CONTAINS(target, expression)`.
1906
- */
1907
- MatchOperation["REGEX_CONTAINS"] = "REGEX_CONTAINS";
1908
- /**
1909
- * `expression` is a substring of target.
1910
- */
1911
- MatchOperation["PARTIAL_MATCH"] = "PARTIAL_MATCH";
1912
- /**
1913
- * `expression` is an exact match of target.
1914
- */
1915
- MatchOperation["EXACT_MATCH"] = "EXACT_MATCH";
1916
- })(MatchOperation || (MatchOperation = {}));
1917
- /** Represents how much to think for the tuning job. */
1918
- var ReinforcementTuningThinkingLevel;
1919
- (function (ReinforcementTuningThinkingLevel) {
1920
- /**
1921
- * Unspecified thinking level.
1922
- */
1923
- ReinforcementTuningThinkingLevel["REINFORCEMENT_TUNING_THINKING_LEVEL_UNSPECIFIED"] = "REINFORCEMENT_TUNING_THINKING_LEVEL_UNSPECIFIED";
1924
- /**
1925
- * Little to no thinking.
1926
- */
1927
- ReinforcementTuningThinkingLevel["MINIMAL"] = "MINIMAL";
1928
- /**
1929
- * High thinking level.
1930
- */
1931
- ReinforcementTuningThinkingLevel["HIGH"] = "HIGH";
1932
- })(ReinforcementTuningThinkingLevel || (ReinforcementTuningThinkingLevel = {}));
1933
2037
  /** Enum representing the tuning method. */
1934
2038
  var TuningMethod;
1935
2039
  (function (TuningMethod) {
@@ -2726,6 +2830,21 @@ class ListModelsResponse {
2726
2830
  }
2727
2831
  class DeleteModelResponse {
2728
2832
  }
2833
+ /** Configuration for audio-specific output formatting. */
2834
+ class AudioResponseFormat {
2835
+ }
2836
+ /** Configuration for image-specific output formatting. */
2837
+ class ImageResponseFormat {
2838
+ }
2839
+ /** Configuration for text-specific output formatting. */
2840
+ class TextResponseFormat {
2841
+ }
2842
+ /** Configuration for video-specific output formatting. This data type is not supported in Gemini API. */
2843
+ class VideoResponseFormat {
2844
+ }
2845
+ /** Configuration for the model to configure output formatting and delivery. This data type is not supported in Gemini API. */
2846
+ class ResponseFormat {
2847
+ }
2729
2848
  /** Response for counting tokens. */
2730
2849
  class CountTokensResponse {
2731
2850
  }
@@ -2754,10 +2873,10 @@ class GenerateVideosOperation {
2754
2873
  return operation;
2755
2874
  }
2756
2875
  }
2757
- /** Defines how to parse sample response for reinforcement tuning. */
2876
+ /** Defines how to parse sample response config for reinforcement tuning. The parsed response (i.e., substring) will be passed to the reward functions. For example, the input prompt might be: > "Perform step-by-step thoughts first to problem A, finally output answer in the <ans> </ans> block." The sample response from the model under tuning might look like: > "<ans>Yes</ans>" Here, users can define the following parse config: ``` { "parseType": "REGEX_EXTRACT", "regexExtractExpression": ".*(.*?)" } ``` The resulting parsed response would be `"Yes"` and will be passed to the reward functions for evaluating rewards. This data type is not supported in Gemini API. */
2758
2877
  class ReinforcementTuningParseResponseConfig {
2759
2878
  }
2760
- /** Scores responses by directly converting parsed autorater response to float reward (reward is clipped to be within [-1, 1]). */
2879
+ /** Scores responses by directly converting the parsed autorater response to a float reward. Note: Reward is clipped to be within `[-1, 1]`, i.e., `reward = max(min(reward, 1.0), -1.0)`. This data type is not supported in Gemini API. */
2761
2880
  class ReinforcementTuningAutoraterScorerParsedResponseConversionScorer {
2762
2881
  }
2763
2882
  /** The results from an evaluation run performed by the EvaluationService. This data type is not supported in Gemini API. */
@@ -5197,6 +5316,9 @@ function toolToMldev$4(fromObject) {
5197
5316
  }
5198
5317
  setValueByPath(toObject, ['mcpServers'], transformedList);
5199
5318
  }
5319
+ if (getValueByPath(fromObject, ['exaAiSearch']) !== undefined) {
5320
+ throw new Error('exaAiSearch parameter is only supported in Gemini Enterprise Agent Platform mode, not in Gemini Developer API mode.');
5321
+ }
5200
5322
  return toObject;
5201
5323
  }
5202
5324
  function vertexMultimodalDatasetDestinationFromVertex(fromObject) {
@@ -6667,6 +6789,9 @@ function toolToMldev$3(fromObject) {
6667
6789
  }
6668
6790
  setValueByPath(toObject, ['mcpServers'], transformedList);
6669
6791
  }
6792
+ if (getValueByPath(fromObject, ['exaAiSearch']) !== undefined) {
6793
+ throw new Error('exaAiSearch parameter is only supported in Gemini Enterprise Agent Platform mode, not in Gemini Developer API mode.');
6794
+ }
6670
6795
  return toObject;
6671
6796
  }
6672
6797
  function toolToVertex$2(fromObject) {
@@ -6740,6 +6865,10 @@ function toolToVertex$2(fromObject) {
6740
6865
  }
6741
6866
  setValueByPath(toObject, ['mcpServers'], transformedList);
6742
6867
  }
6868
+ const fromExaAiSearch = getValueByPath(fromObject, ['exaAiSearch']);
6869
+ if (fromExaAiSearch != null) {
6870
+ setValueByPath(toObject, ['exaAiSearch'], fromExaAiSearch);
6871
+ }
6743
6872
  return toObject;
6744
6873
  }
6745
6874
  function updateCachedContentConfigToMldev(fromObject, parentObject) {
@@ -8314,7 +8443,7 @@ function generationConfigToVertex$1(fromObject) {
8314
8443
  }
8315
8444
  const fromSpeechConfig = getValueByPath(fromObject, ['speechConfig']);
8316
8445
  if (fromSpeechConfig != null) {
8317
- setValueByPath(toObject, ['speechConfig'], fromSpeechConfig);
8446
+ setValueByPath(toObject, ['speechConfig'], speechConfigToVertex$1(fromSpeechConfig));
8318
8447
  }
8319
8448
  const fromStopSequences = getValueByPath(fromObject, [
8320
8449
  'stopSequences',
@@ -8344,6 +8473,21 @@ function generationConfigToVertex$1(fromObject) {
8344
8473
  undefined) {
8345
8474
  throw new Error('enableEnhancedCivicAnswers parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
8346
8475
  }
8476
+ const fromResponseFormat = getValueByPath(fromObject, [
8477
+ 'responseFormat',
8478
+ ]);
8479
+ if (fromResponseFormat != null) {
8480
+ let transformedList = fromResponseFormat;
8481
+ if (Array.isArray(transformedList)) {
8482
+ transformedList = transformedList.map((item) => {
8483
+ return item;
8484
+ });
8485
+ }
8486
+ setValueByPath(toObject, ['responseFormat'], transformedList);
8487
+ }
8488
+ if (getValueByPath(fromObject, ['translationConfig']) !== undefined) {
8489
+ throw new Error('translationConfig parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
8490
+ }
8347
8491
  return toObject;
8348
8492
  }
8349
8493
  function googleMapsToMldev$2(fromObject) {
@@ -8557,7 +8701,7 @@ function liveConnectConfigToVertex(fromObject, parentObject) {
8557
8701
  }
8558
8702
  const fromSpeechConfig = getValueByPath(fromObject, ['speechConfig']);
8559
8703
  if (parentObject !== undefined && fromSpeechConfig != null) {
8560
- setValueByPath(parentObject, ['setup', 'generationConfig', 'speechConfig'], tLiveSpeechConfig(fromSpeechConfig));
8704
+ setValueByPath(parentObject, ['setup', 'generationConfig', 'speechConfig'], speechConfigToVertex$1(tLiveSpeechConfig(fromSpeechConfig)));
8561
8705
  }
8562
8706
  const fromThinkingConfig = getValueByPath(fromObject, [
8563
8707
  'thinkingConfig',
@@ -8846,6 +8990,22 @@ function mcpServerToVertex$1(fromObject) {
8846
8990
  }
8847
8991
  return toObject;
8848
8992
  }
8993
+ function multiSpeakerVoiceConfigToVertex$1(fromObject) {
8994
+ const toObject = {};
8995
+ const fromSpeakerVoiceConfigs = getValueByPath(fromObject, [
8996
+ 'speakerVoiceConfigs',
8997
+ ]);
8998
+ if (fromSpeakerVoiceConfigs != null) {
8999
+ let transformedList = fromSpeakerVoiceConfigs;
9000
+ if (Array.isArray(transformedList)) {
9001
+ transformedList = transformedList.map((item) => {
9002
+ return speakerVoiceConfigToVertex$1(item);
9003
+ });
9004
+ }
9005
+ setValueByPath(toObject, ['speakerVoiceConfigs'], transformedList);
9006
+ }
9007
+ return toObject;
9008
+ }
8849
9009
  function partToMldev$2(fromObject) {
8850
9010
  const toObject = {};
8851
9011
  const fromMediaResolution = getValueByPath(fromObject, [
@@ -8987,6 +9147,26 @@ function partToVertex$2(fromObject) {
8987
9147
  }
8988
9148
  return toObject;
8989
9149
  }
9150
+ function replicatedVoiceConfigToVertex$1(fromObject) {
9151
+ const toObject = {};
9152
+ const fromMimeType = getValueByPath(fromObject, ['mimeType']);
9153
+ if (fromMimeType != null) {
9154
+ setValueByPath(toObject, ['mimeType'], fromMimeType);
9155
+ }
9156
+ const fromVoiceSampleAudio = getValueByPath(fromObject, [
9157
+ 'voiceSampleAudio',
9158
+ ]);
9159
+ if (fromVoiceSampleAudio != null) {
9160
+ setValueByPath(toObject, ['voiceSampleAudio'], fromVoiceSampleAudio);
9161
+ }
9162
+ if (getValueByPath(fromObject, ['consentAudio']) !== undefined) {
9163
+ throw new Error('consentAudio parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
9164
+ }
9165
+ if (getValueByPath(fromObject, ['voiceConsentSignature']) !== undefined) {
9166
+ throw new Error('voiceConsentSignature parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
9167
+ }
9168
+ return toObject;
9169
+ }
8990
9170
  function safetySettingToMldev$2(fromObject) {
8991
9171
  const toObject = {};
8992
9172
  const fromCategory = getValueByPath(fromObject, ['category']);
@@ -9013,6 +9193,36 @@ function sessionResumptionConfigToMldev$1(fromObject) {
9013
9193
  }
9014
9194
  return toObject;
9015
9195
  }
9196
+ function speakerVoiceConfigToVertex$1(fromObject) {
9197
+ const toObject = {};
9198
+ const fromSpeaker = getValueByPath(fromObject, ['speaker']);
9199
+ if (fromSpeaker != null) {
9200
+ setValueByPath(toObject, ['speaker'], fromSpeaker);
9201
+ }
9202
+ const fromVoiceConfig = getValueByPath(fromObject, ['voiceConfig']);
9203
+ if (fromVoiceConfig != null) {
9204
+ setValueByPath(toObject, ['voiceConfig'], voiceConfigToVertex$1(fromVoiceConfig));
9205
+ }
9206
+ return toObject;
9207
+ }
9208
+ function speechConfigToVertex$1(fromObject) {
9209
+ const toObject = {};
9210
+ const fromVoiceConfig = getValueByPath(fromObject, ['voiceConfig']);
9211
+ if (fromVoiceConfig != null) {
9212
+ setValueByPath(toObject, ['voiceConfig'], voiceConfigToVertex$1(fromVoiceConfig));
9213
+ }
9214
+ const fromLanguageCode = getValueByPath(fromObject, ['languageCode']);
9215
+ if (fromLanguageCode != null) {
9216
+ setValueByPath(toObject, ['languageCode'], fromLanguageCode);
9217
+ }
9218
+ const fromMultiSpeakerVoiceConfig = getValueByPath(fromObject, [
9219
+ 'multiSpeakerVoiceConfig',
9220
+ ]);
9221
+ if (fromMultiSpeakerVoiceConfig != null) {
9222
+ setValueByPath(toObject, ['multiSpeakerVoiceConfig'], multiSpeakerVoiceConfigToVertex$1(fromMultiSpeakerVoiceConfig));
9223
+ }
9224
+ return toObject;
9225
+ }
9016
9226
  function toolToMldev$2(fromObject) {
9017
9227
  const toObject = {};
9018
9228
  if (getValueByPath(fromObject, ['retrieval']) !== undefined) {
@@ -9078,6 +9288,9 @@ function toolToMldev$2(fromObject) {
9078
9288
  }
9079
9289
  setValueByPath(toObject, ['mcpServers'], transformedList);
9080
9290
  }
9291
+ if (getValueByPath(fromObject, ['exaAiSearch']) !== undefined) {
9292
+ throw new Error('exaAiSearch parameter is only supported in Gemini Enterprise Agent Platform mode, not in Gemini Developer API mode.');
9293
+ }
9081
9294
  return toObject;
9082
9295
  }
9083
9296
  function toolToVertex$1(fromObject) {
@@ -9151,6 +9364,10 @@ function toolToVertex$1(fromObject) {
9151
9364
  }
9152
9365
  setValueByPath(toObject, ['mcpServers'], transformedList);
9153
9366
  }
9367
+ const fromExaAiSearch = getValueByPath(fromObject, ['exaAiSearch']);
9368
+ if (fromExaAiSearch != null) {
9369
+ setValueByPath(toObject, ['exaAiSearch'], fromExaAiSearch);
9370
+ }
9154
9371
  return toObject;
9155
9372
  }
9156
9373
  function usageMetadataFromVertex(fromObject) {
@@ -9257,6 +9474,22 @@ function voiceActivityFromVertex(fromObject) {
9257
9474
  }
9258
9475
  return toObject;
9259
9476
  }
9477
+ function voiceConfigToVertex$1(fromObject) {
9478
+ const toObject = {};
9479
+ const fromReplicatedVoiceConfig = getValueByPath(fromObject, [
9480
+ 'replicatedVoiceConfig',
9481
+ ]);
9482
+ if (fromReplicatedVoiceConfig != null) {
9483
+ setValueByPath(toObject, ['replicatedVoiceConfig'], replicatedVoiceConfigToVertex$1(fromReplicatedVoiceConfig));
9484
+ }
9485
+ const fromPrebuiltVoiceConfig = getValueByPath(fromObject, [
9486
+ 'prebuiltVoiceConfig',
9487
+ ]);
9488
+ if (fromPrebuiltVoiceConfig != null) {
9489
+ setValueByPath(toObject, ['prebuiltVoiceConfig'], fromPrebuiltVoiceConfig);
9490
+ }
9491
+ return toObject;
9492
+ }
9260
9493
 
9261
9494
  /**
9262
9495
  * @license
@@ -10510,7 +10743,7 @@ function generateContentConfigToVertex(apiClient, fromObject, parentObject, root
10510
10743
  }
10511
10744
  const fromSpeechConfig = getValueByPath(fromObject, ['speechConfig']);
10512
10745
  if (fromSpeechConfig != null) {
10513
- setValueByPath(toObject, ['speechConfig'], tSpeechConfig(fromSpeechConfig));
10746
+ setValueByPath(toObject, ['speechConfig'], speechConfigToVertex(tSpeechConfig(fromSpeechConfig)));
10514
10747
  }
10515
10748
  const fromAudioTimestamp = getValueByPath(fromObject, [
10516
10749
  'audioTimestamp',
@@ -11397,7 +11630,7 @@ function generatedVideoFromVertex(fromObject, rootObject) {
11397
11630
  }
11398
11631
  return toObject;
11399
11632
  }
11400
- function generationConfigToVertex(fromObject, _rootObject) {
11633
+ function generationConfigToVertex(fromObject, rootObject) {
11401
11634
  const toObject = {};
11402
11635
  const fromModelSelectionConfig = getValueByPath(fromObject, [
11403
11636
  'modelSelectionConfig',
@@ -11493,7 +11726,7 @@ function generationConfigToVertex(fromObject, _rootObject) {
11493
11726
  }
11494
11727
  const fromSpeechConfig = getValueByPath(fromObject, ['speechConfig']);
11495
11728
  if (fromSpeechConfig != null) {
11496
- setValueByPath(toObject, ['speechConfig'], fromSpeechConfig);
11729
+ setValueByPath(toObject, ['speechConfig'], speechConfigToVertex(fromSpeechConfig));
11497
11730
  }
11498
11731
  const fromStopSequences = getValueByPath(fromObject, [
11499
11732
  'stopSequences',
@@ -11523,6 +11756,21 @@ function generationConfigToVertex(fromObject, _rootObject) {
11523
11756
  undefined) {
11524
11757
  throw new Error('enableEnhancedCivicAnswers parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
11525
11758
  }
11759
+ const fromResponseFormat = getValueByPath(fromObject, [
11760
+ 'responseFormat',
11761
+ ]);
11762
+ if (fromResponseFormat != null) {
11763
+ let transformedList = fromResponseFormat;
11764
+ if (Array.isArray(transformedList)) {
11765
+ transformedList = transformedList.map((item) => {
11766
+ return item;
11767
+ });
11768
+ }
11769
+ setValueByPath(toObject, ['responseFormat'], transformedList);
11770
+ }
11771
+ if (getValueByPath(fromObject, ['translationConfig']) !== undefined) {
11772
+ throw new Error('translationConfig parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
11773
+ }
11526
11774
  return toObject;
11527
11775
  }
11528
11776
  function getModelParametersToMldev(apiClient, fromObject, _rootObject) {
@@ -11960,6 +12208,22 @@ function modelFromVertex(fromObject, rootObject) {
11960
12208
  }
11961
12209
  return toObject;
11962
12210
  }
12211
+ function multiSpeakerVoiceConfigToVertex(fromObject, rootObject) {
12212
+ const toObject = {};
12213
+ const fromSpeakerVoiceConfigs = getValueByPath(fromObject, [
12214
+ 'speakerVoiceConfigs',
12215
+ ]);
12216
+ if (fromSpeakerVoiceConfigs != null) {
12217
+ let transformedList = fromSpeakerVoiceConfigs;
12218
+ if (Array.isArray(transformedList)) {
12219
+ transformedList = transformedList.map((item) => {
12220
+ return speakerVoiceConfigToVertex(item);
12221
+ });
12222
+ }
12223
+ setValueByPath(toObject, ['speakerVoiceConfigs'], transformedList);
12224
+ }
12225
+ return toObject;
12226
+ }
11963
12227
  function partToMldev$1(fromObject, rootObject) {
11964
12228
  const toObject = {};
11965
12229
  const fromMediaResolution = getValueByPath(fromObject, [
@@ -12269,6 +12533,26 @@ function referenceImageAPIInternalToVertex(fromObject, rootObject) {
12269
12533
  }
12270
12534
  return toObject;
12271
12535
  }
12536
+ function replicatedVoiceConfigToVertex(fromObject, _rootObject) {
12537
+ const toObject = {};
12538
+ const fromMimeType = getValueByPath(fromObject, ['mimeType']);
12539
+ if (fromMimeType != null) {
12540
+ setValueByPath(toObject, ['mimeType'], fromMimeType);
12541
+ }
12542
+ const fromVoiceSampleAudio = getValueByPath(fromObject, [
12543
+ 'voiceSampleAudio',
12544
+ ]);
12545
+ if (fromVoiceSampleAudio != null) {
12546
+ setValueByPath(toObject, ['voiceSampleAudio'], fromVoiceSampleAudio);
12547
+ }
12548
+ if (getValueByPath(fromObject, ['consentAudio']) !== undefined) {
12549
+ throw new Error('consentAudio parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
12550
+ }
12551
+ if (getValueByPath(fromObject, ['voiceConsentSignature']) !== undefined) {
12552
+ throw new Error('voiceConsentSignature parameter is only supported in Gemini Developer API mode, not in Gemini Enterprise Agent Platform mode.');
12553
+ }
12554
+ return toObject;
12555
+ }
12272
12556
  function safetyAttributesFromMldev(fromObject, _rootObject) {
12273
12557
  const toObject = {};
12274
12558
  const fromCategories = getValueByPath(fromObject, [
@@ -12418,6 +12702,36 @@ function segmentImageSourceToVertex(fromObject, parentObject, rootObject) {
12418
12702
  }
12419
12703
  return toObject;
12420
12704
  }
12705
+ function speakerVoiceConfigToVertex(fromObject, rootObject) {
12706
+ const toObject = {};
12707
+ const fromSpeaker = getValueByPath(fromObject, ['speaker']);
12708
+ if (fromSpeaker != null) {
12709
+ setValueByPath(toObject, ['speaker'], fromSpeaker);
12710
+ }
12711
+ const fromVoiceConfig = getValueByPath(fromObject, ['voiceConfig']);
12712
+ if (fromVoiceConfig != null) {
12713
+ setValueByPath(toObject, ['voiceConfig'], voiceConfigToVertex(fromVoiceConfig));
12714
+ }
12715
+ return toObject;
12716
+ }
12717
+ function speechConfigToVertex(fromObject, rootObject) {
12718
+ const toObject = {};
12719
+ const fromVoiceConfig = getValueByPath(fromObject, ['voiceConfig']);
12720
+ if (fromVoiceConfig != null) {
12721
+ setValueByPath(toObject, ['voiceConfig'], voiceConfigToVertex(fromVoiceConfig));
12722
+ }
12723
+ const fromLanguageCode = getValueByPath(fromObject, ['languageCode']);
12724
+ if (fromLanguageCode != null) {
12725
+ setValueByPath(toObject, ['languageCode'], fromLanguageCode);
12726
+ }
12727
+ const fromMultiSpeakerVoiceConfig = getValueByPath(fromObject, [
12728
+ 'multiSpeakerVoiceConfig',
12729
+ ]);
12730
+ if (fromMultiSpeakerVoiceConfig != null) {
12731
+ setValueByPath(toObject, ['multiSpeakerVoiceConfig'], multiSpeakerVoiceConfigToVertex(fromMultiSpeakerVoiceConfig));
12732
+ }
12733
+ return toObject;
12734
+ }
12421
12735
  function toolConfigToMldev(fromObject, rootObject) {
12422
12736
  const toObject = {};
12423
12737
  const fromRetrievalConfig = getValueByPath(fromObject, [
@@ -12523,6 +12837,9 @@ function toolToMldev$1(fromObject, rootObject) {
12523
12837
  }
12524
12838
  setValueByPath(toObject, ['mcpServers'], transformedList);
12525
12839
  }
12840
+ if (getValueByPath(fromObject, ['exaAiSearch']) !== undefined) {
12841
+ throw new Error('exaAiSearch parameter is only supported in Gemini Enterprise Agent Platform mode, not in Gemini Developer API mode.');
12842
+ }
12526
12843
  return toObject;
12527
12844
  }
12528
12845
  function toolToVertex(fromObject, rootObject) {
@@ -12596,6 +12913,10 @@ function toolToVertex(fromObject, rootObject) {
12596
12913
  }
12597
12914
  setValueByPath(toObject, ['mcpServers'], transformedList);
12598
12915
  }
12916
+ const fromExaAiSearch = getValueByPath(fromObject, ['exaAiSearch']);
12917
+ if (fromExaAiSearch != null) {
12918
+ setValueByPath(toObject, ['exaAiSearch'], fromExaAiSearch);
12919
+ }
12599
12920
  return toObject;
12600
12921
  }
12601
12922
  function tunedModelInfoFromMldev(fromObject, _rootObject) {
@@ -12907,6 +13228,22 @@ function videoToVertex(fromObject, _rootObject) {
12907
13228
  }
12908
13229
  return toObject;
12909
13230
  }
13231
+ function voiceConfigToVertex(fromObject, rootObject) {
13232
+ const toObject = {};
13233
+ const fromReplicatedVoiceConfig = getValueByPath(fromObject, [
13234
+ 'replicatedVoiceConfig',
13235
+ ]);
13236
+ if (fromReplicatedVoiceConfig != null) {
13237
+ setValueByPath(toObject, ['replicatedVoiceConfig'], replicatedVoiceConfigToVertex(fromReplicatedVoiceConfig));
13238
+ }
13239
+ const fromPrebuiltVoiceConfig = getValueByPath(fromObject, [
13240
+ 'prebuiltVoiceConfig',
13241
+ ]);
13242
+ if (fromPrebuiltVoiceConfig != null) {
13243
+ setValueByPath(toObject, ['prebuiltVoiceConfig'], fromPrebuiltVoiceConfig);
13244
+ }
13245
+ return toObject;
13246
+ }
12910
13247
 
12911
13248
  /**
12912
13249
  * @license
@@ -13157,7 +13494,7 @@ const CONTENT_TYPE_HEADER = 'Content-Type';
13157
13494
  const SERVER_TIMEOUT_HEADER = 'X-Server-Timeout';
13158
13495
  const USER_AGENT_HEADER = 'User-Agent';
13159
13496
  const GOOGLE_API_CLIENT_HEADER = 'x-goog-api-client';
13160
- const SDK_VERSION = '2.10.0'; // x-release-please-version
13497
+ const SDK_VERSION = '2.11.0'; // x-release-please-version
13161
13498
  const LIBRARY_LABEL = `google-genai-sdk/${SDK_VERSION}`;
13162
13499
  const VERTEX_AI_API_DEFAULT_VERSION = 'v1beta1';
13163
13500
  const GOOGLE_AI_API_DEFAULT_VERSION = 'v1beta';
@@ -14411,10 +14748,27 @@ class Live {
14411
14748
  onopenResolve({});
14412
14749
  };
14413
14750
  const apiClient = this.apiClient;
14751
+ let sessionResolved = false;
14752
+ const messageQueue = [];
14753
+ let setupCompleteResolve = () => { };
14754
+ const setupCompletePromise = new Promise((resolve) => {
14755
+ setupCompleteResolve = resolve;
14756
+ });
14414
14757
  const websocketCallbacks = {
14415
14758
  onopen: onopenAwaitedCallback,
14416
14759
  onmessage: (event) => {
14417
- void handleWebSocketMessage(apiClient, callbacks.onmessage, event);
14760
+ void handleWebSocketMessage(apiClient, (msg) => {
14761
+ if (msg.setupComplete && !session.setupComplete) {
14762
+ session.setupComplete = msg.setupComplete;
14763
+ setupCompleteResolve({});
14764
+ }
14765
+ if (sessionResolved) {
14766
+ callbacks.onmessage(msg);
14767
+ }
14768
+ else {
14769
+ messageQueue.push(msg);
14770
+ }
14771
+ }, event);
14418
14772
  },
14419
14773
  onerror: (_a = callbacks === null || callbacks === void 0 ? void 0 : callbacks.onerror) !== null && _a !== void 0 ? _a : function (e) {
14420
14774
  },
@@ -14476,8 +14830,14 @@ class Live {
14476
14830
  clientMessage = liveConnectParametersToMldev(this.apiClient, liveConnectParameters);
14477
14831
  }
14478
14832
  delete clientMessage['config'];
14833
+ const session = new Session(conn, this.apiClient);
14479
14834
  conn.send(JSON.stringify(clientMessage));
14480
- return new Session(conn, this.apiClient);
14835
+ await setupCompletePromise;
14836
+ sessionResolved = true;
14837
+ for (const msg of messageQueue) {
14838
+ callbacks.onmessage(msg);
14839
+ }
14840
+ return session;
14481
14841
  }
14482
14842
  // TODO: b/416041229 - Abstract this method to a common place.
14483
14843
  isCallableTool(tool) {
@@ -17006,6 +17366,9 @@ function toolToMldev(fromObject) {
17006
17366
  }
17007
17367
  setValueByPath(toObject, ['mcpServers'], transformedList);
17008
17368
  }
17369
+ if (getValueByPath(fromObject, ['exaAiSearch']) !== undefined) {
17370
+ throw new Error('exaAiSearch parameter is only supported in Gemini Enterprise Agent Platform mode, not in Gemini Developer API mode.');
17371
+ }
17009
17372
  return toObject;
17010
17373
  }
17011
17374
 
@@ -17857,17 +18220,14 @@ function env() {
17857
18220
  * Populates global parameters with environment variables.
17858
18221
  */
17859
18222
  function fillGlobals(options) {
17860
- var _a, _b, _c;
18223
+ var _a, _b;
17861
18224
  const clone = Object.assign({}, options);
17862
18225
  const envVars = env();
17863
18226
  if (typeof envVars.GOOGLE_GENAI_API_VERSION !== "undefined") {
17864
18227
  (_a = clone.api_version) !== null && _a !== void 0 ? _a : (clone.api_version = envVars.GOOGLE_GENAI_API_VERSION);
17865
18228
  }
17866
- if (typeof envVars.GOOGLE_GENAI_API_REVISION !== "undefined") {
17867
- (_b = clone.api_revision) !== null && _b !== void 0 ? _b : (clone.api_revision = envVars.GOOGLE_GENAI_API_REVISION);
17868
- }
17869
18229
  if (typeof envVars.GOOGLE_GENAI_USER_PROJECT !== "undefined") {
17870
- (_c = clone.user_project) !== null && _c !== void 0 ? _c : (clone.user_project = envVars.GOOGLE_GENAI_USER_PROJECT);
18230
+ (_b = clone.user_project) !== null && _b !== void 0 ? _b : (clone.user_project = envVars.GOOGLE_GENAI_USER_PROJECT);
17871
18231
  }
17872
18232
  return clone;
17873
18233
  }
@@ -17879,7 +18239,6 @@ function fillGlobals(options) {
17879
18239
  *
17880
18240
  * g3-prettier-ignore-file
17881
18241
  */
17882
- const GOOGLE_GENAI_API_REVISION = "2026-05-20";
17883
18242
  class GoogleGenAISecurityProvider {
17884
18243
  constructor(options) {
17885
18244
  this.options = options;
@@ -17897,7 +18256,6 @@ class GoogleGenAIAuthHook {
17897
18256
  }
17898
18257
  async beforeRequest(hookCtx, request) {
17899
18258
  applyDefaultHeaders(request.headers, getStaticDefaultHeaders(hookCtx.security_source));
17900
- applyApiRevision(hookCtx, request.headers);
17901
18259
  applyUserProject(hookCtx, request.headers);
17902
18260
  if (hasAuthHeaders(request.headers)) {
17903
18261
  return request;
@@ -17977,12 +18335,6 @@ function applyDefaultHeaders(target, source) {
17977
18335
  }
17978
18336
  }
17979
18337
  }
17980
- function applyApiRevision(hookCtx, headers) {
17981
- var _a;
17982
- if (headers.get("api-revision") === null) {
17983
- headers.set("Api-Revision", (_a = hookCtx.options.api_revision) !== null && _a !== void 0 ? _a : GOOGLE_GENAI_API_REVISION);
17984
- }
17985
- }
17986
18338
  function applyUserProject(hookCtx, headers) {
17987
18339
  if (hookCtx.options.user_project !== undefined &&
17988
18340
  headers.get("x-goog-user-project") === null) {
@@ -18514,7 +18866,7 @@ function serverURLFromOptions(options) {
18514
18866
  return new URL(u);
18515
18867
  }
18516
18868
  const SDK_METADATA = {
18517
- userAgent: "speakeasy-sdk/typescript 2.4.1-preview.4 2.911.0 v1beta @google/genai",
18869
+ userAgent: "speakeasy-sdk/typescript 2.4.1-preview.4 2.913.3 v1beta @google/genai",
18518
18870
  };
18519
18871
 
18520
18872
  /**
@@ -22984,6 +23336,18 @@ function generationConfigFromVertex(fromObject, _rootObject) {
22984
23336
  if (fromTopP != null) {
22985
23337
  setValueByPath(toObject, ['topP'], fromTopP);
22986
23338
  }
23339
+ const fromResponseFormat = getValueByPath(fromObject, [
23340
+ 'responseFormat',
23341
+ ]);
23342
+ if (fromResponseFormat != null) {
23343
+ let transformedList = fromResponseFormat;
23344
+ if (Array.isArray(transformedList)) {
23345
+ transformedList = transformedList.map((item) => {
23346
+ return item;
23347
+ });
23348
+ }
23349
+ setValueByPath(toObject, ['responseFormat'], transformedList);
23350
+ }
22987
23351
  return toObject;
22988
23352
  }
22989
23353
  function getTuningJobParametersToMldev(fromObject, _rootObject) {
@@ -24281,5 +24645,5 @@ class GoogleGenAI {
24281
24645
  }
24282
24646
  }
24283
24647
 
24284
- export { ActivityHandling, AdapterSize, AggregationMetric, ApiError, ApiSpec, AuthType, Batches, Behavior, BlockedReason, Caches, CancelTuningJobResponse, Chat, Chats, ComputeTokensResponse, ContentReferenceImage, ControlReferenceImage, ControlReferenceType, CountTokensResponse, CreateFileResponse, DeleteCachedContentResponse, DeleteFileResponse, DeleteModelResponse, DocumentState, DynamicRetrievalConfigMode, EditImageResponse, EditMode, EmbedContentResponse, EmbeddingApiType, EndSensitivity, Environment, EvaluateDatasetResponse, FeatureSelectionPreference, FileSource, FileState, Files, FinishReason, FunctionCallingConfigMode, FunctionResponse, FunctionResponseBlob, FunctionResponseFileData, FunctionResponsePart, FunctionResponseScheduling, GenerateContentResponse, GenerateContentResponsePromptFeedback, GenerateContentResponseUsageMetadata, GenerateImagesResponse, GenerateVideosOperation, GenerateVideosResponse, GoogleGenAI, HarmBlockMethod, HarmBlockThreshold, HarmCategory, HarmProbability, HarmSeverity, HttpElementLocation, HttpResponse, ImagePromptLanguage, ImageResizeMode, ImportFileOperation, ImportFileResponse, InlinedEmbedContentResponse, InlinedResponse, JobState, Language, ListBatchJobsResponse, ListCachedContentsResponse, ListDocumentsResponse, ListFileSearchStoresResponse, ListFilesResponse, ListModelsResponse, ListTuningJobsResponse, Live, LiveClientToolResponse, LiveMusicPlaybackControl, LiveMusicServerMessage, LiveSendToolResponseParameters, LiveServerMessage, MaskReferenceImage, MaskReferenceMode, MatchOperation, MediaModality, MediaResolution, Modality, ModelStage, Models, MusicGenerationMode, Operations, Outcome, PagedItem, Pager, PairwiseChoice, PartMediaResolutionLevel, PersonGeneration, PhishBlockThreshold, ProminentPeople, RawReferenceImage, RecontextImageResponse, RegisterFilesResponse, ReinforcementTuningAutoraterScorerParsedResponseConversionScorer, ReinforcementTuningParseResponseConfig, ReinforcementTuningThinkingLevel, ReplayResponse, ResourceScope, ResponseParseType, SafetyFilterLevel, SafetyPolicy, Scale, SegmentImageResponse, SegmentMode, ServiceTier, Session, SingleEmbedContentResponse, StartSensitivity, StyleReferenceImage, SubjectReferenceImage, SubjectReferenceType, ThinkingLevel, Tokens, ToolResponse, ToolType, TrafficType, TuningJobState, TuningMethod, TuningMode, TuningSpeed, TuningTask, TurnCompleteReason, TurnCoverage, Type, UploadToFileSearchStoreOperation, UploadToFileSearchStoreResponse, UploadToFileSearchStoreResumableResponse, UpscaleImageResponse, UrlRetrievalStatus, VadSignalType, ValidateRewardResponse, VideoCompressionQuality, VideoGenerationMaskMode, VideoGenerationReferenceType, VideoOrientation, VoiceActivityType, createFunctionResponsePartFromBase64, createFunctionResponsePartFromUri, createModelContent, createPartFromBase64, createPartFromCodeExecutionResult, createPartFromExecutableCode, createPartFromFunctionCall, createPartFromFunctionResponse, createPartFromText, createPartFromUri, createUserContent, mcpToTool, setDefaultBaseUrls };
24648
+ export { ActivityHandling, AdapterSize, AggregationMetric, ApiError, ApiSpec, AspectRatio, AudioResponseFormat, AuthType, Batches, Behavior, BlockedReason, Caches, CancelTuningJobResponse, Chat, Chats, ComputeTokensResponse, ContentReferenceImage, ControlReferenceImage, ControlReferenceType, CountTokensResponse, CreateFileResponse, DeleteCachedContentResponse, DeleteFileResponse, DeleteModelResponse, Delivery, DocumentState, DynamicRetrievalConfigMode, EditImageResponse, EditMode, EmbedContentResponse, EmbeddingApiType, EndSensitivity, Environment, EvaluateDatasetResponse, FeatureSelectionPreference, FileSource, FileState, Files, FinishReason, FunctionCallingConfigMode, FunctionResponse, FunctionResponseBlob, FunctionResponseFileData, FunctionResponsePart, FunctionResponseScheduling, GenerateContentResponse, GenerateContentResponsePromptFeedback, GenerateContentResponseUsageMetadata, GenerateImagesResponse, GenerateVideosOperation, GenerateVideosResponse, GoogleGenAI, HarmBlockMethod, HarmBlockThreshold, HarmCategory, HarmProbability, HarmSeverity, HttpElementLocation, HttpResponse, ImagePromptLanguage, ImageResizeMode, ImageResponseFormat, ImageSize, ImportFileOperation, ImportFileResponse, InlinedEmbedContentResponse, InlinedResponse, JobState, Language, ListBatchJobsResponse, ListCachedContentsResponse, ListDocumentsResponse, ListFileSearchStoresResponse, ListFilesResponse, ListModelsResponse, ListTuningJobsResponse, Live, LiveClientToolResponse, LiveMusicPlaybackControl, LiveMusicServerMessage, LiveSendToolResponseParameters, LiveServerMessage, MaskReferenceImage, MaskReferenceMode, MatchOperation, MediaModality, MediaResolution, Modality, ModelStage, Models, MusicGenerationMode, Operations, Outcome, PagedItem, Pager, PairwiseChoice, PartMediaResolutionLevel, PersonGeneration, PhishBlockThreshold, ProminentPeople, RawReferenceImage, RecontextImageResponse, RegisterFilesResponse, ReinforcementTuningAutoraterScorerParsedResponseConversionScorer, ReinforcementTuningParseResponseConfig, ReinforcementTuningThinkingLevel, ReplayResponse, ResourceScope, ResponseFormat, ResponseParseType, SafetyFilterLevel, SafetyPolicy, Scale, SegmentImageResponse, SegmentMode, ServiceTier, Session, SingleEmbedContentResponse, StartSensitivity, StyleReferenceImage, SubjectReferenceImage, SubjectReferenceType, TextResponseFormat, ThinkingLevel, Tokens, ToolResponse, ToolType, TrafficType, TuningJobState, TuningMethod, TuningMode, TuningSpeed, TuningTask, TurnCompleteReason, TurnCoverage, Type, UploadToFileSearchStoreOperation, UploadToFileSearchStoreResponse, UploadToFileSearchStoreResumableResponse, UpscaleImageResponse, UrlRetrievalStatus, VadSignalType, ValidateRewardResponse, VideoCompressionQuality, VideoGenerationMaskMode, VideoGenerationReferenceType, VideoOrientation, VideoResponseFormat, VoiceActivityType, createFunctionResponsePartFromBase64, createFunctionResponsePartFromUri, createModelContent, createPartFromBase64, createPartFromCodeExecutionResult, createPartFromExecutableCode, createPartFromFunctionCall, createPartFromFunctionResponse, createPartFromText, createPartFromUri, createUserContent, mcpToTool, setDefaultBaseUrls };
24285
24649
  //# sourceMappingURL=index.mjs.map