Skip to content

Commit b92dccc

Browse files
committed
Initial release of SendinBlue API V3 Node.js Package
1 parent 83fe7f1 commit b92dccc

File tree

750 files changed

+66858
-1
lines changed

Some content is hidden

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

750 files changed

+66858
-1
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
.DS_Store

.swagger-codegen-ignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Swagger Codegen Ignore
2+
# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md

.swagger-codegen/VERSION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.2.3

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: node_js
2+
node_js:
3+
- "6"
4+
- "6.1"
5+
- "5"
6+
- "5.11"
7+

LICENSE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
ISC License
2+
3+
Copyright (c) 2017, SendinBlue
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15+
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

README.md

Lines changed: 471 additions & 1 deletion
Large diffs are not rendered by default.

docs/AccountApi.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# SendinBlueApi.AccountApi
2+
3+
All URIs are relative to *https://api.sendinblue.com/v3*
4+
5+
Method | HTTP request | Description
6+
------------- | ------------- | -------------
7+
[**getAccount**](AccountApi.md#getAccount) | **GET** /account | Get your account informations, plans and credits details
8+
9+
10+
<a name="getAccount"></a>
11+
# **getAccount**
12+
> InlineResponse200 getAccount()
13+
14+
Get your account informations, plans and credits details
15+
16+
### Example
17+
```javascript
18+
var SendinBlueApi = require('sendinblue-apiv3');
19+
var defaultClient = SendinBlueApi.ApiClient.instance;
20+
21+
// Configure API key authorization: api-key
22+
var apiKey = defaultClient.authentications['api-key'];
23+
apiKey.apiKey = 'YOUR API KEY';
24+
25+
var apiInstance = new SendinBlueApi.AccountApi();
26+
27+
var callback = function(error, data, response) {
28+
if (error) {
29+
console.error(error);
30+
} else {
31+
console.log('API called successfully. Returned data: ' + data);
32+
}
33+
};
34+
apiInstance.getAccount(callback);
35+
```
36+
37+
### Parameters
38+
This endpoint does not need any parameter.
39+
40+
### Return type
41+
42+
[**InlineResponse200**](InlineResponse200.md)
43+
44+
### Authorization
45+
46+
[api-key](../README.md#api-key)
47+
48+
### HTTP request headers
49+
50+
- **Content-Type**: application/json
51+
- **Accept**: application/json
52+

docs/AddCredits.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SendinBlueApi.AddCredits
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**sms** | **Number** | SMS credits to be added to the child account | [optional]
7+
**email** | **Number** | Email credits to be added to the child account | [optional]
8+
9+

docs/AddCredits1.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# SendinBlueApi.AddCredits1
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**sms** | **Number** | SMS credits to be added to the child account | [optional]
7+
**email** | **Number** | Email credits to be added to the child account | [optional]
8+
9+

docs/AddRemoveContactToList.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# SendinBlueApi.AddRemoveContactToList
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**emails** | **[String]** | Emails to add or remove from a list | [optional]
7+
8+

0 commit comments

Comments
 (0)