[QUE] Error when trying to add event

I am trying to add a event to my mod, Game Dev Tycoon: Platforms, Topics, Events OH MY; and I keep getting this error:

  1. Cannot read property ‘notification’ of

Code for event:

venomousmodAPI.addEvent = function () {	 
var eventId = "F413351E-2108-4967-A989-A7E98D4DEED5";

var event = {
	id: eventId,
	isRandom: true, 
	maxTriggers: 1,
	trigger: function (company) {
		
	return company.currentLevel == 1 && company.isGameProgressBetween(0.2, 0.9);
	},
	
	getNotification: function (company) {
		var game = company.currentGame;

		var msg = "A huge thunderstorm has hit the city, while you were working on your game in the garage {0}. The thunderstorm smashed a huge hole into the garage's roof. {n} The rain from the storm has ruined your work on the game. You witness the destruction, and you get super angry!\nHow do you want to react to the destruction?\n\nYou could start the game over from scratch, ignore the destruction and work around it, or redo the design."
			.localize().format(game.title);
		
		company.adjustHype(-5 - 15 * company.getRandom());

		return new Notification({
			sourceId: eventId,
			header: "Thunderstorm Destruction".localize(),
			text: msg,
			options: ["Start game over from scratch", "Ignore destruction", "Redo design"]
		});
	},
	complete: function (decision) {
	
		var company = GameManager.company;

		if (decision === 0) {
			
			var n = new Notification({
				header: "Thunderstorm Destruction".localize(),
				text: "You start the game over from scratch, and you redo every design for the game."
			});
			n.adjustHype(-5 - 15 * company.getRandom());
			
			company.activeNotifications.addRange(n.split()); 
			return;
		}
		if (decision === 1) {
			
			var n = new Notification({
				header: "Thunderstorm Destruction".localize(),
				text: "You have ignored the destruction of the thunderstorm. You try to work around the wet parts of the game design documents.\nUnfortunately you have to recreate the documents, because you got so frustrated. (-500 cr.) - This might have been a terrible mistake",
				weeksUntilFired: 1 + 2 * company.getRandom()
			});
			n.adjustCash(-500, "restoring documents");
			company.notifications.push(n);
			return;
		}
		if (decision === 2) {
			var n = new Notification({
				header: "Thunderstorm Destruction".localize(),
				text: "You redo the design for your game. You work on the game design super hard, so you can still release your game on time."
			});
			n.adjustHype(15 + 25 * company.getRandom());
			company.activeNotifications.addRange(n.split()); 
			return;
			}
		}
	}
};

GDT.addEvent(event);