Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Protocol Buffer update for release 2.29.x at Tue Nov 8 11:54:25 UTC 2022 #5690

Merged
merged 1 commit into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ message PPACAndroid {
string safetyNetJws = 1;

string salt = 2;

bytes androidId = 3; // optional, only required for SRS
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ message PPACIOS {
string deviceToken = 1;

string apiToken = 2;

string previousApiToken = 3;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.ppdd;


message SRSOneTimePassword {

string otp = 1;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.ppdd;

import "internal/ppdd/ppac_android.proto";
import "internal/ppdd/srs_otp.proto";

message SRSOneTimePasswordRequestAndroid {

PPACAndroid authentication = 1;

SRSOneTimePassword payload = 2;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.ppdd;

import "internal/ppdd/ppac_ios.proto";
import "internal/ppdd/srs_otp.proto";

message SRSOneTimePasswordRequestIOS {

PPACIOS authentication = 1;

SRSOneTimePassword payload = 2;
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,12 @@ message SubmissionPayload {
SUBMISSION_TYPE_PCR_TEST = 0;
SUBMISSION_TYPE_RAPID_TEST = 1;
SUBMISSION_TYPE_HOST_WARNING = 2;
SUBMISSION_TYPE_SRS_SELF_TEST = 3;
SUBMISSION_TYPE_SRS_REGISTERED_RAT = 4;
SUBMISSION_TYPE_SRS_UNREGISTERED_RAT = 5;
SUBMISSION_TYPE_SRS_REGISTERED_PCR = 6;
SUBMISSION_TYPE_SRS_UNREGISTERED_PCR = 7;
SUBMISSION_TYPE_SRS_RAPID_PCR = 8;
SUBMISSION_TYPE_SRS_OTHER = 9;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "internal/v2/key_download_parameters.proto";
import "internal/v2/ppdd_edus_parameters.proto";
import "internal/v2/ppdd_els_parameters.proto";
import "internal/v2/ppdd_ppa_parameters.proto";
import "internal/v2/ppdd_srs_parameters.proto";
import "internal/v2/presence_tracing_parameters.proto";
import "internal/v2/risk_calculation_parameters.proto";

Expand Down Expand Up @@ -41,6 +42,8 @@ message ApplicationConfigurationAndroid {
CoronaTestParameters coronaTestParameters = 14;

DGCParameters dgcParameters = 15;

PPDDSelfReportSubmissionParametersAndroid selfReportParameters = 16;
}

message DiagnosisKeysDataMapping {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import "internal/v2/key_download_parameters.proto";
import "internal/v2/ppdd_edus_parameters.proto";
import "internal/v2/ppdd_els_parameters.proto";
import "internal/v2/ppdd_ppa_parameters.proto";
import "internal/v2/ppdd_srs_parameters.proto";
import "internal/v2/risk_calculation_parameters.proto";
import "internal/v2/presence_tracing_parameters.proto";
import "internal/v2/semantic_version.proto";
Expand Down Expand Up @@ -40,6 +41,8 @@ message ApplicationConfigurationIOS {
CoronaTestParameters coronaTestParameters = 13;

DGCParameters dgcParameters = 14;

PPDDSelfReportSubmissionParametersIOS selfReportParameters = 15;
}

message ExposureConfiguration {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// This file is auto-generated, DO NOT make any changes here
syntax = "proto3";
package de.rki.coronawarnapp.server.protocols.internal.v2;

import "internal/v2/ppdd_ppac_parameters.proto";

message PPDDSelfReportSubmissionParametersIOS {
PPDDSelfReportSubmissionParametersCommon common = 1;
PPDDPrivacyPreservingAccessControlParametersIOS ppac = 2;
}

message PPDDSelfReportSubmissionParametersAndroid {
PPDDSelfReportSubmissionParametersCommon common = 1;
PPDDPrivacyPreservingAccessControlParametersAndroid ppac = 2;
}

message PPDDSelfReportSubmissionParametersCommon {
int32 timeSinceOnboardingInHours = 1;
int32 timeBetweenSubmissionsInDays = 2;
}