milestones library

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

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

Classes

Milestones
The milestones body.
MilestonesLabourByIdList
One page of what getMilestonesLabourById lists, under data.
MilestonesResource
The milestones endpoints with client already applied.
MilestonesUrls

Functions

getMilestone(ExsitedClient client, Object milestoneUuid, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
GET /api/{api_version}/milestones/{milestone_uuid}
getMilestones(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Milestones>>
GET /api/{api_version}/milestones
getMilestonesAccountById(ExsitedClient client, Object accountId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Milestones>>
GET /api/{api_version}/milestones/account/{account_id}
getMilestonesEmployeeByCode(ExsitedClient client, Object employeeCode, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Milestones>>
GET /api/{api_version}/milestones/employee/{employee_code}
getMilestonesLabourById(ExsitedClient client, Object labourId, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<MilestonesLabourByIdList>>
GET /api/{api_version}/milestones/labour/{labour_id}