actions/components

Actions Components

Returns:
Type
Object

Methods

(inner) acceptFriendRequest(params) → {Object}

accept a friend request.

Parameters:
Name Type Description
params Object
Properties
Name Type Description
requestid String
Returns:

request state

Type
Object

(inner) createAsset(params) → {Object}

List asset type by userid

Parameters:
Name Type Description
params Object
Properties
Name Type Description
type String
title String
image String
slogan String
link String
cta String
Returns:
Type
Object

(inner) createChatRoom(params) → {Object}

crate chat room

Parameters:
Name Type Description
params Object
Properties
Name Type Description
roomid String
type String
description String
Returns:
Type
Object

(inner) createPromotionGame(params) → {Object}

allow player to create his own challenge

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Description
catalogid String
amount String
currency String
multiplier Number
minBet String <optional>
duration String <optional>
campaignid String <optional>
Returns:

reciept

Type
Object

(inner) deleteAsset(params) → {Object}

delete asset type by id

Parameters:
Name Type Description
params Object
Properties
Name Type Description
assetid String
Returns:
Type
Object

(inner) distributeRain(params) → {Object}

distribute rain

Parameters:
Name Type Description
params Object
Properties
Name Type Description
list String
currency String
amount String
type String
Returns:
Type
Object

(inner) distributeRainByActive(params) → {Object}

distribute rain by active

Parameters:
Name Type Description
params Object
Properties
Name Type Description
roomid String
currency String
amount String
type String
start String
end String
Returns:
Type
Object

(inner) getAsset(params) → {Object}

get asset by id

Parameters:
Name Type Description
params Object
Returns:
Type
Object

(inner) getPlayermetricsGamecodeSummaryByUser(params) → {Object}

get playermetrics gamecode summary by user

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
userid String

= "allusers" allusers summarizes all documents

sortKey String "wageredUsd"
sortDirection Integer -1
duration String "1d"
start Integer <optional>
end Integer <optional>
skip Integer <optional>
limit Integer <optional>
Returns:

list of stats

Type
Object

(inner) getPlayermetricsProviderSummaryByUser(params) → {Object}

get playermetrics provider summary by user

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
userid String

= "allusers" allusers summarizes all documents

duration String "1d"
producer Integer
sortKey String "wageredUsd"
sortDirection Integer -1
start Integer <optional>
end Integer <optional>
skip Integer <optional>
limit Integer <optional>
Returns:

list of stats

Type
Object

(inner) getPlayermetricsSummary(params) → {Object}

get playermetrics provider summary by user

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
type String

= "allbets" all bet types summarizes all documents

userid String

= "allusers" allusers summarizes all documents

duration String "1d"
start Integer <optional>
end Integer <optional>
Returns:

list of stats

Type
Object

(inner) getPlayermetricsSummaryTypes(params) → {Array}

list playermetrics summary types

Parameters:
Name Type Description
params Object
Returns:

list summary types

Type
Array

(inner) getPlayermetricsUserSummary(params) → {Object}

get "total" playermetrics user summary

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
sortKey String "wageredUsd"
sortDirection Integer -1
duration String "1d"
start Integer <optional>
end Integer <optional>
skip Integer <optional>
limit Integer <optional>
Returns:

playermetrics user summary

Type
Object

(inner) isMyFriend(params) → {Object}

Is this player my friend?

Parameters:
Name Type Description
params Object
Properties
Name Type Description
userid String
Returns:

request state

Type
Object

(inner) listAssetByType(params) → {Object}

list assets by type

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
type String
skip Integer <optional>
0

number of documents to skip

limit Integer <optional>
100

maximum documents to return

Returns:
Type
Object

(inner) listAssets(params) → {Object}

List available assets

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
skip Integer <optional>
0

number of documents to skip

limit Integer <optional>
100

maximum documents to return

Returns:
Type
Object

(inner) listAssetTypes(params) → {Object}

list asset types

Parameters:
Name Type Description
params Object
Returns:
Type
Object

(inner) listChatRooms(params) → {Object}

list chat rooms

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
userid String
skip Integer <optional>
0

number of documents to skip

limit Integer <optional>
100

maximum documents to return

Returns:
Type
Object

(inner) listChatRoomsByType(params) → {Object}

list chatrooms by type

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
type String
skip Integer <optional>
0

number of documents to skip

limit Integer <optional>
100

maximum documents to return

Returns:
Type
Object

(inner) listDailyBetActivityByUser(params) → {Array}

List (usd total) daily bet statistics for the given userid

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
userid String "allusers"
duration String "1m"
start Integer <optional>
end Integer <optional>
Returns:

list of stats

Type
Array

(inner) listMyFriends(params) → {Object}

List your friends

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
skip Number <optional>
0
limit Number <optional>
25
Returns:

initial state

Type
Object

(inner) listPlayermetricsAllBetsByUserCurrency(params) → {Array}

List daily bet statistics for the given userid

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
userid String "allusers"
duration String "1m"
currency String
start Integer <optional>
end Integer <optional>
Returns:

list of stats

Type
Array

(inner) listPlayermetricsAllBetsByUserType(params) → {Array}

List (usd total) daily bet statistics for the given type

Parameters:
Name Type Description
params Object
Properties
Name Type Attributes Default Description
userid String "allusers"
duration String "1m"
type String
start Integer <optional>
end Integer <optional>
Returns:

list of stats

Type
Array

(inner) listPlayermetricsTypes(params) → {Array}

list playermetrics summary types

Parameters:
Name Type Description
params Object
Returns:

list summary types

Type
Array

(inner) removeChatMessage(params) → {Object}

list chat rooms

Parameters:
Name Type Description
params Object
Properties
Name Type Description
messageid String
Returns:
Type
Object

(inner) removeMyFriend(params) → {Object}

Remove a friend

Parameters:
Name Type Description
params Object
Properties
Name Type Description
userid String
Returns:

request state

Type
Object

(inner) requestAddFriend(params) → {Object}

Request to add a friend

Parameters:
Name Type Description
params Object
Properties
Name Type Description
userid String
Returns:

request state

Type
Object

(inner) updateAsset(params) → {Object}

update asset by id

Parameters:
Name Type Description
params Object
Returns:
Type
Object

(inner) verifyChatRoom(params) → {Object}

list chat rooms

Parameters:
Name Type Description
params Object
Properties
Name Type Description
roomid String
verified String
Returns:
Type
Object