// This is a generated file - do not edit. // // Generated from handlingunitInput.proto. // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names // ignore_for_file: curly_braces_in_flow_control_structures // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes // ignore_for_file: non_constant_identifier_names import 'dart:async' as $async; import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import 'handlingunitInput.pb.dart' as $0; export 'handlingunitInput.pb.dart'; /// /// API-server services @$pb.GrpcServiceName('api.HandlingunitInputAPI') class HandlingunitInputAPIClient extends $grpc.Client { /// The hostname for this service. static const $core.String defaultHost = ''; /// OAuth scopes needed for the client. static const $core.List<$core.String> oauthScopes = [ '', ]; HandlingunitInputAPIClient(super.channel, {super.options, super.interceptors}); $grpc.ResponseFuture<$0.HandlingunitGoodsPreparedResponse> goodsPrepared($0.HandlingunitGoodsPreparedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$goodsPrepared, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitGoodsReceivedResponse> goodsReceived($0.HandlingunitGoodsReceivedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$goodsReceived, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitHUsAddedResponse> hUsAdded($0.HandlingunitHUsAddedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$hUsAdded, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitTrackingUpdatedResponse> trackingUpdated($0.HandlingunitTrackingUpdatedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$trackingUpdated, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitTrackingETAUpdatedResponse> trackingETAUpdated($0.HandlingunitTrackingETAUpdatedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$trackingETAUpdated, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitETAUpdatedResponse> eTAUpdated($0.HandlingunitETAUpdatedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$eTAUpdated, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitDispatchedResponse> dispatched($0.HandlingunitDispatchedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$dispatched, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitAttachmentAddedResponse> attachmentAdded($0.HandlingunitAttachmentAddedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$attachmentAdded, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitAttachmentRemovedResponse> attachmentRemoved($0.HandlingunitAttachmentRemovedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$attachmentRemoved, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitMetaDataUpdatedResponse> metaDataUpdated($0.HandlingunitMetaDataUpdatedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$metaDataUpdated, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitParentHUUpdatedResponse> parentHUUpdated($0.HandlingunitParentHUUpdatedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$parentHUUpdated, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitClaimAddedResponse> claimAdded($0.HandlingunitClaimAddedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$claimAdded, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitReadyToBeCollectedResponse> readyToBeCollected($0.HandlingunitReadyToBeCollectedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$readyToBeCollected, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitDeletedResponse> deleted($0.HandlingunitDeletedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$deleted, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitSanitisedResponse> sanitised($0.HandlingunitSanitisedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$sanitised, request, options: options); } $grpc.ResponseFuture<$0.HandlingunitCustomFieldsUpdatedResponse> customFieldsUpdated($0.HandlingunitCustomFieldsUpdatedRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$customFieldsUpdated, request, options: options); } // method descriptors static final _$goodsPrepared = $grpc.ClientMethod<$0.HandlingunitGoodsPreparedRequest, $0.HandlingunitGoodsPreparedResponse>( '/api.HandlingunitInputAPI/GoodsPrepared', ($0.HandlingunitGoodsPreparedRequest value) => value.writeToBuffer(), $0.HandlingunitGoodsPreparedResponse.fromBuffer); static final _$goodsReceived = $grpc.ClientMethod<$0.HandlingunitGoodsReceivedRequest, $0.HandlingunitGoodsReceivedResponse>( '/api.HandlingunitInputAPI/GoodsReceived', ($0.HandlingunitGoodsReceivedRequest value) => value.writeToBuffer(), $0.HandlingunitGoodsReceivedResponse.fromBuffer); static final _$hUsAdded = $grpc.ClientMethod<$0.HandlingunitHUsAddedRequest, $0.HandlingunitHUsAddedResponse>( '/api.HandlingunitInputAPI/HUsAdded', ($0.HandlingunitHUsAddedRequest value) => value.writeToBuffer(), $0.HandlingunitHUsAddedResponse.fromBuffer); static final _$trackingUpdated = $grpc.ClientMethod<$0.HandlingunitTrackingUpdatedRequest, $0.HandlingunitTrackingUpdatedResponse>( '/api.HandlingunitInputAPI/TrackingUpdated', ($0.HandlingunitTrackingUpdatedRequest value) => value.writeToBuffer(), $0.HandlingunitTrackingUpdatedResponse.fromBuffer); static final _$trackingETAUpdated = $grpc.ClientMethod<$0.HandlingunitTrackingETAUpdatedRequest, $0.HandlingunitTrackingETAUpdatedResponse>( '/api.HandlingunitInputAPI/TrackingETAUpdated', ($0.HandlingunitTrackingETAUpdatedRequest value) => value.writeToBuffer(), $0.HandlingunitTrackingETAUpdatedResponse.fromBuffer); static final _$eTAUpdated = $grpc.ClientMethod<$0.HandlingunitETAUpdatedRequest, $0.HandlingunitETAUpdatedResponse>( '/api.HandlingunitInputAPI/ETAUpdated', ($0.HandlingunitETAUpdatedRequest value) => value.writeToBuffer(), $0.HandlingunitETAUpdatedResponse.fromBuffer); static final _$dispatched = $grpc.ClientMethod<$0.HandlingunitDispatchedRequest, $0.HandlingunitDispatchedResponse>( '/api.HandlingunitInputAPI/Dispatched', ($0.HandlingunitDispatchedRequest value) => value.writeToBuffer(), $0.HandlingunitDispatchedResponse.fromBuffer); static final _$attachmentAdded = $grpc.ClientMethod<$0.HandlingunitAttachmentAddedRequest, $0.HandlingunitAttachmentAddedResponse>( '/api.HandlingunitInputAPI/AttachmentAdded', ($0.HandlingunitAttachmentAddedRequest value) => value.writeToBuffer(), $0.HandlingunitAttachmentAddedResponse.fromBuffer); static final _$attachmentRemoved = $grpc.ClientMethod<$0.HandlingunitAttachmentRemovedRequest, $0.HandlingunitAttachmentRemovedResponse>( '/api.HandlingunitInputAPI/AttachmentRemoved', ($0.HandlingunitAttachmentRemovedRequest value) => value.writeToBuffer(), $0.HandlingunitAttachmentRemovedResponse.fromBuffer); static final _$metaDataUpdated = $grpc.ClientMethod<$0.HandlingunitMetaDataUpdatedRequest, $0.HandlingunitMetaDataUpdatedResponse>( '/api.HandlingunitInputAPI/MetaDataUpdated', ($0.HandlingunitMetaDataUpdatedRequest value) => value.writeToBuffer(), $0.HandlingunitMetaDataUpdatedResponse.fromBuffer); static final _$parentHUUpdated = $grpc.ClientMethod<$0.HandlingunitParentHUUpdatedRequest, $0.HandlingunitParentHUUpdatedResponse>( '/api.HandlingunitInputAPI/ParentHUUpdated', ($0.HandlingunitParentHUUpdatedRequest value) => value.writeToBuffer(), $0.HandlingunitParentHUUpdatedResponse.fromBuffer); static final _$claimAdded = $grpc.ClientMethod<$0.HandlingunitClaimAddedRequest, $0.HandlingunitClaimAddedResponse>( '/api.HandlingunitInputAPI/ClaimAdded', ($0.HandlingunitClaimAddedRequest value) => value.writeToBuffer(), $0.HandlingunitClaimAddedResponse.fromBuffer); static final _$readyToBeCollected = $grpc.ClientMethod<$0.HandlingunitReadyToBeCollectedRequest, $0.HandlingunitReadyToBeCollectedResponse>( '/api.HandlingunitInputAPI/ReadyToBeCollected', ($0.HandlingunitReadyToBeCollectedRequest value) => value.writeToBuffer(), $0.HandlingunitReadyToBeCollectedResponse.fromBuffer); static final _$deleted = $grpc.ClientMethod<$0.HandlingunitDeletedRequest, $0.HandlingunitDeletedResponse>( '/api.HandlingunitInputAPI/Deleted', ($0.HandlingunitDeletedRequest value) => value.writeToBuffer(), $0.HandlingunitDeletedResponse.fromBuffer); static final _$sanitised = $grpc.ClientMethod<$0.HandlingunitSanitisedRequest, $0.HandlingunitSanitisedResponse>( '/api.HandlingunitInputAPI/Sanitised', ($0.HandlingunitSanitisedRequest value) => value.writeToBuffer(), $0.HandlingunitSanitisedResponse.fromBuffer); static final _$customFieldsUpdated = $grpc.ClientMethod<$0.HandlingunitCustomFieldsUpdatedRequest, $0.HandlingunitCustomFieldsUpdatedResponse>( '/api.HandlingunitInputAPI/CustomFieldsUpdated', ($0.HandlingunitCustomFieldsUpdatedRequest value) => value.writeToBuffer(), $0.HandlingunitCustomFieldsUpdatedResponse.fromBuffer); } @$pb.GrpcServiceName('api.HandlingunitInputAPI') abstract class HandlingunitInputAPIServiceBase extends $grpc.Service { $core.String get $name => 'api.HandlingunitInputAPI'; HandlingunitInputAPIServiceBase() { $addMethod($grpc.ServiceMethod<$0.HandlingunitGoodsPreparedRequest, $0.HandlingunitGoodsPreparedResponse>( 'GoodsPrepared', goodsPrepared_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitGoodsPreparedRequest.fromBuffer(value), ($0.HandlingunitGoodsPreparedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitGoodsReceivedRequest, $0.HandlingunitGoodsReceivedResponse>( 'GoodsReceived', goodsReceived_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitGoodsReceivedRequest.fromBuffer(value), ($0.HandlingunitGoodsReceivedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitHUsAddedRequest, $0.HandlingunitHUsAddedResponse>( 'HUsAdded', hUsAdded_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitHUsAddedRequest.fromBuffer(value), ($0.HandlingunitHUsAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitTrackingUpdatedRequest, $0.HandlingunitTrackingUpdatedResponse>( 'TrackingUpdated', trackingUpdated_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitTrackingUpdatedRequest.fromBuffer(value), ($0.HandlingunitTrackingUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitTrackingETAUpdatedRequest, $0.HandlingunitTrackingETAUpdatedResponse>( 'TrackingETAUpdated', trackingETAUpdated_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitTrackingETAUpdatedRequest.fromBuffer(value), ($0.HandlingunitTrackingETAUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitETAUpdatedRequest, $0.HandlingunitETAUpdatedResponse>( 'ETAUpdated', eTAUpdated_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitETAUpdatedRequest.fromBuffer(value), ($0.HandlingunitETAUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitDispatchedRequest, $0.HandlingunitDispatchedResponse>( 'Dispatched', dispatched_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitDispatchedRequest.fromBuffer(value), ($0.HandlingunitDispatchedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitAttachmentAddedRequest, $0.HandlingunitAttachmentAddedResponse>( 'AttachmentAdded', attachmentAdded_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitAttachmentAddedRequest.fromBuffer(value), ($0.HandlingunitAttachmentAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitAttachmentRemovedRequest, $0.HandlingunitAttachmentRemovedResponse>( 'AttachmentRemoved', attachmentRemoved_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitAttachmentRemovedRequest.fromBuffer(value), ($0.HandlingunitAttachmentRemovedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitMetaDataUpdatedRequest, $0.HandlingunitMetaDataUpdatedResponse>( 'MetaDataUpdated', metaDataUpdated_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitMetaDataUpdatedRequest.fromBuffer(value), ($0.HandlingunitMetaDataUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitParentHUUpdatedRequest, $0.HandlingunitParentHUUpdatedResponse>( 'ParentHUUpdated', parentHUUpdated_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitParentHUUpdatedRequest.fromBuffer(value), ($0.HandlingunitParentHUUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitClaimAddedRequest, $0.HandlingunitClaimAddedResponse>( 'ClaimAdded', claimAdded_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitClaimAddedRequest.fromBuffer(value), ($0.HandlingunitClaimAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitReadyToBeCollectedRequest, $0.HandlingunitReadyToBeCollectedResponse>( 'ReadyToBeCollected', readyToBeCollected_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitReadyToBeCollectedRequest.fromBuffer(value), ($0.HandlingunitReadyToBeCollectedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitDeletedRequest, $0.HandlingunitDeletedResponse>( 'Deleted', deleted_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitDeletedRequest.fromBuffer(value), ($0.HandlingunitDeletedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitSanitisedRequest, $0.HandlingunitSanitisedResponse>( 'Sanitised', sanitised_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitSanitisedRequest.fromBuffer(value), ($0.HandlingunitSanitisedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.HandlingunitCustomFieldsUpdatedRequest, $0.HandlingunitCustomFieldsUpdatedResponse>( 'CustomFieldsUpdated', customFieldsUpdated_Pre, false, false, ($core.List<$core.int> value) => $0.HandlingunitCustomFieldsUpdatedRequest.fromBuffer(value), ($0.HandlingunitCustomFieldsUpdatedResponse value) => value.writeToBuffer())); } $async.Future<$0.HandlingunitGoodsPreparedResponse> goodsPrepared_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitGoodsPreparedRequest> $request) async { return goodsPrepared($call, await $request); } $async.Future<$0.HandlingunitGoodsPreparedResponse> goodsPrepared($grpc.ServiceCall call, $0.HandlingunitGoodsPreparedRequest request); $async.Future<$0.HandlingunitGoodsReceivedResponse> goodsReceived_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitGoodsReceivedRequest> $request) async { return goodsReceived($call, await $request); } $async.Future<$0.HandlingunitGoodsReceivedResponse> goodsReceived($grpc.ServiceCall call, $0.HandlingunitGoodsReceivedRequest request); $async.Future<$0.HandlingunitHUsAddedResponse> hUsAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitHUsAddedRequest> $request) async { return hUsAdded($call, await $request); } $async.Future<$0.HandlingunitHUsAddedResponse> hUsAdded($grpc.ServiceCall call, $0.HandlingunitHUsAddedRequest request); $async.Future<$0.HandlingunitTrackingUpdatedResponse> trackingUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitTrackingUpdatedRequest> $request) async { return trackingUpdated($call, await $request); } $async.Future<$0.HandlingunitTrackingUpdatedResponse> trackingUpdated($grpc.ServiceCall call, $0.HandlingunitTrackingUpdatedRequest request); $async.Future<$0.HandlingunitTrackingETAUpdatedResponse> trackingETAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitTrackingETAUpdatedRequest> $request) async { return trackingETAUpdated($call, await $request); } $async.Future<$0.HandlingunitTrackingETAUpdatedResponse> trackingETAUpdated($grpc.ServiceCall call, $0.HandlingunitTrackingETAUpdatedRequest request); $async.Future<$0.HandlingunitETAUpdatedResponse> eTAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitETAUpdatedRequest> $request) async { return eTAUpdated($call, await $request); } $async.Future<$0.HandlingunitETAUpdatedResponse> eTAUpdated($grpc.ServiceCall call, $0.HandlingunitETAUpdatedRequest request); $async.Future<$0.HandlingunitDispatchedResponse> dispatched_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitDispatchedRequest> $request) async { return dispatched($call, await $request); } $async.Future<$0.HandlingunitDispatchedResponse> dispatched($grpc.ServiceCall call, $0.HandlingunitDispatchedRequest request); $async.Future<$0.HandlingunitAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitAttachmentAddedRequest> $request) async { return attachmentAdded($call, await $request); } $async.Future<$0.HandlingunitAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $0.HandlingunitAttachmentAddedRequest request); $async.Future<$0.HandlingunitAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitAttachmentRemovedRequest> $request) async { return attachmentRemoved($call, await $request); } $async.Future<$0.HandlingunitAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $0.HandlingunitAttachmentRemovedRequest request); $async.Future<$0.HandlingunitMetaDataUpdatedResponse> metaDataUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitMetaDataUpdatedRequest> $request) async { return metaDataUpdated($call, await $request); } $async.Future<$0.HandlingunitMetaDataUpdatedResponse> metaDataUpdated($grpc.ServiceCall call, $0.HandlingunitMetaDataUpdatedRequest request); $async.Future<$0.HandlingunitParentHUUpdatedResponse> parentHUUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitParentHUUpdatedRequest> $request) async { return parentHUUpdated($call, await $request); } $async.Future<$0.HandlingunitParentHUUpdatedResponse> parentHUUpdated($grpc.ServiceCall call, $0.HandlingunitParentHUUpdatedRequest request); $async.Future<$0.HandlingunitClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitClaimAddedRequest> $request) async { return claimAdded($call, await $request); } $async.Future<$0.HandlingunitClaimAddedResponse> claimAdded($grpc.ServiceCall call, $0.HandlingunitClaimAddedRequest request); $async.Future<$0.HandlingunitReadyToBeCollectedResponse> readyToBeCollected_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitReadyToBeCollectedRequest> $request) async { return readyToBeCollected($call, await $request); } $async.Future<$0.HandlingunitReadyToBeCollectedResponse> readyToBeCollected($grpc.ServiceCall call, $0.HandlingunitReadyToBeCollectedRequest request); $async.Future<$0.HandlingunitDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitDeletedRequest> $request) async { return deleted($call, await $request); } $async.Future<$0.HandlingunitDeletedResponse> deleted($grpc.ServiceCall call, $0.HandlingunitDeletedRequest request); $async.Future<$0.HandlingunitSanitisedResponse> sanitised_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitSanitisedRequest> $request) async { return sanitised($call, await $request); } $async.Future<$0.HandlingunitSanitisedResponse> sanitised($grpc.ServiceCall call, $0.HandlingunitSanitisedRequest request); $async.Future<$0.HandlingunitCustomFieldsUpdatedResponse> customFieldsUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.HandlingunitCustomFieldsUpdatedRequest> $request) async { return customFieldsUpdated($call, await $request); } $async.Future<$0.HandlingunitCustomFieldsUpdatedResponse> customFieldsUpdated($grpc.ServiceCall call, $0.HandlingunitCustomFieldsUpdatedRequest request); }