The hexagonal one looks like a breather fitting inserted into a fill port, being the larger size.
The round cap looks to seal the chamber with a smaller opening.
I'll double the price waross put on this and say that, for free from someone you have never met and who hasn't seen the motor in person, the top one is to fill it until it runs out the side one.
If you drained it, how much came out and was it cloudy or darker than expected? If it looks good, put it back.
The trickier question is what sort of oil is required. I have a 40 year old can labeled "electric motor oil" for home projects, but no idea what is in it.
It appears to be a product of this company, Merkle-Korff:
They are now part of Nidec, but are still in business. I'm sure a tech support engineer would be delighted to hear about and help with the antique motor. I see you made a reddit post that this is from an old Coca-Cola machine. Fun stuff.
Tel: 847.439.3760
General Email:
mksales@nidec-mk.com
Customer Service Email:
customer.service@nidec-mk.com