Skip to content

Commit

Permalink
Merge pull request #33 from sendinblue/v3.2.0
Browse files Browse the repository at this point in the history
Updated Version v3.2.0
  • Loading branch information
amitsendinblue authored Feb 26, 2021
2 parents b8ffdda + fc636a1 commit 9451dc0
Show file tree
Hide file tree
Showing 83 changed files with 1,060 additions and 521 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: 3.1.0
- SDK version: 3.2.0
- Build package: io.swagger.codegen.languages.CSharpClientCodegen
For more information, please visit [https://account.sendinblue.com/support](https://account.sendinblue.com/support)

Expand Down Expand Up @@ -362,9 +362,12 @@ Class | Method | HTTP request | Description
- [Model.SendSmtpEmailAttachment](docs/SendSmtpEmailAttachment.md)
- [Model.SendSmtpEmailBcc](docs/SendSmtpEmailBcc.md)
- [Model.SendSmtpEmailCc](docs/SendSmtpEmailCc.md)
- [Model.SendSmtpEmailMessageVersions](docs/SendSmtpEmailMessageVersions.md)
- [Model.SendSmtpEmailReplyTo](docs/SendSmtpEmailReplyTo.md)
- [Model.SendSmtpEmailReplyTo1](docs/SendSmtpEmailReplyTo1.md)
- [Model.SendSmtpEmailSender](docs/SendSmtpEmailSender.md)
- [Model.SendSmtpEmailTo](docs/SendSmtpEmailTo.md)
- [Model.SendSmtpEmailTo1](docs/SendSmtpEmailTo1.md)
- [Model.SendTemplateEmail](docs/SendTemplateEmail.md)
- [Model.SendTestEmail](docs/SendTestEmail.md)
- [Model.SendTestSms](docs/SendTestSms.md)
Expand Down
42 changes: 21 additions & 21 deletions docs/ContactsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@ Name | Type | Description | Notes

<a name="getcontactstats"></a>
# **GetContactStats**
> GetContactCampaignStats GetContactStats (string identifier, DateTime? startDate = null, DateTime? endDate = null)
> GetContactCampaignStats GetContactStats (string identifier, string startDate = null, string endDate = null)
Get email campaigns' statistics for a contact

Expand Down Expand Up @@ -878,8 +878,8 @@ namespace Example
var apiInstance = new ContactsApi();
var identifier = identifier_example; // string | Email (urlencoded) OR ID of the contact
var startDate = 2013-10-20; // DateTime? | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional)
var endDate = 2013-10-20; // DateTime? | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional)
var startDate = startDate_example; // string | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate (optional)
var endDate = endDate_example; // string | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate (optional)
try
{
Expand All @@ -901,8 +901,8 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**identifier** | **string**| Email (urlencoded) OR ID of the contact |
**startDate** | **DateTime?**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate | [optional]
**endDate** | **DateTime?**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate | [optional]
**startDate** | **string**| Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate | [optional]
**endDate** | **string**| Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate | [optional]

### Return type

Expand All @@ -921,7 +921,7 @@ Name | Type | Description | Notes

<a name="getcontacts"></a>
# **GetContacts**
> GetContacts GetContacts (long? limit = null, long? offset = null, DateTime? modifiedSince = null, string sort = null)
> GetContacts GetContacts (long? limit = null, long? offset = null, string modifiedSince = null, string sort = null)
Get all the contacts

Expand Down Expand Up @@ -951,8 +951,8 @@ namespace Example
var apiInstance = new ContactsApi();
var limit = 789; // long? | Number of documents per page (optional) (default to 50)
var offset = 789; // long? | Index of the first document of the page (optional) (default to 0)
var modifiedSince = 2013-10-20T19:20:30+01:00; // DateTime? | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc)
var modifiedSince = modifiedSince_example; // string | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc)
try
{
Expand All @@ -975,8 +975,8 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**limit** | **long?**| Number of documents per page | [optional] [default to 50]
**offset** | **long?**| Index of the first document of the page | [optional] [default to 0]
**modifiedSince** | **DateTime?**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
**sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
**modifiedSince** | **string**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
**sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed | [optional] [default to desc]

### Return type

Expand All @@ -995,7 +995,7 @@ Name | Type | Description | Notes

<a name="getcontactsfromlist"></a>
# **GetContactsFromList**
> GetContacts GetContactsFromList (long? listId, DateTime? modifiedSince = null, long? limit = null, long? offset = null, string sort = null)
> GetContacts GetContactsFromList (long? listId, string modifiedSince = null, long? limit = null, long? offset = null, string sort = null)
Get contacts in a list

Expand Down Expand Up @@ -1024,10 +1024,10 @@ namespace Example
var apiInstance = new ContactsApi();
var listId = 789; // long? | Id of the list
var modifiedSince = 2013-10-20T19:20:30+01:00; // DateTime? | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)
var modifiedSince = modifiedSince_example; // string | Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. (optional)
var limit = 789; // long? | Number of documents per page (optional) (default to 50)
var offset = 789; // long? | Index of the first document of the page (optional) (default to 0)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc)
try
{
Expand All @@ -1049,10 +1049,10 @@ namespace Example
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**listId** | **long?**| Id of the list |
**modifiedSince** | **DateTime?**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
**modifiedSince** | **string**| Filter (urlencoded) the contacts modified after a given UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
**limit** | **long?**| Number of documents per page | [optional] [default to 50]
**offset** | **long?**| Index of the first document of the page | [optional] [default to 0]
**sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
**sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed | [optional] [default to desc]

### Return type

Expand Down Expand Up @@ -1170,7 +1170,7 @@ namespace Example
var folderId = 789; // long? | Id of the folder
var limit = 789; // long? | Number of documents per page (optional) (default to 10)
var offset = 789; // long? | Index of the first document of the page (optional) (default to 0)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc)
try
{
Expand All @@ -1194,7 +1194,7 @@ Name | Type | Description | Notes
**folderId** | **long?**| Id of the folder |
**limit** | **long?**| Number of documents per page | [optional] [default to 10]
**offset** | **long?**| Index of the first document of the page | [optional] [default to 0]
**sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
**sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed | [optional] [default to desc]

### Return type

Expand Down Expand Up @@ -1243,7 +1243,7 @@ namespace Example
var apiInstance = new ContactsApi();
var limit = 789; // long? | Number of documents per page (default to 10)
var offset = 789; // long? | Index of the first document of the page (default to 0)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc)
try
{
Expand All @@ -1266,7 +1266,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**limit** | **long?**| Number of documents per page | [default to 10]
**offset** | **long?**| Index of the first document of the page | [default to 0]
**sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
**sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed | [optional] [default to desc]

### Return type

Expand Down Expand Up @@ -1383,7 +1383,7 @@ namespace Example
var apiInstance = new ContactsApi();
var limit = 789; // long? | Number of documents per page (optional) (default to 10)
var offset = 789; // long? | Index of the first document of the page (optional) (default to 0)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation (optional) (default to desc)
var sort = sort_example; // string | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed (optional) (default to desc)
try
{
Expand All @@ -1406,7 +1406,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**limit** | **long?**| Number of documents per page | [optional] [default to 10]
**offset** | **long?**| Index of the first document of the page | [optional] [default to 0]
**sort** | **string**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc]
**sort** | **string**| Sort the results in the ascending/descending order of record creation. Default order is **descending** if &#x60;sort&#x60; is not passed | [optional] [default to desc]

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/CreateEmailCampaign.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**HtmlContent** | **string** | Mandatory if htmlUrl and templateId are empty. Body of the message (HTML) | [optional]
**HtmlUrl** | **string** | Mandatory if htmlContent and templateId are empty. Url to the message (HTML) | [optional]
**TemplateId** | **long?** | Mandatory if htmlContent and htmlUrl are empty. Id of the transactional email template with status &#39;active&#39;. Used to copy only its content fetched from htmlContent/htmlUrl to an email campaign for RSS feature. | [optional]
**ScheduledAt** | **DateTime?** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional]
**ScheduledAt** | **string** | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. If sendAtBestTime is set to true, your campaign will be sent according to the date passed (ignoring the time part). | [optional]
**Subject** | **string** | Subject of the campaign. Mandatory if abTesting is false. Ignored if abTesting is true. | [optional]
**ReplyTo** | **string** | Email on which the campaign recipients will be able to reply to | [optional]
**ToField** | **string** | To personalize the «To» Field. If you want to include the first name and last name of your recipient, add {FNAME} {LNAME}. These contact attributes must already exist in your SendinBlue account. If input parameter &#39;params&#39; used please use {{contact.FNAME}} {{contact.LNAME}} for personalization | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/CreateSmsCampaign.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Name | Type | Description | Notes
**Sender** | **string** | Name of the sender. **The number of characters is limited to 11 for alphanumeric characters and 15 for numeric characters** |
**Content** | **string** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS |
**Recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional]
**ScheduledAt** | **DateTime?** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
**ScheduledAt** | **string** | UTC date-time on which the campaign has to run (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [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)

3 changes: 2 additions & 1 deletion docs/CreateSmtpEmail.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**MessageId** | **string** | Message ID of the transactional email sent |
**MessageId** | **string** | Message ID of the transactional email sent | [optional]
**MessageIds** | **List&lt;string&gt;** | | [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)

Loading

0 comments on commit 9451dc0

Please sign in to comment.