Skip to content

Commit

Permalink
Merge pull request #268 from plivo/MPT-4153
Browse files Browse the repository at this point in the history
MPT-4153 - missing params added in interface
  • Loading branch information
renoldthomas-plivo authored Dec 13, 2023
2 parents 645d516 + 374dfe2 commit 28c3229
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [5.41.0](https://github.com/plivo/plivo-dotnet/tree/v5.41.1) (2023-12-13)
**Support from_number and to_number filters for List Message**
- Supporting from_number and to_number params for List Message filtering

## [5.41.0](https://github.com/plivo/plivo-dotnet/tree/v5.41.0) (2023-11-29)
**Feature - new response field error_code and error_reason**
- Added new response field `error_code and error_reason`for LIST / GET Campaign APIs
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.41.0
PM> Install-Package Plivo -Version 5.41.1
```

You can also use the .NET CLI to install this package as follows

```
> dotnet add package Plivo --version 5.41.0
> dotnet add package Plivo --version 5.41.1
```

## Getting started
Expand Down
2 changes: 1 addition & 1 deletion src/Plivo/Plivo.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.3</TargetFrameworks>
<ReleaseVersion>5.41.0</ReleaseVersion>
<ReleaseVersion>5.41.1</ReleaseVersion>
<Version />
<Authors>Plivo SDKs Team</Authors>
<Owners>Plivo Inc.</Owners>
Expand Down
3 changes: 2 additions & 1 deletion src/Plivo/Plivo.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@
<summary>A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML</summary>
<description>A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML</description>
<id>Plivo</id>
<version>5.41.0</version>
<version>5.41.1</version>
<title>Plivo</title>
<authors>Plivo SDKs Team</authors>
<owners>Plivo, Inc.</owners>
<licenseUrl>https://github.com/plivo/plivo-dotnet/blob/master/LICENSE.txt</licenseUrl>
<projectUrl>http://github.com/plivo/plivo-dotnet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<releaseNotes>
* 5.41.1 Support Params `from_number` and `to_number` for LIST Message.
* 5.41.0 Added New Params `error_code`, `error_reason` for GET and LIST Campaign.
* 5.40.0 Added New Params `registration_status`.
* 5.39.0 API support for verifying, updating, getting and deleting caller IDs.
Expand Down
12 changes: 12 additions & 0 deletions src/Plivo/Resource/Message/MessageInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@ public async Task<ListResponse<MMSMedia>> ListMediaAsync(string messageUuid)
/// <param name="subaccount">Subaccount.</param>
/// <param name="limit">Limit.</param>
/// <param name="offset">Offset.</param>
/// <param name="from_number">FromNumber.</param>
/// <param name="to_number">ToNumber.</param>
/// <param name="message_state">MessageState.</param>
/// <param name="message_type">MessageType.</param>
/// <param name="message_direction">MessageDirection.</param>
Expand All @@ -599,6 +601,8 @@ public MessageListResponse<Message> List(
string subaccount = null,
uint? limit = null,
uint? offset = null,
string from_number = null,
string to_number = null,
string message_state = null,
string message_type = null,
string message_direction = null,
Expand Down Expand Up @@ -628,6 +632,8 @@ public MessageListResponse<Message> List(
subaccount,
limit,
offset,
from_number,
to_number,
message_state,
message_type,
message_direction,
Expand Down Expand Up @@ -661,6 +667,8 @@ public MessageListResponse<Message> List(
/// <param name="subaccount">Subaccount.</param>
/// <param name="limit">Limit.</param>
/// <param name="offset">Offset.</param>
/// <param name="from_number">FromNumber.</param>
/// <param name="to_number">ToNumber.</param>
/// <param name="message_state">MessageState.</param>
/// <param name="message_type">MessageType.</param>
/// <param name="message_direction">MessageDirection.</param>
Expand All @@ -680,6 +688,8 @@ public async Task<MessageListResponse<Message>> ListAsync(
string subaccount = null,
uint? limit = null,
uint? offset = null,
string from_number = null,
string to_number = null,
string message_state = null,
string message_type = null,
string message_direction = null,
Expand Down Expand Up @@ -709,6 +719,8 @@ public async Task<MessageListResponse<Message>> ListAsync(
subaccount,
limit,
offset,
from_number,
to_number,
message_state,
message_type,
message_direction,
Expand Down
2 changes: 1 addition & 1 deletion src/Plivo/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class Version
/// <summary>
/// DotNet SDK version
/// </summary>
public const string SdkVersion = "5.41.0";
public const string SdkVersion = "5.41.1";
/// <summary>
/// Plivo API version
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.41.0",
"version": "5.41.1",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/heads/v\\d+(?:\\.\\d+)?$"
Expand Down

0 comments on commit 28c3229

Please sign in to comment.