export declare const ConversationConversationStage: { /** * Unknown. Should never be used after a conversation is successfully created. */ readonly ConversationStageUnspecified: "CONVERSATION_STAGE_UNSPECIFIED"; /** * The conversation should return virtual agent responses into the conversation. */ readonly VirtualAgentStage: "VIRTUAL_AGENT_STAGE"; /** * The conversation should not provide responses, just listen and provide suggestions. */ readonly HumanAssistStage: "HUMAN_ASSIST_STAGE"; }; /** * The stage of a conversation. It indicates whether the virtual agent or a human agent is handling the conversation. If the conversation is created with the conversation profile that has Dialogflow config set, defaults to ConversationStage.VIRTUAL_AGENT_STAGE; Otherwise, defaults to ConversationStage.HUMAN_ASSIST_STAGE. If the conversation is created with the conversation profile that has Dialogflow config set but explicitly sets conversation_stage to ConversationStage.HUMAN_ASSIST_STAGE, it skips ConversationStage.VIRTUAL_AGENT_STAGE stage and directly goes to ConversationStage.HUMAN_ASSIST_STAGE. */ export type ConversationConversationStage = (typeof ConversationConversationStage)[keyof typeof ConversationConversationStage]; export declare const DocumentKnowledgeTypesItem: { /** * The type is unspecified or arbitrary. */ readonly KnowledgeTypeUnspecified: "KNOWLEDGE_TYPE_UNSPECIFIED"; /** * The document content contains question and answer pairs as either HTML or CSV. Typical FAQ HTML formats are parsed accurately, but unusual formats may fail to be parsed. CSV must have questions in the first column and answers in the second, with no header. Because of this explicit format, they are always parsed accurately. */ readonly Faq: "FAQ"; /** * Documents for which unstructured text is extracted and used for question answering. */ readonly ExtractiveQa: "EXTRACTIVE_QA"; /** * The entire document content as a whole can be used for query results. Only for Contact Center Solutions on Dialogflow. */ readonly ArticleSuggestion: "ARTICLE_SUGGESTION"; /** * The document contains agent-facing Smart Reply entries. */ readonly AgentFacingSmartReply: "AGENT_FACING_SMART_REPLY"; /** * The legacy enum for agent-facing smart reply feature. */ readonly SmartReply: "SMART_REPLY"; }; export type DocumentKnowledgeTypesItem = (typeof DocumentKnowledgeTypesItem)[keyof typeof DocumentKnowledgeTypesItem]; export declare const EntityTypeAutoExpansionMode: { /** * Auto expansion disabled for the entity. */ readonly AutoExpansionModeUnspecified: "AUTO_EXPANSION_MODE_UNSPECIFIED"; /** * Allows an agent to recognize values that have not been explicitly listed in the entity. */ readonly AutoExpansionModeDefault: "AUTO_EXPANSION_MODE_DEFAULT"; }; /** * Optional. Indicates whether the entity type can be automatically expanded. */ export type EntityTypeAutoExpansionMode = (typeof EntityTypeAutoExpansionMode)[keyof typeof EntityTypeAutoExpansionMode]; export declare const EntityTypeKind: { /** * Not specified. This value should be never used. */ readonly KindUnspecified: "KIND_UNSPECIFIED"; /** * Map entity types allow mapping of a group of synonyms to a reference value. */ readonly KindMap: "KIND_MAP"; /** * List entity types contain a set of entries that do not map to reference values. However, list entity types can contain references to other entity types (with or without aliases). */ readonly KindList: "KIND_LIST"; /** * Regexp entity types allow to specify regular expressions in entries values. */ readonly KindRegexp: "KIND_REGEXP"; }; /** * Required. Indicates the kind of entity type. */ export type EntityTypeKind = (typeof EntityTypeKind)[keyof typeof EntityTypeKind]; export declare const GoogleCloudDialogflowV2beta1FulfillmentFeatureType: { /** * Feature type not specified. */ readonly TypeUnspecified: "TYPE_UNSPECIFIED"; /** * Fulfillment is enabled for SmallTalk. */ readonly Smalltalk: "SMALLTALK"; }; /** * The type of the feature that enabled for fulfillment. */ export type GoogleCloudDialogflowV2beta1FulfillmentFeatureType = (typeof GoogleCloudDialogflowV2beta1FulfillmentFeatureType)[keyof typeof GoogleCloudDialogflowV2beta1FulfillmentFeatureType]; export declare const GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint: { /** * Unspecified */ readonly UrlTypeHintUnspecified: "URL_TYPE_HINT_UNSPECIFIED"; /** * Url would be an amp action */ readonly AmpAction: "AMP_ACTION"; /** * URL that points directly to AMP content, or to a canonical URL which refers to AMP content via . */ readonly AmpContent: "AMP_CONTENT"; }; /** * Optional. Specifies the type of viewer that is used when opening the URL. Defaults to opening via web browser. */ export type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint = (typeof GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint)[keyof typeof GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardBrowseCarouselCardItemOpenUrlActionUrlTypeHint]; export declare const GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions: { /** * Fill the gaps between the image and the image container with gray bars. */ readonly ImageDisplayOptionsUnspecified: "IMAGE_DISPLAY_OPTIONS_UNSPECIFIED"; /** * Fill the gaps between the image and the image container with gray bars. */ readonly Gray: "GRAY"; /** * Fill the gaps between the image and the image container with white bars. */ readonly White: "WHITE"; /** * Image is scaled such that the image width and height match or exceed the container dimensions. This may crop the top and bottom of the image if the scaled image height is greater than the container height, or crop the left and right of the image if the scaled image width is greater than the container width. This is similar to "Zoom Mode" on a widescreen TV when playing a 4:3 video. */ readonly Cropped: "CROPPED"; /** * Pad the gaps between image and image frame with a blurred copy of the same image. */ readonly BlurredBackground: "BLURRED_BACKGROUND"; }; /** * Optional. Settings for displaying the image. Applies to every image in items. */ export type GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions = (typeof GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions)[keyof typeof GoogleCloudDialogflowV2beta1IntentMessageBrowseCarouselCardImageDisplayOptions]; export declare const GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment: { /** * Text is aligned to the leading edge of the column. */ readonly HorizontalAlignmentUnspecified: "HORIZONTAL_ALIGNMENT_UNSPECIFIED"; /** * Text is aligned to the leading edge of the column. */ readonly Leading: "LEADING"; /** * Text is centered in the column. */ readonly Center: "CENTER"; /** * Text is aligned to the trailing edge of the column. */ readonly Trailing: "TRAILING"; }; /** * Optional. Defines text alignment for all cells in this column. */ export type GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment = (typeof GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment)[keyof typeof GoogleCloudDialogflowV2beta1IntentMessageColumnPropertiesHorizontalAlignment]; export declare const GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType: { /** * Unspecified. */ readonly ResponseMediaTypeUnspecified: "RESPONSE_MEDIA_TYPE_UNSPECIFIED"; /** * Response media type is audio. */ readonly Audio: "AUDIO"; }; /** * Optional. What type of media is the content (ie "audio"). */ export type GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType = (typeof GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType)[keyof typeof GoogleCloudDialogflowV2beta1IntentMessageMediaContentMediaType]; export declare const GoogleCloudDialogflowV2beta1IntentMessagePlatform: { /** * Not specified. */ readonly PlatformUnspecified: "PLATFORM_UNSPECIFIED"; /** * Facebook. */ readonly Facebook: "FACEBOOK"; /** * Slack. */ readonly Slack: "SLACK"; /** * Telegram. */ readonly Telegram: "TELEGRAM"; /** * Kik. */ readonly Kik: "KIK"; /** * Skype. */ readonly Skype: "SKYPE"; /** * Line. */ readonly Line: "LINE"; /** * Viber. */ readonly Viber: "VIBER"; /** * Google Assistant See [Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) */ readonly ActionsOnGoogle: "ACTIONS_ON_GOOGLE"; /** * Telephony Gateway. */ readonly Telephony: "TELEPHONY"; /** * Google Hangouts. */ readonly GoogleHangouts: "GOOGLE_HANGOUTS"; }; /** * Optional. The platform that this message is intended for. */ export type GoogleCloudDialogflowV2beta1IntentMessagePlatform = (typeof GoogleCloudDialogflowV2beta1IntentMessagePlatform)[keyof typeof GoogleCloudDialogflowV2beta1IntentMessagePlatform]; export declare const GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight: { /** * Not specified. */ readonly HeightUnspecified: "HEIGHT_UNSPECIFIED"; /** * 112 DP. */ readonly Short: "SHORT"; /** * 168 DP. */ readonly Medium: "MEDIUM"; /** * 264 DP. Not available for rich card carousels when the card width is set to small. */ readonly Tall: "TALL"; }; /** * Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored. */ export type GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight = (typeof GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight)[keyof typeof GoogleCloudDialogflowV2beta1IntentMessageRbmCardContentRbmMediaHeight]; export declare const GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth: { /** * Not specified. */ readonly CardWidthUnspecified: "CARD_WIDTH_UNSPECIFIED"; /** * 120 DP. Note that tall media cannot be used. */ readonly Small: "SMALL"; /** * 232 DP. */ readonly Medium: "MEDIUM"; }; /** * Required. The width of the cards in the carousel. */ export type GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth = (typeof GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth)[keyof typeof GoogleCloudDialogflowV2beta1IntentMessageRbmCarouselCardCardWidth]; export declare const GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation: { /** * Not specified. */ readonly CardOrientationUnspecified: "CARD_ORIENTATION_UNSPECIFIED"; /** * Horizontal layout. */ readonly Horizontal: "HORIZONTAL"; /** * Vertical layout. */ readonly Vertical: "VERTICAL"; }; /** * Required. Orientation of the card. */ export type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation = (typeof GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation)[keyof typeof GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardCardOrientation]; export declare const GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment: { /** * Not specified. */ readonly ThumbnailImageAlignmentUnspecified: "THUMBNAIL_IMAGE_ALIGNMENT_UNSPECIFIED"; /** * Thumbnail preview is left-aligned. */ readonly Left: "LEFT"; /** * Thumbnail preview is right-aligned. */ readonly Right: "RIGHT"; }; /** * Required if orientation is horizontal. Image preview alignment for standalone cards with horizontal layout. */ export type GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment = (typeof GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment)[keyof typeof GoogleCloudDialogflowV2beta1IntentMessageRbmStandaloneCardThumbnailImageAlignment]; export declare const GoogleCloudDialogflowV2beta1IntentTrainingPhraseType: { /** * Not specified. This value should never be used. */ readonly TypeUnspecified: "TYPE_UNSPECIFIED"; /** * Examples do not contain @-prefixed entity type names, but example parts can be annotated with entity types. */ readonly Example: "EXAMPLE"; /** * Templates are not annotated with entity types, but they can contain @-prefixed entity type names as substrings. Note: Template mode has been deprecated. Example mode is the only supported way to create new training phrases. If you have existing training phrases in template mode, they will be removed during training and it can cause a drop in agent performance. */ readonly Template: "TEMPLATE"; }; /** * Required. The type of the training phrase. */ export type GoogleCloudDialogflowV2beta1IntentTrainingPhraseType = (typeof GoogleCloudDialogflowV2beta1IntentTrainingPhraseType)[keyof typeof GoogleCloudDialogflowV2beta1IntentTrainingPhraseType]; export declare const GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat: { /** * If it is unspecified, PROTO will be used. */ readonly MessageFormatUnspecified: "MESSAGE_FORMAT_UNSPECIFIED"; /** * Pub/Sub message will be serialized proto. */ readonly Proto: "PROTO"; /** * Pub/Sub message will be json. */ readonly Json: "JSON"; }; /** * Format of message. */ export type GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat = (typeof GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat)[keyof typeof GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat]; export declare const GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant: { /** * No model variant specified. In this case Dialogflow defaults to USE_BEST_AVAILABLE. */ readonly SpeechModelVariantUnspecified: "SPEECH_MODEL_VARIANT_UNSPECIFIED"; /** * Use the best available variant of the Speech model that the caller is eligible for. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible for enhanced models. */ readonly UseBestAvailable: "USE_BEST_AVAILABLE"; /** * Use standard model variant even if an enhanced model is available. See the [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) for details about enhanced models. */ readonly UseStandard: "USE_STANDARD"; /** * Use an enhanced model variant: * If an enhanced variant does not exist for the given model and request language, Dialogflow falls back to the standard variant. The [Cloud Speech documentation](https://cloud.google.com/speech-to-text/docs/enhanced-models) describes which models have enhanced variants. * If the API caller isn't eligible for enhanced models, Dialogflow returns an error. Please see the [Dialogflow docs](https://cloud.google.com/dialogflow/docs/data-logging) for how to make your project eligible. */ readonly UseEnhanced: "USE_ENHANCED"; }; /** * The speech model used in speech to text. `SPEECH_MODEL_VARIANT_UNSPECIFIED`, `USE_BEST_AVAILABLE` will be treated as `USE_ENHANCED`. It can be overridden in AnalyzeContentRequest and StreamingAnalyzeContentRequest request. If enhanced model variant is specified and an enhanced version of the specified model for the language does not exist, then it would emit an error. */ export type GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant = (typeof GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant)[keyof typeof GoogleCloudDialogflowV2beta1SpeechToTextConfigSpeechModelVariant]; export declare const GoogleCloudDialogflowV2beta1SuggestionFeatureType: { /** * Unspecified feature type. */ readonly TypeUnspecified: "TYPE_UNSPECIFIED"; /** * Run article suggestion model for chat. */ readonly ArticleSuggestion: "ARTICLE_SUGGESTION"; /** * Run FAQ model. */ readonly Faq: "FAQ"; /** * Run smart reply model for chat. */ readonly SmartReply: "SMART_REPLY"; /** * Run Dialogflow assist model for chat, which will return automated agent response as suggestion. */ readonly DialogflowAssist: "DIALOGFLOW_ASSIST"; /** * Run conversation summarization model for chat. */ readonly ConversationSummarization: "CONVERSATION_SUMMARIZATION"; /** * Run knowledge search with text input from agent or text generated query. */ readonly KnowledgeSearch: "KNOWLEDGE_SEARCH"; }; /** * Type of Human Agent Assistant API feature to request. */ export type GoogleCloudDialogflowV2beta1SuggestionFeatureType = (typeof GoogleCloudDialogflowV2beta1SuggestionFeatureType)[keyof typeof GoogleCloudDialogflowV2beta1SuggestionFeatureType]; export declare const GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding: { /** * Not specified. */ readonly OutputAudioEncodingUnspecified: "OUTPUT_AUDIO_ENCODING_UNSPECIFIED"; /** * Uncompressed 16-bit signed little-endian samples (Linear PCM). Audio content returned as LINEAR16 also contains a WAV header. */ readonly OutputAudioEncodingLinear16: "OUTPUT_AUDIO_ENCODING_LINEAR_16"; /** * MP3 audio at 32kbps. */ readonly OutputAudioEncodingMp3: "OUTPUT_AUDIO_ENCODING_MP3"; /** * MP3 audio at 64kbps. */ readonly OutputAudioEncodingMp364Kbps: "OUTPUT_AUDIO_ENCODING_MP3_64_KBPS"; /** * Opus encoded audio wrapped in an ogg container. The result will be a file which can be played natively on Android, and in browsers (at least Chrome and Firefox). The quality of the encoding is considerably higher than MP3 while using approximately the same bitrate. */ readonly OutputAudioEncodingOggOpus: "OUTPUT_AUDIO_ENCODING_OGG_OPUS"; /** * 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. */ readonly OutputAudioEncodingMulaw: "OUTPUT_AUDIO_ENCODING_MULAW"; }; /** * Required. Audio encoding of the synthesized audio content. */ export type GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding = (typeof GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding)[keyof typeof GoogleCloudDialogflowV2beta1TextToSpeechSettingsOutputAudioEncoding]; export declare const GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender: { /** * An unspecified gender, which means that the client doesn't care which gender the selected voice will have. */ readonly SsmlVoiceGenderUnspecified: "SSML_VOICE_GENDER_UNSPECIFIED"; /** * A male voice. */ readonly SsmlVoiceGenderMale: "SSML_VOICE_GENDER_MALE"; /** * A female voice. */ readonly SsmlVoiceGenderFemale: "SSML_VOICE_GENDER_FEMALE"; /** * A gender-neutral voice. */ readonly SsmlVoiceGenderNeutral: "SSML_VOICE_GENDER_NEUTRAL"; }; /** * Optional. The preferred gender of the voice. If not set, the service will choose a voice based on the other parameters such as language_code and name. Note that this is only a preference, not requirement. If a voice of the appropriate gender is not available, the synthesizer should substitute a voice with a different gender rather than failing the request. */ export type GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender = (typeof GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender)[keyof typeof GoogleCloudDialogflowV2beta1VoiceSelectionParamsSsmlGender]; export declare const IntentDefaultResponsePlatformsItem: { /** * Not specified. */ readonly PlatformUnspecified: "PLATFORM_UNSPECIFIED"; /** * Facebook. */ readonly Facebook: "FACEBOOK"; /** * Slack. */ readonly Slack: "SLACK"; /** * Telegram. */ readonly Telegram: "TELEGRAM"; /** * Kik. */ readonly Kik: "KIK"; /** * Skype. */ readonly Skype: "SKYPE"; /** * Line. */ readonly Line: "LINE"; /** * Viber. */ readonly Viber: "VIBER"; /** * Google Assistant See [Dialogflow webhook format](https://developers.google.com/assistant/actions/build/json/dialogflow-webhook-json) */ readonly ActionsOnGoogle: "ACTIONS_ON_GOOGLE"; /** * Telephony Gateway. */ readonly Telephony: "TELEPHONY"; /** * Google Hangouts. */ readonly GoogleHangouts: "GOOGLE_HANGOUTS"; }; export type IntentDefaultResponsePlatformsItem = (typeof IntentDefaultResponsePlatformsItem)[keyof typeof IntentDefaultResponsePlatformsItem]; export declare const IntentWebhookState: { /** * Webhook is disabled in the agent and in the intent. */ readonly WebhookStateUnspecified: "WEBHOOK_STATE_UNSPECIFIED"; /** * Webhook is enabled in the agent and in the intent. */ readonly WebhookStateEnabled: "WEBHOOK_STATE_ENABLED"; /** * Webhook is enabled in the agent and in the intent. Also, each slot filling prompt is forwarded to the webhook. */ readonly WebhookStateEnabledForSlotFilling: "WEBHOOK_STATE_ENABLED_FOR_SLOT_FILLING"; }; /** * Optional. Indicates whether webhooks are enabled for the intent. */ export type IntentWebhookState = (typeof IntentWebhookState)[keyof typeof IntentWebhookState]; export declare const ParticipantRole: { /** * Participant role not set. */ readonly RoleUnspecified: "ROLE_UNSPECIFIED"; /** * Participant is a human agent. */ readonly HumanAgent: "HUMAN_AGENT"; /** * Participant is an automated agent, such as a Dialogflow agent. */ readonly AutomatedAgent: "AUTOMATED_AGENT"; /** * Participant is an end user that has called or chatted with Dialogflow services. */ readonly EndUser: "END_USER"; }; /** * Immutable. The role this participant plays in the conversation. This field must be set during participant creation and is then immutable. */ export type ParticipantRole = (typeof ParticipantRole)[keyof typeof ParticipantRole]; export declare const SessionEntityTypeEntityOverrideMode: { /** * Not specified. This value should be never used. */ readonly EntityOverrideModeUnspecified: "ENTITY_OVERRIDE_MODE_UNSPECIFIED"; /** * The collection of session entities overrides the collection of entities in the corresponding custom entity type. */ readonly EntityOverrideModeOverride: "ENTITY_OVERRIDE_MODE_OVERRIDE"; /** * The collection of session entities extends the collection of entities in the corresponding custom entity type. Note: Even in this override mode calls to `ListSessionEntityTypes`, `GetSessionEntityType`, `CreateSessionEntityType` and `UpdateSessionEntityType` only return the additional entities added in this session entity type. If you want to get the supplemented list, please call EntityTypes.GetEntityType on the custom entity type and merge. */ readonly EntityOverrideModeSupplement: "ENTITY_OVERRIDE_MODE_SUPPLEMENT"; }; /** * Required. Indicates whether the additional data should override or supplement the custom entity type definition. */ export type SessionEntityTypeEntityOverrideMode = (typeof SessionEntityTypeEntityOverrideMode)[keyof typeof SessionEntityTypeEntityOverrideMode];