[TIMOB-16617] Fixed bug with deploy type not being set in the api usage event.