diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f5cff40..b5e3e57c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log +## [5.42.3](https://github.com/plivo/plivo-dotnet/tree/v5.42.3) (2024-01-29) +**Feature - Log Redaction Enhancement** +- Added log attribute in GET and List MDR response +- Change log field from bool to string in send SMS + ## [5.42.2](https://github.com/plivo/plivo-dotnet/tree/v5.42.2) (2024-01-25) **Feature - added field in profile apis** - Added new field `alt_business_id` for POST create Profile, GET List Profiles, GET Profiles SDKs diff --git a/README.md b/README.md index d9813224..8850b19d 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ You can install this SDK either by referencing the .dll file or using NuGet. Use the following line to install the latest SDK using the NuGet CLI. ``` -PM> Install-Package Plivo -Version 5.42.2 +PM> Install-Package Plivo -Version 5.42.3 ``` You can also use the .NET CLI to install this package as follows ``` -> dotnet add package Plivo --version 5.42.2 +> dotnet add package Plivo --version 5.42.3 ``` ## Getting started diff --git a/src/Plivo/Plivo.csproj b/src/Plivo/Plivo.csproj index 29c02a4f..66e36bbd 100644 --- a/src/Plivo/Plivo.csproj +++ b/src/Plivo/Plivo.csproj @@ -1,7 +1,7 @@ netstandard2.0;netstandard1.3 - 5.42.2 + 5.42.3 Plivo SDKs Team Plivo Inc. diff --git a/src/Plivo/Plivo.nuspec b/src/Plivo/Plivo.nuspec index 6774e02f..a5d1e7c5 100644 --- a/src/Plivo/Plivo.nuspec +++ b/src/Plivo/Plivo.nuspec @@ -4,7 +4,7 @@ A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML Plivo - 5.42.2 + 5.42.3 Plivo Plivo SDKs Team Plivo, Inc. diff --git a/src/Plivo/Resource/Message/Message.cs b/src/Plivo/Resource/Message/Message.cs index dc9052df..e3260958 100755 --- a/src/Plivo/Resource/Message/Message.cs +++ b/src/Plivo/Resource/Message/Message.cs @@ -178,6 +178,12 @@ public class Message : Resource /// The conversation expiration timestamp. public string ConversationExpirationTimestamp { get; set; } + /// + /// Gets or sets the log. + /// + /// The log. + public string Log { get; set; } + public override string ToString() { return "\n" + @@ -209,7 +215,8 @@ public override string ToString() "DLTTemplateCategory: " + DltTemplateCategory + "\n" + "ConversationID: " + ConversationId + "\n" + "ConversationOrigin: " + ConversationOrigin + "\n" + - "ConversationExpirationTimestamp: " + ConversationExpirationTimestamp + "\n"; + "ConversationExpirationTimestamp: " + ConversationExpirationTimestamp + "\n" + + "Log: " + Log + "\n"; } #region ListMedia /// diff --git a/src/Plivo/Resource/Message/MessageInterface.cs b/src/Plivo/Resource/Message/MessageInterface.cs index e0b8d333..8a9b78d1 100755 --- a/src/Plivo/Resource/Message/MessageInterface.cs +++ b/src/Plivo/Resource/Message/MessageInterface.cs @@ -46,7 +46,7 @@ public MessageInterface(HttpClient client) : base(client) /// template_json_string public MessageCreateResponse Create( List dst, string text = null, string src = null, string type = null, - string url = null, string method = null, bool? log = null, bool? trackable = null, + string url = null, string method = null, string log = null, bool? trackable = null, string powerpack_uuid = null, string[] media_urls = null, string[] media_ids = null, string dlt_entity_id = null, string dlt_template_id = null, string dlt_template_category = null, Template template = null, string template_json_string = null) { @@ -163,7 +163,7 @@ public MessageCreateResponse Create( /// template_json_string public async Task CreateAsync( List dst, string text = null, string src = null, string type = null, - string url = null, string method = null, bool? log = null, bool? trackable = null, + string url = null, string method = null, string log = null, bool? trackable = null, string powerpack_uuid = null, string[] media_urls = null, string[] media_ids = null, string dlt_entity_id = null, string dlt_template_id = null, string dlt_template_category = null, Template template = null, string template_json_string = null) { @@ -282,7 +282,7 @@ public async Task CreateAsync( /// template_json_string public MessageCreateResponse Create( string dst, string text = null, string src = null, string type = null, - string url = null, string method = null, bool? log = null, bool? trackable = null, + string url = null, string method = null, string log = null, bool? trackable = null, string powerpack_uuid = null, string[] media_urls = null, string[] media_ids = null, uint? message_expiry = null, string dlt_entity_id = null, string dlt_template_id = null, string dlt_template_category = null, Template template = null, string template_json_string = null) @@ -402,7 +402,7 @@ public MessageCreateResponse Create( /// template public async Task CreateAsync( string dst, string text = null, string src = null, string type = null, - string url = null, string method = null, bool? log = null, bool? trackable = null, + string url = null, string method = null, string log = null, bool? trackable = null, string powerpack_uuid = null, string[] media_urls = null, string[] media_ids = null, uint? message_expiry = null, string dlt_entity_id = null, string dlt_template_id = null, string dlt_template_category = null, Template template = null, string template_json_string = null) diff --git a/src/Plivo/Version.cs b/src/Plivo/Version.cs index 9120e790..bddb427b 100644 --- a/src/Plivo/Version.cs +++ b/src/Plivo/Version.cs @@ -10,7 +10,7 @@ public class Version /// /// DotNet SDK version /// - public const string SdkVersion = "5.42.2"; + public const string SdkVersion = "5.42.3"; /// /// Plivo API version /// diff --git a/version.json b/version.json index cf85d3a9..c510164e 100644 --- a/version.json +++ b/version.json @@ -1,5 +1,5 @@ { - "version": "5.42.2", + "version": "5.42.3", "publicReleaseRefSpec": [ "^refs/heads/master$", "^refs/heads/v\\d+(?:\\.\\d+)?$"