export const transformCustomNumberRangeFilterToWQL = (filterName, filterValue) => {
    const numberRangeWQLFilters = [];
    if (filterValue.from) {
        numberRangeWQLFilters.push({
            [filterName]: { $gte: filterValue.from },
        });
    }
    if (filterValue.to) {
        numberRangeWQLFilters.push({
            [filterName]: { $lte: filterValue.to },
        });
    }
    return numberRangeWQLFilters;
};
//# sourceMappingURL=transformCustomNumberRangeFilterToWQL.js.map