timesheets library
The v4 timesheets family: its endpoints, bound class, path templates and views.
Import it with a prefix, import 'package:exsited/timesheets.dart' as timesheets;,
because families declare the same top-level names and a Dart export can
neither rename nor prefix them.
Classes
- Timesheet
- The timesheet body.
- TimesheetCreatedBy
-
A Timesheet's
created_by. - TimesheetLabour
-
A Timesheet's
labour. - TimesheetLastUpdatedBy
-
A Timesheet's
last_updated_by. - TimesheetList
- A page of Timesheet records.
- Timesheets
-
What
createTimesheetanswers, undertimesheet. - TimesheetsActivityLog
-
One entry of a Timesheets's
activity_logs. - TimesheetSaleOrder
-
A Timesheet's
sale_order. - TimesheetSaleOrderItem
-
A Timesheet's
sale_order_item. - TimesheetsCreatedBy
-
A Timesheets's
created_by. - TimesheetsLabour
-
A Timesheets's
labour. - TimesheetsLastUpdatedBy
-
A Timesheets's
last_updated_by. - TimesheetsResource
- The timesheets endpoints with client already applied.
- TimesheetsSaleOrder
-
A Timesheets's
sale_order. - TimesheetsSaleOrderItem
-
A Timesheets's
sale_order_item. - TimesheetsUrls
Functions
-
createTimesheet(
ExsitedClient client, Object payload, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< Timesheets> > -
POST /api/{api_version}/timesheets -
deleteTimesheet(
ExsitedClient client, Object createdTimesheetId, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< Object?> > -
DELETE /api/{api_version}/timesheets/{timesheet_id} -
getTimesheet(
ExsitedClient client, Object timesheetId, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< Timesheets> > -
GET /api/{api_version}/timesheets/{timesheet_id} -
getTimesheets(
ExsitedClient client, {Map< String, Object?> ? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse< TimesheetList> > -
GET /api/{api_version}/timesheets -
updateTimesheet(
ExsitedClient client, Object createdTimesheetId, Object payload, {bool? raiseOnError, String? responseFormat}) → Future< ApiResponse< Timesheets> > -
PATCH /api/{api_version}/timesheets/{timesheet_id}