Skip to content

Commit a136662

Browse files
committed
[Librarian] Regenerated @ 39bbd47c92a659f8a7464cedcc75b92c7ba69773 f51169e3becf53bb375f9c7413aec0c78fe78fcc
1 parent 07040d2 commit a136662

File tree

5 files changed

+39
-34
lines changed

5 files changed

+39
-34
lines changed

CHANGES.md

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

4+
[2025-07-10] Version 7.11.5
5+
---------------------------
6+
**Flex**
7+
- update team name for web_channel, webchat_init_token, webchat_refresh_token
8+
9+
410
[2025-07-03] Version 7.11.4
511
---------------------------
612
**Bulkexports**

src/Twilio/Rest/Lookups/V2/LookupOverrideResource.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -459,15 +459,15 @@ public static string ToJson(object model)
459459
}
460460

461461

462-
///<summary> The phone_number </summary>
462+
///<summary> The phone number for which the override was created </summary>
463463
[JsonProperty("phone_number")]
464464
public string PhoneNumber { get; private set; }
465465

466-
466+
///<summary> The original line type </summary>
467467
[JsonProperty("original_line_type")]
468468
public LookupOverrideResource.OriginalLineTypeEnum OriginalLineType { get; private set; }
469469

470-
470+
///<summary> The new line type after the override </summary>
471471
[JsonProperty("overridden_line_type")]
472472
public LookupOverrideResource.OverriddenLineTypeEnum OverriddenLineType { get; private set; }
473473

@@ -479,7 +479,7 @@ public static string ToJson(object model)
479479
[JsonProperty("override_timestamp")]
480480
public DateTime? OverrideTimestamp { get; private set; }
481481

482-
///<summary> The user who overrode the line type </summary>
482+
///<summary> The Account SID for the user who made the override </summary>
483483
[JsonProperty("overridden_by_account_sid")]
484484
public string OverriddenByAccountSid { get; private set; }
485485

src/Twilio/Rest/Numbers/V1/WebhookOptions.cs renamed to src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationFetchOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
namespace Twilio.Rest.Numbers.V1
2525
{
2626
/// <summary> Allows to fetch the webhook configuration </summary>
27-
public class FetchWebhookOptions : IOptions<WebhookResource>
27+
public class FetchPortingWebhookConfigurationFetchOptions : IOptions<PortingWebhookConfigurationFetchResource>
2828
{
2929

3030

src/Twilio/Rest/Numbers/V1/WebhookResource.cs renamed to src/Twilio/Rest/Numbers/V1/PortingWebhookConfigurationFetchResource.cs

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@
2727

2828
namespace Twilio.Rest.Numbers.V1
2929
{
30-
public class WebhookResource : Resource
30+
public class PortingWebhookConfigurationFetchResource : Resource
3131
{
3232

3333

3434

3535

3636

37-
private static Request BuildFetchRequest(FetchWebhookOptions options, ITwilioRestClient client)
37+
private static Request BuildFetchRequest(FetchPortingWebhookConfigurationFetchOptions options, ITwilioRestClient client)
3838
{
3939

4040
string path = "/v1/Porting/Configuration/Webhook";
@@ -50,10 +50,10 @@ private static Request BuildFetchRequest(FetchWebhookOptions options, ITwilioRes
5050
}
5151

5252
/// <summary> Allows to fetch the webhook configuration </summary>
53-
/// <param name="options"> Fetch Webhook parameters </param>
53+
/// <param name="options"> Fetch PortingWebhookConfigurationFetch parameters </param>
5454
/// <param name="client"> Client to make requests to Twilio </param>
55-
/// <returns> A single instance of Webhook </returns>
56-
public static WebhookResource Fetch(FetchWebhookOptions options, ITwilioRestClient client = null)
55+
/// <returns> A single instance of PortingWebhookConfigurationFetch </returns>
56+
public static PortingWebhookConfigurationFetchResource Fetch(FetchPortingWebhookConfigurationFetchOptions options, ITwilioRestClient client = null)
5757
{
5858
client = client ?? TwilioClient.GetRestClient();
5959
var response = client.Request(BuildFetchRequest(options, client));
@@ -62,10 +62,10 @@ public static WebhookResource Fetch(FetchWebhookOptions options, ITwilioRestClie
6262

6363
#if !NET35
6464
/// <summary> Allows to fetch the webhook configuration </summary>
65-
/// <param name="options"> Fetch Webhook parameters </param>
65+
/// <param name="options"> Fetch PortingWebhookConfigurationFetch parameters </param>
6666
/// <param name="client"> Client to make requests to Twilio </param>
67-
/// <returns> Task that resolves to A single instance of Webhook </returns>
68-
public static async System.Threading.Tasks.Task<WebhookResource> FetchAsync(FetchWebhookOptions options, ITwilioRestClient client = null)
67+
/// <returns> Task that resolves to A single instance of PortingWebhookConfigurationFetch </returns>
68+
public static async System.Threading.Tasks.Task<PortingWebhookConfigurationFetchResource> FetchAsync(FetchPortingWebhookConfigurationFetchOptions options, ITwilioRestClient client = null)
6969
{
7070
client = client ?? TwilioClient.GetRestClient();
7171
var response = await client.RequestAsync(BuildFetchRequest(options, client));
@@ -74,35 +74,35 @@ public static async System.Threading.Tasks.Task<WebhookResource> FetchAsync(Fetc
7474
#endif
7575
/// <summary> Allows to fetch the webhook configuration </summary>
7676
/// <param name="client"> Client to make requests to Twilio </param>
77-
/// <returns> A single instance of Webhook </returns>
78-
public static WebhookResource Fetch(
77+
/// <returns> A single instance of PortingWebhookConfigurationFetch </returns>
78+
public static PortingWebhookConfigurationFetchResource Fetch(
7979
ITwilioRestClient client = null)
8080
{
81-
var options = new FetchWebhookOptions(){ };
81+
var options = new FetchPortingWebhookConfigurationFetchOptions(){ };
8282
return Fetch(options, client);
8383
}
8484

8585
#if !NET35
8686
/// <summary> Allows to fetch the webhook configuration </summary>
8787
/// <param name="client"> Client to make requests to Twilio </param>
88-
/// <returns> Task that resolves to A single instance of Webhook </returns>
89-
public static async System.Threading.Tasks.Task<WebhookResource> FetchAsync(ITwilioRestClient client = null)
88+
/// <returns> Task that resolves to A single instance of PortingWebhookConfigurationFetch </returns>
89+
public static async System.Threading.Tasks.Task<PortingWebhookConfigurationFetchResource> FetchAsync(ITwilioRestClient client = null)
9090
{
91-
var options = new FetchWebhookOptions(){ };
91+
var options = new FetchPortingWebhookConfigurationFetchOptions(){ };
9292
return await FetchAsync(options, client);
9393
}
9494
#endif
9595

9696
/// <summary>
97-
/// Converts a JSON string into a WebhookResource object
97+
/// Converts a JSON string into a PortingWebhookConfigurationFetchResource object
9898
/// </summary>
9999
/// <param name="json"> Raw JSON string </param>
100-
/// <returns> WebhookResource object represented by the provided JSON </returns>
101-
public static WebhookResource FromJson(string json)
100+
/// <returns> PortingWebhookConfigurationFetchResource object represented by the provided JSON </returns>
101+
public static PortingWebhookConfigurationFetchResource FromJson(string json)
102102
{
103103
try
104104
{
105-
return JsonConvert.DeserializeObject<WebhookResource>(json);
105+
return JsonConvert.DeserializeObject<PortingWebhookConfigurationFetchResource>(json);
106106
}
107107
catch (JsonException e)
108108
{
@@ -153,7 +153,7 @@ public static string ToJson(object model)
153153

154154

155155

156-
private WebhookResource() {
156+
private PortingWebhookConfigurationFetchResource() {
157157

158158
}
159159
}

src/Twilio/Rest/Video/V1/Room/TranscriptionsResource.cs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ public static implicit operator StatusEnum(string value)
4141
{
4242
return new StatusEnum(value);
4343
}
44-
public static readonly StatusEnum Created = new StatusEnum("created");
4544
public static readonly StatusEnum Started = new StatusEnum("started");
4645
public static readonly StatusEnum Stopped = new StatusEnum("stopped");
4746
public static readonly StatusEnum Failed = new StatusEnum("failed");
@@ -214,7 +213,7 @@ public static ResourceSet<TranscriptionsResource> Read(ReadTranscriptionsOptions
214213
{
215214
client = client ?? TwilioClient.GetRestClient();
216215
var response = client.Request(BuildReadRequest(options, client));
217-
var page = Page<TranscriptionsResource>.FromJson("extensions", response.Content);
216+
var page = Page<TranscriptionsResource>.FromJson("transcriptions", response.Content);
218217
return new ResourceSet<TranscriptionsResource>(page, options, client);
219218
}
220219

@@ -228,7 +227,7 @@ public static async System.Threading.Tasks.Task<ResourceSet<TranscriptionsResour
228227
client = client ?? TwilioClient.GetRestClient();
229228
var response = await client.RequestAsync(BuildReadRequest(options, client));
230229

231-
var page = Page<TranscriptionsResource>.FromJson("extensions", response.Content);
230+
var page = Page<TranscriptionsResource>.FromJson("transcriptions", response.Content);
232231
return new ResourceSet<TranscriptionsResource>(page, options, client);
233232
}
234233
#endif
@@ -281,7 +280,7 @@ public static Page<TranscriptionsResource> GetPage(string targetUrl, ITwilioRest
281280
);
282281

283282
var response = client.Request(request);
284-
return Page<TranscriptionsResource>.FromJson("extensions", response.Content);
283+
return Page<TranscriptionsResource>.FromJson("transcriptions", response.Content);
285284
}
286285

287286
/// <summary> Fetch the next page of records </summary>
@@ -296,7 +295,7 @@ public static Page<TranscriptionsResource> NextPage(Page<TranscriptionsResource>
296295
);
297296

298297
var response = client.Request(request);
299-
return Page<TranscriptionsResource>.FromJson("extensions", response.Content);
298+
return Page<TranscriptionsResource>.FromJson("transcriptions", response.Content);
300299
}
301300

302301
/// <summary> Fetch the previous page of records </summary>
@@ -311,7 +310,7 @@ public static Page<TranscriptionsResource> PreviousPage(Page<TranscriptionsResou
311310
);
312311

313312
var response = client.Request(request);
314-
return Page<TranscriptionsResource>.FromJson("extensions", response.Content);
313+
return Page<TranscriptionsResource>.FromJson("transcriptions", response.Content);
315314
}
316315

317316

@@ -444,10 +443,6 @@ public static string ToJson(object model)
444443
[JsonProperty("status")]
445444
public TranscriptionsResource.StatusEnum Status { get; private set; }
446445

447-
///<summary> The application-defined string that uniquely identifies the resource's User within a Room. If a client joins with an existing Identity, the existing client is disconnected. See [access tokens](https://www.twilio.com/docs/video/tutorials/user-identity-access-tokens) and [limits](https://www.twilio.com/docs/video/programmable-video-limits) for more info. </summary>
448-
[JsonProperty("identity")]
449-
public string Identity { get; private set; }
450-
451446
///<summary> The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. </summary>
452447
[JsonProperty("date_created")]
453448
public DateTime? DateCreated { get; private set; }
@@ -472,6 +467,10 @@ public static string ToJson(object model)
472467
[JsonProperty("url")]
473468
public Uri Url { get; private set; }
474469

470+
///<summary> An JSON object that describes the video layout of the composition in terms of regions. See [Specifying Video Layouts](https://www.twilio.com/docs/video/api/compositions-resource#specifying-video-layouts) for more info. </summary>
471+
[JsonProperty("configuration")]
472+
public object Configuration { get; private set; }
473+
475474

476475

477476
private TranscriptionsResource() {

0 commit comments

Comments
 (0)