public function codeValidityCheck(Domain $domain, CheckApplicantCode $request): JsonResponse 	{ 		$code = $request->code;  		$clientSurveyService = new ClientSurveyService;  		return response()->json([ 			'data' => [ 				'is_code_valid' => $clientSurveyService->checkIsCodeValid($code, $request->enum('language', DomainLanguages::class)), 			], 		]); 	}