def METHOD_NAME(
    min_value: Union[int, float, None] = None,
    max_value: Union[int, float, None] = None,
) -> ExpressionJson:
    return {
        "type": "int-interval",
        "min": to_number_json(min_value if min_value is not None else float("-inf")),
        "max": to_number_json(max_value if max_value is not None else float("inf")),
    }