# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: services/verifiable-credentials/v1/verifiable-credentials.proto

require 'google/protobuf'

require 'services/common/v1/common_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_file("services/verifiable-credentials/v1/verifiable-credentials.proto", :syntax => :proto3) do
    add_message "services.verifiablecredentials.v1.IssueRequest" do
      optional :document, :message, 1, "services.common.v1.JsonPayload"
    end
    add_message "services.verifiablecredentials.v1.IssueResponse" do
      optional :document, :message, 1, "services.common.v1.JsonPayload"
    end
    add_message "services.verifiablecredentials.v1.IssueFromTemplateRequest" do
      optional :template_id, :string, 1
      optional :values_json, :string, 2
    end
    add_message "services.verifiablecredentials.v1.IssueFromTemplateResponse" do
      optional :document_json, :string, 1
    end
    add_message "services.verifiablecredentials.v1.CreateProofRequest" do
      optional :reveal_document, :message, 1, "services.common.v1.JsonPayload"
      optional :document_id, :string, 2
    end
    add_message "services.verifiablecredentials.v1.CreateProofResponse" do
      optional :proof_document, :message, 1, "services.common.v1.JsonPayload"
    end
    add_message "services.verifiablecredentials.v1.VerifyProofRequest" do
      optional :proof_document, :message, 1, "services.common.v1.JsonPayload"
    end
    add_message "services.verifiablecredentials.v1.VerifyProofResponse" do
      optional :valid, :bool, 1
    end
    add_message "services.verifiablecredentials.v1.SendRequest" do
      optional :document, :message, 100, "services.common.v1.JsonPayload"
      oneof :delivery_method do
        optional :email, :string, 1
        optional :did_uri, :string, 2
        optional :didcomm_invitation, :message, 3, "services.common.v1.JsonPayload"
      end
    end
    add_message "services.verifiablecredentials.v1.SendResponse" do
      optional :status, :enum, 1, "services.common.v1.ResponseStatus"
    end
    add_message "services.verifiablecredentials.v1.UpdateStatusRequest" do
      optional :credential_status_id, :string, 1
      optional :revoked, :bool, 2
    end
    add_message "services.verifiablecredentials.v1.UpdateStatusResponse" do
      optional :status, :enum, 1, "services.common.v1.ResponseStatus"
    end
    add_message "services.verifiablecredentials.v1.CheckStatusRequest" do
      optional :credential_status_id, :string, 1
    end
    add_message "services.verifiablecredentials.v1.CheckStatusResponse" do
      optional :revoked, :bool, 1
    end
  end
end

module Services
  module Verifiablecredentials
    module V1
      IssueRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.IssueRequest").msgclass
      IssueResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.IssueResponse").msgclass
      IssueFromTemplateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.IssueFromTemplateRequest").msgclass
      IssueFromTemplateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.IssueFromTemplateResponse").msgclass
      CreateProofRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.CreateProofRequest").msgclass
      CreateProofResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.CreateProofResponse").msgclass
      VerifyProofRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.VerifyProofRequest").msgclass
      VerifyProofResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.VerifyProofResponse").msgclass
      SendRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.SendRequest").msgclass
      SendResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.SendResponse").msgclass
      UpdateStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.UpdateStatusRequest").msgclass
      UpdateStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.UpdateStatusResponse").msgclass
      CheckStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.CheckStatusRequest").msgclass
      CheckStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("services.verifiablecredentials.v1.CheckStatusResponse").msgclass
    end
  end
end
