Przeglądaj źródła

Merge branch 'master' of http://47.101.131.235:3000/root/cdn-proto

sensordb2 1 miesiąc temu
rodzic
commit
27c81ade13
1 zmienionych plików z 21 dodań i 0 usunięć
  1. 21 0
      certificate.proto

+ 21 - 0
certificate.proto

@@ -10,8 +10,10 @@ option java_outer_classname = "certificateProto";
 service CertificateCloudflare {
   // Sends a greeting
   rpc CreateCertificate (CreateCertificateRequestCloudflare) returns  (CreateCertificateReplyCloudflare) {}
+  rpc CreateCertificateV2 (CreateCertificateRequestCloudflareV2) returns  (CreateCertificateReplyCloudflare) {}
   rpc DeleteCertificate (DeleteCertificateRequestCloudflare) returns (DeleteCertificateReplyCloudflare) {}
   rpc EditCertificate (EditCertificateRequestCloudflare) returns (EditCertificateReplyCloudflare) {}
+  rpc EditCertificateV2 (EditCertificateRequestCloudflareV2) returns (EditCertificateReplyCloudflare) {}
   rpc UniversalCertificate(UniversalCertificateRequestCloudflare) returns(UniversalCertificateReplyCloudflare) {}
 }
 
@@ -22,6 +24,15 @@ message CreateCertificateRequestCloudflare {
   string certificate = 4;
   string privateKey = 5;
 }
+message CreateCertificateRequestCloudflareV2 {
+  string apiKey = 1;
+  string apiEmail = 2;
+  string zoneName = 3;
+  string certificate = 4;
+  string privateKey = 5;
+  string bundleMethod = 6;
+  bool noSni = 7;
+}
 message DeleteCertificateRequestCloudflare {
   string apiKey = 1;
   string apiEmail = 2;
@@ -38,6 +49,16 @@ message EditCertificateRequestCloudflare {
   string bundleMethod = 7;
   bool noSni = 8;
 }
+message EditCertificateRequestCloudflareV2 {
+  string apiKey = 1;
+  string apiEmail = 2;
+  string zoneName = 3;
+  string certificateId = 4;
+  string certificate = 5;
+  string privateKey = 6;
+  string bundleMethod = 7;
+  bool noSni = 8;
+}
 message UniversalCertificateRequestCloudflare {
   string apiKey = 1;
   string apiEmail = 2;