Skip to content

Commit 9136bfe

Browse files
authored
Merge pull request #72 from sendinblue/feature_spec-updates-SABT-mixed
Mixed changes with new features
2 parents 1116272 + 1f33680 commit 9136bfe

Some content is hidden

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

50 files changed

+1741
-304
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ sudo: false
33
php:
44
- 5.6
55
- 7.0
6-
- hhvm
76
before_install: "composer install"
87
script: "vendor/bin/phpunit"

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ PHP 5.6 and later
2222
To install the bindings via [Composer](http://getcomposer.org/):
2323

2424
```
25-
composer require sendinblue/api-v3-sdk "^6.0.0"
25+
composer require sendinblue/api-v3-sdk "^6.1.0"
2626
```
2727

2828
Further do:
@@ -51,6 +51,10 @@ require_once(__DIR__ . '/vendor/autoload.php');
5151
$config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
5252
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
5353
// $config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
54+
// Configure API key authorization: partner-key
55+
$config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('partner-key', 'YOUR_API_KEY');
56+
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
57+
// $config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('partner-key', 'Bearer');
5458

5559
$apiInstance = new SendinBlue\Client\Api\AccountApi(
5660
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
@@ -203,6 +207,7 @@ Class | Method | HTTP request | Description
203207
- [CreateSmtpEmail](docs/Model/CreateSmtpEmail.md)
204208
- [CreateSmtpTemplate](docs/Model/CreateSmtpTemplate.md)
205209
- [CreateSmtpTemplateSender](docs/Model/CreateSmtpTemplateSender.md)
210+
- [CreateUpdateContactModel](docs/Model/CreateUpdateContactModel.md)
206211
- [CreateUpdateFolder](docs/Model/CreateUpdateFolder.md)
207212
- [CreateWebhook](docs/Model/CreateWebhook.md)
208213
- [CreatedProcessId](docs/Model/CreatedProcessId.md)
@@ -342,10 +347,12 @@ Class | Method | HTTP request | Description
342347
- **API key parameter name**: api-key
343348
- **Location**: HTTP header
344349

350+
## partner-key
345351

346-
## Support and Feedback
352+
- **Type**: API key
353+
- **API key parameter name**: partner-key
354+
- **Location**: HTTP header
347355

348-
Be sure to visit the SendinBlue official [documentation website](https://sendinblue.readme.io/docs ) for additional information about our API.
349356

350357
If you find a bug, please post the issue on [Github](https://github.com/sendinblue/APIv3-php-library/issues).
351358

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"extra": {
3939
"branch-alias": {
40-
"dev-master": "6.0.x-dev"
40+
"dev-master": "6.1.x-dev"
4141
}
4242
}
4343
}

composer.lock

Lines changed: 45 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/Api/AccountApi.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ require_once(__DIR__ . '/vendor/autoload.php');
2121
$config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
2222
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
2323
// $config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
24+
// Configure API key authorization: partner-key
25+
$config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('partner-key', 'YOUR_API_KEY');
26+
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
27+
// $config = SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('partner-key', 'Bearer');
2428

2529
$apiInstance = new SendinBlue\Client\Api\AccountApi(
2630
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
@@ -47,7 +51,7 @@ This endpoint does not need any parameter.
4751

4852
### Authorization
4953

50-
[api-key](../../README.md#api-key)
54+
[api-key](../../README.md#api-key), [partner-key](../../README.md#partner-key)
5155

5256
### HTTP request headers
5357

0 commit comments

Comments
 (0)