Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ hs_err_pid*
target
.gradle
build
.idea/
target/
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ script:
# - gradle test
# uncomment below to test using sbt
# - sbt test
dist: trusty
4 changes: 2 additions & 2 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
The MIT License (MIT)

Copyright (c) 2018 SendinBlue
Copyright (c) 2020 SendinBlue

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
69 changes: 58 additions & 11 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'idea'
apply plugin: 'eclipse'

group = 'com.sendinblue'
version = '3.0.1'
version = '4.0.0'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.sendinblue",
name := "sib-api-v3-sdk",
version := "3.0.1",
version := "4.0.0",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
34 changes: 34 additions & 0 deletions docs/AbTestCampaignResult.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

# AbTestCampaignResult

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**winningVersion** | [**WinningVersionEnum**](#WinningVersionEnum) | Winning Campaign Info. pending = Campaign has been picked for sending and winning version is yet to be decided, tie = A tie happened between both the versions, notAvailable = Campaign has not yet been picked for sending. | [optional]
**winningCriteria** | [**WinningCriteriaEnum**](#WinningCriteriaEnum) | Criteria choosen for winning version (Open/Click) | [optional]
**winningSubjectLine** | **String** | Subject Line of current winning version | [optional]
**openRate** | **String** | Open rate for current winning version | [optional]
**clickRate** | **String** | Click rate for current winning version | [optional]
**winningVersionRate** | **String** | Open/Click rate for the winner version | [optional]


<a name="WinningVersionEnum"></a>
## Enum: WinningVersionEnum
Name | Value
---- | -----
NOTAVAILABLE | &quot;notAvailable&quot;
PENDING | &quot;pending&quot;
TIE | &quot;tie&quot;
A | &quot;A&quot;
B | &quot;B&quot;


<a name="WinningCriteriaEnum"></a>
## Enum: WinningCriteriaEnum
Name | Value
---- | -----
OPEN | &quot;Open&quot;
CLICK | &quot;Click&quot;



8 changes: 7 additions & 1 deletion docs/AccountApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ apiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.setApiKeyPrefix("Token");

// Configure API key authorization: partner-key
ApiKeyAuth partnerKey = (ApiKeyAuth) defaultClient.getAuthentication("partner-key");
partnerKey.setApiKey("YOUR PARTNER KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//partnerKey.setApiKeyPrefix("Token");

AccountApi apiInstance = new AccountApi();
try {
GetAccount result = apiInstance.getAccount();
Expand All @@ -49,7 +55,7 @@ This endpoint does not need any parameter.

### Authorization

[api-key](../README.md#api-key)
[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)

### HTTP request headers

Expand Down
10 changes: 10 additions & 0 deletions docs/AddChildDomain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

# AddChildDomain

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**domain** | **String** | Sender domain to add for a specific child account | [optional]



38 changes: 31 additions & 7 deletions docs/AttributesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@ ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth apiKey = (ApiKeyAuth) defaultClient.getAuthentication("api-key");
apiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.setApiKeyPrefix("Token");
//apikey.setApiKeyPrefix("Token");

// Configure API key authorization: partner-key
ApiKeyAuth partnerkey = (ApiKeyAuth) defaultClient.getAuthentication("partner-key");
partnerkey.setApiKey("YOUR PARTNER KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//partner-key.setApiKeyPrefix("Token");

AttributesApi apiInstance = new AttributesApi();
String attributeCategory = "attributeCategory_example"; // String | Category of the attribute
Expand Down Expand Up @@ -59,7 +65,7 @@ null (empty response body)

### Authorization

[api-key](../README.md#api-key)
[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)

### HTTP request headers

Expand Down Expand Up @@ -87,7 +93,13 @@ ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth apiKey = (ApiKeyAuth) defaultClient.getAuthentication("api-key");
apiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.setApiKeyPrefix("Token");
//apikey.setApiKeyPrefix("Token");

// Configure API key authorization: partner-key
ApiKeyAuth partnerkey = (ApiKeyAuth) defaultClient.getAuthentication("partner-key");
partnerkey.setApiKey("YOUR PARTNER KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//partner-key.setApiKeyPrefix("Token");

AttributesApi apiInstance = new AttributesApi();
String attributeCategory = "attributeCategory_example"; // String | Category of the attribute
Expand All @@ -113,7 +125,7 @@ null (empty response body)

### Authorization

[api-key](../README.md#api-key)
[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)

### HTTP request headers

Expand Down Expand Up @@ -141,7 +153,13 @@ ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth apiKey = (ApiKeyAuth) defaultClient.getAuthentication("api-key");
apiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.setApiKeyPrefix("Token");
//apikey.setApiKeyPrefix("Token");

// Configure API key authorization: partner-key
ApiKeyAuth partnerkey = (ApiKeyAuth) defaultClient.getAuthentication("partner-key");
partnerkey.setApiKey("YOUR PARTNER KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//partner-key.setApiKeyPrefix("Token");

AttributesApi apiInstance = new AttributesApi();
try {
Expand All @@ -162,7 +180,7 @@ This endpoint does not need any parameter.

### Authorization

[api-key](../README.md#api-key)
[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)

### HTTP request headers

Expand Down Expand Up @@ -192,6 +210,12 @@ apiKey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.setApiKeyPrefix("Token");

// Configure API key authorization: partner-key
ApiKeyAuth partnerKey = (ApiKeyAuth) defaultClient.getAuthentication("partner-key");
partnerKey.setApiKey("YOUR PARTNER KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//partner-key.setApiKeyPrefix("Token");

AttributesApi apiInstance = new AttributesApi();
String attributeCategory = "attributeCategory_example"; // String | Category of the attribute
String attributeName = "attributeName_example"; // String | Name of the existing attribute
Expand All @@ -218,7 +242,7 @@ null (empty response body)

### Authorization

[api-key](../README.md#api-key)
[api-key](../README.md#api-key), [partner-key](../README.md#partner-key)

### HTTP request headers

Expand Down
Loading