index.js
function Report(type, config) {
	var fn = Query.prototype[type];
	if(typeof fn !== 'function') {
		throw new Error('Unknown Report type: ' + type);
	}
	return new Query(config)[type]();
}
function Report(type, config) {
	var fn = Query.prototype[type];
	if(typeof fn !== 'function') {
		throw new Error('Unknown Report type: ' + type);
	}
	return new Query(config)[type]();
}
function Report ( type , config ) { var fn = Query . prototype [ type ] ; if ( typeof fn !== 'function' ) { throw new Error ( 'Unknown Report type: ' + type ) ; } return new Query ( config ) [ type ] ( ) ; }
Initialize a new `Query` with the given `type` and `config`.

Examples:

// Import itc-report
var itc 	= require("itunesconnect"),
Report  = itc.Report;

// Init new iTunes Connect
var itunes = new itc.Connect('apple@id.com', 'password');

// Timed type query
var query = Report('timed');

// Ranked type query with config object
var query = Report('ranked', { limit: 100 });

// Advanced Example
var advancedQuery = Report('timed', {
start 	: '2014-04-08',
end 	: '2014-04-25',
limit 	: 100,
filters : {
content: [{AppID}, {AppID}, {AppID}],
location: [{LocationID}, {LocationID}],
transaction: itc.transaction.free,
type: [
itc.type.inapp,
itc.type.app
],
category: {CategoryID}
},
group: 'content'
});

@class Report
@constructor
@param {String} <type>
@param {Object} [config]
@param {String|Date} [config.start] Date or if String must be in format YYYY-MM-DD
@param {Object} [config.end] Date or if String must be in format YYYY-MM-DD
@param {String} [config.interval] One of the following:
@param {String} config.interval.day
@param {String} config.interval.week
@param {String} config.interval.month
@param {String} config.interval.quarter
@param {String} config.interval.year
@param {Object} [config.filters] Possible keys:
@param {Number|Array} [config.filters.content]
@param {String|Array} [config.filters.type]
@param {String|Array} [config.filters.transaction]
@param {Number|Array} [config.filters.category]
@param {String|Array} [config.filters.platform]
@param {Number|Array} [config.filters.location]
@param {String} [config.group] One of following:
@param {String} config.group.content
@param {String} config.group.type
@param {String} config.group.transaction
@param {String} config.group.category
@param {String} config.group.platform
@param {String} config.group.location
@param {Object} [config.measures]
@param {Number} [config.limit]
@return {Query}
Initialize a new Query with the given type and config .