# Code generated by protoc-gen-twirp_ruby 1.0.0, DO NOT EDIT.
require 'twirp'
require_relative 'service_pb.rb'

module Code
  module Justin
    module Tv
      module Commerce
        module Phanto
          class PhantoService < Twirp::Service
            package 'code.justin.tv.commerce.phanto'
            service 'Phanto'
            rpc :HealthCheck, HealthCheckReq, HealthCheckResp, :ruby_method => :health_check
            rpc :CreateProductType, CreateProductTypeReq, CreateProductTypeResp, :ruby_method => :create_product_type
            rpc :CreateProduct, CreateProductReq, CreateProductResp, :ruby_method => :create_product
            rpc :CreateKeyPool, CreateKeyPoolReq, CreateKeyPoolResp, :ruby_method => :create_key_pool
            rpc :GenerateKeyBatch, GenerateKeyBatchReq, GenerateKeyBatchResp, :ruby_method => :generate_key_batch
            rpc :GetKeyBatchStatus, GetKeyBatchStatusReq, GetKeyBatchStatusResp, :ruby_method => :get_key_batch_status
            rpc :GetKeyBatchDownloadInfo, GetKeyBatchDownloadInfoReq, GetKeyBatchDownloadInfoResp, :ruby_method => :get_key_batch_download_info
            rpc :GetKeyStatus, GetKeyStatusReq, GetKeyStatusResp, :ruby_method => :get_key_status
            rpc :RedeemKey, RedeemKeyReq, RedeemKeyResp, :ruby_method => :redeem_key
            rpc :InvalidateKeys, InvalidateKeysReq, InvalidateKeysResp, :ruby_method => :invalidate_keys
            rpc :InvalidateKeyBatch, InvalidateKeyBatchReq, InvalidateKeyBatchResp, :ruby_method => :invalidate_key_batch
            rpc :InvalidateKeyPool, InvalidateKeyPoolReq, InvalidateKeyPoolResp, :ruby_method => :invalidate_key_pool
            rpc :GetAllKeyPools, GetAllKeyPoolsReq, GetAllKeyPoolsResp, :ruby_method => :get_all_key_pools
            rpc :GetKeyBatches, GetKeyBatchesReq, GetKeyBatchesResp, :ruby_method => :get_key_batches
            rpc :GetKeyBatchesS2S, GetKeyBatchesReq, GetKeyBatchesResp, :ruby_method => :get_key_batches_s2_s
            rpc :GetKeyPoolsByHandler, GetKeyPoolsByHandlerReq, GetKeyPoolsByHandlerResp, :ruby_method => :get_key_pools_by_handler
            rpc :GetAllProductTypes, GetAllProductTypesReq, GetAllProductTypesResp, :ruby_method => :get_all_product_types
            rpc :GetProducts, GetProductsReq, GetProductsResp, :ruby_method => :get_products
            rpc :GetKeyPoolReports, GetKeyPoolReportsReq, GetKeyPoolReportsResp, :ruby_method => :get_key_pool_reports
            rpc :GenerateKeyPoolReport, GenerateKeyPoolReportReq, GenerateKeyPoolReportResp, :ruby_method => :generate_key_pool_report
            rpc :GetKeyPoolReportDownloadInfo, GetKeyPoolReportDownloadInfoReq, GetKeyPoolReportDownloadInfoResp, :ruby_method => :get_key_pool_report_download_info
          end

          class PhantoClient < Twirp::Client
            client_for PhantoService
          end
        end
      end
    end
  end
end
