lvlup-js

Type Definitions

status

All methods contain this properties.
Properties:
Name Type Description
statusCode number Status code of request
statusText string Status text of request
source string Source of request
Type:
  • Object

information

Properties:
Name Type Description
info string Information about the requested operation.
Type:
  • Object

list

Properties:
Name Type Description
count number Count of items
items object Array of items
Type:
  • Object

listServices

Properties:
Name Type Description
services object Array of services
Type:
  • Object

sandboxAccount

Properties:
Name Type Description
id number ID of Sandbox Account
username string Username of Sandbox Account
password string Password of Sandbox Account
email string Fake email of Sandbox Account
apiKey string Api key of Sandbox Account
Type:
  • Object

userInfo

Properties:
Name Type Description
uid number User ID
email string Email address assigned to the account
Type:
  • Object

walletBalance

Properties:
Name Type Description
balancePlnInt number Integer account balance
balancePlnFormatted string Formatted account balance
Type:
  • Object

promoCodes

Properties:
Name Type Description
codes object Array of promo codes
Type:
  • Object

newPromoCode

Properties:
Name Type Description
code string new promo code
info string information / error
Type:
  • Object
Properties:
Name Type Description
url string Link to payment
id string ID of payment
Type:
  • Object

paymentInfo

Properties:
Name Type Description
payed boolean Is payment done and amount is already in your wallet?
amountStr string Amount of payment
amountInt number Amount of payment
amountWithFeeStr string It's a amount payed, including all bank fees etc, for some payment channels it's equal to AmountStr
amountWithFeeInt number It's a amount payed, including all bank fees etc, for some payment channels it's equal to AmountInt
Type:
  • Object

filteringStatus

Properties:
Name Type Description
filteringEnabled boolean On / Off
state string status
Type:
  • Object

filteringWhitelist

Properties:
Name Type Description
array object Array of whitelist items
status object
Type:
  • Object

proxmoxAccount

Properties:
Name Type Description
url string Link to Proxmox
username string Username of Proxmox Account
password string Password of Proxmox Account
Type:
  • Object

vpsStatus

Properties:
Name Type Description
status string State of VM
vmUptimeS number VPS uptime in seconds.
upTime object VPS uptime, exmaple: { days: 22, hours: 9, minutes: 15, seconds: 38 }
Type:
  • Object