The court may grant any type of relief, regardless of whether the relief is demanded, appropriate to the proof, and imposing such terms as may be just.
Rios v. Sendowski, NY Slip Op 01977 (1st Dep't March 22, 2022)
Here is the decision.