UNPKG

kucoin-universal-sdk

Version:
94 lines (93 loc) 2.08 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetSpotSubAccountsSummaryV2Items implements Serializable { /** * Sub-account User ID */ userId: string; /** * Sub-account UID */ uid: number; /** * Sub-account name */ subName: string; /** * Sub-account; 2:Enable, 3:Frozen */ status: GetSpotSubAccountsSummaryV2Items.StatusEnum; /** * Sub-account type */ type: GetSpotSubAccountsSummaryV2Items.TypeEnum; /** * Sub-account Permission */ access: string; /** * Time of event */ createdAt: number; /** * Remarks */ remarks: string; /** * Sub-account Permissions */ tradeTypes: Array<string>; /** * Sub-account active permissions: If you do not have the corresponding permissions, you must log in to the sub-account and go to the corresponding web page to activate. */ openedTradeTypes: Array<string>; /** * */ hostedStatus: string; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): GetSpotSubAccountsSummaryV2Items; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetSpotSubAccountsSummaryV2Items; } export declare namespace GetSpotSubAccountsSummaryV2Items { enum StatusEnum { /** * Enable */ _2, /** * Frozen */ _3 } enum TypeEnum { /** * Normal sub-account */ NORMAL, /** * Robot sub-account */ ROBOT, /** * New financial sub-account */ NOVICE, /** * Asset management sub-account */ HOSTED } }