diff --git a/lib/src/gen/app/v1/app.pb.dart b/lib/src/gen/app/v1/app.pb.dart index 888c882e06..7bce7f7011 100644 --- a/lib/src/gen/app/v1/app.pb.dart +++ b/lib/src/gen/app/v1/app.pb.dart @@ -12532,6 +12532,1086 @@ class CreateKeyFromExistingKeyAuthorizationsResponse extends $pb.GeneratedMessag void clearKey() => clearField(2); } +class OrganizationSetLogoRequest extends $pb.GeneratedMessage { + factory OrganizationSetLogoRequest({ + $core.String? orgId, + $core.List<$core.int>? logo, + }) { + final $result = create(); + if (orgId != null) { + $result.orgId = orgId; + } + if (logo != null) { + $result.logo = logo; + } + return $result; + } + OrganizationSetLogoRequest._() : super(); + factory OrganizationSetLogoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OrganizationSetLogoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationSetLogoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'orgId') + ..a<$core.List<$core.int>>(2, _omitFieldNames ? '' : 'logo', $pb.PbFieldType.OY) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OrganizationSetLogoRequest clone() => OrganizationSetLogoRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OrganizationSetLogoRequest copyWith(void Function(OrganizationSetLogoRequest) updates) => super.copyWith((message) => updates(message as OrganizationSetLogoRequest)) as OrganizationSetLogoRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OrganizationSetLogoRequest create() => OrganizationSetLogoRequest._(); + OrganizationSetLogoRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OrganizationSetLogoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OrganizationSetLogoRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get orgId => $_getSZ(0); + @$pb.TagNumber(1) + set orgId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrgId() => $_has(0); + @$pb.TagNumber(1) + void clearOrgId() => clearField(1); + + @$pb.TagNumber(2) + $core.List<$core.int> get logo => $_getN(1); + @$pb.TagNumber(2) + set logo($core.List<$core.int> v) { $_setBytes(1, v); } + @$pb.TagNumber(2) + $core.bool hasLogo() => $_has(1); + @$pb.TagNumber(2) + void clearLogo() => clearField(2); +} + +class OrganizationSetLogoResponse extends $pb.GeneratedMessage { + factory OrganizationSetLogoResponse() => create(); + OrganizationSetLogoResponse._() : super(); + factory OrganizationSetLogoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OrganizationSetLogoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationSetLogoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OrganizationSetLogoResponse clone() => OrganizationSetLogoResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OrganizationSetLogoResponse copyWith(void Function(OrganizationSetLogoResponse) updates) => super.copyWith((message) => updates(message as OrganizationSetLogoResponse)) as OrganizationSetLogoResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OrganizationSetLogoResponse create() => OrganizationSetLogoResponse._(); + OrganizationSetLogoResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OrganizationSetLogoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OrganizationSetLogoResponse? _defaultInstance; +} + +class OrganizationGetLogoRequest extends $pb.GeneratedMessage { + factory OrganizationGetLogoRequest({ + $core.String? orgId, + }) { + final $result = create(); + if (orgId != null) { + $result.orgId = orgId; + } + return $result; + } + OrganizationGetLogoRequest._() : super(); + factory OrganizationGetLogoRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OrganizationGetLogoRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationGetLogoRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'orgId') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OrganizationGetLogoRequest clone() => OrganizationGetLogoRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OrganizationGetLogoRequest copyWith(void Function(OrganizationGetLogoRequest) updates) => super.copyWith((message) => updates(message as OrganizationGetLogoRequest)) as OrganizationGetLogoRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OrganizationGetLogoRequest create() => OrganizationGetLogoRequest._(); + OrganizationGetLogoRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OrganizationGetLogoRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OrganizationGetLogoRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get orgId => $_getSZ(0); + @$pb.TagNumber(1) + set orgId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrgId() => $_has(0); + @$pb.TagNumber(1) + void clearOrgId() => clearField(1); +} + +class OrganizationGetLogoResponse extends $pb.GeneratedMessage { + factory OrganizationGetLogoResponse({ + $core.String? url, + }) { + final $result = create(); + if (url != null) { + $result.url = url; + } + return $result; + } + OrganizationGetLogoResponse._() : super(); + factory OrganizationGetLogoResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OrganizationGetLogoResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationGetLogoResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'url') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OrganizationGetLogoResponse clone() => OrganizationGetLogoResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OrganizationGetLogoResponse copyWith(void Function(OrganizationGetLogoResponse) updates) => super.copyWith((message) => updates(message as OrganizationGetLogoResponse)) as OrganizationGetLogoResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OrganizationGetLogoResponse create() => OrganizationGetLogoResponse._(); + OrganizationGetLogoResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OrganizationGetLogoResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OrganizationGetLogoResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get url => $_getSZ(0); + @$pb.TagNumber(1) + set url($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasUrl() => $_has(0); + @$pb.TagNumber(1) + void clearUrl() => clearField(1); +} + +class EnableAuthServiceRequest extends $pb.GeneratedMessage { + factory EnableAuthServiceRequest({ + $core.String? orgId, + }) { + final $result = create(); + if (orgId != null) { + $result.orgId = orgId; + } + return $result; + } + EnableAuthServiceRequest._() : super(); + factory EnableAuthServiceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnableAuthServiceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnableAuthServiceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'orgId') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnableAuthServiceRequest clone() => EnableAuthServiceRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnableAuthServiceRequest copyWith(void Function(EnableAuthServiceRequest) updates) => super.copyWith((message) => updates(message as EnableAuthServiceRequest)) as EnableAuthServiceRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnableAuthServiceRequest create() => EnableAuthServiceRequest._(); + EnableAuthServiceRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnableAuthServiceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnableAuthServiceRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get orgId => $_getSZ(0); + @$pb.TagNumber(1) + set orgId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrgId() => $_has(0); + @$pb.TagNumber(1) + void clearOrgId() => clearField(1); +} + +class EnableAuthServiceResponse extends $pb.GeneratedMessage { + factory EnableAuthServiceResponse() => create(); + EnableAuthServiceResponse._() : super(); + factory EnableAuthServiceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory EnableAuthServiceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EnableAuthServiceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + EnableAuthServiceResponse clone() => EnableAuthServiceResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + EnableAuthServiceResponse copyWith(void Function(EnableAuthServiceResponse) updates) => super.copyWith((message) => updates(message as EnableAuthServiceResponse)) as EnableAuthServiceResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EnableAuthServiceResponse create() => EnableAuthServiceResponse._(); + EnableAuthServiceResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EnableAuthServiceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EnableAuthServiceResponse? _defaultInstance; +} + +class DisableAuthServiceRequest extends $pb.GeneratedMessage { + factory DisableAuthServiceRequest({ + $core.String? orgId, + }) { + final $result = create(); + if (orgId != null) { + $result.orgId = orgId; + } + return $result; + } + DisableAuthServiceRequest._() : super(); + factory DisableAuthServiceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DisableAuthServiceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisableAuthServiceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'orgId') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DisableAuthServiceRequest clone() => DisableAuthServiceRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DisableAuthServiceRequest copyWith(void Function(DisableAuthServiceRequest) updates) => super.copyWith((message) => updates(message as DisableAuthServiceRequest)) as DisableAuthServiceRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DisableAuthServiceRequest create() => DisableAuthServiceRequest._(); + DisableAuthServiceRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DisableAuthServiceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DisableAuthServiceRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get orgId => $_getSZ(0); + @$pb.TagNumber(1) + set orgId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrgId() => $_has(0); + @$pb.TagNumber(1) + void clearOrgId() => clearField(1); +} + +class DisableAuthServiceResponse extends $pb.GeneratedMessage { + factory DisableAuthServiceResponse() => create(); + DisableAuthServiceResponse._() : super(); + factory DisableAuthServiceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DisableAuthServiceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DisableAuthServiceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DisableAuthServiceResponse clone() => DisableAuthServiceResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DisableAuthServiceResponse copyWith(void Function(DisableAuthServiceResponse) updates) => super.copyWith((message) => updates(message as DisableAuthServiceResponse)) as DisableAuthServiceResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DisableAuthServiceResponse create() => DisableAuthServiceResponse._(); + DisableAuthServiceResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DisableAuthServiceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DisableAuthServiceResponse? _defaultInstance; +} + +class CreateOAuthAppRequest extends $pb.GeneratedMessage { + factory CreateOAuthAppRequest({ + $core.String? orgId, + $core.String? clientName, + OAuthConfig? oauthConfig, + }) { + final $result = create(); + if (orgId != null) { + $result.orgId = orgId; + } + if (clientName != null) { + $result.clientName = clientName; + } + if (oauthConfig != null) { + $result.oauthConfig = oauthConfig; + } + return $result; + } + CreateOAuthAppRequest._() : super(); + factory CreateOAuthAppRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CreateOAuthAppRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOAuthAppRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'orgId') + ..aOS(2, _omitFieldNames ? '' : 'clientName') + ..aOM(3, _omitFieldNames ? '' : 'oauthConfig', subBuilder: OAuthConfig.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CreateOAuthAppRequest clone() => CreateOAuthAppRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CreateOAuthAppRequest copyWith(void Function(CreateOAuthAppRequest) updates) => super.copyWith((message) => updates(message as CreateOAuthAppRequest)) as CreateOAuthAppRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CreateOAuthAppRequest create() => CreateOAuthAppRequest._(); + CreateOAuthAppRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CreateOAuthAppRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CreateOAuthAppRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get orgId => $_getSZ(0); + @$pb.TagNumber(1) + set orgId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrgId() => $_has(0); + @$pb.TagNumber(1) + void clearOrgId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get clientName => $_getSZ(1); + @$pb.TagNumber(2) + set clientName($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasClientName() => $_has(1); + @$pb.TagNumber(2) + void clearClientName() => clearField(2); + + @$pb.TagNumber(3) + OAuthConfig get oauthConfig => $_getN(2); + @$pb.TagNumber(3) + set oauthConfig(OAuthConfig v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOauthConfig() => $_has(2); + @$pb.TagNumber(3) + void clearOauthConfig() => clearField(3); + @$pb.TagNumber(3) + OAuthConfig ensureOauthConfig() => $_ensure(2); +} + +class CreateOAuthAppResponse extends $pb.GeneratedMessage { + factory CreateOAuthAppResponse({ + $core.String? clientId, + $core.String? clientSecret, + }) { + final $result = create(); + if (clientId != null) { + $result.clientId = clientId; + } + if (clientSecret != null) { + $result.clientSecret = clientSecret; + } + return $result; + } + CreateOAuthAppResponse._() : super(); + factory CreateOAuthAppResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CreateOAuthAppResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateOAuthAppResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'clientId') + ..aOS(2, _omitFieldNames ? '' : 'clientSecret') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CreateOAuthAppResponse clone() => CreateOAuthAppResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CreateOAuthAppResponse copyWith(void Function(CreateOAuthAppResponse) updates) => super.copyWith((message) => updates(message as CreateOAuthAppResponse)) as CreateOAuthAppResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CreateOAuthAppResponse create() => CreateOAuthAppResponse._(); + CreateOAuthAppResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CreateOAuthAppResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CreateOAuthAppResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get clientId => $_getSZ(0); + @$pb.TagNumber(1) + set clientId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasClientId() => $_has(0); + @$pb.TagNumber(1) + void clearClientId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get clientSecret => $_getSZ(1); + @$pb.TagNumber(2) + set clientSecret($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasClientSecret() => $_has(1); + @$pb.TagNumber(2) + void clearClientSecret() => clearField(2); +} + +class ReadOAuthAppRequest extends $pb.GeneratedMessage { + factory ReadOAuthAppRequest({ + $core.String? orgId, + $core.String? clientId, + }) { + final $result = create(); + if (orgId != null) { + $result.orgId = orgId; + } + if (clientId != null) { + $result.clientId = clientId; + } + return $result; + } + ReadOAuthAppRequest._() : super(); + factory ReadOAuthAppRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ReadOAuthAppRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadOAuthAppRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'orgId') + ..aOS(2, _omitFieldNames ? '' : 'clientId') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ReadOAuthAppRequest clone() => ReadOAuthAppRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ReadOAuthAppRequest copyWith(void Function(ReadOAuthAppRequest) updates) => super.copyWith((message) => updates(message as ReadOAuthAppRequest)) as ReadOAuthAppRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ReadOAuthAppRequest create() => ReadOAuthAppRequest._(); + ReadOAuthAppRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ReadOAuthAppRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ReadOAuthAppRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get orgId => $_getSZ(0); + @$pb.TagNumber(1) + set orgId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrgId() => $_has(0); + @$pb.TagNumber(1) + void clearOrgId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get clientId => $_getSZ(1); + @$pb.TagNumber(2) + set clientId($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasClientId() => $_has(1); + @$pb.TagNumber(2) + void clearClientId() => clearField(2); +} + +class ReadOAuthAppResponse extends $pb.GeneratedMessage { + factory ReadOAuthAppResponse({ + $core.String? clientName, + $core.String? clientSecret, + OAuthConfig? oauthConfig, + }) { + final $result = create(); + if (clientName != null) { + $result.clientName = clientName; + } + if (clientSecret != null) { + $result.clientSecret = clientSecret; + } + if (oauthConfig != null) { + $result.oauthConfig = oauthConfig; + } + return $result; + } + ReadOAuthAppResponse._() : super(); + factory ReadOAuthAppResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ReadOAuthAppResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadOAuthAppResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'clientName') + ..aOS(2, _omitFieldNames ? '' : 'clientSecret') + ..aOM(3, _omitFieldNames ? '' : 'oauthConfig', subBuilder: OAuthConfig.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ReadOAuthAppResponse clone() => ReadOAuthAppResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ReadOAuthAppResponse copyWith(void Function(ReadOAuthAppResponse) updates) => super.copyWith((message) => updates(message as ReadOAuthAppResponse)) as ReadOAuthAppResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ReadOAuthAppResponse create() => ReadOAuthAppResponse._(); + ReadOAuthAppResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ReadOAuthAppResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ReadOAuthAppResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get clientName => $_getSZ(0); + @$pb.TagNumber(1) + set clientName($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasClientName() => $_has(0); + @$pb.TagNumber(1) + void clearClientName() => clearField(1); + + @$pb.TagNumber(2) + $core.String get clientSecret => $_getSZ(1); + @$pb.TagNumber(2) + set clientSecret($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasClientSecret() => $_has(1); + @$pb.TagNumber(2) + void clearClientSecret() => clearField(2); + + @$pb.TagNumber(3) + OAuthConfig get oauthConfig => $_getN(2); + @$pb.TagNumber(3) + set oauthConfig(OAuthConfig v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasOauthConfig() => $_has(2); + @$pb.TagNumber(3) + void clearOauthConfig() => clearField(3); + @$pb.TagNumber(3) + OAuthConfig ensureOauthConfig() => $_ensure(2); +} + +class UpdateOAuthAppRequest extends $pb.GeneratedMessage { + factory UpdateOAuthAppRequest({ + $core.String? orgId, + $core.String? clientId, + $core.String? clientName, + OAuthConfig? oauthConfig, + }) { + final $result = create(); + if (orgId != null) { + $result.orgId = orgId; + } + if (clientId != null) { + $result.clientId = clientId; + } + if (clientName != null) { + $result.clientName = clientName; + } + if (oauthConfig != null) { + $result.oauthConfig = oauthConfig; + } + return $result; + } + UpdateOAuthAppRequest._() : super(); + factory UpdateOAuthAppRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UpdateOAuthAppRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOAuthAppRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'orgId') + ..aOS(2, _omitFieldNames ? '' : 'clientId') + ..aOS(3, _omitFieldNames ? '' : 'clientName') + ..aOM(4, _omitFieldNames ? '' : 'oauthConfig', subBuilder: OAuthConfig.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpdateOAuthAppRequest clone() => UpdateOAuthAppRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateOAuthAppRequest copyWith(void Function(UpdateOAuthAppRequest) updates) => super.copyWith((message) => updates(message as UpdateOAuthAppRequest)) as UpdateOAuthAppRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateOAuthAppRequest create() => UpdateOAuthAppRequest._(); + UpdateOAuthAppRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdateOAuthAppRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateOAuthAppRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get orgId => $_getSZ(0); + @$pb.TagNumber(1) + set orgId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrgId() => $_has(0); + @$pb.TagNumber(1) + void clearOrgId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get clientId => $_getSZ(1); + @$pb.TagNumber(2) + set clientId($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasClientId() => $_has(1); + @$pb.TagNumber(2) + void clearClientId() => clearField(2); + + @$pb.TagNumber(3) + $core.String get clientName => $_getSZ(2); + @$pb.TagNumber(3) + set clientName($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasClientName() => $_has(2); + @$pb.TagNumber(3) + void clearClientName() => clearField(3); + + @$pb.TagNumber(4) + OAuthConfig get oauthConfig => $_getN(3); + @$pb.TagNumber(4) + set oauthConfig(OAuthConfig v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasOauthConfig() => $_has(3); + @$pb.TagNumber(4) + void clearOauthConfig() => clearField(4); + @$pb.TagNumber(4) + OAuthConfig ensureOauthConfig() => $_ensure(3); +} + +class UpdateOAuthAppResponse extends $pb.GeneratedMessage { + factory UpdateOAuthAppResponse() => create(); + UpdateOAuthAppResponse._() : super(); + factory UpdateOAuthAppResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UpdateOAuthAppResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateOAuthAppResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpdateOAuthAppResponse clone() => UpdateOAuthAppResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateOAuthAppResponse copyWith(void Function(UpdateOAuthAppResponse) updates) => super.copyWith((message) => updates(message as UpdateOAuthAppResponse)) as UpdateOAuthAppResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateOAuthAppResponse create() => UpdateOAuthAppResponse._(); + UpdateOAuthAppResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdateOAuthAppResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateOAuthAppResponse? _defaultInstance; +} + +class DeleteOAuthAppRequest extends $pb.GeneratedMessage { + factory DeleteOAuthAppRequest({ + $core.String? orgId, + $core.String? clientId, + }) { + final $result = create(); + if (orgId != null) { + $result.orgId = orgId; + } + if (clientId != null) { + $result.clientId = clientId; + } + return $result; + } + DeleteOAuthAppRequest._() : super(); + factory DeleteOAuthAppRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DeleteOAuthAppRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOAuthAppRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'orgId') + ..aOS(2, _omitFieldNames ? '' : 'clientId') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DeleteOAuthAppRequest clone() => DeleteOAuthAppRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DeleteOAuthAppRequest copyWith(void Function(DeleteOAuthAppRequest) updates) => super.copyWith((message) => updates(message as DeleteOAuthAppRequest)) as DeleteOAuthAppRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteOAuthAppRequest create() => DeleteOAuthAppRequest._(); + DeleteOAuthAppRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteOAuthAppRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteOAuthAppRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get orgId => $_getSZ(0); + @$pb.TagNumber(1) + set orgId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrgId() => $_has(0); + @$pb.TagNumber(1) + void clearOrgId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get clientId => $_getSZ(1); + @$pb.TagNumber(2) + set clientId($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasClientId() => $_has(1); + @$pb.TagNumber(2) + void clearClientId() => clearField(2); +} + +class DeleteOAuthAppResponse extends $pb.GeneratedMessage { + factory DeleteOAuthAppResponse() => create(); + DeleteOAuthAppResponse._() : super(); + factory DeleteOAuthAppResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DeleteOAuthAppResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteOAuthAppResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DeleteOAuthAppResponse clone() => DeleteOAuthAppResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DeleteOAuthAppResponse copyWith(void Function(DeleteOAuthAppResponse) updates) => super.copyWith((message) => updates(message as DeleteOAuthAppResponse)) as DeleteOAuthAppResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteOAuthAppResponse create() => DeleteOAuthAppResponse._(); + DeleteOAuthAppResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteOAuthAppResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteOAuthAppResponse? _defaultInstance; +} + +class ListOAuthAppsRequest extends $pb.GeneratedMessage { + factory ListOAuthAppsRequest({ + $core.String? orgId, + }) { + final $result = create(); + if (orgId != null) { + $result.orgId = orgId; + } + return $result; + } + ListOAuthAppsRequest._() : super(); + factory ListOAuthAppsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ListOAuthAppsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOAuthAppsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'orgId') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ListOAuthAppsRequest clone() => ListOAuthAppsRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ListOAuthAppsRequest copyWith(void Function(ListOAuthAppsRequest) updates) => super.copyWith((message) => updates(message as ListOAuthAppsRequest)) as ListOAuthAppsRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ListOAuthAppsRequest create() => ListOAuthAppsRequest._(); + ListOAuthAppsRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ListOAuthAppsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListOAuthAppsRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get orgId => $_getSZ(0); + @$pb.TagNumber(1) + set orgId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrgId() => $_has(0); + @$pb.TagNumber(1) + void clearOrgId() => clearField(1); +} + +class ListOAuthAppsResponse extends $pb.GeneratedMessage { + factory ListOAuthAppsResponse({ + $core.Iterable<$core.String>? clientIds, + }) { + final $result = create(); + if (clientIds != null) { + $result.clientIds.addAll(clientIds); + } + return $result; + } + ListOAuthAppsResponse._() : super(); + factory ListOAuthAppsResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ListOAuthAppsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListOAuthAppsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'clientIds') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ListOAuthAppsResponse clone() => ListOAuthAppsResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ListOAuthAppsResponse copyWith(void Function(ListOAuthAppsResponse) updates) => super.copyWith((message) => updates(message as ListOAuthAppsResponse)) as ListOAuthAppsResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ListOAuthAppsResponse create() => ListOAuthAppsResponse._(); + ListOAuthAppsResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ListOAuthAppsResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListOAuthAppsResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.List<$core.String> get clientIds => $_getList(0); +} + +class OAuthConfig extends $pb.GeneratedMessage { + factory OAuthConfig({ + ClientAuthentication? clientAuthentication, + PKCE? pkce, + URLValidation? urlValidation, + $core.Iterable<$core.String>? originUris, + $core.Iterable<$core.String>? redirectUris, + $core.String? logoutUri, + $core.Iterable? enabledGrants, + }) { + final $result = create(); + if (clientAuthentication != null) { + $result.clientAuthentication = clientAuthentication; + } + if (pkce != null) { + $result.pkce = pkce; + } + if (urlValidation != null) { + $result.urlValidation = urlValidation; + } + if (originUris != null) { + $result.originUris.addAll(originUris); + } + if (redirectUris != null) { + $result.redirectUris.addAll(redirectUris); + } + if (logoutUri != null) { + $result.logoutUri = logoutUri; + } + if (enabledGrants != null) { + $result.enabledGrants.addAll(enabledGrants); + } + return $result; + } + OAuthConfig._() : super(); + factory OAuthConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OAuthConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OAuthConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'clientAuthentication', $pb.PbFieldType.OE, defaultOrMaker: ClientAuthentication.CLIENT_AUTHENTICATION_UNSPECIFIED, valueOf: ClientAuthentication.valueOf, enumValues: ClientAuthentication.values) + ..e(2, _omitFieldNames ? '' : 'pkce', $pb.PbFieldType.OE, defaultOrMaker: PKCE.PKCE_UNSPECIFIED, valueOf: PKCE.valueOf, enumValues: PKCE.values) + ..e(3, _omitFieldNames ? '' : 'urlValidation', $pb.PbFieldType.OE, defaultOrMaker: URLValidation.URL_VALIDATION_UNSPECIFIED, valueOf: URLValidation.valueOf, enumValues: URLValidation.values) + ..pPS(4, _omitFieldNames ? '' : 'originUris') + ..pPS(5, _omitFieldNames ? '' : 'redirectUris') + ..aOS(6, _omitFieldNames ? '' : 'logoutUri') + ..pc(7, _omitFieldNames ? '' : 'enabledGrants', $pb.PbFieldType.KE, valueOf: EnabledGrant.valueOf, enumValues: EnabledGrant.values, defaultEnumValue: EnabledGrant.ENABLED_GRANT_UNSPECIFIED) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OAuthConfig clone() => OAuthConfig()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OAuthConfig copyWith(void Function(OAuthConfig) updates) => super.copyWith((message) => updates(message as OAuthConfig)) as OAuthConfig; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static OAuthConfig create() => OAuthConfig._(); + OAuthConfig createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static OAuthConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static OAuthConfig? _defaultInstance; + + @$pb.TagNumber(1) + ClientAuthentication get clientAuthentication => $_getN(0); + @$pb.TagNumber(1) + set clientAuthentication(ClientAuthentication v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasClientAuthentication() => $_has(0); + @$pb.TagNumber(1) + void clearClientAuthentication() => clearField(1); + + @$pb.TagNumber(2) + PKCE get pkce => $_getN(1); + @$pb.TagNumber(2) + set pkce(PKCE v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasPkce() => $_has(1); + @$pb.TagNumber(2) + void clearPkce() => clearField(2); + + @$pb.TagNumber(3) + URLValidation get urlValidation => $_getN(2); + @$pb.TagNumber(3) + set urlValidation(URLValidation v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasUrlValidation() => $_has(2); + @$pb.TagNumber(3) + void clearUrlValidation() => clearField(3); + + @$pb.TagNumber(4) + $core.List<$core.String> get originUris => $_getList(3); + + @$pb.TagNumber(5) + $core.List<$core.String> get redirectUris => $_getList(4); + + @$pb.TagNumber(6) + $core.String get logoutUri => $_getSZ(5); + @$pb.TagNumber(6) + set logoutUri($core.String v) { $_setString(5, v); } + @$pb.TagNumber(6) + $core.bool hasLogoutUri() => $_has(5); + @$pb.TagNumber(6) + void clearLogoutUri() => clearField(6); + + @$pb.TagNumber(7) + $core.List get enabledGrants => $_getList(6); +} + const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/v1/app.pbenum.dart b/lib/src/gen/app/v1/app.pbenum.dart index 07d05bf8c2..62498d2495 100644 --- a/lib/src/gen/app/v1/app.pbenum.dart +++ b/lib/src/gen/app/v1/app.pbenum.dart @@ -110,6 +110,84 @@ class Visibility extends $pb.ProtobufEnum { const Visibility._($core.int v, $core.String n) : super(v, n); } +class ClientAuthentication extends $pb.ProtobufEnum { + static const ClientAuthentication CLIENT_AUTHENTICATION_UNSPECIFIED = ClientAuthentication._(0, _omitEnumNames ? '' : 'CLIENT_AUTHENTICATION_UNSPECIFIED'); + static const ClientAuthentication CLIENT_AUTHENTICATION_REQUIRED = ClientAuthentication._(1, _omitEnumNames ? '' : 'CLIENT_AUTHENTICATION_REQUIRED'); + static const ClientAuthentication CLIENT_AUTHENTICATION_NOT_REQUIRED = ClientAuthentication._(2, _omitEnumNames ? '' : 'CLIENT_AUTHENTICATION_NOT_REQUIRED'); + static const ClientAuthentication CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN_USING_PKCE = ClientAuthentication._(3, _omitEnumNames ? '' : 'CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN_USING_PKCE'); + + static const $core.List values = [ + CLIENT_AUTHENTICATION_UNSPECIFIED, + CLIENT_AUTHENTICATION_REQUIRED, + CLIENT_AUTHENTICATION_NOT_REQUIRED, + CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN_USING_PKCE, + ]; + + static final $core.Map<$core.int, ClientAuthentication> _byValue = $pb.ProtobufEnum.initByValue(values); + static ClientAuthentication? valueOf($core.int value) => _byValue[value]; + + const ClientAuthentication._($core.int v, $core.String n) : super(v, n); +} + +class PKCE extends $pb.ProtobufEnum { + static const PKCE PKCE_UNSPECIFIED = PKCE._(0, _omitEnumNames ? '' : 'PKCE_UNSPECIFIED'); + static const PKCE PKCE_REQUIRED = PKCE._(1, _omitEnumNames ? '' : 'PKCE_REQUIRED'); + static const PKCE PKCE_NOT_REQUIRED = PKCE._(2, _omitEnumNames ? '' : 'PKCE_NOT_REQUIRED'); + static const PKCE PKCE_NOT_REQUIRED_WHEN_USING_CLIENT_AUTHENTICATION = PKCE._(3, _omitEnumNames ? '' : 'PKCE_NOT_REQUIRED_WHEN_USING_CLIENT_AUTHENTICATION'); + + static const $core.List values = [ + PKCE_UNSPECIFIED, + PKCE_REQUIRED, + PKCE_NOT_REQUIRED, + PKCE_NOT_REQUIRED_WHEN_USING_CLIENT_AUTHENTICATION, + ]; + + static final $core.Map<$core.int, PKCE> _byValue = $pb.ProtobufEnum.initByValue(values); + static PKCE? valueOf($core.int value) => _byValue[value]; + + const PKCE._($core.int v, $core.String n) : super(v, n); +} + +class URLValidation extends $pb.ProtobufEnum { + static const URLValidation URL_VALIDATION_UNSPECIFIED = URLValidation._(0, _omitEnumNames ? '' : 'URL_VALIDATION_UNSPECIFIED'); + static const URLValidation URL_VALIDATION_EXACT_MATCH = URLValidation._(1, _omitEnumNames ? '' : 'URL_VALIDATION_EXACT_MATCH'); + static const URLValidation URL_VALIDATION_ALLOW_WILDCARDS = URLValidation._(2, _omitEnumNames ? '' : 'URL_VALIDATION_ALLOW_WILDCARDS'); + + static const $core.List values = [ + URL_VALIDATION_UNSPECIFIED, + URL_VALIDATION_EXACT_MATCH, + URL_VALIDATION_ALLOW_WILDCARDS, + ]; + + static final $core.Map<$core.int, URLValidation> _byValue = $pb.ProtobufEnum.initByValue(values); + static URLValidation? valueOf($core.int value) => _byValue[value]; + + const URLValidation._($core.int v, $core.String n) : super(v, n); +} + +class EnabledGrant extends $pb.ProtobufEnum { + static const EnabledGrant ENABLED_GRANT_UNSPECIFIED = EnabledGrant._(0, _omitEnumNames ? '' : 'ENABLED_GRANT_UNSPECIFIED'); + static const EnabledGrant ENABLED_GRANT_AUTHORIZATION_CODE = EnabledGrant._(1, _omitEnumNames ? '' : 'ENABLED_GRANT_AUTHORIZATION_CODE'); + static const EnabledGrant ENABLED_GRANT_IMPLICIT = EnabledGrant._(2, _omitEnumNames ? '' : 'ENABLED_GRANT_IMPLICIT'); + static const EnabledGrant ENABLED_GRANT_PASSWORD = EnabledGrant._(3, _omitEnumNames ? '' : 'ENABLED_GRANT_PASSWORD'); + static const EnabledGrant ENABLED_GRANT_REFRESH_TOKEN = EnabledGrant._(4, _omitEnumNames ? '' : 'ENABLED_GRANT_REFRESH_TOKEN'); + static const EnabledGrant ENABLED_GRANT_DEVICE_CODE = EnabledGrant._(5, _omitEnumNames ? '' : 'ENABLED_GRANT_DEVICE_CODE'); + + static const $core.List values = [ + ENABLED_GRANT_UNSPECIFIED, + ENABLED_GRANT_AUTHORIZATION_CODE, + ENABLED_GRANT_IMPLICIT, + ENABLED_GRANT_PASSWORD, + ENABLED_GRANT_REFRESH_TOKEN, + ENABLED_GRANT_DEVICE_CODE, + ]; + + static final $core.Map<$core.int, EnabledGrant> _byValue = $pb.ProtobufEnum.initByValue(values); + static EnabledGrant? valueOf($core.int value) => _byValue[value]; + + const EnabledGrant._($core.int v, $core.String n) : super(v, n); +} + class SharedSecret_State extends $pb.ProtobufEnum { static const SharedSecret_State STATE_UNSPECIFIED = SharedSecret_State._(0, _omitEnumNames ? '' : 'STATE_UNSPECIFIED'); static const SharedSecret_State STATE_ENABLED = SharedSecret_State._(1, _omitEnumNames ? '' : 'STATE_ENABLED'); diff --git a/lib/src/gen/app/v1/app.pbgrpc.dart b/lib/src/gen/app/v1/app.pbgrpc.dart index a4922c6828..dc54ba6572 100644 --- a/lib/src/gen/app/v1/app.pbgrpc.dart +++ b/lib/src/gen/app/v1/app.pbgrpc.dart @@ -105,6 +105,42 @@ class AppServiceClient extends $grpc.Client { '/viam.app.v1.AppService/OrganizationGetSupportEmail', ($9.OrganizationGetSupportEmailRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.OrganizationGetSupportEmailResponse.fromBuffer(value)); + static final _$organizationSetLogo = $grpc.ClientMethod<$9.OrganizationSetLogoRequest, $9.OrganizationSetLogoResponse>( + '/viam.app.v1.AppService/OrganizationSetLogo', + ($9.OrganizationSetLogoRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.OrganizationSetLogoResponse.fromBuffer(value)); + static final _$organizationGetLogo = $grpc.ClientMethod<$9.OrganizationGetLogoRequest, $9.OrganizationGetLogoResponse>( + '/viam.app.v1.AppService/OrganizationGetLogo', + ($9.OrganizationGetLogoRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.OrganizationGetLogoResponse.fromBuffer(value)); + static final _$enableAuthService = $grpc.ClientMethod<$9.EnableAuthServiceRequest, $9.EnableAuthServiceResponse>( + '/viam.app.v1.AppService/EnableAuthService', + ($9.EnableAuthServiceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.EnableAuthServiceResponse.fromBuffer(value)); + static final _$disableAuthService = $grpc.ClientMethod<$9.DisableAuthServiceRequest, $9.DisableAuthServiceResponse>( + '/viam.app.v1.AppService/DisableAuthService', + ($9.DisableAuthServiceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DisableAuthServiceResponse.fromBuffer(value)); + static final _$createOAuthApp = $grpc.ClientMethod<$9.CreateOAuthAppRequest, $9.CreateOAuthAppResponse>( + '/viam.app.v1.AppService/CreateOAuthApp', + ($9.CreateOAuthAppRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateOAuthAppResponse.fromBuffer(value)); + static final _$readOAuthApp = $grpc.ClientMethod<$9.ReadOAuthAppRequest, $9.ReadOAuthAppResponse>( + '/viam.app.v1.AppService/ReadOAuthApp', + ($9.ReadOAuthAppRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ReadOAuthAppResponse.fromBuffer(value)); + static final _$updateOAuthApp = $grpc.ClientMethod<$9.UpdateOAuthAppRequest, $9.UpdateOAuthAppResponse>( + '/viam.app.v1.AppService/UpdateOAuthApp', + ($9.UpdateOAuthAppRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UpdateOAuthAppResponse.fromBuffer(value)); + static final _$deleteOAuthApp = $grpc.ClientMethod<$9.DeleteOAuthAppRequest, $9.DeleteOAuthAppResponse>( + '/viam.app.v1.AppService/DeleteOAuthApp', + ($9.DeleteOAuthAppRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteOAuthAppResponse.fromBuffer(value)); + static final _$listOAuthApps = $grpc.ClientMethod<$9.ListOAuthAppsRequest, $9.ListOAuthAppsResponse>( + '/viam.app.v1.AppService/ListOAuthApps', + ($9.ListOAuthAppsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListOAuthAppsResponse.fromBuffer(value)); static final _$createLocation = $grpc.ClientMethod<$9.CreateLocationRequest, $9.CreateLocationResponse>( '/viam.app.v1.AppService/CreateLocation', ($9.CreateLocationRequest value) => value.writeToBuffer(), @@ -428,6 +464,42 @@ class AppServiceClient extends $grpc.Client { return $createUnaryCall(_$organizationGetSupportEmail, request, options: options); } + $grpc.ResponseFuture<$9.OrganizationSetLogoResponse> organizationSetLogo($9.OrganizationSetLogoRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$organizationSetLogo, request, options: options); + } + + $grpc.ResponseFuture<$9.OrganizationGetLogoResponse> organizationGetLogo($9.OrganizationGetLogoRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$organizationGetLogo, request, options: options); + } + + $grpc.ResponseFuture<$9.EnableAuthServiceResponse> enableAuthService($9.EnableAuthServiceRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$enableAuthService, request, options: options); + } + + $grpc.ResponseFuture<$9.DisableAuthServiceResponse> disableAuthService($9.DisableAuthServiceRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$disableAuthService, request, options: options); + } + + $grpc.ResponseFuture<$9.CreateOAuthAppResponse> createOAuthApp($9.CreateOAuthAppRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$createOAuthApp, request, options: options); + } + + $grpc.ResponseFuture<$9.ReadOAuthAppResponse> readOAuthApp($9.ReadOAuthAppRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$readOAuthApp, request, options: options); + } + + $grpc.ResponseFuture<$9.UpdateOAuthAppResponse> updateOAuthApp($9.UpdateOAuthAppRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$updateOAuthApp, request, options: options); + } + + $grpc.ResponseFuture<$9.DeleteOAuthAppResponse> deleteOAuthApp($9.DeleteOAuthAppRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$deleteOAuthApp, request, options: options); + } + + $grpc.ResponseFuture<$9.ListOAuthAppsResponse> listOAuthApps($9.ListOAuthAppsRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$listOAuthApps, request, options: options); + } + $grpc.ResponseFuture<$9.CreateLocationResponse> createLocation($9.CreateLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createLocation, request, options: options); } @@ -813,6 +885,69 @@ abstract class AppServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $9.OrganizationGetSupportEmailRequest.fromBuffer(value), ($9.OrganizationGetSupportEmailResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.OrganizationSetLogoRequest, $9.OrganizationSetLogoResponse>( + 'OrganizationSetLogo', + organizationSetLogo_Pre, + false, + false, + ($core.List<$core.int> value) => $9.OrganizationSetLogoRequest.fromBuffer(value), + ($9.OrganizationSetLogoResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.OrganizationGetLogoRequest, $9.OrganizationGetLogoResponse>( + 'OrganizationGetLogo', + organizationGetLogo_Pre, + false, + false, + ($core.List<$core.int> value) => $9.OrganizationGetLogoRequest.fromBuffer(value), + ($9.OrganizationGetLogoResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.EnableAuthServiceRequest, $9.EnableAuthServiceResponse>( + 'EnableAuthService', + enableAuthService_Pre, + false, + false, + ($core.List<$core.int> value) => $9.EnableAuthServiceRequest.fromBuffer(value), + ($9.EnableAuthServiceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DisableAuthServiceRequest, $9.DisableAuthServiceResponse>( + 'DisableAuthService', + disableAuthService_Pre, + false, + false, + ($core.List<$core.int> value) => $9.DisableAuthServiceRequest.fromBuffer(value), + ($9.DisableAuthServiceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateOAuthAppRequest, $9.CreateOAuthAppResponse>( + 'CreateOAuthApp', + createOAuthApp_Pre, + false, + false, + ($core.List<$core.int> value) => $9.CreateOAuthAppRequest.fromBuffer(value), + ($9.CreateOAuthAppResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ReadOAuthAppRequest, $9.ReadOAuthAppResponse>( + 'ReadOAuthApp', + readOAuthApp_Pre, + false, + false, + ($core.List<$core.int> value) => $9.ReadOAuthAppRequest.fromBuffer(value), + ($9.ReadOAuthAppResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UpdateOAuthAppRequest, $9.UpdateOAuthAppResponse>( + 'UpdateOAuthApp', + updateOAuthApp_Pre, + false, + false, + ($core.List<$core.int> value) => $9.UpdateOAuthAppRequest.fromBuffer(value), + ($9.UpdateOAuthAppResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteOAuthAppRequest, $9.DeleteOAuthAppResponse>( + 'DeleteOAuthApp', + deleteOAuthApp_Pre, + false, + false, + ($core.List<$core.int> value) => $9.DeleteOAuthAppRequest.fromBuffer(value), + ($9.DeleteOAuthAppResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListOAuthAppsRequest, $9.ListOAuthAppsResponse>( + 'ListOAuthApps', + listOAuthApps_Pre, + false, + false, + ($core.List<$core.int> value) => $9.ListOAuthAppsRequest.fromBuffer(value), + ($9.ListOAuthAppsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$9.CreateLocationRequest, $9.CreateLocationResponse>( 'CreateLocation', createLocation_Pre, @@ -1305,6 +1440,42 @@ abstract class AppServiceBase extends $grpc.Service { return organizationGetSupportEmail(call, await request); } + $async.Future<$9.OrganizationSetLogoResponse> organizationSetLogo_Pre($grpc.ServiceCall call, $async.Future<$9.OrganizationSetLogoRequest> request) async { + return organizationSetLogo(call, await request); + } + + $async.Future<$9.OrganizationGetLogoResponse> organizationGetLogo_Pre($grpc.ServiceCall call, $async.Future<$9.OrganizationGetLogoRequest> request) async { + return organizationGetLogo(call, await request); + } + + $async.Future<$9.EnableAuthServiceResponse> enableAuthService_Pre($grpc.ServiceCall call, $async.Future<$9.EnableAuthServiceRequest> request) async { + return enableAuthService(call, await request); + } + + $async.Future<$9.DisableAuthServiceResponse> disableAuthService_Pre($grpc.ServiceCall call, $async.Future<$9.DisableAuthServiceRequest> request) async { + return disableAuthService(call, await request); + } + + $async.Future<$9.CreateOAuthAppResponse> createOAuthApp_Pre($grpc.ServiceCall call, $async.Future<$9.CreateOAuthAppRequest> request) async { + return createOAuthApp(call, await request); + } + + $async.Future<$9.ReadOAuthAppResponse> readOAuthApp_Pre($grpc.ServiceCall call, $async.Future<$9.ReadOAuthAppRequest> request) async { + return readOAuthApp(call, await request); + } + + $async.Future<$9.UpdateOAuthAppResponse> updateOAuthApp_Pre($grpc.ServiceCall call, $async.Future<$9.UpdateOAuthAppRequest> request) async { + return updateOAuthApp(call, await request); + } + + $async.Future<$9.DeleteOAuthAppResponse> deleteOAuthApp_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteOAuthAppRequest> request) async { + return deleteOAuthApp(call, await request); + } + + $async.Future<$9.ListOAuthAppsResponse> listOAuthApps_Pre($grpc.ServiceCall call, $async.Future<$9.ListOAuthAppsRequest> request) async { + return listOAuthApps(call, await request); + } + $async.Future<$9.CreateLocationResponse> createLocation_Pre($grpc.ServiceCall call, $async.Future<$9.CreateLocationRequest> request) async { return createLocation(call, await request); } @@ -1554,6 +1725,15 @@ abstract class AppServiceBase extends $grpc.Service { $async.Future<$9.GetBillingServiceConfigResponse> getBillingServiceConfig($grpc.ServiceCall call, $9.GetBillingServiceConfigRequest request); $async.Future<$9.OrganizationSetSupportEmailResponse> organizationSetSupportEmail($grpc.ServiceCall call, $9.OrganizationSetSupportEmailRequest request); $async.Future<$9.OrganizationGetSupportEmailResponse> organizationGetSupportEmail($grpc.ServiceCall call, $9.OrganizationGetSupportEmailRequest request); + $async.Future<$9.OrganizationSetLogoResponse> organizationSetLogo($grpc.ServiceCall call, $9.OrganizationSetLogoRequest request); + $async.Future<$9.OrganizationGetLogoResponse> organizationGetLogo($grpc.ServiceCall call, $9.OrganizationGetLogoRequest request); + $async.Future<$9.EnableAuthServiceResponse> enableAuthService($grpc.ServiceCall call, $9.EnableAuthServiceRequest request); + $async.Future<$9.DisableAuthServiceResponse> disableAuthService($grpc.ServiceCall call, $9.DisableAuthServiceRequest request); + $async.Future<$9.CreateOAuthAppResponse> createOAuthApp($grpc.ServiceCall call, $9.CreateOAuthAppRequest request); + $async.Future<$9.ReadOAuthAppResponse> readOAuthApp($grpc.ServiceCall call, $9.ReadOAuthAppRequest request); + $async.Future<$9.UpdateOAuthAppResponse> updateOAuthApp($grpc.ServiceCall call, $9.UpdateOAuthAppRequest request); + $async.Future<$9.DeleteOAuthAppResponse> deleteOAuthApp($grpc.ServiceCall call, $9.DeleteOAuthAppRequest request); + $async.Future<$9.ListOAuthAppsResponse> listOAuthApps($grpc.ServiceCall call, $9.ListOAuthAppsRequest request); $async.Future<$9.CreateLocationResponse> createLocation($grpc.ServiceCall call, $9.CreateLocationRequest request); $async.Future<$9.GetLocationResponse> getLocation($grpc.ServiceCall call, $9.GetLocationRequest request); $async.Future<$9.UpdateLocationResponse> updateLocation($grpc.ServiceCall call, $9.UpdateLocationRequest request); diff --git a/lib/src/gen/app/v1/app.pbjson.dart b/lib/src/gen/app/v1/app.pbjson.dart index b218e057c8..032b66c117 100644 --- a/lib/src/gen/app/v1/app.pbjson.dart +++ b/lib/src/gen/app/v1/app.pbjson.dart @@ -101,6 +101,77 @@ final $typed_data.Uint8List visibilityDescriptor = $convert.base64Decode( 'BSSVZBVEUQARIVChFWSVNJQklMSVRZX1BVQkxJQxACEh4KGlZJU0lCSUxJVFlfUFVCTElDX1VO' 'TElTVEVEEAM='); +@$core.Deprecated('Use clientAuthenticationDescriptor instead') +const ClientAuthentication$json = { + '1': 'ClientAuthentication', + '2': [ + {'1': 'CLIENT_AUTHENTICATION_UNSPECIFIED', '2': 0}, + {'1': 'CLIENT_AUTHENTICATION_REQUIRED', '2': 1}, + {'1': 'CLIENT_AUTHENTICATION_NOT_REQUIRED', '2': 2}, + {'1': 'CLIENT_AUTHENTICATION_NOT_REQUIRED_WHEN_USING_PKCE', '2': 3}, + ], +}; + +/// Descriptor for `ClientAuthentication`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List clientAuthenticationDescriptor = $convert.base64Decode( + 'ChRDbGllbnRBdXRoZW50aWNhdGlvbhIlCiFDTElFTlRfQVVUSEVOVElDQVRJT05fVU5TUEVDSU' + 'ZJRUQQABIiCh5DTElFTlRfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQQARImCiJDTElFTlRfQVVU' + 'SEVOVElDQVRJT05fTk9UX1JFUVVJUkVEEAISNgoyQ0xJRU5UX0FVVEhFTlRJQ0FUSU9OX05PVF' + '9SRVFVSVJFRF9XSEVOX1VTSU5HX1BLQ0UQAw=='); + +@$core.Deprecated('Use pKCEDescriptor instead') +const PKCE$json = { + '1': 'PKCE', + '2': [ + {'1': 'PKCE_UNSPECIFIED', '2': 0}, + {'1': 'PKCE_REQUIRED', '2': 1}, + {'1': 'PKCE_NOT_REQUIRED', '2': 2}, + {'1': 'PKCE_NOT_REQUIRED_WHEN_USING_CLIENT_AUTHENTICATION', '2': 3}, + ], +}; + +/// Descriptor for `PKCE`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List pKCEDescriptor = $convert.base64Decode( + 'CgRQS0NFEhQKEFBLQ0VfVU5TUEVDSUZJRUQQABIRCg1QS0NFX1JFUVVJUkVEEAESFQoRUEtDRV' + '9OT1RfUkVRVUlSRUQQAhI2CjJQS0NFX05PVF9SRVFVSVJFRF9XSEVOX1VTSU5HX0NMSUVOVF9B' + 'VVRIRU5USUNBVElPThAD'); + +@$core.Deprecated('Use uRLValidationDescriptor instead') +const URLValidation$json = { + '1': 'URLValidation', + '2': [ + {'1': 'URL_VALIDATION_UNSPECIFIED', '2': 0}, + {'1': 'URL_VALIDATION_EXACT_MATCH', '2': 1}, + {'1': 'URL_VALIDATION_ALLOW_WILDCARDS', '2': 2}, + ], +}; + +/// Descriptor for `URLValidation`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List uRLValidationDescriptor = $convert.base64Decode( + 'Cg1VUkxWYWxpZGF0aW9uEh4KGlVSTF9WQUxJREFUSU9OX1VOU1BFQ0lGSUVEEAASHgoaVVJMX1' + 'ZBTElEQVRJT05fRVhBQ1RfTUFUQ0gQARIiCh5VUkxfVkFMSURBVElPTl9BTExPV19XSUxEQ0FS' + 'RFMQAg=='); + +@$core.Deprecated('Use enabledGrantDescriptor instead') +const EnabledGrant$json = { + '1': 'EnabledGrant', + '2': [ + {'1': 'ENABLED_GRANT_UNSPECIFIED', '2': 0}, + {'1': 'ENABLED_GRANT_AUTHORIZATION_CODE', '2': 1}, + {'1': 'ENABLED_GRANT_IMPLICIT', '2': 2}, + {'1': 'ENABLED_GRANT_PASSWORD', '2': 3}, + {'1': 'ENABLED_GRANT_REFRESH_TOKEN', '2': 4}, + {'1': 'ENABLED_GRANT_DEVICE_CODE', '2': 5}, + ], +}; + +/// Descriptor for `EnabledGrant`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List enabledGrantDescriptor = $convert.base64Decode( + 'CgxFbmFibGVkR3JhbnQSHQoZRU5BQkxFRF9HUkFOVF9VTlNQRUNJRklFRBAAEiQKIEVOQUJMRU' + 'RfR1JBTlRfQVVUSE9SSVpBVElPTl9DT0RFEAESGgoWRU5BQkxFRF9HUkFOVF9JTVBMSUNJVBAC' + 'EhoKFkVOQUJMRURfR1JBTlRfUEFTU1dPUkQQAxIfChtFTkFCTEVEX0dSQU5UX1JFRlJFU0hfVE' + '9LRU4QBBIdChlFTkFCTEVEX0dSQU5UX0RFVklDRV9DT0RFEAU='); + @$core.Deprecated('Use robotDescriptor instead') const Robot$json = { '1': 'Robot', @@ -2997,3 +3068,250 @@ final $typed_data.Uint8List createKeyFromExistingKeyAuthorizationsResponseDescri 'Ci5DcmVhdGVLZXlGcm9tRXhpc3RpbmdLZXlBdXRob3JpemF0aW9uc1Jlc3BvbnNlEg4KAmlkGA' 'EgASgJUgJpZBIQCgNrZXkYAiABKAlSA2tleQ=='); +@$core.Deprecated('Use organizationSetLogoRequestDescriptor instead') +const OrganizationSetLogoRequest$json = { + '1': 'OrganizationSetLogoRequest', + '2': [ + {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, + {'1': 'logo', '3': 2, '4': 1, '5': 12, '10': 'logo'}, + ], +}; + +/// Descriptor for `OrganizationSetLogoRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List organizationSetLogoRequestDescriptor = $convert.base64Decode( + 'ChpPcmdhbml6YXRpb25TZXRMb2dvUmVxdWVzdBIVCgZvcmdfaWQYASABKAlSBW9yZ0lkEhIKBG' + 'xvZ28YAiABKAxSBGxvZ28='); + +@$core.Deprecated('Use organizationSetLogoResponseDescriptor instead') +const OrganizationSetLogoResponse$json = { + '1': 'OrganizationSetLogoResponse', +}; + +/// Descriptor for `OrganizationSetLogoResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List organizationSetLogoResponseDescriptor = $convert.base64Decode( + 'ChtPcmdhbml6YXRpb25TZXRMb2dvUmVzcG9uc2U='); + +@$core.Deprecated('Use organizationGetLogoRequestDescriptor instead') +const OrganizationGetLogoRequest$json = { + '1': 'OrganizationGetLogoRequest', + '2': [ + {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, + ], +}; + +/// Descriptor for `OrganizationGetLogoRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List organizationGetLogoRequestDescriptor = $convert.base64Decode( + 'ChpPcmdhbml6YXRpb25HZXRMb2dvUmVxdWVzdBIVCgZvcmdfaWQYASABKAlSBW9yZ0lk'); + +@$core.Deprecated('Use organizationGetLogoResponseDescriptor instead') +const OrganizationGetLogoResponse$json = { + '1': 'OrganizationGetLogoResponse', + '2': [ + {'1': 'url', '3': 1, '4': 1, '5': 9, '10': 'url'}, + ], +}; + +/// Descriptor for `OrganizationGetLogoResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List organizationGetLogoResponseDescriptor = $convert.base64Decode( + 'ChtPcmdhbml6YXRpb25HZXRMb2dvUmVzcG9uc2USEAoDdXJsGAEgASgJUgN1cmw='); + +@$core.Deprecated('Use enableAuthServiceRequestDescriptor instead') +const EnableAuthServiceRequest$json = { + '1': 'EnableAuthServiceRequest', + '2': [ + {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, + ], +}; + +/// Descriptor for `EnableAuthServiceRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enableAuthServiceRequestDescriptor = $convert.base64Decode( + 'ChhFbmFibGVBdXRoU2VydmljZVJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZA=='); + +@$core.Deprecated('Use enableAuthServiceResponseDescriptor instead') +const EnableAuthServiceResponse$json = { + '1': 'EnableAuthServiceResponse', +}; + +/// Descriptor for `EnableAuthServiceResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List enableAuthServiceResponseDescriptor = $convert.base64Decode( + 'ChlFbmFibGVBdXRoU2VydmljZVJlc3BvbnNl'); + +@$core.Deprecated('Use disableAuthServiceRequestDescriptor instead') +const DisableAuthServiceRequest$json = { + '1': 'DisableAuthServiceRequest', + '2': [ + {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, + ], +}; + +/// Descriptor for `DisableAuthServiceRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List disableAuthServiceRequestDescriptor = $convert.base64Decode( + 'ChlEaXNhYmxlQXV0aFNlcnZpY2VSZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQ='); + +@$core.Deprecated('Use disableAuthServiceResponseDescriptor instead') +const DisableAuthServiceResponse$json = { + '1': 'DisableAuthServiceResponse', +}; + +/// Descriptor for `DisableAuthServiceResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List disableAuthServiceResponseDescriptor = $convert.base64Decode( + 'ChpEaXNhYmxlQXV0aFNlcnZpY2VSZXNwb25zZQ=='); + +@$core.Deprecated('Use createOAuthAppRequestDescriptor instead') +const CreateOAuthAppRequest$json = { + '1': 'CreateOAuthAppRequest', + '2': [ + {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, + {'1': 'client_name', '3': 2, '4': 1, '5': 9, '10': 'clientName'}, + {'1': 'oauth_config', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.OAuthConfig', '10': 'oauthConfig'}, + ], +}; + +/// Descriptor for `CreateOAuthAppRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List createOAuthAppRequestDescriptor = $convert.base64Decode( + 'ChVDcmVhdGVPQXV0aEFwcFJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZBIfCgtjbGllbn' + 'RfbmFtZRgCIAEoCVIKY2xpZW50TmFtZRI7CgxvYXV0aF9jb25maWcYAyABKAsyGC52aWFtLmFw' + 'cC52MS5PQXV0aENvbmZpZ1ILb2F1dGhDb25maWc='); + +@$core.Deprecated('Use createOAuthAppResponseDescriptor instead') +const CreateOAuthAppResponse$json = { + '1': 'CreateOAuthAppResponse', + '2': [ + {'1': 'client_id', '3': 1, '4': 1, '5': 9, '10': 'clientId'}, + {'1': 'client_secret', '3': 2, '4': 1, '5': 9, '10': 'clientSecret'}, + ], +}; + +/// Descriptor for `CreateOAuthAppResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List createOAuthAppResponseDescriptor = $convert.base64Decode( + 'ChZDcmVhdGVPQXV0aEFwcFJlc3BvbnNlEhsKCWNsaWVudF9pZBgBIAEoCVIIY2xpZW50SWQSIw' + 'oNY2xpZW50X3NlY3JldBgCIAEoCVIMY2xpZW50U2VjcmV0'); + +@$core.Deprecated('Use readOAuthAppRequestDescriptor instead') +const ReadOAuthAppRequest$json = { + '1': 'ReadOAuthAppRequest', + '2': [ + {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, + {'1': 'client_id', '3': 2, '4': 1, '5': 9, '10': 'clientId'}, + ], +}; + +/// Descriptor for `ReadOAuthAppRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List readOAuthAppRequestDescriptor = $convert.base64Decode( + 'ChNSZWFkT0F1dGhBcHBSZXF1ZXN0EhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQSGwoJY2xpZW50X2' + 'lkGAIgASgJUghjbGllbnRJZA=='); + +@$core.Deprecated('Use readOAuthAppResponseDescriptor instead') +const ReadOAuthAppResponse$json = { + '1': 'ReadOAuthAppResponse', + '2': [ + {'1': 'client_name', '3': 1, '4': 1, '5': 9, '10': 'clientName'}, + {'1': 'client_secret', '3': 2, '4': 1, '5': 9, '10': 'clientSecret'}, + {'1': 'oauth_config', '3': 3, '4': 1, '5': 11, '6': '.viam.app.v1.OAuthConfig', '10': 'oauthConfig'}, + ], +}; + +/// Descriptor for `ReadOAuthAppResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List readOAuthAppResponseDescriptor = $convert.base64Decode( + 'ChRSZWFkT0F1dGhBcHBSZXNwb25zZRIfCgtjbGllbnRfbmFtZRgBIAEoCVIKY2xpZW50TmFtZR' + 'IjCg1jbGllbnRfc2VjcmV0GAIgASgJUgxjbGllbnRTZWNyZXQSOwoMb2F1dGhfY29uZmlnGAMg' + 'ASgLMhgudmlhbS5hcHAudjEuT0F1dGhDb25maWdSC29hdXRoQ29uZmln'); + +@$core.Deprecated('Use updateOAuthAppRequestDescriptor instead') +const UpdateOAuthAppRequest$json = { + '1': 'UpdateOAuthAppRequest', + '2': [ + {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, + {'1': 'client_id', '3': 2, '4': 1, '5': 9, '10': 'clientId'}, + {'1': 'client_name', '3': 3, '4': 1, '5': 9, '10': 'clientName'}, + {'1': 'oauth_config', '3': 4, '4': 1, '5': 11, '6': '.viam.app.v1.OAuthConfig', '10': 'oauthConfig'}, + ], +}; + +/// Descriptor for `UpdateOAuthAppRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateOAuthAppRequestDescriptor = $convert.base64Decode( + 'ChVVcGRhdGVPQXV0aEFwcFJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZBIbCgljbGllbn' + 'RfaWQYAiABKAlSCGNsaWVudElkEh8KC2NsaWVudF9uYW1lGAMgASgJUgpjbGllbnROYW1lEjsK' + 'DG9hdXRoX2NvbmZpZxgEIAEoCzIYLnZpYW0uYXBwLnYxLk9BdXRoQ29uZmlnUgtvYXV0aENvbm' + 'ZpZw=='); + +@$core.Deprecated('Use updateOAuthAppResponseDescriptor instead') +const UpdateOAuthAppResponse$json = { + '1': 'UpdateOAuthAppResponse', +}; + +/// Descriptor for `UpdateOAuthAppResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateOAuthAppResponseDescriptor = $convert.base64Decode( + 'ChZVcGRhdGVPQXV0aEFwcFJlc3BvbnNl'); + +@$core.Deprecated('Use deleteOAuthAppRequestDescriptor instead') +const DeleteOAuthAppRequest$json = { + '1': 'DeleteOAuthAppRequest', + '2': [ + {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, + {'1': 'client_id', '3': 2, '4': 1, '5': 9, '10': 'clientId'}, + ], +}; + +/// Descriptor for `DeleteOAuthAppRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteOAuthAppRequestDescriptor = $convert.base64Decode( + 'ChVEZWxldGVPQXV0aEFwcFJlcXVlc3QSFQoGb3JnX2lkGAEgASgJUgVvcmdJZBIbCgljbGllbn' + 'RfaWQYAiABKAlSCGNsaWVudElk'); + +@$core.Deprecated('Use deleteOAuthAppResponseDescriptor instead') +const DeleteOAuthAppResponse$json = { + '1': 'DeleteOAuthAppResponse', +}; + +/// Descriptor for `DeleteOAuthAppResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteOAuthAppResponseDescriptor = $convert.base64Decode( + 'ChZEZWxldGVPQXV0aEFwcFJlc3BvbnNl'); + +@$core.Deprecated('Use listOAuthAppsRequestDescriptor instead') +const ListOAuthAppsRequest$json = { + '1': 'ListOAuthAppsRequest', + '2': [ + {'1': 'org_id', '3': 1, '4': 1, '5': 9, '10': 'orgId'}, + ], +}; + +/// Descriptor for `ListOAuthAppsRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listOAuthAppsRequestDescriptor = $convert.base64Decode( + 'ChRMaXN0T0F1dGhBcHBzUmVxdWVzdBIVCgZvcmdfaWQYASABKAlSBW9yZ0lk'); + +@$core.Deprecated('Use listOAuthAppsResponseDescriptor instead') +const ListOAuthAppsResponse$json = { + '1': 'ListOAuthAppsResponse', + '2': [ + {'1': 'client_ids', '3': 1, '4': 3, '5': 9, '10': 'clientIds'}, + ], +}; + +/// Descriptor for `ListOAuthAppsResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listOAuthAppsResponseDescriptor = $convert.base64Decode( + 'ChVMaXN0T0F1dGhBcHBzUmVzcG9uc2USHQoKY2xpZW50X2lkcxgBIAMoCVIJY2xpZW50SWRz'); + +@$core.Deprecated('Use oAuthConfigDescriptor instead') +const OAuthConfig$json = { + '1': 'OAuthConfig', + '2': [ + {'1': 'client_authentication', '3': 1, '4': 1, '5': 14, '6': '.viam.app.v1.ClientAuthentication', '10': 'clientAuthentication'}, + {'1': 'pkce', '3': 2, '4': 1, '5': 14, '6': '.viam.app.v1.PKCE', '10': 'pkce'}, + {'1': 'url_validation', '3': 3, '4': 1, '5': 14, '6': '.viam.app.v1.URLValidation', '10': 'urlValidation'}, + {'1': 'origin_uris', '3': 4, '4': 3, '5': 9, '10': 'originUris'}, + {'1': 'redirect_uris', '3': 5, '4': 3, '5': 9, '10': 'redirectUris'}, + {'1': 'logout_uri', '3': 6, '4': 1, '5': 9, '10': 'logoutUri'}, + {'1': 'enabled_grants', '3': 7, '4': 3, '5': 14, '6': '.viam.app.v1.EnabledGrant', '10': 'enabledGrants'}, + ], +}; + +/// Descriptor for `OAuthConfig`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List oAuthConfigDescriptor = $convert.base64Decode( + 'CgtPQXV0aENvbmZpZxJWChVjbGllbnRfYXV0aGVudGljYXRpb24YASABKA4yIS52aWFtLmFwcC' + '52MS5DbGllbnRBdXRoZW50aWNhdGlvblIUY2xpZW50QXV0aGVudGljYXRpb24SJQoEcGtjZRgC' + 'IAEoDjIRLnZpYW0uYXBwLnYxLlBLQ0VSBHBrY2USQQoOdXJsX3ZhbGlkYXRpb24YAyABKA4yGi' + '52aWFtLmFwcC52MS5VUkxWYWxpZGF0aW9uUg11cmxWYWxpZGF0aW9uEh8KC29yaWdpbl91cmlz' + 'GAQgAygJUgpvcmlnaW5VcmlzEiMKDXJlZGlyZWN0X3VyaXMYBSADKAlSDHJlZGlyZWN0VXJpcx' + 'IdCgpsb2dvdXRfdXJpGAYgASgJUglsb2dvdXRVcmkSQAoOZW5hYmxlZF9ncmFudHMYByADKA4y' + 'GS52aWFtLmFwcC52MS5FbmFibGVkR3JhbnRSDWVuYWJsZWRHcmFudHM='); + diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 6652370370..a8bed04ee6 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.0.27'; - const String apiTag = 'v0.1.364'; + const String apiTag = 'v0.1.365'; return 'flutter;$sdkVersion;$apiTag'; }