You can use truss element to represent equivalent diagonal strut. Yes, you have to provide axial hinge at center. There are different models for strut width according to different conditions of aspect ratios, openings and infill properties. You need to do literature review to select the best model. For instance, Crisafulli and Carr (2007) model can be used for infill with opening
For more information, Refer
Kumar, M., Khalid, F., & Ahmad, N. (2018). MACRO-MODELLING OF REINFORCED CONCRETE FRAME INFILLED WITH WEAK MASONRY FOR SEISMIC ACTION. NED University Journal of Research, 15(1), 15-38.
Nadeem, K., & Mohammad, A. F. RESPONSE OF REINFORCED CONCRETE BUILDING STRUCTURES SUBJECTED TO MULTIPLE SEISMIC SHOCKS.