UNPKG

botbuilder-dialogs

Version:

A dialog stack based conversation manager for Microsoft BotBuilder.

37 lines (28 loc) 1.1 kB
/** * @module botbuilder-dialogs */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ /** * Defines path for available dialogs. */ export class DialogPath { /// Counter of emitted events. static readonly eventCounter = 'dialog.eventCounter'; /// Currently expected properties. static readonly expectedProperties = 'dialog.expectedProperties'; /// Default operation to use for entities where there is no identified operation entity. static readonly defaultOperation = 'dialog.defaultOperation'; /// Last surfaced entity ambiguity event. static readonly lastEvent = 'dialog.lastEvent'; /// Currently required properties. static readonly requiredProperties = 'dialog.requiredProperties'; /// Number of retries for the current Ask. static readonly retries = 'dialog.retries'; /// Last intent. static readonly lastIntent = 'dialog.lastIntent'; /// Last trigger event: defined in FormEvent, ask, clarifyEntity etc.. static readonly lastTriggerEvent = 'dialog.lastTriggerEvent'; }