UNPKG

googleapis

Version:
1,090 lines 799 kB
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_v3 { export interface Options extends GlobalOptions { version: 'v3'; } 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('v3'); * ``` */ export class Dialogflow { context: APIRequestContext; projects: Resource$Projects; constructor(options: GlobalOptions, google?: GoogleConfigurable); } export interface Schema$GoogleCloudDialogflowCxV3Action { agentUtterance?: Schema$GoogleCloudDialogflowCxV3AgentUtterance; flowInvocation?: Schema$GoogleCloudDialogflowCxV3FlowInvocation; flowTransition?: Schema$GoogleCloudDialogflowCxV3FlowTransition; playbookInvocation?: Schema$GoogleCloudDialogflowCxV3PlaybookInvocation; playbookTransition?: Schema$GoogleCloudDialogflowCxV3PlaybookTransition; toolUse?: Schema$GoogleCloudDialogflowCxV3ToolUse; userUtterance?: Schema$GoogleCloudDialogflowCxV3UserUtterance; } 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$GoogleCloudDialogflowCxV3Agent { advancedSettings?: Schema$GoogleCloudDialogflowCxV3AdvancedSettings; answerFeedbackSettings?: Schema$GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings; avatarUri?: string | null; clientCertificateSettings?: Schema$GoogleCloudDialogflowCxV3AgentClientCertificateSettings; defaultLanguageCode?: string | null; description?: string | null; displayName?: string | null; enableMultiLanguageTraining?: boolean | null; enableSpellCorrection?: boolean | null; enableStackdriverLogging?: boolean | null; genAppBuilderSettings?: Schema$GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings; gitIntegrationSettings?: Schema$GoogleCloudDialogflowCxV3AgentGitIntegrationSettings; locked?: boolean | null; name?: string | null; personalizationSettings?: Schema$GoogleCloudDialogflowCxV3AgentPersonalizationSettings; satisfiesPzi?: boolean | null; satisfiesPzs?: boolean | null; securitySettings?: string | null; speechToTextSettings?: Schema$GoogleCloudDialogflowCxV3SpeechToTextSettings; startFlow?: string | null; startPlaybook?: string | null; supportedLanguageCodes?: string[] | null; textToSpeechSettings?: Schema$GoogleCloudDialogflowCxV3TextToSpeechSettings; timeZone?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings { enableAnswerFeedback?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3AgentClientCertificateSettings { passphrase?: string | null; privateKey?: string | null; sslCertificate?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings { engine?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3AgentGitIntegrationSettings { githubSettings?: Schema$GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings; } export interface Schema$GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsGithubSettings { accessToken?: string | null; branches?: string[] | null; displayName?: string | null; repositoryUri?: string | null; trackingBranch?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3AgentPersonalizationSettings { defaultEndUserMetadata?: { [key: string]: any; } | null; } export interface Schema$GoogleCloudDialogflowCxV3AgentUtterance { text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3AgentValidationResult { flowValidationResults?: Schema$GoogleCloudDialogflowCxV3FlowValidationResult[]; name?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3AnswerFeedback { customRating?: string | null; rating?: string | null; ratingReason?: Schema$GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason; } export interface Schema$GoogleCloudDialogflowCxV3AnswerFeedbackRatingReason { feedback?: string | null; reasonLabels?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3AudioInput { audio?: string | null; config?: Schema$GoogleCloudDialogflowCxV3InputAudioConfig; } export interface Schema$GoogleCloudDialogflowCxV3BargeInConfig { noBargeInDuration?: string | null; totalDuration?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3BatchDeleteTestCasesRequest { names?: string[] | null; } export interface Schema$GoogleCloudDialogflowCxV3BatchRunTestCasesMetadata { errors?: Schema$GoogleCloudDialogflowCxV3TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3BatchRunTestCasesRequest { environment?: string | null; testCases?: string[] | null; } 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$GoogleCloudDialogflowCxV3BoostSpec { conditionBoostSpecs?: Schema$GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec[]; } export interface Schema$GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpec { boost?: number | null; boostControlSpec?: Schema$GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec; condition?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpec { attributeType?: string | null; controlPoints?: Schema$GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint[]; fieldName?: string | null; interpolationType?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3BoostSpecConditionBoostSpecBoostControlSpecControlPoint { attributeValue?: string | null; boostAmount?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3BoostSpecs { dataStores?: string[] | null; spec?: Schema$GoogleCloudDialogflowCxV3BoostSpec[]; } export interface Schema$GoogleCloudDialogflowCxV3CalculateCoverageResponse { agent?: string | null; intentCoverage?: Schema$GoogleCloudDialogflowCxV3IntentCoverage; routeGroupCoverage?: Schema$GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage; transitionCoverage?: Schema$GoogleCloudDialogflowCxV3TransitionCoverage; } export interface Schema$GoogleCloudDialogflowCxV3Changelog { action?: string | null; createTime?: string | null; displayName?: string | null; languageCode?: string | null; name?: string | null; resource?: string | null; type?: string | null; userEmail?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3CodeBlock { code?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3CompareVersionsRequest { languageCode?: string | null; targetVersion?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3CompareVersionsResponse { baseVersionContentJson?: string | null; compareTime?: string | null; targetVersionContentJson?: 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$GoogleCloudDialogflowCxV3DataStoreConnectionSignals { answer?: string | null; answerGenerationModelCallSignals?: Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals; answerParts?: Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart[]; citedSnippets?: Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet[]; groundingSignals?: Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals; rewriterModelCallSignals?: Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals; rewrittenQuery?: string | null; safetySignals?: Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals; searchSnippets?: Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet[]; } export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerGenerationModelCallSignals { model?: string | null; modelOutput?: string | null; renderedPrompt?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsAnswerPart { supportingIndices?: number[] | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsCitedSnippet { searchSnippet?: Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet; snippetIndex?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsGroundingSignals { decision?: string | null; score?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsRewriterModelCallSignals { model?: string | null; modelOutput?: string | null; renderedPrompt?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSafetySignals { bannedPhraseMatch?: string | null; decision?: string | null; matchedBannedPhrase?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DataStoreConnectionSignalsSearchSnippet { documentTitle?: string | null; documentUri?: string | null; metadata?: { [key: string]: any; } | null; text?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DeployFlowMetadata { testErrors?: Schema$GoogleCloudDialogflowCxV3TestError[]; } export interface Schema$GoogleCloudDialogflowCxV3DeployFlowRequest { flowVersion?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DeployFlowResponse { deployment?: string | null; environment?: Schema$GoogleCloudDialogflowCxV3Environment; } export interface Schema$GoogleCloudDialogflowCxV3Deployment { endTime?: string | null; flowVersion?: string | null; name?: string | null; result?: Schema$GoogleCloudDialogflowCxV3DeploymentResult; startTime?: string | null; state?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DeploymentResult { deploymentTestResults?: string[] | null; experiment?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DetectIntentRequest { outputAudioConfig?: Schema$GoogleCloudDialogflowCxV3OutputAudioConfig; queryInput?: Schema$GoogleCloudDialogflowCxV3QueryInput; queryParams?: Schema$GoogleCloudDialogflowCxV3QueryParameters; responseView?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DetectIntentResponse { allowCancellation?: boolean | null; outputAudio?: string | null; outputAudioConfig?: Schema$GoogleCloudDialogflowCxV3OutputAudioConfig; queryResult?: Schema$GoogleCloudDialogflowCxV3QueryResult; responseId?: string | null; responseType?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3DtmfInput { digits?: string | null; finishDigit?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3EntityType { autoExpansionMode?: string | null; displayName?: string | null; enableFuzzyExtraction?: boolean | null; entities?: Schema$GoogleCloudDialogflowCxV3EntityTypeEntity[]; excludedPhrases?: Schema$GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase[]; kind?: string | null; name?: string | null; redact?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3EntityTypeEntity { synonyms?: string[] | null; value?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3EntityTypeExcludedPhrase { value?: 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$GoogleCloudDialogflowCxV3Example { actions?: Schema$GoogleCloudDialogflowCxV3Action[]; conversationState?: string | null; createTime?: string | null; description?: string | null; displayName?: string | null; languageCode?: string | null; name?: string | null; playbookInput?: Schema$GoogleCloudDialogflowCxV3PlaybookInput; playbookOutput?: Schema$GoogleCloudDialogflowCxV3PlaybookOutput; tokenCount?: string | null; updateTime?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3Experiment { createTime?: string | null; definition?: Schema$GoogleCloudDialogflowCxV3ExperimentDefinition; description?: string | null; displayName?: string | null; endTime?: string | null; experimentLength?: string | null; lastUpdateTime?: string | null; name?: string | null; result?: Schema$GoogleCloudDialogflowCxV3ExperimentResult; rolloutConfig?: Schema$GoogleCloudDialogflowCxV3RolloutConfig; rolloutFailureReason?: string | null; rolloutState?: Schema$GoogleCloudDialogflowCxV3RolloutState; startTime?: string | null; state?: string | null; variantsHistory?: Schema$GoogleCloudDialogflowCxV3VariantsHistory[]; } export interface Schema$GoogleCloudDialogflowCxV3ExperimentDefinition { condition?: string | null; versionVariants?: Schema$GoogleCloudDialogflowCxV3VersionVariants; } export interface Schema$GoogleCloudDialogflowCxV3ExperimentResult { lastUpdateTime?: string | null; versionMetrics?: Schema$GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics[]; } export interface Schema$GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval { confidenceLevel?: number | null; lowerBound?: number | null; ratio?: number | null; upperBound?: number | null; } export interface Schema$GoogleCloudDialogflowCxV3ExperimentResultMetric { confidenceInterval?: Schema$GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval; count?: number | null; countType?: string | null; ratio?: number | null; type?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExperimentResultVersionMetrics { metrics?: Schema$GoogleCloudDialogflowCxV3ExperimentResultMetric[]; sessionCount?: number | null; version?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportAgentRequest { agentUri?: string | null; dataFormat?: string | null; environment?: string | null; gitDestination?: Schema$GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination; includeBigqueryExportSettings?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportAgentRequestGitDestination { commitMessage?: string | null; trackingBranch?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportAgentResponse { agentContent?: string | null; agentUri?: string | null; commitSha?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportEntityTypesMetadata { } export interface Schema$GoogleCloudDialogflowCxV3ExportEntityTypesRequest { dataFormat?: string | null; entityTypes?: string[] | null; entityTypesContentInline?: boolean | null; entityTypesUri?: string | null; languageCode?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportEntityTypesResponse { entityTypesContent?: Schema$GoogleCloudDialogflowCxV3InlineDestination; entityTypesUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportFlowRequest { flowUri?: string | null; includeReferencedFlows?: boolean | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportFlowResponse { flowContent?: string | null; flowUri?: string | null; } export interface Schema$GoogleCloudDialogflowCxV3ExportIntentsMetadata { } export interface Schema$Goo