Skip to content

Commit b8ffdda

Browse files
Merge pull request #30 from sendinblue/v3.1.0
V3.1.0
2 parents 04aa8e4 + 0c71235 commit b8ffdda

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+1876
-932
lines changed

README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SendinBlue's API matches the [OpenAPI v2 definition](https://www.openapis.org/).
99
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:
1010

1111
- API version: 3.0.0
12-
- SDK version: 3.0.0
12+
- SDK version: 3.1.0
1313
- Build package: io.swagger.codegen.languages.CSharpClientCodegen
1414
For more information, please visit [https://account.sendinblue.com/support](https://account.sendinblue.com/support)
1515

@@ -60,7 +60,7 @@ namespace Example
6060
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
6161
// Configuration.Default.ApiKeyPrefix.Add("api-key", "Bearer");
6262
// Configure API key authorization: partner-key
63-
Configuration.Default.ApiKey.Add("partner-key", "YOUR_API_KEY");
63+
Configuration.Default.ApiKey.Add("partner-key", "YOUR_PARTNER_KEY");
6464
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
6565
// Configuration.Default.ApiKeyPrefix.Add("partner-key", "Bearer");
6666
@@ -182,10 +182,13 @@ Class | Method | HTTP request | Description
182182
*SendersApi* | [**GetIpsFromSender**](docs/SendersApi.md#getipsfromsender) | **GET** /senders/{senderId}/ips | Get all the dedicated IPs for a sender
183183
*SendersApi* | [**GetSenders**](docs/SendersApi.md#getsenders) | **GET** /senders | Get the list of all your senders
184184
*SendersApi* | [**UpdateSender**](docs/SendersApi.md#updatesender) | **PUT** /senders/{senderId} | Update a sender
185+
*TransactionalEmailsApi* | [**BlockNewDomain**](docs/TransactionalEmailsApi.md#blocknewdomain) | **POST** /smtp/blockedDomains | Add a new domain to the list of blocked domains
185186
*TransactionalEmailsApi* | [**CreateSmtpTemplate**](docs/TransactionalEmailsApi.md#createsmtptemplate) | **POST** /smtp/templates | Create an email template
187+
*TransactionalEmailsApi* | [**DeleteBlockedDomain**](docs/TransactionalEmailsApi.md#deleteblockeddomain) | **DELETE** /smtp/blockedDomains/{domain} | Unblock an existing domain from the list of blocked domains
186188
*TransactionalEmailsApi* | [**DeleteHardbounces**](docs/TransactionalEmailsApi.md#deletehardbounces) | **POST** /smtp/deleteHardbounces | Delete hardbounces
187189
*TransactionalEmailsApi* | [**DeleteSmtpTemplate**](docs/TransactionalEmailsApi.md#deletesmtptemplate) | **DELETE** /smtp/templates/{templateId} | Delete an inactive email template
188190
*TransactionalEmailsApi* | [**GetAggregatedSmtpReport**](docs/TransactionalEmailsApi.md#getaggregatedsmtpreport) | **GET** /smtp/statistics/aggregatedReport | Get your transactional email activity aggregated over a period of time
191+
*TransactionalEmailsApi* | [**GetBlockedDomains**](docs/TransactionalEmailsApi.md#getblockeddomains) | **GET** /smtp/blockedDomains | Get the list of blocked domains
189192
*TransactionalEmailsApi* | [**GetEmailEventReport**](docs/TransactionalEmailsApi.md#getemaileventreport) | **GET** /smtp/statistics/events | Get all your transactional email activity (unaggregated events)
190193
*TransactionalEmailsApi* | [**GetSmtpReport**](docs/TransactionalEmailsApi.md#getsmtpreport) | **GET** /smtp/statistics/reports | Get your transactional email activity aggregated per day
191194
*TransactionalEmailsApi* | [**GetSmtpTemplate**](docs/TransactionalEmailsApi.md#getsmtptemplate) | **GET** /smtp/templates/{templateId} | Returns the template information
@@ -222,6 +225,7 @@ Class | Method | HTTP request | Description
222225
- [Model.AddChildDomain](docs/AddChildDomain.md)
223226
- [Model.AddContactToList](docs/AddContactToList.md)
224227
- [Model.AddCredits](docs/AddCredits.md)
228+
- [Model.BlockDomain](docs/BlockDomain.md)
225229
- [Model.CreateAttribute](docs/CreateAttribute.md)
226230
- [Model.CreateAttributeEnumeration](docs/CreateAttributeEnumeration.md)
227231
- [Model.CreateChild](docs/CreateChild.md)
@@ -256,6 +260,7 @@ Class | Method | HTTP request | Description
256260
- [Model.GetAttributes](docs/GetAttributes.md)
257261
- [Model.GetAttributesAttributes](docs/GetAttributesAttributes.md)
258262
- [Model.GetAttributesEnumeration](docs/GetAttributesEnumeration.md)
263+
- [Model.GetBlockedDomains](docs/GetBlockedDomains.md)
259264
- [Model.GetCampaignOverview](docs/GetCampaignOverview.md)
260265
- [Model.GetCampaignRecipients](docs/GetCampaignRecipients.md)
261266
- [Model.GetCampaignStats](docs/GetCampaignStats.md)
@@ -391,14 +396,17 @@ Class | Method | HTTP request | Description
391396
- [Model.GetEmailCampaign](docs/GetEmailCampaign.md)
392397

393398

399+
<a name="documentation-for-authorization"></a>
394400
## Documentation for Authorization
395401

402+
<a name="api-key"></a>
396403
### api-key
397404

398405
- **Type**: API key
399406
- **API key parameter name**: api-key
400407
- **Location**: HTTP header
401408

409+
<a name="partner-key"></a>
402410
### partner-key
403411

404412
The partner key should be passed in the request headers as `partner-key` along with `api-key` pair for successful authentication of partner (Optional).

docs/AccountApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Example
3232
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
3333
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
3434
// Configure API key authorization: partner-key
35-
Configuration.Default.AddApiKey("partner-key", "YOUR_API_KEY");
35+
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
3636
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
3737
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
3838

docs/AttributesApi.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ namespace Example
3535
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
3636
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
3737
// Configure API key authorization: partner-key
38-
Configuration.Default.AddApiKey("partner-key", "YOUR_API_KEY");
38+
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
3939
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
4040
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
4141
@@ -106,7 +106,7 @@ namespace Example
106106
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
107107
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
108108
// Configure API key authorization: partner-key
109-
Configuration.Default.AddApiKey("partner-key", "YOUR_API_KEY");
109+
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
110110
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
111111
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
112112
@@ -175,7 +175,7 @@ namespace Example
175175
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
176176
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
177177
// Configure API key authorization: partner-key
178-
Configuration.Default.AddApiKey("partner-key", "YOUR_API_KEY");
178+
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
179179
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
180180
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
181181
@@ -239,7 +239,7 @@ namespace Example
239239
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
240240
// Configuration.Default.AddApiKeyPrefix("api-key", "Bearer");
241241
// Configure API key authorization: partner-key
242-
Configuration.Default.AddApiKey("partner-key", "YOUR_API_KEY");
242+
Configuration.Default.AddApiKey("partner-key", "YOUR_PARTNER_KEY");
243243
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
244244
// Configuration.Default.AddApiKeyPrefix("partner-key", "Bearer");
245245

docs/BlockDomain.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# sib_api_v3_sdk.Model.BlockDomain
2+
## Properties
3+
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**Domain** | **string** | name of the domain to be blocked |
7+
8+
[[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+

0 commit comments

Comments
 (0)