diff --git a/src/Controllers/CdrsController.php b/src/Controllers/CdrsController.php index 20e48e3..eae8705 100755 --- a/src/Controllers/CdrsController.php +++ b/src/Controllers/CdrsController.php @@ -54,7 +54,7 @@ public function createCdrsFileRequest ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -88,7 +88,7 @@ public function getCdrsFiles () throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -128,7 +128,7 @@ public function getCdrsFile ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } } \ No newline at end of file diff --git a/src/Controllers/ConfigurationController.php b/src/Controllers/ConfigurationController.php index 71508e2..2aebffe 100755 --- a/src/Controllers/ConfigurationController.php +++ b/src/Controllers/ConfigurationController.php @@ -47,7 +47,7 @@ public function createConfiguration ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -97,7 +97,7 @@ public function getCapacityGroups ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -134,7 +134,7 @@ public function updateCapacityGroup ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -176,7 +176,7 @@ public function deleteCapacityGroup ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -232,7 +232,7 @@ public function getFaxUris ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -269,7 +269,7 @@ public function updateFaxUri ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -311,7 +311,7 @@ public function deleteFaxUri ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -367,7 +367,7 @@ public function getVoiceUris ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -404,7 +404,7 @@ public function updateVoiceUri ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -446,7 +446,7 @@ public function deleteVoiceUri ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -480,7 +480,7 @@ public function getPop () throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -514,7 +514,7 @@ public function getSmsLinkGroups () throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -551,7 +551,7 @@ public function updateSmsLinkGroup ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -594,7 +594,7 @@ public function deleteSmsLinkGroup ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -644,7 +644,7 @@ public function getSmsLinks ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -681,7 +681,7 @@ public function updateSmsLink ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -723,7 +723,7 @@ public function deleteSmsLink ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -764,7 +764,7 @@ public function getVoiceUri ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -805,7 +805,7 @@ public function getCapacityGroup ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -846,7 +846,7 @@ public function getFaxUri ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -887,7 +887,7 @@ public function getSmsLink ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -928,7 +928,7 @@ public function newSmsLink ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } } \ No newline at end of file diff --git a/src/Controllers/InventoryController.php b/src/Controllers/InventoryController.php index d6fb8a2..ff41d9c 100755 --- a/src/Controllers/InventoryController.php +++ b/src/Controllers/InventoryController.php @@ -99,7 +99,7 @@ public function getDids ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -133,7 +133,7 @@ public function getCreditPackages () throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -201,7 +201,7 @@ public function getDidgroups ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -242,7 +242,7 @@ public function getRestrictions ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -283,7 +283,7 @@ public function getStates ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -317,7 +317,7 @@ public function getTrunks () throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -351,7 +351,7 @@ public function getZones () throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -385,7 +385,7 @@ public function getFeatures () throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -435,7 +435,7 @@ public function getCountries ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -476,7 +476,7 @@ public function getCountry ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } } \ No newline at end of file diff --git a/src/Controllers/OrderingController.php b/src/Controllers/OrderingController.php index 914dbd2..79894e6 100755 --- a/src/Controllers/OrderingController.php +++ b/src/Controllers/OrderingController.php @@ -44,7 +44,7 @@ public function getAccountBalance () throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -81,7 +81,7 @@ public function updateCart ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -125,7 +125,7 @@ public function createCartProduct ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -172,7 +172,7 @@ public function getCarts ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -219,7 +219,7 @@ public function createCartProductRemove ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -261,7 +261,7 @@ public function deleteCart ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -302,7 +302,7 @@ public function getCartCheckout ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -361,7 +361,7 @@ public function getOrders ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -398,7 +398,7 @@ public function createCancel ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -439,7 +439,7 @@ public function getCartDetails ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -480,7 +480,7 @@ public function getCart ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } } \ No newline at end of file diff --git a/src/Controllers/RegulationController.php b/src/Controllers/RegulationController.php index a1a0613..063c7ca 100755 --- a/src/Controllers/RegulationController.php +++ b/src/Controllers/RegulationController.php @@ -58,7 +58,7 @@ public function address ( if (($response->code < 200) || ($response->code > 206)) { //[200,206] = HTTP OK throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } @@ -101,7 +101,7 @@ public function deleteAddress ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -142,7 +142,7 @@ public function getAddress ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -219,7 +219,7 @@ public function getAddresses ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -263,7 +263,7 @@ public function addressLink ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -300,7 +300,7 @@ public function addressUnlink ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -349,7 +349,7 @@ public function getZipcode ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -394,7 +394,7 @@ public function addressProof ( if (($response->code < 200) || ($response->code > 206)) { //[200,206] = HTTP OK throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } @@ -437,7 +437,7 @@ public function addressVerification ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } /** @@ -488,7 +488,7 @@ public function getAddressValidation ( throw new APIException("HTTP Response Not OK", $response->code); } - return $response->body; + return $response; } }