import DatabaseService from "./DatabaseService";
import Model from "../../Models/DatabaseModels/IncidentGroupingRule";
import { IsBillingEnabled } from "../EnvironmentConfig";
export class Service extends DatabaseService {
    constructor() {
        super(Model);
        if (IsBillingEnabled) {
            this.hardDeleteItemsOlderThanInDays("createdAt", 3 * 365); // 3 years
        }
    }
}
export default new Service();
//# sourceMappingURL=IncidentGroupingRuleService.js.map