diff --git a/lib/zendesk_apps_support/location.rb b/lib/zendesk_apps_support/location.rb index 90f66d82..5ffaa196 100644 --- a/lib/zendesk_apps_support/location.rb +++ b/lib/zendesk_apps_support/location.rb @@ -65,7 +65,8 @@ def self.all Location.new(id: 23, name: 'call_log_editor', product_code: Product::SELL.code, visible: true), Location.new(id: 24, name: 'email_editor', product_code: Product::SELL.code, visible: true), Location.new(id: 25, name: 'top_bar', product_code: Product::SELL.code, visible: true), - Location.new(id: 26, name: 'visit_editor', product_code: Product::SELL.code, visible: true) + Location.new(id: 26, name: 'visit_editor', product_code: Product::SELL.code, visible: true), + Location.new(id: 27, name: 'ticket_details', product_code: Product::MOBILE.code, visible: true) ].freeze end end diff --git a/lib/zendesk_apps_support/product.rb b/lib/zendesk_apps_support/product.rb index 9fd1fe8a..a0e69026 100644 --- a/lib/zendesk_apps_support/product.rb +++ b/lib/zendesk_apps_support/product.rb @@ -20,12 +20,14 @@ def self.all Product.new(code: 1, name: 'support', legacy_name: 'zendesk'), Product.new(code: 2, name: 'chat', legacy_name: 'zopim'), Product.new(code: 3, name: 'standalone_chat', legacy_name: 'lotus_box'), - Product.new(code: 4, name: 'sell', legacy_name: 'sell') + Product.new(code: 4, name: 'sell', legacy_name: 'sell'), + Product.new(code: 5, name: 'mobile', legacy_name: 'mobile') ].freeze SUPPORT = find_by!(name: 'support') CHAT = find_by!(name: 'chat') STANDALONE_CHAT = find_by!(name: 'standalone_chat') SELL = find_by!(name: 'sell') + MOBILE = find_by!(name: 'mobile') end end