Skip to content

Commit 735b2d6

Browse files
committed
chore(assistant-v1): manual changes
1 parent f474d0a commit 735b2d6

7 files changed

+5
-31
lines changed

Scripts/Services/Assistant/V1/AssistantService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public AssistantService(string version, string serviceName, Authenticator authen
150150
/// <param name="nodesVisitedDetails">Whether to include additional diagnostic information about the dialog
151151
/// nodes that were visited during processing of the message. (optional, default to false)</param>
152152
/// <returns><see cref="MessageResponse" />MessageResponse</returns>
153-
public bool Message(Callback<MessageResponse> callback, string workspaceId, MessageInput input = null, List<RuntimeIntent> intents = null, List<RuntimeEntity> entities = null, bool? alternateIntents = null, Context context = null, OutputData output = null, string userId = null, bool? nodesVisitedDetails = null)
153+
public bool Message(Callback<MessageResponse> callback, string workspaceId, MessageInput input = null, List<RuntimeIntent> intents = null, List<RuntimeEntity> entities = null, bool? alternateIntents = null, Context context = null, OutputData output = null, bool? nodesVisitedDetails = null, string userId = null)
154154
{
155155
if (callback == null)
156156
throw new ArgumentNullException("`callback` is required for `Message`");

Scripts/Services/Assistant/V1/Model/DialogNodeOutputGeneric.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,6 @@ public class QueryTypeValue
198198
[JsonProperty("agent_unavailable", NullValueHandling = NullValueHandling.Ignore)]
199199
public AgentAvailabilityMessage AgentUnavailable { get; protected set; }
200200
/// <summary>
201-
/// Routing or other contextual information to be used by target service desk systems.
202-
/// </summary>
203-
[JsonProperty("transfer_info", NullValueHandling = NullValueHandling.Ignore)]
204-
public DialogNodeOutputConnectToAgentTransferInfo TransferInfo { get; protected set; }
205-
/// <summary>
206201
/// The text of the search query. This can be either a natural-language query or a query that uses the Discovery
207202
/// query language syntax, depending on the value of the **query_type** property. For more information, see the
208203
/// [Discovery service

Scripts/Services/Assistant/V1/Model/DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ public class DialogNodeOutputGenericDialogNodeOutputResponseTypeChannelTransfer
4848
/// Information used by an integration to transfer the conversation to a different channel.
4949
/// </summary>
5050
[JsonProperty("transfer_info", NullValueHandling = NullValueHandling.Ignore)]
51-
public new ChannelTransferInfo TransferInfo
52-
{
53-
get { return base.TransferInfo; }
54-
set { base.TransferInfo = value; }
55-
}
51+
public new ChannelTransferInfo TransferInfo { get; protected set; }
5652
/// <summary>
5753
/// An array of objects specifying channels for which the response is intended.
5854
/// </summary>

Scripts/Services/Assistant/V1/Model/DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,7 @@ public class DialogNodeOutputGenericDialogNodeOutputResponseTypeConnectToAgent :
6868
/// Routing or other contextual information to be used by target service desk systems.
6969
/// </summary>
7070
[JsonProperty("transfer_info", NullValueHandling = NullValueHandling.Ignore)]
71-
public new DialogNodeOutputConnectToAgentTransferInfo TransferInfo
72-
{
73-
get { return base.TransferInfo; }
74-
set { base.TransferInfo = value; }
75-
}
71+
public new DialogNodeOutputConnectToAgentTransferInfo TransferInfo { get; protected set; }
7672
/// <summary>
7773
/// An array of objects specifying channels for which the response is intended.
7874
/// </summary>

Scripts/Services/Assistant/V1/Model/RuntimeResponseGeneric.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -145,11 +145,6 @@ public class PreferenceValue
145145
[JsonProperty("agent_unavailable", NullValueHandling = NullValueHandling.Ignore)]
146146
public AgentAvailabilityMessage AgentUnavailable { get; protected set; }
147147
/// <summary>
148-
/// Routing or other contextual information to be used by target service desk systems.
149-
/// </summary>
150-
[JsonProperty("transfer_info", NullValueHandling = NullValueHandling.Ignore)]
151-
public DialogNodeOutputConnectToAgentTransferInfo TransferInfo { get; protected set; }
152-
/// <summary>
153148
/// A label identifying the topic of the conversation, derived from the **title** property of the relevant node
154149
/// or the **topic** property of the dialog node response.
155150
/// </summary>

Scripts/Services/Assistant/V1/Model/RuntimeResponseGenericRuntimeResponseTypeChannelTransfer.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ public class RuntimeResponseGenericRuntimeResponseTypeChannelTransfer : RuntimeR
4848
/// Information used by an integration to transfer the conversation to a different channel.
4949
/// </summary>
5050
[JsonProperty("transfer_info", NullValueHandling = NullValueHandling.Ignore)]
51-
public new ChannelTransferInfo TransferInfo
52-
{
53-
get { return base.TransferInfo; }
54-
set { base.TransferInfo = value; }
55-
}
51+
public new ChannelTransferInfo TransferInfo { get; protected set; }
5652
/// <summary>
5753
/// An array of objects specifying channels for which the response is intended. If **channels** is present, the
5854
/// response is intended only for a built-in integration and should not be handled by an API client.

Scripts/Services/Assistant/V1/Model/RuntimeResponseGenericRuntimeResponseTypeConnectToAgent.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,7 @@ public class RuntimeResponseGenericRuntimeResponseTypeConnectToAgent : RuntimeRe
6868
/// Routing or other contextual information to be used by target service desk systems.
6969
/// </summary>
7070
[JsonProperty("transfer_info", NullValueHandling = NullValueHandling.Ignore)]
71-
public new DialogNodeOutputConnectToAgentTransferInfo TransferInfo
72-
{
73-
get { return base.TransferInfo; }
74-
set { base.TransferInfo = value; }
75-
}
71+
public new DialogNodeOutputConnectToAgentTransferInfo TransferInfo { get; protected set; }
7672
/// <summary>
7773
/// A label identifying the topic of the conversation, derived from the **title** property of the relevant node
7874
/// or the **topic** property of the dialog node response.

0 commit comments

Comments
 (0)