I hope you got a FIRM quote on what they are going to charge you to install it. Firm as written and guaranteed.
The warranty should be 3 years, but that's not even going to be an issue. There have been zero reports of any NEW battery from Toyota failing prematurely. Glad you were able to get the assistance.