@google/genai 2.1.0 → 2.2.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/dist/genai.d.ts CHANGED
@@ -9962,7 +9962,7 @@ export declare enum StartSensitivity {
9962
9962
  declare type Step = UserInputStep | ModelOutputStep | ThoughtStep | FunctionCallStep | CodeExecutionCallStep | URLContextCallStep | MCPServerToolCallStep | GoogleSearchCallStep | FileSearchCallStep | GoogleMapsCallStep | FunctionResultStep | CodeExecutionResultStep | URLContextResultStep | GoogleSearchResultStep | MCPServerToolResultStep | FileSearchResultStep | GoogleMapsResultStep;
9963
9963
 
9964
9964
  declare interface StepDelta {
9965
- delta: StepDelta.Text | StepDelta.Image | StepDelta.Audio | StepDelta.Document | StepDelta.Video | StepDelta.ThoughtSummary | StepDelta.ThoughtSignature | StepDelta.TextAnnotationDelta | StepDelta.ArgumentsDelta | StepDelta.CodeExecutionCall | StepDelta.URLContextCall | StepDelta.GoogleSearchCall | StepDelta.MCPServerToolCall | StepDelta.FileSearchCall | StepDelta.GoogleMapsCall | StepDelta.CodeExecutionResult | StepDelta.URLContextResult | StepDelta.GoogleSearchResult | StepDelta.MCPServerToolResult | StepDelta.FileSearchResult | StepDelta.GoogleMapsResult;
9965
+ delta: StepDelta.Text | StepDelta.Image | StepDelta.Audio | StepDelta.Document | StepDelta.Video | StepDelta.ThoughtSummary | StepDelta.ThoughtSignature | StepDelta.TextAnnotationDelta | StepDelta.ArgumentsDelta | StepDelta.CodeExecutionCall | StepDelta.URLContextCall | StepDelta.GoogleSearchCall | StepDelta.MCPServerToolCall | StepDelta.FileSearchCall | StepDelta.GoogleMapsCall | StepDelta.CodeExecutionResult | StepDelta.URLContextResult | StepDelta.GoogleSearchResult | StepDelta.MCPServerToolResult | StepDelta.FileSearchResult | StepDelta.GoogleMapsResult | StepDelta.FunctionResult;
9966
9966
  event_type: 'step.delta';
9967
9967
  index: number;
9968
9968
  /**
@@ -10043,6 +10043,7 @@ declare namespace StepDelta {
10043
10043
  }
10044
10044
  interface ArgumentsDelta {
10045
10045
  type: 'arguments_delta';
10046
+ arguments?: string;
10046
10047
  }
10047
10048
  interface CodeExecutionCall {
10048
10049
  /**
@@ -10163,6 +10164,16 @@ declare namespace StepDelta {
10163
10164
  */
10164
10165
  signature?: string;
10165
10166
  }
10167
+ interface FunctionResult {
10168
+ /**
10169
+ * Required. ID to match the ID from the function call block.
10170
+ */
10171
+ call_id: string;
10172
+ result: unknown | Array<InteractionsAPI.TextContent | InteractionsAPI.ImageContent> | string;
10173
+ type: 'function_result';
10174
+ is_error?: boolean;
10175
+ name?: string;
10176
+ }
10166
10177
  }
10167
10178
 
10168
10179
  declare interface StepStart {