Skip to content

Commit c6c4a07

Browse files
authored
Merge pull request #23 from sendinblue/feature_AP-952
Feature ap 952
2 parents 3f9b6e0 + 7a60c7e commit c6c4a07

File tree

70 files changed

+1814
-546
lines changed

Some content is hidden

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

70 files changed

+1814
-546
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ target
2020
.gradle
2121
build
2222
.idea/
23-
target/
23+
target/
24+
Out/
25+
sib-api-v3-sdk.iml
26+
APIv3-java-library.iml

.swagger-codegen/VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.9
1+
2.4.12

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add this dependency to your project's POM:
2222
<dependency>
2323
<groupId>com.sendinblue</groupId>
2424
<artifactId>sib-api-v3-sdk</artifactId>
25-
<version>4.1.1</version>
25+
<version>5.0.0</version>
2626
<scope>compile</scope>
2727
</dependency>
2828
```
@@ -32,7 +32,7 @@ Add this dependency to your project's POM:
3232
Add this dependency to your project's build file:
3333

3434
```groovy
35-
compile "com.sendinblue:sib-api-v3-sdk:4.1.1"
35+
compile "com.sendinblue:sib-api-v3-sdk:5.0.0"
3636
```
3737

3838
### Others
@@ -45,7 +45,7 @@ At first generate the JAR by executing:
4545

4646
Then manually install the following JARs:
4747

48-
* target/sib-api-v3-sdk-4.1.1.jar
48+
* target/sib-api-v3-sdk-5.0.0.jar
4949
* target/lib/*.jar
5050

5151
## Getting Started

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'idea'
22
apply plugin: 'eclipse'
33

44
group = 'com.sendinblue'
5-
version = '4.1.1'
5+
version = '5.0.0'
66

77
buildscript {
88
repositories {

build.sbt

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.sendinblue",
44
name := "sib-api-v3-sdk",
5-
version := "4.1.1",
5+
version := "5.0.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),
99
publishArtifact in (Compile, packageDoc) := false,
1010
resolvers += Resolver.mavenLocal,
1111
libraryDependencies ++= Seq(
12-
"io.swagger" % "swagger-annotations" % "1.5.15",
12+
"io.swagger" % "swagger-annotations" % "1.5.17",
1313
"com.squareup.okhttp" % "okhttp" % "2.7.5",
1414
"com.squareup.okhttp" % "logging-interceptor" % "2.7.5",
1515
"com.google.code.gson" % "gson" % "2.8.1",

docs/AbTestCampaignResult.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Name | Type | Description | Notes
1010
**openRate** | **String** | Open rate for current winning version | [optional]
1111
**clickRate** | **String** | Click rate for current winning version | [optional]
1212
**winningVersionRate** | **String** | Open/Click rate for the winner version | [optional]
13+
**statistics** | [**AbTestCampaignResultStatistics**](AbTestCampaignResultStatistics.md) | | [optional]
14+
**clickedLinks** | [**AbTestCampaignResultClickedLinks**](AbTestCampaignResultClickedLinks.md) | | [optional]
1315

1416

1517
<a name="WinningVersionEnum"></a>
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# AbTestCampaignResultClickedLinks
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**versionA** | [**AbTestVersionClicks**](AbTestVersionClicks.md) | |
8+
**versionB** | [**AbTestVersionClicks**](AbTestVersionClicks.md) | |
9+
10+
11+
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
2+
# AbTestCampaignResultStatistics
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**openers** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
8+
**clicks** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
9+
**unsubscribed** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
10+
**hardBounces** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
11+
**softBounces** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
12+
**complaints** | [**AbTestVersionStats**](AbTestVersionStats.md) | |
13+
14+
15+

docs/AbTestVersionClicks.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
# AbTestVersionClicks
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
8+
9+

docs/AbTestVersionClicksInner.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# AbTestVersionClicksInner
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**link** | **String** | URL of the link |
8+
**clicksCount** | [**BigDecimal**](BigDecimal.md) | Number of times a link is clicked |
9+
**clickRate** | **String** | Percentage of clicks of link with respect to total clicks |
10+
11+
12+

docs/AbTestVersionStats.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
# AbTestVersionStats
3+
4+
## Properties
5+
Name | Type | Description | Notes
6+
------------ | ------------- | ------------- | -------------
7+
**versionA** | **String** | percentage of an event for version A |
8+
**versionB** | **String** | percentage of an event for version B |
9+
10+
11+

docs/AddContactToList.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**emails** | **List&lt;String&gt;** | Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. | [optional]
7+
**emails** | **List&lt;String&gt;** | Mandatory if IDs are not passed, ignored otherwise. Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. | [optional]
8+
**ids** | **List&lt;Long&gt;** | Mandatory if Emails are not passed, ignored otherwise. Emails to add to a list. You can pass a maximum of 150 emails for addition in one request. If you need to add the emails in bulk, please prefer /contacts/import api. | [optional]
89

910

1011

docs/AttributesApi.md

+13-13
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ ApiClient defaultClient = Configuration.getDefaultApiClient();
3131
ApiKeyAuth apiKey = (ApiKeyAuth) defaultClient.getAuthentication("api-key");
3232
apiKey.setApiKey("YOUR API KEY");
3333
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
34-
//apikey.setApiKeyPrefix("Token");
34+
//apiKey.setApiKeyPrefix("Token");
3535

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

4242
AttributesApi apiInstance = new AttributesApi();
4343
String attributeCategory = "attributeCategory_example"; // String | Category of the attribute
@@ -93,13 +93,13 @@ ApiClient defaultClient = Configuration.getDefaultApiClient();
9393
ApiKeyAuth apiKey = (ApiKeyAuth) defaultClient.getAuthentication("api-key");
9494
apiKey.setApiKey("YOUR API KEY");
9595
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
96-
//apikey.setApiKeyPrefix("Token");
96+
//apiKey.setApiKeyPrefix("Token");
9797

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

104104
AttributesApi apiInstance = new AttributesApi();
105105
String attributeCategory = "attributeCategory_example"; // String | Category of the attribute
@@ -153,13 +153,13 @@ ApiClient defaultClient = Configuration.getDefaultApiClient();
153153
ApiKeyAuth apiKey = (ApiKeyAuth) defaultClient.getAuthentication("api-key");
154154
apiKey.setApiKey("YOUR API KEY");
155155
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
156-
//apikey.setApiKeyPrefix("Token");
156+
//apiKey.setApiKeyPrefix("Token");
157157

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

164164
AttributesApi apiInstance = new AttributesApi();
165165
try {
@@ -214,7 +214,7 @@ apiKey.setApiKey("YOUR API KEY");
214214
ApiKeyAuth partnerKey = (ApiKeyAuth) defaultClient.getAuthentication("partner-key");
215215
partnerKey.setApiKey("YOUR PARTNER KEY");
216216
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
217-
//partner-key.setApiKeyPrefix("Token");
217+
//partnerKey.setApiKeyPrefix("Token");
218218

219219
AttributesApi apiInstance = new AttributesApi();
220220
String attributeCategory = "attributeCategory_example"; // String | Category of the attribute

0 commit comments

Comments
 (0)