Skip to content

Commit c70b66c

Browse files
authored
Merge pull request #9 from sendinblue/feature_mixed-spec-updtaes
Mixed spec updates
2 parents 59b0a89 + f8503a9 commit c70b66c

File tree

209 files changed

+593
-583
lines changed

Some content is hidden

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

209 files changed

+593
-583
lines changed

.travis.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22
# Generated by: https://github.com/swagger-api/swagger-codegen.git
33
#
44
language: java
5-
jdk:
6-
- oraclejdk8
7-
- oraclejdk7
5+
86
before_install:
97
# ensure gradlew has proper permission
108
- chmod a+x ./gradlew
9+
10+
jdk:
11+
- oraclejdk8
12+
1113
script:
1214
# test using maven
1315
- mvn test

README.md

Lines changed: 3 additions & 4 deletions
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>2.0.1</version>
25+
<version>3.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:2.0.1"
35+
compile "com.sendinblue:sib-api-v3-sdk:3.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-2.0.1.jar
48+
* target/sib-api-v3-sdk-3.0.0.jar
4949
* target/lib/*.jar
5050

5151
## Getting Started
@@ -256,7 +256,6 @@ Class | Method | HTTP request | Description
256256
- [GetEmailEventReportEvents](docs/GetEmailEventReportEvents.md)
257257
- [GetExtendedCampaignOverviewSender](docs/GetExtendedCampaignOverviewSender.md)
258258
- [GetExtendedCampaignStats](docs/GetExtendedCampaignStats.md)
259-
- [GetExtendedCampaignStatsLinksStats](docs/GetExtendedCampaignStatsLinksStats.md)
260259
- [GetExtendedClientAddress](docs/GetExtendedClientAddress.md)
261260
- [GetExtendedContactDetailsStatistics](docs/GetExtendedContactDetailsStatistics.md)
262261
- [GetExtendedContactDetailsStatisticsClicked](docs/GetExtendedContactDetailsStatisticsClicked.md)

build.gradle

Lines changed: 6 additions & 5 deletions
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 = '2.0.1'
5+
version = '3.0.0'
66

77
buildscript {
88
repositories {
@@ -32,8 +32,8 @@ if(hasProperty('target') && target == 'android') {
3232
targetSdkVersion 25
3333
}
3434
compileOptions {
35-
sourceCompatibility JavaVersion.VERSION_1_7
36-
targetCompatibility JavaVersion.VERSION_1_7
35+
sourceCompatibility JavaVersion.VERSION_1_8
36+
targetCompatibility JavaVersion.VERSION_1_8
3737
}
3838

3939
// Rename the aar correctly
@@ -78,8 +78,8 @@ if(hasProperty('target') && target == 'android') {
7878
apply plugin: 'java'
7979
apply plugin: 'maven'
8080

81-
sourceCompatibility = JavaVersion.VERSION_1_7
82-
targetCompatibility = JavaVersion.VERSION_1_7
81+
sourceCompatibility = JavaVersion.VERSION_1_8
82+
targetCompatibility = JavaVersion.VERSION_1_8
8383

8484
install {
8585
repositories.mavenInstaller {
@@ -100,5 +100,6 @@ dependencies {
100100
compile 'com.google.code.gson:gson:2.8.1'
101101
compile 'io.gsonfire:gson-fire:1.8.0'
102102
compile 'org.threeten:threetenbp:1.3.5'
103+
compile 'org.apache.commons:commons-lang3:3.0'
103104
testCompile 'junit:junit:4.12'
104105
}

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.sendinblue",
44
name := "sib-api-v3-sdk",
5-
version := "2.0.1",
5+
version := "3.0.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/CreateAttribute.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**value** | **String** | Value of the attribute. Use only if the attribute&#39;s category is calculated or global | [optional]
8-
**enumeration** | [**List&lt;CreateAttributeEnumeration&gt;**](CreateAttributeEnumeration.md) | Values that the attribute can take. Use only if the attribute&#39;s category is category | [optional]
9-
**type** | [**TypeEnum**](#TypeEnum) | Type of the attribute. Use only if the attribute&#39;s category is normal, category or transactional ( type &#39;id&#39; only available if the category is &#39;transactional&#39; attribute &amp; type &#39;category&#39; only available if the category is &#39;category&#39; attribute ) | [optional]
7+
**value** | **String** | Value of the attribute. Use only if the attribute&#39;s category is &#39;calculated&#39; or &#39;global&#39; | [optional]
8+
**enumeration** | [**List&lt;CreateAttributeEnumeration&gt;**](CreateAttributeEnumeration.md) | List of values and labels that the attribute can take. Use only if the attribute&#39;s category is \&quot;category\&quot;. For example, [{&#39;value&#39;:1, &#39;label&#39;:&#39;male&#39;}, {&#39;value&#39;:2, &#39;label&#39;:&#39;female&#39;}] | [optional]
9+
**type** | [**TypeEnum**](#TypeEnum) | Type of the attribute. Use only if the attribute&#39;s category is &#39;normal&#39;, &#39;category&#39; or &#39;transactional&#39; ( type &#39;id&#39; is only available if the category is &#39;transactional&#39; attribute &amp; type &#39;category&#39; is only available if the category is &#39;category&#39; attribute ) | [optional]
1010

1111

1212
<a name="TypeEnum"></a>

docs/CreateContact.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**email** | **String** | Email address of the user. Mandatory if &#x60;attributes.sms&#x60; is not passed | [optional]
8-
**attributes** | **Object** | Values of the attributes to fill. The attributes must exist in you contact database | [optional]
9-
**emailBlacklisted** | **Boolean** | Blacklist the contact for emails (emailBlacklisted &#x3D; true) | [optional]
10-
**smsBlacklisted** | **Boolean** | Blacklist the contact for SMS (smsBlacklisted &#x3D; true) | [optional]
7+
**email** | **String** | Email address of the user. Mandatory if \&quot;sms\&quot; field is not passed in \&quot;attributes\&quot; parameter&#39; | [optional]
8+
**attributes** | **Object** | Pass the set of attributes and their values. These attributes must be present in your SendinBlue account. For eg. {&#39;FNAME&#39;:&#39;Elly&#39;, &#39;LNAME&#39;:&#39;Roger&#39;} | [optional]
9+
**emailBlacklisted** | **Boolean** | Set this field to blacklist the contact for emails (emailBlacklisted &#x3D; true) | [optional]
10+
**smsBlacklisted** | **Boolean** | Set this field to blacklist the contact for SMS (smsBlacklisted &#x3D; true) | [optional]
1111
**listIds** | **List&lt;Long&gt;** | Ids of the lists to add the contact to | [optional]
12-
**updateEnabled** | **Boolean** | Facilitate to update existing contact in same request (updateEnabled &#x3D; true) | [optional]
12+
**updateEnabled** | **Boolean** | Facilitate to update the existing contact in the same request (updateEnabled &#x3D; true) | [optional]
1313
**smtpBlacklistSender** | **List&lt;String&gt;** | SMTP forbidden sender for contact. Use only for email Contact ( only available if updateEnabled &#x3D; true ) | [optional]
1414

1515

docs/CreateEmailCampaign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**name** | **String** | Name of the campaign |
1010
**htmlContent** | **String** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional]
1111
**htmlUrl** | **String** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional]
12-
**scheduledAt** | [**OffsetDateTime**](OffsetDateTime.md) | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
12+
**scheduledAt** | [**OffsetDateTime**] | Sending UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ). Prefer to pass your timezone in date-time format for accurate result. | [optional]
1313
**subject** | **String** | Subject of the campaign |
1414
**replyTo** | **String** | Email on which the campaign recipients will be able to reply to | [optional]
1515
**toField** | **String** | To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, use {FNAME} {LNAME}. These attributes must already exist in your contact database | [optional]

docs/CreateList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**name** | **String** | Name of the list |
8-
**folderId** | **Long** | Id of the folder in which to create the list |
8+
**folderId** | **Long** | Id of the parent folder in which this list is to be created |
99

1010

1111

docs/CreateSmsCampaign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
**sender** | **String** | Name of the sender. The number of characters is limited to 11 |
99
**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 | [optional]
1010
**recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional]
11-
**scheduledAt** | [**OffsetDateTime**](OffsetDateTime.md) | 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]
11+
**scheduledAt** | [**OffsetDateTime**] | 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]
1212

1313

1414

docs/DeleteHardbounces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**startDate** | **LocalDate** | Starting date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be lower than equal to endDate | [optional]
8-
**endDate** | **LocalDate** | Ending date (YYYY-MM-DD) of the period from which the hardbounces will be deleted. Must be greater than equal to startDate | [optional]
7+
**startDate** | **LocalDate** | Starting date (YYYY-MM-DD) of the time period for deletion. The hardbounces occurred after this date will be deleted. Must be less than or equal to the endDate | [optional]
8+
**endDate** | **LocalDate** | Ending date (YYYY-MM-DD) of the time period for deletion. The hardbounces until this date will be deleted. Must be greater than or equal to the startDate | [optional]
99
**contactEmail** | **String** | Target a specific email address | [optional]
1010

1111

0 commit comments

Comments
 (0)