Skip to content

Commit d88f480

Browse files
committed
[Librarian] Regenerated @ 5627c63bd23f159fdbe112bf727f87b79c3d4f74
1 parent e8c894e commit d88f480

17 files changed

+1705
-23
lines changed

CHANGES.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,28 @@
11
twilio-csharp Changelog
22
=======================
33

4+
[2023-07-13] Version 6.10.0
5+
---------------------------
6+
**Flex**
7+
- Adding `interaction_context_sid` as optional parameter in Interactions API
8+
9+
**Messaging**
10+
- Making visiblity public for tollfree_verification API
11+
12+
**Numbers**
13+
- Remove Sms capability property from HNO creation under version `/v2` of HNO API. **(breaking change)**
14+
- Update required properties in LOA creation under version `/v2` of Authorization document API. **(breaking change)**
15+
16+
**Taskrouter**
17+
- Add api to fetch task queue statistics for multiple TaskQueues
18+
19+
**Verify**
20+
- Add `RiskCheck` optional parameter on Verification creation.
21+
22+
**Twiml**
23+
- Add Google Voices and languages
24+
25+
426
[2023-06-28] Version 6.9.0
527
--------------------------
628
**Lookups**

src/Twilio/Rest/FlexApi/V1/InteractionOptions.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ public class CreateInteractionOptions : IOptions<InteractionResource>
3434
///<summary> The Interaction's routing logic. </summary>
3535
public object Routing { get; }
3636

37+
///<summary> The Interaction context sid is used for adding a context lookup sid </summary>
38+
public string InteractionContextSid { get; set; }
39+
3740

3841
/// <summary> Construct a new CreateInteractionOptions </summary>
3942
/// <param name="channel"> The Interaction's channel. </param>
@@ -58,6 +61,10 @@ public List<KeyValuePair<string, string>> GetParams()
5861
{
5962
p.Add(new KeyValuePair<string, string>("Routing", Serializers.JsonObject(Routing)));
6063
}
64+
if (InteractionContextSid != null)
65+
{
66+
p.Add(new KeyValuePair<string, string>("InteractionContextSid", InteractionContextSid));
67+
}
6168
return p;
6269
}
6370

src/Twilio/Rest/FlexApi/V1/InteractionResource.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,29 +74,33 @@ public static async System.Threading.Tasks.Task<InteractionResource> CreateAsync
7474
/// <summary> Create a new Interaction. </summary>
7575
/// <param name="channel"> The Interaction's channel. </param>
7676
/// <param name="routing"> The Interaction's routing logic. </param>
77+
/// <param name="interactionContextSid"> The Interaction context sid is used for adding a context lookup sid </param>
7778
/// <param name="client"> Client to make requests to Twilio </param>
7879
/// <returns> A single instance of Interaction </returns>
7980
public static InteractionResource Create(
8081
object channel,
8182
object routing,
83+
string interactionContextSid = null,
8284
ITwilioRestClient client = null)
8385
{
84-
var options = new CreateInteractionOptions(channel, routing){ };
86+
var options = new CreateInteractionOptions(channel, routing){ InteractionContextSid = interactionContextSid };
8587
return Create(options, client);
8688
}
8789

8890
#if !NET35
8991
/// <summary> Create a new Interaction. </summary>
9092
/// <param name="channel"> The Interaction's channel. </param>
9193
/// <param name="routing"> The Interaction's routing logic. </param>
94+
/// <param name="interactionContextSid"> The Interaction context sid is used for adding a context lookup sid </param>
9295
/// <param name="client"> Client to make requests to Twilio </param>
9396
/// <returns> Task that resolves to A single instance of Interaction </returns>
9497
public static async System.Threading.Tasks.Task<InteractionResource> CreateAsync(
9598
object channel,
9699
object routing,
100+
string interactionContextSid = null,
97101
ITwilioRestClient client = null)
98102
{
99-
var options = new CreateInteractionOptions(channel, routing){ };
103+
var options = new CreateInteractionOptions(channel, routing){ InteractionContextSid = interactionContextSid };
100104
return await CreateAsync(options, client);
101105
}
102106
#endif
@@ -204,6 +208,10 @@ public static InteractionResource FromJson(string json)
204208
[JsonProperty("links")]
205209
public Dictionary<string, string> Links { get; private set; }
206210

211+
///<summary> The interaction_context_sid </summary>
212+
[JsonProperty("interaction_context_sid")]
213+
public string InteractionContextSid { get; private set; }
214+
207215

208216

209217
private InteractionResource() {

0 commit comments

Comments
 (0)