"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PostponedTransactionsRepository = void 0;
const PostponedTransactions_model_1 = require("../models/PostponedTransactions.model");
class PostponedTransactionsRepository {
    async cleanRecalculated(transactionId) {
        await PostponedTransactions_model_1.PostponedTransaction.deleteMany({ transactionId });
    }
    async createPostponedTransaction(postponedTransaction) {
        await PostponedTransactions_model_1.PostponedTransaction.create(postponedTransaction);
    }
}
exports.PostponedTransactionsRepository = PostponedTransactionsRepository;
