/* ============================================================================ *\
|| ########################################################################## ||
|| # 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 settingCtrl = require('../controllers/setting')
const app = express.Router()
/**
* Route for Settings.
*
* @namespace adminside.setting
* @memberOf adminside
*/
app.post('/configurationVariables', settingCtrl.configurationVariables)
app.post('/getSingleConfiguration', settingCtrl.getSingleConfiguration)
app.post('/configurationAction', settingCtrl.configurationAction)
app.post('/getAllBidIncrements', settingCtrl.getAllBidIncrements)
app.post('/getSingleBidIncrement', settingCtrl.getSingleBidIncrement)
app.post('/bidIncrementAction', settingCtrl.bidIncrementAction)
app.post('/deleteBidIncrement', settingCtrl.deleteBidIncrement)
app.post('/getAllBuyerPremium', settingCtrl.getAllBuyerPremium)
app.post('/getBuyerPremiumById', settingCtrl.getBuyerPremiumById)
app.post('/buyerPremiumOperation', settingCtrl.buyerPremiumOperation)
app.post('/deleteBuyerPremium', settingCtrl.deleteBuyerPremium)
app.post('/searchTableAction', settingCtrl.searchTableAction)
/* Dynamic table Insert / Update based on config_table & config_column */
app.post('/datatable_insert', settingCtrl.dataTableInsert)
app.post('/datatable_update', settingCtrl.dataTableUpdate)
module.exports = app