Employee
No description
type Employee {
abbreviation: Abbreviation!
absences(
year: Date
): [AbsenceData!]
archivedOn: Date
attendanceOverview(
month: Date
): AttendanceOverview!
careTeams: [CareTeam!]!
comment: String
contracts: [EmployeeContract!]
currentQualification: EmployeeQualification!
emergencyContact: String
emergencyPhone: String
employeeNumber: String!
hasDrivingLicence: Boolean
id: EmployeeID!
importedFromHrWorks: Boolean!
isArchived: Boolean!
isBlockedForLateDuty: Boolean!
isBlockedForNightDuty: Boolean!
learnedProfession: String!
lendingAssignments(
month: Date!
): [LendingAssignment!]!
lifetimeEmploymentNumber: String
overtime(
year: Date
): OvertimeData!
qualificationHistory: [EmployeeQualification!]!
residentialPark: ResidentialPark!
self: PersonalData!
supplementQualifications: [SupplementQualification!]!
totalOvertime: Float!
tours(
input: EmployeeTourFilterInput
): [TargetTour!]!
user: User
warnings: [String!]!
workspaces: [ApartmentGroup]!
}
Fields
Employee.abbreviation ● Abbreviation! non-null object
The abbreviation of the employee as text and image.
Employee.absences ● [AbsenceData!] list object
Fetches all absence data for the given employee for a given year for all existing absence types Year is optional. If not provided, the data is fetched for the current year
Employee.absences.year ● Date scalar
Employee.archivedOn ● Date scalar
The date when the employee has been archived (Optional, valid only for archived employees)
Employee.attendanceOverview ● AttendanceOverview! non-null object
Fetches data for all employee absences/attendances/breaks for a given month. If no month provided, the current one is used
Employee.attendanceOverview.month ● Date scalar
Employee.careTeams ● [CareTeam!]! non-null object
(Empty) if the employee is not assigned to any care team.
Employee.comment ● String scalar
A comment related to the employee.
Employee.contracts ● [EmployeeContract!] list object
A list of all contracts created for the given employee
Employee.currentQualification ● EmployeeQualification! non-null object
Highest valid qualification of the employee.
Employee.emergencyContact ● String scalar
Name of the additional emergency contact person of this employee.
Employee.emergencyPhone ● String scalar
Phone number of the additional emergency contact person of this employee.
Employee.employeeNumber ● String! non-null scalar
External identifier of the employee. (NN. unique)
Employee.hasDrivingLicence ● Boolean scalar
Indicates if the employee has driving licence
Employee.id ● EmployeeID! non-null scalar
Unique identifier of the employee.
Employee.importedFromHrWorks ● Boolean! non-null scalar
Whether the HR WORKS synchronisation created this employee. The data HR WORKS owns (core data,
contact data, qualifications, contracts, archiving, deletion) cannot be changed in HuskyCare for
such an employee; mutations changing it are refused with HRWORKS_RECORD_IMPORTED. Data
HuskyCare maintains, such as the abbreviation, stays editable.
Employee.isArchived ● Boolean! non-null scalar
Shows if the employee is currently active or has been archived
Employee.isBlockedForLateDuty ● Boolean! non-null scalar
If an employee is blocked for late duty, the employee is not allowed to work on late shifts.
Employee.isBlockedForNightDuty ● Boolean! non-null scalar
If an employee is blocked for night duty, the employee is not allowed to work on night shifts.
Employee.learnedProfession ● String! non-null scalar
Learned profession of the employee.
Should not be used to determinate ANY skills; use Employee.currentQualification for that purpose.
Employee.lendingAssignments ● [LendingAssignment!]! non-null object
The tours this employee takes over in other parks in the given month.
Employee.lendingAssignments.month ● Date! non-null scalar
Month of the assignments. Date is always the first of the month.
Employee.lifetimeEmploymentNumber ● String scalar
Lifetime employment number of the employee, a nine-digit number
Employee.overtime ● OvertimeData! non-null object
Fetch the overtime hours from Odoo for a year using a reference date. If no input provided, the current year is used.
Employee.overtime.year ● Date scalar
Employee.qualificationHistory ● [EmployeeQualification!]! non-null object
History of all associated qualifications.
Employee.residentialPark ● ResidentialPark! non-null object
The residential park the employee is working in.
Employee.self ● PersonalData! non-null object
Personal information about this employee.
Employee.supplementQualifications ● [SupplementQualification!]! non-null object
List of additional supplement qualifications.
Employee.totalOvertime ● Float! non-null scalar
Total overtime of the employee
Employee.tours ● [TargetTour!]! non-null object
Fetches all tours of an employee by their date or calendar week
Employee.tours.input ● EmployeeTourFilterInput input
Employee.user ● User object
The user connected to this employee. Null, if there is no user assigned yet.
Employee.warnings ● [String!]! non-null scalar
Indicating incomplete data on the employee.
Employee.workspaces ● [ApartmentGroup]! non-null object
The assigned apartment groups the employee preferable works in.
Returned By
addEmployeeQualification mutation ● addEmployeeSupplementQualification mutation ● availableEmployees query ● createEmployee mutation ● deleteEmployeeSupplementQualification mutation ● editEmployeeSupplementQualificationDates mutation ● employee query ● employees query ● mainShiftEmployee query ● setEmployeeCareTeams mutation ● setEmployeeWorkspaces mutation ● updateEmployeeComment mutation ● updateEmployeeContactData mutation ● updateEmployeeCoreData mutation
Member Of
AbsenceShiftElement object ● ActiveTour object ● ApartmentGroup object ● BloodPressure object ● BloodSugar object ● CareTeam object ● Client object ● Comment object ● CompletedActionPlan object ● DemiseIncidentReport object ● DraftActionPlan object ● EmployeeContract object ● EmployeeDirectoryEdge object ● EmployeeRecord object ● EmployeeShiftEntry object ● FixedShiftElement object ● FluidExport object ● FluidIntake object ● Job interface ● LeaveAllocation object ● LendingOffer object ● MoveEmployeeToResidentialParkPayload object ● OxygenSaturation object ● Pulse object ● ReportSheetEntry object ● ResidentialPark object ● ShiftElement interface ● SocialCare object ● SocialFactoringUpload object ● StructuredInformation object ● SuitableLendingEmployee object ● TargetTour object ● TaskShiftElement object ● Temperature object ● Tour interface ● TourRouteOptimizationJob object ● TourShiftElement object ● User object ● VitalSign interface ● Weight object