public function index(Domain $domain, GetTermsOfService $request): JsonResource 	{ 		$survey_type = $request->enum('survey_type', SurveyType::class);  		return new TermsOfServiceResource($domain->terms()->includes()->available()->byType($survey_type)->first()); 	}