Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDCORE-9283 Актуализировать модели данных и бизнес логику клиентов #323

Closed
wants to merge 1 commit into from
Closed
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
16 changes: 16 additions & 0 deletions proto/Certificates/CertificateVerification.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import "Timestamp.proto";
import "Certificates/CertificateInfoV2.proto";

package Diadoc.Api.Proto.Certificates;

option java_outer_classname = "CertificateVerificationProtos";

message CertificateVerificationRequest {
required bytes CertificateContent = 1;
}

message CertificateVerificationResponse {
required bool IsValid = 1;
required Timestamp VerifiedAt = 2;
optional CertificateSubjectType SubjectType = 3 [default = UnknownCertificateSubjectType];
}
19 changes: 19 additions & 0 deletions proto/RoamingOperator.proto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package Diadoc.Api.Proto;

option java_outer_classname = "RoamingOperatorProtos";

message RoamingOperatorList {
repeated RoamingOperator RoamingOperators = 1;
}

message RoamingOperator {
required string FnsId = 1;
required string Name = 2;
required bool IsActive = 3;
repeated OperatorFeature Features = 4;
}

message OperatorFeature {
required string Name = 1;
required string Description = 2;
}
4 changes: 2 additions & 2 deletions proto/SignatureInfo.proto
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import "CertificateInfoV2.proto";
import "Certificates/CertificateInfoV2.proto";
import "SignatureVerificationResult.proto";
import "Timestamp.proto";

Expand All @@ -23,5 +23,5 @@ message SignatureInfo
optional string Surname = 13; //Фамилия
optional string Snils = 14; //СНИЛС
optional string Email = 15; //Email
optional CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType]; // Тип владельца сертификата
optional Certificates.CertificateSubjectType CertificateSubjectType = 16 [default = UnknownCertificateSubjectType]; // Тип владельца сертификата
}
Loading