# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: twirp/code.justin.tv.commerce.pachter/service.proto

require 'google/protobuf'

require 'google/protobuf/timestamp_pb'
Google::Protobuf::DescriptorPool.generated_pool.build do
  add_message "code.justin.tv.commerce.pachter.HealthCheckReq" do
  end
  add_message "code.justin.tv.commerce.pachter.HealthCheckResp" do
  end
  add_message "code.justin.tv.commerce.pachter.GetBitsMonthlyReportReq" do
    optional :month, :uint32, 1
    optional :year, :uint32, 2
  end
  add_message "code.justin.tv.commerce.pachter.GetBitsMonthlyReportResp" do
    optional :report_url, :string, 1
  end
  add_message "code.justin.tv.commerce.pachter.GetEmoteUsageMonthlyReportReq" do
    optional :month, :uint32, 1
    optional :year, :uint32, 2
  end
  add_message "code.justin.tv.commerce.pachter.GetEmoteUsageMonthlyReportResp" do
    optional :report_url, :string, 1
  end
  add_message "code.justin.tv.commerce.pachter.GetActualsReq" do
    optional :platform, :enum, 1, "code.justin.tv.commerce.pachter.Platform"
    optional :month, :uint32, 2
    optional :year, :uint32, 3
  end
  add_message "code.justin.tv.commerce.pachter.GetBitsMonthlyAmountsForAllChannelsReq" do
    optional :month, :uint32, 1
    optional :year, :uint32, 2
  end
  add_message "code.justin.tv.commerce.pachter.GetBitsMonthlyAmountsForAllChannelsResp" do
    map :bits_amounts, :string, :uint32, 1
  end
  add_message "code.justin.tv.commerce.pachter.GetBitsAmountsForChannelReq" do
    optional :channel_id, :string, 1
    optional :start_date, :message, 2, "google.protobuf.Timestamp"
    optional :end_date, :message, 3, "google.protobuf.Timestamp"
    optional :period, :enum, 4, "code.justin.tv.commerce.pachter.Period"
  end
  add_message "code.justin.tv.commerce.pachter.GetBitsAmountsForChannelResp" do
    repeated :bits_amounts, :message, 1, "code.justin.tv.commerce.pachter.BitsPeriodAmount"
  end
  add_message "code.justin.tv.commerce.pachter.BitsPeriodAmount" do
    optional :time, :message, 1, "google.protobuf.Timestamp"
    optional :amount, :uint32, 2
  end
  add_message "code.justin.tv.commerce.pachter.GetActualsResp" do
    map :actuals, :string, :uint32, 1
  end
  add_message "code.justin.tv.commerce.pachter.SetActualsReq" do
    optional :platform, :enum, 1, "code.justin.tv.commerce.pachter.Platform"
    optional :month, :uint32, 2
    optional :year, :uint32, 3
    map :actuals, :string, :uint32, 4
  end
  add_message "code.justin.tv.commerce.pachter.SetActualsResp" do
  end
  add_message "code.justin.tv.commerce.pachter.GetBitsSpendOrderReq" do
    optional :transaction_id, :string, 1
  end
  add_message "code.justin.tv.commerce.pachter.GetBitsSpendOrderResp" do
    map :bits_types, :string, :uint32, 1
  end
  add_enum "code.justin.tv.commerce.pachter.Period" do
    value :HOUR, 0
    value :DAY, 1
    value :WEEK, 2
    value :MONTH, 3
    value :YEAR, 4
  end
  add_enum "code.justin.tv.commerce.pachter.Platform" do
    value :NONE, 0
    value :AMAZON, 1
    value :PAYPAL, 2
    value :IOS, 3
    value :ANDROID, 4
    value :XSOLLA, 5
    value :PHANTO, 6
  end
end

module Code
  module Justin
    module Tv
      module Commerce
        module Pachter
          HealthCheckReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.HealthCheckReq").msgclass
          HealthCheckResp = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.HealthCheckResp").msgclass
          GetBitsMonthlyReportReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetBitsMonthlyReportReq").msgclass
          GetBitsMonthlyReportResp = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetBitsMonthlyReportResp").msgclass
          GetEmoteUsageMonthlyReportReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetEmoteUsageMonthlyReportReq").msgclass
          GetEmoteUsageMonthlyReportResp = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetEmoteUsageMonthlyReportResp").msgclass
          GetActualsReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetActualsReq").msgclass
          GetBitsMonthlyAmountsForAllChannelsReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetBitsMonthlyAmountsForAllChannelsReq").msgclass
          GetBitsMonthlyAmountsForAllChannelsResp = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetBitsMonthlyAmountsForAllChannelsResp").msgclass
          GetBitsAmountsForChannelReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetBitsAmountsForChannelReq").msgclass
          GetBitsAmountsForChannelResp = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetBitsAmountsForChannelResp").msgclass
          BitsPeriodAmount = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.BitsPeriodAmount").msgclass
          GetActualsResp = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetActualsResp").msgclass
          SetActualsReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.SetActualsReq").msgclass
          SetActualsResp = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.SetActualsResp").msgclass
          GetBitsSpendOrderReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetBitsSpendOrderReq").msgclass
          GetBitsSpendOrderResp = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.GetBitsSpendOrderResp").msgclass
          Period = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.Period").enummodule
          Platform = Google::Protobuf::DescriptorPool.generated_pool.lookup("code.justin.tv.commerce.pachter.Platform").enummodule
        end
      end
    end
  end
end
