{"version":3,"sources":["../../src/realtime/api_proto.ts"],"sourcesContent":["// SPDX-FileCopyrightText: 2025 LiveKit, Inc.\n//\n// SPDX-License-Identifier: Apache-2.0\nimport type * as types from '@google/genai';\n\n/**\n * Supported Google Live API models\n *\n * Gemini API deprecations: https://ai.google.dev/gemini-api/docs/deprecations\n * Gemini API release notes with preview deprecations: https://ai.google.dev/gemini-api/docs/changelog\n * Live models: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/live-api\n * VertexAI retirement: https://docs.cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions#retired-models\n * Additional references:\n * 1. https://github.com/kazunori279/adk-streaming-test/blob/main/test_report.md\n */\nexport type LiveAPIModels =\n  // VertexAI models\n  | 'gemini-live-2.5-flash-native-audio' // GA https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-5-flash-live-api#live-2.5-flash\n  | 'gemini-live-2.5-flash-preview-native-audio-09-2025' // Public preview https://docs.cloud.google.com/vertex-ai/generative-ai/docs/models/gemini/2-5-flash-live-api#live-2.5-flash-preview\n  | 'gemini-live-2.5-flash-preview-native-audio' // still works, possibly an alias, but not mentioned in any docs or changelog\n  // Gemini API models\n  | 'gemini-3.1-flash-live-preview' // https://ai.google.dev/gemini-api/docs/models/gemini-3.1-flash-live-preview\n  | 'gemini-2.5-flash-native-audio-preview-12-2025' // https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-live\n  | 'gemini-2.0-flash-exp'; // still works in Gemini API but not VertexAI\n\n/**\n * Available voice options for Google Realtime API\n */\nexport type Voice =\n  | 'Achernar'\n  | 'Achird'\n  | 'Algenib'\n  | 'Algieba'\n  | 'Alnilam'\n  | 'Aoede'\n  | 'Autonoe'\n  | 'Callirrhoe'\n  | 'Charon'\n  | 'Despina'\n  | 'Enceladus'\n  | 'Erinome'\n  | 'Fenrir'\n  | 'Gacrux'\n  | 'Iapetus'\n  | 'Kore'\n  | 'Laomedeia'\n  | 'Leda'\n  | 'Orus'\n  | 'Pulcherrima'\n  | 'Puck'\n  | 'Rasalgethi'\n  | 'Sadachbia'\n  | 'Sadaltager'\n  | 'Schedar'\n  | 'Sulafat'\n  | 'Umbriel'\n  | 'Vindemiatrix'\n  | 'Zephyr'\n  | 'Zubenelgenubi';\n\n/**\n * Union type for all possible client events\n */\n\nexport type ClientEvents =\n  | {\n      type: 'content';\n      value: types.LiveClientContent;\n    }\n  | {\n      type: 'realtime_input';\n      value: types.LiveClientRealtimeInput;\n    }\n  | {\n      type: 'tool_response';\n      value: types.LiveClientToolResponse;\n    }\n  | {\n      type: 'function_response';\n      value: types.FunctionResponse;\n    };\n"],"mappings":";;;;;;;;;;;;;;AAAA;AAAA;","names":[]}