approvals library

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

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

Classes

ApprovalsAccount
The approvals account body.
ApprovalsAccountList
A page of ApprovalsAccount records.
ApprovalsResource
The approvals endpoints with client already applied.
ApprovalsSaleorder
The approvals saleorder body.
ApprovalsUrls

Functions

approveApproval(ExsitedClient client, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/approvals/approve
getApprovalsAccount(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<ApprovalsAccountList>>
GET /api/{api_version}/approvals/account
getApprovalsAccountByUuid(ExsitedClient client, Object accountUuid, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
GET /api/{api_version}/approvals/account/{account_uuid}
getApprovalsSaleorder(ExsitedClient client, {Map<String, Object?>? queryParams, bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<ApprovalsSaleorder>>
GET /api/{api_version}/approvals/saleOrder
rejectApproval(ExsitedClient client, Object payload, {bool? raiseOnError, String? responseFormat}) → Future<ApiResponse<Object?>>
POST /api/{api_version}/approvals/reject