Перейти к основному содержимому

useEndVacation

@mineflow/client-react


@mineflow/client-react / HR / useEndVacation

Function: useEndVacation()

function useEndVacation(): UseMutationResult<{
birthDate: string | null;
birthPlace: string | null;
email: string | null;
fullName: string;
hasAvatar?: boolean;
hiredAt: string;
id: string;
iin: string | null;
objectId: string | null;
orgNodeId: string | null;
phone: string | null;
positionId: string;
status: PersonnelResponse_OutputStatus;
tabNumber: string;
terminatedAt: string | null;
watchGroup: PersonnelResponse_OutputWatchGroupAnyOf0 | null;
}, Error, {
id: string;
}>;

Defined in: client-react/src/domain-hooks/hr.ts:465

Завершение отпуска сотрудника. Тело не требуется.

Returns​

UseMutationResult<{ birthDate: string | null; birthPlace: string | null; email: string | null; fullName: string; hasAvatar?: boolean; hiredAt: string; id: string; iin: string | null; objectId: string | null; orgNodeId: string | null; phone: string | null; positionId: string; status: PersonnelResponse_OutputStatus; tabNumber: string; terminatedAt: string | null; watchGroup: PersonnelResponse_OutputWatchGroupAnyOf0 | null; }, Error, { id: string; }>