diff --git a/lib/src/gen/app/v1/app.pb.dart b/lib/src/gen/app/v1/app.pb.dart index 3dbe62bec31..f875233091d 100644 --- a/lib/src/gen/app/v1/app.pb.dart +++ b/lib/src/gen/app/v1/app.pb.dart @@ -6275,6 +6275,8 @@ class FragmentHistoryEntry extends $pb.GeneratedMessage { $45.Timestamp? editedOn, Fragment? old, AuthenticatorInfo? editedBy, + $core.String? revision, + $44.Struct? config, }) { final $result = create(); if (fragment != null) { @@ -6289,6 +6291,12 @@ class FragmentHistoryEntry extends $pb.GeneratedMessage { if (editedBy != null) { $result.editedBy = editedBy; } + if (revision != null) { + $result.revision = revision; + } + if (config != null) { + $result.config = config; + } return $result; } FragmentHistoryEntry._() : super(); @@ -6300,6 +6308,8 @@ class FragmentHistoryEntry extends $pb.GeneratedMessage { ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'editedOn', subBuilder: $45.Timestamp.create) ..aOM(3, _omitFieldNames ? '' : 'old', subBuilder: Fragment.create) ..aOM(4, _omitFieldNames ? '' : 'editedBy', subBuilder: AuthenticatorInfo.create) + ..aOS(5, _omitFieldNames ? '' : 'revision') + ..aOM<$44.Struct>(6, _omitFieldNames ? '' : 'config', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -6365,6 +6375,26 @@ class FragmentHistoryEntry extends $pb.GeneratedMessage { void clearEditedBy() => clearField(4); @$pb.TagNumber(4) AuthenticatorInfo ensureEditedBy() => $_ensure(3); + + @$pb.TagNumber(5) + $core.String get revision => $_getSZ(4); + @$pb.TagNumber(5) + set revision($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasRevision() => $_has(4); + @$pb.TagNumber(5) + void clearRevision() => clearField(5); + + @$pb.TagNumber(6) + $44.Struct get config => $_getN(5); + @$pb.TagNumber(6) + set config($44.Struct v) { setField(6, v); } + @$pb.TagNumber(6) + $core.bool hasConfig() => $_has(5); + @$pb.TagNumber(6) + void clearConfig() => clearField(6); + @$pb.TagNumber(6) + $44.Struct ensureConfig() => $_ensure(5); } class FragmentError extends $pb.GeneratedMessage { diff --git a/lib/src/gen/app/v1/app.pbjson.dart b/lib/src/gen/app/v1/app.pbjson.dart index 4d3a262b78b..98726d333a3 100644 --- a/lib/src/gen/app/v1/app.pbjson.dart +++ b/lib/src/gen/app/v1/app.pbjson.dart @@ -1642,6 +1642,8 @@ const FragmentHistoryEntry$json = { {'1': 'edited_on', '3': 2, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'editedOn'}, {'1': 'old', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.Fragment', '8': {}, '10': 'old'}, {'1': 'edited_by', '3': 4, '4': 1, '5': 11, '6': '.viam.app.v1.AuthenticatorInfo', '8': {}, '10': 'editedBy'}, + {'1': 'revision', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'revision'}, + {'1': 'config', '3': 6, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '8': {}, '10': 'config'}, ], }; @@ -1653,7 +1655,10 @@ final $typed_data.Uint8List fragmentHistoryEntryDescriptor = $convert.base64Deco 'RpdGVkX29uIlIIZWRpdGVkT24SQwoDb2xkGAMgASgLMhUudmlhbS5hcHAudjEuRnJhZ21lbnRC' 'GpqEngMVYnNvbjoib2xkIiBqc29uOiJvbGQiUgNvbGQSYwoJZWRpdGVkX2J5GAQgASgLMh4udm' 'lhbS5hcHAudjEuQXV0aGVudGljYXRvckluZm9CJpqEngMhYnNvbjoiZWRpdGVkX2J5IiBqc29u' - 'OiJlZGl0ZWRfYnkiUghlZGl0ZWRCeQ=='); + 'OiJlZGl0ZWRfYnkiUghlZGl0ZWRCeRJACghyZXZpc2lvbhgFIAEoCUIkmoSeAx9ic29uOiJyZX' + 'Zpc2lvbiIganNvbjoicmV2aXNpb24iUghyZXZpc2lvbhJRCgZjb25maWcYBiABKAsyFy5nb29n' + 'bGUucHJvdG9idWYuU3RydWN0QiCahJ4DG2Jzb246ImNvbmZpZyIganNvbjoiY29uZmlnIlIGY2' + '9uZmln'); @$core.Deprecated('Use fragmentErrorDescriptor instead') const FragmentError$json = { diff --git a/lib/src/gen/app/v1/end_user.pbjson.dart b/lib/src/gen/app/v1/end_user.pbjson.dart index 2c9fb1d8127..247675e08b4 100644 --- a/lib/src/gen/app/v1/end_user.pbjson.dart +++ b/lib/src/gen/app/v1/end_user.pbjson.dart @@ -63,6 +63,7 @@ const RegisterAuthApplicationRequest$json = { {'1': 'redirect_uris', '3': 4, '4': 3, '5': 9, '10': 'redirectUris'}, {'1': 'logout_uri', '3': 5, '4': 1, '5': 9, '10': 'logoutUri'}, ], + '7': {'3': true}, }; /// Descriptor for `RegisterAuthApplicationRequest`. Decode as a `google.protobuf.DescriptorProto`. @@ -70,7 +71,7 @@ final $typed_data.Uint8List registerAuthApplicationRequestDescriptor = $convert. 'Ch5SZWdpc3RlckF1dGhBcHBsaWNhdGlvblJlcXVlc3QSKQoQYXBwbGljYXRpb25fbmFtZRgBIA' 'EoCVIPYXBwbGljYXRpb25OYW1lEhUKBm9yZ19pZBgCIAEoCVIFb3JnSWQSHwoLb3JpZ2luX3Vy' 'aXMYAyADKAlSCm9yaWdpblVyaXMSIwoNcmVkaXJlY3RfdXJpcxgEIAMoCVIMcmVkaXJlY3RVcm' - 'lzEh0KCmxvZ291dF91cmkYBSABKAlSCWxvZ291dFVyaQ=='); + 'lzEh0KCmxvZ291dF91cmkYBSABKAlSCWxvZ291dFVyaToCGAE='); @$core.Deprecated('Use registerAuthApplicationResponseDescriptor instead') const RegisterAuthApplicationResponse$json = { @@ -80,13 +81,14 @@ const RegisterAuthApplicationResponse$json = { {'1': 'application_name', '3': 2, '4': 1, '5': 9, '10': 'applicationName'}, {'1': 'client_secret', '3': 3, '4': 1, '5': 9, '10': 'clientSecret'}, ], + '7': {'3': true}, }; /// Descriptor for `RegisterAuthApplicationResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List registerAuthApplicationResponseDescriptor = $convert.base64Decode( 'Ch9SZWdpc3RlckF1dGhBcHBsaWNhdGlvblJlc3BvbnNlEiUKDmFwcGxpY2F0aW9uX2lkGAEgAS' 'gJUg1hcHBsaWNhdGlvbklkEikKEGFwcGxpY2F0aW9uX25hbWUYAiABKAlSD2FwcGxpY2F0aW9u' - 'TmFtZRIjCg1jbGllbnRfc2VjcmV0GAMgASgJUgxjbGllbnRTZWNyZXQ='); + 'TmFtZRIjCg1jbGllbnRfc2VjcmV0GAMgASgJUgxjbGllbnRTZWNyZXQ6AhgB'); @$core.Deprecated('Use updateAuthApplicationRequestDescriptor instead') const UpdateAuthApplicationRequest$json = { @@ -99,6 +101,7 @@ const UpdateAuthApplicationRequest$json = { {'1': 'redirect_uris', '3': 5, '4': 3, '5': 9, '10': 'redirectUris'}, {'1': 'logout_uri', '3': 6, '4': 1, '5': 9, '10': 'logoutUri'}, ], + '7': {'3': true}, }; /// Descriptor for `UpdateAuthApplicationRequest`. Decode as a `google.protobuf.DescriptorProto`. @@ -107,7 +110,7 @@ final $typed_data.Uint8List updateAuthApplicationRequestDescriptor = $convert.ba 'oOYXBwbGljYXRpb25faWQYAiABKAlSDWFwcGxpY2F0aW9uSWQSKQoQYXBwbGljYXRpb25fbmFt' 'ZRgDIAEoCVIPYXBwbGljYXRpb25OYW1lEh8KC29yaWdpbl91cmlzGAQgAygJUgpvcmlnaW5Vcm' 'lzEiMKDXJlZGlyZWN0X3VyaXMYBSADKAlSDHJlZGlyZWN0VXJpcxIdCgpsb2dvdXRfdXJpGAYg' - 'ASgJUglsb2dvdXRVcmk='); + 'ASgJUglsb2dvdXRVcmk6AhgB'); @$core.Deprecated('Use updateAuthApplicationResponseDescriptor instead') const UpdateAuthApplicationResponse$json = { @@ -116,13 +119,14 @@ const UpdateAuthApplicationResponse$json = { {'1': 'application_id', '3': 1, '4': 1, '5': 9, '10': 'applicationId'}, {'1': 'application_name', '3': 2, '4': 1, '5': 9, '10': 'applicationName'}, ], + '7': {'3': true}, }; /// Descriptor for `UpdateAuthApplicationResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List updateAuthApplicationResponseDescriptor = $convert.base64Decode( 'Ch1VcGRhdGVBdXRoQXBwbGljYXRpb25SZXNwb25zZRIlCg5hcHBsaWNhdGlvbl9pZBgBIAEoCV' 'INYXBwbGljYXRpb25JZBIpChBhcHBsaWNhdGlvbl9uYW1lGAIgASgJUg9hcHBsaWNhdGlvbk5h' - 'bWU='); + 'bWU6AhgB'); @$core.Deprecated('Use getAuthApplicationRequestDescriptor instead') const GetAuthApplicationRequest$json = { @@ -131,12 +135,13 @@ const GetAuthApplicationRequest$json = { {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, {'1': 'application_id', '3': 2, '4': 1, '5': 9, '10': 'applicationId'}, ], + '7': {'3': true}, }; /// Descriptor for `GetAuthApplicationRequest`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List getAuthApplicationRequestDescriptor = $convert.base64Decode( 'ChlHZXRBdXRoQXBwbGljYXRpb25SZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQSJQoOYX' - 'BwbGljYXRpb25faWQYAiABKAlSDWFwcGxpY2F0aW9uSWQ='); + 'BwbGljYXRpb25faWQYAiABKAlSDWFwcGxpY2F0aW9uSWQ6AhgB'); @$core.Deprecated('Use getAuthApplicationResponseDescriptor instead') const GetAuthApplicationResponse$json = { @@ -149,6 +154,7 @@ const GetAuthApplicationResponse$json = { {'1': 'redirect_uris', '3': 5, '4': 3, '5': 9, '10': 'redirectUris'}, {'1': 'logout_uri', '3': 6, '4': 1, '5': 9, '10': 'logoutUri'}, ], + '7': {'3': true}, }; /// Descriptor for `GetAuthApplicationResponse`. Decode as a `google.protobuf.DescriptorProto`. @@ -157,5 +163,5 @@ final $typed_data.Uint8List getAuthApplicationResponseDescriptor = $convert.base 'BwbGljYXRpb25JZBIpChBhcHBsaWNhdGlvbl9uYW1lGAIgASgJUg9hcHBsaWNhdGlvbk5hbWUS' 'IwoNY2xpZW50X3NlY3JldBgDIAEoCVIMY2xpZW50U2VjcmV0Eh8KC29yaWdpbl91cmlzGAQgAy' 'gJUgpvcmlnaW5VcmlzEiMKDXJlZGlyZWN0X3VyaXMYBSADKAlSDHJlZGlyZWN0VXJpcxIdCgps' - 'b2dvdXRfdXJpGAYgASgJUglsb2dvdXRVcmk='); + 'b2dvdXRfdXJpGAYgASgJUglsb2dvdXRVcmk6AhgB'); diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 2fa3924e2d1..1736a860097 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -117,7 +117,7 @@ extension GetReadingsResponseUtils on GetReadingsResponse { String getVersionMetadata() { const String sdkVersion = 'v0.1.0'; - const String apiTag = 'v0.1.383'; + const String apiTag = 'v0.1.385'; return 'flutter;$sdkVersion;$apiTag'; }