public function updateOperation($id, $counterId, Models\Operation $operation)
    {
        $resource = 'counter/' . $counterId . '/operation/' . $id;
        $response = $this->sendPutRequest($resource, ["operation" => $operation->toArray()]);
        $operationsResponse = new Models\UpdateOperationResponse($response);
        return $operationsResponse->getOperation();
    }