The adventures of two dogs on Seaton Carew beach have proved the inspiration for a joyful new children’s book.