export class Account { constructor(){ this.price = null this.amount = null this.balances = null this.country = null this.user = null this.pending_movements = [] this.movements = [] } } export class ApiKey { constructor(){ this.write = null this.token = null } } export class Ask { constructor(){ this.amount = null this.remaining_amount = null this.price = null, this.orderbook_code = null this.user = null } } export class Bank { constructor(){ this.name = null this.value = null this.country = null } } export class Bid { constructor(){ this.amount = null this.remaining_amount = null this.price = null, this.orderbook_code = null this.user = null } } export class BitcoinAddress { constructor(){ this.auto_sell = null this.public_address = null } } export class Buy { constructor(){ this.created_at = null this.coin_amount = null this.cash_amount = null this.fee = null this.price = null this.fee_currency = null this.fee_decimals = null this.orderbook_code = null this.order = null } } export class BuyingBot { constructor(){ this.amount = null this.remaining_amount = null this.chunk_size = null this.eta = null this.executing = null this.to_cancel = null this.user = null this.orderbook_code = null } } export class CancelStatus { constructor(){ this.text = null this.value = null } } export class Candle { constructor(){ this.timestamp = null this.close = null this.open = null this.high = null this.low = null this.vwap = null this.volume = null this.price_before_last = null } } export class CashDeposit { constructor(){ this.requested_amount = null this.deposit_method = null this.receipt_file_name = null this.receipt_base64 = null this.requested_currency = null this.request_details = null } } export class CashDepositMethod { constructor(){ this.code = null this.options = null } } export class CashWallet { constructor(){ this.balance = null this.available = null this.currency = null } } export class CashWithdrawal { constructor(){ this.amount = null this.fiat = null this.label = null this.status = null this.created_at = null this.payment_method = null this.withdrawal_instruction = null } } export class CoinDeposit { constructor(){ this.address = null this.coin = null this.amount = null this.created_at = null } } export class CoinWallet { constructor(){ this.address = null this.auto_sell_address = null this.balance = null this.available = null this.currency = null } } export class CoinWithdrawal { constructor(){ this.currency = null this.amount = null this.label = null this.to_addresses = null } } export class ContactRequest { constructor(){ this.email = null this.phone = null this.name = null this.extra_data = null } } export class Country { constructor(){ this.code = null this.name = null } } export class Emission { constructor(){ this.sent = null this.currency = null this.date = null this.broker = null } } export class Market { constructor(){ this.bids = [] this.asks = [] this.transactions = [] this.candles = [] } } export class Movement { constructor(){ this.timestamp = null this.currencies_involved = null this.currency = null this.amount = null this.fee = null this.fee_decimals = null this.fee_currency = null this.price = null this.price_decimals = null this.kind = null } } export class Notification { constructor(){ this.count = null } } export class Order {} export class Orderbook { constructor(){ this.code = null this.base = null this.quote = null } } export class OrderGroup { constructor(){ this.price = null this.amount = null } } export class Payment { constructor(){ this.amount = null this.confirmed_quantity = null this.currency_code = null this.customer_reference = null this.expected_quantity = null this.keep = null this.kept = null this.last_quoted_on = null this.merchant_reference = null this.overpaid = null this.quote_valid_until = null this.settlement_amount = null this.settlement_currency = null this.status = null this.unconfirmed_quantity = null this.valid_until = null this.address = null this.coin_deposits = [] } static path(){ return 'merchants/payments' } } export class POS { constructor(){ this.merchant_keep = null this.merchant_logo = null this.merchant_name = null this.merchant_site = null this.merchant_slug = null } static path(){ return 'merchants/pos' } static get type(){ return 'pos' } } export class Purchase { constructor(){ this.taken = null this.given = null this.currency = null this.date = null this.broker = null } } export class PurchaseIntention { constructor(){ this.requested_currency = null this.requested_amount = null this.created_at = null } } export class Reception { constructor(){ this.received = null this.currency = null this.date = null this.broker = null } } export class Sale { constructor(){ this.taken = null this.given = null this.currency = null this.date = null this.broker = null } } export class Sell { constructor(){ this.created_at = null this.coin_amount = null this.cash_amount = null this.fee = null this.price = null this.fee_currency = null this.fee_decimals = null this.orderbook_code = null this.order = null } } export class SellingBot { constructor(){ this.amount = null this.remaining_amount = null this.chunk_size = null this.eta = null this.executing = null this.to_cancel = null this.user = null this.orderbook_code = null } } export class Ticker { constructor(){ this.last = null this.open = null this.high = null this.low = null this.vwap = null this.volume = null this.bid = null this.ask = null this.price_before_last = null } } export class Transaction { constructor(){ this.timestamp = null this.amount = null this.price = null } } export class User { constructor(){ this.name = null this.email = null this.kyc_accepted = null this.kyc_pending = null this.otp_enabled = null this.do_not_email = null this.password = null this.password_confirmation = null this.trezor_login_enabled = null } } export class UserCoinAddressBookEntry { constructor(){ this.coin = null this.label = null this.to_addresses = null } } export class WithdrawalInstruction { constructor(){ this.label = null this.body = null } }