Zamok Kiosk API
Preparing search index...
module-ai-gemini/lib/browser/actions
actions
Variable actions
Const
actions
:
{
browserNavigation
:
PayloadAC
<
"AI_GEMINI/BROWSER_NAVIGATION"
,
{
direction
:
"BACK"
|
"FORWARD"
;
functionId
?:
string
}
,
>
;
clearChatSession
:
EmptyAC
<
"AI_GEMINI/CLEAR_CHAT_SESSION"
>
;
clearGeminiError
:
EmptyAC
<
"AI_GEMINI/CLEAR_ERROR"
>
;
clickElement
:
PayloadAC
<
"AI_GEMINI/CLICK_ELEMENT"
,
{
elementIdentifier
:
string
;
functionId
?:
string
}
,
>
;
endLiveSession
:
EmptyAC
<
"AI_GEMINI/END_LIVE_SESSION"
>
;
executeCustomTool
:
PayloadAC
<
"AI_GEMINI/EXECUTE_CUSTOM_TOOL"
,
{
args
:
Record
<
string
,
any
>
;
functionId
:
string
;
toolName
:
string
}
,
>
;
executeKioskTool
:
PayloadAC
<
"AI_GEMINI/EXECUTE_KIOSK_TOOL"
,
{
args
:
Record
<
string
,
any
>
;
functionId
:
string
;
toolName
:
string
}
,
>
;
executeReduxTool
:
PayloadAC
<
"AI_GEMINI/EXECUTE_REDUX_TOOL"
,
{
args
:
Record
<
string
,
any
>
;
functionId
:
string
;
toolName
:
string
}
,
>
;
fillInputField
:
PayloadAC
<
"AI_GEMINI/FILL_INPUT_FIELD"
,
{
fieldIdentifier
:
string
;
functionId
?:
string
;
textToFill
:
string
}
,
>
;
highlightElement
:
PayloadAC
<
"AI_GEMINI/HIGHLIGHT_ELEMENT"
,
{
functionId
?:
string
;
href
:
string
}
,
>
;
liveSessionError
:
PayloadAC
<
"AI_GEMINI/LIVE_SESSION_ERROR"
,
GeminiError
>
;
liveSessionOpened
:
EmptyAC
<
"AI_GEMINI/LIVE_SESSION_OPENED"
>
;
muteVoiceInput
:
PayloadAC
<
"AI_GEMINI/MUTE_VOICE_INPUT"
,
{
functionId
?:
string
;
reason
?:
string
}
,
>
;
navigateToUrl
:
PayloadAC
<
"AI_GEMINI/NAVIGATE_TO_URL"
,
{
functionId
?:
string
;
href
:
string
}
,
>
;
processUserMessage
:
PayloadAC
<
"AI_GEMINI/PROCESS_USER_MESSAGE"
,
{
contextData
?:
Record
<
string
,
any
>
;
includeContext
?:
boolean
;
message
:
GeminiMessage
;
}
,
>
;
receiveAudioOutput
:
PayloadAC
<
"AI_GEMINI/RECEIVE_AUDIO_OUTPUT"
,
AudioData
>
;
receiveLiveServerMessage
:
PayloadAC
<
"AI_GEMINI/RECEIVE_LIVE_SERVER_MESSAGE"
,
LiveServerMessage
,
>
;
resetGeminiState
:
EmptyAC
<
"AI_GEMINI/RESET_STATE"
>
;
scrollToElement
:
PayloadAC
<
"AI_GEMINI/SCROLL_TO_ELEMENT"
,
{
elementIdentifier
:
string
;
functionId
?:
string
}
,
>
;
sendLiveMessage
:
PayloadAC
<
"AI_GEMINI/SEND_LIVE_MESSAGE"
,
string
>
;
sendPageContent
:
PayloadAC
<
"AI_GEMINI/SEND_PAGE_CONTENT"
,
{
functionId
?:
string
;
reason
:
string
}
,
>
;
setGeminiError
:
PayloadAC
<
"AI_GEMINI/SET_ERROR"
,
GeminiError
>
;
setGeminiLoading
:
PayloadAC
<
"AI_GEMINI/SET_LOADING"
,
boolean
>
;
setGeminiResponse
:
PayloadAC
<
"AI_GEMINI/SET_RESPONSE"
,
GeminiResponse
>
;
setWebviewRef
:
PayloadAC
<
"AI_GEMINI/SET_WEBVIEW_REF"
,
HTMLWebViewElement
>
;
setWebviewSummary
:
PayloadAC
<
"AI_GEMINI/SET_WEBVIEW_SUMMARY"
,
WebviewSummary
,
>
;
startLiveSession
:
PayloadAC
<
"AI_GEMINI/START_LIVE_SESSION"
,
{
dialogOpenReason
?:
DialogOpenReason
;
faceDetectionWelcomeMessage
?:
string
;
initialMessage
:
string
;
}
,
>
;
updateTokenCount
:
PayloadAC
<
"AI_GEMINI/UPDATE_TOKEN_COUNT"
,
{
inputTokens
:
number
;
outputTokens
:
number
;
turnTotalTokens
:
number
}
,
>
;
}
= ...
Type Declaration
browserNavigation
:
PayloadAC
<
"AI_GEMINI/BROWSER_NAVIGATION"
,
{
direction
:
"BACK"
|
"FORWARD"
;
functionId
?:
string
}
,
>
clearChatSession
:
EmptyAC
<
"AI_GEMINI/CLEAR_CHAT_SESSION"
>
clearGeminiError
:
EmptyAC
<
"AI_GEMINI/CLEAR_ERROR"
>
clickElement
:
PayloadAC
<
"AI_GEMINI/CLICK_ELEMENT"
,
{
elementIdentifier
:
string
;
functionId
?:
string
}
,
>
endLiveSession
:
EmptyAC
<
"AI_GEMINI/END_LIVE_SESSION"
>
executeCustomTool
:
PayloadAC
<
"AI_GEMINI/EXECUTE_CUSTOM_TOOL"
,
{
args
:
Record
<
string
,
any
>
;
functionId
:
string
;
toolName
:
string
}
,
>
executeKioskTool
:
PayloadAC
<
"AI_GEMINI/EXECUTE_KIOSK_TOOL"
,
{
args
:
Record
<
string
,
any
>
;
functionId
:
string
;
toolName
:
string
}
,
>
executeReduxTool
:
PayloadAC
<
"AI_GEMINI/EXECUTE_REDUX_TOOL"
,
{
args
:
Record
<
string
,
any
>
;
functionId
:
string
;
toolName
:
string
}
,
>
fillInputField
:
PayloadAC
<
"AI_GEMINI/FILL_INPUT_FIELD"
,
{
fieldIdentifier
:
string
;
functionId
?:
string
;
textToFill
:
string
}
,
>
highlightElement
:
PayloadAC
<
"AI_GEMINI/HIGHLIGHT_ELEMENT"
,
{
functionId
?:
string
;
href
:
string
}
>
liveSessionError
:
PayloadAC
<
"AI_GEMINI/LIVE_SESSION_ERROR"
,
GeminiError
>
liveSessionOpened
:
EmptyAC
<
"AI_GEMINI/LIVE_SESSION_OPENED"
>
muteVoiceInput
:
PayloadAC
<
"AI_GEMINI/MUTE_VOICE_INPUT"
,
{
functionId
?:
string
;
reason
?:
string
}
,
>
navigateToUrl
:
PayloadAC
<
"AI_GEMINI/NAVIGATE_TO_URL"
,
{
functionId
?:
string
;
href
:
string
}
>
processUserMessage
:
PayloadAC
<
"AI_GEMINI/PROCESS_USER_MESSAGE"
,
{
contextData
?:
Record
<
string
,
any
>
;
includeContext
?:
boolean
;
message
:
GeminiMessage
;
}
,
>
receiveAudioOutput
:
PayloadAC
<
"AI_GEMINI/RECEIVE_AUDIO_OUTPUT"
,
AudioData
>
receiveLiveServerMessage
:
PayloadAC
<
"AI_GEMINI/RECEIVE_LIVE_SERVER_MESSAGE"
,
LiveServerMessage
>
resetGeminiState
:
EmptyAC
<
"AI_GEMINI/RESET_STATE"
>
scrollToElement
:
PayloadAC
<
"AI_GEMINI/SCROLL_TO_ELEMENT"
,
{
elementIdentifier
:
string
;
functionId
?:
string
}
,
>
sendLiveMessage
:
PayloadAC
<
"AI_GEMINI/SEND_LIVE_MESSAGE"
,
string
>
sendPageContent
:
PayloadAC
<
"AI_GEMINI/SEND_PAGE_CONTENT"
,
{
functionId
?:
string
;
reason
:
string
}
,
>
setGeminiError
:
PayloadAC
<
"AI_GEMINI/SET_ERROR"
,
GeminiError
>
setGeminiLoading
:
PayloadAC
<
"AI_GEMINI/SET_LOADING"
,
boolean
>
setGeminiResponse
:
PayloadAC
<
"AI_GEMINI/SET_RESPONSE"
,
GeminiResponse
>
setWebviewRef
:
PayloadAC
<
"AI_GEMINI/SET_WEBVIEW_REF"
,
HTMLWebViewElement
>
setWebviewSummary
:
PayloadAC
<
"AI_GEMINI/SET_WEBVIEW_SUMMARY"
,
WebviewSummary
>
startLiveSession
:
PayloadAC
<
"AI_GEMINI/START_LIVE_SESSION"
,
{
dialogOpenReason
?:
DialogOpenReason
;
faceDetectionWelcomeMessage
?:
string
;
initialMessage
:
string
;
}
,
>
updateTokenCount
:
PayloadAC
<
"AI_GEMINI/UPDATE_TOKEN_COUNT"
,
{
inputTokens
:
number
;
outputTokens
:
number
;
turnTotalTokens
:
number
}
,
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
Zamok Kiosk API
Loading...