you can get the negative wiring from battery to car as a replacement kit from dealer. this one is separate and cost like $50 or so.
the positive wiring is part of HUGE wiring harness for all fuse boxes, head lights, fans, ac, abs, srs sensors and bunch of other stuff, so you will need to replace most likely the fusible links that are directly both connected to terminal connector (the flat one that mounts over actual battery terminal on positive post) one one end and crimped on car wiring harness (leading to main fuse box) on other end.
you won't be able to buy those wiring replacements (positive side) from dealer, i've tried. they will tell you it's a part of whole big harness (around $1,400 MSRP for my car) ... BUT, you can buy just new terminal connector (I should have the used one from old harness of my 02 solara V6, matching gen4 camry) and get a replacement fusible links from NAPA, they sell them with many AWG grades, so just match them up and replace both at same time, as they need to be crimped together in connector (flat one on battery side).
on the harness side you can use crimp on butt connectors to car wiring harness, shouldn't be any problem with it.
you will need to match the fusible wire diameter, original OEM are measured in square millimeters (e.g. FL1.25 which I replaced with 12AWG from NAPA "in-line fusible link").
terminals themselves (metal blocks you mount on posts) you can get from dealer easily, refer to
www.toyodiy.com/parts for part numbers on your car.