EmployeesApi class
Methods
-
addVacationDay(NewVacationDayModel model, {required Object authorization})
→ Future<VacationDay>
-
Parameters:
-
createEmployee(NewEmployeeModel employeeModel, {required Object authorization})
→ Future<EmployeeModel>
-
Parameters:
-
getEmployee(int employeeId, {required Object authorization})
→ Future<EmployeeModel>
-
Parameters:
-
getEmployees(String organization, {Object? user})
→ Future<List<EmployeeModel>>
-
Parameters:
-
getServices(int employeeId, {Object? authorization})
→ Future<EmployeeServicesModel?>
-
Parameters:
-
getVacationDays(int employeeId, int year, {required Object authorization})
→ Future<VacationSummary>
-
Parameters:
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
removeVacationDay(VacationDay model, {required Object authorization})
→ Future<void>
-
Parameters:
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateEmployee(UpdateEmployeeModel employee, {required Object authorization})
→ Future<void>
-
Parameters:
-
validatePin(EmployeePin pin, {Object? user})
→ Future<Authentication>
-
Parameters: