That I am not 100% sure of, but you never know what excuse they'd try to come up with if you brought it in with an issue with the midpipe swapped out...
Aftermarket parts cannot void factory warranties by law, there was a class action lawsuit about this issue way back in the day. Unless the manufacturer can prove the new parts caused failure, which would require them to pay their mechanics out of pocket to investigate, they must honor their warranty