public function applyMapping($params, $mapping)
    {
        $newParams = [];

        foreach ($params as $key => $value) {
            $newParams[$mapping[$key]] = $value;
        }

        return $newParams;
    }