{"size": 335, "ext": "js", "max_stars_repo_path": "client/src/store/lib/repositories/lib/billing.js", "max_stars_repo_name": "FizzCorp/fizz-dashboard", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/src/store/lib/repositories/lib/billing.js", "max_issues_repo_name": "FizzCorp/fizz-dashboard", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/src/store/lib/repositories/lib/billing.js", "max_forks_repo_name": "FizzCorp/fizz-dashboard", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.7058823529, "max_line_length": 56, "alphanum_fraction": 0.6388059701}
// imports
import ajaxHelper from '../../ajax.js';

// globals
const billingAjax = ajaxHelper.billing;

// exports
export default function billing() {
  return {
    usage(params) {
      return billingAjax.usage({ queryParams: params });
    },
    plans(params) {
      return billingAjax.plans({ queryParams: params });
    }
  };
}