/* ============================================================================ *\
|| ########################################################################## ||
|| # Auction Software Marketplace Release: 0.6 Build 0.7 # ||
|| # ---------------------------------------------------------------------- # ||
|| # License # 35YAHCNR9344X6O666C123AB # ||
|| # ---------------------------------------------------------------------- # ||
|| # Copyright ©2014–2021 Develop Scripts LLC. All Rights Reserved # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ------------- AUCTION SOFTWARE IS NOT FREE SOFTWARE ------------------ # ||
|| # http://www.auctionsoftwaremarketplace.com|support@auctionsoftware.com # ||
|| # ---------------------------------------------------------------------- # ||
|| ########################################################################## ||
\* ============================================================================ */
const express = require('express')
const productCtrl = require('../controllers/product')
const app = express.Router()
/**
* Routes for Products.
*
* @namespace frontend.product
* @memberOf frontend
*/
app.post('/search', productCtrl.search)
app.post('/activeSorts', productCtrl.activeSorts)
app.post('/dashboard', productCtrl.dashboard)
app.post('/invoice', productCtrl.invoice)
app.post('/returninvoice', productCtrl.returninvoice)
app.post('/bidhistory', productCtrl.bidhistory)
app.post('/ttwbidhistory', productCtrl.ttwBidhistory)
app.post('/allinvoices', productCtrl.allinvoices)
app.post('/allreturns', productCtrl.allreturns)
app.post('/ttw_dashboard', productCtrl.ttwDashboard)
module.exports = app