UNPKG

googleapis

Version:
1,105 lines 1.27 MB
import { OAuth2Client, JWT, Compute, UserRefreshClient, BaseExternalAccountClient, GaxiosResponseWithHTTP2, GoogleConfigurable, MethodOptions, StreamMethodOptions, GlobalOptions, GoogleAuth, BodyResponseCallback, APIRequestContext } from 'googleapis-common'; import { Readable } from 'stream'; export declare namespace dialogflow_v2 { export interface Options extends GlobalOptions { version: 'v2'; } interface StandardParameters { /** * Auth client or API Key for the request */ auth?: string | OAuth2Client | JWT | Compute | UserRefreshClient | BaseExternalAccountClient | GoogleAuth; /** * V1 error format. */ '$.xgafv'?: string; /** * OAuth access token. */ access_token?: string; /** * Data format for response. */ alt?: string; /** * JSONP */ callback?: string; /** * Selector specifying which fields to include in a partial response. */ fields?: string; /** * API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */ key?: string; /** * OAuth 2.0 token for the current user. */ oauth_token?: string; /** * Returns response with indentations and line breaks. */ prettyPrint?: boolean; /** * Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */ quotaUser?: string; /** * Legacy upload protocol for media (e.g. "media", "multipart"). */ uploadType?: string; /** * Upload protocol for media (e.g. "raw", "multipart"). */ upload_protocol?: string; } /** * Dialogflow API * * Builds conversational interfaces (for example, chatbots, and voice-powered apps and devices). * * @example * ```js * const {google} = require('googleapis'); * const dialogflow = google.dialogflow('v2'); * ``` */ export class Dialogflow { context: APIRequestContext; projects: Resource$Projects; constructor(options: GlobalOptions, google?: GoogleConfigurable); } export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettings { audioExportGcsDestination?: Schema$GoogleCloudDialogflowCxV3GcsDestination; dtmfSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings; loggingSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings; speechSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings; } export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettingsDtmfSettings { enabled?: boolean | null; endpointingTimeoutDuration?: string | null; finishDigit?: string | null; interdigitTimeoutDuration?: string | null; maxDigits?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettingsLoggingSettings { enableConsentBasedRedaction?: boolean | null; enableInteractionLogging?: boolean | null; enableStackdriverLogging?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3AdvancedSettingsSpeechSettings { endpointerSensitivity?: number | null; models?: { [key: string]: string; } | null; noSpeechTimeout?: string | null; useTimeoutBasedEndpointing?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3AudioInput { audio?: string | null; config?: Schema$GoogleCloudDialogflowCxV3InputAudioConfig; } export interface Schema$GoogleCloudDialogflowCxV3BargeInConfig { noBargeInDuration?: string | null; totalDuration?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata { errors?: Schema$GoogleCloudDialogflowCxV3TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3BatchRunTestCasesResponse { results?: Schema$GoogleCloudDialogflowCxV3TestCaseResult[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings { audioExportGcsDestination?: Schema$GoogleCloudDialogflowCxV3beta1GcsDestination; dtmfSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings; loggingSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings; speechSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings; } export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsDtmfSettings { enabled?: boolean | null; endpointingTimeoutDuration?: string | null; finishDigit?: string | null; interdigitTimeoutDuration?: string | null; maxDigits?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsLoggingSettings { enableConsentBasedRedaction?: boolean | null; enableInteractionLogging?: boolean | null; enableStackdriverLogging?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettingsSpeechSettings { endpointerSensitivity?: number | null; models?: { [key: string]: string; } | null; noSpeechTimeout?: string | null; useTimeoutBasedEndpointing?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1AudioInput { audio?: string | null; config?: Schema$GoogleCloudDialogflowCxV3beta1InputAudioConfig; } export interface Schema$GoogleCloudDialogflowCxV3beta1BargeInConfig { noBargeInDuration?: string | null; totalDuration?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1BatchRunTestCasesMetadata { errors?: Schema$GoogleCloudDialogflowCxV3beta1TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1BatchRunTestCasesResponse { results?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseResult[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1ContinuousTestResult { name?: string | null; result?: string | null; runTime?: string | null; testCaseResults?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationSignals { turnSignals?: Schema$GoogleCloudDialogflowCxV3beta1TurnSignals; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationTurn { userInput?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput; virtualAgentOutput?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput { enableSentimentAnalysis?: boolean | null; injectedParameters?: { [key: string]: any; } | null; input?: Schema$GoogleCloudDialogflowCxV3beta1QueryInput; isWebhookEnabled?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput { currentPage?: Schema$GoogleCloudDialogflowCxV3beta1Page; diagnosticInfo?: { [key: string]: any; } | null; differences?: Schema$GoogleCloudDialogflowCxV3beta1TestRunDifference[]; sessionParameters?: { [key: string]: any; } | null; status?: Schema$GoogleRpcStatus; textResponses?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageText[]; triggeredIntent?: Schema$GoogleCloudDialogflowCxV3beta1Intent; } export interface Schema$GoogleCloudDialogflowCxV3beta1CreateVersionOperationMetadata { version?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnection { dataStore?: string | null; dataStoreType?: string | null; documentProcessingMode?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1DeployFlowMetadata { testErrors?: Schema$GoogleCloudDialogflowCxV3beta1TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1DeployFlowResponse { deployment?: string | null; environment?: Schema$GoogleCloudDialogflowCxV3beta1Environment; } export interface Schema$GoogleCloudDialogflowCxV3beta1DtmfInput { digits?: string | null; finishDigit?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Environment { description?: string | null; displayName?: string | null; name?: string | null; testCasesConfig?: Schema$GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig; updateTime?: string | null; versionConfigs?: Schema$GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig[]; webhookConfig?: Schema$GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig; } export interface Schema$GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig { enableContinuousRun?: boolean | null; enablePredeploymentRun?: boolean | null; testCases?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig { version?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig { webhookOverrides?: Schema$GoogleCloudDialogflowCxV3beta1Webhook[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1EventHandler { event?: string | null; name?: string | null; targetFlow?: string | null; targetPage?: string | null; targetPlaybook?: string | null; triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; } export interface Schema$GoogleCloudDialogflowCxV3beta1EventInput { event?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportAgentResponse { agentContent?: string | null; agentUri?: string | null; commitSha?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportEntityTypesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportEntityTypesResponse { entityTypesContent?: Schema$GoogleCloudDialogflowCxV3beta1InlineDestination; entityTypesUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportFlowResponse { flowContent?: string | null; flowUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportIntentsMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportIntentsResponse { intentsContent?: Schema$GoogleCloudDialogflowCxV3beta1InlineDestination; intentsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ExportTestCasesResponse { content?: string | null; gcsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Form { parameters?: Schema$GoogleCloudDialogflowCxV3beta1FormParameter[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1FormParameter { advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings; defaultValue?: any | null; displayName?: string | null; entityType?: string | null; fillBehavior?: Schema$GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior; isList?: boolean | null; redact?: boolean | null; required?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior { initialPromptFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; repromptEventHandlers?: Schema$GoogleCloudDialogflowCxV3beta1EventHandler[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1Fulfillment { advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings; conditionalCases?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases[]; enableGenerativeFallback?: boolean | null; generators?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings[]; messages?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage[]; returnPartialResponses?: boolean | null; setParameterActions?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction[]; tag?: string | null; webhook?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases { cases?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCase { caseContent?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent[]; condition?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCasesCaseCaseContent { additionalCases?: Schema$GoogleCloudDialogflowCxV3beta1FulfillmentConditionalCases; message?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentGeneratorSettings { generator?: string | null; inputParameters?: { [key: string]: string; } | null; outputParameter?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1FulfillmentSetParameterAction { parameter?: string | null; value?: any | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1GcsDestination { uri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponse { conflictingResources?: Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources; entityTypes?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportEntityTypesResponseConflictingResources { entityDisplayNames?: string[] | null; entityTypeDisplayNames?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportFlowResponse { flow?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsResponse { conflictingResources?: Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources; intents?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportIntentsResponseConflictingResources { entityDisplayNames?: string[] | null; intentDisplayNames?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportTestCasesMetadata { errors?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseError[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1ImportTestCasesResponse { names?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1InlineDestination { content?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1InputAudioConfig { audioEncoding?: string | null; bargeInConfig?: Schema$GoogleCloudDialogflowCxV3beta1BargeInConfig; enableWordInfo?: boolean | null; model?: string | null; modelVariant?: string | null; optOutConformerModelMigration?: boolean | null; phraseHints?: string[] | null; sampleRateHertz?: number | null; singleUtterance?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Intent { description?: string | null; displayName?: string | null; isFallback?: boolean | null; labels?: { [key: string]: string; } | null; name?: string | null; parameters?: Schema$GoogleCloudDialogflowCxV3beta1IntentParameter[]; priority?: number | null; trainingPhrases?: Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentInput { intent?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentParameter { entityType?: string | null; id?: string | null; isList?: boolean | null; redact?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrase { id?: string | null; parts?: Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart[]; repeatCount?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1IntentTrainingPhrasePart { parameterId?: string | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings { dataStoreConnections?: Schema$GoogleCloudDialogflowCxV3beta1DataStoreConnection[]; enabled?: boolean | null; targetFlow?: string | null; targetPage?: string | null; triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; } export interface Schema$GoogleCloudDialogflowCxV3beta1LanguageInfo { confidenceScore?: number | null; inputLanguageCode?: string | null; resolvedLanguageCode?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Page { advancedSettings?: Schema$GoogleCloudDialogflowCxV3beta1AdvancedSettings; description?: string | null; displayName?: string | null; entryFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; eventHandlers?: Schema$GoogleCloudDialogflowCxV3beta1EventHandler[]; form?: Schema$GoogleCloudDialogflowCxV3beta1Form; knowledgeConnectorSettings?: Schema$GoogleCloudDialogflowCxV3beta1KnowledgeConnectorSettings; name?: string | null; transitionRouteGroups?: string[] | null; transitionRoutes?: Schema$GoogleCloudDialogflowCxV3beta1TransitionRoute[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1PageInfo { currentPage?: string | null; displayName?: string | null; formInfo?: Schema$GoogleCloudDialogflowCxV3beta1PageInfoFormInfo; } export interface Schema$GoogleCloudDialogflowCxV3beta1PageInfoFormInfo { parameterInfo?: Schema$GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1PageInfoFormInfoParameterInfo { displayName?: string | null; justCollected?: boolean | null; required?: boolean | null; state?: string | null; value?: any | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1QueryInput { audio?: Schema$GoogleCloudDialogflowCxV3beta1AudioInput; dtmf?: Schema$GoogleCloudDialogflowCxV3beta1DtmfInput; event?: Schema$GoogleCloudDialogflowCxV3beta1EventInput; intent?: Schema$GoogleCloudDialogflowCxV3beta1IntentInput; languageCode?: string | null; text?: Schema$GoogleCloudDialogflowCxV3beta1TextInput; toolCallResult?: Schema$GoogleCloudDialogflowCxV3beta1ToolCallResult; } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage { channel?: string | null; conversationSuccess?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess; endInteraction?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction; knowledgeInfoCard?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard; liveAgentHandoff?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff; mixedAudio?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio; outputAudioText?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText; payload?: { [key: string]: any; } | null; playAudio?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio; telephonyTransferCall?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall; text?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageText; toolCall?: Schema$GoogleCloudDialogflowCxV3beta1ToolCall; } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageConversationSuccess { metadata?: { [key: string]: any; } | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageEndInteraction { } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageKnowledgeInfoCard { } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageLiveAgentHandoff { metadata?: { [key: string]: any; } | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudio { segments?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageMixedAudioSegment { allowPlaybackInterruption?: boolean | null; audio?: string | null; uri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageOutputAudioText { allowPlaybackInterruption?: boolean | null; ssml?: string | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessagePlayAudio { allowPlaybackInterruption?: boolean | null; audioUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageTelephonyTransferCall { phoneNumber?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ResponseMessageText { allowPlaybackInterruption?: boolean | null; text?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1RunContinuousTestMetadata { errors?: Schema$GoogleCloudDialogflowCxV3beta1TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1RunContinuousTestResponse { continuousTestResult?: Schema$GoogleCloudDialogflowCxV3beta1ContinuousTestResult; } export interface Schema$GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata { } export interface Schema$GoogleCloudDialogflowCxV3beta1RunTestCaseResponse { result?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseResult; } export interface Schema$GoogleCloudDialogflowCxV3beta1SessionInfo { parameters?: { [key: string]: any; } | null; session?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1TestCase { creationTime?: string | null; displayName?: string | null; lastTestResult?: Schema$GoogleCloudDialogflowCxV3beta1TestCaseResult; name?: string | null; notes?: string | null; tags?: string[] | null; testCaseConversationTurns?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurn[]; testConfig?: Schema$GoogleCloudDialogflowCxV3beta1TestConfig; } export interface Schema$GoogleCloudDialogflowCxV3beta1TestCaseError { status?: Schema$GoogleRpcStatus; testCase?: Schema$GoogleCloudDialogflowCxV3beta1TestCase; } export interface Schema$GoogleCloudDialogflowCxV3beta1TestCaseResult { conversationTurns?: Schema$GoogleCloudDialogflowCxV3beta1ConversationTurn[]; environment?: string | null; name?: string | null; testResult?: string | null; testTime?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1TestConfig { flow?: string | null; page?: string | null; trackingParameters?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1TestError { status?: Schema$GoogleRpcStatus; testCase?: string | null; testTime?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1TestRunDifference { description?: string | null; type?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1TextInput { text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ToolCall { action?: string | null; inputParameters?: { [key: string]: any; } | null; tool?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ToolCallResult { action?: string | null; error?: Schema$GoogleCloudDialogflowCxV3beta1ToolCallResultError; outputParameters?: { [key: string]: any; } | null; tool?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1ToolCallResultError { message?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1TransitionRoute { condition?: string | null; description?: string | null; intent?: string | null; name?: string | null; targetFlow?: string | null; targetPage?: string | null; triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3beta1Fulfillment; } export interface Schema$GoogleCloudDialogflowCxV3beta1TurnSignals { agentEscalated?: boolean | null; dtmfUsed?: boolean | null; failureReasons?: string[] | null; noMatch?: boolean | null; noUserInput?: boolean | null; reachedEndPage?: boolean | null; sentimentMagnitude?: number | null; sentimentScore?: number | null; userEscalated?: boolean | null; webhookStatuses?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1Webhook { disabled?: boolean | null; displayName?: string | null; genericWebService?: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebService; name?: string | null; serviceDirectory?: Schema$GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig; timeout?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebService { allowedCaCerts?: string[] | null; httpMethod?: string | null; oauthConfig?: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig; parameterMapping?: { [key: string]: string; } | null; password?: string | null; requestBody?: string | null; requestHeaders?: { [key: string]: string; } | null; secretVersionForUsernamePassword?: string | null; secretVersionsForRequestHeaders?: { [key: string]: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue; } | null; serviceAccountAuthConfig?: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig; serviceAgentAuth?: string | null; uri?: string | null; username?: string | null; webhookType?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceOAuthConfig { clientId?: string | null; clientSecret?: string | null; scopes?: string[] | null; secretVersionForClientSecret?: string | null; tokenEndpoint?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue { secretVersion?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceServiceAccountAuthConfig { serviceAccount?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequest { detectIntentResponseId?: string | null; dtmfDigits?: string | null; fulfillmentInfo?: Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo; intentInfo?: Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo; languageCode?: string | null; languageInfo?: Schema$GoogleCloudDialogflowCxV3beta1LanguageInfo; messages?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage[]; pageInfo?: Schema$GoogleCloudDialogflowCxV3beta1PageInfo; payload?: { [key: string]: any; } | null; sentimentAnalysisResult?: Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult; sessionInfo?: Schema$GoogleCloudDialogflowCxV3beta1SessionInfo; text?: string | null; transcript?: string | null; triggerEvent?: string | null; triggerIntent?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestFulfillmentInfo { tag?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfo { confidence?: number | null; displayName?: string | null; lastMatchedIntent?: string | null; parameters?: { [key: string]: Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue; } | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestIntentInfoIntentParameterValue { originalValue?: string | null; resolvedValue?: any | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookRequestSentimentAnalysisResult { magnitude?: number | null; score?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookResponse { fulfillmentResponse?: Schema$GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse; pageInfo?: Schema$GoogleCloudDialogflowCxV3beta1PageInfo; payload?: { [key: string]: any; } | null; sessionInfo?: Schema$GoogleCloudDialogflowCxV3beta1SessionInfo; targetFlow?: string | null; targetPage?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookResponseFulfillmentResponse { mergeBehavior?: string | null; messages?: Schema$GoogleCloudDialogflowCxV3beta1ResponseMessage[]; } export interface Schema$GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfig { genericWebService?: Schema$GoogleCloudDialogflowCxV3beta1WebhookGenericWebService; service?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ContinuousTestResult { name?: string | null; result?: string | null; runTime?: string | null; testCaseResults?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3ConversationSignals { turnSignals?: Schema$GoogleCloudDialogflowCxV3TurnSignals; } export interface Schema$GoogleCloudDialogflowCxV3ConversationTurn { userInput?: Schema$GoogleCloudDialogflowCxV3ConversationTurnUserInput; virtualAgentOutput?: Schema$GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput; } export interface Schema$GoogleCloudDialogflowCxV3ConversationTurnUserInput { enableSentimentAnalysis?: boolean | null; injectedParameters?: { [key: string]: any; } | null; input?: Schema$GoogleCloudDialogflowCxV3QueryInput; isWebhookEnabled?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3ConversationTurnVirtualAgentOutput { currentPage?: Schema$GoogleCloudDialogflowCxV3Page; diagnosticInfo?: { [key: string]: any; } | null; differences?: Schema$GoogleCloudDialogflowCxV3TestRunDifference[]; sessionParameters?: { [key: string]: any; } | null; status?: Schema$GoogleRpcStatus; textResponses?: Schema$GoogleCloudDialogflowCxV3ResponseMessageText[]; triggeredIntent?: Schema$GoogleCloudDialogflowCxV3Intent; } export interface Schema$GoogleCloudDialogflowCxV3CreateVersionOperationMetadata { version?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnection { dataStore?: string | null; dataStoreType?: string | null; documentProcessingMode?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DeployFlowMetadata { testErrors?: Schema$GoogleCloudDialogflowCxV3TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3DeployFlowResponse { deployment?: string | null; environment?: Schema$GoogleCloudDialogflowCxV3Environment; } export interface Schema$GoogleCloudDialogflowCxV3DtmfInput { digits?: string | null; finishDigit?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3Environment { description?: string | null; displayName?: string | null; name?: string | null; testCasesConfig?: Schema$GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig; updateTime?: string | null; versionConfigs?: Schema$GoogleCloudDialogflowCxV3EnvironmentVersionConfig[]; webhookConfig?: Schema$GoogleCloudDialogflowCxV3EnvironmentWebhookConfig; } export interface Schema$GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig { enableContinuousRun?: boolean | null; enablePredeploymentRun?: boolean | null; testCases?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3EnvironmentVersionConfig { version?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3EnvironmentWebhookConfig { webhookOverrides?: Schema$GoogleCloudDialogflowCxV3Webhook[]; } export interface Schema$GoogleCloudDialogflowCxV3EventHandler { event?: string | null; name?: string | null; targetFlow?: string | null; targetPage?: string | null; targetPlaybook?: string | null; triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3Fulfillment; } export interface Schema$GoogleCloudDialogflowCxV3EventInput { event?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportAgentResponse { agentContent?: string | null; agentUri?: string | null; commitSha?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportEntityTypesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3ExportEntityTypesResponse { entityTypesContent?: Schema$GoogleCloudDialogflowCxV3InlineDestination; entityTypesUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportFlowResponse { flowContent?: string | null; flowUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportIntentsMetadata { } export interface Schema$GoogleCloudDialogflowCxV3ExportIntentsResponse { intentsContent?: Schema$GoogleCloudDialogflowCxV3InlineDestination; intentsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportTestCasesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3ExportTestCasesResponse { content?: string | null; gcsUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3Form { parameters?: Schema$GoogleCloudDialogflowCxV3FormParameter[]; } export interface Schema$GoogleCloudDialogflowCxV3FormParameter { advancedSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettings; defaultValue?: any | null; displayName?: string | null; entityType?: string | null; fillBehavior?: Schema$GoogleCloudDialogflowCxV3FormParameterFillBehavior; isList?: boolean | null; redact?: boolean | null; required?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3FormParameterFillBehavior { initialPromptFulfillment?: Schema$GoogleCloudDialogflowCxV3Fulfillment; repromptEventHandlers?: Schema$GoogleCloudDialogflowCxV3EventHandler[]; } export interface Schema$GoogleCloudDialogflowCxV3Fulfillment { advancedSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettings; conditionalCases?: Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCases[]; enableGenerativeFallback?: boolean | null; generators?: Schema$GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings[]; messages?: Schema$GoogleCloudDialogflowCxV3ResponseMessage[]; returnPartialResponses?: boolean | null; setParameterActions?: Schema$GoogleCloudDialogflowCxV3FulfillmentSetParameterAction[]; tag?: string | null; webhook?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCases { cases?: Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase[]; } export interface Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCase { caseContent?: Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent[]; condition?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCasesCaseCaseContent { additionalCases?: Schema$GoogleCloudDialogflowCxV3FulfillmentConditionalCases; message?: Schema$GoogleCloudDialogflowCxV3ResponseMessage; } export interface Schema$GoogleCloudDialogflowCxV3FulfillmentGeneratorSettings { generator?: string | null; inputParameters?: { [key: string]: string; } | null; outputParameter?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3FulfillmentSetParameterAction { parameter?: string | null; value?: any | null; } export interface Schema$GoogleCloudDialogflowCxV3GcsDestination { uri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ImportEntityTypesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3ImportEntityTypesResponse { conflictingResources?: Schema$GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources; entityTypes?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3ImportEntityTypesResponseConflictingResources { entityDisplayNames?: string[] | null; entityTypeDisplayNames?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3ImportFlowResponse { flow?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ImportIntentsMetadata { } export interface Schema$GoogleCloudDialogflowCxV3ImportIntentsResponse { conflictingResources?: Schema$GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources; intents?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3ImportIntentsResponseConflictingResources { entityDisplayNames?: string[] | null; intentDisplayNames?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3ImportTestCasesMetadata { errors?: Schema$GoogleCloudDialogflowCxV3TestCaseError[]; } export interface Schema$GoogleCloudDialogflowCxV3ImportTestCasesResponse { names?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3InlineDestination { content?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3InputAudioConfig { audioEncoding?: string | null; bargeInConfig?: Schema$GoogleCloudDialogflowCxV3BargeInConfig; enableWordInfo?: boolean | null; model?: string | null; modelVariant?: string | null; optOutConformerModelMigration?: boolean | null; phraseHints?: string[] | null; sampleRateHertz?: number | null; singleUtterance?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3Intent { description?: string | null; displayName?: string | null; isFallback?: boolean | null; labels?: { [key: string]: string; } | null; name?: string | null; parameters?: Schema$GoogleCloudDialogflowCxV3IntentParameter[]; priority?: number | null; trainingPhrases?: Schema$GoogleCloudDialogflowCxV3IntentTrainingPhrase[]; } export interface Schema$GoogleCloudDialogflowCxV3IntentInput { intent?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3IntentParameter { entityType?: string | null; id?: string | null; isList?: boolean | null; redact?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3IntentTrainingPhrase { id?: string | null; parts?: Schema$GoogleCloudDialogflowCxV3IntentTrainingPhrasePart[]; repeatCount?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3IntentTrainingPhrasePart { parameterId?: string | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3KnowledgeConnectorSettings { dataStoreConnections?: Schema$GoogleCloudDialogflowCxV3DataStoreConnection[]; enabled?: boolean | null; targetFlow?: string | null; targetPage?: string | null; triggerFulfillment?: Schema$GoogleCloudDialogflowCxV3Fulfillment; } export interface Schema$GoogleCloudDialogflowCxV3LanguageInfo { confidenceScore?: number | null; inputLanguageCode?: string | null; resolvedLanguageCode?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3Page { advancedSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettings; description?: string | null; displayName?: string | null; entryFulfillment?: Schema$GoogleCloudDialogflowCxV3Fulfillment; eventHandlers?: Schema$GoogleCloudDialogflowCxV3EventHandler[]; form?: Schema$GoogleCloudDialogflowCxV3Form; knowledgeConnectorSettings?: Schema$GoogleCloudDialogflowCxV3KnowledgeConnectorSettings; name?: string | null; transitionRouteGroups?: string[] | null; transitionRoutes?: Schema$GoogleCloudDialogflowCxV3TransitionRoute[]; } export interface Schema$GoogleCloudDialogflowCxV3PageInfo { currentPage?: string | null; displayName?: string | null; formInfo?: Schema$GoogleCloudDialogflowCxV3PageInfoFormInfo; } export interface Schema$GoogleCloudDialogflowCxV3PageInfoFormInfo { parameterInfo?: Schema$GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo[]; } export interface Schema$GoogleCloudDialogflowCxV3PageInfoFormInfoParameterInfo { displayName?: string | null; justCollected?: boolean | null; required?: boolean | null; state?: string | null; value?: any | null; } export interface Schema$GoogleCloudDialogflowCxV3QueryInput { audio?: Schema$GoogleCloudDialogflowCxV3AudioInput; dtmf?: Schema$GoogleCloudDialogflowCxV3DtmfInput; event?: Schema$GoogleCloudDialogflowCxV3EventInput; intent?: Schema$GoogleCloudDialogflowCxV3IntentInput; languageCode?: string | null; text?: Schema$GoogleCloudDialogflowCxV3TextInput; toolCallResult?: Schema$GoogleCloudDialogflowCxV3ToolCallResult; } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessage { channel?: string | null; conversationSuccess?: Schema$GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess; endInteraction?: Schema$GoogleCloudDialogflowCxV3ResponseMessageEndInteraction; knowledgeInfoCard?: Schema$GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard; liveAgentHandoff?: Schema$GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff; mixedAudio?: Schema$GoogleCloudDialogflowCxV3ResponseMessageMixedAudio; outputAudioText?: Schema$GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText; payload?: { [key: string]: any; } | null; playAudio?: Schema$GoogleCloudDialogflowCxV3ResponseMessagePlayAudio; responseType?: string | null; telephonyTransferCall?: Schema$GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall; text?: Schema$GoogleCloudDialogflowCxV3ResponseMessageText; toolCall?: Schema$GoogleCloudDialogflowCxV3ToolCall; } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageConversationSuccess { metadata?: { [key: string]: any; } | null; } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageEndInteraction { } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageKnowledgeInfoCard { } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageLiveAgentHandoff { metadata?: { [key: string]: any; } | null; } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageMixedAudio { segments?: Schema$GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment[]; } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageMixedAudioSegment { allowPlaybackInterruption?: boolean | null; audio?: string | null; uri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageOutputAudioText { allowPlaybackInterruption?: boolean | null; ssml?: string | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessagePlayAudio { allowPlaybackInterruption?: boolean | null; audioUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageTelephonyTransferCall { phoneNumber?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ResponseMessageText { allowPlaybackInterruption?: boolean | null; text?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3RunContinuousTestMetadata { errors?: Schema$GoogleCloudDialogflowCxV3TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3RunContinuousTestResponse { continuousTestResult?: Schema$GoogleCloudDialogflowCxV3ContinuousTestResult; } export interface Schema$GoogleCloudDialogflowCxV3RunTestCaseMetadata { } export interface Schema$GoogleCloudDialogflowCxV3RunTestCaseResponse { result?: Schema$GoogleCloudDialogflowCxV3TestCaseResult; } export interface Schema$GoogleCloudDialogflowCxV3SessionInfo { parameters?: { [key: string]: any; } | null; session?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3TestCase { creationTime?: string | null; displayName?: string | null; lastTestResult?: Schema$GoogleCloudDialogflowCxV3TestCaseResult; name?: string | null; notes?: string | null; tags?: string[] | null; testCaseConversationTurns?: Schema$GoogleCloudDialogflowCxV3ConversationTurn[]; testConfig?: Schema$GoogleCloudDialogflowCxV3TestConfig; } export interface Schema$GoogleCloudDialogflowCxV3TestCaseError { status?: Schema$GoogleRpcStatus; testCase?: Schema$GoogleCloudDialogflowCxV3TestCase; } export interface Schema$GoogleCloudDialogflowCxV3TestCaseResult { conversationTurns?: Schema$GoogleCloudDialogflowCxV3ConversationTurn[]; environment?: string | null; name?: string | null; testResult?: string | null; testTime?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3TestConfig { flow?: string | null; page?: string | null; trackingParameters?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3TestError { status?: Schema$GoogleRpcStatus; testCase?: string | null; testTime?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3TestRunDifference { description?: string | null; type?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3TextInput { text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ToolCall { action?: string | null; inputParameters?: { [key: string]: any; } | null; tool?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ToolCallResult { action?: string | null; error?: Schema$GoogleCloudDialogflowCxV3ToolCallResultError; outputParameters?: { [key: string]: any; } | null; tool?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ToolCallResultError { message?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3TransitionRoute { condition?: string | null; description?: string | null; intent?: string | null; name?: string | null; targetFlow?: string | null; targetPage?: string | null; triggerFulfillment?: Schema$GoogleCl