sagas/bonus
- Source:
Methods
(async, generator, static) addFreeBet(action)
- Description:
Add Free Bets
- Source:
Properties:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
action |
object |
Properties
|
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object |
(async, generator, static) deleteFreeBets(action)
- Description:
Delete Free Bet
- Source:
Properties:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
action |
object |
Properties
|
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object |
(async, generator, static) getBonusSettings()
- Description:
Get bonus settings list
- Source:
(async, generator, static) getClientBonusesSaga(action)
- Description:
Get client bonuses list
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object | Filtering data |
(async, generator, static) getClientRanksSaga(action)
- Description:
Get client ranks list
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object | Filtering data |
(async, generator, static) getFreeBetsSaga(action)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object | Filtering data |
(async, generator, static) getPointSettings()
- Description:
Get point settings list
- Source:
(async, generator, static) getRankSettings()
- Description:
Get rank settings list
- Source:
(async, static) module.exports()
- Source:
(async, generator, static) saveBonusSettings(action)
- Description:
Edit bonus settings
- Source:
Properties:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
action |
object |
Properties
|
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object |
(async, generator, static) savePointSettings(action)
- Description:
Edit Point settings
- Source:
Properties:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
action |
object |
Properties
|
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object |
(async, generator, static) saveRankSettings(action)
- Description:
Edit rank settings
- Source:
Properties:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
action |
object |
Properties
|
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object |
Type Definitions
"getBonusSettings/response.data"
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
settings |
Array.<BonusSettings> |
Type:
- object
"getClientBonuses/response.data"
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
clientBonuses |
Array.<ClientBonus> | |
totalPage |
number |
Type:
- object
"getClientRanks/response.data"
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
clientRanks |
Array.<ClientRank> | |
totalPage |
number |
Type:
- object
"getFreeBets/response.data"
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
freeBets |
Array.<FreeBets> | |
totalPage |
number |
Type:
- object
"getPointSettings/response.data"
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
pointsCombination |
object | Keys are rows and value is data for one row per column |
ranks |
Array.<Rank> |
Type:
- object
"getRankSettings/response.data"
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
rankSettings |
Array.<RankSettings> |
Type:
- object
BonusSettings
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
amount |
number | |
id |
number | |
name |
string | |
targetPoints |
number | |
timeAlowed |
string |
Type:
- object
ClientBonus
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
amount |
number | |
bonusId |
number | |
clientId |
number | |
completionDate |
string | |
expirationDate |
string | |
id |
number | |
lastUpdateDate |
string | |
paid |
number | |
paidDate |
string | |
points |
number | |
startDate |
string | |
status |
number | |
targetPoints |
number |
Type:
- object
ClientRank
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
clientId |
number | |
lastUpdateDate |
string | |
rankId |
number | |
turnover |
number |
Type:
- object
FreeBets
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
id |
number | |
clientId |
number | |
stake |
number | |
assignmentDate |
string | |
expirationDate |
string | |
status |
string | |
usedDate |
string | |
assignedUser |
string | |
couponId |
number |
Type:
- object
Rank
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
rankID |
number | |
rankLabel |
string |
Type:
- object
RankSettings
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
id |
number | |
name |
string | |
turnover |
number |
Type:
- object