Run 50 amp capable 3 phase cable to the wall adaptor location, even if only to a cut-off switch and then single phase to the wall adaptor because you may want 3 phase charging later. It is important to read the instruction manual for the wall adaptor. You need a 40 amp breaker if you want to run it at 32 amps which is what I have done. I also ran three phase cables. I will upgrade to a three phase adaptor when the long lead units are available.
If you want to charge at 40 amps you need to put in a 50 amp breaker and thick cable, the thicker the better, certainly 6mm. But put in three phase cabling into the wall if you're building. If you buy another Tesla later as a second car you're probably going to want a pair of three phase wall adaptors to share the load across the phases. They cooperate to do this efficiently.