@google/genai 2.9.0-rc.0 → 2.10.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.
- package/README.md +1 -4
- package/dist/genai.d.ts +570 -363
- package/dist/index.cjs +283 -120
- package/dist/index.mjs +284 -121
- package/dist/index.mjs.map +1 -1
- package/dist/node/index.cjs +283 -120
- package/dist/node/index.mjs +284 -121
- package/dist/node/index.mjs.map +1 -1
- package/dist/node/node.d.ts +570 -363
- package/dist/tokenizer/node.cjs +56 -20
- package/dist/tokenizer/node.d.ts +41 -10
- package/dist/tokenizer/node.mjs +56 -20
- package/dist/tokenizer/node.mjs.map +1 -1
- package/dist/vertex_internal/index.cjs +57 -21
- package/dist/vertex_internal/index.cjs.map +1 -1
- package/dist/vertex_internal/index.d.ts +71 -18
- package/dist/vertex_internal/index.js +57 -21
- package/dist/vertex_internal/index.js.map +1 -1
- package/dist/web/index.mjs +284 -121
- package/dist/web/index.mjs.map +1 -1
- package/dist/web/web.d.ts +570 -363
- package/package.json +1 -1
package/dist/genai.d.ts
CHANGED
|
@@ -65,8 +65,6 @@ export declare enum AdapterSize {
|
|
|
65
65
|
|
|
66
66
|
declare type Agent$ = Agent;
|
|
67
67
|
|
|
68
|
-
declare type Agent$2 = Agent;
|
|
69
|
-
|
|
70
68
|
/**
|
|
71
69
|
* An agent definition for the CreateAgent API.
|
|
72
70
|
*
|
|
@@ -110,31 +108,21 @@ declare type Agent = {
|
|
|
110
108
|
|
|
111
109
|
declare type AgentCreateParams$ = CreateAgentParams;
|
|
112
110
|
|
|
113
|
-
declare type AgentCreateParams$2 = Agent;
|
|
114
|
-
|
|
115
111
|
declare type AgentDeleteParams$ = DeleteAgentParams;
|
|
116
112
|
|
|
117
113
|
declare type AgentDeleteResponse$ = Empty;
|
|
118
114
|
|
|
119
|
-
declare type AgentDeleteResponse$2 = Empty;
|
|
120
|
-
|
|
121
115
|
declare type AgentGetParams$ = GetAgentParams;
|
|
122
116
|
|
|
123
117
|
declare type AgentListParams$ = ListAgentsParams_2;
|
|
124
118
|
|
|
125
|
-
declare type AgentListParams$2 = ListAgentsParams_2;
|
|
126
|
-
|
|
127
119
|
declare type AgentListResponse$ = AgentListResponse;
|
|
128
120
|
|
|
129
|
-
declare type AgentListResponse$2 = AgentListResponse;
|
|
130
|
-
|
|
131
121
|
declare type AgentListResponse = {
|
|
132
122
|
agents?: Array<Agent> | undefined;
|
|
133
123
|
next_page_token?: string | undefined;
|
|
134
124
|
};
|
|
135
125
|
|
|
136
|
-
declare type AgentOption$ = AgentOption;
|
|
137
|
-
|
|
138
126
|
/**
|
|
139
127
|
* @license
|
|
140
128
|
* Copyright 2026 Google LLC
|
|
@@ -145,7 +133,7 @@ declare type AgentOption$ = AgentOption;
|
|
|
145
133
|
/**
|
|
146
134
|
* The agent to interact with.
|
|
147
135
|
*/
|
|
148
|
-
declare type AgentOption = "deep-research-pro-preview-12-2025" | "deep-research-preview-04-2026" | "deep-research-max-preview-04-2026" | (string & {});
|
|
136
|
+
declare type AgentOption = "deep-research-pro-preview-12-2025" | "deep-research-preview-04-2026" | "deep-research-max-preview-04-2026" | "antigravity-preview-05-2026" | (string & {});
|
|
149
137
|
|
|
150
138
|
export declare namespace Agents {
|
|
151
139
|
export type Agent = Agent$;
|
|
@@ -261,6 +249,10 @@ declare type AllowedTools = {
|
|
|
261
249
|
tools?: Array<string> | undefined;
|
|
262
250
|
};
|
|
263
251
|
|
|
252
|
+
declare type Allowlist$ = Allowlist;
|
|
253
|
+
|
|
254
|
+
declare type Allowlist$2 = AllowlistEntry;
|
|
255
|
+
|
|
264
256
|
/**
|
|
265
257
|
* Outbound networking configuration for the sandbox. When specified, restricts which external domains the sandbox can reach. Omit entirely to allow all outbound traffic with no header injection.
|
|
266
258
|
*/
|
|
@@ -271,8 +263,6 @@ declare type Allowlist = {
|
|
|
271
263
|
allowlist?: Array<AllowlistEntry> | undefined;
|
|
272
264
|
};
|
|
273
265
|
|
|
274
|
-
declare type AllowlistEntry$ = AllowlistEntry;
|
|
275
|
-
|
|
276
266
|
/**
|
|
277
267
|
* @license
|
|
278
268
|
* Copyright 2026 Google LLC
|
|
@@ -500,7 +490,13 @@ export declare enum ApiSpec {
|
|
|
500
490
|
ELASTIC_SEARCH = "ELASTIC_SEARCH"
|
|
501
491
|
}
|
|
502
492
|
|
|
503
|
-
declare type Arguments$ =
|
|
493
|
+
declare type Arguments$ = CodeExecutionCallArguments;
|
|
494
|
+
|
|
495
|
+
declare type Arguments$2 = GoogleMapsCallArguments;
|
|
496
|
+
|
|
497
|
+
declare type Arguments$3 = GoogleSearchCallArguments;
|
|
498
|
+
|
|
499
|
+
declare type Arguments$4 = Arguments;
|
|
504
500
|
|
|
505
501
|
/**
|
|
506
502
|
* @license
|
|
@@ -533,6 +529,8 @@ declare type ArgumentsDelta = {
|
|
|
533
529
|
arguments?: string | undefined;
|
|
534
530
|
};
|
|
535
531
|
|
|
532
|
+
declare type Audio$ = AudioDelta;
|
|
533
|
+
|
|
536
534
|
/** Representation of an audio chunk. */
|
|
537
535
|
export declare interface AudioChunk {
|
|
538
536
|
/** Raw bytes of audio data.
|
|
@@ -585,10 +583,6 @@ declare type AudioContent = {
|
|
|
585
583
|
*/
|
|
586
584
|
declare type AudioContentMimeType = "audio/wav" | "audio/mp3" | "audio/aiff" | "audio/aac" | "audio/ogg" | "audio/flac" | "audio/mpeg" | "audio/m4a" | "audio/l16" | "audio/opus" | "audio/alaw" | "audio/mulaw" | (string & {});
|
|
587
585
|
|
|
588
|
-
declare type AudioContentParam$ = AudioContent;
|
|
589
|
-
|
|
590
|
-
declare type AudioDelta$ = AudioDelta;
|
|
591
|
-
|
|
592
586
|
declare type AudioDelta = {
|
|
593
587
|
type: "audio";
|
|
594
588
|
data?: string | undefined;
|
|
@@ -666,9 +660,14 @@ declare type AudioResponseFormatMimeType = "audio/mp3" | "audio/ogg_opus" | "aud
|
|
|
666
660
|
|
|
667
661
|
/** The audio transcription configuration in Setup. */
|
|
668
662
|
export declare interface AudioTranscriptionConfig {
|
|
669
|
-
/**
|
|
670
|
-
*/
|
|
663
|
+
/** Deprecated: use LanguageAuto or LanguageHints instead. */
|
|
671
664
|
languageCodes?: string[];
|
|
665
|
+
/** The model will detect the language automatically. Do not use together with LanguageHints. */
|
|
666
|
+
languageAuto?: LanguageAuto;
|
|
667
|
+
/** Specifies one or more languages in the audio. Do not use together with LanguageAuto. */
|
|
668
|
+
languageHints?: LanguageHints;
|
|
669
|
+
/** A list of phrases used for speech adaptation, which biases the ASR model to improve recognition of these specific terms. */
|
|
670
|
+
adaptationPhrases?: string[];
|
|
672
671
|
}
|
|
673
672
|
|
|
674
673
|
/**
|
|
@@ -1032,7 +1031,7 @@ export declare interface BatchJob {
|
|
|
1032
1031
|
outputInfo?: BatchJobOutputInfo;
|
|
1033
1032
|
}
|
|
1034
1033
|
|
|
1035
|
-
/** Config for `
|
|
1034
|
+
/** Config for `dest` parameter. */
|
|
1036
1035
|
export declare interface BatchJobDestination {
|
|
1037
1036
|
/** Storage format of the output files. Must be one of:
|
|
1038
1037
|
'jsonl', 'bigquery', 'vertex-dataset'.
|
|
@@ -1214,6 +1213,8 @@ export declare interface CachedContentUsageMetadata {
|
|
|
1214
1213
|
videoDurationSeconds?: number;
|
|
1215
1214
|
}
|
|
1216
1215
|
|
|
1216
|
+
declare type CachedTokensByModality$ = ModalityTokens;
|
|
1217
|
+
|
|
1217
1218
|
export declare class Caches extends BaseModule {
|
|
1218
1219
|
private readonly apiClient;
|
|
1219
1220
|
constructor(apiClient: ApiClient);
|
|
@@ -1356,6 +1357,19 @@ export declare interface CancelBatchJobParameters {
|
|
|
1356
1357
|
config?: CancelBatchJobConfig;
|
|
1357
1358
|
}
|
|
1358
1359
|
|
|
1360
|
+
declare type CancelInteractionByIdParams = Omit<CancelInteractionByIdRequest, "id">;
|
|
1361
|
+
|
|
1362
|
+
declare type CancelInteractionByIdRequest = {
|
|
1363
|
+
/**
|
|
1364
|
+
* The unique identifier of the interaction to cancel.
|
|
1365
|
+
*/
|
|
1366
|
+
id: string;
|
|
1367
|
+
/**
|
|
1368
|
+
* Which version of the API to use.
|
|
1369
|
+
*/
|
|
1370
|
+
api_version?: string | undefined;
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1359
1373
|
/** Optional parameters for tunings.cancel method. */
|
|
1360
1374
|
export declare interface CancelTuningJobConfig {
|
|
1361
1375
|
/** Used to override HTTP request options. */
|
|
@@ -1596,6 +1610,8 @@ declare type CodeExecution = {
|
|
|
1596
1610
|
type: "code_execution";
|
|
1597
1611
|
};
|
|
1598
1612
|
|
|
1613
|
+
declare type CodeExecutionCall$ = CodeExecutionCallDelta;
|
|
1614
|
+
|
|
1599
1615
|
declare type CodeExecutionCallArguments$ = CodeExecutionCallArguments;
|
|
1600
1616
|
|
|
1601
1617
|
/**
|
|
@@ -1612,8 +1628,6 @@ declare type CodeExecutionCallArguments = {
|
|
|
1612
1628
|
code?: string | undefined;
|
|
1613
1629
|
};
|
|
1614
1630
|
|
|
1615
|
-
declare type CodeExecutionCallDelta$ = CodeExecutionCallDelta;
|
|
1616
|
-
|
|
1617
1631
|
declare type CodeExecutionCallDelta = {
|
|
1618
1632
|
type: "code_execution_call";
|
|
1619
1633
|
/**
|
|
@@ -1636,7 +1650,7 @@ declare type CodeExecutionCallStep = {
|
|
|
1636
1650
|
/**
|
|
1637
1651
|
* The arguments to pass to the code execution.
|
|
1638
1652
|
*/
|
|
1639
|
-
arguments
|
|
1653
|
+
arguments: CodeExecutionCallArguments;
|
|
1640
1654
|
/**
|
|
1641
1655
|
* Required. A unique ID for this specific tool call.
|
|
1642
1656
|
*/
|
|
@@ -1647,6 +1661,8 @@ declare type CodeExecutionCallStep = {
|
|
|
1647
1661
|
signature?: string | undefined;
|
|
1648
1662
|
};
|
|
1649
1663
|
|
|
1664
|
+
declare type CodeExecutionResult$ = CodeExecutionResultDelta;
|
|
1665
|
+
|
|
1650
1666
|
/** Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. */
|
|
1651
1667
|
export declare interface CodeExecutionResult {
|
|
1652
1668
|
/** Required. Outcome of the code execution. */
|
|
@@ -1657,8 +1673,6 @@ export declare interface CodeExecutionResult {
|
|
|
1657
1673
|
id?: string;
|
|
1658
1674
|
}
|
|
1659
1675
|
|
|
1660
|
-
declare type CodeExecutionResultDelta$ = CodeExecutionResultDelta;
|
|
1661
|
-
|
|
1662
1676
|
/**
|
|
1663
1677
|
* @license
|
|
1664
1678
|
* Copyright 2026 Google LLC
|
|
@@ -1691,9 +1705,9 @@ declare type CodeExecutionResultStep$ = CodeExecutionResultStep;
|
|
|
1691
1705
|
declare type CodeExecutionResultStep = {
|
|
1692
1706
|
type: "code_execution_result";
|
|
1693
1707
|
/**
|
|
1694
|
-
* The output of the code execution.
|
|
1708
|
+
* Required. The output of the code execution.
|
|
1695
1709
|
*/
|
|
1696
|
-
result
|
|
1710
|
+
result: string;
|
|
1697
1711
|
/**
|
|
1698
1712
|
* Whether the code execution resulted in an error.
|
|
1699
1713
|
*/
|
|
@@ -1738,15 +1752,12 @@ declare type ComputerUse$ = ComputerUse_2;
|
|
|
1738
1752
|
export declare interface ComputerUse {
|
|
1739
1753
|
/** Required. The environment being operated. */
|
|
1740
1754
|
environment?: Environment;
|
|
1741
|
-
/** By default, predefined functions are included in the final model call.
|
|
1742
|
-
Some of them can be explicitly excluded from being automatically included.
|
|
1743
|
-
This can serve two purposes:
|
|
1744
|
-
1. Using a more restricted / different action space.
|
|
1745
|
-
2. Improving the definitions / instructions of predefined functions. */
|
|
1755
|
+
/** Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions. */
|
|
1746
1756
|
excludedPredefinedFunctions?: string[];
|
|
1747
|
-
/** Optional.
|
|
1748
|
-
*/
|
|
1757
|
+
/** Optional. Enables the prompt injection detection check on computer-use request. */
|
|
1749
1758
|
enablePromptInjectionDetection?: boolean;
|
|
1759
|
+
/** Optional. Disabled safety policies for computer use. This field is not supported in Vertex AI. */
|
|
1760
|
+
disabledSafetyPolicies?: SafetyPolicy[];
|
|
1750
1761
|
}
|
|
1751
1762
|
|
|
1752
1763
|
/**
|
|
@@ -1769,6 +1780,10 @@ declare type ComputerUse_2 = {
|
|
|
1769
1780
|
* request.
|
|
1770
1781
|
*/
|
|
1771
1782
|
enable_prompt_injection_detection?: boolean | undefined;
|
|
1783
|
+
/**
|
|
1784
|
+
* Optional. Disabled safety policies for computer use.
|
|
1785
|
+
*/
|
|
1786
|
+
disabled_safety_policies?: Array<DisabledSafetyPolicy> | undefined;
|
|
1772
1787
|
};
|
|
1773
1788
|
|
|
1774
1789
|
/** Optional parameters for computing tokens. */
|
|
@@ -1967,8 +1982,6 @@ export declare interface CountTokensResult {
|
|
|
1967
1982
|
totalTokens?: number;
|
|
1968
1983
|
}
|
|
1969
1984
|
|
|
1970
|
-
declare type CreateAgentInteraction$ = CreateAgentInteraction;
|
|
1971
|
-
|
|
1972
1985
|
/**
|
|
1973
1986
|
* Parameters for creating agent interactions
|
|
1974
1987
|
*/
|
|
@@ -1997,10 +2010,6 @@ declare type CreateAgentInteraction = {
|
|
|
1997
2010
|
* A list of tool declarations the model may call during interaction.
|
|
1998
2011
|
*/
|
|
1999
2012
|
tools?: Array<Tool_2> | undefined;
|
|
2000
|
-
/**
|
|
2001
|
-
* Statistics on the interaction request's token usage.
|
|
2002
|
-
*/
|
|
2003
|
-
usage?: Usage | undefined;
|
|
2004
2013
|
/**
|
|
2005
2014
|
* The requested modalities of the response (TEXT, IMAGE, AUDIO).
|
|
2006
2015
|
*/
|
|
@@ -2050,10 +2059,14 @@ declare type CreateAgentInteractionEnvironment = Environment_2 | string;
|
|
|
2050
2059
|
|
|
2051
2060
|
declare type CreateAgentInteractionParams = Omit<CreateInteractionRequest, "body"> & CreateAgentInteraction;
|
|
2052
2061
|
|
|
2062
|
+
declare type CreateAgentInteractionParamsNonStreaming$ = CreateAgentInteraction;
|
|
2063
|
+
|
|
2053
2064
|
declare type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParams & {
|
|
2054
2065
|
stream?: false | undefined;
|
|
2055
2066
|
};
|
|
2056
2067
|
|
|
2068
|
+
declare type CreateAgentInteractionParamsStreaming$ = CreateAgentInteraction;
|
|
2069
|
+
|
|
2057
2070
|
declare type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParams & {
|
|
2058
2071
|
stream: true;
|
|
2059
2072
|
};
|
|
@@ -2355,8 +2368,6 @@ declare type CreateInteractionRequest = {
|
|
|
2355
2368
|
*/
|
|
2356
2369
|
export declare function createModelContent(partOrString: PartListUnion | string): Content;
|
|
2357
2370
|
|
|
2358
|
-
declare type CreateModelInteraction$ = CreateModelInteraction;
|
|
2359
|
-
|
|
2360
2371
|
/**
|
|
2361
2372
|
* Parameters for creating model interactions
|
|
2362
2373
|
*/
|
|
@@ -2385,10 +2396,6 @@ declare type CreateModelInteraction = {
|
|
|
2385
2396
|
* A list of tool declarations the model may call during interaction.
|
|
2386
2397
|
*/
|
|
2387
2398
|
tools?: Array<Tool_2> | undefined;
|
|
2388
|
-
/**
|
|
2389
|
-
* Statistics on the interaction request's token usage.
|
|
2390
|
-
*/
|
|
2391
|
-
usage?: Usage | undefined;
|
|
2392
2399
|
/**
|
|
2393
2400
|
* The requested modalities of the response (TEXT, IMAGE, AUDIO).
|
|
2394
2401
|
*/
|
|
@@ -2443,10 +2450,14 @@ declare type CreateModelInteractionEnvironment = Environment_2 | string;
|
|
|
2443
2450
|
|
|
2444
2451
|
declare type CreateModelInteractionParams = Omit<CreateInteractionRequest, "body"> & CreateModelInteraction;
|
|
2445
2452
|
|
|
2453
|
+
declare type CreateModelInteractionParamsNonStreaming$ = CreateModelInteraction;
|
|
2454
|
+
|
|
2446
2455
|
declare type CreateModelInteractionParamsNonStreaming = CreateModelInteractionParams & {
|
|
2447
2456
|
stream?: false | undefined;
|
|
2448
2457
|
};
|
|
2449
2458
|
|
|
2459
|
+
declare type CreateModelInteractionParamsStreaming$ = CreateModelInteraction;
|
|
2460
|
+
|
|
2450
2461
|
declare type CreateModelInteractionParamsStreaming = CreateModelInteractionParams & {
|
|
2451
2462
|
stream: true;
|
|
2452
2463
|
};
|
|
@@ -2925,6 +2936,8 @@ declare type DeleteWebhookRequest = {
|
|
|
2925
2936
|
*/
|
|
2926
2937
|
declare type Disabled = "disabled";
|
|
2927
2938
|
|
|
2939
|
+
declare type DisabledSafetyPolicy = "financial_transactions" | "sensitive_data_modification" | "communication_tool" | "account_creation" | "data_modification" | "user_consent_management" | "legal_terms_and_agreements" | (string & {});
|
|
2940
|
+
|
|
2928
2941
|
/** Statistics for distillation prompt dataset. These statistics do not include the responses sampled from the teacher model. This data type is not supported in Gemini API. */
|
|
2929
2942
|
export declare interface DistillationDataStats {
|
|
2930
2943
|
/** Output only. Statistics computed for the training dataset. */
|
|
@@ -2995,6 +3008,8 @@ export declare interface DistillationSpec {
|
|
|
2995
3008
|
tuningMode?: TuningMode;
|
|
2996
3009
|
}
|
|
2997
3010
|
|
|
3011
|
+
declare type Document$ = DocumentDelta;
|
|
3012
|
+
|
|
2998
3013
|
/** A Document is a collection of Chunks. */
|
|
2999
3014
|
declare interface Document_2 {
|
|
3000
3015
|
/** Immutable. Identifier. The `Document` resource name. The ID (name excluding the "fileSearchStores/*/documents/" prefix) can contain up to 40 characters that are lowercase alphanumeric or dashes (-). The ID cannot start or end with a dash. If the name is empty on create, a unique name will be derived from `display_name` along with a 12 character random suffix. Example: `fileSearchStores/{file_search_store_id}/documents/my-awesome-doc-123a456b789c` */
|
|
@@ -3049,8 +3064,6 @@ declare type DocumentContent = {
|
|
|
3049
3064
|
*/
|
|
3050
3065
|
declare type DocumentContentMimeType = "application/pdf" | "text/csv" | (string & {});
|
|
3051
3066
|
|
|
3052
|
-
declare type DocumentDelta$ = DocumentDelta;
|
|
3053
|
-
|
|
3054
3067
|
declare type DocumentDelta = {
|
|
3055
3068
|
type: "document";
|
|
3056
3069
|
data?: string | undefined;
|
|
@@ -3421,8 +3434,6 @@ export declare interface EmbeddingsBatchJobSource {
|
|
|
3421
3434
|
inlinedRequests?: EmbedContentBatch;
|
|
3422
3435
|
}
|
|
3423
3436
|
|
|
3424
|
-
declare type Empty$ = Empty;
|
|
3425
|
-
|
|
3426
3437
|
/**
|
|
3427
3438
|
* @license
|
|
3428
3439
|
* Copyright 2026 Google LLC
|
|
@@ -3535,13 +3546,15 @@ declare type Environment_2 = {
|
|
|
3535
3546
|
*/
|
|
3536
3547
|
declare type EnvironmentEnum = "browser" | "mobile" | "desktop" | (string & {});
|
|
3537
3548
|
|
|
3538
|
-
declare type EnvironmentNetworkEgressAllowlist$ = EnvironmentNetworkEgressAllowlist;
|
|
3539
|
-
|
|
3540
3549
|
/**
|
|
3541
3550
|
* Outbound networking configuration for the sandbox. Accepts an object with an 'allowlist' array to restrict traffic, or the string 'disabled' to turn off all network access. Omit entirely to allow all outbound traffic with no header injection.
|
|
3542
3551
|
*/
|
|
3543
3552
|
declare type EnvironmentNetworkEgressAllowlist = Allowlist | Disabled;
|
|
3544
3553
|
|
|
3554
|
+
declare type Error$ = ErrorT;
|
|
3555
|
+
|
|
3556
|
+
declare type Error$2 = Status;
|
|
3557
|
+
|
|
3545
3558
|
declare type ErrorEvent$ = ErrorEvent_2;
|
|
3546
3559
|
|
|
3547
3560
|
declare type ErrorEvent_2 = {
|
|
@@ -3560,8 +3573,6 @@ declare type ErrorEvent_2 = {
|
|
|
3560
3573
|
metadata?: StreamMetadata | undefined;
|
|
3561
3574
|
};
|
|
3562
3575
|
|
|
3563
|
-
declare type ErrorT$ = ErrorT;
|
|
3564
|
-
|
|
3565
3576
|
/**
|
|
3566
3577
|
* @license
|
|
3567
3578
|
* Copyright 2026 Google LLC
|
|
@@ -3613,8 +3624,6 @@ export declare interface EvaluationDataset {
|
|
|
3613
3624
|
gcsSource?: GcsSource;
|
|
3614
3625
|
}
|
|
3615
3626
|
|
|
3616
|
-
declare type ExaAISearchConfig$ = ExaAISearchConfig;
|
|
3617
|
-
|
|
3618
3627
|
/**
|
|
3619
3628
|
* @license
|
|
3620
3629
|
* Copyright 2026 Google LLC
|
|
@@ -3841,7 +3850,7 @@ export declare class Files extends BaseModule {
|
|
|
3841
3850
|
* file extension.
|
|
3842
3851
|
* - For Blob object inputs, the `mimeType` will be set to the Blob's `type`
|
|
3843
3852
|
* property.
|
|
3844
|
-
*
|
|
3853
|
+
* Some examples for file extension to mimeType mapping:
|
|
3845
3854
|
* .txt -> text/plain
|
|
3846
3855
|
* .json -> application/json
|
|
3847
3856
|
* .jpg -> image/jpeg
|
|
@@ -3968,7 +3977,7 @@ declare type FileSearch_2 = {
|
|
|
3968
3977
|
metadata_filter?: string | undefined;
|
|
3969
3978
|
};
|
|
3970
3979
|
|
|
3971
|
-
declare type
|
|
3980
|
+
declare type FileSearchCall$ = FileSearchCallDelta;
|
|
3972
3981
|
|
|
3973
3982
|
/**
|
|
3974
3983
|
* @license
|
|
@@ -4009,7 +4018,7 @@ declare type FileSearchCallStep = {
|
|
|
4009
4018
|
signature?: string | undefined;
|
|
4010
4019
|
};
|
|
4011
4020
|
|
|
4012
|
-
declare type FileSearchResult$ =
|
|
4021
|
+
declare type FileSearchResult$ = FileSearchResultDelta;
|
|
4013
4022
|
|
|
4014
4023
|
/**
|
|
4015
4024
|
* @license
|
|
@@ -4023,8 +4032,6 @@ declare type FileSearchResult$ = FileSearchResult;
|
|
|
4023
4032
|
*/
|
|
4024
4033
|
declare type FileSearchResult = {};
|
|
4025
4034
|
|
|
4026
|
-
declare type FileSearchResultDelta$ = FileSearchResultDelta;
|
|
4027
|
-
|
|
4028
4035
|
declare type FileSearchResultDelta = {
|
|
4029
4036
|
type: "file_search_result";
|
|
4030
4037
|
result: Array<FileSearchResult>;
|
|
@@ -4221,8 +4228,6 @@ export declare interface FileStatus {
|
|
|
4221
4228
|
code?: number;
|
|
4222
4229
|
}
|
|
4223
4230
|
|
|
4224
|
-
declare type Filter$ = Filter;
|
|
4225
|
-
|
|
4226
4231
|
/**
|
|
4227
4232
|
* @license
|
|
4228
4233
|
* Copyright 2026 Google LLC
|
|
@@ -4338,6 +4343,8 @@ export declare interface FullFineTuningSpec {
|
|
|
4338
4343
|
validationDatasetUri?: string;
|
|
4339
4344
|
}
|
|
4340
4345
|
|
|
4346
|
+
declare type Function$ = FunctionT;
|
|
4347
|
+
|
|
4341
4348
|
/** A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values. */
|
|
4342
4349
|
export declare interface FunctionCall {
|
|
4343
4350
|
/** Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`. */
|
|
@@ -4499,7 +4506,7 @@ export declare enum FunctionResponseScheduling {
|
|
|
4499
4506
|
INTERRUPT = "INTERRUPT"
|
|
4500
4507
|
}
|
|
4501
4508
|
|
|
4502
|
-
declare type
|
|
4509
|
+
declare type FunctionResult$ = FunctionResultDelta;
|
|
4503
4510
|
|
|
4504
4511
|
declare type FunctionResultDelta = {
|
|
4505
4512
|
type: "function_result";
|
|
@@ -4548,12 +4555,8 @@ declare type FunctionResultStepResult = {};
|
|
|
4548
4555
|
*/
|
|
4549
4556
|
declare type FunctionResultStepResultUnion = FunctionResultStepResult | Array<FunctionResultSubcontent> | string;
|
|
4550
4557
|
|
|
4551
|
-
declare type FunctionResultSubcontent$ = FunctionResultSubcontent;
|
|
4552
|
-
|
|
4553
4558
|
declare type FunctionResultSubcontent = TextContent | ImageContent;
|
|
4554
4559
|
|
|
4555
|
-
declare type FunctionT$ = FunctionT;
|
|
4556
|
-
|
|
4557
4560
|
/**
|
|
4558
4561
|
* @license
|
|
4559
4562
|
* Copyright 2026 Google LLC
|
|
@@ -4605,9 +4608,9 @@ declare class GeminiNextGenInteractions {
|
|
|
4605
4608
|
create(params: CreateAgentInteractionParamsNonStreaming, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction>;
|
|
4606
4609
|
create(params: CreateModelInteractionParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
|
|
4607
4610
|
create(params: CreateAgentInteractionParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
|
|
4608
|
-
create
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
+
create(params: InteractionCreateParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
|
|
4612
|
+
create(params: InteractionCreateParamsNonStreaming, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction>;
|
|
4613
|
+
create(params: InteractionCreateParams, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction | Stream<GoogleGenAIInteractionSSEEvent>>;
|
|
4611
4614
|
get(id: string, params?: InteractionGetParamsNonStreaming | null, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction>;
|
|
4612
4615
|
get(id: string, params: InteractionGetParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
|
|
4613
4616
|
get(id: string, params?: InteractionGetParams | null, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction | Stream<GoogleGenAIInteractionSSEEvent>>;
|
|
@@ -5342,8 +5345,14 @@ declare type GenerationConfig_2 = {
|
|
|
5342
5345
|
speech_config?: Array<SpeechConfig_2> | undefined;
|
|
5343
5346
|
/**
|
|
5344
5347
|
* The configuration for image interaction.
|
|
5348
|
+
*
|
|
5349
|
+
* @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
5345
5350
|
*/
|
|
5346
5351
|
image_config?: ImageConfig_2 | undefined;
|
|
5352
|
+
/**
|
|
5353
|
+
* Configuration options for video generation.
|
|
5354
|
+
*/
|
|
5355
|
+
video_config?: VideoConfig | undefined;
|
|
5347
5356
|
/**
|
|
5348
5357
|
* Penalizes tokens that have already appeared in the generated
|
|
5349
5358
|
*
|
|
@@ -5832,6 +5841,8 @@ declare type GoogleMaps_2 = {
|
|
|
5832
5841
|
longitude?: number | undefined;
|
|
5833
5842
|
};
|
|
5834
5843
|
|
|
5844
|
+
declare type GoogleMapsCall$ = GoogleMapsCallDelta;
|
|
5845
|
+
|
|
5835
5846
|
declare type GoogleMapsCallArguments$ = GoogleMapsCallArguments;
|
|
5836
5847
|
|
|
5837
5848
|
/**
|
|
@@ -5851,8 +5862,6 @@ declare type GoogleMapsCallArguments = {
|
|
|
5851
5862
|
queries?: Array<string> | undefined;
|
|
5852
5863
|
};
|
|
5853
5864
|
|
|
5854
|
-
declare type GoogleMapsCallDelta$ = GoogleMapsCallDelta;
|
|
5855
|
-
|
|
5856
5865
|
declare type GoogleMapsCallDelta = {
|
|
5857
5866
|
type: "google_maps_call";
|
|
5858
5867
|
/**
|
|
@@ -5888,6 +5897,8 @@ declare type GoogleMapsCallStep = {
|
|
|
5888
5897
|
|
|
5889
5898
|
declare type GoogleMapsResult$ = GoogleMapsResult;
|
|
5890
5899
|
|
|
5900
|
+
declare type GoogleMapsResult$2 = GoogleMapsResultDelta;
|
|
5901
|
+
|
|
5891
5902
|
/**
|
|
5892
5903
|
* The result of the Google Maps.
|
|
5893
5904
|
*/
|
|
@@ -5896,8 +5907,6 @@ declare type GoogleMapsResult = {
|
|
|
5896
5907
|
widget_context_token?: string | undefined;
|
|
5897
5908
|
};
|
|
5898
5909
|
|
|
5899
|
-
declare type GoogleMapsResultDelta$ = GoogleMapsResultDelta;
|
|
5900
|
-
|
|
5901
5910
|
declare type GoogleMapsResultDelta = {
|
|
5902
5911
|
type: "google_maps_result";
|
|
5903
5912
|
/**
|
|
@@ -5910,8 +5919,6 @@ declare type GoogleMapsResultDelta = {
|
|
|
5910
5919
|
signature?: string | undefined;
|
|
5911
5920
|
};
|
|
5912
5921
|
|
|
5913
|
-
declare type GoogleMapsResultPlaces$ = GoogleMapsResultPlaces;
|
|
5914
|
-
|
|
5915
5922
|
declare type GoogleMapsResultPlaces = {
|
|
5916
5923
|
place_id?: string | undefined;
|
|
5917
5924
|
name?: string | undefined;
|
|
@@ -5926,7 +5933,7 @@ declare type GoogleMapsResultStep$ = GoogleMapsResultStep;
|
|
|
5926
5933
|
*/
|
|
5927
5934
|
declare type GoogleMapsResultStep = {
|
|
5928
5935
|
type: "google_maps_result";
|
|
5929
|
-
result
|
|
5936
|
+
result: Array<GoogleMapsResult>;
|
|
5930
5937
|
/**
|
|
5931
5938
|
* Required. ID to match the ID from the function call block.
|
|
5932
5939
|
*/
|
|
@@ -5972,6 +5979,8 @@ declare type GoogleSearch_2 = {
|
|
|
5972
5979
|
search_types?: Array<GoogleSearchSearchType> | undefined;
|
|
5973
5980
|
};
|
|
5974
5981
|
|
|
5982
|
+
declare type GoogleSearchCall$ = GoogleSearchCallDelta;
|
|
5983
|
+
|
|
5975
5984
|
declare type GoogleSearchCallArguments$ = GoogleSearchCallArguments;
|
|
5976
5985
|
|
|
5977
5986
|
/**
|
|
@@ -5991,8 +6000,6 @@ declare type GoogleSearchCallArguments = {
|
|
|
5991
6000
|
queries?: Array<string> | undefined;
|
|
5992
6001
|
};
|
|
5993
6002
|
|
|
5994
|
-
declare type GoogleSearchCallDelta$ = GoogleSearchCallDelta;
|
|
5995
|
-
|
|
5996
6003
|
declare type GoogleSearchCallDelta = {
|
|
5997
6004
|
type: "google_search_call";
|
|
5998
6005
|
/**
|
|
@@ -6015,7 +6022,7 @@ declare type GoogleSearchCallStep = {
|
|
|
6015
6022
|
/**
|
|
6016
6023
|
* The arguments to pass to Google Search.
|
|
6017
6024
|
*/
|
|
6018
|
-
arguments
|
|
6025
|
+
arguments: GoogleSearchCallArguments;
|
|
6019
6026
|
/**
|
|
6020
6027
|
* The type of search grounding enabled.
|
|
6021
6028
|
*/
|
|
@@ -6037,6 +6044,8 @@ declare type GoogleSearchCallStepSearchType = "web_search" | "image_search" | "e
|
|
|
6037
6044
|
|
|
6038
6045
|
declare type GoogleSearchResult$ = GoogleSearchResult;
|
|
6039
6046
|
|
|
6047
|
+
declare type GoogleSearchResult$2 = GoogleSearchResultDelta;
|
|
6048
|
+
|
|
6040
6049
|
/**
|
|
6041
6050
|
* @license
|
|
6042
6051
|
* Copyright 2026 Google LLC
|
|
@@ -6054,8 +6063,6 @@ declare type GoogleSearchResult = {
|
|
|
6054
6063
|
search_suggestions?: string | undefined;
|
|
6055
6064
|
};
|
|
6056
6065
|
|
|
6057
|
-
declare type GoogleSearchResultDelta$ = GoogleSearchResultDelta;
|
|
6058
|
-
|
|
6059
6066
|
declare type GoogleSearchResultDelta = {
|
|
6060
6067
|
type: "google_search_result";
|
|
6061
6068
|
result: Array<GoogleSearchResult>;
|
|
@@ -6074,9 +6081,9 @@ declare type GoogleSearchResultStep$ = GoogleSearchResultStep;
|
|
|
6074
6081
|
declare type GoogleSearchResultStep = {
|
|
6075
6082
|
type: "google_search_result";
|
|
6076
6083
|
/**
|
|
6077
|
-
* The results of the Google Search.
|
|
6084
|
+
* Required. The results of the Google Search.
|
|
6078
6085
|
*/
|
|
6079
|
-
result
|
|
6086
|
+
result: Array<GoogleSearchResult>;
|
|
6080
6087
|
/**
|
|
6081
6088
|
* Whether the Google Search resulted in an error.
|
|
6082
6089
|
*/
|
|
@@ -6607,8 +6614,6 @@ export declare interface HttpRetryOptions {
|
|
|
6607
6614
|
attempts?: number;
|
|
6608
6615
|
}
|
|
6609
6616
|
|
|
6610
|
-
declare type HybridSearch$ = HybridSearch;
|
|
6611
|
-
|
|
6612
6617
|
/**
|
|
6613
6618
|
* @license
|
|
6614
6619
|
* Copyright 2026 Google LLC
|
|
@@ -6629,6 +6634,8 @@ declare type HybridSearch = {
|
|
|
6629
6634
|
alpha?: number | undefined;
|
|
6630
6635
|
};
|
|
6631
6636
|
|
|
6637
|
+
declare type Image$ = ImageDelta;
|
|
6638
|
+
|
|
6632
6639
|
/** An image. */
|
|
6633
6640
|
declare interface Image_2 {
|
|
6634
6641
|
/** The Cloud Storage URI of the image. ``Image`` can contain a value
|
|
@@ -6671,6 +6678,8 @@ export declare interface ImageConfig {
|
|
|
6671
6678
|
|
|
6672
6679
|
/**
|
|
6673
6680
|
* The configuration for image interaction.
|
|
6681
|
+
*
|
|
6682
|
+
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
6674
6683
|
*/
|
|
6675
6684
|
declare type ImageConfig_2 = {
|
|
6676
6685
|
aspect_ratio?: ImageConfigAspectRatio | undefined;
|
|
@@ -6723,8 +6732,6 @@ declare type ImageContent = {
|
|
|
6723
6732
|
*/
|
|
6724
6733
|
declare type ImageContentMimeType = "image/png" | "image/jpeg" | "image/webp" | "image/heic" | "image/heif" | "image/gif" | "image/bmp" | "image/tiff" | (string & {});
|
|
6725
6734
|
|
|
6726
|
-
declare type ImageDelta$ = ImageDelta;
|
|
6727
|
-
|
|
6728
6735
|
declare type ImageDelta = {
|
|
6729
6736
|
type: "image";
|
|
6730
6737
|
data?: string | undefined;
|
|
@@ -6935,6 +6942,8 @@ export declare class InlinedResponse {
|
|
|
6935
6942
|
error?: JobError;
|
|
6936
6943
|
}
|
|
6937
6944
|
|
|
6945
|
+
declare type InputTokensByModality$ = ModalityTokens;
|
|
6946
|
+
|
|
6938
6947
|
declare type Interaction$ = Interaction;
|
|
6939
6948
|
|
|
6940
6949
|
/**
|
|
@@ -7070,6 +7079,8 @@ declare type Interaction = {
|
|
|
7070
7079
|
*/
|
|
7071
7080
|
declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig;
|
|
7072
7081
|
|
|
7082
|
+
declare type InteractionCancelParams$ = CancelInteractionByIdParams;
|
|
7083
|
+
|
|
7073
7084
|
declare type InteractionCompletedEvent$ = InteractionCompletedEvent;
|
|
7074
7085
|
|
|
7075
7086
|
declare type InteractionCompletedEvent = {
|
|
@@ -7118,12 +7129,14 @@ declare type InteractionCreateParams$ = CreateInteractionParams;
|
|
|
7118
7129
|
|
|
7119
7130
|
declare type InteractionCreateParams = CreateInteractionParams;
|
|
7120
7131
|
|
|
7121
|
-
declare type InteractionCreateParamsNonStreaming
|
|
7132
|
+
declare type InteractionCreateParamsNonStreaming = CreateInteractionParamsNonStreaming;
|
|
7122
7133
|
|
|
7123
|
-
declare type InteractionCreateParamsStreaming
|
|
7134
|
+
declare type InteractionCreateParamsStreaming = CreateInteractionParamsStreaming;
|
|
7124
7135
|
|
|
7125
7136
|
declare type InteractionDeleteParams$ = DeleteInteractionParams;
|
|
7126
7137
|
|
|
7138
|
+
declare type InteractionDeleteResponse$ = Empty;
|
|
7139
|
+
|
|
7127
7140
|
/**
|
|
7128
7141
|
* The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
|
|
7129
7142
|
*/
|
|
@@ -7135,10 +7148,14 @@ declare type InteractionGetParams = GetInteractionByIdParams;
|
|
|
7135
7148
|
|
|
7136
7149
|
declare type InteractionGetParamsNonStreaming$ = GetInteractionByIdParamsNonStreaming;
|
|
7137
7150
|
|
|
7151
|
+
declare type InteractionGetParamsNonStreaming$2 = GetInteractionByIdParamsNonStreaming;
|
|
7152
|
+
|
|
7138
7153
|
declare type InteractionGetParamsNonStreaming = GetInteractionByIdParamsNonStreaming;
|
|
7139
7154
|
|
|
7140
7155
|
declare type InteractionGetParamsStreaming$ = GetInteractionByIdParamsStreaming;
|
|
7141
7156
|
|
|
7157
|
+
declare type InteractionGetParamsStreaming$2 = GetInteractionByIdParamsStreaming;
|
|
7158
|
+
|
|
7142
7159
|
declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
|
|
7143
7160
|
|
|
7144
7161
|
/**
|
|
@@ -7147,161 +7164,219 @@ declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
|
|
|
7147
7164
|
declare type InteractionResponseFormat = Array<ResponseFormat> | ResponseFormat;
|
|
7148
7165
|
|
|
7149
7166
|
export declare namespace Interactions {
|
|
7150
|
-
export type AgentDeleteResponse = AgentDeleteResponse$2;
|
|
7151
|
-
export type AgentListParams = AgentListParams$2;
|
|
7152
|
-
export type AgentOption = AgentOption$;
|
|
7153
7167
|
export type AllowedTools = AllowedTools$;
|
|
7154
|
-
export type AllowlistEntry = AllowlistEntry$;
|
|
7155
7168
|
export type Annotation = Annotation$;
|
|
7156
|
-
export type ArgumentsDelta = ArgumentsDelta$;
|
|
7157
7169
|
export type AudioContent = AudioContent$;
|
|
7158
|
-
export type AudioDelta = AudioDelta$;
|
|
7159
7170
|
export type AudioResponseFormat = AudioResponseFormat$;
|
|
7160
|
-
export type CodeExecution = CodeExecution$;
|
|
7161
7171
|
export type CodeExecutionCallArguments = CodeExecutionCallArguments$;
|
|
7162
|
-
export
|
|
7163
|
-
|
|
7164
|
-
export type CodeExecutionResultDelta = CodeExecutionResultDelta$;
|
|
7172
|
+
export interface CodeExecutionCallStep extends CodeExecutionCallStep$ {
|
|
7173
|
+
}
|
|
7165
7174
|
export type CodeExecutionResultStep = CodeExecutionResultStep$;
|
|
7166
|
-
export type ComputerUse = ComputerUse$;
|
|
7167
7175
|
export type Content = Content$;
|
|
7168
|
-
export type
|
|
7169
|
-
export type
|
|
7176
|
+
export type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParamsNonStreaming$;
|
|
7177
|
+
export type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParamsStreaming$;
|
|
7178
|
+
export type CreateModelInteractionParamsNonStreaming = CreateModelInteractionParamsNonStreaming$;
|
|
7179
|
+
export type CreateModelInteractionParamsStreaming = CreateModelInteractionParamsStreaming$;
|
|
7170
7180
|
export type DeepResearchAgentConfig = DeepResearchAgentConfig$;
|
|
7171
7181
|
export type DocumentContent = DocumentContent$;
|
|
7172
|
-
export type DocumentDelta = DocumentDelta$;
|
|
7173
7182
|
export type DynamicAgentConfig = DynamicAgentConfig$;
|
|
7174
|
-
export
|
|
7175
|
-
|
|
7176
|
-
export
|
|
7177
|
-
|
|
7178
|
-
export type ExaAISearchConfig = ExaAISearchConfig$;
|
|
7183
|
+
export interface Environment extends Environment$ {
|
|
7184
|
+
}
|
|
7185
|
+
export interface ErrorEvent extends ErrorEvent$ {
|
|
7186
|
+
}
|
|
7179
7187
|
export type FileCitation = FileCitation$;
|
|
7180
|
-
export type FileSearch = FileSearch$;
|
|
7181
|
-
export type FileSearchCallDelta = FileSearchCallDelta$;
|
|
7182
7188
|
export type FileSearchCallStep = FileSearchCallStep$;
|
|
7183
|
-
export type FileSearchResult = FileSearchResult$;
|
|
7184
|
-
export type FileSearchResultDelta = FileSearchResultDelta$;
|
|
7185
7189
|
export type FileSearchResultStep = FileSearchResultStep$;
|
|
7186
|
-
export type
|
|
7187
|
-
export type FunctionT = FunctionT$;
|
|
7190
|
+
export type Function = Function$;
|
|
7188
7191
|
export type FunctionCallStep = FunctionCallStep$;
|
|
7189
|
-
export type FunctionResultDelta = FunctionResultDelta$;
|
|
7190
7192
|
export type FunctionResultStep = FunctionResultStep$;
|
|
7191
|
-
export type FunctionResultSubcontent = FunctionResultSubcontent$;
|
|
7192
7193
|
export type GenerationConfig = GenerationConfig$;
|
|
7193
|
-
export type GoogleMaps = GoogleMaps$;
|
|
7194
7194
|
export type GoogleMapsCallArguments = GoogleMapsCallArguments$;
|
|
7195
|
-
export
|
|
7196
|
-
|
|
7197
|
-
export
|
|
7198
|
-
|
|
7199
|
-
export
|
|
7200
|
-
|
|
7201
|
-
export type GoogleSearch = GoogleSearch$;
|
|
7195
|
+
export interface GoogleMapsCallStep extends GoogleMapsCallStep$ {
|
|
7196
|
+
}
|
|
7197
|
+
export interface GoogleMapsResult extends GoogleMapsResult$ {
|
|
7198
|
+
}
|
|
7199
|
+
export interface GoogleMapsResultStep extends GoogleMapsResultStep$ {
|
|
7200
|
+
}
|
|
7202
7201
|
export type GoogleSearchCallArguments = GoogleSearchCallArguments$;
|
|
7203
|
-
export
|
|
7204
|
-
|
|
7202
|
+
export interface GoogleSearchCallStep extends GoogleSearchCallStep$ {
|
|
7203
|
+
}
|
|
7205
7204
|
export type GoogleSearchResult = GoogleSearchResult$;
|
|
7206
|
-
export
|
|
7207
|
-
|
|
7208
|
-
export type GroundingToolCount = GroundingToolCount$;
|
|
7209
|
-
export type HybridSearch = HybridSearch$;
|
|
7205
|
+
export interface GoogleSearchResultStep extends GoogleSearchResultStep$ {
|
|
7206
|
+
}
|
|
7210
7207
|
export type ImageConfig = ImageConfig$;
|
|
7211
7208
|
export type ImageContent = ImageContent$;
|
|
7212
|
-
export type ImageDelta = ImageDelta$;
|
|
7213
7209
|
export type ImageResponseFormat = ImageResponseFormat$;
|
|
7214
7210
|
export type Interaction = Interaction$;
|
|
7215
|
-
export type
|
|
7211
|
+
export type InteractionCancelParams = InteractionCancelParams$;
|
|
7212
|
+
export interface InteractionCompletedEvent extends InteractionCompletedEvent$ {
|
|
7213
|
+
}
|
|
7214
|
+
export interface InteractionCreatedEvent extends InteractionCreatedEvent$ {
|
|
7215
|
+
}
|
|
7216
7216
|
export type InteractionCreateParams = InteractionCreateParams$;
|
|
7217
|
-
export type InteractionCreateParamsNonStreaming = InteractionCreateParamsNonStreaming$;
|
|
7218
|
-
export type InteractionCreateParamsStreaming = InteractionCreateParamsStreaming$;
|
|
7219
|
-
export type InteractionCreatedEvent = InteractionCreatedEvent$;
|
|
7220
7217
|
export type InteractionDeleteParams = InteractionDeleteParams$;
|
|
7218
|
+
export type InteractionDeleteResponse = InteractionDeleteResponse$;
|
|
7221
7219
|
export type InteractionGetParams = InteractionGetParams$;
|
|
7222
7220
|
export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$;
|
|
7223
7221
|
export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$;
|
|
7224
7222
|
export type InteractionSSEEvent = InteractionSSEEvent$;
|
|
7225
|
-
export
|
|
7226
|
-
|
|
7227
|
-
export type InteractionStatusUpdate = InteractionStatusUpdate$;
|
|
7228
|
-
export type InteractionsInput = InteractionsInput$;
|
|
7229
|
-
export type MCPServer = MCPServer$;
|
|
7230
|
-
export type MCPServerToolCallDelta = MCPServerToolCallDelta$;
|
|
7223
|
+
export interface InteractionStatusUpdate extends InteractionStatusUpdate$ {
|
|
7224
|
+
}
|
|
7231
7225
|
export type MCPServerToolCallStep = MCPServerToolCallStep$;
|
|
7232
|
-
export type MCPServerToolResultDelta = MCPServerToolResultDelta$;
|
|
7233
7226
|
export type MCPServerToolResultStep = MCPServerToolResultStep$;
|
|
7234
|
-
export type
|
|
7235
|
-
export
|
|
7236
|
-
|
|
7237
|
-
export
|
|
7238
|
-
|
|
7239
|
-
export type RagResource = RagResource$;
|
|
7240
|
-
export type RagRetrievalConfig = RagRetrievalConfig$;
|
|
7241
|
-
export type RagStoreConfig = RagStoreConfig$;
|
|
7242
|
-
export type Ranking = Ranking$;
|
|
7243
|
-
export type ResponseFormat = ResponseFormat$;
|
|
7244
|
-
export type ResponseModality = ResponseModality$;
|
|
7245
|
-
export type Retrieval = Retrieval$;
|
|
7246
|
-
export type ReviewSnippet = ReviewSnippet$;
|
|
7247
|
-
export type ServiceTier = ServiceTier$;
|
|
7248
|
-
export type Source = Source$;
|
|
7227
|
+
export type Model = Model$;
|
|
7228
|
+
export interface ModelOutputStep extends ModelOutputStep$ {
|
|
7229
|
+
}
|
|
7230
|
+
export interface PlaceCitation extends PlaceCitation$ {
|
|
7231
|
+
}
|
|
7249
7232
|
export type SpeechConfig = SpeechConfig$;
|
|
7250
7233
|
export type Step = Step$;
|
|
7251
|
-
export
|
|
7252
|
-
|
|
7253
|
-
export
|
|
7254
|
-
|
|
7255
|
-
export
|
|
7256
|
-
|
|
7257
|
-
export type TextAnnotationDelta = TextAnnotationDelta$;
|
|
7234
|
+
export interface StepDelta extends StepDelta$ {
|
|
7235
|
+
}
|
|
7236
|
+
export interface StepStart extends StepStart$ {
|
|
7237
|
+
}
|
|
7238
|
+
export interface StepStop extends StepStop$ {
|
|
7239
|
+
}
|
|
7258
7240
|
export type TextContent = TextContent$;
|
|
7259
|
-
export type TextDelta = TextDelta$;
|
|
7260
7241
|
export type TextResponseFormat = TextResponseFormat$;
|
|
7261
7242
|
export type ThinkingLevel = ThinkingLevel$;
|
|
7262
|
-
export type ThinkingSummaries = ThinkingSummaries$;
|
|
7263
|
-
export type ThoughtSignatureDelta = ThoughtSignatureDelta$;
|
|
7264
7243
|
export type ThoughtStep = ThoughtStep$;
|
|
7265
|
-
export type ThoughtSummaryContent = ThoughtSummaryContent$;
|
|
7266
|
-
export type ThoughtSummaryDelta = ThoughtSummaryDelta$;
|
|
7267
7244
|
export type Tool = Tool$;
|
|
7268
7245
|
export type ToolChoiceConfig = ToolChoiceConfig$;
|
|
7269
7246
|
export type ToolChoiceType = ToolChoiceType$;
|
|
7270
|
-
export type Turn = Turn$;
|
|
7271
7247
|
export type URLCitation = URLCitation$;
|
|
7272
|
-
export type URLContext = URLContext$;
|
|
7273
7248
|
export type URLContextCallArguments = URLContextCallArguments$;
|
|
7274
|
-
export
|
|
7275
|
-
|
|
7249
|
+
export interface URLContextCallStep extends URLContextCallStep$ {
|
|
7250
|
+
}
|
|
7276
7251
|
export type URLContextResult = URLContextResult$;
|
|
7277
|
-
export
|
|
7278
|
-
|
|
7279
|
-
export
|
|
7252
|
+
export interface URLContextResultStep extends URLContextResultStep$ {
|
|
7253
|
+
}
|
|
7254
|
+
export interface Usage extends Usage$ {
|
|
7255
|
+
}
|
|
7280
7256
|
export type UserInputStep = UserInputStep$;
|
|
7281
|
-
export type
|
|
7257
|
+
export type VideoConfig = VideoConfig$;
|
|
7282
7258
|
export type VideoContent = VideoContent$;
|
|
7283
|
-
export type
|
|
7259
|
+
export type VideoResponseFormat = VideoResponseFormat$;
|
|
7284
7260
|
export type WebhookConfig = WebhookConfig$;
|
|
7285
|
-
export
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
export
|
|
7289
|
-
|
|
7290
|
-
|
|
7291
|
-
|
|
7292
|
-
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
export
|
|
7297
|
-
|
|
7298
|
-
|
|
7299
|
-
|
|
7300
|
-
export
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
export
|
|
7304
|
-
|
|
7261
|
+
export namespace CodeExecutionCallStep {
|
|
7262
|
+
export type Arguments = Arguments$;
|
|
7263
|
+
}
|
|
7264
|
+
export namespace Environment {
|
|
7265
|
+
export interface Allowlist extends Allowlist$ {
|
|
7266
|
+
}
|
|
7267
|
+
export type Source = Source$;
|
|
7268
|
+
export namespace Allowlist {
|
|
7269
|
+
export type Allowlist = Allowlist$2;
|
|
7270
|
+
}
|
|
7271
|
+
}
|
|
7272
|
+
export namespace ErrorEvent {
|
|
7273
|
+
export type Error = Error$;
|
|
7274
|
+
export type Metadata = Metadata$;
|
|
7275
|
+
}
|
|
7276
|
+
export namespace GoogleMapsCallStep {
|
|
7277
|
+
export type Arguments = Arguments$2;
|
|
7278
|
+
}
|
|
7279
|
+
export namespace GoogleMapsResult {
|
|
7280
|
+
export interface Place extends Place$ {
|
|
7281
|
+
}
|
|
7282
|
+
export namespace Place {
|
|
7283
|
+
export type ReviewSnippet = ReviewSnippet$;
|
|
7284
|
+
}
|
|
7285
|
+
}
|
|
7286
|
+
export namespace GoogleMapsResultStep {
|
|
7287
|
+
export interface Result extends Result$ {
|
|
7288
|
+
}
|
|
7289
|
+
export namespace Result {
|
|
7290
|
+
export interface Place extends Place$2 {
|
|
7291
|
+
}
|
|
7292
|
+
export namespace Place {
|
|
7293
|
+
export type ReviewSnippet = ReviewSnippet$2;
|
|
7294
|
+
}
|
|
7295
|
+
}
|
|
7296
|
+
}
|
|
7297
|
+
export namespace GoogleSearchCallStep {
|
|
7298
|
+
export type Arguments = Arguments$3;
|
|
7299
|
+
}
|
|
7300
|
+
export namespace GoogleSearchResultStep {
|
|
7301
|
+
export type Result = Result$2;
|
|
7302
|
+
}
|
|
7303
|
+
export namespace InteractionCompletedEvent {
|
|
7304
|
+
export type Metadata = Metadata$2;
|
|
7305
|
+
}
|
|
7306
|
+
export namespace InteractionCreatedEvent {
|
|
7307
|
+
export type Metadata = Metadata$3;
|
|
7308
|
+
}
|
|
7309
|
+
export namespace InteractionGetParams {
|
|
7310
|
+
export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$2;
|
|
7311
|
+
export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$2;
|
|
7312
|
+
}
|
|
7313
|
+
export namespace InteractionStatusUpdate {
|
|
7314
|
+
export type Metadata = Metadata$4;
|
|
7315
|
+
}
|
|
7316
|
+
export namespace ModelOutputStep {
|
|
7317
|
+
export type Error = Error$2;
|
|
7318
|
+
}
|
|
7319
|
+
export namespace PlaceCitation {
|
|
7320
|
+
export type ReviewSnippet = ReviewSnippet$3;
|
|
7321
|
+
}
|
|
7322
|
+
export namespace StepDelta {
|
|
7323
|
+
export type ArgumentsDelta = ArgumentsDelta$;
|
|
7324
|
+
export type Audio = Audio$;
|
|
7325
|
+
export type CodeExecutionCall = CodeExecutionCall$;
|
|
7326
|
+
export type CodeExecutionResult = CodeExecutionResult$;
|
|
7327
|
+
export type Document = Document$;
|
|
7328
|
+
export type FileSearchCall = FileSearchCall$;
|
|
7329
|
+
export type FileSearchResult = FileSearchResult$;
|
|
7330
|
+
export type FunctionResult = FunctionResult$;
|
|
7331
|
+
export type GoogleMapsCall = GoogleMapsCall$;
|
|
7332
|
+
export type GoogleMapsResult = GoogleMapsResult$2;
|
|
7333
|
+
export type GoogleSearchCall = GoogleSearchCall$;
|
|
7334
|
+
export type GoogleSearchResult = GoogleSearchResult$2;
|
|
7335
|
+
export type Image = Image$;
|
|
7336
|
+
export type MCPServerToolCall = MCPServerToolCall$;
|
|
7337
|
+
export type MCPServerToolResult = MCPServerToolResult$;
|
|
7338
|
+
export type Metadata = Metadata$5;
|
|
7339
|
+
export type Text = Text$;
|
|
7340
|
+
export type TextAnnotationDelta = TextAnnotationDelta$;
|
|
7341
|
+
export type ThoughtSignature = ThoughtSignature$;
|
|
7342
|
+
export type ThoughtSummary = ThoughtSummary$;
|
|
7343
|
+
export type URLContextCall = URLContextCall$;
|
|
7344
|
+
export type URLContextResult = URLContextResult$2;
|
|
7345
|
+
export type Video = Video$;
|
|
7346
|
+
}
|
|
7347
|
+
export namespace StepStart {
|
|
7348
|
+
export type Metadata = Metadata$6;
|
|
7349
|
+
}
|
|
7350
|
+
export namespace StepStop {
|
|
7351
|
+
export type Metadata = Metadata$7;
|
|
7352
|
+
}
|
|
7353
|
+
export namespace Tool {
|
|
7354
|
+
export type CodeExecution = CodeExecution$;
|
|
7355
|
+
export type ComputerUse = ComputerUse$;
|
|
7356
|
+
export type FileSearch = FileSearch$;
|
|
7357
|
+
export type GoogleMaps = GoogleMaps$;
|
|
7358
|
+
export type GoogleSearch = GoogleSearch$;
|
|
7359
|
+
export type MCPServer = MCPServer$;
|
|
7360
|
+
export interface Retrieval extends Retrieval$ {
|
|
7361
|
+
}
|
|
7362
|
+
export type URLContext = URLContext$;
|
|
7363
|
+
export namespace Retrieval {
|
|
7364
|
+
export type VertexAISearchConfig = VertexAISearchConfig$;
|
|
7365
|
+
}
|
|
7366
|
+
}
|
|
7367
|
+
export namespace URLContextCallStep {
|
|
7368
|
+
export type Arguments = Arguments$4;
|
|
7369
|
+
}
|
|
7370
|
+
export namespace URLContextResultStep {
|
|
7371
|
+
export type Result = Result$3;
|
|
7372
|
+
}
|
|
7373
|
+
export namespace Usage {
|
|
7374
|
+
export type CachedTokensByModality = CachedTokensByModality$;
|
|
7375
|
+
export type GroundingToolCount = GroundingToolCount$;
|
|
7376
|
+
export type InputTokensByModality = InputTokensByModality$;
|
|
7377
|
+
export type OutputTokensByModality = OutputTokensByModality$;
|
|
7378
|
+
export type ToolUseTokensByModality = ToolUseTokensByModality$;
|
|
7379
|
+
}
|
|
7305
7380
|
}
|
|
7306
7381
|
|
|
7307
7382
|
declare namespace interactions {
|
|
@@ -7326,6 +7401,7 @@ declare namespace interactions {
|
|
|
7326
7401
|
CodeExecutionResultStep,
|
|
7327
7402
|
CodeExecution,
|
|
7328
7403
|
EnvironmentEnum,
|
|
7404
|
+
DisabledSafetyPolicy,
|
|
7329
7405
|
ComputerUse_2 as ComputerUse,
|
|
7330
7406
|
Content_2 as Content,
|
|
7331
7407
|
CreateAgentInteractionResponseFormat,
|
|
@@ -7445,6 +7521,7 @@ declare namespace interactions {
|
|
|
7445
7521
|
SourceType,
|
|
7446
7522
|
Source,
|
|
7447
7523
|
SpeechConfig_2 as SpeechConfig,
|
|
7524
|
+
Status,
|
|
7448
7525
|
StepDeltaData,
|
|
7449
7526
|
StepDeltaMetadata,
|
|
7450
7527
|
StepDelta,
|
|
@@ -7481,16 +7558,19 @@ declare namespace interactions {
|
|
|
7481
7558
|
Usage,
|
|
7482
7559
|
UserInputStep,
|
|
7483
7560
|
VertexAISearchConfig,
|
|
7561
|
+
Task,
|
|
7562
|
+
VideoConfig,
|
|
7484
7563
|
VideoContentMimeType,
|
|
7485
7564
|
VideoContent,
|
|
7486
7565
|
VideoDeltaMimeType,
|
|
7487
7566
|
VideoDelta,
|
|
7567
|
+
VideoResponseFormatDelivery,
|
|
7568
|
+
VideoResponseFormatAspectRatio,
|
|
7569
|
+
VideoResponseFormat,
|
|
7488
7570
|
WebhookConfig_2 as WebhookConfig
|
|
7489
7571
|
}
|
|
7490
7572
|
}
|
|
7491
7573
|
|
|
7492
|
-
declare type InteractionsInput$ = InteractionsInput;
|
|
7493
|
-
|
|
7494
7574
|
/**
|
|
7495
7575
|
* The input for the interaction.
|
|
7496
7576
|
*/
|
|
@@ -7500,8 +7580,6 @@ declare type InteractionSSEEvent$ = InteractionSSEEvent;
|
|
|
7500
7580
|
|
|
7501
7581
|
declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionCompletedEvent | InteractionStatusUpdate | ErrorEvent_2 | StepStart | StepDelta | StepStop;
|
|
7502
7582
|
|
|
7503
|
-
declare type InteractionSseEventInteraction$ = InteractionSseEventInteraction;
|
|
7504
|
-
|
|
7505
7583
|
/**
|
|
7506
7584
|
* Partial interaction resource emitted by interaction lifecycle SSE events.
|
|
7507
7585
|
*
|
|
@@ -7554,8 +7632,6 @@ declare type InteractionSseEventInteraction = {
|
|
|
7554
7632
|
*/
|
|
7555
7633
|
declare type InteractionSseEventInteractionStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | (string & {});
|
|
7556
7634
|
|
|
7557
|
-
declare type InteractionSSEStreamEvent$ = InteractionSSEStreamEvent;
|
|
7558
|
-
|
|
7559
7635
|
declare type InteractionSSEStreamEvent = {
|
|
7560
7636
|
data: InteractionSSEEvent;
|
|
7561
7637
|
};
|
|
@@ -7685,6 +7761,16 @@ export declare enum Language {
|
|
|
7685
7761
|
*/
|
|
7686
7762
|
declare type Language_2 = "python";
|
|
7687
7763
|
|
|
7764
|
+
/** Indicates the language of the audio should be automatically detected. */
|
|
7765
|
+
export declare interface LanguageAuto {
|
|
7766
|
+
}
|
|
7767
|
+
|
|
7768
|
+
/** Provides hints to the model about possible languages present in the audio. */
|
|
7769
|
+
export declare interface LanguageHints {
|
|
7770
|
+
/** BCP-47 language codes. At least one must be specified. */
|
|
7771
|
+
languageCodes?: string[];
|
|
7772
|
+
}
|
|
7773
|
+
|
|
7688
7774
|
/** An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. */
|
|
7689
7775
|
export declare interface LatLng {
|
|
7690
7776
|
/** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
|
|
@@ -8648,6 +8734,8 @@ export declare interface LiveServerContent {
|
|
|
8648
8734
|
it is waiting for more input from the user, e.g. because it expects the
|
|
8649
8735
|
user to continue talking. */
|
|
8650
8736
|
waitingForInput?: boolean;
|
|
8737
|
+
/** Low latency transcription updated while the user is speaking. */
|
|
8738
|
+
interimInputTranscription?: Transcription;
|
|
8651
8739
|
}
|
|
8652
8740
|
|
|
8653
8741
|
/** Server will not be able to service client soon. */
|
|
@@ -8705,9 +8793,9 @@ export declare interface LiveServerSessionResumptionUpdate {
|
|
|
8705
8793
|
resumable?: boolean;
|
|
8706
8794
|
/** Index of last message sent by client that is included in state represented by this SessionResumptionToken. Only sent when `SessionResumptionConfig.transparent` is set.
|
|
8707
8795
|
|
|
8708
|
-
Presence of this index allows users to transparently reconnect and avoid issue of losing some part of realtime audio input/video. If client wishes to temporarily disconnect (for example as result of receiving GoAway) they can do it without losing state by buffering messages sent since last `
|
|
8796
|
+
Presence of this index allows users to transparently reconnect and avoid issue of losing some part of realtime audio input/video. If client wishes to temporarily disconnect (for example as result of receiving GoAway) they can do it without losing state by buffering messages sent since last `SessionResumptionTokenUpdate`. This field will enable them to limit buffering (avoid keeping all requests in RAM).
|
|
8709
8797
|
|
|
8710
|
-
Note: This should not be used for when resuming a session at some time later -- in those cases partial audio and video frames
|
|
8798
|
+
Note: This should not be used for when resuming a session at some time later -- in those cases partial audio and video frames are likely not needed. */
|
|
8711
8799
|
lastConsumedClientMessageIndex?: string;
|
|
8712
8800
|
}
|
|
8713
8801
|
|
|
@@ -8861,7 +8949,7 @@ export declare interface McpServer {
|
|
|
8861
8949
|
streamableHttpTransport?: StreamableHttpTransport;
|
|
8862
8950
|
}
|
|
8863
8951
|
|
|
8864
|
-
declare type
|
|
8952
|
+
declare type MCPServerToolCall$ = MCPServerToolCallDelta;
|
|
8865
8953
|
|
|
8866
8954
|
/**
|
|
8867
8955
|
* @license
|
|
@@ -8913,7 +9001,7 @@ declare type MCPServerToolCallStep = {
|
|
|
8913
9001
|
id: string;
|
|
8914
9002
|
};
|
|
8915
9003
|
|
|
8916
|
-
declare type
|
|
9004
|
+
declare type MCPServerToolResult$ = MCPServerToolResultDelta;
|
|
8917
9005
|
|
|
8918
9006
|
declare type MCPServerToolResultDelta = {
|
|
8919
9007
|
type: "mcp_server_tool_result";
|
|
@@ -8948,7 +9036,7 @@ declare type MCPServerToolResultStep = {
|
|
|
8948
9036
|
/**
|
|
8949
9037
|
* The output from the MCP server call. Can be simple text or rich content.
|
|
8950
9038
|
*/
|
|
8951
|
-
result
|
|
9039
|
+
result: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
|
|
8952
9040
|
};
|
|
8953
9041
|
|
|
8954
9042
|
declare type MCPServerToolResultStepResult = {};
|
|
@@ -8998,8 +9086,6 @@ export declare enum MediaModality {
|
|
|
8998
9086
|
DOCUMENT = "DOCUMENT"
|
|
8999
9087
|
}
|
|
9000
9088
|
|
|
9001
|
-
declare type MediaResolution$ = MediaResolution_2;
|
|
9002
|
-
|
|
9003
9089
|
/** The media resolution to use. */
|
|
9004
9090
|
export declare enum MediaResolution {
|
|
9005
9091
|
/**
|
|
@@ -9029,6 +9115,20 @@ export declare enum MediaResolution {
|
|
|
9029
9115
|
*/
|
|
9030
9116
|
declare type MediaResolution_2 = "low" | "medium" | "high" | "ultra_high" | (string & {});
|
|
9031
9117
|
|
|
9118
|
+
declare type Metadata$ = StreamMetadata;
|
|
9119
|
+
|
|
9120
|
+
declare type Metadata$2 = StreamMetadata;
|
|
9121
|
+
|
|
9122
|
+
declare type Metadata$3 = StreamMetadata;
|
|
9123
|
+
|
|
9124
|
+
declare type Metadata$4 = StreamMetadata;
|
|
9125
|
+
|
|
9126
|
+
declare type Metadata$5 = StepDeltaMetadata;
|
|
9127
|
+
|
|
9128
|
+
declare type Metadata$6 = StreamMetadata;
|
|
9129
|
+
|
|
9130
|
+
declare type Metadata$7 = StreamMetadata;
|
|
9131
|
+
|
|
9032
9132
|
/** Server content modalities. */
|
|
9033
9133
|
export declare enum Modality {
|
|
9034
9134
|
/**
|
|
@@ -9061,8 +9161,6 @@ export declare interface ModalityTokenCount {
|
|
|
9061
9161
|
tokenCount?: number;
|
|
9062
9162
|
}
|
|
9063
9163
|
|
|
9064
|
-
declare type ModalityTokens$ = ModalityTokens;
|
|
9065
|
-
|
|
9066
9164
|
/**
|
|
9067
9165
|
* The token count for a single response modality.
|
|
9068
9166
|
*/
|
|
@@ -9141,7 +9239,7 @@ export declare interface Model {
|
|
|
9141
9239
|
/**
|
|
9142
9240
|
* The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
|
|
9143
9241
|
*/
|
|
9144
|
-
declare type Model_2 = "gemini-2.5-computer-use-preview-10-2025" | "gemini-2.5-flash" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-native-audio-preview-12-2025" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-preview-tts" | "gemini-2.5-pro" | "gemini-2.5-pro-preview-tts" | "gemini-3-flash-preview" | "gemini-3-pro-image-preview" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-lite" | "gemini-3.1-flash-lite-preview" | "gemini-3.1-flash-tts-preview" | "lyria-3-clip-preview" | "lyria-3-pro-preview" | (string & {});
|
|
9242
|
+
declare type Model_2 = "gemini-2.5-computer-use-preview-10-2025" | "gemini-2.5-flash" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-native-audio-preview-12-2025" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-preview-tts" | "gemini-2.5-pro" | "gemini-2.5-pro-preview-tts" | "gemini-3-flash-preview" | "gemini-3-pro-image-preview" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-lite" | "gemini-3.1-flash-lite-preview" | "gemini-3.1-flash-tts-preview" | "gemini-3.5-flash" | "lyria-3-clip-preview" | "lyria-3-pro-preview" | (string & {});
|
|
9145
9243
|
|
|
9146
9244
|
/** Configuration for Model Armor. Model Armor is a Google Cloud service that provides safety and security filtering for prompts and responses. It helps protect your AI applications from risks such as harmful content, sensitive data leakage, and prompt injection attacks. This data type is not supported in Gemini API. */
|
|
9147
9245
|
export declare interface ModelArmorConfig {
|
|
@@ -9159,10 +9257,20 @@ declare type ModelOutputStep$ = ModelOutputStep;
|
|
|
9159
9257
|
declare type ModelOutputStep = {
|
|
9160
9258
|
type: "model_output";
|
|
9161
9259
|
content?: Array<Content_2> | undefined;
|
|
9260
|
+
/**
|
|
9261
|
+
* The `Status` type defines a logical error model that is suitable for
|
|
9262
|
+
*
|
|
9263
|
+
* @remarks
|
|
9264
|
+
* different programming environments, including REST APIs and RPC APIs. It is
|
|
9265
|
+
* used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
9266
|
+
* three pieces of data: error code, error message, and error details.
|
|
9267
|
+
*
|
|
9268
|
+
* You can find out more about this error model and how to work with it in the
|
|
9269
|
+
* [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
9270
|
+
*/
|
|
9271
|
+
error?: Status | undefined;
|
|
9162
9272
|
};
|
|
9163
9273
|
|
|
9164
|
-
declare type ModelParam$ = Model_2;
|
|
9165
|
-
|
|
9166
9274
|
export declare class Models extends BaseModule {
|
|
9167
9275
|
private readonly apiClient;
|
|
9168
9276
|
constructor(apiClient: ApiClient);
|
|
@@ -9234,7 +9342,7 @@ export declare class Models extends BaseModule {
|
|
|
9234
9342
|
* To maintain backward compatibility, we move the data that was treated as
|
|
9235
9343
|
* JSON schema from the responseSchema field to the responseJsonSchema field.
|
|
9236
9344
|
*/
|
|
9237
|
-
private
|
|
9345
|
+
private maybeMoveToResponseJsonSchema;
|
|
9238
9346
|
/**
|
|
9239
9347
|
* Makes an API request to generate content with a given model and yields the
|
|
9240
9348
|
* response in chunks.
|
|
@@ -9708,6 +9816,8 @@ export declare interface OutputInfo {
|
|
|
9708
9816
|
gcsOutputDirectory?: string;
|
|
9709
9817
|
}
|
|
9710
9818
|
|
|
9819
|
+
declare type OutputTokensByModality$ = ModalityTokens;
|
|
9820
|
+
|
|
9711
9821
|
export declare enum PagedItem {
|
|
9712
9822
|
PAGED_ITEM_BATCH_JOBS = "batchJobs",
|
|
9713
9823
|
PAGED_ITEM_MODELS = "models",
|
|
@@ -9870,8 +9980,6 @@ export declare interface PairwiseMetricResult {
|
|
|
9870
9980
|
pairwiseChoice?: PairwiseChoice;
|
|
9871
9981
|
}
|
|
9872
9982
|
|
|
9873
|
-
declare type ParallelAISearchConfig$ = ParallelAISearchConfig;
|
|
9874
|
-
|
|
9875
9983
|
/**
|
|
9876
9984
|
* @license
|
|
9877
9985
|
* Copyright 2026 Google LLC
|
|
@@ -10059,23 +10167,9 @@ declare type PingWebhookRequest$ = PingWebhookRequest;
|
|
|
10059
10167
|
*/
|
|
10060
10168
|
declare type PingWebhookRequest = {};
|
|
10061
10169
|
|
|
10062
|
-
declare type
|
|
10063
|
-
|
|
10064
|
-
|
|
10065
|
-
*/
|
|
10066
|
-
api_version?: string | undefined;
|
|
10067
|
-
/**
|
|
10068
|
-
* Required. The ID of the webhook to ping.
|
|
10069
|
-
*
|
|
10070
|
-
* @remarks
|
|
10071
|
-
* Format: `{webhook_id}`
|
|
10072
|
-
*/
|
|
10073
|
-
id: string;
|
|
10074
|
-
/**
|
|
10075
|
-
* The request body.
|
|
10076
|
-
*/
|
|
10077
|
-
body?: webhooks.PingWebhookRequest | undefined;
|
|
10078
|
-
};
|
|
10170
|
+
declare type Place$ = GoogleMapsResultPlaces;
|
|
10171
|
+
|
|
10172
|
+
declare type Place$2 = GoogleMapsResultPlaces;
|
|
10079
10173
|
|
|
10080
10174
|
declare type PlaceCitation$ = PlaceCitation;
|
|
10081
10175
|
|
|
@@ -10241,8 +10335,6 @@ export declare interface RagChunkPageSpan {
|
|
|
10241
10335
|
lastPage?: number;
|
|
10242
10336
|
}
|
|
10243
10337
|
|
|
10244
|
-
declare type RagResource$ = RagResource;
|
|
10245
|
-
|
|
10246
10338
|
/**
|
|
10247
10339
|
* @license
|
|
10248
10340
|
* Copyright 2026 Google LLC
|
|
@@ -10267,8 +10359,6 @@ declare type RagResource = {
|
|
|
10267
10359
|
rag_file_ids?: Array<string> | undefined;
|
|
10268
10360
|
};
|
|
10269
10361
|
|
|
10270
|
-
declare type RagRetrievalConfig$ = RagRetrievalConfig_2;
|
|
10271
|
-
|
|
10272
10362
|
/** Specifies the context retrieval config. This data type is not supported in Gemini API. */
|
|
10273
10363
|
export declare interface RagRetrievalConfig {
|
|
10274
10364
|
/** Optional. Config for filters. */
|
|
@@ -10339,8 +10429,6 @@ export declare interface RagRetrievalConfigRankingRankService {
|
|
|
10339
10429
|
modelName?: string;
|
|
10340
10430
|
}
|
|
10341
10431
|
|
|
10342
|
-
declare type RagStoreConfig$ = RagStoreConfig;
|
|
10343
|
-
|
|
10344
10432
|
/**
|
|
10345
10433
|
* Use to specify configuration for RAG Store.
|
|
10346
10434
|
*/
|
|
@@ -10367,8 +10455,6 @@ declare type RagStoreConfig = {
|
|
|
10367
10455
|
rag_retrieval_config?: RagRetrievalConfig_2 | undefined;
|
|
10368
10456
|
};
|
|
10369
10457
|
|
|
10370
|
-
declare type Ranking$ = Ranking;
|
|
10371
|
-
|
|
10372
10458
|
/**
|
|
10373
10459
|
* @license
|
|
10374
10460
|
* Copyright 2026 Google LLC
|
|
@@ -10784,14 +10870,10 @@ export declare enum ResourceScope {
|
|
|
10784
10870
|
COLLECTION = "COLLECTION"
|
|
10785
10871
|
}
|
|
10786
10872
|
|
|
10787
|
-
declare type ResponseFormat
|
|
10788
|
-
|
|
10789
|
-
declare type ResponseFormat = AudioResponseFormat | TextResponseFormat | ImageResponseFormat | {
|
|
10873
|
+
declare type ResponseFormat = AudioResponseFormat | TextResponseFormat | ImageResponseFormat | VideoResponseFormat | {
|
|
10790
10874
|
[k: string]: any;
|
|
10791
10875
|
};
|
|
10792
10876
|
|
|
10793
|
-
declare type ResponseModality$ = ResponseModality;
|
|
10794
|
-
|
|
10795
10877
|
/**
|
|
10796
10878
|
* @license
|
|
10797
10879
|
* Copyright 2026 Google LLC
|
|
@@ -10817,6 +10899,12 @@ export declare enum ResponseParseType {
|
|
|
10817
10899
|
REGEX_EXTRACT = "REGEX_EXTRACT"
|
|
10818
10900
|
}
|
|
10819
10901
|
|
|
10902
|
+
declare type Result$ = GoogleMapsResult;
|
|
10903
|
+
|
|
10904
|
+
declare type Result$2 = GoogleSearchResult;
|
|
10905
|
+
|
|
10906
|
+
declare type Result$3 = URLContextResult;
|
|
10907
|
+
|
|
10820
10908
|
declare type Retrieval$ = Retrieval_2;
|
|
10821
10909
|
|
|
10822
10910
|
/** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
|
|
@@ -10885,10 +10973,19 @@ declare type RetryConfig = {
|
|
|
10885
10973
|
strategy: "backoff";
|
|
10886
10974
|
backoff?: BackoffStrategy;
|
|
10887
10975
|
retryConnectionErrors?: boolean;
|
|
10976
|
+
} | {
|
|
10977
|
+
strategy: "attempt-count-backoff";
|
|
10978
|
+
maxRetries: number;
|
|
10979
|
+
backoff?: Partial<BackoffStrategy>;
|
|
10980
|
+
retryConnectionErrors?: boolean;
|
|
10888
10981
|
};
|
|
10889
10982
|
|
|
10890
10983
|
declare type ReviewSnippet$ = ReviewSnippet;
|
|
10891
10984
|
|
|
10985
|
+
declare type ReviewSnippet$2 = ReviewSnippet;
|
|
10986
|
+
|
|
10987
|
+
declare type ReviewSnippet$3 = ReviewSnippet;
|
|
10988
|
+
|
|
10892
10989
|
/**
|
|
10893
10990
|
* @license
|
|
10894
10991
|
* Copyright 2026 Google LLC
|
|
@@ -10941,24 +11038,6 @@ declare type RotateSigningSecretRequest = {
|
|
|
10941
11038
|
revocation_behavior?: RevocationBehavior | undefined;
|
|
10942
11039
|
};
|
|
10943
11040
|
|
|
10944
|
-
declare type RotateSigningSecretRequest_2 = {
|
|
10945
|
-
/**
|
|
10946
|
-
* Which version of the API to use.
|
|
10947
|
-
*/
|
|
10948
|
-
api_version?: string | undefined;
|
|
10949
|
-
/**
|
|
10950
|
-
* Required. The ID of the webhook for which to generate a signing secret.
|
|
10951
|
-
*
|
|
10952
|
-
* @remarks
|
|
10953
|
-
* Format: `{webhook_id}`
|
|
10954
|
-
*/
|
|
10955
|
-
id: string;
|
|
10956
|
-
/**
|
|
10957
|
-
* The request body.
|
|
10958
|
-
*/
|
|
10959
|
-
body?: webhooks.RotateSigningSecretRequest | undefined;
|
|
10960
|
-
};
|
|
10961
|
-
|
|
10962
11041
|
/** Rouge metric value for an instance. This data type is not supported in Gemini API. */
|
|
10963
11042
|
export declare interface RougeMetricValue {
|
|
10964
11043
|
/** Output only. Rouge score. */
|
|
@@ -10983,6 +11062,42 @@ export declare enum SafetyFilterLevel {
|
|
|
10983
11062
|
BLOCK_NONE = "BLOCK_NONE"
|
|
10984
11063
|
}
|
|
10985
11064
|
|
|
11065
|
+
/** SafetyPolicy */
|
|
11066
|
+
export declare enum SafetyPolicy {
|
|
11067
|
+
/**
|
|
11068
|
+
* Unspecified safety policy.
|
|
11069
|
+
*/
|
|
11070
|
+
SAFETY_POLICY_UNSPECIFIED = "SAFETY_POLICY_UNSPECIFIED",
|
|
11071
|
+
/**
|
|
11072
|
+
* Safety policy for financial transactions.
|
|
11073
|
+
*/
|
|
11074
|
+
FINANCIAL_TRANSACTIONS = "FINANCIAL_TRANSACTIONS",
|
|
11075
|
+
/**
|
|
11076
|
+
* Safety policy for sensitive data modification.
|
|
11077
|
+
*/
|
|
11078
|
+
SENSITIVE_DATA_MODIFICATION = "SENSITIVE_DATA_MODIFICATION",
|
|
11079
|
+
/**
|
|
11080
|
+
* Safety policy for communication tools (e.g. Gmail, Chat, Meet).
|
|
11081
|
+
*/
|
|
11082
|
+
COMMUNICATION_TOOL = "COMMUNICATION_TOOL",
|
|
11083
|
+
/**
|
|
11084
|
+
* Safety policy for account creation.
|
|
11085
|
+
*/
|
|
11086
|
+
ACCOUNT_CREATION = "ACCOUNT_CREATION",
|
|
11087
|
+
/**
|
|
11088
|
+
* Safety policy for data modification.
|
|
11089
|
+
*/
|
|
11090
|
+
DATA_MODIFICATION = "DATA_MODIFICATION",
|
|
11091
|
+
/**
|
|
11092
|
+
* Safety policy for user consent management.
|
|
11093
|
+
*/
|
|
11094
|
+
USER_CONSENT_MANAGEMENT = "USER_CONSENT_MANAGEMENT",
|
|
11095
|
+
/**
|
|
11096
|
+
* Safety policy for legal terms and agreements.
|
|
11097
|
+
*/
|
|
11098
|
+
LEGAL_TERMS_AND_AGREEMENTS = "LEGAL_TERMS_AND_AGREEMENTS"
|
|
11099
|
+
}
|
|
11100
|
+
|
|
10986
11101
|
/** A safety rating for a piece of content. The safety rating contains the harm category and the harm probability level. */
|
|
10987
11102
|
export declare interface SafetyRating {
|
|
10988
11103
|
/** Output only. Indicates whether the content was blocked because of this rating. */
|
|
@@ -11254,8 +11369,6 @@ export declare interface SendMessageParameters {
|
|
|
11254
11369
|
config?: GenerateContentConfig;
|
|
11255
11370
|
}
|
|
11256
11371
|
|
|
11257
|
-
declare type ServiceTier$ = ServiceTier_2;
|
|
11258
|
-
|
|
11259
11372
|
/** Pricing and performance service tier. */
|
|
11260
11373
|
export declare enum ServiceTier {
|
|
11261
11374
|
/**
|
|
@@ -11447,8 +11560,6 @@ export declare function setDefaultBaseUrls(baseUrlParams: BaseUrlParameters): vo
|
|
|
11447
11560
|
|
|
11448
11561
|
declare type SigningSecret$ = SigningSecret;
|
|
11449
11562
|
|
|
11450
|
-
declare type SigningSecret$2 = SigningSecret;
|
|
11451
|
-
|
|
11452
11563
|
/**
|
|
11453
11564
|
* @license
|
|
11454
11565
|
* Copyright 2026 Google LLC
|
|
@@ -11615,6 +11726,48 @@ export declare enum StartSensitivity {
|
|
|
11615
11726
|
START_SENSITIVITY_LOW = "START_SENSITIVITY_LOW"
|
|
11616
11727
|
}
|
|
11617
11728
|
|
|
11729
|
+
/**
|
|
11730
|
+
* @license
|
|
11731
|
+
* Copyright 2026 Google LLC
|
|
11732
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
11733
|
+
*
|
|
11734
|
+
* g3-prettier-ignore-file
|
|
11735
|
+
*/
|
|
11736
|
+
/**
|
|
11737
|
+
* The `Status` type defines a logical error model that is suitable for
|
|
11738
|
+
*
|
|
11739
|
+
* @remarks
|
|
11740
|
+
* different programming environments, including REST APIs and RPC APIs. It is
|
|
11741
|
+
* used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
11742
|
+
* three pieces of data: error code, error message, and error details.
|
|
11743
|
+
*
|
|
11744
|
+
* You can find out more about this error model and how to work with it in the
|
|
11745
|
+
* [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
11746
|
+
*/
|
|
11747
|
+
declare type Status = {
|
|
11748
|
+
/**
|
|
11749
|
+
* The status code, which should be an enum value of google.rpc.Code.
|
|
11750
|
+
*/
|
|
11751
|
+
code?: number | undefined;
|
|
11752
|
+
/**
|
|
11753
|
+
* A developer-facing error message, which should be in English. Any
|
|
11754
|
+
*
|
|
11755
|
+
* @remarks
|
|
11756
|
+
* user-facing error message should be localized and sent in the
|
|
11757
|
+
* google.rpc.Status.details field, or localized by the client.
|
|
11758
|
+
*/
|
|
11759
|
+
message?: string | undefined;
|
|
11760
|
+
/**
|
|
11761
|
+
* A list of messages that carry the error details. There is a common set of
|
|
11762
|
+
*
|
|
11763
|
+
* @remarks
|
|
11764
|
+
* message types for APIs to use.
|
|
11765
|
+
*/
|
|
11766
|
+
details?: Array<{
|
|
11767
|
+
[k: string]: any;
|
|
11768
|
+
}> | undefined;
|
|
11769
|
+
};
|
|
11770
|
+
|
|
11618
11771
|
declare type Step$ = Step;
|
|
11619
11772
|
|
|
11620
11773
|
/**
|
|
@@ -11641,12 +11794,8 @@ declare type StepDelta = {
|
|
|
11641
11794
|
metadata?: StepDeltaMetadata | undefined;
|
|
11642
11795
|
};
|
|
11643
11796
|
|
|
11644
|
-
declare type StepDeltaData$ = StepDeltaData;
|
|
11645
|
-
|
|
11646
11797
|
declare type StepDeltaData = TextDelta | ImageDelta | AudioDelta | DocumentDelta | VideoDelta | ThoughtSummaryDelta | ThoughtSignatureDelta | TextAnnotationDelta | ArgumentsDelta | CodeExecutionCallDelta | URLContextCallDelta | GoogleSearchCallDelta | MCPServerToolCallDelta | FileSearchCallDelta | GoogleMapsCallDelta | CodeExecutionResultDelta | URLContextResultDelta | GoogleSearchResultDelta | MCPServerToolResultDelta | FileSearchResultDelta | GoogleMapsResultDelta | FunctionResultDelta;
|
|
11647
11798
|
|
|
11648
|
-
declare type StepDeltaMetadata$ = StepDeltaMetadata;
|
|
11649
|
-
|
|
11650
11799
|
/**
|
|
11651
11800
|
* Optional metadata accompanying ANY streamed event.
|
|
11652
11801
|
*/
|
|
@@ -11681,6 +11830,14 @@ declare type StepStop$ = StepStop;
|
|
|
11681
11830
|
declare type StepStop = {
|
|
11682
11831
|
event_type: "step.stop";
|
|
11683
11832
|
index: number;
|
|
11833
|
+
/**
|
|
11834
|
+
* Statistics on the interaction request's token usage.
|
|
11835
|
+
*/
|
|
11836
|
+
usage?: Usage | undefined;
|
|
11837
|
+
/**
|
|
11838
|
+
* Statistics on the interaction request's token usage.
|
|
11839
|
+
*/
|
|
11840
|
+
step_usage?: Usage | undefined;
|
|
11684
11841
|
/**
|
|
11685
11842
|
* The event_id token to be used to resume the interaction stream, from
|
|
11686
11843
|
*
|
|
@@ -11695,7 +11852,8 @@ export declare class Stream<T> extends ReadableStream<T> {
|
|
|
11695
11852
|
constructor(responseBody: ReadableStream<Uint8Array>, parse: (x: SseMessage<string>) => IteratorResult<T, undefined>, opts?: {
|
|
11696
11853
|
dataRequired?: boolean;
|
|
11697
11854
|
});
|
|
11698
|
-
[Symbol.asyncIterator]():
|
|
11855
|
+
[Symbol.asyncIterator](options?: unknown): StreamAsyncIterator<T>;
|
|
11856
|
+
values(options?: unknown): StreamAsyncIterator<T>;
|
|
11699
11857
|
}
|
|
11700
11858
|
|
|
11701
11859
|
/** A transport that can stream HTTP requests and responses. Next ID: 6. This data type is not supported in Vertex AI. */
|
|
@@ -11712,7 +11870,23 @@ export declare interface StreamableHttpTransport {
|
|
|
11712
11870
|
url?: string;
|
|
11713
11871
|
}
|
|
11714
11872
|
|
|
11715
|
-
|
|
11873
|
+
/**
|
|
11874
|
+
* @license
|
|
11875
|
+
* Copyright 2026 Google LLC
|
|
11876
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
11877
|
+
*
|
|
11878
|
+
* g3-prettier-ignore-file
|
|
11879
|
+
*/
|
|
11880
|
+
declare type StreamAsyncIterator<T> = {
|
|
11881
|
+
next(): Promise<IteratorResult<T, undefined>>;
|
|
11882
|
+
throw?(e?: unknown): Promise<IteratorResult<T, undefined>>;
|
|
11883
|
+
return?(): Promise<IteratorResult<T, undefined>>;
|
|
11884
|
+
[Symbol.asyncIterator](): StreamAsyncIterator<T>;
|
|
11885
|
+
} & {
|
|
11886
|
+
[K in typeof Symbol extends {
|
|
11887
|
+
readonly asyncDispose: infer SymbolType extends symbol;
|
|
11888
|
+
} ? SymbolType : never]: () => PromiseLike<void>;
|
|
11889
|
+
};
|
|
11716
11890
|
|
|
11717
11891
|
declare type StreamMetadata = {
|
|
11718
11892
|
/**
|
|
@@ -11876,6 +12050,22 @@ export declare interface SupervisedTuningSpec {
|
|
|
11876
12050
|
validationDatasetUri?: string;
|
|
11877
12051
|
}
|
|
11878
12052
|
|
|
12053
|
+
/**
|
|
12054
|
+
* @license
|
|
12055
|
+
* Copyright 2026 Google LLC
|
|
12056
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
12057
|
+
*
|
|
12058
|
+
* g3-prettier-ignore-file
|
|
12059
|
+
*/
|
|
12060
|
+
/**
|
|
12061
|
+
* Optional task mode for video generation. If not specified, the model
|
|
12062
|
+
*
|
|
12063
|
+
* @remarks
|
|
12064
|
+
* automatically determines the appropriate mode based on the provided text
|
|
12065
|
+
* prompt and input media.
|
|
12066
|
+
*/
|
|
12067
|
+
declare type Task = "text_to_video" | "image_to_video" | "reference_to_video" | "edit" | (string & {});
|
|
12068
|
+
|
|
11879
12069
|
export declare interface TestTableFile {
|
|
11880
12070
|
comment?: string;
|
|
11881
12071
|
testMethod?: string;
|
|
@@ -11902,6 +12092,8 @@ export declare interface TestTableItem {
|
|
|
11902
12092
|
ignoreKeys?: string[];
|
|
11903
12093
|
}
|
|
11904
12094
|
|
|
12095
|
+
declare type Text$ = TextDelta;
|
|
12096
|
+
|
|
11905
12097
|
declare type TextAnnotationDelta$ = TextAnnotationDelta;
|
|
11906
12098
|
|
|
11907
12099
|
declare type TextAnnotationDelta = {
|
|
@@ -11929,8 +12121,6 @@ declare type TextContent = {
|
|
|
11929
12121
|
annotations?: Array<Annotation> | undefined;
|
|
11930
12122
|
};
|
|
11931
12123
|
|
|
11932
|
-
declare type TextDelta$ = TextDelta;
|
|
11933
|
-
|
|
11934
12124
|
/**
|
|
11935
12125
|
* @license
|
|
11936
12126
|
* Copyright 2026 Google LLC
|
|
@@ -12024,8 +12214,6 @@ export declare enum ThinkingLevel {
|
|
|
12024
12214
|
*/
|
|
12025
12215
|
declare type ThinkingLevel_2 = "minimal" | "low" | "medium" | "high" | (string & {});
|
|
12026
12216
|
|
|
12027
|
-
declare type ThinkingSummaries$ = ThinkingSummaries;
|
|
12028
|
-
|
|
12029
12217
|
/**
|
|
12030
12218
|
* @license
|
|
12031
12219
|
* Copyright 2026 Google LLC
|
|
@@ -12035,7 +12223,7 @@ declare type ThinkingSummaries$ = ThinkingSummaries;
|
|
|
12035
12223
|
*/
|
|
12036
12224
|
declare type ThinkingSummaries = "auto" | "none" | (string & {});
|
|
12037
12225
|
|
|
12038
|
-
declare type
|
|
12226
|
+
declare type ThoughtSignature$ = ThoughtSignatureDelta;
|
|
12039
12227
|
|
|
12040
12228
|
/**
|
|
12041
12229
|
* @license
|
|
@@ -12069,12 +12257,10 @@ declare type ThoughtStep = {
|
|
|
12069
12257
|
summary?: Array<ThoughtSummaryContent> | undefined;
|
|
12070
12258
|
};
|
|
12071
12259
|
|
|
12072
|
-
declare type
|
|
12260
|
+
declare type ThoughtSummary$ = ThoughtSummaryDelta;
|
|
12073
12261
|
|
|
12074
12262
|
declare type ThoughtSummaryContent = TextContent | ImageContent;
|
|
12075
12263
|
|
|
12076
|
-
declare type ThoughtSummaryDelta$ = ThoughtSummaryDelta;
|
|
12077
|
-
|
|
12078
12264
|
declare type ThoughtSummaryDelta = {
|
|
12079
12265
|
type: "thought_summary";
|
|
12080
12266
|
/**
|
|
@@ -12189,9 +12375,7 @@ declare type Tool$ = Tool_2;
|
|
|
12189
12375
|
export declare interface Tool {
|
|
12190
12376
|
/** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. This field is not supported in Gemini API. */
|
|
12191
12377
|
retrieval?: Retrieval;
|
|
12192
|
-
/** Optional. Tool to support the model interacting directly with the
|
|
12193
|
-
computer. If enabled, it automatically populates computer-use specific
|
|
12194
|
-
Function Declarations. */
|
|
12378
|
+
/** Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. */
|
|
12195
12379
|
computerUse?: ComputerUse;
|
|
12196
12380
|
/** Optional. FileSearch tool type. Tool to retrieve knowledge from Semantic Retrieval corpora. This field is not supported in Vertex AI. */
|
|
12197
12381
|
fileSearch?: FileSearch;
|
|
@@ -12333,6 +12517,8 @@ export declare enum ToolType {
|
|
|
12333
12517
|
|
|
12334
12518
|
export declare type ToolUnion = Tool | CallableTool;
|
|
12335
12519
|
|
|
12520
|
+
declare type ToolUseTokensByModality$ = ModalityTokens;
|
|
12521
|
+
|
|
12336
12522
|
/** Output only. The traffic type for this request. This enum is not supported in Gemini API. */
|
|
12337
12523
|
export declare enum TrafficType {
|
|
12338
12524
|
/**
|
|
@@ -12357,7 +12543,7 @@ export declare enum TrafficType {
|
|
|
12357
12543
|
PROVISIONED_THROUGHPUT = "PROVISIONED_THROUGHPUT"
|
|
12358
12544
|
}
|
|
12359
12545
|
|
|
12360
|
-
/** Audio transcription in Server
|
|
12546
|
+
/** Audio transcription in Server Content. */
|
|
12361
12547
|
export declare interface Transcription {
|
|
12362
12548
|
/** Optional. Transcription text. */
|
|
12363
12549
|
text?: string;
|
|
@@ -12706,8 +12892,6 @@ export declare interface TuningValidationDataset {
|
|
|
12706
12892
|
vertexDatasetResource?: string;
|
|
12707
12893
|
}
|
|
12708
12894
|
|
|
12709
|
-
declare type Turn$ = Turn;
|
|
12710
|
-
|
|
12711
12895
|
/**
|
|
12712
12896
|
* @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
12713
12897
|
*/
|
|
@@ -12913,10 +13097,11 @@ declare namespace types {
|
|
|
12913
13097
|
Language,
|
|
12914
13098
|
FunctionResponseScheduling,
|
|
12915
13099
|
Type,
|
|
12916
|
-
Environment,
|
|
12917
13100
|
AuthType,
|
|
12918
13101
|
HttpElementLocation,
|
|
12919
13102
|
ApiSpec,
|
|
13103
|
+
Environment,
|
|
13104
|
+
SafetyPolicy,
|
|
12920
13105
|
PhishBlockThreshold,
|
|
12921
13106
|
Behavior,
|
|
12922
13107
|
DynamicRetrievalConfigMode,
|
|
@@ -13000,7 +13185,6 @@ declare namespace types {
|
|
|
13000
13185
|
HttpOptions,
|
|
13001
13186
|
Schema,
|
|
13002
13187
|
ModelSelectionConfig,
|
|
13003
|
-
ComputerUse,
|
|
13004
13188
|
ApiKeyConfig,
|
|
13005
13189
|
AuthConfigGoogleServiceAccountConfig,
|
|
13006
13190
|
AuthConfigHttpBasicAuthConfig,
|
|
@@ -13024,6 +13208,7 @@ declare namespace types {
|
|
|
13024
13208
|
RagRetrievalConfig,
|
|
13025
13209
|
VertexRagStore,
|
|
13026
13210
|
Retrieval,
|
|
13211
|
+
ComputerUse,
|
|
13027
13212
|
FileSearch,
|
|
13028
13213
|
WebSearch,
|
|
13029
13214
|
ImageSearch,
|
|
@@ -13369,6 +13554,8 @@ declare namespace types {
|
|
|
13369
13554
|
SessionResumptionConfig,
|
|
13370
13555
|
SlidingWindow,
|
|
13371
13556
|
ContextWindowCompressionConfig,
|
|
13557
|
+
LanguageAuto,
|
|
13558
|
+
LanguageHints,
|
|
13372
13559
|
AudioTranscriptionConfig,
|
|
13373
13560
|
ProactivityConfig,
|
|
13374
13561
|
CustomizedAvatar,
|
|
@@ -13481,27 +13668,6 @@ export declare interface UpdateModelParameters {
|
|
|
13481
13668
|
config?: UpdateModelConfig;
|
|
13482
13669
|
}
|
|
13483
13670
|
|
|
13484
|
-
declare type UpdateWebhookParams = Omit<UpdateWebhookRequest, "id" | "body"> & Partial<NonNullable<UpdateWebhookRequest["body"]>>;
|
|
13485
|
-
|
|
13486
|
-
declare type UpdateWebhookRequest = {
|
|
13487
|
-
/**
|
|
13488
|
-
* Which version of the API to use.
|
|
13489
|
-
*/
|
|
13490
|
-
api_version?: string | undefined;
|
|
13491
|
-
/**
|
|
13492
|
-
* Required. The ID of the webhook to update.
|
|
13493
|
-
*/
|
|
13494
|
-
id: string;
|
|
13495
|
-
/**
|
|
13496
|
-
* Optional. The list of fields to update.
|
|
13497
|
-
*/
|
|
13498
|
-
update_mask?: string | undefined;
|
|
13499
|
-
/**
|
|
13500
|
-
* Required. The webhook to update.
|
|
13501
|
-
*/
|
|
13502
|
-
body?: webhooks.WebhookUpdate | undefined;
|
|
13503
|
-
};
|
|
13504
|
-
|
|
13505
13671
|
declare interface Uploader {
|
|
13506
13672
|
/**
|
|
13507
13673
|
* Uploads a file to the given upload url.
|
|
@@ -13756,6 +13922,8 @@ declare type URLContext = {
|
|
|
13756
13922
|
export declare interface UrlContext {
|
|
13757
13923
|
}
|
|
13758
13924
|
|
|
13925
|
+
declare type URLContextCall$ = URLContextCallDelta;
|
|
13926
|
+
|
|
13759
13927
|
declare type URLContextCallArguments$ = URLContextCallArguments;
|
|
13760
13928
|
|
|
13761
13929
|
/**
|
|
@@ -13775,8 +13943,6 @@ declare type URLContextCallArguments = {
|
|
|
13775
13943
|
urls?: Array<string> | undefined;
|
|
13776
13944
|
};
|
|
13777
13945
|
|
|
13778
|
-
declare type URLContextCallDelta$ = URLContextCallDelta;
|
|
13779
|
-
|
|
13780
13946
|
declare type URLContextCallDelta = {
|
|
13781
13947
|
type: "url_context_call";
|
|
13782
13948
|
/**
|
|
@@ -13807,7 +13973,7 @@ declare type URLContextCallStep = {
|
|
|
13807
13973
|
/**
|
|
13808
13974
|
* The arguments to pass to the URL context.
|
|
13809
13975
|
*/
|
|
13810
|
-
arguments
|
|
13976
|
+
arguments: Arguments;
|
|
13811
13977
|
};
|
|
13812
13978
|
|
|
13813
13979
|
/** Metadata returned when the model uses the `url_context` tool to get information from a user-provided URL. */
|
|
@@ -13818,6 +13984,8 @@ export declare interface UrlContextMetadata {
|
|
|
13818
13984
|
|
|
13819
13985
|
declare type URLContextResult$ = URLContextResult;
|
|
13820
13986
|
|
|
13987
|
+
declare type URLContextResult$2 = URLContextResultDelta;
|
|
13988
|
+
|
|
13821
13989
|
/**
|
|
13822
13990
|
* The result of the URL context.
|
|
13823
13991
|
*/
|
|
@@ -13832,8 +14000,6 @@ declare type URLContextResult = {
|
|
|
13832
14000
|
status?: URLContextResultStatus | undefined;
|
|
13833
14001
|
};
|
|
13834
14002
|
|
|
13835
|
-
declare type URLContextResultDelta$ = URLContextResultDelta;
|
|
13836
|
-
|
|
13837
14003
|
declare type URLContextResultDelta = {
|
|
13838
14004
|
type: "url_context_result";
|
|
13839
14005
|
result: Array<URLContextResult>;
|
|
@@ -13864,9 +14030,9 @@ declare type URLContextResultStep$ = URLContextResultStep;
|
|
|
13864
14030
|
declare type URLContextResultStep = {
|
|
13865
14031
|
type: "url_context_result";
|
|
13866
14032
|
/**
|
|
13867
|
-
* The results of the URL context.
|
|
14033
|
+
* Required. The results of the URL context.
|
|
13868
14034
|
*/
|
|
13869
|
-
result
|
|
14035
|
+
result: Array<URLContextResult>;
|
|
13870
14036
|
/**
|
|
13871
14037
|
* Whether the URL context resulted in an error.
|
|
13872
14038
|
*/
|
|
@@ -14186,6 +14352,8 @@ export declare interface VertexRagStoreRagResource {
|
|
|
14186
14352
|
ragFileIds?: string[];
|
|
14187
14353
|
}
|
|
14188
14354
|
|
|
14355
|
+
declare type Video$ = VideoDelta;
|
|
14356
|
+
|
|
14189
14357
|
/** A generated video. */
|
|
14190
14358
|
export declare interface Video {
|
|
14191
14359
|
/** Path to another storage. */
|
|
@@ -14211,6 +14379,22 @@ export declare enum VideoCompressionQuality {
|
|
|
14211
14379
|
LOSSLESS = "LOSSLESS"
|
|
14212
14380
|
}
|
|
14213
14381
|
|
|
14382
|
+
declare type VideoConfig$ = VideoConfig;
|
|
14383
|
+
|
|
14384
|
+
/**
|
|
14385
|
+
* Configuration options for video generation.
|
|
14386
|
+
*/
|
|
14387
|
+
declare type VideoConfig = {
|
|
14388
|
+
/**
|
|
14389
|
+
* Optional task mode for video generation. If not specified, the model
|
|
14390
|
+
*
|
|
14391
|
+
* @remarks
|
|
14392
|
+
* automatically determines the appropriate mode based on the provided text
|
|
14393
|
+
* prompt and input media.
|
|
14394
|
+
*/
|
|
14395
|
+
task?: Task | undefined;
|
|
14396
|
+
};
|
|
14397
|
+
|
|
14214
14398
|
declare type VideoContent$ = VideoContent;
|
|
14215
14399
|
|
|
14216
14400
|
/**
|
|
@@ -14238,10 +14422,6 @@ declare type VideoContent = {
|
|
|
14238
14422
|
*/
|
|
14239
14423
|
declare type VideoContentMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | (string & {});
|
|
14240
14424
|
|
|
14241
|
-
declare type VideoContentParam$ = VideoContent;
|
|
14242
|
-
|
|
14243
|
-
declare type VideoDelta$ = VideoDelta;
|
|
14244
|
-
|
|
14245
14425
|
declare type VideoDelta = {
|
|
14246
14426
|
type: "video";
|
|
14247
14427
|
data?: string | undefined;
|
|
@@ -14339,6 +14519,51 @@ export declare enum VideoOrientation {
|
|
|
14339
14519
|
PORTRAIT = "PORTRAIT"
|
|
14340
14520
|
}
|
|
14341
14521
|
|
|
14522
|
+
declare type VideoResponseFormat$ = VideoResponseFormat;
|
|
14523
|
+
|
|
14524
|
+
/**
|
|
14525
|
+
* Configuration for video output format.
|
|
14526
|
+
*/
|
|
14527
|
+
declare type VideoResponseFormat = {
|
|
14528
|
+
type: "video";
|
|
14529
|
+
/**
|
|
14530
|
+
* The delivery mode for the video output.
|
|
14531
|
+
*/
|
|
14532
|
+
delivery?: VideoResponseFormatDelivery | undefined;
|
|
14533
|
+
/**
|
|
14534
|
+
* The GCS URI to store the video output. Required for Vertex if delivery mode
|
|
14535
|
+
*
|
|
14536
|
+
* @remarks
|
|
14537
|
+
* is URI.
|
|
14538
|
+
*/
|
|
14539
|
+
gcs_uri?: string | undefined;
|
|
14540
|
+
/**
|
|
14541
|
+
* The aspect ratio for the video output.
|
|
14542
|
+
*/
|
|
14543
|
+
aspect_ratio?: VideoResponseFormatAspectRatio | undefined;
|
|
14544
|
+
/**
|
|
14545
|
+
* The duration for the video output.
|
|
14546
|
+
*/
|
|
14547
|
+
duration?: string | undefined;
|
|
14548
|
+
};
|
|
14549
|
+
|
|
14550
|
+
/**
|
|
14551
|
+
* The aspect ratio for the video output.
|
|
14552
|
+
*/
|
|
14553
|
+
declare type VideoResponseFormatAspectRatio = "16:9" | "9:16" | (string & {});
|
|
14554
|
+
|
|
14555
|
+
/**
|
|
14556
|
+
* @license
|
|
14557
|
+
* Copyright 2026 Google LLC
|
|
14558
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
14559
|
+
*
|
|
14560
|
+
* g3-prettier-ignore-file
|
|
14561
|
+
*/
|
|
14562
|
+
/**
|
|
14563
|
+
* The delivery mode for the video output.
|
|
14564
|
+
*/
|
|
14565
|
+
declare type VideoResponseFormatDelivery = "inline" | "uri" | (string & {});
|
|
14566
|
+
|
|
14342
14567
|
/**
|
|
14343
14568
|
* Whether to include visualizations in the response.
|
|
14344
14569
|
*/
|
|
@@ -14348,6 +14573,8 @@ declare type Visualization = "off" | "auto" | (string & {});
|
|
|
14348
14573
|
export declare interface VoiceActivity {
|
|
14349
14574
|
/** The type of the voice activity signal. */
|
|
14350
14575
|
voiceActivityType?: VoiceActivityType;
|
|
14576
|
+
/** The time voice activity detected in audio time, relative to the start of the audio stream. */
|
|
14577
|
+
audioOffset?: string;
|
|
14351
14578
|
}
|
|
14352
14579
|
|
|
14353
14580
|
export declare interface VoiceActivityDetectionSignal {
|
|
@@ -14383,8 +14610,6 @@ export declare interface VoiceConfig {
|
|
|
14383
14610
|
|
|
14384
14611
|
declare type Webhook$ = Webhook;
|
|
14385
14612
|
|
|
14386
|
-
declare type Webhook$2 = Webhook;
|
|
14387
|
-
|
|
14388
14613
|
/**
|
|
14389
14614
|
* A Webhook resource.
|
|
14390
14615
|
*/
|
|
@@ -14482,16 +14707,12 @@ declare type WebhookConfig_2 = {
|
|
|
14482
14707
|
} | undefined;
|
|
14483
14708
|
};
|
|
14484
14709
|
|
|
14485
|
-
declare type WebhookCreateParams$ =
|
|
14486
|
-
|
|
14487
|
-
declare type WebhookCreateParams$2 = CreateWebhookParams;
|
|
14710
|
+
declare type WebhookCreateParams$ = CreateWebhookParams;
|
|
14488
14711
|
|
|
14489
14712
|
declare type WebhookDeleteParams$ = DeleteWebhookParams;
|
|
14490
14713
|
|
|
14491
14714
|
declare type WebhookDeleteResponse$ = Empty;
|
|
14492
14715
|
|
|
14493
|
-
declare type WebhookDeleteResponse$2 = Empty;
|
|
14494
|
-
|
|
14495
14716
|
declare type WebhookGetParams$ = GetWebhookParams;
|
|
14496
14717
|
|
|
14497
14718
|
declare type WebhookInput$ = WebhookInput;
|
|
@@ -14526,8 +14747,6 @@ declare type WebhookInput = {
|
|
|
14526
14747
|
|
|
14527
14748
|
declare type WebhookListParams$ = ListWebhooksParams;
|
|
14528
14749
|
|
|
14529
|
-
declare type WebhookListParams$2 = ListWebhooksParams;
|
|
14530
|
-
|
|
14531
14750
|
declare type WebhookListParams = {
|
|
14532
14751
|
api_version?: string;
|
|
14533
14752
|
page_size?: number;
|
|
@@ -14536,8 +14755,6 @@ declare type WebhookListParams = {
|
|
|
14536
14755
|
|
|
14537
14756
|
declare type WebhookListResponse$ = WebhookListResponse;
|
|
14538
14757
|
|
|
14539
|
-
declare type WebhookListResponse$2 = WebhookListResponse;
|
|
14540
|
-
|
|
14541
14758
|
/**
|
|
14542
14759
|
* Response message for WebhookService.ListWebhooks.
|
|
14543
14760
|
*/
|
|
@@ -14557,8 +14774,6 @@ declare type WebhookListResponse = {
|
|
|
14557
14774
|
|
|
14558
14775
|
declare type WebhookPingParams$ = PingWebhookRequest;
|
|
14559
14776
|
|
|
14560
|
-
declare type WebhookPingParams$2 = PingWebhookRequest_2;
|
|
14561
|
-
|
|
14562
14777
|
declare type WebhookPingParams = {
|
|
14563
14778
|
api_version?: string;
|
|
14564
14779
|
body?: webhooks.PingWebhookRequest;
|
|
@@ -14566,8 +14781,6 @@ declare type WebhookPingParams = {
|
|
|
14566
14781
|
|
|
14567
14782
|
declare type WebhookPingResponse$ = WebhookPingResponse;
|
|
14568
14783
|
|
|
14569
|
-
declare type WebhookPingResponse$2 = WebhookPingResponse;
|
|
14570
|
-
|
|
14571
14784
|
/**
|
|
14572
14785
|
* @license
|
|
14573
14786
|
* Copyright 2026 Google LLC
|
|
@@ -14582,16 +14795,12 @@ declare type WebhookPingResponse = {};
|
|
|
14582
14795
|
|
|
14583
14796
|
declare type WebhookRotateSigningSecretParams$ = RotateSigningSecretRequest;
|
|
14584
14797
|
|
|
14585
|
-
declare type WebhookRotateSigningSecretParams$2 = RotateSigningSecretRequest_2;
|
|
14586
|
-
|
|
14587
14798
|
declare type WebhookRotateSigningSecretParams = webhooks.RotateSigningSecretRequest & {
|
|
14588
14799
|
api_version?: string;
|
|
14589
14800
|
};
|
|
14590
14801
|
|
|
14591
14802
|
declare type WebhookRotateSigningSecretResponse$ = WebhookRotateSigningSecretResponse;
|
|
14592
14803
|
|
|
14593
|
-
declare type WebhookRotateSigningSecretResponse$2 = WebhookRotateSigningSecretResponse;
|
|
14594
|
-
|
|
14595
14804
|
/**
|
|
14596
14805
|
* @license
|
|
14597
14806
|
* Copyright 2026 Google LLC
|
|
@@ -14612,21 +14821,21 @@ declare type WebhookRotateSigningSecretResponse = {
|
|
|
14612
14821
|
export declare namespace Webhooks {
|
|
14613
14822
|
export type PingWebhookRequest = PingWebhookRequest$;
|
|
14614
14823
|
export type RotateSigningSecretRequest = RotateSigningSecretRequest$;
|
|
14615
|
-
export type SigningSecret = SigningSecret
|
|
14616
|
-
export type Webhook = Webhook
|
|
14617
|
-
export type WebhookCreateParams = WebhookCreateParams
|
|
14824
|
+
export type SigningSecret = SigningSecret$;
|
|
14825
|
+
export type Webhook = Webhook$;
|
|
14826
|
+
export type WebhookCreateParams = WebhookCreateParams$;
|
|
14618
14827
|
export type WebhookDeleteParams = WebhookDeleteParams$;
|
|
14619
|
-
export type WebhookDeleteResponse = WebhookDeleteResponse
|
|
14828
|
+
export type WebhookDeleteResponse = WebhookDeleteResponse$;
|
|
14620
14829
|
export type WebhookGetParams = WebhookGetParams$;
|
|
14621
|
-
export type WebhookListParams = WebhookListParams$2;
|
|
14622
|
-
export type WebhookListResponse = WebhookListResponse$2;
|
|
14623
|
-
export type WebhookPingParams = WebhookPingParams$2;
|
|
14624
|
-
export type WebhookPingResponse = WebhookPingResponse$2;
|
|
14625
|
-
export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$2;
|
|
14626
|
-
export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$2;
|
|
14627
|
-
export type WebhookUpdate = WebhookUpdate$;
|
|
14628
|
-
export type WebhookUpdateParams = WebhookUpdateParams$2;
|
|
14629
14830
|
export type WebhookInput = WebhookInput$;
|
|
14831
|
+
export type WebhookListParams = WebhookListParams$;
|
|
14832
|
+
export type WebhookListResponse = WebhookListResponse$;
|
|
14833
|
+
export type WebhookPingParams = WebhookPingParams$;
|
|
14834
|
+
export type WebhookPingResponse = WebhookPingResponse$;
|
|
14835
|
+
export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
|
|
14836
|
+
export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
|
|
14837
|
+
export type WebhookUpdate = WebhookUpdate$;
|
|
14838
|
+
export type WebhookUpdateParams = WebhookUpdateParams$;
|
|
14630
14839
|
}
|
|
14631
14840
|
|
|
14632
14841
|
declare namespace webhooks {
|
|
@@ -14688,8 +14897,6 @@ declare type WebhookUpdate = {
|
|
|
14688
14897
|
|
|
14689
14898
|
declare type WebhookUpdateParams$ = WebhookUpdate;
|
|
14690
14899
|
|
|
14691
|
-
declare type WebhookUpdateParams$2 = UpdateWebhookParams;
|
|
14692
|
-
|
|
14693
14900
|
declare type WebhookUpdateParams = {
|
|
14694
14901
|
api_version?: string;
|
|
14695
14902
|
update_mask?: string;
|