Skip to content

Commit 1116272

Browse files
authored
Merge pull request #69 from sendinblue/feature_new-sms-updates
Report API for SMS campaigns updates & other mixed changes
2 parents 825f804 + 99e2766 commit 1116272

27 files changed

+342
-123
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2018 SendinBlue
3+
Copyright (c) 2019 SendinBlue
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.lock

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

docs/Api/SMSCampaignsApi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ void (empty response body)
403403
[[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md)
404404

405405
# **sendTestSms**
406-
> sendTestSms($campaignId, $sendTestSms)
406+
> sendTestSms($campaignId, $phoneNumber)
407407
408408
Send an SMS
409409

@@ -424,10 +424,10 @@ $apiInstance = new SendinBlue\Client\Api\SMSCampaignsApi(
424424
$config
425425
);
426426
$campaignId = 789; // int | Id of the SMS campaign
427-
$sendTestSms = new \SendinBlue\Client\Model\SendTestSms(); // \SendinBlue\Client\Model\SendTestSms | Mobile number to which send the test
427+
$phoneNumber = new \SendinBlue\Client\Model\SendTestSms(); // \SendinBlue\Client\Model\SendTestSms | Mobile number of the recipient with the country code. This number must belong to one of your contacts in SendinBlue account and must not be blacklisted
428428

429429
try {
430-
$apiInstance->sendTestSms($campaignId, $sendTestSms);
430+
$apiInstance->sendTestSms($campaignId, $phoneNumber);
431431
} catch (Exception $e) {
432432
echo 'Exception when calling SMSCampaignsApi->sendTestSms: ', $e->getMessage(), PHP_EOL;
433433
}
@@ -439,7 +439,7 @@ try {
439439
Name | Type | Description | Notes
440440
------------- | ------------- | ------------- | -------------
441441
**campaignId** | **int**| Id of the SMS campaign |
442-
**sendTestSms** | [**\SendinBlue\Client\Model\SendTestSms**](../Model/SendTestSms.md)| Mobile number to which send the test |
442+
**phoneNumber** | [**\SendinBlue\Client\Model\SendTestSms**](../Model/SendTestSms.md)| Mobile number of the recipient with the country code. This number must belong to one of your contacts in SendinBlue account and must not be blacklisted |
443443

444444
### Return type
445445

docs/Model/CreateWebhook.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**url** | **string** | URL of the webhook |
77
**description** | **string** | Description of the webhook | [optional]
8-
**events** | **string[]** | Events triggering the webhook. Possible values for Transactional type webhook – request, delivered, hardBounce, softBounce, blocked, spam, invalid, deferred, click, opened, uniqueOpened and unsubscribed and possible values for Marketing type webhook – spam, opened, click, hardBounce, softBounce, unsubscribed, listAddition & delivered | [optional]
8+
**events** | **string[]** | Events triggering the webhook. Possible values for Transactional type webhook – request, delivered, hardBounce, softBounce, blocked, spam, invalid, deferred, click, opened, uniqueOpened and unsubscribed and possible values for Marketing type webhook – spam, opened, click, hardBounce, softBounce, unsubscribed, listAddition & delivered |
99
**type** | **string** | Type of the webhook | [optional] [default to 'transactional']
1010

1111
[[Back to Model list]](../../README.md#documentation-for-models) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to README]](../../README.md)

0 commit comments

Comments
 (0)