adminSettingModule

adminSettingModule

class to handle settings functions

Constructor

new adminSettingModule()

Source:

Methods

(async, static) allConfiguration(req, count) → {object}

Source:

All Configurations

Parameters:
Name Type Description
req object

request data

count string

count for the pagination

Returns:

sql response

Type
object

(async, static) bidIncrementOperation(req) → {object}

Source:

Bid Increment Change Operation

Parameters:
Name Type Description
req object

req object

Returns:

sql response

Type
object

(async, static) buyerPremiumOperation(req) → {object}

Source:

Buyer Premium Change Operation

Parameters:
Name Type Description
req object

req object

Returns:

sql response

Type
object

(async, static) configurationOperation(req) → {object}

Source:

All Single Configuration

Parameters:
Name Type Description
req object

req object

Returns:

sql response

Type
object

(async, static) deleteBidIncrement(id) → {object}

Source:

Delete Bid Increment

Parameters:
Name Type Description
id number

ID in bid_increment table

Returns:

sql response

Type
object

(async, static) deleteBuyerPremium(id) → {object}

Source:

Delete Buyer Premium

Parameters:
Name Type Description
id number

ID in buyer_premium table

Returns:

sql response

Type
object

(async, static) getAllBidIncrements(req, count) → {object}

Source:

Get All Bid Increment Values

Parameters:
Name Type Description
req object

request data

count string

count for the pagination

Returns:

sql response

Type
object

(async, static) getAllBuyerPremium(req, count) → {object}

Source:

Get All buyer premium Values

Parameters:
Name Type Description
req object

request data

count string

count for the pagination

Returns:

sql response

Type
object

(async, static) getBidIncrementById(id) → {object}

Source:

Get Single Bid Increment

Parameters:
Name Type Description
id number

ID in bid_increment table

Returns:

sql response

Type
object

(async, static) getBuyerPremiumById(id) → {object}

Source:

Get Single Buyer Premium

Parameters:
Name Type Description
id number

ID in config_buyer_premium table

Returns:

sql response

Type
object

(async, static) getConfigurationbyId(id) → {object}

Source:

All Single Configuration

Parameters:
Name Type Description
id number

ID which the configuration has to be fetched

Returns:

sql response

Type
object

(async, static) insertDataTable(req, data) → {object}

Source:

Delete Buyer Premium

Parameters:
Name Type Description
req object

request data

data Object

data to de inseted

Returns:

sql response

Type
object

(async, static) updateDataTable(req, id) → {object}

Source:

update data table

Parameters:
Name Type Description
req object
id number

data to be updated

Returns:

sql response

Type
object