SONARPLUGINS-3810 Update to SQ API 3.7 and fix deprecations