You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ SendinBlue's API matches the [OpenAPI v2 definition](https://www.openapis.org/).
9
9
This library is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project and is reviewed and maintained by SendinBlue:
*SibApiV3Sdk.SendersApi* | [**getIpsFromSender**](docs/SendersApi.md#getIpsFromSender) | **GET** /senders/{senderId}/ips | Get all the dedicated IPs for a sender
210
210
*SibApiV3Sdk.SendersApi* | [**getSenders**](docs/SendersApi.md#getSenders) | **GET** /senders | Get the list of all your senders
211
211
*SibApiV3Sdk.SendersApi* | [**updateSender**](docs/SendersApi.md#updateSender) | **PUT** /senders/{senderId} | Update a sender
212
+
*SibApiV3Sdk.TransactionalEmailsApi* | [**blockNewDomain**](docs/TransactionalEmailsApi.md#blockNewDomain) | **POST** /smtp/blockedDomains | Add a new domain to the list of blocked domains
*SibApiV3Sdk.TransactionalEmailsApi* | [**deleteBlockedDomain**](docs/TransactionalEmailsApi.md#deleteBlockedDomain) | **DELETE** /smtp/blockedDomains/{domain} | Unblock an existing domain from the list of blocked domains
*SibApiV3Sdk.TransactionalEmailsApi* | [**getAggregatedSmtpReport**](docs/TransactionalEmailsApi.md#getAggregatedSmtpReport) | **GET** /smtp/statistics/aggregatedReport | Get your transactional email activity aggregated over a period of time
218
+
*SibApiV3Sdk.TransactionalEmailsApi* | [**getBlockedDomains**](docs/TransactionalEmailsApi.md#getBlockedDomains) | **GET** /smtp/blockedDomains | Get the list of blocked domains
216
219
*SibApiV3Sdk.TransactionalEmailsApi* | [**getEmailEventReport**](docs/TransactionalEmailsApi.md#getEmailEventReport) | **GET** /smtp/statistics/events | Get all your transactional email activity (unaggregated events)
217
220
*SibApiV3Sdk.TransactionalEmailsApi* | [**getSmtpReport**](docs/TransactionalEmailsApi.md#getSmtpReport) | **GET** /smtp/statistics/reports | Get your transactional email activity aggregated per day
218
221
*SibApiV3Sdk.TransactionalEmailsApi* | [**getSmtpTemplate**](docs/TransactionalEmailsApi.md#getSmtpTemplate) | **GET** /smtp/templates/{templateId} | Returns the template information
Copy file name to clipboardExpand all lines: docs/ContactsApi.md
+18-6
Original file line number
Diff line number
Diff line change
@@ -775,7 +775,8 @@ var apiInstance = new SibApiV3Sdk.ContactsApi();
775
775
var opts = {
776
776
'limit':50, // Number | Number of documents per page
777
777
'offset':0, // Number | Index of the first document of the page
778
-
'modifiedSince':newDate("2013-10-20T19:20:30+01:00") // Date | 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.
778
+
'modifiedSince':newDate("2013-10-20T19:20:30+01:00"), // Date | 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.
779
+
'sort':"desc"// String | Sort the results in the ascending/descending order of record creation
console.log('API called successfully. Returned data: '+ data);
@@ -792,6 +793,7 @@ Name | Type | Description | Notes
792
793
**limit** | **Number**| Number of documents per page | [optional][default to 50]
793
794
**offset** | **Number**| Index of the first document of the page | [optional][default to 0]
794
795
**modifiedSince** | **Date**| 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]
796
+
**sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional][default to desc]
795
797
796
798
### Return type
797
799
@@ -836,7 +838,8 @@ var listId = 789; // Number | Id of the list
836
838
var opts = {
837
839
'modifiedSince':newDate("2013-10-20T19:20:30+01:00"), // Date | 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
840
'limit':50, // Number | Number of documents per page
839
-
'offset':0// Number | Index of the first document of the page
841
+
'offset':0, // Number | Index of the first document of the page
842
+
'sort':"desc"// String | Sort the results in the ascending/descending order of record creation
console.log('API called successfully. Returned data: '+ data);
@@ -854,6 +857,7 @@ Name | Type | Description | Notes
854
857
**modifiedSince** | **Date**| 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
858
**limit** | **Number**| Number of documents per page | [optional][default to 50]
856
859
**offset** | **Number**| Index of the first document of the page | [optional][default to 0]
860
+
**sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional][default to desc]
857
861
858
862
### Return type
859
863
@@ -951,7 +955,8 @@ var folderId = 789; // Number | Id of the folder
951
955
952
956
var opts = {
953
957
'limit':10, // Number | Number of documents per page
954
-
'offset':0// Number | Index of the first document of the page
958
+
'offset':0, // Number | Index of the first document of the page
959
+
'sort':"desc"// String | Sort the results in the ascending/descending order of record creation
**name** | **String** | Name of the sender. If not passed, will be set to default | [optional]
7
-
**email** | **String** | Email of the sender |
7
+
**email** | **String** | Email of the sender | [optional]
8
8
**id** | **Number** | Select the sender for the template on the basis of sender id. In order to select a sender with specific pool of IP’s, dedicated ip users shall pass id (instead of email). | [optional]
Copy file name to clipboardExpand all lines: docs/EmailCampaignsApi.md
+3-1
Original file line number
Diff line number
Diff line change
@@ -326,7 +326,8 @@ var opts = {
326
326
'startDate':newDate("2013-10-20T19:20:30+01:00"), // Date | 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' )
327
327
'endDate':newDate("2013-10-20T19:20:30+01:00"), // Date | 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' )
328
328
'limit':500, // Number | Number of documents per page
329
-
'offset':0// Number | Index of the first document in the page
329
+
'offset':0, // Number | Index of the first document in the page
330
+
'sort':"desc"// String | Sort the results in the ascending/descending order of record creation
console.log('API called successfully. Returned data: '+ data);
@@ -346,6 +347,7 @@ Name | Type | Description | Notes
346
347
**endDate** | **Date**| 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' ) | [optional]
347
348
**limit** | **Number**| Number of documents per page | [optional][default to 500]
348
349
**offset** | **Number**| Index of the first document in the page | [optional][default to 0]
350
+
**sort** | **String**| Sort the results in the ascending/descending order of record creation | [optional][default to desc]
Copy file name to clipboardExpand all lines: docs/GetEmailEventReportEvents.md
+3
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
**ip** | **String** | IP from which the user has opened the email or clicked on the link (only available if the event is opened or clicks) | [optional]
14
14
**link** | **String** | The link which is sent to the user (only available if the event is requests or opened or clicks) | [optional]
15
15
**from** | **String** | Sender email from which the emails are sent | [optional]
16
+
**templateId** | **Number** | ID of the template (only available if the email is template based) | [optional]
16
17
17
18
18
19
<aname="EventEnum"></a>
@@ -43,6 +44,8 @@ Name | Type | Description | Notes
**replyTo** | **String** | Email defined as the \"Reply to\" of the campaign |
11
-
**toField** | **String** | Customisation of the \"to\" field of the campaign |
11
+
**toField** | **String** | Customisation of the \"to\" field of the campaign | [optional]
12
12
**htmlContent** | **String** | HTML content of the campaign |
13
13
**shareLink** | **String** | Link to share the campaign on social medias | [optional]
14
-
**tag** | **String** | Tag of the campaign |
14
+
**tag** | **String** | Tag of the campaign | [optional]
15
15
**createdAt** | **Date** | Creation UTC date-time of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
16
16
**modifiedAt** | **Date** | UTC date-time of last modification of the campaign (YYYY-MM-DDTHH:mm:ss.SSSZ) |
17
17
**inlineImageActivation** | **Boolean** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. | [optional]
0 commit comments