diff --git a/lib/domain/security_bear/i_security_bear_connection_repository.dart b/lib/domain/security_bear/i_security_bear_connection_repository.dart index c8496fec1..466dd5743 100644 --- a/lib/domain/security_bear/i_security_bear_connection_repository.dart +++ b/lib/domain/security_bear/i_security_bear_connection_repository.dart @@ -1,6 +1,6 @@ +import 'package:cbj_integrations_controller/infrastructure/gen/security_bear_server_d/protoc_as_dart/security_bear_connections.pbgrpc.dart'; import 'package:cybear_jinni/domain/cbj_comp/cbj_comp_entity.dart'; import 'package:cybear_jinni/domain/security_bear/security_bear_failures.dart'; -import 'package:cybear_jinni/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbgrpc.dart'; import 'package:cybear_jinni/infrastructure/security_bear_client/security_bear_connection_repository.dart'; import 'package:dartz/dartz.dart'; diff --git a/lib/domain/software_info/software_info_entity.dart b/lib/domain/software_info/software_info_entity.dart index c3f3d2d35..c92567682 100644 --- a/lib/domain/software_info/software_info_entity.dart +++ b/lib/domain/software_info/software_info_entity.dart @@ -2,7 +2,7 @@ import 'package:cbj_integrations_controller/infrastructure/gen/cbj_app_server/pr import 'package:cbj_integrations_controller/infrastructure/gen/cbj_hub_server/protoc_as_dart/cbj_hub_server.pbgrpc.dart'; import 'package:cybear_jinni/domain/software_info/software_info_failures.dart'; import 'package:cybear_jinni/domain/software_info/software_info_value_objects.dart'; -import 'package:cybear_jinni/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbgrpc.dart'; +import 'package:cbj_integrations_controller/infrastructure/gen/security_bear_server_d/protoc_as_dart/security_bear_connections.pbgrpc.dart'; import 'package:cybear_jinni/infrastructure/software_info/software_info_dtos.dart'; import 'package:dartz/dartz.dart'; diff --git a/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pb.dart b/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pb.dart deleted file mode 100644 index c3ce364b9..000000000 --- a/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pb.dart +++ /dev/null @@ -1,623 +0,0 @@ -/// -// Generated code. Do not modify. -// source: security_bear_connections.proto -// -// @dart = 2.12 -// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name - -import 'dart:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -class SecurityBearSetup extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SecurityBearSetup', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SecurityBearConnections'), createEmptyInstance: create) - ..aOM(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'wiFiFirstPriority', protoName: 'wiFiFirstPriority', subBuilder: WiFiInformation.create) - ..aOM(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'wiFiSecondPriority', protoName: 'wiFiSecondPriority', subBuilder: WiFiInformation.create) - ..hasRequiredFields = false - ; - - SecurityBearSetup._() : super(); - factory SecurityBearSetup({ - WiFiInformation? wiFiFirstPriority, - WiFiInformation? wiFiSecondPriority, - }) { - final _result = create(); - if (wiFiFirstPriority != null) { - _result.wiFiFirstPriority = wiFiFirstPriority; - } - if (wiFiSecondPriority != null) { - _result.wiFiSecondPriority = wiFiSecondPriority; - } - return _result; - } - factory SecurityBearSetup.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SecurityBearSetup.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SecurityBearSetup clone() => SecurityBearSetup()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SecurityBearSetup copyWith(void Function(SecurityBearSetup) updates) => super.copyWith((message) => updates(message as SecurityBearSetup)) as SecurityBearSetup; // ignore: deprecated_member_use - $pb.BuilderInfo get info_ => _i; - @$core.pragma('dart2js:noInline') - static SecurityBearSetup create() => SecurityBearSetup._(); - SecurityBearSetup createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SecurityBearSetup getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SecurityBearSetup? _defaultInstance; - - @$pb.TagNumber(3) - WiFiInformation get wiFiFirstPriority => $_getN(0); - @$pb.TagNumber(3) - set wiFiFirstPriority(WiFiInformation v) { setField(3, v); } - @$pb.TagNumber(3) - $core.bool hasWiFiFirstPriority() => $_has(0); - @$pb.TagNumber(3) - void clearWiFiFirstPriority() => clearField(3); - @$pb.TagNumber(3) - WiFiInformation ensureWiFiFirstPriority() => $_ensure(0); - - @$pb.TagNumber(4) - WiFiInformation get wiFiSecondPriority => $_getN(1); - @$pb.TagNumber(4) - set wiFiSecondPriority(WiFiInformation v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasWiFiSecondPriority() => $_has(1); - @$pb.TagNumber(4) - void clearWiFiSecondPriority() => clearField(4); - @$pb.TagNumber(4) - WiFiInformation ensureWiFiSecondPriority() => $_ensure(1); -} - -class WiFiInformation extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'WiFiInformation', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SecurityBearConnections'), createEmptyInstance: create) - ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'wiFiName', protoName: 'wiFiName') - ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'wiFiPassword', protoName: 'wiFiPassword') - ..hasRequiredFields = false - ; - - WiFiInformation._() : super(); - factory WiFiInformation({ - $core.String? wiFiName, - $core.String? wiFiPassword, - }) { - final _result = create(); - if (wiFiName != null) { - _result.wiFiName = wiFiName; - } - if (wiFiPassword != null) { - _result.wiFiPassword = wiFiPassword; - } - return _result; - } - factory WiFiInformation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory WiFiInformation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - WiFiInformation clone() => WiFiInformation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - WiFiInformation copyWith(void Function(WiFiInformation) updates) => super.copyWith((message) => updates(message as WiFiInformation)) as WiFiInformation; // ignore: deprecated_member_use - $pb.BuilderInfo get info_ => _i; - @$core.pragma('dart2js:noInline') - static WiFiInformation create() => WiFiInformation._(); - WiFiInformation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static WiFiInformation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static WiFiInformation? _defaultInstance; - - @$pb.TagNumber(1) - $core.String get wiFiName => $_getSZ(0); - @$pb.TagNumber(1) - set wiFiName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasWiFiName() => $_has(0); - @$pb.TagNumber(1) - void clearWiFiName() => clearField(1); - - @$pb.TagNumber(2) - $core.String get wiFiPassword => $_getSZ(1); - @$pb.TagNumber(2) - set wiFiPassword($core.String v) { $_setString(1, v); } - @$pb.TagNumber(2) - $core.bool hasWiFiPassword() => $_has(1); - @$pb.TagNumber(2) - void clearWiFiPassword() => clearField(2); -} - -class SBCommendStatus extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SBCommendStatus', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SecurityBearConnections'), createEmptyInstance: create) - ..aOB(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'success') - ..hasRequiredFields = false - ; - - SBCommendStatus._() : super(); - factory SBCommendStatus({ - $core.bool? success, - }) { - final _result = create(); - if (success != null) { - _result.success = success; - } - return _result; - } - factory SBCommendStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SBCommendStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SBCommendStatus clone() => SBCommendStatus()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SBCommendStatus copyWith(void Function(SBCommendStatus) updates) => super.copyWith((message) => updates(message as SBCommendStatus)) as SBCommendStatus; // ignore: deprecated_member_use - $pb.BuilderInfo get info_ => _i; - @$core.pragma('dart2js:noInline') - static SBCommendStatus create() => SBCommendStatus._(); - SBCommendStatus createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SBCommendStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SBCommendStatus? _defaultInstance; - - @$pb.TagNumber(5) - $core.bool get success => $_getBF(0); - @$pb.TagNumber(5) - set success($core.bool v) { $_setBool(0, v); } - @$pb.TagNumber(5) - $core.bool hasSuccess() => $_has(0); - @$pb.TagNumber(5) - void clearSuccess() => clearField(5); -} - -class SBFirebaseAccountAndSecurityBearSetup extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SBFirebaseAccountAndSecurityBearSetup', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SecurityBearConnections'), createEmptyInstance: create) - ..aOM(10, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'sBFirebaseAccountInformation', protoName: 'sBFirebaseAccountInformation', subBuilder: SBFirebaseAccountInformation.create) - ..aOM(11, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'securityBearSetup', protoName: 'securityBearSetup', subBuilder: SecurityBearSetup.create) - ..hasRequiredFields = false - ; - - SBFirebaseAccountAndSecurityBearSetup._() : super(); - factory SBFirebaseAccountAndSecurityBearSetup({ - SBFirebaseAccountInformation? sBFirebaseAccountInformation, - SecurityBearSetup? securityBearSetup, - }) { - final _result = create(); - if (sBFirebaseAccountInformation != null) { - _result.sBFirebaseAccountInformation = sBFirebaseAccountInformation; - } - if (securityBearSetup != null) { - _result.securityBearSetup = securityBearSetup; - } - return _result; - } - factory SBFirebaseAccountAndSecurityBearSetup.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SBFirebaseAccountAndSecurityBearSetup.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SBFirebaseAccountAndSecurityBearSetup clone() => SBFirebaseAccountAndSecurityBearSetup()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SBFirebaseAccountAndSecurityBearSetup copyWith(void Function(SBFirebaseAccountAndSecurityBearSetup) updates) => super.copyWith((message) => updates(message as SBFirebaseAccountAndSecurityBearSetup)) as SBFirebaseAccountAndSecurityBearSetup; // ignore: deprecated_member_use - $pb.BuilderInfo get info_ => _i; - @$core.pragma('dart2js:noInline') - static SBFirebaseAccountAndSecurityBearSetup create() => SBFirebaseAccountAndSecurityBearSetup._(); - SBFirebaseAccountAndSecurityBearSetup createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SBFirebaseAccountAndSecurityBearSetup getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SBFirebaseAccountAndSecurityBearSetup? _defaultInstance; - - @$pb.TagNumber(10) - SBFirebaseAccountInformation get sBFirebaseAccountInformation => $_getN(0); - @$pb.TagNumber(10) - set sBFirebaseAccountInformation(SBFirebaseAccountInformation v) { setField(10, v); } - @$pb.TagNumber(10) - $core.bool hasSBFirebaseAccountInformation() => $_has(0); - @$pb.TagNumber(10) - void clearSBFirebaseAccountInformation() => clearField(10); - @$pb.TagNumber(10) - SBFirebaseAccountInformation ensureSBFirebaseAccountInformation() => $_ensure(0); - - @$pb.TagNumber(11) - SecurityBearSetup get securityBearSetup => $_getN(1); - @$pb.TagNumber(11) - set securityBearSetup(SecurityBearSetup v) { setField(11, v); } - @$pb.TagNumber(11) - $core.bool hasSecurityBearSetup() => $_has(1); - @$pb.TagNumber(11) - void clearSecurityBearSetup() => clearField(11); - @$pb.TagNumber(11) - SecurityBearSetup ensureSecurityBearSetup() => $_ensure(1); -} - -class SBFirebaseAccountInformation extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SBFirebaseAccountInformation', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SecurityBearConnections'), createEmptyInstance: create) - ..aOS(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'fireBaseProjectId', protoName: 'fireBaseProjectId') - ..aOS(7, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'fireBaseApiKey', protoName: 'fireBaseApiKey') - ..aOS(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'userEmail', protoName: 'userEmail') - ..aOS(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'userPassword', protoName: 'userPassword') - ..hasRequiredFields = false - ; - - SBFirebaseAccountInformation._() : super(); - factory SBFirebaseAccountInformation({ - $core.String? fireBaseProjectId, - $core.String? fireBaseApiKey, - $core.String? userEmail, - $core.String? userPassword, - }) { - final _result = create(); - if (fireBaseProjectId != null) { - _result.fireBaseProjectId = fireBaseProjectId; - } - if (fireBaseApiKey != null) { - _result.fireBaseApiKey = fireBaseApiKey; - } - if (userEmail != null) { - _result.userEmail = userEmail; - } - if (userPassword != null) { - _result.userPassword = userPassword; - } - return _result; - } - factory SBFirebaseAccountInformation.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SBFirebaseAccountInformation.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SBFirebaseAccountInformation clone() => SBFirebaseAccountInformation()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SBFirebaseAccountInformation copyWith(void Function(SBFirebaseAccountInformation) updates) => super.copyWith((message) => updates(message as SBFirebaseAccountInformation)) as SBFirebaseAccountInformation; // ignore: deprecated_member_use - $pb.BuilderInfo get info_ => _i; - @$core.pragma('dart2js:noInline') - static SBFirebaseAccountInformation create() => SBFirebaseAccountInformation._(); - SBFirebaseAccountInformation createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static SBFirebaseAccountInformation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static SBFirebaseAccountInformation? _defaultInstance; - - @$pb.TagNumber(6) - $core.String get fireBaseProjectId => $_getSZ(0); - @$pb.TagNumber(6) - set fireBaseProjectId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(6) - $core.bool hasFireBaseProjectId() => $_has(0); - @$pb.TagNumber(6) - void clearFireBaseProjectId() => clearField(6); - - @$pb.TagNumber(7) - $core.String get fireBaseApiKey => $_getSZ(1); - @$pb.TagNumber(7) - set fireBaseApiKey($core.String v) { $_setString(1, v); } - @$pb.TagNumber(7) - $core.bool hasFireBaseApiKey() => $_has(1); - @$pb.TagNumber(7) - void clearFireBaseApiKey() => clearField(7); - - @$pb.TagNumber(8) - $core.String get userEmail => $_getSZ(2); - @$pb.TagNumber(8) - set userEmail($core.String v) { $_setString(2, v); } - @$pb.TagNumber(8) - $core.bool hasUserEmail() => $_has(2); - @$pb.TagNumber(8) - void clearUserEmail() => clearField(8); - - @$pb.TagNumber(9) - $core.String get userPassword => $_getSZ(3); - @$pb.TagNumber(9) - set userPassword($core.String v) { $_setString(3, v); } - @$pb.TagNumber(9) - $core.bool hasUserPassword() => $_has(3); - @$pb.TagNumber(9) - void clearUserPassword() => clearField(9); -} - -class CompSecurityBearInfo extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'CompSecurityBearInfo', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SecurityBearConnections'), createEmptyInstance: create) - ..aOM(12, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'cbjInfo', protoName: 'cbjInfo', subBuilder: CbjSecurityBearIno.create) - ..aOM(13, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'compSpecs', protoName: 'compSpecs', subBuilder: CompSecurityBearSpecs.create) - ..hasRequiredFields = false - ; - - CompSecurityBearInfo._() : super(); - factory CompSecurityBearInfo({ - CbjSecurityBearIno? cbjInfo, - CompSecurityBearSpecs? compSpecs, - }) { - final _result = create(); - if (cbjInfo != null) { - _result.cbjInfo = cbjInfo; - } - if (compSpecs != null) { - _result.compSpecs = compSpecs; - } - return _result; - } - factory CompSecurityBearInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CompSecurityBearInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CompSecurityBearInfo clone() => CompSecurityBearInfo()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CompSecurityBearInfo copyWith(void Function(CompSecurityBearInfo) updates) => super.copyWith((message) => updates(message as CompSecurityBearInfo)) as CompSecurityBearInfo; // ignore: deprecated_member_use - $pb.BuilderInfo get info_ => _i; - @$core.pragma('dart2js:noInline') - static CompSecurityBearInfo create() => CompSecurityBearInfo._(); - CompSecurityBearInfo createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CompSecurityBearInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CompSecurityBearInfo? _defaultInstance; - - @$pb.TagNumber(12) - CbjSecurityBearIno get cbjInfo => $_getN(0); - @$pb.TagNumber(12) - set cbjInfo(CbjSecurityBearIno v) { setField(12, v); } - @$pb.TagNumber(12) - $core.bool hasCbjInfo() => $_has(0); - @$pb.TagNumber(12) - void clearCbjInfo() => clearField(12); - @$pb.TagNumber(12) - CbjSecurityBearIno ensureCbjInfo() => $_ensure(0); - - @$pb.TagNumber(13) - CompSecurityBearSpecs get compSpecs => $_getN(1); - @$pb.TagNumber(13) - set compSpecs(CompSecurityBearSpecs v) { setField(13, v); } - @$pb.TagNumber(13) - $core.bool hasCompSpecs() => $_has(1); - @$pb.TagNumber(13) - void clearCompSpecs() => clearField(13); - @$pb.TagNumber(13) - CompSecurityBearSpecs ensureCompSpecs() => $_ensure(1); -} - -class CbjSecurityBearIno extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'CbjSecurityBearIno', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SecurityBearConnections'), createEmptyInstance: create) - ..aOS(14, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'deviceName', protoName: 'deviceName') - ..aOS(15, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pubspecYamlVersion', protoName: 'pubspecYamlVersion') - ..aOS(16, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'protoLastGenDate', protoName: 'protoLastGenDate') - ..aOS(23, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pubspecYamlBuildNumber', protoName: 'pubspecYamlBuildNumber') - ..aOS(24, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'dartSdkVersion', protoName: 'dartSdkVersion') - ..hasRequiredFields = false - ; - - CbjSecurityBearIno._() : super(); - factory CbjSecurityBearIno({ - $core.String? deviceName, - $core.String? pubspecYamlVersion, - $core.String? protoLastGenDate, - $core.String? pubspecYamlBuildNumber, - $core.String? dartSdkVersion, - }) { - final _result = create(); - if (deviceName != null) { - _result.deviceName = deviceName; - } - if (pubspecYamlVersion != null) { - _result.pubspecYamlVersion = pubspecYamlVersion; - } - if (protoLastGenDate != null) { - _result.protoLastGenDate = protoLastGenDate; - } - if (pubspecYamlBuildNumber != null) { - _result.pubspecYamlBuildNumber = pubspecYamlBuildNumber; - } - if (dartSdkVersion != null) { - _result.dartSdkVersion = dartSdkVersion; - } - return _result; - } - factory CbjSecurityBearIno.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CbjSecurityBearIno.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CbjSecurityBearIno clone() => CbjSecurityBearIno()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CbjSecurityBearIno copyWith(void Function(CbjSecurityBearIno) updates) => super.copyWith((message) => updates(message as CbjSecurityBearIno)) as CbjSecurityBearIno; // ignore: deprecated_member_use - $pb.BuilderInfo get info_ => _i; - @$core.pragma('dart2js:noInline') - static CbjSecurityBearIno create() => CbjSecurityBearIno._(); - CbjSecurityBearIno createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CbjSecurityBearIno getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CbjSecurityBearIno? _defaultInstance; - - @$pb.TagNumber(14) - $core.String get deviceName => $_getSZ(0); - @$pb.TagNumber(14) - set deviceName($core.String v) { $_setString(0, v); } - @$pb.TagNumber(14) - $core.bool hasDeviceName() => $_has(0); - @$pb.TagNumber(14) - void clearDeviceName() => clearField(14); - - @$pb.TagNumber(15) - $core.String get pubspecYamlVersion => $_getSZ(1); - @$pb.TagNumber(15) - set pubspecYamlVersion($core.String v) { $_setString(1, v); } - @$pb.TagNumber(15) - $core.bool hasPubspecYamlVersion() => $_has(1); - @$pb.TagNumber(15) - void clearPubspecYamlVersion() => clearField(15); - - @$pb.TagNumber(16) - $core.String get protoLastGenDate => $_getSZ(2); - @$pb.TagNumber(16) - set protoLastGenDate($core.String v) { $_setString(2, v); } - @$pb.TagNumber(16) - $core.bool hasProtoLastGenDate() => $_has(2); - @$pb.TagNumber(16) - void clearProtoLastGenDate() => clearField(16); - - @$pb.TagNumber(23) - $core.String get pubspecYamlBuildNumber => $_getSZ(3); - @$pb.TagNumber(23) - set pubspecYamlBuildNumber($core.String v) { $_setString(3, v); } - @$pb.TagNumber(23) - $core.bool hasPubspecYamlBuildNumber() => $_has(3); - @$pb.TagNumber(23) - void clearPubspecYamlBuildNumber() => clearField(23); - - @$pb.TagNumber(24) - $core.String get dartSdkVersion => $_getSZ(4); - @$pb.TagNumber(24) - set dartSdkVersion($core.String v) { $_setString(4, v); } - @$pb.TagNumber(24) - $core.bool hasDartSdkVersion() => $_has(4); - @$pb.TagNumber(24) - void clearDartSdkVersion() => clearField(24); -} - -class CompSecurityBearSpecs extends $pb.GeneratedMessage { - static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'CompSecurityBearSpecs', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SecurityBearConnections'), createEmptyInstance: create) - ..aOS(17, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'compId', protoName: 'compId') - ..aOS(18, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'compUuid', protoName: 'compUuid') - ..aOS(19, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'compOs', protoName: 'compOs') - ..aOS(20, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'compModel', protoName: 'compModel') - ..aOS(21, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'compType', protoName: 'compType') - ..aOS(22, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'compIp', protoName: 'compIp') - ..hasRequiredFields = false - ; - - CompSecurityBearSpecs._() : super(); - factory CompSecurityBearSpecs({ - $core.String? compId, - $core.String? compUuid, - $core.String? compOs, - $core.String? compModel, - $core.String? compType, - $core.String? compIp, - }) { - final _result = create(); - if (compId != null) { - _result.compId = compId; - } - if (compUuid != null) { - _result.compUuid = compUuid; - } - if (compOs != null) { - _result.compOs = compOs; - } - if (compModel != null) { - _result.compModel = compModel; - } - if (compType != null) { - _result.compType = compType; - } - if (compIp != null) { - _result.compIp = compIp; - } - return _result; - } - factory CompSecurityBearSpecs.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory CompSecurityBearSpecs.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - CompSecurityBearSpecs clone() => CompSecurityBearSpecs()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - CompSecurityBearSpecs copyWith(void Function(CompSecurityBearSpecs) updates) => super.copyWith((message) => updates(message as CompSecurityBearSpecs)) as CompSecurityBearSpecs; // ignore: deprecated_member_use - $pb.BuilderInfo get info_ => _i; - @$core.pragma('dart2js:noInline') - static CompSecurityBearSpecs create() => CompSecurityBearSpecs._(); - CompSecurityBearSpecs createEmptyInstance() => create(); - static $pb.PbList createRepeated() => $pb.PbList(); - @$core.pragma('dart2js:noInline') - static CompSecurityBearSpecs getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); - static CompSecurityBearSpecs? _defaultInstance; - - @$pb.TagNumber(17) - $core.String get compId => $_getSZ(0); - @$pb.TagNumber(17) - set compId($core.String v) { $_setString(0, v); } - @$pb.TagNumber(17) - $core.bool hasCompId() => $_has(0); - @$pb.TagNumber(17) - void clearCompId() => clearField(17); - - @$pb.TagNumber(18) - $core.String get compUuid => $_getSZ(1); - @$pb.TagNumber(18) - set compUuid($core.String v) { $_setString(1, v); } - @$pb.TagNumber(18) - $core.bool hasCompUuid() => $_has(1); - @$pb.TagNumber(18) - void clearCompUuid() => clearField(18); - - @$pb.TagNumber(19) - $core.String get compOs => $_getSZ(2); - @$pb.TagNumber(19) - set compOs($core.String v) { $_setString(2, v); } - @$pb.TagNumber(19) - $core.bool hasCompOs() => $_has(2); - @$pb.TagNumber(19) - void clearCompOs() => clearField(19); - - @$pb.TagNumber(20) - $core.String get compModel => $_getSZ(3); - @$pb.TagNumber(20) - set compModel($core.String v) { $_setString(3, v); } - @$pb.TagNumber(20) - $core.bool hasCompModel() => $_has(3); - @$pb.TagNumber(20) - void clearCompModel() => clearField(20); - - @$pb.TagNumber(21) - $core.String get compType => $_getSZ(4); - @$pb.TagNumber(21) - set compType($core.String v) { $_setString(4, v); } - @$pb.TagNumber(21) - $core.bool hasCompType() => $_has(4); - @$pb.TagNumber(21) - void clearCompType() => clearField(21); - - @$pb.TagNumber(22) - $core.String get compIp => $_getSZ(5); - @$pb.TagNumber(22) - set compIp($core.String v) { $_setString(5, v); } - @$pb.TagNumber(22) - $core.bool hasCompIp() => $_has(5); - @$pb.TagNumber(22) - void clearCompIp() => clearField(22); -} - diff --git a/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbenum.dart b/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbenum.dart deleted file mode 100644 index 689c93b26..000000000 --- a/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbenum.dart +++ /dev/null @@ -1,7 +0,0 @@ -/// -// Generated code. Do not modify. -// source: security_bear_connections.proto -// -// @dart = 2.12 -// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name - diff --git a/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbgrpc.dart b/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbgrpc.dart deleted file mode 100644 index d4b6a6bcb..000000000 --- a/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbgrpc.dart +++ /dev/null @@ -1,117 +0,0 @@ -/// -// Generated code. Do not modify. -// source: security_bear_connections.proto -// -// @dart = 2.12 -// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name - -import 'dart:async' as $async; - -import 'dart:core' as $core; - -import 'package:grpc/service_api.dart' as $grpc; -import 'security_bear_connections.pb.dart' as $0; -export 'security_bear_connections.pb.dart'; - -class SecurityBearClient extends $grpc.Client { - static final _$setWiFiInformation = - $grpc.ClientMethod<$0.SecurityBearSetup, $0.SBCommendStatus>( - '/SecurityBearConnections.SecurityBear/SetWiFiInformation', - ($0.SecurityBearSetup value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $0.SBCommendStatus.fromBuffer(value)); - static final _$setFirebaseAccountAndSecurityBearSetup = $grpc.ClientMethod< - $0.SBFirebaseAccountAndSecurityBearSetup, $0.SBCommendStatus>( - '/SecurityBearConnections.SecurityBear/SetFirebaseAccountAndSecurityBearSetup', - ($0.SBFirebaseAccountAndSecurityBearSetup value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.SBCommendStatus.fromBuffer(value)); - static final _$getCompSecurityBearInfo = - $grpc.ClientMethod<$0.CompSecurityBearInfo, $0.CompSecurityBearInfo>( - '/SecurityBearConnections.SecurityBear/getCompSecurityBearInfo', - ($0.CompSecurityBearInfo value) => value.writeToBuffer(), - ($core.List<$core.int> value) => - $0.CompSecurityBearInfo.fromBuffer(value)); - - SecurityBearClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, interceptors: interceptors); - - $grpc.ResponseFuture<$0.SBCommendStatus> setWiFiInformation( - $0.SecurityBearSetup request, - {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setWiFiInformation, request, options: options); - } - - $grpc.ResponseFuture<$0.SBCommendStatus> - setFirebaseAccountAndSecurityBearSetup( - $0.SBFirebaseAccountAndSecurityBearSetup request, - {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setFirebaseAccountAndSecurityBearSetup, request, - options: options); - } - - $grpc.ResponseFuture<$0.CompSecurityBearInfo> getCompSecurityBearInfo( - $0.CompSecurityBearInfo request, - {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getCompSecurityBearInfo, request, - options: options); - } -} - -abstract class SecurityBearServiceBase extends $grpc.Service { - $core.String get $name => 'SecurityBearConnections.SecurityBear'; - - SecurityBearServiceBase() { - $addMethod($grpc.ServiceMethod<$0.SecurityBearSetup, $0.SBCommendStatus>( - 'SetWiFiInformation', - setWiFiInformation_Pre, - false, - false, - ($core.List<$core.int> value) => $0.SecurityBearSetup.fromBuffer(value), - ($0.SBCommendStatus value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.SBFirebaseAccountAndSecurityBearSetup, - $0.SBCommendStatus>( - 'SetFirebaseAccountAndSecurityBearSetup', - setFirebaseAccountAndSecurityBearSetup_Pre, - false, - false, - ($core.List<$core.int> value) => - $0.SBFirebaseAccountAndSecurityBearSetup.fromBuffer(value), - ($0.SBCommendStatus value) => value.writeToBuffer())); - $addMethod( - $grpc.ServiceMethod<$0.CompSecurityBearInfo, $0.CompSecurityBearInfo>( - 'getCompSecurityBearInfo', - getCompSecurityBearInfo_Pre, - false, - false, - ($core.List<$core.int> value) => - $0.CompSecurityBearInfo.fromBuffer(value), - ($0.CompSecurityBearInfo value) => value.writeToBuffer())); - } - - $async.Future<$0.SBCommendStatus> setWiFiInformation_Pre( - $grpc.ServiceCall call, - $async.Future<$0.SecurityBearSetup> request) async { - return setWiFiInformation(call, await request); - } - - $async.Future<$0.SBCommendStatus> setFirebaseAccountAndSecurityBearSetup_Pre( - $grpc.ServiceCall call, - $async.Future<$0.SBFirebaseAccountAndSecurityBearSetup> request) async { - return setFirebaseAccountAndSecurityBearSetup(call, await request); - } - - $async.Future<$0.CompSecurityBearInfo> getCompSecurityBearInfo_Pre( - $grpc.ServiceCall call, - $async.Future<$0.CompSecurityBearInfo> request) async { - return getCompSecurityBearInfo(call, await request); - } - - $async.Future<$0.SBCommendStatus> setWiFiInformation( - $grpc.ServiceCall call, $0.SecurityBearSetup request); - $async.Future<$0.SBCommendStatus> setFirebaseAccountAndSecurityBearSetup( - $grpc.ServiceCall call, $0.SBFirebaseAccountAndSecurityBearSetup request); - $async.Future<$0.CompSecurityBearInfo> getCompSecurityBearInfo( - $grpc.ServiceCall call, $0.CompSecurityBearInfo request); -} diff --git a/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbjson.dart b/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbjson.dart deleted file mode 100644 index 46c6af8b1..000000000 --- a/lib/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbjson.dart +++ /dev/null @@ -1,106 +0,0 @@ -/// -// Generated code. Do not modify. -// source: security_bear_connections.proto -// -// @dart = 2.12 -// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,deprecated_member_use_from_same_package,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name - -import 'dart:core' as $core; -import 'dart:convert' as $convert; -import 'dart:typed_data' as $typed_data; -@$core.Deprecated('Use securityBearSetupDescriptor instead') -const SecurityBearSetup$json = const { - '1': 'SecurityBearSetup', - '2': const [ - const {'1': 'wiFiFirstPriority', '3': 3, '4': 1, '5': 11, '6': '.SecurityBearConnections.WiFiInformation', '10': 'wiFiFirstPriority'}, - const {'1': 'wiFiSecondPriority', '3': 4, '4': 1, '5': 11, '6': '.SecurityBearConnections.WiFiInformation', '10': 'wiFiSecondPriority'}, - ], -}; - -/// Descriptor for `SecurityBearSetup`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List securityBearSetupDescriptor = $convert.base64Decode('ChFTZWN1cml0eUJlYXJTZXR1cBJWChF3aUZpRmlyc3RQcmlvcml0eRgDIAEoCzIoLlNlY3VyaXR5QmVhckNvbm5lY3Rpb25zLldpRmlJbmZvcm1hdGlvblIRd2lGaUZpcnN0UHJpb3JpdHkSWAoSd2lGaVNlY29uZFByaW9yaXR5GAQgASgLMiguU2VjdXJpdHlCZWFyQ29ubmVjdGlvbnMuV2lGaUluZm9ybWF0aW9uUhJ3aUZpU2Vjb25kUHJpb3JpdHk='); -@$core.Deprecated('Use wiFiInformationDescriptor instead') -const WiFiInformation$json = const { - '1': 'WiFiInformation', - '2': const [ - const {'1': 'wiFiName', '3': 1, '4': 1, '5': 9, '10': 'wiFiName'}, - const {'1': 'wiFiPassword', '3': 2, '4': 1, '5': 9, '10': 'wiFiPassword'}, - ], -}; - -/// Descriptor for `WiFiInformation`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List wiFiInformationDescriptor = $convert.base64Decode('Cg9XaUZpSW5mb3JtYXRpb24SGgoId2lGaU5hbWUYASABKAlSCHdpRmlOYW1lEiIKDHdpRmlQYXNzd29yZBgCIAEoCVIMd2lGaVBhc3N3b3Jk'); -@$core.Deprecated('Use sBCommendStatusDescriptor instead') -const SBCommendStatus$json = const { - '1': 'SBCommendStatus', - '2': const [ - const {'1': 'success', '3': 5, '4': 1, '5': 8, '10': 'success'}, - ], -}; - -/// Descriptor for `SBCommendStatus`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sBCommendStatusDescriptor = $convert.base64Decode('Cg9TQkNvbW1lbmRTdGF0dXMSGAoHc3VjY2VzcxgFIAEoCFIHc3VjY2Vzcw=='); -@$core.Deprecated('Use sBFirebaseAccountAndSecurityBearSetupDescriptor instead') -const SBFirebaseAccountAndSecurityBearSetup$json = const { - '1': 'SBFirebaseAccountAndSecurityBearSetup', - '2': const [ - const {'1': 'sBFirebaseAccountInformation', '3': 10, '4': 1, '5': 11, '6': '.SecurityBearConnections.SBFirebaseAccountInformation', '10': 'sBFirebaseAccountInformation'}, - const {'1': 'securityBearSetup', '3': 11, '4': 1, '5': 11, '6': '.SecurityBearConnections.SecurityBearSetup', '10': 'securityBearSetup'}, - ], -}; - -/// Descriptor for `SBFirebaseAccountAndSecurityBearSetup`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sBFirebaseAccountAndSecurityBearSetupDescriptor = $convert.base64Decode('CiVTQkZpcmViYXNlQWNjb3VudEFuZFNlY3VyaXR5QmVhclNldHVwEnkKHHNCRmlyZWJhc2VBY2NvdW50SW5mb3JtYXRpb24YCiABKAsyNS5TZWN1cml0eUJlYXJDb25uZWN0aW9ucy5TQkZpcmViYXNlQWNjb3VudEluZm9ybWF0aW9uUhxzQkZpcmViYXNlQWNjb3VudEluZm9ybWF0aW9uElgKEXNlY3VyaXR5QmVhclNldHVwGAsgASgLMiouU2VjdXJpdHlCZWFyQ29ubmVjdGlvbnMuU2VjdXJpdHlCZWFyU2V0dXBSEXNlY3VyaXR5QmVhclNldHVw'); -@$core.Deprecated('Use sBFirebaseAccountInformationDescriptor instead') -const SBFirebaseAccountInformation$json = const { - '1': 'SBFirebaseAccountInformation', - '2': const [ - const {'1': 'fireBaseProjectId', '3': 6, '4': 1, '5': 9, '10': 'fireBaseProjectId'}, - const {'1': 'fireBaseApiKey', '3': 7, '4': 1, '5': 9, '10': 'fireBaseApiKey'}, - const {'1': 'userEmail', '3': 8, '4': 1, '5': 9, '10': 'userEmail'}, - const {'1': 'userPassword', '3': 9, '4': 1, '5': 9, '10': 'userPassword'}, - ], -}; - -/// Descriptor for `SBFirebaseAccountInformation`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List sBFirebaseAccountInformationDescriptor = $convert.base64Decode('ChxTQkZpcmViYXNlQWNjb3VudEluZm9ybWF0aW9uEiwKEWZpcmVCYXNlUHJvamVjdElkGAYgASgJUhFmaXJlQmFzZVByb2plY3RJZBImCg5maXJlQmFzZUFwaUtleRgHIAEoCVIOZmlyZUJhc2VBcGlLZXkSHAoJdXNlckVtYWlsGAggASgJUgl1c2VyRW1haWwSIgoMdXNlclBhc3N3b3JkGAkgASgJUgx1c2VyUGFzc3dvcmQ='); -@$core.Deprecated('Use compSecurityBearInfoDescriptor instead') -const CompSecurityBearInfo$json = const { - '1': 'CompSecurityBearInfo', - '2': const [ - const {'1': 'cbjInfo', '3': 12, '4': 1, '5': 11, '6': '.SecurityBearConnections.CbjSecurityBearIno', '10': 'cbjInfo'}, - const {'1': 'compSpecs', '3': 13, '4': 1, '5': 11, '6': '.SecurityBearConnections.CompSecurityBearSpecs', '10': 'compSpecs'}, - ], -}; - -/// Descriptor for `CompSecurityBearInfo`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List compSecurityBearInfoDescriptor = $convert.base64Decode('ChRDb21wU2VjdXJpdHlCZWFySW5mbxJFCgdjYmpJbmZvGAwgASgLMisuU2VjdXJpdHlCZWFyQ29ubmVjdGlvbnMuQ2JqU2VjdXJpdHlCZWFySW5vUgdjYmpJbmZvEkwKCWNvbXBTcGVjcxgNIAEoCzIuLlNlY3VyaXR5QmVhckNvbm5lY3Rpb25zLkNvbXBTZWN1cml0eUJlYXJTcGVjc1IJY29tcFNwZWNz'); -@$core.Deprecated('Use cbjSecurityBearInoDescriptor instead') -const CbjSecurityBearIno$json = const { - '1': 'CbjSecurityBearIno', - '2': const [ - const {'1': 'deviceName', '3': 14, '4': 1, '5': 9, '10': 'deviceName'}, - const {'1': 'pubspecYamlVersion', '3': 15, '4': 1, '5': 9, '10': 'pubspecYamlVersion'}, - const {'1': 'pubspecYamlBuildNumber', '3': 23, '4': 1, '5': 9, '10': 'pubspecYamlBuildNumber'}, - const {'1': 'protoLastGenDate', '3': 16, '4': 1, '5': 9, '10': 'protoLastGenDate'}, - const {'1': 'dartSdkVersion', '3': 24, '4': 1, '5': 9, '10': 'dartSdkVersion'}, - ], -}; - -/// Descriptor for `CbjSecurityBearIno`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List cbjSecurityBearInoDescriptor = $convert.base64Decode('ChJDYmpTZWN1cml0eUJlYXJJbm8SHgoKZGV2aWNlTmFtZRgOIAEoCVIKZGV2aWNlTmFtZRIuChJwdWJzcGVjWWFtbFZlcnNpb24YDyABKAlSEnB1YnNwZWNZYW1sVmVyc2lvbhI2ChZwdWJzcGVjWWFtbEJ1aWxkTnVtYmVyGBcgASgJUhZwdWJzcGVjWWFtbEJ1aWxkTnVtYmVyEioKEHByb3RvTGFzdEdlbkRhdGUYECABKAlSEHByb3RvTGFzdEdlbkRhdGUSJgoOZGFydFNka1ZlcnNpb24YGCABKAlSDmRhcnRTZGtWZXJzaW9u'); -@$core.Deprecated('Use compSecurityBearSpecsDescriptor instead') -const CompSecurityBearSpecs$json = const { - '1': 'CompSecurityBearSpecs', - '2': const [ - const {'1': 'compId', '3': 17, '4': 1, '5': 9, '10': 'compId'}, - const {'1': 'compUuid', '3': 18, '4': 1, '5': 9, '10': 'compUuid'}, - const {'1': 'compOs', '3': 19, '4': 1, '5': 9, '10': 'compOs'}, - const {'1': 'compModel', '3': 20, '4': 1, '5': 9, '10': 'compModel'}, - const {'1': 'compType', '3': 21, '4': 1, '5': 9, '10': 'compType'}, - const {'1': 'compIp', '3': 22, '4': 1, '5': 9, '10': 'compIp'}, - ], -}; - -/// Descriptor for `CompSecurityBearSpecs`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List compSecurityBearSpecsDescriptor = $convert.base64Decode('ChVDb21wU2VjdXJpdHlCZWFyU3BlY3MSFgoGY29tcElkGBEgASgJUgZjb21wSWQSGgoIY29tcFV1aWQYEiABKAlSCGNvbXBVdWlkEhYKBmNvbXBPcxgTIAEoCVIGY29tcE9zEhwKCWNvbXBNb2RlbBgUIAEoCVIJY29tcE1vZGVsEhoKCGNvbXBUeXBlGBUgASgJUghjb21wVHlwZRIWCgZjb21wSXAYFiABKAlSBmNvbXBJcA=='); diff --git a/lib/infrastructure/core/gen/security_bear/proto_gen_date.dart b/lib/infrastructure/core/gen/security_bear/proto_gen_date.dart deleted file mode 100644 index 7cf3e32b0..000000000 --- a/lib/infrastructure/core/gen/security_bear/proto_gen_date.dart +++ /dev/null @@ -1 +0,0 @@ -const securityBearServerProtocGenDate = '25/03/23'; diff --git a/lib/infrastructure/security_bear_client/security_bear_connection_repository.dart b/lib/infrastructure/security_bear_client/security_bear_connection_repository.dart index 7a800aa8f..669861c22 100644 --- a/lib/infrastructure/security_bear_client/security_bear_connection_repository.dart +++ b/lib/infrastructure/security_bear_client/security_bear_connection_repository.dart @@ -1,5 +1,6 @@ import 'dart:io'; +import 'package:cbj_integrations_controller/infrastructure/gen/security_bear_server_d/protoc_as_dart/security_bear_connections.pbgrpc.dart'; import 'package:connectivity_plus/connectivity_plus.dart'; import 'package:cybear_jinni/domain/cbj_comp/cbj_comp_entity.dart'; import 'package:cybear_jinni/domain/create_home/i_create_home_repository.dart'; @@ -9,7 +10,6 @@ import 'package:cybear_jinni/domain/security_bear/i_security_bear_connection_rep import 'package:cybear_jinni/domain/security_bear/security_bear_entity.dart'; import 'package:cybear_jinni/domain/security_bear/security_bear_failures.dart'; import 'package:cybear_jinni/domain/security_bear/security_bear_value_objects.dart'; -import 'package:cybear_jinni/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbgrpc.dart'; import 'package:cybear_jinni/infrastructure/security_bear_client/security_bear_server_client.dart'; import 'package:cybear_jinni/injection.dart'; import 'package:cybear_jinni/utils.dart'; diff --git a/lib/infrastructure/security_bear_client/security_bear_server_client.dart b/lib/infrastructure/security_bear_client/security_bear_server_client.dart index 98199891e..8b3b55141 100644 --- a/lib/infrastructure/security_bear_client/security_bear_server_client.dart +++ b/lib/infrastructure/security_bear_client/security_bear_server_client.dart @@ -1,6 +1,6 @@ import 'dart:async'; -import 'package:cybear_jinni/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbgrpc.dart'; +import 'package:cbj_integrations_controller/infrastructure/gen/security_bear_server_d/protoc_as_dart/security_bear_connections.pbgrpc.dart'; import 'package:cybear_jinni/utils.dart'; import 'package:grpc/grpc.dart'; diff --git a/lib/infrastructure/software_info/software_info_repository.dart b/lib/infrastructure/software_info/software_info_repository.dart index 844f47719..cc8bb3ce4 100644 --- a/lib/infrastructure/software_info/software_info_repository.dart +++ b/lib/infrastructure/software_info/software_info_repository.dart @@ -4,6 +4,8 @@ import 'package:cbj_integrations_controller/infrastructure/gen/cbj_app_server/pr import 'package:cbj_integrations_controller/infrastructure/gen/cbj_app_server/protoc_as_dart/cbj_app_connections.pbgrpc.dart'; import 'package:cbj_integrations_controller/infrastructure/gen/cbj_hub_server/proto_gen_date.dart'; import 'package:cbj_integrations_controller/infrastructure/gen/cbj_hub_server/protoc_as_dart/cbj_hub_server.pbgrpc.dart'; +import 'package:cbj_integrations_controller/infrastructure/gen/security_bear_server_d/proto_gen_date.dart'; +import 'package:cbj_integrations_controller/infrastructure/gen/security_bear_server_d/protoc_as_dart/security_bear_connections.pbgrpc.dart'; import 'package:cybear_jinni/domain/hub/hub_failures.dart'; import 'package:cybear_jinni/domain/hub/i_hub_connection_repository.dart'; import 'package:cybear_jinni/domain/security_bear/i_security_bear_connection_repository.dart'; @@ -11,8 +13,6 @@ import 'package:cybear_jinni/domain/security_bear/security_bear_failures.dart'; import 'package:cybear_jinni/domain/software_info/i_software_info_repository.dart'; import 'package:cybear_jinni/domain/software_info/software_info_entity.dart'; import 'package:cybear_jinni/domain/software_info/software_info_failures.dart'; -import 'package:cybear_jinni/infrastructure/core/gen/security_bear/client/protoc_as_dart/security_bear_connections.pbgrpc.dart'; -import 'package:cybear_jinni/infrastructure/core/gen/security_bear/proto_gen_date.dart'; import 'package:cybear_jinni/utils.dart'; import 'package:dartz/dartz.dart'; import 'package:network_info_plus/network_info_plus.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index a6b68516d..0ee1e3a2c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -46,9 +46,11 @@ dependencies: # Helps implement the BLoC pattern. bloc: ^8.1.2 cbj_integrations_controller: - git: https://github.com/CyBear-Jinni/cbj_integrations_controller.git + path: ../cbj_integrations_controller +# git: https://github.com/CyBear-Jinni/cbj_integrations_controller.git cbj_smart_device_flutter: - git: https://github.com/CyBear-Jinni/cbj_smart_device_flutter.git + path: ../cbj_smart_device_flutter +# git: https://github.com/CyBear-Jinni/cbj_smart_device_flutter.git # Copy text from and to clipboard clipboard: ^0.1.3 # Package to create, convert, alter, and compare colors in a variety of colorspaces. @@ -131,7 +133,7 @@ dependencies: # Discover network info and configure themselves accordingly network_info_plus: ^4.1.0 # Helps you discover open ports, devices on subnet and more. - network_tools: ^4.0.1 + network_tools: ^4.0.2 # Querying information about the application package, such as CFBundleVersion package_info_plus: ^4.2.0 # Finding commonly used locations on the filesystem