Skip to content
This repository was archived by the owner on Mar 2, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Controllers/CdrsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function createCdrsFileRequest (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -88,7 +88,7 @@ public function getCdrsFiles ()
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -128,7 +128,7 @@ public function getCdrsFile (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

}
44 changes: 22 additions & 22 deletions src/Controllers/ConfigurationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function createConfiguration (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -97,7 +97,7 @@ public function getCapacityGroups (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -134,7 +134,7 @@ public function updateCapacityGroup (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -176,7 +176,7 @@ public function deleteCapacityGroup (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -232,7 +232,7 @@ public function getFaxUris (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -269,7 +269,7 @@ public function updateFaxUri (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -311,7 +311,7 @@ public function deleteFaxUri (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -367,7 +367,7 @@ public function getVoiceUris (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -404,7 +404,7 @@ public function updateVoiceUri (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -446,7 +446,7 @@ public function deleteVoiceUri (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -480,7 +480,7 @@ public function getPop ()
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -514,7 +514,7 @@ public function getSmsLinkGroups ()
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -551,7 +551,7 @@ public function updateSmsLinkGroup (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -594,7 +594,7 @@ public function deleteSmsLinkGroup (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -644,7 +644,7 @@ public function getSmsLinks (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -681,7 +681,7 @@ public function updateSmsLink (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -723,7 +723,7 @@ public function deleteSmsLink (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -764,7 +764,7 @@ public function getVoiceUri (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -805,7 +805,7 @@ public function getCapacityGroup (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -846,7 +846,7 @@ public function getFaxUri (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -887,7 +887,7 @@ public function getSmsLink (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -928,7 +928,7 @@ public function newSmsLink (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

}
20 changes: 10 additions & 10 deletions src/Controllers/InventoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function getDids (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -133,7 +133,7 @@ public function getCreditPackages ()
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -201,7 +201,7 @@ public function getDidgroups (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -242,7 +242,7 @@ public function getRestrictions (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -283,7 +283,7 @@ public function getStates (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -317,7 +317,7 @@ public function getTrunks ()
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -351,7 +351,7 @@ public function getZones ()
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -385,7 +385,7 @@ public function getFeatures ()
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -435,7 +435,7 @@ public function getCountries (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

/**
Expand Down Expand Up @@ -476,7 +476,7 @@ public function getCountry (
throw new APIException("HTTP Response Not OK", $response->code);
}

return $response->body;
return $response;
}

}
Loading