diff --git a/composer.json b/composer.json index d94ffe1..c70a92c 100644 --- a/composer.json +++ b/composer.json @@ -1,19 +1,26 @@ { - "name": "messagemedia/messages", + "name": "messagemedia/messages-sdk", "type": "library", "description": "The MessageMedia Messages API provides a number of endpoints for building powerful two-way messaging applications.", "version": "1.0.0", "keywords": ["Messages","API","SDK"], - "homepage": "https://apimatic.io", - "license": "MIT", + "homepage": "https://developers.messagemedia.com/", + "license": "Apache-2.0", "authors": [ { - "name": "APIMatic SDK Generator", - "email": "support@apimatic.io", - "homepage": "https://apimatic.io", - "role": "API Tool" + "name": "MessageMedia Developers", + "email": "developers@messagemedia.com", + "homepage": "https://developers.messagemedia.com/", + "role": "Developer Relations" } ], + "support": { + "email": "developers@messagemedia.com", + "issues": "https://github.com/messagemedia/messages-php-sdk/issues", + "wiki": "https://github.com/messagemedia/messages-php-sdk/wiki", + "source": "https://github.com/messagemedia/messages-php-sdk", + "docs": "https://developers.messagemedia.com/code" + }, "require": { "php": ">=5.4.0", "ext-curl": "*", diff --git a/src/APIException.php b/src/APIException.php index 386a531..0c7f6ed 100644 --- a/src/APIException.php +++ b/src/APIException.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib; diff --git a/src/APIHelper.php b/src/APIHelper.php index a1c1b3f..9fcf225 100644 --- a/src/APIHelper.php +++ b/src/APIHelper.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib; diff --git a/src/Configuration.php b/src/Configuration.php index 27c0abc..4bddead 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib; diff --git a/src/Controllers/BaseController.php b/src/Controllers/BaseController.php index e61b210..c7da01a 100644 --- a/src/Controllers/BaseController.php +++ b/src/Controllers/BaseController.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Controllers; diff --git a/src/Controllers/DeliveryReportsController.php b/src/Controllers/DeliveryReportsController.php index 19ae0d0..577babf 100644 --- a/src/Controllers/DeliveryReportsController.php +++ b/src/Controllers/DeliveryReportsController.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Controllers; @@ -125,7 +124,7 @@ public function getCheckDeliveryReports() //prepare headers $_headers = array ( - 'user-agent' => 'messagemedia-messages', + 'user-agent' => 'messagemedia-messages-php-sdk-1.0.0', 'Accept' => 'application/json' ); @@ -195,7 +194,7 @@ public function createConfirmDeliveryReportsAsReceived( //prepare headers $_headers = array ( - 'user-agent' => 'messagemedia-messages', + 'user-agent' => 'messagemedia-messages-php-sdk-1.0.0', 'Accept' => 'application/json', 'content-type' => 'application/json; charset=utf-8' ); diff --git a/src/Controllers/MessagesController.php b/src/Controllers/MessagesController.php index b3dd2ae..f7d1cf3 100644 --- a/src/Controllers/MessagesController.php +++ b/src/Controllers/MessagesController.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Controllers; @@ -83,7 +82,7 @@ public function updateCancelScheduledMessage( //prepare headers $_headers = array ( - 'user-agent' => 'messagemedia-messages', + 'user-agent' => 'messagemedia-messages-php-sdk-1.0.0', 'Accept' => 'application/json', 'content-type' => 'application/json; charset=utf-8' ); @@ -175,7 +174,7 @@ public function getMessageStatus( //prepare headers $_headers = array ( - 'user-agent' => 'messagemedia-messages', + 'user-agent' => 'messagemedia-messages-php-sdk-1.0.0', 'Accept' => 'application/json' ); @@ -318,7 +317,7 @@ public function createSendMessages( //prepare headers $_headers = array ( - 'user-agent' => 'messagemedia-messages', + 'user-agent' => 'messagemedia-messages-php-sdk-1.0.0', 'Accept' => 'application/json', 'content-type' => 'application/json; charset=utf-8' ); diff --git a/src/Controllers/RepliesController.php b/src/Controllers/RepliesController.php index 0e472c6..794efa1 100644 --- a/src/Controllers/RepliesController.php +++ b/src/Controllers/RepliesController.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Controllers; @@ -79,7 +78,7 @@ public function createConfirmRepliesAsReceived( //prepare headers $_headers = array ( - 'user-agent' => 'messagemedia-messages', + 'user-agent' => 'messagemedia-messages-php-sdk-1.0.0', 'Accept' => 'application/json', 'content-type' => 'application/json; charset=utf-8' ); @@ -203,7 +202,7 @@ public function getCheckReplies() //prepare headers $_headers = array ( - 'user-agent' => 'messagemedia-messages', + 'user-agent' => 'messagemedia-messages-php-sdk-1.0.0', 'Accept' => 'application/json' ); diff --git a/src/Http/HttpCallBack.php b/src/Http/HttpCallBack.php index efa7470..9911b42 100644 --- a/src/Http/HttpCallBack.php +++ b/src/Http/HttpCallBack.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Http; diff --git a/src/Http/HttpContext.php b/src/Http/HttpContext.php index 4de1ca1..d96f561 100644 --- a/src/Http/HttpContext.php +++ b/src/Http/HttpContext.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Http; diff --git a/src/Http/HttpMethod.php b/src/Http/HttpMethod.php index 22dbeac..580307d 100644 --- a/src/Http/HttpMethod.php +++ b/src/Http/HttpMethod.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Http; diff --git a/src/Http/HttpRequest.php b/src/Http/HttpRequest.php index b8ceaf5..ea2de38 100644 --- a/src/Http/HttpRequest.php +++ b/src/Http/HttpRequest.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Http; diff --git a/src/Http/HttpResponse.php b/src/Http/HttpResponse.php index ac67477..3833bec 100644 --- a/src/Http/HttpResponse.php +++ b/src/Http/HttpResponse.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Http; diff --git a/src/MessageMediaMessagesClient.php b/src/MessageMediaMessagesClient.php index ff1c28b..e7c430d 100644 --- a/src/MessageMediaMessagesClient.php +++ b/src/MessageMediaMessagesClient.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib; diff --git a/src/MessagesClient.php b/src/MessagesClient.php index f63c437..2748ca6 100644 --- a/src/MessagesClient.php +++ b/src/MessagesClient.php @@ -2,7 +2,6 @@ /* * MessagesLib * - * This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessagesLib; diff --git a/src/Models/CancelScheduledMessageRequest.php b/src/Models/CancelScheduledMessageRequest.php index e8442a8..0edc43d 100644 --- a/src/Models/CancelScheduledMessageRequest.php +++ b/src/Models/CancelScheduledMessageRequest.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Models; diff --git a/src/Models/CheckDeliveryReportsResponse.php b/src/Models/CheckDeliveryReportsResponse.php index fa611b8..b758d35 100644 --- a/src/Models/CheckDeliveryReportsResponse.php +++ b/src/Models/CheckDeliveryReportsResponse.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Models; diff --git a/src/Models/CheckRepliesResponse.php b/src/Models/CheckRepliesResponse.php index 5cadefc..cf52cf0 100644 --- a/src/Models/CheckRepliesResponse.php +++ b/src/Models/CheckRepliesResponse.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Models; diff --git a/src/Models/ConfirmDeliveryReportsAsReceivedRequest.php b/src/Models/ConfirmDeliveryReportsAsReceivedRequest.php index 4ebac95..2d5c2be 100644 --- a/src/Models/ConfirmDeliveryReportsAsReceivedRequest.php +++ b/src/Models/ConfirmDeliveryReportsAsReceivedRequest.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Models; diff --git a/src/Models/ConfirmDeliveryReportsAsReceivedRequest11.php b/src/Models/ConfirmDeliveryReportsAsReceivedRequest11.php index 6cb67ce..c3d72ee 100644 --- a/src/Models/ConfirmDeliveryReportsAsReceivedRequest11.php +++ b/src/Models/ConfirmDeliveryReportsAsReceivedRequest11.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Models; diff --git a/src/Models/ConfirmRepliesAsReceivedRequest.php b/src/Models/ConfirmRepliesAsReceivedRequest.php index c8666e0..01a4ebf 100644 --- a/src/Models/ConfirmRepliesAsReceivedRequest.php +++ b/src/Models/ConfirmRepliesAsReceivedRequest.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Models; diff --git a/src/Models/ConfirmRepliesAsReceivedRequest8.php b/src/Models/ConfirmRepliesAsReceivedRequest8.php index c19c711..2ee18a1 100644 --- a/src/Models/ConfirmRepliesAsReceivedRequest8.php +++ b/src/Models/ConfirmRepliesAsReceivedRequest8.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Models; diff --git a/src/Models/SendMessagesRequest.php b/src/Models/SendMessagesRequest.php index f2e60f8..fc3ef9c 100644 --- a/src/Models/SendMessagesRequest.php +++ b/src/Models/SendMessagesRequest.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Models; diff --git a/src/Models/SendMessagesResponse.php b/src/Models/SendMessagesResponse.php index 0e2097d..a2aa4e2 100644 --- a/src/Models/SendMessagesResponse.php +++ b/src/Models/SendMessagesResponse.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Models; diff --git a/tests/Controllers/DeliveryReportsControllerTest.php b/tests/Controllers/DeliveryReportsControllerTest.php index 100a007..370c826 100644 --- a/tests/Controllers/DeliveryReportsControllerTest.php +++ b/tests/Controllers/DeliveryReportsControllerTest.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Tests; diff --git a/tests/Controllers/MessagesControllerTest.php b/tests/Controllers/MessagesControllerTest.php index 833c88c..4231fe1 100644 --- a/tests/Controllers/MessagesControllerTest.php +++ b/tests/Controllers/MessagesControllerTest.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Tests; diff --git a/tests/Controllers/RepliesControllerTest.php b/tests/Controllers/RepliesControllerTest.php index db82a61..38f0f55 100644 --- a/tests/Controllers/RepliesControllerTest.php +++ b/tests/Controllers/RepliesControllerTest.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Tests; diff --git a/tests/HttpCallBackCatcher.php b/tests/HttpCallBackCatcher.php index c31b437..a3e38e6 100644 --- a/tests/HttpCallBackCatcher.php +++ b/tests/HttpCallBackCatcher.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Tests; diff --git a/tests/TestHelper.php b/tests/TestHelper.php index b5dea33..084d898 100644 --- a/tests/TestHelper.php +++ b/tests/TestHelper.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ namespace MessageMediaMessagesLib\Tests; diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 18dd854..e661b13 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -2,7 +2,6 @@ /* * MessageMediaMessages * - * This file was automatically generated for MessageMedia by APIMATIC v2.0 ( https://apimatic.io ). */ /**