DefaultApi class
Constructors
-
DefaultApi(Dio _dio, Serializers _serializers)
-
const
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
appinfoGet({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<AppInfo>>
-
Get supported App info
Get supported App info
-
carriersGet({String? tenantId, String? name, int? page, CarrierType? type, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<Carrier>>>
-
List all Carriers
List all Carriers
-
carriersIdGet({required String id, String? tenantId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Carrier>>
-
Get carrier details
Get carrier details
-
carriersIdPut({required String id, Carrier? carrier, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Carrier>>
-
Update an existing carrier
Update an existing carrier
-
carriersPost({Carrier? carrier, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Carrier>>
-
Create a new Carrier
Create a new Carrier
-
customersGet({String? tenantId, String? name, int? page, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<Customer>>>
-
List all Customers
List all Customers
-
customersIdGet({required String id, String? tenantId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Customer>>
-
Get customer details
Get customer details
-
customersIdPut({required String id, Customer? customer, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Customer>>
-
Update an existing customer
Update an existing customer
-
customersPost({Customer? customer, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Customer>>
-
Create a new Customer
Create a new Customer
-
healthGet({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<void>>
-
Get server health
Get server health status
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
ordersGet({String? tenantId, int? page, String? customerId, String? serialNumber, OrderStatus? status, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<Order>>>
-
List all Orders
List all Orders
-
ordersIdGet({required String id, String? tenantId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Order>>
-
Get order details
Get order details
-
ordersIdPut({required String id, Order? order, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Order>>
-
Update an existing order
Update an existing order
-
ordersPost({Order? order, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Order>>
-
Create a new Order
Create a new Order
-
selfDeviceRegisterPost({DeviceId? deviceId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<void>>
-
Register the device for the user
Register the device for the user
-
selfDeviceRemovePost({DeviceId? deviceId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<void>>
-
Remove the device for the user
Remove the device for the user
-
selfGet({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<User>>
-
Get details of the logged in user
Get details of the logged in user
-
selfTenantGet({CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Tenant>>
-
Get tenant details of the logged in user
Get tenant details of the logged in user
-
shipmentsGet({String? tenantId, String? orderId, String? carrierId, int? page, String? driverId, String? serialNumber, ShipmentType? type, ShipmentStatus? status, ShipmentSize? size, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<Shipment>>>
-
List all Shipments
List all Shipments
-
shipmentsIdGet({required String id, String? tenantId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Shipment>>
-
Get shipment details
Get shipment details
-
shipmentsIdPut({required String id, Shipment? shipment, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Shipment>>
-
Update an existing shipment
Update an existing shipment
-
shipmentsPost({Shipment? shipment, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Shipment>>
-
Create a new Shipment
Create a new Shipment
-
tenantsGet({String? name, int? page, TenantType? type, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<Tenant>>>
-
List all tenants
List all tenants
-
tenantsIdGet({required String id, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Tenant>>
-
Get tenant details
Get tenant details
-
tenantsIdPut({required String id, Tenant? tenant, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Tenant>>
-
Update an existing tenant
Update an existing tenant
-
tenantsPost({Tenant? tenant, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Tenant>>
-
Create a new tenant
Create a new tenant
-
terminalsGet({String? tenantId, int? page, String? name, TerminalType? type, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<Terminal>>>
-
List all Terminals
List all Terminals
-
terminalsIdGet({required String id, String? tenantId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Terminal>>
-
Get terminal details
Get terminal details
-
terminalsIdPut({required String id, Terminal? terminal, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Terminal>>
-
Update an existing terminal
Update an existing terminal
-
terminalsPost({Terminal? terminal, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<Terminal>>
-
Create a new Terminal
Create a new Terminal
-
toString()
→ String
-
A string representation of this object.
inherited
-
usersGet({String? tenantId, int? page, String? name, UserRole? role, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<BuiltList<User>>>
-
List all users
List all users
-
usersIdDelete({required String id, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<void>>
-
Delete the user
Delete the user
-
usersIdGet({required String id, String? tenantId, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<User>>
-
Get user details
Get user details
-
usersIdPut({required String id, User? user, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<User>>
-
Update an existing user
Update an existing user
-
usersPost({User? user, CancelToken? cancelToken, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress})
→ Future<Response<User>>
-
Create a new user
Create a new user