Skip to content

Commit

Permalink
introduced new type of template - template editor; Size of MessageAtt…
Browse files Browse the repository at this point in the history
…achment added; added Predicted Score and Status to EmailValidationResult
  • Loading branch information
ElasticEmail committed Sep 25, 2023
1 parent 5e62fba commit 1786419
Show file tree
Hide file tree
Showing 20 changed files with 269 additions and 66 deletions.
10 changes: 5 additions & 5 deletions ElasticEmail.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ElasticEmail", "src\ElasticEmail\ElasticEmail.csproj", "{667413A5-6387-4215-85D8-0B2B38759731}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ElasticEmail", "src\ElasticEmail\ElasticEmail.csproj", "{22A4F18F-70C6-4EA3-A5C7-05F00C6745E8}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ElasticEmail.Test", "src\ElasticEmail.Test\ElasticEmail.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{667413A5-6387-4215-85D8-0B2B38759731}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{667413A5-6387-4215-85D8-0B2B38759731}.Debug|Any CPU.Build.0 = Debug|Any CPU
{667413A5-6387-4215-85D8-0B2B38759731}.Release|Any CPU.ActiveCfg = Release|Any CPU
{667413A5-6387-4215-85D8-0B2B38759731}.Release|Any CPU.Build.0 = Release|Any CPU
{22A4F18F-70C6-4EA3-A5C7-05F00C6745E8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{22A4F18F-70C6-4EA3-A5C7-05F00C6745E8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{22A4F18F-70C6-4EA3-A5C7-05F00C6745E8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{22A4F18F-70C6-4EA3-A5C7-05F00C6745E8}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Downloadable library clients can be found in our Github repository [here](https:
This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 4.0.0
- SDK version: 4.0.21
- SDK version: 4.0.22
- Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen

<a name="frameworks-supported"></a>
Expand All @@ -26,7 +26,7 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap
## Dependencies

- [RestSharp](https://www.nuget.org/packages/RestSharp) - 106.13.0 or later
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 13.0.1 or later
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 13.0.2 or later
- [JsonSubTypes](https://www.nuget.org/packages/JsonSubTypes/) - 1.8.0 or later
- [System.ComponentModel.Annotations](https://www.nuget.org/packages/System.ComponentModel.Annotations) - 5.0.0 or later

Expand Down Expand Up @@ -240,6 +240,7 @@ Class | Method | HTTP request | Description
- [Model.EmailContent](docs/EmailContent.md)
- [Model.EmailData](docs/EmailData.md)
- [Model.EmailMessageData](docs/EmailMessageData.md)
- [Model.EmailPredictedValidationStatus](docs/EmailPredictedValidationStatus.md)
- [Model.EmailRecipient](docs/EmailRecipient.md)
- [Model.EmailSend](docs/EmailSend.md)
- [Model.EmailStatus](docs/EmailStatus.md)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.21
4.0.22
2 changes: 1 addition & 1 deletion docs/BodyPart.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ContentType** | **BodyContentType** | |
**Content** | **string** | Actual content of the body part | [optional]
**Charset** | **string** | Text value of charset encoding for example: iso-8859-1, windows-1251, utf-8, us-ascii, windows-1250 and more | [optional]
**Charset** | **string** | Text value of charset encoding for example: iso-8859-1, windows-1251, utf-8, us-ascii, windows-1250 and more... | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

9 changes: 9 additions & 0 deletions docs/EmailPredictedValidationStatus.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ElasticEmail.Model.EmailPredictedValidationStatus

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

2 changes: 2 additions & 0 deletions docs/EmailValidationResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ Name | Type | Description | Notes
**Reason** | **string** | All detected issues | [optional]
**DateAdded** | **DateTime** | Date of creation in YYYY-MM-DDThh:ii:ss format | [optional]
**Result** | **EmailValidationStatus** | | [optional]
**PredictedScore** | **decimal** | | [optional]
**PredictedStatus** | **EmailPredictedValidationStatus** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

1 change: 1 addition & 0 deletions docs/MessageAttachment.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**BinaryContent** | **byte[]** | File&#39;s content as byte array (or a Base64 string) |
**Name** | **string** | Display name of the file |
**ContentType** | **string** | MIME content type | [optional]
**Size** | **int** | Size of your attachment (in bytes). | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

8 changes: 4 additions & 4 deletions docs/VerificationsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void (empty response body)
Get Email Verification Result

Returns a result of verified email. Required Access Level: VerifyEmails, ViewEmailVerifications
Returns a result of verified email. Required Access Level: VerifyEmails

### Example
```csharp
Expand Down Expand Up @@ -493,7 +493,7 @@ catch (ApiException e)
Get Detailed File Verification Result

Returns status and results (if verified) of file with given ID. Required Access Level: VerifyEmails, ViewEmailVerifications
Returns status and results (if verified) of file with given ID. Required Access Level: VerifyEmails

### Example
```csharp
Expand Down Expand Up @@ -781,7 +781,7 @@ catch (ApiException e)
Get Files Verification Results

Returns a list of uploaded files, their statuses and results. Required Access Level: VerifyEmails, ViewEmailVerifications
Returns a list of uploaded files, their statuses and results. Required Access Level: VerifyEmails

### Example
```csharp
Expand Down Expand Up @@ -872,7 +872,7 @@ This endpoint does not need any parameter.
Get Emails Verification Results

Returns a results of all verified single emails. Required Access Level: VerifyEmails, ViewEmailVerifications
Returns a results of all verified single emails. Required Access Level: VerifyEmails

### Example
```csharp
Expand Down
1 change: 0 additions & 1 deletion src/ElasticEmail.Test/ElasticEmail.Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@
<ItemGroup>
<ProjectReference Include="..\ElasticEmail\ElasticEmail.csproj" />
</ItemGroup>

</Project>
63 changes: 63 additions & 0 deletions src/ElasticEmail.Test/Model/EmailPredictedValidationStatusTests.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*
* Elastic Email REST API
*
* This API is based on the REST API architecture, allowing the user to easily manage their data with this resource-based approach. Every API call is established on which specific request type (GET, POST, PUT, DELETE) will be used. The API has a limit of 20 concurrent connections and a hard timeout of 600 seconds per request. To start using this API, you will need your Access Token (available <a target=\"_blank\" href=\"https://app.elasticemail.com/marketing/settings/new/manage-api\">here</a>). Remember to keep it safe. Required access levels are listed in the given request’s description. Downloadable library clients can be found in our Github repository <a target=\"_blank\" href=\"https://github.com/ElasticEmail?tab=repositories&q=%22rest+api%22+in%3Areadme\">here</a>
*
* The version of the OpenAPI document: 4.0.0
* Contact: support@elasticemail.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/


using Xunit;

using System;
using System.Linq;
using System.IO;
using System.Collections.Generic;
using ElasticEmail.Api;
using ElasticEmail.Model;
using ElasticEmail.Client;
using System.Reflection;
using Newtonsoft.Json;

namespace ElasticEmail.Test.Model
{
/// <summary>
/// Class for testing EmailPredictedValidationStatus
/// </summary>
/// <remarks>
/// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech).
/// Please update the test case below to test the model.
/// </remarks>
public class EmailPredictedValidationStatusTests : IDisposable
{
// TODO uncomment below to declare an instance variable for EmailPredictedValidationStatus
//private EmailPredictedValidationStatus instance;

public EmailPredictedValidationStatusTests()
{
// TODO uncomment below to create an instance of EmailPredictedValidationStatus
//instance = new EmailPredictedValidationStatus();
}

public void Dispose()
{
// Cleanup when everything is done.
}

/// <summary>
/// Test an instance of EmailPredictedValidationStatus
/// </summary>
[Fact]
public void EmailPredictedValidationStatusInstanceTest()
{
// TODO uncomment below to test "IsType" EmailPredictedValidationStatus
//Assert.IsType<EmailPredictedValidationStatus>(instance);
}



}

}

0 comments on commit 1786419

Please sign in to comment.