employees library

The v4 employees family: its endpoints, bound class, path templates and views.

Import it with a prefix, import 'package:exsited/employees.dart' as employees;, because families declare the same top-level names and a Dart export can neither rename nor prefix them.

Classes

Employee
The employee body.
EmployeeContact
One entry of a Employee's contacts.
EmployeeContactCreatedBy
A EmployeeContact's created_by.
EmployeeContactEmail
A EmployeeContact's email.
EmployeeContactName
A EmployeeContact's name.
EmployeeCreatedBy
A Employee's created_by.
EmployeeCustomForm
A Employee's custom_form.
EmployeeLastUpdatedBy
A Employee's last_updated_by.
EmployeeList
A page of Employee records.
EmployeesResource
The employees endpoints with client already applied.
EmployeesUrls

Functions

createEmployee(ExsitedClient client, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Employee>>
POST /api/{api_version}/employees
deleteEmployee(ExsitedClient client, Object employeeId, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
DELETE /api/{api_version}/employees/{employee_id}
getEmployee(ExsitedClient client, Object employeeId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Employee>>
GET /api/{api_version}/employees/{employee_id}
getEmployees(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<EmployeeList>>
GET /api/{api_version}/employees
updateEmployee(ExsitedClient client, Object employeeId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Employee>>
PATCH /api/{api_version}/employees/{employee_id}