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 $23;
|
||||
import 'movementInput.pb.dart' as $24;
|
||||
|
||||
export 'movementInput.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.MovementInputAPI')
|
||||
class MovementInputAPIClient extends $grpc.Client {
|
||||
static final _$created = $grpc.ClientMethod<$23.MovementCreatedRequest, $23.MovementCreatedResponse>(
|
||||
static final _$created = $grpc.ClientMethod<$24.MovementCreatedRequest, $24.MovementCreatedResponse>(
|
||||
'/api.MovementInputAPI/Created',
|
||||
($23.MovementCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $23.MovementCreatedResponse.fromBuffer(value));
|
||||
static final _$generated = $grpc.ClientMethod<$23.MovementGeneratedRequest, $23.MovementGeneratedResponse>(
|
||||
($24.MovementCreatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $24.MovementCreatedResponse.fromBuffer(value));
|
||||
static final _$generated = $grpc.ClientMethod<$24.MovementGeneratedRequest, $24.MovementGeneratedResponse>(
|
||||
'/api.MovementInputAPI/Generated',
|
||||
($23.MovementGeneratedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $23.MovementGeneratedResponse.fromBuffer(value));
|
||||
static final _$stockValueUpdated = $grpc.ClientMethod<$23.MovementStockValueUpdatedRequest, $23.MovementStockValueUpdatedResponse>(
|
||||
($24.MovementGeneratedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $24.MovementGeneratedResponse.fromBuffer(value));
|
||||
static final _$stockValueUpdated = $grpc.ClientMethod<$24.MovementStockValueUpdatedRequest, $24.MovementStockValueUpdatedResponse>(
|
||||
'/api.MovementInputAPI/StockValueUpdated',
|
||||
($23.MovementStockValueUpdatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $23.MovementStockValueUpdatedResponse.fromBuffer(value));
|
||||
static final _$claimAdded = $grpc.ClientMethod<$23.MovementClaimAddedRequest, $23.MovementClaimAddedResponse>(
|
||||
($24.MovementStockValueUpdatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $24.MovementStockValueUpdatedResponse.fromBuffer(value));
|
||||
static final _$claimAdded = $grpc.ClientMethod<$24.MovementClaimAddedRequest, $24.MovementClaimAddedResponse>(
|
||||
'/api.MovementInputAPI/ClaimAdded',
|
||||
($23.MovementClaimAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $23.MovementClaimAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentAdded = $grpc.ClientMethod<$23.MovementAttachmentAddedRequest, $23.MovementAttachmentAddedResponse>(
|
||||
($24.MovementClaimAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $24.MovementClaimAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentAdded = $grpc.ClientMethod<$24.MovementAttachmentAddedRequest, $24.MovementAttachmentAddedResponse>(
|
||||
'/api.MovementInputAPI/AttachmentAdded',
|
||||
($23.MovementAttachmentAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $23.MovementAttachmentAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentRemoved = $grpc.ClientMethod<$23.MovementAttachmentRemovedRequest, $23.MovementAttachmentRemovedResponse>(
|
||||
($24.MovementAttachmentAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $24.MovementAttachmentAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentRemoved = $grpc.ClientMethod<$24.MovementAttachmentRemovedRequest, $24.MovementAttachmentRemovedResponse>(
|
||||
'/api.MovementInputAPI/AttachmentRemoved',
|
||||
($23.MovementAttachmentRemovedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $23.MovementAttachmentRemovedResponse.fromBuffer(value));
|
||||
static final _$deleted = $grpc.ClientMethod<$23.MovementDeletedRequest, $23.MovementDeletedResponse>(
|
||||
($24.MovementAttachmentRemovedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $24.MovementAttachmentRemovedResponse.fromBuffer(value));
|
||||
static final _$deleted = $grpc.ClientMethod<$24.MovementDeletedRequest, $24.MovementDeletedResponse>(
|
||||
'/api.MovementInputAPI/Deleted',
|
||||
($23.MovementDeletedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $23.MovementDeletedResponse.fromBuffer(value));
|
||||
($24.MovementDeletedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $24.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<$23.MovementCreatedResponse> created($23.MovementCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$24.MovementCreatedResponse> created($24.MovementCreatedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$created, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$23.MovementGeneratedResponse> generated($23.MovementGeneratedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$24.MovementGeneratedResponse> generated($24.MovementGeneratedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$generated, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$23.MovementStockValueUpdatedResponse> stockValueUpdated($23.MovementStockValueUpdatedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$24.MovementStockValueUpdatedResponse> stockValueUpdated($24.MovementStockValueUpdatedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$stockValueUpdated, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$23.MovementClaimAddedResponse> claimAdded($23.MovementClaimAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$24.MovementClaimAddedResponse> claimAdded($24.MovementClaimAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$claimAdded, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$23.MovementAttachmentAddedResponse> attachmentAdded($23.MovementAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$24.MovementAttachmentAddedResponse> attachmentAdded($24.MovementAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$attachmentAdded, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$23.MovementAttachmentRemovedResponse> attachmentRemoved($23.MovementAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$24.MovementAttachmentRemovedResponse> attachmentRemoved($24.MovementAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$attachmentRemoved, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$23.MovementDeletedResponse> deleted($23.MovementDeletedRequest request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$24.MovementDeletedResponse> deleted($24.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<$23.MovementCreatedRequest, $23.MovementCreatedResponse>(
|
||||
$addMethod($grpc.ServiceMethod<$24.MovementCreatedRequest, $24.MovementCreatedResponse>(
|
||||
'Created',
|
||||
created_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $23.MovementCreatedRequest.fromBuffer(value),
|
||||
($23.MovementCreatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$23.MovementGeneratedRequest, $23.MovementGeneratedResponse>(
|
||||
($core.List<$core.int> value) => $24.MovementCreatedRequest.fromBuffer(value),
|
||||
($24.MovementCreatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$24.MovementGeneratedRequest, $24.MovementGeneratedResponse>(
|
||||
'Generated',
|
||||
generated_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $23.MovementGeneratedRequest.fromBuffer(value),
|
||||
($23.MovementGeneratedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$23.MovementStockValueUpdatedRequest, $23.MovementStockValueUpdatedResponse>(
|
||||
($core.List<$core.int> value) => $24.MovementGeneratedRequest.fromBuffer(value),
|
||||
($24.MovementGeneratedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$24.MovementStockValueUpdatedRequest, $24.MovementStockValueUpdatedResponse>(
|
||||
'StockValueUpdated',
|
||||
stockValueUpdated_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $23.MovementStockValueUpdatedRequest.fromBuffer(value),
|
||||
($23.MovementStockValueUpdatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$23.MovementClaimAddedRequest, $23.MovementClaimAddedResponse>(
|
||||
($core.List<$core.int> value) => $24.MovementStockValueUpdatedRequest.fromBuffer(value),
|
||||
($24.MovementStockValueUpdatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$24.MovementClaimAddedRequest, $24.MovementClaimAddedResponse>(
|
||||
'ClaimAdded',
|
||||
claimAdded_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $23.MovementClaimAddedRequest.fromBuffer(value),
|
||||
($23.MovementClaimAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$23.MovementAttachmentAddedRequest, $23.MovementAttachmentAddedResponse>(
|
||||
($core.List<$core.int> value) => $24.MovementClaimAddedRequest.fromBuffer(value),
|
||||
($24.MovementClaimAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$24.MovementAttachmentAddedRequest, $24.MovementAttachmentAddedResponse>(
|
||||
'AttachmentAdded',
|
||||
attachmentAdded_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $23.MovementAttachmentAddedRequest.fromBuffer(value),
|
||||
($23.MovementAttachmentAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$23.MovementAttachmentRemovedRequest, $23.MovementAttachmentRemovedResponse>(
|
||||
($core.List<$core.int> value) => $24.MovementAttachmentAddedRequest.fromBuffer(value),
|
||||
($24.MovementAttachmentAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$24.MovementAttachmentRemovedRequest, $24.MovementAttachmentRemovedResponse>(
|
||||
'AttachmentRemoved',
|
||||
attachmentRemoved_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $23.MovementAttachmentRemovedRequest.fromBuffer(value),
|
||||
($23.MovementAttachmentRemovedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$23.MovementDeletedRequest, $23.MovementDeletedResponse>(
|
||||
($core.List<$core.int> value) => $24.MovementAttachmentRemovedRequest.fromBuffer(value),
|
||||
($24.MovementAttachmentRemovedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$24.MovementDeletedRequest, $24.MovementDeletedResponse>(
|
||||
'Deleted',
|
||||
deleted_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $23.MovementDeletedRequest.fromBuffer(value),
|
||||
($23.MovementDeletedResponse value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $24.MovementDeletedRequest.fromBuffer(value),
|
||||
($24.MovementDeletedResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$23.MovementCreatedResponse> created_Pre($grpc.ServiceCall call, $async.Future<$23.MovementCreatedRequest> request) async {
|
||||
$async.Future<$24.MovementCreatedResponse> created_Pre($grpc.ServiceCall call, $async.Future<$24.MovementCreatedRequest> request) async {
|
||||
return created(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$23.MovementGeneratedResponse> generated_Pre($grpc.ServiceCall call, $async.Future<$23.MovementGeneratedRequest> request) async {
|
||||
$async.Future<$24.MovementGeneratedResponse> generated_Pre($grpc.ServiceCall call, $async.Future<$24.MovementGeneratedRequest> request) async {
|
||||
return generated(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$23.MovementStockValueUpdatedResponse> stockValueUpdated_Pre($grpc.ServiceCall call, $async.Future<$23.MovementStockValueUpdatedRequest> request) async {
|
||||
$async.Future<$24.MovementStockValueUpdatedResponse> stockValueUpdated_Pre($grpc.ServiceCall call, $async.Future<$24.MovementStockValueUpdatedRequest> request) async {
|
||||
return stockValueUpdated(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$23.MovementClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall call, $async.Future<$23.MovementClaimAddedRequest> request) async {
|
||||
$async.Future<$24.MovementClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall call, $async.Future<$24.MovementClaimAddedRequest> request) async {
|
||||
return claimAdded(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$23.MovementAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall call, $async.Future<$23.MovementAttachmentAddedRequest> request) async {
|
||||
$async.Future<$24.MovementAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall call, $async.Future<$24.MovementAttachmentAddedRequest> request) async {
|
||||
return attachmentAdded(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$23.MovementAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall call, $async.Future<$23.MovementAttachmentRemovedRequest> request) async {
|
||||
$async.Future<$24.MovementAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall call, $async.Future<$24.MovementAttachmentRemovedRequest> request) async {
|
||||
return attachmentRemoved(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$23.MovementDeletedResponse> deleted_Pre($grpc.ServiceCall call, $async.Future<$23.MovementDeletedRequest> request) async {
|
||||
$async.Future<$24.MovementDeletedResponse> deleted_Pre($grpc.ServiceCall call, $async.Future<$24.MovementDeletedRequest> request) async {
|
||||
return deleted(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$23.MovementCreatedResponse> created($grpc.ServiceCall call, $23.MovementCreatedRequest request);
|
||||
$async.Future<$23.MovementGeneratedResponse> generated($grpc.ServiceCall call, $23.MovementGeneratedRequest request);
|
||||
$async.Future<$23.MovementStockValueUpdatedResponse> stockValueUpdated($grpc.ServiceCall call, $23.MovementStockValueUpdatedRequest request);
|
||||
$async.Future<$23.MovementClaimAddedResponse> claimAdded($grpc.ServiceCall call, $23.MovementClaimAddedRequest request);
|
||||
$async.Future<$23.MovementAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $23.MovementAttachmentAddedRequest request);
|
||||
$async.Future<$23.MovementAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $23.MovementAttachmentRemovedRequest request);
|
||||
$async.Future<$23.MovementDeletedResponse> deleted($grpc.ServiceCall call, $23.MovementDeletedRequest request);
|
||||
$async.Future<$24.MovementCreatedResponse> created($grpc.ServiceCall call, $24.MovementCreatedRequest request);
|
||||
$async.Future<$24.MovementGeneratedResponse> generated($grpc.ServiceCall call, $24.MovementGeneratedRequest request);
|
||||
$async.Future<$24.MovementStockValueUpdatedResponse> stockValueUpdated($grpc.ServiceCall call, $24.MovementStockValueUpdatedRequest request);
|
||||
$async.Future<$24.MovementClaimAddedResponse> claimAdded($grpc.ServiceCall call, $24.MovementClaimAddedRequest request);
|
||||
$async.Future<$24.MovementAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $24.MovementAttachmentAddedRequest request);
|
||||
$async.Future<$24.MovementAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $24.MovementAttachmentRemovedRequest request);
|
||||
$async.Future<$24.MovementDeletedResponse> deleted($grpc.ServiceCall call, $24.MovementDeletedRequest request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user