You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** A label that can be displayed externally to describe the purpose of the node to users. */
5049
5066
user_label?: string;
5067
+
/** Whether the dialog node should be excluded from disambiguation suggestions. */
5068
+
disambiguation_opt_out?: boolean;
5050
5069
/** For internal use only. */
5051
5070
disabled?: boolean;
5052
5071
/** The timestamp for creation of the object. */
@@ -5233,8 +5252,8 @@ namespace AssistantV1 {
5233
5252
5234
5253
/** DialogSuggestion. */
5235
5254
exportinterfaceDialogSuggestion{
5236
-
/** The user-facing label for the disambiguation option. This label is taken from the **user_label** property of
5237
-
* the corresponding dialog node.
5255
+
/** The user-facing label for the disambiguation option. This label is taken from the **title** or
5256
+
* **user_label** property of the corresponding dialog node, depending on the disambiguation options.
5238
5257
*/
5239
5258
label: string;
5240
5259
/** An object defining the message input, intents, and entities to be sent to the Watson Assistant service if
@@ -5640,8 +5659,8 @@ namespace AssistantV1 {
5640
5659
dialog_node?: string;
5641
5660
/** An array of objects describing the possible matching dialog nodes from which the user can choose.
5642
5661
*
5643
-
* **Note:** The **suggestions** property is part of the disambiguation feature, which is only available for
5644
-
* Premium users.
5662
+
* **Note:** The **suggestions** property is part of the disambiguation feature, which is only available for Plus
5663
+
* and Premium users.
5645
5664
*/
5646
5665
suggestions?: DialogSuggestion[];
5647
5666
}
@@ -5710,6 +5729,24 @@ namespace AssistantV1 {
5710
5729
pagination: Pagination;
5711
5730
}
5712
5731
5732
+
/** A webhook that can be used by dialog nodes to make programmatic calls to an external function. **Note:** Currently, only a single webhook named `main_webhook` is supported. */
5733
+
exportinterfaceWebhook{
5734
+
/** The URL for the external service or application to which you want to send HTTP POST requests. */
5735
+
url: string;
5736
+
/** The name of the webhook. Currently, `main_webhook` is the only supported value. */
5737
+
name: string;
5738
+
/** An optional array of HTTP headers to pass with the HTTP request. */
5739
+
headers?: WebhookHeader[];
5740
+
}
5741
+
5742
+
/** A key/value pair defining an HTTP header and a value. */
5743
+
exportinterfaceWebhookHeader{
5744
+
/** The name of an HTTP header (for example, `Authorization`). */
5745
+
name: string;
5746
+
/** The value of an HTTP header. */
5747
+
value: string;
5748
+
}
5749
+
5713
5750
/** Workspace. */
5714
5751
exportinterfaceWorkspace{
5715
5752
/** The name of the workspace. This string cannot contain carriage return, newline, or tab characters. */
@@ -5742,6 +5779,7 @@ namespace AssistantV1 {
5742
5779
dialog_nodes?: DialogNode[];
5743
5780
/** An array of counterexamples. */
5744
5781
counterexamples?: Counterexample[];
5782
+
webhooks?: Webhook[];
5745
5783
}
5746
5784
5747
5785
/** WorkspaceCollection. */
@@ -5758,14 +5796,16 @@ namespace AssistantV1 {
5758
5796
tooling?: WorkspaceSystemSettingsTooling;
5759
5797
/** Workspace settings related to the disambiguation feature.
5760
5798
*
5761
-
* **Note:** This feature is available only to Premium users.
5799
+
* **Note:** This feature is available only to Plus and Premium users.
0 commit comments