I don't know what to say right now, but be aware more in the future:
make sure no lights or electronics stay on after you lock the car
ask the dealer to check the battery connections
after they fix it, keep an on eye how the battery performs over the next week or so.
Hopefully, it won't happen...