Skip to content

Commit f4dcc5c

Browse files
Merge pull request #290 from plivo/verify-dtmf
verift dtmf change
2 parents 50040bf + c632311 commit f4dcc5c

File tree

8 files changed

+21
-10
lines changed

8 files changed

+21
-10
lines changed

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# Change Log
2+
## [5.49.1](https://github.com/plivo/plivo-dotnet/tree/v5.49.1) (2024-10-10)
3+
**Feature - Dtmf param in Create, Get and List Session**
4+
- Support for the `dtmf` parameter in voice verify session request
5+
- Added support for `dtmf` in GET and LIST verify session
6+
-
27
## [5.49.0](https://github.com/plivo/plivo-dotnet/tree/v5.49.0) (2024-09-30)
38
**Feature - Adding new param support for Number Masking session with single party **
49
- Added `create_session_with_single_party`, `virtual_number_cooloff_period` and `force_pin_authentication` attributes in Masking Session

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ You can install this SDK either by referencing the .dll file or using NuGet.
1212
Use the following line to install the latest SDK using the NuGet CLI.
1313

1414
```
15-
PM> Install-Package Plivo -Version 5.49.0
15+
PM> Install-Package Plivo -Version 5.49.1
1616
```
1717

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

2020
```
21-
> dotnet add package Plivo --version 5.49.0
21+
> dotnet add package Plivo --version 5.49.1
2222
```
2323

2424
## Getting started

Diff for: src/Plivo/Plivo.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFrameworks>netstandard2.0;netstandard1.3</TargetFrameworks>
4-
<ReleaseVersion>5.49.0</ReleaseVersion>
4+
<ReleaseVersion>5.49.1</ReleaseVersion>
55
<Version />
66
<Authors>Plivo SDKs Team</Authors>
77
<Owners>Plivo Inc.</Owners>

Diff for: src/Plivo/Plivo.nuspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<summary>A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML</summary>
55
<description>A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML</description>
66
<id>Plivo</id>
7-
<version>5.49.0</version>
7+
<version>5.49.1</version>
88
<title>Plivo</title>
99
<authors>Plivo SDKs Team</authors>
1010
<owners>Plivo, Inc.</owners>

Diff for: src/Plivo/Resource/VerifySession/VerifySession.cs

+2
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ public class AttemptDetail {
3737
public string AppHash {get; set;}
3838
[JsonProperty("code_length")]
3939
public int CodeLength {get; set;}
40+
[JsonProperty("dtmf")]
41+
public int? Dtmf {get; set;}
4042
}
4143

4244
[JsonObject(MemberSerialization.OptIn)]

Diff for: src/Plivo/Resource/VerifySession/VerifySessionInterface.cs

+8-4
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,11 @@ public VerifySessionInterface(HttpClient client) : base(client)
3636
/// <param name="brand_name">BrandName.</param>
3737
/// <param name="app_hash">AppHash.</param>
3838
/// <param name="code_length">CodeLength.</param>
39+
/// <param name="dtmf">dtmf.</param>
3940

4041
public VerifySessionCreateResponse Create(
4142
string recipient, string app_uuid = null, string channel = null, string url = null,
42-
string method = null, string locale = null, string brand_name = null, string app_hash = null, int code_length = 0)
43+
string method = null, string locale = null, string brand_name = null, string app_hash = null, int code_length = 0, int? dtmf = null)
4344
{
4445
Dictionary<string, object> data = null;
4546
var mandatoryParams = new List<string> { "recipient" };
@@ -55,7 +56,8 @@ public VerifySessionCreateResponse Create(
5556
locale,
5657
brand_name,
5758
app_hash,
58-
code_length
59+
code_length,
60+
dtmf
5961
});
6062

6163
return ExecuteWithExceptionUnwrap(() =>
@@ -79,10 +81,11 @@ public VerifySessionCreateResponse Create(
7981
/// <param name="brand_name">BrandName.</param>
8082
/// <param name="app_hash">AppHash.</param>
8183
/// <param name="code_length">CodeLength.</param>
84+
///<param name="dtmf">dtmf.</param>
8285

8386
public async Task<VerifySessionCreateResponse> CreateAsync(
8487
string recipient, string app_uuid = null, string channel = null, string url = null,
85-
string method = null, string locale = null, string brand_name = null, string app_hash = null, int code_length = 0)
88+
string method = null, string locale = null, string brand_name = null, string app_hash = null, int code_length = 0, int? dtmf = null)
8689
{
8790
Dictionary<string, object> data = null;
8891
var mandatoryParams = new List<string> { "recipient" };
@@ -98,7 +101,8 @@ public async Task<VerifySessionCreateResponse> CreateAsync(
98101
locale,
99102
brand_name,
100103
app_hash,
101-
code_length
104+
code_length,
105+
dtmf
102106
});
103107

104108
var result = await Client.Update<VerifySessionCreateResponse>(Uri, data);

Diff for: src/Plivo/Version.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class Version
1010
/// <summary>
1111
/// DotNet SDK version
1212
/// </summary>
13-
public const string SdkVersion = "5.49.0";
13+
public const string SdkVersion = "5.49.1";
1414
/// <summary>
1515
/// Plivo API version
1616
/// </summary>

Diff for: version.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "5.49.0",
2+
"version": "5.49.1",
33
"publicReleaseRefSpec": [
44
"^refs/heads/master$",
55
"^refs/heads/v\\d+(?:\\.\\d+)?$"

0 commit comments

Comments
 (0)