I've done this both ways. When I worked for the DOT we considered all lateral forces (wind, temperature, braking, stream, ice, etc.) as being applied to the piles with fixed heads in the direction perpendicular to the beams (or slab spans) and with a free head in the direction of the spans.
Now as a consultant, and using RC-Pier instead of a spreadsheet, all of the force to the piles are assumed purely vertical. RC-Pier's explanation is "Please note the analysis is based on the assumption that the cap is infinitely rigid which results into only axial forces in the piles."
This seems completely absurd to me. The piles are C-I-P piles without a rebar cage. Only the steel shell will be effective in bending.
At the DOT we limited pile bents to a maximum pile length of about 25-30' since the bending will become so large from lateral forces. Now I am seeing a design with 100' long piles.
Does the flexibility of the piles and the stiffness of the cap really merit an infinitely rigid assumption?