Two Iranian generals and five officers were killed in the strike, Syrian and Iranian officials allege.