UNPKG

kucoin-universal-sdk

Version:
64 lines (63 loc) 1.38 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetSubAccountAPIData implements Serializable { /** * Sub-account UID */ uid: string; /** * apikey remarks */ label: string; /** * apiKey */ apiKey: string; /** * apiVersion */ apiVersion: number; /** * [Permissions](https://www.kucoin.com/docs-new/doc-338144) group list */ permissions: Array<GetSubAccountAPIData.PermissionsEnum>; /** * IP whitelist list */ ipWhitelist: Array<string>; /** * Creation time, Unix timestamp (milliseconds) */ createdAt: number; /** * 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): GetSubAccountAPIData; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetSubAccountAPIData; } export declare namespace GetSubAccountAPIData { enum PermissionsEnum { /** * */ GENERAL, /** * */ SPOT, /** * */ FUTURES } }