<?php  namespace App\Services\ClientSurveys;  use App\Models\Admin; use App\Models\Answer; use App\Models\Client; use App\Models\Survey; use App\Models\Question; use App\Enums\SurveyType; use App\Models\Applicant; use App\Enums\CompanySize; use Illuminate\Support\Arr; use Illuminate\Support\Str; use App\Enums\QuestionClass; use App\Models\ClientSurvey; use Illuminate\Http\Request; use App\Enums\DomainLanguages; use App\Enums\ClientSurveyType; use Illuminate\Validation\Rule; use App\Enums\ClientSurveyStatus; use Illuminate\Http\JsonResponse; use Illuminate\Support\Collection; use Illuminate\Support\Facades\DB; use App\Http\Requests\GetPulsReport; use App\Models\ApplicantSurveyQuestionOrder; use App\Rules\CheckPulsPickedQuestionCountInLimits;  class ClientSurveyService { 	public static function checkIfAdminIsEditing(): bool 	{ 		return auth()->user()->user instanceof Admin; 	}  	public function handleDemographicQuestions(Request $request, ClientSurvey $survey): void{}  	public function setAnsweringType(ClientSurvey $client_survey): void{}  	public function toggleRelevancyOnOtherSurveys(ClientSurvey $client_survey): void{}  	public function checkForPuls(Client $client, Request $request): bool{}  	public function checkPulsQuestions(Request $request): bool{}  	public function setClientSurveyCompanySize(ClientSurvey $client_survey): void{}  	public function createClientSurvey(Request $request, Client $client): ClientSurvey{}  	public function createPulsClientSurvey(Request $request, Client $client): ClientSurvey{}  	public function handleLocationsAndDepartmentCreation(Request $request, ClientSurvey $survey): void{}  	public function handleLocationsAndDepartmentUpdate(Request $request, ClientSurvey $survey): void{}  	public function handleLocationsAndDepartmentDeletion(Request $request, ClientSurvey $survey): void{}  	public function handleExtraAndDemographicQuestions(Request $request, ClientSurvey $survey): void{}  	public function handlePulsQuestionsApi(Request $request, ClientSurvey $survey): void{}  	public function handlePulsQuestions(Request $request, ClientSurvey $survey): void{}  	public function handleQuestionScrambling(ClientSurvey $client_survey): void{}  	public function canEditSurvey(ClientSurvey $survey, Client $client): bool{}  	public function updateClientSurvey(ClientSurvey $survey, Request $request, Client $client): ClientSurvey{}  	public function updatePulsClientSurvey(ClientSurvey $survey, Request $request, Client $client): ClientSurvey{}  	public function handleApplicantDeletion(ClientSurvey $client_survey, array $emails, int $current_offline_count, int $offline_applicants_count, int $current_online_count, int $online_applicants_count): void{}  	public function handleApplicantCreation(ClientSurvey $client_survey, array $emails, int $current_offline_count, int $offline_applicants_count, int $online_applicants_count, ?string $single_code = null, ?array $email_languages = []): void{}  	public function handleApplicantCodesIfMultipleCodesBooleanChanged(ClientSurvey $client_survey, ?string $single_code = null): void{}  	public function getClientSurveyApplicantsAndQuestionsWithFilters(ClientSurvey $client_survey, Request $request): ClientSurvey{}  	public function calculateClientSurveyQuestionsAverageScore(array $questions_ids, array $applicant_ids): Collection{}  	public function checkIsCodeValid(string $code, ?DomainLanguages $locale = null): bool{}  	public function cancelSurvey(ClientSurvey $client_survey): JsonResponse{}  	public function changeSurveyToPending(ClientSurvey $client_survey): void{}  	public function checkIfBenchmarkSurveyGenerationIsPossible(ClientSurvey $client_survey, Request $request): void{}  	public function checkIfSurveyGenerationIsPossible(ClientSurvey $client_survey, Request $request): void{}  	public function checkIfSurveyBelongsToUser(ClientSurvey $client_survey, Request $request): void{}  	public function getQuestionnairePreviewUrl(ClientSurvey $client_survey): string{}  	public function getClientSurveysFilteredApllicants(ClientSurvey $client_survey, GetPulsReport $request): ClientSurvey{}  	public function calculateDataForIzzPulsReminderEmail(ClientSurvey $client_survey): array{} }