/* ============================================================================ *\
|| ########################################################################## ||
|| # 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 cartCtrl = require('../controllers/cart')
const app = express.Router()
/**
* Routes for Cart.
*
* @namespace frontend.cart
* @memberOf frontend
*/
app.post('/search', cartCtrl.search)
app.post('/pendingCount', cartCtrl.pendingCount)
app.post('/changeStatus', cartCtrl.changeStatus)
app.post('/cancelItem', cartCtrl.cancelItem)
app.post('/saveAddress', cartCtrl.saveAddress)
app.post('/checkout', cartCtrl.singleCart)
app.post('/checkAppointments', cartCtrl.checkAppointments)
module.exports = app