Skip to content

Commit d1b836b

Browse files
amirhcopybara-github
authored andcommitted
feat!: Rename SSE events to interaction.created and interaction.completed
PiperOrigin-RevId: 911764494
1 parent 7100818 commit d1b836b

7 files changed

Lines changed: 25 additions & 25 deletions

File tree

api-report/genai-node.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,7 @@ export class Interactions extends BaseInteractions {
21792179

21802180
// @public (undocumented)
21812181
export namespace Interactions {
2182-
{ export type AllowedTools as AllowedTools, export type Annotation as Annotation, export type AudioContent as AudioContent, export type AudioResponseFormat as AudioResponseFormat, export type CodeExecutionCallArguments as CodeExecutionCallArguments, export type CodeExecutionCallStep as CodeExecutionCallStep, export type CodeExecutionResultStep as CodeExecutionResultStep, export type Content as Content, export type DeepResearchAgentConfig as DeepResearchAgentConfig, export type DocumentContent as DocumentContent, export type DynamicAgentConfig as DynamicAgentConfig, export type ErrorEvent as ErrorEvent, export type FileCitation as FileCitation, export type FileSearchCallStep as FileSearchCallStep, export type FileSearchResultStep as FileSearchResultStep, export type Function as Function, export type FunctionCallStep as FunctionCallStep, export type FunctionResultStep as FunctionResultStep, export type GenerationConfig as GenerationConfig, export type GoogleMapsCallArguments as GoogleMapsCallArguments, export type GoogleMapsCallStep as GoogleMapsCallStep, export type GoogleMapsResult as GoogleMapsResult, export type GoogleMapsResultStep as GoogleMapsResultStep, export type GoogleSearchCallArguments as GoogleSearchCallArguments, export type GoogleSearchCallStep as GoogleSearchCallStep, export type GoogleSearchResult as GoogleSearchResult, export type GoogleSearchResultStep as GoogleSearchResultStep, export type ImageConfig as ImageConfig, export type ImageContent as ImageContent, export type ImageResponseFormat as ImageResponseFormat, export type Interaction as Interaction, export type InteractionCompleteEvent as InteractionCompleteEvent, export type InteractionSSEEvent as InteractionSSEEvent, export type InteractionStartEvent as InteractionStartEvent, export type InteractionStatusUpdate as InteractionStatusUpdate, export type MCPServerToolCallStep as MCPServerToolCallStep, export type MCPServerToolResultStep as MCPServerToolResultStep, export type Model as Model, export type ModelOutputStep as ModelOutputStep, export type PlaceCitation as PlaceCitation, export type SpeechConfig as SpeechConfig, export type Step as Step, export type StepDelta as StepDelta, export type StepStart as StepStart, export type StepStop as StepStop, export type TextContent as TextContent, export type TextResponseFormat as TextResponseFormat, export type ThinkingLevel as ThinkingLevel, export type ThoughtStep as ThoughtStep, export type Tool as Tool, export type ToolChoiceConfig as ToolChoiceConfig, export type ToolChoiceType as ToolChoiceType, export type URLCitation as URLCitation, export type URLContextCallArguments as URLContextCallArguments, export type URLContextCallStep as URLContextCallStep, export type URLContextResult as URLContextResult, export type URLContextResultStep as URLContextResultStep, export type Usage as Usage, export type UserInputStep as UserInputStep, export type VideoContent as VideoContent, export type VideoResponseFormat as VideoResponseFormat, export type WebhookConfig as WebhookConfig, export type InteractionDeleteResponse as InteractionDeleteResponse, export type InteractionCreateParams as InteractionCreateParams, export type CreateModelInteractionParamsNonStreaming as CreateModelInteractionParamsNonStreaming, export type CreateModelInteractionParamsStreaming as CreateModelInteractionParamsStreaming, export type CreateAgentInteractionParamsNonStreaming as CreateAgentInteractionParamsNonStreaming, export type CreateAgentInteractionParamsStreaming as CreateAgentInteractionParamsStreaming, export type InteractionDeleteParams as InteractionDeleteParams, export type InteractionCancelParams as InteractionCancelParams, export type InteractionGetParams as InteractionGetParams, export type InteractionGetParamsNonStreaming as InteractionGetParamsNonStreaming, export type InteractionGetParamsStreaming as InteractionGetParamsStreaming, };
2182+
{ export type AllowedTools as AllowedTools, export type Annotation as Annotation, export type AudioContent as AudioContent, export type AudioResponseFormat as AudioResponseFormat, export type CodeExecutionCallArguments as CodeExecutionCallArguments, export type CodeExecutionCallStep as CodeExecutionCallStep, export type CodeExecutionResultStep as CodeExecutionResultStep, export type Content as Content, export type DeepResearchAgentConfig as DeepResearchAgentConfig, export type DocumentContent as DocumentContent, export type DynamicAgentConfig as DynamicAgentConfig, export type ErrorEvent as ErrorEvent, export type FileCitation as FileCitation, export type FileSearchCallStep as FileSearchCallStep, export type FileSearchResultStep as FileSearchResultStep, export type Function as Function, export type FunctionCallStep as FunctionCallStep, export type FunctionResultStep as FunctionResultStep, export type GenerationConfig as GenerationConfig, export type GoogleMapsCallArguments as GoogleMapsCallArguments, export type GoogleMapsCallStep as GoogleMapsCallStep, export type GoogleMapsResult as GoogleMapsResult, export type GoogleMapsResultStep as GoogleMapsResultStep, export type GoogleSearchCallArguments as GoogleSearchCallArguments, export type GoogleSearchCallStep as GoogleSearchCallStep, export type GoogleSearchResult as GoogleSearchResult, export type GoogleSearchResultStep as GoogleSearchResultStep, export type ImageConfig as ImageConfig, export type ImageContent as ImageContent, export type ImageResponseFormat as ImageResponseFormat, export type Interaction as Interaction, export type InteractionCompletedEvent as InteractionCompletedEvent, export type InteractionCreatedEvent as InteractionCreatedEvent, export type InteractionSSEEvent as InteractionSSEEvent, export type InteractionStatusUpdate as InteractionStatusUpdate, export type MCPServerToolCallStep as MCPServerToolCallStep, export type MCPServerToolResultStep as MCPServerToolResultStep, export type Model as Model, export type ModelOutputStep as ModelOutputStep, export type PlaceCitation as PlaceCitation, export type SpeechConfig as SpeechConfig, export type Step as Step, export type StepDelta as StepDelta, export type StepStart as StepStart, export type StepStop as StepStop, export type TextContent as TextContent, export type TextResponseFormat as TextResponseFormat, export type ThinkingLevel as ThinkingLevel, export type ThoughtStep as ThoughtStep, export type Tool as Tool, export type ToolChoiceConfig as ToolChoiceConfig, export type ToolChoiceType as ToolChoiceType, export type URLCitation as URLCitation, export type URLContextCallArguments as URLContextCallArguments, export type URLContextCallStep as URLContextCallStep, export type URLContextResult as URLContextResult, export type URLContextResultStep as URLContextResultStep, export type Usage as Usage, export type UserInputStep as UserInputStep, export type VideoContent as VideoContent, export type VideoResponseFormat as VideoResponseFormat, export type WebhookConfig as WebhookConfig, export type InteractionDeleteResponse as InteractionDeleteResponse, export type InteractionCreateParams as InteractionCreateParams, export type CreateModelInteractionParamsNonStreaming as CreateModelInteractionParamsNonStreaming, export type CreateModelInteractionParamsStreaming as CreateModelInteractionParamsStreaming, export type CreateAgentInteractionParamsNonStreaming as CreateAgentInteractionParamsNonStreaming, export type CreateAgentInteractionParamsStreaming as CreateAgentInteractionParamsStreaming, export type InteractionDeleteParams as InteractionDeleteParams, export type InteractionCancelParams as InteractionCancelParams, export type InteractionGetParams as InteractionGetParams, export type InteractionGetParamsNonStreaming as InteractionGetParamsNonStreaming, export type InteractionGetParamsStreaming as InteractionGetParamsStreaming, };
21832183
}
21842184

21852185
// @public

api-report/genai-web.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2179,7 +2179,7 @@ export class Interactions extends BaseInteractions {
21792179

21802180
// @public (undocumented)
21812181
export namespace Interactions {
2182-
{ export type AllowedTools as AllowedTools, export type Annotation as Annotation, export type AudioContent as AudioContent, export type AudioResponseFormat as AudioResponseFormat, export type CodeExecutionCallArguments as CodeExecutionCallArguments, export type CodeExecutionCallStep as CodeExecutionCallStep, export type CodeExecutionResultStep as CodeExecutionResultStep, export type Content as Content, export type DeepResearchAgentConfig as DeepResearchAgentConfig, export type DocumentContent as DocumentContent, export type DynamicAgentConfig as DynamicAgentConfig, export type ErrorEvent as ErrorEvent, export type FileCitation as FileCitation, export type FileSearchCallStep as FileSearchCallStep, export type FileSearchResultStep as FileSearchResultStep, export type Function as Function, export type FunctionCallStep as FunctionCallStep, export type FunctionResultStep as FunctionResultStep, export type GenerationConfig as GenerationConfig, export type GoogleMapsCallArguments as GoogleMapsCallArguments, export type GoogleMapsCallStep as GoogleMapsCallStep, export type GoogleMapsResult as GoogleMapsResult, export type GoogleMapsResultStep as GoogleMapsResultStep, export type GoogleSearchCallArguments as GoogleSearchCallArguments, export type GoogleSearchCallStep as GoogleSearchCallStep, export type GoogleSearchResult as GoogleSearchResult, export type GoogleSearchResultStep as GoogleSearchResultStep, export type ImageConfig as ImageConfig, export type ImageContent as ImageContent, export type ImageResponseFormat as ImageResponseFormat, export type Interaction as Interaction, export type InteractionCompleteEvent as InteractionCompleteEvent, export type InteractionSSEEvent as InteractionSSEEvent, export type InteractionStartEvent as InteractionStartEvent, export type InteractionStatusUpdate as InteractionStatusUpdate, export type MCPServerToolCallStep as MCPServerToolCallStep, export type MCPServerToolResultStep as MCPServerToolResultStep, export type Model as Model, export type ModelOutputStep as ModelOutputStep, export type PlaceCitation as PlaceCitation, export type SpeechConfig as SpeechConfig, export type Step as Step, export type StepDelta as StepDelta, export type StepStart as StepStart, export type StepStop as StepStop, export type TextContent as TextContent, export type TextResponseFormat as TextResponseFormat, export type ThinkingLevel as ThinkingLevel, export type ThoughtStep as ThoughtStep, export type Tool as Tool, export type ToolChoiceConfig as ToolChoiceConfig, export type ToolChoiceType as ToolChoiceType, export type URLCitation as URLCitation, export type URLContextCallArguments as URLContextCallArguments, export type URLContextCallStep as URLContextCallStep, export type URLContextResult as URLContextResult, export type URLContextResultStep as URLContextResultStep, export type Usage as Usage, export type UserInputStep as UserInputStep, export type VideoContent as VideoContent, export type VideoResponseFormat as VideoResponseFormat, export type WebhookConfig as WebhookConfig, export type InteractionDeleteResponse as InteractionDeleteResponse, export type InteractionCreateParams as InteractionCreateParams, export type CreateModelInteractionParamsNonStreaming as CreateModelInteractionParamsNonStreaming, export type CreateModelInteractionParamsStreaming as CreateModelInteractionParamsStreaming, export type CreateAgentInteractionParamsNonStreaming as CreateAgentInteractionParamsNonStreaming, export type CreateAgentInteractionParamsStreaming as CreateAgentInteractionParamsStreaming, export type InteractionDeleteParams as InteractionDeleteParams, export type InteractionCancelParams as InteractionCancelParams, export type InteractionGetParams as InteractionGetParams, export type InteractionGetParamsNonStreaming as InteractionGetParamsNonStreaming, export type InteractionGetParamsStreaming as InteractionGetParamsStreaming, };
2182+
{ export type AllowedTools as AllowedTools, export type Annotation as Annotation, export type AudioContent as AudioContent, export type AudioResponseFormat as AudioResponseFormat, export type CodeExecutionCallArguments as CodeExecutionCallArguments, export type CodeExecutionCallStep as CodeExecutionCallStep, export type CodeExecutionResultStep as CodeExecutionResultStep, export type Content as Content, export type DeepResearchAgentConfig as DeepResearchAgentConfig, export type DocumentContent as DocumentContent, export type DynamicAgentConfig as DynamicAgentConfig, export type ErrorEvent as ErrorEvent, export type FileCitation as FileCitation, export type FileSearchCallStep as FileSearchCallStep, export type FileSearchResultStep as FileSearchResultStep, export type Function as Function, export type FunctionCallStep as FunctionCallStep, export type FunctionResultStep as FunctionResultStep, export type GenerationConfig as GenerationConfig, export type GoogleMapsCallArguments as GoogleMapsCallArguments, export type GoogleMapsCallStep as GoogleMapsCallStep, export type GoogleMapsResult as GoogleMapsResult, export type GoogleMapsResultStep as GoogleMapsResultStep, export type GoogleSearchCallArguments as GoogleSearchCallArguments, export type GoogleSearchCallStep as GoogleSearchCallStep, export type GoogleSearchResult as GoogleSearchResult, export type GoogleSearchResultStep as GoogleSearchResultStep, export type ImageConfig as ImageConfig, export type ImageContent as ImageContent, export type ImageResponseFormat as ImageResponseFormat, export type Interaction as Interaction, export type InteractionCompletedEvent as InteractionCompletedEvent, export type InteractionCreatedEvent as InteractionCreatedEvent, export type InteractionSSEEvent as InteractionSSEEvent, export type InteractionStatusUpdate as InteractionStatusUpdate, export type MCPServerToolCallStep as MCPServerToolCallStep, export type MCPServerToolResultStep as MCPServerToolResultStep, export type Model as Model, export type ModelOutputStep as ModelOutputStep, export type PlaceCitation as PlaceCitation, export type SpeechConfig as SpeechConfig, export type Step as Step, export type StepDelta as StepDelta, export type StepStart as StepStart, export type StepStop as StepStop, export type TextContent as TextContent, export type TextResponseFormat as TextResponseFormat, export type ThinkingLevel as ThinkingLevel, export type ThoughtStep as ThoughtStep, export type Tool as Tool, export type ToolChoiceConfig as ToolChoiceConfig, export type ToolChoiceType as ToolChoiceType, export type URLCitation as URLCitation, export type URLContextCallArguments as URLContextCallArguments, export type URLContextCallStep as URLContextCallStep, export type URLContextResult as URLContextResult, export type URLContextResultStep as URLContextResultStep, export type Usage as Usage, export type UserInputStep as UserInputStep, export type VideoContent as VideoContent, export type VideoResponseFormat as VideoResponseFormat, export type WebhookConfig as WebhookConfig, export type InteractionDeleteResponse as InteractionDeleteResponse, export type InteractionCreateParams as InteractionCreateParams, export type CreateModelInteractionParamsNonStreaming as CreateModelInteractionParamsNonStreaming, export type CreateModelInteractionParamsStreaming as CreateModelInteractionParamsStreaming, export type CreateAgentInteractionParamsNonStreaming as CreateAgentInteractionParamsNonStreaming, export type CreateAgentInteractionParamsStreaming as CreateAgentInteractionParamsStreaming, export type InteractionDeleteParams as InteractionDeleteParams, export type InteractionCancelParams as InteractionCancelParams, export type InteractionGetParams as InteractionGetParams, export type InteractionGetParamsNonStreaming as InteractionGetParamsNonStreaming, export type InteractionGetParamsStreaming as InteractionGetParamsStreaming, };
21832183
}
21842184

21852185
// @public

0 commit comments

Comments
 (0)