diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_android.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_android.proto index 6f6d21c22cb69a428d9b4c98239c4a7c5a6e29fd..bf2276e010e94389333adbee0700638748e8dd8c 100644 --- a/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_android.proto +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_android.proto @@ -1,9 +1,11 @@ +// This file is auto-generated, DO NOT make any changes here syntax = "proto3"; package de.rki.coronawarnapp.server.protocols.internal.v2; + import "internal/v2/app_features.proto"; -import "internal/v2/risk_calculation_parameters.proto"; -import "internal/v2/key_download_parameters.proto"; import "internal/v2/exposure_detection_parameters.proto"; +import "internal/v2/key_download_parameters.proto"; +import "internal/v2/risk_calculation_parameters.proto"; message ApplicationConfigurationAndroid { diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_ios.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_ios.proto new file mode 100644 index 0000000000000000000000000000000000000000..7854e80159782ae6b78a3e4d7f4de9745624bfac --- /dev/null +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_config_ios.proto @@ -0,0 +1,58 @@ +// This file is auto-generated, DO NOT make any changes here +syntax = "proto3"; +package de.rki.coronawarnapp.server.protocols.internal.v2; + +import "internal/v2/app_features.proto"; +import "internal/v2/exposure_detection_parameters.proto"; +import "internal/v2/key_download_parameters.proto"; +import "internal/v2/risk_calculation_parameters.proto"; +import "internal/v2/semantic_version.proto"; + +message ApplicationConfigurationIOS { + + SemanticVersion minVersion = 1; + SemanticVersion latestVersion = 2; + + AppFeatures appFeatures = 3; + + repeated string supportedCountries = 4; + + KeyDownloadParametersIOS keyDownloadParameters = 5; + + ExposureDetectionParametersIOS exposureDetectionParameters = 6; + + RiskCalculationParameters riskCalculationParameters = 7; + + ExposureConfiguration exposureConfiguration = 8; +} + +message ExposureConfiguration { + + map<int32, int32> infectiousnessForDaysSinceOnsetOfSymptoms = 1; + + int32 reportTypeNoneMap = 2; + + repeated int32 attenuationDurationThresholds = 3; + + double immediateDurationWeight = 4; + + double mediumDurationWeight = 5; + + double nearDurationWeight = 6; + + double otherDurationWeight = 7; + + int32 daysSinceLastExposureThreshold = 8; + + double infectiousnessStandardWeight = 9; + + double infectiousnessHighWeight = 10; + + double reportTypeConfirmedTestWeight = 11; + + double reportTypeConfirmedClinicalDiagnosisWeight = 12; + + double reportTypeSelfReportedWeight = 13; + + double reportTypeRecursiveWeight = 14; +} \ No newline at end of file diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/app_features.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_features.proto index f53be3812f37d45a8d719b0585e4e839ca2068c1..fd1ca3536f10037bb00d7aa6419b74369b4d4700 100644 --- a/Server-Protocol-Buffer/src/main/proto/internal/v2/app_features.proto +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/app_features.proto @@ -1,6 +1,8 @@ +// This file is auto-generated, DO NOT make any changes here syntax = "proto3"; package de.rki.coronawarnapp.server.protocols.internal.v2; + message AppFeatures { repeated AppFeature appFeatures = 1; } diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/exposure_detection_parameters.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/exposure_detection_parameters.proto index 754bd769abdec32ba1be1cf532668ee03dde19f5..151d5c52c3fe51eaa4e1fc5305e23a84c0be0ca6 100644 --- a/Server-Protocol-Buffer/src/main/proto/internal/v2/exposure_detection_parameters.proto +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/exposure_detection_parameters.proto @@ -1,7 +1,9 @@ +// This file is auto-generated, DO NOT make any changes here syntax = "proto3"; package de.rki.coronawarnapp.server.protocols.internal.v2; -message ExpsureDetectionParametersIOS { + +message ExposureDetectionParametersIOS { int32 maxExposureDetectionsPerInterval = 1; } diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/key_download_parameters.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/key_download_parameters.proto index 4cf97b977589c0b7f8786ecb9d28acd627633331..c90e70a191b1cbad27e323b2e6cc2ad47e960b2a 100644 --- a/Server-Protocol-Buffer/src/main/proto/internal/v2/key_download_parameters.proto +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/key_download_parameters.proto @@ -1,6 +1,8 @@ +// This file is auto-generated, DO NOT make any changes here syntax = "proto3"; package de.rki.coronawarnapp.server.protocols.internal.v2; + message KeyDownloadParametersIOS { repeated DayPackageMetadata cachedDayPackagesToUpdateOnETagMismatch = 1; diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/risk_calculation_parameters.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/risk_calculation_parameters.proto index 2618917a09169079503e8f8fa44243a47be64e8e..955db85e121dd20a1b987dcdace78648e884808a 100644 --- a/Server-Protocol-Buffer/src/main/proto/internal/v2/risk_calculation_parameters.proto +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/risk_calculation_parameters.proto @@ -1,6 +1,8 @@ +// This file is auto-generated, DO NOT make any changes here syntax = "proto3"; package de.rki.coronawarnapp.server.protocols.internal.v2; + message RiskCalculationParameters { repeated MinutesAtAttenuationFilter minutesAtAttenuationFilters = 1; diff --git a/Server-Protocol-Buffer/src/main/proto/internal/v2/semantic_version.proto b/Server-Protocol-Buffer/src/main/proto/internal/v2/semantic_version.proto index a5950c84435ab89bc4271d209a38a2632b617e4c..5f67c086a63cd6939cedefbee5e81169c8791479 100644 --- a/Server-Protocol-Buffer/src/main/proto/internal/v2/semantic_version.proto +++ b/Server-Protocol-Buffer/src/main/proto/internal/v2/semantic_version.proto @@ -1,5 +1,7 @@ +// This file is auto-generated, DO NOT make any changes here syntax = "proto3"; package de.rki.coronawarnapp.server.protocols.internal.v2; + message SemanticVersion { uint32 major = 1;