An affidavit is a written declaration made under oath, without notice to the adverse party, before any person authorized to administer oaths within or without the state.