#pragma once

#include <yandex/maps/wiki/social/task.h>

namespace maps::wiki::social::tasks {

TaskIds
closeResolvedTasksByTaskIds(
    pqxx::transaction_base& work,
    TUid uid,
    CloseResolution resolution,
    const TaskIds& taskIds);

TaskIds
closeByTaskIds(
    pqxx::transaction_base& work,
    TUid uid,
    TIds taskIds,
    ResolveResolution resolveResolution,
    CloseResolution closeResolution);

TaskIds
closeEditsByCommitIds(
    pqxx::transaction_base& work,
    TUid uid,
    const TIds& commitIds,
    ResolveResolution resolveResolution,
    CloseResolution closeResolution);

} // namespace maps::wiki::social::tasks
