“Various officers” were assaulted across North Yorkshire on New Year’s Eve, police said.