Hello and welcome! This is a building CODE forum, people tend to respond based on code minimums, not on best practices.
You did not say in what city of state your bathroom is located, so it's hard to say what the applicable code would be.
When a floor area is served by a floor drain, many model plumbing codes require the floor to slope towards the drain. But in your case, it sounds like the only drain is inside the shower, and the rest of the bathroom floor has no additional floor drain. So your main question seems to be, does any building code require the contractor to build the floor to be level?
To my knowledge, no.
Even in bathrooms that are required by code to be wheelchair accessible, the code allows the floors to slope up to 1" vertical in 48" horizontal.
If the lack of levelness is due to deflection (weight causing the floor joists to sag), the maximum structural deflection allowed by code = length of span/240, which is about 1/4" in 32" as measured parallel to joists.
It is not unusual for homes, especially older homes, so settle or have framing sag and become less than perfectly level. If you only contracted for subfloor and a thinset tile, chances are that the framing under the subfloor was already sloping to begin with. It would be very unusual for a tile contractor to have created that slope due to bad workmanship.
If you wanted to make sure it was dead level prior to tile installation, you would have needed to handle that via contract, not via code enforcement.
2 options:
1. You could have contracted to have a self-leveling compound installed on top of the subfloor, prior to tile installation.
2. You could have written into the contract that the contractor is responsible to provide a straight and level finished floor surface, then let them figure out how to do it.
The "Handbook of Construction Tolerances" by David Kent Ballast recommends that for both the framing and the mortar bed, maximum allowable tolerance is 1/4" vertical in 10' horizontal, both as a variation from an imaginary horizontal/level line and a variation from itself ("waviness").
Again, because that is not a code requirement, the only way you can enforce this is to specify it as part of the contract documents.
Several years ago I remodeled my own bathroom in a 75 year old home. I didn't consider putting in a self-leveling bed - - there were too many other things going on, and I was distracted. After laying the floor tile (Forbo linoleum tiles), I realized the floor had a ridge in the middle almost 1/2" higher than the ends of the room. After much deliberation, I scribed the wood baseboard so that the bottom follows the rise of the floor, and the top of the baseboard stays dead level. It worked out fine, and no one ever notices it, even when sitting on the can and staring at it for a long time. Had I tried to bend the baseboard to follow the floor, the top would have curved and it would have been obvious.