Files
dart-core-sdk/lib/movementInput.pbgrpc.dart
2025-11-18 14:25:43 +00:00

238 lines
12 KiB
Dart

// This is a generated file - do not edit.
//
// Generated from movementInput.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 'movementInput.pb.dart' as $0;
export 'movementInput.pb.dart';
///
/// API-server services
@$pb.GrpcServiceName('api.MovementInputAPI')
class MovementInputAPIClient 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 = [
'',
];
MovementInputAPIClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$0.MovementCreatedResponse> created($0.MovementCreatedRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$created, request, options: options);
}
$grpc.ResponseFuture<$0.MovementGeneratedResponse> generated($0.MovementGeneratedRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$generated, request, options: options);
}
$grpc.ResponseFuture<$0.MovementStockValueUpdatedResponse> stockValueUpdated($0.MovementStockValueUpdatedRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$stockValueUpdated, request, options: options);
}
$grpc.ResponseFuture<$0.MovementClaimAddedResponse> claimAdded($0.MovementClaimAddedRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$claimAdded, request, options: options);
}
$grpc.ResponseFuture<$0.MovementAttachmentAddedResponse> attachmentAdded($0.MovementAttachmentAddedRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$attachmentAdded, request, options: options);
}
$grpc.ResponseFuture<$0.MovementAttachmentRemovedResponse> attachmentRemoved($0.MovementAttachmentRemovedRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$attachmentRemoved, request, options: options);
}
$grpc.ResponseFuture<$0.MovementDeletedResponse> deleted($0.MovementDeletedRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$deleted, request, options: options);
}
$grpc.ResponseFuture<$0.MovementSanitisedResponse> sanitised($0.MovementSanitisedRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$sanitised, request, options: options);
}
$grpc.ResponseFuture<$0.MovementCustomFieldsUpdatedResponse> customFieldsUpdated($0.MovementCustomFieldsUpdatedRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$customFieldsUpdated, request, options: options);
}
// method descriptors
static final _$created = $grpc.ClientMethod<$0.MovementCreatedRequest, $0.MovementCreatedResponse>(
'/api.MovementInputAPI/Created',
($0.MovementCreatedRequest value) => value.writeToBuffer(),
$0.MovementCreatedResponse.fromBuffer);
static final _$generated = $grpc.ClientMethod<$0.MovementGeneratedRequest, $0.MovementGeneratedResponse>(
'/api.MovementInputAPI/Generated',
($0.MovementGeneratedRequest value) => value.writeToBuffer(),
$0.MovementGeneratedResponse.fromBuffer);
static final _$stockValueUpdated = $grpc.ClientMethod<$0.MovementStockValueUpdatedRequest, $0.MovementStockValueUpdatedResponse>(
'/api.MovementInputAPI/StockValueUpdated',
($0.MovementStockValueUpdatedRequest value) => value.writeToBuffer(),
$0.MovementStockValueUpdatedResponse.fromBuffer);
static final _$claimAdded = $grpc.ClientMethod<$0.MovementClaimAddedRequest, $0.MovementClaimAddedResponse>(
'/api.MovementInputAPI/ClaimAdded',
($0.MovementClaimAddedRequest value) => value.writeToBuffer(),
$0.MovementClaimAddedResponse.fromBuffer);
static final _$attachmentAdded = $grpc.ClientMethod<$0.MovementAttachmentAddedRequest, $0.MovementAttachmentAddedResponse>(
'/api.MovementInputAPI/AttachmentAdded',
($0.MovementAttachmentAddedRequest value) => value.writeToBuffer(),
$0.MovementAttachmentAddedResponse.fromBuffer);
static final _$attachmentRemoved = $grpc.ClientMethod<$0.MovementAttachmentRemovedRequest, $0.MovementAttachmentRemovedResponse>(
'/api.MovementInputAPI/AttachmentRemoved',
($0.MovementAttachmentRemovedRequest value) => value.writeToBuffer(),
$0.MovementAttachmentRemovedResponse.fromBuffer);
static final _$deleted = $grpc.ClientMethod<$0.MovementDeletedRequest, $0.MovementDeletedResponse>(
'/api.MovementInputAPI/Deleted',
($0.MovementDeletedRequest value) => value.writeToBuffer(),
$0.MovementDeletedResponse.fromBuffer);
static final _$sanitised = $grpc.ClientMethod<$0.MovementSanitisedRequest, $0.MovementSanitisedResponse>(
'/api.MovementInputAPI/Sanitised',
($0.MovementSanitisedRequest value) => value.writeToBuffer(),
$0.MovementSanitisedResponse.fromBuffer);
static final _$customFieldsUpdated = $grpc.ClientMethod<$0.MovementCustomFieldsUpdatedRequest, $0.MovementCustomFieldsUpdatedResponse>(
'/api.MovementInputAPI/CustomFieldsUpdated',
($0.MovementCustomFieldsUpdatedRequest value) => value.writeToBuffer(),
$0.MovementCustomFieldsUpdatedResponse.fromBuffer);
}
@$pb.GrpcServiceName('api.MovementInputAPI')
abstract class MovementInputAPIServiceBase extends $grpc.Service {
$core.String get $name => 'api.MovementInputAPI';
MovementInputAPIServiceBase() {
$addMethod($grpc.ServiceMethod<$0.MovementCreatedRequest, $0.MovementCreatedResponse>(
'Created',
created_Pre,
false,
false,
($core.List<$core.int> value) => $0.MovementCreatedRequest.fromBuffer(value),
($0.MovementCreatedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MovementGeneratedRequest, $0.MovementGeneratedResponse>(
'Generated',
generated_Pre,
false,
false,
($core.List<$core.int> value) => $0.MovementGeneratedRequest.fromBuffer(value),
($0.MovementGeneratedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MovementStockValueUpdatedRequest, $0.MovementStockValueUpdatedResponse>(
'StockValueUpdated',
stockValueUpdated_Pre,
false,
false,
($core.List<$core.int> value) => $0.MovementStockValueUpdatedRequest.fromBuffer(value),
($0.MovementStockValueUpdatedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MovementClaimAddedRequest, $0.MovementClaimAddedResponse>(
'ClaimAdded',
claimAdded_Pre,
false,
false,
($core.List<$core.int> value) => $0.MovementClaimAddedRequest.fromBuffer(value),
($0.MovementClaimAddedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MovementAttachmentAddedRequest, $0.MovementAttachmentAddedResponse>(
'AttachmentAdded',
attachmentAdded_Pre,
false,
false,
($core.List<$core.int> value) => $0.MovementAttachmentAddedRequest.fromBuffer(value),
($0.MovementAttachmentAddedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MovementAttachmentRemovedRequest, $0.MovementAttachmentRemovedResponse>(
'AttachmentRemoved',
attachmentRemoved_Pre,
false,
false,
($core.List<$core.int> value) => $0.MovementAttachmentRemovedRequest.fromBuffer(value),
($0.MovementAttachmentRemovedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MovementDeletedRequest, $0.MovementDeletedResponse>(
'Deleted',
deleted_Pre,
false,
false,
($core.List<$core.int> value) => $0.MovementDeletedRequest.fromBuffer(value),
($0.MovementDeletedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MovementSanitisedRequest, $0.MovementSanitisedResponse>(
'Sanitised',
sanitised_Pre,
false,
false,
($core.List<$core.int> value) => $0.MovementSanitisedRequest.fromBuffer(value),
($0.MovementSanitisedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.MovementCustomFieldsUpdatedRequest, $0.MovementCustomFieldsUpdatedResponse>(
'CustomFieldsUpdated',
customFieldsUpdated_Pre,
false,
false,
($core.List<$core.int> value) => $0.MovementCustomFieldsUpdatedRequest.fromBuffer(value),
($0.MovementCustomFieldsUpdatedResponse value) => value.writeToBuffer()));
}
$async.Future<$0.MovementCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$0.MovementCreatedRequest> $request) async {
return created($call, await $request);
}
$async.Future<$0.MovementCreatedResponse> created($grpc.ServiceCall call, $0.MovementCreatedRequest request);
$async.Future<$0.MovementGeneratedResponse> generated_Pre($grpc.ServiceCall $call, $async.Future<$0.MovementGeneratedRequest> $request) async {
return generated($call, await $request);
}
$async.Future<$0.MovementGeneratedResponse> generated($grpc.ServiceCall call, $0.MovementGeneratedRequest request);
$async.Future<$0.MovementStockValueUpdatedResponse> stockValueUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.MovementStockValueUpdatedRequest> $request) async {
return stockValueUpdated($call, await $request);
}
$async.Future<$0.MovementStockValueUpdatedResponse> stockValueUpdated($grpc.ServiceCall call, $0.MovementStockValueUpdatedRequest request);
$async.Future<$0.MovementClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.MovementClaimAddedRequest> $request) async {
return claimAdded($call, await $request);
}
$async.Future<$0.MovementClaimAddedResponse> claimAdded($grpc.ServiceCall call, $0.MovementClaimAddedRequest request);
$async.Future<$0.MovementAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.MovementAttachmentAddedRequest> $request) async {
return attachmentAdded($call, await $request);
}
$async.Future<$0.MovementAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $0.MovementAttachmentAddedRequest request);
$async.Future<$0.MovementAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.MovementAttachmentRemovedRequest> $request) async {
return attachmentRemoved($call, await $request);
}
$async.Future<$0.MovementAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $0.MovementAttachmentRemovedRequest request);
$async.Future<$0.MovementDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$0.MovementDeletedRequest> $request) async {
return deleted($call, await $request);
}
$async.Future<$0.MovementDeletedResponse> deleted($grpc.ServiceCall call, $0.MovementDeletedRequest request);
$async.Future<$0.MovementSanitisedResponse> sanitised_Pre($grpc.ServiceCall $call, $async.Future<$0.MovementSanitisedRequest> $request) async {
return sanitised($call, await $request);
}
$async.Future<$0.MovementSanitisedResponse> sanitised($grpc.ServiceCall call, $0.MovementSanitisedRequest request);
$async.Future<$0.MovementCustomFieldsUpdatedResponse> customFieldsUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.MovementCustomFieldsUpdatedRequest> $request) async {
return customFieldsUpdated($call, await $request);
}
$async.Future<$0.MovementCustomFieldsUpdatedResponse> customFieldsUpdated($grpc.ServiceCall call, $0.MovementCustomFieldsUpdatedRequest request);
}