diff --git a/README.md b/README.md
index 1bb491a..f4e3f72 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ SendinBlue's API matches the [OpenAPI v2 definition](https://www.openapis.org/).
This C# SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project and is reviewed and maintained by SendinBlue:
- API version: 3.0.0
-- SDK version: 2.0.0
+- SDK version: 2.1.0
- Build package: io.swagger.codegen.languages.CSharpClientCodegen
For more information, please visit [https://account.sendinblue.com/support](https://account.sendinblue.com/support)
@@ -20,8 +20,8 @@ This C# SDK is automatically generated by the [Swagger Codegen](https://github.c
- UWP >=10.0
## Dependencies
-- FubarCoder.RestSharp.Portable.Core >=4.0.7
-- FubarCoder.RestSharp.Portable.HttpClient >=4.0.7
+- FubarCoder.RestSharp.Portable.Core >=4.0.8
+- FubarCoder.RestSharp.Portable.HttpClient >=4.0.8
- Newtonsoft.Json >=10.0.3
@@ -189,6 +189,7 @@ Class | Method | HTTP request | Description
*SMTPApi* | [**SendTestTemplate**](docs/SMTPApi.md#sendtesttemplate) | **POST** /smtp/templates/{templateId}/sendTest | Send a template to your test list
*SMTPApi* | [**SendTransacEmail**](docs/SMTPApi.md#sendtransacemail) | **POST** /smtp/email | Send a transactional email
*SMTPApi* | [**SmtpBlockedContactsEmailDelete**](docs/SMTPApi.md#smtpblockedcontactsemaildelete) | **DELETE** /smtp/blockedContacts/{email} | Unblock or resubscribe a transactional contact
+*SMTPApi* | [**SmtpLogMessageIdDelete**](docs/SMTPApi.md#smtplogmessageiddelete) | **DELETE** /smtp/log/{messageId} | Delete an SMTP transactional log
*SMTPApi* | [**UpdateSmtpTemplate**](docs/SMTPApi.md#updatesmtptemplate) | **PUT** /smtp/templates/{templateId} | Updates a transactional email templates
*SendersApi* | [**CreateSender**](docs/SendersApi.md#createsender) | **POST** /senders | Create a new sender
*SendersApi* | [**DeleteSender**](docs/SendersApi.md#deletesender) | **DELETE** /senders/{senderId} | Delete a sender
@@ -334,6 +335,7 @@ Class | Method | HTTP request | Description
- [Model.RemoveContactFromList](docs/RemoveContactFromList.md)
- [Model.RemoveCredits](docs/RemoveCredits.md)
- [Model.RequestContactExport](docs/RequestContactExport.md)
+ - [Model.RequestContactExportCustomContactFilter](docs/RequestContactExportCustomContactFilter.md)
- [Model.RequestContactImport](docs/RequestContactImport.md)
- [Model.RequestContactImportNewList](docs/RequestContactImportNewList.md)
- [Model.RequestSmsRecipientExport](docs/RequestSmsRecipientExport.md)
diff --git a/docs/CreateContact.md b/docs/CreateContact.md
index ab4316d..ac8ce56 100644
--- a/docs/CreateContact.md
+++ b/docs/CreateContact.md
@@ -3,7 +3,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Email** | **string** | Email address of the user. Mandatory if \"sms\" field is not passed in \"attributes\" parameter' | [optional]
+**Email** | **string** | Email address of the user. Mandatory if \"SMS\" field is not passed in \"attributes\" parameter. For example {'SMS':'+91xxxxxxxxxx'} | [optional]
**Attributes** | **Object** | Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {'FNAME':'Elly', 'LNAME':'Roger'} | [optional]
**EmailBlacklisted** | **bool?** | Set this field to blacklist the contact for emails (emailBlacklisted = true) | [optional]
**SmsBlacklisted** | **bool?** | Set this field to blacklist the contact for SMS (smsBlacklisted = true) | [optional]
diff --git a/docs/RequestContactExport.md b/docs/RequestContactExport.md
index f5b3802..45721ba 100644
--- a/docs/RequestContactExport.md
+++ b/docs/RequestContactExport.md
@@ -4,7 +4,8 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ExportAttributes** | **List<string>** | List of all the attributes that you want to export. These attributes must be present in your contact database. For example, ['fname', 'lname', 'email']. | [optional]
-**ContactFilter** | **Object** | Set the filter for the contacts to be exported. For example, {'blacklisted':true} will export all the blacklisted contacts. |
+**ContactFilter** | **Object** | This attribute has been deprecated and will be removed by January 1st, 2021. Only one of the two filter options (contactFilter or customContactFilter) can be passed in the request. Set the filter for the contacts to be exported. For example, {'blacklisted':true} will export all the blacklisted contacts. | [optional]
+**CustomContactFilter** | [**RequestContactExportCustomContactFilter**](RequestContactExportCustomContactFilter.md) | | [optional]
**NotifyUrl** | **string** | Webhook that will be called once the export process is finished | [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)
diff --git a/docs/RequestContactExportCustomContactFilter.md b/docs/RequestContactExportCustomContactFilter.md
new file mode 100644
index 0000000..0e26543
--- /dev/null
+++ b/docs/RequestContactExportCustomContactFilter.md
@@ -0,0 +1,14 @@
+# sib_api_v3_sdk.Model.RequestContactExportCustomContactFilter
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**ActionForContacts** | **string** | Mandatory if neither actionForEmailCampaigns nor actionForSmsCampaigns is passed. This will export the contacts on the basis of provided action applied on contacts as per the list id. * allContacts - Fetch the list of all contacts for a particular list. * subscribed & unsubscribed - Fetch the list of subscribed / unsubscribed (blacklisted via any means) contacts for a particular list. * unsubscribedPerList - Fetch the list of contacts that are unsubscribed from a particular list only. | [optional]
+**ActionForEmailCampaigns** | **string** | Mandatory if neither actionForContacts nor actionForSmsCampaigns is passed. This will export the contacts on the basis of provided action applied on email campaigns. * openers & nonOpeners - emailCampaignId is mandatory. Fetch the list of readers / non-readers for a particular email campaign. * clickers & nonClickers - emailCampaignId is mandatory. Fetch the list of clickers / non-clickers for a particular email campaign. * unsubscribed - emailCampaignId is mandatory. Fetch the list of all unsubscribed (blacklisted via any means) contacts for a particular email campaign. * hardBounces & softBounces - emailCampaignId is optional. Fetch the list of hard bounces / soft bounces for a particular / all email campaign(s). | [optional]
+**ActionForSmsCampaigns** | **string** | Mandatory if neither actionForContacts nor actionForEmailCampaigns is passed. This will export the contacts on the basis of provided action applied on sms campaigns. * unsubscribed - Fetch the list of all unsubscribed (blacklisted via any means) contacts for all / particular sms campaigns. * hardBounces & softBounces - Fetch the list of hard bounces / soft bounces for all / particular sms campaigns. | [optional]
+**ListId** | **long?** | Mandatory if actionForContacts is passed, ignored otherwise. Id of the list for which the corresponding action shall be applied in the filter. | [optional]
+**EmailCampaignId** | **long?** | Considered only if actionForEmailCampaigns is passed, ignored otherwise. Mandatory if action is one of the following - openers, nonOpeners, clickers, nonClickers, unsubscribed. The id of the email campaign for which the corresponding action shall be applied in the filter. | [optional]
+**SmsCampaignId** | **long?** | Considered only if actionForSmsCampaigns is passed, ignored otherwise. The id of sms campaign for which the corresponding action shall be applied in the filter. | [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)
+
diff --git a/docs/ResellerApi.md b/docs/ResellerApi.md
index 23cc8e9..a66ed96 100644
--- a/docs/ResellerApi.md
+++ b/docs/ResellerApi.md
@@ -192,7 +192,7 @@ namespace Example
var apiInstance = new ResellerApi();
var childAuthKey = childAuthKey_example; // string | auth key of reseller's child
- var addChildDomain = new AddChildDomain(); // AddChildDomain | Sender domain to add for a specific child account
+ var addChildDomain = new AddChildDomain(); // AddChildDomain | Sender domain to add for a specific child account. This will not be displayed to the parent account.
try
{
@@ -213,7 +213,7 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**childAuthKey** | **string**| auth key of reseller's child |
- **addChildDomain** | [**AddChildDomain**](AddChildDomain.md)| Sender domain to add for a specific child account |
+ **addChildDomain** | [**AddChildDomain**](AddChildDomain.md)| Sender domain to add for a specific child account. This will not be displayed to the parent account. |
### Return type
diff --git a/docs/SMTPApi.md b/docs/SMTPApi.md
index 3fdc6ad..b4a8d91 100644
--- a/docs/SMTPApi.md
+++ b/docs/SMTPApi.md
@@ -19,6 +19,7 @@ Method | HTTP request | Description
[**SendTestTemplate**](SMTPApi.md#sendtesttemplate) | **POST** /smtp/templates/{templateId}/sendTest | Send a template to your test list
[**SendTransacEmail**](SMTPApi.md#sendtransacemail) | **POST** /smtp/email | Send a transactional email
[**SmtpBlockedContactsEmailDelete**](SMTPApi.md#smtpblockedcontactsemaildelete) | **DELETE** /smtp/blockedContacts/{email} | Unblock or resubscribe a transactional contact
+[**SmtpLogMessageIdDelete**](SMTPApi.md#smtplogmessageiddelete) | **DELETE** /smtp/log/{messageId} | Delete an SMTP transactional log
[**UpdateSmtpTemplate**](SMTPApi.md#updatesmtptemplate) | **PUT** /smtp/templates/{templateId} | Updates a transactional email templates
@@ -1102,6 +1103,73 @@ void (empty response body)
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
+# **SmtpLogMessageIdDelete**
+> void SmtpLogMessageIdDelete (string messageId)
+
+Delete an SMTP transactional log
+
+### Example
+```csharp
+using System;
+using System.Diagnostics;
+using sib_api_v3_sdk.Api;
+using sib_api_v3_sdk.Client;
+using sib_api_v3_sdk.Model;
+
+namespace Example
+{
+ public class SmtpLogMessageIdDeleteExample
+ {
+ public void main()
+ {
+ // Configure API key authorization: api-key
+ Configuration.Default.AddApiKey("api-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
+ // Configure API key authorization: partner-key
+ Configuration.Default.AddApiKey("partner-key", "YOUR_API_KEY");
+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
+ // Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
+
+ var apiInstance = new SMTPApi();
+ var messageId = messageId_example; // string | MessageId of the transactional log to delete
+
+ try
+ {
+ // Delete an SMTP transactional log
+ apiInstance.SmtpLogMessageIdDelete(messageId);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling SMTPApi.SmtpLogMessageIdDelete: " + e.Message );
+ }
+ }
+ }
+}
+```
+
+### Parameters
+
+Name | Type | Description | Notes
+------------- | ------------- | ------------- | -------------
+ **messageId** | **string**| MessageId of the transactional log to delete |
+
+### Return type
+
+void (empty response body)
+
+### Authorization
+
+[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
+
# **UpdateSmtpTemplate**
> void UpdateSmtpTemplate (long? templateId, UpdateSmtpTemplate smtpTemplate)
diff --git a/docs/SendSmtpEmail.md b/docs/SendSmtpEmail.md
index 193c54d..e337a36 100644
--- a/docs/SendSmtpEmail.md
+++ b/docs/SendSmtpEmail.md
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
**TextContent** | **string** | Plain Text body of the message ( Ignored if 'templateId' is passed ) | [optional]
**Subject** | **string** | Subject of the message. Mandatory if 'templateId' is not passed | [optional]
**ReplyTo** | [**SendSmtpEmailReplyTo**](SendSmtpEmailReplyTo.md) | | [optional]
-**Attachment** | [**List<SendSmtpEmailAttachment>**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the base64 content of the attachment along with the attachment name (Mandatory if attachment content is passed). For example, `[{\"url\":\"https://attachment.domain.com/myAttachmentFromUrl.jpg\", \"name\":\"My attachment 1\"}, {\"content\":\"base64 exmaple content\", \"name\":\"My attachment 2\"}]`. Allowed extensions for attachment file: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub, eps, odt, mp3, m4a, m4v, wma, ogg, flac, wav, aif, aifc, aiff, mp4, mov, avi, mkv, mpeg, mpg and wmv ( If 'templateId' is passed and is in New Template Language format then only attachment url is accepted. If template is in Old template Language format, then 'attachment' is ignored ) | [optional]
+**Attachment** | [**List<SendSmtpEmailAttachment>**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the base64 content of the attachment along with the attachment name (Mandatory if attachment content is passed). For example, `[{\"url\":\"https://attachment.domain.com/myAttachmentFromUrl.jpg\", \"name\":\"My attachment 1\"}, {\"content\":\"base64 exmaple content\", \"name\":\"My attachment 2\"}]`. Allowed extensions for attachment file: xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff, rtf, bmp, cgm, css, shtml, html, htm, zip, xml, ppt, pptx, tar, ez, ics, mobi, msg, pub, eps, odt, mp3, m4a, m4v, wma, ogg, flac, wav, aif, aifc, aiff, mp4, mov, avi, mkv, mpeg, mpg and wmv ( If 'templateId' is passed and is in New Template Language format then both attachment url and content are accepted. If template is in Old template Language format, then 'attachment' is ignored ) | [optional]
**Headers** | **Object** | Pass the set of custom headers (not the standard headers) that shall be sent along the mail headers in the original email. 'sender.ip' header can be set (only for dedicated ip users) to mention the IP to be used for sending transactional emails. For example, `{\"sender.ip\":\"1.2.3.4\", \"X-Mailin-custom\":\"some_custom_header\"}`. | [optional]
**TemplateId** | **long?** | Id of the template | [optional]
**Params** | **Object** | Pass the set of attributes to customize the template. For example, {'FNAME':'Joe', 'LNAME':'Doe'}. It's considered only if template is in New Template Language format. | [optional]
diff --git a/docs/UpdateContact.md b/docs/UpdateContact.md
index 306eed6..0030f84 100644
--- a/docs/UpdateContact.md
+++ b/docs/UpdateContact.md
@@ -3,7 +3,7 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
-**Attributes** | **Object** | Pass the set of attributes to be updated. These attributes must be present in your account. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For eg. { 'EMAIL':'newemail@domain.com', 'FNAME':'Ellie', 'LNAME':'Roger'} | [optional]
+**Attributes** | **Object** | Pass the set of attributes to be updated. These attributes must be present in your account. To update existing email address of a contact with the new one please pass EMAIL in attribtes. For example, { 'EMAIL':'newemail@domain.com', 'FNAME':'Ellie', 'LNAME':'Roger'} `{ \"EMAIL\":\"newemail@domain.com\", \"FNAME\":\"Ellie\", \"LNAME\":\"Roger\"}`. Keep in mind transactional attributes can be updated the same way as normal attributes. | [optional]
**EmailBlacklisted** | **bool?** | Set/unset this field to blacklist/allow the contact for emails (emailBlacklisted = true) | [optional]
**SmsBlacklisted** | **bool?** | Set/unset this field to blacklist/allow the contact for SMS (smsBlacklisted = true) | [optional]
**ListIds** | **List<long?>** | Ids of the lists to add the contact to | [optional]
diff --git a/sib_api_v3_sdk.sln b/sib_api_v3_sdk.sln
index 1b6de5a..db22ec0 100644
--- a/sib_api_v3_sdk.sln
+++ b/sib_api_v3_sdk.sln
@@ -1,8 +1,8 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
-VisualStudioVersion = 15.0.28010.2036
+VisualStudioVersion = 15.0.28307.1022
MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "sib_api_v3_sdk", "src\sib_api_v3_sdk\sib_api_v3_sdk.csproj", "{E652C592-450F-4626-9AC0-9093AB12CFF2}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "sib_api_v3_sdk", "src\sib_api_v3_sdk\sib_api_v3_sdk.csproj", "{6C3156D9-31D5-4550-8E91-1BBAF88A5264}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -10,15 +10,15 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {E652C592-450F-4626-9AC0-9093AB12CFF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {E652C592-450F-4626-9AC0-9093AB12CFF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {E652C592-450F-4626-9AC0-9093AB12CFF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {E652C592-450F-4626-9AC0-9093AB12CFF2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {6C3156D9-31D5-4550-8E91-1BBAF88A5264}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {6C3156D9-31D5-4550-8E91-1BBAF88A5264}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {6C3156D9-31D5-4550-8E91-1BBAF88A5264}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {6C3156D9-31D5-4550-8E91-1BBAF88A5264}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {CA0D4C7A-6E62-444B-8284-6DACD452CE37}
+ SolutionGuid = {3E0E34C5-05C9-4975-BD57-02170BC5A67B}
EndGlobalSection
EndGlobal
diff --git a/src/sib_api_v3_sdk/Api/ResellerApi.cs b/src/sib_api_v3_sdk/Api/ResellerApi.cs
index 869d58e..3595030 100644
--- a/src/sib_api_v3_sdk/Api/ResellerApi.cs
+++ b/src/sib_api_v3_sdk/Api/ResellerApi.cs
@@ -78,7 +78,7 @@ public interface IResellerApi : IApiAccessor
///
/// Thrown when fails to make API call
/// auth key of reseller's child
- /// Sender domain to add for a specific child account
+ /// Sender domain to add for a specific child account. This will not be displayed to the parent account.
///
void CreateChildDomain (string childAuthKey, AddChildDomain addChildDomain);
@@ -90,7 +90,7 @@ public interface IResellerApi : IApiAccessor
///
/// Thrown when fails to make API call
/// auth key of reseller's child
- /// Sender domain to add for a specific child account
+ /// Sender domain to add for a specific child account. This will not be displayed to the parent account.
/// ApiResponse of Object(void)
ApiResponse