public function register(RegisterUser $request): JsonResource 	{ 		$user = Customer::create([ 			'surname' => $request->surname, 			'oib' => $request->oib, 			'date_of_birth' => $request->date_of_birth, 			'company_name' => $request->company_name, 			'newsletter' => $request->boolean('newsletter'), 			'club_card' => $request->boolean('club_card'), 		])->authParent()->create([ 			'name' => $request->name, 			'email' => $request->email, 			'password' => $request->password, 			'timezone' => $request->timezone, 			'role_id' => setting('registration_api_role_id'), 			'allow_push_notifications' => false, 		]);  		$oAuthDriver = (string) $request->oauth_driver;  		if ($oAuthDriver && ($oAuthUser = $this->getOAuthUserFromToken($oAuthDriver, $request->oauth_token))) { 			$user->update([ 				$oAuthDriver => $oAuthUser->getId(), 			]); 		}  		$cheeseClub = $user->user->makeCheeseClubMember();  		$user->user->update([ 			'cheese_club_id' => $cheeseClub->id, 		]);  		$user->user->handleReferral($cheeseClub);  		return $user->getModelResource(); 	}