diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e5e9814..2d512c34 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.13.0-SNAPSHOT-251222093920 +Lib version: 1.13.0-SNAPSHOT-251222140451 diff --git a/lib/user.pb.dart b/lib/user.pb.dart index 2a55f74f..93151247 100644 --- a/lib/user.pb.dart +++ b/lib/user.pb.dart @@ -1446,6 +1446,52 @@ class GetPlatformUserRequest extends $pb.GeneratedMessage { void clearUserID() => $_clearField(1); } +class GetPlatformUserByMailRequest extends $pb.GeneratedMessage { + factory GetPlatformUserByMailRequest({ + $core.String? userMail, + }) { + final result = create(); + if (userMail != null) result.userMail = userMail; + return result; + } + + GetPlatformUserByMailRequest._(); + + factory GetPlatformUserByMailRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetPlatformUserByMailRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPlatformUserByMailRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'UserMail', protoName: 'UserMail') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetPlatformUserByMailRequest clone() => GetPlatformUserByMailRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetPlatformUserByMailRequest copyWith(void Function(GetPlatformUserByMailRequest) updates) => super.copyWith((message) => updates(message as GetPlatformUserByMailRequest)) as GetPlatformUserByMailRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetPlatformUserByMailRequest create() => GetPlatformUserByMailRequest._(); + @$core.override + GetPlatformUserByMailRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetPlatformUserByMailRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetPlatformUserByMailRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get userMail => $_getSZ(0); + @$pb.TagNumber(1) + set userMail($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasUserMail() => $_has(0); + @$pb.TagNumber(1) + void clearUserMail() => $_clearField(1); +} + class GetOrganisationUserRequest extends $pb.GeneratedMessage { factory GetOrganisationUserRequest({ $1.RequestOrganisationHeader? header, diff --git a/lib/user.pbgrpc.dart b/lib/user.pbgrpc.dart index d784b42c..8acb1115 100644 --- a/lib/user.pbgrpc.dart +++ b/lib/user.pbgrpc.dart @@ -160,6 +160,10 @@ class UserServiceClient extends $grpc.Client { return $createUnaryCall(_$getPlatformUser, request, options: options); } + $grpc.ResponseFuture<$0.GetPlatformUserResult> getPlatformUserByMail($0.GetPlatformUserByMailRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$getPlatformUserByMail, request, options: options); + } + $grpc.ResponseFuture<$0.GetOrganisationUserResult> getOrganisationUser($0.GetOrganisationUserRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$getOrganisationUser, request, options: options); } @@ -362,6 +366,10 @@ class UserServiceClient extends $grpc.Client { '/api.UserService/GetPlatformUser', ($0.GetPlatformUserRequest value) => value.writeToBuffer(), $0.GetPlatformUserResult.fromBuffer); + static final _$getPlatformUserByMail = $grpc.ClientMethod<$0.GetPlatformUserByMailRequest, $0.GetPlatformUserResult>( + '/api.UserService/GetPlatformUserByMail', + ($0.GetPlatformUserByMailRequest value) => value.writeToBuffer(), + $0.GetPlatformUserResult.fromBuffer); static final _$getOrganisationUser = $grpc.ClientMethod<$0.GetOrganisationUserRequest, $0.GetOrganisationUserResult>( '/api.UserService/GetOrganisationUser', ($0.GetOrganisationUserRequest value) => value.writeToBuffer(), @@ -665,6 +673,13 @@ abstract class UserServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.GetPlatformUserRequest.fromBuffer(value), ($0.GetPlatformUserResult value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetPlatformUserByMailRequest, $0.GetPlatformUserResult>( + 'GetPlatformUserByMail', + getPlatformUserByMail_Pre, + false, + false, + ($core.List<$core.int> value) => $0.GetPlatformUserByMailRequest.fromBuffer(value), + ($0.GetPlatformUserResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.GetOrganisationUserRequest, $0.GetOrganisationUserResult>( 'GetOrganisationUser', getOrganisationUser_Pre, @@ -985,6 +1000,12 @@ abstract class UserServiceBase extends $grpc.Service { $async.Future<$0.GetPlatformUserResult> getPlatformUser($grpc.ServiceCall call, $0.GetPlatformUserRequest request); + $async.Future<$0.GetPlatformUserResult> getPlatformUserByMail_Pre($grpc.ServiceCall $call, $async.Future<$0.GetPlatformUserByMailRequest> $request) async { + return getPlatformUserByMail($call, await $request); + } + + $async.Future<$0.GetPlatformUserResult> getPlatformUserByMail($grpc.ServiceCall call, $0.GetPlatformUserByMailRequest request); + $async.Future<$0.GetOrganisationUserResult> getOrganisationUser_Pre($grpc.ServiceCall $call, $async.Future<$0.GetOrganisationUserRequest> $request) async { return getOrganisationUser($call, await $request); } diff --git a/lib/user.pbjson.dart b/lib/user.pbjson.dart index 3f451cb3..e7b715aa 100644 --- a/lib/user.pbjson.dart +++ b/lib/user.pbjson.dart @@ -432,6 +432,20 @@ final $typed_data.Uint8List getPlatformUserRequestDescriptor = $convert.base64De 'ChZHZXRQbGF0Zm9ybVVzZXJSZXF1ZXN0Eh8KBlVzZXJJRBgBIAEoCUIH+kIEcgIQAVIGVXNlck' 'lEOg6SQQsKCdIBBlVzZXJJRA=='); +@$core.Deprecated('Use getPlatformUserByMailRequestDescriptor instead') +const GetPlatformUserByMailRequest$json = { + '1': 'GetPlatformUserByMailRequest', + '2': [ + {'1': 'UserMail', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'UserMail'}, + ], + '7': {}, +}; + +/// Descriptor for `GetPlatformUserByMailRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getPlatformUserByMailRequestDescriptor = $convert.base64Decode( + 'ChxHZXRQbGF0Zm9ybVVzZXJCeU1haWxSZXF1ZXN0EiMKCFVzZXJNYWlsGAEgASgJQgf6QgRyAh' + 'ABUghVc2VyTWFpbDoQkkENCgvSAQhVc2VyTWFpbA=='); + @$core.Deprecated('Use getOrganisationUserRequestDescriptor instead') const GetOrganisationUserRequest$json = { '1': 'GetOrganisationUserRequest', diff --git a/pubspec.yaml b/pubspec.yaml index 0f635258..620a3332 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_core_sdk description: dart libs from core model proto files -version: 1.13.0-SNAPSHOT-251222093920 +version: 1.13.0-SNAPSHOT-251222140451 homepage: '' publish_to: '' repository: ''