that sounds like the alternator died - if it started but the lights are dim and went to nothing that is a sure sign, or a massive short. New doesn't mean it can't fail.