You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -15,40 +15,40 @@ 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 $51;
|
||||
import 'movementInput.pb.dart' as $33;
|
||||
|
||||
export 'movementInput.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.MovementInputAPI')
|
||||
class MovementInputAPIClient extends $grpc.Client {
|
||||
static final _$created = $grpc.ClientMethod<$51.MovementCreatedRequest, $51.MovementCreatedResponse>(
|
||||
static final _$created = $grpc.ClientMethod<$33.MovementCreatedRequest, $33.MovementCreatedResponse>(
|
||||
'/api.MovementInputAPI/Created',
|
||||
($51.MovementCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.MovementCreatedResponse.fromBuffer(value));
|
||||
static final _$generated = $grpc.ClientMethod<$51.MovementGeneratedRequest, $51.MovementGeneratedResponse>(
|
||||
($33.MovementCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $33.MovementCreatedResponse.fromBuffer(value));
|
||||
static final _$generated = $grpc.ClientMethod<$33.MovementGeneratedRequest, $33.MovementGeneratedResponse>(
|
||||
'/api.MovementInputAPI/Generated',
|
||||
($51.MovementGeneratedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.MovementGeneratedResponse.fromBuffer(value));
|
||||
static final _$stockValueUpdated = $grpc.ClientMethod<$51.MovementStockValueUpdatedRequest, $51.MovementStockValueUpdatedResponse>(
|
||||
($33.MovementGeneratedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $33.MovementGeneratedResponse.fromBuffer(value));
|
||||
static final _$stockValueUpdated = $grpc.ClientMethod<$33.MovementStockValueUpdatedRequest, $33.MovementStockValueUpdatedResponse>(
|
||||
'/api.MovementInputAPI/StockValueUpdated',
|
||||
($51.MovementStockValueUpdatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.MovementStockValueUpdatedResponse.fromBuffer(value));
|
||||
static final _$claimAdded = $grpc.ClientMethod<$51.MovementClaimAddedRequest, $51.MovementClaimAddedResponse>(
|
||||
($33.MovementStockValueUpdatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $33.MovementStockValueUpdatedResponse.fromBuffer(value));
|
||||
static final _$claimAdded = $grpc.ClientMethod<$33.MovementClaimAddedRequest, $33.MovementClaimAddedResponse>(
|
||||
'/api.MovementInputAPI/ClaimAdded',
|
||||
($51.MovementClaimAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.MovementClaimAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentAdded = $grpc.ClientMethod<$51.MovementAttachmentAddedRequest, $51.MovementAttachmentAddedResponse>(
|
||||
($33.MovementClaimAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $33.MovementClaimAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentAdded = $grpc.ClientMethod<$33.MovementAttachmentAddedRequest, $33.MovementAttachmentAddedResponse>(
|
||||
'/api.MovementInputAPI/AttachmentAdded',
|
||||
($51.MovementAttachmentAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.MovementAttachmentAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentRemoved = $grpc.ClientMethod<$51.MovementAttachmentRemovedRequest, $51.MovementAttachmentRemovedResponse>(
|
||||
($33.MovementAttachmentAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $33.MovementAttachmentAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentRemoved = $grpc.ClientMethod<$33.MovementAttachmentRemovedRequest, $33.MovementAttachmentRemovedResponse>(
|
||||
'/api.MovementInputAPI/AttachmentRemoved',
|
||||
($51.MovementAttachmentRemovedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.MovementAttachmentRemovedResponse.fromBuffer(value));
|
||||
static final _$deleted = $grpc.ClientMethod<$51.MovementDeletedRequest, $51.MovementDeletedResponse>(
|
||||
($33.MovementAttachmentRemovedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $33.MovementAttachmentRemovedResponse.fromBuffer(value));
|
||||
static final _$deleted = $grpc.ClientMethod<$33.MovementDeletedRequest, $33.MovementDeletedResponse>(
|
||||
'/api.MovementInputAPI/Deleted',
|
||||
($51.MovementDeletedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $51.MovementDeletedResponse.fromBuffer(value));
|
||||
($33.MovementDeletedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $33.MovementDeletedResponse.fromBuffer(value));
|
||||
|
||||
MovementInputAPIClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
@@ -56,31 +56,31 @@ class MovementInputAPIClient extends $grpc.Client {
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
|
||||
$grpc.ResponseFuture<$51.MovementCreatedResponse> created($51.MovementCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$33.MovementCreatedResponse> created($33.MovementCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$created, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$51.MovementGeneratedResponse> generated($51.MovementGeneratedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$33.MovementGeneratedResponse> generated($33.MovementGeneratedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$generated, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$51.MovementStockValueUpdatedResponse> stockValueUpdated($51.MovementStockValueUpdatedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$33.MovementStockValueUpdatedResponse> stockValueUpdated($33.MovementStockValueUpdatedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$stockValueUpdated, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$51.MovementClaimAddedResponse> claimAdded($51.MovementClaimAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$33.MovementClaimAddedResponse> claimAdded($33.MovementClaimAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$claimAdded, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$51.MovementAttachmentAddedResponse> attachmentAdded($51.MovementAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$33.MovementAttachmentAddedResponse> attachmentAdded($33.MovementAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$attachmentAdded, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$51.MovementAttachmentRemovedResponse> attachmentRemoved($51.MovementAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$33.MovementAttachmentRemovedResponse> attachmentRemoved($33.MovementAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$attachmentRemoved, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$51.MovementDeletedResponse> deleted($51.MovementDeletedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$33.MovementDeletedResponse> deleted($33.MovementDeletedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$deleted, request, options: options);
|
||||
}
|
||||
}
|
||||
@@ -90,90 +90,90 @@ abstract class MovementInputAPIServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.MovementInputAPI';
|
||||
|
||||
MovementInputAPIServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$51.MovementCreatedRequest, $51.MovementCreatedResponse>(
|
||||
$addMethod($grpc.ServiceMethod<$33.MovementCreatedRequest, $33.MovementCreatedResponse>(
|
||||
'Created',
|
||||
created_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.MovementCreatedRequest.fromBuffer(value),
|
||||
($51.MovementCreatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$51.MovementGeneratedRequest, $51.MovementGeneratedResponse>(
|
||||
($core.List<$core.int> value) => $33.MovementCreatedRequest.fromBuffer(value),
|
||||
($33.MovementCreatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$33.MovementGeneratedRequest, $33.MovementGeneratedResponse>(
|
||||
'Generated',
|
||||
generated_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.MovementGeneratedRequest.fromBuffer(value),
|
||||
($51.MovementGeneratedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$51.MovementStockValueUpdatedRequest, $51.MovementStockValueUpdatedResponse>(
|
||||
($core.List<$core.int> value) => $33.MovementGeneratedRequest.fromBuffer(value),
|
||||
($33.MovementGeneratedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$33.MovementStockValueUpdatedRequest, $33.MovementStockValueUpdatedResponse>(
|
||||
'StockValueUpdated',
|
||||
stockValueUpdated_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.MovementStockValueUpdatedRequest.fromBuffer(value),
|
||||
($51.MovementStockValueUpdatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$51.MovementClaimAddedRequest, $51.MovementClaimAddedResponse>(
|
||||
($core.List<$core.int> value) => $33.MovementStockValueUpdatedRequest.fromBuffer(value),
|
||||
($33.MovementStockValueUpdatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$33.MovementClaimAddedRequest, $33.MovementClaimAddedResponse>(
|
||||
'ClaimAdded',
|
||||
claimAdded_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.MovementClaimAddedRequest.fromBuffer(value),
|
||||
($51.MovementClaimAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$51.MovementAttachmentAddedRequest, $51.MovementAttachmentAddedResponse>(
|
||||
($core.List<$core.int> value) => $33.MovementClaimAddedRequest.fromBuffer(value),
|
||||
($33.MovementClaimAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$33.MovementAttachmentAddedRequest, $33.MovementAttachmentAddedResponse>(
|
||||
'AttachmentAdded',
|
||||
attachmentAdded_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.MovementAttachmentAddedRequest.fromBuffer(value),
|
||||
($51.MovementAttachmentAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$51.MovementAttachmentRemovedRequest, $51.MovementAttachmentRemovedResponse>(
|
||||
($core.List<$core.int> value) => $33.MovementAttachmentAddedRequest.fromBuffer(value),
|
||||
($33.MovementAttachmentAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$33.MovementAttachmentRemovedRequest, $33.MovementAttachmentRemovedResponse>(
|
||||
'AttachmentRemoved',
|
||||
attachmentRemoved_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.MovementAttachmentRemovedRequest.fromBuffer(value),
|
||||
($51.MovementAttachmentRemovedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$51.MovementDeletedRequest, $51.MovementDeletedResponse>(
|
||||
($core.List<$core.int> value) => $33.MovementAttachmentRemovedRequest.fromBuffer(value),
|
||||
($33.MovementAttachmentRemovedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$33.MovementDeletedRequest, $33.MovementDeletedResponse>(
|
||||
'Deleted',
|
||||
deleted_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $51.MovementDeletedRequest.fromBuffer(value),
|
||||
($51.MovementDeletedResponse value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $33.MovementDeletedRequest.fromBuffer(value),
|
||||
($33.MovementDeletedResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$51.MovementCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$51.MovementCreatedRequest> $request) async {
|
||||
$async.Future<$33.MovementCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$33.MovementCreatedRequest> $request) async {
|
||||
return created($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$51.MovementGeneratedResponse> generated_Pre($grpc.ServiceCall $call, $async.Future<$51.MovementGeneratedRequest> $request) async {
|
||||
$async.Future<$33.MovementGeneratedResponse> generated_Pre($grpc.ServiceCall $call, $async.Future<$33.MovementGeneratedRequest> $request) async {
|
||||
return generated($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$51.MovementStockValueUpdatedResponse> stockValueUpdated_Pre($grpc.ServiceCall $call, $async.Future<$51.MovementStockValueUpdatedRequest> $request) async {
|
||||
$async.Future<$33.MovementStockValueUpdatedResponse> stockValueUpdated_Pre($grpc.ServiceCall $call, $async.Future<$33.MovementStockValueUpdatedRequest> $request) async {
|
||||
return stockValueUpdated($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$51.MovementClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$51.MovementClaimAddedRequest> $request) async {
|
||||
$async.Future<$33.MovementClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$33.MovementClaimAddedRequest> $request) async {
|
||||
return claimAdded($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$51.MovementAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$51.MovementAttachmentAddedRequest> $request) async {
|
||||
$async.Future<$33.MovementAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$33.MovementAttachmentAddedRequest> $request) async {
|
||||
return attachmentAdded($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$51.MovementAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$51.MovementAttachmentRemovedRequest> $request) async {
|
||||
$async.Future<$33.MovementAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$33.MovementAttachmentRemovedRequest> $request) async {
|
||||
return attachmentRemoved($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$51.MovementDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$51.MovementDeletedRequest> $request) async {
|
||||
$async.Future<$33.MovementDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$33.MovementDeletedRequest> $request) async {
|
||||
return deleted($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$51.MovementCreatedResponse> created($grpc.ServiceCall call, $51.MovementCreatedRequest request);
|
||||
$async.Future<$51.MovementGeneratedResponse> generated($grpc.ServiceCall call, $51.MovementGeneratedRequest request);
|
||||
$async.Future<$51.MovementStockValueUpdatedResponse> stockValueUpdated($grpc.ServiceCall call, $51.MovementStockValueUpdatedRequest request);
|
||||
$async.Future<$51.MovementClaimAddedResponse> claimAdded($grpc.ServiceCall call, $51.MovementClaimAddedRequest request);
|
||||
$async.Future<$51.MovementAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $51.MovementAttachmentAddedRequest request);
|
||||
$async.Future<$51.MovementAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $51.MovementAttachmentRemovedRequest request);
|
||||
$async.Future<$51.MovementDeletedResponse> deleted($grpc.ServiceCall call, $51.MovementDeletedRequest request);
|
||||
$async.Future<$33.MovementCreatedResponse> created($grpc.ServiceCall call, $33.MovementCreatedRequest request);
|
||||
$async.Future<$33.MovementGeneratedResponse> generated($grpc.ServiceCall call, $33.MovementGeneratedRequest request);
|
||||
$async.Future<$33.MovementStockValueUpdatedResponse> stockValueUpdated($grpc.ServiceCall call, $33.MovementStockValueUpdatedRequest request);
|
||||
$async.Future<$33.MovementClaimAddedResponse> claimAdded($grpc.ServiceCall call, $33.MovementClaimAddedRequest request);
|
||||
$async.Future<$33.MovementAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $33.MovementAttachmentAddedRequest request);
|
||||
$async.Future<$33.MovementAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $33.MovementAttachmentRemovedRequest request);
|
||||
$async.Future<$33.MovementDeletedResponse> deleted($grpc.ServiceCall call, $33.MovementDeletedRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user