Skip to content

Commit 23e7339

Browse files
author
infobip-ci
committed
Update to version 2.1.3
1 parent a2fa760 commit 23e7339

File tree

5 files changed

+21
-17
lines changed

5 files changed

+21
-17
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ All notable changes to the library will be documented in this file.
55
The format of the file is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this library adheres to [Semantic Versioning](http://semver.org/) as mentioned in [README.md][readme] file.
77

8+
## [ [2.1.3](https://github.com/infobip/infobip-api-csharp-client/releases/tag/2.1.2) ] - 2023-12-28
9+
### Fixed
10+
- Template id being to large to store in integer (https://github.com/infobip/infobip-api-csharp-client/issues/28)
11+
812
## [ [2.1.2](https://github.com/infobip/infobip-api-csharp-client/releases/tag/2.1.2) ] - 2023-02-20
913
### Fixed
1014
- README example (https://github.com/infobip/infobip-api-csharp-client/pull/13)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ Within Visual Studio, use the Package Manager UI to browse for `Infobip.Api.Clie
3737
#### Package Manager Console
3838
Alternatively, also within Visual Studio, use the Package Manager Console command:
3939

40-
Install-Package Infobip.Api.Client -Version 2.1.2
40+
Install-Package Infobip.Api.Client -Version 2.1.3
4141

4242
#### .NET CLI
4343
If you are used to .NET CLI, the following command is going to be sufficient for you:
4444

45-
dotnet add package Infobip.Api.Client --version 2.1.2
45+
dotnet add package Infobip.Api.Client --version 2.1.3
4646

4747
### Package reference
4848
Including the package directly into project file is also valid option.
4949

50-
<PackageReference Include="Infobip.Api.Client" Version="2.1.2" />
50+
<PackageReference Include="Infobip.Api.Client" Version="2.1.3" />
5151

5252
## Quickstart
5353

src/Infobip.Api.Client/Api/SendEmailApi.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public interface ISendEmailApiSync : IApiAccessor
178178
/// <returns>EmailSendResponse</returns>
179179
EmailSendResponse SendEmail(string from, string to, string subject, string cc = default(string),
180180
string bcc = default(string), string text = default(string), string bulkId = default(string),
181-
string messageId = default(string), int? templateid = default(int?),
181+
string messageId = default(string), long? templateid = default(long?),
182182
System.IO.Stream attachment = default(System.IO.Stream),
183183
System.IO.Stream inlineImage = default(System.IO.Stream), string HTML = default(string),
184184
string replyto = default(string), string defaultplaceholders = default(string),
@@ -263,7 +263,7 @@ public interface ISendEmailApiSync : IApiAccessor
263263
/// <returns>ApiResponse of EmailSendResponse</returns>
264264
ApiResponse<EmailSendResponse> SendEmailWithHttpInfo(string from, string to, string subject,
265265
string cc = default(string), string bcc = default(string), string text = default(string),
266-
string bulkId = default(string), string messageId = default(string), int? templateid = default(int?),
266+
string bulkId = default(string), string messageId = default(string), long? templateid = default(long?),
267267
System.IO.Stream attachment = default(System.IO.Stream),
268268
System.IO.Stream inlineImage = default(System.IO.Stream), string HTML = default(string),
269269
string replyto = default(string), string defaultplaceholders = default(string),
@@ -439,7 +439,7 @@ Task<ApiResponse<EmailLogResponse>> GetEmailLogsWithHttpInfoAsync(
439439
/// <returns>Task of EmailSendResponse</returns>
440440
Task<EmailSendResponse> SendEmailAsync(string from, string to, string subject, string cc = default(string),
441441
string bcc = default(string), string text = default(string), string bulkId = default(string),
442-
string messageId = default(string), int? templateid = default(int?),
442+
string messageId = default(string), long? templateid = default(long?),
443443
System.IO.Stream attachment = default(System.IO.Stream),
444444
System.IO.Stream inlineImage = default(System.IO.Stream), string HTML = default(string),
445445
string replyto = default(string), string defaultplaceholders = default(string),
@@ -526,7 +526,7 @@ Task<ApiResponse<EmailLogResponse>> GetEmailLogsWithHttpInfoAsync(
526526
/// <returns>Task of ApiResponse (EmailSendResponse)</returns>
527527
Task<ApiResponse<EmailSendResponse>> SendEmailWithHttpInfoAsync(string from, string to, string subject,
528528
string cc = default(string), string bcc = default(string), string text = default(string),
529-
string bulkId = default(string), string messageId = default(string), int? templateid = default(int?),
529+
string bulkId = default(string), string messageId = default(string), long? templateid = default(long?),
530530
System.IO.Stream attachment = default(System.IO.Stream),
531531
System.IO.Stream inlineImage = default(System.IO.Stream), string HTML = default(string),
532532
string replyto = default(string), string defaultplaceholders = default(string),
@@ -1258,7 +1258,7 @@ public async Task<ApiResponse<EmailLogResponse>> GetEmailLogsWithHttpInfoAsync(
12581258
/// <returns>EmailSendResponse</returns>
12591259
public EmailSendResponse SendEmail(string from, string to, string subject, string cc = default(string),
12601260
string bcc = default(string), string text = default(string), string bulkId = default(string),
1261-
string messageId = default(string), int? templateid = default(int?),
1261+
string messageId = default(string), long? templateid = default(long?),
12621262
System.IO.Stream attachment = default(System.IO.Stream),
12631263
System.IO.Stream inlineImage = default(System.IO.Stream), string HTML = default(string),
12641264
string replyto = default(string), string defaultplaceholders = default(string),
@@ -1348,7 +1348,7 @@ public async Task<ApiResponse<EmailLogResponse>> GetEmailLogsWithHttpInfoAsync(
13481348
/// <returns>ApiResponse of EmailSendResponse</returns>
13491349
public ApiResponse<EmailSendResponse> SendEmailWithHttpInfo(string from, string to, string subject,
13501350
string cc = default(string), string bcc = default(string), string text = default(string),
1351-
string bulkId = default(string), string messageId = default(string), int? templateid = default(int?),
1351+
string bulkId = default(string), string messageId = default(string), long? templateid = default(long?),
13521352
System.IO.Stream attachment = default(System.IO.Stream),
13531353
System.IO.Stream inlineImage = default(System.IO.Stream), string HTML = default(string),
13541354
string replyto = default(string), string defaultplaceholders = default(string),
@@ -1558,7 +1558,7 @@ public ApiResponse<EmailSendResponse> SendEmailWithHttpInfo(string from, string
15581558
/// <returns>Task of EmailSendResponse</returns>
15591559
public async Task<EmailSendResponse> SendEmailAsync(string from, string to, string subject,
15601560
string cc = default(string), string bcc = default(string), string text = default(string),
1561-
string bulkId = default(string), string messageId = default(string), int? templateid = default(int?),
1561+
string bulkId = default(string), string messageId = default(string), long? templateid = default(long?),
15621562
System.IO.Stream attachment = default(System.IO.Stream),
15631563
System.IO.Stream inlineImage = default(System.IO.Stream), string HTML = default(string),
15641564
string replyto = default(string), string defaultplaceholders = default(string),
@@ -1650,7 +1650,7 @@ public async Task<EmailSendResponse> SendEmailAsync(string from, string to, stri
16501650
/// <returns>Task of ApiResponse (EmailSendResponse)</returns>
16511651
public async Task<ApiResponse<EmailSendResponse>> SendEmailWithHttpInfoAsync(string from, string to,
16521652
string subject, string cc = default(string), string bcc = default(string), string text = default(string),
1653-
string bulkId = default(string), string messageId = default(string), int? templateid = default(int?),
1653+
string bulkId = default(string), string messageId = default(string), long? templateid = default(long?),
16541654
System.IO.Stream attachment = default(System.IO.Stream),
16551655
System.IO.Stream inlineImage = default(System.IO.Stream), string HTML = default(string),
16561656
string replyto = default(string), string defaultplaceholders = default(string),

src/Infobip.Api.Client/Client/Configuration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static string ToDebugReport()
5454
report += " OS: " + System.Environment.OSVersion + "\n";
5555
report += " .NET Framework Version: " + System.Environment.Version + "\n";
5656
report += " Version of the API: 1.0.278\n";
57-
report += " SDK Package Version: 2.1.2\n";
57+
report += " SDK Package Version: 2.1.3\n";
5858

5959
return report;
6060
}
@@ -105,7 +105,7 @@ public static IReadableConfiguration MergeConfigurations(IReadableConfiguration
105105
/// Version of the package.
106106
/// </summary>
107107
/// <value>Version of the package.</value>
108-
public const string Version = "2.1.2";
108+
public const string Version = "2.1.3";
109109

110110
/// <summary>
111111
/// Identifier for ISO 8601 DateTime Format
@@ -157,7 +157,7 @@ public static IReadableConfiguration MergeConfigurations(IReadableConfiguration
157157
public Configuration()
158158
{
159159
Proxy = null;
160-
UserAgent = "infobip-api-client-csharp/2.1.2";
160+
UserAgent = "infobip-api-client-csharp/2.1.3";
161161
BasePath = "http://localhost";
162162
DefaultHeaders = new ConcurrentDictionary<string, string>();
163163
ApiKey = null;

src/Infobip.Api.Client/Infobip.Api.Client.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
<Description>C# library for consuming Infobip's API</Description>
1313
<Copyright>Copyright @ Infobip ltd. All rights reserved.</Copyright>
1414
<RootNamespace>Infobip.Api.Client</RootNamespace>
15-
<Version>2.1.2</Version>
16-
<FileVersion>2.1.2</FileVersion>
17-
<AssemblyVersion>2.1.2</AssemblyVersion>
15+
<Version>2.1.3</Version>
16+
<FileVersion>2.1.3</FileVersion>
17+
<AssemblyVersion>2.1.3</AssemblyVersion>
1818
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Infobip.Api.Client.xml</DocumentationFile>
1919
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2020
<RepositoryUrl>https://github.com/infobip/infobip-api-csharp-client.git</RepositoryUrl>

0 commit comments

Comments
 (0)