{"size": 839, "ext": "js", "max_stars_repo_path": "App/Router/BusinessCombinedRoutes/business_combined_policy_routes.js", "max_stars_repo_name": "nsureafrica/nsure-core", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "App/Router/BusinessCombinedRoutes/business_combined_policy_routes.js", "max_issues_repo_name": "nsureafrica/nsure-core", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "App/Router/BusinessCombinedRoutes/business_combined_policy_routes.js", "max_forks_repo_name": "nsureafrica/nsure-core", "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": 36.4782608696, "max_line_length": 127, "alphanum_fraction": 0.7938021454}
//@ts-check

const BusinessPolicyController = require('./../../Controllers/BusinessCombinedControllers/business_combined_policy_controller')

module.exports = app => {
    app
    .route("/policies/businessCombined/getUserPolicies")
    .get(BusinessPolicyController.getUsersPolicy);
  app
    .route("/policies/businessCombined/getOnePolicy")
    .get(BusinessPolicyController.getOnePolicy);
  app
    .route("/policies/businessCombined/createPolicy")
    .post(BusinessPolicyController.createPolicy);
  
  app
  .route("/policies/businessCombined/getAllPolicies")
  .get(BusinessPolicyController.getAllPolicies)

  app.route("/policies/businessCombined/activateBusinessCombinedPolicy").put(BusinessPolicyController.activatePolicy)

  app.route("/policies/businessCombined/exportDataAsCsv").get(BusinessPolicyController.exportDataAsCsv)
}