Songs on iPod but lost from Library

Purchases were lost when fixing an early version of an iPod. They exist on the iPod but not in the library .... are they transferabale back from iPod to Library? How can you achieve this?
In iTunes, you can connect the iPod and transfer purchases... Or, you can go to your purchased items section in iTunes, select 'not in my library' and download them.

Original thread: https://forums.imore.com/threads/songs-on-ipod-but-lost-from-library.319895/