Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Updating changes with main #703

Merged
merged 8 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
twilio-csharp Changelog
=======================

[2023-09-07] Version 6.13.0
---------------------------
**Library - Fix**
- [PR #687](https://github.com/twilio/twilio-csharp/pull/687): Update dotnet version. Thanks to [@kridai](https://github.com/kridai)!

**Api**
- Make message tagging parameters public **(breaking change)**

**Flex**
- Adding `agent_conv_end_methods` to Flex Configuration

**Messaging**
- Mark Mesasging Services fallback_to_long_code feature obsolete

**Numbers**
- Add Create Port In request api
- Renaming sid for bulk_hosting_sid and remove account_sid response field in numbers/v2/BulkHostedNumberOrders **(breaking change)**

**Pricing**
- gate resources behind a beta_feature


[2023-08-24] Version 6.12.0
---------------------------
**Api**
Expand Down
2 changes: 1 addition & 1 deletion src/Twilio/Base/IOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ public long? Limit
/// </summary>
///
/// <returns>List of parameters for the request</returns>
public abstract List<KeyValuePair<string, string>> GetParams();
//public abstract List<KeyValuePair<string, string>> GetParams();
}
}
2 changes: 1 addition & 1 deletion src/Twilio/Rest/Accounts/V1/AuthTokenPromotionOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class UpdateAuthTokenPromotionOptions : IOptions<AuthTokenPromotionResour


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
2 changes: 2 additions & 0 deletions src/Twilio/Rest/Accounts/V1/AuthTokenPromotionResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class AuthTokenPromotionResource : Resource
{





private static Request BuildUpdateRequest(UpdateAuthTokenPromotionOptions options, ITwilioRestClient client)
{
Expand Down
10 changes: 5 additions & 5 deletions src/Twilio/Rest/Accounts/V1/Credential/AwsOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public CreateAwsOptions(string credentials)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -86,7 +86,7 @@ public DeleteAwsOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -115,7 +115,7 @@ public FetchAwsOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand All @@ -135,7 +135,7 @@ public class ReadAwsOptions : ReadOptions<AwsResource>


/// <summary> Generate the necessary parameters </summary>
public override List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -170,7 +170,7 @@ public UpdateAwsOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
2 changes: 2 additions & 0 deletions src/Twilio/Rest/Accounts/V1/Credential/AwsResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class AwsResource : Resource
{





private static Request BuildCreateRequest(CreateAwsOptions options, ITwilioRestClient client)
{
Expand Down
10 changes: 5 additions & 5 deletions src/Twilio/Rest/Accounts/V1/Credential/PublicKeyOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public CreatePublicKeyOptions(string publicKey)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -86,7 +86,7 @@ public DeletePublicKeyOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -115,7 +115,7 @@ public FetchPublicKeyOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand All @@ -135,7 +135,7 @@ public class ReadPublicKeyOptions : ReadOptions<PublicKeyResource>


/// <summary> Generate the necessary parameters </summary>
public override List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -170,7 +170,7 @@ public UpdatePublicKeyOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
2 changes: 2 additions & 0 deletions src/Twilio/Rest/Accounts/V1/Credential/PublicKeyResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class PublicKeyResource : Resource
{





private static Request BuildCreateRequest(CreatePublicKeyOptions options, ITwilioRestClient client)
{
Expand Down
4 changes: 2 additions & 2 deletions src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class CreateSecondaryAuthTokenOptions : IOptions<SecondaryAuthTokenResour


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand All @@ -50,7 +50,7 @@ public class DeleteSecondaryAuthTokenOptions : IOptions<SecondaryAuthTokenResour


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
2 changes: 2 additions & 0 deletions src/Twilio/Rest/Accounts/V1/SecondaryAuthTokenResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class SecondaryAuthTokenResource : Resource
{





private static Request BuildCreateRequest(CreateSecondaryAuthTokenOptions options, ITwilioRestClient client)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public ReadDependentPhoneNumberOptions(string pathAddressSid)


/// <summary> Generate the necessary parameters </summary>
public override List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ namespace Twilio.Rest.Api.V2010.Account.Address
public class DependentPhoneNumberResource : Resource
{



[JsonConverter(typeof(StringEnumConverter))]
public sealed class EmergencyStatusEnum : StringEnum
{
Expand Down
10 changes: 5 additions & 5 deletions src/Twilio/Rest/Api/V2010/Account/AddressOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public CreateAddressOptions(string customerName, string street, string city, str


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -151,7 +151,7 @@ public DeleteAddressOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -183,7 +183,7 @@ public FetchAddressOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -215,7 +215,7 @@ public class ReadAddressOptions : ReadOptions<AddressResource>


/// <summary> Generate the necessary parameters </summary>
public override List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -289,7 +289,7 @@ public UpdateAddressOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
2 changes: 2 additions & 0 deletions src/Twilio/Rest/Api/V2010/Account/AddressResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class AddressResource : Resource
{





private static Request BuildCreateRequest(CreateAddressOptions options, ITwilioRestClient client)
{
Expand Down
10 changes: 5 additions & 5 deletions src/Twilio/Rest/Api/V2010/Account/ApplicationOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public class CreateApplicationOptions : IOptions<ApplicationResource>


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -177,7 +177,7 @@ public DeleteApplicationOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -209,7 +209,7 @@ public FetchApplicationOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand All @@ -235,7 +235,7 @@ public class ReadApplicationOptions : ReadOptions<ApplicationResource>


/// <summary> Generate the necessary parameters </summary>
public override List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down Expand Up @@ -322,7 +322,7 @@ public UpdateApplicationOptions(string pathSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
2 changes: 2 additions & 0 deletions src/Twilio/Rest/Api/V2010/Account/ApplicationResource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class ApplicationResource : Resource
{





private static Request BuildCreateRequest(CreateApplicationOptions options, ITwilioRestClient client)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public FetchAuthorizedConnectAppOptions(string pathConnectAppSid)


/// <summary> Generate the necessary parameters </summary>
public List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand All @@ -67,7 +67,7 @@ public class ReadAuthorizedConnectAppOptions : ReadOptions<AuthorizedConnectAppR


/// <summary> Generate the necessary parameters </summary>
public override List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ namespace Twilio.Rest.Api.V2010.Account
public class AuthorizedConnectAppResource : Resource
{



[JsonConverter(typeof(StringEnumConverter))]
public sealed class PermissionEnum : StringEnum
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public ReadLocalOptions(string pathCountryCode)


/// <summary> Generate the necessary parameters </summary>
public override List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class LocalResource : Resource
{





private static Request BuildReadRequest(ReadLocalOptions options, ITwilioRestClient client)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public ReadMachineToMachineOptions(string pathCountryCode)


/// <summary> Generate the necessary parameters </summary>
public override List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class MachineToMachineResource : Resource
{





private static Request BuildReadRequest(ReadMachineToMachineOptions options, ITwilioRestClient client)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public ReadMobileOptions(string pathCountryCode)


/// <summary> Generate the necessary parameters </summary>
public override List<KeyValuePair<string, string>> GetParams()
public List<KeyValuePair<string, string>> GetParams()
{
var p = new List<KeyValuePair<string, string>>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ public class MobileResource : Resource
{





private static Request BuildReadRequest(ReadMobileOptions options, ITwilioRestClient client)
{
Expand Down
Loading
Loading