Add manager bonus account pages
This commit is contained in:
44
graphql/operations/manager/manager-bonus-account.graphql
Normal file
44
graphql/operations/manager/manager-bonus-account.graphql
Normal file
@@ -0,0 +1,44 @@
|
||||
query ManagerBonusAccount($userId: ID!) {
|
||||
managerBonusAccount(userId: $userId) {
|
||||
userId
|
||||
email
|
||||
fullName
|
||||
companyName
|
||||
balance
|
||||
earnedAmount
|
||||
pendingWithdrawalAmount
|
||||
transactionsCount
|
||||
referralsCount
|
||||
referralLinks {
|
||||
id
|
||||
referrerId
|
||||
referrerName
|
||||
referrerEmail
|
||||
referrerCompanyName
|
||||
refereeId
|
||||
refereeName
|
||||
refereeEmail
|
||||
refereeCompanyName
|
||||
createdById
|
||||
bonusPercent
|
||||
createdAt
|
||||
}
|
||||
transactions {
|
||||
id
|
||||
userId
|
||||
amount
|
||||
reason
|
||||
orderId
|
||||
createdAt
|
||||
}
|
||||
pendingWithdrawals {
|
||||
id
|
||||
requesterId
|
||||
amount
|
||||
status
|
||||
reviewComment
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user