Skip to content

Commit 026bd8d

Browse files
v5.2.0
1 parent c002120 commit 026bd8d

File tree

249 files changed

+1295
-707
lines changed

Some content is hidden

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

249 files changed

+1295
-707
lines changed

README.md

+7-4
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>5.1.0</version>
25+
<version>5.2.0</version>
2626
<scope>compile</scope>
2727
</dependency>
2828
```
@@ -32,20 +32,20 @@ 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:5.1.0"
35+
compile "com.sendinblue:sib-api-v3-sdk:5.2.0"
3636
```
3737

3838
### Others
3939

4040
At first generate the JAR by executing:
4141

4242
```shell
43-
mvn package
43+
mvn package
4444
```
4545

4646
Then manually install the following JARs:
4747

48-
* `target/sib-api-v3-sdk-5.1.0.jar`
48+
* `target/sib-api-v3-sdk-5.2.0.jar`
4949
* `target/lib/*.jar`
5050

5151
## Getting Started
@@ -371,9 +371,12 @@ Class | Method | HTTP request | Description
371371
- [SendSmtpEmailAttachment](docs/SendSmtpEmailAttachment.md)
372372
- [SendSmtpEmailBcc](docs/SendSmtpEmailBcc.md)
373373
- [SendSmtpEmailCc](docs/SendSmtpEmailCc.md)
374+
- [SendSmtpEmailMessageVersions](docs/SendSmtpEmailMessageVersions.md)
374375
- [SendSmtpEmailReplyTo](docs/SendSmtpEmailReplyTo.md)
376+
- [SendSmtpEmailReplyTo1](docs/SendSmtpEmailReplyTo1.md)
375377
- [SendSmtpEmailSender](docs/SendSmtpEmailSender.md)
376378
- [SendSmtpEmailTo](docs/SendSmtpEmailTo.md)
379+
- [SendSmtpEmailTo1](docs/SendSmtpEmailTo1.md)
377380
- [SendTemplateEmail](docs/SendTemplateEmail.md)
378381
- [SendTestEmail](docs/SendTestEmail.md)
379382
- [SendTestSms](docs/SendTestSms.md)

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 = '5.1.0'
5+
version = '5.2.0'
66

77
buildscript {
88
repositories {

build.sbt

+1-1
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 := "5.1.0",
5+
version := "5.2.0",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/ContactsApi.md

+18-18
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,8 @@ partnerKey.setApiKey("YOUR PARTNER KEY");
770770

771771
ContactsApi apiInstance = new ContactsApi();
772772
String identifier = "identifier_example"; // String | Email (urlencoded) OR ID of the contact
773-
LocalDate startDate = LocalDate.now(); // LocalDate | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be lower than equal to endDate
774-
LocalDate endDate = LocalDate.now(); // LocalDate | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the statistic events specific to campaigns. Must be greater than equal to startDate
773+
String 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
774+
String 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
775775
try {
776776
GetContactCampaignStats result = apiInstance.getContactStats(identifier, startDate, endDate);
777777
System.out.println(result);
@@ -786,8 +786,8 @@ try {
786786
Name | Type | Description | Notes
787787
------------- | ------------- | ------------- | -------------
788788
**identifier** | **String**| Email (urlencoded) OR ID of the contact |
789-
**startDate** | **LocalDate**| 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]
790-
**endDate** | **LocalDate**| 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]
789+
**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]
790+
**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]
791791

792792
### Return type
793793

@@ -834,8 +834,8 @@ partnerKey.setApiKey("YOUR PARTNER KEY");
834834
ContactsApi apiInstance = new ContactsApi();
835835
Long limit = 50L; // Long | Number of documents per page
836836
Long offset = 0L; // Long | Index of the first document of the page
837-
OffsetDateTime modifiedSince = OffsetDateTime.now(); // OffsetDateTime | 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.
838-
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation
837+
String 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.
838+
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
839839
try {
840840
GetContacts result = apiInstance.getContacts(limit, offset, modifiedSince, sort);
841841
System.out.println(result);
@@ -851,8 +851,8 @@ Name | Type | Description | Notes
851851
------------- | ------------- | ------------- | -------------
852852
**limit** | **Long**| Number of documents per page | [optional] [default to 50]
853853
**offset** | **Long**| Index of the first document of the page | [optional] [default to 0]
854-
**modifiedSince** | **OffsetDateTime**| 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]
855-
**sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc]
854+
**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]
855+
**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] [enum: asc, desc]
856856

857857
### Return type
858858

@@ -898,10 +898,10 @@ partnerKey.setApiKey("YOUR PARTNER KEY");
898898

899899
ContactsApi apiInstance = new ContactsApi();
900900
Long listId = 789L; // Long | Id of the list
901-
OffsetDateTime modifiedSince = OffsetDateTime.now(); // OffsetDateTime | 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.
901+
String 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.
902902
Long limit = 50L; // Long | Number of documents per page
903903
Long offset = 0L; // Long | Index of the first document of the page
904-
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation
904+
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
905905
try {
906906
GetContacts result = apiInstance.getContactsFromList(listId, modifiedSince, limit, offset, sort);
907907
System.out.println(result);
@@ -916,10 +916,10 @@ try {
916916
Name | Type | Description | Notes
917917
------------- | ------------- | ------------- | -------------
918918
**listId** | **Long**| Id of the list |
919-
**modifiedSince** | **OffsetDateTime**| 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]
919+
**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]
920920
**limit** | **Long**| Number of documents per page | [optional] [default to 50]
921921
**offset** | **Long**| Index of the first document of the page | [optional] [default to 0]
922-
**sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc]
922+
**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] [enum: asc, desc]
923923

924924
### Return type
925925

@@ -1026,7 +1026,7 @@ ContactsApi apiInstance = new ContactsApi();
10261026
Long folderId = 789L; // Long | Id of the folder
10271027
Long limit = 10L; // Long | Number of documents per page
10281028
Long offset = 0L; // Long | Index of the first document of the page
1029-
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation
1029+
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
10301030
try {
10311031
GetFolderLists result = apiInstance.getFolderLists(folderId, limit, offset, sort);
10321032
System.out.println(result);
@@ -1043,7 +1043,7 @@ Name | Type | Description | Notes
10431043
**folderId** | **Long**| Id of the folder |
10441044
**limit** | **Long**| Number of documents per page | [optional] [default to 10]
10451045
**offset** | **Long**| Index of the first document of the page | [optional] [default to 0]
1046-
**sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc]
1046+
**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] [enum: asc, desc]
10471047

10481048
### Return type
10491049

@@ -1090,7 +1090,7 @@ partnerKey.setApiKey("YOUR PARTNER KEY");
10901090
ContactsApi apiInstance = new ContactsApi();
10911091
Long limit = 10L; // Long | Number of documents per page
10921092
Long offset = 0L; // Long | Index of the first document of the page
1093-
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation
1093+
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
10941094
try {
10951095
GetFolders result = apiInstance.getFolders(limit, offset, sort);
10961096
System.out.println(result);
@@ -1106,7 +1106,7 @@ Name | Type | Description | Notes
11061106
------------- | ------------- | ------------- | -------------
11071107
**limit** | **Long**| Number of documents per page | [default to 10]
11081108
**offset** | **Long**| Index of the first document of the page | [default to 0]
1109-
**sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc]
1109+
**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] [enum: asc, desc]
11101110

11111111
### Return type
11121112

@@ -1212,7 +1212,7 @@ partnerKey.setApiKey("YOUR PARTNER KEY");
12121212
ContactsApi apiInstance = new ContactsApi();
12131213
Long limit = 10L; // Long | Number of documents per page
12141214
Long offset = 0L; // Long | Index of the first document of the page
1215-
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation
1215+
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
12161216
try {
12171217
GetLists result = apiInstance.getLists(limit, offset, sort);
12181218
System.out.println(result);
@@ -1228,7 +1228,7 @@ Name | Type | Description | Notes
12281228
------------- | ------------- | ------------- | -------------
12291229
**limit** | **Long**| Number of documents per page | [optional] [default to 10]
12301230
**offset** | **Long**| Index of the first document of the page | [optional] [default to 0]
1231-
**sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc]
1231+
**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] [enum: asc, desc]
12321232

12331233
### Return type
12341234

docs/CreateEmailCampaign.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
**htmlContent** | **String** | Mandatory if htmlUrl and templateId are empty. Body of the message (HTML) | [optional]
1111
**htmlUrl** | **String** | Mandatory if htmlContent and templateId are empty. Url to the message (HTML) | [optional]
1212
**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]
13-
**scheduledAt** | [**OffsetDateTime**] | 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]
13+
**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]
1414
**subject** | **String** | Subject of the campaign. Mandatory if abTesting is false. Ignored if abTesting is true. | [optional]
1515
**replyTo** | **String** | Email on which the campaign recipients will be able to reply to | [optional]
1616
**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]

docs/CreateSmsCampaign.md

+1-1
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 for alphanumeric characters and 15 for numeric characters** |
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 |
1010
**recipients** | [**CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [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]
11+
**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]
1212

1313

1414

docs/CreateSmtpEmail.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
## Properties
55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**messageId** | **String** | Message ID of the transactional email sent |
7+
**messageId** | **String** | Message ID of the transactional email sent | [optional]
8+
**messageIds** | **List&lt;String&gt;** | | [optional]
89

910

1011

docs/EmailCampaignsApi.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -349,11 +349,11 @@ partnerKey.setApiKey("YOUR PARTNER KEY");
349349
EmailCampaignsApi apiInstance = new EmailCampaignsApi();
350350
String type = "type_example"; // String | Filter on the type of the campaigns
351351
String status = "status_example"; // String | Filter on the status of the campaign
352-
OffsetDateTime startDate = OffsetDateTime.now(); // OffsetDateTime | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
353-
OffsetDateTime endDate = OffsetDateTime.now(); // OffsetDateTime | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
352+
String startDate = "startDate_example"; // String | Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
353+
String endDate = "endDate_example"; // String | Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either 'status' not passed and if passed is set to 'sent' )
354354
Long limit = 500L; // Long | Number of documents per page
355355
Long offset = 0L; // Long | Index of the first document in the page
356-
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation
356+
String sort = "desc"; // String | Sort the results in the ascending/descending order of record creation. Default order is **descending** if `sort` is not passed
357357
try {
358358
GetEmailCampaigns result = apiInstance.getEmailCampaigns(type, status, startDate, endDate, limit, offset, sort);
359359
System.out.println(result);
@@ -369,11 +369,11 @@ Name | Type | Description | Notes
369369
------------- | ------------- | ------------- | -------------
370370
**type** | **String**| Filter on the type of the campaigns | [optional] [enum: classic, trigger]
371371
**status** | **String**| Filter on the status of the campaign | [optional] [enum: suspended, archive, sent, queued, draft, inProcess]
372-
**startDate** | **OffsetDateTime**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; ) | [optional]
373-
**endDate** | **OffsetDateTime**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; ) | [optional]
372+
**startDate** | **String**| Mandatory if endDate is used. Starting (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; ) | [optional]
373+
**endDate** | **String**| Mandatory if startDate is used. Ending (urlencoded) UTC date-time (YYYY-MM-DDTHH:mm:ss.SSSZ) to filter the sent email campaigns. Prefer to pass your timezone in date-time format for accurate result ( only available if either &#39;status&#39; not passed and if passed is set to &#39;sent&#39; ) | [optional]
374374
**limit** | **Long**| Number of documents per page | [optional] [default to 500]
375375
**offset** | **Long**| Index of the first document in the page | [optional] [default to 0]
376-
**sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional] [default to desc] [enum: asc, desc]
376+
**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] [enum: asc, desc]
377377

378378
### Return type
379379

0 commit comments

Comments
 (0)