// // Generated code. Do not modify. // source: handlingunitInput.proto // // @dart = 3.3 // ignore_for_file: annotate_overrides, camel_case_types, comment_references // ignore_for_file: constant_identifier_names, library_prefixes // ignore_for_file: non_constant_identifier_names, prefer_final_fields // ignore_for_file: unnecessary_import, unnecessary_this, unused_import 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 $26; 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 = [ '', ]; static final _$goodsPrepared = $grpc.ClientMethod<$26.HandlingunitGoodsPreparedRequest, $26.HandlingunitGoodsPreparedResponse>( '/api.HandlingunitInputAPI/GoodsPrepared', ($26.HandlingunitGoodsPreparedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitGoodsPreparedResponse.fromBuffer(value)); static final _$goodsReceived = $grpc.ClientMethod<$26.HandlingunitGoodsReceivedRequest, $26.HandlingunitGoodsReceivedResponse>( '/api.HandlingunitInputAPI/GoodsReceived', ($26.HandlingunitGoodsReceivedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitGoodsReceivedResponse.fromBuffer(value)); static final _$hUsAdded = $grpc.ClientMethod<$26.HandlingunitHUsAddedRequest, $26.HandlingunitHUsAddedResponse>( '/api.HandlingunitInputAPI/HUsAdded', ($26.HandlingunitHUsAddedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitHUsAddedResponse.fromBuffer(value)); static final _$trackingUpdated = $grpc.ClientMethod<$26.HandlingunitTrackingUpdatedRequest, $26.HandlingunitTrackingUpdatedResponse>( '/api.HandlingunitInputAPI/TrackingUpdated', ($26.HandlingunitTrackingUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitTrackingUpdatedResponse.fromBuffer(value)); static final _$trackingETAUpdated = $grpc.ClientMethod<$26.HandlingunitTrackingETAUpdatedRequest, $26.HandlingunitTrackingETAUpdatedResponse>( '/api.HandlingunitInputAPI/TrackingETAUpdated', ($26.HandlingunitTrackingETAUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitTrackingETAUpdatedResponse.fromBuffer(value)); static final _$eTAUpdated = $grpc.ClientMethod<$26.HandlingunitETAUpdatedRequest, $26.HandlingunitETAUpdatedResponse>( '/api.HandlingunitInputAPI/ETAUpdated', ($26.HandlingunitETAUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitETAUpdatedResponse.fromBuffer(value)); static final _$dispatched = $grpc.ClientMethod<$26.HandlingunitDispatchedRequest, $26.HandlingunitDispatchedResponse>( '/api.HandlingunitInputAPI/Dispatched', ($26.HandlingunitDispatchedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitDispatchedResponse.fromBuffer(value)); static final _$attachmentAdded = $grpc.ClientMethod<$26.HandlingunitAttachmentAddedRequest, $26.HandlingunitAttachmentAddedResponse>( '/api.HandlingunitInputAPI/AttachmentAdded', ($26.HandlingunitAttachmentAddedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitAttachmentAddedResponse.fromBuffer(value)); static final _$attachmentRemoved = $grpc.ClientMethod<$26.HandlingunitAttachmentRemovedRequest, $26.HandlingunitAttachmentRemovedResponse>( '/api.HandlingunitInputAPI/AttachmentRemoved', ($26.HandlingunitAttachmentRemovedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitAttachmentRemovedResponse.fromBuffer(value)); static final _$metaDataUpdated = $grpc.ClientMethod<$26.HandlingunitMetaDataUpdatedRequest, $26.HandlingunitMetaDataUpdatedResponse>( '/api.HandlingunitInputAPI/MetaDataUpdated', ($26.HandlingunitMetaDataUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitMetaDataUpdatedResponse.fromBuffer(value)); static final _$parentHUUpdated = $grpc.ClientMethod<$26.HandlingunitParentHUUpdatedRequest, $26.HandlingunitParentHUUpdatedResponse>( '/api.HandlingunitInputAPI/ParentHUUpdated', ($26.HandlingunitParentHUUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitParentHUUpdatedResponse.fromBuffer(value)); static final _$claimAdded = $grpc.ClientMethod<$26.HandlingunitClaimAddedRequest, $26.HandlingunitClaimAddedResponse>( '/api.HandlingunitInputAPI/ClaimAdded', ($26.HandlingunitClaimAddedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitClaimAddedResponse.fromBuffer(value)); static final _$readyToBeCollected = $grpc.ClientMethod<$26.HandlingunitReadyToBeCollectedRequest, $26.HandlingunitReadyToBeCollectedResponse>( '/api.HandlingunitInputAPI/ReadyToBeCollected', ($26.HandlingunitReadyToBeCollectedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitReadyToBeCollectedResponse.fromBuffer(value)); static final _$deleted = $grpc.ClientMethod<$26.HandlingunitDeletedRequest, $26.HandlingunitDeletedResponse>( '/api.HandlingunitInputAPI/Deleted', ($26.HandlingunitDeletedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $26.HandlingunitDeletedResponse.fromBuffer(value)); HandlingunitInputAPIClient(super.channel, {super.options, super.interceptors}); $grpc.ResponseFuture<$26.HandlingunitGoodsPreparedResponse> goodsPrepared($26.HandlingunitGoodsPreparedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$goodsPrepared, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitGoodsReceivedResponse> goodsReceived($26.HandlingunitGoodsReceivedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$goodsReceived, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitHUsAddedResponse> hUsAdded($26.HandlingunitHUsAddedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$hUsAdded, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitTrackingUpdatedResponse> trackingUpdated($26.HandlingunitTrackingUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$trackingUpdated, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitTrackingETAUpdatedResponse> trackingETAUpdated($26.HandlingunitTrackingETAUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$trackingETAUpdated, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitETAUpdatedResponse> eTAUpdated($26.HandlingunitETAUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$eTAUpdated, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitDispatchedResponse> dispatched($26.HandlingunitDispatchedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$dispatched, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitAttachmentAddedResponse> attachmentAdded($26.HandlingunitAttachmentAddedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$attachmentAdded, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitAttachmentRemovedResponse> attachmentRemoved($26.HandlingunitAttachmentRemovedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$attachmentRemoved, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitMetaDataUpdatedResponse> metaDataUpdated($26.HandlingunitMetaDataUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$metaDataUpdated, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitParentHUUpdatedResponse> parentHUUpdated($26.HandlingunitParentHUUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$parentHUUpdated, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitClaimAddedResponse> claimAdded($26.HandlingunitClaimAddedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$claimAdded, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitReadyToBeCollectedResponse> readyToBeCollected($26.HandlingunitReadyToBeCollectedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$readyToBeCollected, request, options: options); } $grpc.ResponseFuture<$26.HandlingunitDeletedResponse> deleted($26.HandlingunitDeletedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleted, request, options: options); } } @$pb.GrpcServiceName('api.HandlingunitInputAPI') abstract class HandlingunitInputAPIServiceBase extends $grpc.Service { $core.String get $name => 'api.HandlingunitInputAPI'; HandlingunitInputAPIServiceBase() { $addMethod($grpc.ServiceMethod<$26.HandlingunitGoodsPreparedRequest, $26.HandlingunitGoodsPreparedResponse>( 'GoodsPrepared', goodsPrepared_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitGoodsPreparedRequest.fromBuffer(value), ($26.HandlingunitGoodsPreparedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitGoodsReceivedRequest, $26.HandlingunitGoodsReceivedResponse>( 'GoodsReceived', goodsReceived_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitGoodsReceivedRequest.fromBuffer(value), ($26.HandlingunitGoodsReceivedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitHUsAddedRequest, $26.HandlingunitHUsAddedResponse>( 'HUsAdded', hUsAdded_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitHUsAddedRequest.fromBuffer(value), ($26.HandlingunitHUsAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitTrackingUpdatedRequest, $26.HandlingunitTrackingUpdatedResponse>( 'TrackingUpdated', trackingUpdated_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitTrackingUpdatedRequest.fromBuffer(value), ($26.HandlingunitTrackingUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitTrackingETAUpdatedRequest, $26.HandlingunitTrackingETAUpdatedResponse>( 'TrackingETAUpdated', trackingETAUpdated_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitTrackingETAUpdatedRequest.fromBuffer(value), ($26.HandlingunitTrackingETAUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitETAUpdatedRequest, $26.HandlingunitETAUpdatedResponse>( 'ETAUpdated', eTAUpdated_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitETAUpdatedRequest.fromBuffer(value), ($26.HandlingunitETAUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitDispatchedRequest, $26.HandlingunitDispatchedResponse>( 'Dispatched', dispatched_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitDispatchedRequest.fromBuffer(value), ($26.HandlingunitDispatchedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitAttachmentAddedRequest, $26.HandlingunitAttachmentAddedResponse>( 'AttachmentAdded', attachmentAdded_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitAttachmentAddedRequest.fromBuffer(value), ($26.HandlingunitAttachmentAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitAttachmentRemovedRequest, $26.HandlingunitAttachmentRemovedResponse>( 'AttachmentRemoved', attachmentRemoved_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitAttachmentRemovedRequest.fromBuffer(value), ($26.HandlingunitAttachmentRemovedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitMetaDataUpdatedRequest, $26.HandlingunitMetaDataUpdatedResponse>( 'MetaDataUpdated', metaDataUpdated_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitMetaDataUpdatedRequest.fromBuffer(value), ($26.HandlingunitMetaDataUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitParentHUUpdatedRequest, $26.HandlingunitParentHUUpdatedResponse>( 'ParentHUUpdated', parentHUUpdated_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitParentHUUpdatedRequest.fromBuffer(value), ($26.HandlingunitParentHUUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitClaimAddedRequest, $26.HandlingunitClaimAddedResponse>( 'ClaimAdded', claimAdded_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitClaimAddedRequest.fromBuffer(value), ($26.HandlingunitClaimAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitReadyToBeCollectedRequest, $26.HandlingunitReadyToBeCollectedResponse>( 'ReadyToBeCollected', readyToBeCollected_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitReadyToBeCollectedRequest.fromBuffer(value), ($26.HandlingunitReadyToBeCollectedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$26.HandlingunitDeletedRequest, $26.HandlingunitDeletedResponse>( 'Deleted', deleted_Pre, false, false, ($core.List<$core.int> value) => $26.HandlingunitDeletedRequest.fromBuffer(value), ($26.HandlingunitDeletedResponse value) => value.writeToBuffer())); } $async.Future<$26.HandlingunitGoodsPreparedResponse> goodsPrepared_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitGoodsPreparedRequest> $request) async { return goodsPrepared($call, await $request); } $async.Future<$26.HandlingunitGoodsReceivedResponse> goodsReceived_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitGoodsReceivedRequest> $request) async { return goodsReceived($call, await $request); } $async.Future<$26.HandlingunitHUsAddedResponse> hUsAdded_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitHUsAddedRequest> $request) async { return hUsAdded($call, await $request); } $async.Future<$26.HandlingunitTrackingUpdatedResponse> trackingUpdated_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitTrackingUpdatedRequest> $request) async { return trackingUpdated($call, await $request); } $async.Future<$26.HandlingunitTrackingETAUpdatedResponse> trackingETAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitTrackingETAUpdatedRequest> $request) async { return trackingETAUpdated($call, await $request); } $async.Future<$26.HandlingunitETAUpdatedResponse> eTAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitETAUpdatedRequest> $request) async { return eTAUpdated($call, await $request); } $async.Future<$26.HandlingunitDispatchedResponse> dispatched_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitDispatchedRequest> $request) async { return dispatched($call, await $request); } $async.Future<$26.HandlingunitAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitAttachmentAddedRequest> $request) async { return attachmentAdded($call, await $request); } $async.Future<$26.HandlingunitAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitAttachmentRemovedRequest> $request) async { return attachmentRemoved($call, await $request); } $async.Future<$26.HandlingunitMetaDataUpdatedResponse> metaDataUpdated_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitMetaDataUpdatedRequest> $request) async { return metaDataUpdated($call, await $request); } $async.Future<$26.HandlingunitParentHUUpdatedResponse> parentHUUpdated_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitParentHUUpdatedRequest> $request) async { return parentHUUpdated($call, await $request); } $async.Future<$26.HandlingunitClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitClaimAddedRequest> $request) async { return claimAdded($call, await $request); } $async.Future<$26.HandlingunitReadyToBeCollectedResponse> readyToBeCollected_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitReadyToBeCollectedRequest> $request) async { return readyToBeCollected($call, await $request); } $async.Future<$26.HandlingunitDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$26.HandlingunitDeletedRequest> $request) async { return deleted($call, await $request); } $async.Future<$26.HandlingunitGoodsPreparedResponse> goodsPrepared($grpc.ServiceCall call, $26.HandlingunitGoodsPreparedRequest request); $async.Future<$26.HandlingunitGoodsReceivedResponse> goodsReceived($grpc.ServiceCall call, $26.HandlingunitGoodsReceivedRequest request); $async.Future<$26.HandlingunitHUsAddedResponse> hUsAdded($grpc.ServiceCall call, $26.HandlingunitHUsAddedRequest request); $async.Future<$26.HandlingunitTrackingUpdatedResponse> trackingUpdated($grpc.ServiceCall call, $26.HandlingunitTrackingUpdatedRequest request); $async.Future<$26.HandlingunitTrackingETAUpdatedResponse> trackingETAUpdated($grpc.ServiceCall call, $26.HandlingunitTrackingETAUpdatedRequest request); $async.Future<$26.HandlingunitETAUpdatedResponse> eTAUpdated($grpc.ServiceCall call, $26.HandlingunitETAUpdatedRequest request); $async.Future<$26.HandlingunitDispatchedResponse> dispatched($grpc.ServiceCall call, $26.HandlingunitDispatchedRequest request); $async.Future<$26.HandlingunitAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $26.HandlingunitAttachmentAddedRequest request); $async.Future<$26.HandlingunitAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $26.HandlingunitAttachmentRemovedRequest request); $async.Future<$26.HandlingunitMetaDataUpdatedResponse> metaDataUpdated($grpc.ServiceCall call, $26.HandlingunitMetaDataUpdatedRequest request); $async.Future<$26.HandlingunitParentHUUpdatedResponse> parentHUUpdated($grpc.ServiceCall call, $26.HandlingunitParentHUUpdatedRequest request); $async.Future<$26.HandlingunitClaimAddedResponse> claimAdded($grpc.ServiceCall call, $26.HandlingunitClaimAddedRequest request); $async.Future<$26.HandlingunitReadyToBeCollectedResponse> readyToBeCollected($grpc.ServiceCall call, $26.HandlingunitReadyToBeCollectedRequest request); $async.Future<$26.HandlingunitDeletedResponse> deleted($grpc.ServiceCall call, $26.HandlingunitDeletedRequest request); }