Skip to content

Commit 0010ab5

Browse files
committed
feat(Actions): Add Actions to MessageResponse and OutputData
1 parent dd1fd8d commit 0010ab5

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,4 @@ Docs/publishing-release.md.meta
7777
**/.swagger-codegen
7878
/Scripts/Editor/Help/
7979
/Scripts/Editor/Help.meta
80+
*/MRefBuilder.config.meta

Scripts/Editor/Help/Working/MRefBuilder.config.meta

Lines changed: 0 additions & 8 deletions
This file was deleted.

Scripts/Services/Assistant/v1/Model/MessageResponse.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ public class MessageResponse
6262
/// <value>Output from the dialog, including the response to the user, the nodes that were triggered, and log messages.</value>
6363
[fsProperty("output")]
6464
public object Output { get; set; }
65+
/// <summary>
66+
/// An array of objects describing any actions requested by the dialog node.
67+
/// </summary>
68+
[fsProperty("actions")]
69+
public object Actions { get; set; }
6570
}
6671

6772
}

Scripts/Services/Assistant/v1/Model/OutputData.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,11 @@ public class OutputData
5656
/// <value>An array of objects containing detailed diagnostic information about the nodes that were triggered during processing of the input message. Included only if **nodes_visited_details** is set to `true` in the message request.</value>
5757
[fsProperty("nodes_visited_details")]
5858
public Dictionary<string, object> NodesVisitedDetails { get; set; }
59+
// <summary>
60+
/// An array of objects describing any actions requested by the dialog node.
61+
/// </summary>
62+
[fsProperty("actions")]
63+
public Dictionary<string, object> Actions { get; set; }
5964
}
6065

6166
}

0 commit comments

Comments
 (0)